EJB & CORBA Samples

The URL is: http://technet.oracle.com/tech/java/ejb_corba/index2.htm?Code&files/hotel/hotelHome.htm
These samples implement a Hotel Reservation Application four different ways: two designs use EJB components and two designs use CORBA components. Compare the source code.
There are four samples: EJB, CORBA, AQ, and Java Stored Procedures. They have been available for awhile, but I'm posting here to remind people, and to start a thread for a discussion.
-rh
null

Here are some questions from Vadim Katz and answers from the OTN developers who built the AQ Hotel sample app:
I was able to compile the whole projects but only after doing the following:
1) Adding JBO 8i Client library which contains
javax.jts.UserTransaction. This is not mentioned in the example guide
and UserTransaction is not a part of Sun's javax.jts packageThe AQ EJB/CORBA Sample was developed using JDeveloper 2.0. In JDeveloper 2.0, the CORBA library contains aurora_client.jar, and aurora_client.jar contains classes like javax.jtx.UserTransaction, etc.
JDeveloper 3.1does not include the CORBA library by default, and that is why you need to add JBO 8i Client, etc.
> 2) I also had to compile HotelSystemSQLJ.sqlj file to get .class file;
> otherwise, during global project rebuilt I was only getting .ser file.
> Missing .class file was causing compilation errors.
JDeveloper requires you to first compile HotelSystemSQLJ.sqlj and HotelSQLJ.sqlj separately. These steps are
mentioned in the README.txt.
3) FINALLY, A BIG QUESTION. Why does travel8i.dmp modify SYSTEM TABLES
and because of that user "travel" is required to have SYS priveledges???The Sample requires a TRAVEL user with Sample Travel Data. We could have asked the user to create a separate tablespace and import travel8i.dmp into it, but that would increase the installation steps. For
simplicity, we create the TRAVEL user in the SYSTEM tablespace.
When you want to delete example data, simply drop the "TRAVEL" user.
The AQ Sample needs access to DBMS_AQADM and DBMS_AQ packages which are present in SYS user.
I hope this helps,
-rh

