Solved

9iAS JSP

Posted on 2003-11-13
6
332 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

696 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