Connection Refused

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

Connection Refused

chitrakala ramanujam
  
Hi,

I am getting the following error while running the command "ant Run" from the command mode. Can any of you help me this.

Thanks.
chitrakala. R

Loading component : [securityext]
     [java] 2007-03-14 17:53:58,109 (main) [            UtilXml.java:242:DEBUG]
XML Read 0.016s: file:/C:/opentaps-0.9.4-all-platforms/applications/content/ofbi
z-component.xml
     [java] 2007-03-14 17:53:58,125 (main) [ ComponentContainer.java:217:INFO ]
Loading component : [content]
     [java] 2007-03-14 17:53:58,171 (main) [            UtilXml.java:242:DEBUG]
XML Read 0.015s: file:/C:/opentaps-0.9.4-all-platforms/applications/workeffort/o
fbiz-component.xml
     [java] 2007-03-14 17:53:58,187 (main) [ ComponentContainer.java:217:INFO ]
Loading component : [workeffort]
     [java] 2007-03-14 17:53:58,265 (main) [            UtilXml.java:242:DEBUG]
XML Read 0.078s: file:/C:/opentaps-0.9.4-all-platforms/applications/humanres/ofb
iz-component.xml
     [java] 2007-03-14 17:53:58,281 (main) [ ComponentContainer.java:217:INFO ]
Loading component : [humanres]
     [java] 2007-03-14 17:53:58,281 (main) [ ComponentContainer.java:258:WARN ]
Location 'C:/opentaps-0.9.4-all-platforms/applications/humanres/build/lib' does
not exist
     [java] 2007-03-14 17:53:58,343 (main) [            UtilXml.java:242:DEBUG]
XML Read 0.031s: file:/C:/opentaps-0.9.4-all-platforms/applications/product/ofbi
z-component.xml
     [java] 2007-03-14 17:53:58,359 (main) [ ComponentContainer.java:217:INFO ]
Loading component : [product]
     [java] 2007-03-14 17:53:58,421 (main) [            UtilXml.java:242:DEBUG]
XML Read 0.046s: file:/C:/opentaps-0.9.4-all-platforms/applications/manufacturin
g/ofbiz-component.xml
     [java] 2007-03-14 17:53:58,421 (main) [ ComponentContainer.java:217:INFO ]
Loading component : [manufacturing]
     [java] 2007-03-14 17:53:58,484 (main) [            UtilXml.java:242:DEBUG]
XML Read 0.015s: file:/C:/opentaps-0.9.4-all-platforms/applications/accounting/o
fbiz-component.xml
     [java] 2007-03-14 17:53:58,484 (main) [ ComponentContainer.java:217:INFO ]
Loading component : [accounting]
     [java] 2007-03-14 17:53:58,546 (main) [            UtilXml.java:242:DEBUG]
XML Read 0.016s: file:/C:/opentaps-0.9.4-all-platforms/applications/order/ofbiz-
component.xml
     [java] 2007-03-14 17:53:58,546 (main) [ ComponentContainer.java:217:INFO ]
Loading component : [order]
     [java] 2007-03-14 17:53:58,578 (main) [            UtilXml.java:242:DEBUG]
XML Read 0.032s: file:/C:/opentaps-0.9.4-all-platforms/applications/marketing/of
biz-component.xml
     [java] 2007-03-14 17:53:58,578 (main) [ ComponentContainer.java:217:INFO ]
Loading component : [marketing]
     [java] 2007-03-14 17:53:58,640 (main) [            UtilXml.java:242:DEBUG]
XML Read 0.047s: file:/C:/opentaps-0.9.4-all-platforms/applications/ecommerce/of
biz-component.xml
     [java] 2007-03-14 17:53:58,671 (main) [ ComponentContainer.java:217:INFO ]
Loading component : [ecommerce]
     [java] 2007-03-14 17:53:58,750 (main) [            UtilXml.java:242:DEBUG]
XML Read 0.079s: file:/C:/opentaps-0.9.4-all-platforms/applications/pos/ofbiz-co
mponent.xml
     [java] 2007-03-14 17:53:58,765 (main) [ ComponentContainer.java:217:INFO ]
Loading component : [pos]
     [java] 2007-03-14 17:53:58,796 (main) [ ComponentContainer.java:155:INFO ]
Auto-Loading component directory : [C:/opentaps-0.9.4-all-platforms/specialized]

     [java] 2007-03-14 17:53:58,828 (main) [            UtilXml.java:242:DEBUG]
XML Read 0.032s: file:/C:/opentaps-0.9.4-all-platforms/specialized/component-loa
d.xml
     [java] 2007-03-14 17:53:58,828 (main) [ ComponentContainer.java:155:INFO ]
Auto-Loading component directory : [C:/opentaps-0.9.4-all-platforms/hot-deploy]
     [java] 2007-03-14 17:53:58,875 (main) [            UtilXml.java:242:DEBUG]
XML Read 0.032s: file:/C:/opentaps-0.9.4-all-platforms/hot-deploy/dataimport/ofb
iz-component.xml
     [java] 2007-03-14 17:53:58,875 (main) [ ComponentContainer.java:217:INFO ]
Loading component : [dataimport]
     [java] 2007-03-14 17:53:58,906 (main) [            UtilXml.java:242:DEBUG]
XML Read 0.031s: file:/C:/opentaps-0.9.4-all-platforms/hot-deploy/financials/ofb
iz-component.xml
     [java] 2007-03-14 17:53:58,921 (main) [ ComponentContainer.java:217:INFO ]
Loading component : [financials]
     [java] 2007-03-14 17:53:58,968 (main) [            UtilXml.java:242:DEBUG]
XML Read 0.047s: file:/C:/opentaps-0.9.4-all-platforms/hot-deploy/crmsfa/ofbiz-c
omponent.xml
     [java] 2007-03-14 17:53:58,984 (main) [ ComponentContainer.java:217:INFO ]
Loading component : [crmsfa]
     [java] 2007-03-14 17:53:59,000 (main) [            UtilXml.java:242:DEBUG]
XML Read 0.016s: file:/C:/opentaps-0.9.4-all-platforms/resources/ofbiz-component
.xml
     [java] 2007-03-14 17:53:59,015 (main) [ ComponentContainer.java:217:INFO ]
Loading component : [resources]
     [java] 2007-03-14 17:53:59,046 (main) [ ComponentContainer.java:130:INFO ]
All components loaded
     [java] 2007-03-14 17:53:59,250 (main) [ClassLoaderContainer.java:59 :INFO ]
 CachedClassLoader created
     [java] 2007-03-14 17:54:03,687 (main) [               Jotm.java:118:INFO ]
JOTM started with a local transaction factory which is not bound.
     [java] 2007-03-14 17:54:03,687 (main) [               Jotm.java:129:INFO ]
CAROL initialization
     [java] 2007-03-14 17:54:04,062 (main) [            Current.java:171:INFO ]
Jotm version = 2.0.9
     [java] org.ofbiz.base.start.StartupException: Cannot init() jotm-container
(Unable to bind UserTransaction/TransactionManager to JNDI (null))
     [java]     at org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
nerLoader.java:152)
     [java]     at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader
.java:74)
     [java]     at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
     [java]     at org.ofbiz.base.start.Start.init(Start.java:96)
     [java]     at org.ofbiz.base.start.Start.main(Start.java:412)
     [java] org.ofbiz.base.container.ContainerException: Unable to bind UserTran
saction/TransactionManager to JNDI (null)
     [java]     at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine
r.java:102)
     [java]     at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav
a:61)
     [java]     at org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
nerLoader.java:150)
     [java]     at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader
.java:74)
     [java]     at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
     [java]     at org.ofbiz.base.start.Start.init(Start.java:96)
     [java]     at org.ofbiz.base.start.Start.main(Start.java:412)
     [java] javax.naming.ServiceUnavailableException [Root exception is java.rmi
.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
     [java]     java.net.ConnectException: Connection refused: connect]
     [java]     at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
ext.java:133)
     [java]     at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
ext.java:138)
     [java]     at javax.naming.InitialContext.rebind(InitialContext.java:363)
     [java]     at org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWra
pper.java:185)
     [java]     at javax.naming.InitialContext.rebind(InitialContext.java:363)
     [java]     at org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaU
RLContext.java:264)
     [java]     at javax.naming.InitialContext.rebind(InitialContext.java:363)
     [java]     at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine
r.java:100)
     [java]     at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav
a:61)
     [java]     at org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
nerLoader.java:150)
     [java]     at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader
.java:74)
     [java]     at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
     [java]     at org.ofbiz.base.start.Start.init(Start.java:96)
     [java]     at org.ofbiz.base.start.Start.main(Start.java:412)
     [java] Caused by: java.rmi.ConnectException: Connection refused to host: 12
7.0.0.1; nested exception is:
     [java]     java.net.ConnectException: Connection refused: connect
     [java]     at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:
567)
     [java]     at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.
java:185)
     [java]     at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.jav
a:171)
     [java]     at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
     [java]     at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
     [java]     at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
ext.java:131)
     [java]     ... 13 more
     [java] Caused by: java.net.ConnectException: Connection refused: connect
     [java]     at java.net.PlainSocketImpl.socketConnect(Native Method)
     [java]     at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
     [java]     at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav
a:171)
     [java]     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
     [java]     at java.net.Socket.connect(Socket.java:452)
     [java]     at java.net.Socket.connect(Socket.java:402)
     [java]     at java.net.Socket.<init>(Socket.java:309)
     [java]     at java.net.Socket.<init>(Socket.java:124)
     [java]     at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(R
MIDirectSocketFactory.java:22)
     [java]     at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(R
MIMasterSocketFactory.java:128)
     [java]     at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:
562)
     [java]     ... 18 more
     [java] org.ofbiz.base.container.ContainerException: Unable to bind UserTran
saction/TransactionManager to JNDI (null)
     [java]     at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine
r.java:102)
     [java]     at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav
a:61)
     [java]     at org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
nerLoader.java:150)
     [java]     at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader
.java:74)
     [java]     at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
     [java]     at org.ofbiz.base.start.Start.init(Start.java:96)
     [java]     at org.ofbiz.base.start.Start.main(Start.java:412)
     [java] javax.naming.ServiceUnavailableException [Root exception is java.rmi
.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
     [java]     java.net.ConnectException: Connection refused: connect]
     [java]     at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
ext.java:133)
     [java]     at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
ext.java:138)
     [java]     at javax.naming.InitialContext.rebind(InitialContext.java:363)
     [java]     at org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWra
pper.java:185)
     [java]     at javax.naming.InitialContext.rebind(InitialContext.java:363)
     [java]     at org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaU
RLContext.java:264)
     [java]     at javax.naming.InitialContext.rebind(InitialContext.java:363)
     [java]     at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine
r.java:100)
     [java]     at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav
a:61)
     [java]     at org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
nerLoader.java:150)
     [java]     at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader
.java:74)
     [java]     at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
     [java]     at org.ofbiz.base.start.Start.init(Start.java:96)
     [java]     at org.ofbiz.base.start.Start.main(Start.java:412)
     [java] Caused by: java.rmi.ConnectException: Connection refused to host: 12
7.0.0.1; nested exception is:
     [java]     java.net.ConnectException: Connection refused: connect
     [java]     at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:
567)
     [java]     at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.
java:185)
     [java]     at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.jav
a:171)
     [java]     at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
     [java]     at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
     [java]     at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
ext.java:131)
     [java]     ... 13 more
     [java] Caused by: java.net.ConnectException: Connection refused: connect
     [java]     at java.net.PlainSocketImpl.socketConnect(Native Method)
     [java]     at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
     [java]     at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav
a:171)
     [java]     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
     [java]     at java.net.Socket.connect(Socket.java:452)
     [java]     at java.net.Socket.connect(Socket.java:402)
     [java]     at java.net.Socket.<init>(Socket.java:309)
     [java]     at java.net.Socket.<init>(Socket.java:124)
     [java]     at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(R
MIDirectSocketFactory.java:22)
     [java]     at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(R
MIMasterSocketFactory.java:128)
     [java]     at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:
562)
     [java]     ... 18 more
     [java] javax.naming.ServiceUnavailableException [Root exception is java.rmi
.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
     [java]     java.net.ConnectException: Connection refused: connect]
     [java]     at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
ext.java:133)
     [java]     at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
ext.java:138)
     [java]     at javax.naming.InitialContext.rebind(InitialContext.java:363)
     [java]     at org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWra
pper.java:185)
     [java]     at javax.naming.InitialContext.rebind(InitialContext.java:363)
     [java]     at org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaU
RLContext.java:264)
     [java]     at javax.naming.InitialContext.rebind(InitialContext.java:363)
     [java]     at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine
r.java:100)
     [java]     at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav
a:61)
     [java]     at org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
nerLoader.java:150)
     [java]     at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader
.java:74)
     [java]     at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
     [java]     at org.ofbiz.base.start.Start.init(Start.java:96)
     [java]     at org.ofbiz.base.start.Start.main(Start.java:412)
     [java] Caused by: java.rmi.ConnectException: Connection refused to host: 12
7.0.0.1; nested exception is:
     [java]     java.net.ConnectException: Connection refused: connect
     [java]     at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:
567)
     [java]     at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.
java:185)
     [java]     at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.jav
a:171)
     [java]     at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
     [java]     at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
     [java]     at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
ext.java:131)
     [java]     ... 13 more
     [java] Caused by: java.net.ConnectException: Connection refused: connect
     [java]     at java.net.PlainSocketImpl.socketConnect(Native Method)
     [java]     at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
     [java]     at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav
a:171)
     [java]     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
     [java]     at java.net.Socket.connect(Socket.java:452)
     [java]     at java.net.Socket.connect(Socket.java:402)
     [java]     at java.net.Socket.<init>(Socket.java:309)
     [java]     at java.net.Socket.<init>(Socket.java:124)
     [java]     at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(R
MIDirectSocketFactory.java:22)
     [java]     at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(R
MIMasterSocketFactory.java:128)
     [java]     at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:
562)
     [java]     ... 18 more
     [java] Java Result: 99

BUILD SUCCESSFUL
Total time: 55 seconds
Reply | Threaded
Open this post in threaded view
|

Re: Connection Refused

Sebastian Schirmer
Hi,

you have a problem with rmi on your machine. You can disable rmi in ofbiz
framework/base/config/ofbiz-containers.xml
rmi is only needed for shark.

kind regards
Sebastian

--On Mittwoch, 14. März 2007 12:30 +0000 chitrakala ramanujam
<[hidden email]> wrote:

