I can shutdown JBoss, but when start again I get this: ================================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /export/home/jboss-3.2.3
JAVA: /export/home/java/jdk1.5.0/bin/java
JAVA_OPTS: -server -Dprogram.name=run.sh
CLASSPATH: /export/home/jboss-3.2.3/bin/run.jar:/export/home/java/jdk1.5.0/lib/tools.jar
================================================================================
16:46:31,730 INFO [Server] Starting JBoss (MX MicroKernel)...
16:46:31,734 INFO [Server] Release ID: JBoss [WonderLand] 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200403261053)
16:46:31,735 INFO [Server] Home Dir: /export/home/jboss-3.2.3
16:46:31,735 INFO [Server] Home URL: file:/export/home/jboss-3.2.3/
16:46:31,736 INFO [Server] Library URL: file:/export/home/jboss-3.2.3/lib/
16:46:31,739 INFO [Server] Patch URL: null
16:46:31,739 INFO [Server] Server Name: default
16:46:31,740 INFO [Server] Server Home Dir: /export/home/jboss-3.2.3/server/default
16:46:31,741 INFO [Server] Server Home URL: file:/export/home/jboss-3.2.3/server/default/
16:46:31,741 INFO [Server] Server Data Dir: /export/home/jboss-3.2.3/server/default/data
16:46:31,742 INFO [Server] Server Temp Dir: /export/home/jboss-3.2.3/server/default/tmp
16:46:31,743 INFO [Server] Server Config URL: file:/export/home/jboss-3.2.3/server/default/conf/
16:46:31,785 INFO [Server] Server Library URL: file:/export/home/jboss-3.2.3/server/default/lib/
16:46:31,788 INFO [Server] Root Deployment Filename: jboss-service.xml
16:46:31,799 INFO [Server] Starting General Purpose Architecture (GPA)...
Failed to boot JBoss:
javax.management.InstanceNotFoundException: JMImplementation:service=LoaderRepository,name=Default
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:804)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:499)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:335)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:595)
Pavel Kolesnikov wrote:
Greg,
could you please explain this a bit more? I'm curious about it, because
I'm running multiple Struts based application on JBoss without
this setting and I've never encountered any problems with mysterious ServletExceptions.
BWT I've just tried to deploy struts-examples on a vanilla JBoss 4.0.1 installation and everything works OK.
Pavel
On Thu, 20 Jan 2005 15:02:46 -0600, Greg Dunn <[EMAIL PROTECTED]> wrote:
For Struts apps on Jboss you need to make sure you set the 'Java2ClassLoadingCompliance' flag to "false" indicating the servlet 2.3 web container first model should be used over the normal Java2 parent first class loading model.
<attribute name="Java2ClassLoadingCompliance">false</attribute>
In Jboss 4.x this is in the file
.../deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml
In Jboss 3.x it's in the file 'tomcat41-service.xml' in .../deploy
Greg
-----Original Message----- From: Alex Kravets [mailto:[EMAIL PROTECTED] Sent: Thursday, January 20, 2005 2:22 PM To: Struts Users Mailing List Subject: installing Struts on JBoss
Are there any special requirements to install and run Struts applications on JBoss? I istalled JBoss on Tomcat and have been able to run Struts applications w/o any problems. Same application on JBoss gives me Servlet Exception. I would try mailing lists/forums for JBoss, but I find them not especially active.
thanks, Alex
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]