Deploy ejb with NetBeans 4.1

has anyone used NB4.1?? I've deployed some Session Beans but I cant access them from a servlet, using java:comp/env/ejb/MySessionBean returns null.. do I have to do some extra config in Sun AppServer so JNDI works?? thanks..

that was it.. I supposed the IDE had done that, but well.. anyway

Similar Messages

  • Deploying EJB with Local Interfaces.

    HI everybody
    I am trying example on EJB with LocalInterfaces with BMP.
    My bean without Local interface is deployed and working fine.
    Then i have changed Home & Remote interface code. Again i have deployed it . It is deployed but i am unable to Look Up.
    I am using J2SDKEE1.3 server & JDK1.3.
    I have changed both interface files as follow:-
    I have made my Home interface as :
    public interface RetrieveConditionHome extends javax.ejb.EJBLocalHome {
         public RetrieveCondition create(String SQL_WHERE_ID, String SQL_WHERE_NAME,
              String FROM_TABLE , String WHERE_CLAUSE , String LAST_UPD_USER_ID ,
              Date LAST_UPD_TMSTMP, int ROW_VERSION)
              throws CreateException;
    I have made my Remote interface as :
    public interface RetrieveCondition extends javax.ejb.EJBLocalObject {
         public String getSQLWHERENAME() ;
    -Viren

    In JMS tutorial : They have stated ejbCreateLocal method.
    I am not using this method in my Bean class. I am using general ejbCreate method as we normally do .
    I am really confused about these methods : ejbCreate & ejbCreateLocal.
    JMS Tutorial site (where they have used ejbCreateLocal):
    A J2EETM Application that Uses the JMS API with an Entity Bean
    java.sun.com/products/jms/tutorial/1_3-fcs/doc/j2eeapp3.html
    Viren

  • Deploying EJB with RAD

    Hello,
    I have an EJB application which uses several external JARs. I added them as a library to the project so that the bean will be able to pass the compilation. However, when I start the server (WebSphere 5.1 Test Environment), I get the exception: addEJBModule failed for ... NoClassDefFoundError...
    I searched for this error and it seems it's related to the classpath, but if I added the library, wasn't it supposed to be deployed automatically with the application? What is missing? (I'm using RAD for development).
    Thanks for any help!

    JavaWisdom wrote:
    SoulTech2012 wrote:
    set your classpath to point to the libraryThat's exactly where my problem lies in. I don't know how to do that in RAD 7. I tried several ways, but couldn't get it to work. The library is actually already in my classpath, No.
    else my code would not have been compiled. Perhaps not true. For example, if you write a class that uses JDBC java.sql interfaces, you can compile just fine even if the driver JAR isn't in the CLASSPATH. It'll only be an issue at runtime.
    It's just when I deploy it and start the server that it can't find the library...Isn't RAD a Java EE compliant app server? Why aren't you packaging these into an EAR file?
    Either way, you screwed up. Look at the IBM docs to see how to do it properly. Stop assuming that you're "right" and defending what you did. You'll find a solution faster.
    %

  • Deploy ejb in netbeans using jboss

    I would like to know the steps to deploy ejb using jboss in netbeans..or please suggest a site which gives the detailed steps for deployment.
    Thank you

    Google

  • Possible to deploy EJB with REPLICATE_BINDINGS == false?

    Is there a way to deploy an EJB with WLContext.REPLICATE_BINDINGS == false?
              There does not seem to be a way to do this using deployment descriptors? Is
              it possible to deploy the EJB programmatically so I can explicitly specify
              REPLICATE_BINDINGS for InitialContext?
              Btw, I'm running WLS 5.1.
              Thank you.
              Marko.
              

    <Sep 9, 2003 9:39:46 AM SGT> <Warning> <EJB> <EJB
    Deployment: Ecommerce.OrderLineItemHome cannot be
    redeployed while the server is running.
    com.igine.apps.ecommerce.OrderLineItemBean is located
    in the server's classpath.>
    <Sep 9, 2003 9:39:46 AM SGT> <Warning> <EJB> <EJB
    Deployment: Ecommerce.OrderLineItemHome cannot be
    redeployed while the server is running.
    com.igine.apps.ecommerce.OrderLineItemHome is located
    in the server's classpath.>
    <Sep 9, 2003 9:39:46 AM SGT> <Warning> <EJB> <EJB
    Deployment: Ecommerce.OrderLineItemHome cannot be
    redeployed while the server is running.
    com.igine.apps.ecommerce.OrderLineItem is located in
    the server's classpath.>
    <Sep 9, 2003 9:39:46 AM SGT> <Warning> <EJB> <EJB
    Deployment: Ecommerce.OrderLineItemHome cannot be
    redeployed while the server is running.
    com.igine.apps.ecommerce.OrderLineItemPK is located in
    the server's classpath.>This is where you've messed up. Your EJB-jar should NEVER be in the JVM ClassPath.

  • Deploying EJBs with same name in different application jars on JBOSS

    Hi,
    We are attempting to deploy entity beans with the same name in 2 different EJB application jars on jboss 3.2.5. One bean is an extension of the other, so some of the DB columns they refer to are the same (they access different DB tables in different tablespaces). However, the field names corresponding to these DB columns in the beans themselves are different (i.e. DB column serviceid is associated with the field serviceid in one bean and service_id in the other).
    We have altered jboss.xml for one of the EJB applications so that the jndi-name used to access that application's bean is different to the jndi-name used to access the entity bean in the other EJB jar.
    However, when we attempt to deploy both jar files on the same jboss server, one of the applications deploys successfully and when we deploy the other, we get EJB spec violation errors, such as the following:
    14:18:34,631 WARN [verifier] EJB spec violation:
    Bean : CommunityAddress
    Section: 10.6.2
    Warning: The entity bean class must define a get accessor for each CMP field.
    Info : Field: service_id
    I'm presuming that this is because the bean which references the serviceid DB column with a field called serviceid is being mixed up with the other bean, which has a service_id field.
    Can anyone tell me if there is anything else that is required to get entity beans/EJBs in different applications but with the same names (and some overlapping fields, etc) deployed successfully on the same jboss server apart from editing jboss.xml for one of the applications?
    Is this a jbosscmp-jdbc.xml issue?
    Any help much appreciated,
    Maurice

    Hi Srinath
    Thanks for your response. Its not cloning, its like check-in file first, then check-out the file and do some editing and then again upload the same file with different revision number using RIDC. I got the solution now.
    Regards
    Raj

  • Deploying ejb with Sun Application Server 8

    I'm deploying a container-managed entity, my status & my problem is listed below:
    Deploytool:
    When I verify my entity, I see this error:
    Error: Exception [ JDO74033: Cannot deploy application 'LibrarianApp' module 'ejb-jar-ic' with CMP beans: cmp-resource is not defined for this module. The minimum requirement for a cmp-resource is to specify the jndi-name of a jdbc-resource or a persistence-manager-factory-resource to be used with the beans. ] while initializing JDOCodeGenerator. Please check your descriptors and mapping files for consistency
    Deploying has not any error but running the application has :
    Caught an exception:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException
    at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:170)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
    in CMP Database of my entity, JNDI Name = jndi/MySQL
    Sun Java System Application Server Platform Edition 8 Admin Console:
    in JDBC Resource JNDI Name: jdbc/MySQL & Pool Name MySQL2
    in Connection Pools > MYSQL2 > Data Source Class Name: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
    Please Help Me. thx

    hi
    I am working with Sun java application Server 8.
    I can able to create application(*.ear),
    (Enterprise Java Bean) bean component,
    client application
    Problem is, i am unable to provide JNDI name for client application
    advice needed to provide JNDI name for the client applications
    i dont know whats the use of pointbase/cloudscape
    (As i am new to this sjaServer 8, i need your advice)
    Response to the following mail id
    [email protected]
    Please do the favour
    thank you

  • Error deploying ejb with jdev 9.0.3 to 9ias 9.0.3

    Hi:
    I am trying to deploy a simple ejb created with jdev 9.0.3. I have used local dcm connection type for deploying . I have already installed the dcm servlet, but when I try to deploy my ejb i get the following error:
    ---- Deployment started. ---- Nov 12, 2002 5:52:12 PM
    Wrote EJB JAR file to C:\jdev\jdev\mywork\employee\Project1\deploy\employee.jar
    Wrote EAR file to C:\jdev\jdev\mywork\employee\Project1\deploy\employee.ear
    Invoking dcmctl...
    C:\ora9ias\dcm\bin\dcmctl.bat redeployApplication -file C:\jdev\jdev\mywork\employee\Project1\deploy\employee.ear -application employee
    ADMN-300075
    Exit status of dcmctl: 0
    Elapsed time for deployment: 21 seconds
    ---- Deployment finished. ---- Nov 12, 2002 5:52:33 PM
    The oracle 9ias and the jdev have been installed on Windows 2000 server.
    Does anybody know what is it?
    Thanks
    Sergio

    I have discovered a strange thing. I created a new OC4J instance which I called it: Intelap
    When I deploy to the recently created instance Intelap, jdeveloper success. But when I set OC4J_home in the optional instance field, I got the previous error.
    Sergio

  • How to deploy ejb with dependent jars

    Hi
    I am trying to deploy a ejb into WEBLOGIC 6.1
    I have the following structure
    c:\testapp\deploy as the root and the following with in the root folder
    ejb/test/app/test.class
    ejb/test/app/testHome.class
    ejb/test/app/testBean.class
    ejb/META-INF/ejb-jar.xml
    ejb/META-INF/weblogic-ejb-jar.xml
    META-INF/application.xml
    I have a testdep.jar file required by the ejb. I have that in the Class path of
    the weblogic startup script.
    However If I want to remove it from the startu[p script and still be able to reference
    in the ejb where should I place it. Do I have to create some other directory with
    standard name? i am deploying the ejb in exploded form.
    Thanx
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I try to do the following but with out luck. I copied a maifest.mf file and the
    .jar file into the META-INF folder. I have the following in the manifest.mf
    Manifest-Version: 1.0
    Created-By: 1.3.1_04 (Sun Microsystems Inc.)
    Class-Path: TPUtils.jar
    the first two lines were generated and i copied the last line and I got the following
    error. I am runiing the application in exploded format.
    EJB : CUBean .Unable to initialize method info for remote or home interface.The
    error is java.lang.NoClassDefFoundError: com/towers/bas/utils/TPData
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
    Rob Woollen <[email protected]> wrote:
    You should have a Manifest Class-Path entry for the jar.
    Basically you'd put the jar say in my.jar
    and you'd have a META-INF/MANIFEST.MF file that looked like this:
    Manifest-Version: 1.0
    Class-Path: my.jar
    -- Rob
    Venkat V wrote:
    Hi
    I am trying to deploy a ejb into WEBLOGIC 6.1
    I have the following structure
    c:\testapp\deploy as the root and the following with in the root folder
    ejb/test/app/test.class
    ejb/test/app/testHome.class
    ejb/test/app/testBean.class
    ejb/META-INF/ejb-jar.xml
    ejb/META-INF/weblogic-ejb-jar.xml
    META-INF/application.xml
    I have a testdep.jar file required by the ejb. I have that in the Classpath of
    the weblogic startup script.
    However If I want to remove it from the startu[p script and still be
    able to reference>> in the ejb where should I place it. Do I have to create some other>directory with>> standard name? i am deploying the ejb in exploded form.>> >> Thanx>> >                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Deploying ejb with webservice annotation problem

    I have the following code:
    HelloInf.java:
    package com.bekijkhet;
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    import javax.jws.WebService;
    @WebService
    public interface HelloInf extends java.rmi.Remote {
    java.lang.String sayHello()
    throws java.rmi.RemoteException;
    Hello.java:
    package com.bekijkhet;
    import javax.ejb.Remote;
    @Remote
    public interface Hello {
    public String sayHello();
    public String sayHelloRemote();
    HelloLocal.java:
    package com.bekijkhet;
    import javax.ejb.Local;
    @Local
    public interface HelloLocal {
    public String sayHello();
    public String sayHelloLocal();
    HelloBean.java:
    package com.bekijkhet;
    import javax.ejb.Stateless;
    @Stateless
    public class HelloBean implements Hello,HelloLocal,HelloInf {
    public String sayHello() {
    return "Hello World!!!!";
    public String sayHelloLocal() {
    return "Hello Local World!!!!";
    public String sayHelloRemote() {
    return "Hello Remote World!!!!";
    When I compile these, add them to a jar and try to deploy them to a standalone oc4j 11g container I don't see the Webservice. I do see the EJB. Why isn't the webservice annotation picked up?
    BTW: I use jdk 6 u03.
    Mvg Andre Broers

    Hi,
    since there is no enterpise manager in OC4J 11 I am wondering how you verifying the non existence of the WebService. Just asking because I need a clue how to verify this issue.
    Frank

  • Deployment error with netbeans vwp

    when i try to run my vwp project i get this error.
    Starting server Bundled Tomcat (5.5.17)
    Starting of Tomcat failed.
    D:\Documents and Settings\Erdal\erdalWEB\nbproject\build-impl.xml:475: Deployment error:
    Starting of Tomcat failed.
    See the server log for details.
    all i do is to open a new Visual Web Application project, drag and drop a label and deploy it. nothing complicated but couldn't found where the problem is. please give me a hand, a hint, a way to get over this...

    Read this, as it says:
    See the server log for details.

  • Help! Problem in deploying ejb with j2ee1.4 deploytool

    I have the error message.
    my system setup
    Project name G:\Test33.ear
    J2EE_HOME d:\j2sdkee1.4
    JAVA_HOME d:\jdk1.4.2
    program path g:\
    ear path g:\
    i cannot deploy it on j2sdkee1.4.
    Any help in this regard is very welcome.
    What is the context path i have to setup to deploy this project
    distribute: G:\Test33.ear
    Deploy action running...
    Contacted Server...
    Application Test33 transferred
    Application Test33 transferred
    Deployment of Test33 is complete.
    Deployment of Test33 is complete.
    Completed
    --- Operation Completed Successfully ---
    start: Test33
    Running...
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
         java.rmi.RemoteException: null; nested exception is:
         javax.management.ReflectionException
         at com.sun.corba.se.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:61)
         at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
         at org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstaller_Stub.start(Unknown Source)
         at com.sun.enterprise.deployapi.actions.ModuleStateAction.run(ModuleStateAction.java:58)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.rmi.RemoteException: null; nested exception is:
         javax.management.ReflectionException
         at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.start(JarInstallerImpl.java:1171)
         at org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie._invoke(Unknown Source)
         at com.sun.corba.se.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:353)
         at com.sun.corba.se.internal.iiop.ORB.process(ORB.java:252)
         at com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.java:81)
         at com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:106)
    Caused by: javax.management.ReflectionException
         at com.sun.management.j2se.MOAgents.EmmaBeanUtil.invoke(EmmaBeanUtil.java:346)
         at com.sun.enterprise.management.model.emma.J2EEApplicationMdlEmmaAgent.invoke(J2EEApplicationMdlEmmaAgent.java:406)
         at com.sun.jdmk.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:334)
         at com.sun.jdmk.MetaDataImpl.invoke(MetaDataImpl.java:496)
         at com.sun.jdmk.DefaultMBeanAccessor.invoke(DefaultMBeanAccessor.java:528)
         at com.sun.jdmk.MBeanServerImpl.invoke(MBeanServerImpl.java:579)
         at com.sun.enterprise.management.agent.MEJBUtility.invoke(MEJBUtility.java:314)
         at com.sun.enterprise.management.util.J2EEManagementObjectManager.startModule(J2EEManagementObjectManager.java:636)
         at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.start(JarInstallerImpl.java:1161)
         ... 5 more
    !!! Operation Failed !!!
    [Completed (time=39.7sec, status=13)]
    **********************************************************************

    Don't suppose you ever fixed this, or anyone know how ?!! I'm on XP, sdkee1.4-beta
    Cheers

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

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

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

  • Initiating a deployment task with id 0,1,2,3...same jar file

    I have been deploying a single EJB jar file but my server starts redeploying same
    jar file until I kill the sever its keep doing this, because it deployed jar (EJB
    component) once successfully, all of next attempt cause "NameAlreadyBoundException".
    I don’t know why it is re deploying same component? Please help.
    pls look at this statement from myserver.log file..
    Initiating a deployment task with id 0 for application appsdirtitanapp_dir
    preparing application appsdirtitanapp_dir on myserver
    EJB Deploying file: titanapp\titanejb.jar
    prepared application appsdirtitanapp_dir on myserver
    activating application appsdirtitanapp_dir on myserver
    EJB Deployed EJB with JNDI name CabinHomeRemote.
    activated application appsdirtitanapp_dir on myserver
    Configuration changes for domain saved to the repository.
    Completing a deployment task with id 0 for application appsdirtitanapp_dir with
    status Completed
    Initiating a deployment task with id 1 for application appsdirtitanapp_dir-0
    I am using Weblogic 7 and using workbook example of Monson-Haefel book.
    Thanks in advance.
    Kumar

    This looks like a bug.
    Is there something in your app which makes it modify the timestamp of the
    root directory or rootDir/META-INF/REDEPLOY file ? That would be the only
    valid reason for the auto deployment to keep triggering. If that is the case
    you might want to use weblogic.Deployer.
    "Kumar" <[email protected]> wrote in message
    news:[email protected]..
    >
    I have been deploying a single EJB jar file but my server startsredeploying same
    jar file until I kill the sever its keep doing this, because it deployedjar (EJB
    component) once successfully, all of next attempt cause"NameAlreadyBoundException".
    >
    I don't know why it is re deploying same component? Please help.
    pls look at this statement from myserver.log file..
    Initiating a deployment task with id 0 for application
    appsdirtitanapp_dir
    preparing application appsdirtitanapp_dir on myserver
    EJB Deploying file: titanapp\titanejb.jar
    prepared application appsdirtitanapp_dir on myserver
    activating application appsdirtitanapp_dir on myserver
    EJB Deployed EJB with JNDI name CabinHomeRemote.
    activated application appsdirtitanapp_dir on myserver
    Configuration changes for domain saved to the repository.
    Completing a deployment task with id 0 for application
    appsdirtitanapp_dir with
    status Completed
    Initiating a deployment task with id 1 for application
    appsdirtitanapp_dir-0
    I am using Weblogic 7 and using workbook example of Monson-Haefel book.
    Thanks in advance.
    Kumar

  • Problem in when deploying EJB 3 using NetBean 5.5 with  Glassfish and Derby

    Hi,
    I'm using glass fish with NetBean. My EJB module built with no error, but when I run the application (the ear) in NetBean, the deployment fails with following errors in server log:
    Anyone has idea why this is happening?
    [TopLink Config]: 2007.04.29 03:28:43.347--ServerSession(26985473)--Connection(29068073)--Connected: jdbc:derby://localhost:1527/auction_database
    User: admin
    Database: Apache Derby Version: 10.1.3.1
    Driver: Apache Derby Network Client JDBC Driver Version: 10.1.3.1
    [TopLink Info]: 2007.04.29 03:28:43.407--ServerSession(26985473)--file:/C:/Sun/SDK/domains/domain1/applications/j2ee-apps/AuctionEnterpriseApplication/AuctionEnterpriseApplication-ejb_jar/-AuctionEnterpriseApplication-ejbPU login successful
    [TopLink Config]: 2007.04.29 03:28:43.437--ServerSession(26985473)--Connection(6880990)--disconnect
    [TopLink Info]: 2007.04.29 03:28:43.437--ServerSession(26985473)--file:/C:/Sun/SDK/domains/domain1/applications/j2ee-apps/AuctionEnterpriseApplication/AuctionEnterpriseApplication-ejb_jar/-AuctionEnterpriseApplication-ejbPU logout successful
    UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\generated\ejb\j2ee-apps\AuctionEnterpriseApplication\AuctionEnterpriseApplication_AuctionEnterpriseApplication-ejb_AuctionEnterpriseApplication-ejbPU_createDDL.jdbc
    UTIL6041: Performing gc to try to force file closures
    UTIL6042: Attempt to delete C:\Sun\SDK\domains\domain1\generated\ejb\j2ee-apps\AuctionEnterpriseApplication\AuctionEnterpriseApplication_AuctionEnterpriseApplication-ejb_AuctionEnterpriseApplication-ejbPU_createDDL.jdbc succeeded after 2 retries
    Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException
    at oracle.toplink.essentials.tools.schemaframework.DefaultTableGenerator.addForeignKeyFieldToFieldDefinition(DefaultTableGenerator.java:409)
    at oracle.toplink.essentials.tools.schemaframework.DefaultTableGenerator.addForeignKeyFieldToSourceTargetTable(DefaultTableGenerator.java:384)
    at oracle.toplink.essentials.tools.schemaframework.DefaultTableGenerator.postInitTableSchema(DefaultTableGenerator.java:285)
    at oracle.toplink.essentials.tools.schemaframework.DefaultTableGenerator.generateDefaultTableCreator(DefaultTableGenerator.java:138)
    at oracle.toplink.essentials.tools.schemaframework.SchemaManager.replaceDefaultTables(SchemaManager.java:817)
    at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createOrReplaceDefaultTables(EntityManagerFactoryProvider.java:307)
    at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.writeDDLsToFiles(EntityManagerFactoryProvider.java:330)
    at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.generateDDLFiles(EntityManagerFactoryProvider.java:235)
    at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:231)
    at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:78)
    at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:113)
    at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:107)
    at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:76)
    at com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.loadPersistenceUnitBundle(PersistenceProcessor.java:468)
    at com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.createTablesInDB(PersistenceProcessor.java:325)
    at com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.processAppBundle(PersistenceProcessor.java:190)
    at com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.processApplication(PersistenceProcessor.java:125)
    at com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.processApplication(DeploymentEventListenerImpl.java:193)
    at com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.processEvent(DeploymentEventListenerImpl.java:152)
    at com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.notifyDeploymentEvent(DeploymentEventListenerImpl.java:109)
    at com.sun.enterprise.deployment.backend.DeploymentEventManager.notifyDeploymentEvent(DeploymentEventManager.java:66)
    at com.sun.enterprise.deployment.backend.AppDeployer.postDeploy(AppDeployer.java:429)
    at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:225)
    at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:129)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)

    Hi thanks, I'm using the default table generator offerred by the app server. my entity classes have relationship with each other. for example, in the Bid entity, I have the mapping to AuctionItem antity.
    @JoinColumn(name = "auctionItems_itemid", referencedColumnName = "itemid")
         @ManyToOne
         public entities.AuctionItem getAuctionItems() {
              return auctionItems;
         public void setAuctionItems(entities.AuctionItem auctionItems) {
              this.auctionItems = auctionItems;
         }

Maybe you are looking for