[jboss-dev-forums] [Design of JBoss ESB] - Re: ESB4.x/AS 5 classloading
beve
do-not-reply at jboss.com
Thu Apr 23 22:46:22 EDT 2009
Since the forums have been down I've made some progress on this.
The classloading issue that I reported previously was a configuration error on my part. I had created jboss-structure.xml files for our services.
<structure>
| <context>
| <path name=""/>
| <metaDataPath>
| <path name="META-INF"/>
| </metaDataPath>
| <classpath>
| <path name=""/>
| </classpath>
| </context>
| </structure>
I was assuming that this would include all files in the root of the the deployment archive but it seems that I need to specify that jars are to be included. Adding <path name="" suffixes=".jar"/>
to the classpath worked.
The complete jboss-structure.xml now looks like this:
<structure>
| <context>
| <path name=""/>
| <metaDataPath>
| <path name="META-INF"/>
| </metaDataPath>
| <classpath>
| <path name=""/>
| <path name="" suffixes=".jar"/>
| </classpath>
| </context>
| </structure>
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226404#4226404
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226404
More information about the jboss-dev-forums
mailing list