Scripting OC4J configuration

Hi,
Is there any tool in Oracle AS,by which i can automate the process of creating OC4J instances and setting up its properties on command line instead of using the
console.
this will really help me in automating these manual task whch i have to perform multiple times.
if anybody know about such command line tools on oracle AS 10g, please let me know i am new to this platform.
Regards,
Anil

If you have a version prior to 10.1.3 you should use dcmctl, if you are using 10.1.3 you have to use admin.jar or admin_client.jar. In this doc you will find the way to use the second one.
Link:[http://download.oracle.com/docs/cd/B31017_01/web.1013/b28950/admin.htm] Chapter 3: tools to administer OC4J
for dcmctl you can type
*>dcmctl *
and it will list the options
then use
*>dcmctl help createinstance*
to see how to create a oc4j ocntainer.
Regards.

Similar Messages

  • OC4J configuration assistant failure at infrastructure installation

    Hi all,
    We want to upgrade our client server application(forms 6i and 9iDB) to Application server(3 tire). I am trying to install Oracle 9iAS Release 2, Release 9.0.2.0.1 on Win 2000 server with service pack 2.
    OC4J configuration assistant is failing by showing the below error log. Please suggest me what is the problem and how to rectify it.
    Reading ini file - 'D:\ora9ias/j2ee/deploy.ini'
    OC4J instance 'OC4J_Demos': Adding property 'jbo.server.in_oc4j=true'
    OC4J instance 'OC4J_Demos': Adding property 'org.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB'
    OC4J instance 'OC4J_Demos': Adding property 'org.omg.CORBA.ORBSingletonClass=com.inprise.vbroker.orb.ORB'
    OC4J instance 'OC4J_Demos': Adding OC4J command line option '-userThreads'
    OC4J instance 'OC4J_Demos': Adding java command line option '-Xmx512M'
    OC4J instance 'OC4J_Demos': Adding property 'oracle.path=%s_javapPath%'
    OC4J instance 'OC4J_Demos': Adding property 'oracle.display=:0.0'
    OC4J instance 'OC4J_Demos': Adding Environment variable '%LIB_PATH_ENV%' with value '%LIB_PATH_VALUE%'
    OC4J instance 'OC4J_Demos': Adding Environment variable 'PATH' with value 'D:/ora9ias/bin'
    OC4J instance 'OC4J_Demos': Property 'jbo.server.in_oc4j' already exists with value 'true'
    OC4J instance 'home': Adding property 'jbo.server.in_oc4j=true'
    OC4J instance 'OC4J_DAS': Adding java command line option '-server'
    OC4J instance 'OC4J_DAS': Adding java command line option '-Xincgc'
    OC4J instance 'OC4J_DAS': Adding java command line option '-Xmx256m'
    OC4J instance 'OC4J_DAS': Adding java command line option '-Xnoclassgc'
    OC4J instance 'OC4J_DAS': Adding Environment variable 'PATH' with value 'D:\ora9ias\bin'
    Initializing DCM...done.
    Creating OC4J instance 'OC4J_Demos'...done.
    OC4J instance 'home' already exists.
    Creating OC4J instance 'OC4J_DAS'...done.
    Starting OC4J instance 'OC4J_Demos'...done.
    Deploying application 'jocdemo' to OC4J instance 'OC4J_Demos'...done.
    Deploying application 'ojspdemos' to OC4J instance 'OC4J_Demos'...done.
    Adding dependent libraries for application 'ojspdemos'...done.
    Deploying application 'sqljdemos' to OC4J instance 'OC4J_Demos'...
    ERROR: Deploy failed.
    Error message returned is: Instance: soft.DEMO.PENTASOFT.COM.MY Message:
    See base exception for details.
    Base Exception:
    java.lang.NullPointerException:nullSee base exception for details.
    Deploying application 'jazndemos' to OC4J instance 'OC4J_Demos'...
    ERROR: Caught exception during deploy.
    Deploying application 'BC4JJSPDemo' to OC4J instance 'OC4J_Demos'...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)
    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)
    ERROR: Caught exception during deploy.
    Stopping OC4J instance 'OC4J_Demos'...done.
    Starting OC4J instance 'home'...done.
    Deploying application 'BC4J' to OC4J instance 'home'...
    ERROR: Caught exception during deploy.
    Stopping OC4J instance 'home'...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)
    done.
    Starting OC4J instance 'OC4J_DAS'...done.
    Deploying application 'oiddas' to OC4J instance 'OC4J_DAS'...
    ERROR: Caught exception during deploy.
    Stopping OC4J instance 'OC4J_DAS'...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)
    done.
    DCM Terminated.
    if I see the ORACLE_HOME/DCM/LOGS, it like below.
    DCMCTL_LOG:
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2004-03-16T17:06:11.854+08:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>iAS_dcm</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_GROUP>n/a</MSG_GROUP>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>demo</HOST_ID>
    <HOST_NWADDR>128.10.4.22</HOST_NWADDR>
    <MODULE_ID>oracle/defaultLogger/ExceptionLogger</MODULE_ID>
    <PROCESS_ID>null-Thread[main,5,main]</PROCESS_ID>
    <USER_ID>Administrator</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>[ RM ] Exception in repository API getDBConnect()</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[oracle.ias.repository.schema.SchemaException: Unable to
         connect to Directory Server:javax.naming.CommunicationException:
         DEMO.PENTASOFT.COM.MY:4032 [Root exception is java.net.ConnectException:
         Connection refused: connect]
         at oracle.ias.repository.directory.DirectoryReader.connect(DirectoryReader.java:104)
         at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:330)
         at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:415)
         at oracle.ias.repository.SchemaManager.getDBConnect(SchemaManager.java:197)
         at oracle.ias.sysmgmt.persistence.SeedDbAccess.getDBConnect(Unknown Source)
         at oracle.ias.sysmgmt.persistence.PersistenceManager.getSeedInfo(Unknown Source)
         at oracle.ias.sysmgmt.persistence.PersistenceManager.isDBConfigured(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.initRepository(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(Unknown Source)
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    EMD_LOGS:
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2004-03-16T17:24:22.382+08:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>OC4J</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_GROUP>n/a</MSG_GROUP>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>demo</HOST_ID>
    <HOST_NWADDR>128.10.4.22</HOST_NWADDR>
    <MODULE_ID>iAS_dcm/oracle/defaultLogger/ExceptionLogger</MODULE_ID>
    <PROCESS_ID>null-Thread[Orion Launcher,5,main]</PROCESS_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>[TM] Config/LoadEdit/ImportExport Adapter resync error</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[oracle.ias.sysmgmt.repository.plugin.orionp.exceptions.SMIOC4JMissMatchedStructureException: OC4J Instance OC4J_demos does not exist in the current iAS instance, unable to save its configuration.
         at oracle.ias.sysmgmt.repository.plugin.orionp.PlugInImpl._saveChanges(Unknown Source)
         at oracle.ias.sysmgmt.repository.plugin.orionp.PlugInImpl.resyncConf(Unknown Source)
         at oracle.ias.sysmgmt.repository.RepositoryImpl.syncUpFromPersistence(Unknown Source)
         at oracle.ias.sysmgmt.repository.RepositoryImpl.syncUpFromPersistence(Unknown Source)
         at oracle.ias.sysmgmt.configsvc.ConfigurationServiceImpl.syncUp(Unknown Source)
         at oracle.ias.sysmgmt.task.ConfigAdapter.resync(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.resync(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.resync(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
         at oracle.ias.sysmgmt.EntryPoint.init(Unknown Source)
         at oracle.sysman.emSDK.eml.util.iAS.IASEntryPoint.initialize(IASEntryPoint.java:98)
         at oracle.sysman.emSDK.eml.svlt.NavCfgHandler.startElement(NavCfgHandler.java:220)
         at org.xml.sax.helpers.ParserAdapter.startElement(ParserAdapter.java:580)
         at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:166)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1082)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:287)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:254)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:141)
         at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:430)
         at oracle.sysman.emSDK.eml.svlt.EMServlet.init(EMServlet.java:332)
         at oracle.sysman.eml.app.ConsoleSN.init(ConsoleSN.java:87)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:1687)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4020)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4119)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:579)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:376)
         at com.evermind.server.Application.getHttpApplication(Application.java:657)
         at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:663)
         at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:524)
         at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:230)
         at com.evermind.server.http.HttpServer.setSites(HttpServer.java:244)
         at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:147)
         at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:1818)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1154)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:70)
         at java.lang.Thread.run(Thread.java:484)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:49)
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    Please suggest me what to do and how to rectify. Can we work with forms without this component. I am getting the same component failure when I install 9IAS option on infrastructure.
    With best regards and Thanks
    Varma.

    Hi,
    Thank you for the information. I installed 3 times but still the same problem persists. Apache is working fine. Hosts file also configured with the same system IP. Is this component important for executing 9i forms and reports. Is there any way to install this component alone.
    Can u suggest any good document about installation and configuration of Oracle 9i application for a layman in Oracle 9iAS. if you have any documents can u send them to [email protected]
    Waiting for your replay....
    With best regards
    Varma.

  • OC4J Configuration issue

    Hi,
    I tried to put my database in Archivelog mode through EM , at the time of restarting the database it didnt start... instance is starting but database is not opening....
    I tried this command but its giving error... ( I am running 10g r2 , on RHEL 5 which is install on Oracle virtual toolbox )
    emctl start dbconsole
    OC4J Configuration issue. /opt/oracle/oraclehome_112/db_1/oc4j/j2ee/OC4J_DBConsole_myhostname_orcl not found.
    where orcl is the instance name.
    and this directory, OC4J_DBConsole_myhostname_orcl, does not exist on the file system.
    In some article I read ... the solution I tried to type...
    http://kamranagayev.com/2011/03/21/step-by-step-installing-oracle11g-on-linux/
    Feedback no. 19
    ./emca -deconfig dbcontrol db -repos drop
    bash : ./emca : No Such file or Directory
    ./emca -config dbcontrol db -repos create
    Thanks and regards...

    Hello;
    I'm thinking this step was either missed of you have a typo :
    Change the entry of .bash_profile file of the oracle user and add following lines:
    vi /home/oracle/.bash_profile
    export ORACLE_HOME=/u01/home/oracle/product/11.2.0/db_1
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
    export PATH=$ORACLE_HOME/bin:$PATHIf your ORACLE_HOME is set it should find the "emca".
    You can test by running these export commands at the Linux prompt.
    The which command is your friend
    which emca
    /u01/app/oracle/product/11.2.0.2/bin/emcaBest Regards
    mseberg
    Edited by: mseberg on Feb 29, 2012 2:52 PM

  • OracleAS Patchset 10.1.2.3 Fails running oc4j  Configuration Assist

    Hi,
    We are upgrading our 12.0.4 EBS to 12.1.1.
    As part of pre -upgrade steps, i am applying 10.1.2.3 patch on 10.1.2.0.2.
    It is failing while running oc4j configuration assistant with below error.
    oracle.ons.SubscriptionException: Subscription request timed out after 120000 millseconds. Possible causes: OPMN may not be running, you may have an OPMN running in an alternate ORACLE_HOME using duplicate port values, or OPMN may be misconfigured.
    at oracle.ons.SubscriptionNotification.waitForReply(SubscriptionNotification.java:82)
         at oracle.ons.ONS.addSubscriber(ONS.java:336)
         at oracle.ons.Subscriber.realStartup(Subscriber.java:92)
         at oracle.ons.Subscriber.<init>(Subscriber.java:80)
         at oracle.ons.ONS.createNewSubscriber(ONS.java:690)
         at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
         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)
    ERROR: Caught exception while initializing DCM.
    Oc4jDeploy tool completed, but with errors.
    Please help.
    Thanks,

    Hussein,
    After successful completion of setup, while running configuration assistants, i got this error.
    This is the complete output.
    ================================================================================================================
    Output generated from configuration assistant "Application Server website Configuration Assistant":
    Configuration assistant "Application Server website Configuration Assistant" succeeded
    ================================================================================================================
    Output generated from configuration assistant "OC4J Instance Configuration Assistant":
    Reading ini file - '/u01/TST4ZA/apps/tech_st/10.1.2/j2ee/deploy.ini'Adding web-app 'webapp.war' for app 'BC4J'.
    OC4J instance 'home': Adding property 'jbo.server.in_oc4j=true'
    Adding web-app 'IsWebCacheWorkingWeb.war' for app 'IsWebCacheWorking'.Initializing DCM..oracle.ons.SubscriptionException: Subscription request timed out after 120000 millseconds. Possible causes: OPMN may not be running, you may have an OPMN running in an alternate ORACLE_HOME using duplicate port values, or OPMN may be misconfigured.
         at oracle.ons.SubscriptionNotification.waitForReply(SubscriptionNotification.java:82)
         at oracle.ons.ONS.addSubscriber(ONS.java:336)
         at oracle.ons.Subscriber.realStartup(Subscriber.java:92)
         at oracle.ons.Subscriber.<init>(Subscriber.java:80)
         at oracle.ons.ONS.createNewSubscriber(ONS.java:690)
         at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
         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)
    ERROR: Caught exception while initializing DCM.
    Oc4jDeploy tool completed, but with errors.
    Configuration assistant "OC4J Instance Configuration Assistant" failed
    =====================================================
    I stopped all apps services before starting the patch, but when it failed during relink phase, i cancelled the installation and did necessary steps and restarted installation.
    If at this stage i need to re apply the patch do i have to recover the 10.1.2 oracle home from backup?
    Thanks,

  • OC4J Configuration issue Oracle 11g R2 Windows XP and Windows 7

    Hallo!I have installed Oracle Database 11.2.0.1.0 on both Windows XP and Windows 7 on 2 different machines.
    Before installing on both OSs,I had installed Microsoft Loopback Adapter and had set hostname as JOEY-PC and IP address 192.168.0.X.Once the installations were complete and I restarted the machines,I could not start OEM and the error below appears
    C:\Documents and Settings\JOEY>emctl start dbconsole
    OC4J Configuration issue. C:\app\JOEY\product\11.2.0\dbhome_1/oc4j/j2ee/OC4J_DBConsole_JOEY-PC_orcl not found.
    When I went to the C:\app\JOEY\product\11.2.0\dbhome_1\oc4j\j2ee directory,I found the folder OC4J_DBConsole_localhost_orcl instead of OC4J_DBConsole_JOEY-PC_orcl.
    I assumed that by using Microsoft Loopback Adapter,I would avoid the error above and that the OC4J_DBConsole folder would permanently remain as OC4J_DBConsole_JOEY-PC_orcl instead of OC4J_DBConsole_localhost_orcl.
    Why is this folder changing its name and how can I resolve this issue?
    Thanks.

    Pl post the contents of the file C:\WINDOWS\System32\drivers\etc\hosts on both servers
    What steps did you take to set the hostname to JOEY-PC ?
    Srini

  • OC4J Configuration issue.  when trying to enable OEM on 10g

    Good Morning to all ;
    Just now i posted question related to OEM (when getting error).
    I can't connect my OEM with any user
    Here i created DB using DBCA with OEM but i couldn't login via BROWSER ...
    Please ignore this question here .. ( Not a Duplicate Question)
    This question is different ,  but related to OEM ( Ok . I am explaining my issues here. I created Database using DBCA without enabling OEM.
    then i set ORACLE_SID and tried to execute OEM but getting error.
    $ emctl start dbconsole
    TZ set to Asia/Calcutta
    OC4J Configuration issue. /u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_linuxserver_orcltest not found.
    NOTE : I want to know answer for 2nd question. what is OC4J Configuration issue. - How can i resolve that ? or
    Thanks in advance ..

    Hello Sb
    I perfectly upgraded my DB with OEM  to 10.2.0.4.0  on OEL4. i'm going to do on rhel-5
    *$ export ORACLE_SID=orcl*
    [oracle@oel ~]$ sqlplus /nolog
    SQLPlus: Release 10.2.0.4.0 - Production on Sun Apr 21 00:59:53 2013*
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    SQL> conn /as sysdba
    Connected.
    SQL> startup
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> cl scr
    SQL> select comp_name , version , status from dba_registry;
    COMP_NAME
    VERSION STATUS
    Oracle Database Catalog Views
    10.2.0.4.0 VALID
    Oracle Database Packages and Types
    10.2.0.4.0 VALID
    Oracle Workspace Manager
    10.2.0.4.3 VALID
    COMP_NAME
    VERSION STATUS
    JServer JAVA Virtual Machine
    10.2.0.4.0 VALID
    Oracle XDK
    10.2.0.4.0 VALID
    Oracle Database Java Packages
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    Oracle Expression Filter
    10.2.0.4.0 VALID
    Oracle Data Mining
    10.2.0.4.0 VALID
    Oracle Text
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    Oracle XML Database
    10.2.0.4.0 VALID
    Oracle Rule Manager
    10.2.0.4.0 VALID
    Oracle interMedia
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    OLAP Analytic Workspace
    10.2.0.4.0 VALID
    Oracle OLAP API
    10.2.0.4.0 VALID
    OLAP Catalog
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    Spatial
    10.2.0.4.0 VALID
    Oracle Enterprise Manager
    10.2.0.4.0 VALID
    17 rows selected.
    Thanks ..

  • ERROR INSTALLING OC4J CONFIGURATION FILES

    Hi,
    Steps:
    1. Downloaded Oracle11g Rel2 from download.oracle
    2.Installed Software only option and completed installation on my laptop Windows7 ultimate. Selected Enterprise Version, unchecked OLAP,DATA MINING.
      Error message during installation, some files missing .jar files. I have opted to ignore and continue and finally got success installation message.
    3.Configured DB using DBCA.
    4.Able to connect as SYS, SYSTEM.
    Problem.
    I tried to reconfigure DB using DBCA for OEM, received the msg
    ERROR INSTALLING OC4J CONFIGURATION FILES. The summary error log is here.   Appreciate any help.
    java.io.FileNotFoundException: C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\jms.xml (The system cannot find the file specified)
    java.io.FileNotFoundException: C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\rmi.xml (The system cannot find the file specified)
    CONFIG: Could not find or correctly parse file C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\http-web-site.xml in searching for tag web-site with attribute port
    java.io.FileNotFoundException: C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\http-web-site.xml (The system cannot find the file specified)
    java.io.FileNotFoundException: C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\server.xml (The system cannot find the file specified)
    Mar 8, 2014 9:15:42 AM oracle.sysman.emcp.EMDBCConfig instantiateOC4JConfigFiles
    CONFIG: Failed to set value in server.xml for application-server tag
    Mar 8, 2014 9:15:42 AM oracle.sysman.emcp.EMConfig perform
    oracle.sysman.emcp.exception.EMConfigException: Error instantiating OC4J configuration files
    CONFIG: Could not find or correctly parse file C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\jms.xml in searching for tag jms-server with attribute port
    java.io.FileNotFoundException: C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\jms.xml (The system cannot find the file specified)
    CONFIG: Could not find or correctly parse file C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\rmi.xml in searching for tag rmi-server with attribute port
    thanks
    Ram

    Hi,
    Seems you have not extracted downloaded zip files into same directory. In that case you get error like
    java.io.FileNotFoundException:
    /Disk2/database/stage/Components/oracle.rsf.hybrid/11.1.0.6.0/1/DataFiles/filegroup12.jar (A file or directory in the path name does not exist.)
    java.io.FileNotFoundException:
    /Disk2/database/stage/Components/oracle.rsf.hybrid/11.1.0.6.0/1/DataFiles/filegroup5.jar (A file or directory in the path name does not exist.)
    Also after installation dbca will throw error.
    Try the below
    For AIX platform:
    unzip in the same folder
    $ mkdir 1120
    $ mv aix.ppc64_11g_database_1of2.zip  1120
    $ mv aix.ppc64_11g_database_2of2.zip  1120
    $ cd 1120
    $ unzip aix.ppc64_11g_database_1of2.zip
    $ unzip aix.ppc64_11g_database_2of2.zip 
    $ cd database
    $ ./runInstaller
    This is true for all platforms on which you get two .zip files to download
    For Windows 64 bit example on 11.2.0.1 you can do the following  :
    - create a directory C:\tmp\1120
    - copy winx64_11g_database_1of2.zip and winx64_11g_database_2of2.zip under  C:\tmp\1120
    - unzip winx64_11g_database_1of2.zip and winx64_11g_database_2of2.zipunder  C:\tmp\1120
    Thanks,
    Krishna

  • [EPM Configuration] OracleDB - OC4J Configuration issue .... not found

    Hello,
    after analysing endlessly the existing workarounds for this problem, i conclude that mine is not posted yet.
    Intro
    In order to install EPM, i had to install Oracle Database 11g. After the installation, an error ocurred stating that configurations were not saved and i could run manually "ECMA.bat" later.
    I tried to configure it by creating environment variables such as:
    - ORACLE_SID
    - ORACLE_HOSTNAME
    - ORACLE_UNQNAME
    So far, i haven't tried to executed ECMA.bat for the last time, since I am quite sure that i will fail due to not recognizing the hostname.
    The issue
    Whili trying to make sure that the database is correctly configured, i tried to access to the webpage, unsuccessfully.
    Then i found my problem in the forums:
    When i type in CMD:
    --> (I type)
    C:\OracleDB_app\alexandreyin\product\11.2.0\dbhome_1>emctl status dbconsole
    --> (returns)
    OC4J Configuration issue. C:\OracleDB_app\alexandreyin\product\11.2.0\dbhome_1/o
    c4j/j2ee/OC4J_DBConsole_HPCM.lab.pt_orcl not found.
    In fact there was no folder with that name, nor something like "/OC4J_DBConsole_localhost_orcl" as many posts suggests.
    I only have folders like:
    - "home"
    - "oc4j_applications"
    - "OC4J_DBConsole"
    - "OC4J_Workflow_Component_Container"
    - "OC4J_Workflow_Management_Container"
    - "utilities"
    - "deploy_db_wf"
    Some posts suggests me to change my /driver/etc/host file, but i think my current file is correct:
    --> (Content of host gile)
    127.0.0.1 localhost
    XX.XXX.XXX.XXX HPCM.lab.pt
    Honestly, i am out of ideas and i wish any experienced colleague could give me a hint.
    Thanks in advance

    Hi,
    It is worth having a look at the following document on Oracle support.
    Problem - emctl start dbconsole Fails with Error OC4J Configuration issue OC4J_DBConsole_<HOSTNAME>_<DBNAME> not found *[ID 555218.1]*
    Linux 64bit DBConsole Fails With "OC4J Configuration issue cannot find /oc4j/j2ee/oc4j_DBConsole_..." *[ID 462325.1]*
    Thanks,
    HyperEPM

  • OC4J configuration

    This is an Oracle 10g environment.
    when starting OC4J on my workstation I get the following messages:
    10/09/23 09:41:51 log4j:WARN No appenders could be found for logger (com.workbrain2.platform.util.Copyright).
    10/09/23 09:41:51 log4j:WARN Please initialize the log4j system properly.
    10/09/23 09:42:47 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized
    I run netstat -an to confirm that port 1521 is established for the database and its there. I can bring up the application - everything is working - great.
    I had a colleague copy my OC4J directory onto their workstation - use the same startup script. They configured it to their directory setup. They get the same messages for OC4J initializing however: 1 - their startup (initialization) is a lot quicker and 2. port 1521 is NOT established. Net result is they cannot bring up the application. Oracle client is installed but the tnsnames.ora is does NOT reside there. For that matter it does not reside in my Oracle client directory either.
    That is one area of confusion for me. Where is the reference to it? I check for a mapped drive via environmental variable - nothing.
    Anyone have any ideas on what is going wrong here. Any suggestions are appreciated. Thanks.

    Hi,
    I am not so clear about your scenario but I think its related to the configuration problem for opmn.
    Try to run the "opmnctl config " ,at colleagues system, to reconfiguring the whole service from tamp-let.
    I think it will resolve the issue.
    Regards

  • Using Echo Command in PowerShell Script for Configuration Item

    Hello All,
    Before you tell me to post my PowerShell question to the PowerShell Forum, please know that the PowerShell portion of my task works just fine. It is the SCCM portion of my task that keeps failing, so that is why I am here. To give some background...
    There are two servers in our SCCM test environment. Both the SCCM server and SQL DB server are 2012, patched and updated.
    Test servers in my Device Collection being used for running Baselines and Reports against are 2008R2 and 2012, patched and updated.
    I have created a Configuration Item that checks to see if the FTP Server Role Feature has been installed on a 2008 or 2012 server. To do the check, I am using the following PowerShell script:
    (get-windowsfeature -Name Web-Ftp-Server).Installed
    When I log into my 2008R2 and 2012 test servers, and run this command directly on the server, it will return a "True" if the FTP Server Role Feature is installed on either server, and a "False" if it is not installed. Basically,
    it works as advertised.
    When I setup my Configuration Item and then deploy my Baseline, or run a report against my device collection of test servers, SCCM will return a correct response (True or False) for the 2012 test server, but throws the following error for the 2008R2
    server:
    0x87df00329 application requirement evaluation or detection failed
    Google searches for this have not been very helpful.
    Now, when I created the Configuration Item and referenced PowerShell, the configuration screen has the following note:
    "Specify the script to find and return the value to be assessed for compliance on client devices. Use the echo command to return the script value to Configuration Manager."
    Since I did not include an echo command in my PowerShell script above, I figured that was my problem, so I did the following:
    Logging onto both of my test servers (2008R2 & 2012) I was able to successfully run the following PowerShell commands and get the expected responses of True or False:
    (get-windowsfeature -Name Web-Ftp-Server).Installed | echo
    (get-windowsfeature -Name Web-Ftp-Server).Installed | write-output (http://technet.microsoft.com/en-us/library/hh849921.aspx)
    (get-windowsfeature -Name Web-Ftp-Server).Installed | write-host (http://technet.microsoft.com/en-us/library/ee177031.aspx)
    However, when I use any of these PowerShell commands in my Configuration Item, NEITHER of my test servers returns a response to the SCCM server.
    When I check the report, both servers show as "Unknown" and when I click on the number 2 (as in 2 servers unknown), the following report page (List of unknown assets for a configuration baseline) has absolutely no data/information at all.
    So...I am at a loss.
    SCCM tells me to use an echo command to return a script value to Configuration Manager. The PowerShell scripts above, with the various echo related commands, work just fine on the servers themselves, but they return no information when run via SCCM.
    What am I missing?
    Any help will be appreciated.
    Thanks in advance for your time.

    Sorry for my ignorance, but I don't understand. (I forgot to mention that I am new at both PowerShell and SCCM.)
    After I change the PowerShell script to add the echo/write-output/write-host cmdlet, I open the ConFig Item and "Clear" the PowerShell script and then re-add it. When I do that, it correctly shows the change in the ConFig Item.
    Next I open the Baseline, then open the ConFig Item within the Baseline to make sure the change is reflected there as well, which it is.
    I then deploy the Baseline to my Device Collection. After that, I run a report against the Baseline and Device Collection and it returns the "Unknown" result.
    If I open the PowerShell script and remove the echo/write-output/write-host cmdlet, then go through the rest of the process of updating and reporting, the result it returns changes, showing one server in compliance and the other server out of compliance,
    which leads me to think that all changes have taken correctly.
    Does that sound right? If I manually deploy the Baseline, is that the same as the client retrieving policies from the management point?
    Sorry to be so thick but I'm learning as I go.
    Thanks again for your help.

  • W_YEAR_D Script to configure Year Data in Apps Database : OBIA

    Hi Friends,
    We want to configure DAY, MONTH, YEAR... in my Apps database. As of now we have Scripts for W_DAY_D, W_MONTH_D and mentioned below. NOw , we need same kind of scripts for W_YEAR_D. We are planning to bypass Informatica and DAC, So we need to configure them in Apps DAtabase to get the results similar to OBIA.
    W_DAY_D
    CREATE TABLE W_DAY_D AS
    (SELECT
    ROWNUM ROW_WID,
    CurrDate AS Day_ID,
    to_number(to_char(CurrDate, 'YYYYMMDD')) as DAY_ID_YYYYMMDD,
    --1 AS Day_Time_Span,
    --CurrDate                AS Day_End_Date,
    TO_CHAR(CurrDate,'Day') AS Week_Day_Full,
    TO_CHAR(CurrDate,'DY') AS Week_Day_Short,
    TO_NUMBER(TRIM(leading '0'
    FROM TO_CHAR(CurrDate,'D'))) AS Day_Num_of_Week,
    TO_NUMBER(TRIM(leading '0'
    FROM TO_CHAR(CurrDate,'DD'))) AS Day_Num_of_Month,
    TO_NUMBER(TRIM(leading '0'
    FROM TO_CHAR(CurrDate,'DDD'))) AS Day_Num_of_Year,
    UPPER(TO_CHAR(CurrDate,'Mon')
    || '-'
    || TO_CHAR(CURRDATE,'YYYY')) AS MONTH_ID,
    TO_CHAR(CurrDate,'Mon')
    || '-'
    || TO_CHAR(CURRDATE,'YY') AS MONTH_SHORT_ID,
    TO_CHAR(CurrDate,'Mon')
    || ' '
    || TO_CHAR(CurrDate,'YYYY') AS Month_Short_Desc,
    RTRIM(TO_CHAR(CurrDate,'Month'))
    || ' '
    || TO_CHAR(CurrDate,'YYYY') AS Month_Long_Desc,
    TO_CHAR(CurrDate,'Mon') AS Month_Short,
    TO_CHAR(CurrDate,'Month') AS Month_Long,
    TO_NUMBER(TRIM(leading '0'
    FROM TO_CHAR(CurrDate,'MM'))) AS Month_Num_of_Year,
    'Q'
    || UPPER(TO_CHAR(CurrDate,'Q')
    || '-'
    || TO_CHAR(CurrDate,'YYYY')) AS Quarter_ID,
    'Q' || UPPER(TO_CHAR(CurrDate,'Q')) AS Quarter_Short,
    TO_NUMBER(TO_CHAR(CurrDate,'Q')) AS Quarter_Num_of_Year,
    CASE
    WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 1 THEN 1
    WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 2 THEN 2
    WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 3 THEN 3
    WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 4 THEN 1
    WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 5 THEN 2
    WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 6 THEN 3
    WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 7 THEN 1
    WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 8 THEN 2
    WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 9 THEN 3
    WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 10 THEN 1
    WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 11 THEN 2
    WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 12 THEN 3
    END AS Quarter_Num_of_Month,
    CASE
    WHEN TO_NUMBER(TO_CHAR(CurrDate,'Q')) <= 2
    THEN 1
    ELSE 2
    END AS half_num_of_year,
    CASE
    WHEN TO_NUMBER(TO_CHAR(CurrDate,'Q')) <= 2
    THEN 'H'
    || 1
    || '-'
    || TO_CHAR(CurrDate,'YYYY')
    ELSE 'H'
    || 2
    || '-'
    || TO_CHAR(CurrDate,'YYYY')
    END AS half_of_year_id,
    TO_CHAR(CurrDate,'YYYY') AS Year_ID
    FROM
    (SELECT level n,
    -- Calendar starts at the day after this date.
    TO_DATE('31/12/2000','DD/MM/YYYY') + NUMTODSINTERVAL(level,'DAY') CurrDate
    FROM dual
    -- Change for the number of days to be added to the table.
    CONNECT BY level <= 9131
    W_MONTH_D
    CREATE TABLE W_MONTH_D
    AS
    SELECT ROWNUM AS ROW_WID,
    B.MONTH_ID AS MONTH_ID,
    B.MONTH_SHORT_DESC,B.MONTH_LONG_DESC,B.MONTH_SHORT,B.MONTH_LONG,B.MONTH_NUM_OF_YEAR,B.QUARTER_ID,B.QUARTER_SHORT,B.QUARTER_NUM_OF_YEAR,
    B.QUARTER_NUM_OF_MONTH,B.HALF_NUM_OF_YEAR,B.HALF_OF_YEAR_ID,B.YEAR_ID
    FROM
    (SELECT MONTH_ID,MONTH_SHORT_DESC,MONTH_LONG_DESC,MONTH_SHORT,MONTH_LONG,MONTH_NUM_OF_YEAR,QUARTER_ID,QUARTER_SHORT,QUARTER_NUM_OF_YEAR,
    QUARTER_NUM_OF_MONTH,HALF_NUM_OF_YEAR,HALF_OF_YEAR_ID,YEAR_ID FROM W_DAY_D
    GROUP BY MONTH_ID,MONTH_SHORT_DESC,MONTH_LONG_DESC,MONTH_SHORT,MONTH_LONG,MONTH_NUM_OF_YEAR,QUARTER_ID,QUARTER_SHORT,QUARTER_NUM_OF_YEAR,
    QUARTER_NUM_OF_MONTH,HALF_NUM_OF_YEAR,HALF_OF_YEAR_ID,YEAR_ID
    ORDER BY YEAR_ID,MONTH_NUM_OF_YEAR) B
    Please help on this asap. Its really urgent requirement..
    Thanks in Advance.
    Raghu Nagadasari

    messDate.setGregorianChange(theResult..getDate(2)); //I GET ABSOLUTELY NO DATE HERE
    This doesn't do what you think it does. Check the API documentation.
    http://java.sun.com/j2se/1.4.1/docs/api/java/util/GregorianCalendar.html
    Try this instead:
    messDate.setTime(theResult.getDate(2));

  • RMAN Script & RMAN Configuration

    Dear All,
    This is the first time i am using RMAN. i just wanted to execute the following RMAN script for a testing purpose, for this what are the RMAN configuration i must have to do before executing this script below:
    RMAN> run {
    shutdown immediate;
    startup mount;
    backup database;
    alter database open;
    }This is my current setup of RMAN
    RMAN> show all;
    RMAN configuration parameters for database with db_unique_name DP are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'E:\RMAN\';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'E:\APP\10004\PRODUCT\11.2.0\DBHOME_1\DATABASE\SNCFDP.ORA'; # defaultKindly advice me and give me a very clear study for this above parameters
    Regards
    HAMEED
    Once i execute that script i got this following error :
    +RMAN> run {+
    +2> shutdown immediate;+
    +3> startup mount;+
    +4> backup database;+
    +5> alter database open;+
    +6> };+
    database closed
    database dismounted
    Oracle instance shut down
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area     770019328 bytes
    Fixed Size                     1374780 bytes
    Variable Size                301991364 bytes
    Database Buffers             461373440 bytes
    Redo Buffers                   5279744 bytes
    Starting backup at 18-MAY-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=134 device type=DISK
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00006 name=E:\APP\10004\ORADATA\DP\HAMEED01.DBF
    input datafile file number=00007 name=E:\APP\10004\ORADATA\DP\ABDUL01.DBF
    input datafile file number=00008 name=E:\APP\10004\ORADATA\DP\TEST01.DBF
    input datafile file number=00001 name=E:\APP\10004\ORADATA\DP\SYSTEM01.DBF
    input datafile file number=00002 name=E:\APP\10004\ORADATA\DP\SYSAUX01.DBF
    input datafile file number=00005 name=E:\APP\10004\ORADATA\DP\EXAMPLE01.DBF
    input datafile file number=00003 name=E:\APP\10004\ORADATA\DP\UNDOTBS01.DBF
    input datafile file number=00004 name=E:\APP\10004\ORADATA\DP\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 18-MAY-11
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/18/2011 17:22:30
    ORA-19504: failed to create file "E:\RMAN\"
    ORA-27038: created file already exists
    OSD-04010: <create> option specified, file already exists
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    Edited by: Hameed on May 18, 2011 4:59 AM

    Dear Chinar, can you please varify this below ,, is it correct,, after given your setup i ran this script,,,
    Kindly advice me
    Regards
    HAMEED
    RMAN> run
    2> {
    3> backup current controlfile;
    4> }
    Starting backup at 18-MAY-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=143 device type=DISK
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    including current control file in backup set
    channel ORA_DISK_1: starting piece 1 at 18-MAY-11
    channel ORA_DISK_1: finished piece 1 at 18-MAY-11
    piece handle=E:\RMAN\FULL_06MCLH66_1_1.BK tag=TAG20110518T180910 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 18-MAY-11
    Starting Control File Autobackup at 18-MAY-11
    piece handle=E:\RMAN\CFC-796596855-20110518-00 comment=NONE
    Finished Control File Autobackup at 18-MAY-11Edited by: Hameed on May 18, 2011 5:55 AM

  • It is possible to have a dynamic Oracle Label Security procedure/script to configure data label (compartments and data label)  for multiple rows at same time?

    A single script which can be run below mentioned commands...  instead of using multiple manual steps for configuring data labels. Is that possible and how? Having bulk of data where OLS need to be applied.
    exec LBACSYS.SA_COMPONENTS.CREATE_COMPARTMENT
    exec SA_LABEL_ADMIN.CREATE_LABEL
    exec SA_POLICY_ADMIN.APPLY_TABLE_POLICY

    Have you ever answered this question? If not, have you tried to use the "HIDE" property on your table_options?

  • Script form configured to VA01,VA02 & VA03..help me with Print preview?

    Hello,
    Very Good afternoon!
    There is a Script form which is configured to VA01, VA02, VA03.
    I have difficulty to access Print preview from Va01/va02/va03.
    I am able to access it through T-code SOST.
    It is correctly configured in Nace.
    When I go to T-code VA02 and provide appropritae saled Order number then it will take me to the next screen there...
    I had clicked on Extras>Output>Header-->Print Preview.
    It says that Output could not be issued.
    When I click on Extras>Output>Header-->Edit
    It will display the Output type, Medium, Print Output and 
    Partner function. I see that it is displaying in yellow color. Genrally it should be green in color.
    Can anyone guide me what are the things that I need to check in this window genrally to access Print preview.
    Do i need to check anything here in Nast table...?
    Please suggest...
    Any suggestion would be appreciated.
    Thanks & Regards,
    Developer.

    Hello Sathya,
    Thank you for your response!
    Sathya- It is correctly configured. it has something to do in the NAST TAble. If it is not configured properly in the NACE then it will not show the out put in the T-code SOSt.
    Can you please suggest what I can chcek in the NSAT table or plz tell the standard way to configureing the Output type in this path.
    VA03 > Extras->Output>Header>Edit.
    Here you have to give its settings....Please chek..
    Any suggestions will be apprecaited.
    Thanks & Regards,
    Developer.

  • Scripting OSB Configuration

    I am looking for a script to automate the configuration of SLA Alerts Rules, Security/Access Control in a OSB Proxy Service. We can do all of these with in the OSB console. But I need a way to configure it either in the eclipse project or during deployment /post deployment so that our admins do not have to navigate through the console menus.
    Thanks
    Ajay

    Thanks Eric & Prabhu
    I also found these hints useful. Also for modifying access control, you can edit this section into the proxy service.
    <ser:security>
    <con4:access-control-policies xmlns:con4="http://www.bea.com/wli/sb/services/security/config" xmlns:con3="http://www.bea.com/wli/sb/stages/transform/config" xmlns:con2="http://www.bea.com/wli/sb/stages/publish/config">
    <con2:transport-level-policy xsi:type="con1:ProviderPolicyContainerType" xmlns:con1="http://www.bea.com/wli/sb/security/accesscontrol/config" xmlns:con2="http://www.bea.com/wli/sb/services/security/config">
    <con1:policy provider-id="XACMLAuthorizer">
    <con1:policy-expression>Usr(XXXXXXX)</con1:policy-expression>
    </con1:policy>
    </con2:transport-level-policy>
    </con4:access-control-policies>
    </ser:security>

Maybe you are looking for

  • How to get the Count of a logic?

    Hi, Very new to CRM. I am trying to get the count of "activity start time" that are greater than current time stamp. Count(activity start time) work. I don't know how to add the time stamp condition to this. I can't add this condition as filter. Appr

  • How to know the point where one menu popUp is showed ?

    hi, I need know the point where one popUp menu is showed, but I have problems to do it.... I can install actionListener for method actionPerformed of class AbstractAction but the event I get does not able to say the point... In the documentation, I r

  • Domain Functional Level: 2008 R2 to 2012 R2

    My current forest and domain functional levels are 2008 R2. I know I can safely upgrade the functional levels in most cases, but I want to specifically know with regards to Lync. Our entire environment, including Lync, is running on Windows Server 20

  • Strange behavior with combo drive...

    I've had my powerbook for a few years without any problems other than some slight noise from the secondary fan which I replaced a few weeks ago without any difficulty. The other day I noticed my powerbook froze up on me. I had no choice but to depres

  • 1131 in autonomous mode. Not sure the below is even possible

    Hi all,   My boss asked me to try and set up an 1131 with 2 SSID's; serve dhcp for both SSID's from the AP and I cant trunk from f0 because the device the AP will connect to cant accept dot1q.  Does anyone know if this is possible?  If so pointing me