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

Weblogic.ejbc compile problems

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi folks,
I am trying to use ejbc to compile my jar file. When I run it I get the following error:
<21-Sep-01 18:23:33 BST> <Error> <EJB> <EJB Deployment: ESMyAccount has a class<br /> com.bt.eStores.service.myAccount.ESMyAccountBean which is in the classpath. This<br /> class should only be located in the ejb-jar file.>
Can anybody tell me what the problem is??
My ejb-jar.xml file exists and has been set up with the correct tags.
Cheers
Nosh.
 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anouska,
U havent mentioned which app server or which version u were having problems with. But since I have seen this problem on WebLogic6.0, I am assuming that is what u r using too.
This is happening because the classloader architecture has been changed from WL6.0 onwards. If u look at some of the example build scripts that come with the server u will see that only the Bean classes are put into the jar file. However, the good news is that even thought weblogic reports this as an error, the jar file gets created and deployed. So, it is nore of an irritant than a show-stopper and if I am not mistaken, the messge comes as a <Warning> in WL6.1.
HTH,
Anup.
 
I don't like that guy. The tiny ad agrees with me.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic