Relationship between Objects Not Found in PA

Dear all,
I have uploaded objects (Org Unit, Job, and Position) and the relationships between objects separately using LSMW.
When i checked the update of the relationship between objects in PA30, but the relationship between objects (Org Unit, Job, and Position) did not exist, yet exists in PP02.
I tried to upload the relationships between objects using holder (A008) in LSMW again, still I could not find the relationships in PA30, but exist in PP02.
Then I tried to run rhinte00 and rhinte30 to link the relationship between objects. I managed to get through rhinte00, but failed to run rhinte30.
Below is the report log when I tried to run rhinte30.
Report log:   
Processing mode:   Processing successful 
Number of personnel nos. selected :   0 
Personnel numbers with errors:

Check the following.
1. Check if integration is active in T77S0 table PLOGI PLOGI = Your active plan version & PLOGI ORGA = X
2. Check if all your objects are created with this active plan version
3. Check the feature PLOGI to see if your PA PSA etc for the employee are integrated.
cheers
Ajay

Similar Messages

  • ODI not able to detect primary/foreign keys from XML- user lacks privilege or object not found

    Hi Guys,
    Im trying to load an xml file with two entities address and employee as below. The topology reverse engineering everything works fine. Im even able to view the xml data  in ODI,  but when i try to load the data from these two entities joining by the schema primary keys and foreign keys which odi created on reverse engineering process for xml, im getting the below error.  Im able to load data from one entity, error only occurs when i use the join odi creates internally to identify the xml components employee and address
    XML File:
    <?xml version="1.0" encoding="UTF-8" ?>
    <EMP>
    <Empsch>
    <Employee>
    <EmployeeID>12345</EmployeeID>
    <Initials>t</Initials>
    <LastName>john</LastName>
    <FirstName>doe</FirstName>
    </Employee>
    <Address>
    <WorkPhone>12345</WorkPhone>
    <WorkAddress>Test 234</WorkAddress>
    </Address>
    </Empsch>
    </EMP>
    Topology:  jdbc:snps:xml?f=C:/Temp/RR/Empsch.xml&s=Empsch&re=EMP&dod=true&nobu=false
    Error Message:
    -5501 : 42501 : java.sql.SQLException: user lacks privilege or object not found: EMPSCH.EMPSCHPK
    java.sql.SQLException: user lacks privilege or object not found: EMPSCH.EMPSCHPK
        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
        at org.hsqldb.jdbc.JDBCPreparedStatement.<init>(Unknown Source)
        at org.hsqldb.jdbc.JDBCConnection.prepareStatement(Unknown Source)
        at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.prepareStatement(SnpsXmlConnection.java:1232)
        at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter$OnDisconnectCommandExecutionHandler.invoke(OnConnectOnDisconnectDataSourceAdapter.java:200)
        at $Proxy2.prepareStatement(Unknown Source)
        at oracle.odi.runtime.agent.execution.sql.SQLCommand.doInitializeStatement(SQLCommand.java:83)
        at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:117)
        at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:111)
        at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:81)
        at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:1)
        at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:70)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
        at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)
        at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)
        at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
        at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
        at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
        at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
        at java.lang.Thread.run(Thread.java:662)
    Caused by: org.hsqldb.HsqlException: user lacks privilege or object not found: EMPSCH.EMPSCHPK
        at org.hsqldb.error.Error.error(Unknown Source)
        at org.hsqldb.ExpressionColumn.checkColumnsResolved(Unknown Source)
        at org.hsqldb.QueryExpression.resolve(Unknown Source)
        at org.hsqldb.ParserDQL.compileCursorSpecification(Unknown Source)
        at org.hsqldb.ParserCommand.compilePart(Unknown Source)
        at org.hsqldb.ParserCommand.compileStatement(Unknown Source)
        at org.hsqldb.Session.compileStatement(Unknown Source)
        at org.hsqldb.StatementManager.compile(Unknown Source)
        at org.hsqldb.Session.execute(Unknown Source)
        ... 27 more
    Please advice
    Thanks
    Revanth

    Thats obvious from the xml file contents you have given here. In this xml file You have four complex type. Two of them are employee and address. However the employee doesnot have any relation with address as you have not added the relationship. Thats why its failing. Its not the fault of ODI.
    Also I would suggest not to use auto generated dtd by ODI as you might face problem in future. For example the address type of XML has 8 attributes and 4 of them are not mandatory. That means each of your xml file may have attributes between 4 to 8.  This is where ODI auto generated DTD fails.
    XML Schema complexType Element
    Thanks
    Bhabani

  • Object not found in store error when trying to load MimeContent of an email (containing attachments)

    This is a weird one and I'm hoping someone can reproduce this and give me some help.
    We have a system that uses the EWS Managed API to send emails. Optionally an email may need to be saved out as an rfc822 (.eml) file afterwards for storing in our own database. In order to save to a file I need to load up the MimeContent of the message.
    And this is where an "Object not found in store" exception can get thrown.
    The really strange part is that the exception only seems to occur if the email contains an attachment and if there is too much of a delay between sending the email and trying to access the MimeContent!
    My test code is something like:
    // Set up the basics
    _item = new EmailMessage(P7ExchangeService.Service);
    _item.Subject ="Hello world";
    _item.ToRecipients.Add("some name", "[email protected]");
    _item.Body = new MessageBody(BodyType.HTML, @"<html><head></head><body>hello world<image src=""cid:blah""/></body></html>");
    // Add attachment
    FileAttachment att = _item.Attachments.AddFileAttachment("blah", "c:\temp\blah.jpg");
    att.IsInline = true;
    att.ContentId = "blah";
    // Send and save
    _item.SendAndSaveCopy();
    // Wait a bit (see comments below)
    Thread.Sleep(5000);
    // Now try and save out
    var propCollection = _item.GetLoadedPropertyDefinitions();
    propCollection.Add(ItemSchema.MimeContent);
    _item.Load(new PropertySet(propCollection)); // EXCEPTION!
    // ... etc
    On some systems it seems that the sending can take a while, hence my Thread.Sleep() call to simulate this.
    Its when I try and load up the MimeContent that I will then get the exception. But ONLY if I sleep (simulating the occasional delay seen on customer sites) and ONLY if the email contains an attachment.
    The mimecontent is necessary in order to save out to a file (by accessing the _item.MimeContetn property).
    Can someone please explain the exception and/or provide a better way of doing this??

    This is normal EWS doesn't return the Id of the Item in the SentItems Folder so you need to use a workaround like
    http://blogs.msdn.com/b/exchangedev/archive/2010/02/25/determining-the-id-of-a-sent-message-by-using-extended-properties-with-the-ews-managed-api.aspx .
    If you want to understand the issue you can enable tracing and look at responses, the actually Id your trying to load the MimeContent from is probably the Id of the draft message. Eg to send a message via EWS with attachments multiple operations must be
    used to construct it and when the messages finally gets sent the copy in the drafts folder is deleted and a copy is created in the SentItems folder. However the Id isn't returned for the SentItems copy hence you need the workaround.
    Cheers
    Glen

  • Relationship between Object Type QK & Q

    Can someone help here. I am trying to confirm if there is a relationship between object type QK (qualification group) & Q (qualification). I checked HRP1001 but did not seem to find a relationship between these two object types. Is there another table I need to check.
    Thank you.

    Hi,
    Have you checked A/B 030?
    Q A030 Is a specialization of QK
    QK B030 Is a generalization of Q
    The table for all relationships in general is T777E.
    Hope this helps.
    Donnie

  • Error encountered while signing. Windows cryptographic service provider reported an error. Object not found. Error code:2148073489. Windows 7, Adobe Reader XI, Symantec PKI, Smart Card and CAC. I have seen other threads for this error but none have a reso

    Error encountered while signing. Windows cryptographic service provider reported an error. Object not found. Error code:2148073489. Windows 7, Adobe Reader XI, Symantec PKI, Smart Card and CAC. I have seen other threads for this error but none have a resolution. Any help would be appreciated.
    Sorry for the long title, first time poster here.

    This thread is pretty old, are you still having this issue?

  • While Doing BW  Role Uploading Getting message "Linked Objects Not Found" ?

    Dear All,
    I am trying to upload a BW role from EP , while doing role upoad activity, when I am giving role name, system namein the first step it is identifying the role from the system.
    To that role four reports has been attached.
    After uploading the role, the role has been get uploaded, but the reports which are attached to the role it is showing that "Linked Objects Not Found", for all the reports.
    For all those reports I have checked the web url on BW server it is corect but then also I am getting above message.
    Please any one help me out in this scenario.
    Regards,
    Aditya

    The same problem during XI to BI integration as it was told in how-to.

  • While posting T.code VL02N "co object not found " what have to do

    Hi
    Friends..
    while posting T.code VL02N "co object not found " what have to do
    General Ledger related to Co object what i want todo.
    showing error " Co Object not found"
    Thank you.
    Ashok kumar

    Hi
    Assign a cost centre to the cost element of the general ledger account specified.
    Transaction KA02
    another option is got OKB9 and assign cost center to GL account at company code level.
    regards
    Srinivas

  • PI 7.0 JMS Rcv Adapter: Object not found in lookup of XIJMSService

    Hi all,
    When sending messages to an JMS queue, JNDI setup, in the Message Monitoring we get  the error:
    "MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Object not found in lookup of XIJMSService.: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of XIJMSService."
    The Error points to the Module Processor. Indeed the 2 default Modules are used:
    - SAP XI JMS Adapter/ConvertMessageToBinary
    - SAP XI JMS Adapter/SendBinarytoXIJMSService
    This second Module contains 'XIJMSService', and according the documentation (http://help.sap.com/saphelp_nw04/Helpdata/EN/4d/a3bc97ff55c742af7faed661635baf/content.htm)
    , it uses a parameter named 'modulePoolAdminLookupName' with the default value: /XIJMSService.
    This is how far we get. Even when we assign a different value to the parameter 'modulePoolAdminLookupName' , the error in the Message Monitoring stays the same.
    Has anyone experience with this issue, or any ideas to investigate or solve this?
    Thanx in advance, Walter.

    Hi all,
    Issue is solved. Apparently the Java-version on our XI-server (1.4.2) could not handle the Vendor's JMS-driver we installed (ActiveMQ 4.1.2.jar) so we tried using the ActiveMQ 4.1.0.jar as the JMS-driver. Now it is OK and message are put on the destination queue.
    Walter.

  • File - RFC - File without BPM  ---  Object not found in ResponseOneWayBean

    I am using PI 7.1, and facing the following error in File - RFC - File without BPM
    "Error: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of ResponseOneWayBean."
    I am using 1 sender CC for File ( CC_LOTUSNOTES_CHALET_SND)
                      1 receiver CC for File( CC_LOTUSNOTES_CHALET_RCV_FILE)
                     1 receiver CC for RFC (CC_LOTUSNOTES_CHALET_RCV_RFC)
    in the sender CC I have given Module parameter as:
    Processing sequene
    CallSapAdapter    Local Enterprise Bean 2
    AF_Modules/ResponseOneWayBean  Local Enterprise Bean 3
    AF_Modules/RequestResponseBean  Local Enterprise Bean 1
    Module configuration:
    1     passThrough          true
    3    receiverChannel      CC_LOTUSNOTES_CHALET_RCV_FILE
    3    receiverService       Bus_File
    pls let me know where i am wrong

    Hi
    i am facing following error:
    2009-12-03 09:08:17       Information        The application sent the message asynchronously using connection File_http://sap.com/xi/XI/System. Returning to application.
    2009-12-03 09:08:17       Information       MP: processing local module localejbs/AF_Modules/ResponseOnewayBean
    2009-12-03 09:08:17      Error                 MP: exception caught with cause java.lang.NullPointerException
    2009-12-03 09:08:17      Error                 File processing failed with java.lang.NullPointerException

  • Error in AS2 adapter. Object not found in lookup of as2.. Its urgent..!!

    Hi AS2 experts,
    *When i tried sending an xml to partner system using AS2 adapter.. Mapping is succesfull and message is failing in receiver AS2 adapter.
    1. I used the following parameters in AS2 Module.
    ModuleName                                                       Module Key
    localejbs/Seeburger/solution/as2                              solutionid
    localejbs/ModuleProcessorExitBean                          exit
    ModuleKey    ParameterName         ParameterValue
    exit                JNDIName     deployedAdapters/SeeXIAS2/shareable/SeeXIAS2
    Iam getting the following error.
    Success     MP: Processing local module localejbs/Seeburger/solution/as2
    Error :   MP: Exception caught with cause com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of as2.
    Error :  Exception caught by adapter framework: Object not found in lookup of as2.
    Error : Delivery of the message to the application using connection AS2_http://seeburger.com/xi failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Object not found in lookup of as2.: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of as2..
    2. When i tried by removing Modulename "localejbs/Seeburger/solution/as2"
    It is showing the below error like AS2ID is missing.. but its there in party configuration.
    Error :
    Unable to forward message to JCA adapter. Reason: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing.., SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing..       
    Can anyone has idea what might be wrong.
    Kindly suggest me asap.
    Thank You.
    Regards
    Seema.

    Hi,
    Plesae go through below links
    /people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
    EDI Adapter by SeeBurger
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/206e2b65-2ca8-2a10-edad-f2d1391644cb
    B2B(EDI) Integration using SAP Netweaver XI and Seeburger AS2 Adapter
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00f9cdf5-d812-2a10-03b4-aff3bbf792bf
    Integrating XI with SeeBurger
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6dc02f5d-0601-0010-cd9d-f4ff9a7e8c33
    and
    Check with below configuration
    Configuration for AS2 or simple file adapter.
    We are using this module configuration for converting EDI D96A format to XML:
    1 localejbs/CallBicXIRaBean Local Enterprise Bean bic
    2 localejbs/CallSapAdapter Local Enterprise Bean 0
    bic destSourceMsg MainDocument
    bic destTargetMsg MainDocument
    bic logAttID ConverterLog
    bic mappingName See_E2X_ORDERS_UN_D96A
    bic saveSourceMsg ORIGINAL_EDI
    can someone please tell me the module configuration for reverse mapping at receiver end,i.e.,XML to EDI D96A
    basically,I need mapping name for this.
    Scheme=AS2ID
    Name = WAN network no of the partner who is sending the file
    Sender AS2 adapter configuration:
    Few changes in the module parameter tab.
    localejbs/CallBicXIRaBean bic
    CallSapAdapter 0
    Module configuration:
    bic= destSourceMsg = MainDocument
    bic= destTargetMsg = MainDocument
    bic= mappingName= See_E2X_EDIFACT_ORDERS_UN_D93A which does the conversion of EDI-XML.
    Receiver AS2 adapter configuration:
    When the adapter is used in a receiver channel, it obtains a message from the Integration Engine and sends it to a business partner. In this case, the following steps are required:
    1. Define the channel as a Receiver channel on the Parameters tab
    2. The last step ensures the module sequence is complete:
    Make sure the module ModuleProcessorExitBean does exist in the module sequence:
    Module Name=localejbs/ModuleProcessorExitBean
    Type=L
    Module Key=Exit
    • with the following module parameter:
    Module Key=Exit
    Parameter Name=JNDIName
    Parameter Value=deployedAdapters/SeeXIAS2/shareable/SeeXIAS2
    File receiver:
    localejbs/CallBicXIRaBean bic
    CallSapAdapter 0
    Module configuration:
    bic= destSourceMsg = MainDocument
    bic= destTargetMsg = MainDocument
    bic= mappingName= See_X2E_EDIFACT_ORDERS_UN_D93A
    ONly the mapping program name changes from E2X to X2E. IN ur case it will be See_X2E_ORDERS_UN_D96A
    Thanks
    Swarup

  • XI--- OpenJMS error  Object not found in lookup of XIJMSService

    Hi all,
    I am trying XI-->OpenJms (Server).
    I have included openJms.jar library in aii_af_jmsproviderlib.sda and deployed using SDM.
    In JMS receiver adapter I am using the following Configuration:
    Transport protocol: JMS Provider with JNDI .
    Queue connection factory : org.exolab.jms.client.JmsConnectionFactory
    JNDI-Name JMSQueue: org.exolab.jms.client.JmsQueue
    Context Factory : org.exolab.jms.jndi.InitialContextFactory
    JNDI-Server adress :tcp://10.1.102.5:3035
    In RWB i am getting the following for this scenario:
    Error Exception caught by adapter framework: Object not found in lookup of XIJMSService.
    Kindly help what other configurations are required.
    Best Regards,
    Lemine

    Hi Sebastian,
    I have still the same problem.
    could you send me a screen shot with your configuration?
    (openjms configuration).
    my email: [email protected]
    I have the following standard configuration in my modul:
    Verarbeitungssequenz:
    Modulname:                                         Type:
    ocalejbs/SAP XI JMS Adapter/ConvertMessageToBinary    L
    localejbs/SAP XI JMS Adapter/SendBinarytoXIJMSService L
    could that cause for that prblem ?
    Thanks for helpful answer.
    best regars.
    Lemine.

  • XI error: Object not found in lookup of RfcAFBean

    Hi Forum,
    In a scenario, I have a BPM, which makes a synchronous call to R/3 for execution of a rfc enabled Function module, while doing so, it gives an error as a response, which i can see in the MONI:
    <b>com.sap.aii.af.ra.ms.api.DeliveryException: Object not found in lookup of RfcAFBean</b>
    what can be the reason for the error? and how can it be avoided?
    pls help

    it might be a cache problem, run the CPA cache and check.
    ir, id cache the data here also.

  • WebDynpro app stopped working (Object not found in lookup of JPA_DEFAULT)

    Hi,
    my scenario is as as described in my posting (java.lang.IllegalArgumentException: model object must not be null). after i got everything up and working it suddenly stopped.
    the wedynpro project is implicitly stopped, beacuse earecipe could not start, reason:
    [code]
    Error occurred on server 15129750 during startApp demo.sap.com/earecipe : com.sap.engine.services.orpersistence.container.deploy.ActionException: Clusterwide exception: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of JPA_DEFAULT.
    at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:582)
    at... [see details]
    Error occurred on server 15129750 during startApp demo.sap.com/earecipe : com.sap.engine.services.orpersistence.container.deploy.ActionException: Clusterwide exception: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of JPA_DEFAULT.
    at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:582)
    at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:343)
    at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:637)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at com.sap.engine.services.orpersistence.container.deploy.impl.ComplexModuleCreator.initDataSources(ComplexModuleCreator.java:277)
    at com.sap.engine.services.orpersistence.container.deploy.impl.ComplexModuleCreator.initRuntimeModels(ComplexModuleCreator.java:246)
    at com.sap.engine.services.orpersistence.container.deploy.impl.ComplexModuleCreator.createModule(ComplexModuleCreator.java:151)
    at com.sap.engine.services.orpersistence.container.deploy.impl.ComplexModuleCreator.execute(ComplexModuleCreator.java:81)
    at com.sap.engine.services.orpersistence.container.deploy.impl.ComplexActionAdapter.execute(ComplexActionAdapter.java:34)
    at com.sap.engine.services.orpersistence.container.deploy.impl.ApplicationCreator.execute(ApplicationCreator.java:74)
    at com.sap.engine.services.orpersistence.container.deploy.impl.PersistenceContainer.prepareStart(PersistenceContainer.java:187)
    at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:211)
    at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:171)
    at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:393)
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:480)
    at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhasesImpl(StartTransaction.java:537)
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.runMe(ParallelAdapter.java:149)
    at com.sap.engine.services.deploy.server.application.ParallelAdapter$2.run(ParallelAdapter.java:350)
    at com.sap.engine.frame.core.thread.Task.run(Task.java:73)
    at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:130)
    at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:226)
    [/code]
    whats that supposed to mean, i'm not using any JPA functionality at the moment.
    regards,
        christian

    Hi,
    you have to define a datasource alias for your db (in "Application Resources" in SAP Netweaver Administrator) or use an existing one and add it as a "jta-data-source" child for your corresponding persistence unit within your persistence.xml
    regards,
      christian

  • JMS Destination object not found

    Hi everyone,
    I have a weird problem with SunONE Message Queue 3.
    I have a queue and a connection factory defined (using the SunONE Application Server 7 Admin Console) as well as a physical resource.
    I can verify their existance using asadmin....
    asadmin>list-jmsdest -u admin server1
    queue_1 queue {}
    asadmin>list-jms-resources -u admin server1
    jms/newqueue_1
    jms/newQCF_1
    When I attempt to deploy a message driven EJB I get the following error
    SEVERE ( 1484): javax.naming.InvalidNameException: JMS Destination object not found:`jms/newqueue_1`
    This question has already been asked on the App Server board here http://swforum.sun.com/jive/thread.jspa?threadID=15517&tstart=0 (that post is nine months old btw).
    I am posting this here in the hope that someone more familiar with MQ3 may have an idea of how to help us.
    Thanks in advance.

    I have now solved this problem. External JNDI resources are required in the AppServer.
    They can be created with the following commands:
    asadmin>create-jndi-resource jndilookupname jms/newQCF_1 resourcetype javax.jms.QueueConnectionFactory factoryclass com.sun.jndi.fscontext.RefFSContextFactory enabled=true --property java.naming.provider.url=file\:///c\:/java/mqjndi:java.naming.security.authentication=none newQCF_1
    asadmin>create-jndi-resource jndilookupname jms/queue_1 resourcetype javax.jms.Queue factoryclass com.sun.jndi.fscontext.RefFSContextFactory enabled=true --property java.naming.provider.url=file\:///c\:/java/mqjndi newqueue_1
    Both these commands assume that the file system context is being used however the LDAP commands are similar (just more properties).
    This step, which seems vital, is missing from the AppServer documentation (in fact it specifically states that this step is not necessary). The irony is that I found the answer in the IBM MQ documentation!

  • ERROR:NameNotFoundException: Object not found in lookup of MYDB

    NW 7.0 SP3
    I have defined a datasource MYDB by VA,and it tests OK.
    I wonder about how to use it in J2EE project or in WebDynpro Project.
    I created a J2EE project ,in the Web Model ,i new a class Test:
    public static Connection myconn(){    
         Context ctx = new InitialContext();
         Connection conn = null;
         DataSource dataSource = null;
         dataSource = (DataSource) ctx.lookup("MYDB");
        conn = dataSource.getConnection();
        return conn;
    then in webcontent ,I new a JSP page:
    <%
      Connection conn = com.Test.myconn();
    java.sql.Statement st = conn.createStatement();
    String str = "select * from TMP_NAME";
    ResultSet rs = st.executeQuery(str);
    rs.next();
    String str1 = rs.getString(1);
    %>
    after build and deploy the *.ear,the server returns an error:
             com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of MYDB.
    Now I do not know anything else should I do,such as create a reference,and so on.
    Thanks for you all help!

    Hi,
    Try the code as below:
    DataSource ds = (DataSource) context.lookup("java:comp/env/jdbc/MYDB")
    Go through the below help link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/82/fdbf2085f65f43a71e755fc904478d/content.htm
    Go through the below thread for more info:
    Re: datasource using VA
    Regards,
    Charan

Maybe you are looking for