[OFBiz] Users - Cannot start OFBIZ

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

[OFBiz] Users - Cannot start OFBIZ

Brad Plies
After all this time I am finally ready to begin playing around with
OFBIZ.  Sadly, I cannot get it to start.  I am experiencing problems
similar to those reported in this mailing list already
(http://lists.ofbiz.org/mailman/htdig/users/2005-March/007110.html).  
Unlike suggestions provided to this other person, I have nothing running
that could be interfering.

To start, I am using weekly build:  ofbiz_5752.zip
<http://www.opensourcestrategies.com/downloads/ofbiz_builds/ofbiz_5752.zip>  
on Windows XP SP2 and JDK 1.5.0_04.
This tutorial
(http://www.opensourcestrategies.com/ofbiz/running_ofbiz.php) says you
cannot use JDK 1.5 whereas another tutorial
(http://www.ofbiz.org/docs/setup.html#Quick_Easy_Setup) says "Java 2
v1.4 or later JDK"

Below is a copy of the relevant portions of the output from both using
'ant run-install' and 'startofbiz' (which produce similar but different
results).  One throws a NoSuchMethodError, the other an NPE.

What could be the problem?  WinXP's software firewall is completely
disabled.  Could it really be the JDK?  I have not tried JDK 1.4 because
the machines I'm using are dependent on 1.5... can they coexist?  Should
this become a JIRA issue?

 >ant run-install
     [java] 4266  (main) [ClassLoaderContainer.java:59 :INFO ]
CachedClassLoader created
     [java] 5844  (main) [               Jotm.java:118:INFO ] JOTM
started with a local transaction factory which is not bound.
     [java] 5844  (main) [               Jotm.java:129:INFO ] CAROL
initialization
     [java] 5984  (main) [            Current.java:171:INFO ] Jotm
version = 2.0.9
     [java] 6266  (main) [      JotmContainer.java:115:INFO ] JOTM is
bound to JNDI - java:comp/UserTransaction
     [java] Shutdown hook disabled
     [java] Exception in thread "main" java.lang.NoSuchMethodError:
sun.rmi.transport.ObjectTable.getStub(Ljava/rmi/Remote;)Ljava/rmi/server/RemoteStub;
     [java]     at
org.objectweb.carol.rmi.jrmp.server.JUnicastRemoteObject.unexportObject(JUnicastRemoteObject.java:138)
     [java]     at
org.objectweb.carol.rmi.multi.JrmpPRODelegate.unexportObject(JrmpPRODelegate.java:94)
     [java]     at
org.objectweb.carol.rmi.multi.MultiPRODelegate.unexportObject(MultiPRODelegate.java:132)
     [java]     at
javax.rmi.PortableRemoteObject.unexportObject(PortableRemoteObject.java:119)
     [java]     at
org.objectweb.jotm.SubCoordinator.doAfterCompletion(SubCoordinator.java:1548)
     [java]     at
org.objectweb.jotm.SubCoordinator.doCommit(SubCoordinator.java:1141)
     [java]     at
org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:468)
     [java]     at
org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:224)
     [java]     at org.objectweb.jotm.Current.commit(Current.java:479)
     [java]     at
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:193)
     [java]     at
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:173)
     [java]     at
org.ofbiz.entity.GenericDelegator.findCountByCondition(GenericDelegator.java:2034)
     [java]     at
org.ofbiz.entity.GenericDelegator.findCountByAnd(GenericDelegator.java:1995)
     [java]     at
org.ofbiz.entity.util.EntityCrypto.<init>(EntityCrypto.java:72)
     [java]     at
org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:220)
     [java]     at
org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:139)
     [java]     at
org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:178)
     [java]     at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89)
     [java]     at
org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
     [java]     at org.ofbiz.base.start.Start.startServer(Start.java:323)
     [java]     at org.ofbiz.base.start.Start.start(Start.java:327)
     [java]     at org.ofbiz.base.start.Start.main(Start.java:413)


 > startofbiz
Sep 17, 2005 8:36:24 AM
com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl <init>
WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType:
IIOP_CLEAR_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(ORBUtilSystemException.java:2172)
        at
