Ok but what s represents the "dot.com" ? I don t understand this part.
<jboss-web>
        <class-loading>
                <loader-repository> 
                dot.com:loader=UNIQUE_NAME
                </loader-repository> 
        </class-loading>
</jboss-web>

Thanks to explain me.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: 29 July 2008 13:11
To: [email protected]
Subject: Antwort: Classloader pb with Spring [Virus checked]

Hi,

If it's ok for you to isolate EARS/WARS from each other, then it should
be 
simple.
But how to do it depends on application server you are using - 
unfortunatelly it's not part of j2ee spec.

e.g. for jboss it enough to add 
WEB-INF/jboss-web.xml to each deployed WAR (except these which are
packed 
in EAR)
<jboss-web>
        <class-loading>
                <loader-repository> 
                dot.com:loader=UNIQUE_NAME
                </loader-repository> 
        </class-loading>
</jboss-web>

for EARS 
META-INF/jboss-app.xml

<jboss-app>
        <loader-repository>
        com.example:loader=UNIQUE_NAME
        </loader-repository>
</jboss-app>

best regards
jano




Maxime Orain <[EMAIL PROTECTED]> 
07/29/2008 11:41
Bitte antworten an
[email protected]


An
[email protected]
Kopie

Thema
Classloader pb with Spring  [Virus checked]






Hello to all.

 

I've got a problem on my application server.

 

I've got several EAR which are running with spring 2.5.

 

I try to put my fresh created CXF WAR (which contains spring 2.0.8) on
my jboss and during the deployment I got this error:

"11:22:33,066 ERROR [[/helloworld]] Servlet /helloworld threw load()
exception

java.lang.IllegalArgumentException: Class
[org.springframework.scripting.config.LangNamespaceHandler] does not
implement the NamespaceHandler interface"

 

I saw that is a classloader problems but I don't know how to configure
the classloader on jboss anyone can help me on this topic?

 

Thanks.

 

Max.

 



Reply via email to