• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error in Weblogic Container generated files

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I am working on CMP beans using JBuilder 7 and Weblogic 6.1sp3. Every other type of bean on this setup runs flawlessly, but a CMP bean and what is wierd is the error in the Weblogic generated Files.
Generated File:
"Product_CMP_2x3lpy__WebLogic_CMP_RDBMS.java":
__________________________________________
public void __WL_setup(java.util.Map bmMap, PersistenceManager __WL_pm) {
if (__WL_verbose) {
Debug.say("Product_CMP_2x3lpy__WebLogic_CMP_RDBMS.setup called.");
}
if (__WL_debug) {
******** Debug.assert(bmMap!=null);
********* Debug.assert(__WL_pm !=null);
}
this.__WL_pm = (RDBMSPersistenceManager)__WL_pm;
this.__WL_classLoader = this.__WL_pm.getClassLoader();
if (__WL_debug) {
********* Debug.assert(this.__WL_classLoader != null);
}
__________________________________________
the EJBC compiler throws an error like this on the ********** marked lines.

Error #: 200 : <identifier> expected at line 1296, column 13
Error #: 207 : not an expression statement at line 1296, column 13

What am I to do?? I am not even trying to deploy it as yet,... just build the project with only this bean in there.
Any ideas appreciated.
Thanks
-IamHIGH.
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I had to guess I would say there is an error in your deployment descriptor that ejbc did not catch. Go back through your descriptors and check for mistakes. If you can't find anything and you are sure you code is correct then the next step would be to contact BEA Support.
 
Chris Mathews
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
BTW... the display name Iam High is in violation of our naming policy. Please edit your profile accordingly.
 
Ian Green
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi again,
What kind of an error could it be? I mean I really dont know what to look for.. I did type in some obvious errors that the ejbc caught right away. Also should i look for errors in the ejb-jar.xml or one of the other Weblogic XML's. Is there a Weblogic site with possible ejbc errors.
_____________________________________

If I had to guess I would say there is an error in your deployment descriptor that ejbc did not catch. Go back through your descriptors and check for mistakes. If you can't find anything and you are sure you code is correct then the next step would be to contact BEA Support.
 
Chris Mathews
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You should look at all the descriptors, especially the weblogic-cmp-rdbms-jar.xml descriptor, it is probably the most complicated of the three and therefore the most likely to contain mistakes.
 
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to the WebLogic forum...
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic