This content has been marked as final.
Show 1 reply
-
1. Re: Starting JBoss AS programmatically.
hdmonty Apr 3, 2008 1:15 PM (in response to hdmonty)I could solve this problem.
The EJB3Deployer needs the persistence.properties. And if there no persistence.properties then gives the NullPointerException.
Now I have an other problem:
I use the port-bindings.xml for binding dynamic port numbers. That works fine except the jndi-port is mulish. For any reason the defaultInitCtx has still the property: java.naming.provider.url=localhost:1099. The port 1099 is not aviable and the rebind failed.
I think the defaultcontext comes from the jndi.properties of the twiddle.jar in jboss.home/bin-folder.
Has anyone an idea?
how does I start the server from my client in the right way?
(It should start in the same VM and in should able to start more than one clients.)