I'm running JForum on Jboss-4.2.2.GA with MySql, and i have a couple of issues:
1. i'm unable to deploy the WAR file at all, but if i copy the binary package under a directory named "JForum.war" Jboss is perfectly deploy it. any guess why?
2. Since i can't deploy a WAR with JBOSS, i've set the ANT "deploy-dev" task to copy the compiled classes and the
the resources to the right place in the "JForum.war" directory in JBoss deploy.
each time i do that , i get the next errors in JBoss
and from that point i cant access the jforum on my Jboss anymore, because i get the next error (in the client)
and the following message in the JBoss
the weird part is , that if i shutdown and restart JBoss , everything is deployed just fine! can i please get some help with that?
The "touch" command I was referring is in Linux/UNIX type OS (that is the command: touch filename). My JBoss experience is in the Linux world and I don't know if re-saving the web.xml file would be enough to change the date/time and kick off a redeploy in JBoss under Windows.
What happens in Linux is that JBoss will often start deploying your files before the copy has completed. So, not all of the files get deployed. Refreshing the date/time stamp on the web.xml file will trigger a new deploy in JBoss, getting the files the 1st deploy may have missed.
This may or may not work in your situation since you are running JBoss under Windows ... but it is worth a try!
After you do step #4 in your list, I would open the web.xml file from the WEB-INF dir and re-save it to see it that kicks off a new deployment. [originally posted on jforum.net by GatorBait3]
Well, I don't use JBoss so I'm just guessing here...
From the stacktrace, it seems like the problem is that JBoss is trying to use one of it's own classes (org.jboss.mx.util.JMXExceptionDecoder) and not finding it. Or maybe there are multiple versions available and the security rules are causing this.
You might look for duplicate JBoss libraries at the system and webapp level. Then remove them from the webapp level.
Does JBoss have a way to just reload a single webapp? I know that Tomcat can do this via it's manager/html webapp. Maybe you need to redeploy, then reload the webapp to get it to work. This would be have less impact than restarting the entire JBoss engine. [originally posted on jforum.net by monroe]
And you are getting this error even if you stop and restart JBoss?
Do you have any other applications running under this JBoss instance? If so, any issues with them?
And after looking at your old post, I never had to do step #2 ... I just made a JForum.war directory in the JBoss web app directory and copied the extracted files from the JForum.war file into that directory. Then either bouncing JBoss or touching the web.xml file deploys the app in JBoss. [originally posted on jforum.net by GatorBait3]