facebook

jsp debugging…

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #200198 Reply

    SeJo
    Member

    hi all,

    I made a jsp from scratch with the default template and tried to debug it… works perfect…

    now my existing jsp files i can’t debug them… is there anything that must be in the jsp so that the debugging would work?
    (I hope not, have about 200 jsp’s to change then :()

    that is the only thing that still won’t work… for the rest myEcplise rocks (as i allready said)…

    greetings

    ps here are the specs:

    os: WIN2K
    eclipse: 3M4
    MyEclipse: 3.6.4
    Completely fresh install!
    external plugins: MyEcplise, vssplugin
    jdk: 1.4.1_05 (for system and webserver)

    webserver: apache 5
    .log:

    !ENTRY XMLBuilderPlugin 4 0 nov 20, 2003 08:41:32.771
    !MESSAGE Connection timed out: connect
    !STACK 0
    java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:434)
        at java.net.Socket.connect(Socket.java:384)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:386)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:602)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:303)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:264)
        at sun.net.www.http.HttpClient.New(HttpClient.java:336)
        at sun.net.www.http.HttpClient.New(HttpClient.java:317)
        at sun.net.www.http.HttpClient.New(HttpClient.java:312)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:481)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:472)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:574)
        at java.net.URL.openStream(URL.java:960)
        at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:748)
        at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:708)
        at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:258)
        at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:833)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
        at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:525)
        at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:581)
        at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1158)
        at com.genuitec.eclipse.j2eedt.core.builder.XMLResourceParser.parse(Unknown Source)
        at com.genuitec.eclipse.j2eedt.core.builder.XMLResourceParser.parse(Unknown Source)
        at com.genuitec.eclipse.j2eedt.core.builder.XMLValidationChecker.checkFile(Unknown Source)
        at com.genuitec.eclipse.j2eedt.core.builder.DeploymentDescriptorValidator.�(Unknown Source)
        at com.genuitec.eclipse.j2eedt.core.builder.DeploymentDescriptorValidator.�(Unknown Source)
        at com.genuitec.eclipse.j2eedt.core.builder.DeploymentDescriptorValidator.�(Unknown Source)
        at com.genuitec.eclipse.j2eedt.core.builder.DeploymentDescriptorValidator.build(Unknown Source)
        at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:475)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1018)
        at org.eclipse.core.runtime.Platform.run(Platform.java:461)
        at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:130)
        at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
        at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:156)
        at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:182)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1018)
        at org.eclipse.core.runtime.Platform.run(Platform.java:461)
        at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:185)
        at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:219)
        at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:247)
        at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:172)
        at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:174)
        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    !ENTRY org.vssplugin 1 0 nov 20, 2003 08:52:43.786
    !MESSAGE Using jawin library D:/apps/eclipse/plugins/org.vssplugin_1.5.0/lib/jawin.dll
    
    #200200 Reply

    Scott Anderson
    Participant

    SeJo,

    The stack you posted is simply the error that occurs when the XML deployment descriptor validator tries to download a DTD for one of your descriptors and either can’t connect to the remote server. This is most likely caused because you’re not connected to the internet while developing. We’ll be addressing this a bit further in the next release, but for the time being you might want to turn off XML validation under the XML editor’s preference page. This, however, is unrelated to debugging JSP’s.

    now my existing jsp files i can’t debug them… is there anything that must be in the jsp so that the debugging would work?

    There aren’t any changes you need to make to your JSP’s. But without a description of exactly what you’re experiencing I can’t suggest what you should do next. As a guess, I’d suggest you read this thread:
    https://www.genuitec.com/forums/topic/debugging-jsp-with-import-statements/&highlight=inlined

    –Scott
    MyEclipse Support

    #200209 Reply

    SeJo
    Member

    Thank you,

    indeed, i can’t connect to the internet like that, we have a authentication on the proxy and most apps don’t support that…

    about the debugging, when i set a breakpoint on a simpel page (that is called from struts) and with taglibs etc he won’t stop. The debugger doesn’t stop i mean.

    I use tomcat 5 and launch it from the myEclipseIde launcher… he does show the pages and i can work with the site…

    but the only way to get the debugger to stop is apparently when i lauch a page in the adressbalk with the pagename… weird, and i’m sure that ain’t the problem…

    anyway, i’ll be looking further and checking what does it… we”l see anyway thank you for your help!…

    greetings,

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: jsp debugging…

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