regarding integration of ofbiz

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

regarding integration of ofbiz

Raj-18
Hi all

 

I setup RMIclient program  to invoke the ofbiz dispatcher for other
application interact with ofbiz framework ,but I cann't get through this
,plz help me how do get this ?

 

Here I listed log error

 

 

java.rmi.NotBoundException: RMIDispatcher

      at
org.objectweb.carol.jndi.registry.ManageableRegistry.lookup(ManageableRegist
ry.java:130)

      at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)

      at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:342)

      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:207)

      at sun.rmi.transport.Transport$1.run(Transport.java:148)

      at java.security.AccessController.doPrivileged(Native Method)

      at sun.rmi.transport.Transport.serviceCall(Transport.java:144)

      at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)

      at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7
01)

      at java.lang.Thread.run(Thread.java:534)

      at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC
all.java:247)

      at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)

      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:350)

      at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)

      at java.rmi.Naming.lookup(Naming.java:84)

      at src.ExampleRemoteClient.<init>(ExampleRemoteClient.java:25)

      at src.ExampleRemoteClient.main(ExampleRemoteClient.java:42)

java.lang.NullPointerException

      at src.ExampleRemoteClient.runTestService(ExampleRemoteClient.java:38)

      at src.ExampleRemoteClient.main(ExampleRemoteClient.java:43)

Exception in thread "main"

 

 

 

 

Regards

P.Raj

 

Reply | Threaded
Open this post in threaded view
|

Re: regarding integration of ofbiz

BJ Freeman
if you got to the www.ofbiz.org, you will redirected to the new site.
on the page is a link to the old wiki.
do a search for rmi
see if you get your help there.


Raj sent the following on 7/3/2006 8:09 PM:

> Hi all
>
>  
>
> I setup RMIclient program  to invoke the ofbiz dispatcher for other
> application interact with ofbiz framework ,but I cann't get through this
> ,plz help me how do get this ?
>
>  
>
> Here I listed log error
>
>  
>
>  
>
> java.rmi.NotBoundException: RMIDispatcher
>
>       at
> org.objectweb.carol.jndi.registry.ManageableRegistry.lookup(ManageableRegist
> ry.java:130)
>
>       at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
>
>       at
> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:342)
>
>       at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:207)
>
>       at sun.rmi.transport.Transport$1.run(Transport.java:148)
>
>       at java.security.AccessController.doPrivileged(Native Method)
>
>       at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
>
>       at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
>
>       at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7
> 01)
>
>       at java.lang.Thread.run(Thread.java:534)
>
>       at
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC
> all.java:247)
>
>       at
> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
>
>       at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:350)
>
>       at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
>
>       at java.rmi.Naming.lookup(Naming.java:84)
>
>       at src.ExampleRemoteClient.<init>(ExampleRemoteClient.java:25)
>
>       at src.ExampleRemoteClient.main(ExampleRemoteClient.java:42)
>
> java.lang.NullPointerException
>
>       at src.ExampleRemoteClient.runTestService(ExampleRemoteClient.java:38)
>
>       at src.ExampleRemoteClient.main(ExampleRemoteClient.java:43)
>
> Exception in thread "main"
>
>  
>
>  
>
>  
>
>  
>
> Regards
>
> P.Raj
>
>  
>
>
Reply | Threaded
Open this post in threaded view
|

Re: regarding integration of ofbiz

Brett
In reply to this post by Raj-18
Raj,

RMI is pretty good for server to server communication, but you need to
set any of the services you are calling to export="true" in the
service definition.

Brett

On 7/3/06, Raj <[hidden email]> wrote:

> Hi all
>
>
>
> I setup RMIclient program  to invoke the ofbiz dispatcher for other
> application interact with ofbiz framework ,but I cann't get through this
> ,plz help me how do get this ?
>
>
>
> Here I listed log error
>
>
>
>
>
> java.rmi.NotBoundException: RMIDispatcher
>
>       at
> org.objectweb.carol.jndi.registry.ManageableRegistry.lookup(ManageableRegist
> ry.java:130)
>
>       at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
>
>       at
> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:342)
>
>       at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:207)
>
>       at sun.rmi.transport.Transport$1.run(Transport.java:148)
>
>       at java.security.AccessController.doPrivileged(Native Method)
>
>       at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
>
>       at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
>
>       at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7
> 01)
>
>       at java.lang.Thread.run(Thread.java:534)
>
>       at
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC
> all.java:247)
>
>       at
> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
>
>       at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:350)
>
>       at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
>
>       at java.rmi.Naming.lookup(Naming.java:84)
>
>       at src.ExampleRemoteClient.<init>(ExampleRemoteClient.java:25)
>
>       at src.ExampleRemoteClient.main(ExampleRemoteClient.java:42)
>
> java.lang.NullPointerException
>
>       at src.ExampleRemoteClient.runTestService(ExampleRemoteClient.java:38)
>
>       at src.ExampleRemoteClient.main(ExampleRemoteClient.java:43)
>
> Exception in thread "main"
>
>
>
>
>
>
>
>
>
> Regards
>
> P.Raj
>
>
>
>
>