From: Markus K. <ejb...@pr...> - 2013-01-25 21:11:12
|
On 2013-01-21 20:11, Marcos Fontana wrote: > Hi Markus, > > I changed the binding interface on SignServer_HOME, performed the ant clean > deploy and turned ON (i didn't found the -Djboss.bind.address in JAVA_OPTS > in JBOSS_HOME/bin/run.conf). but still getting the error's. If you didn't add the jboss.bind.address it will most likely not work. It can be added like this in JBOSS_HOME/bin/run.conf: JAVA_OPTS="$JAVA_OPTS -Djboss.bind.address=127.0.3.1" You should also check the interfaces in the server.xml-files. Then when starting the JBoss you will have to watch the output for the lines showing the bind address: Initializing Coyote HTTP/1.1 on http-127.0.3.1-8080 Initializing Coyote HTTP/1.1 on http-127.0.3.1-8442 Initializing Coyote HTTP/1.1 on http-127.0.3.1-8443 Initializing Coyote AJP/1.3 on ajp-127.0.3.1-18009 Then after making sure this is correct on both JBoss:es you try accessing the URLs in an web browser to see that SignServer and EJBCA are available only on respective instance: http://127.0.1.1:8080/ejbca http://127.0.2.1:8080/signserver Regarding the log you sent: It is hard to read inline in the e-mail and with the line wrapping. It is not really clear what your application is doing. Under the Java Error section you have an NullPointerException which seems to be in your code and you should probably fix that first. Under "SignServer Error" I don't see a single error message. However, some of the services like ajp-127.0.0.1 is probably binding to the wrong interface. There seems to be a mix of using different interfaces and of using different ports. I would go through all configuration one more time and make sure all output is correct before proceeding. Also test one JBoss at the time and start both at the same time first after you got them working individually. Best regards, Markus |