Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Interest »

Re: Class Loading in Web Tier

Kevin Conner

2003-07-28


> I will try changing the sequence, and let you know the outcome.
> Just FYI, I am using WebSphere 5 and JBOSS 3.x as the app servers.

For JBoss you need to define a loader repository for your ear file.
The class loading scheme is very different from any other app server
I have come across. It takes a bit of getting use to but works
extremely well.

> The problem I am facing is... We are using Xerces API to do some
> xml parsing, but the parser is not able to find the class which
> it has to load from the war, say the DocumentClass which extends
> the DocumentImpl class of xerces. Have anyone faced such a problem
> with xerces.

> Please comment.

Why are you having to include xerces? Can you not just rely on the
JAXP apis? Try your application without xerces in your WEB-INF/lib
and see how you go.

    Kev

===========================================================================
To unsubscribe, send email to listserv@(protected)
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@(protected)".



©2008 junlu.com - Jax Systems, LLC, U.S.A.