EJB 3.0: java.io.IOException: Unable to find session object ...

Hello,
We have an EJB3 application deployed to an Oracle AS 10.1.3.1.0 instance.
Our main point of entry to the application is a stateful session bean (that controls access), that has injected several other stateful session beans.
Like this:
+@Stateful(name = "TstreamUserSession")+
+public class TstreamUserSessionBean extends UserSessionBean implements TstreamUserSession {+
+@EJB(name = "ContactSession")+
private ContactSessionLocal contactSession;
+@EJB(name = "GuestSession")+
private GuestSessionLocal guestSession;
+@EJB(name = "TechCustomerSession")+
private TechCustomerSessionLocal techCustomerSession;
+@EJB(name = "PmSession")+
private PmSessionLocal pmSession;
+@EJB(name = "CustomerSession")+
private CustomerSessionLocal customerSession;
+@EJB(name = "PartnerSession")+
private PartnerSessionLocal partnerSession;
+@EJB(name = "AdminSession")+
private AdminSessionLocal adminSession;
+@EJB(name = "SuperAdminSession")+
private SuperAdminSessionLocal superAdminSession;
+@EJB(name = "VmSession")+
private VmSessionLocal vmSession;
+public TstreamUserSessionBean() {+
+}+
+...+
In this class, we also look up these sessions, because we need several instances of these, in this manner:
+private synchronized Object getSessionInstance(String sessionName) throws AccessDeniedException {+
          +try {+
               InitialContext ic = new InitialContext();
               return ic.lookup("java:comp/env/" sessionName);+
          +} catch (NamingException e) {+
          +}+
     +}+
However, we keep getting the following messages after a certain period.
java.io.IOException: Unable to find session object 2816103596632839360 for location 'AdminSession'
+10/01/12 11:50:04 at com.evermind.server.ejb.EJBInternalInputStream.resolveObject(EJBInternalInputStream.java:70)+
+10/01/12 11:50:04 at java.io.ObjectInputStream.checkResolve(ObjectInputStream.java:1346)+
+10/01/12 11:50:04 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)+
+10/01/12 11:50:04 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)+
+10/01/12 11:50:04 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)+
+10/01/12 11:50:04 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)+
+10/01/12 11:50:04 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)+
+10/01/12 11:50:04 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)+
+10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBObject.activateBean(StatefulSessionEJBObject.java:581)+
+10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBObject.remove_X(StatefulSessionEJBObject.java:213)+
+10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBObject.remove_X(StatefulSessionEJBObject.java:159)+
+10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBHome.processTimedOutSessions(StatefulSessionEJBHome.java:371)+
+10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBHome.cleanUpMaintenance(StatefulSessionEJBHome.java:306)+
+10/01/12 11:50:04 at com.evermind.server.ejb.EJBTask.run(EJBTask.java:47)+
+10/01/12 11:50:04 at com.evermind.util.Task.schedule(Task.java:51)+
+10/01/12 11:50:04 at com.evermind.util.TaskManager.run(TaskManager.java:221)+
+10/01/12 11:50:04 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)+
+10/01/12 11:50:04 at java.lang.Thread.run(Thread.java:595)+
I guess this occurs when the stateful session TstreamUserSession is reactivated?
Or when the ones being injected are passivated?
Any idea why this occurs, or how to suppress it, because it really spams our logs...
Thanks.

Hello,
We have an EJB3 application deployed to an Oracle AS 10.1.3.1.0 instance.
Our main point of entry to the application is a stateful session bean (that controls access), that has injected several other stateful session beans.
Like this:
+@Stateful(name = "TstreamUserSession")+
+public class TstreamUserSessionBean extends UserSessionBean implements TstreamUserSession {+
+@EJB(name = "ContactSession")+
private ContactSessionLocal contactSession;
+@EJB(name = "GuestSession")+
private GuestSessionLocal guestSession;
+@EJB(name = "TechCustomerSession")+
private TechCustomerSessionLocal techCustomerSession;
+@EJB(name = "PmSession")+
private PmSessionLocal pmSession;
+@EJB(name = "CustomerSession")+
private CustomerSessionLocal customerSession;
+@EJB(name = "PartnerSession")+
private PartnerSessionLocal partnerSession;
+@EJB(name = "AdminSession")+
private AdminSessionLocal adminSession;
+@EJB(name = "SuperAdminSession")+
private SuperAdminSessionLocal superAdminSession;
+@EJB(name = "VmSession")+
private VmSessionLocal vmSession;
+public TstreamUserSessionBean() {+
+}+
+...+
In this class, we also look up these sessions, because we need several instances of these, in this manner:
+private synchronized Object getSessionInstance(String sessionName) throws AccessDeniedException {+
          +try {+
               InitialContext ic = new InitialContext();
               return ic.lookup("java:comp/env/" sessionName);+
          +} catch (NamingException e) {+
          +}+
     +}+
However, we keep getting the following messages after a certain period.
java.io.IOException: Unable to find session object 2816103596632839360 for location 'AdminSession'
+10/01/12 11:50:04 at com.evermind.server.ejb.EJBInternalInputStream.resolveObject(EJBInternalInputStream.java:70)+
+10/01/12 11:50:04 at java.io.ObjectInputStream.checkResolve(ObjectInputStream.java:1346)+
+10/01/12 11:50:04 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)+
+10/01/12 11:50:04 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)+
+10/01/12 11:50:04 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)+
+10/01/12 11:50:04 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)+
+10/01/12 11:50:04 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)+
+10/01/12 11:50:04 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)+
+10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBObject.activateBean(StatefulSessionEJBObject.java:581)+
+10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBObject.remove_X(StatefulSessionEJBObject.java:213)+
+10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBObject.remove_X(StatefulSessionEJBObject.java:159)+
+10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBHome.processTimedOutSessions(StatefulSessionEJBHome.java:371)+
+10/01/12 11:50:04 at com.evermind.server.ejb.StatefulSessionEJBHome.cleanUpMaintenance(StatefulSessionEJBHome.java:306)+
+10/01/12 11:50:04 at com.evermind.server.ejb.EJBTask.run(EJBTask.java:47)+
+10/01/12 11:50:04 at com.evermind.util.Task.schedule(Task.java:51)+
+10/01/12 11:50:04 at com.evermind.util.TaskManager.run(TaskManager.java:221)+
+10/01/12 11:50:04 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)+
+10/01/12 11:50:04 at java.lang.Thread.run(Thread.java:595)+
I guess this occurs when the stateful session TstreamUserSession is reactivated?
Or when the ones being injected are passivated?
Any idea why this occurs, or how to suppress it, because it really spams our logs...
Thanks.

