Programmatically determine OC4J instances currently on-line via OPMN or ?

Hello,
I am using OAS 10.1.3.1 and am wondering if there is a programmatic way (e.g. MBeans, web service call, etc.) via Java that I can interrogate OPMN (or any other OAS component) for what it understands to be the collection of OC4J instances that are currently on-line? While my mod_oc4j.conf file may enumerate them, I would prefer to be able to check programmatically at run time which of those configured instances are actually on-line, whether they be accepting requests or unresponsive.
If there is a means via OPMN or otherwise, is it expected this type of information will be programmatically available via WebLogic once OAS/OC4J is no longer supported?
Thanks,
Doug

Hi Michel,
Sorry for the delay in my response. If there is an MBean browser, that must mean there are MBeans lying around somewhere, so yes, that is a solution I would consider using. I found some relevant information on Chintan Shah's blog (http://chintanblog.blogspot.com/2007/12/it-is-all-about-jmx-i-worked-on-jmx.html) regarding JMVServiceURL examples of how you could query those MBeans as a client of an MBeanServer.
I also found that Enterprise Manager can be used to expose additional identifying information that can be further used to interrogate the MBeans in terms of examples.
I may attempt this approach in the near future, so thanks for that tip.
Regards,
Doug

Similar Messages

  • Oracle AS 10gR2: create new oc4j instance supporting ssl/https

    hi,
    i've got an oracle application server 10.1.2 (infra and midtier).
    in the midtier i want to add a new oc4j-instance which is possible via oracle enterprise manager 10g. after i've created the new oc4j-instance and deployed a war-file ("myapp") i can access a jsp of the deployed application with "http://myserver/myapp/test.jsp". now i want to enable ssl/https for my new oc4j-instance.
    i did the following steps according to the manual (http://download-west.oracle.com/docs/cd/B14099_19/web.1012/b14013/configssl.htm):
    1) created certificate with keytool
    2) added secure-web-site.xml (new oc4j-instance)
    3) modified sever.xml (new oc4j-instance)
    4) restarted new oc4j-instance
    my test.jsp is still available with "http://myserver/myapp/test.jsp", but when i try to access it with "https://myserver/myapp/test.jsp" i get an error that the resource is not found. strange that when accessing test.jsp with http it is searched in the folder of my new oc4j-instance (%ORACLE_HOME%/j2ee/oc4jnew/...), but when i want to access the page through https the server looks for the jsp in the default oc4j "home" (%ORACLE_HOME%/j2ee/home/...).
    what's the reason for that an how can i correct it?
    regards,
    matthias
    Edited by: matthias on Apr 26, 2010 4:15 PM

    You need to secure the HTTP Server and not the OC4J, remember that HTTP and WebCache are your frontends for any presentation layer, you need to modify ssl.conf and webcache in WebCache Admin page (in EM Console) to make them use ssl ports, as well as you want to use url with no port, you need to use port 443.
    Greetings

  • Issue after configuring the oc4j_soa OC4J Instance to use OID

    Hi All,
    I just tried to configure the oc4j_soa OC4J instance of SOA suite to use Oracle Internet Directory. as a part of this process, after selecting orbpel and hw_services applications, we tried to restart the oc4j_soa OC4J instance however got the error: OPMN could not start all the processes...we Stoped and Started the SOA suite.
    When I tried to stop the ascontrol of home and started the ascontrol of oc4j_soa from the back end by updating the server.xml file of corresponding oc4j instances.
    unable to start the Application server Control i.e. not even getting the SSO login page..why?
    Thanks
    Krrish

    Check the log files for exceptions.
    --Shiv                                                                                                                                                                                                                   

  • Configuring multiple web sites in a single OC4J instance with 10g OEM

    Hi There,
    there doesn't seem to be a way of configuring multiple web sites within a single OC4J instance using the 10g Enterprise Manager Website, so can i assume that there's some performance related issues with doing this, or is it just a case of if you want multiple web sites, configure it manually?
    We currently use 9iAS release 1 (which has been configured to use multiple web sites - with normally 1 j2ee app in each website - in a single OC4J clustered instance, using mod_proxy to forward the http requests onto oc4j), but we are looking to migrate to 10g very soon...
    The initial configuration was done by an external company, so i'm not entirely sure of the reasons why it was chosen (perhaps so that if there was a problem with a single website, it wouldn't impact all our applications)..
    Does anybody else currently use multiple *-web-site.xml's in a 9iAS release 2 or 10g in a production environment, and if so did you encounter any problems with the OEM website (assuming you configured them manually)?
    Thanks in advance,
    Andy

    Hello,
    Something like this:
    New-OWAVirtualDirectory -WebSiteName "FBA"
    Enable the Basic authentication via running the following command:
    Set-OWAVirtualDirectory -Identity "yourservername\owa (FBA)" -BasicAuthentication $true
    Restart the IIS admin service in services.msc
    Thanks,
    Simon Wu
    TechNet Community Support

  • Error in creating new OC4J instance

    Hi All,
    I am trying to Create a new OC4J Instance with the Help of "Oracle Enterprise Manager 10g for Application Server Control" , but the following Error message is displayed.
    "Error:
    The configuration files for this Oracle Application Server instance are inconsistent with the
    configuration stored in the repository. In order to protect the repository,
    no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. The exception associated with this failed operation is:
    {0}
    . Please also check the logs located at
    ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
    the configuration files on disk. Some possible causes are:
    * permissions on files
    * file contention issues on Windows NT
    * internal Oracle error
    After resolving the problem that prevented DCM from updating the configuration
    files, you may use the dcmctl resyncInstance command to resolve the problem.
    Alternatively, you can stop and then restart the active dcmctl or EMD
    process and resyncInstance will automatically be performed."
    Can anyone tell me how to resolve this problem and create a new OC4J instance?

    Hi Jason,
    Thanks for your help.
    I tried DCM tool but it is giving the same error. Is there any other tool to resolve this problem?
    Have you worked on Oracle Content Management SDK (Oracle CM SDK)?
    Actually, I am currently working on Oracle CM SDK. I have to dvelope an Content Management application (like WebstarterApplication which is provided)from scratch which can enable end user
    1. To browse through the documents in the repository.
    2. To open the documents form the repository itself.
    3. To edit and save the document in the place in the repository.
    I found that in WebstarterApplication (an CM SDK Application which is provided as demo), 1st and 2nd features are there but 3rd one is not.
    So, I am going to develope an application from scratch.
    Then is it necessary to create an OC4J Instance?
    Please suggest me what should be the steps to be followed to develope such an application from scratch.
    Thanks.

  • How to start ascontrol application of oc4j_soa OC4J Instance

    Hi All,
    As per the Content DB Developer's kit we have configured the oc4j_soa OC4J to use OID, however the ascontrol application of this Instance is down and the ascontrol application of home OC4J Instance is up (I guess only one instance of ascontrol must be running at any point of time). However, I will not be able to create the connection to oc4j_soa with JDeveloper as it's ascontrol is not running...How can I make it up?..if I try to make it up from back end by changing the
    <application name="ascontrol" path="../../home/applications/ascontrol.ear" parent="system" start="true" /> start property to false in F:\product\10.1.3.1\OracleAS_1\j2ee\home\config\server.xml and <application name="ascontrol" path="../../oc4j_soa/applications/ascontrol.ear" parent="system" start="false" /> start property to true in F:\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\config\server.xml and restart the SOA suite, I am unable to start the Appliaction Server Control page as the ascontrol of home is is refering to Applicatin server control page we are working on...so how to make the oc4j_soa's ascontrol up and running without loosing the access to Appl. Server Ctrl. page.
    Thanks
    Krrish

    Hi Krrish,
    This can only be done via the opmnctl command line tool.
    Subsequently run:
    - opmnctl stopproc process-type=home application=ascontrol
    - opmnctl startproc process-type=oc4j_soa application=ascontrol
    Then ascontrol runs in oc4j_soa.
    Although this is fine for development or when running SOA Suite in a Virtual Machine (and for cutting down memory consumption) it is not recommended for production deployments. In the latter case only run SOA Suite components in your SOA OC4J instance.
    Hth,
    Sjoerd

  • OC4J Instance Failure

    Hi,
    I'm currently install 9iAS R2 in w2k, however, it always failed to setup "OC4J Instance Configuration Assistant" at the end of installation, even Oracle9iAS Infrastructure or Oracle9i Application Server.
    The error was:
    Starting OC4J instance 'OC4J_DAS'..done.
    Deploying application 'oiddas' to OC4J instance 'OC4J_DAS'..
    ERROR: Caught exception during deploy.
    oracle.ias.sysmgmt.exception.TaskException: The configuration files for this Oracle9iAS instance are inconsistent with the
    configuration stored in the repository. In order to protect the repository,
    no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. Please check the logs located at
    ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
    the configuration files on disk. Some possible causes are:
    * permissions on files
    * file contention issues on Windows NT
    * EMD and dcmctl running concurrently
    * internal Oracle error
    After resolving the problem that prevented DCM from updating the configuration
    files, you may use the dcmctl resyncInstance command to resolve the problem.
    Alternatively, you can stop and then restart the active dcmctl or EMD
    process and resyncInstance will automatically be performed.
    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.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
    at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    Stopping OC4J instance 'OC4J_DAS'..done.
    DCM Terminated.
    Can anyone help me? Thanks!
    Ken

    If you have a corrupted repository you are pretty much done unless you have made a backup of the repo. I had what looked like a corrupted repository and when I contact Oracle support on it they said the best thing to do is reinstall because we may spend hours attempting to fix it and not get anywhere, one has to wonder if they even know how to fix it.
    Another issue that I discovered is that there is an undisclosed bug with the repository that they are currently working on a fix for. It seems that if you issue dcmctl commands while the em is up you risk corrupting the repository. Now the AS9i admin documentation claims that you must have the em up for everything to function properly and that was bad news for me because the EM is so slow on my platform it is almost unusable and I opted to use the dcmctl for everything. When I brought this up to the support representative I was working with he told me that the documentation was incorrect and it would function fine with out the web enterprise manager up. Either way I would get in the habit of making backups of the repo before you do anything.
    In your case I would reinstall the whole thing and when you reinstall you have to make sure that you completely remove all oracle references on the system. Inorder for you to have a successfull reinstall you have to have a completly clean system. Oracle produced a note on what you need to remove from the system inorder for a success reinstall, this document is however just for Unix so its not going to help you much. Last I checked the note wasn't public and consequently not available on metalink, I had to request it through Oracle support. The note is number 201977.1 if you can not access it and you want it let me know and I can send it to you.

  • OC4J Instance Configuration Assistant fails

    hi guys,
    I am trying to install OEM Release 2 (10.2.0.2) on 2003 server, and below error shows up. Any comment would be useful
    thanks in advance..
    Calling updateConfig to notify DCM of new deployments...failed!
    ERROR: Caught exception calling updateConfig: oracle.ias.sysmgmt.exception.TransactionFailedException: An exception occurred in the "apache" plugin provided by the "OHS" component while validating configuration files for that component.
    Resolution:
    The resolution information provided by the "OHS" component may be helpful.
    In addition, here are some common causes of problems:
         incorrect permissions on files
         configuration files are missing or invalid
         syntax error in configuration files
    Exception thrown by plugin "apache":
    java.io.IOException
    CreateProcess: C:\OracleHomes\oms10g//Apache//Apache//bin//apachectl configtest -f C:\OracleHomes\oms10g\Apache\Apache\conf\httpd.conf.ohsPluginTmp -D SSL error=2
    ERROR! DEPLOY TOOL CANNOT CONTINUE DEPLOYMENTS: could not update DCM repository with newly deployed applications - ALL APPLICATIONS WILL BE UNDEPLOYED.
    Undeploying application 'IsWebCacheWorking' from OC4J instance 'home'.
    Application 'IsWebCacheWorking' successfully undeployed.
    Stopping OC4J instance 'home'...done.
    Terminating DCM...done.
    Copying C:\OracleHomes\oms10g/j2ee/deploy.ini to C:\OracleHomes\oms10g/j2ee/deploy.ini.1214993246828.bak.
    Writing any undeployed entries back to C:\OracleHomes\oms10g/j2ee/deploy.ini.
    Oc4jDeploy tool completed, but with errors.

    Are your system regional settings not English?
    You may be hitting this issue:
    Subject:      Problem While Upgrading To 10.2.0.3.0 Configuration assistant "OMS Patch Configuration" failed
         Doc ID:      NOTE:459705.1      TYPE:      PROBLEM
         Last Revision Date:      25-JUN-2008      Status:      MODERATED
    In this Document
    Symptoms
    Cause
    Solution
    References
    This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.
    Applies to:
    Enterprise Manager Grid Control - Version: 10.2.0.2.0
    Microsoft Windows
    Symptoms
    From installActions2007-09-07_04-21-44PM.log,
    INFO: Configuration assistant "Repository Upgrade" succeeded
    INFO: Command = oracle.sysman.emcp.oms.OmsPatchUpgrade -configureOms
    Operation Stopping OPMN Processes is in progress.
    Operation EM Deploying is in progress.
    Command = oracle.sysman.emcp.oms.OmsPatchUpgrade has failed
    INFO: Configuration assistant "OMS Patch Configuration" failed
    Cause
    This is caused due to Bug 4377902 in the Application server which comes with Oracle Management Server.
    "In Turkish, the capitalized form of character "i" is not "I". Instead it is an"I" with a dot on top. (To explain further - there is also capital "I" but the lowercase of that letter does not have a dot - and i with dot and without dot are different vowels).
    When Turkish locale is set and if somehow the Java capitalizes the lowercase i , that in turn can become invalid for eg. Windows."
    From oracle.sysman.top.oms_2007-09-07_04-29-59-PM.log,
    Redeploying application 'em' to OC4J instance 'OC4J_EM'.
    Notification ==> Application Deployer for em STARTS [ 2007-09-07T16:43:02.612EEST ]
    Notification ==> Undeploy previous deployment
    Notification ==> Copy the archive to D:\oracle\oms10g\j2ee\OC4J_EM\applications\em.ear
    Notification ==> Unpack em.ear begins...
    Notification ==> Unpack em.ear ends...
    Notification ==> Initialize em.ear begins...
    Notification ==> Initialize em.ear ends...
    Notification ==> Initialize em begins...
    Notification ==> Initialize em ends...
    Notification ==> Application Deployer for em COMPLETES [ 2007-09-07T16:45:19.076EEST ]
    Calling updateConfig to notify DCM of new deployments...failed!
    ERROR: Caught exception calling updateConfig:
    oracle.ias.sysmgmt.exception.TransactionFailedException: An exception occurred in the "apache"
    plugin provided by the "OHS" component while validating configuration files for that component.
    Resolution:
    The resolution information provided by the "OHS" component may be helpful.
    In addition, here are some common causes of problems:
    incorrect permissions on files
    configuration files are missing or invalid
    syntax error in configuration files
    Exception thrown by plugin "apache":
    java.io.IOException
    CreateProcess: d:\Oracle\oms10g//Apache//Apache//bin//apachectl configtest -f
    d:\Oracle\oms10g\Apache\Apache\conf\httpd.conf.ohsPluginTmp -D SSL error=2
    ERROR! DEPLOY TOOL CANNOT CONTINUE DEPLOYMENTS: could not update DCM repository with newly
    deployed applications - ALL APPLICATIONS WILL BE UNDEPLOYED.
    Undeploying application 'EMAgentPush' from OC4J instance 'OC4J_EMPROV'.
    Application 'EMAgentPush' successfully undeployed.
    Stopping OC4J instance 'OC4J_EMPROV'...done.
    Undeploying application 'rlmgr' from OC4J instance 'OC4J_EM'.
    Application 'rlmgr' successfully undeployed.
    Undeploying application 'em' from OC4J instance 'OC4J_EM'.
    Application 'em' successfully undeployed.
    Stopping OC4J instance 'OC4J_EM'...done.
    Terminating DCM...done.
    Copying d:/Oracle/oms10g/j2ee/deploy.ini to d:/Oracle/oms10g/j2ee/deploy.ini.1189172785308.bak.
    Writing any undeployed entries back to d:/Oracle/oms10g/j2ee/deploy.ini.
    Oc4jDeploy tool completed, but with errors.
    INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:Command Output stderr:
    'java.io.IOException: CreateProcess: d:\Oracle\oms10g//Apache//Apache//bin//apachectl configtest
    -f d:\Oracle\oms10g\Apache\Apache\conf\httpd.conf.ohsPluginTmp -D SSL error=2
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:66)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:566)
    at java.lang.Runtime.exec(Runtime.java:428)
    at java.lang.Runtime.exec(Runtime.java:364)
    at java.lang.Runtime.exec(Runtime.java:326)
    at
    oracle.ias.sysmgmt.repository.plugin.advanced.apache.StateTranslator.checkConfigFileValidity(Unknown
    Source)
    at
    oracle.ias.sysmgmt.repository.plugin.advanced.apache.StateTranslator.validateConfigDuringEvaluate(Un
    known Source)
    at oracle.ias.sysmgmt.repository.plugin.advanced.apache.PlugInImpl.localConfigValidation(Unknown
    Source)
    at oracle.ias.sysmgmt.repository.DcmPlugin.localConfigValidation(Unknown Source)
    at oracle.ias.sysmgmt.repository.RepositoryImpl.performLocalValidation(Unknown Source)
    at oracle.ias.sysmgmt.repository.SyncUpHandler._updatePluginConfigData(Unknown Source)
    at oracle.ias.sysmgmt.repository.SyncUpHandler.syncUpFromLocalFiles(Unknown Source)
    at oracle.ias.sysmgmt.repository.SyncUpHandler.syncUpFromLocalFiles(Unknown Source)
    at oracle.ias.sysmgmt.repository.RepositoryImpl.syncUpFromLocalFiles(Unknown Source)
    at oracle.ias.sysmgmt.configsvc.LocalEditsHandler.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.configsvc.ConfigurationServiceImpl.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.LocalEditPropagateAdapter.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.sync_evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.internal_evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.RemoteEvaluate.execCommand(Unknown Source)
    at oracle.ias.sysmgmt.task.DaemonWorker.run(Unknown Source)
    Died at d:\Oracle\oms10g\sysman\install\emdeploy.pl line 154.
    INFO: oracle.sysman.top.oms:Oms deploying
    INFO: oracle.sysman.top.oms:OmsPlugIn:Requested Configuration Step 1 have been completed with
    status=false
    INFO: oracle.sysman.top.oms:EmcpPlug:invoke:Completed EmcpPlug invoke method on an
    aggregate=oracle.sysman.top.oms for Action=patchsetConfiguration in step=1:microstep=0
    INFO: oracle.sysman.top.oms:The plug-in OMS Patch Configuration has failed its perform method
    Solution
    A workaround on MS Windows is to set the system regional settings to English (for the time of the install) as indicated below:
    1. Go to Regional Settings in Control Panel and set the locale and Default Locale to US English and reboot the computer.
    2. Repeat the install
    References
    Bug 4377902 - JAVA SECURITY CONFIG ASSISTANT FAILS WHEN LOCALE IS SET TO TURKISH
    Note 373962.1 - OMNIPortlet Error - Unsupported IANA Encoding - 1so-8859-9 for Turkish
    Note 311910.1 - Turkish Locale Install of OAS Forms & Reports Services Fails: ADMN-202027 Java Security Assistant

  • Error while determining ref.mov.type for WM via Table 156S: 647/ / / /L/ /

    Guyz,
    Firstly despite the plant+storage location + warehouse no. assignments are done , my replenishment delivery (delivery for stock transport order between plants under same company code) is not picking up storage location and warehouse no and thus stopping me from doing picking and PGI (post goods issue).
    However in VL02N when i'm trying to change storage location for line item, i'm getting following weird error
    *Error while determining ref.mov.type for WM via Table 156S: 647/ / / /L/ /*
    I found a SAP Note(133223) regarding this error and VL02 transaction but that note was specific to older versions. I'm on ECC 6.0
    Any suggestions please ?
    Thanks

    Warehouse managment has its own movement types, most identical to inventory management movement types.
    These WM movement types are determined via reference movement types.
    the error you have just looks like your customizing is not complete.
    IMG > LE > WM > Interfaces > IM > define movement types.

  • Error while installing OIM, during the OC4J Instance Configuration Assistan

    Hi, running RHEL 4 32Bit Linux. There's an installation of the SOA Suite 10.1.3.1 (Release 2) on /u01/app/oracle/OracleAS_1, and I am installing OIM on /u01/app/oracle/OraHome_2
    Near the end of the installation, when it's installing the recommended configuration assistants, I get an error while the OC4J Instance Configuration Assistant piece is running.
    Here's the full readout:
    Launched configuration assistant 'OC4J Instance Configuration Assistant'
    Tool type is: Recommended.
    The command being spawned is: '/u01/app/oracle/OraHome_2/jdk/bin/java -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=/tmp -mx512M -classpath /u01/app/oracle/OraHome_2/dcm/lib/dcm.jar:/u01/app/oracle/OraHome_2/dcm/lib/oc4j_deploy_tools.jar:/u01/app/oracle/OraHome_2/opmn/lib/opmnplugin.jar -Doracle.ias.sysmgmt.logging.logdir=/u01/app/oracle/OraHome_2/j2ee/home/log oracle.j2ee.tools.deploy.Oc4jDeploy -oraclehome /u01/app/oracle/OraHome_2 -verbose -inifile /u01/app/oracle/OraHome_2/j2ee/deploy.ini '
    Start output from spawned process:
    Reading ini file - '/u01/app/oracle/OraHome_2/j2ee/deploy.ini'
    Adding web-app 'wirelesssso-web.war' for app 'wirelesssso'.
    Adding web-app 'web.war' for app 'sso'.
    Adding web-app 'ssohelp.war' for app 'sso'.
    Adding web-app 'pls.war' for app 'sso'.
    OC4J instance 'OC4J_SECURITY': Adding java stop command line option '-server'
    OC4J instance 'OC4J_SECURITY': Adding java command line option '-Xmx512m'
    OC4J instance 'OC4J_SECURITY': Adding Environment variable 'LD_LIBRARY_PATH' with value '/u01/app/oracle/OraHome_2/lib32:/u01/app/oracle/OraHome_2/lib'
    OC4J instance 'OC4J_SECURITY': Adding Environment variable 'DISPLAY' with value 'oracleb.djl.com:0.0'
    Adding web-app 'ui.war' for app 'oiddas'.
    OC4J instance 'OC4J_SECURITY': Adding java stop command line option '-Xss1M'
    Ignoring jvm command-line option '-Xmx512m'. Larger heap already specified with '-Xmx512m'
    OC4J instance 'OC4J_SECURITY': Env Option 'LD_LIBRARY_PATH' already exists with value '/u01/app/oracle/OraHome_2/lib32:/u01/app/oracle/OraHome_2/lib'
    Initializing DCM...done.
    Creating OC4J instance 'OC4J_SECURITY' (protected)...done.
    Adding dependent libraries for application 'default'...done.
    Calling SMI to save changes.
    SMISession.saveChanges succeeded.
    Starting OC4J instance 'OC4J_SECURITY'...done.
    Deploying application 'wirelesssso' to OC4J instance 'OC4J_SECURITY'.
    Notification ==> Application Deployer for wirelesssso STARTS [ 2006-11-27T17:20:23.691EST ]
    Notification ==> Undeploy previous deployment
    Notification ==> Removing files for app file:/u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso.ear
    Notification ==> Copy the archive to /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso.ear
    Notification ==> Unpack wirelesssso.ear begins...
    Notification ==> Unpack wirelesssso.ear ends...
    Notification ==> Initialize wirelesssso.ear begins...
    Notification ==> Initialize wirelesssso.ear ends...
    Notification ==> Initialize wirelesssso-web begins...
    Notification ==> Initialize wirelesssso-web ends...
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso.ear
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso/wirelesssso-web.war
    Notification ==> Application Deployer for wirelesssso COMPLETES [ 2006-11-27T17:20:24.193EST ]
    Deploying application 'oiddas' to OC4J instance 'OC4J_SECURITY'.
    Notification ==> Application Deployer for oiddas STARTS [ 2006-11-27T17:20:24.246EST ]
    Notification ==> Undeploy previous deployment
    Notification ==> Removing files for app file:/u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas.ear
    Notification ==> Copy the archive to /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas.ear
    Notification ==> Unpack oiddas.ear begins...
    Notification ==> Unpack oiddas.ear ends...
    Notification ==> Initialize oiddas.ear begins...
    Notification ==> Initialize oiddas.ear ends...
    Notification ==> Initialize ui begins...
    Notification ==> Initialize ui ends...
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas.ear
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas/ui.war
    Notification ==> Application Deployer for oiddas COMPLETES [ 2006-11-27T17:20:28.312EST ]
    Deploying application 'sso' to OC4J instance 'OC4J_SECURITY'.
    Notification ==> Application Deployer for sso STARTS [ 2006-11-27T17:20:28.351EST ]
    Notification ==> Undeploy previous deployment
    Notification ==> Removing files for app file:/u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso.ear
    Notification ==> Copy the archive to /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso.ear
    Notification ==> Unpack sso.ear begins...
    Notification ==> Unpack sso.ear ends...
    Notification ==> Initialize sso.ear begins...
    Notification ==> Initialize sso.ear ends...
    Notification ==> Initialize web begins...
    Notification ==> Initialize web ends...
    Notification ==> Initialize ssohelp begins...
    Notification ==> Initialize ssohelp ends...
    Notification ==> Initialize pls begins...
    Notification ==> Initialize pls ends...
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso.ear
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso/web.war
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso/ssohelp.war
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso/pls.war
    Notification ==> Application Deployer for sso COMPLETES [ 2006-11-27T17:20:29.806EST ]
    Calling updateConfig to notify DCM of new deployments...done.
    Adding OC4J mount points for application 'wirelesssso'...done.
    Adding OC4J mount points for application 'oiddas'...done.
    Adding dependent libraries for application 'sso'...done.
    Adding OC4J mount points for application 'sso'...done.
    Calling SMI to save changes.
    SMISession.saveChanges succeeded.
    Binding web app 'wirelesssso-web' to default-web-site for application 'wirelesssso' in OC4J instance 'OC4J_SECURITY'
    Web app 'wirelesssso-web' bound successfully.
    Binding web app 'ui' to default-web-site for application 'oiddas' in OC4J instance 'OC4J_SECURITY'
    Web app 'ui' bound successfully.
    Binding web app 'web' to default-web-site for application 'sso' in OC4J instance 'OC4J_SECURITY'
    ERROR: Caught exception while binding web app 'web' to default-web-site:
    Calling updateConfig to notify DCM of new web-bindings...java.lang.reflect.InvocationTargetException
         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:324)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    Caused by: com.evermind.client.orion.AdminCommandException: Disconnected: RMIConnection Disconnected
         at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:31)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:139)
         ... 8 more
    Caused by: com.evermind.server.rmi.OrionRemoteException: Disconnected: RMIConnection Disconnected
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1621)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1572)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
         at __Proxy0.bindWebApp(Unknown Source)
         at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:28)
         ... 9 more
    done.
    Adding application 'wirelesssso' to the DCM repository...done.
    Application 'wirelesssso' deployed successfully.
    Adding application 'oiddas' to the DCM repository...done.
    Application 'oiddas' deployed successfully.
    Undeploying application 'sso' from OC4J instance 'OC4J_SECURITY'.
    java.lang.reflect.InvocationTargetException
         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:324)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    Caused by: com.evermind.client.orion.AdminCommandException: IOException communicating with the remote server: Connection reset
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:121)
         ... 8 more
    Caused by: java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2508)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2361)
         at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1800)
         at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:725)
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:106)
         ... 8 more
    FAILED!
    ERROR: Caught exception while undeploying 'sso' from 'OC4J_SECURITY':
    Removing OC4J mount points for application 'sso'...done.
    Calling SMI to save changes.
    SMISession.saveChanges succeeded.
    Calling updateConfig to notify DCM of undeployments...done.
    Stopping OC4J instance 'OC4J_SECURITY'...done.
    Calling SMI to retry init of failed plugins...done.
    Terminating DCM...done.
    Copying /u01/app/oracle/OraHome_2/j2ee/deploy.ini to /u01/app/oracle/OraHome_2/j2ee/deploy.ini.1164667126315.bak.
    Writing any undeployed entries back to /u01/app/oracle/OraHome_2/j2ee/deploy.ini.
    Oc4jDeploy tool completed, but with errors.
    End output from spawned process.
    Any help is appreciated, thanks!

    Hi, did you ever resolve this problem? We've got the same error.
    Cheers,
    Eystein

  • Error messag -'Error while determining ref.mov.type for WM via Table 156S:'

    Hi Guys,
    I am currently facing some issues with respect to the deliver creation.
    The scenario is somthing like this.
    I have assigned a FOC Item category to an Consignment Issue order type.
    The system is able to determine the Item category successfully.
    However when the delivery is created it throws an error message
    'Error while determining ref.mov.type for WM via Table 156S: 903/X/X/W/L/X/'
    Not sure why this occurs.
    All the settings seem to be set.
    If any one of you can help me out it would be great.
    Thanks.
    Regards,
    Pandi

    Dear Pandiraj
    The standard process is that consignment issue order should be created with reference to Proforma invoice.  Having said that I dont understand why you have assigned a FOC item category to issue order.  Not sure, whether this will work.  Also I feel that you should explain in detail the process for which you are configuring this.
    thanks
    G. Lakshmipathi

  • Multiple OC4J instances missing in the Enterprise Manager for a cluster

    We have a cluster of 4 OAS instances installed on two Solaris 10 servers. When I login to the Oracle Enterprise Manager, I see only the Administration OC4J Instance. We had this issue earlier but it resolved by itself but this time the issue has been there for quite few days now. Need some help.
    Thanks.

    As I told you, this is a normal behavior, so there is no workarround, because it has to work fine later, but if you dont see any change tell me...
    How did you configure your Cluster?
    in a command line window, run the following in any of the node of your cluster
    opmnctl @cluster status
    it have to list all your components, this has to work on any of the nodes.
    Also in the opmn.xml check the tags for <topology> in the firsts lines, if you dont have this in the secondary nodes then the cluster may not be working.
    Regards

  • How to deploy oracle forms + J2EE application in single OC4J instance

    We have ORACLE forms application, which is deployed in OC4J Instance in application server.
    There are some modules, which are developed in Java/J2EE, which are invoked from Oracle forms application. Currently this java application is
    deployed in separate OC4J instance.
    Could you please help us how to combine this forms +J2ee application in single ear file,
    And this ear file has to be deployed in one OC4J instance.

    Maybe have a look at :
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14032/basics.htm

  • Error when creating new oc4j-instance

    1.
    when i create a new oc4j-instance via EMWeb i get the following:
    The operation failed.. Instance: iasdb.test.xxx.ch Message: Keine Meldung für diese Exception definiert. Base Exception: java.lang.NoClassDefFoundError:nullKeine Meldung für diese Exception definiert.
    the german text means: no message defined for this exception.
    when i then refresh the website the oc4j-instance is created, but down.
    2.
    when i try to deploy an application to any OC4J-instance manually i get the following error:
    Web-Anwendung ee konnte nicht eingesetzt werden Error while parsing oc4j configuration files. Root Cause: D:\Oracle\9iAS\j2ee\OC4J_AA\config\.\default-web-site.xml (Das System kann den angegebenen Pfad nicht finden). D:\Oracle\9iAS\j2ee\OC4J_AA\config\.\default-web-site.xml (Das System kann den angegebenen Pfad nicht finden)
    OC4J_AA whas a instance i once created and deleted then. it shoud no more exist.
    where does this error come from?

    Hi Stefan -
    I'm not sure where this error comes from, I've never seen it. Particularly in German! ;-)
    I think the best way to get more information on this is to repost your message to the general 9iAS forum. I believe that there are people monitoring that forum who look afer the management console and who might be able to help you further.
    -steve-

  • Load balancing HTTP requests for an OC4J instance w/multiple JVMs

    Hello everyone,
    I am using OAS 10.1.3.1 and wish to load balance HTTP requests across an OC4J group of one or more OC4J instances, where each like named OC4J instance may have multiple JVMs or it may just have one JVM.
    My mod_oc4j.conf file would contain the following directives :
    Oc4jSelectMethod roundrobin:local
    Oc4jRoutingMode Static
    Oc4JMount /xyz/* xyz
    In the degenerate case, I would like to have an OC4J group with a cluster size of one, and have that one OC4J instance have two or more JVMs. I would like to be able to receive a request within my web application, determine that the JVM that has been sent the request is the wrong JVM to process the request, and then call HttpServletResponse.sendRedirect("/xyz"). Then, when the browser receives the HTTP 302 response and issues the subsequent HTTP request, have that request sent to a different JVM than the previous JVM that issued the sendRedirect().
    What I have seen is that the subsequent request is sent back to the same JVM that issued the sendRedirect(). I also call invalidate() against the HttpSession prior to calling sendRedirect(), but that does not seem to affect the behavior that I see.
    In the full blown case, I would have an OC4J group with a cluster size > 1, and each of those OC4J instances would have at least one JVM. In that case, I wish the sendRedirect() call to allow the subsequent request to be sent to any one of the OC4J instances in the group, and any one of those JVMs within all of those OC4J instances.
    Can anyone verify that my mod_oc4j mount directive is appropriate given the select method and routing mode? What else might I need to do to have a chance to have a different JVM respond to the request that results from a sendRedirect()?
    Thank you,
    Doug

    I should clarify that in the full blown environment, the OC4J instances that form a group will each be housed within a separate OAS instance that resides on its own machine.
    So ideally, a request could be inbound to say OAS instance 1 on machine A, OC4J instance AA, JVM 2, and I need to force a redirect so that the request can actually be serviced by OAS instance 3 on machine C, OC4J instance AA, JVM 1, and I need to be able to call sendRedirect() against an HttpServletResponse from within a JVM until the subsequent request from the browser, Internet Explorer in my case, is serviced by that JVM.
    Thanks,
    Doug

Maybe you are looking for

  • Excise Duty

    Hi All My clint using SAP from jan 2009. fiscal year Jan-Dec.one of my clint verdor sent a debit note for Material rate differneces.this debit note has a excise duty also.Actuval invoice is made in Legacy system in Novamber 2008. now vendor sent a de

  • Problem executing Business Rule in BPM 11g

    I've createad one business object CPFBObject which contains several attributes. My requirement is that if relationship is parent the it goes to human task otherwise to end. for thet I've written the business rule which is as not working properly. Ple

  • Any real answers for these?

    WIFI decides to just always drop. Never had an issue with data when I had 4GB plan. I never went over 1/2gb because I am always around WIFI and I drop to 1gb plan and all of a sudden every month I am using 90%+ of my plan. Battery display - I hate wh

  • Invoice Smartform - Printing sales tax rate

    Hey, I am having difficulties figuring out what changes I need to make in the print program RLB_INVOICE and the smartform LB_BIL_INVOICE in order to print out the sales rate tax. Thanks! Kas

  • How can I retrive a message I deleted

    How can I retrieve a message I deleted?