Bean compilation

Pls, I'm getting the following error messages when I run my class
java:3:cannot find symbol
symbol: class Student
location: package coreservlets
import coreservlets.Student;
Now look how I created my class and package.
(1)The root to my package is
C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\Onlineshopping\WEB-INF\classes\coreservlets
where coreservlets is the name of the package.
(2) Look at the snippet of my Student class
package coreservlets;
import java.sql.*;
import java.lang.Exception.*;
public class Student
(3) Look at the snippet for the class importing Student class
package coreservlets;
import coreservlets.*;
import coreservlets.Student;
import java.util.*;
public class regListBean
(4) I ran the class regListBean by changing the directory to the root in (1)
and the typed at the prompt >javac regListBean.java
and the above error came up
NB: Student class compiled but reListBean class didn't
Pls, any assistance offered will be highly appreciated. Thanks

http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html

Similar Messages

  • Using beans, compile error

    Hi I created a bean called Employee, it belongs to package bean. This class compiles but when I import bean.Employee in other class as "import bean.Employee", I get error saying package bean not found. What am I missing?

    looks like a classpath problem,
    check if your classpath contains the package bean.
    kind regards,
    Koen

  • Beans do not deploy under Service Pack 12

    Hello, we recently upgraded our Weblogic 5.1 from Service Pack 10 to
    Service Pack 12. All the beans compile and jar fine, and most deploy
    ok apart from a few that give the exception given below. Does anyone
    know anything in SP11 or SP12 that might cause this behaviour?
    Thanks!
    Z
    Wed Jul 24 11:26:41 GMT+00:00 2002:<E> <EJB> Could not deploy:
    'D:/FM/SolstraV2/
    lib/reports_content.jar': file is not a valid jar file, or does not
    contain a valid bean
    weblogic.ejb.common.DeploymentException: DeploymentException opening
    JAR file D:
    \FM\SolstraV2\lib\reports_content.jar; nested exception is:
    weblogic.ejb.deployment.JarLoadException - with nested
    exception:
    [weblogic.ejb.common.DeploymentException: Problem creating deployment
    D:/FM/Sols
    traV2/lib/reports_content.jar from
    D:\FM\SolstraV2\lib\reports_content.jar; nest
    ed exception is:
            java.lang.StringIndexOutOfBoundsException: String index out of
    range: -2
    weblogic.ejb.common.DeploymentException: Problem creating deployment
    D:/FM/Solst
    raV2/lib/reports_content.jar from
    D:\FM\SolstraV2\lib\reports_content.jar; neste
    d exception is:
    java.lang.StringIndexOutOfBoundsException: String index out of
    range: -2
    java.lang.StringIndexOutOfBoundsException: String index out of range:
    -2
    at java.lang.String.substring(String.java, Compiled Code)
    at java.lang.String.substring(String.java, Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.computeExcludeForInfo(EJBJarLoader
    .java, Compiled Code)
    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:21
    1)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:18
    2)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:16
    4)
    at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java
    :172)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
    22)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
    12)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:311)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:247)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:879)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:140)
    at weblogic.Server.main(Server.java, Compiled Code)
    at com.solstra.SolstraWeblogicServer.main(SolstraWeblogicServer.java:23)

    Hello, we recently upgraded our Weblogic 5.1 from Service Pack 10 to
    Service Pack 12. All the beans compile and jar fine, and most deploy
    ok apart from a few that give the exception given below. Does anyone
    know anything in SP11 or SP12 that might cause this behaviour?
    Thanks!
    Z
    Wed Jul 24 11:26:41 GMT+00:00 2002:<E> <EJB> Could not deploy:
    'D:/FM/SolstraV2/
    lib/reports_content.jar': file is not a valid jar file, or does not
    contain a valid bean
    weblogic.ejb.common.DeploymentException: DeploymentException opening
    JAR file D:
    \FM\SolstraV2\lib\reports_content.jar; nested exception is:
    weblogic.ejb.deployment.JarLoadException - with nested
    exception:
    [weblogic.ejb.common.DeploymentException: Problem creating deployment
    D:/FM/Sols
    traV2/lib/reports_content.jar from
    D:\FM\SolstraV2\lib\reports_content.jar; nest
    ed exception is:
            java.lang.StringIndexOutOfBoundsException: String index out of
    range: -2
    weblogic.ejb.common.DeploymentException: Problem creating deployment
    D:/FM/Solst
    raV2/lib/reports_content.jar from
    D:\FM\SolstraV2\lib\reports_content.jar; neste
    d exception is:
    java.lang.StringIndexOutOfBoundsException: String index out of
    range: -2
    java.lang.StringIndexOutOfBoundsException: String index out of range:
    -2
    at java.lang.String.substring(String.java, Compiled Code)
    at java.lang.String.substring(String.java, Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.computeExcludeForInfo(EJBJarLoader
    .java, Compiled Code)
    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:21
    1)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:18
    2)
    at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:16
    4)
    at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java
    :172)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
    22)
    at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
    12)
    at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:311)
    at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
    Compiled Code)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:247)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:879)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:140)
    at weblogic.Server.main(Server.java, Compiled Code)
    at com.solstra.SolstraWeblogicServer.main(SolstraWeblogicServer.java:23)

  • Classes without packages not accepted by ejbc compilation ?

    Hey guys ...
    I noticed something which I found unusual...I mite be missing something out here
    When ejbc generates the Bean IMPL class , it does not put any import statements
    in the generated java file but references all the classes in the Bean with their
    absolute path ...
    Now ..I have a 3rd-party jar which does not have certain classes in packages...and
    I reference these classes within my Session Bean...the session bean compiles properly
    ..but when ejbc happens and the Impl class gets generated with the absolute path
    and no imports...the compiler expects to find all these 3rd-party classes without
    packages within the current session bean package itself which it will not..and
    hence throws all sorts of "cannot resolve symbol" errors...
    Does this mean that within my EJB beans I can never reference classes without
    packages or is there something I am missing..?
    Thanx,
    Krish

    Rob ,
    I agree with u that giving classes without package is not a good practise..but
    Itz got a history which believe it or not stems from another weblogic problem(related
    to webservices..)
    anywayz..that is another issue alltogether...
    I don't think this bug is fixed...coz I checked a WLS70 Impl and it is still generating
    the IMPL without the imports...
    But can u clarify..what u wud mean by "fixing the bug" ..does it mean that the
    Impl would start putting the imports..?
    Thanx,
    Krish
    Rob Woollen <[email protected]> wrote:
    I recall this bug being reported before. You might try the latest
    service pack and see if it's been fixed already. Otherwise, you'll have
    to contact [email protected]
    FWIW, it's quite disturbing that a 3rd party would give you a jar
    without a package.
    -- Rob
    Krishnan Venkataraman wrote:
    Hey guys ...
    I noticed something which I found unusual...I mite be missing
    something out here
    When ejbc generates the Bean IMPL class , it does not put any import
    statements
    in the generated java file but references all the classes in the Bean
    with their
    absolute path ...
    Now ..I have a 3rd-party jar which does not have certain classes in
    packages...and
    I reference these classes within my Session Bean...the session bean
    compiles properly
    ..but when ejbc happens and the Impl class gets generated with the
    absolute path
    and no imports...the compiler expects to find all these 3rd-party
    classes without
    packages within the current session bean package itself which it will
    not..and
    hence throws all sorts of "cannot resolve symbol" errors...
    Does this mean that within my EJB beans I can never reference classes
    without
    packages or is there something I am missing..?
    Thanx,
    Krish

  • What does the ejbc message 'Unexpected compiler error.  Result: 252' indicate?

    Every other Result I get provides a meaningful error message, but this is absolutely useless. How do I debug 'Result: 252'? This code comes from running EJBC via ANT. If I run it at the command line, I just get back 'Unexpected compiler error.' right away. I've double checked class names, file names, etc. What's dying here? 10 out of 12 of my beans compile, but those last 2...

    I had the same problem.
    It has to do with the classpath. I tried using other ejbc version and my problem was that I had a class not included in the classpath.
    Sal2, Sergio.

  • Server performance with beans in WEB-INF/classes

    Hi,
    Someone over at oracle corp told me that if i put my beans in WEB-INF/classes, my server would notice a significant performance degradation since the beans would be automatically refreshed or dynamically loaded everytime.
    WHat I am doing now is restarting the webserver everytime a bean is created or changed.
    My goal was to have the new beans automatically noticed by the web server so i didnt have to stop and restart.
    Anyone have any input for me.
    Thanks

    Thanks I will do that but just one question.
    What about when the site it live. Say the boss comes to me and says I need this changed.
    I change the bean, compile it, and MUST restart the web server even though there could be many people on the site. Is that what everyone is doing?
    I think I am a little confused because in a production system I dont feel that the web server should ever be stopped unless there is some type of failure.

  • EJB compilation problem

    I'm migrating from Weblogic 5.1 to 6.1, and I'm having a problem in the compilation of a bean, specifically:
    C:\weblogic\source\ebeans\orderEntity\build\ejbcgen\sae\ebeans\orderEntity\Order
    EntityImpl_k8wq8h_Impl.java:172: unreported exception java.lang.Exception; must
    be caught or declared to be thrown
    result = super.ejbCreate( arg0);
    This bean compiled just fine under jdk1.3.1 and Weblogic 5.1... I have no method "result" in my home, remote, or impl bean classes...

    Is your ejbCreate method throw java.lang.Exception?
    Michael
    Ed Wittmann wrote:
    I'm migrating from Weblogic 5.1 to 6.1, and I'm having a problem in the compilation of a bean, specifically:
    C:\weblogic\source\ebeans\orderEntity\build\ejbcgen\sae\ebeans\orderEntity\Order
    EntityImpl_k8wq8h_Impl.java:172: unreported exception java.lang.Exception; must
    be caught or declared to be thrown
    result = super.ejbCreate( arg0);
    This bean compiled just fine under jdk1.3.1 and Weblogic 5.1... I have no method "result" in my home, remote, or impl bean classes...

  • J2EE Compiler error

    Help!!!
    I have 3 EJBs - all entity. In Deploytool, I have verified all the classes OK - No errors. However on deploying, when processing beans Compilation fails with a Deployment error and in the log the following entry was made.
    Compilation failed.
         at com.sun.ejb.codegen.GeneratorDriver.compileClasses(GeneratorDriver.java:319)
         at com.sun.ejb.codegen.GeneratorDriver.preDeploy(GeneratorDriver.java:695)
         at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployEjbs(JarInstallerImpl.java:705)
         at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication(JarInstallerImpl.java:209)
    Please help as I really need this to work.
    bb
         at org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie._invoke(Unknown Source)
         at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
         at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:273)
         at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
         at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)

    Show me the source code and the deployment descriptor for one EJB.

  • Report in Crystal CRXI using Workshop class datasource

    I am trying to create a report using Crystal Reports XI that uses a Workshop class as a datasource. The documentation for V10 and XI says that any compiled java class that has a public method returning a java.sql.ResultSet object can be used as a data source.
    I followed an example in the Crystal documentation that uses a bean compiled outside of Workshop and it works fine. When I try to point the config file to my Workshop classes, it does not list any of my class files. Has anybody successfully done this?

    Hi Sudhir,
    For Building up a connection for OLEDB  we need :
    In order for Crystal Reports to connect to a database through OLE DB, there are some requirements that must be met:
    u2022     The database client software must be installed on the client machine.
    u2022     The client machine must be able to connect to the server from its client software
    u2022     The client softwareu2019s working directory (example. c:\orant\bin) must be in the Windows search path
    u2022     The OLE DB provider must be installed on the local machine.
    We have the connection for crystal reports through OLEDB :
    The process by which Crystal Reports access data from an OLE DB data source consists of these five layers:
    Crystal Reports Layer
    OLE DB Translation Layer
    OLE DB Layer
    DBMS Translation (OLE DB provider) Layer
    Database Layer
    The data translation is similar to the ODBC connection model. Crystal Reports uses CRDB_ADO.DLL to communicate to the OLE DB provider, which communicates to the database. Crystal Reports can connect to any database as long as that database has an OLE DB provider.
    When creating a new report in Crystal Reports, OLE DB data sources are found in the Create New Connection folder with the OLE DB (ADO) connection.
    Regards,
    Naveen.

  • OAM notification exception in OIM 11.1.1.5 during create or update

    Hello experts,
    We keep getting below exceptions in backend during create or update user. I have also read "Exception During User Create Or Update In Oim Logs [ID 1438746.1]" in oracle support that it's a bug and fixed in BP02. We successfully applied the same recently. But still we are getting the below exception at backend. Is there anything else we need to do to overcome below.
    Your input at the earliest would be helpful.
    <OAM Notification Logger> <BEA-000000> <Error sending notifications java.lang.NullPointerException>
    java.lang.NullPointerException
    at oracle.iam.sso.oam.impl.OAMNotificationProvider.sendUserUpdatedNotification(OAMNotificationProvider.java:107)
    at oracle.iam.sso.eventhandlers.RoleGrantNotificationHandler.execute(RoleGrantNotificationHandler.java:117)
    at oracle.iam.sso.eventhandlers.RoleGrantNotificationHandler.execute(RoleGrantNotificationHandler.java:78)
    at oracle.iam.platform.kernel.impl.OrchProcessData.runPostProcessEvents(OrchProcessData.java:1168)
    at oracle.iam.platform.kernel.impl.OrchProcessData.runEvents(OrchProcessData.java:710)
    at oracle.iam.platform.kernel.impl.OrchProcessData.executeEvents(OrchProcessData.java:227)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeProcess(OrchestrationEngineImpl.java:744)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeChildProcess(OrchestrationEngineImpl.java:826)
    at oracle.iam.platform.kernel.impl.OrchProcessData.handleAdditionalChanges(OrchProcessData.java:537)
    at oracle.iam.platform.kernel.impl.OrchProcessData.runEvents(OrchProcessData.java:802)
    Thanks
    DK

    i see this
    facesContext.getViewRoot().getViewId() = /login.jspxare you using the facesContext in your bean or something.. where are you using this..
    is ur bean compiling in the first place.. if the class is not there.. then you would get this error at compile time itself..

  • Using jimi with java sever pages

    Okay, so here is my problem. I want to be able to create jpg files using java serverpages. So I set up a bean which uses the jimi package to create the jpg's. The bean compiles with no errors, but when I go to view the jsp I get a NoClassDefFound error. It says it can't find com.sun.jimi.core.JimiException, which is the class I need to catch exceptions thrown by the put method in the jimi class. How do I make the bean see the class? My class path is set correctly as far as I can tell, so I think this problem may reside elsehwere. Any help is greatly appreciated.
    -Michael Ray
    [email protected]

    My class path is set correctlyNo, probably not. Did you know that JSPs and beans look for classes either in the .../WEB-INF/classes directory or in the jar files in the .../WEB-INF/lib directory in most servers?

  • Error in exporting project in OSB 11.1.5

    Hi All,
    I am facing problem while exporting my resource in OSB console.
    The export failed with exception: org.apache.xmlbeans.SchemaTypeLoaderException: XML-BEANS compiled schema: Could not locate compiled schema resource schemaorg_apache_xmlbeans/system/sC32E5426CD7FE802750A77E9B68AD947/insertelement.xsb (schemaorg_apache_xmlbeans.system.sC32E5426CD7FE802750A77E9B68AD947.insertelement) - code 0
    if some one have any idea please help
    I am selecting Export Resources and tried both following option.
         Export Projects
         Export Resources
    with included dependency....
    Environment:
    Oracle Service Bus Version: [Oracle Service Bus 11.1 ]
    Oracle Weblogic Server Version: [WebLogic Server 10.3.5.0 ]
    Please suggest some info.
    Regards,
    Abhishek
    Edited by: abhishek on Sep 23, 2012 10:42 PM

    i guess you are exporting both deployments and system file
    you can not export system file without authorization what you need to do is that when exporting unchecked system and export rest of the files.

  • Using SQLJ in Session EJB  (WebLogic 6.1) - connection giving ClassCastError

    Hi All
    I have one SQLJ file which i have translated to a .java file and , its contents ( methods) have ben pasted in a Session bean , which is deployed in Weblogic 6.1 App Server .
    Now in Session bean i am using the jndi lookup of my datasource in Weblogic and creating a conection to the database .
    with this connection the normal jdbc methods connects to the databse , but the sqlj method gives a class cast error when i try to allocate the Connection Object to the DefaultContext .
    *********************** CODE SNIP ********************
    new sqlj.runtime.ref.DefaultContext m_dx = new sqlj.runtime.ref.DefaultContext(conn);
    sqlj.runtime.ref.DefaultContext.setDefaultContext(m_dx);
    "conn"is the jndi dsn's
    DataSourse.getConnection ();
    /*In the Method */
    sqlj.runtime.ConnectionContext __sJT_connCtx = sqlj.runtime.ref.DefaultContext.getDefaultContext();
    the bean compiles , and is deployed sucessfully , and after lookup the conn and m_dx objects are created sucessfully , but when the sqlj method runs it gives a class cast exception .
    java.lang.ClassCastException: weblogic.jdbc.rmi.SerialConnection
    Is it that Weblogic will not support SQLJ translated code ?
    Please help me out , Will i be able to use the Good features of SQLJ in my EJB beans to be Deployed in Weblogic 6.1 Application Server .
    Thanks

    Hi Nicolas,
    Have you tried to turn on testOnReserve setting of the coneection pool?
    Regards,
    "Nicolas Devos" <[email protected]> wrote in message
    news:3c5fa916$[email protected]..
    >
    Hi,
    I am using weblogic 6.1 and oracle 8.1.6, and experiences
    problems with connections pools and database crash.
    When the database server crashes during an EJB transactions,
    the connection used by that transaction seems to be lost and
    is never rebuilt when the database server restarts, therefore
    the number of connections within the pool shrinks thoroughly
    if I have several connections used while the database crashes
    or is shutdown for maintenance.
    If this db crash takes time to recover, all connections
    are destroyed and the pool become unusable.
    As soon as all connections have been 'destroyed' I have
    the following exception:
    'connection pool - none available' when trying to get
    a connection.
    When I restart the database server, the pool does not rebuilt
    itself.
    (I am using a test table to test the presence of the database
    with a frequency set to 60s)
    I did the same operation without EJB transactions and the pool
    could rebuilt itself after the database has been restarted.
    I had that problem with weblogic 6.0 already and in the
    release notes of 6.0_sp2, 2 issues are fixed concerning
    the pool fail-over: 044223 and 041793.
    I would like to know if these issues are fixed in 6.1 as well,
    and if they are related to my problem (Their description is
    quite short).
    Thank you
    Nicolas

  • Java.lang.NoSuchMethodError: oracle.forms.handler.IHandler.getApplet()Ljava

    Hello to all
    I hope it is right forum for my question
    I have found for error I get in Directprint this following:
    When you migrate to the latest Forms version (10.1.2.3 or 11) and try using a JavaBean created with an older Forms version, you can get the following error, at runtime, in the Java Console:
    Exception in thread "thread applet-oracle.forms.engine.Main-1" java.lang.NoSuchMethodError: oracle.forms.handler.IHandler.getApplet()Ljava/applet/Applet
    The reason is you try to use a Java Bean compiled with an older Forms JAR file, like f90all.jar.
    So, to correct the issue, you have to change the Java code then re-create the JAR file:
    private Main formsMain = null;
    Replace:
    formsMain = (Main) handler.getApplet();
    by:
    // getting the Forms Main class
    try{
    Method method = handler.getClass()
    .getMethod("getApplet", new Class[0]);
    Object applet = method.invoke(handler, new Object[0]);
    if (applet instanceof Main) {
    formsMain = (Main)applet;
    }catch(Exception ex) {;}
    Then create and deploy the new JAR file to your /forms/Java folder.
    My problem is
    But I am very poor in java code, could you guide me to do what that article said, or pointing me where find instruction how do this following
    So, to correct the issue, you have to change the Java code then re-create the JAR file:Can I create Jar Directprint.jar, with command
    jar cf jar-file input-file(s)
    C:\DevSuiteHome_1\jdk\bin\jar cvf DirectPrint.jar DirectPrint.java
    Because when I open jdeveloper to associate (Creating JAR deployments using JDeveloper ) it got error (jdeveloper with debug
    Thanks for any help

    I hope it is right forum for my questionIt's not {noformat}:){noformat}
    Try {forum:id=82}
    Best,
    john

  • JDeveloper / OC4J rewriting my orion-ejb-jar.xml

    Hi All.
    Im having a play around with OC4J and CMP entity beans and struts at the moment learning some stuff for a new job, so ive started to write a little test app to get used to things.
    Ive created a CMP entity - CustomerEntityEJB, manually defined the tables etc wrote and built it using JDeveloper 10.
    Ive created all the necessary classes and descriptors in JDeveloper and the bean compiles and deploys fine, however no matter what i do, the table attribute of the <entity-deployment> elemnt is ALWAYS removed from the orion-ejb-jar.xml file before its deployed and i have no idea why.
    Here are some snippets form the xml config files im using....
    ejb-jar.xml :
    <entity>
    <description>Entity Bean ( CMP )</description>
    <display-name>CustomerEntityEJB</display-name>
    <ejb-name>CustomerEntityEJB</ejb-name>
    <local-home>com.gb.ejb.entity.customer.CustomerEntityEJBLocalHome</local-home>
    <local>com.gb.ejb.entity.customer.CustomerEntityEJBLocal</local>
    <ejb-class>com.gb.ejb.entity.customer.CustomerEntityEJBBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Long</prim-key-class>
    <reentrant>false</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>CustomerEntityEJB</abstract-schema-name>
    <cmp-field>
    <field-name>id</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>title</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>forename</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>surname</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>email</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>password</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>active</field-name>
    </cmp-field>
    <primkey-field>id</primkey-field>
    <query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params/>
    </query-method>
    <ejb-ql>SELECT OBJECT(c) FROM CustomerEntityEJB c</ejb-ql>
    </query>
    </entity>
    orion-ejb-jar.xml as in JDeveloper:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <orion-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-ejb-jar-10_0.xsd" schema-major-version="10" schema-minor-version="0">
    <enterprise-beans>
    <persistence-manager name="toplink"/>
    <session-deployment name="CustomerSessionEJB" local-location="CustomerSessionEJB" />
    <entity-deployment name="CustomerEntityEJB" data-source="jdbc/PostgresDS" table="Customer" local-location="CustomerEntityEJB">
    <primkey-mapping>
    <cmp-field-mapping name="id"/>
    </primkey-mapping>
    <cmp-field-mapping name="active"/>
    <cmp-field-mapping name="email"/>
    <cmp-field-mapping name="forename"/>
    <cmp-field-mapping name="id"/>
    <cmp-field-mapping name="password"/>
    <cmp-field-mapping name="surname"/>
    <cmp-field-mapping name="title"/>
    </entity-deployment>
    </enterprise-beans>
    </orion-ejb-jar>
    orion-ejb-jar.xml as viewed in the OC4J enterprise manager.     
    <?xml version="1.0" encoding="utf-8"?>
    <orion-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-ejb-jar-10_0.xsd" deployment-version="10.1.3.3.0" deployment-time="1151415a0e3" schema-major-version="10" schema-minor-version="0" >
    <enterprise-beans>
    <persistence-manager name="toplink" class="oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager" descriptor="toplink-ejb-jar.xml">
    </persistence-manager>
    <session-deployment name="CustomerSessionEJB" location="CustomerSessionEJB" local-location="CustomerSessionEJB" persistence-filename="CustomerSessionEJB">
    <ejb-ref-mapping name="ejb/local/CustomerEntityEJB" location="TWA-EJB_CustomerEntityEJBLocal" />
    </session-deployment>
    <entity-deployment name="CustomerEntityEJB" location="CustomerEntityEJB" local-location="CustomerEntityEJB" concrete-bean-class="CustomerEntityEJB_ConcreteSubClass3" data-source="jdbc/PostgresDS" local-wrapper="CustomerEntityEJBLocalHome_LocalEntityHomeWrapper5">
    </entity-deployment>
    </enterprise-beans>
    <assembly-descriptor>
    <default-method-access>
    <security-role-mapping name="<default-ejb-caller-role>" impliesAll="true" />
    </default-method-access>
    </assembly-descriptor>
    </orion-ejb-jar>
    As you can see, the orion-ejb-jar.xml that been deployed on the server has had extra attributes defined in it (like concrete-bean-class) which makessense - its adding in the bits i didnt to get th bean to deploy - however the table attribue is just removed, meaning my bean cant find the table - hence my app not working.
    i just dont know how to stop this and would be extremely grateful if someone could give me a clue how to get my bean up and working properly as this is driving me insane.
    Thanks in advance..
    Gareth.

    sorted - the <persistence-manager name="toplink"/> element was automatically generated by JDeveloper and put in my orion-ejb-jar.xml appears to be un necessary and seemed to be breaking eveything - as soon as i removed it, the bean seemed to deploy ok and pick up the table name =]
    as a bit of an aside does anyone know why it was automatically put there in the first place if it breaks things?

Maybe you are looking for