com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.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.createConnection(SocketOrChannelContactInfoImpl.java:101)
        at
com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
        at
com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:118)
        at
com.sun.corba.se.impl.resolver.BootstrapResolverImpl.invoke(BootstrapResolverImpl.java:74)
        at
com.sun.corba.se.impl.resolver.BootstrapResolverImpl.resolve(BootstrapResolverImpl.java:107)
        at
com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:22)
        at
com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:22)
        at
com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.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.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
org.objectweb.carol.jndi.ns.IIOPCosNaming.isStarted(IIOPCosNaming.java:150)
        at
org.objectweb.carol.jndi.ns.IIOPCosNaming.start(IIOPCosNaming.java:66)
        at
org.objectweb.carol.jndi.ns.NameServiceManager.startNonStartedNS(NameServiceManager.java:126)
        at
org.objectweb.carol.util.configuration.CarolConfiguration.loadCarolConfiguration(CarolConfiguration.java:423)
        at
org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:85)
        at
org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
        at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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
8079  (main) [               Jotm.java:118:INFO ] JOTM started with a
local transaction factory which is not bound.
8079  (main) [               Jotm.java:129:INFO ] CAROL initialization
8141  (main) [            Current.java:171:INFO ] Jotm version = 2.0.9
org.ofbiz.base.start.StartupException: Cannot init() jotm-container
(Unable to bind UserTransaction/TransactionManager to JNDI
(ContextWrapper.ContextWrapper()
failed: java.lang.NullPointerException))
        at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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/TransactionManager to JNDI
(ContextWrapper.ContextWrapper() failed: java.lang.NullPo
interException)
        at
org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102)
        at
org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
        at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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.java:102)
        at
org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory.getInitialContext(MultiOrbInitialContextFactory.java:59)
        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:175)
        at
org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:99)
        at
org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
        at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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/TransactionManager to JNDI
(ContextWrapper.ContextWrapper() failed: java.lang.NullPointerException)
        at
org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102)
        at
org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
        at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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.java:102)
        at
org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory.getInitialContext(MultiOrbInitialContextFactory.java:59)
        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:175)
        at
org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:99)
        at
org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
        at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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.java:102)
        at
org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory.getInitialContext(MultiOrbInitialContextFactory.java:59)
        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:175)
        at
org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:99)
        at
org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
        at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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)
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - Cannot start OFBIZ

Jacques Le Roux
Administrator
> What could be the problem?  WinXP's software firewall is completely
> disabled.  Could it really be the JDK?  I have not tried JDK 1.4 because
> the machines I'm using are dependent on 1.5... can they coexist?  Should
> this become a JIRA issue?

If you plan to only run  OFBiz without any modification al all 1.5 is ok.
Otherwise you must install 1.4.
You may have 2 (or more) JDK on the same machine. But for using OFBiz you
must specify that you use 1.4 (JAVA_HOME, etc.)
This is surely not a JIRA issue.

Jacques

----- Original Message -----
From: "Brad" <[hidden email]>
To: <[hidden email]>
Sent: Saturday, September 17, 2005 4:04 PM
Subject: [OFBiz] Users - Cannot start OFBIZ


> After all this time I am finally ready to begin playing around with
> OFBIZ.  Sadly, I cannot get it to start.  I am experiencing problems
> similar to those reported in this mailing list already
> (http://lists.ofbiz.org/mailman/htdig/users/2005-March/007110.html).
> Unlike suggestions provided to this other person, I have nothing running
> that could be interfering.
>
> To start, I am using weekly build:  ofbiz_5752.zip
>
<http://www.opensourcestrategies.com/downloads/ofbiz_builds/ofbiz_5752.zip>

> on Windows XP SP2 and JDK 1.5.0_04.
> This tutorial
> (http://www.opensourcestrategies.com/ofbiz/running_ofbiz.php) says you
> cannot use JDK 1.5 whereas another tutorial
> (http://www.ofbiz.org/docs/setup.html#Quick_Easy_Setup) says "Java 2
> v1.4 or later JDK"
>
> Below is a copy of the relevant portions of the output from both using
> 'ant run-install' and 'startofbiz' (which produce similar but different
> results).  One throws a NoSuchMethodError, the other an NPE.
>
> What could be the problem?  WinXP's software firewall is completely
> disabled.  Could it really be the JDK?  I have not tried JDK 1.4 because
> the machines I'm using are dependent on 1.5... can they coexist?  Should
> this become a JIRA issue?
>
>  >ant run-install
>      [java] 4266  (main) [ClassLoaderContainer.java:59 :INFO ]
> CachedClassLoader created
>      [java] 5844  (main) [               Jotm.java:118:INFO ] JOTM
> started with a local transaction factory which is not bound.
>      [java] 5844  (main) [               Jotm.java:129:INFO ] CAROL
> initialization
>      [java] 5984  (main) [            Current.java:171:INFO ] Jotm
> version = 2.0.9
>      [java] 6266  (main) [      JotmContainer.java:115:INFO ] JOTM is
> bound to JNDI - java:comp/UserTransaction
>      [java] Shutdown hook disabled
>      [java] Exception in thread "main" java.lang.NoSuchMethodError:
>
sun.rmi.transport.ObjectTable.getStub(Ljava/rmi/Remote;)Ljava/rmi/server/Rem
oteStub;
>      [java]     at
>
org.objectweb.carol.rmi.jrmp.server.JUnicastRemoteObject.unexportObject(JUni
castRemoteObject.java:138)
>      [java]     at
>
org.objectweb.carol.rmi.multi.JrmpPRODelegate.unexportObject(JrmpPRODelegate
.java:94)
>      [java]     at
>
org.objectweb.carol.rmi.multi.MultiPRODelegate.unexportObject(MultiPRODelega
te.java:132)
>      [java]     at
>
javax.rmi.PortableRemoteObject.unexportObject(PortableRemoteObject.java:119)
>      [java]     at
>
org.objectweb.jotm.SubCoordinator.doAfterCompletion(SubCoordinator.java:1548
)
>      [java]     at
> org.objectweb.jotm.SubCoordinator.doCommit(SubCoordinator.java:1141)
>      [java]     at
>
org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:468)
>      [java]     at
> org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:224)
>      [java]     at org.objectweb.jotm.Current.commit(Current.java:479)
>      [java]     at
>
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:193
)
>      [java]     at
>
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:173
)
>      [java]     at
>
org.ofbiz.entity.GenericDelegator.findCountByCondition(GenericDelegator.java
:2034)
>      [java]     at
>
org.ofbiz.entity.GenericDelegator.findCountByAnd(GenericDelegator.java:1995)
>      [java]     at
> org.ofbiz.entity.util.EntityCrypto.<init>(EntityCrypto.java:72)
>      [java]     at
> org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:220)
>      [java]     at
>
org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:
139)
>      [java]     at
>
org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContain
er.java:178)

>      [java]     at
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89)
>      [java]     at
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
>      [java]     at org.ofbiz.base.start.Start.startServer(Start.java:323)
>      [java]     at org.ofbiz.base.start.Start.start(Start.java:327)
>      [java]     at org.ofbiz.base.start.Start.main(Start.java:413)
>
>
>  > startofbiz
> Sep 17, 2005 8:36:24 AM
> com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl <init>
> WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType:
> IIOP_CLEAR_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(ORBUtilS
ystemException.java:2172)
>         at
>
com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilS
ystemException.java:2193)
>         at
>
com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketO
rChannelConnectionImpl.java:205)
>         at
>
com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketO
rChannelConnectionImpl.java:218)
>         at
>
com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.createConnect
ion(SocketOrChannelContactInfoImpl.java:101)
>         at
>
com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest
(CorbaClientRequestDispatcherImpl.java:152)
>         at
>
com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDe
legateImpl.java:118)
>         at
>
com.sun.corba.se.impl.resolver.BootstrapResolverImpl.invoke(BootstrapResolve
rImpl.java:74)
>         at
>
com.sun.corba.se.impl.resolver.BootstrapResolverImpl.resolve(BootstrapResolv
erImpl.java:107)
>         at
>
com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(CompositeResolv
erImpl.java:22)
>         at
>
com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(CompositeResolv
erImpl.java:22)
>         at
>
com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(CompositeResolv
erImpl.java:22)
>         at
>
com.sun.corba.se.impl.orb.ORBImpl.resolve_initial_references(ORBImpl.java:11
57)
>         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.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
>
org.objectweb.carol.jndi.ns.IIOPCosNaming.isStarted(IIOPCosNaming.java:150)
>         at
> org.objectweb.carol.jndi.ns.IIOPCosNaming.start(IIOPCosNaming.java:66)
>         at
>
org.objectweb.carol.jndi.ns.NameServiceManager.startNonStartedNS(NameService
Manager.java:126)
>         at
>
org.objectweb.carol.util.configuration.CarolConfiguration.loadCarolConfigura
tion(CarolConfiguration.java:423)
>         at
> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:85)
>         at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at
>
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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(Defaul
tSocketFactoryImpl.java:60)
>         at
>
com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketO
rChannelConnectionImpl.java:188)

>         ... 31 more
> 8079  (main) [               Jotm.java:118:INFO ] JOTM started with a
> local transaction factory which is not bound.
> 8079  (main) [               Jotm.java:129:INFO ] CAROL initialization
> 8141  (main) [            Current.java:171:INFO ] Jotm version = 2.0.9
> org.ofbiz.base.start.StartupException: Cannot init() jotm-container
> (Unable to bind UserTransaction/TransactionManager to JNDI
> (ContextWrapper.ContextWrapper()
> failed: java.lang.NullPointerException))
>         at
>
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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/TransactionManager to JNDI
> (ContextWrapper.ContextWrapper() failed: java.lang.NullPo
> interException)
>         at
> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102)
>         at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at
>
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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.java:102)
>         at
>
org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory.getInitialContext
(MultiOrbInitialContextFactory.java:59)

>         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:175)
>         at
> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:99)
>         at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at
>
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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/TransactionManager to JNDI
> (ContextWrapper.ContextWrapper() failed: java.lang.NullPointerException)
>         at
> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102)
>         at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at
>
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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.java:102)
>         at
>
org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory.getInitialContext
(MultiOrbInitialContextFactory.java:59)

>         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:175)
>         at
> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:99)
>         at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at
>
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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.java:102)
>         at
>
org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory.getInitialContext
(MultiOrbInitialContextFactory.java:59)

>         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:175)
>         at
> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:99)
>         at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at
>
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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)
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users

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

Re: [OFBiz] Users - Cannot start OFBIZ

David E. Jones

JDK 1.5 is okay? I'd be interested in hearing more about that because  
as far as I know it does not work at all with Java 1.5 unless you  
pull out and replace certain components that are Java 1.4 dependent,  
like JOTM...

I'd use Java 1.4 for now. And yes, you can have 1.4 and 1.5 installed  
on the same system and working properly, just be careful of your  
system environment variables.

-David


On Sep 17, 2005, at 8:50 AM, Jacques Le Roux wrote:

