[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

Warning encountered when weblogic6.1 is restarted -

Hi Guys,

When I restart weblogic 6.1 I shows fiest the bean is deployed and then its warning as descrbed below -


1)<EJB Deploying file: alerts.jar>

2)Jul 4, 2002 12:42:39 PM IST> <Warning> <EJB> <varun> <myserver> <main> <system> <> <010001> <EJB Deployment: Alert cannot be redeployed while the server is running. AlertBean is located in the server's classpath.>


Please let me know the reason for this.

Thanks,
Vinay
0
vinayc25
Asked:
vinayc25
1 Solution
 
naidubsCommented:
hi,
change the server running mode into production mode (in config.xml file) so that it  will allow to deploy at runtime.
0
 
jamovilleCommented:
If this problem occurs in production mode it is because the bean class has been specified in in the classpath of weblogic.  When weblogic starts the classloader loads the bean class causing anything specified in the classpath to not be auto deployed while the server is running.  The jar file for the bean shouldn't be in the classpath, nor should you have the bean class in any jar that is in the classpath.  

If the class is not specified in the classpath, then a child classloader is used which would allow auto/re-deployment at runtime. Here is a link on the weblogic classloader that may help.
http://e-docs.bea.com/wls/docs61/programming/packaging.html#1048725
0
 
SpideyModCommented:
Administrative Action - PAQ'd and points NOT refunded.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now