Cannot narrow object??

Hi,
I previously had the following fragment of code inside a servlet (which worked fine):
Context ctx = new InitialContext();
BeanEJB beanEJB = null;
BeanEJBHome beanHome = null;
Object obj = ctx.lookup("ejb/BeanEJB");
beanHome = (BeanEJBHome ) PortableRemoteObject.narrow(obj, BeanEJBHome.class);However, I moved the above code to the run() method of a new thread I created and now the PortableRemoteObject.narrow() call throws a ClassCastException.
Can anyone help?
Thank you!

alexandre cuenca <> writes:
Do you have A's client jar in B's package? You might need this unless
they are in the same ear. Otherwise it looks like a classloding bug.
andy
Hello,
<br><br>
My application is composed of 2 different package A and B. All deployed in the same server.<br>
- A implements EJBA<br>
- B implements EJBB<br>
EJBA is registred in the JNDI tree as ejb.a<br><br>
When EJBB runs these line of code :<br>
Object obj = context.lookup("ejb.a");<br>
System.out.println("ref:" + obj); // ref : com.coface.util.ejb.tools_<b>cvb9yr</b>_HomeImpl@a64642<br>
AHome home = (AHome) PortableRemoteObject.narrow(obj, AHome.class);<br>
Narrow raises :<br>
java.lang.ClassCastException: Cannot narrow remote object to AHome
at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:242)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
<br><br><br>
I have no idea what can be wrong and how I can debug this kind of exception.<br>
I just noticed this odd "cvb9yr" in the looked up instance class. Thought I am not sure how this name is generated.<br>
Anyone could help me to track down the cause of this exception?<br><br>
Thanks<br>
<br>
Alexandre
Message was edited by:
acuenca--

