Solved

9iAS JSP

Posted on 2003-11-13
6
325 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 …
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 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

22 Experts available now in Live!

Get 1:1 Help Now