EJB + JPub = Serializable ?!

Today I use Oracle objects with JPub and no any problems has occupied before. But now I intend for build EJB that use JPub produced classes, and the main problem is the JPub produced classes not serializable. Of course I try to subclass those classes and implements on them java.io.Selializable on both oracle.sql.Datum and java.sql.SQLData but marshaling error still present.
My question is: if I pass to the client from EJB instance any object, this object must be one of the following class: String, BigDecimal, or user defined class contains only Selializable field? And I cannot use objects passed by value with classes like oracle.jpub.runtime.MutableStruct or java.sql.Array? If yes, that is mean JPub not useful tool for EJB development, and I must provide my own classes for my Oracle Objects that implements java.io.Serializable with only Serializable fields?
null

Today I use Oracle objects with JPub and no any problems has occupied before. But now I intend for build EJB that use JPub produced classes, and the main problem is the JPub produced classes not serializable. Of course I try to subclass those classes and implements on them java.io.Selializable on both oracle.sql.Datum and java.sql.SQLData but marshaling error still present.
My question is: if I pass to the client from EJB instance any object, this object must be one of the following class: String, BigDecimal, or user defined class contains only Selializable field? And I cannot use objects passed by value with classes like oracle.jpub.runtime.MutableStruct or java.sql.Array? If yes, that is mean JPub not useful tool for EJB development, and I must provide my own classes for my Oracle Objects that implements java.io.Serializable with only Serializable fields?
null