Similar Messages

  • Exception: Cannot narrow remote object to ...

    Hi,
              in certain circumstances I get an Exception "Cannot narrow remote
              object to <some EJB-Home-Class>".
              My enviroment: weblogic 7.0, solaris, Java 1.3.1, J2EE-application
              (EJBs, Servlets, Database)
              In the init method of an start-up servlet I spawn some threads for a
              scheduler of the application. There are a scheduler core and some
              worker classes.
              The start-up servlet, all the other servlets and the schedulers
              classes are in an web-archive (war-file) in an ear-archiv. Furthermore
              there a some 3rd party archives in the ear-archive, a jndi.properties
              file etc. The manifest file of the war-archive contains a class-path,
              points to the 3rd party archives in the ear-archive.
              The schedulers workers code is simple:
              InitialContext jndiContext = ...getInitialContext();
              Object obj = jndiContext.lookup(<some EJB>);
              - EJBs home interface (for example):
              SyncOrderQueueHome home = (SyncOrderQueueHome)
              javax.rmi.PortableRemoteObject.narrow(obj,
              SyncOrderQueueHome.class);
              - EJBs remote interface:SyncOrderQueue sync = home.create();
              - call some business method
              sync.createOrderQueue();
              In the enviroment described above I get an " Exception: Cannot narrow
              remote object to <package>.SyncOrderQueueHome".
              On the other hand the scheduler and all the workers work fine as a
              standalone application (not in an app-server context) and in Oracles
              app-server (OC4J, v.9.0.3).
              I tried to understand, what for an object I get as the result of the
              JNDI lookup bevore the narrow method fails:
              - in the app-servers context:
              <package>.SyncOrderQueueEJB_4o6qkf_HomeImpl
              - outside the app-server:
              <package>.SyncOrderQueueEJB_4o6qkf_HomeImpl_WLStub
              What happened here? The common servlets use the same functionality and
              work fine. Why I get different objects? Where is the bug?
              Any ideas?
              Thomas
              

    I believe the problem is the threads you are starting are not using the
              context classloader of the current thread.
              -- Rob
              [email protected] wrote:
              > Hi,
              >
              > in certain circumstances I get an Exception "Cannot narrow remote
              > object to <some EJB-Home-Class>".
              >
              > My enviroment: weblogic 7.0, solaris, Java 1.3.1, J2EE-application
              > (EJBs, Servlets, Database)
              >
              > In the init method of an start-up servlet I spawn some threads for a
              > scheduler of the application. There are a scheduler core and some
              > worker classes.
              > The start-up servlet, all the other servlets and the schedulers
              > classes are in an web-archive (war-file) in an ear-archiv. Furthermore
              > there a some 3rd party archives in the ear-archive, a jndi.properties
              > file etc. The manifest file of the war-archive contains a class-path,
              > points to the 3rd party archives in the ear-archive.
              >
              > The schedulers workers code is simple:
              >
              > InitialContext jndiContext = ...getInitialContext();
              > Object obj = jndiContext.lookup(<some EJB>);
              >
              > - EJBs home interface (for example):
              > SyncOrderQueueHome home = (SyncOrderQueueHome)
              > javax.rmi.PortableRemoteObject.narrow(obj,
              > SyncOrderQueueHome.class);
              >
              > - EJBs remote interface:SyncOrderQueue sync = home.create();
              >
              > - call some business method
              > sync.createOrderQueue();
              > In the enviroment described above I get an " Exception: Cannot narrow
              > remote object to <package>.SyncOrderQueueHome".
              >
              > On the other hand the scheduler and all the workers work fine as a
              > standalone application (not in an app-server context) and in Oracles
              > app-server (OC4J, v.9.0.3).
              >
              > I tried to understand, what for an object I get as the result of the
              > JNDI lookup bevore the narrow method fails:
              > - in the app-servers context:
              > <package>.SyncOrderQueueEJB_4o6qkf_HomeImpl
              > - outside the app-server:
              > <package>.SyncOrderQueueEJB_4o6qkf_HomeImpl_WLStub
              >
              > What happened here? The common servlets use the same functionality and
              > work fine. Why I get different objects? Where is the bug?
              >
              > Any ideas?
              > Thomas
              

  • Java.lang.ClassCastException: Cannot narrow remote object weblogic.rmi.inte

    Hi,
    I am trying to deploy ejb3.0 on weblogic 10 server. I am able to find the JNDI name of the stateless session bean correctly, but getting an exception while narrowing it down. My ejb3.0 client is a standalone java client. I am trying to access the stateless session ejb3.0 bean.Please help me. i have been trying it for many days.
    thanks in advance,
    Sanjeev
    [sanpraka@localhost certEjb]$ java -cp ./:/usr/weblogic/bea/wlserver_10.0/server/lib/weblogic.jar:/usr/weblogic/bea/wlserver_10.0/server/lib/wlclient.jar com.titan.clients.Client
    Object is weblogic.rmi.internal.BasicRemoteRef - hostID: '5337880647112897730S:127.0.0.1:[7001,7001,-1,-1,-1,-1,-1]:wl_server:examplesServer', oid: '302', channel: 'null'
    java.lang.ClassCastException: Cannot narrow remote object weblogic.rmi.internal.BasicRemoteRef - hostID: '5337880647112897730S:127.0.0.1:[7001,7001,-1,-1,-1,-1,-1]:wl_server:examplesServer', oid: '302', channel: 'null' to com.titan.travelagent.TravelAgentRemote
    at weblogic.corba.server.naming.ReferenceHelperImpl.narrow(ReferenceHelperImpl.java:206)
    at weblogic.rmi.extensions.PortableRemoteObject.narrow(PortableRemoteObject.java:88)
    at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:32)
    at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
    at com.titan.clients.Client.main(Client.java:24)
    [sanpraka@localhost certEjb]$

    We have a similar problem. We have a web application (on server A) that invokes an EJB on a remote server (server B). This works fine, until we deploy another web application to server A at which point the existing web application starts to throw java.lang.ClassCastException when narrowing the remote EJB interface. The exception starts to be thrown at the moment the latter web application is deployed - start is not required.
    The latter web application contains (actually in APP-INF/lib) the old version of the EJB remote interface, that somehow gets to be loaded into the classpath of the existing web application. The solution is to delete the old version of the EJB remote interface from APP-INF/lib of the latter web application (we didn't need it anyway), but it would be interesting to know in which circumstances classes can get mixed between enterprise applications.
    I failed to reproduce the error in simple scenario, so this does not happen always.

  • Cannot narrow remote object error?

    Hello,
    <br><br>
    My application is composed of 2 different package A and B. All deployed in the same server.<br>
    - A implements EJBA<br>
    - B implements EJBB<br>
    EJBA is registred in the JNDI tree as ejb.a<br><br>
    When EJBB runs these line of code :<br>
    Object obj = context.lookup("ejb.a");<br>
    System.out.println("ref:" + obj); // ref : com.coface.util.ejb.tools_<b>cvb9yr</b>_HomeImpl@a64642<br>
    AHome home = (AHome) PortableRemoteObject.narrow(obj, AHome.class);<br>
    Narrow raises :<br>
    java.lang.ClassCastException: Cannot narrow remote object to AHome
    at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:242)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
    <br><br><br>
    I have no idea what can be wrong and how I can debug this kind of exception.<br>
    I just noticed this odd "cvb9yr" in the looked up instance class. Thought I am not sure how this name is generated.<br>
    Anyone could help me to track down the cause of this exception?<br><br>
    Thanks<br>
    <br>
    Alexandre
    Message was edited by:
    acuenca

    alexandre cuenca <> writes:
    Do you have A's client jar in B's package? You might need this unless
    they are in the same ear. Otherwise it looks like a classloding bug.
    andy
    Hello,
    <br><br>
    My application is composed of 2 different package A and B. All deployed in the same server.<br>
    - A implements EJBA<br>
    - B implements EJBB<br>
    EJBA is registred in the JNDI tree as ejb.a<br><br>
    When EJBB runs these line of code :<br>
    Object obj = context.lookup("ejb.a");<br>
    System.out.println("ref:" + obj); // ref : com.coface.util.ejb.tools_<b>cvb9yr</b>_HomeImpl@a64642<br>
    AHome home = (AHome) PortableRemoteObject.narrow(obj, AHome.class);<br>
    Narrow raises :<br>
    java.lang.ClassCastException: Cannot narrow remote object to AHome
    at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:242)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
    <br><br><br>
    I have no idea what can be wrong and how I can debug this kind of exception.<br>
    I just noticed this odd "cvb9yr" in the looked up instance class. Thought I am not sure how this name is generated.<br>
    Anyone could help me to track down the cause of this exception?<br><br>
    Thanks<br>
    <br>
    Alexandre
    Message was edited by:
    acuenca--

  • Getting "Cannot Insert Object" message while attaching .pdf file to excel spreadsheet.

    While I am trying to attach an adobe (.pdf) file in excel spreadsheet I am getting message as “Cannot Insert Object”.
    I am following the below mentioned steps and getting message as “Cannot Insert Object”.
    Open the adobe (.pdf) file from IE browser.
    While saving the adobe file on local machine it gives warning as “This document does not allow you to save any changes you have made to it unless you are using Adobe Acrobat 9, Pro 9 or Pro Extended 9.  You will only be saving a copy of the original document.  Do you want to continue?” On pressing "OK" it successfully saves the file on my local machine.
    While I Tried to attach the saved adobe file in a spreadsheet of excel it gives message as “Cannot Insert Object”.
    Does any one have any thoughts at all as to how to solve this?

    Deepika,
    The alert dialog your screen shot depicts will only display if there is some kind of form annotation present in a PDF that is not "Reader Enabled".
    Look closer at your 'final' PDF.
    A PDF, not "Reader Enabled", that contains any form annotations will, when opened by Adobe Reader,
    result in the alert dialog that you mention. A "hard wired" default.
    Note that the forms document message bar can be "off" by a selection in Adobe Reader / Acrobat Preferences.
    Select the 'Forms' category. Select "Always hide forms document message bar".
    Be well...

  • Cannot insert object error using Power View in Excel 2013

    I created a short table in Excel 2013, positioned the cursor in the table and clicked Inset/Power View Report. I get a status window saying Excel is opening a Power View sheet but then I get a Power View error: Cannot Insert Object. I am able to insert new
    tabs in the workbook. When I try the insert again, I just get the Power View error. I looked at other threads with similar issues and did the following:
    Made the Formula bar visible - no change
    Tried to repair Office 2013 but that option is not available when I right click on the program in the Control Panel
    De-installed Silverlight - Tried to insert Power View Report. A Power View tab was created with the Power View picture and Power View ribbon. Got the message to install Silverlight and Reload. Installed Silverlight hit Reload and the Power View tab didn't
    change. Hit Power View Report and got the Cannot Insert Object error message again.
    Any help is appreciated.

    Hi,
    Did you use PowerView first time? I notice you had found a similar thread and tested the solutions.
    PowerView is an add-in in Excel2013, We must make sure that you check some option in the trust center and Add-in center.
    http://blogs.office.com/b/microsoft-excel/archive/2012/10/04/intro-to-power-view-for-excel-2013.aspx
    Location1: Excel Options>Add-in>Solver Add-in enable
    Location2: Excel Options> Trust Center> Add-in
    Then you said that you couldn’t repair the Excel 2013, please refer to the following link:
    http://office.microsoft.com/en-gb/outlook-help/repair-office-programs-HA010357402.aspx
    At last, we may test it in clean boot, please refer to the following link:
    http://support.microsoft.com/kb/929135
    Regards,
    George Zhao
    TechNet Community Support

  • Cannot Insert Object in Excel 2013

    I am having trouble inserting PDF's in Excel 2013. I go to Insert-->Object-->Create from File then browse to the PDF and select the checkbox for "Display as Icon." After doing this i get a generic error message that says "Cannot Insert Object." No other details.
    Specs:
    Windows 7 x64
    Office 2013 x64
    Adobe Reader X and XI. Tried them both.
    What I have tried:
    The most common answer I have found was to disable the enhanced security in the Adobe Reader preferences. This does not help.
    I also tried downgrading from Adobe Reader XI to Reader x, disabling enhanced security. That does not work either.
    I have found a workaround in Excel by going to Insert-->Package and doing it that way, but it does not show the Adobe Reader icon in the spreadsheet when it's done. If there's a way to use this method and still have the adobe icon that'd be great.
    I called Microsoft support and they think this is an Adobe issue, because I can insert other things via the create from file method, just not PDF's.
    Other notes:
    The Insert-->Object-->Create from File method works fine in Excel 2010 so I think that Adobe Reader doesn't do well with Excel 2013.
    I need the inserted PDF's in spreadsheets to look a certain way. They must have the Adobe Icon and I need to be able to change the text below the icon.
    Does anybody have any suggestions?

    Update:
    I uninstalled Adobe Reader and tried a different PDF reader and the insert in Excel works fine. I really would prefer to use Adobe though. This leads me to believe that maybe it's just a setting or something in Adobe reader. Any suggestions are greatly appreciated.

  • ODI-1228: ORA-22950: cannot ORDER objects without MAP or ORDER method

    Simple interface between two schemas in the same oracle database (10g)
    I am trying to copy one table and do one simple lookup (in a table located in 3rd schema on the same database)
    Integration task fails on
    ODI-1228: Task messagexml_document (Integration) fails on the target ORACLE connection S2_P1.
    Caused By: java.sql.SQLException: ORA-22950: cannot ORDER objects without MAP or ORDER method
    Can anybody tell me, what I am doing wrong? Code that generate this error is just a simple INSERT with SELECT and sub SELECT with JOIN?
    I just can't find anything about this error.
    I'm stuck :-(

    I discovered that one of my fields is an XMLType field and is a part of comparison ODI do when it tries to do incremental update. The error message here is just a message from db that it can't compare XMLType fields to each other.
    Is there any way to learn ODI to not to compare by XMLType field?

  • Cannot drop object?

    I am simply following the CBT nuggets fundamentals course and did the following:
    create sequence seq_int_by1
    INCREMENT BY 1 START WITH 1 MINVALUE 1;
    create sequence SEQ_testsequence
    increment by 100 start with 1000
    maxvalue 100000 minvalue 1000 cache 20;
    rename seq_testsequence to seq_junkme;
    drop sequence seq_junkme;
    Everything works except the last statement for which i get the following error:
    Error report:
    SQL Error: ORA-00604: error occurred at recursive SQL level 1
    ORA-20000: Cannot drop Object
    ORA-06512: at line 2
    00604. 00000 - "error occurred at recursive SQL level %s"
    *Cause:    An error occurred while processing a recursive SQL statement
    (a statement applying to internal dictionary tables).
    *Action:   If the situation described in the next error on the stack
    can be corrected, do so; otherwise contact Oracle Support.
    Any ideas why i cannot drop this sequence?
    Your help is greatly appreciated!

    what is your db version?
    I am able to do (below on 10g)
    test1> create sequence seq_int_by1
    INCREMENT BY 1 START WITH 1 MINVALUE 1;
    create sequence SEQ_testsequence
    increment by 100 start with 1000
    maxvalue 100000 minvalue 1000 cache 20;
    rename seq_testsequence to seq_junkme; 2
    Sequence created.
    Elapsed: 00:00:00.01
    test1> GEM@ZBKTST1> 2 3
    Sequence created.
    Elapsed: 00:00:00.01
    test1> drop sequence seq_junkme;
    Sequence dropped.
    Elapsed: 00:00:00.01
    Edited by: vlethakula on Feb 18, 2013 7:37 AM

  • ORABPE-31015: Cannot get Object part 'Responses'. No parts are set message

    Hi All,
    I facing an issue while sending a email notification.
    [default/NotificationsBPMProject!1.0*soa_d31bba5a-2fb8-406a-aba3-f338ad25ff87.BPM-NotificationService]:sendEmailNotification Performing outbound request/response interaction..
    [2012-07-11T06:37:43.089-07:00] [AdminServer] [ERROR] [] [oracle.soa.services.notification] [tid: orabpel.engine.pool-11.thread-30] [userId: <anonymous>] [ecid: 11d1def534ea1be0:-1867a3ef:138757942e8:-8000-0000000000004582,1:23774] [APP: soa-infra] <.> Error while sending notification.[[
    Error while sending notification to email.
    Check the underlying exception and fix it.
    ORABPEL-31015
    Error while sending notification.
    Error while sending notification to email.
    Check the underlying exception and fix it.
         at oracle.bpel.services.notification.NotificationService.sendEmailNotification(NotificationService.java:475)
         at oracle.bpel.services.notification.NotificationService.sendEmailNotification(NotificationService.java:447)
         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.integration.wsif.providers.java.WSIFOperation_Java.executeRequestResponseOperation(WSIFOperation_Java.java:1048)
         at oracle.integration.platform.blocks.wsif.WsifReference.request(WsifReference.java:636)
         at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
         at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:182)
         at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:154)
         at sun.reflect.GeneratedMethodAccessor4653.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy316.request(Unknown Source)
         at oracle.fabric.CubeServiceEngine.requestToMesh(CubeServiceEngine.java:777)
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:267)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke(InvokeHandler.java:1070)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:584)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:132)
         at oracle.bpm.bpmn.engine.model.runtime.microinstructions.MIInvoke.doExecute(MIInvoke.java:42)
         at oracle.bpm.bpmn.engine.microkernel.MIBase.execute(MIBase.java:34)
         at oracle.bpm.bpmn.engine.microkernel.MISequenceBlock.doExecute(MISequenceBlock.java:68)
         at oracle.bpm.bpmn.engine.microkernel.MIBase.execute(MIBase.java:34)
         at oracle.bpm.bpmn.engine.microkernel.MicroInstructionContext.callMicroInstruction(MicroInstructionContext.java:201)
         at oracle.bpm.bpmn.engine.microkernel.MICall.doExecute(MICall.java:38)
         at oracle.bpm.bpmn.engine.microkernel.MIBase.execute(MIBase.java:34)
         at oracle.bpm.bpmn.engine.microkernel.MISequenceBlock.doExecute(MISequenceBlock.java:68)
         at oracle.bpm.bpmn.engine.microkernel.MIBase.execute(MIBase.java:34)
         at oracle.bpm.bpmn.engine.microkernel.MicroInstructionContext.callMicroInstruction(MicroInstructionContext.java:201)
         at oracle.bpm.bpmn.engine.microkernel.MicroInstructionContext.callProcedure(MicroInstructionContext.java:208)
         at oracle.bpm.bpmn.engine.microkernel.MicroInstructionContext.executeProcedure(MicroInstructionContext.java:325)
         at oracle.bpm.bpmn.engine.model.runtime.MIBPMNActivityWMP.executeProcedure(MIBPMNActivityWMP.java:391)
         at oracle.bpm.bpmn.engine.model.runtime.MIBPMNActivityWMP.__executeStatements(MIBPMNActivityWMP.java:308)
         at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:166)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2687)
         at com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1190)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1093)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:76)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:218)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:297)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4609)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4540)
         at com.collaxa.cube.engine.CubeEngine._expireActivity(CubeEngine.java:1562)
         at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:1477)
         at com.collaxa.cube.ejb.impl.CubeActivityManagerBean.expireActivity(CubeActivityManagerBean.java:82)
         at com.collaxa.cube.ejb.impl.CubeActivityManagerBean.expireActivity(CubeActivityManagerBean.java:57)
         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 com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy413.expireActivity(Unknown Source)
         at oracle.bpm.bpmn.engine.ejb.impl.BPMNActivityManagerBean_eh2l9c_ICubeActivityManagerLocalBeanImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
         at oracle.bpm.bpmn.engine.ejb.impl.BPMNActivityManagerBean_eh2l9c_ICubeActivityManagerLocalBeanImpl.expireActivity(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.instance.ExpirationMessageHandler.handle(ExpirationMessageHandler.java:41)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:140)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:88)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:64)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at com.collaxa.cube.engine.dispatch.Dispatcher$ContextCapturingThreadFactory$2.run(Dispatcher.java:850)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/services/NotificationServiceBean in /app/ejb/oracle.bpm.runtime.bpmn-engine-ejb.jar#BPMNActivityManagerBean.; remaining name 'comp/env/ejb/services/NotificationServiceBean'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNamingNode.java:144)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:412)
         at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:45)
         at weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:130)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.bpel.services.notification.NotificationUtil.lookupLocalBean(NotificationUtil.java:577)
         at oracle.bpel.services.notification.NotificationService.sendEmailNotification(NotificationService.java:467)
         ... 84 more
    [2012-07-11T06:37:43.094-07:00] [AdminServer] [ERROR] [] [oracle.soa.wsif] [tid: orabpel.engine.pool-11.thread-30] [userId: <anonymous>] [ecid: 11d1def534ea1be0:-1867a3ef:138757942e8:-8000-0000000000004582,1:23774] [APP: soa-infra] WSIFBinding=> [default/NotificationsBPMProject!1.0*soa_d31bba5a-2fb8-406a-aba3-f338ad25ff87.BPM-NotificationService]:sendEmailNotification WSIF Exception occured. Please check stack trace Cannot get Object part 'Responses'. No parts are set on the message
    [2012-07-11T06:37:43.096-07:00] [AdminServer] [ERROR] [] [oracle.soa.bpmn.engine.ws] [tid: orabpel.engine.pool-11.thread-30] [userId: <anonymous>] [ecid: 11d1def534ea1be0:-1867a3ef:138757942e8:-8000-0000000000004582,1:23774] [APP: soa-infra] got RuntimeException[[
    oracle.fabric.common.FabricException: Cannot get Object part 'Responses'. No parts are set on the message
         at oracle.integration.platform.blocks.wsif.WsifReference.request(WsifReference.java:698)
         at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
         at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:182)
         at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:154)
         at sun.reflect.GeneratedMethodAccessor4653.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy316.request(Unknown Source)
         at oracle.fabric.CubeServiceEngine.requestToMesh(CubeServiceEngine.java:781)
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:267)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke(InvokeHandler.java:1070)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:584)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:132)
         at oracle.bpm.bpmn.engine.model.runtime.microinstructions.MIInvoke.doExecute(MIInvoke.java:44)
         at oracle.bpm.bpmn.engine.microkernel.MIBase.execute(MIBase.java:34)
         at oracle.bpm.bpmn.engine.microkernel.MISequenceBlock.doExecute(MISequenceBlock.java:68)
         at oracle.bpm.bpmn.engine.microkernel.MIBase.execute(MIBase.java:34)
         at oracle.bpm.bpmn.engine.microkernel.MicroInstructionContext.callMicroInstruction(MicroInstructionContext.java:201)
         at oracle.bpm.bpmn.engine.microkernel.MICall.doExecute(MICall.java:38)
         at oracle.bpm.bpmn.engine.microkernel.MIBase.execute(MIBase.java:34)
         at oracle.bpm.bpmn.engine.microkernel.MISequenceBlock.doExecute(MISequenceBlock.java:68)
         at oracle.bpm.bpmn.engine.microkernel.MIBase.execute(MIBase.java:34)
         at oracle.bpm.bpmn.engine.microkernel.MicroInstructionContext.callMicroInstruction(MicroInstructionContext.java:201)
         at oracle.bpm.bpmn.engine.microkernel.MicroInstructionContext.callProcedure(MicroInstructionContext.java:208)
         at oracle.bpm.bpmn.engine.microkernel.MicroInstructionContext.executeProcedure(MicroInstructionContext.java:325)
         at oracle.bpm.bpmn.engine.model.runtime.MIBPMNActivityWMP.executeProcedure(MIBPMNActivityWMP.java:391)
         at oracle.bpm.bpmn.engine.model.runtime.MIBPMNActivityWMP.__executeStatements(MIBPMNActivityWMP.java:358)
         at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:166)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2687)
         at com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1190)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1093)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:78)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:218)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:297)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4609)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4541)
         at com.collaxa.cube.engine.CubeEngine._expireActivity(CubeEngine.java:1562)
         at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:1477)
         at com.collaxa.cube.ejb.impl.CubeActivityManagerBean.expireActivity(CubeActivityManagerBean.java:82)
         at com.collaxa.cube.ejb.impl.CubeActivityManagerBean.expireActivity(CubeActivityManagerBean.java:58)
         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 com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy413.expireActivity(Unknown Source)
         at oracle.bpm.bpmn.engine.ejb.impl.BPMNActivityManagerBean_eh2l9c_ICubeActivityManagerLocalBeanImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
         at oracle.bpm.bpmn.engine.ejb.impl.BPMNActivityManagerBean_eh2l9c_ICubeActivityManagerLocalBeanImpl.expireActivity(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.instance.ExpirationMessageHandler.handle(ExpirationMessageHandler.java:41)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:140)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:88)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:65)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:909)
         at com.collaxa.cube.engine.dispatch.Dispatcher$ContextCapturingThreadFactory$2.run(Dispatcher.java:850)
         at java.lang.Thread.run(Thread.java:662)
    Thanks,
    TK

    Only one user. Basically i have many notification activities, all of them are working but i have a notification activity in the UN-interrupting Boundary Event flow which is causing the issue.
    Thanks,
    TK

  • ORA-22950: cannot Order Objects without MAP or ORDER method (line 15)

    Hi
    I have created a function
    create type att_con.ind_field_value as object (s_owner varchar2(50), s_table varchar2(50), s_field varchar2(50));
    create type att_con.ind_field_value_table as table of att_con.ind_field_value;
    create or replace function fn_find_field_entries
    (s_entry IN varchar2)
    return ind_field_value_table
    IS
    found_count integer;
    t_return ind_field_value_table := ind_field_value_table();
    begin
    for cur in (select owner, table_name, column_name
    from all_tab_columns
    where owner 'SYS'
    and owner 'SYSTEM')
    loop
    execute immediate
    'select count(' || cur.column_name || ') from ' || cur.owner || '.' || cur.table_name || ' where ' || cur.column_name || ' = ' || s_entry
    into found_count;
    if found_count 0 then
    t_return.extend;
    t_return(t_return.last) := (cur.owner, cur.table_name, cur.column_name);
    end if;
    end loop;
    return t_return;
    end;
    and i am getting the above error when i try and run it with
    select * from table(att_con.fn_find_field_entries('NDUNNE'))
    anyone know what this error might mean?
    thanks in advance

    22950, 00000, "cannot ORDER objects without MAP or ORDER method"
    // *Cause:  an object type must have a MAP or ORDER method defined for
    //          all comparisons other than equality and inequality comparisons.
    // *Action: Define a MAP or ORDER method for the object type
    //

  • Dbx: cannot find object file corresponding to

    Hello
    When I try to insert breakpoint I getting " dbx: cannot find object file corresponding to"
    Debugger error msg , now the objects of the file is deftly there compiled in debug mode
    how can I point sun studio to the corresponding objects?

    There are some other commands that can help you figure
    out what's going wrong.
    The modules command is good. (Type 'help modules' for more inof)
    The 'module' command is also good (Type 'help module')
    Apologies for having two separate commands with such
    similar names.
    (dbx) modules -debug
    Read t.o
    show you the object files that dbx thinks have debug info in them.
    module -v <object file> will tell you some info about that object file.
    (dbx) module -v t.o
    Module: t.o
    Language: c
    Debugging information: read [stabs version: 0.0]
    Source file: /home/quenelle/t.c
    Object file: /home/quenelle/t.o
    Loadobject: /home/quenelle/a.out
    See if that helps you figure out what's going on.
    --chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Cannot Move Objects with Arrows - Ai CS5

    For some reason I cannot move objects with my arrow keys in Illustrator cs5. I can drag them and transform-move them but the arrow keys don't work. very annoying.
    Any clues as to what I can do to fix this?
    Thanks!

    Could happen if your keyboard increment value is zero or a very low number.

  • Cannot use object "CLAS CX_ROOT CLAS "

    Hi guy
    I am developing a function in my namespace ********* and I use try catch with  CX_ROOT . When I passed my function in Slin (t-code) the check program display the erro below.
    Any ideas how to correct it ?
    Syntax check warning
    (E) Pakage "*********" cannot use object "CLAS CX_ROOT CLAS " from package
    "S_ABAP_EXCEPTIONS" in any of the following ways: "Refer to data/object"

    Hi,
    Check the coding in the following function module for reference:
    RS_MESSAGE_TO_EXCEPTION
    Regards,
    Harish

  • Cannot create Objects

    Hi All,
    Could any one please suggest possible reason and solution for teh below error in Essbase.
    "CANNOT CREATE OBJECT \s510.1
    I have been trying to update the outline (using data and rules files) When trying to save changes I keep receivng errors similar to this one (object name tends to vary at each attampt).
    When making manual changes I am able to save the updated outline (working on TEST database).
    Version of essbase is 6.5.6 in unix environment.
    Please suggest solution ASAP.

    This is part of the trace file :
    *** ACTION NAME:() 2012-12-13 15:28:25.874
    *** MODULE NAME:(SQL*Plus) 2012-12-13 15:28:25.874
    *** SERVICE NAME:(oramult) 2012-12-13 15:28:25.874
    *** SESSION ID:(1062.879) 2012-12-13 15:28:25.874
    DEADLOCK DETECTED ( ORA-00060 )
    [Transaction Deadlock]
    The following deadlock is not an ORACLE error. It is a
    deadlock due to user error in the design of an application
    or from issuing incorrect ad-hoc SQL. The following
    information may aid in determining the deadlock:
    Deadlock graph:
    ---------Blocker(s)-------- ---------Waiter(s)---------
    Resource Name process session holds waits process session holds waits
    TX-000a002d-0098a33e 22 1062 X 22 1062 S
    session 1062: DID 0001-0016-0000000C     session 1062: DID 0001-0016-0000000C
    Rows waited on:
    Session 1062: no row
    Information on the OTHER waiting sessions:
    End of information on OTHER waiting sessions.
    Current SQL statement for this session:
    delete from obj$ where obj# = :1

Maybe you are looking for