• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

problem while deploying

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried to deploy a stateless session bean in BEA(version 5.1)I am able jar all the class files and META-INF(deployment descriptor).But when I tried to execute the command
"" java weblogic.ejbc first.jar second.jar ""....
it is giving me like it is not able to identify the "remote" and "home" interface which I have kept in the same package as the "bean" class.But all the class files are available in that package.I am not able to fix this.

------------------
 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai sridhar,
Please check out the class path .. may be ur class path is not pointing to the jar file ( remote & home ) .. also it should point to weblogicaux.jar

Regards
Srini
 
sridhar mosuru
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank You srini...I changed the directory and package name and tried afresh.I got it.
 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am learning EJB and in the first step of deployment i am facing problems . I am working on weblogic 5.1. I have a simple EJB that does some simple calculation.
I have placed the Bean class,home interface and remote interface in a package called "demobean".
Then i created a temp folder called "EJB1" where i placed the demobean directory. I also created the META-INF folder containing the ejb-jar & weblogic-ejb-jar. xml files.
I create the jar using "jar cf currency.jar demobean META-INF" .So "currency.jar" is my final jar.
I then open the currency.jar file in the deploytool. It does the first stage processing, but when i attempt to generate the container classes , the deploytool utility stops responding.
I am running weblogic on 64 MB Ram system. Has my problem got to do with the less Ram ? On the same m/c my collegue was able to deploy a EJB however.
Also can any one suggest me an alternate way to generate the container classes.
Thanx ,
Rajesh
 
sridhar mosuru
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello Rajesh,
u can use the following command for hetting the deplyable bean.I am not familiar with the deployment tool.
" java weblogic.ejbc currency.jar currency1.jar(say) "
U can xcute the command from weblogic directory...
in currency1.jar there will be some more class files added by the above command necessary to run the bean.Now U can deploy easily.
Regards
Sridhar
 
Rajesh Hegde
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanx sridhar for your help. I tried what you suggested, and it worked fine. With your help i was able to deploy my first EJB.
Thanks again,
Rajesh
 
Think of how dumb the average person is. Mathematically, half of them are EVEN DUMBER. Smart tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic