You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by mi...@ps.ge.com on 2003/02/06 20:58:49 UTC

RE: [Q] How to tell Struts to ReLoad (reread) struts-config.xml? - solved

Hello,

I found solution for WebLogic 6.1, but it will work with expanded Web
Application format - that I use for development anyway.

create REDEPLOY file in WEB-INF folder then touch it when  you will need
reload your application.

p.s. I'm still looking for solution how to deploy ear / war to WebLogic that
WebLogic expand it later.

tnx

-----Original Message-----
From: Durham David Cntr 805CSS/SCBE [mailto:David.Durham1@scott.af.mil]
Sent: Thursday, February 06, 2003 10:48 AM
To: Struts Users Mailing List
Subject: RE: [Q] How to tell Struts to ReLoad (reread)
struts-config.xml?


If you're using Tomcat, I think the manager app is the fastest way to reload
struts classes and configuration files.  Still requires some kind of action
besides modifying your files.



> -----Original Message-----
> From: michael.korolyov@ps.ge.com [mailto:michael.korolyov@ps.ge.com]
> Sent: Thursday, February 06, 2003 12:43 PM
> To: struts-user@jakarta.apache.org
> Subject: RE: [Q] How to tell Struts to ReLoad (reread)
> struts-config.xml?
> 
> 
> nope - It doesn't work with WebLogic ...
> 
> tnx
> 
> 
> -----Original Message-----
> From: James Mitchell [mailto:jmitchell@apache.org]
> Sent: Thursday, February 06, 2003 10:13 AM
> To: Struts Users Mailing List
> Subject: Re: [Q] How to tell Struts to ReLoad (reread)
> struts-config.xml?
> 
> 
> Not sure about WebLogic, but if you are working with an 
> expanded webapp in
> JBoss, you can just touch the web.xml and it auto-reloads the app.
> 
> 
> --
> James Mitchell
> 
> 
> 
> 
> 
> ----- Original Message -----
> From: <mi...@ps.ge.com>
> To: <st...@jakarta.apache.org>
> Sent: Thursday, February 06, 2003 1:02 PM
> Subject: [Q] How to tell Struts to ReLoad (reread) struts-config.xml?
> 
> 
> > Hello,
> >
> > I'd like make some changes in struts-congis.xml like a add 
> new action or
> > etc. and apply those changes without restart WebLogic.
> >
> > tnx
> >
> > Best Regards.
> > Michael.
> >
> >
> > 
> ---------------------------------------------------------------------
> > 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
> 
> ---------------------------------------------------------------------
> 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

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


Re: [Q] How to tell Struts to ReLoad (reread) struts-config.xml? - solved

Posted by "Michael C. Lee Jr." <ml...@hotmail.com>.
We use WLS 6.1 and it works just fine. Michael Korolyov, that is nice, but
there is an even easier way. When you create the ear, just dont jar anything
of the webapp up. Keep all the jsps/classes/config files in your webapp dir
defined in your web.xml file. You can even drop in new jsp files (if you
have the page check secs set to above 0).
it looks like this

EAR file
    ejb1.jar
    ejb2.jar
....
    webappdir/
        something.jsp
        something2.jsp
        web-inf/
            struts-config.xml
            web.xml
....

The web app dir remains exploded.
<rant>
I worked with BEA support on this one. I found it out on my own of course.
BEA support helped me solve 1 out of 6 of my problems.
</rant>
I couldn't live without this solution. We change our messages in our
.properties file all the time and it would suck to have to not be able to
quick check the changes.
Michael Lee

----- Original Message -----
From: <mi...@ps.ge.com>
To: <st...@jakarta.apache.org>
Sent: Thursday, February 06, 2003 11:58 AM
Subject: RE: [Q] How to tell Struts to ReLoad (reread) struts-config.xml? -
solved


> Hello,
>
> I found solution for WebLogic 6.1, but it will work with expanded Web
> Application format - that I use for development anyway.
>
> create REDEPLOY file in WEB-INF folder then touch it when  you will need
> reload your application.
>
> p.s. I'm still looking for solution how to deploy ear / war to WebLogic
that
> WebLogic expand it later.
>
> tnx
>
> -----Original Message-----
> From: Durham David Cntr 805CSS/SCBE [mailto:David.Durham1@scott.af.mil]
> Sent: Thursday, February 06, 2003 10:48 AM
> To: Struts Users Mailing List
> Subject: RE: [Q] How to tell Struts to ReLoad (reread)
> struts-config.xml?
>
>
> If you're using Tomcat, I think the manager app is the fastest way to
reload
> struts classes and configuration files.  Still requires some kind of
action
> besides modifying your files.
>
>
>
> > -----Original Message-----
> > From: michael.korolyov@ps.ge.com [mailto:michael.korolyov@ps.ge.com]
> > Sent: Thursday, February 06, 2003 12:43 PM
> > To: struts-user@jakarta.apache.org
> > Subject: RE: [Q] How to tell Struts to ReLoad (reread)
> > struts-config.xml?
> >
> >
> > nope - It doesn't work with WebLogic ...
> >
> > tnx
> >
> >
> > -----Original Message-----
> > From: James Mitchell [mailto:jmitchell@apache.org]
> > Sent: Thursday, February 06, 2003 10:13 AM
> > To: Struts Users Mailing List
> > Subject: Re: [Q] How to tell Struts to ReLoad (reread)
> > struts-config.xml?
> >
> >
> > Not sure about WebLogic, but if you are working with an
> > expanded webapp in
> > JBoss, you can just touch the web.xml and it auto-reloads the app.
> >
> >
> > --
> > James Mitchell
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: <mi...@ps.ge.com>
> > To: <st...@jakarta.apache.org>
> > Sent: Thursday, February 06, 2003 1:02 PM
> > Subject: [Q] How to tell Struts to ReLoad (reread) struts-config.xml?
> >
> >
> > > Hello,
> > >
> > > I'd like make some changes in struts-congis.xml like a add
> > new action or
> > > etc. and apply those changes without restart WebLogic.
> > >
> > > tnx
> > >
> > > Best Regards.
> > > Michael.
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > 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
> >
> > ---------------------------------------------------------------------
> > 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
>
> ---------------------------------------------------------------------
> 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