-
1. Re: Why jboss takes this much time for starting?
juhalindfors Jul 22, 2003 5:52 AM (in response to anandan)It should not take 5 minutes unless your WAR files are very very large. Make sure you allocate enough heap for your JVM too.
You do not need to restart the server when you develop your WARs. JBoss will auto-deploy them from your deploy directory.
-- Juha -
2. Re: Why jboss takes this much time for starting?
juhalindfors Jul 22, 2003 6:02 AM (in response to anandan)If you're using exploded deployments you need to touch the META-INF/web.xml to force redeployment of your WAR directory.
-- Juha -
3. Re: Why jboss takes this much time for starting?
anandan Jul 22, 2003 8:32 AM (in response to anandan)hi,
I am a newbie to jboss and but have knowledge in Tomcat.
All changes made in jsp files are reflecting immediately but changes
in java files are not reflecting without restarting jboss.
I have already set JAVA_OPTS as follows in run.bat
set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME% -Xms100m -Xmx250m
I am not clear ablout exploded deployments and web.xml.I will be so
helpful to me if you explain them.
Thanks,
Vijayanand. -
4. Re: Why jboss takes this much time for starting?
juhalindfors Jul 22, 2003 8:44 AM (in response to anandan)Do you deploy your web applications as a single WAR file or as a *.war directory?
-- Juha -
5. Re: Why jboss takes this much time for starting?
anandan Jul 22, 2003 9:30 AM (in response to anandan)hi,
Thanks for your response.
yes I am deploying my web applications inside a *.war directory.
Any thing wrong?
thanks,
Vijayanand -
6. Re: Why jboss takes this much time for starting?
juhalindfors Jul 22, 2003 9:41 AM (in response to anandan)No.
When you want to force a redeploy of your web application you need to touch the web.xml file under the WEB-INF/ directory. You don't need to restart the whole server.
-- Juha -
7. Re: Why jboss takes this much time for starting?
scsbatu Jul 29, 2003 10:01 PM (in response to anandan)As far as i know the best answer for your problem is using a deploy tool like ant.(I have done that)
That means i only have to write the project (codes), and build.xml for the ant
then when i type ant in the same directory where the build.xml is in it will generate necessary *.jar,*.war and *.ear files.
and when i typed ant deploy it will copy to the necessay directories in the JBOSS
That means only i have to start the server only at once, can build and deploy many times
Suraj