File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss and the fly likes Exploded Deployment in JBoss??? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "Exploded Deployment in JBoss???" Watch "Exploded Deployment in JBoss???" New topic
Author

Exploded Deployment in JBoss???

Paulo Aquino
Ranch Hand

Joined: Apr 29, 2002
Posts: 200
hi there ranchers! 'ope you can help me with this...This is bothering me for quite some time now.
Does JBoss permit "exploded" deployment of files, meaning i dont need to "ear" and "war" the files, i'll just copy the whole package?Ive already done this with Weblogic. I just want to know if anybody had already tried this kind of deployment? Thanks...


Be Afraid...Be very Afraid...
Thomas Meister
Greenhorn

Joined: Sep 24, 2003
Posts: 1
partially solution for:
jboss-3.2.1_tomcat-4.1.24
in file conf/jboss-service.xml:
<attribute name="URLs">
deploy/, <add some file:/-URL comma separated>
</attribute>
and:
in the defined additional deployment directory
your exploded web archive directorys name must
end with ".war" (-> JBoss-bug)
by-the-way:
alternate hot deployer mbean (URLDirectoryScanner)
mentionned in the end of jboss-service.xml-file
did not worked correctly (-> JBoss-bug)
Thomas
norman richards
Author
Ranch Hand

Joined: Jul 21, 2003
Posts: 364
You should be able to create a "myapp.war" or "something.ear" DIRECTORY and put your files in there. I do this all the time with JBoss and jetty. I don't use tomcat, so I can't verify the prior posters comment that you have to configure other things to make it work in that case. But, based on my understanding of how things work, it should work regardless of what web container you have plugged in...


[<a href="http://members.capmac.org/~orb/blog.cgi" target="_blank" rel="nofollow">blog</a>] [<a href="http://www.amazon.com/exec/obidos/ASIN/0596100078/orb-20" target="_blank" rel="nofollow">JBoss: A Developer's Notebook</a>] [<a href="http://www.amazon.com/exec/obidos/ASIN/1932394052/orb-20" target="_blank" rel="nofollow">XDoclet in Action</a>]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exploded Deployment in JBoss???
 
Similar Threads
Problem not loading a properties file
JBoss 5 Exploded and Incremental Deploy
Hot-deployment of java files
Deploying a dynamic web project output as folder in eclipse
Can we upload seperate module wise .war file instead of whole .war file?