• 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
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

weblogic.ejbc

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
When I try to run the weblogic.ejbc, it gives me an error as
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/ejbc
Can someone please let me know why this is so? I tried to run the example in the Examples dir of wlserver, it gives me the same error. Any help is greatly appriciated.Thankyou,
Meghana
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please note that JavaRanch has a naming standard. We require that your display name be your real first name - space - your real last name.
Moving this to the WebLogic forum.
 
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just make sure weblogic.jar is in your PATH, and you should have no problems.
SAF
 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
SAFROLE, I'm get the same problem but there doesn't appear to be a weblogic.jar file only weblogic510sp7.jar, weblogic510aux.jar.
Am I missing something obvious here?
Should one of the above files be included in the CLASSPATH?
Many thanks
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
if you�re using WL6.X, run the script called "setEnv" under %WL_HOME%\config\%DOMAIN_NAME%, this script will set your environment so you�ll be able to run ejbc properly.
 
Meghana
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
i got the problem solved. I think it is the java version which is used to run the weblogic.ejbc. i tried this and it worked.
home/jdk130/bin/java weblogic.ejbc
I guess we have to specify the whole path of the JDK Compiler to do it. It worked for me. But I have a new problem now. When I start the server I get the following Exception.Any ideas what this means?
Jan 28, 2002 5:12:26 PM EST> <Error> <HTTP> <[HTTP myserver] Error parsing descriptor in Web appplication "./config/mydomain/applications/DefaultWebApp_myserver"
weblogic.xml.dom.ChildCountException
Any help is appreciated!
Meghana
 
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Last night this solution did work for me. However, I have not worked after this step yet. Hopefully things will go........s.m.o.o.t.h.....
Bye,
Tualha Khan

Originally posted by Marcos Maia:
Hi,
if you�re using WL6.X, run the script called "setEnv" under %WL_HOME%\config\%DOMAIN_NAME%, this script will set your environment so you�ll be able to run ejbc properly.

 
Ranch Hand
Posts: 293
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Meghana,
Javaranch has a naming policy. Please re-register with a
name that complies with that policy so that you may continue to post here. Thanks!
--------------------
Joe McGuire
Sun Certified Java™ 2 Programmer, BEA WLS Certified Developer
[ February 01, 2002: Message edited by: Joe McGuire ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic