Problem deploying entity ejb CMP

hello
when i deploy CMP entity bean in weblogic 5.1
i get an error "could not make connection to pool"
i am using oracle thin driver. connection pool
is created when i start the server but bean could not deploy
please help
thanx

First, set the server to display all logging messages (not just errors), then when you deploy the ejb see what messages happen. I had similar problems when we were deploying on Weblogic 7.0 (with thin Oracle driver).
Also, be sure you have downloaded the latest Oracle driver classes12.zip file and put it into the weblogic server directory - that can cause problems too.

Similar Messages

  • Is there an MBean for a deployed entity EJB?

    Hi,
    I need to access the method invocation times, availability, remove count, create count etc. of a deployed entity EJB through JMX MBean, in JBoss.
    I have deployed the entity bean and the stateless DAO bean that operates on the entity bean. I do find an MBean for this DAO in the JMX-console of JBoss, but not an MBean for the entity EJB.
    a) Why do I not find an MBean for the same?
    b) How is it possible to get the MBean created for the entity EJB?
    Speedy help solicited.
    Thanks a bunch in advance guys !

    When executing an operation via JMX using JConsole, I get the following error:
    Problem invoking getManifest : java.rmi.UnmarshallException: Error unmarshalling return: nested is: java.lang.ClassNotFoundException: foo.bar.InernalServiceException (no security manager: RMI class loader disabled)
    Code snippet:
    public ArrayList getManifest(String s) throws InternalServiceException, MBeanException{
    String path = ".\\foo_services.jar"; // Invalid path on purpose to test exception...
    File file = new File(path);
    FileInputStream fileInput;
    try {
    fileInput = new FileInputStream(file);
    } catch (FileNotFoundException e) {
    String msg = "The manifest file is not found in the given path";
    if (logger.isErrorEnabled()) logger.error(msg);
    throw new InternalServiceException(msg, ErrorConstants.JMX_FILE_NOT_FOUND);
    If I throw new RuntimeException(msg, e) instead of InternalServiceException(msg, ErrorConstants.JMX_FILE_NOT_FOUND), it works and I get the appropriate exception.
    What is the reason for this?

  • Error while deploying entity javabean (CMP)

    Hello,
    I have a problem while I'm trying to deploy an entity javabean (with container managed persistance). I'm using JDeveloper 3.2.3 and 8.1.7.2 database.
    Here is the error I get:
    *** Executing deployment profile E:\Xaris\JDeveloper\General\EJBs\EmpCmp\EmpCmp.prf ***
    *** Generating archive file E:\Xaris\JDeveloper\General\EJBs\EmpCmp\empcmp.jar ***
    Compiling the project...done
    Validating the profile...done
    Initializing deployment...done
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    *** Archive generation completed ***
    *** Deploying the EJB to 8i JVM ***
    EJB deployment argument list:
    "E:\Program Files\Oracle\JDeveloper 3.2.3\java1.2\jre\bin\javaw"
    "-DPATH=E:\Program Files\Oracle\JDeveloper 3.2.3\bin;E:\Program Files\Oracle\JDeveloper 3.2.3\java1.2\bin"
    -classpath
    "E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\aurora_client.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\lib\javax-ssl-1_2.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\jasper.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\vbjorb.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\vbjapp.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\vbjtools.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\vbj30ssl.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\aurora.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\sqlj\lib\translator.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\sqlj\lib\runtime.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\mts.jar;E:\Xaris\JDeveloper\General\EJBs\EmpCmp\classes;E:\Program Files\Oracle\JDeveloper 3.2.3\lib\jdev-rt.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\jdbc\lib\oracle8.1.7\classes12.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\lib\connectionmanager.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\lib\javax_ejb.zip;C:\Program Fil
    s\JavaSoft\JRE\1.3.1\lib\i18n.jar;C:\Program Files\JavaSoft\JRE\1.3.1\lib\jaws.jar;C:\Program Files\JavaSoft\JRE\1.3.1\lib\rt.jar;C:\Program Files\JavaSoft\JRE\1.3.1\lib\sunrsasign.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\lib\xmlparserv2.jar"
    oracle.aurora.ejb.deployment.GenerateEjb
    -u
    harris
    -p
    harris
    -s
    sess_iiop://192.168.10.218:2481:WORK
    -keep
    -temp
    TEMP
    -descriptor
    "E:\Xaris\JDeveloper\General\EJBs\EmpCmp\EmpCmp.xml"
    -oracledescriptor
    E:\Xaris\JDeveloper\General\EJBs\EmpCmp\EmpCmp_oracle.xml
    -generated
    "E:\Xaris\JDeveloper\General\EJBs\EmpCmp\EmpCmpClient.jar"
    "E:\Xaris\JDeveloper\General\EJBs\EmpCmp\empcmp.jar"
    Reading Deployment Descriptor...done
    Verifying Deployment Descriptor...done
    Gathering users...done
    Processing container managed persistence bean...done
    Generating Comm Stubs.............................................done
    Compiling Stubs...done
    Generating Jar File...done
    Loading EJB Jar file and Comm Stubs Jar file...done
    Generating EJBHome and EJBObject on the server...
    An exception occurred during code generation: null
    *** Errors occurred while deploying the EJB to 8i JVM ***
    *** Deployment completed ***
    Can anyone help me understand where is the error?
    Thanks in advance,
    Charalampos

    Volker,
    Let me try again (in the hope that this time you will understand
    what I am saying).
    "database embedded EJB container" and "EJB" are not the same thing.We are a little bit further in technology, so that we have no single Engine, single
    Processor Systems any more.
    Distribution over many computers (RAC) is done by Visigenic ORB (9i) or OC4J.
    EJB Framework is for distribution of Business Logic or in your words of
    Database Logic.
    Oracle is abandoning the "database embedded EJB container".
    Oracle is not abandoning EJB.Please step into technology and make a comparison of Java Stored
    Procedures, look at the native compiler ncomp and try to figure out which
    classes are important for Server Side software development.
    Oracle recommends using OC4J as the EJB container.
    Here is a recent post (from an Oracle employee and regular forum
    participant) from the J2EE forum:
    High number of http 404 errors from webcache
    Here is a quote from that post:
    starting from Oracle9i Release 2 Database EJBs are going to be desupported from database. EJBs can only be deployed in OC4J component of Oracle9iASAs far as I can see, it makes no sense to do that step.
    I beleave, that this decision is very very short lived.
    Unfortunately, my German is very poor -- I can only try to explainYou are right, I am a German.
    things to you in English. Hopefully (if you are still not comprehending
    what I am saying), some kind soul (who must have a better levelAmerican english is for everyone.
    of reading and comprehension in English than you) will explain it
    to you in your native tongue.I have understood, what you said!
    So let me summarize:
    Oracle is abandoning the database embedded EJB container.I don't beleave that! Is that OK!
    By the way, something may have gotten lost in the translation, or
    this may be just another example of your comprehension problem, but
    what is the connection between the TowerJ JVM and the Oracle databasencomp has the same architecture as TowerJ native Compiler.
    Ok?
    embedded EJB container?
    The very best of luck to you,Thanks a lot!
    Avi +Volker!

  • Problem deploying related EJBs in separate JARs

    I have 2 entity EJBs, User and Address, in separate JAR files. The User bean
    has business methods to get and set its related address as follows:
    void setAddressPK(AddressPK newAddress) throws java.rmi.RemoteException;
    AddressPK getAddressPK() java.rmi.RemoteException;
    When I try and load User.jar in the EJB Deployment tool it complains that it
    can't find the AddressPK class. However, I can get round this by explicitly
    adding Address.jar to the classpath.
    When I actually deploy and use the User bean I do NOT need Address.jar on
    the classpath, although I do get warnings during deployment.
    So my question is how do I package and deploy related EJBs. I don't want to
    have to have all my EJBs in the same JAR, nor do I want to have the same
    classes in more than one JAR. Is what I'm doing correct - am I supposed to
    have Address.jar on the classpath? And what about an utility classes that
    are shared between EJBs - where do I put those?
    Thanks in advance,
    Steve.

    I resolved the problem be making sure that my deployment
    jars don't appear in my servlet classpath....
    Jason
    Jeff Wang <[email protected]> wrote in message news:[email protected]...
    In general, if two beans are related (i.e. you can not compile one
    without the other being on the classpath) and they are both deployed
    they should be in the same jar file. If you do not deploy one of them,
    then the undeployed bean can be in the weblogic.class.path with no
    problem.
    I suspect that you are getting a ClassCastException because you have the
    deployment jars in your weblogic.class.path (or java classpath.) Remove
    them, and see if the error is resolved.
    Jeff Wang
    WLCS 2.0 Software Engineer
    Jason Rosenberg wrote:
    Does the same apply for beans of different types? In other words, do
    I need to have an entity bean and a session bean which wraps the entity
    bean in the same jar file?
    I am having a problem accessing a session bean from a JSP servlet. I get
    the dreaded ClassCastException. I don't get this problem, however, if
    I access the session bean directly from a stand-alone java client. It's
    only when I access the session bean via JSP....
    Any ideas?
    Jason
    Jeff Wang <[email protected]> wrote in message news:[email protected]...
    What you should have in the .jar files are:
    the home (say it is called <bean>home.class)
    the remote (say it is called <bean>.class)
    the impl (say it is called <bean>impl.class)
    These are the only ones that should be in the .jar file. (not even the
    PK should be there, for an entity bean.) All the support classes should
    be in weblogic.class.path If you have cross jar dependencies,
    unfortunately, you will have to specify the jar in the
    weblogic.class.path... However, this is not a good idea, as you will
    have 2 class files in memory. At the very least, you will not be able
    to do hot deploy. Depending on your code, you'll have a "class cast
    exception <bean> can not be casted to an object of <bean>" (Something
    like that, I don't have the exact error in front of me.) In your
    example it is probably better to put User and Address in the same jar.
    Jeff Wang
    WLCS 2.0 Software Engineer
    Steve Ward wrote:
    I have 2 entity EJBs, User and Address, in separate JAR files. The User bean
    has business methods to get and set its related address as follows:
    void setAddressPK(AddressPK newAddress) throws java.rmi.RemoteException;
    AddressPK getAddressPK() java.rmi.RemoteException;
    When I try and load User.jar in the EJB Deployment tool it complains that it
    can't find the AddressPK class. However, I can get round this by explicitly
    adding Address.jar to the classpath.
    When I actually deploy and use the User bean I do NOT need Address.jar on
    the classpath, although I do get warnings during deployment.
    So my question is how do I package and deploy related EJBs. I don't want to
    have to have all my EJBs in the same JAR, nor do I want to have the same
    classes in more than one JAR. Is what I'm doing correct - am I supposed to
    have Address.jar on the classpath? And what about an utility classes that
    are shared between EJBs - where do I put those?
    Thanks in advance,
    Steve.

  • Exception while accessing deployed entity bean (CMP)

    Hi
    PSB for the exception i get when i try to access a delpoyed entity bean
    (CMP).
    If any of you have got this exception and fixed it or have any idea of how
    to fix it then please reply asap.
    thanks.
    java.lang.NullPointerException
    at
    com.netscape.server.deployment.PersistenceDeploymentDescriptorImpl.getBeanPr
    operty(Unk
    n Source)
    at com.netscape.server.ejb.SQLPersistenceManager.init(Unknown
    Source)
    at
    com.netscape.server.ejb.SQLPersistenceManagerFactory.addHome(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.initMeta(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.initTransport(Unknown Source)
    at com.kivasoft.eb.EBActivatorCB.getEBHomenative(Native Method)
    at com.kivasoft.eb.EBActivatorCB.getEBHome(Unknown Source)
    at com.netscape.server.ejb.EjbContext.createHomeRef(Unknown Source)
    at com.netscape.server.ejb.EjbContext.getHomeRef(Unknown Source)
    at com.netscape.server.ejb.EjbContext.lookup(Unknown Source)
    at com.netscape.server.jndi.RootContext.lookup(Unknown Source)
    at com.netscape.server.jndi.RootContext.lookup(Unknown Source)
    at javax.naming.InitialContext.lookup(InitialContext.java:357)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:45)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    samples.test.ejb.ejb_skel_samples_test_ejb_TestEJB.getGreeting(ejb_skel_samp
    les_test_e
    TestEJB.java:80)
    at
    samples.test.ejb.ejb_kcp_skel_Test.getGreeting__indir_wstring__indir_wstring
    (ejb_kcp_s
    _Test.java:220)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.ejb_kcp_stub_Test.getGreeting(ejb_kcp_stub_Test.java:327)
    at samples.test.ejb.ejb_stub_Test.getGreeting(ejb_stub_Test.java:71)
    at samples.test.servlet.TestServlet.doGet(TestServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
    Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    [04/Dec/2001 11:16:51:8] error: Exception Stack Trace:
    com.netscape.server.ejb.PersistenceException
    at com.netscape.server.ejb.SQLPersistenceManager.init(Unknown
    Source)
    at
    com.netscape.server.ejb.SQLPersistenceManagerFactory.addHome(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.initMeta(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.initTransport(Unknown Source)
    at com.kivasoft.eb.EBActivatorCB.getEBHomenative(Native Method)
    at com.kivasoft.eb.EBActivatorCB.getEBHome(Unknown Source)
    at com.netscape.server.ejb.EjbContext.createHomeRef(Unknown Source)
    at com.netscape.server.ejb.EjbContext.getHomeRef(Unknown Source)
    at com.netscape.server.ejb.EjbContext.lookup(Unknown Source)
    at com.netscape.server.jndi.RootContext.lookup(Unknown Source)
    at com.netscape.server.jndi.RootContext.lookup(Unknown Source)
    at javax.naming.InitialContext.lookup(InitialContext.java:357)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:45)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    samples.test.ejb.ejb_skel_samples_test_ejb_TestEJB.getGreeting(ejb_skel_samp
    les_test_e
    TestEJB.java:80)
    at
    samples.test.ejb.ejb_kcp_skel_Test.getGreeting__indir_wstring__indir_wstring
    (ejb_kcp_s
    _Test.java:220)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.ejb_kcp_stub_Test.getGreeting(ejb_kcp_stub_Test.java:327)
    at samples.test.ejb.ejb_stub_Test.getGreeting(ejb_stub_Test.java:71)
    at samples.test.servlet.TestServlet.doGet(TestServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
    Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    got the Entity bean found ***************
    got the Entity bean***************
    [04/Dec/2001 11:16:51:8] error: EBFP-marshal_internal: internal exception
    caught in kcp skeleton,
    ception = java.lang.NullPointerException
    [04/Dec/2001 11:16:51:8] error: Exception Stack Trace:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown
    Source)
    at
    com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unkn
    own Source
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown
    Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown
    Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown Source)
    at
    samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.find
    ByPrimaryK
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at
    samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__sample
    s_test_ejb
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp
    stubTest
    ityHome.java:338)
    at
    samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_Te
    stEntityHo
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    samples.test.ejb.ejb_skel_samples_test_ejb_TestEJB.getGreeting(ejb_skel_samp
    les_test_e
    TestEJB.java:80)
    at
    samples.test.ejb.ejb_kcp_skel_Test.getGreeting__indir_wstring__indir_wstring
    (ejb_kcp_s
    _Test.java:220)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.ejb_kcp_stub_Test.getGreeting(ejb_kcp_stub_Test.java:327)
    at samples.test.ejb.ejb_stub_Test.getGreeting(ejb_stub_Test.java:71)
    at samples.test.servlet.TestServlet.doGet(TestServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
    Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    I could not find the Entity bean
    java.rmi.RemoteException: internal error; nested exception is:
    java.lang.NullPointerException
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown
    Source)
    at
    com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unkn
    own Source
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown
    Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown
    Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown Source)
    at
    samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.find
    ByPrimaryK
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at
    samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__sample
    s_test_ejb
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp
    stubTest
    ityHome.java:338)
    at
    samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_Te
    stEntityHo
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    samples.test.ejb.ejb_skel_samples_test_ejb_TestEJB.getGreeting(ejb_skel_samp
    les_test_e
    TestEJB.java:80)
    at
    samples.test.ejb.ejb_kcp_skel_Test.getGreeting__indir_wstring__indir_wstring
    (ejb_kcp_s
    _Test.java:220)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.ejb_kcp_stub_Test.getGreeting(ejb_kcp_stub_Test.java:327)
    at samples.test.ejb.ejb_stub_Test.getGreeting(ejb_stub_Test.java:71)
    at samples.test.servlet.TestServlet.doGet(TestServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
    Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    Regards
    Sandhya Seetharam

    Hi,
    This seems to be the Hello world EJB application with a small
    modification(probably an addition of test directory or a java file). I would
    recomend you to go through every line of the document on deploying this
    application. There is another posting regarding the same issue in this forum.
    Regards
    Raj
    akhila wrote:
    Hi
    PSB for the exception i get when i try to access a delpoyed entity bean
    (CMP).
    If any of you have got this exception and fixed it or have any idea of how
    to fix it then please reply asap.
    thanks.
    java.lang.NullPointerException
    at
    com.netscape.server.deployment.PersistenceDeploymentDescriptorImpl.getBeanPr
    operty(Unk
    n Source)
    at com.netscape.server.ejb.SQLPersistenceManager.init(Unknown
    Source)
    at
    com.netscape.server.ejb.SQLPersistenceManagerFactory.addHome(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.initMeta(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.initTransport(Unknown Source)
    at com.kivasoft.eb.EBActivatorCB.getEBHomenative(Native Method)
    at com.kivasoft.eb.EBActivatorCB.getEBHome(Unknown Source)
    at com.netscape.server.ejb.EjbContext.createHomeRef(Unknown Source)
    at com.netscape.server.ejb.EjbContext.getHomeRef(Unknown Source)
    at com.netscape.server.ejb.EjbContext.lookup(Unknown Source)
    at com.netscape.server.jndi.RootContext.lookup(Unknown Source)
    at com.netscape.server.jndi.RootContext.lookup(Unknown Source)
    at javax.naming.InitialContext.lookup(InitialContext.java:357)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:45)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    samples.test.ejb.ejb_skel_samples_test_ejb_TestEJB.getGreeting(ejb_skel_samp
    les_test_e
    TestEJB.java:80)
    at
    samples.test.ejb.ejb_kcp_skel_Test.getGreeting__indir_wstring__indir_wstring
    (ejb_kcp_s
    _Test.java:220)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.ejb_kcp_stub_Test.getGreeting(ejb_kcp_stub_Test.java:327)
    at samples.test.ejb.ejb_stub_Test.getGreeting(ejb_stub_Test.java:71)
    at samples.test.servlet.TestServlet.doGet(TestServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
    Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    [04/Dec/2001 11:16:51:8] error: Exception Stack Trace:
    com.netscape.server.ejb.PersistenceException
    at com.netscape.server.ejb.SQLPersistenceManager.init(Unknown
    Source)
    at
    com.netscape.server.ejb.SQLPersistenceManagerFactory.addHome(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.initMeta(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.initTransport(Unknown Source)
    at com.kivasoft.eb.EBActivatorCB.getEBHomenative(Native Method)
    at com.kivasoft.eb.EBActivatorCB.getEBHome(Unknown Source)
    at com.netscape.server.ejb.EjbContext.createHomeRef(Unknown Source)
    at com.netscape.server.ejb.EjbContext.getHomeRef(Unknown Source)
    at com.netscape.server.ejb.EjbContext.lookup(Unknown Source)
    at com.netscape.server.jndi.RootContext.lookup(Unknown Source)
    at com.netscape.server.jndi.RootContext.lookup(Unknown Source)
    at javax.naming.InitialContext.lookup(InitialContext.java:357)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:45)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    samples.test.ejb.ejb_skel_samples_test_ejb_TestEJB.getGreeting(ejb_skel_samp
    les_test_e
    TestEJB.java:80)
    at
    samples.test.ejb.ejb_kcp_skel_Test.getGreeting__indir_wstring__indir_wstring
    (ejb_kcp_s
    _Test.java:220)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.ejb_kcp_stub_Test.getGreeting(ejb_kcp_stub_Test.java:327)
    at samples.test.ejb.ejb_stub_Test.getGreeting(ejb_stub_Test.java:71)
    at samples.test.servlet.TestServlet.doGet(TestServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
    Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    got the Entity bean found ***************
    got the Entity bean***************
    [04/Dec/2001 11:16:51:8] error: EBFP-marshal_internal: internal exception
    caught in kcp skeleton,
    ception = java.lang.NullPointerException
    [04/Dec/2001 11:16:51:8] error: Exception Stack Trace:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown
    Source)
    at
    com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unkn
    own Source
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown
    Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown
    Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown Source)
    at
    samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.find
    ByPrimaryK
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at
    samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__sample
    s_test_ejb
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp
    stubTest
    ityHome.java:338)
    at
    samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_Te
    stEntityHo
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    samples.test.ejb.ejb_skel_samples_test_ejb_TestEJB.getGreeting(ejb_skel_samp
    les_test_e
    TestEJB.java:80)
    at
    samples.test.ejb.ejb_kcp_skel_Test.getGreeting__indir_wstring__indir_wstring
    (ejb_kcp_s
    _Test.java:220)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.ejb_kcp_stub_Test.getGreeting(ejb_kcp_stub_Test.java:327)
    at samples.test.ejb.ejb_stub_Test.getGreeting(ejb_stub_Test.java:71)
    at samples.test.servlet.TestServlet.doGet(TestServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
    Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    I could not find the Entity bean
    java.rmi.RemoteException: internal error; nested exception is:
    java.lang.NullPointerException
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown
    Source)
    at
    com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unkn
    own Source
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown
    Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown
    Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown Source)
    at
    samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.find
    ByPrimaryK
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at
    samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__sample
    s_test_ejb
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp
    stubTest
    ityHome.java:338)
    at
    samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_Te
    stEntityHo
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    samples.test.ejb.ejb_skel_samples_test_ejb_TestEJB.getGreeting(ejb_skel_samp
    les_test_e
    TestEJB.java:80)
    at
    samples.test.ejb.ejb_kcp_skel_Test.getGreeting__indir_wstring__indir_wstring
    (ejb_kcp_s
    _Test.java:220)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.ejb_kcp_stub_Test.getGreeting(ejb_kcp_stub_Test.java:327)
    at samples.test.ejb.ejb_stub_Test.getGreeting(ejb_stub_Test.java:71)
    at samples.test.servlet.TestServlet.doGet(TestServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
    Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    Regards
    Sandhya Seetharam

  • Problem deploying an EJB that uses the JCE 1.2.1 api

    We are deploying a JAR file containing all EJBs of our application on
    Weblogic 5.1 SP4 and we're getting a DeploymentException (which is
    fully included at the end of the message).
    We have no problem deploying the same JAR file on WebLogic 5.1 SP8.
    We have isolated each EJB, so that one EJB is pack into is own JAR
    file. We were able to deploy all EJBs but the one using the JCE 1.2.1
    api.
    Is there any issue using JCE 1.2.1 within an EJB under WL SP4 ?
    As I mentionned earlier, everything works fine with SP8 ?
    Any help will be greatly appreciated.
    Patrick
    Complete error dump:
    Fri Dec 21 14:06:07 EST 2001:<E> <EJB> Could not deploy:
    'C:/weblogic/myserver/eportal/EpcWSHBilling.jar': file is not a valid
    jar file, or does not
    contain a valid bean
    weblogic.ejb.common.DeploymentException: DeploymentException opening
    JAR file C:\weblogic\myserver\eportal\EpcWSHBilling.jar; nested
    exception is:
    weblogic.ejb.deployment.JarLoadException - with nested
    exception:
    [weblogic.ejb.common.DeploymentException: Problem creating deployment
    C:/weblogic/myserver/eportal/EpcWSHBilling.jar from
    C:\weblogic\myserver\eportal\EpcWSHBilling.jar; nested exception is:
            weblogic.ejb.common.DeploymentException: could not read JAR
    file 'C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar'
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            java.lang.NullPointerException
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            java.lang.NullPointerException
    java.lang.NullPointerException
            at weblogic.ejb.internal.depend.ClosedSet.skipClass(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.addClass(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.findConstants(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.run(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.findDependencies(ClosedSet.java:53)
            at weblogic.ejb.internal.EJBJarLoader$ClosedSetAdapter.findDependencies(EJBJarLoader.java:220)
            at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
            at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
            at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
            at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
            at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
            at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
            at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
            at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
            at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
            at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
            at java.lang.reflect.Method.invoke(Native Method)
            at weblogic.Server.startServerDynamically(Server.java:99)
            at weblogic.Server.main(Server.java:65)
            at weblogic.Server.main(Server.java:55)
    weblogic.ejb.common.DeploymentException: Problem creating deployment
    C:/weblogic/myserver/eportal/EpcWSHBilling.jar from
    C:\weblogic\myserver\eportal\EpcWSHBilling.jar; nested exception is:
    weblogic.ejb.common.DeploymentException: could not read JAR
    file 'C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar'
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    java.lang.NullPointerException
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    java.lang.NullPointerException
    java.lang.NullPointerException
    at weblogic.ejb.internal.depend.ClosedSet.skipClass(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.addClass(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.findConstants(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.run(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.findDependencies(ClosedSet.java:53)
    at weblogic.ejb.internal.EJBJarLoader$ClosedSetAdapter.findDependencies(EJBJarLoader.java:220)
    at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
    at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
    at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
    at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    weblogic.ejb.common.DeploymentException: could not read JAR file
    'C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar'
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    java.lang.NullPointerException
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    java.lang.NullPointerException
    java.lang.NullPointerException
    at weblogic.ejb.internal.depend.ClosedSet.skipClass(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.addClass(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.findConstants(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.run(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.findDependencies(ClosedSet.java:53)
    at weblogic.ejb.internal.EJBJarLoader$ClosedSetAdapter.findDependencies(EJBJarLoader.java:220)
    at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
    at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
    at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
    at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:213)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
    at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    --------------- nested within: ------------------
    weblogic.ejb.deployment.JarLoadException - with nested exception:
    [weblogic.ejb.common.DeploymentException: Problem creating deployment
    C:/weblogic/myserver/eportal/EpcWSHBilling.jar from
    C:\weblogic\myserver\eportal\EpcWSHBilling.jar; nested exception is:
            weblogic.ejb.common.DeploymentException: could not read JAR
    file 'C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar'
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            java.lang.NullPointerException
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            java.lang.NullPointerException
    java.lang.NullPointerException
            at weblogic.ejb.internal.depend.ClosedSet.skipClass(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.addClass(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.findConstants(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.run(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.findDependencies(ClosedSet.java:53)
            at weblogic.ejb.internal.EJBJarLoader$ClosedSetAdapter.findDependencies(EJBJarLoader.java:220)
            at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
            at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
            at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
            at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
            at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
            at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
            at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
            at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
            at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
            at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
            at java.lang.reflect.Method.invoke(Native Method)
            at weblogic.Server.startServerDynamically(Server.java:99)
            at weblogic.Server.main(Server.java:65)
            at weblogic.Server.main(Server.java:55)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:313)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)

    We are deploying a JAR file containing all EJBs of our application on
    Weblogic 5.1 SP4 and we're getting a DeploymentException (which is
    fully included at the end of the message).
    We have no problem deploying the same JAR file on WebLogic 5.1 SP8.
    We have isolated each EJB, so that one EJB is pack into is own JAR
    file. We were able to deploy all EJBs but the one using the JCE 1.2.1
    api.
    Is there any issue using JCE 1.2.1 within an EJB under WL SP4 ?
    As I mentionned earlier, everything works fine with SP8 ?
    Any help will be greatly appreciated.
    Patrick
    Complete error dump:
    Fri Dec 21 14:06:07 EST 2001:<E> <EJB> Could not deploy:
    'C:/weblogic/myserver/eportal/EpcWSHBilling.jar': file is not a valid
    jar file, or does not
    contain a valid bean
    weblogic.ejb.common.DeploymentException: DeploymentException opening
    JAR file C:\weblogic\myserver\eportal\EpcWSHBilling.jar; nested
    exception is:
    weblogic.ejb.deployment.JarLoadException - with nested
    exception:
    [weblogic.ejb.common.DeploymentException: Problem creating deployment
    C:/weblogic/myserver/eportal/EpcWSHBilling.jar from
    C:\weblogic\myserver\eportal\EpcWSHBilling.jar; nested exception is:
            weblogic.ejb.common.DeploymentException: could not read JAR
    file 'C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar'
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            java.lang.NullPointerException
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            java.lang.NullPointerException
    java.lang.NullPointerException
            at weblogic.ejb.internal.depend.ClosedSet.skipClass(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.addClass(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.findConstants(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.run(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.findDependencies(ClosedSet.java:53)
            at weblogic.ejb.internal.EJBJarLoader$ClosedSetAdapter.findDependencies(EJBJarLoader.java:220)
            at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
            at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
            at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
            at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
            at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
            at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
            at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
            at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
            at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
            at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
            at java.lang.reflect.Method.invoke(Native Method)
            at weblogic.Server.startServerDynamically(Server.java:99)
            at weblogic.Server.main(Server.java:65)
            at weblogic.Server.main(Server.java:55)
    weblogic.ejb.common.DeploymentException: Problem creating deployment
    C:/weblogic/myserver/eportal/EpcWSHBilling.jar from
    C:\weblogic\myserver\eportal\EpcWSHBilling.jar; nested exception is:
    weblogic.ejb.common.DeploymentException: could not read JAR
    file 'C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar'
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    java.lang.NullPointerException
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    java.lang.NullPointerException
    java.lang.NullPointerException
    at weblogic.ejb.internal.depend.ClosedSet.skipClass(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.addClass(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.findConstants(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.run(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.findDependencies(ClosedSet.java:53)
    at weblogic.ejb.internal.EJBJarLoader$ClosedSetAdapter.findDependencies(EJBJarLoader.java:220)
    at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
    at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
    at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
    at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    weblogic.ejb.common.DeploymentException: could not read JAR file
    'C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar'
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    java.lang.NullPointerException
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
    java.lang.NullPointerException
    java.lang.NullPointerException
    at weblogic.ejb.internal.depend.ClosedSet.skipClass(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.addClass(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.findConstants(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.run(ClosedSet.java,
    Compiled Code)
    at weblogic.ejb.internal.depend.ClosedSet.findDependencies(ClosedSet.java:53)
    at weblogic.ejb.internal.EJBJarLoader$ClosedSetAdapter.findDependencies(EJBJarLoader.java:220)
    at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
    at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
    at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
    at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:213)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
    at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    --------------- nested within: ------------------
    weblogic.ejb.deployment.JarLoadException - with nested exception:
    [weblogic.ejb.common.DeploymentException: Problem creating deployment
    C:/weblogic/myserver/eportal/EpcWSHBilling.jar from
    C:\weblogic\myserver\eportal\EpcWSHBilling.jar; nested exception is:
            weblogic.ejb.common.DeploymentException: could not read JAR
    file 'C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar'
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            java.lang.NullPointerException
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    C:\weblogic\myserver\tmp_deployments\ejbjar2596.jar; nested exception
    is:
            java.lang.NullPointerException
    java.lang.NullPointerException
            at weblogic.ejb.internal.depend.ClosedSet.skipClass(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.addClass(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.findConstants(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.run(ClosedSet.java,
    Compiled Code)
            at weblogic.ejb.internal.depend.ClosedSet.findDependencies(ClosedSet.java:53)
            at weblogic.ejb.internal.EJBJarLoader$ClosedSetAdapter.findDependencies(EJBJarLoader.java:220)
            at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
            at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
            at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
            at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
            at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
            at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
            at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
            at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
            at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
            at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
            at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
            at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
            at java.lang.reflect.Method.invoke(Native Method)
            at weblogic.Server.startServerDynamically(Server.java:99)
            at weblogic.Server.main(Server.java:65)
            at weblogic.Server.main(Server.java:55)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:313)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)

  • Problems deploying an EJB....

    When attempting to deploy a very simple EJB using JDeveloper 3.2.2 onto a 8.1.7 database I'm getting the following error.
    Loading EJB Jar file and Comm Stubs Jar file...done
    Generating EJBHome and EJBObject on the server...
    Message [IOEXCEPTION_DESERIALIZING] not found in 'oracle.aurora.ejb.deployment.server.Messages'.
    *** Errors occurred while deploying the EJB to 8i JVM ***
    Anyone got any ideas....
    Cheers
    Matt

    Apologies for the post - I've found the problem/solution on another forum.
    http://technet.oracle.com:89/ubb/Forum18/HTML/001116.html
    Cheers
    Matt
    null

  • Problem Deploying my EJB in JDeveloper3.2

    Hi there!!
    I'm totally new in EJB. I've been working with JDeveloper3.2. I want to create an EJB to access a SQL Server Database. I did a simple database with just one table named person, which has 3 fields: id, name, and age, so I created a container managed entity bean. And I create EJB/8i deployment profile, using the Business Components Project Wizard, where I specified the database connection using the sun jdbc-odbc bridge to access the data source, I use SQL92 for the SQL Dialect and Java for the Type Map and then the wizard check the connection and it says 'it's ok'. Next I used the EJB/8i deployment Object Wizard, where I specified the name of the deployment object and the Schema Object, where I choosed 'dbo.person' (table name) and finish, but when I click finish the java code generation starts and it produces and exception = java.sql.SQLException:[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid Object Name 'USER_OBJECTS'...What can it be? After that JDeveloper displays the Deployment Profile Wizard, where I specified Project, Roles, Methods, Transactions, Output and Connection, but when I deploy using the given settings an error occurs=[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid Object Name PRODUCT_COMPONENT_VERSION'...I'm using a SQL Server Database, what's the problem? or what can I do? I think this EJB is very simple but it doesn't work, why? Somebody can help, please?
    My email is [email protected] I'll thank you a lot!

    I forgot it, the file jboLastException.txt contents this:
    java.sql.SQLException: ORA-00904: invalid column name
    void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
    void oracle.jdbc.ttc7.TTIoer.processError()
    void oracle.jdbc.ttc7.Oall7.receive()
    void oracle.jdbc.ttc7.TTC7Protocol.doOall7(byte, byte, int, byte[], oracle.jdbc.dbaccess.DBType[], oracle.jdbc.dbaccess.DBData[], int, oracle.jdbc.dbaccess.DBType[], oracle.jdbc.dbaccess.DBData[], int)
    oracle.jdbc.dbaccess.DBColumn[] oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(oracle.jdbc.dbaccess.DBStatement, byte[], oracle.jdbc.dbaccess.DBDataSet)
    void oracle.jdbc.driver.OracleStatement.doExecuteQuery()
    void oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout()
    java.sql.ResultSet oracle.jdbc.driver.OracleStatement.executeQuery(java.lang.String)
    boolean oracle.jbo.dt.jdev.ui.deploy.JddDeployPanel.isJboInstalled(java.sql.Connection, int)
    oracle.jdeveloper.deployment.model.DeploymentModel oracle.jbo.dt.jdev.ui.deploy.JddDeployPanel.createEJB_EB_RTProfile(oracle.jbo.dt.objects.JboApplication)
    void oracle.jbo.dt.jdev.ui.JdCmpEOAddin.invoke(borland.jbuilder.addin.IdeEnvironment, borland.jbuilder.addin.Context)
    void oracle.jdeveloper.wizard.ejb.EJBNodeFactory._invoke(borland.jbuilder.addin.IdeEnvironment, borland.jbuilder.addin.Context, java.lang.String)
    void oracle.jdeveloper.wizard.ejb.$661.invoke(borland.jbuilder.addin.IdeEnvironment, borland.jbuilder.addin.Context)
    void borland.jbuilder.addin.impl.InvokerImpl.run()
    void java.lang.Thread.run()

  • Is there a problem with Entity EJBs on 8.1.7?

    Oracle 8.1.7 on Solaris 7:
    Bean Managed persistence:
    TX Attribute - Required:
    UserTransaction bound into JNDI:
    I have tried numerous times and numerous ways to get my Entity beans working. Ejbs that represent tables with 3 columns work fine, but another EJB with 15 columns doesn't - ejbCreate, ejbFindByPrimaryKey work fine, but whenever make some changes and subsequently commit, ejbStore doesn't execute, I even had my client sleep for 15 secs, but still nothing. I know there is a problem with deploying EJBs using JDeveloper 3.2, but I have deployed all these EJBs using deployejb command line tool on the server itself!
    We are right now trying to find out whether Oracle is our right choice for EJBs, any input is highly appreciated.
    Thanks in Advance.
    Ashish.

    Upon further investigation this is what I have found:
    1. Created another EJB for the 15 column table, but this time represented just 3 of its columns - so I have 3 instance variables in the Bean, and a getter/setter method for each except a setter for the primary key.
    2. Undoubtedly it worked fine.
    3. Increased the number of columns to 4 and GUESS WHAT, upon calling setXXX for the newly added setter method and committing, it started failing, the value just wouldn't change in the DB. But when I call all the setXXX methods, it works just fine, I finally narrowed it down to just 1 setXXX method, if I use this method with any other setXXX methods, all the values get updated, otherwise none of them get updated.
    CLEARER PICTURE:
    Supposing I have the following instance variables in the Bean:
    String id;
    String dt;
    String vol;
    String price;
    String beg_day;
    String end_day;
    and the following get/set methods
    String getId()
    String getDt()
    String setDt()
    String getVol()
    String setVol()
    String getPrice()
    String setPrice()
    String getBeg_day()
    String setBeg_day()
    String getEnd_day()
    String setEnd_day()
    Now if I do the following:
    HomeInterface hm = ...JNDI lookup
    UserTransaction ut = ...JNDI lookup
    ut.begin();
    RemoteInterface rm = hm.findByPrimaryKey("1");
    rm.setBeg_day("01-DEC-00");
    ut.commit();
    nothing happens, the date in the underlying table is still the same, BUT.....
    if I do this:
    ut.begin();
    rm = hm.findByPrimaryKey("1");
    rm.setDt("01-DEC-00");
    rm.setBeg_day("01-DEC-00");
    ut.commit();
    IT WORKS..... using setDt() with any other method works for that setXXX method also...
    Anybody experience this at all.....
    Thanks in advance for your help.
    Ashish.
    PS: setDt() is the last method in the stBean.java file with the maximum __method_index, does that make any difference??

  • Problems deploying entity beans with local interfaces on Jboss?

    I'm trying to deploy a simple entity bean using local interfaces on Jboss 3.2.1 and I obtain the following exception:
    19:08:51,875 WARN [verifier] EJB spec violation:
    Bean : UsersEJB
    Section: 9.2.2
    Warning: The entity bean class must not be defined as abstract.
    19:08:51,875 WARN [verifier] EJB spec violation:
    Bean : UsersEJB
    Section: 9.4.7.1
    Warning: The primkey-field element must name a public field in the bean implemen
    tation class.
    Any idea?
    Thanks,
    Marco

    I guess you are missing <cmp-version>2.x</cmp-version> for your first warning and <primkey-field>primary key field </primkey-field> for you second warning in your ejb-jar.xml

  • Deploying CMP Entity EJB: NullPointerException

    Hi,
    I have built a very simple CMP Entity EJB, when deploying it to Oracle8i 8.1.7, it fails and return this error:
    Processing container managed persistence bean...java.lang.NullPointerException
    java.lang.Class java.lang.Class.forName0(java.lang.String, boolean, java.lang.ClassLoader)
    java.lang.Class java.lang.Class.forName(java.lang.String)
    void oracle.aurora.ejb.deployment.GenerateEjb.cmpDeploy(oracle.aurora.ejb.dd.OracleEntityDescriptor)
    void oracle.aurora.ejb.deployment.GenerateEjb.invoke()
    void oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke(java.lang.String[], java.io.InputStream, java.io.PrintStream, java.io.PrintStream)
    void oracle.aurora.ejb.deployment.GenerateEjb.main(java.lang.String[])
    Can anyone help????
    Patrick.
    null

    I have the same problem with JDeveloper 3.2.3 and 8.1.7.2
    Here is the error:
    *** Executing deployment profile E:\Xaris\JDeveloper\General\EJBs\EmpCmp\EmpCmp.prf ***
    *** Generating archive file E:\Xaris\JDeveloper\General\EJBs\EmpCmp\empcmp.jar ***
    Compiling the project...done
    Validating the profile...done
    Initializing deployment...done
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    *** Archive generation completed ***
    *** Deploying the EJB to 8i JVM ***
    EJB deployment argument list:
    "E:\Program Files\Oracle\JDeveloper 3.2.3\java1.2\jre\bin\javaw"
    "-DPATH=E:\Program Files\Oracle\JDeveloper 3.2.3\bin;E:\Program Files\Oracle\JDeveloper 3.2.3\java1.2\bin"
    -classpath
    "E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\aurora_client.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\lib\javax-ssl-1_2.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\jasper.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\vbjorb.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\vbjapp.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\vbjtools.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\vbj30ssl.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\aurora.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\sqlj\lib\translator.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\sqlj\lib\runtime.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\mts.jar;E:\Xaris\JDeveloper\General\EJBs\EmpCmp\classes;E:\Program Files\Oracle\JDeveloper 3.2.3\lib\jdev-rt.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\jdbc\lib\oracle8.1.7\classes12.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\lib\connectionmanager.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\lib\javax_ejb.zip;C:\Program Fil
    s\JavaSoft\JRE\1.3.1\lib\i18n.jar;C:\Program Files\JavaSoft\JRE\1.3.1\lib\jaws.jar;C:\Program Files\JavaSoft\JRE\1.3.1\lib\rt.jar;C:\Program Files\JavaSoft\JRE\1.3.1\lib\sunrsasign.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\lib\xmlparserv2.jar"
    oracle.aurora.ejb.deployment.GenerateEjb
    -u
    harris
    -p
    harris
    -s
    sess_iiop://192.168.10.218:2481:WORK
    -republish
    -keep
    -temp
    TEMP
    -descriptor
    "E:\Xaris\JDeveloper\General\EJBs\EmpCmp\EmpCmp.xml"
    -oracledescriptor
    E:\Xaris\JDeveloper\General\EJBs\EmpCmp\EmpCmp_oracle.xml
    -generated
    "E:\Xaris\JDeveloper\General\EJBs\EmpCmp\EmpCmpClient.jar"
    "E:\Xaris\JDeveloper\General\EJBs\EmpCmp\empcmp.jar"
    Reading Deployment Descriptor...done
    Verifying Deployment Descriptor...done
    Gathering users...done
    Processing container managed persistence bean...java.lang.NullPointerException
         java.lang.Class java.lang.Class.forName0(java.lang.String, boolean, java.lang.ClassLoader)
         java.lang.Class java.lang.Class.forName(java.lang.String)
         void oracle.aurora.ejb.deployment.GenerateEjb.cmpDeploy(oracle.aurora.ejb.dd.OracleEntityDescriptor)
         void oracle.aurora.ejb.deployment.GenerateEjb.invoke()
         void oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke(java.lang.String[], java.io.InputStream, java.io.PrintStream, java.io.PrintStream)
         void oracle.aurora.ejb.deployment.GenerateEjb.main(java.lang.String[])
    null
    *** Errors occurred while deploying the EJB to 8i JVM ***
    *** Deployment completed ***
    Does anyone know what is the problem?

  • Oracle sequence problem in CMP Entity EJB

    I have a problem with Oracle sequence when I am using from the CMP entity EJB in WebLogic
    6.1:
    The problem is when the WebLogic server starts it acquires the correct sequence number
    from Oracle, but during the runtime, when I open a new sqlplus window and increment
    the sequence number, the container is not picking up from the new incremented value
    instead it is still continuining by incrementing the old sequence number it has acquired
    when it fetched from Oracle last time.
    The sequence increment and key-cache-size in weblogic-cmp-rdbms-jar.xml are exactly
    same
    Any help would be greatly appreciated.

    Change the key-cache-size to 1 in weblogic-cmp-rdbms-jar.xml and then try
    your experiment again.
    -- Anand
    "Satya" <[email protected]> wrote in message
    news:3d06274c$[email protected]..
    >
    I have a problem with Oracle sequence when I am using from the CMP entityEJB in WebLogic
    6.1:
    The problem is when the WebLogic server starts it acquires the correctsequence number
    from Oracle, but during the runtime, when I open a new sqlplus window andincrement
    the sequence number, the container is not picking up from the newincremented value
    instead it is still continuining by incrementing the old sequence numberit has acquired
    when it fetched from Oracle last time.
    The sequence increment and key-cache-size in weblogic-cmp-rdbms-jar.xmlare exactly
    same
    Any help would be greatly appreciated.

  • Deployment error: The Entity EJB requires the table:  to be accessible

    Hello
    When I deploy my EJBs, WEBLogic throws an exception:
    Unable to deploy EJB: OrderBean from ejb-jar-ic.jar:
    The Entity EJB requires the table: Order to be accessible. Please ensure that th
    is table exists and is accessible.
    I use built in Cloudscape database.
    And I have those lines in descriptor:
    <weblogic-rdbms-bean>
    <ejb-name>OrderBean</ejb-name>
    <data-source-name>ejbDS</data-source-name>
    <table-name>Order</table-name>
    <field-map>
    <cmp-field>totalAmount</cmp-field>
    <dbms-column>totalAmount</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>time</cmp-field>
    <dbms-column>ordertime</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>orderID</cmp-field>
    <dbms-column>orderID</dbms-column>
    </field-map>
    </weblogic-rdbms-bean>
    <create-default-dbms-tables>True</create-default-dbms-tables>
    thanx in advance
    Maris

    Hi Maris,
    I see that you have create-default-dbms-tables set to true so WLS should be creating
    the database table for your EJB. If you can give me some more information, I'll be
    able to help you further. What version of WLS + service pack are you using? Also,
    is this a 1.1 bean or 2.0? Lastly, what are the types of the CMP fields in your
    bean?
    As a work-around, you can try creating the database table yourself before deploying
    the bean. This should resolve the deployment problem.
    - Matt
    Maris wrote:
    Hello
    When I deploy my EJBs, WEBLogic throws an exception:
    Unable to deploy EJB: OrderBean from ejb-jar-ic.jar:
    The Entity EJB requires the table: Order to be accessible. Please ensure that th
    is table exists and is accessible.
    I use built in Cloudscape database.
    And I have those lines in descriptor:
    <weblogic-rdbms-bean>
    <ejb-name>OrderBean</ejb-name>
    <data-source-name>ejbDS</data-source-name>
    <table-name>Order</table-name>
    <field-map>
    <cmp-field>totalAmount</cmp-field>
    <dbms-column>totalAmount</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>time</cmp-field>
    <dbms-column>ordertime</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>orderID</cmp-field>
    <dbms-column>orderID</dbms-column>
    </field-map>
    </weblogic-rdbms-bean>
    <create-default-dbms-tables>True</create-default-dbms-tables>
    thanx in advance
    Maris

  • Oracle Dabase Schema with OC4J CMP Entity EJB

    I have tables in a schema called vsxlib. My Entity EJBs that map to SQL SERVER tables (no schema) work perfectly. My Entity CMP EJBs that connect need to connect to the vsxlib schema only partially work.
    The findAll method works. When I add a where clause, I get no results back.
    When I try a findByPrimaryKey, I get a ObjectNotFoundException.
    Does OC4J version 9.0.3 support database schemas? There were examples posted at http://otn.oracle.com/sample_code/tech/java/j2ee/javacookbook/transactionsample/readme.html#descfiles say that they have an Entity bean working within a db schema.
    Could it be permission related????
    I even tried creating a synonym pointing to the table within the vsxlib schema.. No Luck.
    I had this same problem with JBoss3.2 and found out that they did not support db schemas. That is why I was wanting to switch to OC4J because I thought for sure, being an oracle product that it would support db schemas.
    Any help is greatly appreciated.

    Hi Alex,
    I think you may be misunderstanding the meaning of 'database schemas'. For your information, in the Oracle database, a schema is the same as a database user. For example all the database tables belonging to user SCOTT (TIGER) are said to be in the SCOTT schema.
    OC4J uses the term 'database schema' differently. Here it refers to the mapping of database datatypes to java classes. Look at the "j2ee/home/config/database-schemas" subdirectoryof the OC4J installation for more details. The "data-sources.xml" file has a 'schema' tag (not sure if that's the correct name) which points OC4J to the datatype mapping XML file -- usually one of those that come with the distribution. However, I use OC4J stand-alone version and I don't need to worry about the mappings at all -- OC4J already knows the mappings for an Oracle database (I assume).
    In order to access a particular Oracle schema, I merely have to log in to the database as the appropriate user. So, using the previous example, if I configure the "data-sources.xml" file to use 'scott' as the database login, then OC4J can access the SCOTT schema. You can find more details about Oracle's use of the term 'schema' in the Oracle documentation, which is available from:
    http://tahiti.oracle.com
    Hope this has answered your question.
    Good Luck,
    Avi.

  • Problem while deploying entity beans

    Hi,
    We are using JDeveloper 3.2.2 (NT) and 8.1.7 (NT) to deploy EJB's.
    Now we are trying to deploy the entity bean to Oracle JVM. We are facing the following problem while deploying an entity bean .
    "Persistence provider declared in the deployment descriptor is not supported
    *** Errors occurred while deploying the EJB to 8i JVM ***
    *** Deployment completed ***"
    We would appreciate if anyone could help us to solve this error.
    null

    Hi,
    The error was coming because of the table structure. All the columns were composite keys. I alter the structured by removing composite keys and added a new column as primary key. Now it is getting deployed successfully.
    Can anybody comment on such a behaviour of OC4J?
    Regards,
    Jinal Shah

Maybe you are looking for

  • Premiere Elements 12 - Gaps in audio playback

    Hello everyone! I have a problem with Adobe Premiere Elements 12: when I play video in timeline or preview window, there are lots of gaps and pauses in audio playback, even though video is playing smoothly. Usually the pattern goes like this: 2 secon

  • Remove mailbox permissions - exchange 2010

    What is it you are trying to achieve by removing permissions = are you talking users having permissions on other accounts or including system accounts - as some are a requirement.

  • ExecuteUpdate error

    Hi Im having a stupid little error and cant see what it is that is causing it. Im trying to set up an admin to allow user to update values in the DB of an application. However, I was using the executeQuery statement and getting the NoResultSet found

  • Text from Photoshop to Indesign

    Hello everyone! I'm new to InDesign I'm working on a DVD cover, wich eventually is sent to print. I work with the images in Photoshop and the text in InDesign (placing the PSD file into InDesign). So far, so good. But, now I have this special title t

  • Checkpoint

    Dear experts I am facing the following problem. Could anyone please help me? "Thread 1 advancend to log sequence [1192] - Current log# 2 seq# [1192] mem# 0: ORACLE:ORAKONSUL\ORADATA\ORACLE\LOG1ORCL.ORA Thread 1 cannot allocate new log, sequence [1193