wood burning stoves
The moose likes BEA/Weblogic and the fly likes weblogic 6.1 EJB Entity Bean CMP compilation issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "weblogic 6.1 EJB Entity Bean CMP compilation issue" Watch "weblogic 6.1 EJB Entity Bean CMP compilation issue" New topic

weblogic 6.1 EJB Entity Bean CMP compilation issue

Vicky Mohan
Ranch Hand

Joined: Oct 14, 2004
Posts: 130
I am using weblogic 6.1, jdk 1.3 and have developed a simple entity bean using CMP ( EJB 2.0) . I have updated all the necessary xml files and when i tried to compile using ejbc, i get the following error

[echo] making the EJB
[copy] Copying 1 file to C:\UMCH\UMCH\Development\deploy\jar\META-INF\lib
[copy] Copying 213 files to C:\UMCH\UMCH\Development\deploy\jar
[jar] Building jar: C:\UMCH\UMCH\Development\deploy\ear\umhcjEJB.jar

[java] ERROR: Error from ejbc: java.lang.NullPointerException
[java] at weblogic.ejb20.cmp.rdbms.codegen.RDBMSCodeGenerator.setRDBMSBean(RDBMSCodeGenerator.java:101)
[java] at weblogic.ejb20.cmp.rdbms.Deployer.preCodeGeneration(Deployer.java:753)
[java] at weblogic.ejb20.ejbc.EJB20CMPCompiler.generatePersistenceSources(EJB20CMPCompiler.java:75)
[java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:228)
[java] at weblogic.ejbc20.runBody(ejbc20.java:360)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
[java] at weblogic.ejbc.main(ejbc.java:21)

[java] weblogic.utils.compiler.ToolFailureException: ERROR: ejbc found errors
[java] at weblogic.ejbc20.runBody(ejbc20.java:428)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
[java] at weblogic.ejbc.main(ejbc.java:21)
[java] Exception in thread "main"
[java] Java Result: 1

1 - I have checked all the xml files again and again, they seemed to be fine.

Any help will be greatly appreciated
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: weblogic 6.1 EJB Entity Bean CMP compilation issue
It's not a secret anymore!