facebook

Can’t find JSP source files in Orion [Closed]

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

    osle
    Member

    Hi.
    Have read most (all?) of the support posts regarding Orion and debugging and I haven´t seen this problem described anywhere, which leads me to believe I am doing something stupid…

    Anyway, I am using Eclipse 2.1.1, MyEclipse 2.6.2 (trial) version and Orion 2.0.2 and I am _desperately_ trying to get remote debugging to work. Trust me on this, I am upgradiing my membership as soon as I solve it (promise… ;).

    Everything seems to be fine, I start Orion from MyEclipse, I point my browser (Opera 7) to the page I need to debug, MyEclipse Debug perspective comes up, but then I get an error message saying that MyEclipse can´t find the source file for the JSP (the JSP is named company.jsp):
    “Source not found for __jspPage4_company_jsp._jspService(HttpServletRequest, HttpServletResponse) line: 32”

    I have added development=true to my orion-web.xml as specified in the Orion documentation and I can see the source files on my hard drive in the persistence folder, but the source file is named company.jsp.java, not __jspPage4_company_jsp...

    What am I doing wrong? I suspect it is something rather silly…

    Thanks in advance.
    Regards,
    Oskar

    #199352 Reply

    Scott Anderson
    Participant

    Oskar,

    Your problem is actually rather simple. Orion 2.0.2 doesn’t support JSP debugging as specified in the JSR-045 specification which is only required with JSP 2.0 specification compliance. As a result, it doesn’t provide MyEclipse with the information needed to do a proper lookup of the breakpoint locations or source locations so source level JSP debugging is not implemented for it. The current list of servers that support the spec are Tomcat 5, Jetty 5, and Bejy Tiger. In addition we also support source level debugging on Weblogic 7 & 8. Any application server that uses one of these web servers in a bundled configuration should also work, although I don’t know of any that are available “off-the-shelf” like this since both Tomcat 5 and Jetty 5 are still in the late development stages.

    If your application is a simple web application, rather than an EJB application, I’d suggest trying it out on Tomcat 5 or Jetty 5 until you get it debugged.

    Sorry for the confusion.

    –Scott
    MyEclipse Support

    #199386 Reply

    osle
    Member

    Hi Scott.
    Thanks for the swift answer, even though it wasn´t the one I had hoped for. I guess it´s time to start bugging the Orion developers about JSR-045 then since it is the application server I like best.

    I will try it on Tomcat 5 though.

    Thanks for your help!
    Regards,
    Oskar

    #199389 Reply

    Scott Anderson
    Participant

    Oskar,

    If you’re going to be pressuring the Orion developers, could you also ask them to support exploded deployment in the auto-deploy directory? It seems like this only works if you modify their server configuration file. That, plus JSR-045 support, would be a big help. You might also point out that if they’d like to jumpstart their JSR-045 support that they can have a peak at the Tomcat 5 CVS repository. 😉

    –Scott
    MyEclipse Support

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Can’t find JSP source files in Orion [Closed]

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