• 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

Giving error while creating container classes in Weblogic6.1

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I created .jar file and next step is creating container classes for which I am typing like this.
>>java weblogic.ejbc my.jar myfinal.jar
getting the following error.
>>Exception in thread "main" >>java.lang.NoClassDefFoundError: weblogic/ejbc
please help me in finding the problem.
Thanking u in advance
Saradhi
 
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You will have to run the setEnv.cmd script from the shell prompt. It is located in the directory of your domain. once that script is through, it will set all the environment paths needed for running the ejbc utility.
Hope it helps.
Thanks & Bye,
Tualha Khan
 
pardha saradhi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you khan
I did as u mentioned now I am getting another problem
I ran this
If I give with java weblogi.ejbc..... then same error is coming that is class def not found..
If I am typing the following then.....
>javac weblogic.ejbc D:\Work\EJB\welogic6\stateless\Classes\bookJAR.jar D:\Work\EJB\welogic6\stateless\Classes\finalBookJAR.jar
>javac: invalid argument: weblogic.ejbc
Usage: javac <options> <source files>
1. what might be the problem here I tried many times as in document but giving the same error
pls. help me
2.It should use java or javac?
3. shall I have to set any classpaths after installing weblogic6.1?
Thanking you in advance
Saradhi
[ February 21, 2002: Message edited by: pardha saradhi ]
[ February 21, 2002: Message edited by: pardha saradhi ]
 
Tualha Khan
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think the correct statement on the prompt should be:
>java weblogic.ejbc -compiler javac D:\Work\EJB\welogic6\stateless\Classes\bookJAR.jar D:\Work\EJB\welogic6\stateless\Classes\finalBookJAR.jar
INSTEAD of

>javac weblogic.ejbc D:\Work\EJB\welogic6\stateless\Classes\bookJAR.jar D:\Work\EJB\welogic6\stateless\Classes\finalBookJAR.jar


Thanks & Bye,
Tualha Khan
 
pardha saradhi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you khan it is working now
 
And then the entire population worshiped me like unto a god. Well, me and this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic