- This topic has 23 replies, 4 voices, and was last updated 13 years, 7 months ago by
support-swapna.
-
AuthorPosts
-
hahagalParticipantHi,
After I checked out from cvs and edit on some java classes, the changes doesn’t seems to be deployed to the server. I’m using WebSphere 6.1 (classic mode), project deployed in exploded mode. Need some help here.
Thanks!
support-swapnaModeratorhahagal,
Can you answer some more questions for me to understand the issue better ?
1) Can you share your installation details from MyEclipse > Installation Summary > Installation Details ? Paste them here for me.
2) Is your server configured to the ‘Classic Mode’ right from start or did you change it later to ‘Classic Mode’ ? If yes then remove the profile and configure it again in ‘Classic Mode’. Check if the issue persists.
3) When you make changes to the java files and save them, do you see the status of the project as ‘OK’ in the Servers tab ?
4) Do you see your changes when you refresh/reload your web page ?
5) Right click on the Websphere 6.1 in the Servers tab and ‘View Deployment Log’. Clear the contents of this log file.Now make changes to your java files and save them. Paste the contents of the deployment log here for me.
hahagalParticipantHi swapna,
Would appreicate your prompt assistance on this.
1) *** Date:
Wednesday, April 27, 2011 9:47:32 AM SGT** System properties:
OS=WindowsVista
OS version=6.1.0
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Blue Edition
Version: 8.6.1 Blue
Build id: 8.6.1-Blue-20101117*** Eclipse details:
MyEclipse Blue EditionVersion: 8.6.1 Blue
Build id: 8.6.1-Blue-20101117Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Users\admin\AppData\Local\Genuitec\MyEclipse-Blue-Edition-8.6\myeclipse-blue.exe
-name
Myeclipse-blue
–launcher.library
C:\Users\admin\AppData\Local\Genuitec\MyEclipse-Blue-Edition-8.6\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup
C:\Users\admin\AppData\Local\Genuitec\MyEclipse-Blue-Edition-8.6\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-install
C:\Users\admin\AppData\Local\Genuitec\MyEclipse-Blue-Edition-8.6
-configuration
C:\Users\admin\AppData\Local\Genuitec\MyEclipse-Blue-Edition-8.6\configuration
-vm
C:/Users/admin/AppData/Local/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll2) Server is configured to classic mode from the beginning
3) Yes, when I make changes to java files and save, the project status is OK at the Server tab. For EJB java files when I save, I am able to see some printline of the initialization of the project, but not for Web java files
4) For EJB java files yes, I am able to see the changes when reload the page. However, for Web project, I cannot see the changes reflected.
5) Deployment.log is empty when I make changes to EJB and Web java files and save
support-swapnaModeratorhahagal,
Thank you for the details. I am unable to replicate the issue at my end.
Can you please tell me what exact changes are you trying to make to the Web project for me to investigate further?
hahagalParticipantHi swapna,
I have a output on a jsp page, and the output will display the text written in its java class. e.g.
public String getTestdisplay() {
return “qqq”;}
I am trying to change the string qqq to something else.
I also noticed that locally in the workspace, java file is changed as the timestamp is the time which I amend on the file. However, when I check the deployment war location, the web java class seems not deployed to the server.
support-swapnaModeratorhahagal,
I am unable to replicate it at my end. I will file this with the dev team for further investigation.
Sorry for the inconvenience caused.
Brian FernandesModeratorhahagal,
You need to start the server in Debug mode for changes to Java classes to be picked up. Are you doing this? Also, if you make a change to a JSP file directly (like a simple text change) are those changes showing up?
hahagalParticipantHi Brian,
Yes, already doing so. For WebSphere 6.1, debug server launch mode, I have already set it to debug mode in the beginning. I add an output to JSP file and save. When I refresh the jsp page, the change is not reflected as well.
support-piotrParticipanthahagal,
From what I see your issue may related to your project configuration. You’ve mentioned that you have checked out the project from CVS. What kind of project it was? Have you enhanced it to work with MyEclipse? Maybe you would be able to send us some parts of the project, so we would be able to work on the issue?
hahagalParticipantHi,
Some updates from what I have noticed. Previously, I mentioned that after I checked out, I am not able to see the changes for jsp and web classes, only able to see changes of EJB classes. I leave my workspace open for sometimes, and when I went back to try again, I am able to see the changes for jsp and web classes.
piotr: I migrate the project and also enhanced it to work with MyEclipse. Then I checked in to CVS and checkout the project and build. Working on EAR, EJB and Web project.
support-piotrParticipanthahagal,
if you are seeing changes only after some time it means that your project needs more time to hot-sync. Sorry for inconvenience with deployment status not updated (i.e. no status “syncing”). Have you tried enhanced deployment mode? It does not resync automatically, but it can be more efficient.
hahagalParticipantHi piotr,
How can I enhanced the deployment mode?
I am puzzled of why EJB changes can be sync immediately and not for Web changes. Any ideas to it?
support-piotrParticipanthahagal,
how big is you web project in MBs? How long does it take to deploy your EAR to the websphere? If you launch websphere connector configuration, on the first page, you will notice “Deployment mode”, select “enhanced mode” there.
hahagalParticipantHi piotr,
Web project around 52MB. Takes about 5 minutes to deploy. Ok, I will try with the enhanced mode and update you again.
support-piotrParticipantHi Hahagal,
If normal deployment takes so much time, then hot-sync will also be about that much. I hope enhanced mode would work better for you 🙂
-
AuthorPosts