DBCA not seing instance

Hi,
I would like to remove an instance on a 10g running on Linux. But when I launch dbca, the instance doesn't appear in the list...
The instance runs correctly. Except that I always need to specify a pfile when I do a startup... Not sure if this is a clue but I believe something bad has been done to the instance in the past (and I can't get in touch with the previous dba).
Is there a config file somewhere that I can modify to make it recognized by dbca? I tried adding $ORACLE_SID:$ORACLE_HOME:Y in oratab but that doesn't solves the problem.
If I'm not able to remove the instance with dbca, is there another clean way to do that?
Thanks a lot in advance!

user4352704 wrote:
Hi,
I would like to remove an instance on a 10g running on Linux. But when I launch dbca, the instance doesn't appear in the list...
The instance runs correctly. Except that I always need to specify a pfile when I do a startup... Not sure if this is a clue but I believe something bad has been done to the instance in the past (and I can't get in touch with the previous dba).
Is there a config file somewhere that I can modify to make it recognized by dbca? I tried adding $ORACLE_SID:$ORACLE_HOME:Y in oratab but that doesn't solves the problem.
If I'm not able to remove the instance with dbca, is there another clean way to do that?
Thanks a lot in advance!I believe DBCA gets its list of 'available' databases from the oratab file.

Similar Messages

  • Windows 64-Bit Oracle DBCA creating new Instance ORA-27102: out of memory

    Wondering has anyone encountered this?
    We are running Oracle 10 R2 running on Windows Server 2003 ( This database is on a 64-bit Platform)
    Memory capacity is 16 GB on the server.
    We are using DBCA to streamline db creation of the new “EDR” DB instance – here are a few different attempts we’ve done:
    (all have failed )
    FYI - during this installation we’ve monitored the memory allocation/usage of the Windows Server and there
    was about 13-14 GB Free
    The existing instance takes up less than 4GB of space.
    We tried following:
    1. Allocating 8GB of Memory to new EDR Instance without shutting down other Oracle Instance.
    2. Allocating 8GB of Memory to new EDR Instance and shutting down other Oracle Instance
    3. Rebooted Server keeping other oracle instance shutdown.
    4. After Reboot Allocated 8GB to new EDR Instance
    5. Attempted allocating less memory 2GB to new EDR instance
    6. Early this morning we also tried omitting backup scheduling as part of configuration for DBCA
    for that instance.
    Each time we received error in DBCA GUI during DB Creation at 2% completion
    ORA-27102: out of memory
    oraclehome\product\10.2.0\db_1\cfgtoollogs\dbca\EDR
    (cloneRmanRestore.log) first set of file created. (along with a RmanRestoreDatafile.sql, which failed (see log below)
    then halted install/creation of DB
    ORA-27102: out of memory
    OSD-00025: additional error information
    O/S-Error: (OS 1453) Insufficient quota to complete the requested service.
    select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    O/S-Error: (OS 1453) Insufficient quota to complete the requested service.
    select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information

    After much effort it was discovered it was a setting during the installation of a parameter which caused this error. Using the TEMPLATE to create a new instance, you can setup parameters
    LOCK_SGA = TRUE
    causes this error. In addition if in our situation, even if we did not use the "template" created a barebones DB instance. Once the parameter is updated in SQL*Plus it will cause the datbase to be in a in operable state.
    You can start it up with a PFILE to fix it, In windows it required modifying the registry to FORCE the PFILE to load, by running on the commandline to use the PFILE it failed.
    Hope this helps someone in the future..
    ON WINDOWS DONT USE
    LOCK_SGA = TRUE
    It may work fine for Unix/LINUX OS? But in our current config it had problems.

  • Crystal 10 server to bo xi 3.1 not all instances

    I have used the import wizard to pull the reports across into BO XI 3.1 on server 2003. I get the reports and folders but not all the existing instances of the reports. There are 480 + reports and alot of instances all of which are needed.
    Has any one done this migration and get all the historic instances?

    If you use the import wizard to bring in the reports, there is an option when you get to the 'Folders and objects' selection tool.  Right below the 'Select All' and 'Clear All' buttons, there is a checkbox which states 'Import all instances of each selected object'.  This should select all of the instances for the objects selected. One thing to note:  It will not import instances that failed to run.  You can check the log after the import to see what failed and why after the import.  This should give you an idea of what you may have to do on your XI 3.1 environment in order to capture the instances desired.

  • Listener not listening instance

    hi,
    I am strange why listener is not listening instance
    listener and instance are up
    anyone could help me??
    I can give you more details as you need
    [oracle@fsze88linux ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 19-DEC-2009 18:03:35
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date                19-DEC-2009 17:52:08
    Uptime                    0 days 0 hr. 11 min. 27 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/fsze88linux/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    Services Summary...
    Service "test123" has 1 instance(s).
      Instance "test123", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@fsze88linux ~]$
    [oracle@fsze88linux ~]$ export ORACLE_SID=test123
    [oracle@fsze88linux ~]$ sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Sat Dec 19 18:06:42 2009
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> select instance_name, version, host_name, status
    , database_status, to_char(startup_time,'DD-MON-YYYY HH:MI:SS') strtd
    from v$instance;  2    3 
    INSTANCE VERSION    HOSTNAME         STATUS      DATABASE_STATUS   STARTED
    test123  11.1.0.6.0 fsze88linux.wor OPEN      ACTIVE         19-12?-2009 06:09:47
                  kgroup

    Paul M. ,
    I feel this question is still not solved.
    content of listener.ora
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = test123)
          (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
          (SID_NAME = test123)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
      )tnsnames.ora
    TEST123 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = SHARED)
          (SERVICE_NAME = test123)
      )yes, I can login that database test123. But lsnrctl status is UNKOWN.
    [oracle@fsze88linux ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 19-DEC-2009 23:14:15
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date                19-DEC-2009 23:11:54
    Uptime                    0 days 0 hr. 2 min. 21 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/fsze88linux/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    Services Summary...
    Service "test123" has 1 instance(s).
      Instance "test123", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfullyis that cause of static pointing to that instance test123?
    But why dynamic pointing is not work....
    I feel very confused....
    help help....

  • UnsupportedOperationException: list is not an instance of RidList or Readon

    Hi,
    when i want to delete a document in km, i get following error message. we are on nw04 sps 14 patch 4.
    [code]
    #1.5#BEAF00007002001500000000000B502600041AA5A60A8EBE#1155198664478#com.sapportals.wcm.WcmException#sap.com/irj#com.sapportals.wcm.WcmException.WcmException(118)#YI00468#42151##p51_IFT_448115950#YI00468#53ae9120284711db9d3ebeaf00007002#SAPEngine_Application_Thread[impl:3]_10##0#0#Error##Plain###list is not an instance of RidList or ReadonlyRidList java.lang.UnsupportedOperationException: list is not an instance of RidList or ReadonlyRidList
         at com.sapportals.wcm.util.uri.ReadonlyRidList.<init>(ReadonlyRidList.java:53)
         at com.sapportals.wcm.repository.ResourceImpl.delete(ResourceImpl.java:1755)
         at com.sapportals.wcm.command.DeleteResourceCommand.executeResourceImpl(DeleteResourceCommand.java:28)
         at com.sapportals.wcm.command.ResourceCommand.executeImpl(ResourceCommand.java:78)
         at com.sapportals.wcm.command.Command.execute(Command.java(Compiled Code))
         at com.sapportals.wcm.rendering.uicommand.cm.UIDeleteWithScreenflowCommand.execute(UIDeleteWithScreenflowCommand.java:121)
         at com.sapportals.wcm.rendering.uicommand.cm.UIDeleteWithScreenflowCommand.execute(UIDeleteWithScreenflowCommand.java:153)
         at com.sapportals.wcm.rendering.control.cm.OneStepControl.onClick(OneStepControl.java:69)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sapportals.wdf.stack.Control.dispatchHtmlbEvent(Control.java:386)
         at com.sapportals.wdf.WdfEventDispatcher.dispatch(WdfEventDispatcher.java:175)
         at com.sapportals.wdf.WdfCompositeController.onWdfEvent(WdfCompositeController.java:538)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sapportals.htmlb.page.DynPage.doProcessCompositeEvent(DynPage.java:204)
         at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:142)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
         at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:73)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java(Compiled Code))
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java(Compiled Code))
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java(Compiled Code))
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java(Compiled Code))
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java(Compiled Code))
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java(Compiled Code))
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java(Compiled Code))
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java(Compiled Code))
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java(Compiled Code))
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java(Compiled Code))
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    [/code]
    Can anybody help me?
    Regards,
    Gerhard

    Hi Gerhard,
    it's a bug in class com.sapportals.wcm.util.uri.ReadonlyRidList in the constructor at line 53.
    It is fixed at least with SP15.
    Best regrads,
    Michael

  • Solution to: javax.naming.AuthenticationException.  Root exception is java.lang.SecurityException: attempting to add an object which is not an instance of java.security.Principal to a Subject's Principal Set

    Hello world,
    To anybody who receives this irritating error in a Java client
    application attempting to access Weblogic Server 6.1 (and possibly
    weblogic server 6):
    javax.naming.AuthenticationException. Root exception is
    java.lang.SecurityException: attempting to add an object which is not
    an instance of java.security.Principal to a Subject's Principal Set
    The cause of your problem is having JAAS explicitly in your classpath.
    It somehow messes up authentication to WebLogic. Remove it and your
    problem will disappear.
    The complete exception was:
    javax.naming.AuthenticationException. Root exception is
    java.lang.SecurityException: attempting to add an object which is not
    an instance of java.security.Principal to a Subject's Principal Set
         at javax.security.auth.Subject$SecureSet.add(Subject.java:1098)
         at weblogic.common.internal.BootServicesStub.writeUserInfoToSubject(BootServicesStub.java:72)
         at weblogic.common.internal.BootServicesStub.authenticate(BootServicesStub.java:80)
         at weblogic.security.acl.internal.Security.authenticate(Security.java:108)
         at weblogic.jndi.WLInitialContextFactoryDelegate.pushUser(WLInitialContextFactoryDelegate.java:509)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:364)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:336)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:208)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
         at javax.naming.InitialContext.init(InitialContext.java:222)
         at javax.naming.InitialContext.<init>(InitialContext.java:198)
         at au.com.orrcon.orrconcentral.Application.<init>(Application.java:87)
         at au.com.orrcon.orrconcentral.Application.getApp(Application.java:52)
         at au.com.orrcon.orrconcentral.orrconCentral.<init>(orrconCentral.java:130)
         at au.com.orrcon.orrconcentral.orrconCentral.main(orrconCentral.java:219)

    Steve Wesemeyer <[email protected]> wrote:
    I have encountered the same problem and I do not have JAAS on my classpath
    at all (unless it's there by default). Are there any other possible
    causes for this?
    Cheers,
    SteveA note to all who read this thread:
    I also had to remove Sun's j2ee (version 1.2) from my client's classpath before
    the same problem went away. 1 programmer day down the drain....
    Regards,
    MG

  • Jaas sample progrma in weblogic 6.1 giving the following error java.lang.SecurityException: attempting to add an object which is not an instance of java.security.Principal to a Subjec

    jaas sample progrma in weblogic 6.1 giving the following error java.lang.SecurityException:
    attempting to add an object which is not an instance of java.security.Principal
    to a Subjec
    on runnig the program during the call of method Authenticate.authenticate(env,
    subject); giving following exceptions Error: Login Exception on authenticate,
    java.lang.SecurityException: attempting to add an object which is not an instance
    of java.security.Principal to a Subjec t's Principal Set Authentication Failed:
    Unexpected Exception, javax.security.auth.login.LoginExce ption: java.lang.SecurityException:
    attempting to add an object which is not an instance of java.security.Principal
    to a Subject's Principal Set javax.security.auth.login.LoginException: javax.security.auth.login.LoginExcepti
    on: java.lang.SecurityException: attempting to add an object which is not an ins
    tance of java.security.Principal to a Subject's Principal Set at examples.security.jaas.SampleLoginModule.login(SampleLoginModule.java
    :192) at java.lang.reflect.Method.invoke(Native Method) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:595)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:1 25) at
    javax.security.auth.login.LoginContext$3.run(LoginContext.java:531) at java.security.AccessController.doPrivileged(Native
    Method) at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java
    :528) at javax.security.auth.login.LoginContext.login(LoginContext.java:449) at
    examples.security.jaas.SampleClient.main(SampleClient.java:96)
    1)what is the reason for this problem
    2)in weblogic document they told to edit server.policy file in webligic\lib folder
    a)what the modification is needed in this file..?

    Hi jerry
    i already got that problem solved by removing jaas.jar file
    from class path.
    i don'nt how it is working with out in classpath...?
    Jerry <[email protected]> wrote:
    Hi Nivas,
    I think that the problem you are seeing has something to do with the
    placement of jaas.jar in your classpath
    On WebLogic server, put jaas.jar in the classpath after weblogic.jar.
    I would bet that you have it placed before weblogic.jar right now.
    I don't think the exception that you're seeing right now has anything
    to do with your weblogic.policy file right now, so I think it is
    safe to not worry about it right now.
    Hope this helps,
    Joe Jerry

  • Java.lang.IllegalArgumentException: object is not an instance of declaring

    Hi,
    I have deployed my web project(Jdev 11g) on JBoss 5GA and successful. My project use JDBC connection to Oracle Database 10g and run OK.
    But I have 1 issue. My issue: While i click pages(all page used databinding get data from DB10g), JBoss log will appearance ERROR message:
    14:49:20,361 ERROR [STDERR] Jun 13, 2011 2:49:20 PM oracle.adf.share.ADFContext getNativeJdbcConnection
    INFO:
    java.lang.IllegalArgumentException: object is not an instance of declaring class
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.adf.share.ADFContext.getNativeJdbcConnection(ADFContext.java:1701)
    at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:990)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1165)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6728)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:300)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:331)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:576)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:419)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8933)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4496)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2458)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2270)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3168)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:516)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:862)
    at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:483)
    at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)
    at oracle.adf.model.BindingContext.put(BindingContext.java:1300)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:174)
    at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1024)
    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1282)
    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1186)
    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1146)
    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1149)
    at oracle.adf.model.BindingContext.get(BindingContext.java:1102)
    at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
    at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
    at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2708)
    at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2756)
    at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:328)
    at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1460)
    at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1590)
    at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2470)
    at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2414)
    at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4313)
    at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:341)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.isAttributeUpdateable(JUCtrlValueBinding.java:1638)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.isAttributeUpdateable(JUCtrlValueBinding.java:1745)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.isUpdateable(JUCtrlValueBinding.java:2600)
    at oracle.adfinternal.view.faces.model.AdfELResolver._isReadOnly(AdfELResolver.java:96)
    at oracle.adfinternal.view.faces.model.AdfELResolver.isReadOnly(AdfELResolver.java:112)
    at javax.el.CompositeELResolver.isReadOnly(CompositeELResolver.java:81)
    at com.sun.faces.el.FacesCompositeELResolver.isReadOnly(FacesCompositeELResolver.java:113)
    at org.apache.el.parser.AstValue.isReadOnly(AstValue.java:128)
    at org.apache.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:224)
    at org.apache.jasper.el.JspValueExpression.isReadOnly(JspValueExpression.java:71)
    at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
    at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
    at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:117)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:334)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:946)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:1015)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.access$100(PanelFormLayoutRenderer.java:46)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1491)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1410)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:352)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:187)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:946)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:405)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:654)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:573)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
    at o
    14:49:20,364 ERROR [STDERR] rg.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:330)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:946)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:415)
    at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:946)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:415)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1181)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:946)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:273)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:204)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:777)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:293)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:213)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:680)
    I don't know why this Error message appearance? Although my project run OK!
    I don't want ERROR message appearance in JBoss log. Please help me?

    You need to pass the Human object on which you intend to call that method on to invoke().
    Trying to call an instance method without an instance won't work even with reflection.

  • Clustered timers object is not an instance of declaring class

    WLS 12.1.3 installation, one cluster of two managed servers.
    An enterprise application contains 3 EJB timers. Timers are clustered and persisted to DB (table WEBLOGIC_TIMERS).
    The application is written for JEE version 5 and timers are coded according rto EJB3.0 spec.
    Each time ejbTimeout() triggers for one of the timers, the following exception is logged
    <Error> <EJB> <SRVAW00> <clusterServer_1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-002F16F44C0F7F98CBA5> <> <1426609941352> <BEA-011088> <The following error occurred while invoking the ejbTimeout(javax.ejb.Timer) method of EJB MyBean(Application: MyClusteredApp, EJBComponent: LucyStarEJB.jar).
    javax.ejb.EJBTransactionRolledbackException: EJB Exception:
         at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:452)
         at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:251)
         at weblogic.ejb.container.internal.BaseLocalObject.postInvoke(BaseLocalObject.java:431)
         at weblogic.ejb.container.internal.TimerDrivenLocalObject.postInvoke(TimerDrivenLocalObject.java:44)
         at weblogic.ejb.container.timer.TimerHandlerImpl$TimerObject.execute(TimerHandlerImpl.java:131)
         at weblogic.ejb.container.timer.TimerHandlerImpl.executeTimer(TimerHandlerImpl.java:45)
         at weblogic.ejb.container.timer.ClusteredTimerImpl.timerExpired(ClusteredTimerImpl.java:95)
         at weblogic.scheduler.ejb.internal.EJBListenerWrapper.executeTimer(EJBListenerWrapper.java:59)
         at weblogic.scheduler.ejb.internal.EJBListenerWrapper.timerExpired(EJBListenerWrapper.java:50)
         at weblogic.scheduler.TimerState$1$2.run(TimerState.java:200)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.scheduler.TimerState$1.run(TimerState.java:197)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
    Caused By: java.lang.IllegalArgumentException: object is not an instance of declaring class
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:606)
         at weblogic.ejb.container.timer.TimerHandlerImpl$TimerObject.execute(TimerHandlerImpl.java:118)
         at weblogic.ejb.container.timer.TimerHandlerImpl.executeTimer(TimerHandlerImpl.java:45)
         at weblogic.ejb.container.timer.ClusteredTimerImpl.timerExpired(ClusteredTimerImpl.java:95)
         at weblogic.scheduler.ejb.internal.EJBListenerWrapper.executeTimer(EJBListenerWrapper.java:59)
         at weblogic.scheduler.ejb.internal.EJBListenerWrapper.timerExpired(EJBListenerWrapper.java:50)
         at weblogic.scheduler.TimerState$1$2.run(TimerState.java:200)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.scheduler.TimerState$1.run(TimerState.java:197)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
    Alternatively, the stack trace is slightly different:
    <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-012838E30163E6919A1F> <> <1426809856301> <BEA-011088> <The following error occurred while invoking the ejbTimeout(javax.ejb.Timer) method of EJB MyServicesBean(Application: MyAppClustered, EJBComponent: MyEJB.jar).
    javax.ejb.EJBTransactionRolledbackException: EJB Exception:
        at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:452)
        at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:251)
        at weblogic.ejb.container.internal.BaseLocalObject.postInvoke(BaseLocalObject.java:431)
        at weblogic.ejb.container.internal.TimerDrivenLocalObject.postInvoke(TimerDrivenLocalObject.java:44)
        at weblogic.ejb.container.timer.TimerHandlerImpl$TimerObject.execute(TimerHandlerImpl.java:131)
        at weblogic.ejb.container.timer.TimerHandlerImpl.executeTimer(TimerHandlerImpl.java:45)
        at weblogic.ejb.container.timer.ClusteredTimerImpl.timerExpired(ClusteredTimerImpl.java:95)
        at weblogic.scheduler.ejb.internal.EJBListenerWrapper.executeTimer(EJBListenerWrapper.java:59)
        at weblogic.scheduler.ejb.internal.EJBListenerWrapper.timerExpired(EJBListenerWrapper.java:50)
        at weblogic.scheduler.TimerState$1$2.run(TimerState.java:200)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
        at weblogic.scheduler.TimerState$1.run(TimerState.java:197)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
    Caused By: java.lang.IllegalArgumentException: java.lang.ClassCastException@402f37c8
        at sun.reflect.GeneratedMethodAccessor225.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at weblogic.ejb.container.timer.TimerHandlerImpl$TimerObject.execute(TimerHandlerImpl.java:118)
        at weblogic.ejb.container.timer.TimerHandlerImpl.executeTimer(TimerHandlerImpl.java:45)
        at weblogic.ejb.container.timer.ClusteredTimerImpl.timerExpired(ClusteredTimerImpl.java:95)
        at weblogic.scheduler.ejb.internal.EJBListenerWrapper.executeTimer(EJBListenerWrapper.java:59)
        at weblogic.scheduler.ejb.internal.EJBListenerWrapper.timerExpired(EJBListenerWrapper.java:50)
        at weblogic.scheduler.TimerState$1$2.run(TimerState.java:200)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
        at weblogic.scheduler.TimerState$1.run(TimerState.java:197)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
    It seems that this exception is not enough to stop timer schedulation, because it goes on and on. In some way, therefore, WLS keeps track of the timer recurring expirations. On the other hand, my code in ejbTimeout() is never executed.
    What is causing these exceptions ? The stack trace is fully in WLS internal code.
    Thanks

    Indeed, the AbstractPageBean is a JSF managed bean. What does it mean to me?
    I want to add some Information:
    If I build a 'helper' class, with the following body, the same error is thrown:
    public class EJBTestHelper {
        private EJBTestRemote lookupEJBTestBean() {
                try {
                    Context c = new InitialContext();
                    return (EJBTestRemote) c.lookup("java:comp/env/ejb/EJBTestBean");
                } catch (NamingException ne) {
                    throw new RuntimeException(ne);
    }What can I do?

  • IllegalArgumentException: object is not an instance of declaring class

    Hi all,
    I know that this is the not exact forum to post this issue.
    I'm working on a clustered environment and my server details are given below
    a) jboss-4.0.2
    b) J2SDK-1.4.2_09
    In my jboss.xml file, I have defined
           <session>
                <ejb-name>ExampleSLBean</ejb-name>
                <jndi-name>ExampleSLHome</jndi-name>
                <cache-invalidation>true</cache-invalidation>
                <clustered>true</clustered>
           </session>And in my servlet i have written below code to lookup up a Stateless Session bean
    Hashtable hashtable = new Hashtable();
    hashtable.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
    hashtable.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces");
    hashtable.put(Context.PROVIDER_URL, "localhost:1100");
    Context context = new InitialContext(hashtable);            
    Object objectRef = context.lookup("ExampleSLHome");
    System.out.println("objectRef ::: "+objectRef)
    ExampleSLHome home = (ExampleSLHome) PortableRemoteObject.narrow(objectRef, ExampleSLHome.class);after the context.lookup("ExampleSLHome") statement, I'm getting the error as
    java.lang.IllegalArgumentException: object is not an instance of declaring class.
    I'm not able to find the possible cause of the problem.
    Please help me
    thanks
    arvind

    Try this:
    Class objCls = Class.forName ("ClassName");
    Object obj = objCls.newInstance();
    method.invoke(objCls , null);
    This will throw an exception. However, following will work:
    method.invoke(obj , null);
    OR
    method.invoke(new ClassName(), null);
    Refer to the following thread for detailed discussion:
    http://forum.java.sun.com/thread.jspa?threadID=439811&messageID=1980996

  • Could not start instance 'JC00' of SAP system SUN.

    error in installation of Netweaver 2004 SP1 on AIX. Please Help.  
    ERROR 2007-03-29 00:29:28
    CJS-20022  Could not start instance 'JC00' of SAP system SUN.
    Contains of sapinst.log =>
    00:29:20 29.03.2007   LOG: Effective User Id is root
    This is Saposcol Version COLL 20.87 640 - AIX v4.20 5L-64 bit 040309
    Usage:  saposcol -l: Start OS Collector
            saposcol -k: Stop  OS Collector
            saposcol -d: OS Collector Dialog Mode
            saposcol -s: OS Collector Status
    Starting collector (create new process)
    could not move /usr/sap/tmp/dev_coll to /usr/sap/tmp/dev_coll.old
    saposcol on host ctsaix02 started
    Running /usr/sap/SUN/SYS/exe/run/startj2eedb
    Trying to start database ...
    Log file: /home/sunadm/startj2eedb.log
    /usr/sap/SUN/SYS/exe/run/startj2eedb[113]: dbmcli:  not found.
    /usr/sap/SUN/SYS/exe/run/startj2eedb[116]: dbmcli:  not found.
    Wrong or unsupported SAP DB software installation
    DB startup failed
    ERROR 2007-03-29 00:29:28
    CJS-20022  Could not start instance 'JC00' of SAP system SUN.
    /home/sunadm/startj2eedb.log=>
    Thu Mar 29 10:34:28 CST 2007
    LOGFILE FOR STARTING DATABASE
    Trying to start database ...
    Thu Mar 29 10:34:28 CST 2007
    Checking required environment variables
    SAPSYSTEMNAME is >SUN<
    Start database with xuserkey >c_J2EE<
    Thu Mar 29 10:34:28 CST 2007
    Connect to the database to check the database state
    dbmcli: connect check finished with return code: 0
    Database not available
    Thu Mar 29 10:34:28 CST 2007
    Starting XServer
    Wrong or unsupported SAP DB software installation
    ~
    Message was edited by:
            login
    Message was edited by:
            login

    /local/install_sap=>
    start_SUN_JC00.log=>
    Starting SAP-Collector Daemon
    10:55:42 29.03.2007   LOG: Effective User Id is root
    This is Saposcol Version COLL 20.87 640 - AIX v4.20 5L-64 bit 040309
    Usage:  saposcol -l: Start OS Collector
            saposcol -k: Stop  OS Collector
            saposcol -d: OS Collector Dialog Mode
            saposcol -s: OS Collector Status
    The OS Collector (PID 401408) is already running .....
    saposcol already running
    Running /usr/sap/SUN/SYS/exe/run/startj2eedb
    Trying to start database ...
    Log file: /home/sunadm/startj2eedb.log
    /usr/sap/SUN/SYS/exe/run/startj2eedb[113]: dbmcli:  not found.
    /usr/sap/SUN/SYS/exe/run/startj2eedb[116]: dbmcli:  not found.
    Wrong or unsupported SAP DB software installation
    DB startup failed

  • Could not start instance on J2EE engine

    Could someone tell me what could be the issue from this install error. It is NetWeaver04 Java system install on a standalone server. Actually i selected the NetWeaver->JavaSystem->Standalone->custom install. I installed oracle 9i database as well as part of the install and i did not understand what it is pointing ABAP database is not available from these message. Can someone educate me and identify my error.
    INFO       2006-10-19 09:46:03
               CJSlibModule::writeInfo_impl()
    Output of /usr/sap/SDN/SYS/exe/run/startsap 'all' 'JC09' 'n1aa1' is written to the logfile start_SDN_JC09.log.
    WARNING    2006-10-19 09:46:37
               CJSlibModule::writeWarning_impl()
    Execution of the command "/usr/sap/SDN/SYS/exe/run/startsap 'all' 'JC09' 'n1aa1'" finished with return code 5. Output:
    Checking SDN Database
    ABAP Database is not available via R3trans
    Checking SDN Database
    Starting SAP-Collector Daemon
    09:46:06 19.10.2006   LOG: Effective User Id is root
    This is Saposcol Version COLL 20.87 640 - V3.50 64Bit
    Usage:  saposcol -l: Start OS Collector
            saposcol -k: Stop  OS Collector
            saposcol -d: OS Collector Dialog Mode
            saposcol -s: OS Collector Status
    The OS Collector (PID 7301) is already running .....
    saposcol already running
    Running /usr/sap/SDN/SYS/exe/run/startj2eedb
    Trying to start SDN database ...
    Log file: /export/home/sdnadm/startdb.log
    /usr/sap/SDN/SYS/exe/run/startj2eedb completed successfully
    Starting SAP Instance JC09
    Startup-Log is written to /export/home/sdnadm/startsap_JC09.log
    Startup of Instance failed
    See /export/home/sdnadm/startsap_JC09.log for details
    ERROR      2006-10-19 09:46:37
               CJSlibModule::writeError_impl()
    CJS-20022  Could not start instance 'JC09' of SAP system SDN.
    Thanks,
    Ram

    Hello Eric,
    Thank you for quick response. Here is the log.
    cat /export/home/sdnadm/startsap_JC09.log
    Trace of system startup/check of SAP System SDN on Thu Oct 19 11:29:57 PDT 2006
    Called command: /usr/sap/SDN/SYS/exe/run/startsap
    Starting SAP Instance JC09
    SAP-R/3-Startup Program Rel 640 V1.8 (2003/04/24)
    Starting at 2006/10/19 11:29:57
    Startup Profile: "/usr/sap/SDN/SYS/profile/START_JC09_jhos1"
    (13395) SETENV LD_LIBRARY_PATH=/usr/sap/SDN/JC09/j2ee/os_libs:/usr/sap/SDN/SYS/exe/run:/usr/sap/SDN/SYS/exe/run:/usr/sap/SDN/SYS/exe/run:/tmp/sapinst_exe.11094.1161276232
    Setup Environment Variables
    (13395) SETENV SHLIB_PATH=/usr/sap/SDN/JC09/j2ee/os_libs:
    (13395) SETENV LIBPATH=/usr/sap/SDN/JC09/j2ee/os_libs:
    Execute Pre-Startup Commands
    (13395) Local: rm -f jc.sapSDN_JC09
    (13395) Local: ln -s -f /usr/sap/SDN/JC09/j2ee/os_libs/jcontrol jc.sapSDN_JC09
    Starting Programs
    (13400) Starting: local jc.sapSDN_JC09 pf=/usr/sap/SDN/SYS/profile/SDN_JC09_jhost1
    (13395) Waiting for Child Processes to terminate.
    (13395) **** 2006/10/19 11:29:58 Child 13400 terminated with Status 0 . ****
    (13395) **** No more Child Processes to wait for.
    (13395) Parent Shutdown at 2006/10/19 11:29:58
    Execute Post-Shutdown Commands
    (13395) Exiting with Return-Code 3. (No more child processes)
    Startup of Instance failed
    Thanks,
    Ram

  • LCA is not an instance with type liveCache

    Dear collogues!
    According to "SAP NetWeaver 2004s SR1Standalone Engine  SAP liveCache Technology: UNIX" after installation of MaxDB aka LiveCache (from LifeCache CD)
    It should be done several post installation steps which also involve executing report
    "SLCA_NON_LC_RELEVANT_CLIENT" (in this report we must select productive client and choose "LiveCache relevant" radio button???) Ok. At last, step #14: initializing the liveCache instance LCA, which include Enter LCA in the Name of database connection field and Choose liveCache: Monitoring. When I push this button (LiveCache: Monitoring) system outputs "LCA is not an instance with type liveCache" What has been missed?
    Please help!

    Hi Ivan,
    while creating the instance using DBGUI its showing the error like :24785 the operating system user not a member of database administrator group.
    so plz help me to resolve this issue as soon as possible
    Thanks
    R@J

  • Process instance is not an instance of an atomic process

    hi all,
    getting this error in the log. I can't seem to find anything that has this key. I am assuming it is some tables orc key.
    Process instance with key '1392425' is not an instance of an atomic process.
    Here is the whole line
    20101206 03:00:34,261 ERROR [ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.APIS - Class/Method: tcFormInstanceOperationsBean/getProcessFormVersion encounter some problems: Process instance with key '1392425' is not an instance of an atomic process.
    Thanx
    Fred

    We get loads of these, let me know if you find a solution.

  • Could not start instance service of Instance - Solman 7.1 & Sybase

    Dear All,
    Greetings!!
    We are in the process of installing Solman 7.1 with Sybase ASE 15.7 on SUSE Linux 11 SP03. During phase 50 we are getting an error like "Could not start instance service of Instance". I have attached the Error and the Inst_Dev.log screenshot for your reference.
    Please help us with some suggestion or solution at the earliest.
    Thanks,
    Ela

    Hi Chatur,
    Thanks for your reply. The issue had been resolved.
    Yes, /usr/sap/ASM/ASCS/exe was empty actually & we copied the Kernel files to this directory & retired again & its working fine now.
    Thanks again.
    Regards,
    Ela

Maybe you are looking for

  • Slow start up

    my computer has been slow to boot so I decided to reach to some of the pros out there and try finding out  what is going on. I noticed a lot of redundancies and repeating of what seems to be errors in the report from CONSOLE - see below. Can anyone h

  • Devices Can't Find Airprinter when Macbook is asleep?

    Hello all, I have a printer connected and airprint enabled on my airport express. The main computer on my network (The one which I set up all my airport devices) is a macbook. When the macbook is up and running, all my other ipods, ipads, pcs, macs c

  • Projector compatability?

    hi all, i'm interested in a toshiba projector (costs around £230) but wasn't sure if it is compatible with the mac. I emailed toshiba and this is what they said; "thank you very much for you inquiry via e-mail. In general, the TDP-S8 supports any SVG

  • I "allowed" Java Deployment Toolkit, it made me upgrade java, and now there are ads everywhere

    I was doing homework on masteringgenetics and there was this box in the top left hand corner that said to allow java deployment toolkit because some of the content on the website needed it so I clicked "always allow". This then took me to java's webs

  • Windows 7 upgrade **Language and Shipping"

    I am a citizen of Canada, and i have bought a laptop in Taiwan this past week, i was wondering for the free windows 7 upgrade, which location i should chose upon signing up in the windows 7 offers page, and whether I can get it shipped to canada rath