Users - Error starting ofbiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Users - Error starting ofbiz

gioacchinomauri@libero.it
I've just downloaded the last svn version of ofbiz but i'm unable to run it. I've followed these guidelines:
http://www.ofbiz.org/docs/GettingAndUsingOFBiz.pdf
but when i run "startofbiz" i get this error on the standard output:

I'm using windows xp home edition and jvm 1.5.0_06.
Thanks

****
20-mar-2006 20.35.48 com.sun.corba.se.impl.transport.SocketOrChannelConnectionIm
pl <init>
AVVERTENZA: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CL
EAR_TEXT; hostname: localhost; port: 2000"
org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
        at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(O
RBUtilSystemException.java:2172)
        at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(O
RBUtilSystemException.java:2193)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(
SocketOrChannelConnectionImpl.java:205)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(
SocketOrChannelConnectionImpl.java:218)
        at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.create
Connection(SocketOrChannelContactInfoImpl.java:101)
        at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.begin
Request(CorbaClientRequestDispatcherImpl.java:152)
        at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
lientDelegateImpl.java:118)
        at com.sun.corba.se.impl.resolver.BootstrapResolverImpl.invoke(Bootstrap
ResolverImpl.java:74)
        at com.sun.corba.se.impl.resolver.BootstrapResolverImpl.resolve(Bootstra
pResolverImpl.java:107)
        at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Composit
eResolverImpl.java:22)
        at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Composit
eResolverImpl.java:22)
        at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Composit
eResolverImpl.java:22)
        at com.sun.corba.se.impl.orb.ORBImpl.resolve_initial_references(ORBImpl.
java:1157)
        at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:340)
        at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:289)
        at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:245)
        at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:209)
        at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:69)
        at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.ja
va:32)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
67)
        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 org.objectweb.carol.jndi.ns.IIOPCosNaming.isStarted(IIOPCosNaming.jav
a:150)
        at org.objectweb.carol.jndi.ns.IIOPCosNaming.start(IIOPCosNaming.java:66
)
        at org.objectweb.carol.jndi.ns.NameServiceManager.startNonStartedNS(Name
ServiceManager.java:126)
        at org.objectweb.carol.util.configuration.CarolConfiguration.loadCarolCo
nfiguration(CarolConfiguration.java:423)
        at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:8
5)
        at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
        at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoade
r.java:150)
        at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74
)
        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
        at org.ofbiz.base.start.Start.init(Start.java:96)
        at org.ofbiz.base.start.Start.main(Start.java:412)
Caused by: java.net.ConnectException: Connection refused: connect
        at sun.nio.ch.Net.connect(Native Method)
        at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
        at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
        at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket
(DefaultSocketFactoryImpl.java:60)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(
SocketOrChannelConnectionImpl.java:188)
        ... 31 more
org.ofbiz.base.start.StartupException: Cannot init() jotm-container (Unable to b
ind UserTransaction/TransactionManager to JNDI (ContextWrapper.ContextWrapper()
failed: java.lang.NullPointerException))
        at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoade
r.java:152)
        at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74
)
        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
        at org.ofbiz.base.start.Start.init(Start.java:96)
        at org.ofbiz.base.start.Start.main(Start.java:412)
org.ofbiz.base.container.ContainerException: Unable to bind UserTransaction/Tran
sactionManager to JNDI (ContextWrapper.ContextWrapper() failed: java.lang.NullPo
interException)
        at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:1
02)
        at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
        at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoade
r.java:150)
        at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74
)
        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
        at org.ofbiz.base.start.Start.init(Start.java:96)
        at org.ofbiz.base.start.Start.main(Start.java:412)
javax.naming.NamingException: ContextWrapper.ContextWrapper() failed: java.lang.
NullPointerException
        at org.objectweb.carol.jndi.spi.ContextWrapper.<init>(ContextWrapper.jav
a:102)
        at org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory.getInitial
Context(MultiOrbInitialContextFactory.java:59)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
67)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247
)
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.InitialContext.<init>(InitialContext.java:175)
        at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:9
9)
        at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
        at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoade
r.java:150)
        at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74
)
        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
        at org.ofbiz.base.start.Start.init(Start.java:96)
        at org.ofbiz.base.start.Start.main(Start.java:412)
org.ofbiz.base.container.ContainerException: Unable to bind UserTransaction/Tran
sactionManager to JNDI (ContextWrapper.ContextWrapper() failed: java.lang.NullPo
interException)
        at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:1
02)
        at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
        at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoade
r.java:150)
        at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74
)
        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
        at org.ofbiz.base.start.Start.init(Start.java:96)
        at org.ofbiz.base.start.Start.main(Start.java:412)
javax.naming.NamingException: ContextWrapper.ContextWrapper() failed: java.lang.
NullPointerException
        at org.objectweb.carol.jndi.spi.ContextWrapper.<init>(ContextWrapper.jav
a:102)
        at org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory.getInitial
Context(MultiOrbInitialContextFactory.java:59)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
67)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247
)
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.InitialContext.<init>(InitialContext.java:175)
        at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:9
9)
        at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
        at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoade
r.java:150)
        at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74
)
        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
        at org.ofbiz.base.start.Start.init(Start.java:96)
        at org.ofbiz.base.start.Start.main(Start.java:412)
javax.naming.NamingException: ContextWrapper.ContextWrapper() failed: java.lang.
NullPointerException
        at org.objectweb.carol.jndi.spi.ContextWrapper.<init>(ContextWrapper.jav
a:102)
        at org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory.getInitial
Context(MultiOrbInitialContextFactory.java:59)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
67)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247
)
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.InitialContext.<init>(InitialContext.java:175)
        at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:9
