Urgent!! Errors during one EJB calling other EJB in OAS

Hi, I got the following errors when I try to
use one Session EJB to call another Session EJB in OAS 4.0.8.1, the EJB is deployed to OAS from JDeveloper 3.0. The code I used to call other EJB is the same as the code in client side:
public String callAnotherEJB(String strXML)
throws RemoteException, CreateException {
String ejbUrl = "oas://scott:8889/Mapping3/Mapping3";
String result;
// Setup the environment
Hashtable environment = new Hashtable();
// Turn JNDI on to OAS
environment.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, "oracle.oas.naming.jndi.RemoteInitCtxFactory");
// Lookup the URL
Mapping3Home homeInterface = null;
try {
Context ic = new InitialContext(environment);
homeInterface = (Mapping3Home)javax.rmi.PortableRemoteObject.narrow(ic.lookup(ejbUrl), Mapping3Home.class);;
result = remoteInterface.responseEJBCall(strXML);
return result;
catch (Exception e) {
e.printStackTrace();
return "error during invoking responseEJBCall: "+e.getMessage();
=====
The error is as follows:
Creating an initial context
CORBA: org.omg.CORBA.BAD_OPERATION: ; nested exception is:
org.omg.CORBA.BAD_OPERATION:
java.rmi.ServerException: CORBA: org.omg.CORBA.BAD_OPERATION: ; nested exception is:
org.omg.CORBA.BAD_OPERATION:
at javax.rmi.oas.corba.CorbaRemoteExceptionHelperValue.OBVObjFrom(Compiled Code)
at TwoEJB2._stub_APP_T2.callEJBMapping(Compiled Code)
at TwoEJB2.TwoEJB2Client.main(Compiled Code)
Can anyone help me?
Thanks!1
Scott
null

Using arrays instead of vectors, the Oracle WSDL toolkit was able to generate stubs/serializers for all my objects. Thanks for the tip! :)
For future reference though, is there any way at all for the Oracle WSDL toolkit to auto-generate stubs/serializers for objects wrapped inside a Vector?

Similar Messages

  • Error when One EJB calls anothe EJB

    Hi,
    I got the following error when I use one EJB call another EJB in OAS 4.0.8.1, the code is developed in JDeveloper 3.0/Win NT 4.0/SP5.
    Can anyone give me some ideas? or is there any samples in this case?
    Thanks a lot!
    Creating an initial context
    Looking for the EJB published as 'APP/APPEJB'
    Creating a new EJB instance
    Calling APPEJB methods...
    CORBA: org.omg.CORBA.BAD_OPERATION: ; nested exception is:
    org.omg.CORBA.BAD_OPERATION:
    java.rmi.ServerException: CORBA: org.omg.CORBA.BAD_OPERATION: ; nested exception is:
    org.omg.CORBA.BAD_OPERATION:
    at javax.rmi.oas.corba.CorbaRemoteExceptionHelperValue.OBVObjFrom(Compiled Code)
    at TwoEJB._stub_APPEJB.callEJBMapping(Compiled Code)
    at TwoEJB.TwoEJBClient.main(Compiled Code)
    null

    Home handle is an object that identifies an enterprise bean. A client may serialize the handle, and then later deserialize it to obtain a reference to the enterprise bean.
    The javax.ejb.HomeHandle is similar to javax.ejb.Handle. Just as the Handle is used to store and retrieve reference to EJB objects, the HomeHandle is used to store and retrieve remote references to EJB homes. HomeHandle can be stored and later used to access an EJB home remote refrence the same way that a Handle can be serialized and later used to access an EJB object's remoe reference.
    import java.io.*;
    import javax.ejb.EJBHome;
    import javax.ejb.HomeHandle;
    public class WorkingWithEJBHandles {
    public static void main( String[] args ) throws Exception {
    EJBHome aHome = null;
    // get hold of a home interface
    HomeHandle handle = aHome.getHomeHandle();
    ByteArrayOutputStream bos = new ByteArrayOutputStream();
    ObjectOutputStream oos = new ObjectOutputStream( bos );
    oos.writeObject( handle );
    byte[] handleAsBytes = bos.toByteArray();
    // store in the database, on file. howwever you want
    FileInputStream fis = new FileInputStream( "fileobj" );
    ObjectInputStream ois = new ObjectInputStream( fis );
    HomeHandle theHandle = (HomeHandle) ois.readObject();
    // get back the EJBHome from the HomeHandle
    aHome = theHandle.getEJBHome();
    // the same kind of logic also holds for EJBHandles, as well as
    // HomeHandles
    Transfer Object is a Design pattern. Refer to Core J2EE Design Pattern.
    http://java.sun.com/blueprints/corej2eepatterns/Patterns/TransferObject.html
    Rgds,
    Seetesh

  • Calling EJB from other EJB on other J2EE Server

    Can I call EJB from other EJB on other J2EE Server
    Servers - Websphere 5.0
    Do i require home & remote interface of that ejb on client side also
    Help me, please

    the problem is actually i require that is specific to websphere
    for example i want to call a method ion that ejb
    say my ejb name is myejb
    so the normal way i should call is
    InitialContext initialContext = new InitialContext();     
    Object homeObject = initialContext.lookup("ejb/MyEjbHome");
    MyEJBHome myEJBHome =(MYEjbHome )javax.rmi.PortableRemoteObject.narrow(homeObjectMYEjbHome.class);
              myEJB = lSHome.create();
    myEJB.someMethod();
    but here i am having class for home and remote available
    now if other app server i am not having this classes then what to do

  • Error during JNDI lookup Accessing Remote EJB (access to web service restricted using declarative security model)

    Hello everyone,
    I developed a Web Service prototype accessing remote EJB using the EJB
    control with special syntax in the jndi-name attribute: @jws:ejb
    home-jndi-name="t3://10.10.245.70:7131/AccountDelegatorEJB"
    Everything works fine, but I get an error when I restrict access to my web
    service with a declarative security model by implementing steps provided in
    help doc:
    - Define the web resource you wish to protect
    - Define which security role is required to access the web resource
    - Define which users are granted the required security role
    - Configure WebLogic Server security for my web service(Compatibility
    Security/Users)
    I launch the service by entering the address in a web browser. When prompted
    to accept the digital certificate, click Yes, when prompted for network
    authentication information, enter username and password, navigate to the
    Test Form tab of Test View, invoke the method by clicking the button and I
    get the following exception:
    <error>
    <faultcode>JWSError</faultcode>
    <faultstring>Error during JNDI lookup from
    jndi:t3://10.10.245.70:7131/AccountDelegatorEJB[Lookup failed for
    name:t3://10.10.245.70:7131/AccountDelegatorEJB]</faultstring>
    <detail>
    <jwErrorDetail> weblogic.jws.control.ControlException: Error during JNDI
    lookup from jndi:t3://10.10.245.70:7131/AccountDelegatorEJB[Lookup failed
    for name:t3://10.10.245.70:7131/AccountDelegatorEJB] at
    weblogic.knex.control.EJBControlImpl.acquireResources(EJBControlImpl.java:27
    8) at
    weblogic.knex.context.JwsInternalContext.acquireResources(JwsInternalContext
    .java:220) at
    weblogic.knex.control.ControlHandler.invoke(ControlHandler.java:260) at
    ibas.AccountControl.getTransactionHistory(AccountControl.ctrl) at
    ibas.GetSecure.retrieveVisaHistoryTxn(GetSecure.jws:64) </jwErrorDetail>
    </detail>
    </error>
    I have a simple Hello method as well in my WebService (which is also
    restricted) and it works fine, but remote EJB access doesn't. I tested my
    prototype on Weblogic 7.2 and 8.1 platforms - same result.
    Is that a bug or I am missing some additional configuration in order to get
    that working. Has anyone seen similar behavior? Is there a known resolution?
    Or a suggested way to work around the problem?
    Thank you.
    Andre

    Andre,
    It would be best if this issue is handled as an Eval Support case. Please
    BEA Customer Support at http://support.beasys.com along with the required
    files, and request that an Eval support case be created for this issue.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Andre Shergin" <[email protected]> wrote in message
    news:[email protected]...
    Anurag,
    I removed "t3", still get an error but a different one (Unable to create
    InitialContext:null):
    <error>
    <faultcode>JWSError</faultcode>
    <faultstring>Error during JNDI lookup from
    jndi://secuser1:[email protected]:7131/AccountDelegatorEJB[Unable to
    create InitialContext:null]</faultstring>
    <detail>
    <jwErrorDetail> weblogic.jws.control.ControlException: Error during JNDI
    lookup from
    jndi://secuser1:[email protected]:7131/AccountDelegatorEJB[Unable to
    create InitialContext:null] at
    weblogic.knex.control.EJBControlImpl.acquireResources(EJBControlImpl.java:27
    8) at
    weblogic.knex.context.JwsInternalContext.acquireResources(JwsInternalContext
    .java:220) at
    weblogic.knex.control.ControlHandler.invoke(ControlHandler.java:260) at
    ibas.AccountControl.getTransactionHistory(AccountControl.ctrl) at
    ibas.GetVisaHistoryTransactions.getVisaHistoryTxn(GetVisaHistoryTransactions
    .jws:67) </jwErrorDetail>
    </detail>
    </error>
    Note: inter-domain communication is configured properly. The Web Service to
    remote EJB works fine without a declarative security.
    Any other ideas?
    Thank you for your help.
    Andre
    "Anurag" <[email protected]> wrote in message
    news:[email protected]...
    Andre,
    It seems you are using the URL
    jndi:t3://secuser1:[email protected]:7131/AccountDelegatorEJB
    whereas you should not be specifying the "t3:" protocol.
    The URL should be like
    jndi://secuser1:[email protected]:7131/AccountDelegatorEJB
    Please do let me know if you see any issues with this.
    Note that this will only allow you to access remote EJBs in the same WLS
    domain. For accessing EJBs on another domain, you need to configure
    inter-domain communication by
    following a few simple steps as mentioned at
    http://e-docs.bea.com/wls/docs81/ConsoleHelp/jta.html#1106135. This link has
    been provided in the EJB Control Workshop documentation.
    Regards,
    Anurag
    "Andre Shergin" <[email protected]> wrote in message
    news:[email protected]...
    Raj,
    I tried that before, it didn't help. I got similar error message:
    <error>
    <faultcode>JWSError</faultcode>
    <faultstring>Error during JNDI lookup from
    jndi:t3://secuser1:[email protected]:7131/AccountDelegatorEJB[Lookup
    failed for
    name:t3://secuser1:[email protected]:7131/AccountDelegatorEJB]</faultstr
    ing>
    <detail>
    <jwErrorDetail> weblogic.jws.control.ControlException: Error during JNDI
    lookup from
    jndi:t3://secuser1:[email protected]:7131/AccountDelegatorEJB[Lookup
    failed for
    name:t3://secuser1:[email protected]:7131/AccountDelegatorEJB] at
    weblogic.knex.control.EJBControlImpl.acquireResources(EJBControlImpl.java:27
    8) at
    weblogic.knex.context.JwsInternalContext.acquireResources(JwsInternalContext
    .java:220) at
    weblogic.knex.control.ControlHandler.invoke(ControlHandler.java:260) at
    ibas.AccountControl.getTransactionHistory(AccountControl.ctrl) at
    ibas.GetSecure.retrieveVisaHistoryTxn(GetSecure.jws:64) </jwErrorDetail>
    </detail>
    </error>
    Anything else should I try?
    P.S. AccountDelegatorEJB, the remote EJB my Web Service calls is NOTaccess
    restricted.
    I hope there is a solution.
    Thanks,
    Andre
    "Raj Alagumalai" <[email protected]> wrote in message
    news:[email protected]...
    Andre,
    Can you try using the following url with username and password
    jndi://username:password@host:7001/my.resource.jndi.object ?
    once you add webapp level security, the authenticated is the user who
    invokes the EJB.
    http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/controls/ejb/con
    CreatingANewEJBControl.html?skipReload=true
    has more info on using remote EJB's.
    Hope this helps.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Alla Resnik" <[email protected]> wrote in message
    news:[email protected]...
    Hello everyone,
    I developed a Web Service prototype accessing remote EJB using the EJB
    control with special syntax in the jndi-name attribute: @jws:ejb
    home-jndi-name="t3://10.10.245.70:7131/AccountDelegatorEJB"
    Everything works fine, but I get an error when I restrict access to my
    web
    service with a declarative security model by implementing steps
    provided
    in
    help doc:
    - Define the web resource you wish to protect
    - Define which security role is required to access the web resource
    - Define which users are granted the required security role
    - Configure WebLogic Server security for my web service(Compatibility
    Security/Users)
    I launch the service by entering the address in a web browser. Whenprompted
    to accept the digital certificate, click Yes, when prompted for
    network
    authentication information, enter username and password, navigate tothe
    Test Form tab of Test View, invoke the method by clicking the buttonand
    I
    get the following exception:
    <error>
    <faultcode>JWSError</faultcode>
    <faultstring>Error during JNDI lookup from
    jndi:t3://10.10.245.70:7131/AccountDelegatorEJB[Lookup failed for
    name:t3://10.10.245.70:7131/AccountDelegatorEJB]</faultstring>
    <detail>
    <jwErrorDetail> weblogic.jws.control.ControlException: Error during
    JNDI
    lookup from jndi:t3://10.10.245.70:7131/AccountDelegatorEJB[Lookupfailed
    for name:t3://10.10.245.70:7131/AccountDelegatorEJB] at
    weblogic.knex.control.EJBControlImpl.acquireResources(EJBControlImpl.java:27
    8) at
    weblogic.knex.context.JwsInternalContext.acquireResources(JwsInternalContext
    .java:220) at
    weblogic.knex.control.ControlHandler.invoke(ControlHandler.java:260)at
    ibas.AccountControl.getTransactionHistory(AccountControl.ctrl) at
    ibas.GetSecure.retrieveVisaHistoryTxn(GetSecure.jws:64)</jwErrorDetail>
    </detail>
    </error>
    I have a simple Hello method as well in my WebService (which is also
    restricted) and it works fine, but remote EJB access doesn't. I testedmy
    prototype on Weblogic 7.2 and 8.1 platforms - same result.
    Is that a bug or I am missing some additional configuration in order
    to
    get
    that working. Has anyone seen similar behavior? Is there a knownresolution?
    Or a suggested way to work around the problem?
    Thank you.
    Andre

  • Canu00B4t call an EJB from other EJB

    Hi developers,
    I need do the next task :
    I have a EJB in an EAR and i need call some functionality from other EJB in diferent EAR , when execute the code show the next message error:
    java.rmi.RemoteException: com.sap.engine.services.ejb.exceptions.BaseRemoteException: Exception in method generaMDMOutput.
         at com.sapconsulting.customer.inc.CustomerIncObjectImpl0.generaMDMOutput(CustomerIncObjectImpl0.java:135)
         at com.sapconsulting.customer.inc.CustomerIncObjectImpl0p4_Skel.dispatch(CustomerIncObjectImpl0p4_Skel.java:127)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java(Compiled Code))
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java(Inlined Compiled Code))
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java(Compiled Code))
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Caused by: java.lang.ClassCastException: com.sap.engine.interfaces.cross.ObjectReferenceImpl
         at com.sapconsulting.customer.inc.CustomerIncBean.generaMDMOutput(CustomerIncBean.java:141)
         at com.sapconsulting.customer.inc.CustomerIncObjectImpl0.generaMDMOutput(CustomerIncObjectImpl0.java:119)
         ... 11 more
    the code to invoke the EJB is the next:
    ctx = new InitialContext();
    TestEJBLocalHome home = (TestEJBLocalHome) ctx.lookup("sap.com/TestEJB_ear/TestEJBBean");
                   TestEJB servicio=(TestEJB)home.create();
    the EJB are in the same server , please help,
    regards

    Hi Siarhei,
    thank's for your answers , i'll explain the scenario , i think i copied wrong the code that i have ,
    i have two EAR's applications , i want to call one EJB from the other EJB in other EAR , the call have to be remote , my code is the next :
    ctx = new InitialContext();
    Object obj = ctx.lookup("sap.com/TestEJB_ear/TestEJBBean");  
    TestEJBHome home = (TestEJBHome) PortableRemoteObject.narrow(obj,TestEJBHome.class);
    TestEJB servicio= home.create();
    i've confugured the ejb-xml.jar adding
    <ejb-ref>
    <ejb-ref-name>ejb/TestEJBBean</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.innovativesystems.onl.TestEJBHome</home>
    <remote>com.innovativesystems.onl.TestEJB</remote>
    </ejb-ref>
    I've configured the  ejb-j2ee-jar.xml adding
    <ejb-ref>
    <ejb-ref-name>ejb/TestEJBBean</ejb-ref-name>
    <jndi-name>sap.com/TestEJB_ear/TestEJBBean</jndi-name>
    </ejb-ref>
    I've configured the application-j2ee-engine.xml adding a hard reference
    <reference
    reference-type="hard">
    <reference-target
    provider-name="sap.com"
    target-type="application">TestEJB_ear</reference-target>
    </reference>
    with all this configuration still send me the message java.lang.classcast ,
    something is missing????  ,
    regards

  • Calling EJBs from other EJBs in other J2EE Server?

    How can I call one EJB on one J2EE Server from other
    EJB on other J2EE Server?
    Help me, please.
    Dmitry Tumanov

    Basically call the beans as if you were calling them in the same server through their remote interfaces. Get a InitialContext into the other appserver and then get the home object, narrow it and create a remote reference. You can follow the standard implementation just make sure that the InitialContext you create has the right properties, ie. context factory, urls, etc to the OTHER appserver.

  • Error during deployment of stateless session EJB using EJB 3.0

    having trouble deploying a stateless session bean to app server 10.1.3.1 oc4j container.
    deceided to go through oracles demo: How-To Develop a Stateless Session EJB using EJB 3.0 (http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-ejb30-stateless-ejb/doc/how-to-ejb30-stateless-ejb.html).
    the demo encounters the same issue. so i assume there is something wrong with the app server set up, and not my source code.
    here is the deployment log:
    [Jul 1, 2009 11:59:25 AM] Application Deployer for test_ws STARTS.
    [Jul 1, 2009 11:59:25 AM] Copy the archive to C:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\test_ws.ear
    [Jul 1, 2009 11:59:25 AM] Initialize C:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\test_ws.ear begins...
    [Jul 1, 2009 11:59:25 AM] Unpacking test_ws.ear
    [Jul 1, 2009 11:59:25 AM] Done unpacking test_ws.ear
    [Jul 1, 2009 11:59:25 AM] Initialize C:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\test_ws.ear ends...
    [Jul 1, 2009 11:59:25 AM] Starting application : test_ws
    [Jul 1, 2009 11:59:25 AM] Initializing ClassLoader(s)
    [Jul 1, 2009 11:59:25 AM] Initializing EJB container
    [Jul 1, 2009 11:59:25 AM] Loading connector(s)
    [Jul 1, 2009 11:59:26 AM] Starting up resource adapters
    [Jul 1, 2009 11:59:26 AM] Processing EJB module: ejb30ws-ejb.jar
    [Jul 1, 2009 11:59:26 AM] application : test_ws is in failed state
    [Jul 1, 2009 11:59:26 AM] Operation failed with error: java.lang.NoClassDefFoundError
    the opmn log reveals the same error, but no more detail.
    any ideas???
    /stuck

    I am having exactly the same issue. Was this issue resolved? If so, please share the resolution and if not can someone please suggest what could be wrong.
    Thanks

  • EJB calling another EJB - special considerations

    I am trying to call an EJB from another EJB in the same container. I am able to get hold of the home interface but get an error when I try to narrow and get the Bean.
    The error I get is a class cast exception. Cannot narrow ....
    I read in some place that we need to do soemthing special with the DD's to achieve this. Any answers. I can post more code examples or send you samples.
    Any help will be gr8tly appreciated.
    Vijay

    Hi,
    If ure able to get the Home then you must call the create method on the home to create the Bean and not narrow it again. I think you use narrowing to get the Home and not the bean.
    I hope this helps
    neo

  • Heap Error during Windows OCIEnvCreate() call

    During a call to:
    OCIEnvCreate(&m_handles.m_pOCIEnv,
                             OCI_THREADED | OCI_OBJECT,
                             NULL,
                             NULL, NULL, NULL,
                             0, (dvoid **)0);
    A crash occurs which reports the following in the MSVC 2005 debug output window:
    HEAP[AutoTest.EnvironmentPkg.DatabaseConnectionManager.exe]: Invalid Address specified to RtlFreeHeap( 00150000, 0015ED80 )
    Windows has triggered a breakpoint in AutoTest.EnvironmentPkg.DatabaseConnectionManager.exe.
    This may be due to a corruption of the heap, and indicates a bug in AutoTest.EnvironmentPkg.DatabaseConnectionManager.exe or any of the DLLs it has loaded.
    We are using version 10.2.0.3 of the Oracle Basic Lite client on Windows XP, called via SQLAPI++.
    I have verified that the memory we allocate is not being corrupted before this call. Using Compuware's Boundschecker VS add-in, I've verified that the heap error is in a memory range allocated by oraociicus10.dll. Since the OCIEnvCreate call is the first time that oraociicus10.dll allocates memory (i.e. my code doesn't have a chance to trample Oracle's data structures), there's a good chance IMO that it's an internal Oracle problem.
    Boundschecker reports errors such as:
    Pointer Error: When calling LocalFree, pointer 0x03A60A5C is not at the beginning of the block 0x03A60998 (65536) allocated by LocalAlloc.
    These errors are reported in a Debug build; the same kind of error happens during a Release build.
    According to a previous thread, a special release of the OCCI interface DLLs was needed to fix MSVC 2005 compatibility issues like this one. (See Debug in Visual Studio 2005 (vs8) ? )
    I've posted looking for any such release for OCI DLLs, but haven't found any yet ( MSVC 2005 compatible OCI DLLs? )
    My questions:
    1. Could this be a compatibility problem between the OCI DLLs and MSVC 2005? and
    2. If not, what could the problem be?
    Thanks in advance for your help.

    Are you using the oracle thin client ...?? Try using the full client install.
    Is it working with OCI_DEFAULT or OCI_THREADED alone ???
    Please note the following points in WINDOWS Platform.;
    1)Try always a fresh installation for Oracle and VS products.Preferably a clean install of the OS.
    2)If don't want to remove OS , do a clean UNINSTALL (This should include a complete clean up in the Registry and file systems).
    3)Always reboot the system before and after installations and try your code.
    If the above sequences are followed most of the DLL/LIB problem are solved for me.

  • ABAP runtime errors during customer extension to other company code

    Hi,
    I have created one customer in company code 1111 with tcode XD01.
    When i am trying to create the same customer in the other company codes 2222,3333, and 4444, with tcode FD15, system is giving runtime errors like below.
    The following syntax error occurred in the program RFBIDE20             
    "Field "BSZA1_D0100-MOB_NUMBER" is unknown. It is neither in one of the"
    Error in ABAP application program.                                                                               
    The current ABAP program "RFBIDE10" had to be terminated because one of the
    statements could not be executed
    *This is probably due to an error in the ABAP program *
    Could anyone help me out in this regard.
    Thanks,
    Srinu.

    Hi
    Check SAP Note - 757821
    Thank You,

  • Urgent: Error during Import Metadata for IDoc

    Hi
      We successfully imported the metadata for IDoc from R/3 in Development and Test box and everything worked fine.
    Now, when we try to import the metadata for IDoc in Production box it gives me an error" Basic type 'IDoc name' does not exist". I went back to the development box and I try to import some other Idoc metadata and it gives me the above error message.
      I checked RFC destination, IDX1 and everything seems to works fine. Any suggestions will be helpful.
    Thanks
    Mohan

    Hi Mohan,
    Did you execute IDX2? And if so, please delete existing meta data for port and reimport, if you still receive an error check your R/3 connections (SM59) and port definitions in the receiver IDOC channel (directory)!
    Cheers,
    Paul

  • URGENT: error during deployment of a process flow through OMB

    I have a process flow which uses a mapping. The mapping has already been synchronized to its corresponding process flow activity.Now i again synchronize the activity with the same mapping to which it was already synchronized
    OMB+> OMBSYNCHRONIZE PROCESS_FLOW 'MAIL_TRY/RND_MAIL' ACTIVITY 'EMP_COUNT' TO MAPPING '/NEW_PROJECT2/NEW_SOURCE/EMP_COUNT' USE (SYNCHRONIZE_STRATEGY 'REPLACE
    ', MATCHING_STRATEGY 'MATCH_BY_NAME')
    Synchronize Completed
    now i create a deployment action plan and deploy the process flowand get the error as follows:
    OMB+> OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'MAIL_TRY' ADD ACTION 'MAIL_TRY ' SET PROPERTIES (OPERATION) VALUES ('CREATE') SET REFERENCE PROCESS_FLOW_PACKAGE '/NEW_PROJECT2/MOD1/MAIL_TRY'
    Action plan MAIL_TRY created.
    OMB+> OMBCOMMIT
    Commit complete.
    OMB+> OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'MAIL_TRY'
    OMB05602: An unknown Deployment error has occured for Object Type API8028: No signature is available for mapping EMP_COUNT because the generation language is undefined. Please set the generation language property of this mapping, or generate this mapping to set the generation language property to a default value..
    In order to remove that error i made the following alteration in the mapping property:
    Context changed.
    OMB+> OMBALTER MAPPING 'EMP_COUNT' SET PROPERTIES (GENERATION_LANGUAGE) VALUES ('PLSQL')
    and then deployed the process folw only to get the following error:
    OMB05602: An unknown Deployment error has occured for Object Type Trying to access invalid Object.
    Element ID: 282901
    Status: 4
    Owning FCO: 282896
    Thanks in advance!!!!!

    A couple of things you could try are:
    1 - OMBCOMPILE MAPPING 'EMP_COUNT' instead of doing the OMBALTER as this will ensure that the property is set correctly, just in case there's any problem there,
    2 - "set OMBDEBUG on" before doing your OMBDEPLOY to display any additional stack traces.

  • "Multicast" support for EJB-EJB calls to cluster

    What I have to work with:
    + WebLogic Server 5.1 cluster
    + Stateless session EJBs
    What I want to do:
    + Be able to know list of available servers in the cluster
    and use this list to broadcast same information to all EJBs
    with same name in cluster
    + I understand that the cluster-aware EJB stub has this list
    when a client gets a home reference to the EJB Object
    + I have not seen any specific WebLogic API to get this list
    either by accessing the cluster-aware JNDI table or the
    cluster-aware EJB stub.
    + Othwerwise, I would then need to implement my own server
    list manager to get this list. Such task should not be that difficult.
    Why I want to do the above:
    + I would like to implement a EJB sendAll() method that will
    send the same request to all EJBs of the same JNDI name in the cluster.
    + Please correct me if I am wrong but I have not seen anywhere
    in the WebLogic 5.1 documentation regarding the automatic multicast
    ability of broadcasting EJBs calls via EJB-to-EJB communication to a
    cluster.
    + I understand that multicasting is only used internally, ie,
    heartbeats.
    Plus, I believe that RMI does not support multicasting.

    I'd like to hear a bit more about what you are trying to do. (at a
    higher level)
    RMI / EJB is a point-to-point model. A client is making an RMI call to
    a server. Granted, in our clustering solution, there may not be one
    physical server, but the idea is to give the appearance of one big,
    reliable server.
    -- Rob
    Ren Bitonio wrote:
    >
    What I have to work with:
    + WebLogic Server 5.1 cluster
    + Stateless session EJBs
    What I want to do:
    + Be able to know list of available servers in the cluster
    and use this list to broadcast same information to all EJBs
    with same name in cluster
    + I understand that the cluster-aware EJB stub has this list
    when a client gets a home reference to the EJB Object
    + I have not seen any specific WebLogic API to get this list
    either by accessing the cluster-aware JNDI table or the
    cluster-aware EJB stub.
    + Othwerwise, I would then need to implement my own server
    list manager to get this list. Such task should not be that difficult.
    Why I want to do the above:
    + I would like to implement a EJB sendAll() method that will
    send the same request to all EJBs of the same JNDI name in the cluster.
    + Please correct me if I am wrong but I have not seen anywhere
    in the WebLogic 5.1 documentation regarding the automatic multicast
    ability of broadcasting EJBs calls via EJB-to-EJB communication to a
    cluster.
    + I understand that multicasting is only used internally, ie,
    heartbeats.
    Plus, I believe that RMI does not support multicasting.--
    Coming Soon: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnweblogic.com

  • Microsoft office professional 2013 encountered an error during setup

    Trying to install the 32 bit version of Office 2013.  Planning to keep all my old versions.  I have Access 2002 and 2003 that I need.  Was not installing Outlook 2013 as Outlook 2010 is the only Office app that I care if I have issues with
    and my IT dept controls a a bit more.  Getting the error "microsoft office professional 2013 encountered an error during setup" with no other info.  I have Windows 7, full admin rights, and closed all other Office apps.  I Just did a restart
    which also installed all current Windows patches.  Got the same error. 
    Any ideas or where to look for the cause?

    I am having the same problem and am dead in the water. 
    Just in case one of the suggestions might have worked, I went through all of those above with no luck.  At first the issue was that the preview version of the OSE was left behind by the uninstall, but I replaced it with the 2010 version, no dice. 
    I then uninstalled all office products to get the OSE uninstalled, and setup now gets beyond that hangup, but still fails.  Following is the section of the log with the errors (MS email me for the full log):
    2012/11/07 15:38:25:897::[5980] MSI(ACTIONSTART): 'Action 15:38:25: PublishProduct. Publishing product information'
    2012/11/07 15:38:25:897::[5980] MSI(INFO): 'Action start 15:38:25: PublishProduct.'
    2012/11/07 15:38:25:901::[5980] MSI(INFO): 'Action ended 15:38:25: PublishProduct. Return value 1.'
    2012/11/07 15:38:25:901::[5980] MSI(ACTIONSTART): 'Action 15:38:25: InstallExecute. '
    2012/11/07 15:38:25:901::[5980] MSI(INFO): 'Action start 15:38:25: InstallExecute.'
    2012/11/07 15:38:25:921::[5980] MSI(COMMONDATA): 'Message type: 0, Argument: 1033'
    2012/11/07 15:38:25:921::[5980] MSI(COMMONDATA): 'Message type: 1, Argument: Microsoft Office Shared 64-bit MUI (English) 2013'
    2012/11/07 15:38:25:922::[5980] MSI(ACTIONSTART): 'Action 15:38:25: AllocateRegistrySpace. Allocating registry space'
    2012/11/07 15:38:25:923::[5980] MSI(ACTIONSTART): 'Action 15:38:25: ProcessComponents. Updating component registration'
    2012/11/07 15:38:25:934::[5980] MSI(ACTIONSTART): 'Action 15:38:25: CAOSMRegisterLogonTaskRollback.x64.1033. '
    2012/11/07 15:38:25:935::[5980] MSI(ACTIONSTART): 'Action 15:38:25: CAOSMRegisterFallBackTaskRollback.x64.1033. '
    2012/11/07 15:38:25:937::[5980] MSI(ACTIONSTART): 'Action 15:38:25: RemoveODBC. Removing ODBC components'
    2012/11/07 15:38:25:937::[5980] MSI(ACTIONSTART): 'Action 15:38:25: InstallFiles. Copying new files'
    2012/11/07 15:38:26:142::[5980] MSI(ACTIONSTART): 'Action 15:38:26: CAOSMRegisterLogonTask.x64.1033. '
    2012/11/07 15:38:26:247::[5980] MSI(INFO): 'CAQuietExec: ERROR: The system cannot find the file specified.'
    2012/11/07 15:38:26:247::[5980] MSI(INFO): 'CAQuietExec: '
    2012/11/07 15:38:26:248::[5980] MSI(INFO): 'CAQuietExec: Error 0x80070001: Command line returned an error.'
    2012/11/07 15:38:26:249::[5980] MSI(INFO): 'CAQuietExec: Error 0x80070001: CAQuietExec Failed'
    2012/11/07 15:38:26:250::[5980] MSI(INFO): 'CustomAction CAOSMRegisterLogonTask.x64.1033 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)'
    2012/11/07 15:38:26:253::[5980] MSI(INFO): 'Action ended 15:38:26: InstallExecute. Return value 3.'
    2012/11/07 15:38:26:322::[5980] MSI(COMMONDATA): 'Message type: 2, Argument: 0'
    2012/11/07 15:38:26:323::[5980] MSI(COMMONDATA): 'Message type: 2, Argument: 0'
    2012/11/07 15:38:26:324::[5980] MSI(COMMONDATA): 'Message type: 0, Argument: 1033'
    2012/11/07 15:38:26:324::[5980] MSI(COMMONDATA): 'Message type: 1, Argument: Microsoft Office Shared 64-bit MUI (English) 2013'
    2012/11/07 15:38:26:325::[5980] MSI(ACTIONSTART): 'Action 15:38:26: Rollback. Rolling back action:'
    2012/11/07 15:38:26:325::[5980] Log level changed from: Standard to: Verbose
    2012/11/07 15:38:26:465::[5980] MSI(INFO): 'CAQuietExec: ERROR: The system cannot find the file specified.'
    2012/11/07 15:38:26:466::[5980] MSI(INFO): 'CAQuietExec: '
    2012/11/07 15:38:26:467::[5980] MSI(INFO): 'CAQuietExec: Error 0x80070001: Command line returned an error.'
    2012/11/07 15:38:26:468::[5980] MSI(INFO): 'CAQuietExec: Error 0x80070001: CAQuietExec Failed'
    2012/11/07 15:38:26:469::[5980] MSI(INFO): 'CustomAction CAOSMRegisterFallBackTaskRollback.x64.1033 returned actual error code 1603 but will be translated to success due to continue marking'
    2012/11/07 15:38:26:524::[5980] MSI(INFO): 'CAQuietExec: ERROR: The system cannot find the file specified.'
    2012/11/07 15:38:26:525::[5980] MSI(INFO): 'CAQuietExec: '
    2012/11/07 15:38:26:526::[5980] MSI(INFO): 'CAQuietExec: Error 0x80070001: Command line returned an error.'
    2012/11/07 15:38:26:527::[5980] MSI(INFO): 'CAQuietExec: Error 0x80070001: CAQuietExec Failed'
    2012/11/07 15:38:26:527::[5980] MSI(INFO): 'CustomAction CAOSMRegisterLogonTaskRollback.x64.1033 returned actual error code 1603 but will be translated to success due to continue marking'
    2012/11/07 15:38:26:537::[5980] MSI(COMMONDATA): 'Message type: 2, Argument: 1'
    2012/11/07 15:38:26:542::[5980] MSI(COMMONDATA): 'Message type: 2, Argument: 1'
    2012/11/07 15:38:26:546::[5980] MSI(INFO): 'Action ended 15:38:26: INSTALL. Return value 3.'
    -Ingram

  • Tp error during EHPI checks NTCHK phase

    Hi,
    We are running the EHPI and recieve the following error during the Checks phase:
    Severe error(s) occured in phase PREP_GENCHECKS/NTACT_CHK!
    Last error code set: Process 'tp' exited with 12, see '/uexports/DV1/EHPI/abap/log/TP.ECO' for details
    Error during "tp ntaction"-call - check TP.ECO
    TP.ECO=
    SAPehpi> Starting subprocess 16165 at 20101007100438
    ENV: DIR_LIBRARY=/uexports/DV1/EHPI/abap/exenew
    ENV: JAVA_HOME=/opt/java1.4
    ENV: LD_LIBRARY_PATH=/uexports/DV1/EHPI/abap/exenew:/uexports/DV1/EHPI/jvm/jre/lib/ia64/server:/uexports/DV1/EHPI/jvm/jre/
    lib/ia64:/uexports/DV1/EHPI/jvm/jre/../lib/ia64
    ENV: NLS_LANG=AMERICAN_AMERICA.UTF8
    ENV: ORACLE_BASE=/oracle
    ENV: ORACLE_HOME=/oracle/DV1/102_64
    ENV: ORACLE_SID=DV1
    ENV: PATH=/uexports/DV1/EHPI/abap/exenew:/opt/java1.4/bin:/oracle/DV1/102_64/bin:.:/home/dv1adm:/usr/sap/DV1/SYS/exe/run:/
    usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/fcms/bin:/
    usr/contrib/kwdb/bin:/usr/bin/X11:/opt/graphics/common/bin:/opt/upgrade/bin:/opt/ipf/bin:/opt/resmon/bin:/opt/perf/bin:/op
    t/wbem/bin:/opt/wbem/sbin:/opt/prm/bin:/opt/sec_mgmt/bastille/bin:/opt/dsau/bin:/opt/dsau/sbin:/opt/gnome/bin:/opt/ignite/
    bin:/opt/sec_mgmt/spc/bin:/opt/ssh/bin:/opt/hpsmh/bin:/opt/wlm/bin:/opt/hpnpl//bin:/usr/contrib/bin/X11:/opt/sfm/bin:/opt/
    mozilla:/opt/perl_32/bin:/opt/perl_64/bin:/opt/swa/bin:/oa/cdirect/ndm/bin:.
    ENV: SAPSYSTEMNAME=DV1
    ENV: auth_shadow_upgrade=0
    ENV: dbms_type=ORA
    ENV: dbs_ora_schema=SAPR3
    ENV: dbs_ora_tnsname=DV1
    EXECUTING /uexports/DV1/EHPI/abap/exenew/tp (/uexports/DV1/EHPI/abap/exenew/tp) ntaction ntop=chkant DV1 pf=/uexports/DV1/
    EHPI/abap/bin/DEFAULT.TPP srctt=DDNTT srctf=DDNTF dsttt=DDNTT dsttf=DDNTF intdel=YES -Dntact_timecmp=no protyear=40
    initial value of NLS_LANG: 'AMERICAN_AMERICA.UTF8'
    This is /uexports/DV1/EHPI/abap/exenew/tp version 372.04.88 (release 701, unicode enabled)
    Warning: Parameter INTERRUPT is no longer used.
    Warning: unknown parameter MAX_SEMAPHORE_WAIT in parameter file (line 8).
    Warning: Parameter DAYLIGHT_SHUTDOWN is no longer used.
    Warning: Parameter WITH_TACOB is no longer used.
    Warning: Parameter IMPDP_BY_EVENT is no longer used.
    Warning: Parameter INTERRUPT is no longer used.
    Warning: unknown parameter MAX_SEMAPHORE_WAIT in parameter file (line 8).
    Warning: Parameter DAYLIGHT_SHUTDOWN is no longer used.
    Warning: Parameter WITH_TACOB is no longer used.
    Warning: Parameter IMPDP_BY_EVENT is no longer used.
    Warning: Parameter DBCONFPATH is no longer used.
    tp finished with return code: 12
    meaning:
      A tool used by tp aborted
    Process with ID 16165 terminated with status 12
    NTCHK.LOG=
    1 ETQ201 Entering upgrade-phase "NTACT_CHK" ("20101007100438")
    2 ETQ367 Connect variables are set for standard instance access
    4 ETQ399 System-nr = '00', GwService = 'sapgw00'
    4 ETQ399 Environment variables:
    4 ETQ399   dbs_ora_schema=SAPR3
    4 ETQ399   auth_shadow_upgrade=0
    4 ETQ399 Set environment for standard connect:
    4 ETQ399 ENV: dbs_ora_schema=SAPR3
    4 ETQ399 ENV: auth_shadow_upgrade=0
    4 ETQ399 Set RFC variables for standard connect:
    4 ETQ399 System-nr = '00', GwService = 'sapgw00'
    4 ETQ399 Set tool parameters for standard connect:
    4 ETQ399   default TPPARAM: DEFAULT.TPP
    1 ETQ200 Executing actual phase 'PREP_GENCHECKS/NTACT_CHK'.
    1 ETQ399 Phase arguments:
    2 ETQ399 Arg[0] = 'CHKANT'
    2 ETQ399 Arg[1] = 'DDNTT'
    2 ETQ399 Arg[2] = 'DDNTF'
    2 ETQ399 Arg[3] = 'DDNTT'
    2 ETQ399 Arg[4] = 'DDNTF'
    2 ETQ399 Arg[5] = ''
    2 ETQ399 Arg[6] = 'NOBUFRESET'
    2 ETQ399 Arg[7] = ''
    2 ETQ399 Arg[8] = ''
    2 ETQ399 Arg[9] = ''
    2 ETQ399 Arg[10] = 'NTCHK.ELG'
    4 ETQ380 computing toolpath for request "TP_NTACTION_SHD"
    4 ETQ381 request "TP_NTACTION_SHD" means "tp ntact for shadow tables"
    4 ETQ382 translates to group "R3UP_TOOL_GROUP_SHDNEW"
    4 ETQ383 translates to path "exenew"
    4 ETQ383 translates to path "exe"
    2 ETQ399 Checking of nametabs ...
    4 ETQ399 2010/10/07 10:04:38: put_execute: (tp) forkpid:16165
    It doesn't even get to the point of creating NTCHK.ELG
    -rw-rr   1 dv1adm     sapsys      287923 Oct  7 10:19 SAPehpichk.log
    -rw-rr   1 dv1adm     sapsys       13144 Oct  7 10:19 TROUBLE_SAVELOGS.LOG
    -rw-rr   1 dv1adm     sapsys      151957 Oct  7 10:19 SAPehpi_troubleticket_logs.sar
    -rw-rw-r--   1 dv1adm     sapsys       10039 Oct  7 10:19 SLOG700
    -rw-rw-r--   1 dv1adm     sapsys       80609 Oct  7 10:19 ALOG700
    -rw-rr   1 dv1adm     sapsys        9238 Oct  7 10:19 TP.ECO
    -rw-rr   1 dv1adm     sapsys        1729 Oct  7 10:19 SAPehpi_troubleticket.log
    -rw-rw-r--   1 dv1adm     sapsys     112988412 Oct  7 10:19 PN401007.DV1
    -rw-rr   1 dv1adm     sapsys        1292 Oct  7 10:05 NTCHK.LOG
    -rw-rr   1 dv1adm     sapsys       57379 Oct  7 10:05 SAPehpiConsole.log
    -rw-rw-r--   1 dv1adm     sapsys      148736 Oct  7 10:04 ULOG10_4
    -rw-rr   1 dv1adm     sapsys       10692 Oct  7 10:04 SAPehpi.ECO
    -rw-rr   1 dv1adm     sapsys       10581 Oct  7 10:04 NTCHK.SAV
    takderp1:dv1adm 530> ll NT*
    -rw-rr   1 dv1adm     sapsys        1292 Oct  7 10:05 NTCHK.LOG
    -rw-rr   1 dv1adm     sapsys       10581 Oct  7 10:04 NTCHK.SAV
    SAPehpi_troubleticket.log=
    This trouble ticket was created by SAPehpi on 20101007101947
    SAPehpi broke during phase NTACT_CHK in module PREP_GENCHECKS / General checks
    Error Message: Process 'tp' exited with 12, see '/uexports/DV1/EHPI/abap/log/TP.ECO' for details
    Error during "tp ntaction"-call - check TP.ECO
    Summary of SAPehpi:
    SAPehpi Release:        7.10/1
    SAPehpi Version:        SAPehpi version 7.10/1
    Start Release:          700
    Target Release:         701
    Summary of host system details:
    SID:                    DV1
    Host:                   takderp1
    MS Host:                takderp1
    GW Host:                takderp1
    Start Path:             /usr/sap/DV1/SYS/exe/run
    Kernel Path:            /usr/sap/DV1/SYS/exe/run
    Summary of operating system details:
    OS Type:                HP-UX IA64
    OS Version:             11.23
    Summary of database details:
    Database Type:          ora
    Database Version:       10.2.0.2.0
    Summary of RFC details:
    Host:                   takderp1
    GW Host:                takderp1
    Client:                 000
    Destination:            DV1
    Language:
    System No.:             00
    Any help would be appreciated.
    Thanks,
    Jim

    Hi Eric,
    I have the log posted above but here is an excert from the TP.ECO log.
    Warning: Parameter INTERRUPT is no longer used.
    Warning: Parameter DAYLIGHT_SHUTDOWN is no longer used.
    Warning: Parameter WITH_TACOB is no longer used.
    Warning: Parameter IMPDP_BY_EVENT is no longer used.
    Warning: Parameter DBCONFPATH is no longer used.
    tp finished with return code: 12
    meaning:
      A tool used by tp aborted
    Process with ID 22858 terminated with status 12
    Regards,
    JIm

Maybe you are looking for

  • How do i make my Video look like a dream.

    Hi, I was doing a cartoon video thing. And There should be this person Dreaming about stuff. Usually in Tv shows, Dreams are Black and While + a smooshy black frame thing. I know how to do the Ones where i make a frame that looks like a box. But it l

  • BW 7.4 Transformation error

    Hi Experts, There is a change in the structure of  _ty_s_TG_1 in the end routine of BW 7.4. The DATAPAKID is missing . Subroutine pool : RS_ROUTINE in BW 7.4 it is like this CLASS lcl_transform DEFINITION. PRIVATE SECTION.     TYPE-POOLS: rsd, rstr.

  • Import oracle.xml.sql.query

    what file do I need to use this class? Thanks.

  • Delivary Class

    Hi Guys, What does Delivery Class mean? What are the types of delivery class? Regards, Kiran

  • Image in tcode se78.

    Well I uploaded a logo through tcode se78. The image was initially in .jpg format. I converted it into .bmp using paintbrush. The background of the logo is white. But when I upload this logo into sap through se78 the background gets a light grey shad