facebook

Testing is nearly impossible

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #338194 Reply

    Glenn Puckett
    Participant

    I have an problem that has been ongoing since I upgraded from v8.x to v10.x. Currently I have MyEclipse v10.7.1 Build id: 10.7.1-20130201 installed on Windows 7 Pro 64-bit with 8G of memory.

    I have a production J2EE Project that I developed starting on MyEclipse v6 up through current version. Before upgrading to V10 I found MyEclipse to be a vastly superior product to use for developing and maintaining Java code. Since updating to V10 I have had nothing but irritating issues that cost so much time to get around I am loosing any productivity advantage I used to experience using this product. I have posted several times regarding these problems and never received any responses.

    Currently the production application is running on jBoss v4.3 using Java v1.6. So I have my project set up using that level of the JBoss server in MyEclipse. The project is configured with a JDK Compliance level of 1.5.

    I have the myeclipse.ini file set with 4G of memory for MyEclipse. The actual settings are:

    
    -configuration
    C:\Genuitec\MyEclipse.10.x\configuration
    -vmargs
    -Xms4096m
    -Xmx4096m
    -XX:MaxPermSize=512m
    -XX:ReservedCodeCacheSize=384m
    -Dosgi.nls.warnings=ignore
    

    jBoss is configured with the following VM arguments in the server preferences configuration for JBoss 4.x

    -Xms2G -Xmx2G -Xss2G -XX:MaxPermSize=512m

    When I go into debug and bring up the application in a browser I cannot wait more than 10-15 seconds before taking any sort of action on any application page. If I wait more than that it stops responding. If I click on an action within the 10 second or so limit it works fine. If I wait longer than that I have to restart JBoss inside MyEclipse before it will respond again. This includes time I take at a breakpoint to investigate variable contents. Sometimes I can just start clicking on various links on a page and after 6 or 7 selections it will respond. But before that happens, clicking on any application link will result in it sitting there indefinitely without a response. At first I thought it might be taking a long time to respond to the first link. But I tested that by just sitting and waiting. It NEVER responds.

    The result is constant restarting of JBoss and restarting test cases to get to different points in the code for problem determination.

    This problem never occurred in previous versions of MyEclipse. That included v8.6 running on my current Windows 7 64-bit machine. I have seen the posts suggesting an increase in memory assignment to MyEclipse. So I modified the ini file to give it 4Gb. That made no difference.

    The other problem I am having tests my patience to the extreme. When I go into a module and start modifying or adding new code I use cut-n-paste heavily. After the 2nd or 3rd use of cut-n-paste it no longer works. I have to turn off “Smart Insert” in order to restore that capability. But that causes a whole host of other issues. I no longer get auto-completion or auto-formatting of new code. Indention goes away. I have to perform my own manual formatting or insert code and then go back and use “Source”>”Format”. Again this just causes more loss of productivity.

    There are significant issues with v10.x. Is any of this being addressed? Are there any real suggested fixes for this mess?

    #338228 Reply

    support-tony
    Keymaster

    Glen,

    I’m sorry you’re having these issues. I can appreciate that they must be very frustrating but, try as we might, we can’t replicate any of the problems you mention, even after replicating your environment as close as we can. I’ve tried running one of the Examples On Demand (the Struts13CookbookExample project) on JBoss, in debug mode, without problems. I’m running it on Windows 7 64 bit, with the JBoss settings and the MyEclipse settings as you have them, also changing the project Java level to 1.5. The only difference is that you say you’re running JBoss 4.3 but I can’t find that release to download and so am running JBoss 4.2.3. I’ve also tried cut and paste without problems.

    Are these problems specific to one project (or set of related projects) or does it happen with other several applications? Could you try with the Example On Demand (Go to MyEclipse->Examples On-Demand and click Install Project for the Struts13CookbookExample project)? If you can’t replicate with that project, is it possible to construct a project that does exhibit the problems and that you can send us?

    I’m not sure what you’ve tried to correct the issue but one thing we often ask users is to try a new workspace and import your projects into that. If you haven’t tried that, it may be worth a go. I note that you say you did not get the issue with release 8.6. Is that still the case, running on the same machine as 10.7.1? Were both systems running a 64 bit server? Can you think of any other differences when upgrading to 10.7.1?

    We’ve actually found our later 10.x release to be very stable in terms of user problems but there are always systems that seem to present problems that are difficult to track down. However, our 2013 release is now available; there have been a lot of fixes to that and it installs differently, so it may be worth trying it out to see if that helps.

    I couldn’t find any of your posts that we hadn’t responded to (at least in the last year). I apologise if we have missed any but could you provide a link to an unanswered post so we can try and figure out where we slipped up?

    I hope some of this helps or that you can provide further information that will help us track this down.

    #338247 Reply

    Glenn Puckett
    Participant

    My projects are tied into my SVN server. So it becomes a significant issue trying to clone a project into another. I tried that one time and ended up unknowingly deleting part of my production project.

    The issue is happening with several projects that are maintained through v10. I even have a separate workspace for each project. The problem occurs with each workspace.

    I have one J2EE project that resulted in many syntax errors when I migrated it to v10.x. So instead of migrating that project to v10 and having to fix non-existing errors I have left it on v8.6 and have both versions on my desktop. I do not have the described problems with v8.6. I have been with MyEclipse for years and have never had an issue with upgrading until v10. Regardless of whether or not you can duplicate it I live with it every day. And soon I will have to make a decision if it is really worth the sheer frustration of keeping it. The version of the product I have installed is flawed.

    One comment about the cut-n-paste issue. When it stops working it’s behavior is consistent. I highlight the lines I was to copy then press cntl-c. I switch to the location where I want to insert and press cntl-v. The cursor actually disappears and MyEclipse hangs for 10-20 seconds. Then it comes back and nothing has happened. Using the mouse for cut-n-paste has the same result.

    I will try the update. If that doesn’t work I may even try saving my code to SVN and uninstall MyEclipse entirely. Then re-install and build the projects from SVN. If this doesn’t work I may need to try vanilla Eclipse or another tool completely.

    #338272 Reply

    support-tony
    Keymaster

    Glen,

    I realise that our being unable to replicate your problem doesn’t help you but, until we can replicate it, I hope you can see that it is very difficult to figure out what is happening here.

    It will be interesting to see if you have the same problems with our 2013 release, so I hope you’ll be able to try that. If that doesn’t help, please try the Example On-Demand project that I mentioned to see if you get the same problems with that.

    The cut and paste issue sounds like some other plug-in is getting in during the paste process and performing some intensive processing. I wonder if it’s related to validation. I don’t think you mentioned if the cut and paste issue is confined to certain types of files but perhaps you could try turning off validation for the project (right click on the project, go to MyEclipse->Manage Validation then select “Enable project specific settings” and “Suspend all validators”). This might at least give us more information, though it’s obviously not a mode you’d want to run in indefinitely.

    On JBoss, can you confirm that you’re running JBoss 4.3? As I mentioned, I can’t find that release to download and wonder if you’re running 4.2.3.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Testing is nearly impossible

You must be logged in to post in the forum log in