Help me to invoke an EJB deployed in weblogic

Hi,
I have these EJB's deployed in weblogic. Im not able to invoke it...coz of these roles and permissions associated with it...here's my code and the o/p i got
import java.security.Principal;
import java.util.Hashtable;
import javax.ejb.SessionContext;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.rmi.PortableRemoteObject;
import com.convergys.geneva.j2ee.product.ProductPK;
import com.convergys.geneva.j2ee.product.ProductSession;
import com.convergys.geneva.j2ee.product.ProductSessionHome;
import com.convergys.geneva.j2ee.product.ProductSessionImpl;
public class invoke {
public static void main(String args[]) {
     com.convergys.geneva.j2ee.product.ProductSessionHome productSessionHomeobj = null;
     com.convergys.geneva.j2ee.product.ProductSession productSession = null;
try {
     Hashtable env = new Hashtable();
     com.convergys.geneva.j2ee.product.ProductPK ProductPK1=new ProductPK(1);
     env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
     env.put(Context.PROVIDER_URL, "t3://172.20.212.252:10000" );
     env.put(Context.SECURITY_PRINCIPAL,"wlsadmin");
     env.put(Context.SECURITY_CREDENTIALS,"wlsadmin");
     InitialContext ic = new InitialContext(env);
          System.out.println("Got Initial context" + ic);
Object sless = ic.lookup("Convergys/ECA/Product");
System.out.println("Value of the sless object is :" + sless);
     productSessionHomeobj = (ProductSessionHome) PortableRemoteObject.
narrow(sless, ProductSessionHome.class);
     System.out.println("before");
     SessionContext ses = null;
productSession = productSessionHomeobj.create();
     productSession.readAllProductAttributeData_5_1(ProductPK1,1);
} catch(Exception e) {
e.printStackTrace();
and the o/p i got is
Got Initial contextjavax.naming.InitialContext@e1d5ea
Value of the sless object is :IOR:000000000000004a524d493a636f6d2e636f6e7665726779732e67656e6576612e6a3265652e70726f647563742e50726f6475637453657373696f6e486f6d653a303030303030303030303030303030300000000000000100000000000003fc000102000000000f3137322e32302e3231322e3235320000271000000000008c0042454108010300000000077365727665720000000000000000004a524d493a636f6d2e636f6e7665726779732e67656e6576612e6a3265652e70726f647563742e50726f6475637453657373696f6e486f6d653a303030303030303030303030303030300000000000000433333800000000014245412a000000100000000000000000441358834f7da8d000000006000000010000002c00000000000100200000000300010020000100010501000100010100000000030001010000010109050100010000001900000047000000000000003f687474703a2f2f3137322e32302e3231322e3235323a31303030302f6265615f776c735f696e7465726e616c2f636c61737365732f4543412e656172402f00000000001f000000040000000300000020000000040000000100000021000000580000000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c5400000000000000000000000000000000004245410300000248000000000000000c726f756e642d726f62696e000100000000000016436f6e7665726779732e4543412e50726f64756374000000000000010000004a524d493a636f6d2e636f6e7665726779732e67656e6576612e6a3265652e70726f647563742e50726f6475637453657373696f6e486f6d653a303030303030303030303030303030300000000000000100000000000001ac000102000000000f3137322e32302e3231322e3235320000271000000000008c0042454108010300000000077365727665720000000000000000004a524d493a636f6d2e636f6e7665726779732e67656e6576612e6a3265652e70726f647563742e50726f6475637453657373696f6e486f6d653a303030303030303030303030303030300000000000000433333800000000014245412a000000100000000000000000441358834f7da8d000000005000000010000002c00000000000100200000000300010020000100010501000100010100000000030001010000010109050100010000001900000047000000000000003f687474703a2f2f3137322e32302e3231322e3235323a31303030302f6265615f776c735f696e7465726e616c2f636c61737365732f4543412e656172402f00000000001f000000040000000300000020000000040000000100000021000000580000000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c540000000000000000000000000000000000000000004f7da8d0
before
java.rmi.AccessException: CORBA NO_PERMISSION 0 Maybe; nested exception is:
     org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: Maybe
     at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
     at javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
     at com.convergys.geneva.j2ee.product._ProductSessionHome_Stub.create(Unknown Source)
     at invoke.main(invoke.java:46)
Caused by: org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: Maybe
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
     at java.lang.reflect.Constructor.newInstance(Unknown Source)
     at java.lang.Class.newInstance0(Unknown Source)
     at java.lang.Class.newInstance(Unknown Source)
     at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(Unknown Source)
     at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(Unknown Source)
     at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(Unknown Source)
     at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(Unknown Source)
     at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(Unknown Source)
     at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(Unknown Source)
     at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
     ... 2 more
Is there some kind of security in ejb?. If so how can do it? Kindly help

Hi,
Some improvement regarding the code. I found i had to use the logincontext to login to the session so i had modified my code like this which for the most part i got from this blog(http://weblogic-wonders.com/weblogic/2010/06/15/jaas-login-in-weblogic-server/)
here's the code....
public class invoke {
public static void main(String args[]) {
     com.convergys.geneva.j2ee.product.ProductSessionHome productSessionHomeobj = null;
     com.convergys.geneva.j2ee.product.ProductSession productSession = null;
try {
     Hashtable env = new Hashtable();
     com.convergys.geneva.j2ee.product.ProductPK ProductPK1=new ProductPK(1);
     env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
     env.put(Context.PROVIDER_URL, "t3://172.20.212.252:10000" );
     env.put(Context.SECURITY_PRINCIPAL,"wlsadmin");
     env.put(Context.SECURITY_CREDENTIALS,"wlsadmin");
     InitialContext ic = new InitialContext(env);
          System.out.println("Got Initial context" + ic);
          LoginContext lc = new LoginContext("wlsadmin", new invoke.CallbackHandler("wlsadmin","wlsadmin", "t3://172.20.212.252:10001"));
          System.out.println("LoginContext:: ");
Object sless = ic.lookup("Convergys/ECA/Product");
System.out.println("Value of the sless object is :" + sless);
     productSessionHomeobj = (ProductSessionHome) PortableRemoteObject.
narrow(sless, ProductSessionHome.class);
     System.out.println("before");
     SessionContext ses = null;
productSession = productSessionHomeobj.create();
     productSession.readAllProductAttributeData_5_1(ProductPK1,1);
} catch(Exception e) {
e.printStackTrace();
private static final class CallbackHandler implements javax.security.auth.callback.CallbackHandler
private String userid;
private String password;
private String url;
public CallbackHandler(String userid, String password, String url)
this.userid = userid;
this.password = password;
this.url = url;
public void handle(Callback[] callbacks) throws UnsupportedCallbackException
for (int i = 0; i < callbacks.length; i++)
if (callbacks[i] instanceof TextOutputCallback)
TextOutputCallback toc = (TextOutputCallback)callbacks;
System.err.println("JAAS callback: " + toc.getMessage());
else if (callbacks[i] instanceof NameCallback)
NameCallback nc = (NameCallback)callbacks[i];
nc.setName(userid);
else if (callbacks[i] instanceof PasswordCallback)
PasswordCallback pc = (PasswordCallback)callbacks[i];
pc.setPassword(password.toCharArray());
else if (callbacks[i] instanceof weblogic.security.auth.callback.URLCallback)
URLCallback uc = (URLCallback)callbacks[i];
uc.setURL(url);
else
System.out.println(callbacks[i] + "Unrecognized Callback");
throw new UnsupportedCallbackException(callbacks[i], "Unrecognized Callback");
but stilli get the error
java.lang.SecurityException: Unable to locate a login configuration
     at com.sun.security.auth.login.ConfigFile.<init>(Unknown Source)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
     at java.lang.reflect.Constructor.newInstance(Unknown Source)
     at java.lang.Class.newInstance0(Unknown Source)
     at java.lang.Class.newInstance(Unknown Source)
     at javax.security.auth.login.Configuration$3.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.login.Configuration.getConfiguration(Unknown Source)
     at javax.security.auth.login.LoginContext$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.login.LoginContext.init(Unknown Source)
     at javax.security.auth.login.LoginContext.<init>(Unknown Source)
     at invoke.main(invoke.java:51)
Caused by: java.io.IOException: Unable to locate a login configuration
     at com.sun.security.auth.login.ConfigFile.init(Unknown Source)
     ... 15 more

Similar Messages

  • EJB deployed in Weblogic 10.3 invoking CORBA

    Hello,
    we are running an EJB3 application deployed in WebLogic 10.3 that must communicate with CORBA.
    We're having the following exception when trying to submit an WorkOrder.
    javax.ejb.EJBException: EJB Exception: ; nested exception is:
    org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No; nested exception is: org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
    org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
    at weblogic.corba.idl.RemoteDelegateImpl.postInvoke(RemoteDelegateImpl.java:477)
    at weblogic.corba.idl.RemoteDelegateImpl.invoke(RemoteDelegateImpl.java:384)
    at weblogic.corba.idl.RemoteDelegateImpl.invoke(RemoteDelegateImpl.java:341)
    at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
    at pt.vodafone.indev.esm.SMSProvExt._WorkOrderIntfStub.submit(_WorkOrderIntfStub.java:183)
    at pt.vodafone.in.business.WorkOrderFacade.createWorkOrder(WorkOrderFacade.java:227)
    I've searched the forum for similar problems and the solution was to include the wlfullclient.jar in client classpath.
    I've done that already however the problem persists. (maybe it's necessary to configure some IIOP parameters)
    Anyone have any clue for this problem?
    Thanks in advance.
    Regards.

    Hi,
    include wls-api.jar in your classpath and provide me an update...
    Regards.
    Kal.

  • Calling EJB deployed on Weblogic 10.3 from WebSphere Application Server 6

    Hi,
    We are trying to call an EJB(2.1) deployed in Weblogic 10.3 from WebSphere Application Server 6.
    The problem is that the jars containing Weblogic's initial context factory are compiled with JDK5. (Client jar was built as per [http://download.oracle.com/docs/cd/E15051_01/wls/docs103/client/jarbuilder.html] .)
    WebSphere is still running on JDK1.4.
    Therefore when trying to get the InitialContext to lookup up the bean we get major/minor version errors because of the compiler level mismatch.
    Has anyone faced a scenario like this and come up with a solution?
    Are there 1.4 jars for Weblogic 10.3 out there?
    Any help?
    Thanks

    Hi Dan,
    Yes I am using EJB 3. I saw this thread earlier also but :
    1. In my case I am not calling the EJB 3.0 methods directly. I am using a java client (Cataloged as a Java Class Library) which does the lookup and calls the EJB methods. (I am not cataloging and calling the EJB 3.0 methods directly).
    2. It is working perfectly fine when the EJB is deployed in Weblogic 10.0 or 10.2.
    I am very much new to this so please bear with my small and silly questions! Thanks a lot for you help !
    Cheers !
    Rajat

  • EJB  Deployment in WebLogic 8.1  very very urgent

    Hi
    In order deploy EJB application in Weblogic 8.1, is it necessary to compile
    the application in WebLogic.ejbc. I did not find such files in WebLogic 8.1
    In weblogic 7.0 versiion has such files.
    The present procedure is as follows.
    1. Create a jar file contains all class files.
    2. Create a jar file contains class jar files, plus .xml files
    3. Deploy into weblogic 8.1 server EJB Deployment utility.
    ==================
    Please help me.
    Murali

    They are reccomended because the next step going from your simple single EJB
    to anything interesting, like adding more EJB's adding web-apps, adding
    web-services etc etc involves ears. If the setup and overhead for an EAR is
    easy, then just start there.
    But no if you just doing helloworld you of course dont have to ears.
    cheers
    mbg
    "Christopher R. Gardner" <[email protected]> wrote in message
    news:3fc0560e$[email protected]..
    >
    "Mark Griffith" <[email protected]> wrote:
    You can still run ejbc from the command line its still there. And you
    can
    still run weblogic.Deployer. (I dont ever reccomend jaring up in dev,
    it
    just takes longer, do exploded its easier and faster).
    But ear's are easy, see:So ears are recommended even if you're just doing EJBs (e.g., a simpleHello World)
    and no web apps (none needed for the Hello World or a PC client)?
    http://www.niffgurd.com/mark/work/blog/
    Cheers
    mbg
    "Christopher R. Gardner" <[email protected]> wrote in message
    news:3fbfd6c6$[email protected]..
    My understanding is ejbc has been deprecated and replaced with appc.Moreover,
    BEA is encourgaging developers to deploy ear files. All I want todo is
    to use
    ant to deploy a jar file with a single EJB in it. I'm not findingthe WL
    documentation
    very helpful. Hopefully, you'll have better luck than I.
    "skmurali" <[email protected]> wrote:
    Hi
    In order deploy EJB application in Weblogic 8.1, is it necessary
    to compile
    the application in WebLogic.ejbc. I did not find such files in
    WebLogic
    8.1
    In weblogic 7.0 versiion has such files.
    The present procedure is as follows.
    1. Create a jar file contains all class files.
    2. Create a jar file contains class jar files, plus .xml files
    3. Deploy into weblogic 8.1 server EJB Deployment utility.
    ==================
    Please help me.
    Murali

  • Jdeveloper WS proxy error while invoking  web service deployed on weblogic

    Hello experts, can you please help me. I have web service deployed on weblogic server.
    I have not set any credential for this web service. I can test the service from SOAPUI without providing any credentials.
    Then I generated WS proxy client using Jdeveloper. When I try to run the client, I do not know why I get security execption (shown below) eventhough I have not secured the web service deployed on weblogic server.
    java.lang.SecurityException: keyStoreFilename is either null or empty string
         at weblogic.wsee.security.util.CertUtils.getCertificate(CertUtils.java:87)
         at pilot1.ContactWSPortTypePortClient.getBSTCredentialProvider(ContactWSPortTypePortClient.java:104)
         at pilot1.ContactWSPortTypePortClient.setPortCredentialProviderList(ContactWSPortTypePortClient.java:78)
         at pilot1.ContactWSPortTypePortClient.main(ContactWSPortTypePortClient.java:46)
    Process exited with exit code 0.
    Here is my client class :
    public static void main(String[] args) {
    try {
    contactWSService = new ContactWSService();
    ContactWSPortType contactWSPortType = contactWSService.getContactWSPortTypePort();
    Map<String, Object> requestContext = ((BindingProvider) contactWSPortType).getRequestContext();
    setPortCredentialProviderList(requestContext);
    // Add your code to call the desired methods.
    // QueryPageInputSecondPage qpisp= new QueryPageInputSecondPage(); //I have commented it in order to resolve security issue
    System.out.println("Inside the client class");
    } catch (Exception ex) {
    ex.printStackTrace();
    Inside the method setPortCredentialProviderList(), I have not provided any credentials, keystores etc. Because weblogic is not setup with SSL and also I have not set up any authorization or authentication for the web service. I do not know why I am able to test it through SOAPUI and why not using WS proxy.
    Appreciate your quick response.
    thanks a lot
    jyothi

    Hello experts, can you please help me. I have web service deployed on weblogic server.
    I have not set any credential for this web service. I can test the service from SOAPUI without providing any credentials.
    Then I generated WS proxy client using Jdeveloper. When I try to run the client, I do not know why I get security execption (shown below) eventhough I have not secured the web service deployed on weblogic server.
    java.lang.SecurityException: keyStoreFilename is either null or empty string
         at weblogic.wsee.security.util.CertUtils.getCertificate(CertUtils.java:87)
         at pilot1.ContactWSPortTypePortClient.getBSTCredentialProvider(ContactWSPortTypePortClient.java:104)
         at pilot1.ContactWSPortTypePortClient.setPortCredentialProviderList(ContactWSPortTypePortClient.java:78)
         at pilot1.ContactWSPortTypePortClient.main(ContactWSPortTypePortClient.java:46)
    Process exited with exit code 0.
    Here is my client class :
    public static void main(String[] args) {
    try {
    contactWSService = new ContactWSService();
    ContactWSPortType contactWSPortType = contactWSService.getContactWSPortTypePort();
    Map<String, Object> requestContext = ((BindingProvider) contactWSPortType).getRequestContext();
    setPortCredentialProviderList(requestContext);
    // Add your code to call the desired methods.
    // QueryPageInputSecondPage qpisp= new QueryPageInputSecondPage(); //I have commented it in order to resolve security issue
    System.out.println("Inside the client class");
    } catch (Exception ex) {
    ex.printStackTrace();
    Inside the method setPortCredentialProviderList(), I have not provided any credentials, keystores etc. Because weblogic is not setup with SSL and also I have not set up any authorization or authentication for the web service. I do not know why I am able to test it through SOAPUI and why not using WS proxy.
    Appreciate your quick response.
    thanks a lot
    jyothi

  • EJB deployment in weblogic 8.1

    I am new to EJB's. I have truly tried to research and solve this problem. I am trying to deploy a simple EJB in wls 8.1.
    Here are snippets of ejb-jar.xml, web.xml, and weblogic-ejb-jar.xml:
    ejb-jar.xml:
    <ejb-jar>
    <enterprise-beans>
    <session>
    <display-name>UserScanSystems</display-name>
    <ejb-name>com.myCo.util.UserScanSystems</ejb-name>
    <home>com.myCo.util.UserScanSystemsHome</home>
    <remote>com.myCo.util.UserScanSystemsRemote</remote>
    <ejb-class>com.myCo.util.UserScanSystemsBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>com.myCo.util.UserScanSystems</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>*</method-name>
    </method>
    <trans-attribute>NotSupported</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    weblogic-ejb-jar.xml:
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>com.myCo.util.UserScanSystems</ejb-name>
    <stateless-session-descriptor>
    <pool>
    <max-beans-in-free-pool>100</max-beans-in-free-pool>
    </pool>
    <stateless-clustering>
    <stateless-bean-is-clusterable>True</stateless-bean-is-clusterable>
    </stateless-clustering>
    </stateless-session-descriptor>
    <enable-call-by-reference>True</enable-call-by-reference>
    <jndi-name>com.myCo.util.UserScanSystems</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    in web.xml:
    <ejb-ref>
    <ejb-ref-name>ejb/UserScanSystems</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.myCo.util.UserScanSystemsHome</home>
    <remote>com.myCo.util.UserScanSystemsRemote</remote>
    <ejb-link>com.myCo.util.UserScanSystems</ejb-link>
    </ejb-ref>
    When I deploy I receive an error message that the ejb-link com.myCo.util.UserScanSystems could not be resolved. com.myCo.util.UserScanSystems is both the ejb-name in ejb-jar.xml and weblogic-ejb-jar.xml and the jndi-name in weblogic-ejb-jar.xml. I have tried another [unique] name for ejb-name but still receive the same problem. I am primarily deploying into an exploded webapp but have also tried deploying ear and war files using >../ejb/ejb.jar#com.myCo.util.UserScanSystems as a relative path to the jar containing the EJB but same type of error.
    what is the ejb-link supposed to be? the jndi-name in weblogic-ejb-jar.xml ? (In my case it's both jndi and ejb-name)
    What am I missing?
    Exception:weblogic.management.ApplicationException: activate failed for dts Module: dts Error: weblogic.management.DeploymentException: Could not setup environment - with nested exception: [weblogic.deployment.EnvironmentException: [J2EE:160101]Error: The ejb-link 'com.myCo.util.UserScanSystems' declared in the ejb-ref or ejb-local-ref 'ejb/UserScanSystems' in the application module 'dts' could not be resolved. The target EJB for the ejb-ref could not be found. Please ensure the link is correct.] weblogic.deployment.EnvironmentException: [J2EE:160101]Error: The ejb-link 'com.myCo.util.UserScanSystems' declared in the ejb-ref or ejb-local-ref 'ejb/UserScanSystems' in the application module 'dts' could not be resolved. The target EJB for the ejb-ref could not be found. Please ensure the link is correct. at weblogic.deployment.EnvironmentBuilder.addEJBLinkRef(EnvironmentBuilder.java:664)
    Note that once the exploded version of application fails I can goto the weblogic console and deploy the EJB using the jar file that gets approot/ejb/ejb.jar but subsequnt deploy attempts at the application still fail.
    If anyone has a working example and could post ejb-jar.xml, pertaining piece of web.xml, and weblogic-ejb-jar.xml that would be GREAT!

    Refer to the ejb-link section in the ejb-local-ref.
    http://edocs.bea.com/wls/docs81/webapp/web_xml.html#1020090
    <ejb-link>../ejb.jar/#com.myCo.util.userScanSystems</ejb-link>

  • EJB deployed but doesnt show up in JNDI tree on weblogic

    Hi,
    I have a sample EJB deployed on weblogic 10.3 server. My Bean class contains following code.
    ========================================================================
    @Stateless (mappedName = "DemoEJB")
    @TransactionManagement(TransactionManagementType.BEAN)
    public class DemoBean implements SessionBean {
         static final boolean verbose = true;
         private transient SessionContext ctx;
         private transient Properties props;
         @SuppressWarnings("deprecation")
         @Override
         public void setSessionContext(SessionContext ctx) throws EJBException,
                   RemoteException {
              // TODO Auto-generated method stub
              if (verbose)
              System.out.println("setSessionContext called");
              this.ctx = ctx;
              props = ctx.getEnvironment();
         public String demoSelect()
    throws RemoteException
    return("hello world");
    ===========================================================================
    I have created a jar file for the above class using eclipse and deployed it on weblogic. I can see the EJB in the <Deployment> on weblogic but it doesnt appear in <EJB> on JNDI tree view. Therefore i cannot access it from my client code (also written in Eclipse IDE).
    I will appreciate any guidance in this regard.
    Thanks
    Regards,
    Awais

    Hi,
    i have the same problem with yours
    This is my annotation with EJB3.0:
    @Stateless(mappedName="ConSession")
    @Remote(ConBeanRemote.class)
    @Local(ConBean.class)
    and i have a weblogic-ejb-jar.xml to define my jndi name
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-ejb-jar xmlns:wls="http://www.bea.com/ns/weblogic/weblogic-ejb-jar"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
              http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd
              http://www.bea.com/ns/weblogic/weblogic-ejb-jar
              http://www.bea.com/ns/weblogic/weblogic-ejb-jar/1.0/weblogic-ejb-jar.xsd">
    <weblogic-enterprise-bean>
         <ejb-name>ConSession</ejb-name>
    <stateless-session-descriptor>
         <business-interface-jndi-name-map>
              <business-remote>com.staffware.ConBeanRemote</business-remote>
              <jndi-name>ConSession#com/staffware/ConBeanRemote</jndi-name>
              </business-interface-jndi-name-map>
              </stateless-session-descriptor>
              <local-jndi-name>com/ConfigurationManagerBeanLocal</local-jndi-name>
         </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    [ the most important: I also have specify JNDI in a java file like this
              beanRemoteJNDIs.put("ConBeanRemote","ConSession#com/staffware/ConBeanRemote");
              beanLocalJNDIs.put("ConBean","java:comp/env/com/ConBean");
    and i can find the ConSession#com/staffware/ConBeanRemote in the jndi tree . but it shows like Multilevel directory tree
    and when i login the website and click the button
    .another error comes out :
    13:35:55,046 ERROR [EJBDelegate] Unable to lookup reference java:comp/env/com/ConBean for ConBean!
    javax.naming.LinkException: [Root exception is javax.naming.LinkException:  [Root exception is javax.naming.NameNotFoun
    dException: While trying to look up /app/ejb/CONFIG-ejb-2.0.jar#ConSession/local-home in /app/webapp/CO
    M/18328287.; remaining name '/app/ejb/CONFIG-ejb-2/0/jar#ConfigurationManagerSession/local-home']; Link Remaining Name:
    'java:app/ejb/CONFIG-ejb-2.0.jar#ConSession/local-home']; Link Remaining Name: 'com/ConBean'
    at weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:104)
    at weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:884)
    at weblogic.jndi.internal.ApplicationNamingNode.resolveObject(ApplicationNamingNode.java:187)
    what should i do ?
    and should i specify the jndi name in the java file . the JNDI name defined in the weblogic is right?
    can you help me ?
    thanks very much in advance!

  • Ejb deployment - classloader question

    Hi Guys
    I have a very basic question regarding EJB deployment in Weblogic 6.1 sp2.
    Is it possble to create an EAR file such that -
    1>it contains a WAR file [of servlets/jsps/client classes] - A
    2>a jar file containing our core server classes[not EJBs] - B
    3>a jar file containing EJBs - C
    here A and C are definitely getting loaded by different class loaders - I want
    the classloader for B to be parent of the classloaders for A and C - so that both
    A and C can see B. - is this possible by some EAR/Weblogic specific way.
    OR
    the best solution is to place the B in the main classpath and deploy the C and
    A in an EAR?
    thanks
    Anamitra

    Inline.
    Anamitra wrote:
    Hi Guys
    I have a very basic question regarding EJB deployment in Weblogic 6.1 sp2.
    Is it possble to create an EAR file such that -
    1>it contains a WAR file [of servlets/jsps/client classes] - A
    2>a jar file containing our core server classes[not EJBs] - B
    3>a jar file containing EJBs - C
    here A and C are definitely getting loaded by different class loaders - I want
    the classloader for B to be parent of the classloaders for A and C - so that both
    A and C can see B. - is this possible by some EAR/Weblogic specific way.Made possible by placing B in the ear at the root level and referring to B with the
    Class-Path manifest directive in the ejb jar file for C. This will put B in the ejb
    classloader's classpath making it visible to C and to A since the classloader for C
    is the parent of the classloader for A. Which, is the recommended way.
    >
    OR
    the best solution is to place the B in the main classpath and deploy the C and
    A in an EAR?
    This works, but the classfiles in B are now static for the uptime of the server. If
    you want to make changes in B, you must restart the server. If you configure it the
    way described above, you can reload the B classes by redeploying the application ear.
    >
    thanks
    AnamitraHere is the link with all of the info:
    http://edocs.bea.com/wls/docs61/programming/packaging.html#1029830
    Bill

  • EJB communication between weblogic and websphere

    Hello:
    I have weblogic 7.1 instance running in machine A and websphere running in machine B. I want to make a call to the ejb deployed from weblogic to websphere. Any experience in this would be very helpful. Or pl. post the procedure.
    Thx in advance.

    I don't think that there is any magic here, although I've never tried it.
    All you need is the compiled EJBHome and EJBObject interfaces in the
    classpath of the calling EJB, get an InitialContext in the JNDI namespace of
    the target EJB container using the name of the JNDI InitialContext Factory,
    do a lookup on the bean making sure to do a PortableRemoteObject.narrow when
    you are casting the Home stub with the vendor specific version of
    PortableRemoteObject(and that may be the real trick), call the appropriate
    create method, and you are rolling.
    I guess the question becomes how to make sure that when you are calling
    PortableRemoteObject.narrow on the Home stub, that you get the vendor
    specific version for the EJB container and JNDI namespace from which you are
    doing the lookup.
    I guess the answer is, I'm guessing. Have you tried it?
    bill
    "nebs om" <[email protected]> wrote in message
    news:30035468.1103738722864.JavaMail.root@jserv5...
    Hello:
    I have weblogic 7.1 instance running in machine A and websphere runningin machine B. I want to make a call to the ejb deployed from weblogic to
    websphere. Any experience in this would be very helpful. Or pl. post the
    procedure.
    >
    Thx in advance.

  • Ejb Deployment - Please help ?????

    I am using Oracle 8.1.7 database ( Oarcle 9i App Server ) & JDeveloper 3.2 , but i am Unable to Deploy The BC4j as a Session bean in Oracle 9i App Server .
    Can u please help me Out , in Getting it work Sucessfully .
    Below is the Command Output .....
    EJB deployment argument list:
    "D:\Program Files\JDeveloper 3.2\java1.2\jre\bin\javaw"
    "-DPATH=D:\Program Files\JDeveloper 3.2\bin;D:\Program Files\JDeveloper 3.2\java1.2\bin"
    -classpath
    "D:\Program Files\JDeveloper 3.2\aurora\lib\aurora_client.jar;D:\Program Files\JDeveloper 3.2\lib\javax-ssl-1_2.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\jasper.zip;D:\Program Files\JDeveloper 3.2\aurora\lib\vbjorb.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\vbjapp.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\vbjtools.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\aurora.zip;D:\Program Files\JDeveloper 3.2\sqlj\lib\translator.zip;D:\Program Files\JDeveloper 3.2\sqlj\lib\runtime.zip;D:\Program Files\JDeveloper 3.2\aurora\lib\mts.jar;E:\JDEV\OurTest;D:\Program Files\JDeveloper 3.2\lib\jbojdbcpatch.zip;D:\Program Files\JDeveloper 3.2\lib\jbodomorcl.zip;D:\Program Files\JDeveloper 3.2\lib\jbodatum12.zip;D:\Program Files\JDeveloper 3.2\lib\jdev-rt.zip;D:\Program Files\JDeveloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;D:\Program Files\JDeveloper 3.2\lib\connectionmanager.zip;D:\Program Files\JDeveloper 3.2\lib\javax_ejb.zip;D:\Program Files\JDevelope
    3.2\lib\jbomt.zip;D:\Program Files\JDeveloper 3.2\lib\jboremote.zip;D:\Program Files\JDeveloper 3.2\lib\jndi.jar;D:\Program Files\JDeveloper 3.2\lib\xmlparserv2.jar;D:\Program Files\JDeveloper 3.2\lib\jbotester.zip;D:\Program Files\JDeveloper 3.2\aurora\lib\aurora_client.jar;D:\Program Files\JDeveloper 3.2\lib\javax-ssl-1_2.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\jasper.zip;D:\Program Files\JDeveloper 3.2\aurora\lib\vbjorb.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\vbjapp.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\vbjtools.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\aurora.zip;D:\Program Files\JDeveloper 3.2\sqlj\lib\translator.zip;D:\Program Files\JDeveloper 3.2\sqlj\lib\runtime.zip;D:\Program Files\JDeveloper 3.2\aurora\lib\mts.jar;D:\Program Files\JDeveloper 3.2\lib\jbocmp.zip;D:\Program Files\JDeveloper 3.2\java1.2\jre\lib\rt.jar;D:\Program Files\JDeveloper 3.2\lib\xmlparserv2.jar"
    oracle.aurora.ejb.deployment.GenerateEjb
    -u
    scott
    -p
    tiger
    -s
    sess_iiop://208.13.222.141:2481:CTPOS
    -republish
    -keep
    -temp
    TEMP
    -descriptor
    "D:\Program Files\JDeveloper 3.2\myprojects\Emp.xml"
    -oracledescriptor
    D:\Program Files\JDeveloper 3.2\myprojects\Emp_oracle.xml
    -generated
    "D:\Program Files\JDeveloper 3.2\myprojects\EmpGenerated.jar"
    "D:\Program Files\JDeveloper 3.2\myprojects\EmpSource.jar"
    org.omg.CORBA.COMM_FAILURE: java.io.IOException: Peer disconnected socket minor code: 0 completed: No
    org.omg.CORBA.portable.InputStream com.visigenic.vbroker.orb.GiopStubDelegate.invoke(org.omg.CORBA.Object, org.omg.CORBA.portable.OutputStream, org.omg.CORBA.StringHolder, org.omg.CORBA.Context, org.omg.CORBA.ContextList)
    org.omg.CORBA.portable.InputStream com.visigenic.vbroker.orb.GiopStubDelegate.invoke(org.omg.CORBA.Object, org.omg.CORBA.portable.OutputStream, org.omg.CORBA.StringHolder)
    org.omg.CORBA.portable.InputStream com.inprise.vbroker.CORBA.portable.ObjectImpl._invoke(org.omg.CORBA.portable.OutputStream, org.omg.CORBA.StringHolder)
    byte[] oracle.aurora.AuroraServices._st_LoginServer.O3Logon_A_Locale(java.lang.String, oracle.aurora.AuroraServices.Locale)
    boolean oracle.aurora.client.Login.authenticate(java.lang.String, java.lang.String, java.lang.String)
    boolean oracle.aurora.jndi.sess_iiop.SessionCtx.login(java.lang.String, java.lang.String, java.lang.String)
    boolean oracle.aurora.jndi.sess_iiop.SessionCtx.login()
    oracle.aurora.jndi.sess_iiop.SessionCtx oracle.aurora.jndi.sess_iiop.ServiceCtx.login()
    void oracle.aurora.server.tools.sess_iiop.ToolImpl.initializeSession()
    java.lang.String[] oracle.aurora.server.tools.sess_iiop.ToolImpl.parseStdArgs(java.lang.String[])
    void oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke(java.lang.String[], java.io.InputStream, java.io.PrintStream, java.io.PrintStream)
    void oracle.aurora.ejb.deployment.GenerateEjb.main(java.lang.String[])
    Exception in thread main
    *** Errors occurred while deploying the EJB to 8i JVM ***
    *** Deployment completed ***
    null

    there area couple of notes at the following location which describe how to setup ias 9i and then deploy bc4k app's to it .
    http://technet.oracle.com/docs/products/jdev/howto.html

  • EJB 2 into weblogic 8, help please.. how to invoke

    hello
    i have one ejb into weblogic, session ejb stateless.
    the ejb-jar file has this:
    <session>
    <description><![CDATA[MiCallejeroSession Session]]></description>
    <display-name>MiCallejeroSessionEJB</display-name>
    <ejb-name>MiCallejeroSessionEJB</ejb-name>
    <home>MiCallejeroEJB.MiCallejeroSessionEJB.MiCallejeroSessionHome</home>
    <remote>MiCallejeroEJB.MiCallejeroSessionEJB.MiCallejeroSession</remote>
    <ejb-class>MiCallejeroEJB.MiCallejeroSessionEJB.MiCallejeroSessionBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    and into the weblogic-ejb.jar i have this:
    <weblogic-enterprise-bean>
    <ejb-name>MiCallejeroSessionEJB</ejb-name>
    <stateless-session-descriptor>
    <pool>
    <max-beans-in-free-pool>50</max-beans-in-free-pool>
    <initial-beans-in-free-pool>0</initial-beans-in-free-pool>
    </pool>
    <stateless-clustering></stateless-clustering>
    </stateless-session-descriptor>
    <transaction-descriptor>
    </transaction-descriptor>
    <jndi-name>Mi.MiCallejeroSessionEJB</jndi-name>
    </weblogic-enterprise-bean>
    when i want to referer to the ejb i think that i must to invoque the jndi name (Mi.MiCallejeroSessionEJB) but if i make this produces one error.
    for running imust to invoke using the:
    MiCallejeroEJB.MiCallejeroSessionEJB.MiCallejeroSessionHome. the home interface.
    wich is my error? can you help me?
    thanks

    You can invoke the SessionEJb without the JNDI name as
    MiCallejeroSessionHome sessionhome=null;
    InitialContext ctx = new InitialContext();
    sessionhome=(MiCallejeroSessionHome)ctx.lookup("java:comp/env/MiCallejeroSessionEJB");
    MiCallejeroSession session=null;
    session=sessionhome.create();
    I think we can invoke the EJBs without their JNDI names also.

  • EJB DEPLOYMENT--plz help

    hi pple..
    can anyone plz help me in telling steps for deploying an EJB App on Web Logic 8.1.
    i have my four classes i.e remote interface,home interface,client interface and bean...plz tell me what is directory structure followed and how is it deployed.

    Build an ear file, then open the WebLogic Server Console, go to Deployments -> Applications--> Deploy a New Application and upload your ear file.
    Manuel Leiria

  • I have deploy an EJB in weblogic 6.1,but how to use jsp to invoke the EJB's method?

    i have deploy an EJB in weblogic 6.1,but how to use jsp to invoke the EJB's method?
    thanks!

    You'd do something like:
    <%
    //vvv this part can potentially be done in initialization
    Context ctx = getInitialContext();
    BeanHome home =
    (BeanHome)PortableRemoteObject.narrow(ctx.lookup("the.jndi.name"),
    BeanHome.class);
    Bean b = home.create();
    //^^^
    Result r = b.invokeMethod();
    %>
    "toxin" <[email protected]> wrote in message
    news:3d2e95e5$[email protected]..
    >
    i have deploy an EJB in weblogic 6.1,but how to use jsp to invoke theEJB's method?
    thanks!

  • Help with the Oracle Fusion Order Demo deployment to Weblogic Server

    Hello all,
    I am new to SOA and am in the process of understanding SOA concepts. I am trying to deploy the Fusion Order Demo sample application to the Weblogic server. I am following the instructions given at : [http://www.oracle.com/technology/obe/obe11jdev/bulldog/deploysoaapp/deployment.htm|http://www.oracle.com/technology/obe/obe11jdev/bulldog/deploysoaapp/deployment.htm] .
    I am getting error when running the ant task "server-setup-seed-deploy-test" which deploys the Composite applications to the Weblogic Server. The ant log is pasted at the end of the post. The only difference i found from the instructions is that i do not have a AS11gR1SOA directory in my MW_HOME. Instead i have Oracle_SOA1 and i gave that directory's path for the parameter "soa.server.oracle.home".
    I tried running the sub tasks in the "server-setup-seed-deploy-test" individually and only the last task "test-fod-composite-end2end" failed. Since the other tasks like "compile-deploy-all" were successfull, I tried to see the deployed applications in the soa domain. When i checked the soa domain in the Weblogic server console, I see only the "B2BX12OrderGateway" under the soa-infra. The OrderBookingComposite and others are not deployed.
    Please help me in fixing this. Hope I have explained the problem correctly.
    Thanks in advance
    Nishan
    -------------------------------------Apache ant log for "server-setup-seed-deploy-test"-----------------------------------------
    Buildfile: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    init:
    [echo] SOA Suite 11g version:
    [java]
    [java] *****************************************************************************
    [java] Oracle SOA Server version 11.1.1.2.0
    [java] Build: 0
    [java] Build time: Tue Nov 03 13:48:58 PST 2009
    [java] Build type: release
    [java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
    [java]
    [echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
    server-setup-seed-deploy-test:
    [echo] Setting up mds store, deploying shared artifacts,
    seeding jms info, deploying to server, and running tests
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    init:
    [echo] SOA Suite 11g version:
    [java]
    [java] *****************************************************************************
    [java] Oracle SOA Server version 11.1.1.2.0
    [java] Build: 0
    [java] Build time: Tue Nov 03 13:48:58 PST 2009
    [java] Build type: release
    [java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
    [java]
    [echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
    createMDSConnections:
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    createMDSConnectionForDB:
    [echo] Creating ../.adf/META-INF/adf-config.xml for database backed MDS
    [input] skipping input as property mds.db.password has already been set.
    [copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\.adf\META-INF
    [echo] Using jdbc:oracle:thin:@localhost:1521:xe for db-based backing, with user dev_mds
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    createMDSConnectionForFileStore:
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    createMDSConnectionForServerFileStore:
    importCommonServiceArtifactsIntoMds:
    [java] Starting local filesystem import into mds ..
    [java] Got target mds-instance: mstore-usage_1 from C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\..\.adf\META-INF\adf-config.xml
    [java] Creating mds connection to ./soa-seed/apps
    [java] --> C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\.\soa-seed
    [java] Local item: /apps/FusionOrderDemoShared/services/partnersupplier/Warehouse.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/orderbooking/OrderBookingProcessor.wsdl
    [java] Local item: /apps/FusionOrderDemoShared/services/creditAuthorization/CreditAuthorizationService.wsdl
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.xsd
    [java] Local item: /apps/FusionOrderDemoShared/policy/fault-bindings.xml
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/CustomerInfoVOSDO.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/partnersupplier/PartnerSupplierComposite.wsdl
    [java] Local item: /apps/FusionOrderDemoShared/policy/fault-policies.xml
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.wsdl
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderInfoVOSDO.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/orderbooking/OrderProcessor.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/creditAuthorization/creditauthorization.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.xsd
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.edl
    [java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderItemsInfoVOSDO.xsd
    [java] Now transferring ..
    [java] 4 Apr, 2010 3:39:18 PM oracle.mds
    [java] NOTIFICATION: import operation started.
    [java] 4 Apr, 2010 3:39:22 PM oracle.mds
    [java] Transferred size = 15
    [java] Transferred - /apps/FusionOrderDemoShared/policy/fault-bindings.xml
    [java] Transferred - /apps/FusionOrderDemoShared/policy/fault-policies.xml
    [java] Transferred - /apps/FusionOrderDemoShared/services/partnersupplier/Warehouse.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/orderbooking/OrderProcessor.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/orderbooking/OrderBookingProcessor.wsdl
    [java] NOTIFICATION: import is completed. Total number of documents successfully processed : 15, total number of documents failed : 0.
    [java] Transferred - /apps/FusionOrderDemoShared/services/creditAuthorization/creditauthorization.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/partnersupplier/PartnerSupplierComposite.wsdl
    [java] Transferred - /apps/FusionOrderDemoShared/services/creditAuthorization/CreditAuthorizationService.wsdl
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.edl
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderInfoVOSDO.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/CustomerInfoVOSDO.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderItemsInfoVOSDO.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.xsd
    [java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.wsdl
    [echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
    [echo] Using mds-type : db
    [input] skipping input as property server.password has already been set.
    init:
    [echo] SOA Suite 11g version:
    [java]
    [java] *****************************************************************************
    [java] Oracle SOA Server version 11.1.1.2.0
    [java] Build: 0
    [java] Build time: Tue Nov 03 13:48:58 PST 2009
    [java] Build type: release
    [java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
    [java]
    [echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
    compile-build-all:
    [echo] Building and compiling SOA Fusion Order Demo ..
    clean:
    [echo] Cleanup of OrderApprovalHumanTask
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.war
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.ear
    init:
    compile:
    [javac] Compiling 6 source files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\classes
    copy:
    [copy] Copying 191 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\classes
    create-ear:
    [copy] Copying 5 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\lib
    [war] Building war: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.war
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\lib
    setupDeploymentEnvironment:
    [echo] Step1: copy template ./templates/connections.xml.seed to ../../.adf/META-INF/connections.xml
    [copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\.adf\META-INF
    [echo] Step2: setup descriptor, soa-only? false, modifying ../../.adf/META-INF/connections.xml
    [echo] replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
    [echo] replacing ws-binding with {www.globalcompany.example.com}StoreFrontServiceSoapHttp
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf\META-INF
    [copy] Copying 2 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf\META-INF
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
    [copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
    [ear] Building ear: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.ear
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
    create-deployable-composite:
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    clean:
    [echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//deploy/sca_OrderBookingComposite_rev1.0.jar
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\deploy\sca_OrderBookingComposite_rev1.0.jar
    init:
    scac-validate:
    [echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//composite.xml
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    scac:
    [scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//composite.xml'
    [scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    [scac] >> modified xmlbean locale class in use
    [scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    [scac] WARNING: location {ns:composite/ns:reference[@name='CreditCardAuthorizationService']}(170,128): Failed to Find Binding "CreditCardAuthorizationService":"{http://www.globalcompany.example.com/ns/CreditAuthorizationService}CreditAuthorizationPort" in WSDL Manager
    [scac] WARNING: location {ns:composite/ns:reference[@name='PartnerSupplierService']}(163,122): Failed to Find Binding "PartnerSupplierService":"{http://www.partnersupplier.example.com/ns/warehouse}ExternalPartnerSupplier_pt" in WSDL Manager
    [scac] WARNING: location {ns:composite/ns:reference[@name='StoreFrontService']}(176,162): Failed to Find Binding "StoreFrontService":"{www.globalcompany.example.com}StoreFrontServiceSoapHttpPort" in WSDL Manager
    [scac] WARNING: in OrderProcessor.bpel(218): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}long" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(305): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(305): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(368): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}double"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(368): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}boolean"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(407): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}boolean" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in OrderProcessor.bpel(533): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query

    package:
    [input] skipping input as property compositeDir has already been set.
    [input] skipping input as property compositeName has already been set.
    [input] skipping input as property revision has already been set.
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    compile-source:
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
    [copy] Copying 133 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
    [copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist\SCA-INF\classes
    [jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\deploy\sca_OrderBookingComposite_rev1.0.jar
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
    setupDeploymentEnvironment:
    [copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin
    [echo] Setting up deployment plan, modifying orderbooking_deployment_plan.xml
    [echo] Replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
    [echo] Replacing soa server and wls server information
    [echo] -SOA: localhost 8001
    [echo] Replacing file adapter endpoint with /tmp
    [echo] Replacing values for bam connection in connections.xml
    [echo] Bam server host: sta00057.us.oracle.com
    [echo] Bam server host: 9001
    [echo] Bam server user: weblogic
    create-deployable-composite:
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    clean:
    [echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//deploy/sca_PartnerSupplierComposite_rev1.0.jar
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\deploy\sca_PartnerSupplierComposite_rev1.0.jar
    init:
    scac-validate:
    [echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//composite.xml
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    scac:
    [scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//composite.xml'
    [scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    [scac] >> modified xmlbean locale class in use
    [scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    [scac] WARNING: in PartnerSupplierMediator.mplan: Case "ExternalPartnerSupplier.externalpartnersupplier_client.process" doesnt have any payload transformation Please make sure source and target message part name are same and of same type. Otherwise, target reference may fail to execute with error message like "Input sourcelike Null" or "Part not found"
    package:
    [input] skipping input as property compositeDir has already been set.
    [input] skipping input as property compositeName has already been set.
    [input] skipping input as property revision has already been set.
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    compile-source:
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
    [copy] Copying 17 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
    [copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist\SCA-INF\classes
    [jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\deploy\sca_PartnerSupplierComposite_rev1.0.jar
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
    create-deployable-composite:
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    clean:
    [echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//deploy/sca_OrderSDOComposite_rev1.0.jar
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\deploy\sca_OrderSDOComposite_rev1.0.jar
    init:
    scac-validate:
    [echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//composite.xml
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    scac:
    [scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//composite.xml'
    [scac] WARNING: in CustomerAndOrderService.bpel(254): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}anySimpleType" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}integer"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in CustomerAndOrderService.bpel(359): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}long"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    [scac] WARNING: in CustomerAndOrderService.bpel(493): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}long"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    package:
    [input] skipping input as property compositeDir has already been set.
    [input] skipping input as property compositeName has already been set.
    [input] skipping input as property revision has already been set.
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    compile-source:
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
    [copy] Copying 11 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
    [copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist\SCA-INF\classes
    [jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\deploy\sca_OrderSDOComposite_rev1.0.jar
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
    create-deployable-composite:
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    clean:
    [echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//deploy/sca_B2BX12OrderGateway_rev1.0.jar
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\deploy\sca_B2BX12OrderGateway_rev1.0.jar
    init:
    scac-validate:
    [echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//composite.xml
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    scac:
    [scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//composite.xml'
    [scac] WARNING: location {ns:composite/ns:reference[@name='StoreFrontService']}(48,162): Failed to Find Binding "StoreFrontService":"{www.globalcompany.example.com}StoreFrontServiceSoapHttpPort" in WSDL Manager
    [scac] WARNING: location {ns:composite/ns:reference[@name='OrderBookingService']}(59,116): Failed to Find Binding "OrderBookingService":"{http://www.globalcompany.example.com/ns/OrderBookingService}OrderProcessor_pt" in WSDL Manager
    [scac] WARNING: in B2BOrderProcessingEngine.componentType: property "bpel.config.use.events" may not be understood by BPEL component B2BOrderProcessingEngine - it will likely be ignored.
    [scac] WARNING: in B2BOrderProcessingEngine.bpel(188): Trying to assign incompatible types
    [scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
    [scac] Make sure that the return value of from-spec query is compatible with the to-spec query
    package:
    [input] skipping input as property compositeDir has already been set.
    [input] skipping input as property compositeName has already been set.
    [input] skipping input as property revision has already been set.
    [echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
    compile-source:
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
    [copy] Copying 24 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
    [copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist\SCA-INF\classes
    [jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\deploy\sca_B2BX12OrderGateway_rev1.0.jar
    [delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
    setupDeploymentEnvironment:
    [copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin
    [echo] Setting up deployment plan, modifying B2BX12OrderGateway_deployment_plan.xml
    [echo] Replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
    [echo] Replacing soa server and wls server information
    [echo] -SOA: localhost 8001
    [echo] Replacing communication style, eventbased? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    init:
    compile:
    create-war:
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    create-ear:
    [echo] global: true > ejb: ${use.ejb} jsca: true
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    clean:
    [echo] Cleaning up external partner supplier ejb project ../classes/../deploy
    [delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    init:
    copy:
    [copy] Copying 5 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\classes
    compile:
    [javac] Compiling 6 source files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\classes
    [javac] Note: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\src\com\otn\sample\fod\soa\externalps\test\EpsSessionEJBClient.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    create-ejb-ear:
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    init:
    copy:
    compile:
    create-jsca-ear:
    [mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib
    [copy] Copying 2 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib
    [echo] ../classes/meta-inf/
    [jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib\ExternalPartnerSupplierScaModule.jar
    [jar] Warning: skipping jar archive C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\empty.jar because no files were included.
    [jar] Building MANIFEST-only jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\empty.jar
    [ear] Building ear: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear
    compile-deploy-all:
    [echo] Deploying SOA Fusion Order Demo ..
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    deploy-application:
    [echo] Deploying jsca shared lib? true
    [echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
    [echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
    deploy-jsca-library:
    [wldeploy] weblogic.Deployer -remote -noexit -name weblogic-sca -source C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -password ******** -deploy -library
    [wldeploy] weblogic.Deployer invoked with options: -remote -noexit -name weblogic-sca -source C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -deploy -library
    [wldeploy] <4 Apr, 2010 3:40:55 PM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, weblogic-sca [archive: C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war], to soa_server1 .>
    [wldeploy] weblogic.Deployer -remote -upload -noexit -name ExternalPartnerSupplierEjb -source C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -password ******** -deploy
    [wldeploy] weblogic.Deployer invoked with options: -remote -upload -noexit -name ExternalPartnerSupplierEjb -source C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -deploy
    [wldeploy] <4 Apr, 2010 3:41:11 PM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, ExternalPartnerSupplierEjb [archive: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear], to soa_server1 .>
    BUILD FAILED
    C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml:295: The following error occurred while executing this line:
    C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml:156: The following error occurred while executing this line:
    C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\bin\build.xml:169: weblogic.management.ManagementException: [Deployer:149163]The domain edit lock is owned by another session in non-exclusive mode - this deployment operation requires exclusive access to the edit lock and hence cannot proceed. If you are using "Automatically Aquire Lock and Activate Changes" in the console, then the lock will expire shortly so retry this operation.
    Total time: 2 minutes 1 second

  • Invoking Session EJB (with WSIF binding) from a BPEL process

    Hi,
    I am invoking a stateless session bean from a bpel process. The bpel process is throwing:
    Failed to lookup EJB home using JNDI name 'ejb/visilient/BPELHelper'; nested exception is:
         java.lang.NullPointerException
    I can see the ejb jndi name under 'default' app.
    Any ideas?
    TIA

    It is a lovely sample... However, it doesn't cover Complex Types and Exception handling. It would be nice if each example was thorough. Would be a great help.
    What I was hoping to achieve is this:
    1) Have an EJB deployed
    2) Use WSIF for BPEL Processes.
    3) Use Web Service interface for AJAX calls etc.
    I was hoping that this would be the exact code base and that only a single EJB would be deployed.
    So far, it looks like JDeveloper will only support Java WSIF bindings. No EJB Bindings. It also looks like JAXRPC is the best supported WS interface. With that in mind, it deploys a seperate subset of the EJB. Thus causing two seperate deployments. I am working on trying all this out over the next couple days. See where I get.
    Anyways, do you have any recommendation for accomplishing what I am wanting to do? 1 deployed EJB, with a WS interface and allowing WSIF bindings. Any other references for me to look at? Should I not be thinking about using JDeveloper for any of the WSDL generation and do all this manually for now?
    Thanks,
    BradW

Maybe you are looking for

  • Is there a way to detect if Excel is busy?

    I have a VI that is testing three products at the same time, and writing data to three different excel spreadsheets.  If more than one subvi is writing to Excel at the same time, I get an error.  Is there a way to detect if Excel is busy, and wait un

  • Why is the resolution so low when trying to display netflix content under Yosemite?

    I am using the new Safari that came with Yosemite to display content from netflix, but the new native mode resolution is much lower than what I was getting before with Mavericks and Silverlight.

  • Vinyl to mp3 conversion - using ION profile LP turntable

    I recently purchased the ION Profile LP turntable that comes with ION ez Audio Converter for MAC. I plan to convert about 600 old lp's to mp3 to be used on my IPOD. My question...is there anywhere to obtain an updated version of this software in the

  • Problem with NACE

    Hi all When I try to creat a new output type in NACE it gives dump with this message READ_REPORT_LINE_TOO_LONG

  • OC4J Instance

    In Oracle Developer Suite - ORA10g there are two separate OC4J Instance one for the Forms Builder and Reports Builder. Let us say I had started the OC4J Instance for Forms Builder do I had to start the OC4J Instance for the Reports Builder when openi