11.5.10.2 - java in APPL_TOP context file

I'm in progress of applying ATG RUP7 to several 11.5.10.2 installations. The "Technology Stack (TXK) Rollup Validation Report" asks me to update the JDK version on HTTP server node at least to a minimum JDK version of 1.5.0.
Note 304099.1 "Using J2SE Version 5.0 with Oracle E-Business Suite 11i, Release 11.5.10" or Note 401561.1 "Using JDK Version 6 with Oracle E-Business Suite 11i, Releases 11.5.10" don't specify the autoconfig variables to be changed. And there are a lot of jdk and jre related varialbles in the APPL_TOP autoconfig context file.
To "update the JDK version on HTTP server node" I think I should change s_oajdktop and s_adovar_classpath, and perhaps s_adjvaprg should be changed, too.
What about the AF variables. Is the any additional procedure required to update java for the tools? (s_afjretop, s_adovar_afclasspath, s_afjvaprg)
What about the rest? Is there any reference manual of the contect files variables? I have not been able to find something on Metalink.
In adovars section I find s_oajretop and s_adovar_ldlib.
In web_home s_weboh_java links to 1.3 jdk.
In tools_home we got references in s_tools_path and s_tools_java.
In rapid_install there is s_jdktop and s_jretop.
Would be great if someone could help me understand the use of all these variables and the procedure to update them to current jdk's and jre's where possible. :)
Edited by: MartinT on 19.10.2009 05:29
I've checked some 11.5.10.2 vision I got here:
<oa_environment type="rapid_install">
<JDK_TOP oa_var="s_jdktop">/apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04</JDK_TOP>
<JRE_TOP oa_var="s_jretop">/apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04</JRE_TOP>
<oa_environment type="tools_home">
<PATH oa_var="s_tools_path" osd="Solaris">/apps/VIS11/vis11ora/8.0.6/bin:/usr/ccs/bin:/usr/sbin:/apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04/bin:$PATH</PATH>
<JAVA_HOME oa_var="s_tools_java">/apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04</JAVA_HOME>
<oa_environment type="web_home">
<JAVA_HOME oa_var="s_weboh_java">/apps/VIS11/vis11ora/iAS/Apache/jdk</JAVA_HOME>
          (which points to /apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04)
<oa_environment type="adovars">
<OA_JDK_TOP oa_var="s_oajdktop">/apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04</OA_JDK_TOP>
<OA_JRE_TOP oa_var="s_oajretop">/apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04</OA_JRE_TOP>
<AF_JRE_TOP oa_var="s_afjretop">/apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04</AF_JRE_TOP>
<CLASSPATH oa_var="s_adovar_classpath" osd="unix">/apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar:/apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/apps/VIS11/vis11comn/java/appsborg2.zip:/apps/VIS11/vis11ora/8.0.6/forms60/java:/apps/VIS11/vis11comn/java</CLASSPATH>
<AF_CLASSPATH oa_var="s_adovar_afclasspath" osd="unix">/apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar:/apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/apps/VIS11/vis11comn/java/appsborg2.zip:/apps/VIS11/vis11ora/8.0.6/forms60/java:/apps/VIS11/vis11comn/java</AF_CLASSPATH>
<LD_LIBRARY_PATH oa_var="s_adovar_ldlib" osd="Solaris">/apps/VIS11/vis11ora/8.0.6/network/jre11/lib/sparc/native_threads:/apps/VIS11/vis11appl/cz/11.5.0/bin:${LD_LIBRARY_PATH:=}</LD_LIBRARY_PATH>
<ADJVAPRG oa_var="s_adjvaprg" osd="UNIX">/apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04/bin/java</ADJVAPRG>
<AFJVAPRG oa_var="s_afjvaprg" osd="UNIX">/apps/VIS11/vis11comn/util/java/1.4/j2sdk1.4.2_04/bin/java</AFJVAPRG>
So I may change all these references to jdk 5, apply the latest template rollup and run autoconfig and everything is fine? :)

Hi Srini,
thx for your welcome and reply. I've checked Note 304099.1 again and it seems that someone accidently deleted most of the content there.
The index shows much more steps than explained in the main text and the links don't work. So I'll apply patch 4372996 now.
That note tells me to run an upgrade script before running autoconfig. I think that script is part of that patch. Is adpatch AD.I.7 running that script before running autoconfig or does someone know the name of that script as that part of the text is eleminated, too?
I would like to update to jdk 6, but as I would have to apply RUP 5 as a prereq for jdk 6 I will postpone that step after having applied RUP 7.
Thx,
Martin

