When starting JBoss, TomcatDeployment starts to load Mule, but after a short time nothing more happens. After about 30 min. a "java.lang.OutOfMemoryError: GC overhead limit exceeded" occurs. See the attached +jboss_log.txt+ file.
*My JBoss memory config is as follows (but I don't think that causes the problem):-Xms256M -Xmx640M -XX:MaxPermSize=384M.
*The structure of my mule.war is as shown in the attached +mule_war.png+ file
*The configuration file for the web archive is as shown in the attached +web.xml+ file
*The mule configuration file is as shown in the attached file +mule-config.xml+ file (the configuration is simplified to make sure it is not the cause of the problem - I have also tried simpler/more complex ones)
*I also had to put libraries from +mule/lib/opt+ and +mule/lib/mule+ into +jboss/server/default/lib+ to remove numerous ClassNotFoundExceptions (see attached +jboss-server-default-lib.png+ file)
PS! The more complex mule-configuration I tried first, works perfectly well on a standalone mule installation...
Can anybody please tell me what I'm doing wrong?
set JAVA_OPTS=%JAVA_OPTS% -Xms256m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Unfortunately, the xslt transformation (that worked in Mule standalone) does not work, but I guess that has something to do with the following warning:
{code}
12:32:41,056 WARN [XsltTransformer] Preferred Transfomer Factory net.sf.saxon.TransformerFactoryImpl not on classpath and no default is set, defaulting to JDK
{code}
So I will add the saxon transformer and try again
See the attached file for the content of the web archive.
To find out which libraries to include, I included one library, started JBoss, looked for the ClassNotFoundException, added another library, and so on.
To search for the library containing the class, i used [JarScan|http://www.inetfeedback.com/jarscan]
Some of the errors I got was different, like:
{code}
09:51:40,626 ERROR [STDERR] Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate NamespaceHandler for namespace [http://www.mulesoft.org/schema/mule/jms]
Offending resource: resources/config/mule-config.xml
{code}
I then looked for a Mule library matching the url in the errormessage, in this case jms - which meant I was missing +mule-transport-jms-3.0.1.jar+