You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by ja...@external.t-mobile.at on 2008/07/29 13:11:08 UTC

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 <Ma...@thomsonreuters.com> 
07/29/2008 11:41
Bitte antworten an
users@cxf.apache.org


An
users@cxf.apache.org
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.

 



Antwort: RE: Antwort: Classloader pb with Spring [Virus checked]

Posted by ja...@external.t-mobile.at.
of course you can change it to whatever you want.




jan.minaroviech@external.t-mobile.at 
07/29/2008 13:37
Bitte antworten an
users@cxf.apache.org


An
users@cxf.apache.org
Kopie
users@cxf.apache.org
Thema
Antwort: RE: Antwort: Classloader pb with Spring  [Virus checked]






dot.com is Domain name (section in JMX console in which loaders will be 
displayed)





Maxime Orain <Ma...@thomsonreuters.com> 
07/29/2008 13:30
Bitte antworten an
users@cxf.apache.org


An
users@cxf.apache.org
Kopie

Thema
RE: Antwort: Classloader pb with Spring  [Virus checked]






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: jan.minaroviech@external.t-mobile.at
[mailto:jan.minaroviech@external.t-mobile.at] 
Sent: 29 July 2008 13:11
To: users@cxf.apache.org
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 <Ma...@thomsonreuters.com> 
07/29/2008 11:41
Bitte antworten an
users@cxf.apache.org


An
users@cxf.apache.org
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.

 








Antwort: RE: Antwort: Classloader pb with Spring [Virus checked]

Posted by ja...@external.t-mobile.at.
dot.com is Domain name (section in JMX console in which loaders will be 
displayed)





Maxime Orain <Ma...@thomsonreuters.com> 
07/29/2008 13:30
Bitte antworten an
users@cxf.apache.org


An
users@cxf.apache.org
Kopie

Thema
RE: Antwort: Classloader pb with Spring  [Virus checked]






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: jan.minaroviech@external.t-mobile.at
[mailto:jan.minaroviech@external.t-mobile.at] 
Sent: 29 July 2008 13:11
To: users@cxf.apache.org
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 <Ma...@thomsonreuters.com> 
07/29/2008 11:41
Bitte antworten an
users@cxf.apache.org


An
users@cxf.apache.org
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.

 







RE: Antwort: Classloader pb with Spring [Virus checked]

Posted by Maxime Orain <Ma...@thomsonreuters.com>.
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: jan.minaroviech@external.t-mobile.at
[mailto:jan.minaroviech@external.t-mobile.at] 
Sent: 29 July 2008 13:11
To: users@cxf.apache.org
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 <Ma...@thomsonreuters.com> 
07/29/2008 11:41
Bitte antworten an
users@cxf.apache.org


An
users@cxf.apache.org
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.