facebook

Hot Repace fails in myEclipse 8 with weblogic

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #304294 Reply

    kins57
    Member

    Dear all,

    I recently upgrade from myEclipse 7.5 to myEclipse 8. Everything is ok but I get some troubles with code hot replacement. While it was working well with myEclipse 7.5, it doesn’t work anymore in myEclipse 8. If I change a simple word in a method the hot replace fails to do the change and ask me to shutdown the server… Very annoying…

    Is there a way to configure this?

    My weblogic installation is still the same, I use the same JRE, I just changed myEclipse…

    Thanks for your help.
    kins57

    #304298 Reply

    support-joy
    Member

    kins57,

    Can you answer few queries for me to investigate this further?
    1. How did you upgrade from ME 7.5 to 8.0? Did you install a fresh 8.0 using all-in-one installer / pulse / archived update site on top of eclipse classic? Or did you upgrade using the dashboard?
    2. Can you copy and paste your installation details? Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details.
    3. Can you attach screenshots? It will help me get a visual of the problem
    4. Do you see any issues in the problems tab? If yes, can you copy and paste the same here?
    5. Can you open your error log file located here <your workspace dir>/.metadata/.log and look for any relevant issue being logged. If yes, can you copy and paste the same here?
    I would recommend you use -clean command line argument to start your IDE. Please refer https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/
    Let me know how this works for you.

    #304305 Reply

    kins57
    Member

    Of course 🙂

    1. I deleted completly myEclipse 7.5 and perform a fresh install of myEclipse 8. We have no access to the Internet for security reasons (bank), thus we are not able to use the updater. I directly use the workspace I used with version 7.5.
    2.
    *** Date:
    mercredi 2 décembre 2009 14 h 07 CET
    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.6.0_13
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 8.0
    Build id: 8.0-20091120
    *** Eclipse details:
    MyEclipse Enterprise Workbench
    Version: 8.0
    Build id: 8.0-20091120
    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\Genuitec\MyEclipse 8.x Latest\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\Program Files\Genuitec\MyEclipse 8.x Latest\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
    -startup
    C:\Program Files\Genuitec\MyEclipse 8.x Latest\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
    -install
    C:/Program Files/Genuitec/MyEclipse 8.x Latest
    -configuration
    configuration
    -vm
    C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
    3. Actually I have no real problems, debug warms me that it is not able to hot replace the code and asks me to shutdown the server. It’s not an error, I got the same message in 7.5 but only when the changes were important, like adding a class attribute or changing a method name, etc…
    4. No issues, the project (an EAR project) is deployed correctly like before.
    5. No specific issues reported in the log file.

    I added the -clean option to the start of myEclipse. I’ll see…

    It seems that the debug is not as stable as before for some reasons. In 7.5 I was able to change a big amount of code without having to restart the server. Maybe this is linked to the fact that I use a workspace created with a prior version of myEclipse without having done an update of this one? Maybe some stuffs prevent me from using hot replace correctly. Maybe the -clean will help in this way.

    Thanks for your help.
    kins57

    #304337 Reply

    support-joy
    Member

    kins57,

    Thank you for the details. Let me know if -clean command line argument helped.

    Best.

    #304359 Reply

    kins57
    Member

    sorry to say that -clean didn’t help :/

    Thanks again
    kins57

    #304403 Reply

    support-joy
    Member

    kins57,

    Can you please clarify that you are doing this for debugging? Right click on the project. From the context menu click on MyEclipse > Debug As > MyEclipse Server Application and choose the relevant app server. This runs the project in the debug mode.

    #304475 Reply

    kins57
    Member

    Yep,

    I defined a weblogic server in the servers view and I start it in debug mode, that’s it. My application is an EAR file. I’ve just done a test and it seems that some features are more sensitive than others. For exemple, if I change something if a web module, the debug doesn’t stop but if I add a simple space in an EJB the debug stop. I have to stop the server, redeploy the application and start the server again.

    Thanks,
    kins57

    #304493 Reply

    support-joy
    Member

    kins57,

    I cannot reproduce at my end. Can you send us a sample application and mention the steps to reproduce in detail. Please send a mail to support@genuitec.com, include this post URL which will help in quick tracing and add ATTN:Joy in the subject.

    #304678 Reply

    kins57
    Member

    This message has not been recovered.

    #304684 Reply

    support-joy
    Member

    This message has not been recovered.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Hot Repace fails in myEclipse 8 with weblogic

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