>   
> Hi,
>
> I am getting the following error while running the command "ant Run" from
> the command mode. Can any of you help me this.
>
> Thanks.
> chitrakala. R
>
> Loading component : [securityext]
>      [java] 2007-03-14 17:53:58,109 (main) [
> UtilXml.java:242:DEBUG] XML Read 0.016s:
> file:/C:/opentaps-0.9.4-all-platforms/applications/content/ofbi
> z-component.xml
>      [java] 2007-03-14 17:53:58,125 (main) [
> ComponentContainer.java:217:INFO ] Loading component : [content]
>      [java] 2007-03-14 17:53:58,171 (main) [
> UtilXml.java:242:DEBUG] XML Read 0.015s:
> file:/C:/opentaps-0.9.4-all-platforms/applications/workeffort/o
> fbiz-component.xml
>      [java] 2007-03-14 17:53:58,187 (main) [
> ComponentContainer.java:217:INFO ] Loading component : [workeffort]
>      [java] 2007-03-14 17:53:58,265 (main) [
> UtilXml.java:242:DEBUG] XML Read 0.078s:
> file:/C:/opentaps-0.9.4-all-platforms/applications/humanres/ofb
> iz-component.xml
>      [java] 2007-03-14 17:53:58,281 (main) [
> ComponentContainer.java:217:INFO ] Loading component : [humanres]
>      [java] 2007-03-14 17:53:58,281 (main) [
> ComponentContainer.java:258:WARN ] Location
> 'C:/opentaps-0.9.4-all-platforms/applications/humanres/build/lib' does
> not exist
>      [java] 2007-03-14 17:53:58,343 (main) [
> UtilXml.java:242:DEBUG] XML Read 0.031s:
> file:/C:/opentaps-0.9.4-all-platforms/applications/product/ofbi
> z-component.xml
>      [java] 2007-03-14 17:53:58,359 (main) [
> ComponentContainer.java:217:INFO ] Loading component : [product]
>      [java] 2007-03-14 17:53:58,421 (main) [
> UtilXml.java:242:DEBUG] XML Read 0.046s:
> file:/C:/opentaps-0.9.4-all-platforms/applications/manufacturin
> g/ofbiz-component.xml
>      [java] 2007-03-14 17:53:58,421 (main) [
> ComponentContainer.java:217:INFO ] Loading component : [manufacturing]
>      [java] 2007-03-14 17:53:58,484 (main) [
> UtilXml.java:242:DEBUG] XML Read 0.015s:
> file:/C:/opentaps-0.9.4-all-platforms/applications/accounting/o
> fbiz-component.xml
>      [java] 2007-03-14 17:53:58,484 (main) [
> ComponentContainer.java:217:INFO ] Loading component : [accounting]
>      [java] 2007-03-14 17:53:58,546 (main) [
> UtilXml.java:242:DEBUG] XML Read 0.016s:
> file:/C:/opentaps-0.9.4-all-platforms/applications/order/ofbiz-
> component.xml
>      [java] 2007-03-14 17:53:58,546 (main) [
> ComponentContainer.java:217:INFO ] Loading component : [order]
>      [java] 2007-03-14 17:53:58,578 (main) [
> UtilXml.java:242:DEBUG] XML Read 0.032s:
> file:/C:/opentaps-0.9.4-all-platforms/applications/marketing/of
> biz-component.xml
>      [java] 2007-03-14 17:53:58,578 (main) [
> ComponentContainer.java:217:INFO ] Loading component : [marketing]
>      [java] 2007-03-14 17:53:58,640 (main) [
> UtilXml.java:242:DEBUG] XML Read 0.047s:
> file:/C:/opentaps-0.9.4-all-platforms/applications/ecommerce/of
> biz-component.xml
>      [java] 2007-03-14 17:53:58,671 (main) [
> ComponentContainer.java:217:INFO ] Loading component : [ecommerce]
>      [java] 2007-03-14 17:53:58,750 (main) [
> UtilXml.java:242:DEBUG] XML Read 0.079s:
> file:/C:/opentaps-0.9.4-all-platforms/applications/pos/ofbiz-co
> mponent.xml
>      [java] 2007-03-14 17:53:58,765 (main) [
> ComponentContainer.java:217:INFO ] Loading component : [pos]
>      [java] 2007-03-14 17:53:58,796 (main) [
> ComponentContainer.java:155:INFO ] Auto-Loading component directory :
> [C:/opentaps-0.9.4-all-platforms/specialized]
>
>      [java] 2007-03-14 17:53:58,828 (main) [
> UtilXml.java:242:DEBUG] XML Read 0.032s:
> file:/C:/opentaps-0.9.4-all-platforms/specialized/component-loa d.xml
>      [java] 2007-03-14 17:53:58,828 (main) [
> ComponentContainer.java:155:INFO ] Auto-Loading component directory :
> [C:/opentaps-0.9.4-all-platforms/hot-deploy]      [java] 2007-03-14
> 17:53:58,875 (main) [            UtilXml.java:242:DEBUG] XML Read 0.032s:
> file:/C:/opentaps-0.9.4-all-platforms/hot-deploy/dataimport/ofb
> iz-component.xml
>      [java] 2007-03-14 17:53:58,875 (main) [
> ComponentContainer.java:217:INFO ] Loading component : [dataimport]
>      [java] 2007-03-14 17:53:58,906 (main) [
> UtilXml.java:242:DEBUG] XML Read 0.031s:
> file:/C:/opentaps-0.9.4-all-platforms/hot-deploy/financials/ofb
> iz-component.xml
>      [java] 2007-03-14 17:53:58,921 (main) [
> ComponentContainer.java:217:INFO ] Loading component : [financials]
>      [java] 2007-03-14 17:53:58,968 (main) [
> UtilXml.java:242:DEBUG] XML Read 0.047s:
> file:/C:/opentaps-0.9.4-all-platforms/hot-deploy/crmsfa/ofbiz-c
> omponent.xml
>      [java] 2007-03-14 17:53:58,984 (main) [
> ComponentContainer.java:217:INFO ] Loading component : [crmsfa]
>      [java] 2007-03-14 17:53:59,000 (main) [
> UtilXml.java:242:DEBUG] XML Read 0.016s:
> file:/C:/opentaps-0.9.4-all-platforms/resources/ofbiz-component .xml
>      [java] 2007-03-14 17:53:59,015 (main) [
> ComponentContainer.java:217:INFO ] Loading component : [resources]
>      [java] 2007-03-14 17:53:59,046 (main) [
> ComponentContainer.java:130:INFO ] All components loaded
>      [java] 2007-03-14 17:53:59,250 (main) [ClassLoaderContainer.java:59
> :INFO ]  CachedClassLoader created
>      [java] 2007-03-14 17:54:03,687 (main) [
> Jotm.java:118:INFO ] JOTM started with a local transaction factory which
> is not bound.      [java] 2007-03-14 17:54:03,687 (main) [
> Jotm.java:129:INFO ] CAROL initialization
>      [java] 2007-03-14 17:54:04,062 (main) [
> Current.java:171:INFO ] Jotm version = 2.0.9
>      [java] org.ofbiz.base.start.StartupException: Cannot init()
> jotm-container (Unable to bind UserTransaction/TransactionManager to JNDI
> (null))      [java]     at
> org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
> nerLoader.java:152)
>      [java]     at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader .java:74)
>      [java]     at
> org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)      [java]
> at org.ofbiz.base.start.Start.init(Start.java:96)      [java]     at
> org.ofbiz.base.start.Start.main(Start.java:412)      [java]
> org.ofbiz.base.container.ContainerException: Unable to bind UserTran
> saction/TransactionManager to JNDI (null)
>      [java]     at
> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine r.java:102)
>      [java]     at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav a:61)
>      [java]     at
> org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
> nerLoader.java:150)
>      [java]     at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader .java:74)
>      [java]     at
> org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)      [java]
> at org.ofbiz.base.start.Start.init(Start.java:96)      [java]     at
> org.ofbiz.base.start.Start.main(Start.java:412)      [java]
> javax.naming.ServiceUnavailableException [Root exception is java.rmi
> .ConnectException: Connection refused to host: 127.0.0.1; nested
> exception is:      [java]     java.net.ConnectException: Connection
> refused: connect]      [java]     at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> ext.java:133)
>      [java]     at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> ext.java:138)
>      [java]     at
> javax.naming.InitialContext.rebind(InitialContext.java:363)      [java]
> at org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWra
> pper.java:185)
>      [java]     at
> javax.naming.InitialContext.rebind(InitialContext.java:363)      [java]
> at org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaU
> RLContext.java:264)
>      [java]     at
> javax.naming.InitialContext.rebind(InitialContext.java:363)      [java]
> at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine
> r.java:100)
>      [java]     at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav a:61)
>      [java]     at
> org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
> nerLoader.java:150)
>      [java]     at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader .java:74)
>      [java]     at
> org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)      [java]
> at org.ofbiz.base.start.Start.init(Start.java:96)      [java]     at
> org.ofbiz.base.start.Start.main(Start.java:412)      [java] Caused by:
> java.rmi.ConnectException: Connection refused to host: 12 7.0.0.1; nested
> exception is:
>      [java]     java.net.ConnectException: Connection refused: connect
>      [java]     at
> sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 567)
>      [java]     at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel. java:185)
>      [java]     at
> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.jav a:171)
>      [java]     at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
>      [java]     at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown
> Source)      [java]     at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> ext.java:131)
>      [java]     ... 13 more
>      [java] Caused by: java.net.ConnectException: Connection refused:
> connect      [java]     at java.net.PlainSocketImpl.socketConnect(Native
> Method)      [java]     at
> java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)      [java]
> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav a:171)
>      [java]     at
> java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)      [java]
> at java.net.Socket.connect(Socket.java:452)
>      [java]     at java.net.Socket.connect(Socket.java:402)
>      [java]     at java.net.Socket.<init>(Socket.java:309)
>      [java]     at java.net.Socket.<init>(Socket.java:124)
>      [java]     at
> sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(R
> MIDirectSocketFactory.java:22)
>      [java]     at
> sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(R
> MIMasterSocketFactory.java:128)
>      [java]     at
> sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 562)
>      [java]     ... 18 more
>      [java] org.ofbiz.base.container.ContainerException: Unable to bind
> UserTran saction/TransactionManager to JNDI (null)
>      [java]     at
> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine r.java:102)
>      [java]     at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav a:61)
>      [java]     at
> org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
> nerLoader.java:150)
>      [java]     at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader .java:74)
>      [java]     at
> org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)      [java]
> at org.ofbiz.base.start.Start.init(Start.java:96)      [java]     at
> org.ofbiz.base.start.Start.main(Start.java:412)      [java]
> javax.naming.ServiceUnavailableException [Root exception is java.rmi
> .ConnectException: Connection refused to host: 127.0.0.1; nested
> exception is:      [java]     java.net.ConnectException: Connection
> refused: connect]      [java]     at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> ext.java:133)
>      [java]     at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> ext.java:138)
>      [java]     at
> javax.naming.InitialContext.rebind(InitialContext.java:363)      [java]
> at org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWra
> pper.java:185)
>      [java]     at
> javax.naming.InitialContext.rebind(InitialContext.java:363)      [java]
> at org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaU
> RLContext.java:264)
>      [java]     at
> javax.naming.InitialContext.rebind(InitialContext.java:363)      [java]
> at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine
> r.java:100)
>      [java]     at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav a:61)
>      [java]     at
> org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
> nerLoader.java:150)
>      [java]     at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader .java:74)
>      [java]     at
> org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)      [java]
> at org.ofbiz.base.start.Start.init(Start.java:96)      [java]     at
> org.ofbiz.base.start.Start.main(Start.java:412)      [java] Caused by:
> java.rmi.ConnectException: Connection refused to host: 12 7.0.0.1; nested
> exception is:
>      [java]     java.net.ConnectException: Connection refused: connect
>      [java]     at
> sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 567)
>      [java]     at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel. java:185)
>      [java]     at
> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.jav a:171)
>      [java]     at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
>      [java]     at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown
> Source)      [java]     at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> ext.java:131)
>      [java]     ... 13 more
>      [java] Caused by: java.net.ConnectException: Connection refused:
> connect      [java]     at java.net.PlainSocketImpl.socketConnect(Native
> Method)      [java]     at
> java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)      [java]
> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav a:171)
>      [java]     at
> java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)      [java]
> at java.net.Socket.connect(Socket.java:452)
>      [java]     at java.net.Socket.connect(Socket.java:402)
>      [java]     at java.net.Socket.<init>(Socket.java:309)
>      [java]     at java.net.Socket.<init>(Socket.java:124)
>      [java]     at
> sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(R
> MIDirectSocketFactory.java:22)
>      [java]     at
> sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(R
> MIMasterSocketFactory.java:128)
>      [java]     at
> sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 562)
>      [java]     ... 18 more
>      [java] javax.naming.ServiceUnavailableException [Root exception is
> java.rmi .ConnectException: Connection refused to host: 127.0.0.1; nested
> exception is:      [java]     java.net.ConnectException: Connection
> refused: connect]      [java]     at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> ext.java:133)
>      [java]     at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> ext.java:138)
>      [java]     at
> javax.naming.InitialContext.rebind(InitialContext.java:363)      [java]
> at org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWra
> pper.java:185)
>      [java]     at
> javax.naming.InitialContext.rebind(InitialContext.java:363)      [java]
> at org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaU
> RLContext.java:264)
>      [java]     at
> javax.naming.InitialContext.rebind(InitialContext.java:363)      [java]
> at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine
> r.java:100)
>      [java]     at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav a:61)
>      [java]     at
> org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
> nerLoader.java:150)
>      [java]     at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader .java:74)
>      [java]     at
> org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)      [java]
> at org.ofbiz.base.start.Start.init(Start.java:96)      [java]     at
> org.ofbiz.base.start.Start.main(Start.java:412)      [java] Caused by:
> java.rmi.ConnectException: Connection refused to host: 12 7.0.0.1; nested
> exception is:
>      [java]     java.net.ConnectException: Connection refused: connect
>      [java]     at
> sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 567)
>      [java]     at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel. java:185)
>      [java]     at
> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.jav a:171)
>      [java]     at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
>      [java]     at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown
> Source)      [java]     at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> ext.java:131)
>      [java]     ... 13 more
>      [java] Caused by: java.net.ConnectException: Connection refused:
> connect      [java]     at java.net.PlainSocketImpl.socketConnect(Native
> Method)      [java]     at
> java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)      [java]
> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav a:171)
>      [java]     at
> java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)      [java]
> at java.net.Socket.connect(Socket.java:452)
>      [java]     at java.net.Socket.connect(Socket.java:402)
>      [java]     at java.net.Socket.<init>(Socket.java:309)
>      [java]     at java.net.Socket.<init>(Socket.java:124)
>      [java]     at
> sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(R
> MIDirectSocketFactory.java:22)
>      [java]     at
> sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(R
> MIMasterSocketFactory.java:128)
>      [java]     at
> sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 562)
>      [java]     ... 18 more
>      [java] Java Result: 99
>
> BUILD SUCCESSFUL
> Total time: 55 seconds



