For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 4 replies, 3 voices, and was last updated 19 years, 7 months ago by
Haris Peco.
-
AuthorPosts
-
mangelo123ParticipantThis is going to be a tough one to explain. I am going to give it the best effort I can.
I’ve recently installed MyEclipse 5.0GA. All of my projects were still intact. One of my applications has to change servers so I tried a test deployment with ME 5.0GA. That is where the fun begain. Hibernate was blowing up saying ‘no row with given id….” when I can see the row in the table. This was tested with Hibernate 3.0.5 and deployed with MyEclipse 5.0GA with JDK 1.5.0_02 running on Tomcat.
Now prior to this test the application worked flawlessly! I am using log4j to watch for errors. After this deploy with MyEclipse is when the errors started.
I went back and reinstalled Eclipse 3.1 with MyEclipse 4.1.1GA and everything is back to normal. The workspace is the same for both versions of MyEclipse therefore I am using the EXACT SAME CODE! If I deploy with the different versions of MyEclipse I get runtime errors with 5.x and no errors when deployed with 4.1.1.
This is very confusing and frustrating because I cannot use 5.0GA with all of its new features!! 😳
I know this is not enough information to get this bug tracked down. It has taken me days to narrow it down this far. Just ask and I’ll provide more information.
Thanx
Mike.
August 16, 2006 at 2:05 pm #256989
mangelo123ParticipantI forgot to mention when deployed with MyEclipse 5.0GA I would also get OutOfMemory errors while trying to run the application. I DO NOT get these errors when running a deployment created with MyEclispe 4.1.1GA
August 16, 2006 at 9:49 pm #257027
Scott AndersonParticipantMike,
Sorry to hear your having this problem, but we’ll dig in and get it sorted out. First, let’s start with the out of memory problems, because that can cause lots of other issues. Please make sure you’re starting Eclipse with a commandline similar to the following:
eclipse.exe -product com.genuitec.myeclipse.product.ide -vmargs -Duser.language=en -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M -Dosgi.splashLocation="<path-to-myeclipse>\eclipse\MyEclipseSplash.bmpIf it’s your server that’s complaining of an out of memory condition, the add the following arguments to the ‘VM Arguments panel on the ‘JDK’ preference page for it:
-Xms128M -Xmx512MBetween those two, the memory problems should disappear. Once that’s taken care of, let’s try to work on the rest if it’s still an issue (since it may be caused by the memory problems).
August 17, 2006 at 10:51 am #257079
mangelo123ParticipantOk. Thanx for the tip. I actually tried this before I got your reply and the memory issue has not be resolved.
I actually have narrowed my problem down to this. I don’t know where to go from here. I have gotten my application to run just fine locally in Windows. I’ve got it to run on Tomcat 5.5.17, 5.0.X and Geronimo. When I deploy on Linux, I continually get the Hiberate error :”No row with given id…” or something like that. I know the rows exist because I can do a select and see them.
Thanx again.
Mike.
August 17, 2006 at 3:51 pm #257097
Haris PecoMemberMike,
Please, can you send use log error (I want see where you got ‘no row with given id…’) and can you explain me
– you deploy application on tomcat 5.5.17 on linux and windows – it is okay on Windows and fail on linux – Is it correct ?
– you use version hibernate 3.0.5 – ist it correct for MyEclipse 4.1.1 and MyEclipse 5.0 and do you use own hibernate libraries or MyEclipse hibernate libraries
– what is your database version ?
– can you send DDL for your table (which return error) and hibernate mapping (hbm.xml) ?Thanks
Peco -
AuthorPosts
