This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
*Is the war file getting copied into default/deploy folder of JBoss?
* If its getting copied successful, try opening the war file manually and see if its giving some errors.
SCJP 5.0 and now fighting with ExtJS
Joined: Sep 01, 2008
I can manually extract the war file and see the project source as well as class files.The problem happens when i am running jboss.The error it points to is (Can you check for the location in Bold letters)
Failed to boot JBoss:
org.jboss.deployment.DeploymentException: url file:/home/jano/Softwares/jboss-4.0.4.GA/server/symbiounmail/conf/jboss-service.xml could not be opened, does it exist?
But i have my war file created in default folder(/jboss/server/default/deploy/symbiounmail.war)
I donot know where i am going wrong.Can anyone help to get a solution for this?
# 13:06:05,395 INFO [Server] Core system initialized
# Failed to boot JBoss:
# org.jboss.deployment.DeploymentException: url file:/home/jano/Softwares/jboss-4.0.4.GA/server/symbiounmail/conf/jboss-service.xml could not be opened, does it exist?
means that you started JBoss AS as:
./run.sh -c symbiounmail
but there is no such configuration as symbiounmail.
According to the ant script, you deployer you app to jboss_home/server/default/deploy. Therefore you should run it as simply:
Joined: Sep 01, 2008
Thanks Peter.You are right.Now i face some difficulty.I am using ./run.sh command to start my jboss.I am ending with an error.
I was browsing to get a solution ,but i couldnot.Can you please help me??
My path where i am deploying is /home/jano/Softwares/jboss-4.0.4.GA/server/default/deploy.
Inside this deploy folder, i am creating the symbiounmail.war file.When i extract that,i could see the WEB-INF folder,conf folder,Hibernate folder etc..This conf folder also has a jboss-service.xml file.As you say,i think the jboss-service.xml file in server/default/deploy/symbiounmail/conf folder and server/default/conf directory are conflicting.What should i do to make jboss error free and run successfully?
Get rid of the symbiounmail directory within the deploy directory. That is probably confusing the situation.
If you really want to deploy your app exploded, see this. Note that the exploded directory must be named symbiounmail.war, thus you cannot have both the WAR file and the exploded directory in the deploy directory at the same time.
And also,i only will manually extract symbiounmail.war file to check whether all the class files are created.I am new to use Jboss..Can you be little more specific in detail...You mean to say that instead of creating a war file,i should create a folder like symbiounmail.war [i saw the link you gave me..and saw the sample deploy/jmx-console.war]Even i tried in that way, i am getting an error..
,i only will manually extract symbiounmail.war file to check whether all the class files are created
This answers my question as to why the symbiounmail directory appeared, so ignore the link on exploded deployment. And if you need to extract the WAR file somewhere, do it somewhere other than the deploy directory because JBoss AS will attempt to deploy anything in the deploy directory. Which isp robably why you were getting errors.
With only the symbiounmail.war file in the deploy directory, does it work?
The best thing to do would be stop JBoss AS, move the symbiounmail.war file out of the deploy directory, start JBoss AS and once the startup is finished (wait for the "started in xxx seconds" message), and only if there are no errors on startup then move the symbiounmail.war file back into the deploy directory.
Joined: Sep 01, 2008
Now i have removed symbiounmail.war file from default/deploy folder.I have placed symbiuonmail.war file inside/home/jano/Softwares/jboss-4.0.4.GA/server/symbiounmail/deploy folder and then started JBOSS.I am getting the following error..