MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
bedmonston
Post subject: Classpath issues using WebLogic 7.0  PostPosted: Jun 23, 2003 - 08:22 PM
Registered Member
Registered Member


Joined: Jun 20, 2003
Posts: 25

Hello,

I am trying to use MyEclipse to run my WebLogic server (Win2k/WL7.0/WL Portal) and I am running into some problems. If I run the server without adding anything to the CLASSPATH I get the following type of errors (repeated for many different classes):

"The WebLogic Server did not start up properly.
Exception raised:
java.lang.ClassNotFoundException: weblogic.management.descriptors.ejb11.ApplicationConfigurationMBean"

When I add the jars containing these classes to the CLASSPATH, however, I get the following new errors:

"EJB Deployment: Alert cannot be redeployed while the server is running. AlertBean is located in the server's classpath."

So it seems I am damned if I do and damned if I don't in regard to having these classes in the CLASSPATH. On thing to note, I used Bedrock to create this domain and I'm not sure if this could be the cause of my problems.

Does anyone know what I might be doing wrong here? Thanks for any help you can provide.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Jun 23, 2003 - 09:14 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6760

Typically with WebLogic portal, you add the additional portal archives to the classpath, on the appropriate preference page for the WebLogic connector. Then, you keep all of your stuff in your EAR or whatever. WebLogic has a restriction that it can't redeploy something that is on the main classpath. However, only WebLogic jars and the portal jars should be there. All your stuff should be in EAR's or the like and should be redeployable as a result.

What is AlertBean? One of yours or one of WebLogic's?

--Scott
MyEclipse Support

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
bedmonston
Post subject:   PostPosted: Jun 23, 2003 - 10:48 PM
Registered Member
Registered Member


Joined: Jun 20, 2003
Posts: 25

Actually the AlertBean was a bad example because I was just copying and pasting out of another guy's post (who was having the same problem) from another site. Here is an actual example of the errors I am getting - they all seem to be from the standard WebLogic Portal classes - not my stuff:

"43:38 PM EDT> <Warning> <EJB> <010001> <EJB Deployment: PropertySetManager cannot be redeployed while the server is running. com.bea.p13n.property.internal.PropertySetManagerImpl is located in the server's classpath.> "

So it sounds like these portal jars should be added to the classpath - if so how does one prevent this type of problem? Thanks a lot for your help.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Jun 23, 2003 - 11:26 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6760

Actually, this is just a warning and should prove much of a problem. The only reason you really need to redeploy is because of code changes, and you won't be changing the portal code.

The easiest way to find out what the proper startup configuraiton is is to look at the startup script provided by WebLogic and ensure that you put the same jars in the same places on the paths within the preferences pages within MyEclipse

--Scott
MyEclipse Support

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits