Login  Register

Re: [OFBiz] Users - Getting error when server is started

Posted by David E. Jones on Jul 21, 2005; 1:25pm
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Users-Getting-error-when-server-is-started-tp135160p135161.html


This is probably happening because the IIOP stuff was unable to grab  
port 2000. Either you have something else running that is using that  
port, or something was running and has stopped and Windows hasn't  
freed up the port. Sometimes to get Windows to free up the port you  
have to reboot, so after checking to see what else is running on the  
machine (especially other server software and Java server software),  
I'd try restarting and running again.

-David


On Jul 21, 2005, at 2:02 AM, sudha maddala wrote:

> Hi,
>
> I have downloaded the source codea nd started the
> server by running startofbiz.bat and I am getting the
> following error.  I have followed the guide lines
> under set up/installation section. I am using Windows
> operating system.
>
> Thanks,
> Sudha
>
>
> 6169  (main) [ ComponentContainer.java:209:INFO ]
> Loading component : [website]
> 6199  (main) [ ComponentContainer.java:128:INFO ] All
> components loaded
> 7852  (main) [ClassLoaderContainer.java:59 :INFO ]
> CachedClassLoader created
> Jul 20, 2005 11:49:45 PM
> com.sun.corba.se.impl.transport.SocketOrChannelConnect
> onImpl <init>
> WARNING: "IOP00410201: (COMM_FAILURE) Connection
> failure: socketType: IIOP_CLEA
> _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(
> RBUtilSystemException.java:2172)
>         at
> com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(
> 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.creat
> Connection(SocketOrChannelContactInfoImpl.java:101)
>         at
> com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.begi
> Request(CorbaClientRequestDispatcherImpl.java:152)
>         at
> com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(Corba
> lientDelegateImpl.java:118)
>         at
> com.sun.corba.se.impl.resolver.BootstrapResolverImpl.invoke(Bootstra
> ResolverImpl.java:74)
>         at
> com.sun.corba.se.impl.resolver.BootstrapResolverImpl.resolve(Bootstr
> pResolverImpl.java:107)
>         at
> com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Composi
> eResolverImpl.java:22)
>         at
> com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Composi
> eResolverImpl.java:22)
>         at
> com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Composi
> 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.j
> va:32)
>         at
> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:
> 67)
>         at
> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:24
> )
>         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.ja
> a:150)
>         at
> org.objectweb.carol.jndi.ns.IIOPCosNaming.start(IIOPCosNaming.java:6
> )
>         at
> org.objectweb.carol.jndi.ns.NameServiceManager.startNonStartedNS(Nam
> ServiceManager.java:126)
>         at
> org.objectweb.carol.util.configuration.CarolConfiguration.loadCarolC
> nfiguration(CarolConfiguration.java:423)
>         at
> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:
> 5)
>         at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoad
> r.java:150)
>         at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:7
> )
>         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.createSocke
> (DefaultSocketFactoryImpl.java:60)
>         at
> com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>
> SocketOrChannelConnectionImpl.java:188)
>         ... 31 more
> 19478 (main) [               Jotm.java:118:INFO ] JOTM
> started with a local tra
> saction factory which is not bound.
> 19488 (main) [               Jotm.java:129:INFO ]
> CAROL initialization
> 19588 (main) [            Current.java:171:INFO ] Jotm
> version = 2.0.9
> org.ofbiz.base.start.StartupException: Cannot init()
> jotm-container (Unable to
> ind UserTransaction/TransactionManager to JNDI
> (ContextWrapper.ContextWrapper()
> failed: java.lang.NullPointerException))
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>

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