users@glassfish.java.net

Re: A strange NameAlreadyBoundException at deployment since V2b19

From: Antonio Goncalves <antonio.mailing_at_gmail.com>
Date: Fri, 13 Oct 2006 20:44:12 +0200

I'm still trying anything possible and I remembered that I've upgraded from
JDK 1.5_07 to 1.5_09. So I've reinstalled Glassfish from scratch with the
JDK 1.5_07 but the same exceptions occur.

If any one has another idea, I'm ready to try anything.

Thanks,

Antonio


2006/10/13, Antonio Goncalves <antonio.mailing_at_gmail.com>:
>
> Ok, I've reinstalled GlassfishV2b21 from scratch, set it up (pool,
> datasource, jms destinations...), changed naming logs to FINE, deployed my
> application, didn't use it at all, and redeployed it. Same exception occured
> and the logs are huge. I'm trying to understand them. So here are there,
> zipped.
>
> There is an exception thrown before the NameAlreadyBoundException :
>
> [#|2006-10-13T20:23:
> 57.171+0200|SEVERE|sun-appserver-pe9.1|javax.enterprise.system.core.naming|_ThreadID=14;_ThreadName=httpWorkerThread-8282-1;_RequestID=6a69595c-3896-49d2-b5d7-4297a9ca67fc;|NAM0004:
> Exception during name lookup : {0}
> java.rmi.RemoteException: ; nested exception is:
> javax.naming.ConfigurationException: Invalid URL: localhost [Root
> exception is java.net.MalformedURLException: no protocol: localhost]
> at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup (
> LocalSerialContextProviderImpl.java:119)
> at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:309)
> at javax.naming.InitialContext.lookup(InitialContext.java:351)
> at com.sun.enterprise.naming.NamingManagerImpl.unpublishObject (
> NamingManagerImpl.java:227)
> at com.sun.ejb.containers.BaseContainer.undeploy(BaseContainer.java:2876)
> at com.sun.ejb.containers.StatelessSessionContainer.undeploy(
> StatelessSessionContainer.java:723)
> at com.sun.enterprise.server.AbstractLoader.unloadEjbs (
> AbstractLoader.java:361)
> at com.sun.enterprise.server.ApplicationLoader.unload(
> ApplicationLoader.java:231)
> at com.sun.enterprise.server.TomcatApplicationLoader.unload(
> TomcatApplicationLoader.java:200)
> at com.sun.enterprise.server.ApplicationManager.applicationUndeployed (
> ApplicationManager.java:511)
> at com.sun.enterprise.server.ApplicationManager.applicationUndeployed(
> ApplicationManager.java:687)
> at
> com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(
> AdminEventMulticaster.java:904)
> at
> com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent
> (AdminEventMulticaster.java:886)
> at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent (
> AdminEventMulticaster.java:445)
> at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(
> AdminEventMulticaster.java:160)
> at
> com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(
> DeploymentNotificationHelper.java:295)
> at
> com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent
> (DeploymentServiceUtils.java:204)
> at
> com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStopEvent(
> ServerDeploymentTarget.java:319)
> at com.sun.enterprise.deployment.phasing.ApplicationStopPhase.runPhase(
> ApplicationStopPhase.java:123)
> at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(
> DeploymentPhase.java :95)
> at
> com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(
> PEDeploymentService.java:871)
> at com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(
> PEDeploymentService.java:606)
> at com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(
> PEDeploymentService.java:652)
> at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.stop(
> ApplicationsConfigMBean.java:742)
> 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:585)
> at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(
> MBeanHelper.java:353)
> at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(
> MBeanHelper.java:336)
> at com.sun.enterprise.admin.config.BaseConfigMBean.invoke (
> BaseConfigMBean.java:448)
> at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(
> DynamicMetaDataImpl.java:213)
> at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke (
> DefaultMBeanServerInterceptor.java:815)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
> at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke (
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java
> :77)
> at $Proxy1.invoke(Unknown Source)
> at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(
> SunoneInterceptor.java:297)
> at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(
> InvokeCaller.java:56)
> at
> com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(
> MBeanServerRequestHandler.java:142)
> at
> com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest
> (RemoteJmxConnectorServlet.java:109)
> at
> com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(
> RemoteJmxConnectorServlet.java:180)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at org.apache.catalina.core.ApplicationFilterChain.servletService (
> ApplicationFilterChain.java:397)
> at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:276)
> at org.apache.catalina.core.StandardPipeline.doInvoke(
> StandardPipeline.java:586)
> at org.apache.catalina.core.StandardPipeline.invoke (
> StandardPipeline.java:556)
> at org.apache.catalina.core.StandardContextValve.invokeInternal(
> StandardContextValve.java:246)
> at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:185)
> at org.apache.catalina.core.StandardPipeline.doInvoke(
> StandardPipeline.java:586)
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
> at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java :182)
> at org.apache.catalina.core.StandardPipeline.doInvoke(
> StandardPipeline.java:586)
> at com.sun.enterprise.web.VirtualServerPipeline.invoke(
> VirtualServerPipeline.java:120)
> at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:939)
> at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:137)
> at org.apache.catalina.core.StandardPipeline.doInvoke(
> StandardPipeline.java:586)
> at org.apache.catalina.core.StandardPipeline.invoke (
> StandardPipeline.java:556)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java
> :249)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(
> DefaultProcessorTask.java:618)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.processNonBlocked
> (DefaultProcessorTask.java:549)
> at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(
> DefaultProcessorTask.java:790)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask
> (DefaultReadTask.java:328)
> at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(
> DefaultReadTask.java :251)
> at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(
> DefaultReadTask.java:205)
> at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java
> :252)
> at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run (
> WorkerThreadImpl.java:103)
> Caused by: javax.naming.ConfigurationException: Invalid URL: localhost
> [Root exception is java.net.MalformedURLException: no protocol: localhost]
> at com.sun.jndi.cosnaming.CNCtx.getStringifiedIor (CNCtx.java:415)
> at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:198)
> at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:69)
> at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(
> CNCtxFactory.java :32)
> at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java
> :667)
> at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
> at javax.naming.InitialContext.init(InitialContext.java :223)
> at javax.naming.InitialContext.<init>(InitialContext.java:197)
> at com.sun.enterprise.naming.factory.IIOPObjectFactory.getObjectInstance(
> IIOPObjectFactory.java:59)
> at javax.naming.spi.NamingManager.getObjectInstance (NamingManager.java
> :304)
> at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(
> LocalSerialContextProviderImpl.java:110)
> ... 71 more
> Caused by: java.net.MalformedURLException: no protocol: localhost
> at java.net.URL.<init>(URL.java:567)
> at java.net.URL.<init>(URL.java:464)
> at java.net.URL.<init>(URL.java:413)
> at com.sun.jndi.cosnaming.CNCtx.getStringifiedIor(CNCtx.java:401)
> ... 81 more
>
>
>
> 2006/10/13, Sheetal Vartak <Sheetal.Vartak_at_sun.com>:
> >
> > Hi Antonio,
> > You can change the log level for the naming module in domain.xml to
> > "FINE". Please start the whole process from scratch ( i.e. start a clean
> > server without your app already deployed and then deploy your app and
> > follows all the steps you have been doing).
> > Let us know what you see in the logs.
> > Thanks
> > Sheetal
> >
> > Antonio Goncalves wrote:
> > > Hi,
> > >
> > > I've made several tests :
> > >
> > > * First, I've reinstalled Glassfish V2b13. Unfortunately, the same
> > > exception occurs. So, something had changed in my application.
> > >
> > > * Second, I've deployed several times the stateless-simple.ear that
> > > Hong sent. And it works fine. So it's really a pb with my application
> > >
> > > * Hong talked about not cleaning properly, so I've tried to delete
> > > working directories and redeployed (like
> > > %GLASSFISH%\domains\petstore\applications\j2ee-apps) but I get a
> > > javax.naming.NameAlreadyBoundException: Use rebind to override
> > >
> > > * I do not have any other application deployed on Glassfish. It
> > > doesn't look like the name already exists somwhere. When I list the
> > > components and JNDI this is what I get :
> > >
> > > list-components:
> > > [exec] petstore <j2ee-application>
> > >
> > >
> > > Do you know if I could increase some log levels to have more
> > > informations ?
> > >
> > > Thanks,
> > >
> > > Antonio
> > >
> > > 2006/10/13, Marina Vatkina < Marina.Vatkina_at_sun.com
> > > <mailto:Marina.Vatkina_at_sun.com>>:
> > >
> > > Antonio,
> > >
> > > I've seen this message when I tried to deploy 2 apps with the same
> >
> > > ejb jar
> > > in then. Can you check if you had deployed something else on the
> > > instance
> > > that might cause this error?
> > >
> > > thanks,
> > > -marina
> > >
> > > Antonio Goncalves wrote:
> > > > Hi Hong,
> > > >
> > > > Yes, I've just created a couple of small webapp with webservices
> > > and I
> > > > can redeploy them as many times as I want. The one that doesn't
> > > deploy
> > > > properly has stateless, stateful, entities, JSF, JSPs, JMS and
> > > MDBs...
> > > > quite big. Do you want me to send you all that ? But before do
> > > you want
> > > > me to have a look at some other server files or directories to
> > > have a
> > > > better understanding ?
> > > >
> > > > Thanks,
> > > >
> > > > Antonio
> > > >
> > > >
> > > > 2006/10/13, Hong Zhang <Hong.Zhang_at_sun.com
> > > <mailto:Hong.Zhang_at_sun.com> <mailto: Hong.Zhang_at_sun.com
> > > <mailto:Hong.Zhang_at_sun.com>>>:
> > > >
> > > > Hi, Antonio
> > > > From the error message, seems things might not be cleaned
> > > up properly
> > > > when we unload the old version of the application from the
> > ejb
> > > > container. So when we try to load the newer version to the
> > ejb
> > > > container, there is a jndi name collision.
> > > > However, when I tried to redeploy a simple application
> > (which
> > > > contains a stateless bean and a servlet) to the latest
> > build,
> > > > everything
> > > > worked fine for me. So this might be something that's
> > > specific to your
> > > > application (or environment). Can you share with us your
> > > application so
> > > > we can take a look? Thanks.
> > > >
> > > > - Hong
> > > >
> > > >
> > > > Antonio Goncalves wrote:
> > > >
> > > > > Instead of using the deploy command I've tried
> > > autodeploying my ear
> > > > > file (copying in autodeploy directory) but I still have
> > > the same
> > > > > exception.
> > > > >
> > > > > 2006/10/13, Antonio Goncalves < antonio.mailing_at_gmail.com
> > > <mailto:antonio.mailing_at_gmail.com>
> > > > <mailto: antonio.mailing_at_gmail.com
> > > <mailto: antonio.mailing_at_gmail.com>>
> > > > > <mailto:antonio.mailing_at_gmail.com
> > > <mailto: antonio.mailing_at_gmail.com>
> > > > <mailto:antonio.mailing_at_gmail.com
> > > <mailto:antonio.mailing_at_gmail.com >>>>:
> > > > >
> > > > > I've upgrade to V2b21 but I still have the same
> > > problem ?!?!
> > > > >
> > > > > 2006/10/13, Antonio Goncalves <
> > > antonio.mailing_at_gmail.com <mailto:antonio.mailing_at_gmail.com>
> > > > <mailto: antonio.mailing_at_gmail.com
> > > <mailto:antonio.mailing_at_gmail.com>>
> > > > > <mailto:antonio.mailing_at_gmail.com
> > > <mailto:antonio.mailing_at_gmail.com>
> > > > <mailto:antonio.mailing_at_gmail.com
> > > <mailto: antonio.mailing_at_gmail.com>> >>:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I've upgraded Glassfish to V2b19 and since then I
> >
> > > have a
> > > > > strange exception when I deploy my application.
> > > Imagine the
> > > > > scenario : I start Glassfish and I deploy my
> > > application
> > > > with
> > > > > the following command :
> > > > >
> > > > > deploy --secure=false --user admin --terse=false
> > > --target
> > > > > server --echo=true --upload=true --port 8282
> > > > > --interactive=true --passwordfile passwordfile
> > > > > --availabilityenabled=false --enabled=true
> > > > > --generatermistubs=false --host localhost
> > > > > --precompilejsp=false --force=true --verify=false
> > > > > ./build/petstore.ear
> > > > >
> > > > > It works fine and I can run my application. Good.
> > > Then, I
> > > > > redeploy my application with the same command
> > > line and
> > > > this is
> > > > > what I get :
> > > > >
> > > > > deploy --secure=false --user admin --terse=false
> > > --target
> > > > > server --echo=true --upload=true --port 8282
> > > > > --interactive=true --passwordfile passwordfile
> > > > > --availabilityenabled=false --enabled=true
> > > > > --generatermistubs=false --host localhost
> > > > > --precompilejsp=false --force=true --verify=false
> > > > > ./build/petstore.ear
> > > > >
> > > com.sun.enterprise.deployment.backend.IASDeploymentException :
> > > > > Error while loading application [petstore].
> > > Please refer to
> > > > > the server log for more details.
> > > > >
> > > > > Server Logs:
> > > > >
> > > > >
> > > >
> > > [#|2006-10-13T09:22:
> > 44.218+0200|SEVERE|sun-appserver-pe9.1|javax.enterprise.system.container.ejb|_ThreadID=13;_ThreadName=httpWorkerThread-8282-0;javax.naming.NameAlreadyBoundException
> >
> > >
> > > >
> > > > > [Root exception is
> > > > >
> > org.omg.CosNaming.NamingContextPackage.AlreadyBound :
> > > > > IDL:
> > > >
> > > omg.org/CosNaming/NamingContext/AlreadyBound:1.0];_RequestID=6c5f5c2c-d7d7-4ede-9eb9-cf070a6510f8;|EJB5090
> >
> > <http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0%5D;_RequestID=6c5f5c2c-d7d7-4ede-9eb9-cf070a6510f8;%7CEJB5090>
> > > <http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0%5D;_RequestID=6c5f5c2c-d7d7-4ede-9eb9-cf070a6510f8;%7CEJB5090
> > >
> > > > <
> > > http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0];_RequestID=6c5f5c2c-d7d7-4ede-9eb9-cf070a6510f8;|EJB5090
> >
> > <http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0%5D;_RequestID=6c5f5c2c-d7d7-4ede-9eb9-cf070a6510f8;%7CEJB5090>
> > > <http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0%5D;_RequestID=6c5f5c2c-d7d7-4ede-9eb9-cf070a6510f8;%7CEJB5090
> > >>
> > > > > <
> > > >
> > > http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0%5D;_RequestID=6c5f5c2c-d7d7-4ede-9eb9-cf070a6510f8;%7CEJB5090
> > >:
> > > > > Exception in creating EJB container
> > > > > [javax.naming.NameAlreadyBoundException [Root
> > > exception is
> > > > >
> > > org.omg.CosNaming.NamingContextPackage.AlreadyBound: IDL:
> > > > >
> > > omg.org/CosNaming/NamingContext/AlreadyBound:1.0]]|#<http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0%5D%5D%7C#>
> > > <http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0%5D%5D%7C#
> > >
> > > > <http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0]]|#<http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0%5D%5D%7C#>
> > > <http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0%5D%5D%7C#
> > >>
> > > > >
> > > > <
> > > http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0%5D%5D%7C#>]
> > > > >
> > > > >
> > > >
> > > [#|2006-10-13T09:22:
> > 44.218+0200|SEVERE|sun-appserver-pe9.1|javax.enterprise.system.container.ejb|_ThreadID=13
> > >
> > > >
> > >
> > ;_ThreadName=httpWorkerThread-8282-0;_RequestID=6c5f5c2c-d7d7-4ede-9eb9-cf070a6510f8;|appId=petstore
> > > > > moduleName=ejbs_jar ejbName=CatalogBean|#]
> > > > >
> > > > >
> > > >
> > > [#|2006-10-13T09:22:
> > 44.218+0200|SEVERE|sun-appserver-pe9.1|javax.enterprise.system.core.classloading|_ThreadID=13
> > > >
> > >
> > ;_ThreadName=httpWorkerThread-8282-0;petstore;com.yaps.petstore.service.catalog.CatalogRemote;CatalogBean;_RequestID=6c5f5c2c-d7d7-4ede-9eb9-cf070a6510f8;|LDR5012:
> >
> > >
> > > > > Jndi name conflict found in [petstore]. Jndi name
> > [
> > > > > com.yaps.petstore.service.catalog.CatalogRemote]
> > > for bean
> > > > > [CatalogBean] is already in use.|#]
> > > > >
> > > > >
> > > >
> > > [#|2006-10-13T09:22:
> > 44.218+0200|SEVERE|sun-appserver-pe9.1|javax.enterprise.system.core.classloading|_ThreadID=13
> > > >
> > >
> > ;_ThreadName=httpWorkerThread-8282-0;_RequestID=6c5f5c2c-d7d7-4ede-9eb9-cf070a6510f8;|LDR5013:
> >
> > >
> > > > > Naming exception while creating EJB container:
> > > > > javax.naming.NameAlreadyBoundException [Root
> > > exception is
> > > > >
> > > org.omg.CosNaming.NamingContextPackage.AlreadyBound : IDL:
> > > > > omg.org/CosNaming/NamingContext/AlreadyBound:1.0
> > > <http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0>
> > > > < http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0>
> > > > > <
> > > http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0 >]
> > > > > at
> > > > >
> > > >
> > > com.sun.jndi.cosnaming.ExceptionMapper.mapException(
> > ExceptionMapper.java
> > > > :74)
> > > > > at
> > > > com.sun.jndi.cosnaming.CNCtx.callBindOrRebind (CNCtx.java
> > :563)
> > > > > at com.sun.jndi.cosnaming.CNCtx.bind
> > > (CNCtx.java:588)
> > > > > at
> > > javax.naming.InitialContext.bind(InitialContext.java
> > > > :363)
> > > > > at
> > > > >
> > > >
> > > com.sun.enterprise.naming.NamingManagerImpl.publishObject (
> > NamingManagerImpl.java:198)
> > > > > at
> > > com.sun.enterprise.naming.NamingManagerImpl.publishObject
> > > > > ( NamingManagerImpl.java :168)
> > > > > at
> > > > >
> > > >
> > > com.sun.ejb.containers.BaseContainer.initializeHome(
> > BaseContainer.java:962)
> > > > > at
> > > > >
> > > >
> > com.sun.ejb.containers.StatelessSessionContainer.initializeHome
> > > > (StatelessSessionContainer.java:220)
> > > > > at
> > > > >
> > > com.sun.ejb.containers.ContainerFactoryImpl.createContainer
> > > > > ( ContainerFactoryImpl.java:667)
> > > > > at
> > > > > com.sun.enterprise.server.AbstractLoader.loadEjbs
> > > > (AbstractLoader.java:486)
> > > > > at
> > com.sun.enterprise.server.ApplicationLoader.load
> > > > > (ApplicationLoader.java:183)
> > > > > at
> > > com.sun.enterprise.server.TomcatApplicationLoader.load
> > > > > ( TomcatApplicationLoader.java :113)
> > > > > at
> > > > >
> > > >
> > > com.sun.enterprise.server.ApplicationManager.applicationDeployed (
> > ApplicationManager.java
> > > > > :322)
> > > > > at
> > > > >
> > > >
> > com.sun.enterprise.server.ApplicationManager.applicationDeployed
> > > > (ApplicationManager.java
> > > > > :196)
> > > > > at
> > > > >
> > > >
> > > com.sun.enterprise.server.ApplicationManager.applicationDeployed
> > > (ApplicationManager.java:633)
> > > > > at
> > > > >
> > > >
> > >
> > com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener
> > > >
> > > > > (AdminEventMulticaster.java :902)
> > > > > at
> > > > >
> > > >
> > >
> > com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(
> > AdminEventMulticaster.java:886)
> > > > > at
> > > > >
> > > >
> > > com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent
> > > > > ( AdminEventMulticaster.java :445)
> > > > > at
> > > > >
> > > >
> > >
> > com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent
> > > > (AdminEventMulticaster.java :160)
> > > > > at
> > > > >
> > > >
> > >
> > com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent
> > > > > (DeploymentNotificationHelper.java :295)
> > > > > at
> > > > >
> > > >
> > >
> > com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent
> > (DeploymentServiceUtils.java:204)
> > > > > at
> > > > >
> > > >
> > >
> > com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent
> > > >
> > > > > (ServerDeploymentTarget.java :285)
> > > > > at
> > > > >
> > > >
> > >
> > com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase
> > > (ApplicationStartPhase.java:119)
> > > > > at
> > > > >
> > > >
> > > com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase
> > (DeploymentPhase.java
> > > > > :95)
> > > > > at
> > > > >
> > > >
> > >
> > com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases
> > > > > ( PEDeploymentService.java:871)
> > > > > at
> > > > >
> > > >
> > > com.sun.enterprise.deployment.phasing.PEDeploymentService.start(
> > PEDeploymentService.java:541)
> > > > > at
> > > > >
> > > >
> > com.sun.enterprise.deployment.phasing.PEDeploymentService.start
> > > > (PEDeploymentService.java
> > > > > :585)
> > > > > at
> > > > >
> > > >
> > > com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(
> > ApplicationsConfigMBean.java:719)
> > >
> > > > > 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
> > :585)
> > > > > at
> > > > com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean
> > > > > (MBeanHelper.java:353)
> > > > > at
> > > > >
> > > >
> > > com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(
> > MBeanHelper.java:336)
> > > > > at
> > > com.sun.enterprise.admin.config.BaseConfigMBean.invoke
> > > > > (BaseConfigMBean.java:448)
> > > > > at
> > > com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke
> > > > > (DynamicMetaDataImpl.java :213)
> > > > > at
> > > > >
> > > > com.sun.jmx.mbeanserver.MetaDataImpl.invoke
> > > (MetaDataImpl.java:220)
> > > > > at
> > > > >
> > > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke
> > > > > (DefaultMBeanServerInterceptor.java:815)
> > > > > at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke
> > > > > (JmxMBeanServer.java:784)
> > > > > at sun.reflect.GeneratedMethodAccessor19.invoke
> > > (Unknown
> > > > Source)
> > > > > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > > > (DelegatingMethodAccessorImpl.java:25)
> > > > > at java.lang.reflect.Method.invoke (Method.java
> > :585)
> > > > > at
> > > > >
> > > >
> > > com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(
> > ProxyClass.java:77)
> > > > > at $Proxy1.invoke(Unknown Source)
> > > > > at
> > > > >
> > > >
> > > com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke
> > > > (SunoneInterceptor.java
> > > > > :297)
> > > > > at
> > > > >
> > > >
> > >
> > com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call
> > > (InvokeCaller.java:56)
> > > > > at
> > > > >
> > > >
> > >
> > com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle
> > > >
> > > > > (MBeanServerRequestHandler.java :142)
> > > > > at
> > > > >
> > > >
> > >
> > com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest
> > (RemoteJmxConnectorServlet.java:109)
> > > > > at
> > > > >
> > > >
> > >
> > com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost
> > > > > (RemoteJmxConnectorServlet.java:180)
> > > > > at javax.servlet.http.HttpServlet.service
> > > > (HttpServlet.java:727)
> > > > > at
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> > > > > at
> > > > >
> > > >
> > org.apache.catalina.core.ApplicationFilterChain.servletService
> > > > > (ApplicationFilterChain.java :397)
> > > > > at
> > > > >
> > > >
> > > org.apache.catalina.core.StandardWrapperValve.invoke(
> > StandardWrapperValve.java:276)
> > > > > at
> > > > >
> > > >
> > > org.apache.catalina.core.StandardPipeline.doInvoke(
> > StandardPipeline.java
> > > > :586)
> > > > > at
> > org.apache.catalina.core.StandardPipeline.invoke
> > > > > ( StandardPipeline.java:556)
> > > > > at
> > > > >
> > > >
> > > org.apache.catalina.core.StandardContextValve.invokeInternal(
> > StandardContextValve.java
> > > > :246)
> > > > > at
> > > > >
> > > >
> > > org.apache.catalina.core.StandardContextValve.invoke(
> > StandardContextValve.java:185)
> > > > > at
> > > > >
> > > > org.apache.catalina.core.StandardPipeline.doInvoke
> > > (StandardPipeline.java
> > > > :586)
> > > > > at
> > > > com.sun.enterprise.web.WebPipeline.invoke (WebPipeline.java
> > :73)
> > > > > at
> > > > >
> > > > org.apache.catalina.core.StandardHostValve.invoke
> > > (StandardHostValve.java
> > > > > :182)
> > > > > at
> > > > >
> > > >
> > > org.apache.catalina.core.StandardPipeline.doInvoke(
> > StandardPipeline.java:586)
> > > > > at
> > > > >
> > > >
> > > com.sun.enterprise.web.VirtualServerPipeline.invoke(
> > VirtualServerPipeline.java
> > > > :120)
> > > > > at org.apache.catalina.core.ContainerBase.invoke
> > > > > ( ContainerBase.java:939)
> > > > > at
> > > > >
> > > >
> > > org.apache.catalina.core.StandardEngineValve.invoke(
> > StandardEngineValve.java
> > > > :137)
> > > > > at
> > > > >
> > > >
> > > org.apache.catalina.core.StandardPipeline.doInvoke(
> > StandardPipeline.java:586)
> > > > > at
> > org.apache.catalina.core.StandardPipeline.invoke
> > > > > (StandardPipeline.java :556)
> > > > > at
> > > > >
> > > >
> > > org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java
> > :939)
> > > > > at
> > > > >
> > > > org.apache.coyote.tomcat5.CoyoteAdapter.service
> > > (CoyoteAdapter.java:239)
> > > > > at
> > > > >
> > > >
> > >
> > com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter
> > > > > (DefaultProcessorTask.java:618)
> > > > > at
> > > > >
> > > >
> > >
> > com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.processNonBlocked
> > > > (DefaultProcessorTask.java:549)
> > > > > at
> > > > >
> > > >
> > >
> > com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process
> > > > > (DefaultProcessorTask.java:789)
> > > > > at
> > > > >
> > > >
> > >
> > com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask
> > > (DefaultReadTask.java:328)
> > > > > at
> > > > >
> > > >
> > > com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(
> > DefaultReadTask.java
> > > >
> > > > > :251)
> > > > > at
> > > > >
> > > >
> > > com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(
> > DefaultReadTask.java:205)
> > > > > at
> > > > >
> > > com.sun.enterprise.web.connector.grizzly.TaskBase.run
> > > > (TaskBase.java:252)
> > > > > at
> > > > >
> > > com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run
> > > > > (WorkerThreadImpl.java :103)
> > > > > Caused by:
> > > > >
> > > org.omg.CosNaming.NamingContextPackage.AlreadyBound : IDL:
> > > > > omg.org/CosNaming/NamingContext/AlreadyBound:1.0
> > > <http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0>
> > > > < http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0>
> > > > > <
> > > http://omg.org/CosNaming/NamingContext/AlreadyBound:1.0>
> > > > > at
> > > > >
> > > >
> > > org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.read (
> > AlreadyBoundHelper.java:60)
> > > > > at
> > > > >
> > > >
> > > org.omg.CosNaming._NamingContextStub.bind
> > (_NamingContextStub.java:67)
> > > > >
> > > > > at com.sun.jndi.cosnaming.CNCtx.callBindOrRebind
> > > > (CNCtx.java:552)
> > > > > ... 74 more
> > > > >
> > > > > Then if I undeploy and try to deploy again, I
> > > have the same
> > > > > exception. I have to undeploy, stop Glassfish and
> > > deploy my
> > > > > application to make it work again.
> > > > >
> > > > > Any idea . Never had this pb with V2b13 and it is
> > > the same
> > > > > application.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Antonio
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > users-unsubscribe_at_glassfish.dev.java.net
> > > <mailto:users-unsubscribe_at_glassfish.dev.java.net>
> > > > <mailto: 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>
> > > > <mailto: users-help_at_glassfish.dev.java.net
> > > <mailto:users-help_at_glassfish.dev.java.net >>
> > > >
> > > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > 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>
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >
> >
>