Some 'more, in-depth' information on Oracle BPEL PM, ESB and other SOA, day2day things

Wednesday, March 22, 2006

BPEL: java.lang.NullPointerException: domain was null

Today 2 colleaques from different departments reported the following..

When we try to connect to a BPEL server from a j2ee application we get the following

java.lang.Exception: Failed to create "ejb/collaxa/system/DomainManagerBean" bean;
exception reported is: "java.lang.NullPointerException: domain was null
at com.evermind.server.rmi.RMIServer.addNode(RMIServer.java:779)
at com.evermind.server.rmi.RMIServer.getConnection(RMIServer.java:848)
at com.evermind.server.rmi.RMIInitialContextFactory.
getInitialContext(RMIInitialContextFactory.java:206)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)


if we try the same from a local java app an connect to a standalone server, everything works fine ..

The solution:
setting the following property before using the Locator API
props.setProperty("dedicated.rmicontext","true");

Locator locator = new Locator("default","bpel", props);

Having questions? send your feedback on BPEL: java.lang.NullPointerException: domain was null here

0 Comments:

Post a Comment

<< Home