- This topic has 23 replies, 3 voices, and was last updated 13 years, 7 months ago by CS Tan.
-
AuthorPosts
-
support-swapnaModeratorjoejess,
1) Can you make sure you have the correct java compliance level for WAS 6.1 ? Right click on project > Properties > Java Compiler. Compliance level should be max. 1.5,as this is max. java version WAS 6.1 JDK can run. Your project compliance level can be lower or equal to 1.5.
The link is correct.
2) After you see the web page up and running, I want you to clear the deployment log, make changes to the files and check.
3) If you are still seeing the issue, I request you to attach print screen step by step what you are doing and what kind of error you see. Also paste the contents of the deployment log.
CS TanParticipantHi,
1) I have set the compliance level to 1.5. Able to access the link without error now.
2) For JSP, I amend and save. Understood that when I refresh the browser, I should be able to see the changes. [OK]
For java, I reload the page http://localhost:9080/SimpleJSPExample/index.jsp, make some changes. Able to see the activities in the console. However, when I try to make another change on the java, there is no activites logged on the console.
[4/15/11 10:19:51:196 GMT] 00000019 ApplicationMg I WSVR0227I: User initiated module stop operation requested on Module, SimpleJSPExample.war, of application, SimpleJSPExample
[4/15/11 10:19:51:199 GMT] 00000019 ServletWrappe I SRVE0253I: [SimpleJSPExample] [/SimpleJSPExample] [/index.jsp]: Destroy successful.
[4/15/11 10:19:51:203 GMT] 00000019 ApplicationMg I WSVR0228I: User initiated module stop operation request completed on Module, SimpleJSPExample.war, of application, SimpleJSPExample
[4/15/11 10:19:51:204 GMT] 00000019 ApplicationMg I WSVR0225I: User initiated module start operation requested on Module, SimpleJSPExample.war, of application, SimpleJSPExample
[4/15/11 10:19:51:219 GMT] 00000019 WebGroup A SRVE0169I: Loading Web Module: SimpleJSPExample.war.
[4/15/11 10:19:51:231 GMT] 00000019 VirtualHost I SRVE0250I: Web Module <null> has been bound to default_host[*:9080,*:80,*:9443,*:5060,*:5061,*:443].
[4/15/11 10:19:51:234 GMT] 00000019 ApplicationMg I WSVR0226I: User initiated module start operation request completed on Module, SimpleJSPExample.war, of application, SimpleJSPExample
support-swapnaModeratorjoejess,
However, when I try to make another change on the java, there is no activites logged on the console.
When you reload the page, do you see the java changes? In the Servers view, does your project status show OK ?
CS TanParticipantHi,
I tried to make the code changes on java for the second time (console does not show the activities logged for the second time) and as per your suggestion, I refresh the page and it did show my second code changes.
Yes, the project status is OK.
support-swapnaModeratorjoejess,
You are seeing your java changes on refresh and the project status OK means that the project is redeployed automatically on save. So I suppose your query of redeployment not being automatic is answered.
Do let me know if you need further help.
CS TanParticipantHi,
In this case, how will we know if the codes has already automactically redeployed without refreshing the page?
As in RAD 6.0, e.g. if we load the page, make changes to java 2 times, the console will show the activities for both changes, and hence, we the can know the latest changes have already been redeployed.
CS TanParticipantHi,
In addition, the loggings of the timestamp in the console is incorrect. Is in GMT currently. Should be SGT. How should we go about changing this?
support-swapnaModeratorjoejess,
1) If you do not see any warning marks on your deployment then changes were 99% redeployed fine.
2) The console is just for display. I suggest you contact IBM support for changes related to WAS.
Hope this helps.
CS TanParticipantHi,
1) Warning mark on my deployment, were you referring to the Redeploy status?
-
AuthorPosts