Hi all,
The docs/comments for the J2eeDeployer class states:
/** J2eeDeployer allows to deploy single EJB.jars as well as Web.wars
* (if a Servlet Container is present) or even Application.ears. <br>
* The deployment is done by determining the file type of the given url.
* The file must be a valid zip file or a directory and must contain either
a META-INF/ejb-jar.xml
* or META-INF/application.xml or a WEB-INF/web.xml file.
...
*/
However I have been unable to get it to watch a directory ! I can get a .jar
and .war file to work fine.
Using the MBean View for the autodeployer, I used the addURLs function to
add D:\temp\deploy.
Jboss responded with:
[Auto deploy] Watching D:\temp\deploy
I then created a WEB-INF directory, some jsp pages and a web.xml file under
d:\temp\deploy but nothing happens.
If I jar my stuff up as a war file and put it into d:\temp\deploy it
deploys fine.
I'm really keen on getting the deployment from directories working as it
will greatly ease application development especially with regards to JSP and
web development.
Anyone have any ideas ?
Jonathan
-------------------------------------------------------------------
Jonathan Ackerman Senior Consultant
Optimation Phone: +64 9 3075567
L4, Optimation House, Fax: +64 9 3097919
43 College Hill Rd, Mobile: +64 25 319307
Auckland, mailto:[EMAIL PROTECTED]
New Zealand http://www.optimation.co.nz/
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]