This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Weblogic 6.1 - EJB  compilation problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Weblogic 6.1 - EJB  compilation problem" Watch "Weblogic 6.1 - EJB  compilation problem" New topic
Author

Weblogic 6.1 - EJB compilation problem

Vicky Mohan
Ranch Hand

Joined: Oct 14, 2004
Posts: 130
I am using weblogic 6.1. Have coded a simple Entity Bean using CMP technique. When i tried to compile the beans using ejbc, i get the following error. I checked all the xml files, everything seems to be fine.

ERROR MESSAGE
*********************************
[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
*********************************

I am sure i am making a mistake somewhere. Help will be greatly appreciated.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Weblogic 6.1 - EJB compilation problem
 
Similar Threads
Null pointer exception with ejbc while deploying a simple entity bean
How can I print error messages on screen ??
weblogic 6.1 EJB Entity Bean CMP compilation issue
Simple CMP giving error
Getting exceptions while trying to run weblogic.ejbc