ESB Test Example -
bobsmith Nov 3, 2006 6:26 AMI get an error starting JBoss when trying to run the ESB Test Example from the Getting Started Guide. I drop a ".inp" file into the input folder and the file is copied correctly but, not surprisingly, I got an exception when it was trying to send a notification - due to JBoss not running I guess.
However, when I try to start JBoss I get a deployment exception around the properties-service.xml in the deploy folder. The problem is the URLList - I'm not sure what it should be set to but this:
<attribute name="URLList"> http://localhost:8080/jbossEsb.properties, ./conf/jbossEsb.properties </attribute>
results in an exception:
Problem configuring service jboss:type=Service,name=SystemProperties org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@60029d on mbean jboss:type=Service,name=SystemProperties; - nested throwable: (java.net.ConnectException: Connection refused: connect) at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:698) ... Caused by: java.net.ConnectException: Connection refused: connect ...
I installed JBoss4.0.4 using jboss-4.0.4.GA-Patch1-installer.jar (selected esb3.0 as the InstallType, as instructed by the ESB Getting Started Guide).
I have installed the binary version of ESB (jbossesb-4.0Beta1MP1.zip), following the instructions in the readme.txt therein. I am trying to run the Test Example from the Getting Started Guide, so I amended the jbossEsb.properties in my JBoss/server//conf folder to:
org.jboss.soa.esb.mail.smtp.host=<ip of my mail provider>
org.jboss.soa.esb.mail.smtp.user= <valid email account>
org.jboss.soa.esb.mail.smtp.password=<correct password>
org.jboss.soa.esb.mail.smtp.port=587 (should I set this to 25?)
org.jboss.soa.esb.objStore.configfile=file:///C:/<my esb installation>/docs/samples/TestJBossESB/conf/ObjStoreExample.xml
Anyone know what I've got wrong?
Thanks
Bob