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(
at com.evermind.server.rmi.RMIServer.getConnection(
at com.evermind.server.rmi.RMIInitialContextFactory.
at javax.naming.spi.NamingManager.getInitialContext(

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

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

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


Post a Comment

<< Home