• 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

question of Jb9 + Weblogic7 developing

 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm using JB9+Weblogic7 to develop EJBs. Every Java class compiles well, but I get the following error when I try to deploy them.
"store_ejb.ejbgrpx": <2004-4-19 下午09时02分20秒> <Warning> <EJB> <010054> <EJB Deployment: MenuSession has a class store_ejb.ejb.session.MenuSessionBean which is in the classpath. This class should only be located in the ejb-jar file.>
"store_ejb.ejbgrpx": ERROR: Could not delete previous jar L:\store_ejb\store_ejb\store_ejb.jar
could anyone here help me out?
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Robert Strong:
I'm using JB9+Weblogic7 to develop EJBs. Every Java class compiles well, but I get the following error when I try to deploy them.
"store_ejb.ejbgrpx": <2004-4-19 下午09时02分20秒> <Warning> <EJB> <010054> <EJB Deployment: MenuSession has a class store_ejb.ejb.session.MenuSessionBean which is in the classpath. This class should only be located in the ejb-jar file.>


This is not a problem as you problably knows and happens because JBuilder sets the java classpath to build the project and find them during development to compile clients, etc.


"store_ejb.ejbgrpx": ERROR: Could not delete previous jar L:\store_ejb\store_ejb\store_ejb.jar


Here is where I believe you have a problem, you're not able to delete the previous deployed module to place the new one. As far as your driver letter is L it looks to me that you're deploying to a remote machine mapped under your os, if this is the case, check with the server admin if you have the right to delete files as you need it in this case.
regards.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic