Configuration of JBoss AS installation directory in deployment.properties for ESB
trailblazers fails if a relative path is used or the path name contains spaces
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBESB-570
URL:
http://jira.jboss.com/jira/browse/JBESB-570
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Configuration
Affects Versions: 4.2 Milestone Release 2
Environment: Fedora Core 6
J2SE 5
Ant 1.6.5
Reporter: Pete Bennett
Assigned To: Mark Little
Priority: Minor
In the Quickstart guide and the Trailblazers, one needs to configure the
deployment.properties file to point at an installation of JBoss AS with EJB3 enabled.
If the path specified includes a space then things will seem to work, but when you try to
start up the JBoss AS server for the Quickstart example, you get an error in the JBoss AS
console Window when the ESB service tries to parse this pass as follows:
11:14:06,973 INFO [DatabaseInitializer] Initializing java:/juddiDB from listed sql files
11:14:07,166 INFO [JuddiRMIService] starting juddi RMI service
11:14:07,171 WARN [ServiceController] Problem starting service
jboss.esb:service=JuddiRMI
java.net.URISyntaxException: Illegal character in path at index 31:
file:/home/pbennett/JBoss/JBoss
ESB/4.2MR2/jbossesb-server/server/default/deploy/jbossesb.sar/esb.juddi.properties
at java.net.URI$Parser.fail(URI.java:2816)
at java.net.URI$Parser.checkChars(URI.java:2989)
at java.net.URI$Parser.parseHierarchical(URI.java:3073)
at java.net.URI$Parser.parse(URI.java:3021)
at java.net.URI.<init>(URI.java:578)
at
org.jboss.internal.soa.esb.dependencies.JuddiRMIService.startService(JuddiRMIService.java:63)
...
If you use a relative path rather than an absolute path, then the Quickstart example works
when run from the original directory but the other Trailblazer examples fail to find the
correct directory as they look relative to themselves rather than relative to the root.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira