This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 190130 - The Application Client project shows "The module has not been deployed" while trying to deploy the app-client module. The same occurs while running the project.
Summary: The Application Client project shows "The module has not been deployed" while...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: App Client (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-03 12:54 UTC by isvic
Modified: 2011-02-07 15:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description isvic 2010-09-03 12:54:26 UTC
Product Version = NetBeans IDE 6.9 (Build 201006101454)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_14
Runtime = Java HotSpot(TM) Client VM 14.0-b16
Comment 1 Petr Jiricka 2010-09-07 12:20:45 UTC
David, is this now fixed? Was that a valid bug in 6.9?
Comment 2 David Konecny 2010-09-07 21:27:37 UTC
isvic, despite working for Oracle I'm not an oracle so from your bug report I cannot even guess what's wrong. I assume you are deploying to GlassFish server? Which version? Could you attach server log to this issue please? That's where the cause of failed deployment will be written. Thanks, David.
Comment 3 isvic 2010-09-09 03:00:56 UTC
(In reply to comment #2)
> isvic, despite working for Oracle I'm not an oracle so from your bug report I
> cannot even guess what's wrong. I assume you are deploying to GlassFish server?
> Which version? Could you attach server log to this issue please? That's where
> the cause of failed deployment will be written. Thanks, David.

David, I'm using glassfish v3.0.1
Using the same glassfish version this problem also occurs with netbeans6.10M but not on netbeans6.8

The server log is as follows,

[#|2010-09-09T08:16:48.000+0530|INFO|null|null|_ThreadID=11;_ThreadName=Thread-1;|Running GlassFish Version: GlassFish Server Open Source Edition 3.0.1 (build 22)|#]

[#|2010-09-09T08:16:48.468+0530|INFO|glassfish3.0.1|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=11;_ThreadName=Thread-1;|Perform lazy SSL initialization for the listener 'http-listener-2'|#]

[#|2010-09-09T08:16:48.531+0530|INFO|glassfish3.0.1|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=12;_ThreadName=Thread-1;|Starting Grizzly Framework 1.9.18-o - Thu Sep 09 08:16:48 IST 2010|#]

[#|2010-09-09T08:16:48.546+0530|INFO|glassfish3.0.1|null|_ThreadID=13;_ThreadName=Thread-1;|Grizzly Framework 1.9.18-o started in: 78ms listening on port 8181|#]

[#|2010-09-09T08:16:48.546+0530|INFO|glassfish3.0.1|null|_ThreadID=14;_ThreadName=Thread-1;|Grizzly Framework 1.9.18-o started in: 62ms listening on port 4848|#]

[#|2010-09-09T08:16:48.546+0530|INFO|glassfish3.0.1|null|_ThreadID=16;_ThreadName=Thread-1;|Grizzly Framework 1.9.18-o started in: 109ms listening on port 8080|#]

[#|2010-09-09T08:16:48.546+0530|INFO|glassfish3.0.1|null|_ThreadID=15;_ThreadName=Thread-1;|Grizzly Framework 1.9.18-o started in: 31ms listening on port 3700|#]

[#|2010-09-09T08:16:48.562+0530|INFO|glassfish3.0.1|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=17;_ThreadName=Thread-1;|Starting Grizzly Framework 1.9.18-o - Thu Sep 09 08:16:48 IST 2010|#]

[#|2010-09-09T08:16:48.562+0530|INFO|glassfish3.0.1|null|_ThreadID=18;_ThreadName=Thread-1;|Grizzly Framework 1.9.18-o started in: 0ms listening on port 7676|#]

[#|2010-09-09T08:16:48.828+0530|INFO|glassfish3.0.1|javax.enterprise.resource.jta.com.sun.enterprise.transaction|_ThreadID=11;_ThreadName=Thread-1;|Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate|#]

[#|2010-09-09T08:16:49.281+0530|INFO|glassfish3.0.1|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=11;_ThreadName=Thread-1;|SEC1002: Security Manager is OFF.|#]

[#|2010-09-09T08:16:49.390+0530|INFO|glassfish3.0.1|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=11;_ThreadName=Thread-1;|Security startup service called|#]

[#|2010-09-09T08:16:49.578+0530|INFO|glassfish3.0.1|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=11;_ThreadName=Thread-1;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]

[#|2010-09-09T08:16:49.625+0530|INFO|glassfish3.0.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=11;_ThreadName=Thread-1;|Realm admin-realm of classtype com.sun.enterprise.security.auth.realm.file.FileRealm successfully created.|#]

[#|2010-09-09T08:16:50.578+0530|INFO|glassfish3.0.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=11;_ThreadName=Thread-1;|Realm file of classtype com.sun.enterprise.security.auth.realm.file.FileRealm successfully created.|#]

[#|2010-09-09T08:16:50.578+0530|INFO|glassfish3.0.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=11;_ThreadName=Thread-1;|Realm certificate of classtype com.sun.enterprise.security.auth.realm.certificate.CertificateRealm successfully created.|#]

[#|2010-09-09T08:16:50.578+0530|INFO|glassfish3.0.1|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=11;_ThreadName=Thread-1;|Security service(s) started successfully....|#]

[#|2010-09-09T08:16:50.921+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=Thread-1;|Created HTTP listener http-listener-1 on port 8080|#]

[#|2010-09-09T08:16:50.937+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=Thread-1;|Created HTTP listener http-listener-2 on port 8181|#]

[#|2010-09-09T08:16:51.578+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=Thread-1;|Created HTTP listener admin-listener on port 4848|#]

[#|2010-09-09T08:16:51.609+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=Thread-1;|Created virtual server server|#]

[#|2010-09-09T08:16:51.609+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Created virtual server server|#]

[#|2010-09-09T08:16:51.625+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=Thread-1;|Created virtual server __asadmin|#]

|#]

[#|2010-09-09T08:16:51.625+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Created virtual server __asadmin|#]

[#|2010-09-09T08:16:52.046+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Virtual server server loaded system default web module|#]

[#|2010-09-09T08:16:52.046+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Virtual server server loaded system default web module|#]

[#|2010-09-09T08:16:52.046+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=Thread-1;|Virtual server server loaded system default web module|#]

[#|2010-09-09T08:16:53.828+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Loading application Quiz at /Quiz|#]

[#|2010-09-09T08:16:53.828+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Loading application Quiz at /Quiz|#]

[#|2010-09-09T08:16:53.828+0530|INFO|glassfish3.0.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=11;_ThreadName=Thread-1;|Loading Quiz Application done is 5125 ms|#]

[#|2010-09-09T08:16:54.015+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=Thread-1;|Loading application Online_Shopping at /Online_Shopping|#]

[#|2010-09-09T08:16:54.015+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Loading application Online_Shopping at /Online_Shopping|#]

[#|2010-09-09T08:16:54.015+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Loading application Online_Shopping at /Online_Shopping|#]

[#|2010-09-09T08:16:54.015+0530|INFO|glassfish3.0.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=11;_ThreadName=Thread-1;|Loading Online_Shopping Application done is 187 ms|#]

[#|2010-09-09T08:16:57.515+0530|INFO|glassfish3.0.1|javax.enterprise.system.core.transaction.com.sun.jts.CosTransactions|_ThreadID=11;_ThreadName=Thread-1;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]

[#|2010-09-09T08:16:58.062+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=11;_ThreadName=Thread-1;|Portable JNDI names for EJB MySessionBean : [java:global/Calculator-ejb/MySessionBean!MyBeans.MySessionBeanRemote, java:global/Calculator-ejb/MySessionBean]|#]

[#|2010-09-09T08:16:58.062+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=11;_ThreadName=Thread-1;|Glassfish-specific (Non-portable) JNDI names for EJB MySessionBean : [MyBeans.MySessionBeanRemote#MyBeans.MySessionBeanRemote, MyBeans.MySessionBeanRemote]|#]

[#|2010-09-09T08:16:58.625+0530|INFO|glassfish3.0.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=11;_ThreadName=Thread-1;|Loading Calculator-ejb Application done is 3797 ms|#]

[#|2010-09-09T08:16:58.625+0530|INFO|glassfish3.0.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=11;_ThreadName=Thread-1;|GlassFish Server Open Source Edition 3.0.1 (22) startup time : Felix(2891ms) startup services(11016ms) total(13907ms)|#]

[#|2010-09-09T08:16:58.656+0530|INFO|glassfish3.0.1|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=19;_ThreadName=Thread-1;|Binding RMI port to *:8686|#]

[#|2010-09-09T08:16:58.812+0530|INFO|glassfish3.0.1|org.hibernate.validator.util.Version|_ThreadID=20;_ThreadName=Thread-1;|Hibernate Validator bean-validator-3.0-JBoss-4.0.2|#]

[#|2010-09-09T08:16:59.234+0530|INFO|glassfish3.0.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=21;_ThreadName=Thread-1;|[Thread[GlassFish Kernel Main Thread,5,main]] started|#]

[#|2010-09-09T08:16:59.593+0530|INFO|glassfish3.0.1|org.hibernate.validator.engine.resolver.DefaultTraversableResolver|_ThreadID=20;_ThreadName=Thread-1;|Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.|#]

[#|2010-09-09T08:16:59.718+0530|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=22;_ThreadName=Thread-1;|{felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = D:\Program Files\glassfish-3.0.1\glassfish\domains\domain1\autodeploy\bundles, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\DOCUME~1\ISAACV~1\LOCALS~1\Temp\fileinstall--5716056257667099452, felix.fileinstall.filter = null}|#]

[#|2010-09-09T08:16:59.781+0530|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=23;_ThreadName=Thread-1;|{felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = D:\Program Files\glassfish-3.0.1\glassfish\modules\autostart, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\DOCUME~1\ISAACV~1\LOCALS~1\Temp\fileinstall--6445643484246032249, felix.fileinstall.filter = null}|#]

[#|2010-09-09T08:17:00.562+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=24;_ThreadName=pool-14-thread-1;|Created HTTP listener http-listener-1 on port 8080|#]

[#|2010-09-09T08:17:00.562+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=24;_ThreadName=pool-14-thread-1;|Created HTTP listener http-listener-1 on port 8080|#]

[#|2010-09-09T08:16:59.796+0530|INFO|glassfish3.0.1|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=19;_ThreadName=Thread-1;|JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi://192.168.103.10:8686/jndi/rmi://192.168.103.10:8686/jmxrmi|#]

[#|2010-09-09T08:17:00.562+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=24;_ThreadName=Thread-1;|Created HTTP listener http-listener-1 on port 8080|#]

[#|2010-09-09T08:17:00.781+0530|INFO|glassfish3.0.1|null|_ThreadID=25;_ThreadName=Thread-1;|Grizzly Framework 1.9.18-o started in: 0ms listening on port 8080|#]

[#|2010-09-09T08:17:01.546+0530|INFO|glassfish3.0.1|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=24;_ThreadName=Thread-1;|Perform lazy SSL initialization for the listener 'http-listener-2'|#]

[#|2010-09-09T08:17:01.562+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=24;_ThreadName=pool-14-thread-1;|Created HTTP listener http-listener-2 on port 8181|#]

[#|2010-09-09T08:17:01.562+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=24;_ThreadName=Thread-1;|Created HTTP listener http-listener-2 on port 8181|#]

[#|2010-09-09T08:17:01.562+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=24;_ThreadName=pool-14-thread-1;|Created HTTP listener http-listener-2 on port 8181|#]

[#|2010-09-09T08:17:01.578+0530|INFO|glassfish3.0.1|null|_ThreadID=26;_ThreadName=Thread-1;|Grizzly Framework 1.9.18-o started in: 16ms listening on port 8181|#]

[#|2010-09-09T08:17:05.796+0530|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=23;_ThreadName=Thread-1;|Updating configuration from org.apache.felix.fileinstall-autodeploy-bundles.cfg|#]

[#|2010-09-09T08:17:05.812+0530|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=23;_ThreadName=Thread-1;|Installed D:\Program Files\glassfish-3.0.1\glassfish\modules\autostart\org.apache.felix.fileinstall-autodeploy-bundles.cfg|#]

[#|2010-09-09T08:17:05.812+0530|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=27;_ThreadName=Thread-1;|{felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = D:\Program Files\glassfish-3.0.1\glassfish\domains\domain1\autodeploy\bundles, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\DOCUME~1\ISAACV~1\LOCALS~1\Temp\fileinstall-6322410858650927091, felix.fileinstall.filter = null}|#]

[#|2010-09-09T08:17:33.468+0530|WARNING|glassfish3.0.1|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=28;_ThreadName=Thread-1;|appclient module [Calculator-app-client.jar] contains characteristics of other module type: ejb|#]

[#|2010-09-09T08:17:34.593+0530|SEVERE|glassfish3.0.1|javax.enterprise.system.core.org.glassfish.internal.data|_ThreadID=28;_ThreadName=Thread-1;|Exception while invoking class org.glassfish.ejb.startup.EjbDeployer load method
java.lang.RuntimeException: EJB Container initialization error
	at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:219)
	at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:197)
	at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63)
	at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:175)
	at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:216)
	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
	at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
	at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
	at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
	at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
	at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: Error while binding JNDI name MyBeans.MySessionBeanRemote__3_x_Internal_RemoteBusinessHome__ for EJB : MySessionBean
	at com.sun.ejb.containers.BaseContainer.initializeHome(BaseContainer.java:1530)
	at com.sun.ejb.containers.StatefulSessionContainer.initializeHome(StatefulSessionContainer.java:214)
	at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:161)
	at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:207)
	... 32 more
Caused by: javax.naming.NameAlreadyBoundException [Root exception is org.omg.CosNaming.NamingContextPackage.AlreadyBound: IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0]
	at com.sun.jndi.cosnaming.ExceptionMapper.mapException(ExceptionMapper.java:75)
	at com.sun.jndi.cosnaming.CNCtx.callBindOrRebind(CNCtx.java:596)
	at com.sun.jndi.cosnaming.CNCtx.bind(CNCtx.java:621)
	at com.sun.jndi.cosnaming.CNCtx.bind(CNCtx.java:659)
	at javax.naming.InitialContext.bind(InitialContext.java:400)
	at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.publishCosNamingObject(GlassfishNamingManagerImpl.java:224)
	at com.sun.ejb.containers.BaseContainer$JndiInfo.publish(BaseContainer.java:5531)
	at com.sun.ejb.containers.BaseContainer.initializeHome(BaseContainer.java:1515)
	... 35 more
Caused by: org.omg.CosNaming.NamingContextPackage.AlreadyBound: IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0
	at org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.read(AlreadyBoundHelper.java:60)
	at org.omg.CosNaming._NamingContextStub.bind(_NamingContextStub.java:67)
	at com.sun.jndi.cosnaming.CNCtx.callBindOrRebind(CNCtx.java:585)
	... 41 more
|#]

[#|2010-09-09T08:17:34.609+0530|SEVERE|glassfish3.0.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=28;_ThreadName=Thread-1;|Exception while loading the app
java.lang.RuntimeException: EJB Container initialization error
	at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:219)
	at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:197)
	at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63)
	at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:175)
	at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:216)
	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
	at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
	at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
	at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
	at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
	at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: Error while binding JNDI name MyBeans.MySessionBeanRemote__3_x_Internal_RemoteBusinessHome__ for EJB : MySessionBean
	at com.sun.ejb.containers.BaseContainer.initializeHome(BaseContainer.java:1530)
	at com.sun.ejb.containers.StatefulSessionContainer.initializeHome(StatefulSessionContainer.java:214)
	at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:161)
	at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:207)
	... 32 more
Caused by: javax.naming.NameAlreadyBoundException [Root exception is org.omg.CosNaming.NamingContextPackage.AlreadyBound: IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0]
	at com.sun.jndi.cosnaming.ExceptionMapper.mapException(ExceptionMapper.java:75)
	at com.sun.jndi.cosnaming.CNCtx.callBindOrRebind(CNCtx.java:596)
	at com.sun.jndi.cosnaming.CNCtx.bind(CNCtx.java:621)
	at com.sun.jndi.cosnaming.CNCtx.bind(CNCtx.java:659)
	at javax.naming.InitialContext.bind(InitialContext.java:400)
	at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.publishCosNamingObject(GlassfishNamingManagerImpl.java:224)
	at com.sun.ejb.containers.BaseContainer$JndiInfo.publish(BaseContainer.java:5531)
	at com.sun.ejb.containers.BaseContainer.initializeHome(BaseContainer.java:1515)
	... 35 more
Caused by: org.omg.CosNaming.NamingContextPackage.AlreadyBound: IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0
	at org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.read(AlreadyBoundHelper.java:60)
	at org.omg.CosNaming._NamingContextStub.bind(_NamingContextStub.java:67)
	at com.sun.jndi.cosnaming.CNCtx.callBindOrRebind(CNCtx.java:585)
	... 41 more
|#]

[#|2010-09-09T08:17:34.890+0530|WARNING|glassfish3.0.1|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=28;_ThreadName=Thread-1;|Exception while cleaning module 'org.glassfish.internal.data.EngineRef@106f80e'java.lang.NullPointerException
java.lang.NullPointerException
	at org.glassfish.appclient.server.core.AppClientDeployer.clean(AppClientDeployer.java:265)
	at org.glassfish.internal.data.EngineInfo.clean(EngineInfo.java:114)
	at org.glassfish.internal.data.EngineRef.clean(EngineRef.java:171)
	at com.sun.enterprise.v3.server.ApplicationLifecycle$1.actOn(ApplicationLifecycle.java:224)
	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:342)
	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
	at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
	at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
	at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
	at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
	at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
	at java.lang.Thread.run(Thread.java:619)
|#]
Comment 4 David Konecny 2010-09-09 03:10:41 UTC
That's better, thanks. The error message from GlassFish log is not particularly helpful so I would suggest you to file the problem to GlassFish bug tracking system. AppClient deployment was always little problematic and I've seen dozens of different errors but never this one so I tend to believe that it is GF deployment problem caused perhaps by something missing in your app client jar?? Hard say, file it for GlassFIsh please, and add the bug number here. Thanks.
Comment 5 artcarrion 2011-02-07 15:35:19 UTC
I've just resolved this issue by uninstalling GlassFish V3 Prelude that I'd got installed overlapping to my previous installation of GF V3. Once I've uninstalled this version the project worked again.

Probably other guys having the same issue have got installed overlapped versions of GF, not necessarily the same as I had. Try to have only one GF version on your machine.

Hope I have helped all guys having the same issue.

Greetings.
Arturo Carrión