Hello all,

I am having problem connecting to my Nuxeo instance using the Nuxeo shell. The 
Nuxeo instance is running inside Tomcat, but the shell seems to be trying to 
access the service like it's a JBoss service:

|> ls
Trying to connect to nuxeo server at 127.0.0.1:62474 as Administrator...
Command failed.
javax.naming.NoInitialContextException: Need to specify class name in 
environment or system property, or as an applet parameter, or in an application 
resource file:  java.naming.factory.initial
        at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
        at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
        at 
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at 
org.nuxeo.runtime.api.JndiServiceLocator.lookup(JndiServiceLocator.java:60)
        at 
org.nuxeo.runtime.api.JBossServiceLocator.lookup(JBossServiceLocator.java:68)
        at org.nuxeo.runtime.api.ServiceHost.lookup(ServiceHost.java:173)
        at 
org.nuxeo.runtime.api.ServiceManager.getService(ServiceManager.java:114)
        at org.nuxeo.runtime.api.Framework.getService(Framework.java:149)
        at 
org.nuxeo.ecm.core.client.NuxeoClient.schemaRemotingWorkaround(NuxeoClient.java:236)
        at org.nuxeo.ecm.core.client.NuxeoClient.doConnect(NuxeoClient.java:189)
        at org.nuxeo.ecm.core.client.NuxeoClient.connect(NuxeoClient.java:117)
        at 
org.nuxeo.ecm.shell.CommandContext.initalizeConnection(CommandContext.java:218)
        at 
org.nuxeo.ecm.shell.CommandContext.getRepositoryInstance(CommandContext.java:191)

...

I don't know if the shell is supposed to work on a Nuxeo instance running 
Tomcat. I could not find information implying the contrary.

-- 
François-Denis Gonthier
Programmeur/analyste
819-780-8955 #1128                http://www.revolutionlinux.com/
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to