IS java database control (jcx) sinchronized?

Hi,
I use workshop for create a web application.
I have make a java control database and I have import this control in my page flow.
So the database control result in controller class as a class intance variable .This class variable is used for all client request, there are synchronization problem?
In servlet analog case certainly , a class variable would have to be syncrhonized, and here ?
Thanks !

Workshop Database control makes synchronous call to shuffle data to and from data source. Is this the question? Or, do you mean thread-safety?

Similar Messages

  • Woes wiring up an ejb to use a database control

    first my question & then background:
    how do i wire up an ejb to use a database control jcx object so that the dbcontrol is instantiated at runtime?
    here's the scene:
    i created a java page flow from a database control & this works correctly, but i also need to be able to expose some of the functionality to another deployed application. this application, incidentally is not a workshop application; but rather is a hand-coded war.
    the first application (a workshop app) renders forms that use a database control to persist the data. it only uses one table & therefore, there is only one pojo. as i mentioned, this resides in web project & works correctly. i abstracted my dbcontrol & my pojo to a separate java controls project & built this as a library. the jpf still has no problems seeing the dbcontrol.
    there is a second application (a non workshop app) that needs to be able to use a method provided by the dbcontrol. i created an ejb in a third project in the first application that makes the call to dbcontrol in the exact same way that the jpf did. but i am finding, however, that the dbcontrol is null whenever the ejb makes the call to it's method.
    here's the more detailed design:
    i started with a database control. i mapped to my datasource, wrote out the sql for the methods i wanted & generated the pageflow from this. i rewrote the pageflow/jsps to suit my needs & everything just works. i did notice at the time that i generated the page flow that the dbcontrol was never instantiated. here is a snippet of the jpf:
    <pre>
    public class SiteAlertMessageManagementController extends PageFlowController {
    * This is the control used to generate this pageflow
    * @common:control
    private SiteAlertMessageDBControl dbControl;
    public Forward getCurrentMessage() {  
    SiteAlertMessage currentMessage = dbControl.getCurrentMessage();
    </pre>
    because SiteAlertMessageDBControl is an interface, i assumed that the '@common:control' annotation told weblogic what it needed to know in order to instantiate a runtime class of time SiteAlertMessageDBControl. because it just worked, i never questioned this.
    with the form read/write functionality complete, i assumed i could quickly wrap an ejb around the dbcontrol method & be done with it. i soon realized that i could not create an ejb inside a web project & that an ejb project would not have classpath visibility to my dbcontrol & pojo, so i put the dbcontrol & the pojo into a java control project & made a library out of this. i double checked that the web project could see the classes in the library & they could.
    so i created a separate ejb project that also could now see the classes in the library. i thought i was in the home stretch. i now have these projects in my first application:
    administrationControls, administrationWeb, & administrationEjb. i moved the administrationControls.jar & the administrationEjb.jar over to the WEB-INF/lib directory of my (remember: non-workshop) war & wired up the code to pull the bean off jndi tree to make the rmi call. but it didn't work. so i backtracked & created a new jsp back in my workshop project that would make the same rmi call so that i could use the debugger. with this as the background, here is my specific problem.
    what i noticed is that the ejb code itself works correctly. i guess i should show it as well.
    <pre>
    public class SiteAlertMessagesAPI extends GenericSessionBean implements SessionBean {
    * This is the control used to generate this pageflow
    * @common:control
    private SiteAlertMessageDBControl dbControl;
    public void ejbCreate() {
    // Your code here
    * @ejbgen:remote-method
    public SiteAlertMessage getCurrentMessage() throws Exception {
    SiteAlertMessage message = null;
    try {
    // dbControl is null here
    message = dbControl.getCurrentMessage();
    catch (Exception e) {
    e.printStackTrace();
    return message;
    </pre>
    the problem is that my dbControl object is null. what i did was cut & paste the code from the jpf over to my bean. like i stated earlier, i assumed that the annotation would tell weblogic to instantiate an instance. this was obviously not the case. incidentally, i rewrote my ejbCreate() method like this:
    <pre>
    public void ejbCreate() {
    // Your code here
    dbControl = new SiteAlertMessageDBControl();
    </pre>
    but workshop gives me a "error: this type is abstract and thus cannot be instantiated" warning.
    my question is: how do i wire up an ejb to use a database control jcx object so that the dbcontrol is instantiated at runtime?
    any light you could shed on this would be most appreciated. thanks,
    doug

    Hi,
    unfortunatly, it's not possible to use a control outside a control or a
    web service...
    Emmanuel
    douglas thomas a ?crit :
    first my question & then background:
    how do i wire up an ejb to use a database control jcx object so that the dbcontrol is instantiated at runtime?
    here's the scene:
    i created a java page flow from a database control & this works correctly, but i also need to be able to expose some of the functionality to another deployed application. this application, incidentally is not a workshop application; but rather is a hand-coded war.
    the first application (a workshop app) renders forms that use a database control to persist the data. it only uses one table & therefore, there is only one pojo. as i mentioned, this resides in web project & works correctly. i abstracted my dbcontrol & my pojo to a separate java controls project & built this as a library. the jpf still has no problems seeing the dbcontrol.
    there is a second application (a non workshop app) that needs to be able to use a method provided by the dbcontrol. i created an ejb in a third project in the first application that makes the call to dbcontrol in the exact same way that the jpf did. but i am finding, however, that the dbcontrol is null whenever the ejb makes the call to it's method.
    here's the more detailed design:
    i started with a database control. i mapped to my datasource, wrote out the sql for the methods i wanted & generated the pageflow from this. i rewrote the pageflow/jsps to suit my needs & everything just works. i did notice at the time that i generated the page flow that the dbcontrol was never instantiated. here is a snippet of the jpf:
    <pre>
    public class SiteAlertMessageManagementController extends PageFlowController {
    * This is the control used to generate this pageflow
    * @common:control
    private SiteAlertMessageDBControl dbControl;
    public Forward getCurrentMessage() {  
    SiteAlertMessage currentMessage = dbControl.getCurrentMessage();
    </pre>
    because SiteAlertMessageDBControl is an interface, i assumed that the '@common:control' annotation told weblogic what it needed to know in order to instantiate a runtime class of time SiteAlertMessageDBControl. because it just worked, i never questioned this.
    with the form read/write functionality complete, i assumed i could quickly wrap an ejb around the dbcontrol method & be done with it. i soon realized that i could not create an ejb inside a web project & that an ejb project would not have classpath visibility to my dbcontrol & pojo, so i put the dbcontrol & the pojo into a java control project & made a library out of this. i double checked that the web project could see the classes in the library & they could.
    so i created a separate ejb project that also could now see the classes in the library. i thought i was in the home stretch. i now have these projects in my first application:
    administrationControls, administrationWeb, & administrationEjb. i moved the administrationControls.jar & the administrationEjb.jar over to the WEB-INF/lib directory of my (remember: non-workshop) war & wired up the code to pull the bean off jndi tree to make the rmi call. but it didn't work. so i backtracked & created a new jsp back in my workshop project that would make the same rmi call so that i could use the debugger. with this as the background, here is my specific problem.
    what i noticed is that the ejb code itself works correctly. i guess i should show it as well.
    <pre>
    public class SiteAlertMessagesAPI extends GenericSessionBean implements SessionBean {
    * This is the control used to generate this pageflow
    * @common:control
    private SiteAlertMessageDBControl dbControl;
    public void ejbCreate() {
    // Your code here
    * @ejbgen:remote-method
    public SiteAlertMessage getCurrentMessage() throws Exception {
    SiteAlertMessage message = null;
    try {
    // dbControl is null here
    message = dbControl.getCurrentMessage();
    catch (Exception e) {
    e.printStackTrace();
    return message;
    </pre>
    the problem is that my dbControl object is null. what i did was cut & paste the code from the jpf over to my bean. like i stated earlier, i assumed that the annotation would tell weblogic to instantiate an instance. this was obviously not the case. incidentally, i rewrote my ejbCreate() method like this:
    <pre>
    public void ejbCreate() {
    // Your code here
    dbControl = new SiteAlertMessageDBControl();
    </pre>
    but workshop gives me a "error: this type is abstract and thus cannot be instantiated" warning.
    my question is: how do i wire up an ejb to use a database control jcx object so that the dbcontrol is instantiated at runtime?
    any light you could shed on this would be most appreciated. thanks,
    doug

  • Date substitutions in a database control

    Running the method shown below on a database control I have created results in the error shown...
    * @jc:sql statement::
    * SELECT AVAILABILITY FROM CORMORANTPOC_SAILINGS,
    * CORMORANTPOC_ROUTES
    * WHERE
    * CORMORANTPOC_ROUTES.ID = CORMORANTPOC_SAILINGS.ROUTE_ID
    * AND SAILING_DATE = {sailingDate}
    * AND DEPARTURE_PORT = {departurePort}
    * AND ARRIVAL_PORT = {arrivalPort}
    public Availability getAvailabilityForSailing(String departurePort, String arrivalPort, Date sailingDate) throws SQLException;
    The error returned (when valid strings and date are provided) is "ORA-00933: SQL command not properly ended".
    I am using Oracle thin drivers with an Oracle 9i database. The Date datatype above is the java.sql.Date one. If I remove the "AND SAILING_DATE = {sailingDate}" line from the query then it runs fine, without the exception.
    I have also tried substituting the {sailingDate} part of the query with to_date('2005-03-05','YYYY-MM-DD') but I get the same error.
    Please help!
    Cheers,
    Mike.

    Hi Gautam
    I don't think Database control has any attribute on Role.
    The database control takes the connection from the datasource that is specified in the jcx. I am not sure if there is any attribute at the connection pool level that will allow you to set a role.
    Or you can call a method in the dbcontrol that executes a set role.. statement and then run other methods.
    Thanks
    Vimala

  • Error Starting Database Control when upgrading 10.2.0.1 - 10.2.0.4

    Ran the upgrade on Monday. Not a grid. Single instance.
    It failed and we were forced to roll back using an OS backup...
    The database upgrade assistant failed with an error that it 'could not complete the Enterprise Manager configuration with the following error ' Error starting the database control refer to the log file at ..emConfig.log.
    The log is large (102k)
    In looking at the log, other than several entries stating:No value was set for the parameter ORACLE_HOSTNAME, the first thing of note is 'invalid node list' followed by two java exceptions. The log shows the successful deletion of the existing service OracleDBConsole
    and the error of not able to read ..staticports.ini file (it does not exist)
    The next error (futher down the log) is an exit value of 1 when java is executing rt.jar to 'update home'
    eventually resulting in another java stack trace.
    Is this enough information to help with ideas, or do I need to post the entire log file?

    Oct 12, 2009 10:14:26 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at D:\oracle\product\10.2.0\db_1\cfgtoollogs\dbua\orcl08\upgrade0\emConfig.log.
    Oct 12, 2009 10:14:26 AM oracle.sysman.emcp.ParamsManager setParam
    oracle.ops.mgmt.cluster.InvalidNodeListException: PRKC-1035 : Node names for this cluster could not be retrieved
    [PRKH-1010 : Unable to communicate with CRS services.
      [OCR Error(Native: prsr_initCLSS:[21])]]
         at oracle.ops.mgmt.cluster.Cluster.verifyNodeList(Cluster.java:948)
         at oracle.ops.mgmt.cluster.Cluster.isSharedPath(Cluster.java:846)
         at oracle.sysman.emcp.util.ClusterUtil.isShared(ClusterUtil.java:792)
         at oracle.sysman.emcp.EMDBCConfig.performUpgrade(EMDBCConfig.java:298)
         at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:167)
         at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:133)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:172)
         at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:436)
         at oracle.sysman.assistants.util.em.EMConfigStep.executeImpl(EMConfigStep.java:140)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
         at oracle.sysman.assistants.util.step.BasicStep.callStep(BasicStep.java:251)
         at oracle.sysman.assistants.dbma.backend.EMConfigStep.executeStepImpl(EMConfigStep.java:104)
         at oracle.sysman.assistants.dbma.backend.SummarizableStep.executeImpl(SummarizableStep.java:175)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
         at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
         at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2488)
         at java.lang.Thread.run(Thread.java:534)
    Exception Caused by:
    oracle.ops.mgmt.cluster.ClusterException: PRKH-1010 : Unable to communicate with CRS services.
    [OCR Error(Native: prsr_initCLSS:[21])]
         at oracle.ops.mgmt.cluster.GetActiveNodes.<init>(GetActiveNodes.java:174)
         at oracle.ops.mgmt.cluster.GetActiveNodes.create(GetActiveNodes.java:216)
         at oracle.ops.mgmt.cluster.Cluster.getNodes(Cluster.java:298)
         at oracle.ops.mgmt.cluster.Cluster.verifyNodeList(Cluster.java:937)
         at oracle.ops.mgmt.cluster.Cluster.isSharedPath(Cluster.java:846)
         at oracle.sysman.emcp.util.ClusterUtil.isShared(ClusterUtil.java:792)
         at oracle.sysman.emcp.EMDBCConfig.performUpgrade(EMDBCConfig.java:298)
         at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:167)
         at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:133)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:172)
         at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:436)
         at oracle.sysman.assistants.util.em.EMConfigStep.executeImpl(EMConfigStep.java:140)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
         at oracle.sysman.assistants.util.step.BasicStep.callStep(BasicStep.java:251)
         at oracle.sysman.assistants.dbma.backend.EMConfigStep.executeStepImpl(EMConfigStep.java:104)
         at oracle.sysman.assistants.dbma.backend.SummarizableStep.executeImpl(SummarizableStep.java:175)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
         at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
         at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2488)
         at java.lang.Thread.run(Thread.java:534)
    Oct 12, 2009 10:14:38 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    CONFIG: File/directory D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_hal-00-dbs-08.hal.net_ORCL08 does not exist
    Oct 12, 2009 10:14:39 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: Invalid node list: hal-00-dbs-08.hal.net
    oracle.ops.mgmt.cluster.InvalidNodeListException: PRKC-1035 : Node names for this cluster could not be retrieved
    [PRKH-1010 : Unable to communicate with CRS services.
      [OCR Error(Native: prsr_initCLSS:[21])]]
         at oracle.ops.mgmt.cluster.Cluster.verifyNodeList(Cluster.java:948)
         at oracle.ops.mgmt.cluster.Cluster.isSharedPath(Cluster.java:846)
         at oracle.sysman.emcp.util.ClusterUtil.isShared(ClusterUtil.java:792)
         at oracle.sysman.emcp.EMAgentConfig.performUpgrade(EMAgentConfig.java:708)
         at oracle.sysman.emcp.EMAgentConfig.invoke(EMAgentConfig.java:238)
         at oracle.sysman.emcp.EMAgentConfig.invoke(EMAgentConfig.java:208)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:175)
         at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:436)
         at oracle.sysman.assistants.util.em.EMConfigStep.executeImpl(EMConfigStep.java:140)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
         at oracle.sysman.assistants.util.step.BasicStep.callStep(BasicStep.java:251)
         at oracle.sysman.assistants.dbma.backend.EMConfigStep.executeStepImpl(EMConfigStep.java:104)
         at oracle.sysman.assistants.dbma.backend.SummarizableStep.executeImpl(SummarizableStep.java:175)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
         at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
         at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2488)
         at java.lang.Thread.run(Thread.java:534)
    Exception Caused by:
    oracle.ops.mgmt.cluster.ClusterException: PRKH-1010 : Unable to communicate with CRS services.
    [OCR Error(Native: prsr_initCLSS:[21])]
         at oracle.ops.mgmt.cluster.GetActiveNodes.<init>(GetActiveNodes.java:174)
         at oracle.ops.mgmt.cluster.GetActiveNodes.create(GetActiveNodes.java:216)
         at oracle.ops.mgmt.cluster.Cluster.getNodes(Cluster.java:298)
         at oracle.ops.mgmt.cluster.Cluster.verifyNodeList(Cluster.java:937)
         at oracle.ops.mgmt.cluster.Cluster.isSharedPath(Cluster.java:846)
         at oracle.sysman.emcp.util.ClusterUtil.isShared(ClusterUtil.java:792)
         at oracle.sysman.emcp.EMAgentConfig.performUpgrade(EMAgentConfig.java:708)
         at oracle.sysman.emcp.EMAgentConfig.invoke(EMAgentConfig.java:238)
         at oracle.sysman.emcp.EMAgentConfig.invoke(EMAgentConfig.java:208)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:175)
         at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:436)
         at oracle.sysman.assistants.util.em.EMConfigStep.executeImpl(EMConfigStep.java:140)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
         at oracle.sysman.assistants.util.step.BasicStep.callStep(BasicStep.java:251)
         at oracle.sysman.assistants.dbma.backend.EMConfigStep.executeStepImpl(EMConfigStep.java:104)
         at oracle.sysman.assistants.dbma.backend.SummarizableStep.executeImpl(SummarizableStep.java:175)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
         at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
         at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2488)
         at java.lang.Thread.run(Thread.java:534)
    Oct 12, 2009 10:14:40 AM oracle.sysman.emcp.ParamsManager getParam
    Service "OracleDBConsoleORCL08" create SUCCESS
    Oct 12, 2009 10:14:41 AM oracle.sysman.emcp.EMAgentConfig updateDBControlPort
    CONFIG: Setting https port as: -1
    Oct 12, 2009 10:14:46 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: D:\oracle\product\10.2.0\db_1\jdk\jre\bin\java -classpath D:\oracle\product\10.2.0\db_1\jdk\jre\lib\rt.jar;D:\oracle\product\10.2.0\db_1\jdk\jre\lib\i18n.jar;D:\oracle\product\10.2.0\db_1\jlib\ewt3.jar;D:\oracle\product\10.2.0\db_1\jlib\ewtcompat-3_3_15.jar;D:\oracle\product\10.2.0\db_1\jlib\share.jar;D:\oracle\product\10.2.0\db_1\jlib\swingall-1_1_1.jar;D:\oracle\product\10.2.0\db_1\jlib\oracle_ice5.jar;D:\oracle\product\10.2.0\db_1\jlib\jewt4.jar;D:\oracle\product\10.2.0\db_1\jlib\help4.jar;D:\oracle\product\10.2.0\db_1\jlib\kodiak.jar;D:\oracle\product\10.2.0\db_1\lib\xmlparserv2.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-mapping.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-utility.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-collation.jar;D:\oracle\product\10.2.0\db_1\classes;D:\oracle\product\10.2.0\db_1\jlib\oemlt-10_1_0.jar;D:\oracle\product\10.2.0\db_1\jlib\emca.jar;D:\oracle\product\10.2.0\db_1\sysman\jlib\emCORE.jar;D:\oracle\product\10.2.0\db_1\oc4j\j2ee\home\oc4j.jar;D:\oracle\product\10.2.0\db_1\jlib\emConfigInstall.jar;D:\oracle\product\10.2.0\db_1\oc4j\j2ee\home\db_oc4j_deploy.jar;D:\oracle\product\10.2.0\db_1\jlib\srvm.jar;D:\oracle\product\10.2.0\db_1\jlib\srvmhas.jar;D:\oracle\product\10.2.0\db_1\jlib\srvmasm.jar;D:\oracle\product\10.2.0\db_1\jlib\netcfg.jar;D:\oracle\product\10.2.0\db_1\jlib\oraclepki103.jar;D:\oracle\product\10.2.0\db_1\jlib\ldapjclnt10.jar;D:\oracle\product\10.2.0\db_1\assistants\jlib\assistantsCommon.jar;D:\oracle\product\10.2.0\db_1\assistants\dbua\jlib\dbma.jar;;D:\oracle\product\10.2.0\db_1\oui\jlib\OraInstaller.jar oracle.sysman.emcp.target.TargetManager -updateTargets db -EM_HOME D:\oracle\product\10.2.0\HTTP -ORACLE_HOME D:\oracle\product\10.2.0\db_1 -UPDATE_HOME D:\oracle\product\10.2.0\HTTP -DB_OH D:\oracle\product\10.2.0\db_1 -SID_LIST ORCL08 -PORT 1521 -SERVICE_NAME orcl08
    Oct 12, 2009 10:14:46 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 1
    Oct 12, 2009 10:14:46 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Scanning targets in emHome: D:\oracle\product\10.2.0\HTTP
    Oct 12, 2009 10:14:46 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: The properties file null\sysman\config\emcalog.properties needed to initialize the EMCA logger was not found. Default settings will be used
    Oct 12, 2009 10:14:46 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Error executing D:\oracle\product\10.2.0\db_1\jdk\jre\bin\java -classpath D:\oracle\product\10.2.0\db_1\jdk\jre\lib\rt.jar;D:\oracle\product\10.2.0\db_1\jdk\jre\lib\i18n.jar;D:\oracle\product\10.2.0\db_1\jlib\ewt3.jar;D:\oracle\product\10.2.0\db_1\jlib\ewtcompat-3_3_15.jar;D:\oracle\product\10.2.0\db_1\jlib\share.jar;D:\oracle\product\10.2.0\db_1\jlib\swingall-1_1_1.jar;D:\oracle\product\10.2.0\db_1\jlib\oracle_ice5.jar;D:\oracle\product\10.2.0\db_1\jlib\jewt4.jar;D:\oracle\product\10.2.0\db_1\jlib\help4.jar;D:\oracle\product\10.2.0\db_1\jlib\kodiak.jar;D:\oracle\product\10.2.0\db_1\lib\xmlparserv2.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-mapping.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-utility.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-collation.jar;D:\oracle\product\10.2.0\db_1\classes;D:\oracle\product\10.2.0\db_1\jlib\oemlt-10_1_0.jar;D:\oracle\product\10.2.0\db_1\jlib\emca.jar;D:\oracle\product\10.2.0\db_1\sysman\jlib\emCORE.jar;D:\oracle\product\10.2.0\db_1\oc4j\j2ee\home\oc4j.jar;D:\oracle\product\10.2.0\db_1\jlib\emConfigInstall.jar;D:\oracle\product\10.2.0\db_1\oc4j\j2ee\home\db_oc4j_deploy.jar;D:\oracle\product\10.2.0\db_1\jlib\srvm.jar;D:\oracle\product\10.2.0\db_1\jlib\srvmhas.jar;D:\oracle\product\10.2.0\db_1\jlib\srvmasm.jar;D:\oracle\product\10.2.0\db_1\jlib\netcfg.jar;D:\oracle\product\10.2.0\db_1\jlib\oraclepki103.jar;D:\oracle\product\10.2.0\db_1\jlib\ldapjclnt10.jar;D:\oracle\product\10.2.0\db_1\assistants\jlib\assistantsCommon.jar;D:\oracle\product\10.2.0\db_1\assistants\dbua\jlib\dbma.jar;;D:\oracle\product\10.2.0\db_1\oui\jlib\OraInstaller.jar oracle.sysman.emcp.target.TargetManager -updateTargets db -EM_HOME D:\oracle\product\10.2.0\HTTP -ORACLE_HOME D:\oracle\product\10.2.0\db_1 -UPDATE_HOME D:\oracle\product\10.2.0\HTTP -DB_OH D:\oracle\product\10.2.0\db_1 -SID_LIST ORCL08 -PORT 1521 -SERVICE_NAME orcl08
    Oct 12, 2009 10:14:46 AM oracle.sysman.emcp.EMAgentConfig performUpdateTargets
    CONFIG: Error upgrading EM configuration to the latest version.
    Oct 12, 2009 10:14:46 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: D:\oracle\product\10.2.0\db_1\jdk\jre\bin\java -classpath D:\oracle\product\10.2.0\db_1\jdk\jre\lib\rt.jar;D:\oracle\product\10.2.0\db_1\jdk\jre\lib\i18n.jar;D:\oracle\product\10.2.0\db_1\jlib\ewt3.jar;D:\oracle\product\10.2.0\db_1\jlib\ewtcompat-3_3_15.jar;D:\oracle\product\10.2.0\db_1\jlib\share.jar;D:\oracle\product\10.2.0\db_1\jlib\swingall-1_1_1.jar;D:\oracle\product\10.2.0\db_1\jlib\oracle_ice5.jar;D:\oracle\product\10.2.0\db_1\jlib\jewt4.jar;D:\oracle\product\10.2.0\db_1\jlib\help4.jar;D:\oracle\product\10.2.0\db_1\jlib\kodiak.jar;D:\oracle\product\10.2.0\db_1\lib\xmlparserv2.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-mapping.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-utility.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-collation.jar;D:\oracle\product\10.2.0\db_1\classes;D:\oracle\product\10.2.0\db_1\jlib\oemlt-10_1_0.jar;D:\oracle\product\10.2.0\db_1\jlib\emca.jar;D:\oracle\product\10.2.0\db_1\sysman\jlib\emCORE.jar;D:\oracle\product\10.2.0\db_1\oc4j\j2ee\home\oc4j.jar;D:\oracle\product\10.2.0\db_1\jlib\emConfigInstall.jar;D:\oracle\product\10.2.0\db_1\oc4j\j2ee\home\db_oc4j_deploy.jar;D:\oracle\product\10.2.0\db_1\jlib\srvm.jar;D:\oracle\product\10.2.0\db_1\jlib\srvmhas.jar;D:\oracle\product\10.2.0\db_1\jlib\srvmasm.jar;D:\oracle\product\10.2.0\db_1\jlib\netcfg.jar;D:\oracle\product\10.2.0\db_1\jlib\oraclepki103.jar;D:\oracle\product\10.2.0\db_1\jlib\ldapjclnt10.jar;D:\oracle\product\10.2.0\db_1\assistants\jlib\assistantsCommon.jar;D:\oracle\product\10.2.0\db_1\assistants\dbua\jlib\dbma.jar;;D:\oracle\product\10.2.0\db_1\oui\jlib\OraInstaller.jar oracle.sysman.emcp.target.TargetManager -updateTargets db -EM_HOME D:\oracle\product\10.2.0\db_1 -ORACLE_HOME D:\oracle\product\10.2.0\db_1 -UPDATE_HOME D:\oracle\product\10.2.0\db_1 -DB_OH D:\oracle\product\10.2.0\db_1 -SID_LIST ORCL08 -PORT 1521 -SERVICE_NAME orcl08
    Oct 12, 2009 10:14:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 1
    Oct 12, 2009 10:14:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Scanning targets in emHome: D:\oracle\product\10.2.0\db_1
    No targets found in emHome: D:\oracle\product\10.2.0\db_1
    Oct 12, 2009 10:14:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: The properties file null\sysman\config\emcalog.properties needed to initialize the EMCA logger was not found. Default settings will be used
    Oct 12, 2009 10:14:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Error executing D:\oracle\product\10.2.0\db_1\jdk\jre\bin\java -classpath D:\oracle\product\10.2.0\db_1\jdk\jre\lib\rt.jar;D:\oracle\product\10.2.0\db_1\jdk\jre\lib\i18n.jar;D:\oracle\product\10.2.0\db_1\jlib\ewt3.jar;D:\oracle\product\10.2.0\db_1\jlib\ewtcompat-3_3_15.jar;D:\oracle\product\10.2.0\db_1\jlib\share.jar;D:\oracle\product\10.2.0\db_1\jlib\swingall-1_1_1.jar;D:\oracle\product\10.2.0\db_1\jlib\oracle_ice5.jar;D:\oracle\product\10.2.0\db_1\jlib\jewt4.jar;D:\oracle\product\10.2.0\db_1\jlib\help4.jar;D:\oracle\product\10.2.0\db_1\jlib\kodiak.jar;D:\oracle\product\10.2.0\db_1\lib\xmlparserv2.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-mapping.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-utility.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-collation.jar;D:\oracle\product\10.2.0\db_1\classes;D:\oracle\product\10.2.0\db_1\jlib\oemlt-10_1_0.jar;D:\oracle\product\10.2.0\db_1\jlib\emca.jar;D:\oracle\product\10.2.0\db_1\sysman\jlib\emCORE.jar;D:\oracle\product\10.2.0\db_1\oc4j\j2ee\home\oc4j.jar;D:\oracle\product\10.2.0\db_1\jlib\emConfigInstall.jar;D:\oracle\product\10.2.0\db_1\oc4j\j2ee\home\db_oc4j_deploy.jar;D:\oracle\product\10.2.0\db_1\jlib\srvm.jar;D:\oracle\product\10.2.0\db_1\jlib\srvmhas.jar;D:\oracle\product\10.2.0\db_1\jlib\srvmasm.jar;D:\oracle\product\10.2.0\db_1\jlib\netcfg.jar;D:\oracle\product\10.2.0\db_1\jlib\oraclepki103.jar;D:\oracle\product\10.2.0\db_1\jlib\ldapjclnt10.jar;D:\oracle\product\10.2.0\db_1\assistants\jlib\assistantsCommon.jar;D:\oracle\product\10.2.0\db_1\assistants\dbua\jlib\dbma.jar;;D:\oracle\product\10.2.0\db_1\oui\jlib\OraInstaller.jar oracle.sysman.emcp.target.TargetManager -updateTargets db -EM_HOME D:\oracle\product\10.2.0\db_1 -ORACLE_HOME D:\oracle\product\10.2.0\db_1 -UPDATE_HOME D:\oracle\product\10.2.0\db_1 -DB_OH D:\oracle\product\10.2.0\db_1 -SID_LIST ORCL08 -PORT 1521 -SERVICE_NAME orcl08
    Oct 12, 2009 10:14:47 AM oracle.sysman.emcp.ParamsManager getParam
    Oct 12, 2009 10:14:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: D:\oracle\product\10.2.0\db_1\jdk\jre\bin\java -classpath D:\oracle\product\10.2.0\db_1\jdk\jre\lib\rt.jar;D:\oracle\product\10.2.0\db_1\jdk\jre\lib\i18n.jar;D:\oracle\product\10.2.0\db_1\jlib\ewt3.jar;D:\oracle\product\10.2.0\db_1\jlib\ewtcompat-3_3_15.jar;D:\oracle\product\10.2.0\db_1\jlib\share.jar;D:\oracle\product\10.2.0\db_1\jlib\swingall-1_1_1.jar;D:\oracle\product\10.2.0\db_1\jlib\oracle_ice5.jar;D:\oracle\product\10.2.0\db_1\jlib\jewt4.jar;D:\oracle\product\10.2.0\db_1\jlib\help4.jar;D:\oracle\product\10.2.0\db_1\jlib\kodiak.jar;D:\oracle\product\10.2.0\db_1\lib\xmlparserv2.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-mapping.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-utility.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-collation.jar;D:\oracle\product\10.2.0\db_1\classes;D:\oracle\product\10.2.0\db_1\jlib\oemlt-10_1_0.jar;D:\oracle\product\10.2.0\db_1\jlib\emca.jar;D:\oracle\product\10.2.0\db_1\sysman\jlib\emCORE.jar;D:\oracle\product\10.2.0\db_1\oc4j\j2ee\home\oc4j.jar;D:\oracle\product\10.2.0\db_1\jlib\emConfigInstall.jar;D:\oracle\product\10.2.0\db_1\oc4j\j2ee\home\db_oc4j_deploy.jar;D:\oracle\product\10.2.0\db_1\jlib\srvm.jar;D:\oracle\product\10.2.0\db_1\jlib\srvmhas.jar;D:\oracle\product\10.2.0\db_1\jlib\srvmasm.jar;D:\oracle\product\10.2.0\db_1\jlib\netcfg.jar;D:\oracle\product\10.2.0\db_1\jlib\oraclepki103.jar;D:\oracle\product\10.2.0\db_1\jlib\ldapjclnt10.jar;D:\oracle\product\10.2.0\db_1\assistants\jlib\assistantsCommon.jar;D:\oracle\product\10.2.0\db_1\assistants\dbua\jlib\dbma.jar;;D:\oracle\product\10.2.0\db_1\oui\jlib\OraInstaller.jar oracle.sysman.emcp.target.TargetManager -updateTargets db -EM_HOME D:\oracle\product\10.2.0\db_1\hal-00-dbs-08.hal.net_ORCL08 -ORACLE_HOME D:\oracle\product\10.2.0\db_1 -UPDATE_HOME D:\oracle\product\10.2.0\db_1 -DB_OH D:\oracle\product\10.2.0\db_1 -SID_LIST ORCL08 -PORT 1521 -SERVICE_NAME orcl08
    Oct 12, 2009 10:14:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 1
    Oct 12, 2009 10:14:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Scanning targets in emHome: D:\oracle\product\10.2.0\db_1\hal-00-dbs-08.hal.net_ORCL08
    Not updating db target: orcl08 in home: D:\oracle\product\10.2.0\db_1\hal-00-dbs-08.hal.net_ORCL08 as home: D:\oracle\product\10.2.0\db_1 and set home: D:\oracle\product\10.2.0\db_1, port: 1521 and set port: 1521 are same
    Oct 12, 2009 10:14:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: The properties file null\sysman\config\emcalog.properties needed to initialize the EMCA logger was not found. Default settings will be used
    Oct 12, 2009 10:14:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Error executing D:\oracle\product\10.2.0\db_1\jdk\jre\bin\java -classpath D:\oracle\product\10.2.0\db_1\jdk\jre\lib\rt.jar;D:\oracle\product\10.2.0\db_1\jdk\jre\lib\i18n.jar;D:\oracle\product\10.2.0\db_1\jlib\ewt3.jar;D:\oracle\product\10.2.0\db_1\jlib\ewtcompat-3_3_15.jar;D:\oracle\product\10.2.0\db_1\jlib\share.jar;D:\oracle\product\10.2.0\db_1\jlib\swingall-1_1_1.jar;D:\oracle\product\10.2.0\db_1\jlib\oracle_ice5.jar;D:\oracle\product\10.2.0\db_1\jlib\jewt4.jar;D:\oracle\product\10.2.0\db_1\jlib\help4.jar;D:\oracle\product\10.2.0\db_1\jlib\kodiak.jar;D:\oracle\product\10.2.0\db_1\lib\xmlparserv2.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-mapping.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-utility.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-collation.jar;D:\oracle\product\10.2.0\db_1\classes;D:\oracle\product\10.2.0\db_1\jlib\oemlt-10_1_0.jar;D:\oracle\product\10.2.0\db_1\jlib\emca.jar;D:\oracle\product\10.2.0\db_1\sysman\jlib\emCORE.jar;D:\oracle\product\10.2.0\db_1\oc4j\j2ee\home\oc4j.jar;D:\oracle\product\10.2.0\db_1\jlib\emConfigInstall.jar;D:\oracle\product\10.2.0\db_1\oc4j\j2ee\home\db_oc4j_deploy.jar;D:\oracle\product\10.2.0\db_1\jlib\srvm.jar;D:\oracle\product\10.2.0\db_1\jlib\srvmhas.jar;D:\oracle\product\10.2.0\db_1\jlib\srvmasm.jar;D:\oracle\product\10.2.0\db_1\jlib\netcfg.jar;D:\oracle\product\10.2.0\db_1\jlib\oraclepki103.jar;D:\oracle\product\10.2.0\db_1\jlib\ldapjclnt10.jar;D:\oracle\product\10.2.0\db_1\assistants\jlib\assistantsCommon.jar;D:\oracle\product\10.2.0\db_1\assistants\dbua\jlib\dbma.jar;;D:\oracle\product\10.2.0\db_1\oui\jlib\OraInstaller.jar oracle.sysman.emcp.target.TargetManager -updateTargets db -EM_HOME D:\oracle\product\10.2.0\db_1\hal-00-dbs-08.hal.net_ORCL08 -ORACLE_HOME D:\oracle\product\10.2.0\db_1 -UPDATE_HOME D:\oracle\product\10.2.0\db_1 -DB_OH D:\oracle\product\10.2.0\db_1 -SID_LIST ORCL08 -PORT 1521 -SERVICE_NAME orcl08
    Oct 12, 2009 10:14:47 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ASM_SID.
    Oct 12, 2009 10:14:47 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ASM_PORT.
    Oct 12, 2009 10:14:47 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ASM_OH.
    Oct 12, 2009 10:14:47 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter TNS_ADMIN.
    Oct 12, 2009 10:14:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: D:\oracle\product\10.2.0\db_1\jdk\jre\bin\java -classpath D:\oracle\product\10.2.0\db_1\jdk\jre\lib\rt.jar;D:\oracle\product\10.2.0\db_1\jdk\jre\lib\i18n.jar;D:\oracle\product\10.2.0\db_1\jlib\ewt3.jar;D:\oracle\product\10.2.0\db_1\jlib\ewtcompat-3_3_15.jar;D:\oracle\product\10.2.0\db_1\jlib\share.jar;D:\oracle\product\10.2.0\db_1\jlib\swingall-1_1_1.jar;D:\oracle\product\10.2.0\db_1\jlib\oracle_ice5.jar;D:\oracle\product\10.2.0\db_1\jlib\jewt4.jar;D:\oracle\product\10.2.0\db_1\jlib\help4.jar;D:\oracle\product\10.2.0\db_1\jlib\kodiak.jar;D:\oracle\product\10.2.0\db_1\lib\xmlparserv2.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-mapping.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-utility.jar;D:\oracle\product\10.2.0\db_1\jlib\orai18n-collation.jar;D:\oracle\product\10.2.0\db_1\classes;D:\oracle\product\10.2.0\db_1\jlib\oemlt-10_1_0.jar;D:\oracle\product\10.2.0\db_1\jlib\emca.jar;D:\oracle\product\10.2.0\db_1\sysman\jlib\emCORE.jar;D:\oracle\product\10.2.0\db_1\oc4j\j2ee\home\oc4j.jar;D:\oracle\product\10.2.0\db_1\jlib\emConfigInstall.jar;D:\oracle\product\10.2.0\db_1\oc4j\j2ee\home\db_oc4j_deploy.jar;D:\oracle\product\10.2.0\db_1\jlib\srvm.jar;D:\oracle\product\10.2.0\db_1\jlib\srvmhas.jar;D:\oracle\product\10.2.0\db_1\jlib\srvmasm.jar;D:\oracle\product\10.2.0\db_1\jlib\netcfg.jar;D:\oracle\product\10.2.0\db_1\jlib\oraclepki103.jar;D:\oracle\product\10.2.0\db_1\jlib\ldapjclnt10.jar;D:\oracle\product\10.2.0\db_1\assistants\jlib\assistantsCommon.jar;D:\oracle\product\10.2.0\db_1\assistants\dbua\jlib\dbma.jar;;D:\oracle\product\10.2.0\db_1\oui\jlib\OraInstaller.jar oracle.sysman.emcp.target.TargetManager -updateTargets db -EM_HOME D:\oracle\product\10.2.0\db_1\hal-00-dbs-08.hal.net_ORCL08.upgrade -ORACLE_HOME D:\oracle\product\10.2.0\db_1 -UPDATE_HOME D:\oracle\product\10.2.0\db_1 -DB_OH D:\oracle\product\10.2.0\db_1 -SID_LIST ORCL08 -PORT 1521 -SERVICE_NAME orcl08
    Oct 12, 2009 10:14:48 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 1
    Oct 12, 2009 10:14:48 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Scanning targets in emHome: D:\oracle\product\10.2.0\db_1\hal-00-dbs-08.hal.net_ORCL08.upgrade
    Not updating db target: orcl08 in home: D:\oracle\product\10.2.0\db_1\hal-00-dbs-08.hal.net_ORCL08.upgrade as home: D:\oracle\product\10.2.0\db_1 and set home: D:\oracle\product\10.2.0\db_1, port: 1521 and set port: 1521 are same
    CONFIG: Waiting for service 'OracleDBConsoleORCL08' to fully start
    CONFIG: Initialization failure for service during start
    Oct 12, 2009 10:23:55 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at D:\oracle\product\10.2.0\db_1\cfgtoollogs\dbua\orcl08\upgrade0\emConfig.log for more details.
    Oct 12, 2009 10:23:55 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
         at oracle.sysman.emcp.EMDBPostConfig.performUpgrade(EMDBPostConfig.java:763)
         at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:232)
         at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:193)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:184)
         at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:436)
         at oracle.sysman.assistants.util.em.EMConfigStep.executeImpl(EMConfigStep.java:140)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
         at oracle.sysman.assistants.util.step.BasicStep.callStep(BasicStep.java:251)
         at oracle.sysman.assistants.dbma.backend.EMConfigStep.executeStepImpl(EMConfigStep.java:104)
         at oracle.sysman.assistants.dbma.backend.SummarizableStep.executeImpl(SummarizableStep.java:175)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
         at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
         at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2488)
         at java.lang.Thread.run(Thread.java:534)

  • Using "in" clause in the query in Database control

    Hi,
    I have a database control and need to fire an update query to update a set of rows based on a list of values as input
    Like below
    update tablename
    set column1="value1"
    where column2 in (.......)
    I need to pass a list of values for this query where column2 is a NUMBER field in Oracle DB.
    can anyone help me how to go about passing this list of values?
    Help is appreciated.
    Thanks

    You may build the comma-separated list in Java and use " {sql: ...} " in your query: http://e-docs.bea.com/workshop/docs81/doc/en/workshop/java-class/com/bea/control/DatabaseControl.html (sorry, I can't find the documentation for WLI 9.2).

  • How to read sql from properties file in database control

    Hey Guys,
    I want to know that how a properties file can be used in bea built-in database control to read SQL.
    Any help would be greatly appreciated.
    Thanks,
    Deepak Kumar
    Qwest, India

    hi
    ok i tried it like its written in the tutorial...i do it like this:
    ClassLoader cl = ResourceAnchor.class.getClassLoader();
    props.load( cl.getResourceAsStream(pathname));
    -> tha pathname is dvd.properties
    and there always appears a NullPointerException: error reading properties file: java.lang.NullPointerException
    -angela

  • Oracle 10g  Database control installation error

    Hi,
    Installing oracle 10g database control had give me an error.But Repository created successfully . please find the log file below
    Is there i need to install ...? before i start to run emca to install Database Control.
    my points of interest are here
    FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml (No such file or directory)
    i didn't find jms.xml,rmi.xml,http-web-site.xml etc in this location /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/
    File/directory /opt/db/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not exist
    Let me know how to slove this error.
    Thanks,
    anil
    Error
    =========
    emca -config dbcontrol db -repos create
    STARTED EMCA at Apr 8, 2008 4:33:25 PM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: XXX
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ /opt/db/oracle/product/10.2.0
    Database hostname ................ xxx.xxxx.local
    Listener port number ................ 1521
    Database SID ................ XXX
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: yes
    Apr 8, 2008 4:34:55 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig updateReposVars
    SEVERE: File/directory /opt/db/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not existApr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Failed to unlock all EM-related accounts
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to unlock all EM-related accounts
    Refer to the log file at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log for more details.
    Could not complete the configuration. Refer to the log file at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log for more details.
    the following is log generated (emca_2008-04-08_04-33-25-PM.log)
    Apr 8, 2008 4:34:56 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /opt/db/oracle/product/10.2.0/oui
    Apr 8, 2008 4:34:56 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /opt/db/oracle/product/10.2.0/oui
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Homes to scan for used ports: [opt/db/oracle/product/10.2.0]
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /opt/db/oracle/product/10.2.0
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
    CONFIG: Could not find or correctly parse file /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/jms.xml in searching for tag jms-server with att
    ribute port
    java.io.FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/jms.xml (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at java.io.FileReader.<init>(FileReader.java:41)
    at oracle.sysman.emcp.util.PortManager.findUsedPortsFromXML(PortManager.java:282)
    at oracle.sysman.emcp.util.PortManager.markAllUsedPorts(PortManager.java:1172)
    at oracle.sysman.emcp.util.PortManager.getFreePorts(PortManager.java:543)
    at oracle.sysman.emcp.EMDBPreConfig.getFreePorts(EMDBPreConfig.java:2324)
    at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2261)
    at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking JMS port: null from /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
    CONFIG: Could not find or correctly parse file /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/rmi.xml in searching for tag rmi-server with att
    ribute port
    java.io.FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/rmi.xml (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at java.io.FileReader.<init>(FileReader.java:41)
    at oracle.sysman.emcp.util.PortManager.findUsedPortsFromXML(PortManager.java:282)
    at oracle.sysman.emcp.util.PortManager.markAllUsedPorts(PortManager.java:1176)
    at oracle.sysman.emcp.util.PortManager.getFreePorts(PortManager.java:543)
    at oracle.sysman.emcp.EMDBPreConfig.getFreePorts(EMDBPreConfig.java:2324)
    at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2261)
    at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking RMI port: null from /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
    CONFIG: Could not find or correctly parse file /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml in searching for tag web-site
    with attribute port
    java.io.FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at java.io.FileReader.<init>(FileReader.java:41)
    at oracle.sysman.emcp.util.PortManager.findUsedPortsFromXML(PortManager.java:282)
    at oracle.sysman.emcp.util.PortManager.markAllUsedPorts(PortManager.java:1180)
    at oracle.sysman.emcp.util.PortManager.getFreePorts(PortManager.java:543)
    at oracle.sysman.emcp.EMDBPreConfig.getFreePorts(EMDBPreConfig.java:2324)
    at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2261)
    at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking HTTP port: null from /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /opt/db/oracle/product/10.2.0/sysman/config/emd.properties
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager getAgentPort
    CONFIG: Cannot parse EMD_URL correctly. No port identified
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: null from /opt/db/oracle/product/10.2.0/sysman/config/emd.properties
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Cannnot parse EMD_URL correctly. No port identified
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /opt/db/oracle/product/10.2.0/install/staticports.ini
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager getFreePorts
    CONFIG: /opt/db/oracle/product/10.2.0:mcidm11.pacs11.local:null:SDM:{}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_SDM.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: AGENT_PORT_SDM value: 3938
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_SDM.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBCONTROL_HTTP_PORT_SDM value: 1158
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_SDM.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: JMS_PORT_SDM value: 5540
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_SDM.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: RMI_PORT_SDM value: 5520
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMDBPreConfig getFreePorts
    CONFIG: Ports assigned for SID: SDM : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: SDM, oracleHome: /opt/db/oracle/product/10.2.0, and user: SYS
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig createRepository
    CONFIG: Spooling to /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_repos_create_2008-04-08_04-34-58-PM.log
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: SDM, oracleHome: /opt/db/oracle/product/10.2.0, and user: SYS
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig grantPrivsToDbsnmp
    CONFIG: Exception while granting priviliges.
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-00942: table or view does not exist
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1467)
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1708)
    at oracle.sysman.emcp.EMReposConfig.grantPrivsToDbsnmp(EMReposConfig.java:503)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:208)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Failed to grant priviliges to dbsnmp.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig updateReposVars
    SEVERE: File/directory /opt/db/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not existApr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: SDM, oracleHome: /opt/db/oracle/product/10.2.0, and user: SYS
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Unlocking dbsnmp and sysman
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: ORA-06550: line 1, column 62:
    PLS-00201: identifier 'SYSMAN.MGMT_VIEW_PRIV' must be declared
    ORA-06550: line 1, column 62:
    PL/SQL: Statement ignored
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-06550: line 1, column 62:
    PLS-00201: identifier 'SYSMAN.MGMT_VIEW_PRIV' must be declared
    ORA-06550: line 1, column 62:
    PL/SQL: Statement ignored
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1467)
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1708)
    at oracle.sysman.emcp.EMReposConfig.unlockAccounts(EMReposConfig.java:566)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:235)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Failed to unlock all EM-related accounts
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to unlock all EM-related accounts
    Refer to the log file at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log for more details.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Failed to unlock all EM-related accounts
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:239)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)

    Hi all,
    i started creating database control repository, when i saw emca running i had seen repository created successfully , but sysman user is not created at this point of time. Then i looked into emca_repos_create_2008-04-10_11-57-03-AM.log file but the file is unable to open because it's looking for file emreposcre.sql which creates sysman user in this location /opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql/
    i feel while installing the database these files are not created....? or i need to run any scripts before running emca ....?
    give me some inputs to this thread.
    Thanks,
    nil
    STARTED EMCA at Apr 10, 2008 11:55:41 AM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: XXXXX
    Listener port number: 1521
    Password for SYS user:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: yes
    Apr 10, 2008 11:57:02 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /opt/db/oracle/product/10.2.0/cfgtoollog
    Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Apr 10, 2008 11:57:03 AM
    mcidm11 10.2.0/bin>
    CONFIG: Spooling to /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_repos_create_2008-04-10_11-57-03-AM.log
    Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    mcidm11 emca/SDM> pwd
    /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM
    mcidm11 emca/SDM> more emca_repos_create_2008-04-10_11-57-03-AM.log
    SP2-0310: unable to open file "/opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql/emreposcre.sql"mcidm11 emca/SDM> cd
    Directory: /opt/db
    mcidm11 /opt/db> cd /opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql/
    Directory: /opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql
    mcidm11 emdrep/sql> ls
    core db ias ocs

  • Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0

    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0 is one hour behiend on AIX 5.3.
    I have installed the new timezone version 4 already by oracle DST path database is good OEM main page is showing one hour behiend.
    I have done every possible effort last thing may be i have to update java home i have 1.4 IBM java on the server.
    Please help me in this. Thanks.

    See the Metalink Note *Impact Document for Daylight Saving Time Shift for Enterprise Manager Grid Control [ID 417939.1]* Appendix B - FAQ - point 18
    What is the impact of not patching the JDK on the OMS for 10g Grid Control?
    If you do not patch the JDK on the OMS page refreshed times and possibly other times displayed in the console will be incorrect (they will be off by 1 hour) during an affected period.
    Oracle strongly recommends that you do patch the OMS JDK but we are not aware of any data corruption in the repository nor of any impact on critical EM functionalities (such as severities, notifications and jobs) when the JDK is not patched.

  • Database control: how to read output of sproc that returns result set

    I have a stored procedure that returns a result set. Should I use a RowSet control to wrap this, or a database control, or neither? Am I better off with straight JDBC in a Java control?
    Thanks.

    Sorry for missing the point totally...
    DOKTL also contains long text for FM parameters...
    This is a modified version of your code that retrieves the long text and displays it...
    DATA: parameter TYPE TABLE OF swotfupar,
          ls_parameter LIKE LINE OF parameter,
          search_string TYPE doktl-object,
          texttab type table of doktl-doktext with header line.
    PARAMETERS: fubaname TYPE swcontdef-abapname
                              DEFAULT 'POPUP_TO_CONFIRM',
                pa_lang TYPE sy-langu.
    START-OF-SELECTION.
      CALL FUNCTION 'SWO_QUERY_FUNCTION_PARAMETERS'
        EXPORTING
          functionmodule            = fubaname
        TABLES
          function_parameters       = parameter
    *   EXCEPTIONS
    *     FUNCTION_NOT_FOUND        = 1
    *     OTHERS                    = 2
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT parameter INTO ls_parameter.
        CONCATENATE `                              `            "30 spaces
                    ls_parameter-parameter INTO search_string.
        OVERLAY search_string WITH fubaname.
        SELECT doktext FROM doktl INTO TABLE texttab
               WHERE id = 'FU'
               AND langu = pa_lang
               AND object = search_string.
        WRITE:/ 'Long Text for', ls_parameter-parameter.
        LOOP AT texttab.
          NEW-LINE.
          WRITE: AT 10 texttab COLOR COL_HEADING.
        ENDLOOP.
      ENDLOOP.
    Hope this helps you
    Regards,
    Dushyant Shetty

  • Workshop 8.1 beta - problem with creating Database control

    I am using Workshop 8.1 beta to create a webservice, which uses a database control
    to query the Db, as simpel as it comes. However, I get the following exception
    when I try to create the new DBControl:
    java.lang.AssertionError
         at workshop.pageflow.ui.dialogs.wizards.jbcx.db.util.DbControlWizardUtil.getTables(DbControlWizardUtil.java:268)
         at workshop.pageflow.ui.dialogs.wizards.jbcx.db.util.DbControlWizardUtil.getTablesAndViews(DbControlWizardUtil.java:223)
         at workshop.pageflow.ui.dialogs.wizards.jbcx.db.step.PickMethodsStep$4.run(PickMethodsStep.java:299)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:140)
         at java.awt.Dialog.show(Dialog.java:538)
         at com.bea.ide.ui.wizard.WizardDialog.show(WizardDialog.java:117)
         at workshop.pageflow.ui.dialogs.wizards.jbcx.db.DbControlWizard.runWizard(DbControlWizard.java:96)
         at workshop.pageflow.ui.dialogs.wizards.jbcx.db.FileNewDbControlWizardAction.doAction(FileNewDbControlWizardAction.java:58)
         at workshop.pageflow.ui.dialogs.wizards.jbcx.db.DbControlWizardDocHandler.launchWizard(DbControlWizardDocHandler.java:87)
         at workshop.pageflow.ui.dialogs.wizards.jbcx.db.DbControlWizardDocHandler.createNewFile(DbControlWizardDocHandler.java:72)
         at workshop.shell.wizards.NewFileWizard.getDisplayURI(NewFileWizard.java:232)
         at workshop.shell.actions.file.FileNewAction$1.run(FileNewAction.java:111)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    What's interesting is that it works well for the default dbcontrols of cgDataSource
    and cgSampleDataSource. The connection pool and the datasources were created successfully
    in the server. Its the workshop that seems to be complaining.
    Anyone face this problem?

    Sanjeev,
    This newsgroup is for Workshop 7.0 issues, till WebLogic Platform 8.1 goes
    GA.
    Meanwhile, please post Workshop 8.1 beta issues on
    weblogic.developer.interest.81beta.workshop newsgroup.
    Regards,
    Anurag
    "Sanjeev Saha" <[email protected]> wrote in message
    news:[email protected]...
    >
    I am using Workshop 8.1 beta to create a webservice, which uses a databasecontrol
    to query the Db, as simpel as it comes. However, I get the followingexception
    when I try to create the new DBControl:
    java.lang.AssertionError
    atworkshop.pageflow.ui.dialogs.wizards.jbcx.db.util.DbControlWizardUtil.getTab
    les(DbControlWizardUtil.java:268)
    atworkshop.pageflow.ui.dialogs.wizards.jbcx.db.util.DbControlWizardUtil.getTab
    lesAndViews(DbControlWizardUtil.java:223)
    atworkshop.pageflow.ui.dialogs.wizards.jbcx.db.step.PickMethodsStep$4.run(Pick
    MethodsStep.java:299)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
    atjava.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:197)
    atjava.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :150)
    atjava.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :140)
    at java.awt.Dialog.show(Dialog.java:538)
    at com.bea.ide.ui.wizard.WizardDialog.show(WizardDialog.java:117)
    atworkshop.pageflow.ui.dialogs.wizards.jbcx.db.DbControlWizard.runWizard(DbCon
    trolWizard.java:96)
    atworkshop.pageflow.ui.dialogs.wizards.jbcx.db.FileNewDbControlWizardAction.do
    Action(FileNewDbControlWizardAction.java:58)
    atworkshop.pageflow.ui.dialogs.wizards.jbcx.db.DbControlWizardDocHandler.launc
    hWizard(DbControlWizardDocHandler.java:87)
    atworkshop.pageflow.ui.dialogs.wizards.jbcx.db.DbControlWizardDocHandler.creat
    eNewFile(DbControlWizardDocHandler.java:72)
    atworkshop.shell.wizards.NewFileWizard.getDisplayURI(NewFileWizard.java:232)
    at workshop.shell.actions.file.FileNewAction$1.run(FileNewAction.java:111)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
    atjava.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:197)
    atjava.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    What's interesting is that it works well for the default dbcontrols ofcgDataSource
    and cgSampleDataSource. The connection pool and the datasources werecreated successfully
    in the server. Its the workshop that seems to be complaining.
    Anyone face this problem?

  • Problems with EM Database Control after applying 10.2.0.4 patchset

    Hello all,
    Host: Linux x86
    DB: Single-instance running EM Database Control. Originally 10.2.0.1 patched to 10.2.0.4
    Last night I upgraded the database from 10.2.0.1 to 10.2.0.4. All appeared to go well. I didn't get any errors in the process and when I logged in to the database control, all appeared well. It was late at night so I didn't browse around for very long, though. When I came in this morning and did some more extensive testing, upon logging in I first noticed that in the General section the database version was listed as 10.2.0.1.0. I thought that this was pretty odd since I had just been logged on to SQL*Plus and saw that the database was reporting back that it was at version 10.2.0.4.0. I refreshed the page and I saw
    "java.lang.Exception: IOException in reading Response :: Connection reset"
    at the top of the page. I have seen this problem before and, in the past, it has been resolved by either restarting the dbconsole or making sure that the monitoring configuration is set up correctly. The first thing that I did was issue
    [host]$ emctl stop dbconsole followed by
    [host]$ emctl start dbconsole
    to see if that would do the trick. When I saw that it didn't, I went into the Monitoring Configuration and was surprised to see that it said "No items were found." I refreshed the page and this error appeared:
    oracle.sysman.emSDK.emd.comm.CommException: IOException in reading Response :: Connection reset
    I tried to follow all of the instructions in the ReadMe as closely as I could. I have been searching on the Internet and the Oracle Forums for most of the day to try to find out the cause of this error. I see that people have these errors, but the circumstances are not the same as mine. Is this a common problem? Does anyone know what I can do to resolve it?
    Any help would be greatly appreciated.
    Thanks!
    John

    Hello Satish,
    Thank you for your reply. I don't know if this is normal or not but, now after the upgrade, in the ORACLE_HOME I have a directory that's been created called hostnameSID (the fully qualified host name of my computer and the SID of the database).  Inside of it is a sysman directory, an emctl.pid file and an oraInst.loc file.  I also still have a syman directory under the ORACLEHOME but the dbconsole appears to be running out of the hostname_SID directory.  Is that normal?
    I looked up the article that you referenced and looked for the targets.xml file first in the ORACLE_HOME/sysman/emd directory. I found a targets.xml file along with several other similar files, targets.xml.1, targets.xml.2, etc. The targets.xml file just had the following:
    <Targets>
    </Targets>
    Seeing that it was blank, I then took a look at the the hostname_SID/sysman/emd folder. I saw only one targets.xml file in this location and when I opened it up it had the following:
    <Targets AGENT_TOKEN="+alpha numeric string+">
    <Target TYPE="oracle_emd" NAME="+hostname+:3938"/>
    <Target TYPE="host" NAME="+hostname+"/>
    </Targets>
    The contents of that file seemed to match what the article which you cited indicated should be in the file. Since I have a single instance managed by the dbconsole and not EM Grind Control, I'm expecting the files to be a little bit different. Am I wrong in assuming that? Still, I'm not sure if I should have the hostname_SID directory beneath the ORACLE_HOME.
    Any ideas?
    Thanks again for your help,
    John

  • Can't create or import Database Control Repository on fresh install

    I've just installed the latest 10g version on a Linux system. Afterward, and after exporting my ORACLE_SID and ORACLE_HOME variables, on trying to start the EM Control (emctl), I got the dreaded "OC4J Configuration issue" error:
    ./emctl start dbconsole
    TZ set to US/Eastern
    OC4J Configuration issue. /usr/local/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_myhostname_myoracledb not found.
    lsnrctl hung when connecting or checking status:
    ./lsnrctl
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-JUN-2007 16:14:23
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1521)))
    So I ran netca to configure the listener, and that seemed to work, but at the end it complained that the port was already in use (even though netstat -a shows nothing on port 1521). Then I tried to create the repository (emca -repos create), but that failed too ("SYSMAN already exists"):
    INFO: Creating the EM repository (this may take a while) ...
    Jun 25, 2007 4:18:55 PM oracle.sysman.emcp.EMReposConfig createRepository
    CONFIG: ORA-20001: SYSMAN already exists..
    ORA-06512: at line 17
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-20001: SYSMAN already exists..
    ORA-06512: at line 17
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1467)
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeScript(SQLEngine.java:841)
    at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:265)
    at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:306)
    at oracle.sysman.emcp.EMReposConfig.createRepository(EMReposConfig.java:360)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:182)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Jun 25, 2007 4:18:55 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error creating the repository
    Jun 25, 2007 4:18:55 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /usr/local/oracle/product/10.2.0/db_1/cfgtoollogs/emca/myoracledb/emca_repos_create_<date>.log for
    Jun 25, 2007 4:18:55 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error creating the repository
    Refer to the log file at /usr/local/oracle/product/10.2.0/db_1/cfgtoollogs/emca/myoracledb/emca_2007-06-25_04-18-37-PM.log for morJun 25, 2007 4:18:55 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error creating the repository
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:194)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    I'm not sure what else to try. Any thoughts?
    Thank you,
    ~John

    Please let me know if this isn't the correct log:
    $ cat $ORACLE_HOME/cfgtoollogs/emca/oracledb/emca_2007-06-27_04-51-05-PM.log
    Jun 27, 2007 4:51:05 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-config' set to true
    Jun 27, 2007 4:51:05 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'UPDATE_EMAIL' set to true
    Jun 27, 2007 4:51:05 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'dbcontrol' set to true
    Jun 27, 2007 4:51:05 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    Jun 27, 2007 4:51:05 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'create' set to true
    Jun 27, 2007 4:51:05 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'drop' set to true
    Jun 27, 2007 4:51:05 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: ORACLE_HOME value: /usr/local/oracle/product/10.2.0/db_1
    Jun 27, 2007 4:51:05 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 27, 2007 4:51:05 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: EM_HOME value: /usr/local/oracle/product/10.2.0/db_1
    Jun 27, 2007 4:51:09 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SID value: oracledb
    Jun 27, 2007 4:51:09 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 27, 2007 4:51:09 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: This is expected, as we might be calling it from a non-rac home
    Jun 27, 2007 4:51:09 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: Error retrieving the local node for the cluster
    Jun 27, 2007 4:51:09 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: PRKH-1010 : Unable to communicate with CRS services.
    [OCR Error(Native: prsr_initCLSS:[21])]
    Jun 27, 2007 4:51:09 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: Cluster Error Message: PRKH-1010 : Unable to communicate with CRS services.
    [OCR Error(Native: prsr_initCLSS:[21])]
    Jun 27, 2007 4:51:09 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 27, 2007 4:51:09 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: oracledb Host: [hostname] Node: null OH: /usr/local/oracle/product/10.2.0/db_1 isDBC: false
    Jun 27, 2007 4:51:09 PM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: oracledb Host: [hostname] Node: null OH: /usr/local/oracle/product/10.2.0/db_1 agentHome: null isCentral: false
    Jun 27, 2007 4:51:09 PM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: oracledb Host: [hostname] Node: null OH: /usr/local/oracle/product/10.2.0/db_1 agentHome: null isCentral: false
    Jun 27, 2007 4:51:09 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    Jun 27, 2007 4:51:09 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: oracledb, oracleHome: /usr/local/oracle/product/10.2.0/db_1, and user:
    Jun 27, 2007 4:51:10 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 27, 2007 4:51:10 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Jun 27, 2007 4:51:10 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Jun 27, 2007 4:51:12 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: PORT value: 1521
    Jun 27, 2007 4:51:15 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    Jun 27, 2007 4:51:15 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: oracledb, oracleHome: /usr/local/oracle/product/10.2.0/db_1, and user: SYS
    Jun 27, 2007 4:51:15 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 27, 2007 4:51:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: oracledb, oracleHome: /usr/local/oracle/product/10.2.0/db_1, and user: DBSNMP
    Jun 27, 2007 4:51:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 27, 2007 4:51:20 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: EMAIL_ADDRESS value:
    Jun 27, 2007 4:51:21 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: MAIL_SERVER_NAME value:
    Jun 27, 2007 4:51:21 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 27, 2007 4:51:21 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value:
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value: yes
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LOG_FILE.
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: oracledb, oracleHome: /usr/local/oracle/product/10.2.0/db_1, and user: SYS
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: oracledb
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /usr/local/oracle/product/10.2.0/db_1/cfgtoollogs/emca/oracledb/emca_2007-06-27_04-51-05-PM.log.
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'CHECK_CONFIG' set to true
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: oracledb, oracleHome: /usr/local/oracle/product/10.2.0/db_1, and user: SYS
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: oracledb, oracleHome: /usr/local/oracle/product/10.2.0/db_1, and user: DBSNMP
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: oracledb, oracleHome: /usr/local/oracle/product/10.2.0/db_1, and user: SYS
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: oracledb, oracleHome: /usr/local/oracle/product/10.2.0/db_1, and user: SYS
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: oracledb
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_DOMAIN value: world
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: oracledb
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: oracledb.world
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBID.
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.DatabaseChecks getDbid
    CONFIG: No dbid available. Will query db to extract it.
    Jun 27, 2007 4:51:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: oracledb, oracleHome: /usr/local/oracle/product/10.2.0/db_1, and user: SYS
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBID value: 3244183297
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: oracledb, oracleHome: /usr/local/oracle/product/10.2.0/db_1, and user: SYS
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: oracledb
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_DOMAIN value: world
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: oracledb
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: oracledb.world
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: oracledb, oracleHome: /usr/local/oracle/product/10.2.0/db_1, and user: SYS
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter EMAIL_ADDRESS.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: oracledb, oracleHome: /usr/local/oracle/product/10.2.0/db_1, and user: SYS
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.EMDBPreConfig invoke
    CONFIG: Passed repository configuration check
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
    CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: oracledb, oracleHome: /usr/local/oracle/product/10.2.0/db_1, and user: SYS
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_DOMAIN value: world
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: oracledb.world
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /usr/local/oracle/product/10.2.0/db_1/sysman/config/emd.properties to /usr/local/oracle/product/10.2.0/db_1/sysman/config/emd.properties.emca.tmp
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /usr/local/oracle/product/10.2.0/db_1/sysman/config/emd.properties has been copied to /usr/local/oracle/product/10.2.0/db_1/sysman/config/emd.properties.emca.tmp
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /usr/local/oracle/product/10.2.0/db_1/sysman/config/emoms.properties.emca to /usr/local/oracle/product/10.2.0/db_1/sysman/config/emoms.properties
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /usr/local/oracle/product/10.2.0/db_1/sysman/config/emoms.properties.emca has been copied to /usr/local/oracle/product/10.2.0/db_1/sysman/config/emoms.properties
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /usr/local/oracle/product/10.2.0/db_1/sysman/emd/targets.xml to /usr/local/oracle/product/10.2.0/db_1/sysman/emd/targets.xml.emca.tmp
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /usr/local/oracle/product/10.2.0/db_1/sysman/emd/targets.xml has been copied to /usr/local/oracle/product/10.2.0/db_1/sysman/emd/targets.xml.emca.tmp
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_RECONFIG' set to false
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: oracledb Host: [hostname] Node: null OH: /usr/local/oracle/product/10.2.0/db_1 agentHome: null isCentral: false
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: oracledb Host: [hostname] Node: null OH: /usr/local/oracle/product/10.2.0/db_1 isDBC: false
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to false
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: oracledb Host: [hostname] Node: null OH: /usr/local/oracle/product/10.2.0/db_1 isDBC: false
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter PORTS_FILE.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_oracledb.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_oracledb.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_oracledb.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_oracledb.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /usr/local/oracle/product/10.2.0/db_1/oui
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /usr/local/oracle/product/10.2.0/db_1/oui
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Homes to scan for used ports: [usr/local/oracle/product/10.2.0/db_1]
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /usr/local/oracle/product/10.2.0/db_1
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking JMS port: null from /usr/local/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking RMI port: null from /usr/local/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking HTTP port: null from /usr/local/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.PortManager getAgentPort
    CONFIG: Cannot parse EMD_URL correctly. No port identified
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: null from /usr/local/oracle/product/10.2.0/db_1/sysman/config/emd.properties
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Cannnot parse EMD_URL correctly. No port identified
    Jun 27, 2007 4:51:24 PM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /usr/local/oracle/product/10.2.0/db_1/install/staticports.ini
    Jun 27, 2007 4:51:25 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
    Refer to the log file at /usr/local/oracle/product/10.2.0/db_1/cfgtoollogs/emca/oracledb/emca_2007-06-27_04-51-05-PM.log for more details.
    Jun 27, 2007 4:51:25 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
    at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2266)
    at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)

  • How to instantiate a database control in a session bean (Weblogic 8.1)

    Is it possible to instantiate a database control in a session bean?
    in a jsp i invoke "WlwProxy.create" method with an HttpServletRequest Object,
    ther's another "WlwProxy.create" which take an URL object instead of an HttpServletRequest one, i've tried to use it with the URL of my database Control class,
    I've tried two ways :
    1- URL url = new URL(C:\bea\user_projects\.....\MydatabaseControlclass")
    2- URL url = new URL("http","localhost",7001,"nameOfPackege/MydatabaseControlclass");
    But it failed
    Does anybody here know how to use "WlwProxy.create" with an URL object ?
    Thanks.
    Edited by concerto at 04/19/2007 6:29 AM
    Edited by concerto at 04/19/2007 6:36 AM
    Edited by concerto at 04/19/2007 6:43 AM

    Hi Gautam
    I don't think Database control has any attribute on Role.
    The database control takes the connection from the datasource that is specified in the jcx. I am not sure if there is any attribute at the connection pool level that will allow you to set a role.
    Or you can call a method in the dbcontrol that executes a set role.. statement and then run other methods.
    Thanks
    Vimala

  • Database Control does not load

    I have an oracle 10g database up and running but I cant seem to connect via Database Control.
    When I try to navigate to http://<hostname>:<port num>/em it goes to a blank web page. If I navigate to http://<hostname>:<port num>/em/console/logon/logon it shows the signin page but refuses to do anything when I ask to login
    The one time I got past the logon page, I got an error : "The Enterprise Manager cannot connect to the database instance".
    The system said agent connection to instance is unavailable.
    I read up on other posts and saw that the password should not have special characters. I have a '#' in my password - could this be the problem? If so, what are the exact steps to change the password. There seemed to be many posts asking to change emoms.properties with the new password but none of them explained what exactly to change
    I have another 10g oracle database on another machine whose password has a '$' in it and it gave me no problems.

    And here is my emoms.trc
    2007-02-15 13:12:53,937 [Orion Launcher] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01033: ORACLE initialization or shutdown in progress
    2007-02-15 13:12:54,671 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ias.ias.IASIntegration
    2007-02-15 13:12:54,937 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.eml.target.slb.common.SLBIntegration
    2007-02-15 13:12:55,078 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.eml.ssl.intg.SSLIntegration
    2007-02-15 13:12:55,187 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.tip.oem.central.domain.ProcessConnectDomainIntg
    2007-02-15 13:12:55,187 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.tip.oem.central.instance.ProcessConnectInstanceIntg
    2007-02-15 13:12:55,187 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.webdb.admin.em.PortalIntegration
    2007-02-15 13:12:55,218 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.webdb.admin.em.SSOIntegration
    2007-02-15 13:12:55,218 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.reports.em.RepIntg
    2007-02-15 13:12:55,218 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsEmailIntegration
    2007-02-15 13:12:55,218 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOidIntegration
    2007-02-15 13:12:55,218 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOvfIntegration
    2007-02-15 13:12:55,218 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWebconfIntegration
    2007-02-15 13:12:55,234 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWirelessIntg
    2007-02-15 13:12:55,234 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsCalGrpIntegration
    2007-02-15 13:12:55,312 [OmsServiceDriver thread] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 1033; Cleaning up cache and retrying
    2007-02-15 13:12:55,312 [OmsServiceDriver thread] WARN jdbc.ConnectionCache _getConnection.306 - ORA-01033: ORACLE initialization or shutdown in progress
    java.sql.SQLException: ORA-01033: ORACLE initialization or shutdown in progress
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:330)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:277)
         at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOsesskey(T4CTTIoauthenticate.java:287)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:356)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:493)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:767)
         at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:324)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:114)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:694)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnectionCacheImpl.java:540)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:346)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:324)
         at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:296)
         at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:423)
         at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:156)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:605)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getRepositoryVersionAndMode(ConnectionService.java:368)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.verifyRepositoryEx(ConnectionService.java:395)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.verifyRepository(ConnectionService.java:450)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.blockUntilValid(ConnectionService.java:475)
         at oracle.sysman.emdrep.failover.OMSHeartbeatRecorder.getId(OMSHeartbeatRecorder.java:162)
         at oracle.sysman.emdrep.failover.OMSHeartbeatRecorder.preTask(OMSHeartbeatRecorder.java:386)
         at oracle.sysman.emdrep.omsservice.OmsServiceDriver.run(OmsServiceDriver.java:147)
    2007-02-15 13:12:55,343 [OmsServiceDriver thread] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01033: ORACLE initialization or shutdown in progress
    2007-02-15 13:12:55,343 [OmsServiceDriver thread] ERROR conn.ConnectionService blockUntilValid.485 - Connection pool is not valid. status =2
    2007-02-15 13:12:55,343 [OmsServiceDriver thread] ERROR conn.ConnectionService blockUntilValid.493 - Repository connection details are invalid.
    2007-02-15 13:12:56,359 [OmsServiceDriver thread] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 1033; Cleaning up cache and retrying
    2007-02-15 13:12:56,359 [OmsServiceDriver thread] WARN jdbc.ConnectionCache _getConnection.306 - ORA-01033: ORACLE initialization or shutdown in progress
    java.sql.SQLException: ORA-01033: ORACLE initialization or shutdown in progress
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:330)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:277)
         at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOsesskey(T4CTTIoauthenticate.java:287)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:356)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:493)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:767)
         at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:324)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:114)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:694)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnectionCacheImpl.java:540)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:346)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:324)
         at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:296)
         at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:423)
         at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:156)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:605)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getRepositoryVersionAndMode(ConnectionService.java:368)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.verifyRepositoryEx(ConnectionService.java:395)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.verifyRepository(ConnectionService.java:450)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.blockUntilValid(ConnectionService.java:475)
         at oracle.sysman.emdrep.failover.OMSHeartbeatRecorder.getId(OMSHeartbeatRecorder.java:162)
         at oracle.sysman.emdrep.failover.OMSHeartbeatRecorder.preTask(OMSHeartbeatRecorder.java:386)
         at oracle.sysman.emdrep.omsservice.OmsServiceDriver.run(OmsServiceDriver.java:147)
    2007-02-15 13:12:56,390 [OmsServiceDriver thread] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01033: ORACLE initialization or shutdown in progress
    2007-02-15 13:12:58,407 [OmsServiceDriver thread] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 1033; Cleaning up cache and retrying
    2007-02-15 13:12:58,407 [OmsServiceDriver thread] WARN jdbc.ConnectionCache _getConnection.306 - ORA-01033: ORACLE initialization or shutdown in progress
    java.sql.SQLException: ORA-01033: ORACLE initialization or shutdown in progress
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:330)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:277)
         at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOsesskey(T4CTTIoauthenticate.java:287)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:356)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:493)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:767)
         at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:324)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:114)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:694)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnectionCacheImpl.java:540)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:346)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:324)
         at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:296)
         at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:423)
         at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:156)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:605)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getRepositoryVersionAndMode(ConnectionService.java:368)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.verifyRepositoryEx(ConnectionService.java:395)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.verifyRepository(ConnectionService.java:450)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.blockUntilValid(ConnectionService.java:475)
         at oracle.sysman.emdrep.failover.OMSHeartbeatRecorder.getId(OMSHeartbeatRecorder.java:162)
         at oracle.sysman.emdrep.failover.OMSHeartbeatRecorder.preTask(OMSHeartbeatRecorder.java:386)
         at oracle.sysman.emdrep.omsservice.OmsServiceDriver.run(OmsServiceDriver.java:147)
    2007-02-15 13:12:58,438 [OmsServiceDriver thread] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01033: ORACLE initialization or shutdown in progress
    2007-02-15 13:30:42,167 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ias.ias.IASIntegration
    2007-02-15 13:30:42,448 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.eml.target.slb.common.SLBIntegration
    2007-02-15 13:30:42,542 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.eml.ssl.intg.SSLIntegration
    2007-02-15 13:30:42,652 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.tip.oem.central.domain.ProcessConnectDomainIntg
    2007-02-15 13:30:42,652 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.tip.oem.central.instance.ProcessConnectInstanceIntg
    2007-02-15 13:30:42,667 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.webdb.admin.em.PortalIntegration
    2007-02-15 13:30:42,667 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.webdb.admin.em.SSOIntegration
    2007-02-15 13:30:42,667 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.reports.em.RepIntg
    2007-02-15 13:30:42,667 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsEmailIntegration
    2007-02-15 13:30:42,667 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOidIntegration
    2007-02-15 13:30:42,667 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOvfIntegration
    2007-02-15 13:30:42,667 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWebconfIntegration
    2007-02-15 13:30:42,683 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWirelessIntg
    2007-02-15 13:30:42,683 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsCalGrpIntegration
    Thanks for your help!

  • Can i use "begin" and "end" in a database control

    hi there
    i just want to know if i can use begin and end with several sql update statments in between in a database control. u see, i need to run few update statements together. i don't want to put them in seperate method. i was wondering if i could put them together in on method and run it. is there any other way to do it if begin and end are not allowed. thanks

    I have a J2EE application, for which I have a module which is used by system administrators. this module is completly written in Java swing.
    and it does talk to my EJBs.
    If you don't have a firewall in your application, then you can directly make your applications in awt, swing and applets talk to EJBs. if you do have a firewall, then just write a web-service wrapper over your EJBs and other J2EE components and use them from desktop applications.
    It seems that you want to implement a kind of a applet based monitor application for your J2EE EJBs on the server. Applets cannot directly monitor your EJBs.
    Create a new module which has a service which acts as an event listener on the server. each j2ee component on the server notify it if there is a change to them. this service, can then write the data realted to the modification on a socket which is continiously being read by the applet. So you can implement a kind of a monitor for J2ee apps with applets.
    hope this helps.
    regards,
    Abhishek.
    PS:How did you manage to adore the AWT ;-) ? I found that it sucks (good performance.. very poor lnf) ... java swing sucks too (very poor performance ... avaerage lnf).

Maybe you are looking for

  • Performance problem submitting big XML string parameter to the web service

    We deployed a web service on the OC4J via oracle.j2ee.ws.StatelessJavaRpcWebService . This web service takes one string as a parameter. The string contains XML. Evrything works great UNLESS input XML string reaches 5Mb in size. When it happens OC4J d

  • ADF BC - Date Picker closes Popup

    Hi all, I have a inputDate field inside of a form which is in a popup. When i choose a date from the date picker that comes up, (the one built in to the inputDate field) my popup closes. Is there a way to keep the popup open until a user clicks back

  • Policy on Trash Retention.

    I'm having a battle with upper management in respects to the Trash folder. Currently, we are using Retain to archive emails including the Trash folder. My argument is that the Trash folder should not be archived and a policy should be in place, and s

  • It wont install on my computer all it says is gathering information

    I downloaded after effects and then I went to install it and all it says is gathering information and nothing loads

  • How to create po through batch run

    Hi, how to create po through batch run (through background job) Prashanth