cannot run Application client Modules that use EJB
Hi guys,
I installed Java Application Server on my PC (OS OpenSuse 10.2) and have a very serious problem when trying to run Application client modules that use EJB. Starting with Duke's bank and ending with more simple applications I always get the following error:
Duplicated project name in import. Project EnterpriseAppEE5-impl defined first in /opt/SDK/javaeetutorial5/examples/EnterpriseAppEE5/nbproject/ant-deploy.xml and again in /opt/SDK/javaeetutorial5/examples/EnterpriseAppEE5/nbproject/build-impl.xml
So the application never starts.
I noticed that, using another PC with windows xp the above mentioned error is generated but, in spite of this, the applications starts.
Can anybody help me? I going quite crazy...
thanks in advance
Kyprys
[800 byte] By [
Kyprysa] at [2007-11-27 5:46:54]

# 4
I'm quite new with netbeans. What do you mean with "build of netbeans"? Version is 5.5, ant version 1.7. I can build and deploy projects but when I run them I get the error message mentioned. And applications don't start.
As for the application server I use Java System Application Server Platform Edition 9.0 Update 1.
Yesterday I noticed that I installed many versions of jdk and jre. So I trashed anything, uninstalled AS and netbeans and then reinstalled all. But the problem still exists. This is the output when I run any kind of client application
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init:
deps-jar:
deps-j2ee-archive:
init:
init:
deps-jar:
compile:
library-inclusion-in-manifest:
dist-ear:
deps-jar:
build-common:
compile:
library-inclusion-in-manifest:
dist-ear:
init:
deps-jar:
compile:
library-inclusion-in-manifest:
dist-ear:
pre-pre-compile:
pre-compile:
do-compile:
post-compile:
compile:
pre-dist:
do-dist-without-manifest:
do-dist-with-manifest:
Building jar: /home/kyprys/Documents/download/javaeetutorial5/examples/ejb/cart/dist/cart.ear
post-dist:
dist:
pre-run-deploy:
Redeploying /home/kyprys/Documents/download/javaeetutorial5/examples/ejb/cart/dist/cart.ear
Start registering the project's server resources
Finished registering server resources
While redeploying, trying to stop the application in target server completed successfully
While redeploying, trying to remove reference for application in target server completed successfully
deployment started : 0%
deployment finished : 100%
Deploying application in domain completed successfully
Trying to create reference for application in target server completed successfully
Trying to start application in target server completed successfully
Deployment of application cart completed successfully
All operations completed successfully
Enable of cart in target servercompleted successfully
Enable of application in all targets completed successfully
All operations completed successfully
post-run-deploy:
run-deploy:
run:
Duplicated project name in import. Project cart-impl defined first in /home/kyprys/Documents/download/javaeetutorial5/examples/ejb/cart/nbproject/ant-deploy.xml and again in /home/kyprys/Documents/download/javaeetutorial5/examples/ejb/cart/nbproject/build-impl.xml
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init:
run-ant:
Duplicated project name in import. Project cart-impl defined first in /home/kyprys/Documents/download/javaeetutorial5/examples/ejb/cart/nbproject/ant-deploy.xml and again in /home/kyprys//Documents/download/javaeetutorial5/examples/ejb/cart/nbproject/build-impl.xml
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init:
run-nb:
Duplicated project name in import. Project cart-impl defined first in /home/kyprys/Documents/download/javaeetutorial5/examples/ejb/cart/nbproject/ant-deploy.xml and again in /home/kyprys/Documents/download/javaeetutorial5/examples/ejb/cart/nbproject/build-impl.xml
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init:
run-ac:
Notice that the same happens if I copy the examples in opt/SDK... So I suppose it isn't a directory problem, neither a grants' problem. As user root the same happens.
Kyprys