Bugs item #1034031, was opened at 2004-09-24 06:23
Message generated for change (Comment added) made by starksm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1034031&group_id=22866

Category: JBossServer
Group: v4.0
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Maxim Petrashev (mpetrashev)
Assigned to: Nobody/Anonymous (nobody)
Summary: Class loading doesn't work properly

Initial Comment:
I configured jboss-app.xml:
<?xml version='1.0' encoding='UTF-8' ?>
<jboss-app>
<class-loading java2ClassLoadingCompliance="false"> 
<loader-repository> 
exo.dot.com:loader=exo.ear
<loader-repository-
config>java2ParentDelegation=false</loader-repository-
config> 
</loader-repository> 
</class-loading> 
</jboss-app>

putted my hibernate2.jar into my ear file and wrote 
test.jsp (in war from ear):
<%
=net.sf.hibernate.cfg.Configuration.class.getClassLoader
()%>

but received in browser:
[EMAIL PROTECTED] 
url=file:/C:/jboss-
4.0.0/server/standard/tmp/deploy/tmp10464jboss-
service.xml ,addedOrder=2} 

so, class from hibernate was loaded not from 
ear/hibernate.jar but from server/<server 
name>/lib/hibernate2.jar

I tested it as for "standard" server so for "default" 
server.

 

----------------------------------------------------------------------

Comment By: Scott M Stark (starksm)
Date: 2004-12-29 12:51

Message:
Logged In: YES 
user_id=175228

All issues have been moved to http://jira.jboss.com. Existing
issues have been moved. New issues will be closed with this
canned reponse.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1034031&group_id=22866


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to