JDBC on Oracle App. Server...can it run?

Can I write JDBC program and run it through Oracle Application
Server?
null

Thanx jdeveloper team, and congrats for your vigilant
job..excellent.
Oracle JDeveloper Team wrote:
: Absolutely.
: JDBC Drivers are implemented in Java,
: Java can execute on OAS using the JWeb cartridge.
: As a matter of fact, if you look at the samples
: of JWeb applications that access the database,
: they are using a JDBC driver to get to the database.
: Oracle Technology Network
: http://technet.oracle.com
null

Similar Messages

  • Oracle Apps Server can NOT restart.

    Hi OTN Experts,
    I encountered a trouble, after I backuped my instance,then apps server can not be restarted. I have read several similar threads,but still didn't find my solution. Could you please give me some suggestions.
    *<<<<<<<<Symptom>>>>>>>>>>>>*
    My Steps: start DB listener > start DB > Try to Start Apps.
    I didn't encounter error while start DB listener and DB server,but while using adstrtal.sh to start apps server,encounter error.
    +[oracle@bej301441 scripts]$ adstrtal.sh user/password+
    You are running adstrtal.sh version 120.15.12010000.3
    adstrtal.sh: Database connection could not be established. Either the database is down or the APPS credentials supplied are wrong.
    USAGE:  adstrtal.sh <appsusername/appspassword>
    adstrtal.sh <applications_username/applications_password> -secureapps
    adstrtal.sh -nodbchk
    adstrtal.sh: exiting with status 1
    *<<<<<<What I have investigated>>>>>>*
    1.Then I guess there is something wrong with DB/DB listener.You know if DB doesn't work,then Apps server will not work. I tried to use sqlplus to connect instance.
    +[oracle@bej301441 InstanceSID_bej301441]$ sqlplus user/password@InstanceSID+
    SQL*Plus: Release 10.1.0.5.0 - Production on Sat Jun 30 03:18:39 2012
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    ERROR:
    ORA-12537: TNS:connection closed
    Enter user-name:
    so It means there is something wrong with DB server.
    2.Then I check DB listener situation. use "lsnrctl status InstanceSID"command.
    +[oracle@bej301441 InstanceSID_bej301441]$ lsnrctl status InstanceSID+
    LSNRCTL for Linux: Version 10.1.0.5.0 - Production on 30-JUN-2012 03:50:09
    Copyright (c) 1991, 2004, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=bej301441)(PORT=1522))(CONNECT_DATA=(SID=InstanceSID)))
    STATUS of the LISTENER
    Alias                     InstanceSID
    Version                   TNSLSNR for Linux: Version 11.1.0.7.0 - Production
    Start Date                30-JUN-2012 03:09:47
    Uptime                    0 days 0 hr. 40 min. 21 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/oracle/InstanceSID/db/tech_st/11.1.0/network/admin/InstanceSID_bej301441/listener.ora
    Listener Log File         /u01/oracle/InstanceSID/db/tech_st/11.1.0/log/diag/tnslsnr/bej301441/InstanceSID/alert/log.xml
    Listening Endpoints Summary...
    +(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=my server ip address)(PORT=1522)))+
    Services Summary...
    Service "InstanceSID" has 1 instance(s).
    Instance "InstanceSID", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    it appears DB listener works fine,is it right?
    3.Use addbctl.sh to start DB server.It tell me server is running...
    [oracle@bej301441 InstanceSID_bej301441]$ addbctl.sh start immediate
    You are running addbctl.sh version 120.1
    Starting the database InstanceSID ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Sat Jun 30 07:33:53 2012
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to an idle instance.
    ORA-01081: cannot start already-running ORACLE - shut it down first
    Disconnected
    addbctl.sh: exiting with status 9
    [oracle@bej301441 InstanceSID_bej301441]$
    4.Execute "ps -ef|grep tns", I can see related processes..
    +[oracle@bej301441 InstanceSID_bej301441]$ ps -ef|grep tns+
    +root        13     2  0 May24 ?        00:00:00 [netns]+
    oracle   13616     1  0 May27 ?        00:00:32 /u01/oracle/InstanceSID/apps/tech_st/10.1.2/bin/tnslsnr LISTENER -inherit
    oracle   22183     1  0 02:55 ?        00:00:00 /u01/oracle/InstanceSID/apps/tech_st/10.1.2/bin/tnslsnr APPS_InstanceSID -inherit
    oracle   22486     1  0 03:09 ?        00:00:00 /u01/oracle/InstanceSID/db/tech_st/11.1.0/bin/tnslsnr InstanceSID -inherit
    oracle   28638 20816  0 03:51 pts/8    00:00:00 grep tns
    +[oracle@bej301441 InstanceSID_bej301441]$+
    5.tnsping the instance,appears works
    C:\Documents and Settings\ptian>tnsping InstanceSID
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 30-6月 -2012 18:14:29
    Copyright (c) 1997, 2003, Oracle.  All rights reserved.
    Used parameter files:
    D:\oracle\product\10.1.0\Db_1\NETWORK\ADMIN\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = my server ip address)(PORT = 1522)) (CONNECT_DATA = (SID = InstanceSID)))
    OK (770 msec)
    C:\Documents and Settings\ptian>
    *<<<<<<Some Config Files>>>>>>*
    1./etc/hosts
    [oracle@bej301441 InstanceSID_bej301441]$ cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    10.182.74.33 my server ip address bej301441
    10.182.74.181 bej301589.cn.home.com
    138.1.191.58 rinoid06.us.home.com
    138.1.191.59 rinoid07.us.home.com
    2.$TNS_ADMIN/listener.ora
    [oracle@bej301441 InstanceSID_bej301441]$ cd $TNS_ADMIN
    [oracle@bej301441 admin]$ cat listener.ora
    # $Header: admk80ln_ux.sql 120.9 2007/03/09 04:31:05 sbandla ship $
    # LISTENER.ORA For Oracle Applications
    # This file is automatically generated
    APPS_InstanceSID =
    (ADDRESS_LIST =
    (ADDRESS= (PROTOCOL= TCP)(Host= bej301441)(Port= 1627))
    SID_LIST_APPS_InstanceSID =
    (SID_LIST =
    ( SID_DESC = ( SID_NAME = FNDSM )
    ( ORACLE_HOME = /u01/oracle/InstanceSID/apps/tech_st/10.1.2 )
    ( PROGRAM = /u01/oracle/InstanceSID/user/password_st/appl/fnd/12.0.0/bin/FNDSM )
    ( envs='MYAPPSORA=/u01/oracle/InstanceSID/user/password_st/appl/APPSInstanceSID_bej301441.env,PATH=/usr/bin:/usr/ccs/bin:/bin,FNDSM_SCRIPT=/u01/oracle/InstanceSID/inst/apps/InstanceSID_bej301441/admin/scripts/gsmstart.sh' )
    ( SID_DESC = ( SID_NAME = FNDFS )
    ( ORACLE_HOME = /u01/oracle/InstanceSID/apps/tech_st/10.1.2 )
    ( PROGRAM = /u01/oracle/InstanceSID/user/password_st/appl/fnd/12.0.0/bin/FNDFS )
    ( envs='EPC_DISABLED=TRUE,NLS_LANG=American_America.AL32UTF8,LD_LIBRARY_PATH=/u01/oracle/InstanceSID/apps/tech_st/10.1.2/lib32:/u01/oracle/InstanceSID/apps/tech_st/10.1.2/lib:/usr/X11R6/lib:/usr/openwin/lib:/u01/oracle/InstanceSID/apps/tech_st/10.1.2/jdk/jre/lib/i386:/u01/oracle/InstanceSID/apps/tech_st/10.1.2/jdk/jre/lib/i386/server:/u01/oracle/InstanceSID/apps/tech_st/10.1.2/jdk/jre/lib/i386/native_threads:/u01/oracle/InstanceSID/user/password_st/appl/sht/12.0.0/lib,SHLIB_PATH=/u01/oracle/InstanceSID/apps/tech_st/10.1.2/lib32:/u01/oracle/InstanceSID/apps/tech_st/10.1.2/lib:/usr/X11R6/lib:/usr/openwin/lib:/u01/oracle/InstanceSID/apps/tech_st/10.1.2/jdk/jre/lib/i386:/u01/oracle/InstanceSID/apps/tech_st/10.1.2/jdk/jre/lib/i386/server:/u01/oracle/InstanceSID/apps/tech_st/10.1.2/jdk/jre/lib/i386/native_threads:/u01/oracle/InstanceSID/user/password_st/appl/sht/12.0.0/lib,LIBPATH=/u01/oracle/InstanceSID/apps/tech_st/10.1.2/lib32:/u01/oracle/InstanceSID/apps/tech_st/10.1.2/lib:/usr/X11R6/lib:/usr/openwin/lib:/u01/oracle/InstanceSID/apps/tech_st/10.1.2/jdk/jre/lib/i386:/u01/oracle/InstanceSID/apps/tech_st/10.1.2/jdk/jre/lib/i386/server:/u01/oracle/InstanceSID/apps/tech_st/10.1.2/jdk/jre/lib/i386/native_threads:/u01/oracle/InstanceSID/user/password_st/appl/sht/12.0.0/lib,APPLFSTT=InstanceSID_BALANCE;InstanceSID_FO;InstanceSID,APPLFSWD=/u01/oracle/InstanceSID/inst/apps/InstanceSID_bej301441/appl/admin;/u01/oracle/InstanceSID/inst/apps/InstanceSID_bej301441/appltmp;/u01/oracle/InstanceSID/user/password_st/comn/webapps/oacore/html/oam/nonUix/launchMode/restricted' )
    STARTUP_WAIT_TIME_APPS_InstanceSID = 0
    CONNECT_TIMEOUT_APPS_InstanceSID = 10
    TRACE_LEVEL_APPS_InstanceSID = OFF
    LOG_DIRECTORY_APPS_InstanceSID = /u01/oracle/InstanceSID/inst/apps/InstanceSID_bej301441/logs/ora/10.1.2/network
    LOG_FILE_APPS_InstanceSID = APPS_InstanceSID
    TRACE_DIRECTORY_APPS_InstanceSID = /u01/oracle/InstanceSID/inst/apps/InstanceSID_bej301441/logs/ora/10.1.2/network
    TRACE_FILE_APPS_InstanceSID = APPS_InstanceSID
    ADMIN_RESTRICTIONS_APPS_InstanceSID = ON
    IFILE = /u01/oracle/InstanceSID/inst/apps/InstanceSID_bej301441/ora/10.1.2/network/admin/InstanceSID_bej301441_listener_ifile.ora
    SUBSCRIBE_FOR_NODE_DOWN_EVENT_APPS_InstanceSID = OFF
    [oracle@bej301441 admin]$
    3.farewell is disabled as well
    [oracle@bej301441 InstanceSID_bej301441]$ vi /etc/selinux/config
    SELINUX=disabled
    ==================================
    Could you please give me some suggestions, I am not clear what I need to check next...I have read many related topic, but still not find my solution.
    Thanks for your time
    Pan

    Thanks for your answer,
    1. In site:http://becomeappsdba.blogspot.jp/2006/08/startup-shutdown-apps-services.html
    It said,"+Order of StartUp of Services Should be First DB Listener, Database & then Application Tier Services+"
    I just follow that..so what should be first, DB Server or DB listener? a little confused.
    2. remotely,used SQLTools to connect instance,it told me:"*ORA-12537: TNS:connection closed*"
    Could you please suggest next action plan.
    Thanks
    Pan

  • Apex Installation On Oracle App Server Apache

    Installation using an existing Apache server like on the Oracle Apps Server can be done as a replacement for the Apache that is installed with Apex but may require the installation of mod_plsql into Apache.
    If you need to do this, use the documentation for the Oracle Apps Server for installing mod_plsql. The Apex documentation assumes that mod_plsql is installed and is missing steps for a complete installation.
    Installing on one web server is advantageous for applications that are integrated with Oracle App Server applications like the SOA Suite.

    Installation using an existing Apache server like on the Oracle Apps Server can be done as a replacement for the Apache that is installed with Apex but may require the installation of mod_plsql into Apache.
    If you need to do this, use the documentation for the Oracle Apps Server for installing mod_plsql. The Apex documentation assumes that mod_plsql is installed and is missing steps for a complete installation.
    Installing on one web server is advantageous for applications that are integrated with Oracle App Server applications like the SOA Suite.

  • Can I use Oracle app server with mysql

    Can I use Oracle app server with mysql. I seem to have the following error when trying to create a datastore. I have mysql.jar in my classpath. Can any one tell me what's wrong.
    Error initializing data-source 'jdbc/topup': DriverManagerDataSource driver 'org.gjt.mm.mysql.Driver' not found

    Yes you can forward requests from your own apache to the iAS. This can be done using mod_proxy. Some hints about how to do this are availlable on this forum.
    mod_oc4j is not a standard apache module, and therefore is not availlable when you download apache. There is no apparent reason to use mod_oc4j on a "regular" webserver (unless you want to build your own iAS). Also there might be some licenseing issues with using mod_oc4j module on a standard apache.
    You can encrypt data that is passed from a random Apache to you iAS.

  • How to displays the standard open file dialog box in Oracle Apps Server

    Hi,
    I am having a form, where i am opening a file and putting that file content in a text box.
    This is my code written in WHEN-BUTTON-PRESSED trigger:
    declare
    in_file Text_IO.File_Type;
    linebuf VARCHAR2(8000);
    filename VARCHAR2(30);
    BEGIN
    filename:=GET_FILE_NAME('d:\Rajesh\Practice', File_Filter=>'Text Files (*.txt)|*.txt|',select_file=>false);
    in_file := Text_IO.Fopen(filename, 'r');
    LOOP
    Text_IO.Get_Line(in_file, linebuf);
    :text_item5:=substr(:text_item5||linebuf||chr(10),1,5000);
    END LOOP;
    EXCEPTION
    WHEN no_data_found THEN
    Text_IO.Put_Line('Closing the file...');
    Text_IO.Fclose(in_file);
    END;
    I have posted this in ORacle Apps Server.Where i was not able to get the Open Dialoq Box.It is giving an error as
    "FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-302000.".
    I think the GET_FILE_NAME function is not supported in the Apps Server.
    Is there any alternative solution for getting the OPEN DIALOG WINDOW in Oracle Apps Server?
    Pls let me know.

    Hi!
    waldemar.hersacher wrote:
    "It seems that the VIs called by the clients are running in the user interface thread.
    A call to the file dialog box will call a modal system dialog. So LV can't go on executing VIs in the user interface thread."
    Are you sure? I think, that File Dialog, called by LabVIEW File Dialog from Advanced File Functions Palette doesn't blocking any cycles in subVI, which running in UI Thread. Look in my old example (that was prepared for other topic, but may be good for this topic too).
    2 linus:
    I think, you must a little bit reorganize you application for to do this. You must put your File Dialog into separated cycle. This cycle, of course, will be blocked when File Dialog appear on the screen. But other cy
    cle, which responsible for visualization will run continuosly at the same time...
    Attachments:
    no_block_with_file_open_dialog.zip ‏42 KB

  • Oracle App Server 10.1.2 (Windows) with STAF

    I'm trying to run STAF in a servlet in OAS and STAF has a jar named JSTAF.jar that further uses some dll files. Oracle App server is not able to load the dll files. To overcome this i specified -Djava.library.path=<dll files directory> in the server properties but now OAS is able to load some of STAF dll files but it still gives the following error. Please Suggest are there any options in OAS to make it load all the dll files.:
    500 Internal Server Error
    java.lang.UnsatisfiedLinkError: C:\staf\bin\JSTAF.dll: Can't find dependent libraries     at java.lang.ClassLoader$NativeLibrary.load(Native Method)     at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)     at java.lang.Runtime.loadLibrary0(Runtime.java:788)     at java.lang.System.loadLibrary(System.java:834)     at com.ibm.staf.STAFHandle.<clinit>(STAFHandle.java:109)     at com.nokia.gmlc.test.util.GMLCconfigSimulator.<init>(GMLCconfigSimulator.java:63)     at com.nokia.gmlc.test.testcase.si.RtSync.<clinit>(Unknown Source)     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Class.java:219)     at org.apache.cactus.util.ClassLoaderUtils.loadClassFromContextClassLoader_aroundBody2(ClassLoaderUtils.java:117)     at org.apache.cactus.util.ClassLoaderUtils.loadClassFromContextClassLoader_aroundBody3$advice(ClassLoaderUtils.java:198)     at org.apache.cactus.util.ClassLoaderUtils.loadClassFromContextClassLoader(ClassLoaderUtils.java)     at org.apache.cactus.util.ClassLoaderUtils.loadClass_aroundBody0(ClassLoaderUtils.java:100)     at org.apache.cactus.util.ClassLoaderUtils.loadClass_aroundBody1$advice(ClassLoaderUtils.java:198)     at org.apache.cactus.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java)     at org.apache.cactus.server.runner.WebappTestSuiteLoader.load_aroundBody0(WebappTestSuiteLoader.java:82)     at org.apache.cactus.server.runner.WebappTestSuiteLoader.load_aroundBody1$advice(WebappTestSuiteLoader.java:240)     at org.apache.cactus.server.runner.WebappTestSuiteLoader.load(WebappTestSuiteLoader.java)     at junit.runner.BaseTestRunner.loadSuiteClass(BaseTestRunner.java:193)     at junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:86)     at org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.java:302)     at org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody0(ServletTestRunner.java:209)     at org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody1$advice(ServletTestRunner.java:158)     at org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunner.java)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)

    There was a blog that described some level of Axis use with what looks like OC4J 9.0.4 -- so that should extend to 10.1.2. since they are essentially the same thing.
    http://radio.weblogs.com/0132036/2003/11/16.html
    -steve-

  • Use of Xerces Parser in out application with Oracle App Server 9.0.4

    The problem in brief:
    Our product is a web-app that runs under various Application servers.
    One of our customers who uses Oracle App server, recently upgraded from 9.0.2 (9g) to 9.0.4 (10g), and our product no longer works with the latter version.
    Our product uses XML parser Xerces 1.1.
    In 9.02 it was possible to replace the App servers parser with Xerces 1.1. In 9.02 it was possible to replace the App servers parser with Xerces 1.1 (We modified the opmn.xml file, setting the Java options for our oc4j instance bootclasspath with xerces parser). Hence, our product works.
    In 9.0.4, apparently, Oracle moved to a different parser, and it no longer allows the parser to be replaced. If the bootclasspath is modified with XERCES(tested various versions of xerces) parser, rightfully so ORACLE Application server does not start.
    Unlike other prominent Application Servers (such as webshpere etc,) the Oracle application server does not support separate JVMs or namespaces for web-apps either.
    We like, oralce application server, OC4J instance for our application to use the xerces parser version qualified with our product. We understand, replacing the XML parser for the entire Oracle Application Server is not supported function.
    Since, Oracle Application Server is loading the oracle 'xmlparserv2' at system class path, though the applicaton has xerces.jar in application path (either in AppLib or web-inf/lib directory, Its not a class loading issue) it is not getting used (since javax.xml.parsers.documentbuilderFactory is mapped to oracle parser).
    So, it looks like the only option available to us is to modify our product to use Oracle's XML parser. This is a major software change, and we want to keep it as last resort option.
    Any suggestion and help will be higly appreciated.
    Perraju Nadakuduty (raju)
    E-mail:[email protected]

    Raju --
    Thanks for the intelligent posting on a difficult issue for you.
    I wasn't aware of anything specifically being introduced that prevented the bootclasspath technique from working** in the 904 release.
    For 904, the bootclasspath needs to be put in the start parameters tag of the java-options tag.
    <process-type id="home" module-id="OC4J" status="enabled">
    <module-data>
    <category id="start-parameters">
    <data id="java-options" ... -Xbootclasspath/a:/java/lib/xerces.jar"/>
    </category>
    </module-data>
    </process-type>
    You can also try copying the xerces.jar into the jre/lib/ext directory so it's loaded by the system classloader and see if that works**. This will put xerces at the extension level so
    **these workarounds are not supported and will put you in an unsupported situation if a problem occurs.
    The good news is that have taken steps to clearly enable the separation of container versus appplication class spaces in thenext production release (10.1.3) of OC4J. We will be providing a new classloading model which cleanly separates the two namespaces and allows applications to provide their own versions or distributions of class libraries with no collisions with the OC4J runtime libraries.
    I don't know of any easy ways to do what you need -- other than reworking the app to use JAXP so that the parser implementation used is pluggable as you kind of allude to. If it was possible, I'd do that rather than hard coding in the use of the Oracle XML parser.
    But just to reiterate, switching in xerces at the bootclasspath level is not a supported operation since it may have an effect on the OC4J runtime operation.
    cheers
    -steve-

  • Help Required | JAXP | Oracle app Server 9.2

    Hi -
    I have couple of queries..
    I am currently using " Oracle9i Enterprise Edition Release 9.2.0.1.0" with JVM enabled (My OS is Windows Xp Second edition , I am doing some POC for my clients).
    I am trying to run JAXP sample code on this application server.
    As far as my knowledge goes the Oracle 9i JVM version is 1.3 and it supports JAXP 1.1 only.
    So my queries:
    * Can I upgrade my Oracle App server JVM from 1.3 to 1.4 or 1.5
    * Can anyone provide me sample code which is compatiable with compatible 1.1
    Tx -
    AJ
    P.S - As I am new to this forum so it will be great if you can email me at [email protected]

    I install 9ias 9.0.2 successfully on dell 8450, but cann't start portal instance and wireless instance.

  • Error while installing Oracle Apps server 10.1.3 with Oracle DB 11.2.0.2

    Error while installing Oracle Apps server 10.1.3 with Oracle DB 11.2.0.2 residing in the same server and being used by Apps server as it's metadata.
    bash-3.00$ export ORACLE_HOME=/data/ora11g/app/ora11g/product/11.2.0
    bash-3.00$ cd /data/OAS/install/soa_schemas/irca/
    bash-3.00$ ./irca.sh
    Integration Repository Creation Assistant (IRCA) 10.1.3.1.0
    (c) Copyright 2006 Oracle Corporation. All rights reserved.
    ERROR: Cannot find library - /data/ora11g/app/ora11g/product/11.2.0/jdbc/lib/ojdbc14.jar
    Please verify that the ORACLE_HOME is set correctly.
    bash-3.00$

    Hi Craig,
    Database 11gR2 could be used for Installing Application Server 10.1.3.x but with some limitation.
    So please review the note:-887365.1 Oracle Database 11g Release 2 (11.2) Certification for Oracle Application Server 10g (10.1.2, 10.1.3, 10.1.4)
    Section :- Oracle Application Server 10g Release 3 (10.1.3)
    Regards,
    Praaksh.

  • Oracle App Server error

    hi all,
    I am tried to create new OC4J instance from App Server Control. Now OPMN is not starting. I get following error
    iguration information
    Running in C:\product\10.1.3.1\OracleAS_1
    Operation mode:Startup, App Server, No Enterprise Manager, Single Instance
    Oracle home:C:\product\10.1.3.1\OracleAS_1
    Oracle home name:Unnamed
    Instance name:oracleAS.psmtech
    Instance type:allProducts
    Version:10.1.3.1.0
    Uses infrastructure:false
    Not an infrastructure instance, no infrastructure information available
    Components:[j2ee, orabpel, oraesb, owsm, Wsil]
    2007-05-17 04:45:19.328--Begin log output for Mid-tier services (oracleAS.psmtech)
    2007-05-17 04:45:19.328--Processing Step: starting OPMN
    2007-05-17 04:49:35.921--End log output for Mid-tier services (oracleAS.psmtech)
    OPMN has thrown an unknown exception
    oracle.appserver.startupconsole.model.ConsoleException: OPMN has thrown an unknown exception
         at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:108)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.control.GroupController.doStart(GroupController.java:47)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.view.controller.ControllerAdapter.start(ControllerAdapter.java:30)
         at oracle.appserver.startupconsole.view.controller.MasterControlAdapter.run(MasterControlAdapter.java:94)
         at oracle.appserver.startupconsole.view.Runner.main(Runner.java:39)
    Caused by: oracle.ias.opmn.optic.OpticBadRequestException: Error starting opmn server: 2
         at oracle.ias.opmn.optic.OpmnAdmin.executeCommand(OpmnAdmin.java:147)
         at oracle.ias.opmn.optic.OpmnAdmin.startOpmnServer(OpmnAdmin.java:77)
         at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:90)
         ... 6 more
    Exception caused by
    Error starting opmn server: 2
    oracle.ias.opmn.optic.OpticBadRequestException: Error starting opmn server: 2
         at oracle.ias.opmn.optic.OpmnAdmin.executeCommand(OpmnAdmin.java:147)
         at oracle.ias.opmn.optic.OpmnAdmin.startOpmnServer(OpmnAdmin.java:77)
         at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:90)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.control.GroupController.doStart(GroupController.java:47)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.view.controller.ControllerAdapter.start(ControllerAdapter.java:30)
         at oracle.appserver.startupconsole.view.controller.MasterControlAdapter.run(MasterControlAdapter.java:94)
         at oracle.appserver.startupconsole.view.Runner.main(Runner.java:39)
    I tried to validate opmn.xml file, shows following error
    C:\product\10.1.3.1\OracleAS_1\opmn\bin>opmnctl validate opmn.xml
    LPX-00202: could not open "opmn.xml" (error 200)
    XML parse failed: error 202.
    opmnctl: opmn validation failed!
    we have Oracle App Server on Windows server 2003, new installation.
    plz help me with this problem.

    Not sure why you exeucute opmnctl validate, but
    C:\product\10.1.3.1\OracleAS_1\opmn\bin>opmnctl validate opmn.xml
    LPX-00202: could not open "opmn.xml" (error 200)opmn.xml isn't in $OH/opmn/bin directory. It's in $OH/opmn/conf.
    This is quite difficult to debug from this forum. Check the logs in $OH/opmn/logs and see if that helps. Also try to shut everything down (and check that all processes are gone) and then try to restart.
    Regards,
    Martin

  • Oracle App Server 10.1.3.1 + Struts2 parameter map loss

    hi,
    I am facing an issue with oracle app server 10.1.3.1. With an application deployed in it, any .action hit seems to lose the parameter map. However, i m using Spring MVC with jasper reports for reporting purpose. So hitting a .report seems to go thru without the parameter map loss. I m using struts 2.0.11 in the application.
    I have also tried the workaround related to struts.properties - (struts.dispatcher.parametersWorkaround = true). Did not help.
    I wrote a CustomActionMapper which is an exact copy of DefaultActionMapper but for the addition of a few log statements to see the parameter map and uri.
    I can notice the paramter map coming out empty even when data is posted or queryString with parameters sent.
    Any leads on this truly appreciated.
    Regards

    hi,
    I am facing an issue with oracle app server 10.1.3.1. With an application deployed in it, any .action hit seems to lose the parameter map. However, i m using Spring MVC with jasper reports for reporting purpose. So hitting a .report seems to go thru without the parameter map loss. I m using struts 2.0.11 in the application.
    I have also tried the workaround related to struts.properties - (struts.dispatcher.parametersWorkaround = true). Did not help.
    I wrote a CustomActionMapper which is an exact copy of DefaultActionMapper but for the addition of a few log statements to see the parameter map and uri.
    I can notice the paramter map coming out empty even when data is posted or queryString with parameters sent.
    Any leads on this truly appreciated.
    Regards

  • Deployement problem in Oracle App Serv with hibernate + JPA and Spring

    Dear All,
         I am facing a problem in deployment of a web application in oracle application server 10g. but the same is working fine with Tomcat. The following Exception. Is being thrown.
         Failed to deploy web application "OraTest". Failed to deploy web application OraTest". . Nested exception Resolution:
    Base Exception:
    java.rmi.RemoteException
    deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version. deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version     I am using the following technologies
    1.     Spring 2.0.7
    2.     Struts 2.0.9
    3.     Hibernate 3.3
    4.     JPA 1.0
    5.     Oracle App Server 10.1.2.0.2
    Web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <display-name>My Application</display-name>
         <filter>
              <filter-name>struts2</filter-name>
              <filter-class>
                   org.apache.struts2.dispatcher.FilterDispatcher
              </filter-class>
         </filter>
         <filter-mapping>
              <filter-name>struts2</filter-name>
              <url-pattern>/*</url-pattern>
         </filter-mapping>
         <welcome-file-list>
              <welcome-file>/index.jsp</welcome-file>
         </welcome-file-list>
         <servlet>
              <servlet-name>dwr-invoker</servlet-name>
              <servlet-class>
                   org.directwebremoting.servlet.DwrServlet
              </servlet-class>
              <init-param>
                   <param-name>debug</param-name>
                   <param-value>true</param-value>
              </init-param>
         </servlet>
         <servlet-mapping>
              <servlet-name>dwr-invoker</servlet-name>
              <url-pattern>/dwr/*</url-pattern>
         </servlet-mapping>
         <listener>
              <listener-class>
                   org.springframework.web.context.ContextLoaderListener
              </listener-class>
         </listener>
         <context-param>
              <param-name>contextConfigLocation</param-name>
              <param-value>
                   /WEB-INF/conf/spring/datasource-context.xml,
                   /WEB-INF/conf/spring/aop-context.xml          
              </param-value>
         </context-param>
    </web-app>
    /Datasource-context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:aop="http://www.springframework.org/schema/aop"
        xmlns:tx="http://www.springframework.org/schema/tx"
        xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
         <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" lazy-init="true"/>
         <!--  following code is for using oracle -->
            <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" lazy-init="true">
              <property name="driverClassName">
                   <value>oracle.jdbc.driver.OracleDriver</value>
              </property>
              <property name="url">
                   <value>jdbc:oracle:thin:@//xxx.xxx.xxx.xxx/mydb</value>
              </property>
              <property name="username">
                   <value>admin</value>
              </property>
              <property name="password">
                   <value>admin</value>
              </property>
         </bean>
         <!--  following code is for using mysql -->
         <!--
         <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" lazy-init="true">
              <property name="driverClassName">
                   <value>org.gjt.mm.mysql.Driver</value>
              </property>
              <property name="url">
                   <value>jdbc:mysql://192.168.10.157:3306/tpsadmin</value>
              </property>
              <property name="username">
                   <value>tpsadmin</value>
              </property>
              <property name="password">
                   <value>tpsadmin</value>+
              </property>
         </bean>
         -->
         <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean" lazy-init="true">
              <property name="persistenceUnitName" value="mkclsetsPersistenceUnit"/>
              <property name="dataSource" ref="dataSource"/>
              <property name="jpaVendorAdapter">
                   <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter" lazy-init="true">
                        <property name="database" value="ORACLE"/>               
                        <property name="showSql" value="true"/>
                   </bean>
              </property>
         </bean>
         <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager" lazy-init="true">
              <property name="entityManagerFactory" ref="entityManagerFactory"></property>
         </bean>
         <tx:annotation-driven transaction-manager="transactionManager"/>     
    </beans>Aop-context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:aop="http://www.springframework.org/schema/aop"
        xmlns:tx="http://www.springframework.org/schema/tx"
        xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
    <!--  Bean Definition of all the required Interceptors -->
         <bean id="methodLoggingAdvice" class="com.mkcl.sets.common.interceptor.MehodLogInterceptor"/>
         <!--
         <bean id="appCacheManager" class="net.sf.ehcache.CacheManager">
              <constructor-arg index="0" type="java.net.URL" value="classpath:country-ehcache.xml"/>
         </bean>     
         -->
          <!--bean id="methodCacheInterceptor" -->
         <bean id="methodCachingAdvice"
              class="com.mkcl.sets.common.interceptor.MethodCacheInterceptor">
              <property name="cache">
                   <ref local="methodCache" />
              </property>
         </bean>
         <bean id="cacheManager"
              class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
              <property name="configLocation">
                   <value>WEB-INF/conf/other/ehcache.xml</value>
              </property>
         </bean>     
         <bean id="methodCache"
              class="org.springframework.cache.ehcache.EhCacheFactoryBean">
              <property name="cacheManager">
                   <ref local="cacheManager" />
              </property>
              <property name="cacheName">
                   <value>mkclSetsCache</value>
              </property>
         </bean>      
         <!--
         <bean id="methodCachingAdvice" class="interceptor.MethodCachingInterceptor"/>
          -->
         <aop:config>
              <aop:pointcut id="getCountriesPointCut" expression="execution(* com.mkcl.sets.dao.master.impl.LocationDAOImpl.getCountries())"/>          
              <!-- <aop:pointcut id="methodLogPointCut" expression="execution(* com.mkcl.sets.service.master.impl.CategoryServiceImpl.getAllCategories(..))"/> -->
              <aop:pointcut id="methodLogPointCutDao" expression="execution(* com.mkcl.sets.dao..*.*(..))"/>
              <aop:pointcut id="methodLogPointCutService" expression="execution(* com.mkcl.sets.service..*.*(..))"/>
              <aop:advisor id="methodCachingAdvisor" advice-ref="methodCachingAdvice" pointcut-ref="getCountriesPointCut"/>          
              <aop:advisor id="methodLoggingAdvisorDao" advice-ref="methodLoggingAdvice" pointcut-ref="methodLogPointCutDao"/>
              <aop:advisor id="methodLoggingAdvisorService" advice-ref="methodLoggingAdvice" pointcut-ref="methodLogPointCutService"/>
         </aop:config>
    </beans>Persistence.xml
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
        version="1.0">
         <persistence-unit name="mkclsetsPersistenceUnit" transaction-type="RESOURCE_LOCAL">
              <!-- jta-data-source>mkclDS</jta-data-source-->
              <provider>org.hibernate.ejb.HibernatePersistence</provider>
              <!-- properties>
                   <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>
                   <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.OC4JTransactionManager"/>
              </properties-->
         </persistence-unit>
    </persistence>Do I need to add some other configuration in the existing files or do I need to add some other configuration files ? Please help to deploy my application.
    Thanks a lot in advance.
    With Best Regards,
    Ishaan
    null

    Did you ever find a solution to this Ishaan?
    I imagine you ended up having to upgrade 10gR2 to 10gR3 at least. Correct?

  • The Oracle BI server is not running. The repositiry had to be closed

    Hi guys,
    I have a OBI Standard Edition 10.1.3.4.1.
    I have modify the rpd and if I try to "Check In Changes", the error appears: "The Oracle BI server is not running. The repositiry had to be closed".
    In the nQServer.log this error appears:
    [nQSError: 12002] Socket communication error at call=recv: (Number=10055) An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.
    Why?
    The problem persist if I restart the services.
    The problem only occurs if I make a change in the Business Model Layer. The changes in the Physical Layer do not generate errors.
    Thank you,
    Sara

    Hi Sara,
    Can you please let us know, if there are any other messages in the NQServer.out.log ? I just googled around with this code to hit at the following link : http://www.bookmark-master.com/socket-error-10055.html
    Socket error (#10055): No buffer space available.
    Analyse & Solutions:
    An operation on a socket or pipe was not performed because the system lacked sufficient buffer space or because a queue was full. This error indicates a shortage of resources on your system. It can occur if you're trying to run too many applications (of any kind) simultaneously on your machine. If this tends to occur after running certain applications for a while, it might be a symptom of an application that doesn't return system resources (like memory) properly. It may also indicate you are not closing the applications properly. If it persists, exit Windows or reboot your machine to remedy the problem.
    From the above information, I understand that this is a system resource issue. Can you please recheck if your system has got enough resources?
    Hope this helps.
    Thank you,
    Dhar

  • Error while starting Oracle App server

    I installed Oracle App Server
    when i am trying to start App server I am getting following error.
    K:\OAS\opmn\bin>opmnctl startall
    opmnctl: starting opmn and all managed processes...
    ================================================================================
    opmn id=coeserv0:6200
    0 of 1 processes started.
    ias-instance id=ORACOESERVER.coeserv0.wipro.com
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    HTTP_Server/HTTP_Server/HTTP_Server
    Error
    --> Process (pid=10760)
    failed to start a managed process after the maximum retry limit
    Log:
    k:\OAS\opmn\logs\HTTP_Server~1
    I tried to start Apache it is also giving following error.
    K:\OAS\Apache\Apache>apache
    [Tue May 17 17:43:08 2005] [warn] pid file k:/oas/apache/apache/logs/httpd.pid o
    verwritten -- Unclean shutdown of previous Apache run?
    ap_spawn_child: Bad file descriptor
    Couldn't fork child for piped log process
    Note the errors or messages above, and press the <ESC> key to exit. 29...
    K:\OAS\Apache\Apache>
    Amit

    Hi Cema,
    Make sure that httpd.conf file (located at /ORACLE_HOME/Apache/Apache/conf ) has not changed.
    Is your AS running on Linux? ".so" is used in case of linux only and for windows extension should be ".dll"
    Please use the same if your http server is running on windows. HTTP Server documetation may have more details related to this.
    Regards,
    Anuj

  • Deploying reports on Oracle app server

    Hi
    Our current application  has Oracle reports deployed on Oracle AS and Oracle Report Server. Can we replicate same scenario for Crystal report.
    Means can we use Crystal Report on Oracle App Server / Oracle Report Server. Or do I need to use Crystal report Server

    Could you please provide/point the documentation/steps for deplying Reports on Java App Server (IN My Case Oracle App Server)
    Kuldeep C.
    Software Engineer
    Persistent Systems Ltd.,
    Pune, India

  • Process Modelling in Aris, generating BPEL & deployment to Oracle App Serve

    Hi
    We are considering using Aris to model some business process and using its functionality to generate BPEL for its deployment onto a Service Oriented Architecture i.e. Oracle App Server with BPEL Process Manager. Has anyone had any specific exposure to Aris and its BPEL deployment onto the Oracle App Server.
    - Is there an approach (methodology) from previous experience that someone can recommend.
    - How seamless/complex is the generation and deployment of the BPEL onto the Oracle BPEL Process Manager.
    - Are there any issues or lessons learnt from people using Aris to generate BPEL to the Oracle BPEL Process Manager?
    thanks

    Hi,
    I am dealing with the same problems. I did already some testings using the EPCs of ARIS and tried to establish the link with the BPEL Process Manager. Still it doesn't work seamlessly, maybe with the new realease of ARIS the link will be possible. I am not aware of any methodology in that context, it means we need to develop one.
    Looking forward to hearing from you.
    Best regards,
    TMT

Maybe you are looking for