Category Archives: Eclipse

Eclipse error: Java was started but returned error code=13

You need to add the following line before “-vmargs” parameter in “\eclipse\eclipse.ini” file, additionally make sure eclipse and java architecture are same, i.e both are 32 or 64 bit. … –launcher.appendVmargs -vm C:\Program Files\Java\jdk1.8.0_40\bin\javaw.exe -vmargs -Dosgi.requiredJavaVersion=1.7 … Advertisements

Posted in Eclipse, Java | Tagged ,

DSRA9350E: Operation Connection.commit is not allowed during a global transaction

I was getting this exception while code was trying to commit the transaction in a EJB web service. Exception [EclipseLink-4002] (Eclipse Persistence Services – 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: DSRA9350E: Operation Connection.commit is not allowed during a global transaction. Error … Continue reading

Posted in Eclipse, Oracle, websphere, WebSphere Application Server

Copy Eclipse Workbench Layout and Working Set from a workspace into another workspace

1. MENU -> File -> Switch workspace -> Other -> Copy Settings of Workbench Layout Working Sets 2. Copy/backup and replace following folder to new created Workspace. [workspace]/.metadata/.plugins/org.eclipse.ui.workbench/ [workspace]/.metadata/.plugins/org.eclipse.core.runtime/.settings/ References: http://stackoverflow.com/questions/5991052/saving-eclipse-perspective-layout-and-other-things  

Posted in Eclipse, RAD