facebook

Hot Code Swap not working

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #331735 Reply

    miguelmu
    Member

    Hello,

    I’m using MyEclipse Blue 10.6 with Websphere Dev Edition 6.1 fixpack 45. Using In-Workspace mode.

    When making simple java code changes like adding a System.out.println, when I save the change and build the project the application stops and restarts again.

    Is this normal behavior? Do I need to turn on some setting in Myeclipse or Webpshere? Currently I have websphere configured for debug mode and in development mode.

    Posting my installation details :

    *** System properties:
    awt.toolkit=sun.awt.windows.WToolkit
    com.genuitec.pulse.client.basedir.location.override=C:\Program Files\MyEclipse Blue Edition
    com.genuitec.pulse.client.blueprint.id=rmb-3735729
    com.genuitec.pulse.client.credentials=UbLCvrs64lXmsdkYWea6Eh6svk9gVQIRv7AuirQSaljwvERnDPINCpfa4pCRpFu6uN0zRU+tkSTg yiGL6xeooFwRAqPaLCZqR9FyI9xTGsrfrdxf14yKn5cRxCrhxqizqwszNjBrqXp0zTA37owAjKPE c3oRaOV+oORSqUM4ZrU=
    com.genuitec.pulse.client.handshake.id=823ac313-08e6-40bc-8426-9f6ec4ca70f8
    com.genuitec.pulse.client.migrated.id=rb-5513152-1340904742558
    com.genuitec.pulse.client.oslevel.overrides.filename.override=pulse2.conf
    com.genuitec.pulse.common.server.url=https://www.poweredbypulse.com:443
    eclipse.commands=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\MyEclipse Blue Edition\MyEclipse Blue Edition 10\myeclipse-blue.exe
    -name
    Myeclipse-blue
    –launcher.library
    C:\Program Files\MyEclipse Blue Edition\MyEclipse Blue Edition 10\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_4.2.0.v201201111650\eclipse_4201.dll
    -startup
    C:\Program Files\MyEclipse Blue Edition\MyEclipse Blue Edition 10\../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    -install
    C:\Program Files\MyEclipse Blue Edition\MyEclipse Blue Edition 10
    -configuration
    C:\Program Files\MyEclipse Blue Edition\MyEclipse Blue Edition 10\configuration
    -vm
    C:\Program Files\MyEclipse Blue Edition\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll
    eclipse.home.location=file:/C:/Program Files/MyEclipse Blue Edition/MyEclipse Blue Edition 10/
    eclipse.launcher=C:\Program Files\MyEclipse Blue Edition\MyEclipse Blue Edition 10\myeclipse-blue.exe
    eclipse.launcher.name=Myeclipse-blue
    eclipse.p2.data.area=file:/C:/Program Files/MyEclipse Blue Edition/Common/configuration/
    eclipse.p2.profile=com.poweredbypulse.profile-0-rb-5513152-1340904742558
    eclipse.product=com.genuitec.myeclipse.blue.product.ide
    eclipse.startTime=1351273714001
    eclipse.vm=C:\Program Files\MyEclipse Blue Edition\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll
    eclipse.vmargs=-Xmx512m
    -XX:MaxPermSize=256m
    -XX:ReservedCodeCacheSize=64m
    -Dosgi.nls.warnings=ignore
    -Djava.class.path=C:\PROGRA~1\MYECLI~1\MYECLI~1\../Common/plugins/OR02A7~1.JAR
    equinox.use.ds=true
    file.encoding=Cp1252
    file.encoding.pkg=sun.io
    file.separator=\
    java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob=sun.awt.windows.WPrinterJob
    java.class.path=C:\PROGRA~1\MYECLI~1\MYECLI~1\../Common/plugins/OR02A7~1.JAR
    java.class.version=50.0
    java.endorsed.dirs=C:\Program Files\MyEclipse Blue Edition\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\lib\endorsed
    java.ext.dirs=C:\Program Files\MyEclipse Blue Edition\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\lib\ext;C:\WINNT\Sun\Java\lib\ext
    java.home=C:\Program Files\MyEclipse Blue Edition\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre
    java.io.tmpdir=C:\DOCUME~1\ke8358\LOCALS~1\Temp\
    java.library.path=C:\Program Files\MyEclipse Blue Edition\MyEclipse Blue Edition 10;.;C:\WINNT\Sun\Java\bin;C:\WINNT\system32;C:\WINNT;C:/Program Files/MyEclipse Blue Edition/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client;C:/Program Files/MyEclipse Blue Edition/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin;C:/Program Files/MyEclipse Blue Edition/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/i386;C:\oracle\product\11.2.0\client_1\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\oracle\product\10.2.0\client_1\bin;C:\Program Files\Java\jre6\bin;C:\Program Files\CA\Cryptography\;C:\Program Files\CA\SCM;C:\PROGRA~1\CA\SC\etpki\lib;C:\Program Files\Hewlett-Packard\OpenView\service desk 4.5\client\bin;C:\Program Files\Novell\ZENworks\;C:\Program Files\CA\SharedComponents\PEC\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.6.0_23\bin;C:\Program Files\7-Zip\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\TortoiseSVN\bin
    java.runtime.name=Java(TM) SE Runtime Environment
    java.runtime.version=1.6.0_13-b03
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.6
    java.vendor=Sun Microsystems Inc.
    java.vendor.url=http://java.sun.com/
    java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
    java.version=1.6.0_13
    java.vm.info=mixed mode
    java.vm.name=Java HotSpot(TM) Client VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=Sun Microsystems Inc.
    java.vm.version=11.3-b02
    line.separator=

    maynstall.basepath=/pulse/action/
    maynstall.rootelement=pulse
    org.eclipse.equinox.launcher.splash.location=C:\Program Files\MyEclipse Blue Edition\Common\plugins\com.genuitec.myeclipse.blue.product_10.1.0.me201207261914\splash.bmp
    org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
    org.eclipse.m2e.log.dir=C:\My Projects\Celita Workspace\.metadata\.plugins\org.eclipse.m2e.logback.configuration
    org.eclipse.update.reconcile=false
    org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
    org.osgi.framework.language=en
    org.osgi.framework.os.name=WindowsXP
    org.osgi.framework.os.version=5.1.0
    org.osgi.framework.processor=x86
    org.osgi.framework.system.capabilities=osgi.ee; osgi.ee=”OSGi/Minimum”; version:List<Version>=”1.0, 1.1, 1.2″,osgi.ee; osgi.ee=”JavaSE”; version:List<Version>=”1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6″
    org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
    org.osgi.framework.uuid=e0618b5d-951f-0012-12ab-a27401133284
    org.osgi.framework.vendor=Eclipse
    org.osgi.framework.version=1.6.0
    org.osgi.supports.framework.extension=true
    org.osgi.supports.framework.fragment=true
    org.osgi.supports.framework.requirebundle=true
    os.arch=x86
    os.name=Windows XP
    os.version=5.1
    osgi.arch=x86
    osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110815-1438.jar@1:start
    osgi.bundles.defaultStartLevel=4
    osgi.bundlestore=C:\Program Files\MyEclipse Blue Edition\MyEclipse Blue Edition 10\configuration\org.eclipse.osgi\bundles
    osgi.configuration.area=file:/C:/Program Files/MyEclipse Blue Edition/MyEclipse Blue Edition 10/configuration/
    osgi.framework=file:/C:/Program Files/MyEclipse Blue Edition/Common/plugins/org.eclipse.osgi_3.7.2.v20120110-1415.jar
    osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
    osgi.framework.shape=jar
    osgi.framework.version=3.7.2.v20120110-1415
    osgi.frameworkClassPath=., file:C:/Program Files/MyEclipse Blue Edition/Common/plugins/javax.transaction_1.1.1.v201105210645.jar
    osgi.install.area=file:/C:/Program Files/MyEclipse Blue Edition/MyEclipse Blue Edition 10/
    osgi.instance.area=file:/C:/My Projects/Celita Workspace/
    osgi.instance.area.default=file:/C:/Documents and Settings/ke8358/Workspaces/MyEclipse Blue Edition 10/
    osgi.logfile=C:\My Projects\Celita Workspace\.metadata\.log
    osgi.manifest.cache=C:\Program Files\MyEclipse Blue Edition\MyEclipse Blue Edition 10\configuration\org.eclipse.osgi\manifests
    osgi.nl=en_US
    osgi.nls.warnings=ignore
    osgi.os=win32
    osgi.splashLocation=C:\Program Files\MyEclipse Blue Edition\Common\plugins\com.genuitec.myeclipse.blue.product_10.1.0.me201207261914\splash.bmp
    osgi.splashPath=platform:/base/plugins/com.genuitec.myeclipse.blue.product
    osgi.syspath=c:\Program Files\MyEclipse Blue Edition\Common\plugins
    osgi.tracefile=C:\My Projects\Celita Workspace\.metadata\trace.log
    osgi.ws=win32
    path.separator=;
    product.home=/C:/Program Files/MyEclipse Blue Edition/Common/plugins/org.jboss.tools.common.model_2.0.0.me201108091322/
    proxySet=true
    pulse.console.redirect=true
    pulse.initialized.logging=true
    sun.arch.data.model=32
    sun.boot.class.path=C:\Program Files\MyEclipse Blue Edition\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\lib\resources.jar;C:\Program Files\MyEclipse Blue Edition\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\lib\rt.jar;C:\Program Files\MyEclipse Blue Edition\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\lib\sunrsasign.jar;C:\Program Files\MyEclipse Blue Edition\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\lib\jsse.jar;C:\Program Files\MyEclipse Blue Edition\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\lib\jce.jar;C:\Program Files\MyEclipse Blue Edition\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\lib\charsets.jar;C:\Program Files\MyEclipse Blue Edition\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\classes
    sun.boot.library.path=C:\Program Files\MyEclipse Blue Edition\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin
    sun.cpu.endian=little
    sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
    sun.desktop=windows
    sun.io.unicode.encoding=UnicodeLittle
    sun.jnu.encoding=Cp1252
    sun.management.compiler=HotSpot Client Compiler
    sun.os.patch.level=Service Pack 3
    systemProxySet=true
    user.country=US
    user.dir=C:\Program Files\MyEclipse Blue Edition\MyEclipse Blue Edition 10
    user.home=C:\Documents and Settings\ke8358
    user.language=en
    user.name=ke8358
    user.timezone=America/New_York
    user.variant=

    #331783 Reply

    support-swapna
    Moderator

    miguelmu,

    Sorry that you are seeing this issue. The redeployment is managed by Websphere and is the same deployment mode as in RAD. Can you please check if you see the same behavior in RAD too ?

    #331786 Reply

    miguelmu
    Member

    I have no issues using RAD. Is there some setting I need to turn on in MyEclipse or in Websphere Dev edition?

    #331827 Reply

    support-swapna
    Moderator

    miguelmu,

    Thank you for checking. I could replicate the issue at my end. I have filed a PR for the dev team to look into it.

    Sorry for inconvenience caused.

    #331955 Reply

    miguelmu
    Member

    For which release you expect this issue to be fixed? I appreciate it

    #332000 Reply

    support-swapna
    Moderator

    miguelmu,

    We have targeted it for MyEclipse 10.7 release.

    #332769 Reply

    miguelmu
    Member

    After downloading and installing version 10.7 I’m still having the same issue.

    #332789 Reply

    support-swapna
    Moderator

    miguelmu,

    Apologies for not addressing the issue in 10.7. The dev team has targeted it for 11.1 version.

    Sorry for inconvenience caused.

    #337526 Reply

    markbenoit
    Participant

    I have to say that it is frustrating. My company switched to MyEclipse Blue with the expectation that it would play well with WebSphere. We are constantly battling with Hot deployments/ hot swapping. Any time we make any change to an object that has been pulled into memory, the server restarts. This defeats the entire point and really kills productivity.

    It is possible that we are doing something wrong or that we have missed something but I would have to doubt it at this point.

    Any help that you can provide, other than that this issue might be fixed in some future version, would seriously be helpful. If we continue to have these issues we will have no choice but to move to another IDE.

    Mark

    #337708 Reply

    support-swapna
    Moderator

    Mark,

    Apologies for the inconvenience caused.

    Are you seeing the same issue discussed on this thread? I am afraid the fix for the issue raised by miguelmu will only be addressed in the next release.

    The RAD behaviour is very similar but the only difference is that it allows you to finish debugging of current method or servlet code and after that it restarts the server and we are working on providing that mode in MyEclipse.

    If you do not want restart sessions, then I recommend you give JRebel a try, which is better than the hot syncing. Take a look at these links for further information :
    http://zeroturnaround.com/software/jrebel/download/using-jrebel-with-myeclipse/
    http://www.kai-waehner.de/blog/2010/08/14/jee-development-using-jrebel-with-ibm-websphere-and-rad/

    If you are seeing a different hot deployment issue, please give us steps in detail you are following.

    Also share the MyEclipse Build ID from Help > About MyEclipse Blue Edition > Build ID along with Websphere server version details.

    #337710 Reply

    markbenoit
    Participant

    Actually, the original issue looks like it was using the in workspace deployment type. I had given up on that and was using the standard exploded type. In a nutshell, every time I make a change to a java class, Websphere restarts. This is very frustrating and slows the entire development process down greatly. I have tried many things to configure MyEclipse Blue /Websphere so that true code swapping works but have had no luck.
    Can you first explain to me what the ‘right’ way to configure the MyEclipse Blue/Websphere 7.x combination is? I feel like this is functionality that MUST be supported otherwise why would you offer a WebSphere specific version of MyEclipse. It would be great if you could provide a document that actually describes the correct way for this to be set up. I have looked at the tutorials and they are helpful in configuring the websphere connector but not much more.

    #337772 Reply

    support-swapna
    Moderator

    Mark,

    Websphere application restarting is specific to Websphere and we are investigating on how to better the hot sync process in MyEclipse. The restart of the server is imminent and even RAD does the same.

    I am afraid, I do not have anything to add apart from what I have said in my earlier response. Please give JRebel a try if you do not want to restart the application.

    Sorry for the inconvenience caused. Let us know if you have any issues.

    #337783 Reply

    markbenoit
    Participant

    When do you expect a version of MyEclipse Blue to be released that will actually support hot code swapping? You mentioned that you expected it might be included in version 11. When is that expected to be released?

    Also, I appreciate your suggestion to use JRebel but it is not a free product. It is twice the cost of your product and I will have a difficult time convincing my management that they should purchase a new product to fill in a gap that your product does not support but I feel should.
    Please let us know when 11 is going to be released and if it will actually provide the hot deploy functionality that we need as developers. At this point, the only benifit of using Blue that we are getting is that it has connectors for the later Websphere servers. That is a tough sell since we can get free plugins that will work with MyEclipse that can do the same thing.

Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: Hot Code Swap not working

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