Hi,
I am working on migrating 13 applications from TSG to ISScloud environment. There is one
application called "publib" is giving an issue.
We have web service SOAP request in publib application, it is connecting MWP and
downloading xml file. If i access the url I got below exception in the browser. It seems
to be the class is not loading and also pointing to other application war file
(ecatalog.war)
2014-01-06 01:35:37,140 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/publibrary].[speedi]]
(http-3.64.76.204-8080-4) Servlet.service() for servlet speedi threw exception
1. java.lang.ClassNotFoundException: javax.xml.messaging.Endpoint from
BaseClassLoader@4253c155{vfszip:/app/instances/jboss/packages/jboss-eap-5.1.2_linux64_1.06/jboss-as/server/alelnappld02e/content/ecatalog.war/}
(
https://130.1.30.55/owa/redir.aspx?C=3fb26061eb724413b8161c034d94da60&...)
at
org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:477)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.ge.appl.ts.messaging.TSMessageHandlerFactory.createHandler(Unknown
Source)
at ge.geis.PubLib.GetPublications.getPublications(GetPublications.java:148)
at ge.geis.PubLib.SpeediServlet.doGet(SpeediServlet.java:39)
I have done R & D on this issue, finally we have concluded that it is the problem with
jboss-classloading.xml file. If i delete jboss-classloading.xml file from the application,
the functionality is working fine. But it is impacting on the other applications logging
mechanism. The loggers for other applications is logging into server.log file instead of
application specific log file.
Here is the jboss-classloading.xml which has used in all the applications.
<classloading xmlns="urn:jboss:classloading:1.0"
name="publib.war"
parent-first="false"
domain="DefaultDomain"
top-level-classloader="true"
parent-domain="Ignored"
export-all="NON_EMPTY"
import-all="true">
</classloading>
There are around 13 applications in the ISS server, so if we remove one application
(publib) jboss-classloading.xml file, it is impacting on the other application logging
mechanism.
We need help to resolve the issue.
Thanks,
Bayapu Reddy
Posted by forums
Original post:
https://community.jboss.org/message/854161#854161