Solved

Warning encountered when weblogic6.1 is restarted -

Posted on 2002-07-04
3
193 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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 …
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

776 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