facebook

Jrebel not working with MyEclipse Blue on win 7 64 bit

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

    I am evaluating jrebel with myeclipse for my company, After installing and configuring jrebel on myeclipse 10.6, for few projects rebel.xml is generated and for few it is not generated. When i do a clean and build it says:

    Errors occurred during the build.
    Errors running builder ‘rebel.xml Generator/Validator’ on project ‘abcEjb’.
    Resource ‘/abcEjb/src’ does not exist.
    Resource ‘/abcEjb/src’ does not exist.
    Errors running builder ‘rebel.xml Generator/Validator’ on project ‘defEjb’.
    Resource ‘/defEjb/src’ does not exist.
    Resource ‘/defEjb/src’ does not exist.
    Errors running builder ‘rebel.xml Generator/Validator’ on project ‘ghiWeb’.
    Resource ‘/ghiWeb/src’ does not exist.
    Resource ‘/ghiWeb/src’ does not exist.

    When i right click on projects-> properties-> jrebel, generate now is not able to generate and ok also does not do any thing, only cancel works.

    Please help

    #333002 Reply

    Before trying with Jrebel, i was using classic mode(Exploded deployment) and when i change some java code and say redeploy/reload application(I guess this is similar to Publish in RAD), it often fails/ takes a long time to publish the changes. Often when it fails i have to remove the deployment and redeploy all the things. So i wish to use Jrebel with MyEclipse.

    Also let me know which deployment mode is best for development(where we are making frequent changes to files) in Myeclipse.

    #333003 Reply

    FYI , i am using Websphere 8.

    #333008 Reply

    support-swapna
    Moderator

    reachmuzamilshaikh,

    Sorry that you are seeing issues.

    1. You can use the in-workspace deployment mode. If you have any EJB 2.x projects then you will have to manually run the MyEclipse EJB Deploy tool. First turn off ‘Run EJBDeploy Tool’ for the EAR. Right click on the EAR project > Properties > MyEclipse > EAR > uncheck the option ‘Run EJBDeploy Tool’. To run the MyEclipse EJB Deploy tool, right click on the EJB 2.x project > MyEclipse > Run EJB Deploy.

    2. Can you please send us the example project which has issues with JRebel to help us investigate further ? You can attach the zip file to this post or send an email to support@genuitec.com Subject : ATTN:Swapna along with a reference to this post. If the size of the attachment is more than 5MB, then please email it to swapna@genuitec.com along with a reference to this post.

    #333036 Reply

    Hi Swapna,

    1. ok i will use In-workspace deployment mode.

    2. No, i am not able to replicate the error with sample project, any way , i have conveyed this to jrebel team and they have accepted it as a bug. Lets hope that i get a solution for this soon.
    http://zeroturnaround.com/forums/topic/jrebel-is-not-working-on-myeclipse-64-bit-win-7/

    3. After un-installing the jrebel plugin from MyEclipse, i am not able to start the server, the following is the exception in start server.log

    [12/5/12 11:28:38:985 IST] 00000000 LaunchCommand A ADML0004E: An exception occurred when attempting to expand variable ${jrebel_args.server.myeclipse:websphere8Server#AppSrv05} com.ibm.wsspi.runtime.variable.UndefinedVariableException: Undefined variable jrebel_args.server.myeclipse:websphere8Server#AppSrv05
    at com.ibm.ws.runtime.component.VariableMapImpl.expand(VariableMapImpl.java:373)

    Even when i try to remove the variable entry manually from server.xml, and restart the server, it again appears.

    #333042 Reply

    support-swapna
    Moderator

    reachmuzamilshaikh,

    Did you uninstall the JRebel without un-checking the jrebel settings on Websphere ?

    I have a crude fix for this –

    1. Install jrebel
    2. Uncheck the jrebel settings – “Enable JRebel agent” and “Enable debug logging” under Window > preferences > MyEclipse > Servers > Websphere > Websphere 8.
    3. Click on [Apply] and [OK].
    4. Un-install JRebel

    Let us know how it works for you.

    #333048 Reply

    Hi Swapna,

    Thanks for the quick response, Appreciate it.

    Yes i had uninstalled the JRebel without un-checking the jrebel settings on Websphere.

    The issue is solved now after following the steps given by you. 🙂

    Also, i tried the in-workspace mode, as this mode does not support the deployment assembly mapping, i had to uncheck it in my ear. Do i have to do some thing more as i am not using deployment assembly mapping now? or is it just fine to uncheck and leave the rest to MyEclipse.

    Thanks.

    #333076 Reply

    support-swapna
    Moderator

    reachmuzamilshaikh,

    Its fine to uncheck the Deployment Assembly. If you have any utility projects, add them as referenced projects to the EAR.

    Hope this helps.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Jrebel not working with MyEclipse Blue on win 7 64 bit

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