Similar Messages

  • Beginner Question - Help Needed for EJB QL Sample Application

    I'm working with a group of student interns, like myself, and we've been given an assignment to work with Oracle. All of us have no training or experience with this, so we're just learning as we go.
    I've been trying to run the EJB QL Sample Application (http://www.oracle.com/technology/sample_code/tech/java/ejb_corba/ejbql/Install.html), but I keep running into problems at step 3.
    Now, we will deploy the sample application onto OC4J. Open another command prompt and go to the folder <OC4J_HOME>/j2ee/home and run the following commands one-by-one
    > java -jar admin.jar ormi://<machine_name>:<admin_port> admin <admin_pwd> -deploy -file <SAMPLE_HOME>/build/ejbql.ear -deploymentName Ejbql
    > java -jar admin.jar ormi://<machine_name>:<admin_port> admin <admin_pwd> -bindWebApp Ejbql ejbql-war http-web-site /ejbql
    where,
    <machine_name>      Name of the machine where OC4J Server is running
    <admin_port>      Admin Port on which the OC4J server listens. This value by default is 23791 unless explicitly changed by the user
    <admin_pwd>      Adminstrator password to access OC4J. The default value is welcome
    When I do this step I get this error:
    Error: Unable to find java:comp/ServerAdministrator: Lookup error: javax.naming.
    AuthenticationException: Invalid username/password for default (sds); nested exc
    eption is:
    javax.naming.AuthenticationException: Invalid username/password for defa
    ult (sds)
    com.evermind.client.orion.AdminCommandException: Unable to find java:comp/Server
    Administrator: Lookup error: javax.naming.AuthenticationException: Invalid usern
    ame/password for default (sds); nested exception is:
    javax.naming.AuthenticationException: Invalid username/password for defa
    ult (sds)
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:105)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException
    : Invalid username/password for default (sds); nested exception is:
    javax.naming.AuthenticationException: Invalid username/password for defa
    ult (sds) [Root exception is javax.naming.AuthenticationException: Invalid usern
    ame/password for default (sds)]
    at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:153)
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:102)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    Caused by: javax.naming.AuthenticationException: Invalid username/password for d
    efault (sds)
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2410
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2226
    at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1692)
    at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:727)
    at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
    ... 2 more
    ---- Embedded exception
    javax.naming.AuthenticationException: Invalid username/password for default (sds
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2410
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2226
    at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1692)
    at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:727)
    at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:102)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    Any suggestions to fix this error?
    Thanks in advance for any help.

    George,
    The Readme.html file is available with the ejbqlsample.jar downloadable (Extract and find the doc in Ejbql\docs\Readme.html) which is printable.
    Or,
    If you are trying to print the file directly from OTN site, you need to set the Page-Setup Orientation to 'Landscape'.
    Hope this helps.
    Regards
    Pushkala

  • EJB Hotel samples

    Hi,
    I would like assistance in getting the EJB hotel samples from OTN to work with JDeveloper 3.2 against an 8.1.7 database.
    The instructions seem to be for JDeveloper 3.1. I tried following them and got the travel schema loaded into the database but I am stuck at the part where you deploy stuff from JDeveloper. It appears that the menu items referred to in the instructions are not the same ones in JDeveloper 3.2. Also the HotelSystem.ejb file shows up with an icon that has a question mark on it. Has anybody tried to get these to work with JDeveloper 3.2 and oracle 8.1.7? I'm really interested in this example to work because it has both a GUI client and a servlet client sharing the same business logic code. Alternatively, if anyone knows of another example like this (GUI client and web client), I'd appreciate it if you sent me a pointer to it. Thanks in advance.

    OTN developers are updating the Hotel sample apps to run under the current product versions. Work is ongoing, and when they finish you will be able to download revised files from OTN (they have not announced a release date). You might get a more immediate answer by posting your question in the Sample Code forum. The developers monitor that forum, and may be able to help you right away.
    Regards,
    -rh
    null

  • Options for EJB - Corba - correct?

    Hi,
    I'm looking at the options for EJB->CORBA and CORBA->EJB method calls in Weblogic Server 5.1 (although we may be moving to 6 soon)
    We are currently using CORBA 2.1 C++ code, and are looking for a migration path into EJBs.
    I've tried to pull together small list of our options, with apologies to Eduardo Ceballos who wrote most of this text originally, and anyone else who's work is included.
    Does any one have the time to read the below, and make any comments on important options that I've missed, or pitfalls that they can see?
    Thankyou in advance;
    Notes:
    -- RMI over IIOP is only available under JDK 1.3
    -- if we use a pre Corba 2.3 implementation (as we currently are), only primitive types may be passed (no OBV available).
    -- Another option is to use WebLogic Enterprise, but we are currently using WebLogic Server. &#8216;WebLogic Enterprise Connectivity gives you the ability to create IIOP connection pools to a BEA WebLogic Enterprise, allowing you to execute WebLogic Enterprise CORBA objects from WebLogic Server servlets and Enterprise JavaBeans.&#8217;
    Calling from a WLS into a CORBA server:
    ========================================
    There are several variations on two ways:
    1. expose the CORBA interface;
    To expose the CORBA interface, you collocate the ORB of your choice within the WLS instance and bind CORBA stubs into the JNDI tree as needed. The application looks up CORBA objects and uses the CORBA server interfaces as you would regardless of WLS.
    This is an example of designing the RMI interface so that it maps in a usable way to the IDL interface.
    2. hide the CORBA interface.
    To hide the CORBA interface, create a RMI interface and a RMI server class; run 'weblogic.rmic -iiop -idl ...' on that class; take the resulting idl and add it to the interfaces which the CORBA servers implement. To gain access to the CORBA servers, use COSNaming to bind the CORBA servers into the WLS JNDI tree. As above, the application looks up the CORBA servers in the JNDI tree, but in this case the application uses the RMI-IIOP stubs to communicate with the CORBA servers.
    This is an example of adding RMI interfaces to existing CORBA servers to establish some level of connectivity.
    If you are using an RMI-IIOP implementation of some sort, then you are effectively hiding the CORBA interface, except you'd ignore any of work that would be done at the IDL level.
    Note: We should use rmic and the &#8211;noValueTypes flag (as we aren&#8217;t using Orbix 2.3).
    Calling from a Corba server into WLS
    ======================================
    It is possible to host an Orb in the app server, contained within a WebLogic startup class. This will allow Corba calls to be delegated to app-server components (see option 1, above).
    Thanks again.

    Comments inline....
    G Morgan wrote:
    Hi,
    I'm looking at the options for EJB->CORBA and CORBA->EJB method calls in Weblogic Server 5.1 (although we may be moving to 6 soon)Yes, move to 6.0.
    >
    >
    We are currently using CORBA 2.1 C++ code, and are looking for a migration path into EJBs.
    I've tried to pull together small list of our options, with apologies to Eduardo Ceballos who wrote most of this text originally, and anyone else who's work is included.
    Does any one have the time to read the below, and make any comments on important options that I've missed, or pitfalls that they can see?
    Thankyou in advance;As far as I can tell, pre-2.3 ORBs can not handle type ids that start with "RMI:". So pretty much the only option at the moment with a pre-2.3 ORB is to delegate through a colocated ORB. As with the the previous response, it's a good idea to host the ORB in a WLS client, that way if the ORB goes south, it doesn't take the server with it.
    >
    >
    Notes:
    -- RMI over IIOP is only available under JDK 1.3
    -- if we use a pre Corba 2.3 implementation (as we currently are), only primitive types may be passed (no OBV available).
    -- Another option is to use WebLogic Enterprise, but we are currently using WebLogic Server. &#8216;WebLogic Enterprise Connectivity gives you the ability to create IIOP connection pools to a BEA WebLogic Enterprise, allowing you to execute WebLogic Enterprise CORBA objects from WebLogic Server servlets and Enterprise JavaBeans.&#8217;
    Calling from a WLS into a CORBA server:
    ========================================
    There are several variations on two ways:
    1. expose the CORBA interface;
    To expose the CORBA interface, you collocate the ORB of your choice within the WLS instance and bind CORBA stubs into the JNDI tree as needed. The application looks up CORBA objects and uses the CORBA server interfaces as you would regardless of WLS.
    This is an example of designing the RMI interface so that it maps in a usable way to the IDL interface.
    2. hide the CORBA interface.
    To hide the CORBA interface, create a RMI interface and a RMI server class; run 'weblogic.rmic -iiop -idl ...' on that class; take the resulting idl and add it to the interfaces which the CORBA servers implement. To gain access to the CORBA servers, use COSNaming to bind the CORBA servers into the WLS JNDI tree. As above, the application looks up the CORBA servers in the JNDI tree, but in this case the application uses the RMI-IIOP stubs to communicate with the CORBA servers.
    This is an example of adding RMI interfaces to existing CORBA servers to establish some level of connectivity.
    If you are using an RMI-IIOP implementation of some sort, then you are effectively hiding the CORBA interface, except you'd ignore any of work that would be done at the IDL level.
    Note: We should use rmic and the &#8211;noValueTypes flag (as we aren&#8217;t using Orbix 2.3).
    Calling from a Corba server into WLS
    ======================================
    It is possible to host an Orb in the app server, contained within a WebLogic startup class. This will allow Corba calls to be delegated to app-server components (see option 1, above).
    Thanks again.

  • EJB + CORBA problems

    Hi there,
    I've got some code (EJB) which connect
    me to OLAPService on my 9i Oracle server. I deployed it to Oracle AS which
    is istalled on another machine. Then I wrote client application which has to
    connect to OAS and invoke EJB method to connect to OLAPService.
    The connection to EJB was successfully established (of course through a
    CORBA). But when EJB was trying to connect to Oracle9i I got such error :
    javax.naming.NameNotFoundException:
    sess_iiop://<server_ip>:<port>:<sid>/etc/OLAPServer/OLAPServer not found
    I think it something wrong with my OAS enviroment. I have tried to do my best , but still nothing .... ( I am sure that everything else is OK, because I tried to make connection through
    JDBC to relational database and it worked fine).
    When I'm starting EJB's code as client application everything is OK. The
    connection to OLAPService is established every time. When I modyfied code
    for EJB (commenting code responsible for preparing InitailContextEnviroment
    and connecting to OLAPService) everything was OK. So :
    1) I can connect and invoke EJB's method deployed to OAS,
    2) I can connect to Oracle9i OLAPService and use OLAPAPI methods,
    3) I can't do it when I try to connect to OLAPService through the OAS (where
    is EJB)
    client_application (java) ===CORBA===> OAS ( EJB with OLAPAPI) ==CORBA==>
    OLAPService
    This is the EJB's method code ( when it is calling as client application it
    works!!!!):
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import org.omg.CORBA.Object;
    import oracle.aurora.jndi.sess_iiop.ServiceCtx;
    import oracle.express.connection.Connection;
    import oracle.express.connection.ConnectionManager;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import java.util.*;
    public String Polaczenie()
    String serviceURL="sess_iiop://<server_ip>:<port>:<sid>";
    String objectName="/etc/OLAPServer/OLAPServer";
    Hashtable env=new Hashtable();
    env.put(Context.URL_PKG_PREFIXES,"oracle.aurora.jndi");
    env.put(Context.SECURITY_PRINCIPAL,<user>);
    env.put(Context.SECURITY_CREDENTIALS,<password>);
    env.put(Context.SECURITY_AUTHENTICATION,ServiceCtx.NON_SSL_LOGIN);
    try
    Context ic=new InitialContext(env);
    org.omg.CORBA.Object
    ServiceStub=(org.omg.CORBA.Object)(ic.lookup(serviceURL+objectName));
    Properties connParams = new Properties();
    connParams.put("UserID",<user>);
    connParams.put("Password",<password>);
    ConnectionManager cm=ConnectionManager.init();
    Connection conn=
    cm.connect((org.omg.CORBA.Object)ServiceStub,connParams);
    conn.close();
    catch(Exception e)
    return "\nError:" + e + "\n";
    return "\nIt works\n";
    This is client's code:
    public static void main(String[] args)
    try {
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.PROVIDER_URL, "ormi://sasza/SerwerEjb");
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "oracle");
    Context context = new
    com.evermind.server.rmi.RMIInitialContextFactory().getInitialContext(env);
    Object homeObject = context.lookup("<myEJBName>");
    SerwerEjbHome home = (SerwerEjbHome)
    PortableRemoteObject.narrow(homeObject, pakiet.SerwerEjbHome.class);
    SerwerEjb remote = home.create();
    System.out.println(remote.Polaczenie()); <------------------ there is
    error !!!!!!!!!!!!!!!!!! ------------------>
    catch(Exception e)
    System.err.println("Error: " + e + ":::" + e.getMessage());
    Any idea ??
    Thank you in advance.

    "Taesun, An" <[email protected]> writes:
    Thanks for your concern !Its my code - I should be concerned :)
    I have successfuly tested the sample program that you attached.
    and I have some more questions.Great!
    Q1) Can I use idl files generated by weblogic.ejbc on the other ORB like as
    orbix, etc..?Yes. But the problem is that Orbix is known to have problems with the
    codeset that we send out. For silversword we are doing a GIOP 1.2
    implementation a by-product of which will be that we have to do some
    form of codeset negotiation, so hopefully these issues will be sorted
    in the near future.
    And I know that the Client.cpp program you sent differs from original source
    code in the respects which is including TradeResultFactory and
    TradeResultImpl classes.
    Q2) If so, Do i have to implement the above classes for all of call by value
    parameters or return type ?You have to write some C++ code for any valuetypes that you use. This
    basically means any non-primitive object that is not a remote
    interface and implements serializable.
    I wanna know for the needed classes how to easily get generated or the other
    solutions.I attach the entity bean example I cooked up which shows you how you
    can use C++ macros to take away some of this pain. Note that you cannot make the finder method work with 6.0SP2. This will be fixed in 6.1
    [generic_idl_entity.zip]
    I got error message following as, when i used "-idlFactories" of
    weblogic.ejbc option to generate Factory definition.
    Usage: java weblogic.rmic [options] <classes>...
    option descriptions ,.,........
    option descriptions ,.,........
    ERROR: Error from ejbc: Unrecognized option or flag, -idlFactories
    ERROR: ejbc found errors
    make: *** [ejbc] Error 1Hmm, you are right. It looks like the option didn't get inverted in
    rmic. The attached class file should fix this.
    [IDLGeneratorOptions.class]
    andy

  • Stand alone client for remote EJB corba error

    Regarding problem below, I've checked System env variables
    that weblogic server is using for CORBA classes:
    javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
    org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
    org.omg.CORBA.ORBClass weblogic.corba.orb.ORB
    javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
    But these are server classes and not found in wlclient.jar and wljmsclient.jar. What classes should be used for client? What needs to be set in order to get successful remote RMI/EJB call to weblogic server?
    Original post:
    I have a stand alone spring client for simple stateless session EJB deployed on weblogic 9.2. I'm using spring (jdk 1.5) to call this remote EJB and the only way I can succeed is to have full weblogic.jar in my bootstrap classpath. Otherwise I get corba error:
    CORBA BAD_PARAM 0 No; nested exception is:
    org.omg.CORBA.BAD_PARAM: vmcid: 0x0 minor code: 0 completed: No
    Interestingly, within same client I have JMS call to weblogic JMS and that fails if weblogic.jar is in boot classpath. Getting rid of weblogic.jar from boot classpath works if I have wlclient.jar and wljmsclient.jar in regular classpath (as per weblogic docs). I would think that for stand alone client all I would need is to weblogic client jars, why should I need to have full weblogic.jar?
    I can't get those work together with same classpath. I wonder if anybody has some pointers and/or advice. I was looking to set system parameters for corba for weblogic client that maybe could help:
    org.omg.CORBA.ORBClass
    org.omg.CORBA.ORBSingletonClass
    javax.rmi.CORBA.UtilClass
    javax.rmi.CORBA.StubClass
    javax.rmi.CORBA.PortableRemoteObjectClass
    But I can't find definitive answer.
    Regards,
    -pp
    Edited by mr.papini at 06/28/2007 9:05 AM

    I'm stuck exactly with the same issue while trying to port my application from weblogic to jboss.
    I tried to specify different ORB implementations (JacORB, OpenORB) for jvm option org.omg.CORBA.ORBClass, but JBoss couldn't get them instantiated. Native Sun implementation which is used in JBoss by default and can be instantiated, apparently is not fully compatible with weblogic security module.
    So did you manage to find out the solution?
    Edited by DigitalDude at 04/09/2008 11:47 PM

  • EJB QL Sample errors in deploying

    I get following error when deploying ear file in oc4j10g. =>
    D:\oc4j10g\j2ee\home>java -jar admin.jar ormi://localhost:23791 admin welcome -d
    eploy -file d:\myj2ee\oc4jsamples\accounts\ejbql\build\ejbql.ear -deploymentName
    Ejbql
    Error: Deploy error: deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-mod
    ule, Exception: Missing method-params in query-method; see page 478 in ejb 2.0 s
    pec
    com.evermind.client.orion.AdminCommandException: Deploy error: deploy failed!: ;
    nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-mod
    ule, Exception: Missing method-params in query-method; see page 478 in ejb 2.0 s
    pec
    at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:95
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:117)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :26)
    java.rmi.RemoteException: deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-mod
    ule, Exception: Missing method-params in query-method; see page 478 in ejb 2.0 s
    pec
    at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_R
    EMOTE_SERVER(RMIConnection.java:1504)
    at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java
    :1456)
    at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocati
    onHandler.java:55)
    at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(Rec
    overableRemoteInvocationHandler.java:22)
    at __Proxy0.deploy(Unknown Source)
    at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:92
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:117)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :26)
    Caused by: oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-
    module, Exception: Missing method-params in query-method; see page 478 in ejb 2.
    0 spec
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:94)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:140)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:54)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:199)
    at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module, Exc
    eption: Missing method-params in query-method; see page 478 in ejb 2.0 spec
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:94)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:140)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:54)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:199)
    at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    java.lang.InstantiationException: Error initializing ejb-module, Exception: Miss
    ing method-params in query-method; see page 478 in ejb 2.0 spec
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1792)
    at com.evermind.server.Application.postInit(Application.java:635)
    at com.evermind.server.Application.setConfig(Application.java:206)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
    r.java:1654)
    at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
    tionDeployer.java:414)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:132)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:76)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:140)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:54)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:199)
    at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    java.lang.InstantiationException: Error initializing ejb-module, Exception: Miss
    ing method-params in query-method; see page 478 in ejb 2.0 spec
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1792)
    at com.evermind.server.Application.postInit(Application.java:635)
    at com.evermind.server.Application.setConfig(Application.java:206)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
    r.java:1654)
    at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
    tionDeployer.java:414)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:132)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:76)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:140)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:54)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:199)
    at java.lang.Thread.run(Thread.java:534)
    D:\oc4j10g\j2ee\home>

    Hello Ravi,
    The EJB 2.0 specification has made it mandatory to have <method-params> tag within the ejb-jar.xml. Due to the absence of this tag, you are getting the error...
    Please modify ejb-jar.xml and add an empty <method-params></method-params> tag for the findByAllAccounts and ejbSelectByTopAccounts methods. For example,
    <query>
    <description>This query retrieves all the accounts</description>
    <query-method>
    <method-name>findByAllAccounts</method-name>
    <method-params></method-params>
    </query-method>
    <ejb-ql>select distinct object(ua) from UserAccount ua</ejb-ql>
    </query>
    Notice the empty <method-params> tag added. Please do the same for the ejbSelectByTopAccounts method.
    Another thing to be changed is the jsp:usebean tag in index.jsp and DisplayAccounts.jsp. In the mentioned files, replace jsp:usebean with jsp:useBean. Please notice the capital 'B'. JDK 1.4 has made this mandatory.
    Futher more, as you would be aware, 10G onwards, the CMP beans accesses the database tables through the Toplink. Toplink is the default persistence manager now. To use the orion-ejb-jar.xml, please start the OC4J with the following command
    java -Ddefault.cmp.pm=native_cmp -jar oc4j.jar
    I would like to point out that the sample works fine in OC4J 904 developers preview without any of the above mentioned changes. The sample application has been certified in that version.
    Thanks for pointing this problem out. We are making the necessary changes in the sample and the updated jar will be uploaded on OTN shortly.
    Hope this helps,
    Rajat

  • Applet-ejb; corba exception

    Hi, I am trying to access EJB from an applet thro' ejb-client.jar. It works fine if I include weblogic.jar in the applet archive but it throws a corba exception if I use wlclient.jar and wljmsclient.jar instead of weblogic.jar in the archive. As weblogic.jar is too huge I want to use thin clients. Could someone help me with this exception. I am using WLS8.1_sp4; jdk 1.4.2_05 and ie6 with latest jvm. Both applet and ejb are deployed in same localhost com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class, 4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Client get called: host = localhost port = 7001 com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class, 4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Creating new connection Connection[type=IIOP_CLEAR_TEXT remo te_host=localhost remote_port=7001 state=ESTABLISHED] com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Creating message from stream com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class, 4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Succesfully created socket for new connection com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Reading the mess age fully, size =1204 com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Handling GIOP 1. 0 LocateReply com.sun.corba.se.internal.iiop.IIOPInputStream(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Constructing IIO PInputStream object com.sun.corba.se.internal.iiop.IIOPInputStream(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Setting the time stamp com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for localhost:7001,4,ORB ThreadGroup]): Creating message from stream com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class, 4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Client get called: host = 172.16.65.14 port = 7001 com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class, 4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Creating new connection Connection[type=IIOP_CLEAR_TEXT remo te_host=172.16.65.14 remote_port=7001 state=ESTABLISHED] com.sun.corba.se.internal.iiop.MessageMediator(Thread[JavaIDL Reader for 172.16.65.14:7001,4,ORB ThreadGroup]): Creating mess age from stream com.sun.corba.se.internal.iiop.ConnectionTable(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class, 4,file:/C:/projects/perforce/java/PlateMapViewer/-threadGroup]): Succesfully created socket for new connection com.sun.corba.se.internal.iiop.GIOPImpl(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,4,file: /C:/projects/perforce/java/PlateMapViewer/-threadGroup]): getEndpoint(IIOP_CLEAR_TEXT, 0, null) com.sun.corba.se.internal.iiop.GIOPImpl(Thread[thread applet-informatics.inventory.plates.editor.PlateMapEditor.class,4,file: /C:/projects/perforce/java/PlateMapViewer/-threadGroup]): createListener( socketType = IIOP_CLEAR_TEXT port = 0 ) javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.MARSHAL: vmcid: SUN minor cod e: 217 completed: Maybe] at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:81) at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:237) at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:171) at javax.naming.InitialContext.lookup(InitialContext.java:347) at informatics.inventory.plates.editor.EJBPlateMapDAO.<init>(Unknown Source) at informatics.inventory.plates.editor.PlateMapEditor.init(Unknown Source) at sun.applet.AppletPanel.run(AppletPanel.java:353) at java.lang.Thread.run(Thread.java:534) Caused by: org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 217 completed: Maybe at com.sun.corba.se.internal.iiop.CDROutputStream_1_0.write_wstring(CDROutputStream_1_0.java:464) at com.sun.corba.se.internal.iiop.CDROutputStream.write_wstring(CDROutputStream.java:189) at weblogic.corba.cos.naming.NamingContextAnyPackage.WNameComponentHelper.write(WNameComponentHelper.java:79) at weblogic.corba.cos.naming.NamingContextAnyPackage.WNameHelper.write(WNameHelper.java:59) at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:79) at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:213) ... 6 more

    I had the same problem and finally caught a statement in one of the docs: "To facilitate the use of IIOP, always specify a valid IP address or DNS name for the Listen Address attribute in the configuration file (config.xml) to listen for connections." I edited my config.xml file and put in the ip address of the machine running my WLS and things started working. Hope this works for you.
    Regards,
    Ron

  • About EJB & CORBA on Oracle 8.1.5

    Does anyone succesfully use EJB or CORBA
    on Oracle 8.1.5?

    If you are thinking of successful use of EJB with ORACLE, good luck to you! We are thinking of moving to WebLogic.
    null

  • EJB-CORBA

    I am facing a problem which is explained below:
    I have a CORBA server. One of the methods returns a java object, which is serialized.
    A session bean tries to bind to this CORBA server and invokes the above mentioned method.
    It is able to bind and invoke this method, but it is not able to receive the object returned by the method.
    The exception reported is as follows:
    org.omg.CORBA.MARSHAL: class not available for serialized object minor code: 0 completed: No
    at com.visigenic.vbroker.orb.CaffeineInputStream.read_estruct(CaffeineInputStream.java:23)
    at com.platform7.persona.dps.sci._st_SCIInterface.connectSM(_st_SCIInterface.java:205)
    at com.platform7.persona.dps.sessionbeans.AcceptorSessionBean.register(AcceptorSessionBean.java:3742)
    at com.platform7.persona.dps.sessionbeans.EJSRemoteStatefulAcceptorSession.register(EJSRemoteStatefulAcceptorSession.java:225)
    at com.platform7.persona.dps.sessionbeans._EJSRemoteStatefulAcceptorSession_Tie._invoke(_EJSRemoteStatefulAcceptorSession_Tie.java:228)
    at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:398)
    at com.ibm.rmi.iiop.ORB.process(ORB.java:313)
    at com.ibm.CORBA.iiop.ORB.process(ORB.java:1560)
    at com.ibm.rmi.iiop.GIOPConnection.doWork(GIOPConnection.java:1815)
    at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:81)
    at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:102)
    at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
    If I replace this session bean with a standalone java application, I'm able to receive the java object returned by the CORBA server.
    Does anyone have a solution to this problem? I doubt, if any settings needs to be done in the Websphere.

    When you get the (lovely) Marshalling exception from Websphere... you always want to ensure that the client calling the bean has the EXACT same version of the EJB jar file (which contains your objects) which is deployed in $WAS_HOME/installedApps/
    We see this problem every once and a while because one of our clients is a cold fusion application... and if the CF app throws a Marshalling exception, we just forgot to update the Jar files in CF's classpath with the new Jar files (like when we regenerate the stub/skel code for the ejb's).
    So, make sure everything is update to date an in synch and you should be good to go.
    ./dave

  • EJB Hotel Sample Application - error running client

    Hi
    I am trying to run the GUI client interface in the EJB Hotel Enquiry and Reservation Application (using a single EJB). I have deployed the EJB jar file and had no errors but when I run the GUI client I get the following error whilst trying to read the list of hotels:
    Error while invoking EJB procedure :RemoteException :
    com.evermind.server.rmi.OrionRemoteException: Invocation error: java.lang.NoSuchMethodException; nested exception is:
    java.lang.NoSuchMethodException
    Could anyone please suggest where to start looking ?
    TIA
    Trevor

    Hi,
    I am able to run this sample successfully. Can you try bouncing OC4J and then run the client application again ? Let me ]
    know if that works.
    Cheers,
    --Rajesh                                                                                                                                                                                                                                                                                                                                                   

  • AQ and CORBA

    What is the relationship between ORACLE-AQ and CORBA (for example, iona) ?
    It looks to me that AQ seems replace CORBA. Am I right ?
    If I already have a distributed application using CORBA,
    can I still be benefited by adding AQ to my existing CORBA application ?
    THX

    Here are some questions from Vadim Katz and answers from the OTN developers who built the AQ Hotel sample app:
    I was able to compile the whole projects but only after doing the following:
    1) Adding JBO 8i Client library which contains
    javax.jts.UserTransaction. This is not mentioned in the example guide
    and UserTransaction is not a part of Sun's javax.jts packageThe AQ EJB/CORBA Sample was developed using JDeveloper 2.0. In JDeveloper 2.0, the CORBA library contains aurora_client.jar, and aurora_client.jar contains classes like javax.jtx.UserTransaction, etc.
    JDeveloper 3.1does not include the CORBA library by default, and that is why you need to add JBO 8i Client, etc.
    > 2) I also had to compile HotelSystemSQLJ.sqlj file to get .class file;
    > otherwise, during global project rebuilt I was only getting .ser file.
    > Missing .class file was causing compilation errors.
    JDeveloper requires you to first compile HotelSystemSQLJ.sqlj and HotelSQLJ.sqlj separately. These steps are
    mentioned in the README.txt.
    3) FINALLY, A BIG QUESTION. Why does travel8i.dmp modify SYSTEM TABLES
    and because of that user "travel" is required to have SYS priveledges???The Sample requires a TRAVEL user with Sample Travel Data. We could have asked the user to create a separate tablespace and import travel8i.dmp into it, but that would increase the installation steps. For
    simplicity, we create the TRAVEL user in the SYSTEM tablespace.
    When you want to delete example data, simply drop the "TRAVEL" user.
    The AQ Sample needs access to DBMS_AQADM and DBMS_AQ packages which are present in SYS user.
    I hope this helps,
    -rh

  • BC4J Hotel Sample Works on CORBA/EJB ??

    HI, JDev Folks,
    I am debugging the BC4J with CORBA and EJB. And I download the BC4J Hotel Sample from the OTN web under the Jdeveloper/Sample Codes folder. I got the error in the client file BC4JHotelSample.java at
    public ApplicationModule createRootCORBAAppModule(String sessionDefName) {
    Hashtable env = new Hashtable(10);
    javax.naming.Context ic = new InitialContext(env);
    and the error is :
    Successfully loaded properties file using: getResourceAsStream("/oracle/jbo/common/Diagnostic.properties");
    Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutput=console to see it)
    Error = javax.naming.NameNotFoundException: Nothing bound for specified name [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound]
    But if ran it under LOCAL, everythin is OK. Not under EJB/CORBA.
    Anybody happened make it works, please be advised. Thanks!
    Mike
    null

    Hi, ROBERT,
    I deployed the CORBA as guide by the Hotel Sample instruction. and I just created the JDBC and IIOP connection which both are OK by test. To be more convinced, I attached the code from deployment of CORBA for the it.
    ============================================
    *** Executing deployment profile C:\Program Files\Oracle\JDeveloper 3.2\myprojects\BC4JSample\bcdeploy\BC4JHRSBcO8.prf ***
    *** Generating archive file C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRSBcO8.jar ***
    Compiling the project...done
    Validating the profile...done
    Initializing deployment...done
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    *** Archive generation completed ***
    *** Loading the CORBA classes into 8i JVM using JDBC ***
    Load Java argument list:
    "C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\bin\javaw"
    "-DPATH=C:\Program Files\Oracle\JDeveloper 3.2\bin;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\bin"
    -classpath
    "C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbojdbcpatch.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodomorcl.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodatum12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jdev-rt.zip;C:\Program Files\Oracle\JDe
    eloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\connectionmanager.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbomt.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboremote.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jndi.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\xmlparserv2.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboejb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax_ejb.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Or
    cle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboo8i.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbotester.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbocmp.zip;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\lib\rt.jar"
    oracle.aurora.server.tools.loadjava.LoadJavaMain
    -user
    travel/travel@localhost:1521:test
    -thin
    -verbose
    -resolve
    "C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRSBcO8.jar"
    initialization complete
    identical: META-INF/MANIFEST.MF is unchanged from previously loaded file
    loading : connections.properties
    creating : connections.properties
    resolver :
    *** CORBA classes load completed ***
    *** Publishing the CORBA object in 8i JVM ***
    Publish CORBA Object argument list:
    "C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\bin\javaw"
    "-DPATH=C:\Program Files\Oracle\JDeveloper 3.2\bin;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\bin"
    -classpath
    "C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbojdbcpatch.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodomorcl.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodatum12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jdev-rt.zip;C:\Program Files\Oracle\JDe
    eloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\connectionmanager.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbomt.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboremote.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jndi.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\xmlparserv2.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboejb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax_ejb.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Or
    cle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboo8i.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbotester.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbocmp.zip;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\lib\rt.jar"
    oracle.aurora.namespace.shell.ShellClient
    -command
    publish /test/travel/$DefaultAppModule oracle.jbo.server.remote.corba.aurora.AuroraApplicationModule oracle.jbo.common.remote.corba.RemoteApplicationModuleHomeHelper -republish
    -user
    travel
    -password
    travel
    -service
    sess_iiop://localhost:2482:test
    *** 8i JVM CORBA publishing completed ***
    *** Deployment completed ***
    *** Executing deployment profile C:\Program Files\Oracle\JDeveloper 3.2\myprojects\BC4JSample\bcdeploy\BC4JHRS1.prf ***
    *** Generating archive file C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRS1.jar ***
    Compiling the project...done
    Validating the profile...done
    Initializing deployment...done
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    *** Archive generation completed ***
    *** Executing deployment profile C:\Program Files\Oracle\JDeveloper 3.2\myprojects\BC4JSample\bcdeploy\BC4JHRSCommonO81.prf ***
    *** Generating archive file C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRSCommonO81.jar ***
    Compiling the project...done
    Validating the profile...done
    Initializing deployment...done
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    *** Archive generation completed ***
    *** Executing deployment profile C:\Program Files\Oracle\JDeveloper 3.2\myprojects\BC4JSample\bcdeploy\AppModuleServerO81.prf ***
    *** Generating archive file C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\AppModuleServerO81.jar ***
    Compiling the project...done
    Validating the profile...done
    Initializing deployment...done
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    *** Archive generation completed ***
    *** Loading archive C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRSCommonO81.jar,C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRS1.jar into 8i JVM using JDBC ***
    Load Java argument list:
    "C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\bin\javaw"
    "-DPATH=C:\Program Files\Oracle\JDeveloper 3.2\bin;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\bin"
    -classpath
    "C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbojdbcpatch.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodomorcl.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodatum12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jdev-rt.zip;C:\Program Files\Oracle\JDe
    eloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\connectionmanager.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbomt.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboremote.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jndi.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\xmlparserv2.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboejb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax_ejb.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Or
    cle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboo8i.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbotester.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbocmp.zip;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\lib\rt.jar"
    oracle.aurora.server.tools.loadjava.LoadJavaMain
    -user
    travel/travel@localhost:1521:test
    -thin
    -verbose
    -resolve
    "C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRSCommonO81.jar"
    "C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRS1.jar"
    initialization complete
    loading : META-INF/MANIFEST.MF
    creating : META-INF/MANIFEST.MF
    loading : connections.properties
    creating : connections.properties
    identical: BC4JHRS/common/bc4j.xcfg is unchanged from previously loaded file
    identical: BC4JHRS/HotelsImpl is unchanged from previously loaded file
    identical: BC4JHRS/Available_Room_Types_ViewImpl is unchanged from previously loaded file
    identical: BC4JHRS/Hotel_Facilities_ViewImpl is unchanged from previously loaded file
    identical: BC4JHRS/FaxNo is unchanged from previously loaded file
    identical: BC4JHRS/WebURL is unchanged from previously loaded file
    identical: BC4JHRS/AppModuleImpl is unchanged from previously loaded file
    identical: BC4JHRS/CitiesImpl is unchanged from previously loaded file
    identical: BC4JHRS/CountriesImpl is unchanged from previously loaded file
    identical: BC4JHRS/AvailableRoomTypesImpl is unchanged from previously loaded file
    identical: BC4JHRS/PhoneNo is unchanged from previously loaded file
    identical: BC4JHRS/Room_Availability_ViewImpl is unchanged from previously loaded file
    identical: BC4JHRS/Exchange_Rate_Updation_ViewImpl is unchanged from previously loaded file
    identical: BC4JHRS/RoomAvailabilityImpl is unchanged from previously loaded file
    identical: BC4JHRS/Hotel_Bookings_ViewImpl is unchanged from previously loaded file
    identical: BC4JHRS/HotelFacilitiesImpl is unchanged from previously loaded file
    identical: BC4JHRS/ExchangeRatesImpl is unchanged from previously loaded file
    identical: BC4JHRS/HotelBookingsImpl is unchanged from previously loaded file
    identical: BC4JHRS/Hotel_Info_ViewImpl is unchanged from previously loaded file
    loading : META-INF/MANIFEST.MF
    creating : META-INF/MANIFEST.MF
    identical: BC4JHRS/HotelBookings.xml is unchanged from previously loaded file
    identical: BC4JHRS/AvailableRoomTypes.xml is unchanged from previously loaded file
    identical: BC4JHRS/ExrConFkAssoc.xml is unchanged from previously loaded file
    identical: BC4JHRS/PhoneNo.xml is unchanged from previously loaded file
    identical: BC4JHRS/RavHotFkAssoc.xml is unchanged from previously loaded file
    identical: BC4JHRS/HotelBookingsVL.xml is unchanged from previously loaded file
    identical: BC4JHRS/ArtHotFkAssoc.xml is unchanged from previously loaded file
    identical: BC4JHRS/BC4JHRS.xml is unchanged from previously loaded file
    identical: BC4JHRS/Hotel_Info_View.xml is unchanged from previously loaded file
    identical: BC4JHRS/HtfHotFkAssoc.xml is unchanged from previously loaded file
    identical: BC4JHRS/HotelFacilitiesVL.xml is unchanged from previously loaded file
    identical: BC4JHRS/Cities.xml is unchanged from previously loaded file
    identical: BC4JHRS/FaxNo.xml is unchanged from previously loaded file
    identical: BC4JHRS/Room_Availability_View.xml is unchanged from previously loaded file
    identical: BC4JHRS/Hotel_Facilities_View.xml is unchanged from previously loaded file
    identical: BC4JHRS/ArtVL.xml is unchanged from previously loaded file
    identical: BC4JHRS/RavVL.xml is unchanged from previously loaded file
    identical: BC4JHRS/CtyConFkAssoc.xml is unchanged from previously loaded file
    identical: BC4JHRS/WebURL.xml is unchanged from previously loaded file
    loading : BC4JHRS/AppModule.xml
    creating : BC4JHRS/AppModule.xml
    identical: BC4JHRS/BC4JHRS.jpx is unchanged from previously loaded file
    identical: BC4JHRS/ExchangeRates.xml is unchanged from previously loaded file
    loading : connections.properties
    creating : connections.properties
    identical: BC4JHRS/Hotels.xml is unchanged from previously loaded file
    identical: BC4JHRS/Available_Room_Types_View.xml is unchanged from previously loaded file
    identical: BC4JHRS/HotelFacilities.xml is unchanged from previously loaded file
    identical: BC4JHRS/RoomAvailability.xml is unchanged from previously loaded file
    identical: BC4JHRS/Countries.xml is unchanged from previously loaded file
    identical: BC4JHRS/ExrConFk2Assoc.xml is unchanged from previously loaded file
    identical: BC4JHRS/HobHotFkAssoc.xml is unchanged from previously loaded file
    identical: BC4JHRS/Exchange_Rate_Updation_View.xml is unchanged from previously loaded file
    identical: BC4JHRS/Hotel_Bookings_View.xml is unchanged from previously loaded file
    resolver :
    skipping : BC4JHRS/HotelsImpl is already resolved
    skipping : BC4JHRS/Available_Room_Types_ViewImpl is already resolved
    skipping : BC4JHRS/Hotel_Facilities_ViewImpl is already resolved
    skipping : BC4JHRS/FaxNo is already resolved
    skipping : BC4JHRS/WebURL is already resolved
    skipping : BC4JHRS/AppModuleImpl is already resolved
    skipping : BC4JHRS/CitiesImpl is already resolved
    skipping : BC4JHRS/CountriesImpl is already resolved
    skipping : BC4JHRS/AvailableRoomTypesImpl is already resolved
    skipping : BC4JHRS/PhoneNo is already resolved
    skipping : BC4JHRS/Room_Availability_ViewImpl is already resolved
    skipping : BC4JHRS/Exchange_Rate_Updation_ViewImpl is already resolved
    skipping : BC4JHRS/RoomAvailabilityImpl is already resolved
    skipping : BC4JHRS/Hotel_Bookings_ViewImpl is already resolved
    skipping : BC4JHRS/HotelFacilitiesImpl is already resolved
    skipping : BC4JHRS/ExchangeRatesImpl is already resolved
    skipping : BC4JHRS/HotelBookingsImpl is already resolved
    skipping : BC4JHRS/Hotel_Info_ViewImpl is already resolved
    *** Archive load completed ***
    *** Loading the CORBA classes into 8i JVM using JDBC ***
    Load Java argument list:
    "C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\bin\javaw"
    "-DPATH=C:\Program Files\Oracle\JDeveloper 3.2\bin;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\bin"
    -classpath
    "C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbojdbcpatch.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodomorcl.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodatum12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jdev-rt.zip;C:\Program Files\Oracle\JDe
    eloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\connectionmanager.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbomt.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboremote.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jndi.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\xmlparserv2.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboejb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax_ejb.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Or
    cle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboo8i.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbotester.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbocmp.zip;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\lib\rt.jar"
    oracle.aurora.server.tools.loadjava.LoadJavaMain
    -user
    travel/travel@localhost:1521:test
    -thin
    -verbose
    -resolve
    "C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\AppModuleServerO81.jar"
    initialization complete
    loading : BC4JHRS/server/o8/AppModuleServerO8
    creating : BC4JHRS/server/o8/AppModuleServerO8
    loading : META-INF/MANIFEST.MF
    creating : META-INF/MANIFEST.MF
    loading : connections.properties
    creating : connections.properties
    resolver :
    resolving: BC4JHRS/server/o8/AppModuleServerO8
    *** CORBA classes load completed ***
    *** Publishing the CORBA object in 8i JVM ***
    Publish CORBA Object argument list:
    "C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\bin\javaw"
    "-DPATH=C:\Program Files\Oracle\JDeveloper 3.2\bin;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\bin"
    -classpath
    "C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbojdbcpatch.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodomorcl.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodatum12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jdev-rt.zip;C:\Program Files\Oracle\JDe
    eloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\connectionmanager.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbomt.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboremote.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jndi.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\xmlparserv2.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboejb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax_ejb.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Or
    cle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboo8i.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbotester.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbocmp.zip;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\lib\rt.jar"
    oracle.aurora.namespace.shell.ShellClient
    -command
    publish /test/travel/BC4JHRS.AppModule BC4JHRS.server.o8.AppModuleServerO8 oracle.jbo.common.remote.corba.RemoteApplicationModuleHomeHelper -republish
    -user
    travel
    -password
    travel
    -service
    sess_iiop://localhost:2482:test
    *** 8i JVM CORBA publishing completed ***
    *** Deployment completed ***
    =============================================
    Then I created the library called BC4JHRSCommon8i to the created jar files to it. and attached it to the client program BC4JJavaClient.jpr. In the meantime to change the Run/Debug status to CORBA NOT LOCAL. then I rebuild and run the test program. then I got the error:
    =================================
    "C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\bin\javaw.exe" -mx50m -classpath "C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboremote.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboremoteejb.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax_ejb.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jndi.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboejb.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbomt.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodomorcl.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\xmlparserv2.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jdev-rt.zip;C:\Program Files\Oracle\JDeveloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\connectionmanager.zip;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRSCommonO8.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\AppModuleServerO8.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRS.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\AppModuleServerO81.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRS1.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRSBcO8.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRSCommonO81.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BcO8.jar;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\lib\rt.jar" BC4JJavaClient.BC4JHotelSample CORBA
    Successfully loaded properties file using: getResourceAsStream("/oracle/jbo/common/Diagnostic.properties");
    Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutput=console to see it)
    Error = javax.naming.NamingException: oracle.jbo.client.remote.corba.aurora.AuroraInitialContext [Root exception is java.lang.ClassNotFoundException: oracle.jbo.client.remote.corba.aurora.AuroraInitialContext]
    =======================================
    I did all those step by step by the guidance. My enviornment is JDEV3.2, ORA8.1.7
    on WIN2000.
    Also I did NOT find the Sample Codes Forum in the discussion forum? Any comments about error. BY the way If I created a BC4J from scratch, I did not have the error above But I got another error when I ran the client. It is clearly linked to my BC4J CORBA. I also attached the error and the debug msg below.
    ========================================
    "C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\bin\javaw.exe" -mx50m -classpath "C:\Program Files\Oracle\JDeveloper 3.2\myclasses;C:\Program Files\Oracle\JDeveloper 3.2\lib\jdev-rt.zip;C:\Program Files\Oracle\JDeveloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\connectionmanager.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboremote.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbo8iclient.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jndi.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboo8i.zip;C:\Program Files\Oracle\JDeveloper 3.2\myclasses\BC4JDemoCommonO82.jar;C:\Program Files\Oracle\JDeveloper 3.2\myclasses\BC4JDemo3.jar;C:\Program Files\Oracle\JDeveloper 3.2\myclasses\BC4JDemoBcO8.jar;C:\Program Files\Oracle\JDeveloper 3.2\myclasses\BC4JDemoModuleServerO82.jar;C:\Program Files\Oracle\JDeveloper 3.2\myclasses\BcO81.jar;C:\Program Files\Oracle\JDeveloper 3.2\myclasses\BC4JDemoCommonO81.jar;C:\Program Files\Oracle\JDeveloper 3.2\myclasses\BC4JDemoModuleServerO81.jar;C:\Program Files\Oracle\JDeveloper 3.2\myclasses\BC4JDemoCommonO8.jar;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\lib\rt.jar" BC4JDemo.BC4J_8iCorba_Test CORBA
    In the EVN0: test
    Successfully loaded properties file using: getResourceAsStream("/oracle/jbo/common/Diagnostic.properties");
    Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutput=console to see it)
    In the EVN1: javax.naming.InitialContext@16e2
    In the EVN2: test HOME = : oracle.jbo.client.remote.corba.aurora.AuroraApplicationModuleHome@480c
    In the EVN3: BC4JDemoModule
    In the EVN4: jdbc:oracle:kprb:
    In the EVN5: oracle.jbo.client.remote.ViewUsageImpl@32ad
    In the EVN51: 8
    In the EVN52: null
    In the EVN53: BC4JDemo.DeptView
    In the EVN54: SELECT Dept.DEPTNO, Dept.DNAME, Dept.LOC FROM DEPT Dept
    In the EVN55: -1
    In the EVN56: 4
    In the EVN57: DeptView
    In the EVN58: 3
    In the EVN59: 2
    In the getDetailRowSets: [Loracle.jbo.RowSet;@3d34
    In the EVN51: -1
    In the getViewObject: DeptView
    oracle.jbo.PiggybackException: JBO-28300: Piggyback read error
    void oracle.jbo.client.remote.ApplicationModuleImpl.processPiggyback(byte[])
    int oracle.jbo.client.remote.ApplicationModuleImpl.syncIterator(int, int, int, boolean, boolean)
    int oracle.jbo.client.remote.RowSetIteratorImpl.syncIterator(int, int, boolean)
    oracle.jbo.Row oracle.jbo.client.remote.RowSetIteratorImpl.first()
    oracle.jbo.Row oracle.jbo.client.remote.RowSetImpl.first()
    oracle.jbo.Row oracle.jbo.client.remote.ViewUsageImpl.first()
    void BC4JDemo.BC4J_8iCorba_Test.main(java.lang.String[])
    ## Detail 0 ##
    java.lang.ClassNotFoundException: oracle.jbo.domain.Number
    void oracle.jbo.client.remote.ApplicationModuleImpl.processPiggyback(byte[])
    int oracle.jbo.client.remote.ApplicationModuleImpl.syncIterator(int, int, int, boolean, boolean)
    int oracle.jbo.client.remote.RowSetIteratorImpl.syncIterator(int, int, boolean)
    oracle.jbo.Row oracle.jbo.client.remote.RowSetIteratorImpl.first()
    oracle.jbo.Row oracle.jbo.client.remote.RowSetImpl.first()
    oracle.jbo.Row oracle.jbo.client.remote.ViewUsageImpl.first()
    void BC4JDemo.BC4J_8iCorba_Test.main(java.lang.String[])
    In the EVN8: oracle.jbo.PiggybackException: JBO-28300: Piggyback read error
    JBO-28300: Piggyback read error
    =========================================
    All the lines withe "In the ENV*" are my debug msg, you can ingore them. But the msg come from ObjectView e.g. ObjectView deptVo=appMod.findViewObject("DeptView");
    deptVo.first();
    The mothods first(), next(), last(), ... etc are list in the view. But as soon as I called it. I got the "JBO-28300: Piggyback read error". JBO-28300 even not list in the help guidance. I did not know why this bug come from? It at least should listed in the help of JDEV3.2 doc and give me more explaintion what it goes wrong. If you met those problem before, please post here how to fix it. Thanks!
    MIke

  • Poor perfomance CORBA and EJB in Oracle 8i

    Here are the perfomance results of methods invocations
    (1000 invocations of empty method in an loop)
    Oracle 8i CORBA ~100ms per method
    Oracle 8i EJB ~100ms per method
    Jonas EJB server ~5ms per method
    Java RMI ~3ms per method
    Why Oracle 8i is so slow, even compared with noncommercial
    EJB server Jonas? Is there any way to speed this up? Source codes of perfomance testing programs available upon request.

    Oracle Jserver is quite fast and scalable. Nevertheless, there exists an important overhead in calling a CORBA or EJB method, so you should desing "heavy" functions in your EJB/CORBA objects. Instead of calling 10 times little methods, call one time a hevay one, and you'll find that JServer perforns very fast and reliably.
    Best regards

  • JDeveloper 2.0 EJB Samples

    I am trying to run the AcmeVideo (EJB & Servlet) sample that came
    with JDeveloper2.0. Using Oracle8i, Java Web Server and IE4.
    Followed everything in the documentation from creating the
    database up to deploying the fiels to the web server. But when I
    was running it through the browser (using
    http://<servername>/acmevideo.html) this is the error that comes
    out...
    Not Found (404)
    The file that you requested could not be found....
    Again, I followed the documentation to the smallest detail. And
    another thing couldn't find the acmevideo.html anywhere, not even
    in the compressed files.
    I would very much appreciate a reply, thanks in advance.
    null

    I am trying to run the AcmeVideo (EJB & Servlet) sample that came
    with JDeveloper2.0. Using Oracle8i, Java Web Server and IE4.
    Followed everything in the documentation from creating the
    database up to deploying the fiels to the web server. But when I
    was running it through the browser (using
    http://<servername>/acmevideo.html) this is the error that comes
    out...
    Not Found (404)
    The file that you requested could not be found....
    Again, I followed the documentation to the smallest detail. And
    another thing couldn't find the acmevideo.html anywhere, not even
    in the compressed files.
    I would very much appreciate a reply, thanks in advance.
    null

Maybe you are looking for