Similar Messages

  • Java.io.IOException: unable to find the type mapping resource file

    Hi,
    I am using weblogic7.0 to deploy my applications. I wrote a web service and
    was able to deploy it sucessfully. I am trying to access the web service through
    a jsp page. I am the error posted below on my server and " error:505 internal
    server error" on the browser. Can any one please help me out with the problem.
    My jsp page just displays the float value i am returing from the session bean
    method.
    Thanks,
    Ramya.
    <Apr 14, 2003 4:32:51 PM PDT> <Error> <HTTP> <101019> <[ServletContext(id=64204
    55,name=bankwebapp,context-path=/bankwebapp)] Servlet failed with IOException
    java.io.IOException: unable to find the type mapping resource file for:bank.Ban
    kService
    at weblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegi
    stry.java:62)
    at weblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:72)
    at bank.BankService_Impl.<init>(BankService_Impl.java:23)
    at jsp_servlet.__getbal._jspService(__getbal.java:106)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.ru
    n(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:445)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    on.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServi
    ceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppS
    ervletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestI
    mpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >
    <Apr 14, 2003 4:40:59 PM PDT> <Notice> <Application Poller> <149400> <Activatin
    g application: appsdirbankwebapp_war>
    <Apr 14, 2003 4:40:59 PM PDT> <Notice> <Application Poller> <149404> <Activate
    application appsdirbankwebapp_war on myserver - Running>
    <Apr 14, 2003 4:41:01 PM PDT> <Notice> <Application Poller> <149404> <Activate
    application appsdirbankwebapp_war on myserver - Completed>
    The url value from the jsp page ishttp://localhost:7001
    The wsdl value from the jsp page ishttp://localhost:7001/web_services/BankServi
    ce
    <Apr 14, 2003 4:41:06 PM PDT> <Error> <HTTP> <101019> <[ServletContext(id=72463
    20,name=bankwebapp,context-path=/bankwebapp)] Servlet failed with IOException
    java.io.IOException: unable to find the type mapping resource file for:bank.Ban
    kService
    at weblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegi
    stry.java:62)
    at weblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:72)
    at bank.BankService_Impl.<init>(BankService_Impl.java:23)
    at jsp_servlet.__getbal._jspService(__getbal.java:106)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.ru
    n(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:445)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    on.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServi
    ceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppS
    ervletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestI
    mpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >

    Hi Manoj,
    Thanks a lot for your hepl. I tried as you said and its working now.
    Ramya
    "manoj cheenath" <[email protected]> wrote:
    Make sure that you put the client jar file generated by
    clientgen in the lib directory of the jsp web app.
    It looks like the runtime is unable to load
    <service>.xml type mapping file. This xml file
    should be in the classpath (web-inf/lib or
    web-inf/classes).
    -manoj
    "Ramya" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I am using weblogic7.0 to deploy my applications. I wrote a web serviceand
    was able to deploy it sucessfully. I am trying to access the web servicethrough
    a jsp page. I am the error posted below on my server and " error:505internal
    server error" on the browser. Can any one please help me out with theproblem.
    My jsp page just displays the float value i am returing from the sessionbean
    method.
    Thanks,
    Ramya.
    <Apr 14, 2003 4:32:51 PM PDT> <Error> <HTTP> <101019><[ServletContext(id=64204
    55,name=bankwebapp,context-path=/bankwebapp)] Servlet failed withIOException
    java.io.IOException: unable to find the type mapping resource filefor:bank.Ban
    kService
    atweblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegi
    stry.java:62)
    atweblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:72)
    at bank.BankService_Impl.<init>(BankService_Impl.java:23)
    at jsp_servlet.__getbal._jspService(__getbal.java:106)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.ru
    n(ServletStubImpl.java:1058)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:401)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:445)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:306)
    atweblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    on.run(WebAppServletContext.java:5412)
    atweblogic.security.service.SecurityServiceManager.runAs(SecurityServi
    ceManager.java:744)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppS
    ervletContext.java:3086)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestI
    mpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >
    <Apr 14, 2003 4:40:59 PM PDT> <Notice> <Application Poller> <149400><Activatin
    g application: appsdirbankwebapp_war>
    <Apr 14, 2003 4:40:59 PM PDT> <Notice> <Application Poller> <149404><Activate
    application appsdirbankwebapp_war on myserver - Running>
    <Apr 14, 2003 4:41:01 PM PDT> <Notice> <Application Poller> <149404><Activate
    application appsdirbankwebapp_war on myserver - Completed>
    The url value from the jsp page ishttp://localhost:7001
    The wsdl value from the jsp page
    ishttp://localhost:7001/web_services/BankServi
    ce
    <Apr 14, 2003 4:41:06 PM PDT> <Error> <HTTP> <101019><[ServletContext(id=72463
    20,name=bankwebapp,context-path=/bankwebapp)] Servlet failed withIOException
    java.io.IOException: unable to find the type mapping resource filefor:bank.Ban
    kService
    atweblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegi
    stry.java:62)
    atweblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:72)
    at bank.BankService_Impl.<init>(BankService_Impl.java:23)
    at jsp_servlet.__getbal._jspService(__getbal.java:106)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.ru
    n(ServletStubImpl.java:1058)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:401)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:445)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:306)
    atweblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    on.run(WebAppServletContext.java:5412)
    atweblogic.security.service.SecurityServiceManager.runAs(SecurityServi
    ceManager.java:744)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppS
    ervletContext.java:3086)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestI
    mpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >

  • SOAP: call failed: java.io.IOException: unable to create a socket ??

    Hi
    I am getting the following error in PI for one of my sync interfaces.
    SOAP: call failed: java.io.IOException: unable to create a socket
    The interface works most of the time, but i get this error couple of times a day.
    Regards,
    XIer

    Hav you able to resolve this issue? Please let me know what was cause of this "unable to create a socket"
    Thanks,
    Sagar

  • SOAP Receiver   java.io.IOException: unable to create a socket

    Hi All,
    I have scenario where i invoke a external webservice  (over internet)  using SOAP adapter. I can reach the external target as they see my traffic on firewall but i always get:
    com.sap.aii.af.ra.ms.api.DeliveryException: java.io.IOException: unable to create a socket
    I cannot find any logs which provide more information on this. I have imported all the clients certificates into my J2EE keystore (webservice is over HTTPS). Any suggestions on where better logs can be found would be appreciated. So far checked RWB and the default trace log.
    Since my certificates arent in ABAP stack I cant use SM59 to test. I have used test tool like soapUI and can invoke the web service (although on different network to my XI server) so not sure why XI is failing
    Any suggestions would be greatly appreciated!
    Sorry forgot to mention - The error its self i suspect is firewall and will need to get network people to look at but any information on how to debug errors like this on J2EE side would be appreciated - is there a J2EE version of SM59?
    Message was edited by:
            Chris Mills

    Hi Chris,
    Check this thread..
    SOAP Adapter: java.io.IOException: unable to create a socket
    cheers,
    Prashanth
    P.S Please mark helpful answers

  • SOAP Adapter: java.io.IOException: unable to create a socket

    Hi,
    I am trying to use the soap adapter to connect to a URL and post a document. When I try, the adapter throws the following
    java.io.IOException: unable to create a socket
    Does anyone know what causes this?
    I get it both with the SOAP Envelope turned on and off.
    I am trying to post to a URL that is usually used for straight HTTPS posts, could this cause an issue? The only reason we are using the SOAP adapter is to be able to send attachments! Hence, SOAP adapter, no SOAP envelope.
    Kind Regard,
    Chris

    Hi,
    Had faced the same issue. The possible reasons were :
    1. Either the target server might not be responding.
    2. The Target URL configured in the communication channel might be wrong.
    3. The port to which the message is being sent might not be opened which you need to cross-verify.
    For me the issue was the port, which wasn't enabled from our end. The messages went past successfully once it was enabled.
    Cheers!!
    Jithin James.

  • Exception in thread "main" java.lang.Error: Unable to find named traits: org.puremvc.as3.multicore.p

    Hi all,
    i try  to  use  pfi with a  project that i did with  air  in flash builder.
    I make my swf with ant  task
        <target name="releasecompile" depends="init">
        <echo>
                  Ant Task :: releaseCompile
        </echo>
            <java jar="${MXMLC.JAR}" fork="true" failonerror="true">
               <arg value="-debug=false"/>
                <arg value="+flexlib=${SDK_HOME}frameworks"/>
                <arg value="+configname=air"/>
                <arg value="-file-specs=${MAIN_SOURCE_FILE}"/>
                <arg value="-output=${build}/${APP_ROOT_FILE}"/>
            <arg value="-external-library-path+=${APP_ROOT}/libs/PureMVC_AS3_MultiCore_1_0_5.swc" />
            </java>
        </target>
    i have a swf in result  and i play  pfi like this
    ./pfi -package -target ipa-ad-hoc -provisioning-profile /Users/stef/Desktop/PROJECT/PROJECT_Config-2.mobileprovision -storetype pkcs12 -keystore /Users/stef/Desktop/PROJECT/Certificats2.p12 -storepass mypass /Users/stef/Desktop/PROJECT/PROJECTConfig.ipa /Users/stef/Documents/Adobe\ Flash\ Builder\ 4/PROJECT/src/PROJECTConfigurateur-app.xml -C /Users/stef/Desktop/PROJECT/ PROJECTConfigurateur.swf  Default.png icons/Icon57.png icons/Icon29.png icons/Icon512.png
    Exception in thread "main" java.lang.Error: Unable to find named traits: org.puremvc.as3.multicore.patterns.facade::Facade
    at adobe.abc.Domain.resolveTypeName(Domain.java:195)
    at adobe.abc.Domain.resolveTypeName(Domain.java:112)
    at adobe.abc.GlobalOptimizer$InputAbc.resolveTypeName(GlobalOptimizer.java:274)
    at adobe.abc.GlobalOptimizer$InputAbc.readInstance(GlobalOptimizer.java:837)
    at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:388)
    at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:280)
    at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:160)
    at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcode(AOTCompiler.java:329)
    at com.adobe.air.ipa.AOTCompiler.GenerateMacBinary(AOTCompiler.java:600)
    at com.adobe.air.ipa.IPAOutputStream.compileRootSwf(IPAOutputStream.java:196)
    at com.adobe.air.ipa.IPAOutputStream.finalizeSig(IPAOutputStream.java:366)
    at com.adobe.air.ADTPackager.createPackage(ADTPackager.java:65)
    at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:165)
    at com.adobe.air.ADTEntrypoint.parseArgsAndGo(ADTEntrypoint.java:132)
    at com.adobe.air.ipa.PFI.parseArgsAndGo(PFI.java:152)
    at com.adobe.air.ADTEntrypoint.run(ADTEntrypoint.java:68)
    at com.adobe.air.ipa.PFI.main(PFI.java:112)
    do you have some  ideas about this ?
    Regards
    Stef

    Ok,
        <target name="releasecompile" depends="init">
        <echo>
                  Ant Task :: releaseCompile
        </echo>
            <java jar="${MXMLC.JAR}" fork="true" failonerror="true">
               <arg value="-debug=false"/>
                <arg value="+flexlib=${SDK_HOME}frameworks"/>
                <arg value="+configname=air"/>
                <arg value="-file-specs=${MAIN_SOURCE_FILE}"/>
                <arg value="-output=${build}/${APP_ROOT_FILE}"/>
            <arg value="-external-library-path+=${APP_ROOT}/libs/PureMVC_AS3_MultiCore_1_0_5. swc" />
            </java>
        </target>
    I mistake  this line
      <arg value="-external-library-path+=${APP_ROOT}/libs/PureMVC_AS3_MultiCore_1_0_5. swc" />
    must be
    <arg value="-library-path+=${APP_ROOT}/libs/PureMVC_AS3_MultiCore_1_0_5.swc" />
    for  include the content in the swf.
    Regards
    Stef

  • Export Release Build error - Exception in thread "main" java.lang.Error: Unable to find named traits

    I've been developing an AIR application for Android and iOS. During development, I've run the application (in debug mode) in the desktop simulator as well as on an iPhone 4 and a Nook Tablet.
    However, I recently tried to "Export Release Build" for iOS and hit the following error: (I've stripped out the package and class information in the error message below)
    !ENTRY com.adobe.flexbuilder.project 4 43 2012-04-06 13:09:15.516
    !MESSAGE Error occurred while packaging the application:
    Exception in thread "main" java.lang.Error: Unable to find named traits: valid.package.path.here::ValidClassName
              at adobe.abc.Domain.resolveTypeName(Domain.java:231)
              at adobe.abc.Domain.resolveTypeName(Domain.java:148)
              at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6665)
              at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:5909)
              at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4628)
              at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3514)
              at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2215)
              at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:526)
              at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:336)
              at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:472)
              at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82)
    Compilation failed while executing : ADT
    !STACK 0
    java.lang.Exception
              at com.adobe.flexbuilder.project.internal.FlexProjectCore.createErrorStatus(FlexProjectCore. java:1019)
              at com.adobe.flexbuilder.util.logging.GlobalLogImpl.log(GlobalLogImpl.java:66)
              at com.adobe.flexbuilder.util.logging.GlobalLog.log(GlobalLog.java:52)
              at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.doPackage (ExportReleaseVersionWizard.java:283)
              at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.performFi nish(ExportReleaseVersionWizard.java:152)
              at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
              at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
              at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
              at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
              at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
              at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
              at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
              at org.eclipse.jface.window.Window.open(Window.java:801)
              at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionAction$1.run(Export ReleaseVersionAction.java:97)
              at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionAction.run(ExportRe leaseVersionAction.java:103)
              at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
              at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
              at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:584)
              at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
              at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :411)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
              at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
              at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
              at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
              at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
              at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
              at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
              at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
              at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
              at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
              at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
              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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    The class the error message is referring to is defined with a SWC that my project links to. However, I've even tried to define a class with that same name (and location) within my project and it still fails to find it.
    Why am I able to Project->Clean and run this project within the desktop AIR player (or on the device in debug mode) but unable to export it as a release build?
    I have found a couple of threads mentioning a similar error but none of them have been marked as resolved.

    At this point I feel I am talking to myself, but I will share my work-around in case it helps another who may stumble across this post.
    In my particular case, both my main AIR application and my ANE wrapper library were referencing the same external Flex library (same revision). Both projects had the library linkage set to merge. Changing the linkage to "External" on one of the 2 libraries (it doesn't seem to matter which) and leaving the other as "Merged into code" enabled the export to complete without the bizarre "Unable to find named traits" error.

  • D3L "produce" error: unable to find attribute object for top node

    Hi
    I'm new to this forum, hope someone can help me with this because it's really been causing a headache for a few days now.
    I'm trying to deliver a flat file message with an interconnect standard ftp adapter. All the transformations go well but then i get this error message:
    oracle.oai.agent.adapter.technology.D3LException: [SmartQueueDispatcher] <struct id="GallupData" name="" comment="" ...>: unable to find attribute object for top node, got `[  stationId: 01
    startDate: 040801
    (messsage truncated)
    emission: 1
    ]' instead
         at oracle.oai.agent.adapter.technology.D3L.produce(D3L.java:391)
         at oracle.oai.agent.adapter.technology.TechBridge.messageReceived(TechBridge.java:876)
         at oracle.oai.agent.client.SmartQueueDispatcher.run(SmartQueueDispatcher.java:451)
         at java.lang.Thread.run(Unknown Source)
    The message is exactly 65570 bytes (in the format written to the log).
    Any help appreciated.
    Leon Simonsen

    I finally solved the problem: The name of the d3l xml file must be named with the name of the data type. Just thought i'd let anyone know.

  • Unable to find referenced  object  problem

    Hi ,
    when i made compile for Adf BC Application Jdeveloper version ( 11.1.2.3 ) , it result compile error
    Error : ************ unable to find referenced object Object=************** Owner= ********************
    Notes :- this application contains view objects that depend upon jar file for the Entity Object

    Hi,
    Did you add the dependencies
    http://docs.oracle.com/cd/E15051_01/web.1111/b31974/reusing_components.htm
    http://andrejusb.blogspot.com/2011/04/strange-day-adf-library-profile.html
    http://adfhowto.blogspot.com/2010/10/adding-lib-jar-dependency-to-my-project.html

  • Business components : unable to find referenced object

    Hi,
    i work on Jdev Studio Edition Version 11.1.1.1.0.
    I often have this message in the message-log window :
    Business Components: Unable to find referenced object
    Object: easyges.monActivite.mesInfos.MonSuperieur.
    Owner: easyges.crah.AppModuleCRAH
    BC Project: easyges.view.ViewController
    What do i have to do with that?
    Thanks for your answer ?
    David

    i am moving to views current way.hi this is my error.
    Error: jeg.adf.pm.setworkbench.model.views.ImportProjectVO: Unable to find referenced object.
    Object=model.Entity.ImportProjectEO
    Owner=jeg.adf.pm.setworkbench.model.views.ImportProjectVO
    BC Project: model.JacobsModel

  • SPEED DIALS = unable to find specified object

    Hi All,
    Glad to join this lovely forum.
    I'm facing this message when trying to use speed dials !!
    System
    unable to find specified object
    Any hints ?
    Thanks in advance
    Model: 9300i

    Hi,
    Try to update the firmware version (contact ur nearest Nokia Service Center). Please take a full backup before doing upgrade. After firmware update please restore only the contacts (partial restoring recommended). If u do a full restore the probelm (error) may occure again.
    BR,
    sanju

  • Unable to find generated objects in repository - Activating BE

    Hi,
    I´m  trying to migrate MAM from Mobile 7.0 to Mobile 7.1.
    I got to import the syncbos as data objects successfully. However, when I try to activate a Backend Adapter, the error: "Unable to find generated objects in repository" comes up.
    I applied the note number 1408036, which is to correct the issue, but it didn´t work (I´ve already re-started the server).  We working on Mobile 7.1 - SP08.
    Anyone has some clue for this problem?
    Thanks.

    Hi,
    have you done the [DOE inital setup|http://help.sap.com/saphelp_nwmobile71/helpdata/en/45/17a790d8000064e10000000a1553f7/frameset.htm]?
    have you activate the data object?
    if dont,please do that,
    than try to activate the backend adapter.
    regards,
    lakshman balanagu
    Edited by: lakshman balanagu on Dec 4, 2009 12:13 PM

  • The creation of device local data objects - Unable to find generated object

    Hi all,
    I get an error when I try to generate an ESDMA containing a "Device Local" data object.
    I have created a "Device Local" data object containing a very simple node structure. The object is "active" and everything seems to work fine, until I generate the ESDMA. The following error is shown : Unable to find generated objects in repository.
    The esdma is generated without problems, when I remove the device local data object.
    I hope you have some ideas of what the issue might be.
    Best regards,
    Nima

    Hi Siva
    Actually i am working on this problem together with Nima and the problem is not related to SAP Basis objects.
    The problem is in SDOE_WB, with the SWCV. Creating a Data object of type LOCAL DEVICE and a NODE. If you add a field/s and then activate, and look in Generated objects The Table object is not generated (only the structure and the table type).  At this point there are no syntax/error messages.
    If we try to generate an esdma using the ESDMA design time, using this SWCV, it fails, with the message, Unable to find generated objects, in the repository. That is it is looking for the Table object that was not generated in sdoe_wb. This is only a problem with creating a data object of type DEVICE LOCAL, every other type of DO is fine.. I assume it is an SAP error.

  • BC: Unable to find referenced object

    Hi OTN,
    while working on my ADF BC application I oftenly see a following message at JDev start:
    Business Components: Unable to find referenced object
         Object=...
         Owner=...I usally check those business components and can't see any malfunction in their definition.
    Yesterday I encountered strange behaviour while inserting new rows in linked view objects. It seemed that there was no entity association (key cascade update didn't work) and new row in linked VO wasn't commited at all.
    Today at JDev startup I see two messages with "Unable to find referenced object" and "Owner" in the messages is pointing to ViewLink based on the strangely-working association. "Objects" in the messages are pointing to attributes on which association is built.
    What does this message mean and could this issue be concerned to framework unexpected behavior while inserting new rows?
    Business Components comes from compiled jar library.
    Thanks.
    Jdev 11.1.1.3

    its a good practice in my opinion to close your project before shutting down the JDEV so next time when you open you will not able to see strange behaviors.

  • Build problem in JDev "Unable to find referenced object"

    All of sudden I'm having problems building our application. Everything was going fine. I did a clean all, exited JDev (to backup files and release some memory) and restarted JDev. During the restart I received the messsages below and then I started getting a build errors when I compiled.
    I'm getting the following errors even though I can clearly see each and every item.
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskListVO.TaskId
    Owner=oracle.apps.epm.fcc.model.view.link.AllChildrenRecursiveVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskListVO.AggregationParent
    Owner=oracle.apps.epm.fcc.model.view.link.AllChildrenRecursiveVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskListRootVO.TaskId
    Owner=oracle.apps.epm.fcc.model.view.link.GanttPredecessorVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskListRootVO.TaskId
    Owner=oracle.apps.epm.fcc.model.view.link.GanttPredecessorVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskPredecessorVO.TaskId
    Owner=oracle.apps.epm.fcc.model.view.link.GanttPredecessorVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskPredecessorVO.PredecessorTaskId
    Owner=oracle.apps.epm.fcc.model.view.link.GanttPredecessorVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskListRootVO.TaskId
    Owner=oracle.apps.epm.fcc.model.view.link.RootToFirstLevelVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskListVO.AggregationParent
    Owner=oracle.apps.epm.fcc.model.view.link.RootToFirstLevelVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskPanelPredecessorRootVO.TaskId
    Owner=oracle.apps.epm.fcc.model.view.link.TaskPanelPredecessorRootVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskPanelPredecessorVO.TaskId1
    Owner=oracle.apps.epm.fcc.model.view.link.TaskPanelPredecessorRootVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskPanelPredecessorVO.PredecessorTaskId
    Owner=oracle.apps.epm.fcc.model.view.link.TaskPanelPredecessorVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskPanelPredecessorVO.TaskId1
    Owner=oracle.apps.epm.fcc.model.view.link.TaskPanelPredecessorVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskPanelPredecessorRootVO.TaskId
    Owner=oracle.apps.epm.fcc.model.view.link.TaskPanelSuccessorRootVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskPanelSuccessorVO.PredecessorTaskId
    Owner=oracle.apps.epm.fcc.model.view.link.TaskPanelSuccessorRootVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskPanelSuccessorVO.TaskId
    Owner=oracle.apps.epm.fcc.model.view.link.TaskPanelSuccessorVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskPanelSuccessorVO.PredecessorTaskId
    Owner=oracle.apps.epm.fcc.model.view.link.TaskPanelSuccessorVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.QuestionsVO.QuestionId
    Owner=oracle.apps.epm.fcc.model.view.link.TaskQuestionToListValuesVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.QuestionListValuesVO.QuestionId
    Owner=oracle.apps.epm.fcc.model.view.link.TaskQuestionToListValuesVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskWorkflowRootVO.SourceId
    Owner=oracle.apps.epm.fcc.model.view.link.TaskWorkflowRootVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskWorkflowVO.SourceId
    Owner=oracle.apps.epm.fcc.model.view.link.TaskWorkflowRootVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskWorkflowVO.ApproverOrderSeq1
    Owner=oracle.apps.epm.fcc.model.view.link.TaskWorkflowVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskWorkflowVO.SourceId
    Owner=oracle.apps.epm.fcc.model.view.link.TaskWorkflowVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskWorkflowVO.ApproverOrderSeq
    Owner=oracle.apps.epm.fcc.model.view.link.TaskWorkflowVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.TaskWorkflowVO.SourceId
    Owner=oracle.apps.epm.fcc.model.view.link.TaskWorkflowVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.UserAttributesVO.UdaId
    Owner=oracle.apps.epm.fcc.model.view.link.UserAttributeToListValuesVL
    Business Components: Unable to find referenced object.
    Object=oracle.apps.epm.fcc.model.view.UserAttributeListValuesVO.UdaId
    Owner=oracle.apps.epm.fcc.model.view.link.UserAttributeToListValuesVL
    During compile:
    Project: C:\HyperionCC\ptoukhan_fcc_view\fcc\model\FinancialCloseCalendarModel.jpr
    C:\HyperionCC\ptoukhan_fcc_view\fcc\model\src\oracle\apps\epm\fcc\model\view\link\TaskWorkflowRootVL.xml
    Error: oracle.apps.epm.fcc.model.view.link.TaskWorkflowRootVL: One or more attributes for one of the view link ends were not found. oracle.apps.epm.fcc.model.view.TaskWorkflowRootVO.SourceId
    Yet when I look at the definition for TaskWorkflowRootVO, SourceId is clearly there. What is going on and how do I fix it?
    None of these files was touched during the last edit session.

    Hi,
    Did you add the dependencies
    http://docs.oracle.com/cd/E15051_01/web.1111/b31974/reusing_components.htm
    http://andrejusb.blogspot.com/2011/04/strange-day-adf-library-profile.html
    http://adfhowto.blogspot.com/2010/10/adding-lib-jar-dependency-to-my-project.html

Maybe you are looking for