You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Kathy Chan (JIRA)" <ji...@apache.org> on 2006/03/07 19:16:38 UTC
[jira] Created: (GERONIMODEVTOOLS-71) Geronimo publish failed with
javax.naming.NoInitialContextException
Geronimo publish failed with javax.naming.NoInitialContextException
-------------------------------------------------------------------
Key: GERONIMODEVTOOLS-71
URL: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-71
Project: Geronimo-Devtools
Type: Bug
Environment: WTP 1.0.1 + Geronimo 1.0 plugin + Geronimo 1.0 server
Starting Eclipse with IBM JRE 1.4.2 "J2RE 1.4.2 IBM Windows 32 build cn142-20050609"
Reporter: Kathy Chan
I had an EAR that's deployed to a Geronimo server. After I changed a Java file and re-publish to the server using server tooling popup menu on the server, I got the "Publish Failed" error. Here's the application console log:
!SUBENTRY 1 org.apache.geronimo.devtools.eclipse.core 4 0 2006-03-07 13:08:59.630
!MESSAGE Connection to deployment manager failed. See .log for details.
!STACK 0
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: javax.naming.NoInitialCon
textException: Cannot instantiate class: org.apache.naming.java.javaURLContextFactory [Root exceptio
n is java.lang.ClassNotFoundException: org.apache.naming.java.javaURLContextFactory]
at org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryImpl.getDeploymentManage
r(DeploymentFactoryImpl.java:132)
at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(De
ploymentFactoryManager.java:109)
at org.apache.geronimo.core.GeronimoConnectionFactory.getDeploymentManager(GeronimoConnectio
nFactory.java:54)
at org.apache.geronimo.core.commands.DeploymentCommandFactory.getDeploymentManager(Deploymen
tCommandFactory.java:111)
at org.apache.geronimo.core.commands.DeploymentCommandFactory.createRedeployCommand(Deployme
ntCommandFactory.java:87)
at org.apache.geronimo.core.internal.GeronimoServerBehaviour.reDeploy(GeronimoServerBehaviou
r.java:361)
at org.apache.geronimo.core.internal.GeronimoServerBehaviour.doRedeploy(GeronimoServerBehavi
our.java:282)
at org.apache.geronimo.core.internal.GeronimoServerBehaviour.invokeCommand(GeronimoServerBeh
aviour.java:234)
at org.apache.geronimo.core.internal.GeronimoServerBehaviour.publishModule(GeronimoServerBeh
aviour.java:217)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDe
legate.java:672)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourD
elegate.java:752)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate
.java:610)
at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:800)
at org.eclipse.wst.server.core.internal.Server.publish(Server.java:788)
at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:145)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Caused by: java.io.IOException: javax.naming.NoInitialContextException: Cannot instantiate class: or
g.apache.naming.java.javaURLContextFactory [Root exception is java.lang.ClassNotFoundException: org.
apache.naming.java.javaURLContextFactory]
at mx4j.remote.resolver.rmi.Resolver.lookupStubInJNDI(Resolver.java:100)
at mx4j.remote.resolver.rmi.Resolver.lookupRMIServerStub(Resolver.java:72)
at mx4j.remote.resolver.rmi.Resolver.lookupClient(Resolver.java:52)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:119)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:38)
at org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryImpl.getDeploymentManage
r(DeploymentFactoryImpl.java:125)
at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(De
ploymentFactoryManager.java:109)
at org.apache.geronimo.core.GeronimoConnectionFactory.getDeploymentManager(GeronimoConnectio
nFactory.java:54)
at org.apache.geronimo.core.commands.DeploymentCommandFactory.getDeploymentManager(Deploymen
tCommandFactory.java:111)
at org.apache.geronimo.core.commands.DeploymentCommandFactory.createRedeployCommand(Deployme
ntCommandFactory.java:87)
at org.apache.geronimo.core.internal.GeronimoServerBehaviour.reDeploy(GeronimoServerBehaviou
r.java:361)
at org.apache.geronimo.core.internal.GeronimoServerBehaviour.doRedeploy(GeronimoServerBehavi
our.java:282)
at org.apache.geronimo.core.internal.GeronimoServerBehaviour.invokeCommand(GeronimoServerBeh
aviour.java:234)
at org.apache.geronimo.core.internal.GeronimoServerBehaviour.publishModule(GeronimoServerBeh
aviour.java:217)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDe
legate.java:672)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourD
elegate.java:752)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate
.java:610)
at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:800)
at org.eclipse.wst.server.core.internal.Server.publish(Server.java:788)
at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:145)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (GERONIMODEVTOOLS-71) Geronimo publish failed with
javax.naming.NoInitialContextException
Posted by "Sachin Patel (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-71?page=all ]
Sachin Patel closed GERONIMODEVTOOLS-71.
----------------------------------------
Resolution: Fixed
> Geronimo publish failed with javax.naming.NoInitialContextException
> -------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-71
> URL: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-71
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Environment: WTP 1.0.1 + Geronimo 1.0 plugin + Geronimo 1.0 server
> Starting Eclipse with IBM JRE 1.4.2 "J2RE 1.4.2 IBM Windows 32 build cn142-20050609"
> Reporter: Kathy Chan
> Assigned To: Sachin Patel
> Fix For: 1.x
>
>
> I had an EAR that's deployed to a Geronimo server. After I changed a Java file and re-publish to the server using server tooling popup menu on the server, I got the "Publish Failed" error. Here's the application console log:
> !SUBENTRY 1 org.apache.geronimo.devtools.eclipse.core 4 0 2006-03-07 13:08:59.630
> !MESSAGE Connection to deployment manager failed. See .log for details.
> !STACK 0
> javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: javax.naming.NoInitialCon
> textException: Cannot instantiate class: org.apache.naming.java.javaURLContextFactory [Root exceptio
> n is java.lang.ClassNotFoundException: org.apache.naming.java.javaURLContextFactory]
> at org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryImpl.getDeploymentManage
> r(DeploymentFactoryImpl.java:132)
> at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(De
> ploymentFactoryManager.java:109)
> at org.apache.geronimo.core.GeronimoConnectionFactory.getDeploymentManager(GeronimoConnectio
> nFactory.java:54)
> at org.apache.geronimo.core.commands.DeploymentCommandFactory.getDeploymentManager(Deploymen
> tCommandFactory.java:111)
> at org.apache.geronimo.core.commands.DeploymentCommandFactory.createRedeployCommand(Deployme
> ntCommandFactory.java:87)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.reDeploy(GeronimoServerBehaviou
> r.java:361)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.doRedeploy(GeronimoServerBehavi
> our.java:282)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.invokeCommand(GeronimoServerBeh
> aviour.java:234)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.publishModule(GeronimoServerBeh
> aviour.java:217)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDe
> legate.java:672)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourD
> elegate.java:752)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate
> .java:610)
> at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:800)
> at org.eclipse.wst.server.core.internal.Server.publish(Server.java:788)
> at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:145)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
> Caused by: java.io.IOException: javax.naming.NoInitialContextException: Cannot instantiate class: or
> g.apache.naming.java.javaURLContextFactory [Root exception is java.lang.ClassNotFoundException: org.
> apache.naming.java.javaURLContextFactory]
> at mx4j.remote.resolver.rmi.Resolver.lookupStubInJNDI(Resolver.java:100)
> at mx4j.remote.resolver.rmi.Resolver.lookupRMIServerStub(Resolver.java:72)
> at mx4j.remote.resolver.rmi.Resolver.lookupClient(Resolver.java:52)
> at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:119)
> at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:38)
> at org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryImpl.getDeploymentManage
> r(DeploymentFactoryImpl.java:125)
> at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(De
> ploymentFactoryManager.java:109)
> at org.apache.geronimo.core.GeronimoConnectionFactory.getDeploymentManager(GeronimoConnectio
> nFactory.java:54)
> at org.apache.geronimo.core.commands.DeploymentCommandFactory.getDeploymentManager(Deploymen
> tCommandFactory.java:111)
> at org.apache.geronimo.core.commands.DeploymentCommandFactory.createRedeployCommand(Deployme
> ntCommandFactory.java:87)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.reDeploy(GeronimoServerBehaviou
> r.java:361)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.doRedeploy(GeronimoServerBehavi
> our.java:282)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.invokeCommand(GeronimoServerBeh
> aviour.java:234)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.publishModule(GeronimoServerBeh
> aviour.java:217)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDe
> legate.java:672)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourD
> elegate.java:752)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate
> .java:610)
> at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:800)
> at org.eclipse.wst.server.core.internal.Server.publish(Server.java:788)
> at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:145)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (GERONIMODEVTOOLS-71) Geronimo publish failed with
javax.naming.NoInitialContextException
Posted by "Sachin Patel (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-71?page=all ]
Sachin Patel reassigned GERONIMODEVTOOLS-71:
--------------------------------------------
Assignee: Sachin Patel
> Geronimo publish failed with javax.naming.NoInitialContextException
> -------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-71
> URL: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-71
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Environment: WTP 1.0.1 + Geronimo 1.0 plugin + Geronimo 1.0 server
> Starting Eclipse with IBM JRE 1.4.2 "J2RE 1.4.2 IBM Windows 32 build cn142-20050609"
> Reporter: Kathy Chan
> Assigned To: Sachin Patel
> Fix For: 1.x
>
>
> I had an EAR that's deployed to a Geronimo server. After I changed a Java file and re-publish to the server using server tooling popup menu on the server, I got the "Publish Failed" error. Here's the application console log:
> !SUBENTRY 1 org.apache.geronimo.devtools.eclipse.core 4 0 2006-03-07 13:08:59.630
> !MESSAGE Connection to deployment manager failed. See .log for details.
> !STACK 0
> javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: javax.naming.NoInitialCon
> textException: Cannot instantiate class: org.apache.naming.java.javaURLContextFactory [Root exceptio
> n is java.lang.ClassNotFoundException: org.apache.naming.java.javaURLContextFactory]
> at org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryImpl.getDeploymentManage
> r(DeploymentFactoryImpl.java:132)
> at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(De
> ploymentFactoryManager.java:109)
> at org.apache.geronimo.core.GeronimoConnectionFactory.getDeploymentManager(GeronimoConnectio
> nFactory.java:54)
> at org.apache.geronimo.core.commands.DeploymentCommandFactory.getDeploymentManager(Deploymen
> tCommandFactory.java:111)
> at org.apache.geronimo.core.commands.DeploymentCommandFactory.createRedeployCommand(Deployme
> ntCommandFactory.java:87)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.reDeploy(GeronimoServerBehaviou
> r.java:361)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.doRedeploy(GeronimoServerBehavi
> our.java:282)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.invokeCommand(GeronimoServerBeh
> aviour.java:234)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.publishModule(GeronimoServerBeh
> aviour.java:217)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDe
> legate.java:672)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourD
> elegate.java:752)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate
> .java:610)
> at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:800)
> at org.eclipse.wst.server.core.internal.Server.publish(Server.java:788)
> at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:145)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
> Caused by: java.io.IOException: javax.naming.NoInitialContextException: Cannot instantiate class: or
> g.apache.naming.java.javaURLContextFactory [Root exception is java.lang.ClassNotFoundException: org.
> apache.naming.java.javaURLContextFactory]
> at mx4j.remote.resolver.rmi.Resolver.lookupStubInJNDI(Resolver.java:100)
> at mx4j.remote.resolver.rmi.Resolver.lookupRMIServerStub(Resolver.java:72)
> at mx4j.remote.resolver.rmi.Resolver.lookupClient(Resolver.java:52)
> at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:119)
> at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:38)
> at org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryImpl.getDeploymentManage
> r(DeploymentFactoryImpl.java:125)
> at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(De
> ploymentFactoryManager.java:109)
> at org.apache.geronimo.core.GeronimoConnectionFactory.getDeploymentManager(GeronimoConnectio
> nFactory.java:54)
> at org.apache.geronimo.core.commands.DeploymentCommandFactory.getDeploymentManager(Deploymen
> tCommandFactory.java:111)
> at org.apache.geronimo.core.commands.DeploymentCommandFactory.createRedeployCommand(Deployme
> ntCommandFactory.java:87)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.reDeploy(GeronimoServerBehaviou
> r.java:361)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.doRedeploy(GeronimoServerBehavi
> our.java:282)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.invokeCommand(GeronimoServerBeh
> aviour.java:234)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.publishModule(GeronimoServerBeh
> aviour.java:217)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDe
> legate.java:672)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourD
> elegate.java:752)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate
> .java:610)
> at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:800)
> at org.eclipse.wst.server.core.internal.Server.publish(Server.java:788)
> at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:145)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMODEVTOOLS-71) Geronimo publish failed with
javax.naming.NoInitialContextException
Posted by "Sachin Patel (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-71?page=all ]
Sachin Patel updated GERONIMODEVTOOLS-71:
-----------------------------------------
Component/s: eclipse-plugin
> Geronimo publish failed with javax.naming.NoInitialContextException
> -------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-71
> URL: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-71
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Environment: WTP 1.0.1 + Geronimo 1.0 plugin + Geronimo 1.0 server
> Starting Eclipse with IBM JRE 1.4.2 "J2RE 1.4.2 IBM Windows 32 build cn142-20050609"
> Reporter: Kathy Chan
>
> I had an EAR that's deployed to a Geronimo server. After I changed a Java file and re-publish to the server using server tooling popup menu on the server, I got the "Publish Failed" error. Here's the application console log:
> !SUBENTRY 1 org.apache.geronimo.devtools.eclipse.core 4 0 2006-03-07 13:08:59.630
> !MESSAGE Connection to deployment manager failed. See .log for details.
> !STACK 0
> javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: javax.naming.NoInitialCon
> textException: Cannot instantiate class: org.apache.naming.java.javaURLContextFactory [Root exceptio
> n is java.lang.ClassNotFoundException: org.apache.naming.java.javaURLContextFactory]
> at org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryImpl.getDeploymentManage
> r(DeploymentFactoryImpl.java:132)
> at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(De
> ploymentFactoryManager.java:109)
> at org.apache.geronimo.core.GeronimoConnectionFactory.getDeploymentManager(GeronimoConnectio
> nFactory.java:54)
> at org.apache.geronimo.core.commands.DeploymentCommandFactory.getDeploymentManager(Deploymen
> tCommandFactory.java:111)
> at org.apache.geronimo.core.commands.DeploymentCommandFactory.createRedeployCommand(Deployme
> ntCommandFactory.java:87)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.reDeploy(GeronimoServerBehaviou
> r.java:361)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.doRedeploy(GeronimoServerBehavi
> our.java:282)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.invokeCommand(GeronimoServerBeh
> aviour.java:234)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.publishModule(GeronimoServerBeh
> aviour.java:217)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDe
> legate.java:672)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourD
> elegate.java:752)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate
> .java:610)
> at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:800)
> at org.eclipse.wst.server.core.internal.Server.publish(Server.java:788)
> at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:145)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
> Caused by: java.io.IOException: javax.naming.NoInitialContextException: Cannot instantiate class: or
> g.apache.naming.java.javaURLContextFactory [Root exception is java.lang.ClassNotFoundException: org.
> apache.naming.java.javaURLContextFactory]
> at mx4j.remote.resolver.rmi.Resolver.lookupStubInJNDI(Resolver.java:100)
> at mx4j.remote.resolver.rmi.Resolver.lookupRMIServerStub(Resolver.java:72)
> at mx4j.remote.resolver.rmi.Resolver.lookupClient(Resolver.java:52)
> at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:119)
> at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:38)
> at org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryImpl.getDeploymentManage
> r(DeploymentFactoryImpl.java:125)
> at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(De
> ploymentFactoryManager.java:109)
> at org.apache.geronimo.core.GeronimoConnectionFactory.getDeploymentManager(GeronimoConnectio
> nFactory.java:54)
> at org.apache.geronimo.core.commands.DeploymentCommandFactory.getDeploymentManager(Deploymen
> tCommandFactory.java:111)
> at org.apache.geronimo.core.commands.DeploymentCommandFactory.createRedeployCommand(Deployme
> ntCommandFactory.java:87)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.reDeploy(GeronimoServerBehaviou
> r.java:361)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.doRedeploy(GeronimoServerBehavi
> our.java:282)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.invokeCommand(GeronimoServerBeh
> aviour.java:234)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.publishModule(GeronimoServerBeh
> aviour.java:217)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDe
> legate.java:672)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourD
> elegate.java:752)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate
> .java:610)
> at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:800)
> at org.eclipse.wst.server.core.internal.Server.publish(Server.java:788)
> at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:145)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMODEVTOOLS-71) Geronimo publish failed with
javax.naming.NoInitialContextException
Posted by "Sachin Patel (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-71?page=all ]
Sachin Patel updated GERONIMODEVTOOLS-71:
-----------------------------------------
Fix Version/s: 1.x
> Geronimo publish failed with javax.naming.NoInitialContextException
> -------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-71
> URL: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-71
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Environment: WTP 1.0.1 + Geronimo 1.0 plugin + Geronimo 1.0 server
> Starting Eclipse with IBM JRE 1.4.2 "J2RE 1.4.2 IBM Windows 32 build cn142-20050609"
> Reporter: Kathy Chan
> Fix For: 1.x
>
>
> I had an EAR that's deployed to a Geronimo server. After I changed a Java file and re-publish to the server using server tooling popup menu on the server, I got the "Publish Failed" error. Here's the application console log:
> !SUBENTRY 1 org.apache.geronimo.devtools.eclipse.core 4 0 2006-03-07 13:08:59.630
> !MESSAGE Connection to deployment manager failed. See .log for details.
> !STACK 0
> javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: javax.naming.NoInitialCon
> textException: Cannot instantiate class: org.apache.naming.java.javaURLContextFactory [Root exceptio
> n is java.lang.ClassNotFoundException: org.apache.naming.java.javaURLContextFactory]
> at org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryImpl.getDeploymentManage
> r(DeploymentFactoryImpl.java:132)
> at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(De
> ploymentFactoryManager.java:109)
> at org.apache.geronimo.core.GeronimoConnectionFactory.getDeploymentManager(GeronimoConnectio
> nFactory.java:54)
> at org.apache.geronimo.core.commands.DeploymentCommandFactory.getDeploymentManager(Deploymen
> tCommandFactory.java:111)
> at org.apache.geronimo.core.commands.DeploymentCommandFactory.createRedeployCommand(Deployme
> ntCommandFactory.java:87)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.reDeploy(GeronimoServerBehaviou
> r.java:361)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.doRedeploy(GeronimoServerBehavi
> our.java:282)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.invokeCommand(GeronimoServerBeh
> aviour.java:234)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.publishModule(GeronimoServerBeh
> aviour.java:217)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDe
> legate.java:672)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourD
> elegate.java:752)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate
> .java:610)
> at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:800)
> at org.eclipse.wst.server.core.internal.Server.publish(Server.java:788)
> at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:145)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
> Caused by: java.io.IOException: javax.naming.NoInitialContextException: Cannot instantiate class: or
> g.apache.naming.java.javaURLContextFactory [Root exception is java.lang.ClassNotFoundException: org.
> apache.naming.java.javaURLContextFactory]
> at mx4j.remote.resolver.rmi.Resolver.lookupStubInJNDI(Resolver.java:100)
> at mx4j.remote.resolver.rmi.Resolver.lookupRMIServerStub(Resolver.java:72)
> at mx4j.remote.resolver.rmi.Resolver.lookupClient(Resolver.java:52)
> at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:119)
> at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:38)
> at org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryImpl.getDeploymentManage
> r(DeploymentFactoryImpl.java:125)
> at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(De
> ploymentFactoryManager.java:109)
> at org.apache.geronimo.core.GeronimoConnectionFactory.getDeploymentManager(GeronimoConnectio
> nFactory.java:54)
> at org.apache.geronimo.core.commands.DeploymentCommandFactory.getDeploymentManager(Deploymen
> tCommandFactory.java:111)
> at org.apache.geronimo.core.commands.DeploymentCommandFactory.createRedeployCommand(Deployme
> ntCommandFactory.java:87)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.reDeploy(GeronimoServerBehaviou
> r.java:361)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.doRedeploy(GeronimoServerBehavi
> our.java:282)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.invokeCommand(GeronimoServerBeh
> aviour.java:234)
> at org.apache.geronimo.core.internal.GeronimoServerBehaviour.publishModule(GeronimoServerBeh
> aviour.java:217)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDe
> legate.java:672)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourD
> elegate.java:752)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate
> .java:610)
> at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:800)
> at org.eclipse.wst.server.core.internal.Server.publish(Server.java:788)
> at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:145)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira