You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ramiro Alba Queipo <ra...@cttc.upc.edu> on 2005/02/23 14:37:46 UTC

(Re)deploying at development cycle

Hello everybody:
 
I am developing a web application for tomcat 5.0.28 and I
created a build.xml for ant by following the guidelines explained
at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html.
 
What is the optimal and fastest method to redeploy the aplication
again an again when changing *.java or *.jsp at the development
cycle?:
 
    a) ant deploy (undeploy + deploy) -> slow
    b) ant install:
       1) ant restart (stop + start)
       2) ant reload
 
I read FAQs carefully and dived into the mailing list archive and
I know about de growing memory when reloading the application until
tomcats send a java.lang.OutOfMemory exception, but:
 
Is there a way of avoiding getting to this situation and not having
to restart tomcat every now and then?.
 
Thanks in advance
 
Regards



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: trying with my first site on Tomcat with IIS

Posted by David IBARRA ROSALES <da...@edu3000.com.ar>.
Thanks Viorel

you are a smart boy ! I 'had forgotten about google and jakarta.apache.org
site .
really thanks ! but I came from there...


----- Original Message ----- 
From: "Viorel Dragomir" <vd...@wylog.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, February 23, 2005 11:21 AM
Subject: Re: trying with my first site on Tomcat with IIS


Try with google.
You can find an how to on jakarta.apache.org site.

Or you can ask your friends.



Viorel Dragomir

.
..
-------------------------------------------------------------------



----- Original Message ----- 
From: David IBARRA ROSALES
To: Tomcat Users List
Sent: Wednesday, February 23, 2005 16:22
Subject: trying with my first site on Tomcat with IIS


Hi everybody

I've created a folder called "test" on "webapps" and a website on IIS
(include ISAPI and virtual directory jakarta) with the same target.
when i call with  http://localhost:8080/test/test.jsp works,  but when i
call it on the browser:   http://localhost/test.jsp , does not work.
need I to do  any change in server.xml or uriworkermap.properties every time
that i add a site?


test.jsp
---------------------------------
<html>
<head>
<title>First JSP page.</title>
</head>
<body>
<%="Hello JSP"%>
</body>
</html>
-----------------------------------

thanks in advance
David


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: trying with my first site on Tomcat with IIS

Posted by Viorel Dragomir <vd...@wylog.com>.
Try with google.
You can find an how to on jakarta.apache.org site.

Or you can ask your friends.



Viorel Dragomir

.
..
-------------------------------------------------------------------



----- Original Message ----- 
From: David IBARRA ROSALES 
To: Tomcat Users List 
Sent: Wednesday, February 23, 2005 16:22
Subject: trying with my first site on Tomcat with IIS


Hi everybody

I've created a folder called "test" on "webapps" and a website on IIS
(include ISAPI and virtual directory jakarta) with the same target.
when i call with  http://localhost:8080/test/test.jsp works,  but when i
call it on the browser:   http://localhost/test.jsp , does not work.
need I to do  any change in server.xml or uriworkermap.properties every time
that i add a site?


test.jsp
---------------------------------
<html>
<head>
<title>First JSP page.</title>
</head>
<body>
<%="Hello JSP"%>
</body>
</html>
-----------------------------------

thanks in advance
David


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

Re: trying with my first site on Tomcat with IIS

Posted by Matt <mk...@camden.rutgers.edu>.
You may just need to add a line like:
/test/*=ajp13w
...or similar, to your uriworkermap.properties file.

You shouldn't need to add a context to server.xml if you're putting
this in $CATALINA_HOME/webapps, though I may be mistaken as I am
wrapping-up my own learning curve on this.

Thanks,
-Matt


On Wed, 23 Feb 2005, David IBARRA ROSALES wrote:

> Hi everybody
>
> I've created a folder called "test" on "webapps" and a website on IIS
> (include ISAPI and virtual directory jakarta) with the same target.
> when i call with  http://localhost:8080/test/test.jsp works,  but when i
> call it on the browser:   http://localhost/test.jsp , does not work.
> need I to do  any change in server.xml or uriworkermap.properties every time
> that i add a site?
>
>
> test.jsp
> ---------------------------------
> <html>
> <head>
> <title>First JSP page.</title>
> </head>
> <body>
> <%="Hello JSP"%>
> </body>
> </html>
> -----------------------------------
>
> thanks in advance
> David
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


Matthew Kozak
Rutgers University-Camden
mkozak@camden.rutgers.edu

**************************************************************************
 "They that can give up essential liberty to obtain a little temporary
	safety deserve neither liberty nor safety."  -Ben Franklin
**************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


trying with my first site on Tomcat with IIS

Posted by David IBARRA ROSALES <da...@edu3000.com.ar>.
Hi everybody

I've created a folder called "test" on "webapps" and a website on IIS
(include ISAPI and virtual directory jakarta) with the same target.
when i call with  http://localhost:8080/test/test.jsp works,  but when i
call it on the browser:   http://localhost/test.jsp , does not work.
need I to do  any change in server.xml or uriworkermap.properties every time
that i add a site?


test.jsp
---------------------------------
<html>
<head>
<title>First JSP page.</title>
</head>
<body>
<%="Hello JSP"%>
</body>
</html>
-----------------------------------

thanks in advance
David


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org