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
Similar Messages
-
[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,
BisserThank 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. -
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,
Kamranhi 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 -
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!
MuriloHi 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!
BBFound 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 - BrasilAs 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 issueHello,
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 workHi 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- -
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 PMDear 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 moreGreetings,
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.
Arunand 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 advanceHi,
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, -
Oracle application server 10.1.3.1.0 install - JAVA error
Hi Everyone,
I am trying to Install Oracle Application Server 10.1.3.1.0 on 32 bit Red Hat Enterprise Linux Server release 5.8 (Tikanga)
When running the Installer, I use the -ignoreSysPrereqs option because 10.1.3.1.0 is only supported with Linux Server 4, I believe. But I know people have installed it on Linux 5.7 and 5.8
anyways, Oracle application server gets installed and asks me to run root.sh. I run root.sh and then hit the OK button to proceed,
At this point, it tries to run the configuration assistant and fails right away with the following error:
Starting to execute configuration assistants
Launched configuration assistant 'Oracle Application Server Configuration Assistant'
Tool type is: Optional.
The command being spawned is: '/u01/app/oracle/product/10.1.3.1/jdk/bin/java -cp /u01/app/oracle/product/10.1.3.1/j2ee/home/applications/ascontrol/ascontrol/WEB-INF/lib/ascontrol.jar:/u01/app/oracle/product/10.1.3.1/j2ee/home/applications/ascontrol/ascontrol/WEB-INF/lib/log4j-core.jar:/u01/app/oracle/product/10.1.3.1/jlib/oraclepki.jar:/u01/app/oracle/product/10.1.3.1/jlib/ojmisc.jar: oracle.sysman.ias.studio.installer.ASControlConfigAssistant -sso false -j2eeinstance home -username oc4jadmin -password Protected value, not to be logged -oraclehome /u01/app/oracle/product/10.1.3.1'
Start output from spawned process:
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/sysman/ias/studio/installer/ASControlConfigAssistant
End output from spawned process.
Configuration assistant "Oracle Application Server Configuration Assistant" failed
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/sysman/ias/studio/installer/ASControlConfigAssistant
Any ideas? am i missing a library or environment variable?
ThanksI have now set the following environment variables
ORACLE_BASE
ORACLE_HOME
TNS_ADMIN
PATH
JAVA HOME
and now when I try to run opmnctl startall, I get:
opmnctl: starting opmn and all managed processes...
globalInitNLS: NLS boot file not found or invalid
-- default linked-in boot block used
main: NLS initialization failed!!
globalInitNLS: NLS boot file not found or invalid
-- default linked-in boot block used
main: NLS initialization failed!!
globalInitNLS: NLS boot file not found or invalid
-- default linked-in boot block used
main: NLS initialization failed!!
opmnctl: opmn start failed. -
Problem in oracle application server 10g
hi all
i have problem with application server 10g
my situation :
oracle database 10g release 2
oracle application server 10g ( forms,reports)
and i installed the database and application server on the same computer , and with windows xp service pack 2 os
my problem is when i start the computer that connected to a network some services of application server not working , note that no problems with the database
and i installed node 32 antivirus
can any one help me plz ?Wich processes don't start? do you have this services in Automatic?
Can you try to pass the to manual, and start the procs suing opmnctl command and check the logs of it?
Regards
Maybe you are looking for
-
Will my mid-2010 macbook pro function properly with the LCD?
So my warranty is going to run out soon, and i'm thinking about just hooking up my macbook pro to a 27 inch monitor and never detatching it. I've seen guides on how to remove the entire display assembly and its no issue. I just want to know if the ma
-
Hello - I recently got Comcast Xfinity service. We had switched from a different service. Our wifi service was never great, but prior to Xfinity, it worked decently. But now that we have Xfinity, our wifi is much worse and very unreliable. I am s
-
How to find out the BI Publisher Version from the Excel output file
Hi, Can any one tell me How to find out the BI Publisher Version from the Excel output file generated using BI publisher.
-
Oracle 11g /proc file system files on Linux x86-64
OS: RHEL 5.6 Oracle: 11.2.0.3 Standard Edition RAC (GI and DB) In 11.2.0.3, it is found that the pseudo files for Oracle processes in /proc filesystem were owned by root, even though the process owner is oracle. [oracle@dbserver proc]$ ps -ef|grep ck
-
How can I encrypt a ViewPreset (InDesign server)
I am creating a website in which customers can create their own documents. I have created templates in InDesign and the customer can adjust the texts in the website. What I would like to see, is the option to encrypt a PDF, so that the customer canno