Hi, Eve
> I was able to deploy this application and it run well.
>
> I changed the files in my Testapp2 - BaleRemote and BaleBean and Baleent
>
> Then I deployed my Myapplication application and it works.
Good news!
> Sadly, my
> Testapp2 still can't be deploy and comes with the same error. But
> it's not important now that I have my real application working.
>
I remember the following stack trace was a known problem in v2. Maybe
Tim can help with this part:
[#|2009-09-28T22:04:06.880+0100|WARNING|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=18;_ThreadName=httpWorkerThread-4848-0;_RequestID=53fdfb74-b981-457b-898f-dd3a325d6b0c;|Error
attempting to process extensions from the manifest of JAR file
C:\jee\Testingapp2\dist\gfdeploy\Testingapp2-ejb.jar; ignoring it and
continuing
java.io.FileNotFoundException:
C:\jee\Testingapp2\dist\gfdeploy\Testingapp2-ejb.jar (The system cannot
find the file specified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.jar.JarFile.<init>(JarFile.java:133)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at
com.sun.enterprise.appclient.jws.ExtensionFileManager.findExtensionTransitiveClosure(ExtensionFileManager.java:240)
at
com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.findExtensions(AppclientJWSSupportInfo.java:1545)
at
com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.prepareAppclient(AppclientJWSSupportInfo.java:1386)
at
com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.prepareNestedAppclient(AppclientJWSSupportInfo.java:1497)
at
com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.prepareApplication(AppclientJWSSupportInfo.java:1246)
at
com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.startJWSServicesForApplication(AppclientJWSSupportInfo.java:475)
at
com.sun.enterprise.appclient.jws.AppclientJWSSupportManager.handleApplicationEvent(AppclientJWSSupportManager.java:156)
at
com.sun.enterprise.server.event.ApplicationLoaderEventNotifier.notifyListeners(ApplicationLoaderEventNotifier.java:154)
- Hong
> Thanks so much for all your help.
>
> eve
>
>
> ------------------------------------------------------------------------
> From: gorgeous65_at_msn.com
> To: users_at_glassfish.dev.java.net
> Date: Tue, 29 Sep 2009 14:51:27 +0100
> Subject: RE: WARNING:
> com.sun.enterprise.deployment.backend.IASDeploymentException:
>
> Hong,
>
> May be it is complaining that the files BaleBean and it's remote
> is being used by another application. And yes, it's the same files I
> copied
> into my Testapp2 application. May be the JNDI naming created by the
> container
> is having conflicts with both the Testapp2 and myapplication. I will
> change the files and see.
>
> Also what I need to establish is putting my image files into
> the images dir. and displaying it in my web.
> At this moment, it would only display from the same dir as the jsp.
>
> Thanking you in advance.
>
> eve
>
> ------------------------------------------------------------------------
> From: gorgeous65_at_msn.com
> To: users_at_glassfish.dev.java.net
> Date: Tue, 29 Sep 2009 14:32:58 +0100
> Subject: RE: WARNING:
> com.sun.enterprise.deployment.backend.IASDeploymentException:
>
> Hong,
>
> In my persistence.mxl I have a datasource name as:
>
> <jta-data-source>jdbc_/Testingdb2</jta-data-source>
>
> I create the database table's field from my entity class
>
> So all you need is to use and database, for example JavaDB
>
> and then create a new DB and connect to it. Then set-up the
> datasource for the application.
>
> Hope this helps
>
> Here is the error for both the testapp and myapplication
>
> [#|2009-09-28T22:04:06.880+0100|WARNING|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=18;_ThreadName=httpWorkerThread-4848-0;_RequestID=53fdfb74-b981-457b-898f-dd3a325d6b0c;|Error
> attempting to process extensions from the manifest of JAR file
> C:\jee\Testingapp2\dist\gfdeploy\Testingapp2-ejb.jar; ignoring it and
> continuing
> java.io.FileNotFoundException:
> C:\jee\Testingapp2\dist\gfdeploy\Testingapp2-ejb.jar (The system
> cannot find the file specified)
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.<init>(ZipFile.java:114)
> at java.util.jar.JarFile.<init>(JarFile.java:133)
> at java.util.jar.JarFile.<init>(JarFile.java:97)
> at
> com.sun.enterprise.appclient.jws.ExtensionFileManager.findExtensionTransitiveClosure(ExtensionFileManager.java:240)
> at
> com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.findExtensions(AppclientJWSSupportInfo.java:1545)
> at
> com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.prepareAppclient(AppclientJWSSupportInfo.java:1386)
> at
> com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.prepareNestedAppclient(AppclientJWSSupportInfo.java:1497)
> at
> com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.prepareApplication(AppclientJWSSupportInfo.java:1246)
> at
> com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.startJWSServicesForApplication(AppclientJWSSupportInfo.java:475)
> at
> com.sun.enterprise.appclient.jws.AppclientJWSSupportManager.handleApplicationEvent(AppclientJWSSupportManager.java:156)
> at
> com.sun.enterprise.server.event.ApplicationLoaderEventNotifier.notifyListeners(ApplicationLoaderEventNotifier.java:154)
> at
> com.sun.enterprise.server.AbstractLoader.notifyAppEvent(AbstractLoader.java:874)
> at
> com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:192)
> 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-28T22:04:06.898+0100|INFO|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=18;_ThreadName=httpWorkerThread-4848-0;|Registering
> ad hoc servlet: WebPathPath: context root = "/Testingapp2", path =
> "/Testingapp2-app-client'|#]
> [#|2009-09-28T22:04:06.913+0100|INFO|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=18;_ThreadName=httpWorkerThread-4848-0;|Java
> Web Start services started for application
> com.sun.enterprise.appclient.jws.ApplicationContentOrigin_at_1f66272
> <mailto:com.sun.enterprise.appclient.jws.ApplicationContentOrigin_at_1f66272>
> registration name=Testingapp2
>
> com.sun.enterprise.appclient.jws.NestedAppclientContentOrigin_at_b942f7
> <mailto:com.sun.enterprise.appclient.jws.NestedAppclientContentOrigin_at_b942f7>
> registration name=Testingapp2, context
> root=/Testingapp2/Testingapp2-app-client, module name=
> , parent=Testingapp2|#]
> [#|2009-09-28T22:04:06.946+0100|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=19;_ThreadName=Thread-16;_RequestID=a8bae053-c848-4a24-97cc-a04d75662be4;|LoaderRegThread.processRegistration:
> registration of MBean failed for:
> com.sun.appserv:j2eeType=Servlet,name=/Testingapp2/Testingapp2-app-client/main.jnlp,WebModule=//server/Testingapp2,J2EEApplication=Testingapp2,J2EEServer=server
> = javax.management.InstanceNotFoundException:
> com.sun.appserv:j2eeType=Servlet,name=/Testingapp2/Testingapp2-app-client/main.jnlp,J2EEServer=server,J2EEApplication=Testingapp2,WebModule=//server/Testingapp2,
> com.sun.appserv:j2eeType=Servlet,name=/Testingapp2/Testingapp2-app-client/main.jnlp,J2EEServer=server,J2EEApplication=Testingapp2,WebModule=//server/Testingapp2
> com.sun.enterprise.management.support.Loader.handleMBeanRegistered(Loader.java:215)
> com.sun.enterprise.management.support.LoaderRegThread.processRegistration(LoaderRegThread.java:184)
> com.sun.enterprise.management.support.LoaderRegThread.processItem(LoaderRegThread.java:227)
> com.sun.enterprise.management.support.LoaderRegThread.processFOREVER(LoaderRegThread.java:265)
> com.sun.enterprise.management.support.LoaderRegThread.run(LoaderRegThread.java:311)
> |#]
> [#|2009-09-28T22:04:06.971+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=18;_ThreadName=httpWorkerThread-4848-0;|classLoader
> = WebappClassLoader
> delegate: false
> repositories:
> ----------> Parent Classloader:
> WebappClassLoader
> delegate: true
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> EJBClassLoader :
> urlSet = []
> doneCalled = false
> Parent -> java.net.URLClassLoader_at_bbfa5
> <mailto:java.net.URLClassLoader_at_bbfa5>
>
>
>
>
>
> MYapplication
>
>
> [#|2009-09-28T22:20:58.663+0100|SEVERE|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=17;_ThreadName=httpWorkerThread-4848-0;_RequestID=03191f01-8893-4e63-9eb7-50641aaa5828;|appId=MYAPPLICATION
> moduleName=MYAPPLICATION-ejb_jar ejbName=BaleBean|#]
> [#|2009-09-28T22:20:58.663+0100|SEVERE|sun-appserver2.1|javax.enterprise.system.core.classloading|_ThreadID=17;_ThreadName=httpWorkerThread-4848-0;MYAPPLICATION;entityJB.BaleBeanRemote;BaleBean;_RequestID=03191f01-8893-4e63-9eb7-50641aaa5828;|LDR5012:
> Jndi name conflict found in [MYAPPLICATION]. Jndi name
> [entityJB.BaleBeanRemote] for bean [BaleBean] is already in use.|#]
> [#|2009-09-28T22:20:58.663+0100|SEVERE|sun-appserver2.1|javax.enterprise.system.core.classloading|_ThreadID=17;_ThreadName=httpWorkerThread-4848-0;_RequestID=03191f01-8893-4e63-9eb7-50641aaa5828;|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-28T22:20:58.815+0100|WARNING|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=httpWorkerThread-4848-0;_RequestID=03191f01-8893-4e63-9eb7-50641aaa5828;|Attempt
> to start Java Web Start services for application MYAPPLICATION when
> they were already started; ignoring the duplicate request|#]
> [#|2009-09-28T22:20:58.820+0100|WARNING|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=17;_ThreadName=httpWorkerThread-4848-0;MYAPPLICATION;_RequestID=03191f01-8893-4e63-9eb7-50641aaa5828;|CORE5021:
> Application NOT loaded: [MYAPPLICATION]|#]
> [#|2009-09-28T22:20:58.821+0100|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=17;_ThreadName=httpWorkerThread-4848-0;Error
> while loading application [MYAPPLICATION]. Please refer to the server
> log for more details.
> ;_RequestID=03191f01-8893-4e63-9eb7-50641aaa5828;|ADM1075:Error on
> listening event:[Error while loading application [MYAPPLICATION].
> Please refer to the server log for more details. ]|#]
>
> in bold - it looks like that's where my problem is but I have no JNDI
> naming in my application.
>
> And I am using @EJB with my clients both the web and application client
>
>
> Thanking you inadvance
>
> eve
> ------------------------------------------------------------------------
> Date: Tue, 29 Sep 2009 09:03:39 -0400
> From: Hong.Zhang_at_Sun.COM
> To: users_at_glassfish.dev.java.net
> Subject: Re: WARNING:
> com.sun.enterprise.deployment.backend.IASDeploymentException:
>
> Hi, Eve
> Are there any datasources need to be set up before I deploy the
> application? I got this when I tried to deploy:
>
> CLI171 Command deploy failed : Deploying application in domain failed;
> Internal Exception: java.sql.SQLException: This pool is not registered
> with the runtime environment : null
> Error Code: 0
>
> - Hong
>
> Eve Pokua wrote:
>
> Hello Hong,
>
> Please, see attached.
>
> eve
>
> ------------------------------------------------------------------------
> Date: Mon, 28 Sep 2009 08:56:30 -0400
> From: Hong.Zhang_at_Sun.COM <mailto:Hong.Zhang_at_Sun.COM>
> To: users_at_glassfish.dev.java.net <mailto: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 <mailto:Hong.Zhang_at_Sun.COM>
> To: users_at_glassfish.dev.java.net
> <mailto: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.
> <http://clk.atdmt.com/UKM/go/134665375/direct/01/>
>
>
>
> ------------------------------------------------------------------------
> View your Twitter and Flickr updates from one place - Learn
> more! <http://clk.atdmt.com/UKM/go/137984870/direct/01/>
>
>
>
> ------------------------------------------------------------------------
> Beyond Hotmail - see what else you can do with Windows Live. Find
> out more. <http://clk.atdmt.com/UKM/go/134665375/direct/01/>
>
>------------------------------------------------------------------------
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net <mailto:users-unsubscribe_at_glassfish.dev.java.net>
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net <mailto:users-help_at_glassfish.dev.java.net>
>
>
>
> ------------------------------------------------------------------------
> Beyond Hotmail - see what else you can do with Windows Live. Find out
> more. <http://clk.atdmt.com/UKM/go/134665375/direct/01/>
> ------------------------------------------------------------------------
> View your Twitter and Flickr updates from one place - Learn more!
> <http://clk.atdmt.com/UKM/go/137984870/direct/01/>
> ------------------------------------------------------------------------
> Upgrade to Internet Explorer 8 Optimised for MSN. Download Now
> <http://extras.uk.msn.com/internet-explorer-8/?ocid=T010MSN07A0716U>