Hi,

I'm using JBoss 4.0 on Windows 2000 with JDK 1.4.2. I'm tring to deploy a web 
application that uses hibernate. This application has the hibernate 2.1 jar in it's 
web-inf/lib directory. The deployment is going to the standard server on Jboss. In the 
standard servers jbossweb-tomcat50.sar directory I have set the in the 
jboss-server.xml file the following parameters:

Java2ClassLoadingCompliance to true
UseJBossWebLoader to false

I have also added a jboss-web.xml file to the web-inf directory of the deployment as 
follows:

<jboss-web>
<context-root>xplanner</context-root>
<class-loading java2ClassLoadingCompliance="false">
<loader-repository>
      xplanner:loader=xplanner.war
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>
</jboss-web>

In the standard server there is a hibernate.jar file in the lib directory. What I 
thought would happen with this configuration is that the hibernate.jar file in the web 
app's lib directory would be used as opposed to the one in the standard servers lib 
directory. This is not happening. The hibernate.jar from the standard servers lib 
directory is being used. This is causing other class loading issues (NoClassdefFound).

Is this the correct configuartion? 

Thanks


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852778#3852778

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852778


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to