Solved

Warning encountered when weblogic6.1 is restarted -

Posted on 2002-07-04
3
191 Views
Last Modified: 2013-12-10
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
Comment
Question by:vinayc25
3 Comments
 
LVL 1

Expert Comment

by:naidubs
ID: 7131029
hi,
change the server running mode into production mode (in config.xml file) so that it  will allow to deploy at runtime.
0
 
LVL 5

Expert Comment

by:jamoville
ID: 7132209
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
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8145240
Administrative Action - PAQ'd and points NOT refunded.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
This video discusses moving either the default database or any database to a new volume.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now