Hello, I have a simple test application that I'd like to run on WebLogic, but I cannot deploy it. I have a client, a session bean (in a jar) and a CMP 1.1 entity bean (in a jar). They all work on another app server but when I tried to deploy the entity bean in WebLogic Builder 7.0 I get a NullPointerException after I click yes on the dialog that asks me if I want it to generate the weblogic specific deployment descriptor(s). There do not seem to be any log files where I can find a stacktrace.
Am I doing something that the specs don't allow, like using a class as primary key? The ejb-jar.xml contains: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'> <ejb-jar> <enterprise-beans> <entity> <display-name>SampleCMP</display-name> <ejb-name>SampleCMP</ejb-name> <home>packageCMP.SampleCMPHome</home> <remote>packageCMP.SampleCMPRemote</remote> <ejb-class>packageCMP.SampleCMP</ejb-class> <persistence-type>Container</persistence-type> <prim-key-class>packageCMP.SampleCMPPrimaryKey</prim-key-class> <reentrant>False</reentrant> <cmp-field> <field-name>ID</field-name> </cmp-field> <cmp-field> <field-name>NAME</field-name> </cmp-field> <env-entry> <env-entry-name>SampleCMP/Trace</env-entry-name> <env-entry-type>java.lang.String</env-entry-type> <env-entry-value>ON</env-entry-value> </env-entry> </entity> </enterprise-beans> <assembly-descriptor> <container-transaction> <method> <ejb-name>SampleCMP</ejb-name> <method-name>*</method-name> </method> <trans-attribute>Mandatory</trans-attribute> </container-transaction> </assembly-descriptor> </ejb-jar> Thanks! Dies =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
