Hello Hong,
Please, see attached.
eve
Date: Mon, 28 Sep 2009 08:56:30 -0400
From: Hong.Zhang_at_Sun.COM
To: users_at_glassfish.dev.java.net
Subject: Re: WARNING: com.sun.enterprise.deployment.backend.IASDeploymentException:
Maybe you could attach the simple test project you created, and we can take a look from our end to see if we can reproduce..
Eve Pokua wrote:
Hello,
Thank you for your reply. I have been using @EJB injection for a very long time, mainly
because, I used to copy my files from one PC to another and I had a lot of problems with that JNDI.
I have checked all my implementation beans and non has any JNDI defined. It has been deploying
all this long so I don't know why it won't deploy anymore. Furthermore, I created a test project and
that won't deploy either. That one has no client calling and lookup to JNDI bean and the bean has
no map reference to any JNDI. I have been using Verify in netbeans to check where I went wrong.
regards
eve
Date: Fri, 25 Sep 2009 19:36:57 -0400
From: Hong.Zhang_at_Sun.COM
To: users_at_glassfish.dev.java.net
Subject: Re: WARNING: com.sun.enterprise.deployment.backend.IASDeploymentException:
From the stack trace:
[#|2009-09-25T22:08:16.738+0100|SEVERE|sun-appserver2.1|javax.enterprise.system.core.classloading|_ThreadID=20;_ThreadName=httpWorkerThread-4848-0;_RequestID=3fcae431-4d4a-486b-a852-c3ad66890eb2;|LDR5013: Naming exception while creating EJB container:
javax.naming.NameAlreadyBoundException: Use rebind to override
at com.sun.enterprise.naming.TransientContext.doBindOrRebind(TransientContext.java:292)
It seems the application contains an EJB which uses a JNDI name that's already used by another EJB. Are the JNDI names defined uniquely for the EJBs inside the application? Are there any other applications deployed which contains an EJB with the same JNDI name?
I have been googleing this error over the internet and read somewhere
there is a fix to this, please where can I get the build.
I am using glassfish v2 cluster profile. Netbeans 6.5.
server log:
[#|2009-09-25T22:08:16.738+0100|SEVERE|sun-appserver2.1|javax.enterprise.system.core.classloading|_ThreadID=20;_ThreadName=httpWorkerThread-4848-0;_RequestID=3fcae431-4d4a-486b-a852-c3ad66890eb2;|LDR5013: Naming exception while creating EJB container:
javax.naming.NameAlreadyBoundException: Use rebind to override
at com.sun.enterprise.naming.TransientContext.doBindOrRebind(TransientContext.java:292)
at com.sun.enterprise.naming.TransientContext.bind(TransientContext.java:232)
at com.sun.enterprise.naming.SerialContextProviderImpl.bind(SerialContextProviderImpl.java:111)
at com.sun.enterprise.naming.LocalSerialContextProviderImpl.bind(LocalSerialContextProviderImpl.java:90)
at com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:472)
at com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:487)
at javax.naming.InitialContext.bind(InitialContext.java:404)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:237)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:190)
at com.sun.ejb.containers.BaseContainer.initializeHome(BaseContainer.java:1015)
at com.sun.ejb.containers.StatefulSessionContainer.initializeHome(StatefulSessionContainer.java:368)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:654)
at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:527)
at com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:191)
at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:126)
at com.sun.enterprise.server.ExtendedApplicationLoader.doLoad(ExtendedApplicationLoader.java:134)
at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:238)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:336)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:210)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:645)
at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:959)
at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:943)
at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:467)
at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)
at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:609)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:653)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:773)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:381)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
|#]
[#|2009-09-25T22:08:16.862+0100|WARNING|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=20;_ThreadName=httpWorkerThread-4848-0;_RequestID=3fcae431-4d4a-486b-a852-c3ad66890eb2;|Attempt to start Java Web Start services for application ENTERPRISE when they were already started; ignoring the duplicate request|#]
[#|2009-09-25T22:08:16.865+0100|WARNING|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=20;_ThreadName=httpWorkerThread-4848-0;ENTERPRISE;_RequestID=3fcae431-4d4a-486b-a852-c3ad66890eb2;|CORE5021: Application NOT loaded: [ENTERPRISE]|#]
[#|2009-09-25T22:08:16.866+0100|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=20;_ThreadName=httpWorkerThread-4848-0;Error while loading application [ENTERPRISE]. Please refer to the server log for more details. ;_RequestID=3fcae431-4d4a-486b-a852-c3ad66890eb2;|ADM1075:Error on listening event:[Error while loading application [ENTERPRISE]. Please refer to the server log for more details. ]|#]
tHANKING YOU.
REGARDS
EVE
Beyond Hotmail - see what else you can do with Windows Live. Find out more.
View your Twitter and Flickr updates from one place - Learn more!
_________________________________________________________________
With Windows Live, you can organise, edit, and share your photos.
http://clk.atdmt.com/UKM/go/134665338/direct/01/