- This topic has 4 replies, 2 voices, and was last updated 19 years, 8 months ago by
Riyad Kalla.
-
AuthorPosts
-
jagdishraoMemberhi i m jags
What operating system and version are you running?
—Windows 2000 Professional
What Eclipse version and build id are you using? (Help > About Eclipse Platform)
—Version: 3.1.0
Build id: I20050627-1435
Was Eclipse freshly installed for MyEclipse?
—YES
If not, was it upgraded to its current version using the update manager?
—No
Are any other external plugins installed?
—YES-JOPE for JONAS App Server
How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
—4
What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
—Version 4.0.0 GA
—Build Id 20050829-4.0.0-GA
What JDK version are you using to run Eclipse? (java -version)
—1.4.2_04
What JDK version are you using to launch your application server?
—1.4.2_04 (there is no other jdk installed)What application server are you using?
Using Tomcat and JOnas
Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)
the content of log is pasted belowWhat steps did you take that resulted in the issue?
The Problem
——————–
JVM terminated. Exit code=2
C:\WINNT\system32\javaw.exe
-Xms40m
-Xmx256m
-jar C:\local\eclipse\startup.jar
-os win32
-ws win32
-arch x86
-launcher C:\local\eclipse\eclipse.exe
-name Eclipse
-showsplash 600
-exitdata 514_40
-vm C:\WINNT\system32\javaw.exe
-vmargs
-Xms40m
-Xmx256m
-jar C:\local\eclipse\startup.jarDescription
———————–
I was using the above config without any problems till now for a month.
i had some small projects configured and Running properly like
LibraryWeb Demo Application and others.
i was successfully running it on both servers specified aboveToday i was trying to configure a fairly big JSP project
i first created a blank project econify
then i imported my web folder into the WebRoot
the web folder contains jsp’s, images, logs etc.there were some erros in tags and include directive paths like below
File “/jsp/admin/group/../UserSession.jsp” not found. NOTE: No JSP line number was avaliable so line 1 was used for the marker.
which i corrected by adjusting ../ thing to the actual path of file
some referencing errors are still there due to classes used which will be found in web-infthen i imported src files and set the buildpath properly
all the references were properly set and no errors.and then when i change code in JSP it starts building workspace automatically
and crashes the whole app.
so far there is no question of any app server involded yet
and also i checked the exe inside system32.
its the same as in my jdk installtion(its latest and not of any old version
as suggested in some myeclipse post)please help asap.
thanks jags
———————————–THE REPLY FROM SCOTT
———————————–— MyEclipse Support <support@genuitec.com>
wrote:> Jags,
>
> The problem is likely that Eclipse is now running
> out of memory during the
> build due to the addition of your large app. You
> can likely fix this by
> starting Eclipse with the following commandline
> options (without the line
> wrap, of course):
>
> eclipse.exe -clean -vmargs -Duser.language=en
> -Xms128M -Xmx512M
> -XX:PermSize=64M -XX:MaxPermSize=128M
>
-Dosgi.splashLocation=”<path-to-myeclipse-install>\eclipse\MyEclipseSplash.bmp”
>
> After your first restart with the options, you can
> remove the ‘-clean’ for
> subsequent restarts since it’s only needed the first
> time.
>
> If you have any other questions or problems, since
> all of our support is
> forum-based the best way to proceed would be to open
> a discussion thread on
> the one of the MyEclipse Support forums
>
(http://www.myeclipseide.com/PNphpBB2+file-index.html)
> with this information
> and your platform details. We have engineers that
> monitor our forums
> regularly and the thread you create will give us a
> conversation context to
> interact with you to solve the problem quickly.
>
> In addition, posting to the forums creates a
> searchable public record that
> can help all of our users. Please be sure to provide
> all the information we
> request in the ‘Posting Guidelines’ thread at the
> top of the forum so that
> we’ll be able to answer your question more quickly.
>
> –Scott
> MyEclipse Support—————————
RESPONSE TO SCOTT
—————————-
Hi ScottFirst of all i should commend you on your prompt
action
its really amazing.keep it up.i am still getting the Forbidden Error for
Apache when i try to post the problem in forums
so replying u back here.And Now the Status of my problem
—————————————–
i tried your solution and also explicitly
specified the VMC:\local\eclipse\eclipse.exe -vm
C:\local\jdk\bin\javaw -clean -vmargs
-Duser.language=en -Xms128M -Xmx512M -XX:PermSize=64M
-XX:MaxPermSize=128M
-Dosgi.splashLocation=”C:\local\MyEclipse\eclipse\MyEclipseSplash.bmp”but still eclipse crashes out while building workspace
so now i have turned of Automatic JSP Validation
which avoids crashing.
but now when i right click on JSP and select
Validate JSP i sometimes get proper message like
“Valid JSP FIle” or “Invalid JSP File”
but sometimes it simply crashes out.
mainly the errors are of JSP:include tags having
wrong path references.please help
Jags
October 27, 2005 at 8:57 am #240231
Riyad KallaMemberJags,
This is a very strange issue and Scott’s reply was definately the first step in figuring out what is going on. Be sure to keep Scott’s command line parameters. Here are some things we can try:1) You can update your JDK to 1.4.2_09 and remove our old _04 version, in the past JDK upgrades have helped to fix some strange issues like this.
2) If that doesn’t work, try creating a new workspace: File > Switch Workspace > C:\tempworkspace, hit OK to restart.
3) Now create a new blank project, and instead of dragging-and-dropping your WebRoot folder in, drag and drop your /src folder in first and setup your source and output directories accordingly. Now try and drag and drop only PIECES of your giant project into the webroot, one folder at a time. Each tiem you drop new JSPs in, make sure the JSPs are building/validating. Keep going until it finally dies. Try and keep track of where it stopped. When you restart Eclipse, try and drop the same folder in, if it crashes again, try and drag a different folder in. I wonder if there is something about a certain file in the project that is causing the validator to blow up.October 27, 2005 at 9:32 am #240236
jagdishraoMember@support-rkalla wrote:
Jags,
This is a very strange issue and Scott’s reply was definately the first step in figuring out what is going on. Be sure to keep Scott’s command line parameters. Here are some things we can try:1) You can update your JDK to 1.4.2_09 and remove our old _04 version, in the past JDK upgrades have helped to fix some strange issues like this.
2) If that doesn’t work, try creating a new workspace: File > Switch Workspace > C:\tempworkspace, hit OK to restart.
3) Now create a new blank project, and instead of dragging-and-dropping your WebRoot folder in, drag and drop your /src folder in first and setup your source and output directories accordingly. Now try and drag and drop only PIECES of your giant project into the webroot, one folder at a time. Each tiem you drop new JSPs in, make sure the JSPs are building/validating. Keep going until it finally dies. Try and keep track of where it stopped. When you restart Eclipse, try and drop the same folder in, if it crashes again, try and drag a different folder in. I wonder if there is something about a certain file in the project that is causing the validator to blow up.thank kalla
u people are so prompt man
i will do what u suggested and get back to u if i get this solved.
this small issue is making such a wonderful product like myclipse look grey.
other wise its a boon to J2EE developrs like me.October 27, 2005 at 10:53 pm #240298
jagdishraoMemberhi support guys
i installed the latest jdk and also specified it to use in arguments
but still my app crashes when i build the sourcei’m falling short of ideas now
pls guide me so that i can continue using this productOctober 28, 2005 at 11:37 am #240337
Riyad KallaMemberOk so that was #1, did you try #2 or #3 from my post above?
-
AuthorPosts