Has anybody managed to get Axis2 1.1 (or 1.0 for that matter) to work on JRun4? I have tried the following with limited success:
* Added the line <load-system-classes-first>false</load-system-classes-first> to jrun-web.xml After adding that entry and adding .aar files to the WEB-INF/services directory with the services.list file updated accordingly, the Axis2 server itself began working. However, the admin console does not work. The stack trace I am seeing during the axis2.war deployment is: 12/21 09:27:35 debug Starting axis2.war: Apache-Axis2 12/21 09:27:35 user JSPServlet: init 12/21 09:27:35 error Could not pre-load servlet: JSPServlet [1]java.lang.RuntimeException: Couldn't instantiate XML parser: java.lang.ClassCastException at jrun.jsp.compiler.JRunTagLibraryInfo.<clinit>(JRunTagLibraryInfo.java :92) at jrun.jsp.JSPEngine.initBuiltInTagLibrary(JSPEngine.java:183) at jrun.jsp.JSPEngine.<init>(JSPEngine.java:135) at jrun.jsp.JSPServlet.init(JSPServlet.java:62) at jrun.servlet.WebApplicationService.loadServlet( WebApplicationService.java:1204) at jrun.servlet.WebApplicationService.preloadServlets( WebApplicationService.java:762) at jrun.servlet.WebApplicationService.postStart( WebApplicationService.java:257) at jrun.deployment.DeployerService.initModules(DeployerService.java:711) at jrun.deployment.DeployerService.createWatchedDeployment( DeployerService.java:242) at jrun.deployment.DeployerService.deploy(DeployerService.java:430) at jrun.deployment.DeployerService.checkWatchedDirectories( DeployerService.java:179) at jrun.deployment.DeployerService.run(DeployerService.java:891) at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java :223) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable( ThreadPool.java:451) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) What is also strange is that any remaining war files that are deployed after axis2.war throw this stack trace: 12/21 09:27:41 debug Starting default-war: JRun Default Web Application - The default web application for JRun 12/21 09:27:41 user JSPServlet: init 12/21 09:27:41 error Could not pre-load servlet: JSPServlet java.lang.NoClassDefFoundError at jrun.jsp.JSPEngine.initBuiltInTagLibrary(JSPEngine.java:183) at jrun.jsp.JSPEngine.<init>(JSPEngine.java:135) at jrun.jsp.JSPServlet.init(JSPServlet.java:62) at jrun.servlet.WebApplicationService.loadServlet( WebApplicationService.java:1204) at jrun.servlet.WebApplicationService.preloadServlets( WebApplicationService.java:762) at jrun.servlet.WebApplicationService.postStart( WebApplicationService.java:257) at jrun.ea.EnterpriseApplication.start(EnterpriseApplication.java:203) at jrun.deployment.DeployerService.initModules(DeployerService.java:710) at jrun.deployment.DeployerService.createWatchedDeployment( DeployerService.java:242) at jrun.deployment.DeployerService.deploy(DeployerService.java:430) at jrun.deployment.DeployerService.checkWatchedDirectories( DeployerService.java:179) at jrun.deployment.DeployerService.run(DeployerService.java:891) at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java :223) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable( ThreadPool.java:451) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) I thought maybe this was a problem with the default JRun crimson parser conflicting with Xerces so I attempted to replace the built in parser with xerces by adding the following arguments to java.args in the VM configuration file: -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser- Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl- Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl It had no effect. Thanks in advance for any help ..