Similar Messages

  • WebLogic 6.1 SP2 stateful EJB handle serialization problem

    I try to serialize and later deserialize the handle of a stateful
    session bean in WebLogic 6.1 SP2. This works on the client, but not on
    the server. In WebLogic 6.1 SP1, it worked on both server and client.
    The test code:
    try {
    InitialContext context = new InitialContext();
    InfSessionHome sessionHome = (InfSessionHome)
    InfEJBUtil.getInfEJBHome
    (context, InfJNDINames.INFSESSION_EJBHOME,
    InfSessionHome.class);
    infSession1 = sessionHome.create();
    // serialize
    ObjectOutputStream objector = new ObjectOutputStream(byteStream);
    objector.writeObject(infSession1.getHandle());
    objector.flush();
    objector.close();
    byte[] ejbKeyBytes = byteStream.toByteArray();
    // deserialize
    ByteArrayInputStream byteInStream = new
    ByteArrayInputStream(ejbKeyBytes);
    ObjectInputStream objStream = new ObjectInputStream(byteInStream);
    Handle ejbHandle = (Handle) objStream.readObject();
    objStream.close();
    InfSession infSession2 = (InfSession) ejbHandle.getEJBObject();
    if (!infSession2.equals(infSession1)) {
    throw new IllegalStateException("not equal: " + infSession2);
    } catch (Exception e) {
    e.printStackTrace();
    I get the following stack trace in the readObject() call:
    java.io.InvalidClassException:
    weblogic.rmi.internal.LocalServerRefMissing no-arg constructor for
    class
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1221)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
    at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:73)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2214)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at weblogic.ejb20.internal.HandleImpl.readExternal(HandleImpl.java:89)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    I suppose that WebLogic uses a different handle on the server
    (LocalServerRef class, handle local to it's EJB) than on the client.
    I took the routine from Apache SOAP 2.2 StatefulEJBProvider. So I
    suppose that more people are running into the same problem.
    Does anybody know of a workaround?
    Tom

    Just a small addition/clarification to what Cameron said on serialization.
    - The no argument constructor is required in the first non-serializable class in the object hierarchy for de-serialization process. If your class extends form Object class(which has a no arg constructor), you need not have a no-arg constructor. refere to http://64.49.216.133/faq/view.jsp?EID=251942 for more details.
    - Also I suggest using the api
    isIdentical(...)
    instead of equals method in the code if you are trying to establish whether the two objects represent the same EJBObject or not
    - Rajeev
    Cameron Purdy <[email protected]> wrote in message news:[email protected]...
    A no-argument constructor is required for a class to be deserialized. It
    sounds like a BEA bug from the stack trace, but make sure you don't have
    something extra that you are serializing on something of yours that should
    be transient. (It's hard to imagine how, but you never know ...)
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "Tom Gerber" <[email protected]> wrote in message
    news:[email protected]...
    I try to serialize and later deserialize the handle of a stateful
    session bean in WebLogic 6.1 SP2. This works on the client, but not on
    the server. In WebLogic 6.1 SP1, it worked on both server and client.
    The test code:
    try {
    InitialContext context = new InitialContext();
    InfSessionHome sessionHome = (InfSessionHome)
    InfEJBUtil.getInfEJBHome
    (context, InfJNDINames.INFSESSION_EJBHOME,
    InfSessionHome.class);
    infSession1 = sessionHome.create();
    // serialize
    ObjectOutputStream objector = new ObjectOutputStream(byteStream);
    objector.writeObject(infSession1.getHandle());
    objector.flush();
    objector.close();
    byte[] ejbKeyBytes = byteStream.toByteArray();
    // deserialize
    ByteArrayInputStream byteInStream = new
    ByteArrayInputStream(ejbKeyBytes);
    ObjectInputStream objStream = new ObjectInputStream(byteInStream);
    Handle ejbHandle = (Handle) objStream.readObject();
    objStream.close();
    InfSession infSession2 = (InfSession) ejbHandle.getEJBObject();
    if (!infSession2.equals(infSession1)) {
    throw new IllegalStateException("not equal: " + infSession2);
    } catch (Exception e) {
    e.printStackTrace();
    I get the following stack trace in the readObject() call:
    java.io.InvalidClassException:
    weblogic.rmi.internal.LocalServerRefMissing no-arg constructor for
    class
    atjava.io.ObjectInputStream.inputObject(ObjectInputStream.java:1221)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    atjava.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
    atjava.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:73)
    at java.lang.reflect.Method.invoke(Native Method)
    atjava.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2214)
    atjava.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    atweblogic.ejb20.internal.HandleImpl.readExternal(HandleImpl.java:89)
    atjava.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    I suppose that WebLogic uses a different handle on the server
    (LocalServerRef class, handle local to it's EJB) than on the client.
    I took the routine from Apache SOAP 2.2 StatefulEJBProvider. So I
    suppose that more people are running into the same problem.
    Does anybody know of a workaround?
    Tom
    [att1.html]

  • Ejb param serialization, is readResolve called for Externalizable param?

    hi,
    I have a stateless session bean with an enum parameter.
    When the session bean is called from a remote client, i noticed that the readResolve method of my enum class is not called on the server.
    Does anyone know if weblogic calls the readResolve method of session bean Externalizable parameters ?
    FYI, My Enum class is Externalizale and relies on its readResolve method to ensure enum unicity within the JVM. I tested it with simple java code and serialization/deserialization in a file and it worked well.
    My config is sunJDK1.3.1 with weblogic server 7.0
    thank you for your help !
    nicolas D.

    hi andy
    thanks a lot for your reply !! It makes my mind clearer !
    Nicolas
    ps: How comes I saw your reply only now (21st of september) as i checked the forum regularly and could not find it earlier ?

  • How to make Object class to be serializable?

    I'm writing a session bean which contains an Object[][] as a return e.g
    public Object[][] getFoo(){
    I need the return to be of type Object since I'm constracting a 2D array of different object types e.g Integer, Double, HashMap, String etc. But EJBs require serializable objects for their public remote methods. Could you please advice me whether there is another class that I could use instead of the Object class to be serializable? I'm still using SDK1.3.1.
    Thank you

    I've already tried that before, but it doesn't work. When I try to assign different objects to my array as in the following example:
    ABC[][] abc = new ABC[4][2];
    abc[0][0] = new Integer(1);
    abc[0][1] = new String("abc");
    abc[0][2] = new HashMap();
    I'm getting compilation error since Integer, String and HashMap can not be casted into ABC. My question is whether there is such a class (part of the SDK) which implements Serializable AND these classes can be casted to, as in the above example?

  • Recording and Replaying Ejb Calls

    Hi All,
    Recently i have developed an application for jboss AS which record Ejb outgoing invocations from a J2EE Client Application
    in XML form using AspectJ instrumentation. In Jboss case the recorded invocations are Dynamic Proxies with their handlers
    and some other usefull information needed to replay.
    Now i am trying to port my application on weblogic AS. My recording mechanism gives me only Stub with IOR instead of
    Dynamic proxies. I dont know how can i replay invocations using such stub information.
    Please give me some advices how can i tackle this problem?
    Here is some snippet from a recorded invocation
    - <de.novatec.ejb.FiboBeanRemoteHome__IIOP__WLStub serialization="custom">
    <unserializable-parents />
    - <javax.rmi.CORBA.Stub>
    <int>55</int>
    <byte-array>Uk1JOmRlLm5vdmF0ZWMuZWpiLkZpYm9CZWFuUmVtb3RlSG9tZTowMDAwMDAwMDAwMDAwMDAwAA==</byte-array>
    <int>1</int>
    <int>0</int>
    <int>408</int>
    <byte-array>AAECAAAAAAoxMjcuMC4wLjEAG1kAAAB8AEJFQQgBAwAAAAAMQWRtaW5TZXJ2ZXIAAAAAAAAAADdS
    TUk6ZGUubm92YXRlYy5lamIuRmlib0JlYW5SZW1vdGVIb21lOjAwMDAwMDAwMDAwMDAwMDAAAAAA
    AAQyODUAAAAAAUJFQSoAAAAQAAAAAAAAAADAFzC19YL3igAAAAUAAAABAAAALAAAAAAAAQAgAAAA
    AwABACAAAQABBQEAAQABAQAAAAADAAEBAAABAQkFAQABAAAAGQAAAEoAAAAAAAAAQmh0dHA6Ly8x
    MjcuMC4wLjE6NzAwMS9iZWFfd2xzX2ludGVybmFsL2NsYXNzZXMvVGVzdFdMRWpiX0VBUlByakAv
    AAAAAAAAHwAAAAQAAAADAAAAIAAAAAQAAAABAAAAIQAAAFgAAAAAAAAAAQAAAAAAAAAiAAAAAABA
    AAAAAAAIBgZngQIBAQEAAAAfBAEACAYGZ4ECAQEBAAAAD3dlYmxvZ2ljREVGQVVMVAAAAAAAAAAA AAAAAAAAAAAA
    </byte-array>
    </javax.rmi.CORBA.Stub>
    - <weblogic.corba.rmi.Stub>
    - <default>
    - <ids>
    <string>RMI:de.novatec.ejb.FiboBeanRemoteHome:0000000000000000</string>
    </ids>
    - <ror class="weblogic.rmi.cluster.ClusterableRemoteRef">
    <boolean>true</boolean>
    - <weblogic.rmi.cluster.BasicReplicaHandler>
    <int>1</int>
    - <weblogic.iiop.VendorInfoCluster>
    <int>504</int>
    <byte-array>AAAB9AAAAAAAAAAA//////WC94oAAAABAAAAN1JNSTpkZS5ub3ZhdGVjLmVqYi5GaWJvQmVhblJl
    </byte-array>
    </weblogic.iiop.VendorInfoCluster>
    <boolean>false</boolean>
    <string>ejb.FiboBeanRemoteHome</string>
    <null />
    </weblogic.rmi.cluster.BasicReplicaHandler>
    - <weblogic.iiop.IIOPRemoteRef>
    - <weblogic.iiop.IOR>
    <int>484</int>
    <byte-array>AAAAAAAAADdSTUk6ZGUubm92YXRlYy5lamIuRmlib0JlYW5SZW1vdGVIb21lOjAwMDAwMDAwMDAw
    2dpY0RFRkFVTFQAAAAAAAAAAAAAAAAAAAAAAA==</byte-array>
    </weblogic.iiop.IOR>
    </weblogic.iiop.IIOPRemoteRef>
    <boolean>true</boolean>
    </ror>
    </default> ..............................................................
    #######################################################################

    Angela, is most likely the best person to answer this, however from looking at the code it appears all it would do is change the state of the button to "enabled" or "disabled" while the recording is happening, or maybe show some message
    showing that the recording is occurring. I don't think this has anything other than updating the User Interface of the button on the main thread.
    As far as the ArgumentException, it's most likely the options you're selecting for the
    KStudioEventStreamSelectorCollection
    variable. There are certain options you must select, and others you can't select. For an example look at Kinect Studio and try to select some of the streams, you'll notice that when you select BodyIndex you can't have RawIR selected and etc. Another example
    is Depth requires IR, etc. You'll have to play around with the options to make sure they are valid.
    Sr. Enterprise Architect | Trainer | Consultant | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer |blog: http://dgoins.wordpress.com

  • ObjectInputStream and Class Loading

    Hello,
    I have a serializable object that I have to pass as an argument to a session bean. It therefore is serialised/deserialised with a default object inputstream, which uses the bootstrap class loader as default. However, the object contains objects of which the classes cannot be loaded by the bootstrap class loader, in fact the class definitions are in a .jar file. I thus would need to be able to deserialise these objects with a custom class loader at the receiver's end. The receiver has the .jar file and the object that is to be deserialised is a trusted object.
    I could manually control the deserialization of the object by defining the following method:
    private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
    }I could also deserialize objects from a self created ObjectInputStream with a class loader of choice with the following class:
    public class CustomObjectInputStream extends ObjectInputStream {
        private ClassLoader classLoader;
        public CustomObjectInputStream(InputStream in, ClassLoader classLoader) throws IOException {
            super(in);
            this.classLoader = classLoader;
        protected Class<?> resolveClass(ObjectStreamClass desc) throws ClassNotFoundException {
            return Class.forName(desc.getName(), false, classLoader);
    }However I have no control over the type of ObjectInputstream passed as argument to the readObject method, which uses the bootstrap class loader.
    I give 5 duke stars to who can explain me a working solution.

    Thanks for the suggestion, but it doesn't work. Thread.currentThread().setContextClassLoader() appears to have no effect whatsoever on the class loader. Your suggestion about latestUserDefinedLoader() made me realise though that the situation is serious. This is a native method and it appears to be conceptually impossible to crack the standard ObjectInputStream for it to use the class loader of your choice. I filed a bug request for this.
    However, after a bit of thought I found a work around: if you can't control the way the EJB container serializes and deserializes objects, then serialize the objects before the EJB serializes them, pass the arguments as byte arrays and deserialize them only after the EJB container has deserialized them as byte arrays.
    You didn't give me the solution, but you made me realise that it wouldn't make sense to look for a conventional solution anymore, as there wouldn't be one so I give you one duke star. Thanks for the suggestion!

  • Does return value of Local EJB need to be serializable?

    Hi,
    I know It's a bit lazy of me not looking this up in the specs, but I'll give it a go anyway. Does the return value of a Local EJB need to be a serializable object? For my app it would be very convenient to return a org.w3c.dom.Document.
    Kind Regards,
    Rune Bj�rnstad.

    If you use LocalEJB, all params addresses are referencies, so you needn't use serializable interface.

  • EJB Serialization requirements??

    Hi,
    Sorry this is not a direct WebLogic scneraio but i would like to know
    if this scenario would work in WebLogic.
    I have a simple HelloWorldApplication which uses SSbs.
    I pass a Customer Object which has two attribute String name and
    Address address;
    I made Address not-serializable
    so when i make calls to the SessionBean i get a remote Exception which
    contains the not-serializable exception in WebPShere (as expected)
    To my surprise this application ran without any problem in JRun4.0
    Why would that be the case and what would the result in WebLogic be?
    AFAIK, objects (parameters and Return types) must be serializable for
    all Remote EJB Calls.
    Note this applicaiton does not use Local Interfaces..
    TIA
    Manglu

    Hi Manglu,
    By default weblogic employs co-location optimization
    and passes parameters to EJB by reference rather than
    by value. This approach dramatically increase performance
    for co-located applications. Side effect is that bean
    parameters are not serialized, so you don't have and see
    serialization errors.
    Yet, the spec requires parameters to be serializable,
    so make sure yours are. Otherwise you can hit the
    serialization problem when you use the bean remotely
    or in a cluster environments.
    Hope this helps.
    Regards,
    Slava Imeshev
    "Manglu" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    Sorry this is not a direct WebLogic scneraio but i would like to know
    if this scenario would work in WebLogic.
    I have a simple HelloWorldApplication which uses SSbs.
    I pass a Customer Object which has two attribute String name and
    Address address;
    I made Address not-serializable
    so when i make calls to the SessionBean i get a remote Exception which
    contains the not-serializable exception in WebPShere (as expected)
    To my surprise this application ran without any problem in JRun4.0
    Why would that be the case and what would the result in WebLogic be?
    AFAIK, objects (parameters and Return types) must be serializable for
    all Remote EJB Calls.
    Note this applicaiton does not use Local Interfaces..
    TIA
    Manglu

  • EJB different JVM's giving Serialization error --IBM minor code: 89A

    Envoirnment : Java 1.4 ,RAD 7 (RSA) on Websphere6 , Windows OS.
    I am testing through JUnit and UTC.
    Background: We have a multiple JVM situation here where EJB's deployed on Websphere "talk" with EJB's on a WebLogic server.
    While testing the EJB from my Junit (or UTC) eventhough I pass through the first step of getting the Home, the call fails when I try to get an Object (call a business method)from the EJB's on Weblogic.This gives me a peculiar error
    CORBA MARSHAL 0x4942f89a No; nested exception is: org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Mismatched serialization UIDs : Source (Rep. IDRMI:***.**.**.**.BLReimbursementAccount:39784B2BBA00F350:57AE98BA9295194A) = 57AE98BA9295194A whereas Target (Rep. ID RMI:***.**.**.**.BLReimbursementAccount:EA247A4E0D7F6D1F:5F25F0A11BF4F1E4) = 5F25F0A11BF4F1E4 vmcid: IBM minor code: 89A completed: No
    Thanks for your time

    I remember seeing that post sometime ago. And yes, your guess is quite good. WAS 5.1 uses jdk 1.3.1
    As for Ant, if you want to use a different version class, I think you need to set "build.compiler" property. Of course, a look into Ant docs would be more helpful.
    Cheers!
    ***Annie***

  • Serialize DOM between two ejb's performance

    Hi,
    I am working with XML in a ejb container and I used JDOM Document (org.jdom.Document) to send the xml document between two ejb's, I picked JDOM because the Document implements the Serilizable interface. Then I did some performance tests on sending JDOM between two ejb's. I also did tests on sending a String rep. of the XML between the same ejb's. The result supprised me very much.
    Here is the testing code:
    // init
    dom.loadFromPath("C:\\booklist.xml");
    String xml = dom.getXML();
    org.jdom.Document doc = db.build(dom.queryDocument());
    // ... ejb lookup etc...
    // ejb test
    long start2 = System.currentTimeMillis();
    for ( int i = 0 ; i < 1000; i ++ )
    test.jdomTest(doc); // jdom doccument
    long end2 = System.currentTimeMillis();
    // string test...
    long start1 = System.currentTimeMillis();
    for ( int i = 0 ; i < 1000; i ++ )
    test.stringTest(xml); // String
    long end1 = System.currentTimeMillis();
    and the results:
    JDOM: 41703 msek
    String: 313 msek
    Send String and load him into a DOM in the receiving ejb: 5266 msek.
    I have always thought that working with xml on a string format would be to much overhead.
    Could somebody clearify this for me? Does this test results make any sense?
    - thanks, Lubbi Tik

    The serialisation process works at the object level, so to serialise an object you must first serialise every attribute of that object. The specification for serialisation states that every object which wants to be serialisable must have attributes which are primative types (eg int, long etc etc) or attributes which are objects which are serialisable. So to serialise a JDOM you must serialise each of the child nodes in the document, it would be a lot of object manipulation in this example. To serialise a String however, is much easier as it is a much less complex type.
    Cheers,
    Peter.

  • Too many ejb serialization in pstore directory

    Hello guys, my weblogic(8.1) is creating too many files in the directory /pstore and is consuming too much of my file system, it has actually reached 25GB in three days. I did not find any thing that could give any clue about what is going on. I wonder if you guys could help me. I would appreciate very much.
    Thanks for your help in advance.
    Alex/

    Guys... it has stopping without any intervention.
    Edited by: user10455324 on Feb 22, 2010 5:30 PM

  • Error while calling EJB with a heavyweight Object Parameter

    Hi Everybody,
    I am getting the following Error when i call a EJB with a heavyweight Object Parameter in Sun ONE Application Server 7.0.0_04.
    [03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr: org.omg.CORBA.BAD_PARAM: java.util.PropertyResourceBundle vmcid: OMG minor code: 6 completed: Maybe
    [03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.util.Utility.throwNotSerializableForCorba(Utility.java:1018)
    [03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:691)
    [03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
    [03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
    [03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:526)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:1062)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:259)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.corba.TCUtility.marshalIn(TCUtility.java:136)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.corba.AnyImpl.write_value(AnyImpl.java:599)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_any(CDROutputStream_1_0.java:538)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream.write_any(CDROutputStream.java:233)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(ShutdownUtilDelegate.java:196)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at javax.rmi.CORBA.Util.writeAny(Util.java:78)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.write_Array(ValueHandlerImpl.java:446)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:134)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:916)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:651)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:263)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:685)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.OutputStreamHook.defaultWriteObject(OutputStreamHook.java:129)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at java.util.Vector.writeObject(Vector.java:1017)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.writeObject(Native Method)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.invokeObjectWriter(IIOPOutputStream.java:560)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:523)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:1062)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:651)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:263)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:685)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:526)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:1082)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:259)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.copyObjects(Util.java:440)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at javax.rmi.CORBA.Util.copyObjects(Util.java:296)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.hrsystem.ejb._HRSystem_Stub.get(Unknown Source)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.transaction.AddressType.submitAddressChange(Unknown Source)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.transaction.AddressType.submitToSAP(Unknown Source)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.mydata.servlet.MyDataConfirmationServlet.processServlet(Unknown Source)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.core.servlet.EnetBaseHttpServlet.service(Unknown Source)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at java.security.AccessController.doPrivileged(Native Method)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: java.rmi.UnexpectedException: java.io.IOException: Serializable readObject method failed internally
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.wrapException(Util.java:370)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at javax.rmi.CORBA.Util.wrapException(Util.java:277)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.hrsystem.ejb._HRSystem_Stub.get(Unknown Source)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.transaction.AddressType.submitAddressChange(Unknown Source)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.transaction.AddressType.submitToSAP(Unknown Source)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.mydata.servlet.MyDataConfirmationServlet.processServlet(Unknown Source)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.core.servlet.EnetBaseHttpServlet.service(Unknown Source)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at java.security.AccessController.doPrivileged(Native Method)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
    Can someone please help to solve this.
    Regards,
    Sunil

    Unfortunately there's not really enough information for anyone to help you much. I can tell you've hit an EOF Exception, but that's about it.
    What exactly do you mean by a heavyweight object parameter? Do you mean a large (in memory size) object?
    Without any knowledge of your application, I'd probably start by changing your ejb method to do nothing. That should tell you at least whether it's the serialization of the parameter that's the issue or not. Narrow it down from there.
    If you need more help, printing the entire stack trace of the EOFException and posting it here would be helpful.
    -- Rob

  • Trying to use JDO objects as DTO over EJB???

    I have implemented the implemented the seralize interface in my JDO object
    classes. My JDO classes are only a data framework, I use them on both my
    EJB tier and I would like to use them on the web tier.... My thinking was to
    serialize the object graph and pass it between the EJB and web tier.... This
    seemed like a very good and easy way to painless move my object graph
    around. However, I am getting compile problems trying to compile the EJB
    methods.
    I have tried two variations on the method signature:
    public String testDeal (Deal myDeal) and
    public Deal testDeal (String name)
    where Deal is the root of my JDO object graph. The compile time error that
    results by trying to have a JDO enhanced class in the EJB method signature
    is shown below.
    IS THIS A LIMATION OF JDO or am I doing something wrong?
    Second question
    =============
    If I can't pass a JDO object as my Data Transfer object then I have to use
    my fall back idea.... I am currently sub-classing the JDO with a simple
    wrapper class. I can sucessfully pass these non-JDO classes as DTO's.....
    but I have a simple question.... What is an elegant way of using DTO's to
    populate a inheritance structure? This is not really a Java
    question....but my problem is that I have a list of a base class that I am
    carry around... the list can an one of many subclasses in it... I can easily
    determine the type of the class that I get out... but to then use this DTO
    to create an a JDO ojbect class instance without a case statement has me
    stumped... I hoped this was a common pattern and that someone had an
    elegent way to do this mapping..... I thought of a utility class or a
    logical to physical mapping structure similar to Struts action mapping, but
    I was wondering if there was a better way. Thanks for any suggestions.
    java.lang.ExceptionInInitializerError: java.util.MissingResourceException:
    Can't find bundle for base name javax.jdo.Bundle, locale en_US
    at
    java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:6
    95)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:667)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:547)
    at javax.jdo.I18NHelper.loadBundle(I18NHelper.java:143)
    at javax.jdo.I18NHelper.<init>(I18NHelper.java:49)
    at javax.jdo.I18NHelper.getInstance(I18NHelper.java:61)
    at javax.jdo.spi.JDOImplHelper.<clinit>(JDOImplHelper.java)
    at aqueduct.Customer.<clinit>(Customer.java)
    at java.lang.reflect.Field.getLong(Native Method)
    at com.ibm.rmi.io.ObjectStreamClass.init(ObjectStreamClass.java:495)
    at
    com.ibm.rmi.io.ObjectStreamClass.lookupInternal(ObjectStreamClass.java:167)
    at com.ibm.rmi.io.ObjectStreamClass.lookup(ObjectStreamClass.java:120)
    at com.ibm.rmi.util.RepositoryId.createHashString(RepositoryId.java:627)
    at com.ibm.rmi.util.RepositoryId.createForJavaType(RepositoryId.java:786)
    at com.ibm.rmi.util.RepositoryId.createForAnyType(RepositoryId.java:871)
    at com.ibm.rmi.util.RepositoryId.createForAnyType(RepositoryId.java:855)
    at com.ibm.tools.rmic.iiop.Type.setRepositoryID(Type.java:990)
    at com.ibm.tools.rmic.iiop.CompoundType.initialize(CompoundType.java:733)
    at com.ibm.tools.rmic.iiop.ValueType.initialize(ValueType.java:241)
    at com.ibm.tools.rmic.iiop.ValueType.forValue(ValueType.java:101)
    at com.ibm.tools.rmic.iiop.CompoundType.makeType(CompoundType.java(Compiled
    Code))
    at
    com.ibm.tools.rmic.iiop.CompoundType$Method.<init>(CompoundType.java(Compile
    d Code))
    at
    com.ibm.tools.rmic.iiop.CompoundType.addAllMethods(CompoundType.java(Compile
    d Code))
    at com.ibm.tools.rmic.iiop.ValueType.initialize(ValueType.java:230)
    at com.ibm.tools.rmic.iiop.ValueType.forValue(ValueType.java:101)
    at com.ibm.tools.rmic.iiop.CompoundType.makeType(CompoundType.java(Compiled
    Code))
    at
    com.ibm.tools.rmic.iiop.CompoundType$Method.<init>(CompoundType.java(Compile
    d Code))
    at
    com.ibm.tools.rmic.iiop.CompoundType.addAllMethods(CompoundType.java:1279)
    at
    com.ibm.tools.rmic.iiop.RemoteType.isConformingRemoteInterface(RemoteType.ja
    va:207)
    at com.ibm.tools.rmic.iiop.RemoteType.initialize(RemoteType.java:156)
    at com.ibm.tools.rmic.iiop.RemoteType.forRemote(RemoteType.java:75)
    at
    com.ibm.tools.rmic.iiop.CompoundType.addRemoteInterfaces(CompoundType.java:1
    411)
    at
    com.ibm.tools.rmic.iiop.ImplementationType.initialize(ImplementationType.jav
    a:151)
    at
    com.ibm.tools.rmic.iiop.ImplementationType.forImplementation(ImplementationT
    ype.java:77)
    at com.ibm.tools.rmic.iiop.StubGenerator.getTopType(StubGenerator.java:128)
    at com.ibm.tools.rmic.iiop.Generator.generate(Generator.java:263)
    at sun.rmi.rmic.Main.doCompile(Main.java:547)
    at sun.rmi.rmic.Main.compile(Main.java:137)
    at sun.rmi.rmic.Main.main(Main.java:786)
    error: An error has occurred in the compiler; Please visit the URL
    http://www.ibm.com/java/jdk/support for information on
    investigating/reporting this problem. 1 error RMIC Command returns RC = 1.
    The problems which stopped RMIC are displayed, and have also been recorded
    in the log file.

    Brian,
    I have used this approach quite successfully with BEA WebLogic Server 7.0.
    The JDO enhanced class can act as both the DAO for persistence, and the DTO
    in its transient form. The client can rely on network class loading, so long
    as you package your EJB-JAR or EAR to contain the JDO jars.
    I think your compile problem is probably just a classpath issue.
    Ben
    "Brian Smith" <[email protected]> wrote in message
    news:[email protected]...
    >
    >
    >
    I have implemented the implemented the seralize interface in my JDO object
    classes. My JDO classes are only a data framework, I use them on both my
    EJB tier and I would like to use them on the web tier.... My thinking wasto
    serialize the object graph and pass it between the EJB and web tier....This
    seemed like a very good and easy way to painless move my object graph
    around. However, I am getting compile problems trying to compile the EJB
    methods.
    I have tried two variations on the method signature:
    public String testDeal (Deal myDeal) and
    public Deal testDeal (String name)
    where Deal is the root of my JDO object graph. The compile time errorthat
    results by trying to have a JDO enhanced class in the EJB method signature
    is shown below.
    IS THIS A LIMATION OF JDO or am I doing something wrong?
    Second question
    =============
    If I can't pass a JDO object as my Data Transfer object then I have to use
    my fall back idea.... I am currently sub-classing the JDO with a simple
    wrapper class. I can sucessfully pass these non-JDO classes as DTO's.....
    but I have a simple question.... What is an elegant way of using DTO's to
    populate a inheritance structure? This is not really a Java
    question....but my problem is that I have a list of a base class that I am
    carry around... the list can an one of many subclasses in it... I caneasily
    determine the type of the class that I get out... but to then use this DTO
    to create an a JDO ojbect class instance without a case statement has me
    stumped... I hoped this was a common pattern and that someone had an
    elegent way to do this mapping..... I thought of a utility class or a
    logical to physical mapping structure similar to Struts action mapping,but
    I was wondering if there was a better way. Thanks for any suggestions.
    java.lang.ExceptionInInitializerError: java.util.MissingResourceException:
    Can't find bundle for base name javax.jdo.Bundle, locale en_US
    at
    java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:6
    95)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:667)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:547)
    at javax.jdo.I18NHelper.loadBundle(I18NHelper.java:143)
    at javax.jdo.I18NHelper.<init>(I18NHelper.java:49)
    at javax.jdo.I18NHelper.getInstance(I18NHelper.java:61)
    at javax.jdo.spi.JDOImplHelper.<clinit>(JDOImplHelper.java)
    at aqueduct.Customer.<clinit>(Customer.java)
    at java.lang.reflect.Field.getLong(Native Method)
    at com.ibm.rmi.io.ObjectStreamClass.init(ObjectStreamClass.java:495)
    at
    com.ibm.rmi.io.ObjectStreamClass.lookupInternal(ObjectStreamClass.java:167)
    >
    at com.ibm.rmi.io.ObjectStreamClass.lookup(ObjectStreamClass.java:120)
    at com.ibm.rmi.util.RepositoryId.createHashString(RepositoryId.java:627)
    at com.ibm.rmi.util.RepositoryId.createForJavaType(RepositoryId.java:786)
    at com.ibm.rmi.util.RepositoryId.createForAnyType(RepositoryId.java:871)
    at com.ibm.rmi.util.RepositoryId.createForAnyType(RepositoryId.java:855)
    at com.ibm.tools.rmic.iiop.Type.setRepositoryID(Type.java:990)
    at com.ibm.tools.rmic.iiop.CompoundType.initialize(CompoundType.java:733)
    at com.ibm.tools.rmic.iiop.ValueType.initialize(ValueType.java:241)
    at com.ibm.tools.rmic.iiop.ValueType.forValue(ValueType.java:101)
    atcom.ibm.tools.rmic.iiop.CompoundType.makeType(CompoundType.java(Compiled
    Code))
    at
    com.ibm.tools.rmic.iiop.CompoundType$Method.<init>(CompoundType.java(Compile
    d Code))
    at
    com.ibm.tools.rmic.iiop.CompoundType.addAllMethods(CompoundType.java(Compile
    d Code))
    at com.ibm.tools.rmic.iiop.ValueType.initialize(ValueType.java:230)
    at com.ibm.tools.rmic.iiop.ValueType.forValue(ValueType.java:101)
    atcom.ibm.tools.rmic.iiop.CompoundType.makeType(CompoundType.java(Compiled
    Code))
    at
    com.ibm.tools.rmic.iiop.CompoundType$Method.<init>(CompoundType.java(Compile
    d Code))
    at
    com.ibm.tools.rmic.iiop.CompoundType.addAllMethods(CompoundType.java:1279)
    at
    com.ibm.tools.rmic.iiop.RemoteType.isConformingRemoteInterface(RemoteType.ja
    va:207)
    at com.ibm.tools.rmic.iiop.RemoteType.initialize(RemoteType.java:156)
    at com.ibm.tools.rmic.iiop.RemoteType.forRemote(RemoteType.java:75)
    at
    com.ibm.tools.rmic.iiop.CompoundType.addRemoteInterfaces(CompoundType.java:1
    411)
    at
    com.ibm.tools.rmic.iiop.ImplementationType.initialize(ImplementationType.jav
    a:151)
    at
    com.ibm.tools.rmic.iiop.ImplementationType.forImplementation(ImplementationT
    ype.java:77)
    atcom.ibm.tools.rmic.iiop.StubGenerator.getTopType(StubGenerator.java:128)
    >
    at com.ibm.tools.rmic.iiop.Generator.generate(Generator.java:263)
    at sun.rmi.rmic.Main.doCompile(Main.java:547)
    at sun.rmi.rmic.Main.compile(Main.java:137)
    at sun.rmi.rmic.Main.main(Main.java:786)
    error: An error has occurred in the compiler; Please visit the URL
    http://www.ibm.com/java/jdk/support for information on
    investigating/reporting this problem. 1 error RMIC Command returns RC = 1.
    The problems which stopped RMIC are displayed, and have also been recorded
    in the log file.

  • How to get the TransactionManager in a stateful EJB (using JPA toplink)

    I use weblogic 10.3
    This is my stateful EJB and I need to get the TransactionManager because I want to suspend my transaction...
    Here it is ok for the UserTransaction ut but I got an error with the TransactionManager
    EJB Code
    //@Stateless(name = "MyFacadeEJB", mappedName = "MyFacadeEJB")
    @Stateful(name = "MyFacadeEJB", mappedName = "MyFacadeEJB")
    @TransactionManagement(TransactionManagementType.BEAN)
    @Remote
    @Local
    public class MyFacadeEJBBean implements MyFacadeEJB, MyFacadeEJBLocal, Serializable {   
    @Resource javax.transaction.UserTransaction ut;
    @Resource javax.transaction.TransactionManager tm;
    Error Message at the deploy EJB
    Unable to deploy EJB: MyFacadeEJB from PocJTA-PEJB-ejb:
    [EJB:011026]The EJB container failed while creating the java:/comp/env namespace for this EJB deployment.
    weblogic.deployment.EnvironmentException: [EJB:010176]The resource-env-ref 'test.ejb.MyFacadeEJBBean/tm' declared in the ejb-jar.xml descriptor or annotation has no JNDI name mapped to it. The resource-ref must be mapped to a JNDI name using the resource-description element of the weblogic-ejb-jar.xml descriptor or corresponding annotation.
         at weblogic.ejb.container.deployer.EnvironmentBuilder.addResourceEnvReferences(EnvironmentBuilder.java:639)
         at weblogic.ejb.container.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:247)

    Chpruvos,
    Hi, I ran into a similar issue when specifying WebLogic specific descriptors in ejb-jar.xml and the corresponding weblogic-ejb-jar.xml. I no longer use this approach in our example code - we just use annotations. see: http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial#Tutorial_Source
    My session bean is stateless - I don't know how much it will help with your statefull bean managed config but here are copies of the ejb.jar configuration xml I used to use. All the resource*ref elements (see the resource-description* element) ended up in the weblogic specific weblogic-ejb-jar.xml descriptor file.
    ejb-jar.xml
    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
    &lt;ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:ejb="http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee [http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd]" version="3.0"&gt;
    *&lt;enterprise-beans&gt;*
    *&lt;session&gt;*
    *&lt;ejb-name&gt;ApplicationService&lt;/ejb-name&gt;*
    *&lt;ejb-class&gt;org.eclipse.persistence.example.unified.business.ApplicationService&lt;/ejb-class&gt;*
    *&lt;session-type&gt;Stateless&lt;/session-type&gt;*
    +&lt;!-- default to CMP Container managed transations not BMP --&gt;+
    +&lt;!-- transaction-type&gt;Bean&lt;/transaction-type--&gt;+
    +&lt;!-- resource-env-ref id="ResourceEnvRef_1080980284303"&gt;+
    +&lt;resource-env-ref-name&gt;localOracle10RemoteDS&lt;/resource-env-ref-name&gt;+
    +&lt;resource-env-ref-type&gt;javax.sql.DataSource&lt;/resource-env-ref-type&gt;+
    +&lt;/resource-env-ref--&gt;+
    +&lt;!-- resource-ref&gt;+
    +&lt;res-ref-name&gt;localOracle10RemoteDS&lt;/res-ref-name&gt;+
    +&lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;+
    +&lt;res-auth&gt;Application&lt;/res-auth&gt;+
    +&lt;/resource-ref--&gt;+
    *&lt;/session&gt;*
    *&lt;/enterprise-beans&gt;*
    &lt;/ejb-jar&gt;
    weblogic-ejb-jar.xml
    &lt;?xml version="1.0"?&gt;
    &lt;weblogic-ejb-jar&gt;
    *&lt;weblogic-enterprise-bean&gt;*
    *&lt;ejb-name&gt;ApplicationService&lt;/ejb-name&gt;*
    *&lt;stateless-session-descriptor&gt;*
    *&lt;pool&gt;*
    *&lt;max-beans-in-free-pool&gt;8&lt;/max-beans-in-free-pool&gt;*
    *&lt;initial-beans-in-free-pool&gt;2&lt;/initial-beans-in-free-pool&gt;*
    *&lt;/pool&gt;*
    *&lt;/stateless-session-descriptor&gt;*
    {color:#008000}&lt;resource-description&gt;
    &lt;res-ref-name&gt;localOracle10RemoteDS&lt;/res-ref-name&gt;
    &lt;jndi-name&gt;localOracle10RemoteDS&lt;/jndi-name&gt;
    &lt;/resource-description&gt;
    &lt;resource-env-description&gt;
    &lt;resource-env-ref-name&gt;localOracle10RemoteDS&lt;/resource-env-ref-name&gt;
    &lt;jndi-name&gt;localOracle10RemoteDS&lt;/jndi-name&gt;
    &lt;/resource-env-description&gt;
    {color}+&lt;!-- jndi-name&gt;localOracle10RemoteDS&lt;/jndi-name--&gt;+
    *&lt;/weblogic-enterprise-bean&gt;*
    &lt;/weblogic-ejb-jar&gt;
    thank you
    /michael
    [http://www.eclipselink.org|http://www.eclipselink.org/]
    Edited by: michael_obrien on Feb 26, 2009 9:56 AM

  • Error loading ejb application

    hi am geting blue ring turn turning when deploying my application and it showing a word downloading
    *** Using HTTP port 7101 ***
    *** Using SSL port 7102 ***
    "C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\bin\startWebLogic.cmd"
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=C:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\oracle\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_jdev1112\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
    PATH=C:\oracle\MIDDLE~1\patch_wls1035\profiles\default\native;C:\oracle\MIDDLE~1\patch_jdev1112\profiles\default\native;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\oracle\MIDDLE~1\JDK160~1\jre\bin;C:\oracle\MIDDLE~1\JDK160~1\bin;C:\forms;C:\product\11.2.0\dbhome_1\bin;C:\product\11.2.0\dbhome_1;C:\DevSuiteHome_1\BIN;C:\DevSuiteHome_1\jlib;C:\Program Files\PHP;C:\Program Files\PC Connectivity Solution\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared;C:\Program Files\Common Files\DivX Shared;c:\Program Files\Java\jdk1.6.0_21\bin;C:\product\11.2.0\dbhome_1\BIN;C:\DevSuiteHome_1;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared;C:\mywls;C:\mydomain\base_domain\bin;C:\Program Files\Java\jre6\bin\client;C:\Program Files\Java\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\jre\bin;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files\Java\jdk1.6.0_21;C:\Program Files\Java\jre6;C:\DevSuiteHome_1\forms;C:\DevSuiteHome_1\cgenf61\admin;C:\DevSuiteHome_1\forms;C:\forms\sms_code.pll;C:\mywls\wlserver\bin;C:\Java\jdk1.6.0_21;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b50)
    Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
    Starting WLS with line:
    C:\oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\DOCUME~1\Desmond\LOCALS~1\Temp\trustStore7001298024248775005.jks -Doracle.jdeveloper.adrs=true -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=C:\oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1 -Djrockit.optfile=C:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\oracle\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_jdev1112\profiles\default\sysext_manifest_classpath weblogic.Server
    <16 Dec 2011 6:48:52 PM> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <16 Dec 2011 6:48:52 PM> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <16 Dec 2011 6:48:53 PM> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 19.1-b02 from Sun Microsystems Inc.>
    <16 Dec 2011 6:48:53 PM> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <16 Dec 2011 6:48:54 PM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <16 Dec 2011 6:48:54 PM> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <16 Dec 2011 6:48:54 PM> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <16 Dec 2011 6:48:54 PM> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00234. Log messages will continue to be logged in C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <16 Dec 2011 6:48:54 PM> <Notice> <Log Management> <BEA-170019> <The server log file C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <16 Dec 2011 6:48:58 PM> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <16 Dec 2011 6:49:01 PM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <16 Dec 2011 6:49:02 PM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <MessageLocalizationHelper> <getLocalizedMessage> The resource for bundle "oracle.jrf.i18n.MBeanMessageBundle" with key "oracle.jrf.JRFServiceMBean.checkIfJRFAppliedOnMutipleTargets" cannot be found.
    <16 Dec 2011 6:49:08 PM> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <16 Dec 2011 6:49:08 PM> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00231. Log messages will continue to be logged in C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <16 Dec 2011 6:49:08 PM> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <16 Dec 2011 6:49:09 PM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <16 Dec 2011 6:49:09 PM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <16 Dec 2011 6:49:09 PM> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias DemoIdentity from the jks keystore file C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\DemoIdentity.jks.>
    <16 Dec 2011 6:49:09 PM> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\DemoTrust.jks.>
    <16 Dec 2011 6:49:09 PM> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file C:\oracle\MIDDLE~1\JDK160~1\jre\lib\security\cacerts.>
    <16 Dec 2011 6:49:09 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=Entrust Root Certification Authority - G2,OU=(c) 2009 Entrust\, Inc. - for authorized use only,OU=See www.entrust.net/legal-terms,O=Entrust\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <16 Dec 2011 6:49:09 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=thawte Primary Root CA - G3,OU=(c) 2008 thawte\, Inc. - For authorized use only,OU=Certification Services Division,O=thawte\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <16 Dec 2011 6:49:09 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <16 Dec 2011 6:49:09 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <16 Dec 2011 6:49:09 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <16 Dec 2011 6:49:09 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <16 Dec 2011 6:49:09 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=VeriSign Universal Root Certification Authority,OU=(c) 2008 VeriSign\, Inc. - For authorized use only,OU=VeriSign Trust Network,O=VeriSign\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <16 Dec 2011 6:49:09 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <16 Dec 2011 6:49:09 PM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <16 Dec 2011 6:49:09 PM> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure" is now listening on 127.0.0.1:7102 for protocols iiops, t3s, ldaps, https.>
    <16 Dec 2011 6:49:09 PM> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <16 Dec 2011 6:49:09 PM> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <16 Dec 2011 6:49:09 PM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <16 Dec 2011 6:49:09 PM> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    IntegratedWebLogicServer startup time: 18437 ms.
    IntegratedWebLogicServer started.
    [Running application HR_EJB_JPA on Server Instance IntegratedWebLogicServer...]
    [06:49:10 PM] EJB Module ModelEJB.jar recognized in project Model.jpr
    [06:49:10 PM] Web Module ViewControllerWebApp.war recognized in project ViewController.jpr
    [06:49:10 PM] ---- Deployment started. ----
    [06:49:10 PM] Target platform is (Weblogic 10.3).
    [06:49:11 PM] Retrieving existing application information
    [06:49:11 PM] Running dependency analysis...
    [06:49:11 PM] Deploying 3 profiles...
    [06:49:11 PM] Wrote Web Application Module to C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\o.j2ee\drs\HR_EJB_JPA\ViewControllerWebApp.war
    [06:49:11 PM] Wrote EJB Module to C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\o.j2ee\drs\HR_EJB_JPA\ModelEJB.jar
    [06:49:12 PM] WARNING: Connection Hr has no password. Hr-jdbc.xml file not generated for connection Hr.
    [06:49:12 PM] Wrote Enterprise Application Module to C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\o.j2ee\drs\HR_EJB_JPA
    [06:49:12 PM] Deploying Application...
    <16 Dec 2011 6:49:14 PM> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.util.List oracle.model.HRFacade.getEmployeesFindBySal(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
    [06:49:25 PM] Application Deployed Successfully.
    [06:49:25 PM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [06:49:25 PM] http://127.0.0.1:7101/HR_EJB_JPA-ViewController-context-root
    [06:49:25 PM] Elapsed time for deployment: 15 seconds
    [06:49:25 PM] ---- Deployment finished. ----
    Run startup time: 14734 ms.
    [Application HR_EJB_JPA deployed to Server Instance IntegratedWebLogicServer]
    Target URL -- http://127.0.0.1:7101/HR_EJB_JPA-ViewController-context-root/faces/MainHr.jsf
    <ViewHandlerImpl> <_checkTimestamp> Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    <16 Dec 2011 6:49:34 PM> <Notice> <EclipseLink> <BEA-2005000> <2011-12-16 18:49:34.327--ServerSession(24287119)--EclipseLink, version: Eclipse Persistence Services - 2.1.3.v20110304-r9073>
    <16 Dec 2011 6:49:34 PM> <Notice> <EclipseLink> <BEA-2005000> <2011-12-16 18:49:34.327--ServerSession(24287119)--Server: 10.3.5.0>
    <16 Dec 2011 6:49:35 PM> <Alert> <EclipseLink> <BEA-2005000> <2011-12-16 18:49:35.187--ServerSession(24287119)--Local Exception Stack:
    Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.1.3.v20110304-r9073): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [java:/app/jdbc/jdbc/HrDS].
    Internal Exception: javax.naming.NameNotFoundException: While trying to look up /app/jdbc/jdbc/HrDS in /app/ejb/ModelEJB.jar#HRFacade.; remaining name '/app/jdbc/jdbc/HrDS'
         at org.eclipse.persistence.exceptions.ValidationException.cannotAcquireDataSource(ValidationException.java:466)
         at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:116)
         at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:94)
         at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
         at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:579)
         at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:228)
         at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:389)
         at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:164)
         at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:221)
         at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:209)
         at weblogic.deployment.TransactionalEntityManagerProxyImpl.newPersistenceContext(TransactionalEntityManagerProxyImpl.java:65)
         at weblogic.deployment.BasePersistenceContextProxyImpl.getPersistenceContext(BasePersistenceContextProxyImpl.java:170)
         at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:101)
         at weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:77)
         at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:87)
         at weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:18)
         at $Proxy141.createQuery(Unknown Source)
         at oracle.model.HRFacadeBean.queryByRange(HRFacadeBean.java:25)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy151.queryByRange(Unknown Source)
         at oracle.model.HRFacade_mg5i94_HRFacadeLocalImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
         at oracle.model.HRFacade_mg5i94_HRFacadeLocalImpl.queryByRange(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adfinternal.model.adapter.bean.BeanDCUtils.invokeMethod(BeanDCUtils.java:730)
         at oracle.adf.model.adapter.bean.provider.BeanDataCollection.invokeMethod(BeanDataCollection.java:351)
         at oracle.adf.model.adapter.bean.jpa.JPQLBeanDataCollection.invokeMethodHandlerSize(JPQLBeanDataCollection.java:187)
         at oracle.adf.model.adapter.bean.provider.BeanDataCollection.getEstimatedRowCount(BeanDataCollection.java:377)
         at oracle.adf.model.adapter.bean.provider.BeanDataCollection.init(BeanDataCollection.java:170)
         at oracle.adf.model.adapter.bean.jpa.JPQLBeanDataCollection.init(JPQLBeanDataCollection.java:112)
         at oracle.adf.model.adapter.bean.provider.BeanDataCollection.<init>(BeanDataCollection.java:119)
         at oracle.adf.model.adapter.bean.jpa.JPQLBeanDataCollection.<init>(JPQLBeanDataCollection.java:60)
         at oracle.adf.model.adapter.bean.jpa.JPQLDataFilterHandler.invoke(JPQLDataFilterHandler.java:62)
         at oracle.adf.model.adapter.bean.DataFilterHandler.invokeAccessor(DataFilterHandler.java:141)
         at oracle.adf.model.adapter.bean.BeanFilterableDataControl.invokeAccessor(BeanFilterableDataControl.java:78)
         at oracle.adf.model.bean.DCBeanDataControl.invokeAccessor(DCBeanDataControl.java:487)
         at oracle.adf.model.bean.DCDataVO$DCVOAccessorCollectionAdapter.getDataProvider(DCDataVO.java:2508)
         at oracle.adf.model.bean.DCDataVO$DCBaseAccessorCollectionAdapter.refreshIterator(DCDataVO.java:2291)
         at oracle.adf.model.bean.DCDataVO$DCVOAccessorCollectionAdapter.refreshIterator(DCDataVO.java:2410)
         at oracle.adf.model.bean.DCDataVO.executeQueryForCollection(DCDataVO.java:507)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1227)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1078)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2775)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2752)
         at oracle.jbo.server.ViewRowSetIteratorImpl.first(ViewRowSetIteratorImpl.java:1581)
         at oracle.jbo.server.ViewRowSetImpl.first(ViewRowSetImpl.java:3556)
         at oracle.jbo.server.ViewObjectImpl.first(ViewObjectImpl.java:10196)
         at oracle.adf.model.binding.DCIteratorBinding.internalGetCurrentRowInBinding(DCIteratorBinding.java:2317)
         at oracle.jbo.uicli.binding.JUIteratorBinding.internalGetCurrentRowInBinding(JUIteratorBinding.java:526)
         at oracle.adf.model.binding.DCIteratorBinding.getCurrentRow(DCIteratorBinding.java:2262)
         at oracle.adf.model.binding.DCControlBinding.getCurrentRow(DCControlBinding.java:387)
         at oracle.jbo.uicli.binding.JUControlBinding.getCurrentRow(JUControlBinding.java:98)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGetRow(JUCtrlValueBinding.java:1374)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isAttributeUpdateable(JUCtrlValueBinding.java:1729)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isAttributeUpdateable(JUCtrlValueBinding.java:1826)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isUpdateable(JUCtrlValueBinding.java:2722)
         at oracle.adfinternal.view.faces.model.AdfELResolver._isReadOnly(AdfELResolver.java:126)
         at oracle.adfinternal.view.faces.model.AdfELResolver.isReadOnly(AdfELResolver.java:142)
         at oracle.adfinternal.view.faces.model.AdfELResolverProxy.isReadOnly(AdfELResolverProxy.java:78)
         at com.sun.faces.el.DemuxCompositeELResolver._isReadOnly(DemuxCompositeELResolver.java:293)
         at com.sun.faces.el.DemuxCompositeELResolver.isReadOnly(DemuxCompositeELResolver.java:322)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at com.sun.faces.facelets.el.TagValueExpression.isReadOnly(TagValueExpression.java:120)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:476)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:406)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:128)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:510)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:1088)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.access$100(PanelFormLayoutRenderer.java:50)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1604)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1523)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:420)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:208)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer.access$600(ShowDetailItemRenderer.java:37)
         at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer$ChildEncoderCallback.processComponent(ShowDetailItemRenderer.java:640)

    i delete folder DefaultDomain i even delete from folder system11.1.2.1.38.60.81, but still geting this log error but this time i was ask to enter weblogic password which i did
    [Waiting for the domain to finish building...]
    [09:44:49 AM] Creating Integrated Weblogic domain...
    [09:45:52 AM] Extending Integrated Weblogic domain...
    [09:47:13 AM] Integrated Weblogic domain processing completed successfully.
    *** Using HTTP port 7101 ***
    *** Using SSL port 7102 ***
    "C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\bin\startWebLogic.cmd"
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=C:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\oracle\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_jdev1112\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
    PATH=C:\oracle\MIDDLE~1\patch_wls1035\profiles\default\native;C:\oracle\MIDDLE~1\patch_jdev1112\profiles\default\native;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\oracle\MIDDLE~1\JDK160~1\jre\bin;C:\oracle\MIDDLE~1\JDK160~1\bin;C:\forms;C:\product\11.2.0\dbhome_1\bin;C:\product\11.2.0\dbhome_1;C:\DevSuiteHome_1\BIN;C:\DevSuiteHome_1\jlib;C:\Program Files\PHP;C:\Program Files\PC Connectivity Solution\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared;C:\Program Files\Common Files\DivX Shared;c:\Program Files\Java\jdk1.6.0_21\bin;C:\product\11.2.0\dbhome_1\BIN;C:\DevSuiteHome_1;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared;C:\mywls;C:\mydomain\base_domain\bin;C:\Program Files\Java\jre6\bin\client;C:\Program Files\Java\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\jre\bin;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files\Java\jdk1.6.0_21;C:\Program Files\Java\jre6;C:\DevSuiteHome_1\forms;C:\DevSuiteHome_1\cgenf61\admin;C:\DevSuiteHome_1\forms;C:\forms\sms_code.pll;C:\mywls\wlserver\bin;C:\Java\jdk1.6.0_21;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    Starting WLS with line:
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b50)
    Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
    C:\oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\DOCUME~1\Desmond\LOCALS~1\Temp\trustStore1168903124970580046.jks -Doracle.jdeveloper.adrs=true -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=C:\oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1 -Djrockit.optfile=C:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\DOCUME~1\Desmond\APPLIC~1\JDEVEL~1\SYSTEM~1.81\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\oracle\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_jdev1112\profiles\default\sysext_manifest_classpath weblogic.Server
    <17 Dec 2011 9:47:18 AM> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <17 Dec 2011 9:47:19 AM> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <17 Dec 2011 9:47:19 AM> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 19.1-b02 from Sun Microsystems Inc.>
    <17 Dec 2011 9:47:19 AM> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <17 Dec 2011 9:47:21 AM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <17 Dec 2011 9:47:21 AM> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <17 Dec 2011 9:47:21 AM> <Notice> <Log Management> <BEA-170019> <The server log file C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    WARNING: Could not set file permissions for wallet at C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\config\fmwconfig\bootstrap\cwallet.sso
    WARNING: Could not set file permissions for wallet at C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\config\fmwconfig\bootstrap\cwallet.sso
    <17 Dec 2011 9:47:29 AM> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <MessageLocalizationHelper> <getLocalizedMessage> The resource for bundle "oracle.jrf.i18n.MBeanMessageBundle" with key "oracle.jrf.JRFServiceMBean.checkIfJRFAppliedOnMutipleTargets" cannot be found.
    <17 Dec 2011 9:47:41 AM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <17 Dec 2011 9:47:41 AM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <17 Dec 2011 9:48:21 AM> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <17 Dec 2011 9:48:22 AM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <17 Dec 2011 9:48:22 AM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <17 Dec 2011 9:48:22 AM> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias DemoIdentity from the jks keystore file C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\DemoIdentity.jks.>
    <17 Dec 2011 9:48:22 AM> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\DemoTrust.jks.>
    <17 Dec 2011 9:48:22 AM> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file C:\oracle\MIDDLE~1\JDK160~1\jre\lib\security\cacerts.>
    <17 Dec 2011 9:48:22 AM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=Entrust Root Certification Authority - G2,OU=(c) 2009 Entrust\, Inc. - for authorized use only,OU=See www.entrust.net/legal-terms,O=Entrust\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <17 Dec 2011 9:48:22 AM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=thawte Primary Root CA - G3,OU=(c) 2008 thawte\, Inc. - For authorized use only,OU=Certification Services Division,O=thawte\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <17 Dec 2011 9:48:22 AM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <17 Dec 2011 9:48:22 AM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <17 Dec 2011 9:48:23 AM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <17 Dec 2011 9:48:23 AM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <17 Dec 2011 9:48:23 AM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=VeriSign Universal Root Certification Authority,OU=(c) 2008 VeriSign\, Inc. - For authorized use only,OU=VeriSign Trust Network,O=VeriSign\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <17 Dec 2011 9:48:23 AM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <17 Dec 2011 9:48:23 AM> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <17 Dec 2011 9:48:23 AM> <Warning> <Server> <BEA-002611> <Hostname "madimad-b533821", maps to multiple IP addresses: 192.168.5.33, 41.3.120.64>
    <17 Dec 2011 9:48:23 AM> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure[2]" is now listening on 127.0.0.1:7102 for protocols iiops, t3s, ldaps, https.>
    <17 Dec 2011 9:48:23 AM> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <17 Dec 2011 9:48:23 AM> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure[1]" is now listening on 192.168.5.33:7102 for protocols iiops, t3s, ldaps, https.>
    <17 Dec 2011 9:48:23 AM> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.5.33:7101 for protocols iiop, t3, ldap, snmp, http.>
    <17 Dec 2011 9:48:23 AM> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 41.3.120.64:7101 for protocols iiop, t3, ldap, snmp, http.>
    <17 Dec 2011 9:48:23 AM> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure" is now listening on 41.3.120.64:7102 for protocols iiops, t3s, ldaps, https.>
    <17 Dec 2011 9:48:23 AM> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <17 Dec 2011 9:48:23 AM> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <17 Dec 2011 9:48:23 AM> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    [Running application HR_EJB_JPA on Server Instance IntegratedWebLogicServer...]
    IntegratedWebLogicServer startup time: 70094 ms.
    IntegratedWebLogicServer started.
    [09:48:25 AM] **** Warning: Application HR_EJB_JPA may have been left deployed on the server. Undeploy it from the admin console.
    [09:48:28 AM] EJB Module ModelEJB.jar recognized in project Model.jpr
    [09:48:28 AM] Web Module ViewControllerWebApp.war recognized in project ViewController.jpr
    [09:48:28 AM] ---- Deployment started. ----
    [09:48:28 AM] Target platform is (Weblogic 10.3).
    [09:48:30 AM] Retrieving existing application information
    [09:48:30 AM] Running dependency analysis...
    [09:48:31 AM] Deploying 3 profiles...
    [09:48:32 AM] Wrote Web Application Module to C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\o.j2ee\drs\HR_EJB_JPA\ViewControllerWebApp.war
    [09:48:32 AM] Wrote EJB Module to C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\o.j2ee\drs\HR_EJB_JPA\ModelEJB.jar
    [09:48:33 AM] Wrote Enterprise Application Module to C:\Documents and Settings\Desmond\Application Data\JDeveloper\system11.1.2.1.38.60.81\o.j2ee\drs\HR_EJB_JPA
    [09:48:33 AM] Deploying Application...
    <17 Dec 2011 9:48:37 AM> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.util.List oracle.model.HRFacade.getEmployeesFindBySal(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
    <17 Dec 2011 9:48:37 AM> <Warning> <EJB> <BEA-010202> <Call-by-reference is not enabled for the EJB 'HRFacade'. The server will have better performance if it is enabled. To enable call-by-reference, set the enable-call-by-reference element to True in the weblogic-ejb-jar.xml deployment descriptor or corresponding annotation for this EJB.>
    <17 Dec 2011 9:48:41 AM> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1324144113562' for task '0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:362)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:541)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:175)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: hrDS is already bound
         at weblogic.jdbc.common.internal.RmiDataSource.start(RmiDataSource.java:413)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:136)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:97)
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:359)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         Truncated. see log file for complete stacktrace
    >
    <17 Dec 2011 9:48:41 AM> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'HR_EJB_JPA'.>
    <17 Dec 2011 9:48:41 AM> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'HR_EJB_JPA'.>
    <17 Dec 2011 9:48:41 AM> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:362)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:541)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:175)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: hrDS is already bound
         at weblogic.jdbc.common.internal.RmiDataSource.start(RmiDataSource.java:413)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:136)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:97)
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:359)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         Truncated. see log file for complete stacktrace
    >
    [09:48:41 AM] Deployment cancelled.
    [09:48:41 AM] ---- Deployment incomplete ----.
    [09:48:41 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application HR_EJB_JPA due to error deploying to IntegratedWebLogicServer.
    [Application HR_EJB_JPA stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Edited by: user603350 on 2011/12/17 10:50 AM
    Edited by: user603350 on 2011/12/17 11:07 AM

Maybe you are looking for