>> What could be the problem?  WinXP's software firewall is completely
>> disabled.  Could it really be the JDK?  I have not tried JDK 1.4  
>> because
>> the machines I'm using are dependent on 1.5... can they coexist?  
>> Should
>> this become a JIRA issue?
>>
>
> If you plan to only run  OFBiz without any modification al all 1.5  
> is ok.
> Otherwise you must install 1.4.
> You may have 2 (or more) JDK on the same machine. But for using  
> OFBiz you
> must specify that you use 1.4 (JAVA_HOME, etc.)
> This is surely not a JIRA issue.
>
> Jacques
>
> ----- Original Message -----
> From: "Brad" <[hidden email]>
> To: <[hidden email]>
> Sent: Saturday, September 17, 2005 4:04 PM
> Subject: [OFBiz] Users - Cannot start OFBIZ
>
>
>
>> After all this time I am finally ready to begin playing around with
>> OFBIZ.  Sadly, I cannot get it to start.  I am experiencing problems
>> similar to those reported in this mailing list already
>> (http://lists.ofbiz.org/mailman/htdig/users/2005-March/007110.html).
>> Unlike suggestions provided to this other person, I have nothing  
>> running
>> that could be interfering.
>>
>> To start, I am using weekly build:  ofbiz_5752.zip
>>
>>
> <http://www.opensourcestrategies.com/downloads/ofbiz_builds/ 
> ofbiz_5752.zip>
>
>> on Windows XP SP2 and JDK 1.5.0_04.
>> This tutorial
>> (http://www.opensourcestrategies.com/ofbiz/running_ofbiz.php) says  
>> you
>> cannot use JDK 1.5 whereas another tutorial
>> (http://www.ofbiz.org/docs/setup.html#Quick_Easy_Setup) says "Java 2
>> v1.4 or later JDK"
>>
>> Below is a copy of the relevant portions of the output from both  
>> using
>> 'ant run-install' and 'startofbiz' (which produce similar but  
>> different
>> results).  One throws a NoSuchMethodError, the other an NPE.
>>
>> What could be the problem?  WinXP's software firewall is completely
>> disabled.  Could it really be the JDK?  I have not tried JDK 1.4  
>> because
>> the machines I'm using are dependent on 1.5... can they coexist?  
>> Should
>> this become a JIRA issue?
>>
>>
>>> ant run-install
>>>
>>      [java] 4266  (main) [ClassLoaderContainer.java:59 :INFO ]
>> CachedClassLoader created
>>      [java] 5844  (main) [               Jotm.java:118:INFO ] JOTM
>> started with a local transaction factory which is not bound.
>>      [java] 5844  (main) [               Jotm.java:129:INFO ] CAROL
>> initialization
>>      [java] 5984  (main) [            Current.java:171:INFO ] Jotm
>> version = 2.0.9
>>      [java] 6266  (main) [      JotmContainer.java:115:INFO ] JOTM is
>> bound to JNDI - java:comp/UserTransaction
>>      [java] Shutdown hook disabled
>>      [java] Exception in thread "main" java.lang.NoSuchMethodError:
>>
>>
> sun.rmi.transport.ObjectTable.getStub(Ljava/rmi/Remote;)Ljava/rmi/
> server/Rem
> oteStub;
>
>>      [java]     at
>>
>>
> org.objectweb.carol.rmi.jrmp.server.JUnicastRemoteObject.unexportObjec
> t(JUni
> castRemoteObject.java:138)
>
>>      [java]     at
>>
>>
> org.objectweb.carol.rmi.multi.JrmpPRODelegate.unexportObject
> (JrmpPRODelegate
> .java:94)
>
>>      [java]     at
>>
>>
> org.objectweb.carol.rmi.multi.MultiPRODelegate.unexportObject
> (MultiPRODelega
> te.java:132)
>
>>      [java]     at
>>
>>
> javax.rmi.PortableRemoteObject.unexportObject
> (PortableRemoteObject.java:119)
>
>>      [java]     at
>>
>>
> org.objectweb.jotm.SubCoordinator.doAfterCompletion
> (SubCoordinator.java:1548
> )
>
>>      [java]     at
>> org.objectweb.jotm.SubCoordinator.doCommit(SubCoordinator.java:1141)
>>      [java]     at
>>
>>
> org.objectweb.jotm.SubCoordinator.commit_one_phase
> (SubCoordinator.java:468)
>
>>      [java]     at
>> org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:224)
>>      [java]     at org.objectweb.jotm.Current.commit(Current.java:
>> 479)
>>      [java]     at
>>
>>
> org.ofbiz.entity.transaction.TransactionUtil.commit
> (TransactionUtil.java:193
> )
>
>>      [java]     at
>>
>>
> org.ofbiz.entity.transaction.TransactionUtil.commit
> (TransactionUtil.java:173
> )
>
>>      [java]     at
>>
>>
> org.ofbiz.entity.GenericDelegator.findCountByCondition
> (GenericDelegator.java
> :2034)
>
>>      [java]     at
>>
>>
> org.ofbiz.entity.GenericDelegator.findCountByAnd
> (GenericDelegator.java:1995)
>
>>      [java]     at
>> org.ofbiz.entity.util.EntityCrypto.<init>(EntityCrypto.java:72)
>>      [java]     at
>> org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:220)
>>      [java]     at
>>
>>
> org.ofbiz.entity.GenericDelegator.getGenericDelegator
> (GenericDelegator.java:
> 139)
>
>>      [java]     at
>>
>>
> org.ofbiz.entityext.data.EntityDataLoadContainer.start
> (EntityDataLoadContain
> er.java:178)
>
>>      [java]     at
>> org.ofbiz.base.container.ContainerLoader.start
>> (ContainerLoader.java:89)
>>      [java]     at
>> org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
>>      [java]     at org.ofbiz.base.start.Start.startServer
>> (Start.java:323)
>>      [java]     at org.ofbiz.base.start.Start.start(Start.java:327)
>>      [java]     at org.ofbiz.base.start.Start.main(Start.java:413)
>>
>>
>>
>>> startofbiz
>>>
>> Sep 17, 2005 8:36:24 AM
>> com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl <init>
>> WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType:
>> IIOP_CLEAR_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
> (ORBUtilS
> ystemException.java:2172)
>
>>         at
>>
>>
> com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure
> (ORBUtilS
> ystemException.java:2193)
>
>>         at
>>
>>
> com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>
> (SocketO
> rChannelConnectionImpl.java:205)
>
>>         at
>>
>>
> com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>
> (SocketO
> rChannelConnectionImpl.java:218)
>
>>         at
>>
>>
> com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.createC
> onnect
> ion(SocketOrChannelContactInfoImpl.java:101)
>
>>         at
>>
>>
> com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginR
> equest
> (CorbaClientRequestDispatcherImpl.java:152)
>
>>         at
>>
>>
> com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request
> (CorbaClientDe
> legateImpl.java:118)
>
>>         at
>>
>>
> com.sun.corba.se.impl.resolver.BootstrapResolverImpl.invoke
> (BootstrapResolve
> rImpl.java:74)
>
>>         at
>>
>>
> com.sun.corba.se.impl.resolver.BootstrapResolverImpl.resolve
> (BootstrapResolv
> erImpl.java:107)
>
>>         at
>>
>>
> com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve
> (CompositeResolv
> erImpl.java:22)
>
>>         at
>>
>>
> com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve
> (CompositeResolv
> erImpl.java:22)
>
>>         at
>>
>>
> com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve
> (CompositeResolv
> erImpl.java:22)
>
>>         at
>>
>>
> com.sun.corba.se.impl.orb.ORBImpl.resolve_initial_references
> (ORBImpl.java:11
> 57)
>
>>         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.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
>>
>>
> org.objectweb.carol.jndi.ns.IIOPCosNaming.isStarted
> (IIOPCosNaming.java:150)
>
>>         at
>> org.objectweb.carol.jndi.ns.IIOPCosNaming.start(IIOPCosNaming.java:
>> 66)
>>         at
>>
>>
> org.objectweb.carol.jndi.ns.NameServiceManager.startNonStartedNS
> (NameService
> Manager.java:126)
>
>>         at
>>
>>
> org.objectweb.carol.util.configuration.CarolConfiguration.loadCarolCon
> figura
> tion(CarolConfiguration.java:423)
>
>>         at
>> org.ofbiz.jotm.container.JotmContainer.startJotm
>> (JotmContainer.java:85)
>>         at
>> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>         at
>>
>>
> org.ofbiz.base.container.ContainerLoader.loadContainer
> (ContainerLoader.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(
> Defaul
> tSocketFactoryImpl.java:60)
>
>>         at
>>
>>
> com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>
> (SocketO
> rChannelConnectionImpl.java:188)
>
>>         ... 31 more
>> 8079  (main) [               Jotm.java:118:INFO ] JOTM started with a
>> local transaction factory which is not bound.
>> 8079  (main) [               Jotm.java:129:INFO ] CAROL  
>> initialization
>> 8141  (main) [            Current.java:171:INFO ] Jotm version =  
>> 2.0.9
>> org.ofbiz.base.start.StartupException: Cannot init() jotm-container
>> (Unable to bind UserTransaction/TransactionManager to JNDI
>> (ContextWrapper.ContextWrapper()
>> failed: java.lang.NullPointerException))
>>         at
>>
>>
> org.ofbiz.base.container.ContainerLoader.loadContainer
> (ContainerLoader.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/TransactionManager to JNDI
>> (ContextWrapper.ContextWrapper() failed: java.lang.NullPo
>> interException)
>>         at
>> org.ofbiz.jotm.container.JotmContainer.startJotm
>> (JotmContainer.java:102)
>>         at
>> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>         at
>>
>>
> org.ofbiz.base.container.ContainerLoader.loadContainer
> (ContainerLoader.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.java:102)
>
>>         at
>>
>>
> org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory.getInitialC
> ontext
> (MultiOrbInitialContextFactory.java:59)
>
>>         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:
>> 175)
>>         at
>> org.ofbiz.jotm.container.JotmContainer.startJotm
>> (JotmContainer.java:99)
>>         at
>> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>         at
>>
>>
> org.ofbiz.base.container.ContainerLoader.loadContainer
> (ContainerLoader.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/TransactionManager to JNDI
>> (ContextWrapper.ContextWrapper() failed:  
>> java.lang.NullPointerException)
>>         at
>> org.ofbiz.jotm.container.JotmContainer.startJotm
>> (JotmContainer.java:102)
>>         at
>> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>         at
>>
>>
> org.ofbiz.base.container.ContainerLoader.loadContainer
> (ContainerLoader.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.java:102)
>
>>         at
>>
>>
> org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory.getInitialC
> ontext
> (MultiOrbInitialContextFactory.java:59)
>
>>         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:
>> 175)
>>         at
>> org.ofbiz.jotm.container.JotmContainer.startJotm
>> (JotmContainer.java:99)
>>         at
>> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>         at
>>
>>
> org.ofbiz.base.container.ContainerLoader.loadContainer
> (ContainerLoader.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.java:102)
>
>>         at
>>
>>
> org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory.getInitialC
> ontext
> (MultiOrbInitialContextFactory.java:59)
>
>>         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:
>> 175)
>>         at
>> org.ofbiz.jotm.container.JotmContainer.startJotm
>> (JotmContainer.java:99)
>>         at
>> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>         at
>>
>>
> org.ofbiz.base.container.ContainerLoader.loadContainer
> (ContainerLoader.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)
>>
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.ofbiz.org/mailman/listinfo/users
>>
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - Cannot start OFBIZ

Jacques Le Roux
Administrator
>JDK 1.5 is okay? I'd be interested in hearing more about that because
>as far as I know it does not work at all with Java 1.5 unless you
>pull out and replace certain components that are Java 1.4 dependent,
>like JOTM...

OK I'm sorry, I was not really sure for 1.5, but I believe I recently read
on the ML that some folks are ok with 1.5 at runtime, isn't ?

Jacques

----- Original Message ----- From: "David E. Jones" <[hidden email]>
JDK 1.5 is okay? I'd be interested in hearing more about that because
as far as I know it does not work at all with Java 1.5 unless you
pull out and replace certain components that are Java 1.4 dependent,
like JOTM...

I'd use Java 1.4 for now. And yes, you can have 1.4 and 1.5 installed
on the same system and working properly, just be careful of your
system environment variables.

-David


On Sep 17, 2005, at 8:50 AM, Jacques Le Roux wrote:

>> What could be the problem?  WinXP's software firewall is completely
>> disabled.  Could it really be the JDK?  I have not tried JDK 1.4
>> because
>> the machines I'm using are dependent on 1.5... can they coexist?
>> Should
>> this become a JIRA issue?
>>
>
> If you plan to only run  OFBiz without any modification al all 1.5
> is ok.
> Otherwise you must install 1.4.
> You may have 2 (or more) JDK on the same machine. But for using
> OFBiz you
> must specify that you use 1.4 (JAVA_HOME, etc.)
> This is surely not a JIRA issue.
>
> Jacques

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

Re: [OFBiz] Users - Cannot start OFBIZ

Rohit Rai
In reply to this post by Brad Plies
Hi! David,
What to replace JOTM with???
 
I was wondering if I can get Ofbiz running on my Dev Systems It will be wonderful.
 
Regards,
Rohit

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users