Solved

9iAS JSP

Posted on 2003-11-13
6
330 Views
Last Modified: 2013-12-01
I run JSP application on my Oracle iAS. Whenever I change (recompile java files) my code in the class files (under the /.../application-name/WEB-INF/ directory), I need to stop and start the iAS web server to take the changes be in effect. Is there any better way to make the changes in the class files effective without stopping the iAS server?
-tooki
0
Comment
Question by:tooki
6 Comments
 
LVL 22

Expert Comment

by:Helena Marková
ID: 9745753
As I know there is no other way ...
0
 

Accepted Solution

by:
ebbesen earned 50 total points
ID: 9750408
If you create a .war file for your application, you may be able to place new versions of your .war in the /applications directory.  The server can recognize that a new .war exists and will redeploy.  This will stop processing going on in the application, but will not require a server shutdown.
0
 

Author Comment

by:tooki
ID: 9751856
I have created the new .war file (that I need to reploy now) for my application named "fastt":
In my local machine:
$jar cfv fastt.war ./*

In the iAS server:
The present .war file is under the the directory:
$ORACLE_HOME/j2ee/home/applications/fastt/

Can I now replace the present fastt.war file in the above directory by the new fastt.war file?Will this replacement overwrite the files under the above directory right away (with the files under the new war file)?
After I do that, dont I need to use any dcmctl commands,etc.?  If so, please let me know the exact commands.
-tooki
0
 
LVL 3

Expert Comment

by:graf27
ID: 10341173
On IAS, You can use the script: $ORACLE_HOME/dcm/bin/dcmctl
This script has all the options, You can use with IAS-Enterprise Manager .

Try out to reconfigure Your J2EE-container:

dcmctl updateConfig -ct oc4j

i.e for jsp-beans on OC4J

0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question