[JPA] Logging in Oracle Application Server

Hi,
I have a problem that the logging of SQL statements is lost in an application deployed in OAS 10.1.3.1.
I have set the following property in persistence.xml:
    <property name="toplink.logging.level" value="FINER"/>In Java SE and in the standalone OC4J, the SQL is printed in the console window. However, when deployed in the Oracle Application Server, the SQL statements are lost. They are not in the standard server's log file in $ORACLE_HOME/opmn/logs/ default_group~home~default_group~1.log where the rest of the log data can be found.
Can anybody tell me if there's anything special about JPA logging in OAS?
We currently use TopLink Essentials v2.0-b58g (RC8) but we have also tried with other versions and there's no SQL info in the log.
Best regards,
Bisser

Thank you very much!
I tried that option too. Sadly, it didn't work.
Now I have the following in persistence.xml:
    <property name="toplink.logging.level" value="FINEST"/>
    <property name="toplink.logging.level.sql" value="FINEST"/>I re-deployed the application. I even restarted the server. But nope, nothing helped. TopLink Essentials doesn't print to the standard console log and I don't know if it prints anywhere at all (and if it does, where?).
Through the server's administration console, I can see the following in the "Logger configuration":
oracle.toplink.essentials.session.file:/u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/applications/asmPreview/asmModel.jar-ASM:  FINEST
    oracle.toplink.essentials.session.file:/u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/applications/asmPreview/asmModel.jar-ASM.sql:  FINEST
.Previously, the latter was NULL, which meant that it was inheriting from its parent log. But now it's explicitly set to "FINEST" and yet it doesn't print anything.
I wish I could force it to print somehow. That would aid us a lot in the functional testing, when we see strange behavior.