--
 Sebastian Schirmer

 ZYRES digital media systems GmbH
 Eschersheimer Landstr. 5-7 60322 Frankfurt am Main
 Phone +49 (0)69 98 55 99 - 0
 Fax   +49 (0)69 98 55 99 - 11

 Firmensitz: Eschersheimer Landstr. 5-7 60322 Frankfurt am Main
 Registergericht: Amtsgericht Frankfurt am Main, HRB 76374
 Geschäftsführer: Sebastian Schirmer

 http://www.zyres.com/

-- RFC|1855|2.1.1


Reply | Threaded
Open this post in threaded view
|

Re: Connection Refused

Jacques Le Roux
Administrator
RMI is not needed only by Shark.
But yes, RMI can be disabled without problem for an OOTB usage.
BTW Shark is also disabled OOTB.
So in a general way you can disable RMI OOTB without trouble and this as
long as you don't need it.

Jacques


----- Message d'origine -----
De : "Sebastian Schirmer" <[hidden email]>
À : <[hidden email]>; "chitrakala ramanujam"
<[hidden email]>
Envoyé : jeudi 15 mars 2007 18:45
Objet : Re: Connection Refused


> Hi,
>
> you have a problem with rmi on your machine. You can disable rmi in
ofbiz

> framework/base/config/ofbiz-containers.xml
> rmi is only needed for shark.
>
> kind regards
> Sebastian
>
> --On Mittwoch, 14. März 2007 12:30 +0000 chitrakala ramanujam
> <[hidden email]> wrote:
>
> >
> > Hi,
> >
> > I am getting the following error while running the command "ant Run"
from

> > the command mode. Can any of you help me this.
> >
> > Thanks.
> > chitrakala. R
> >
> > Loading component : [securityext]
> >      [java] 2007-03-14 17:53:58,109 (main) [
> > UtilXml.java:242:DEBUG] XML Read 0.016s:
> > file:/C:/opentaps-0.9.4-all-platforms/applications/content/ofbi
> > z-component.xml
> >      [java] 2007-03-14 17:53:58,125 (main) [
> > ComponentContainer.java:217:INFO ] Loading component : [content]
> >      [java] 2007-03-14 17:53:58,171 (main) [
> > UtilXml.java:242:DEBUG] XML Read 0.015s:
> > file:/C:/opentaps-0.9.4-all-platforms/applications/workeffort/o
> > fbiz-component.xml
> >      [java] 2007-03-14 17:53:58,187 (main) [
> > ComponentContainer.java:217:INFO ] Loading component : [workeffort]
> >      [java] 2007-03-14 17:53:58,265 (main) [
> > UtilXml.java:242:DEBUG] XML Read 0.078s:
> > file:/C:/opentaps-0.9.4-all-platforms/applications/humanres/ofb
> > iz-component.xml
> >      [java] 2007-03-14 17:53:58,281 (main) [
> > ComponentContainer.java:217:INFO ] Loading component : [humanres]
> >      [java] 2007-03-14 17:53:58,281 (main) [
> > ComponentContainer.java:258:WARN ] Location
> > 'C:/opentaps-0.9.4-all-platforms/applications/humanres/build/lib'
does

> > not exist
> >      [java] 2007-03-14 17:53:58,343 (main) [
> > UtilXml.java:242:DEBUG] XML Read 0.031s:
> > file:/C:/opentaps-0.9.4-all-platforms/applications/product/ofbi
> > z-component.xml
> >      [java] 2007-03-14 17:53:58,359 (main) [
> > ComponentContainer.java:217:INFO ] Loading component : [product]
> >      [java] 2007-03-14 17:53:58,421 (main) [
> > UtilXml.java:242:DEBUG] XML Read 0.046s:
> > file:/C:/opentaps-0.9.4-all-platforms/applications/manufacturin
> > g/ofbiz-component.xml
> >      [java] 2007-03-14 17:53:58,421 (main) [
> > ComponentContainer.java:217:INFO ] Loading component :
[manufacturing]

> >      [java] 2007-03-14 17:53:58,484 (main) [
> > UtilXml.java:242:DEBUG] XML Read 0.015s:
> > file:/C:/opentaps-0.9.4-all-platforms/applications/accounting/o
> > fbiz-component.xml
> >      [java] 2007-03-14 17:53:58,484 (main) [
> > ComponentContainer.java:217:INFO ] Loading component : [accounting]
> >      [java] 2007-03-14 17:53:58,546 (main) [
> > UtilXml.java:242:DEBUG] XML Read 0.016s:
> > file:/C:/opentaps-0.9.4-all-platforms/applications/order/ofbiz-
> > component.xml
> >      [java] 2007-03-14 17:53:58,546 (main) [
> > ComponentContainer.java:217:INFO ] Loading component : [order]
> >      [java] 2007-03-14 17:53:58,578 (main) [
> > UtilXml.java:242:DEBUG] XML Read 0.032s:
> > file:/C:/opentaps-0.9.4-all-platforms/applications/marketing/of
> > biz-component.xml
> >      [java] 2007-03-14 17:53:58,578 (main) [
> > ComponentContainer.java:217:INFO ] Loading component : [marketing]
> >      [java] 2007-03-14 17:53:58,640 (main) [
> > UtilXml.java:242:DEBUG] XML Read 0.047s:
> > file:/C:/opentaps-0.9.4-all-platforms/applications/ecommerce/of
> > biz-component.xml
> >      [java] 2007-03-14 17:53:58,671 (main) [
> > ComponentContainer.java:217:INFO ] Loading component : [ecommerce]
> >      [java] 2007-03-14 17:53:58,750 (main) [
> > UtilXml.java:242:DEBUG] XML Read 0.079s:
> > file:/C:/opentaps-0.9.4-all-platforms/applications/pos/ofbiz-co
> > mponent.xml
> >      [java] 2007-03-14 17:53:58,765 (main) [
> > ComponentContainer.java:217:INFO ] Loading component : [pos]
> >      [java] 2007-03-14 17:53:58,796 (main) [
> > ComponentContainer.java:155:INFO ] Auto-Loading component directory
:
> > [C:/opentaps-0.9.4-all-platforms/specialized]
> >
> >      [java] 2007-03-14 17:53:58,828 (main) [
> > UtilXml.java:242:DEBUG] XML Read 0.032s:
> > file:/C:/opentaps-0.9.4-all-platforms/specialized/component-loa
d.xml
> >      [java] 2007-03-14 17:53:58,828 (main) [
> > ComponentContainer.java:155:INFO ] Auto-Loading component directory
:
> > [C:/opentaps-0.9.4-all-platforms/hot-deploy]      [java] 2007-03-14
> > 17:53:58,875 (main) [            UtilXml.java:242:DEBUG] XML Read
0.032s:

> > file:/C:/opentaps-0.9.4-all-platforms/hot-deploy/dataimport/ofb
> > iz-component.xml
> >      [java] 2007-03-14 17:53:58,875 (main) [
> > ComponentContainer.java:217:INFO ] Loading component : [dataimport]
> >      [java] 2007-03-14 17:53:58,906 (main) [
> > UtilXml.java:242:DEBUG] XML Read 0.031s:
> > file:/C:/opentaps-0.9.4-all-platforms/hot-deploy/financials/ofb
> > iz-component.xml
> >      [java] 2007-03-14 17:53:58,921 (main) [
> > ComponentContainer.java:217:INFO ] Loading component : [financials]
> >      [java] 2007-03-14 17:53:58,968 (main) [
> > UtilXml.java:242:DEBUG] XML Read 0.047s:
> > file:/C:/opentaps-0.9.4-all-platforms/hot-deploy/crmsfa/ofbiz-c
> > omponent.xml
> >      [java] 2007-03-14 17:53:58,984 (main) [
> > ComponentContainer.java:217:INFO ] Loading component : [crmsfa]
> >      [java] 2007-03-14 17:53:59,000 (main) [
> > UtilXml.java:242:DEBUG] XML Read 0.016s:
> > file:/C:/opentaps-0.9.4-all-platforms/resources/ofbiz-component .xml
> >      [java] 2007-03-14 17:53:59,015 (main) [
> > ComponentContainer.java:217:INFO ] Loading component : [resources]
> >      [java] 2007-03-14 17:53:59,046 (main) [
> > ComponentContainer.java:130:INFO ] All components loaded
> >      [java] 2007-03-14 17:53:59,250 (main)
[ClassLoaderContainer.java:59
> > :INFO ]  CachedClassLoader created
> >      [java] 2007-03-14 17:54:03,687 (main) [
> > Jotm.java:118:INFO ] JOTM started with a local transaction factory
which
> > is not bound.      [java] 2007-03-14 17:54:03,687 (main) [
> > Jotm.java:129:INFO ] CAROL initialization
> >      [java] 2007-03-14 17:54:04,062 (main) [
> > Current.java:171:INFO ] Jotm version = 2.0.9
> >      [java] org.ofbiz.base.start.StartupException: Cannot init()
> > jotm-container (Unable to bind UserTransaction/TransactionManager to
JNDI
> > (null))      [java]     at
> > org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
> > nerLoader.java:152)
> >      [java]     at
> > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader
.java:74)
> >      [java]     at
> > org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
[java]
> > at org.ofbiz.base.start.Start.init(Start.java:96)      [java]     at
> > org.ofbiz.base.start.Start.main(Start.java:412)      [java]
> > org.ofbiz.base.container.ContainerException: Unable to bind UserTran
> > saction/TransactionManager to JNDI (null)
> >      [java]     at
> > org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine
r.java:102)
> >      [java]     at
> > org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav a:61)
> >      [java]     at
> > org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
> > nerLoader.java:150)
> >      [java]     at
> > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader
.java:74)
> >      [java]     at
> > org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
[java]

> > at org.ofbiz.base.start.Start.init(Start.java:96)      [java]     at
> > org.ofbiz.base.start.Start.main(Start.java:412)      [java]
> > javax.naming.ServiceUnavailableException [Root exception is java.rmi
> > .ConnectException: Connection refused to host: 127.0.0.1; nested
> > exception is:      [java]     java.net.ConnectException: Connection
> > refused: connect]      [java]     at
> > com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> > ext.java:133)
> >      [java]     at
> > com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> > ext.java:138)
> >      [java]     at
> > javax.naming.InitialContext.rebind(InitialContext.java:363)
[java]
> > at org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWra
> > pper.java:185)
> >      [java]     at
> > javax.naming.InitialContext.rebind(InitialContext.java:363)
[java]
> > at org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaU
> > RLContext.java:264)
> >      [java]     at
> > javax.naming.InitialContext.rebind(InitialContext.java:363)
[java]
> > at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine
> > r.java:100)
> >      [java]     at
> > org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav a:61)
> >      [java]     at
> > org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
> > nerLoader.java:150)
> >      [java]     at
> > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader
.java:74)
> >      [java]     at
> > org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
[java]
> > at org.ofbiz.base.start.Start.init(Start.java:96)      [java]     at
> > org.ofbiz.base.start.Start.main(Start.java:412)      [java] Caused
by:
> > java.rmi.ConnectException: Connection refused to host: 12 7.0.0.1;
nested
> > exception is:
> >      [java]     java.net.ConnectException: Connection refused:
connect
> >      [java]     at
> > sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 567)
> >      [java]     at
> > sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.
java:185)
> >      [java]     at
> > sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.jav a:171)
> >      [java]     at
sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
> >      [java]     at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown
> > Source)      [java]     at
> > com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> > ext.java:131)
> >      [java]     ... 13 more
> >      [java] Caused by: java.net.ConnectException: Connection
refused:
> > connect      [java]     at
java.net.PlainSocketImpl.socketConnect(Native
> > Method)      [java]     at
> > java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
[java]
> > at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav
a:171)
> >      [java]     at
> > java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
[java]

> > at java.net.Socket.connect(Socket.java:452)
> >      [java]     at java.net.Socket.connect(Socket.java:402)
> >      [java]     at java.net.Socket.<init>(Socket.java:309)
> >      [java]     at java.net.Socket.<init>(Socket.java:124)
> >      [java]     at
> > sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(R
> > MIDirectSocketFactory.java:22)
> >      [java]     at
> > sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(R
> > MIMasterSocketFactory.java:128)
> >      [java]     at
> > sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 562)
> >      [java]     ... 18 more
> >      [java] org.ofbiz.base.container.ContainerException: Unable to
bind
> > UserTran saction/TransactionManager to JNDI (null)
> >      [java]     at
> > org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine
r.java:102)
> >      [java]     at
> > org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav a:61)
> >      [java]     at
> > org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
> > nerLoader.java:150)
> >      [java]     at
> > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader
.java:74)
> >      [java]     at
> > org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
[java]

> > at org.ofbiz.base.start.Start.init(Start.java:96)      [java]     at
> > org.ofbiz.base.start.Start.main(Start.java:412)      [java]
> > javax.naming.ServiceUnavailableException [Root exception is java.rmi
> > .ConnectException: Connection refused to host: 127.0.0.1; nested
> > exception is:      [java]     java.net.ConnectException: Connection
> > refused: connect]      [java]     at
> > com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> > ext.java:133)
> >      [java]     at
> > com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> > ext.java:138)
> >      [java]     at
> > javax.naming.InitialContext.rebind(InitialContext.java:363)
[java]
> > at org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWra
> > pper.java:185)
> >      [java]     at
> > javax.naming.InitialContext.rebind(InitialContext.java:363)
[java]
> > at org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaU
> > RLContext.java:264)
> >      [java]     at
> > javax.naming.InitialContext.rebind(InitialContext.java:363)
[java]
> > at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine
> > r.java:100)
> >      [java]     at
> > org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav a:61)
> >      [java]     at
> > org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
> > nerLoader.java:150)
> >      [java]     at
> > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader
.java:74)
> >      [java]     at
> > org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
[java]
> > at org.ofbiz.base.start.Start.init(Start.java:96)      [java]     at
> > org.ofbiz.base.start.Start.main(Start.java:412)      [java] Caused
by:
> > java.rmi.ConnectException: Connection refused to host: 12 7.0.0.1;
nested
> > exception is:
> >      [java]     java.net.ConnectException: Connection refused:
connect
> >      [java]     at
> > sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 567)
> >      [java]     at
> > sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.
java:185)
> >      [java]     at
> > sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.jav a:171)
> >      [java]     at
sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
> >      [java]     at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown
> > Source)      [java]     at
> > com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> > ext.java:131)
> >      [java]     ... 13 more
> >      [java] Caused by: java.net.ConnectException: Connection
refused:
> > connect      [java]     at
java.net.PlainSocketImpl.socketConnect(Native
> > Method)      [java]     at
> > java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
[java]
> > at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav
a:171)
> >      [java]     at
> > java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
[java]

> > at java.net.Socket.connect(Socket.java:452)
> >      [java]     at java.net.Socket.connect(Socket.java:402)
> >      [java]     at java.net.Socket.<init>(Socket.java:309)
> >      [java]     at java.net.Socket.<init>(Socket.java:124)
> >      [java]     at
> > sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(R
> > MIDirectSocketFactory.java:22)
> >      [java]     at
> > sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(R
> > MIMasterSocketFactory.java:128)
> >      [java]     at
> > sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 562)
> >      [java]     ... 18 more
> >      [java] javax.naming.ServiceUnavailableException [Root exception
is
> > java.rmi .ConnectException: Connection refused to host: 127.0.0.1;
nested
> > exception is:      [java]     java.net.ConnectException: Connection
> > refused: connect]      [java]     at
> > com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> > ext.java:133)
> >      [java]     at
> > com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> > ext.java:138)
> >      [java]     at
> > javax.naming.InitialContext.rebind(InitialContext.java:363)
[java]
> > at org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWra
> > pper.java:185)
> >      [java]     at
> > javax.naming.InitialContext.rebind(InitialContext.java:363)
[java]
> > at org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaU
> > RLContext.java:264)
> >      [java]     at
> > javax.naming.InitialContext.rebind(InitialContext.java:363)
[java]
> > at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine
> > r.java:100)
> >      [java]     at
> > org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav a:61)
> >      [java]     at
> > org.ofbiz.base.container.ContainerLoader.loadContainer(Contai
> > nerLoader.java:150)
> >      [java]     at
> > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader
.java:74)
> >      [java]     at
> > org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
[java]
> > at org.ofbiz.base.start.Start.init(Start.java:96)      [java]     at
> > org.ofbiz.base.start.Start.main(Start.java:412)      [java] Caused
by:
> > java.rmi.ConnectException: Connection refused to host: 12 7.0.0.1;
nested
> > exception is:
> >      [java]     java.net.ConnectException: Connection refused:
connect
> >      [java]     at
> > sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 567)
> >      [java]     at
> > sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.
java:185)
> >      [java]     at
> > sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.jav a:171)
> >      [java]     at
sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
> >      [java]     at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown
> > Source)      [java]     at
> > com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont
> > ext.java:131)
> >      [java]     ... 13 more
> >      [java] Caused by: java.net.ConnectException: Connection
refused:
> > connect      [java]     at
java.net.PlainSocketImpl.socketConnect(Native
> > Method)      [java]     at
> > java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
[java]
> > at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav
a:171)
> >      [java]     at
> > java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
[java]

> > at java.net.Socket.connect(Socket.java:452)
> >      [java]     at java.net.Socket.connect(Socket.java:402)
> >      [java]     at java.net.Socket.<init>(Socket.java:309)
> >      [java]     at java.net.Socket.<init>(Socket.java:124)
> >      [java]     at
> > sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(R
> > MIDirectSocketFactory.java:22)
> >      [java]     at
> > sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(R
> > MIMasterSocketFactory.java:128)
> >      [java]     at
> > sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 562)
> >      [java]     ... 18 more
> >      [java] Java Result: 99
> >
> > BUILD SUCCESSFUL
> > Total time: 55 seconds
>
>
>
> --
>  Sebastian Schirmer
>
>  ZYRES digital media systems GmbH
>  Eschersheimer Landstr. 5-7 60322 Frankfurt am Main
>  Phone +49 (0)69 98 55 99 - 0
>  Fax   +49 (0)69 98 55 99 - 11
>
>  Firmensitz: Eschersheimer Landstr. 5-7 60322 Frankfurt am Main
>  Registergericht: Amtsgericht Frankfurt am Main, HRB 76374
>  Geschäftsführer: Sebastian Schirmer
>
>  http://www.zyres.com/
>
> -- RFC|1855|2.1.1
>
>