For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 6 replies, 3 voices, and was last updated 20 years, 7 months ago by
Scott Anderson.
-
AuthorPosts
-
kumarsnMemberI am trying to debug JSPs deployed in WebSphere 6.0 and wondering if this is supported by MyEclipse 4.0.3. As far as I know, WebSphere 6.0 is JSR-045 compliant for native JSP debugging. I followed the instructions on IBM developerworks to include debug info in the JSPs:
http://www-128.ibm.com/developerworks/websphere/techjournal/0403_johnson/0403_johnson.html
Has anyone successfully done this?
Thanks for your help.
MyEclipse configuration:
*** Date: Wed Jan 11 11:22:18 CST 2006
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.4.1_02*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.0.3 GA
Build id: 20051025-4.0.3-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.0
Build id: I20050627-1435Eclipse Platform
Version: 3.1.0
Build id: I20050627-1435Eclipse RCP
Version: 3.1.0
Build id: I20050627-1435Eclipse Java Development Tools
Version: 3.1.0
Build id: I20050627-1435Eclipse Plug-in Development Environment
Version: 3.1.0
Build id: I20050627-1435Eclipse Project SDK
Version: 3.1.0
Build id: I20050627-1435Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
d74_64
-vm
C:\j2sdk1.4.1_02\jre\bin\javaw.exeJanuary 11, 2006 at 11:35 am #244348
Riyad KallaMemberkumarsn,
Have a look at our Guide specifically for WebSphere 6: http://www.myeclipseide.com/images/tutorials/quickstarts/websphere6/January 11, 2006 at 3:05 pm #244370
kumarsnMemberI followed the WebSphere 6 section of the developer guide that you pointed out but still can’t get the debuuger to break in the JSP pages. Debuging of regular Java code works fine. Are IBM’s instructions on building JSPs with debug info correct – I didn’t see anything regarding that in the MyEclipse tutorial.
Thanks
January 11, 2006 at 3:07 pm #244371
Riyad KallaMemberAre you using the same JDK to run MyEclipse and WebSphere? Are you running WebSphere from MyEclipse in debug mode? (double check your connector settings)
January 11, 2006 at 3:16 pm #244373
kumarsnMemberI know I am starting WebSphere in debug mode since normal Java debugging works. My default JRE in Preferences->Java->Installed JREs and the JRE in Preferences->MyEclipse->ApplicationServers->WebSphere 6->JDK both point to C:\Program Files\IBM\WebSphere\AppServer\java
January 11, 2006 at 4:36 pm #244388
kumarsnMemberI was also wondering if there is any way to get JSP debugging working with WebSphere 5.0 since that didn’t support JSR-045. Is anyone aware of a fix pack that can be used with WebSphere 5.0 for this.
Thanks
January 11, 2006 at 7:26 pm #244406
Scott AndersonParticipantMy guess would be that the WebSphere domain may not really be coming up in full debug mode. You can verify debugging is on by checking
in profiles\default\config\cells\[your cell name]Node01Cell\nodes\[your node name]Node01\servers\server1\server.xml
and look for the jvmEntries line – the debugMode entry should be set to true and have a similar debugArgs setup:
<jvmEntries xmi:id=”JavaVirtualMachine_1099753628812″ … debugMode=”true” debugArgs=”-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7777″ …/>If that’s not the case, you need to start WebSphere one time and then use the administration console to turn on debugging for the domain.
Did you install the application through the WAS administartion console as shown in the WebSphere 6 tutorial ?
If so, the issue might be the location of the particular breakpoint. Can you create a simple web project that contains only a JSP page based on our standard JSP template and then deploy that wrapped in an EAR? Can you set a breakpoint in the Java code in that page and have it work after installation in the server?
-
AuthorPosts