Similar Messages

  • Adding Oracle Application Server to JDeveloper

    Hii,
    I want to add Oracle Application Server 10.1.2g to my Application Server list in JDeveloper 10.1.3g.
    I am stuck in the point where it asks for the "Remote Server's Oracle Home Directory".
    Whenever I supply with the path e.g. "D:\OraHome_1", or "\\node1\OraHome_1", it says "Invalid Directory".
    The Oracle Application Server is installed in a different computer in the network.
    Actually, I would like to add it to my JDeveloper, so that, I can deploy my applications directly through JDeveloper, without having to use the Oracle application Server Enterprise Manager console.
    Please help...

    Log into Oracle Application Server Enterprise Manager and get the correct path from the information of the instance you're intending deploying to (eg. home). You have write the directory path as it is displayed (even UPPER and lower case is important).
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • No suitable driver for mysql in oracle application  server  portal 10g

    Hi all
    i want to run my portlet with mysql4.1 database from "oracle application server portal 10g".
    i did all configuration in data source and also i kept mysql connector jar file into all oraclehome/jdbc/jlib folder.
    Mysql
    General
    Name :: helloMysql(jndiname)
    Description :: helloMysql
    Data Source Class :: com.mysql.jdbc.jdbc2.optional.MysqlXADataSource
    JDBC URL :: jdbc:mysql://localhost:3306/database?relaxAutoCommit=true
    JDBC Driver :: com.mysql.jdbc.driver
    Datasource Username and Password
    Username------------>(user name)
    password-------------->(password)
    JNDI Locations
    Location== jdbc/helloMysql
    jdbc/blogOracle== jdbc/XA/helloMysql
    EJB Location == jdbc/XA/helloMysql
    Connection Attributes
    Connection Retry Interval (seconds)====1
    Max Connection Attempts===empty
    Cached Connection Inactivity Timeout (seconds)===30
    remaing all are empty
    when i run the portlet, then i am getting "No suitable driver" in my portal page.
    i want check server console or server log for oracle application server portal.
    please help ,where to find server log?
    Any suggestions or help from your side.
    Thanks in advance.
    Raju

    I think you're trying to connect to a database in a diferent host than the Web Server.
    This is possible in applcations, but not in applets, who only can open TCP connections to the same machine who served the page.
    To do that, yo should use a Data Gateway to establish the connections (IDSServer, and so on). I think that installing Oracle's Connection Manager in the same machine than the Web, it would run.
    null

  • Oracle Application Server 10g Access log

    Hi,
    I've deployed an Enterprise Application on 10g Oracle Application Server. But the Issue is that I'm unable to access the Application Login Page and the browsers give me the error, that the Page you are trying to access does't exist.
    Now I want to diagnose where the actual issue resides and for this; we have to first look at Logs. Kindly tell me where the Oc4J logs or access logs for Application Server are made so that I can check them and try to solve the issue.
    Regards,
    Kamran

    hi Kamran
    To see access.log or error.log , check the following:
    cd $ORACLE_HOME/Apache/Apache/logs
    tail -f access.log
    and to check application log for your oc4j_instance, try the following generic address:
    $ORACLE_HOME/j2ee/instance_name/application-deployments/application_name/application.log
    so if your application name is BI_FORMS then use that above.
    hope that helps!
    AMN

  • Oracle Application Server logs

    Hello,
    I have an Oracle Application Server 10.1.2.3.0 installed on Windows 2003 Enterprise X64 SP2.
    I rebooted it. But some services not started themselves after the reboot. I manually started all from the opmnctl. It works fine.
    What log(s) I should check for troubleshooting purpose?
    Thanks.

    hi,
    You should check OPMN logs
    ORACLE_HOME\opmn\logs
    i have also experienced the problem of application server services starting, if problem persists, you can check deleting all the log files from above location and then try starting and normally it works fine but still better to check log files first
    Salman

  • How to integrate Oracle Portal running on Oracle Application Server 10.1.2

    I have an Oracle Portal running on a Oracle Application Server 10.1.2.
    Portal is responsible ( along with OID ) for the users authentication and authorization.
    There is a new JEE application that was developed recently, which the Portal users must have access to.
    HOW can I put a link into a page of the Portal, that redirects the portal user to a new browser window displaying my new application?
    HOW can this new application, running in a separate weblogic 11g (10.3.5) server, automatically authenticate with the same username/password previously authenticated when the user logged into the portal?
    Any ideas?
    I´ve already thought in a bunch of ways to do it:
    - put a link into the portal with a sessionId, then when opening the new app, it automatically tries to use the same session. How can I configure this session id during the creation of the portal's page? How can I use it from the new app to use the same session?
    - put a link into the portal with a userid, then when opening the new app, it automatically tries to authenticate using a different authentication provider configurated in WL, which points to Portal´s OID. In this situation, how can I ensure that the user is already logged in and the session has not timed out?
    - Should I use OSSO?
    - Should I use OAM?
    Any help would be appreciated!
    Murilo

    Hi Murilo,
    A portletized version of your J2EE app would probably have been ideal for your purpose as it would handle both authentication (through SSO) and session information (through Portal framework as the framework can pass session information to the provider/producer). This would require changes to the application however.
    Easiest approach would be to use mod_osso to protect your J2EE application. SSO would then handle the authentication for your Portal and your J2EE application.
    Thanks,
    EJ

  • Oracle Application Server Release 2 (10.1.2) Deployment Notes question

    Hi!
    I'm following the Oracle Application Server Release 2 (10.1.2) Deployment Notes (http://download-uk.oracle.com/docs/html/B25947_01/deployment_topics006.htm) for deploying an application, built in Jdeveloper 10.1.3 to AS 10.1.2. I have a question about Configuring JDeveloper to Generate Configuration Files That Are J2EE 1.3-Compliant. Do I need all the files in table 34-3? (http://download-uk.oracle.com/docs/html/B25947_01/deployment_topics006.htm#CIHHBJAI)
    I already have some of these files. Can I change the version of existing files or do I need new ones? How can I change the version of existing files?
    Here are the headers of some of these files:
    web.xml: (Here I probably just change version="2.4" to version="2.3")
    <?xml version = '1.0' encoding = 'windows-1250'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
             version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    orion-application.xml: (Is version="10.0" the version I need to change to "1.2"?)
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                       xsi:schemaLocation="http://www.oracle.com/technology/oracleas/schema http://xmlns.oracle.com/oracleas/schema/orion-application-10_0.xsd"
                       version="10.0"
                       xmlns="http://www.oracle.com/technology/oracleas/schema">
    data-sources.xml.xml: (This file has only XML version, I don't believe this is the version I need to change)
    <?xml version = '1.0' encoding = 'windows-1250'?>I only have these three files from the table in my application. Do I need application.xml and oc4j-connectors.xml too?
    Thank you in advance!
    BB

    Found some more details on this error in emias.log:
    2007-11-21 09:22:54,538 [EMUI_09_22_54_/console/ias/oc4j/deployWiz/webModuleMappings$ctxType1=oracle*_ias$target=MY_AS_INSTANCE*_home$type=oc4j$ctxName1=MY_AS_INSTANCE$selectedStep=1]
    ERROR ias.oc4j doWebModulesNavigation.920 - DeployWiz: Caught exception in doWebModulesNavigation
    2007-11-21 09:23:49,054 [Thread-24] ERROR ias.oc4j doDeployWork.2628 - DeployWiz: Caught exception in doDeploy
    java.lang.NoClassDefFoundError: oracle/dms/instrument/CorrelationContext
    at oracle.ias.sysmgmt.task.TaskMaster.setContextECID(Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deploy(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.deploy(Unknown Source)
    at oracle.sysman.ias.sta.oc4j.DeployAppAdminObj.deploy(DeployAppAdminObj.java:164)
    at oracle.sysman.ias.sta.oc4j.DeployWiz.doDeployWork(DeployWiz.java:2594)
    at oracle.sysman.ias.sta.oc4j.DeployWiz.access$000(DeployWiz.java:179)
    at oracle.sysman.ias.sta.oc4j.DeployWiz$DeployBean.doWork(DeployWiz.java:3098)
    at oracle.sysman.emSDK.eml.util.iAS.ProcessingBean$ProcessingThread.run(ProcessingBean.java:264)
    at java.lang.Thread.run(Thread.java:534)
    2007-11-21 09:23:49,054 [Thread-24] ERROR ias.IASUtil displayError.753 -
    java.lang.NoClassDefFoundError: oracle/dms/instrument/CorrelationContext
    at oracle.ias.sysmgmt.task.TaskMaster.setContextECID(Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deploy(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.deploy(Unknown Source)
    at oracle.sysman.ias.sta.oc4j.DeployAppAdminObj.deploy(DeployAppAdminObj.java:164)
    at oracle.sysman.ias.sta.oc4j.DeployWiz.doDeployWork(DeployWiz.java:2594)
    at oracle.sysman.ias.sta.oc4j.DeployWiz.access$000(DeployWiz.java:179)
    at oracle.sysman.ias.sta.oc4j.DeployWiz$DeployBean.doWork(DeployWiz.java:3098)
    at oracle.sysman.emSDK.eml.util.iAS.ProcessingBean$ProcessingThread.run(ProcessingBean.java:264)
    at java.lang.Thread.run(Thread.java:534)
    2007-11-21 09:23:49,054 [Thread-24] ERROR util.iAS displayError.369 - An internal error occurred during the operation.
    java.lang.NoClassDefFoundError: oracle/core/ojdl/query/LogQueryException
    at oracle.sysman.ias.sta.oc4j.DeployWiz.removeAdminObjectsFromCache(DeployWiz.java:2708)
    at oracle.sysman.ias.sta.oc4j.DeployWiz.doDeployWork(DeployWiz.java:2648)
    at oracle.sysman.ias.sta.oc4j.DeployWiz.access$000(DeployWiz.java:179)
    at oracle.sysman.ias.sta.oc4j.DeployWiz$DeployBean.doWork(DeployWiz.java:3098)
    at oracle.sysman.emSDK.eml.util.iAS.ProcessingBean$ProcessingThread.run(ProcessingBean.java:264)
    at java.lang.Thread.run(Thread.java:534)

  • How to install ADF Runtime libraries to an Oracle Application Server 10g?

    Scenario:
    - JDev 10.1.3 (production) installed on my Win XP station.
    - OC4J 10.1.3 Standalone installed on my Win XP station.
    - OAS 10.1.3 (not OC4J Standalone) installed on a Linux SuSe server.
    - I have admin credentials for the OAS but don't for the server.
    Is it possible to install ADF Runtime from OAS Enterprise Manager? If yes, please, let me know. If not, I will have to bother server admin in order to copy those files. In this case, ca I rely on the log html file resulted from the install I made on my local OC4J instance in order to select the needed files?
    Thanks in advance.
    Regards,
    Gustavo
    São Paulo - Brasil

    As far as i know the ADF libraries can be updated via the solution you gave :
    Tools -> ADF Runtime Installer -> Oracle Application Server
    but this only applies for an OAS installed on the same machine where jdev resides
    for OAS in UNIX like systems i'm not sure if this can be done
    as far as i know the libraries must be copied manually but i can't confirm this theory
    i would like to know if it's possible to update the libraries from the Wizard on jdev installed on a windows machine to an OAS installed in UNIX?

  • Unable to start report service on Oracle application server 10g

    Hello,
    I tried starting services on Oracle application Server 10g using opmnctl startall but got the error below while starting the report service :
    linux_thin> opmnctl startall
    opmnctl: starting opmn and all managed processes...
    ================================================================================
    opmn id=linux_thin:6200
    6 of 7 processes started.
    ias-instance id=oracle10g_Forms.linux_thin
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    rep_gtb_service29/ReportsServer/rep_gtb_service29
    Error
    --> Process (pid=10049)
    failed to start a managed process after the maximum retry limit
    Log:
    /u01/oracle10g_Forms/opmn/logs/rep_gtb_service29~ReportsServer~rep_gtb_servi
    ce29~1
    linux_thin>
    Kindly assis on how to resolve this issue

    Hello,
    I tried starting services on Oracle application Server 10g using opmnctl startall but got the error below while starting the report service :
    linux_thin> opmnctl startall
    opmnctl: starting opmn and all managed processes...
    ================================================================================
    opmn id=linux_thin:6200
    6 of 7 processes started.
    ias-instance id=oracle10g_Forms.linux_thin
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    rep_gtb_service29/ReportsServer/rep_gtb_service29
    Error
    --> Process (pid=10049)
    failed to start a managed process after the maximum retry limit
    Log:
    /u01/oracle10g_Forms/opmn/logs/rep_gtb_service29~ReportsServer~rep_gtb_servi
    ce29~1
    linux_thin>
    Kindly assis on how to resolve this issue

  • Deploying  Jave portlet on Oracle Application Server 10g

    I have installed Oracle 10g Application server, donwloaded and installed JDevleoper 9.0.5.1 and the latest Java Portal Development and as well as the JDeveloper portlet-addin. Now, I followed the instructions from the http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/BUILD.JSR168.PORTLETS.USING.JAVA.PORTLET.WIZARD.9IJDEVELOPER.HTML
    On using JDeveloper addin wizrd to create a java portlet and so far so good. However, I am stuff on the last bit on deployment. It document says "# Now use the URL provided in the log page at the bottom of JDeveloper to get part of your URL (e.g. http://myserver.uk.oracle.com:8888/my-portlet) and complete the URL.
    http://myserver.uk.oracle.com:8888/my-portlet/portlets?WSDL
    Now use this URL to register your portlet with OracleAS Portal.
    But when i deploy my application (just a test thing), from the deployment tab I get:
    ---- Deployment started. ---- 22-Mar-2005 14:11:27
    Target platform is Oracle Application Server 10g (hotseatConnection).
    Wrote WAR file to C:\work\oracle\MyProject\MyPortlet\deploy\hotseat.war
    Wrote EAR file to C:\work\oracle\MyProject\MyPortlet\deploy\hotseat.ear
    Invoking DCM servlet client...
    C:\Java\j2sdk1.4.2_03\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\Java\JDeveloper9.0.5.1\jdev\lib\oc4j_remote_deploy.jar http://194.83.41.114:1811/Oc4jDcmServletAPI/ ias_admin **** redeploy /u01/app/oracle/product/10.1.0/oraMid_904 C:\work\oracle\MyProject\MyPortlet\deploy\hotseat.ear hotseat
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy /u01/app/oracle/product/10.1.0/oraMid_904 C:\work\oracle\MyProject\MyPortlet\deploy\hotseat.ear hotseat UNDEFINED
    Command = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = c253297271317c3f930003c405ea91ff598582f0be0
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    DCM command completed successfully.
    Output:
    Exit status of DCM servlet client: 0
    Elapsed time for deployment: 1 minute, 45 seconds
    ---- Deployment finished. ---- 22-Mar-2005 14:13:12
    My question is, HOW DO I ACCESS the deployed application, since it didn't specify the URL where it's deployed????
    Many thanks
    P/S
    I have tried:
    http://{myserver}:8888/{my-portlet}/portlets?WSDL but that doesn't work

    Hi FormsEleven,
    When you say you can do this or you have done for demo then considering following directory structure if I have two forms having common form names how it will be resolved?
    Or how the url to access these forms will be?
    As shown in the following structure consider we have Form1 in sub directory1 as well as in sub-directory2 then how the link to access these forms will be?
    - Hosting Directory (formsweb.cfg entry)
      - Sub Directory1
          - Form1
          - Form2 
      - Sub Directory2
          - Form1
          - Form4
      - Sub Directory3
          - Form5
          - Form6

  • Problem with clustering of oracle application server 10.1.3.1

    Hi
    I have clustered two instances of oracle application server 10.1.3.1 running on solaris.
    Instance 1
    <notification-server interface="ipv4">
    <port local="6100" remote="6200" request="6003"/>
    <ssl enabled="true" wallet-file="$ORACLE_HOME/opmn/conf/ssl.wlt/default"/>
         <topology>
              <nodes list="10.x.x.1:6201"/>
         </topology>
    </notification-server>
    Instance 2
    <notification-server interface="ipv4">
    <port local="6101" remote="6201" request="6004"/>
    <ssl enabled="true" wallet-file="$ORACLE_HOME/opmn/conf/ssl.wlt/default"/>
    <topology>
              <nodes list="10.x.x.2:6200"/>
         </topology>
    </notification-server>
    But when i log on to enterprise manager i get the following message on top of the page:
    You have more than one instance of the Application Server Control application running in this cluster. This is not a recommended configuration and could lead to unexpected problems. Please stop the additional instances of Application Server Control or disable routing to these instances.
    When i click on one of the instances, i get the session expired error.
    what is the problem behind this?
    regards,

    In the doc, it states that you should only ever have one active instance of application server control running in a cluster at a time -- ASC was not designed to operate as a session sharing application, so your session state is specific to one instance. If for some reason you were directed to the ASC application on the other instance, you get errors.
    You can use the OC4J admin_client.jar utility or the opmnctl command to shut down the ascontrol application in one of the instances.
    -steve-

  • Configure OID 10.1.4.0.1 with Oracle Application Server 10.1.3.3

    Dear gurus,
    I have configured OID 10.1.4.0.1 and MRCA 10.1.4.0.1 on database 10.2.0.3 with Oracle Application Server 10.1.3.3 (HTTP Server and OC4J Server). it went well, i could login into my oid or sso page. then i deployed a simple jar file into OAS 10.1.3.3 and i updated few lines in mod_osso.conf on midtier 10.1.3.3, so it look like this :
    ==================================================================================================
    LoadModule osso_module libexec/mod_osso.so
    <IfModule mod_osso.c>
    OssoConfigFile /u01/oraias/midtier/Apache/Apache/conf/osso/osso.conf
    OssoIpCheck off
    OssoIdleTimeout off
    # Insert Protected Resources: (see Notes below for how to protect resources)
    # Notes
    # 1. Here's what you need to add to protect a resource,
    # e.g. <ApacheServerRoot>/htdocs/private:
    # <Location /private>
    # require valid-user
    # AuthType Basic
    # </Location>
    <Location /JABSUAT>
    require valid-user
    AuthType Basic
    </Location>
    <Location /HR>
    require valid-user
    AuthType Basic
    </Location>
    </IfModule>
    # If you would like to have short hostnames redirected to
    # fully qualified hostnames to allow clients that need
    ==================================================================================================
    my application faces name is HR, so i called the URL http://devel.sas.co.id:7778/HR/faces/HomeMenu.jspx, the output was sso login page, so i did login with username : orcladmin and password : oracle1 but it turned me error page on browser, it said :
    =========================================================
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    =========================================================
    and i found that in /u02/oid/Apache/Apache/logs/error_log.1249430400 contains these lines :
    [Wed Aug  5 09:13:33 2009] [notice] Accept mutex: fcntl (Default: sysvsem)
    [Wed Aug  5 09:13:33 2009] [warn] long lost child came home! (pid 4924)
    [Wed Aug  5 09:14:01 2009] [error] [client 172.16.2.14] [ecid: 1249438441:172.16.5.11:5080:0:2,0] File does not exist: /u02/oid/Apache/Apache/htdocs/favicon.ico
    [Wed Aug  5 09:14:04 2009] [error] [client 172.16.2.14] [ecid: 1249438444:172.16.5.11:5068:0:3,0] File does not exist: /u02/oid/Apache/Apache/htdocs/favicon.ico
    [Wed Aug  5 09:14:24 2009] [error] [client 172.16.2.14] [ecid: 1249438464:172.16.5.11:5093:0:2,0] \n[OSSO] E34: Unable to assure integrity of communication with SSO server.\n
    [Wed Aug  5 09:49:36 2009] [error] [client 172.16.2.14] [ecid: 1249440576:172.16.5.11:5074:0:20,0] \n[OSSO] E34: Unable to assure integrity of communication with SSO server.\n
    [Wed Aug  5 10:30:01 2009] [error] [client 172.16.2.14] [ecid: 1249443001:172.16.5.11:5096:0:25,0] \n[OSSO] E34: Unable to assure integrity of communication with SSO server.\n
    [Wed Aug  5 10:34:13 2009] [error] [client 172.16.2.14] [ecid: 1249443253:172.16.5.11:5102:0:26,0] \n[OSSO] E34: Unable to assure integrity of communication with SSO server.\n
    [Wed Aug  5 10:58:58 2009] [error] [client 172.16.2.14] [ecid: 1249444738:172.16.5.11:5093:0:40,0] File does not exist: /u02/oid/Apache/Apache/htdocs/favicon.ico
    [Wed Aug  5 10:59:09 2009] [error] [client 172.16.2.14] [ecid: 1249444749:172.16.5.11:5093:0:41,0] \n[OSSO] E34: Unable to assure integrity of communication with SSO server.\n
    Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server Server at devel.sas.co.id Port 7782
    Note : 172.16.2.14 is my pc and 172.16.5.11 is OID and MRCA's IP, please need your suggestion, Many Thanks.
    Regards
    Edited by: andes on Aug 4, 2009 9:23 PM
    Edited by: andes on Aug 4, 2009 9:28 PM

    Dear gurus,
    i have solved my problem, i re-run ssoreg.sh and re-configure mod_osso.conf, now it's working.
    Regards

  • Oracle Application Server 10.1.3.3.0 OC4J Restarting

    Oracle ADF application is deployed to the AS from JDeveolper 10.1.3.3.0 and runs fine initially but after continual use the OC4J returns a runtime exception and restarts.
    1. This instance is not associated with an infrastructure but it is on a server with 10.1.2.2.0 Infra and middle tier instances.
    2.The error occurs while using a web app. It all works fine at first, can nav pages, view records from the db just fine. Then after say 15mins the page returns Internal Server Error message at which time I check the Oracle app server ctrl to find the error below. That error is displayed in the actual app server ctrl page.
    After a few minutes I can refresh the web app page and it returns to the home page working fine again until the next exception and restart. Sometimes as a result of this issue the server will not OC4J will not restart and the page will stop working altogether. At this point I cannot ever restart the OC4J. I have to Restart the entire server machine.
    An error has occurred.
    Caught exception calling invoke on oc4j:name=Singleton,type=OpmnConfig
    Exception thrown in RequiredModelMBean while trying to invoke operation invoke
    Object reference no longer valid (disconnected)
    Object reference no longer valid (disconnected)
    Hide Additional Trace Information
    oracle.j2ee.admin.jmx.exception.config.ConfigMBeanException:
    Caught exception calling invoke on oc4j:name=Singleton,type=OpmnConfig
    at oracle.oc4j.admin.management.farm.util.OpmnProxyUtil.invoke(OpmnProxyUtil.java:204)
    at oracle.oc4j.admin.management.farm.util.OpmnProxyUtil.invokeSingle(OpmnProxyUtil.java:129)
    at oracle.oc4j.admin.management.farm.util.OpmnProxyUtil.invokeSingle(OpmnProxyUtil.java:99)
    at oracle.oc4j.admin.management.farm.mbeans.OpmnConfigAgr.getNotificationServerAttrs(OpmnConfigAgr.java:200)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
    at oracle.oc4j.admin.management.farm.util.OpmnProxyUtil.invoke(OpmnProxyUtil.java:202) ... 50 more
    Caused by: java.io.IOException: Object reference no longer valid (disconnected)
    at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.invoke(RemoteMBeanServer.java:820)
    at oracle.oc4j.admin.management.farm.mbeans.JVMAgr.invoke(JVMAgr.java:1481)
    at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
    at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239)
    at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071) ... 58
    more Caused by: com.evermind.server.rmi.RMIConnectionException: Object reference no longer valid (disconnected)
    at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:60)
    at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
    at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:38)
    at __Proxy8.invoke(Unknown Source) at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.invoke(MBeanServerEjbRemoteSynchronizer.java:144)
    at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.invoke(RemoteMBeanServer.java:816) ... 68 more

    Greetings,
    First I would recommend turning up your logging level to FINEST to glean more informatin regarding the error that is occurring. Please post these data along with any related Messaging service configuration information. It is possible that two services are attempting to make the same connection and it is causing one or the other to fail. You might also review the information in your opmn config file. Does the 10.1.2.2 instance remain running during the OC4j restart?
    OPMN Configuration:
    10.1.20 How to Specify Ports for State Replication in OPMN
    When you deploy an application utilizing state replication in a managed Oracle Application Server, OPMN dynamically allocates the ports that are used to propagate state across the cluster. You can restrict this allocation to a range of ports for an application that has peer-to-peer replication enabled. Specifying ports for state replication might be necessary in an installation with a firewall or network that uses a well-defined port range.
    To specify a range of ports for peer-to-peer state replication
    Add a <port> element to an OC4J instance configuration in the opmn.xml file.
    Specify the name of an application that has peer-to-peer replication enabled as the value of the id attribute of the <port> element.
    Specify a range of ports in the range attribute of the <port> element.
    For example, for deployment of an application named rac-web that is set up for peer-to-peer replication, the line labeled <port id=rac-web .../> in the following OC4J instance configuration tells OPMN to use ports 15213 to 15214 for state replication:
    <port id="default-web-site" range="80-100" protocol="http"/>
    <port id="rmi" range="12401-12500"/>
    <port id="rmis" range="12701-12800"/>
    <port id="jms" range="12601-12700"/>
    <port id="rac-web" range="15213-15214"/>
    For more information about state replication, see Chapter 9, "Application Clustering in OC4J," in the Oracle Containers for J2EE Configuration and Administration Guide.Quoted from:
    http://download.oracle.com/docs/cd/B32110_01/relnotes.1013/b32199/oc4j.htm#CEGICDEF-Michael

  • Internal error while running forms in oracle application server 10 G

    I am getting following error while running form in browser for oracle application server 10 G
    "Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log."
    where to find the error log and how to rectify it.
    Arun

    and at what time does the error occur? Upon starting the form? When you browse data? When you execute a query?
    Also: do you use Bean Areas in your form? How do you initialise them?
    Have you compiled the form against the same version of database and PL/SQL libraries as the ones you use in the runtime environment? Have you compiled the form in Form Builder? If so, try opening the form, hit Ctrl-Shift-K twice (!), then Ctrl-S, and only then Ctrl-T.
    Do you start the form from another form? If so, has this calling form been compiled against the same environment?

  • 500 Internal Server Error on IBM AIX for Oracle Application Server 10g

    Hi all,
    I have installed Oracle AS 10g on IBM AIX 5.3.After installation everything was working fine.After some time when i was trying to access the emd console for deploying the application it gives me following error:w/o asking for user name(ias_admin) and password.
    500 Internal Server Error
    java.lang.NoClassDefFoundError: oracle/sysman/eml/app/Console     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Class.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplication.java:2283)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpApplication.java:4795)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:568)
    Please help me out...
    Thanks in advance

    Hi,
    I am facing the same problem as well. Below is part
    of error captured from em-application.log:
    08/07/22 17:02:59 Started
    08/07/22 17:03:00 default: jsp: init
    08/07/22 17:03:00 default: Started
    08/07/22 17:03:04 emd: jsp: init
    08/07/22 17:03:04 emd: dynamicImage: init
    08/07/22 17:03:11 emd: Error initializing servlet
    java.lang.InternalError: Can't connect to X11 window
    server using '172.28.8.106:0.0' as the value of the
    DISPLAY variable.
    at
    sun.awt.X11GraphicsEnvironment.initDisplay(Native
    Method)
    at
    sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnv
    ironment.java:175)
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java:180)
    at
    java.awt.GraphicsEnvironment.getLocalGraphicsEnvironme
    nt(GraphicsEnvironment.java:91)
    at
    java.awt.Font.initializeFont(Font.java:333)
    at java.awt.Font.<init>(Font.java:368)
    at
    oracle.sysman.eml.app.Console.<clinit>(Console.java:57
    9)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java(Compiled
    Code))
    at
    com.evermind.server.http.HttpApplication.loadServlet(H
    ttpApplication.java:2283)
    at
    com.evermind.server.http.HttpApplication.findServlet(H
    ttpApplication.java:4795)
    at
    com.evermind.server.http.HttpApplication.initPreloadSe
    rvlets(HttpApplication.java:4889)
    at
    com.evermind.server.http.HttpApplication.initDynamic(H
    ttpApplication.java:1015)
    at
    com.evermind.server.http.HttpApplication.<init>(HttpAp
    plication.java:549)
    at
    com.evermind.server.Application.getHttpApplication(App
    lication.java:890)
    at
    com.evermind.server.http.HttpServer.getHttpApplication
    (HttpServer.java:707)
    at
    com.evermind.server.http.HttpSite.initApplications(Htt
    pSite.java:625)
    at
    com.evermind.server.http.HttpSite.setConfig(HttpSite.j
    ava:278)
    at
    com.evermind.server.http.HttpServer.setSites(HttpServe
    r.java:278)
    at
    com.evermind.server.http.HttpServer.setConfig(HttpServ
    er.java:179)
    at
    com.evermind.server.ApplicationServer.initializeHttp(A
    pplicationServer.java:2394)
    at
    com.evermind.server.ApplicationServer.setConfig(Applic
    ationServer.java:1551)
    at
    com.evermind.server.ApplicationServerLauncher.run(Appl
    icationServerLauncher.java:92)
    at java.lang.Thread.run(Thread.java:568)
    17:03:11 emd: Error preloading servlet
    avax.servlet.ServletException: Error initializing
    servlet
    at
    com.evermind.server.http.HttpApplication.findServlet(H
    ttpApplication.java:4846)
    at
    com.evermind.server.http.HttpApplication.initPreloadSe
    rvlets(HttpApplication.java:4889)
    at
    com.evermind.server.http.HttpApplication.initDynamic(H
    ttpApplication.java:1015)
    at
    com.evermind.server.http.HttpApplication.<init>(HttpAp
    plication.java:549)
    at
    com.evermind.server.Application.getHttpApplication(App
    lication.java:890)
    at
    com.evermind.server.http.HttpServer.getHttpApplication
    (HttpServer.java:707)
    at
    com.evermind.server.http.HttpSite.initApplications(Htt
    pSite.java:625)
    at
    com.evermind.server.http.HttpSite.setConfig(HttpSite.j
    ava:278)
    at
    com.evermind.server.http.HttpServer.setSites(HttpServe
    r.java:278)
    at
    com.evermind.server.http.HttpServer.setConfig(HttpServ
    er.java:179)
    at
    com.evermind.server.ApplicationServer.initializeHttp(A
    pplicationServer.java:2394)
    at
    com.evermind.server.ApplicationServer.setConfig(Applic
    ationServer.java:1551)
    at
    com.evermind.server.ApplicationServerLauncher.run(Appl
    icationServerLauncher.java:92)
    at java.lang.Thread.run(Thread.java:568)
    17:03:11 emd: redirect: init
    8/07/22 17:03:11 emd: Started
    08/07/22 17:03:11 cabo: jsp: init
    08/07/22 17:03:11 cabo: Started
    08/07/22 17:05:28 emd: Error initializing servlet
    java.lang.NoClassDefFoundError:
    oracle/sysman/eml/app/Console
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java(Compiled
    Code))
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpApplication.loadServlet
    Http
    Application.java:2283)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpApplication.findServlet
    Http
    Application.java:4795)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpApplication.getRequestD
    spat
    cher(HttpApplication.java:2821)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpRequestHandler.processR
    ques
    t(HttpRequestHandler.java:680)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpRequestHandler.run(Http
    eque
    stHandler.java:285)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpRequestHandler.run(Http
    eque
    stHandler.java:126)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$M
    Work
    er.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:568)
    17:05:28 emd: Servlet error
    /b]
    Could someone please help me take a look on this?
    Thank you.
    Regards,
    HT
    Hi,
    I have got the solution........
    go through the url:
    http://docs.tpu.ru/docs/oracle/en/oas/10.1.2.0.2/aix.1012/relnotes.1012/relnotes/install.htm
    Read these points:
    Class Not Found Execption: 2.1.25
    After doing all these four steps,restart your application server control.
    Cause of this problem:
    X Virtual Frame Buffer: 2.4.14
    Cheers,

Maybe you are looking for

  • Graph Legend problem

    Hi all. I am using Studio Edition Version 11.1.1.0.1 and got some problems with graph legend. I have a Pie chart and a bar graph which are made from the same read only view object and I can´t understand why the legend on them don´t show the same thin

  • Printing PO in the language of OA (ordering address)

    Hello all, In our POs we use partners VN (Vendor) and OA (Ordering address). The PO is printed with the address of OA, the output type NEU has the partner role OA . Sometimes the language key in the vendor master data of OA is different from the lang

  • HT201343 Airplay mirroring whilst using minidisplay port

    Hi, I was hoping someone could offer advice as I'm struggling to find the answer. If I use airplay mirroring on a 2012 macbook air whilst a second external display is also connected through a minidisplay port adapter would the airplay mirroring of th

  • Plz increase performance of this report

    hi all i want to know how can i improve the performance of my report. the code is given below and it takes so much time on production even for single record plz help HERE COMES THE CODE *& Report  ZGRSTATUS REPORT  ZGRSTATUS. TYPE-POOLS slis. TABLES:

  • Getting returned mail messages for emails I did not send

    I've recently started getting returned mail messages for emails I did not send. Why is this happening and how can I stop it?