facebook

Database connections lost after every crash of MyEclipse IDE

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #328842 Reply

    Phoenix_133
    Member

    My setup:
    *** Date:
    Tuesday, August 7, 2012 9:49:14 AM CEST

    *** System properties:
    OS=Linux
    OS version=2.6.32.17
    OS arch=amd64
    Profile arch=x86_64
    Window system=gtk
    Java version=1.6.0_20
    Workspace=file:/home/puffy/Workspaces/MyEclipse Blue Edition 10/
    VM Args=-Xmx512m
    -XX:MaxPermSize=256m
    -XX:ReservedCodeCacheSize=64m
    -Dosgi.nls.warnings=ignore
    -jar
    /opt/eclipse/MyEclipse 10//../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar

    *** Subscription information
    Product Id: E3MP (MyEclipse Professional Subscription)
    License version: 3.0
    Full Maintenance Included
    Subscription expiration date (YYYYMMDD): 20130523
    Number of users: 2

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 10.5
    Build id: 10.5-20120615

    Blueprint: MyEclipse 10

    com.genuitec.myeclipse.database – 10.5.0.me201206141911
    com.genuitec.myeclipse.desktop – 10.5.0.me201206141911
    com.genuitec.myeclipse.editor – 10.5.0.me201206141911
    com.genuitec.myeclipse.enterprise.workbench – 10.5.0.me201206141911
    com.genuitec.myeclipse.geronimo – 10.5.0.me201206141911
    com.genuitec.myeclipse.glassfish – 10.5.0.me201206141911
    com.genuitec.myeclipse.icefaces.feature – 10.5.0.me201206141911
    com.genuitec.myeclipse.imageeditor – 10.5.0.me201206141911
    com.genuitec.myeclipse.jboss – 10.5.0.me201206141911
    com.genuitec.myeclipse.jetty – 10.5.0.me201206141911
    com.genuitec.myeclipse.jonas – 10.5.0.me201206141911
    com.genuitec.myeclipse.jrun – 10.5.0.me201206141911
    com.genuitec.myeclipse.jsf – 10.5.0.me201206141911
    com.genuitec.myeclipse.matisse – 10.5.0.me201206141911
    com.genuitec.myeclipse.maven – 10.5.0.me201206141911
    com.genuitec.myeclipse.oracle – 10.5.0.me201206141911
    com.genuitec.myeclipse.orion – 10.5.0.me201206141911
    com.genuitec.myeclipse.persistence – 10.5.0.me201206141911
    com.genuitec.myeclipse.pulse – 10.5.0.me201206141911
    com.genuitec.myeclipse.reports – 10.5.0.me201206141911
    com.genuitec.myeclipse.resin – 10.5.0.me201206141911
    com.genuitec.myeclipse.struts – 10.5.0.me201206141911
    com.genuitec.myeclipse.sun – 10.5.0.me201206141911
    com.genuitec.myeclipse.tomcat – 10.5.0.me201206141911
    com.genuitec.myeclipse.uml2 – 10.5.0.me201206141911
    com.genuitec.myeclipse.visualvm – 10.5.0.me201206141911
    com.genuitec.myeclipse.visualvm.server – 10.5.0.me201206141911
    com.genuitec.myeclipse.weblogic – 10.5.0.me201206141911
    com.genuitec.myeclipse.websphere – 10.5.0.me201206141911
    com.genuitec.myeclipse.ws – 10.5.0.me201206141911
    org.eclipse.birt – 2.6.1.me201206141911
    org.eclipse.datatools.connectivity.feature – 1.9.0.me201206141911
    org.eclipse.datatools.enablement.feature – 1.9.0.me201206141911
    org.eclipse.datatools.modelbase.feature – 1.9.0.v201106031100-77078CcNBHCBYKYEbNV
    org.eclipse.datatools.sqldevtools.feature – 1.9.0.me201206141911
    org.eclipse.emf – 2.7.0.v20110606-0949
    org.eclipse.gef – 3.7.0.v20110425-2050-777D-81B2Bz0685C3A6E34272
    org.eclipse.graphiti.feature – 0.8.0.v20110607-1252
    org.eclipse.jpt.jpa.feature – 3.0.0.me201206141911
    org.eclipse.jpt.jpadiagrameditor.feature – 1.0.0.me201206141911
    org.eclipse.jst.common.fproj.enablement.jdt – 3.3.0.me201206141911
    org.eclipse.jst.enterprise_ui.feature – 3.3.0.me201206141911
    org.eclipse.jst.server_adapters.ext.feature – 3.3.0.me201206141911
    org.eclipse.jst.server_adapters.feature – 3.2.100.me201206141911
    org.eclipse.jst.server_ui.feature – 3.3.0.me201206141911
    org.eclipse.jst.ws.axis2tools.feature – 1.1.200.me201206141911
    org.eclipse.m2e.feature – 1.0.0.me201206141911
    org.eclipse.wst.common.fproj – 3.3.0.me201206141911
    org.eclipse.wst.server_adapters.feature – 3.2.100.me201206141911
    org.eclipse.xsd – 2.7.0.v20110606-0949
    org.springframework.ide.eclipse.feature – 2.9.1.me201206141911

    fr.obeo.acceleo.bridge.feature – 2.6.0.200906261742
    org.eclipse.cvs – 1.3.100.v20110520-0800-7B78FHl9VF7BD7KBM4GP9C
    org.eclipse.draw2d – 3.7.0.v20110425-2050-46-7w3122153603161
    org.eclipse.equinox.p2.core.feature – 1.0.1.v20110906-1605-8290FZ9FVKHVRKtmx3fpNuo02129
    org.eclipse.equinox.p2.extras.feature – 1.0.1.v20110906-1605-7A4FD4DiVOMap8cHSc6vPuny4gqO
    org.eclipse.equinox.p2.rcp.feature – 1.0.1.v20110906-1605-782EqBqNKGVkiV-PUsgz-uny4gqO
    org.eclipse.equinox.p2.user.ui – 2.1.2.R37x_v20110815-1155-6-Bk8pYWZz0qUTX5I15GZWwbXkrl
    org.eclipse.help – 1.3.0.v20110530-0844-7i7uFFmFFl8nvqbDpEqTvx
    org.eclipse.jdt – 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1
    org.eclipse.jsf.feature – 3.3.0.me201206141911
    org.eclipse.ocl – 3.1.0.v20110606-1427
    org.eclipse.pde – 3.7.2.v20120120-1420-7b7rFUOFEx2Xnqafnpz0E–0
    org.eclipse.platform – 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q
    org.eclipse.rcp – 3.7.2.v20120120-1424-9DB5FmnFq5JCf1UA38R-kz0S0272

    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86_64
    -showsplash
    -launcher
    /opt/eclipse/MyEclipse 10/myeclipse
    -name
    Myeclipse
    –launcher.library
    /opt/eclipse/MyEclipse 10//../Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
    -startup
    /opt/eclipse/MyEclipse 10//../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    –launcher.overrideVmargs
    -exitdata
    1b8007
    -install
    /opt/eclipse/MyEclipse 10
    -configuration
    /opt/eclipse/MyEclipse 10/configuration
    -vm
    /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java

    There were multiple incidents, when the tool did not respond. E.g. I wanted to setup my debug configuration and run the project. It did not run and said, the project has errors. Do I want to continue? I pressed yes, and then ecilpse simply did not start the program. I then wanted to stop the IDE debugger, but this did not work. I could not even close the dialogs anymore. The only thing left to do was kill the process. Since then, I get multiple errors throughout the project. All database connection configurations I setup in the database browser are gone. I was hoping, that I could somehow locate a configuration file of myEclipse and reimport them. I could not find such a file in the end, so I setup the DB again. As I am using Hibernate, I am very dependant on the DB connections, as my reverse engineering of DB to POJO/DAO and Hibernate mapping files depend on it.

    The same thing happened to me three times now. Every time I killed myEclipse (e.g. closing the wrong terminal window from which it was running, killing myEclipse process for any reason..) it resulted in the same situation: the configured database connections weren gone.

    Because of internal politics, I currently have problems sending you the .log file of the eclipse IDE. I would need to modify it in order for you to have it.
    If you would desperately need it, I would have to change it and this would take up time. Please let me know.

    Thank you for any help on this.

    #328849 Reply

    support-joy
    Member

    Phoenix_133,

    Sorry to hear you are running into these issues. Please answer below queries to help me investigate further –
    1. What are the type of projects you are working on?
    2. You mention setting up debug configuration, could you attach a screenshot of your debug configuration to help me get a visual?
    3. What is the database you are using?
    4. What is the app server you are deploying to?
    5. I am afraid .log file is an integral part to investigate the root cause. I would recommend you clear your .log file located at [your workspace dir]/.metadata/.log, replicate the issue and attach the file here. You can go ahead and mask sensitive data from your .log file.

    I have escalated your issue to dev team member. They would get back to you.
    Sorry for the inconvenience.

    #328851 Reply

    Brian Fernandes
    Moderator

    Phoenix,

    1) Obviously, MyEclipse should not be crashing at all and certainly not frequently. You may want to try and run it with some additional memory settings, see this post for details: https://www.genuitec.com/forums/topic/troubleshooting-memory-amp-performance-issues/

    2) From the File > Export > Database > JDBC Driver wizard, you can export all your database connections. If the situation occurs again, it will be easier for you to set up your connections again.

    3) When you create your DB connections from scratch, have you exited the workspace at least once before the crash occurs? Or does it crash in the same session during which you created the connections – this might explain the fact that the connections keep disappearing.

    Please keep us posted and let us know if you need additional assistance.

    #328858 Reply

    Phoenix_133
    Member

    Thanks for the quick reply.
    I have adjusted my settings within myeclipse.ini to use more memory. I must have forgotten to setup this when I recently changed my OS and used the same workspace, but had to reinstall myEclipse. I also deactivated JavaScript assist, as I don’t need JavaScript.

    I will keep you informed if things work out. Thanks for the quick reply and helpful link.

    Kind regards,
    Phoenix_133[/code]

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Database connections lost after every crash of MyEclipse IDE

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