- This topic has 7 replies, 4 voices, and was last updated 20 years, 1 month ago by whatonhell.
-
AuthorPosts
-
whatonhellMemberI used SunOne as appserver. use remote debug prot 9999, but the breakpoint I set in jsp page is never caught. I also never try to debug jsp before. Just becuase this new feature with MyEclipse, I start to try to use it. But the result still disappionting me. Anybody knows why? BTW, I can remote debug normal java file.
Riyad KallaMemberDebugging remote JSP pages will not be supported until the 3.8.3 release, which should be next week.
whatonhellMemberI just download new 3.8.3 release, but it still doesn’t work, I mean debug jsp part.
Scott AndersonParticipantCan you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.
whatonhellMemberWhat operating system and version are you running?
Windows 2000
What Eclipse version and build id are you using? (Help > About Eclipse Platform)
– Was Eclipse freshly installed for MyEclipse?
– If not, was it upgraded to its current version using the update manager?
No.
Installed Eclipse 3.0 two months ago and used for a while.
Installed MyEclipse 3.8.2 a week ago, try remote debug jsp,
Doesn’t install old version, Installed MyEclipse 3.8.3 today and try to debug jsp, still failed.
– Are any other external plugins installed?
No.
– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
I found two different location for those plugins
C:\eclipse\plugins 84 directory
C:\MyEclipse\eclipse\plugins 203 directory
What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
What JDK version are you using to run Eclipse? (java -version)
java version “1.4.1_02”
What JDK version are you using to launch your application server?
java version “1.4.1_02”
What steps did you take that resulted in the issue?
What application server are you using?
SunOne Application Server
Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)!ENTRY com.genuitec.eclipse.j2eedt.core 1 1 Dec 14, 2004 11:19:07.309
!MESSAGE
!STACK 0
java.util.zip.ZipException: invalid CEN header (bad signature)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractWebTaglibLocator.searchJarFile(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractWebTaglibLocator.searchJarFile(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.WebProjectTaglibLocator.searchFile(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.WebProjectTaglibLocator$2.visit(Unknown Source)
at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:108)
at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:55)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:78)
at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:123)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:65)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:106)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:85)
at com.genuitec.eclipse.j2eedt.taglib.WebProjectTaglibLocator.search(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.searchForTaglibs(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.processFile(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.�(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.refresh(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.<init>(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.WebTaglibRegistry.<init>(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager.createNewRegistry(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager.getTaglibRegistry(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EEProjectUtil.getTaglibURIStream(Unknown Source)
at com.genuitec.eclipse.integration.Integrator.projectResolver_NA1(Unknown Source)
at com.ibm.sse.model.util.ProjectResolver.getURIStream(Unknown Source)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager.loadTaglib(Unknown Source)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager.getCMDocument(Unknown Source)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.enableTaglibFromURI(Unknown Source)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.processTaglib(Unknown Source)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.processTaglib(Unknown Source)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.nodeParsed(Unknown Source)
at com.ibm.sse.model.xml.internal.parser.XMLSourceParser.fireNodeParsed(Unknown Source)
at com.ibm.sse.model.jsp.parser.JSPSourceParser.parseNodes(Unknown Source)
at com.ibm.sse.model.xml.internal.parser.XMLSourceParser.getDocumentRegions(Unknown Source)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.setText(Unknown Source)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.set(Unknown Source)
at com.ibm.sse.model.jsp.modelquery.ModelQueryAdapterFactoryForJSP$TaglibSupportModelLifecycleListener.setDocument(Unknown Source)
at com.ibm.sse.model.jsp.modelquery.ModelQueryAdapterFactoryForJSP$TaglibSupportModelLifecycleListener.processPostModelEvent(Unknown Source)
at com.ibm.sse.model.LifecycleNotificationManager.signalLifecycleEvent(Unknown Source)
at com.ibm.sse.model.AbstractStructuredModel.signalLifecycleEvent(Unknown Source)
at com.ibm.sse.model.AbstractStructuredModel.setStructuredDocument(Unknown Source)
at com.ibm.sse.model.xml.internal.document.XMLModelImpl.setStructuredDocument(Unknown Source)
at com.ibm.sse.model.AbstractModelLoader.load(Unknown Source)
at com.ibm.sse.model.ModelManagerImpl._commonGetModel(Unknown Source)
at com.ibm.sse.model.ModelManagerImpl._commonGetModel(Unknown Source)
at com.ibm.sse.model.ModelManagerImpl.getModelForEdit(Unknown Source)
at com.ibm.sse.editor.FileModelProvider.selfCreateModel(Unknown Source)
at com.ibm.sse.editor.FileModelProvider.createModelInfo(Unknown Source)
at com.ibm.sse.editor.FileModelProvider.createElementInfo(Unknown Source)
at org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(AbstractDocumentProvider.java:397)
at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:2868)
at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:173)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1073)
at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:287)
at com.ibm.sse.editor.StructuredTextEditor.doSetInput(Unknown Source)
at com.ibm.sse.editor.jsp.StructuredTextEditorJSP.doSetInput(Unknown Source)
at org.eclipse.ui.texteditor.AbstractTextEditor$15.run(AbstractTextEditor.java:2232)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:303)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:253)
at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:588)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:585)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1653)
at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:2246)
at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:2264)
at com.ibm.sse.editor.StructuredTextEditor.init(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:117)
at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.createSourcePage(Unknown Source)
at com.genuitec.eclipse.webdesigner.jspeditor.JSPMultiPageEditorPart.createSourcePage(Unknown Source)
at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.createPages(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:187)
at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:137)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:133)
at org.eclipse.ui.internal.EditorManager$9.run(EditorManager.java:963)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.EditorManager.busyRestoreEditor(EditorManager.java:925)
at org.eclipse.ui.internal.EditorManager$8.run(EditorManager.java:918)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.EditorManager.restoreEditor(EditorManager.java:914)
at org.eclipse.ui.internal.EditorManager$Editor.getEditor(EditorManager.java:1364)
at org.eclipse.ui.internal.EditorManager$Editor.getPart(EditorManager.java:1356)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:319)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:122)
at org.eclipse.ui.internal.presentations.DefaultPartPresentation.selectPart(DefaultPartPresentation.java:1111)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:946)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:921)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1020)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:290)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:110)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:59)
at org.eclipse.ui.internal.EditorAreaHelper.openEditor(EditorAreaHelper.java:266)
at org.eclipse.ui.internal.EditorManager$4.run(EditorManager.java:697)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:686)
at org.eclipse.ui.internal.EditorManager.restoreEditorState(EditorManager.java:1591)
at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:877)
at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2427)
at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1372)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1224)
at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1185)
at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:1096)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1029)
at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:167)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:652)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:819)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1325)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)
gerard.n.quinnMemberFolks,
I am debugging jsps remotely using Weblogic 8.1
I followed the quickstart guide (Which I though was written very well)
However, I had to do a few things in addition to what was described
in the document. Firstly I added the following to the
weblogic.xml jsp
<weblogic-web-app>
….
<jsp-descriptor>
<jsp-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</jsp-param>
……..
</jsp-descriptor>
…..
</weblogic-web-app>
redeployed and restarted my weblogic instance.
Still did not catch the breakpoints.
So I went to my compiled JSP directory and deleted everything.
(So that weblogic would be forced to recompile the jsps . This time
adding debugging information to the resulting classes)
I then restarted my weblogic instance.
Started the debugger.
It took a while to connect.
I then went to a jsp with a breakpoint in it and it CAUGHT.
Woo Hoo.
The little line through the breakpoint symbol did not appear until
I went to the page for the first time.
Hope this experiance might help sombody.
regards,
Gerard.
Riyad KallaMemberGerard,
I think the step you added about removing the already compiled JSPs is very important, thank you for adding your thoughts to this thread.
whatonhellMemberAnyone knows what kind of configuration info I should add to my web.xml if I am using SunOne not weblogic. So far, I guess this may help to solve remote debug jsp issue.
-
AuthorPosts