- This topic has 28 replies, 7 voices, and was last updated 20 years, 5 months ago by
jdimond.
-
AuthorPosts
-
Riyad KallaMemberjdimond,
Our priority #1 right now is to stabalize 3.8 above and beyond going home so honestly this falls into “investigate if we have time” situation. However I’ve bugged (more than they like) a few people about it to get them to read this post and the behavior (since its slow, but not broken) seems indicative of a memory shortcomming. From what I read it seems like WebLogic’s default script will try and use min 256 max 512meg of ram… another developer said that the WebLogic startup script does some stuff that you might want to try and duplicate via the “Optional arguments” settings from MyEclipse. Other than that its hard to tell, I know to you and your team this is really the “last thing driving us nuts” so to speak, but for us there are just too many things to juggle right now to spin off and have a look at this for you, I’m sorry about that.
Scott AndersonParticipantjdimond,
We’ll be researching this issue and a few other resource utilization questions for the 3.8.2 release of MyEclipse since we plan on doing full application profiling and tuning at that time. In the meantime, please let us know if you determine anything that seems to be causal. Thanks.
Scott AndersonParticipantBy the way, I just reread the title. How is the startup time of WebLogic using MyEclipse when you don’t have *any* projects deployed?
scullz78Member– System Setup ——————————-
Operating System and version: Windows 2000 SP4
Eclipse version: 3.0.0
Eclipse build id: 200408201200
Fresh Eclipse install (y/n): y
If not, was it upgraded to its current version using the update manager?
Other installed external plugins: viPlugin, Ganymede Log4j View
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
MyEclipse version: (build) 200408201200-3.8.1+QF20040825
Eclipse JDK version: j2sdk1.4.2_04
Application Server JDK version: j2sdk1.4.2_05
Are there any exceptions in the Eclipse log file? noI have just run into the same problem. Unfortunately, my company does not give me the access to temporary disable my virus scan software to run tests as jdmond has been able to. For me, the Rtvscan.exe process was running in the background which is a Norton Anti-virus process. When starting Weblogic through MyEclipse or through Weblogic directly, it takes 10 minutes just for my application to be deployed when last week it was in seconds. I didn’t notice this behavior before upgrading to the third quick fix (I had 3.8.1 and two quick fixes–the version number ending in 24 instead of 25), so I don’t know if that is somehow related. However, as I mentioned, I see the same problem when starting Weblogic command line.
When I go into the Norton admin tool, under View > File System Realtime Scan Statistics I see that my virus scan software is scanning files in my Weblogic domain directory. So this sounds similar to what the other user is seeing.
When in the process of starting Weblogic (with the app already deployed) or deploying the project, my Windows Task Manager shows the System task and the javaw.exe task are together spiking my processor to 100%.
So far I haven’t been able to trouble shoot further.
thanks,
–matt
scullz78Memberforgot to correct my OS: I’m running Windows XP Pro.
xerces8Memberscullz78 , do you have ClearCase installed on the PC ?
jdimond, can you try to reproduce the problem without ClearCase ( unistall ClearCase or stop all its processes from Control Panel / ClearCase ( the “Services Startup” tab, click “Stop ClearCase” ). Copy the needed files from the view to a local disk.
A have a similar problem with Visual Studio + ClearCase and I suspect ClearCase. My simptoms are 100% CPU usage for a long period. Usually the PC is unusable slow during that time, except right now I have the same 100% CPU usage, but the other programs work just fine…
xerces8
Riyad KallaMemberxerces8,
Thank you for posting with the followup information, all of this helps us figure out what is going on.
achitnisMemberI work with jdimond.
After going through the log files, it appears that the reason behind the slow startup of weblogic( when started through myeclipse) is the time taken by the following task :
####<Sep 16, 2004 9:14:28 AM PDT> <Info> <Deployer> <SERVER1> <amit2000W2LS> <main> <<WLS Kernel>> <> <BEA-149059> <Module test of application _appsdir_test_dir is transitioning from unprepared to prepared on server SERVER1LS.>
####<Sep 16, 2004 9:21:57 AM PDT> <Info> <Deployer> < SERVER1> <amit2000W2LS> <main> <<WLS Kernel>> <> <BEA-149060> <Module test of application _appsdir_test_dir successfully transitioned from unprepared to prepared on server SERVER1LS.>The same task takes less than 2 minutes when weblogic is started outside the eclipse environment
Scott AndersonParticipantWe researched this issue during 3.8.3 development and found that there was about a 30% overhead observed when starting all servers (not just WebLogic) from Eclipse. The actually percentage difference varied by server and by whether or not the server was started in Run or Debug mode. However, we could not replicate a 4:1 difference as reported in this thread.
However, in release 3.8.3 (early December) we’ll be adding the ability to debug any exgternally launched server. This will enable allow users with highly cutomized launches to keep using their normal launch mechanisms as well as enable the debugging of remote (or production) servers.
John CiminoMember– System Setup ——————————-
Operating System and version: Win XP SP1
Eclipse version: 3.0.1
Eclipse build id: 200409161125
Fresh Eclipse install (y/n): Y
If not, was it upgraded to its current version using the update manager?
Other installed external plugins: None
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
MyEclipse version: 3.8.2
Eclipse JDK version: j2sdk1.4.2_06
Application Server JDK version: jdk141_05
Are there any exceptions in the Eclipse log file? No– Message Body ——————————-
I’ve also been experiencing the same slow startup problems as everyone else, and I have found out what the problem is. My startup times were between 6 – 10 minutes. Now my startup time is less than 1 min.
I found that the problem was because the weblogic.jar file was being placed in the web app’s WEB-INF/lib directory when the plugin deployed the app. My project has this jar file referenced in the project’s build path. The project references this jar, which contained in the BEA_HOME/server/lib directory. By default, the plugin will deploy external libraries and place them in the WEB-INF/lib directory when deploying. I found you can stop this by going to Windows->Preferences->MyEclipse->J2EE Project->Web Project Deployment. There is an option on this screen that’s called “Ignore external libraries during deployment…”. After doing this I appended weblogic.jar file to the classpath within Windows->Preferences->MyEclipse->WebLogic 8->Paths.
So in a nutshell, if you have a weblogic.jar file in the WEB-INF/lib directory of your deployed web app, remove it.
Hope this helps.
Scott AndersonParticipantExcellent followup! Thanks for the additional insights.
jdimondMemberciminoj,
Thanks for sharing the tip! When we delete weblogic.jar from the WEB-INF/lib directory after deployment, the startup is significantly faster.
Unfortunately, I’m not sure we can use the “Ignore external libraries during deployment…” option, because we want to pick up a whole bunch of external libraries that are frequently updated by other development groups. Does anyone know of a way to selectively exclude jars from MyEclipse deployments, while still picking up others? Anyway, even as it stands, it is a relatively simple matter for us to simply delete the weblogic.jar file manually (or by a script).
Thanks again!
Riyad KallaMemberjdimond,
You could add the weblogic JAR to its own user library called “Weblogic” or something, and then the user lib won’t be deployed, but it will still be on your dev path, and your external libs can just stay dependencies.
jdimondMemberRiyad,
Yes, setting up a user library does the trick.
Thanks for the suggestion.
-
AuthorPosts