You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by yoge <yo...@adventnet.com> on 2004/02/21 08:24:50 UTC

Reload Action Classes

Hi,

Iam using Tomcat 4.1.26 for my webapplication.
All the actions classes are present in WEB-INF/classes folder.
I have made the webapplication reloadable by using attribute 
reloadable="true" in server.xml file.

Whenever I recompile the Action classes the server throws ERROR 503 on 
subsequent requests.

What should I do to make the Action classes reloadable so that I dont 
have to restart my tomcat server for each and every modification in my 
action classes.

Thanks for your Help

--Yoge




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


Re: Log4J configuration -- Regarding

Posted by Richard Yee <ry...@cruzio.com>.
Send your log4j config file so we can take a look at it.

-R

At 07:08 AM 2/23/2004, you wrote:

>Hi All,
>
>I am trying to configure Log4j to your application.I am trying to configure
>with Log4j1.2.8 using xml file.
>
>I am getting the below error:
>[2/23/04 20:34:12:719 IST] 105af116 SystemErr     R log4j:ERROR Could not
>parse input source [org.xml.sax.InputSource@40ef3100].
>[2/23/04 20:34:12:719 IST] 105af116 SystemErr     R
>java.net.MalformedURLException: unknown protocol: dummy
>
>Please help me in gettign away with this.
>
>ThankYou
>
>VasudevRaoGupta
>
>
>Confidentiality Notice
>
>The information contained in this electronic message and any attachments 
>to this message are intended
>for the exclusive use of the addressee(s) and may contain confidential or 
>privileged information. If
>you are not the intended recipient, please notify the sender at Wipro or 
>Mailadmin@wipro.com immediately
>and destroy all copies of this message and any attachments.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org



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


R: Reload Action Classes

Posted by Leonardo Francalanci <lf...@simtel.ie>.
With Eclipse when you debug the tomcat application
each modification is reflected (via hot code replace)
to your web app. Of course things like adding a new method
don't work: in those cases I use the tomcat manager:

http://yourserver/manager/reload?path=/yourapp

I think all other IDEs (debuggers) have such a functionality.

Still can't get hot code replace to work with AspectJ, though.

> -----Messaggio originale-----
> Da: yoge [mailto:yogendrav@adventnet.com]
> Inviato: sabato 21 febbraio 2004 8.25
> A: Struts Users Mailing List
> Oggetto: Reload Action Classes
> 
> 
> Hi,
> 
> Iam using Tomcat 4.1.26 for my webapplication.
> All the actions classes are present in WEB-INF/classes folder.
> I have made the webapplication reloadable by using attribute 
> reloadable="true" in server.xml file.
> 
> Whenever I recompile the Action classes the server throws ERROR 503 on 
> subsequent requests.
> 
> What should I do to make the Action classes reloadable so that I dont 
> have to restart my tomcat server for each and every modification in my 
> action classes.
> 
> Thanks for your Help
> 
> --Yoge
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 

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


Log4J configuration -- Regarding

Posted by Vasudevrao Gupta <va...@wipro.com>.
Hi All,

I am trying to configure Log4j to your application.I am trying to configure
with Log4j1.2.8 using xml file.

I am getting the below error:
[2/23/04 20:34:12:719 IST] 105af116 SystemErr     R log4j:ERROR Could not
parse input source [org.xml.sax.InputSource@40ef3100].
[2/23/04 20:34:12:719 IST] 105af116 SystemErr     R
java.net.MalformedURLException: unknown protocol: dummy

Please help me in gettign away with this.

ThankYou

VasudevRaoGupta


Confidentiality Notice 

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.

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