Similar Messages

  • How Get ICubeContext at Java bean (Spring Context)

    Hello,
    I need to get the ICubeContext in a Java Bean (Spring Context). Is possible?
    For example in a custom xpath fuction, is very easy:
    public Object call(IXPathContext context, List args) throws XPathFunctionException {
        Map props = (Map) context.getVariableValue(null, null, "xpath-function-data");
        ICubeContext ctx = (ICubeContext) props.get("ICubeContext");
    I would appreciate any help. Thank you very much!
    Sergio.

    This is a possible solution:
    BPELContext bc = BPELContext.peekThreadBPELContext();
        if (bc == null)
          return null;
        ICubeContext ctx = bc.getCubeContext();
    not yet tested!!

  • Shared APPL_TOP config mentioned in context file??

    Hi,
    Is Shared APPL_TOP config mentioned in context file?? If yes, then what is the entry for it in context file ?

    I am searching for this keyword
    grep -i "APPL_TOP oa_var" $CONTEXT_FILE
    In all tiers the $APPL_TOP location mentioned in $CONTEXT_FILE is same.
    Is this the method to check the shared appl_top ??

  • Web app context file in java web server?

    I'm being forced to move an application from Tomcat 5.5 to Web Server 6.1. I'm used to putting my app's context information into a context xml file that in Tomcat 5.5 is deployedin in $tomcat_home/conf/Catalina/localhost/. I define my jdbc connection pool there, as well as environment entries for the application. That way I can use the same war file, but run the application with different configuration settings.
    It doesn't seem like Web Server 6.1 supports that, or am I missing something in the documentation. I thought the notion of the context file was generic to the servlet container spec even in the 2.3 servlet spec....but maybe that's specific to Tomcat. So now how can I pass environment information to the application?

    The SJS webserver does not support context.xml, you are correct.
    However, most of the things done in context.xml can be done through other ways.
    JDBC conncetion pools are global to the server instance, and are declared in server.xml
    http://docs.sun.com/source/819-0130/agapuirf15.html#wp297682
    The web apps descriptors allow to configure web apps parameters. In SJS webserver there are two descriptors, the standard web.xml, and sun-web.xml.
    http://docs.sun.com/source/817-6251/pwadeply.html
    Regarding passing environment information, what exactly do you have in mind? the web server supports JNDI resource-env-ref, that can be used to pass environment entries to a web-app.
    If you have any particulars needs, or more specific questios, feel free to post them here.

  • Change path for context file  11i (11.5.10.2)

    Hi ,
    How to change the context file path in 11i. I have tried 2 methods "perl adbldxml.pl tier=apps appsuser=apps" and perl adclonectx.pl contextfile=/u01/visappl/admin/vis_gold.xml , it works and I can see the s_context var in .xml changed to new path . But when I ran adconfig.sh it revert back the changes to old path.
    Anyone faced this issue before ?
    /d01/visappl/admin/vis_gold.xml to /u01/visappl/admin/vis_gold.xml ?

    How to change the context file path in 11i. I have tried 2 methods "perl adbldxml.pl tier=apps appsuser=apps" and perl adclonectx.pl contextfile=/u01/visappl/admin/vis_gold.xml , it works and I can see the s_context var in .xml changed to new path . But when I ran adconfig.sh it revert back the changes to old path.
    Anyone faced this issue before ?
    /d01/visappl/admin/vis_gold.xml to /u01/visappl/admin/vis_gold.xml ?You cannot change the location of the context file and it is always defaulted to $APPL_TOP/admin directory in 11i release. Any reason you want to change this location?
    Thanks,
    Hussein

  • What parameters should be changed in context file of oracle apps

    Hii..
    what parameters should be changed in context file of oracle apps(R12.1.3) for 250 users and pfile parameters of database

    But i came to know we need change parameters like s_oacore_nprocs,MaxPermSize,-Xmx for Forms and Oacore in Context file of apps, based on number of users .Is it correct???Yes.
    JVM: Guidelines to setup the Java Virtual Machine in Apps Ebusiness Suite 11i and R12 [ID 362851.1]
    Configuring various JVM tuning parameters for Oracle E-Business suite 11i and R12 [ID 567551.1]
    Oracle EBS R12 Context Variables [ID 458282.1]
    Increasing Number of JVMs Allocated to oacore Process Causes Login Problems [ID 731115.1]
    After Increasing the Number of OACORE OC4J Processes to More Than 5, adoacorectl.sh is Exiting With Status 204 [ID 1177323.1]
    How To Determine The Number Of Java Virtual Machines (JVM's) Started By Oacore Used By Oracle Payments [ID 1372586.1]
    Thanks,
    Hussein

  • Edit Context  file sid _ hostname .xml

    Hi,
    How can we edit/make changes context file - specifically while creating new instance by clone.
    Some common options are vi editor and context editor. Is there any tool/command other than these?
    Also please tell me how to evoke context editor.
    Oracle EBS- 11.5.10.2
    Thanks
    CK
    Edited by: Cherrish on Jan 14, 2009 1:34 PM

    It is recommended to use Context Editor or OAM to edit the context file. However, if you are familiar with vi and xml code, you can do and edit the file manually. Make sure you take a backup of the context file before making any changes. The application context file can be located under $APPL_TOP/admin directory.
    More details can be found in the following note:
    Note: 218089.1 - Autoconfig FAQ
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=218089.1

  • Java and XML Configuration Files

    Hi,
    Can anyone tell me the best way to read information stored in an XML configuration file into my Java program? I have a factory class which I want to instantiate classes from at runtime and I want to be able to read in the class names from a XML configuration file to make it extensible..
    Many thanks....

    Depends on what the OP means by XML configuration files.
    Spring reads Spring application context files. Those can help to configure objects, no doubt.
    If the OP meant reading in XML serializations of Java objects and turning them back into Java objects, then XStream is the right thing to do.
    %

  • Java.lang.Exception: Overwriting file

    Hi All,
    We are having some trouble with one of our interfaces where XI creates files in append mode and gets the filename from the Payload. From last couple of days, we are getting the below error for some reason. There are no other extra config setups in the file CC.
    Any help to figure out the issue would be highly appreciated.
    2008-08-12 14:04:56 Error Attempt to process file failed with java.lang.Exception: Overwriting file '
    host\folder\otci001\Archive\08122008_140453_OTCI001.txt' not allowed due to configuration flag
    2008-08-12 14:04:56 Error Exception caught by adapter framework: Overwriting file '
    host\folder\otci001\Archive\08122008_140453_OTCI001.txt' not allowed due to configuration flag.
    Thanks,
    AJ.

    HI,
    Once the file is appended, are you doing any further processing with file. because the error "not allowed due to configuration flag" and as youhave said its not for al the messages indicates to single point.
    If the attempt to append the data in file if in case that is in processing and have locked with some other process flow marked after XI...
    You may also need to look into the FTP log details...for more details
    Thanks
    Swarup

  • Java Program to copy file from one directory to another failing

    Hello All,
    Oracle Applications 12.1.3
    RDBMS: 11.2.0.30
    SQL*Plus: 10.1.0.5.0
    Java beginner here so help is much appreciated.  I'm have some java code that I'm using to copy a file from one directory to another in an Oracle Applications Server.  I notice that when moving to a new instnace I started to get file not found errors.  I think it's because of the directory.  My question is, does the directory in which I trying to pick up the file have to be a DBA_DIRECTORY, or a UTL_FILE directory in order for the java to find the file and move it?
    Here is my code...
    CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "COPY_FILE_JVS" AS
    import java.io.*;
    public class COPY_FILE_JVC{
      public static void copy(String SourceFile, String DestDir) {
        File source = new File(SourceFile);
        File dest = new File(DestDir);
        File cpDestFile = null;
        try {
          if (dest.isDirectory()) {
              if(source.isFile()) {
                System.out.println("File name = " + source.getName());
                System.out.println("File name dest = " + dest.getPath() );
                System.out.println("File name cpDestFile = " + dest.getPath() + File.separator + source.getName());
                cpDestFile = new File(dest.getPath() + File.separator + source.getName());
              else {
                System.out.println("Directory or File Not Found");
                return;
          BufferedInputStream  br = new BufferedInputStream (new FileInputStream (source));
          BufferedOutputStream  bw = new BufferedOutputStream (new FileOutputStream (cpDestFile));
          int read = 0;
          while((read = br.read()) != -1) {
            //System.out.println((char)read);
            bw.write(read);
          br.close();
          bw.close();
        catch (FileNotFoundException e) {
        e.printStackTrace();
        catch (IOException e) {
        e.printStackTrace();

    I get these messages when calling the java from SQL Plus as follows...
    serveroutput on size 100000;
    dbms_java.set_output(1000000);
    MY_PKG.CopyFile('/home/my_user/set_env.sh','/interface/home'); (this is call to oracle pl/sql package which calls the java.)
    PL/SQL procedure successfully completed.
    Directory or File Not Found
    PL/SQL procedure successfully completed.
    If I change the directory from /home/my_user/ to any directory that is defined in DBA_DIRECTORIES or is a UTL_FILE directory to program works.  Is it perhaps because the java is in a PL/SQL package as seen below?  The PL/SQL program runs as the APPS user and I have issued the following the command grant JAVASYSPRIV to APPS.
    Here is the PL/SQL Package....
    CREATE OR REPLACE PACKAGE BOLINF.MY_PKG AUTHID CURRENT_USER AS
    CopyFile(p_SourceFile IN VARCHAR2, p_DestDir IN VARCHAR2);
    +++++++++++++++++++++++++++++
    CREATE OR REPLACE PACKAGE BODY BOLINF.MY_PKG  is
    CopyFile(p_SourceFile IN VARCHAR2, p_DestDir IN VARCHAR2)
    AS LANGUAGE JAVA NAME 'COPY_FILE_JVC.copy(java.lang.String, java.lang.String)';

  • ChaRM class java.io.IOException:The file does not exist on the filesystem

    Hi All,
    We are implementing ChaRM with Portal. While deploying we are running into following issue.
      Deployable-Id:/usr/sap/trans/data/GPSK90001B/sktp14_20100806_095633.epa
      Returncode:'12'
      class java.io.IOException:The file (/usr/sap/trans/data/GPSK90001B/sktp14_20100806_095633.epa) does not exist on the filesystem.
    Any suggestion.
    Regards,
    Smita

    We resolved this issue by sharing the trans file across SolMan and Portal system.

  • OAM Context showing error when updating context file on 11i apps

    HI,
    When i am trying to update context file using OAM, i am getting following error.
    Failed when writing Context Configuration files back to file system. Possible causes: An error occurred while attempting to establish an Applications File Server connection with the node FNDFSP_dbora12. There may be a network configuration problem, or the TNS listener on node FNDFSP_dbora12 may not be running. Please contact your system administrator. . However, you still can run AutoConfig and restart services to make sure these settings take effects.

    Sawwan,
    What is the application release? OS?
    HP Unix
    Has this ever worked? If yes, what changes have been done recently?
    This is cloned environment.
    Do you have proper entry in the hosts file?
    yes
    Is the application listener up and running? Can you view the concurrent requests log/output files? If not, please see (Note: 117012.1 - Troubleshooting the "Error Occurred While Attempting to Establish an Applications File Server Connection").
    yes application listener is up and running.
    Is the value "FNDFSP_dbora12" correct or it points to the source instance in case this is a cloned one? If the value is incorrect, please validate the entries in FND_NODES table (purge the table and run AutoConfig -- I believe you are familiar with the steps
    Value of RRA: Service Prefix is FNDSP_ not FNDSP_dbora12.

  • How adbldxml.pl creates the new database tier context file

    We just completed database upgrade from 9.2.0.6 to 9.2.0.8 to 11gR2 for 11.5.10.2 financial (on Windows 2003).
    Application seems working fine after upgrade, autoconfig on application and database tiers are all success, but I have an issue with adbldxml.pl.
    I have tried to run adbldxml.pl after upgrade, I can not sync the <s_perl5lib> and <s_adperlprg> oa_var on context it created with oa_var I read from OAM.
    On OAM PROD > AutoConfig > Environments > oa_environment:db_home, it read as,
    <s_adperlprg>D:\oracle\proddb\11.2.0\perl\bin\perl.exe
    <s_perl5lib>D:\oracle\proddb\11.2.0\perl\lib\site_perl\5.10.0;D:\oracle\proddb\11.2.0\appsutil\perl
    but the db context file created by adbldxml.pl read as,
    <s_adperlprg>d:\oracle\proddb\11.2.0\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe
    <s_perl5lib>d:\oracle\proddb\11.2.0\Apache\perl\5.00503\lib\MSWin32-x86;d:\oracle\proddb\11.2.0\Apache\perl\5.00503\lib;d:\oracle\proddb\11.2.0\Apache\perl\site\5.00503\lib\MSWin32-x86;d:\oracle\proddb\11.2.0\Apache\perl\site\5.00503\lib;d:\oracle\proddb\11.2.0\appsutil\perl;d:\oracle\proddb\11.2.0\appsutil\perl
    By my understanding, adbldxml.pl should take shell (DB DOS) evn perl settings to create context file, but it never takes env settings.
    I was wondering how does adbldxml.pl works? does it creates a context file by reading from database or take some templates or may be both? and eventually, how to solve the issue.
    thanks in advance.
    DW

    Thanks for reply.
    I did apply the TXK AUTOCONFIG AND TEMPLATES ROLLUP PATCH U (9535311), it was a success from adpatch.
    I did apply the clone patches per Cloning Oracle Application Release 11i with Rapid Clone [ID 230672.1] 5. Apply the lastest Rapid Clone patches
    I have completed a rapid clone into a test server and ran clone scripts on app tier and db tier, the cloned application works fine as I can tell.
    I have tried (Autoconfig FAQ [ID 218089.1]), "I was instructed to change the value of the context variables s_adperlprg and s_perl5lib. How can I achieve that?"
    on the test server by setting perl5lib to the location it should be, but I ran adautocfg.pl instead of adconfig.pl, did it make difference? my understanding that adautocfg.pl
    will call adconfig.pl, are they interchangeable?
    Can I run adconfig.pl with context=<the correct context file> will make difference?
    adbldxml.pl is really stubborn, just won't bend.
    Would you mind advice me which table(s) in database contains these variables, I understand that it is not a good idea to modify the data in database directly, just curious?
    thanks
    DW

  • Keytool error: java.lang.Exception: Keystore file does not exist:

    Hi All,
    While listing the keystore using the command keytool -list, I got the error message that
    keytool error: java.lang.Exception: Keystore file does not exist: C:\Documents and Settings\subramanian.arivalag\.keystore
    I noticed there is no file .keystore in the above mentioned directory. What's this .keystore file? Will it be created automatically or should we create manually?
    Already I created a keystore using -genkey command and received CA authority also.
    Kindly provide me more details about .keystore file and how to handle this error.

    If you specified a keystore filename when you created the keystore
    i.e. keytool -genkey -alias jboss-ssl -keyalg RSA -keystore my_name.keystore -validity 3650
    then you need to specify the same keystore when you export the cert
    i.e. keytool -export -alias jboss-ssl -keystore my_name.keystore –file my_name.cer

  • Timestamp in Java log and trace files.

    Hi SAP'ies
    Running PI 7.11 on AIX 6.3 we face an issue with the content of log and trace files from Java.
    Eg.
    The file DefaultTrace_00.0.trc is timestamped 18-05-10 11:16:15. (The same time as the time of the OS/AIX)
    Looking inside the file the last statement is timestamped 2010 05 18 09:16:15.
    How can we ensure that the content of these Java files are timestamped with OS time?
    Looking into ABAP files like dev_w0 the timestamp of the file and the content are equal.
    Best regards,
    Teddy Løv Andersen

    Hello All
    Best way to convert the default trace time is , visit the site
    http://www.csgnetwork.com/epochtime.html
    here enter , for example if you have the following in default trace
    #1.#00265510DE7300120000000F000022030004C77AD7309DF5#1345230317066#com.sap.portal.fpn.rdl
    1345230317066   is time stamp , enter this in the above site to get the time
    Fri Aug 17 2012 21:05:17 GMT+0200
    Regards

Maybe you are looking for

  • Import of bulk serial numbers with Goods Receipt

    Hello I need to create an Add-On that automates the creation of Goods Receipt PO documents with linked serial numbers. Using the DI API I manage to create the Goods Receipt and link about 1000 serial numbers to one document without any problems. When

  • Event registration at runtime: removeEventHandler missing

    Hi, I'm using NW04 SP17 and want to use IWDComponentUsage#removeEventHandler(IWDEventId, IWDEventHandlerId), which is missing. Only removeEventHandler(IWDEventInfo event, IWDEventHandlerInfo eventHandler, IWDController controller) exists which is dep

  • Users can't log in to server after X number of computers connect

    I'm running a Leopard server with unlimited number of connections in a high school setting. It is set for an Open Directory master. After "X" number of students login, the students get a server error and no additional students can't login to their ac

  • "Font menu in actual fonts" still not in Pages?!

    Pages 06 had a very clunky way to access fonts, with its lamentable Font palette. Pages 08 has a big improvement with its Format Bar. But STILL it doesn't show WYSIWYG fonts. AppleWorks has provided this for years. It's a basic feature of a word proc

  • TS3682 Iphone 3g cannot restore backup from an Iphone 4 on IOS 7.

    so... i went from having a 4 back to a 3.... had ios 7 on my iphone 4 and now I can't restore back-up because that upgrade isnt available for Iphone 3..... Anything that I can do?