9)

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Error starting ofbiz

David E. Jones
Looks like you missed this sentence in that document:

"All you need is an SVN client and a Java 2 SDK 1.4 series JDK installed."

-David


[hidden email] wrote:

> I've just downloaded the last svn version of ofbiz but i'm unable to run it. I've followed these guidelines:
> http://www.ofbiz.org/docs/GettingAndUsingOFBiz.pdf
> but when i run "startofbiz" i get this error on the standard output:
>
> I'm using windows xp home edition and jvm 1.5.0_06.
> Thanks
>
> ****
> 20-mar-2006 20.35.48 com.sun.corba.se.impl.transport.SocketOrChannelConnectionIm
> pl <init>
> AVVERTENZA: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CL
> EAR_TEXT; hostname: localhost; port: 2000"
> org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
>         at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(O
> RBUtilSystemException.java:2172)
>         at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(O
> RBUtilSystemException.java:2193)
>         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(
> SocketOrChannelConnectionImpl.java:205)
>         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(
> SocketOrChannelConnectionImpl.java:218)
>         at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.create
> Connection(SocketOrChannelContactInfoImpl.java:101)
>         at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.begin
> Request(CorbaClientRequestDispatcherImpl.java:152)
>         at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
> lientDelegateImpl.java:118)
>         at com.sun.corba.se.impl.resolver.BootstrapResolverImpl.invoke(Bootstrap
> ResolverImpl.java:74)
>         at com.sun.corba.se.impl.resolver.BootstrapResolverImpl.resolve(Bootstra
> pResolverImpl.java:107)
>         at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Composit
> eResolverImpl.java:22)
>         at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Composit
> eResolverImpl.java:22)
>         at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Composit
> eResolverImpl.java:22)
>         at com.sun.corba.se.impl.orb.ORBImpl.resolve_initial_references(ORBImpl.
> java:1157)
>         at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:340)
>         at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:289)
>         at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:245)
>         at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:209)
>         at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:69)
>         at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.ja
> va:32)
>         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
> 67)
>         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 org.objectweb.carol.jndi.ns.IIOPCosNaming.isStarted(IIOPCosNaming.jav
> a:150)
>         at org.objectweb.carol.jndi.ns.IIOPCosNaming.start(IIOPCosNaming.java:66
> )
>         at org.objectweb.carol.jndi.ns.NameServiceManager.startNonStartedNS(Name
> ServiceManager.java:126)
>         at org.objectweb.carol.util.configuration.CarolConfiguration.loadCarolCo
> nfiguration(CarolConfiguration.java:423)
>         at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:8
> 5)
>         at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoade
> r.java:150)
>         at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74
> )
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
> Caused by: java.net.ConnectException: Connection refused: connect
>         at sun.nio.ch.Net.connect(Native Method)
>         at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
>         at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
>         at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket
> (DefaultSocketFactoryImpl.java:60)
>         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(
> SocketOrChannelConnectionImpl.java:188)
>         ... 31 more
> org.ofbiz.base.start.StartupException: Cannot init() jotm-container (Unable to b
> ind UserTransaction/TransactionManager to JNDI (ContextWrapper.ContextWrapper()
> failed: java.lang.NullPointerException))
>         at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoade
> r.java:152)
>         at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74
> )
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
> org.ofbiz.base.container.ContainerException: Unable to bind UserTransaction/Tran
> sactionManager to JNDI (ContextWrapper.ContextWrapper() failed: java.lang.NullPo
> interException)
>         at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:1
> 02)
>         at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoade
> r.java:150)
>         at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74
> )
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
> javax.naming.NamingException: ContextWrapper.ContextWrapper() failed: java.lang.
> NullPointerException
>         at org.objectweb.carol.jndi.spi.ContextWrapper.<init>(ContextWrapper.jav
> a:102)
>         at org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory.getInitial
> Context(MultiOrbInitialContextFactory.java:59)
>         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
> 67)
>         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247
> )
>         at javax.naming.InitialContext.init(InitialContext.java:223)
>         at javax.naming.InitialContext.<init>(InitialContext.java:175)
>         at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:9
> 9)
>         at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoade
> r.java:150)
>         at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74
> )
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
> org.ofbiz.base.container.ContainerException: Unable to bind UserTransaction/Tran
> sactionManager to JNDI (ContextWrapper.ContextWrapper() failed: java.lang.NullPo
> interException)
>         at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:1
> 02)
>         at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoade
> r.java:150)
>         at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74
> )
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
> javax.naming.NamingException: ContextWrapper.ContextWrapper() failed: java.lang.
> NullPointerException
>         at org.objectweb.carol.jndi.spi.ContextWrapper.<init>(ContextWrapper.jav
> a:102)
>         at org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory.getInitial
> Context(MultiOrbInitialContextFactory.java:59)
>         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
> 67)
>         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247
> )
>         at javax.naming.InitialContext.init(InitialContext.java:223)
>         at javax.naming.InitialContext.<init>(InitialContext.java:175)
>         at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:9
> 9)
>         at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoade
> r.java:150)
>         at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74
> )
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
> javax.naming.NamingException: ContextWrapper.ContextWrapper() failed: java.lang.
> NullPointerException
>         at org.objectweb.carol.jndi.spi.ContextWrapper.<init>(ContextWrapper.jav
> a:102)
>         at org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory.getInitial
> Context(MultiOrbInitialContextFactory.java:59)
>         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
> 67)
>         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247
> )
>         at javax.naming.InitialContext.init(InitialContext.java:223)
>         at javax.naming.InitialContext.<init>(InitialContext.java:175)
>         at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:9
> 9)
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users