Hi,
The last error that I got is -
An error has occurred
Exception while deploying the app : java.lang.RuntimeException: Cannot resolve reference Remote ejb-ref name=servlet.Controllerserv/baleBeanRemote,Remote 3.x business interface=entityJB.BaleBeanRemote,ejb-link=null,mappedName=,refType=Session because there are 2 ejbs in the application with interface entityJB.BaleBeanRemote
An error has occurred
Exception while deploying the app : java.lang.RuntimeException:
Cannot resolve reference Remote ejb-ref name=servlet.Controllerserv/baleBeanRemote,
Remote 3.x business interface=entityJB.BaleBeanRemote,ejb-link=null,mappedName=,refType=Session
because there are 2 ejbs in the application with interface entityJB.BaleBeanRemote
Whot do you think?
Thanking you in advance.
eve
Date: Tue, 29 Sep 2009 20:40:12 -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
If I install glassfish v3 proluge, would I get this problems?
Myapplication comes up with the same JNDI naming BelaBean, BaleRemote,
error. again.
You can definitely give it a try. But at least try with v3 preview (the prelude does not support ear deployment) or maybe the latest promoted build of the v3 final.
- Hong
Thanking you.
eve
Date: Tue, 29 Sep 2009 15:25:06 -0500
From: Timothy.Quinn_at_Sun.COM
To: Hong.Zhang_at_Sun.COM
CC: users_at_glassfish.dev.java.net
Subject: Re: WARNING: com.sun.enterprise.deployment.backend.IASDeploymentException:
Hi, Eve.
Please see
http://blogs.sun.com/quinn/entry/why_the_warnings_about_glassfish
(first hit from Google searching for "Error attempting to process extensions from the manifest of JAR file").
I hope this sheds a little light on what's happening. Annoying, but (usually) harmless.
- Tim
Hong Zhang wrote:
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 registration name=Testingapp2
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
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
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!
Beyond Hotmail - see what else you can do with Windows Live. Find out more.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net
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!
Upgrade to Internet Explorer 8 Optimised for MSN. Download Now
Beyond Hotmail - see what else you can do with Windows Live. Find out more.
_________________________________________________________________
Access your other email accounts and manage all your email from one place.
http://clk.atdmt.com/UKM/go/167688463/direct/01/
--_a92ad1a2-c176-4b90-8af4-aa1a6fabd2ad_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi,<BR>
<BR>
The last error that I got is -<BR>
<BR>
<TABLE title="" border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR class=middleRow_sun4>
<TD>
<DIV class=middle_sun4>
<DIV class=header_sun4><SPAN class=label_sun4><SPAN id=form:pageAlert_summaryContainer dojoAttachPoint="_summaryContainer">An error has occurred</SPAN></SPAN></DIV>
<DIV class=details_sun4><SPAN class=label_sun4><SPAN id=form:pageAlert_detailContainer dojoAttachPoint="_detailContainer">Exception while deploying the app : java.lang.RuntimeException: Cannot resolve reference Remote ejb-ref name=servlet.Controllerserv/baleBeanRemote,Remote 3.x business interface=entityJB.BaleBeanRemote,ejb-link=null,mappedName=,refType=Session because there are 2 ejbs in the application with interface entityJB.BaleBeanRemote</SPAN></SPAN><SPAN id=form:pageAlert_detailContainerLink dojoAttachPoint="_detailContainerLink"></SPAN></DIV></DIV></TD>
<TD class=rightMiddle_sun4><SPAN id=form:pageAlert_rightMiddleContainer dojoAttachPoint="_rightMiddleContainer"><IMG id=form:pageAlert_spacerImage4 border=0 src="/theme/woodstock4_3/suntheme/images/other/dot.gif" widgetId="form:pageAlert_spacerImage4" dojoAttachPoint="_domNode"></SPAN></TD></TR></TBODY></TABLE><SPAN lang=EN><BR>
An error has occurred<BR>
Exception while deploying the app : java.lang.RuntimeException: <BR>
Cannot resolve reference Remote ejb-ref name=servlet.Controllerserv/baleBeanRemote,<BR>
Remote 3.x business interface=entityJB.BaleBeanRemote,ejb-link=null,mappedName=,refType=Session <BR>
because there are 2 ejbs in the application with interface entityJB.BaleBeanRemote <BR>
</SPAN> <BR>
<BR>
Whot do you think?<BR>
<BR>
Thanking you in advance.<BR>
<BR>
eve<BR>
<BR> <BR>
<HR id=stopSpelling>
Date: Tue, 29 Sep 2009 20:40:12 -0400<BR>From: Hong.Zhang_at_Sun.COM<BR>To: users_at_glassfish.dev.java.net<BR>Subject: Re: WARNING: com.sun.enterprise.deployment.backend.IASDeploymentException:<BR><BR>Hi, Eve <BR>
<BLOCKQUOTE cite=midCOL105-W3A9AE414B911B24A8F589D7D50_at_phx.gbl>If I install glassfish v3 proluge, would I get this problems?<BR> <BR>Myapplication comes up with the same JNDI naming BelaBean, BaleRemote,<BR>error. again.<BR></BLOCKQUOTE>You can definitely give it a try. But at least try with v3 preview (the prelude does not support ear deployment) or maybe the latest promoted build of the v3 final. <BR><BR> - Hong<BR>
<BLOCKQUOTE cite=midCOL105-W3A9AE414B911B24A8F589D7D50_at_phx.gbl> <BR>Thanking you.<BR> <BR>eve<BR> <BR><BR> <BR>
<HR id=ecxstopSpelling>
Date: Tue, 29 Sep 2009 15:25:06 -0500<BR>From: <A class=ecxmoz-txt-link-abbreviated href="mailto:Timothy.Quinn@Sun.COM">Timothy.Quinn@Sun.COM</A><BR>To: <A class=ecxmoz-txt-link-abbreviated href="mailto:Hong.Zhang@Sun.COM">Hong.Zhang@Sun.COM</A><BR>CC: <A class=ecxmoz-txt-link-abbreviated href="mailto:users@glassfish.dev.java.net">users@glassfish.dev.java.net</A><BR>Subject: Re: WARNING: com.sun.enterprise.deployment.backend.IASDeploymentException:<BR><BR>Hi, Eve.<BR><BR>Please see<BR><BR><A class=ecxecxmoz-txt-link-freetext href="
http://blogs.sun.com/quinn/entry/why_the_warnings_about_glassfish">
http://blogs.sun.com/quinn/entry/why_the_warnings_about_glassfish</A><BR><BR>(first hit from Google searching for "Error attempting to process extensions from the manifest of JAR file").<BR><BR>I hope this sheds a little light on what's happening. Annoying, but (usually) harmless.<BR><BR>- Tim<BR><BR>Hong Zhang wrote:
<BLOCKQUOTE cite=mid:4AC2676D.3030103_at_sun.com>Hi, Eve <BR>
<BLOCKQUOTE cite=midCOL105-W52DD026D0D28B4FD48BB13D7D50_at_phx.gbl>I was able to deploy this application and it run well. <BR> <BR>I changed the files in my Testapp2 - BaleRemote and BaleBean and Baleent </BLOCKQUOTE>
<BLOCKQUOTE cite=midCOL105-W52DD026D0D28B4FD48BB13D7D50_at_phx.gbl><BR>Then I deployed my Myapplication application and it works. </BLOCKQUOTE>Good news!<BR>
<BLOCKQUOTE cite=midCOL105-W52DD026D0D28B4FD48BB13D7D50_at_phx.gbl>Sadly, my <BR>Testapp2 still can't be deploy and comes with the same error. But <BR>it's not important now that I have my real application working.<BR> <BR></BLOCKQUOTE>I remember the following stack trace was a known problem in v2. Maybe Tim can help with this part: <BR><BR>[#|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<BR>java.io.FileNotFoundException: C:\jee\Testingapp2\dist\gfdeploy\Testingapp2-ejb.jar (The system cannot find the file specified)<BR> at java.util.zip.ZipFile.open(Native Method)<BR> at java.util.zip.ZipFile.<init>(ZipFile.java:114)<BR> at java.util.jar.JarFile.<init>(JarFile.java:133)<BR> at java.util.jar.JarFile.<init>(JarFile.java:97)<BR> at com.sun.enterprise.appclient.jws.ExtensionFileManager.findExtensionTransitiveClosure(ExtensionFileManager.java:240)<BR> at com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.findExtensions(AppclientJWSSupportInfo.java:1545)<BR> at com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.prepareAppclient(AppclientJWSSupportInfo.java:1386)<BR> at com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.prepareNestedAppclient(AppclientJWSSupportInfo.java:1497)<BR> at com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.prepareApplication(AppclientJWSSupportInfo.java:1246)<BR> at com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.startJWSServicesForApplication(AppclientJWSSupportInfo.java:475)<BR> at com.sun.enterprise.appclient.jws.AppclientJWSSupportManager.handleApplicationEvent(AppclientJWSSupportManager.java:156)<BR> at com.sun.enterprise.server.event.ApplicationLoaderEventNotifier.notifyListeners(ApplicationLoaderEventNotifier.java:154)<BR><BR>- Hong<BR><BR>
<BLOCKQUOTE cite=midCOL105-W52DD026D0D28B4FD48BB13D7D50_at_phx.gbl>Thanks so much for all your help.<BR> <BR>eve<BR><BR> <BR>
<HR id=ecxecxstopSpelling>
From: <A class=ecxecxmoz-txt-link-abbreviated href="mailto:gorgeous65_at_msn.com">gorgeous65_at_msn.com</A><BR>To: <A class=ecxecxmoz-txt-link-abbreviated href="mailto:users_at_glassfish.dev.java.net">users_at_glassfish.dev.java.net</A><BR>Date: Tue, 29 Sep 2009 14:51:27 +0100<BR>Subject: RE: WARNING: com.sun.enterprise.deployment.backend.IASDeploymentException:<BR><BR>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
Hong,<BR> <BR>May be it is complaining that the files BaleBean and it's remote<BR>is being used by another application. And yes, it's the same files I copied<BR>into my Testapp2 application. May be the JNDI naming created by the container<BR>is having conflicts with both the Testapp2 and myapplication. I will change the files and see.<BR> <BR>Also what I need to establish is putting my image files into the images dir. and displaying it in my web.<BR>At this moment, it would only display from the same dir as the jsp.<BR> <BR>Thanking you in advance.<BR> <BR>eve<BR> <BR>
<HR id=ecxecxecxstopSpelling>
From: <A class=ecxecxmoz-txt-link-abbreviated href="mailto:gorgeous65_at_msn.com">gorgeous65_at_msn.com</A><BR>To: <A class=ecxecxmoz-txt-link-abbreviated href="mailto:users_at_glassfish.dev.java.net">users_at_glassfish.dev.java.net</A><BR>Date: Tue, 29 Sep 2009 14:32:58 +0100<BR>Subject: RE: WARNING: com.sun.enterprise.deployment.backend.IASDeploymentException:<BR><BR>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
Hong,<BR> <BR>In my persistence.mxl I have a datasource name as:<BR> <BR> <SPAN class=ecxecxecxecxm><FONT color=#0000ff><</FONT></SPAN><SPAN class=ecxecxecxecxt><FONT color=#990000>jta-data-source</FONT></SPAN><SPAN class=ecxecxecxecxm><FONT color=#0000ff>></FONT></SPAN><SPAN class=ecxecxecxecxtx><STRONG>jdbc_/Testingdb2</STRONG></SPAN><SPAN class=ecxecxecxecxm><FONT color=#0000ff></</FONT></SPAN><SPAN class=ecxecxecxecxt><FONT color=#990000>jta-data-source</FONT></SPAN><SPAN class=ecxecxecxecxm><FONT color=#0000ff>></FONT></SPAN> <BR> <BR>I create the database table's field from my entity class <BR><BR>So all you need is to use and database, for example JavaDB<BR> <BR>and then create a new DB and connect to it. Then set-up the <BR>datasource for the application.<BR> <BR>Hope this helps<BR> <BR>Here is the error for both the testapp and myapplication<BR> <BR>[#|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<BR>java.io.FileNotFoundException: C:\jee\Testingapp2\dist\gfdeploy\Testingapp2-ejb.jar (The system cannot find the file specified)<BR> at java.util.zip.ZipFile.open(Native Method)<BR> at java.util.zip.ZipFile.<init>(ZipFile.java:114)<BR> at java.util.jar.JarFile.<init>(JarFile.java:133)<BR> at java.util.jar.JarFile.<init>(JarFile.java:97)<BR> at com.sun.enterprise.appclient.jws.ExtensionFileManager.findExtensionTransitiveClosure(ExtensionFileManager.java:240)<BR> at com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.findExtensions(AppclientJWSSupportInfo.java:1545)<BR> at com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.prepareAppclient(AppclientJWSSupportInfo.java:1386)<BR> at com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.prepareNestedAppclient(AppclientJWSSupportInfo.java:1497)<BR> at com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.prepareApplication(AppclientJWSSupportInfo.java:1246)<BR> at com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.startJWSServicesForApplication(AppclientJWSSupportInfo.java:475)<BR> at com.sun.enterprise.appclient.jws.AppclientJWSSupportManager.handleApplicationEvent(AppclientJWSSupportManager.java:156)<BR> at com.sun.enterprise.server.event.ApplicationLoaderEventNotifier.notifyListeners(ApplicationLoaderEventNotifier.java:154)<BR> at com.sun.enterprise.server.AbstractLoader.notifyAppEvent(AbstractLoader.java:874)<BR> at com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:192)<BR> at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:126)<BR> at com.sun.enterprise.server.ExtendedApplicationLoader.doLoad(ExtendedApplicationLoader.java:134)<BR> at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:238)<BR> at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:336)<BR> at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:210)<BR> at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:645)<BR> at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:959)<BR> at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:943)<BR> at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:467)<BR> at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)<BR> at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)<BR> at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)<BR> at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)<BR> at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)<BR> at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)<BR> at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)<BR> at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:609)<BR> at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:653)<BR> at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:773)<BR> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<BR> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<BR> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<BR> at java.lang.reflect.Method.invoke(Method.java:597)<BR> at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:381)<BR> at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)<BR> at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)<BR> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)<BR> at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)<BR> at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)<BR> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<BR> at java.lang.reflect.Method.invoke(Method.java:597)<BR> at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)<BR> at $Proxy1.invoke(Unknown Source)<BR> at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)<BR> at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)<BR> at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)<BR> at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)<BR> at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)<BR> at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)<BR> at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)<BR> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)<BR> at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)<BR> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)<BR> at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)<BR> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)<BR> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)<BR> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)<BR> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)<BR> at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)<BR> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)<BR> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)<BR> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)<BR> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)<BR> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)<BR> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)<BR> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)<BR> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)<BR> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)<BR> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)<BR> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)<BR> at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)<BR> at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)<BR> at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)<BR> at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)<BR> at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)<BR> at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)<BR> at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)<BR> at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)<BR>|#]<BR>[#|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'|#]<BR>[#|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 <A href="mailto:com.sun.enterprise.appclient.jws.ApplicationContentOrigin_at_1f66272">com.sun.enterprise.appclient.jws.ApplicationContentOrigin_at_1f66272</A> registration name=Testingapp2<BR> <A href="mailto:com.sun.enterprise.appclient.jws.NestedAppclientContentOrigin_at_b942f7">com.sun.enterprise.appclient.jws.NestedAppclientContentOrigin_at_b942f7</A> registration name=Testingapp2, context root=/Testingapp2/Testingapp2-app-client, module name=<BR>, parent=Testingapp2|#]<BR>[#|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<BR>com.sun.enterprise.management.support.Loader.handleMBeanRegistered(Loader.java:215)<BR>com.sun.enterprise.management.support.LoaderRegThread.processRegistration(LoaderRegThread.java:184)<BR>com.sun.enterprise.management.support.LoaderRegThread.processItem(LoaderRegThread.java:227)<BR>com.sun.enterprise.management.support.LoaderRegThread.processFOREVER(LoaderRegThread.java:265)<BR>com.sun.enterprise.management.support.LoaderRegThread.run(LoaderRegThread.java:311)<BR>|#]<BR>[#|2009-09-28T22:04:06.971+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=18;_ThreadName=httpWorkerThread-4848-0;|classLoader = WebappClassLoader<BR> delegate: false<BR> repositories:<BR>----------> Parent Classloader:<BR>WebappClassLoader<BR> delegate: true<BR> repositories:<BR> /WEB-INF/classes/<BR>----------> Parent Classloader:<BR>EJBClassLoader : <BR>urlSet = []<BR>doneCalled = false <BR> Parent -> <A href="mailto:java.net.URLClassLoader_at_bbfa5">java.net.URLClassLoader_at_bbfa5</A><BR> <BR> <BR> <BR> <BR> <BR>MYapplication<BR> <BR> <BR>[#|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|#]<BR>[#|2009-09-28T22:20:58.663+0100|SEVERE|sun-<STRONG>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.|#]</STRONG><BR>[#|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: <BR>javax.naming.NameAlreadyBoundException: Use rebind to override<BR> at com.sun.enterprise.naming.TransientContext.doBindOrRebind(TransientContext.java:292)<BR> at com.sun.enterprise.naming.TransientContext.bind(TransientContext.java:232)<BR> at com.sun.enterprise.naming.SerialContextProviderImpl.bind(SerialContextProviderImpl.java:111)<BR> at com.sun.enterprise.naming.LocalSerialContextProviderImpl.bind(LocalSerialContextProviderImpl.java:90)<BR> at com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:472)<BR> at com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:487)<BR> at javax.naming.InitialContext.bind(InitialContext.java:404)<BR> at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:237)<BR> at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:190)<BR> at com.sun.ejb.containers.BaseContainer.initializeHome(BaseContainer.java:1015)<BR> at com.sun.ejb.containers.StatefulSessionContainer.initializeHome(StatefulSessionContainer.java:368)<BR> at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:654)<BR> at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:527)<BR> at com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:191)<BR> at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:126)<BR> at com.sun.enterprise.server.ExtendedApplicationLoader.doLoad(ExtendedApplicationLoader.java:134)<BR> at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:238)<BR> at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:336)<BR> at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:210)<BR> at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:645)<BR> at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:959)<BR> at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:943)<BR> at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:467)<BR> at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)<BR> at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)<BR> at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)<BR> at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)<BR> at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)<BR> at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)<BR> at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)<BR> at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:609)<BR> at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:653)<BR> at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:773)<BR> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<BR> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<BR> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<BR> at java.lang.reflect.Method.invoke(Method.java:597)<BR> at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:381)<BR> at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)<BR> at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)<BR> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)<BR> at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)<BR> at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)<BR> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<BR> at java.lang.reflect.Method.invoke(Method.java:597)<BR> at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)<BR> at $Proxy1.invoke(Unknown Source)<BR> at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)<BR> at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)<BR> at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)<BR> at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)<BR> at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)<BR> at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)<BR> at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)<BR> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)<BR> at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)<BR> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)<BR> at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)<BR> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)<BR> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)<BR> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)<BR> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)<BR> at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)<BR> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)<BR> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)<BR> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)<BR> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)<BR> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)<BR> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)<BR> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)<BR> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)<BR> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)<BR> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)<BR> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)<BR> at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)<BR> at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)<BR> at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)<BR> at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)<BR> at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)<BR> at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)<BR> at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)<BR> at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)<BR>|#]<BR>[#|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|#]<BR>[#|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]|#]<BR>[#|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. ]|#]<BR> <BR><STRONG>in bold - it looks like that's where my problem is but I have no JNDI naming in my application.</STRONG><BR><STRONG></STRONG> <BR><STRONG>And I am using @EJB with my clients both the web and application client</STRONG><BR> <BR> <BR>Thanking you inadvance<BR> <BR>eve <BR>
<HR id=ecxecxecxecxstopSpelling>
Date: Tue, 29 Sep 2009 09:03:39 -0400<BR>From: <A class=ecxecxmoz-txt-link-abbreviated href="mailto:Hong.Zhang_at_Sun.COM">Hong.Zhang_at_Sun.COM</A><BR>To: <A class=ecxecxmoz-txt-link-abbreviated href="mailto:users_at_glassfish.dev.java.net">users_at_glassfish.dev.java.net</A><BR>Subject: Re: WARNING: com.sun.enterprise.deployment.backend.IASDeploymentException:<BR><BR>Hi, Eve <BR> Are there any datasources need to be set up before I deploy the application? I got this when I tried to deploy: <BR><BR>CLI171 Command deploy failed : Deploying application in domain failed;<BR>Internal Exception: java.sql.SQLException: This pool is not registered with the runtime environment : null<BR>Error Code: 0<BR><BR>- Hong<BR><BR>Eve Pokua wrote:<BR>
<BLOCKQUOTE cite=midCOL105-W48B490959B16B688B9A2ED7D60_at_phx.gbl>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
Hello Hong,<BR> <BR>Please, see attached.<BR> <BR>eve<BR> <BR>
<HR id=ecxecxecxecxecxstopSpelling>
Date: Mon, 28 Sep 2009 08:56:30 -0400<BR>From: <A class=ecxecxecxecxecxmoz-txt-link-abbreviated href="mailto:Hong.Zhang_at_Sun.COM">Hong.Zhang_at_Sun.COM</A><BR>To: <A class=ecxecxecxecxecxmoz-txt-link-abbreviated href="mailto:users_at_glassfish.dev.java.net">users_at_glassfish.dev.java.net</A><BR>Subject: Re: WARNING: com.sun.enterprise.deployment.backend.IASDeploymentException:<BR><BR>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..<BR><BR>Eve Pokua wrote:<BR>
<BLOCKQUOTE cite=midCOL105-W63A03506B592A4E1DB9111D7D60_at_phx.gbl>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
Hello,<BR> <BR>Thank you for your reply. I have been using @EJB injection for a very long time, mainly <BR>because, I used to copy my files from one PC to another and I had a lot of problems with that JNDI.<BR> <BR>I have checked all my implementation beans and non has any JNDI defined. It has been deploying <BR>all this long so I don't know why it won't deploy anymore. Furthermore, I created a test project and<BR>that won't deploy either. That one has no client calling and lookup to JNDI bean and the bean has <BR>no map reference to any JNDI. I have been using Verify in netbeans to check where I went wrong.<BR> <BR> <BR>regards<BR> <BR>eve<BR> <BR>
<HR id=ecxecxecxecxecxecxstopSpelling>
Date: Fri, 25 Sep 2009 19:36:57 -0400<BR>From: <A class=ecxecxecxecxecxecxmoz-txt-link-abbreviated href="mailto:Hong.Zhang_at_Sun.COM">Hong.Zhang_at_Sun.COM</A><BR>To: <A class=ecxecxecxecxecxecxmoz-txt-link-abbreviated href="mailto:users_at_glassfish.dev.java.net">users_at_glassfish.dev.java.net</A><BR>Subject: Re: WARNING: com.sun.enterprise.deployment.backend.IASDeploymentException:<BR><BR> From the stack trace:<BR><FONT size=2>[#|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: <BR>javax.naming.NameAlreadyBoundException: Use rebind to override<BR>at com.sun.enterprise.naming.TransientContext.doBindOrRebind(TransientContext.java:292)<BR><BR> <BIG>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? <BR><BR></BIG></FONT><BR>
<BLOCKQUOTE cite=midCOL105-W232012D9168017DA5DB19D7D90_at_phx.gbl>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
<BR> <BR>I have been googleing this error over the internet and read somewhere<BR>there is a fix to this, please where can I get the build.<BR> <BR>I am using glassfish v2 cluster profile. Netbeans 6.5.<BR> <BR>server log:<BR> <BR><FONT size=2>[#|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: <BR>javax.naming.NameAlreadyBoundException: Use rebind to override<BR>at com.sun.enterprise.naming.TransientContext.doBindOrRebind(TransientContext.java:292)<BR>at com.sun.enterprise.naming.TransientContext.bind(TransientContext.java:232)<BR>at com.sun.enterprise.naming.SerialContextProviderImpl.bind(SerialContextProviderImpl.java:111)<BR>at com.sun.enterprise.naming.LocalSerialContextProviderImpl.bind(LocalSerialContextProviderImpl.java:90)<BR>at com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:472)<BR>at com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:487)<BR>at javax.naming.InitialContext.bind(InitialContext.java:404)<BR>at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:237)<BR>at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:190)<BR>at com.sun.ejb.containers.BaseContainer.initializeHome(BaseContainer.java:1015)<BR>at com.sun.ejb.containers.StatefulSessionContainer.initializeHome(StatefulSessionContainer.java:368)<BR>at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:654)<BR>at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:527)<BR>at com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:191)<BR>at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:126)<BR>at com.sun.enterprise.server.ExtendedApplicationLoader.doLoad(ExtendedApplicationLoader.java:134)<BR>at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:238)<BR>at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:336)<BR>at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:210)<BR>at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:645)<BR>at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:959)<BR>at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:943)<BR>at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:467)<BR>at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)<BR>at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)<BR>at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)<BR>at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)<BR>at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)<BR>at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)<BR>at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)<BR>at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:609)<BR>at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:653)<BR>at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:773)<BR>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<BR>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<BR>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<BR>at java.lang.reflect.Method.invoke(Method.java:597)<BR>at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:381)<BR>at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)<BR>at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)<BR>at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)<BR>at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)<BR>at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)<BR>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<BR>at java.lang.reflect.Method.invoke(Method.java:597)<BR>at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)<BR>at $Proxy1.invoke(Unknown Source)<BR>at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)<BR>at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)<BR>at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)<BR>at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)<BR>at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)<BR>at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)<BR>at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)<BR>at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)<BR>at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)<BR>at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)<BR>at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)<BR>at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)<BR>at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)<BR>at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)<BR>at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)<BR>at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)<BR>at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)<BR>at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)<BR>at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)<BR>at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)<BR>at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)<BR>at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)<BR>at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)<BR>at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)<BR>at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)<BR>at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)<BR>at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)<BR>at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)<BR>at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)<BR>at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)<BR>at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)<BR>at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)<BR>at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)<BR>at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)<BR>at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)<BR>|#]<BR>[#|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|#]<BR>[#|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]|#]<BR>[#|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. ]|#]<BR> <BR>tHANKING YOU.<BR> <BR>REGARDS<BR> <BR>EVE<BR></FONT><BR>
<HR>
Beyond Hotmail - see what else you can do with Windows Live. <A href="
http://clk.atdmt.com/UKM/go/134665375/direct/01/">Find out more.</A></BLOCKQUOTE><BR><BR>
<HR>
View your Twitter and Flickr updates from one place - <A href="
http://clk.atdmt.com/UKM/go/137984870/direct/01/">Learn more!</A></BLOCKQUOTE><BR><BR>
<HR>
Beyond Hotmail - see what else you can do with Windows Live. <A href="
http://clk.atdmt.com/UKM/go/134665375/direct/01/">Find out more.</A> <PRE><HR SIZE=4 width="90%">
---------------------------------------------------------------------
To unsubscribe, e-mail: <A class=ecxecxecxecxecxmoz-txt-link-abbreviated href="mailto:users-unsubscribe_at_glassfish.dev.java.net">users-unsubscribe_at_glassfish.dev.java.net</A>
For additional commands, e-mail: <A class=ecxecxecxecxecxmoz-txt-link-abbreviated href="mailto:users-help_at_glassfish.dev.java.net">users-help_at_glassfish.dev.java.net</A></PRE></BLOCKQUOTE><BR><BR>
<HR>
Beyond Hotmail - see what else you can do with Windows Live. <A href="
http://clk.atdmt.com/UKM/go/134665375/direct/01/">Find out more.</A> <BR>
<HR>
View your Twitter and Flickr updates from one place - <A href="
http://clk.atdmt.com/UKM/go/137984870/direct/01/">Learn more!</A> <BR>
<HR>
Upgrade to Internet Explorer 8 Optimised for MSN. <A href="
http://extras.uk.msn.com/internet-explorer-8/?ocid=T010MSN07A0716U">Download Now</A></BLOCKQUOTE><BR></BLOCKQUOTE><BR><BR>
<HR>
Beyond Hotmail - see what else you can do with Windows Live. <A href="
http://clk.atdmt.com/UKM/go/134665375/direct/01/">Find out more.</A></BLOCKQUOTE><BR> <br /><hr />Use Hotmail to send and receive mail from your different email accounts. <a href='
http://clk.atdmt.com/UKM/go/167688463/direct/01/' target='_new'>Find out how.</a></body>
</html>
--_a92ad1a2-c176-4b90-8af4-aa1a6fabd2ad_--