Solved

9iAS JSP

Posted on 2003-11-13
6
324 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á
Comment Utility
As I know there is no other way ...
0
 

Accepted Solution

by:
ebbesen earned 50 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

-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 …
Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now