facebook

Changes not reflected java code change

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • #316561 Reply

    hahagal
    Participant

    Hi piotr,

    If enhanced mode is selected, the EAR project can only be deployed at a packaged mode. Which means every changes I made to the java classes I need to redeploy it which takes about 5 minutes for each redeploy. I would want it to be automactic deploy (exploded mode) as its much more faster.

    #316564 Reply

    hahagal
    Participant

    Hi piotr,

    Following is the deployment log for my classic mode, exploded mode. Can you see if there is anything wrong in there which caused the web not to hot-sync?

    —————————————————————————————————————————
    MyEclipse: deployment START exploded project: Belsize server: websphere61Server#AppSrv01 time: Thu May 05 17:28:18 SGT 2011
    —————————————————————————————————————————
    WASX7209I: Connected to process “server1” on node admin-PCNode01 using SOAP connector; The type of process is: UnManagedProcess
    WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: “[Belsize]”
    Belsize
    ADMA5017I: Uninstallation of Belsize started.
    ADMA5104I: The server index entry for WebSphere:cell=admin-PCNode01Cell,node=admin-PCNode01 is updated successfully.
    ADMA5102I: The configuration data for Belsize from the configuration repository is deleted successfully.
    ADMA5011I: The cleanup of the temp directory for application Belsize is complete.
    ADMA5106I: Application Belsize uninstalled successfully.
    —————————————————————————————————————-
    MyEclipse: deployment END project: Belsize server: websphere61Server#AppSrv01 time: Thu May 05 17:28:29 SGT 2011
    —————————————————————————————————————-
    —————————————————————————————————————————
    MyEclipse: deployment START exploded project: Belsize server: websphere61Server#AppSrv01 time: Thu May 05 17:28:57 SGT 2011
    —————————————————————————————————————————
    WASX7209I: Connected to process “server1” on node admin-PCNode01 using SOAP connector; The type of process is: UnManagedProcess
    WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: “[C:\\IBM\\WebSphere\\AppServer\\profiles\\AppSrv01\\installableApps\\Belsize.ear, admin-PCNode01Cell, admin-PCNode01, server1, Belsize, {{“BelsizeWeb.war” “BelsizeWeb.war,WEB-INF/web.xml” default_host}}, {{“null” “BelsizeWeb.war,WEB-INF/ibm-web-ext.xmi”AppDeploymentOption.Yes 1}}, true, true, true, C:/Users/admin/AppData/Local/Genuitec/MyEclipse-Blue-Edition-8.6/configuration/org.eclipse.osgi/bundles/12/1/.cp/scriptutil/scriptutil.jar, C:/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/admin-PCNode01Cell/Belsize.ear/BelsizeEJB.jar, true]”
    C:\IBM\WebSphere\AppServer\profiles\AppSrv01\installableApps\Belsize.ear
    admin-PCNode01Cell
    admin-PCNode01
    server1
    Belsize
    {“BelsizeWeb.war” “BelsizeWeb.war,WEB-INF/web.xml” default_host}
    {“null” “BelsizeWeb.war,WEB-INF/ibm-web-ext.xmi”AppDeploymentOption.Yes 1}
    -nopreCompileJSPs -distributeApp -useMetaDataFromBinary -deployejb -appname “Belsize” -createMBeansForResources -reloadEnabled -reloadInterval 1 -deployws -validateinstall off -processEmbeddedConfig -filepermission .*.dll=755#.*.so=755#.*.a=755#.*.sl=755 -buildVersion Unknown -noallowDispatchRemoteInclude -noallowServiceRemoteInclude -MapWebModToVH {{“BelsizeWeb.war” “BelsizeWeb.war,WEB-INF/web.xml” default_host}} -JSPReloadForWebMod {{“null” “BelsizeWeb.war,WEB-INF/ibm-web-ext.xmi”AppDeploymentOption.Yes 1}}
    true
    true
    true
    C:/Users/admin/AppData/Local/Genuitec/MyEclipse-Blue-Edition-8.6/configuration/org.eclipse.osgi/bundles/12/1/.cp/scriptutil/scriptutil.jar
    C:/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/admin-PCNode01Cell/Belsize.ear/BelsizeEJB.jar
    -deployejb
    -processEmbeddedConfig
    ADMA5016I: Installation of Belsize started.
    ADMA5058I: Application and module versions are validated with versions of deployment targets.
    ADMA5018I: The EJBDeploy command is running on enterprise archive (EAR) file C:\Users\admin\AppData\Local\Temp\app44420.ear.
    Starting workbench.
    EJB Deploy configuration directory: c:\IBM\WebSphere\AppServer\deploytool\itp\configuration/
    framework search path: c:\IBM\WebSphere\AppServer\deploytool\itp\plugins
    Debug options:
    Creating the project.
    Deploying jar BelsizeEJB
    Generating deployment code
    Invoking RMIC.
    Writing output file
    Shutting down workbench.
    EJBDeploy complete.
    0 Errors, 0 Warnings, 0 Informational Messages
    ADMA5007I: The EJBDeploy command completed on C:\IBM\WebSphere\AppServer\profiles\AppSrv01\wstemp\wstemp\app_12fbf7d6723\dpl\dpl_Belsize.ear
    WSWS0041I: Web services deploy task completed successfully.
    ADMA5005I: The application Belsize is configured in the WebSphere Application Server repository.
    ADMA5053I: The library references for the installed optional package are created.
    ADMA5005I: The application Belsize is configured in the WebSphere Application Server repository.
    ADMA5001I: The application binaries are saved in C:\IBM\WebSphere\AppServer\profiles\AppSrv01\wstemp\Script12fbf7d20c9\workspace\cells\admin-PCNode01Cell\applications\Belsize.ear\Belsize.ear
    ADMA5005I: The application Belsize is configured in the WebSphere Application Server repository.
    SECJ0400I: Successfuly updated the application Belsize with the appContextIDForSecurity information.
    ADMA5011I: The cleanup of the temp directory for application Belsize is complete.
    ADMA5013I: Application Belsize installed successfully.

    TCL_CLASSPATH = TCL_CLASSPATH C:/Users/admin/AppData/Local/Genuitec/MyEclipse-Blue-Edition-8.6/configuration/org.eclipse.osgi/bundles/12/1/.cp/scriptutil/scriptutil.jar

    Exploding jars: C:/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/admin-PCNode01Cell/Belsize.ear/BelsizeEJB.jar
    Exploding jar file: C:/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/admin-PCNode01Cell/Belsize.ear/BelsizeEJB.jar
    Starting Belsize application.
    —————————————————————————————————————-
    MyEclipse: deployment END project: Belsize server: websphere61Server#AppSrv01 time: Thu May 05 17:30:44 SGT 2011
    —————————————————————————————————————-

    #316570 Reply

    support-piotr
    Participant

    Hahagal,

    everything looks fine. Could you paste your sever log? It can be found under directory {WAS-inst-dir}/profiles/{profile-name}/logs/server1. There are two files SystemOut.log and SystemErr.log. Please remove them, then start server, perform deployment and hot-syncing of web project and send them to [email protected] “ATTN Piotrek” with a link to this thread.

    #316599 Reply

    hahagal
    Participant

    Hi piotr,

    I have sent out the email. Just wondering if this has got something to do with the hot sync problem? The timestamp of the loggings in the System out is not correct. Should be SGT but System out loggings is in GMT.

    #316626 Reply

    support-piotr
    Participant

    Hahagal,

    Logging is performed by WebSphere server – you should check settings in server’s configuration. However timezone has nothing to do with hot-syncing, so don’t worry about this.

    #316686 Reply

    hahagal
    Participant

    Hi piotr,

    Is there any workaround for this issue? As our trial is expiring and we are having this issue held up for sometime. We are unable to send the project over however, we can allow you to VNC to our server for you to take a look on this issue. Will that be ok for you?

    There is also another issue and we has not receive response since then, which is https://www.genuitec.com/forums/topic/reduce-filesize-of-earfile/

    #316701 Reply

    Brian Fernandes
    Moderator

    Hahagal,

    Could you please write in to [email protected] with your contact details so we can get in touch with you? Please use the subject ATTN Brian and include a link to this thread.

    #317820 Reply

    hahagal
    Participant

    Hi piotr/Brian,

    This issue seems OK after I update my WAS with SDK35.

    #317844 Reply

    support-swapna
    Moderator

    hahagal,

    Glad that it is working.
    Let us know if you have any other issues.

Viewing 9 posts - 16 through 24 (of 24 total)
Reply To: Changes not reflected java code change

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