• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Weblogic 6.1 - EJB compilation problem

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
A timing clock, fuse wire, high explosives and a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic