[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Warning encountered when weblogic6.1 is restarted -

Posted on 2002-07-04
3
Medium Priority
?
213 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

650 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