facebook

Debugging on JRun4 Applications server [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #229199 Reply

    ritacarp
    Member

    I am also new to myeclipse, so please bear with me.

    I am writing a simple jsp, and wanted to try debugging.

    However …

    I saw in release notes somewhere that debugging is not supported for the JRun application server. So I tried the tried-and-true method of System.out.println and System.err.println.

    I got no console output.

    But when I wrote a simple java class, I DID get console output using System.out.println.

    So I was hoping that my output would possibly be going to a log file somewhere.

    Some background info, which I believe is unrelated to the problem ..
    I actually have JRun4 installed as part of a ColdFusion MX7 installation. They are tightly integrated. I have multiple server instances running, most of which are ColdFusion server instances. I get errors when I try to start and stop the JRun4 server from myeclipse, but I think that’s because I’m also trying to start and stop the other instances of the server.

    So how do I debug a jsp file running under a JRun4 server?

    Thanks in advance.

    #229204 Reply

    Scott Anderson
    Participant

    >Some background info, which I believe is unrelated to the problem ..

    Actually, that seems very related. It’s likely that your ColdFusion setup is configuring logging or starting the servers using a custom configuration. The MyEclipse server connectors are designed to work with servers in a stand-alone fashion, not in a cusomized configuration used by another development environment. Unfortunately, the configuration you have has never been tested, so it’s impossible for us to say what the issue is or where your logging is going. If you want to continue to use the JRun4 that’s part of your ColdFusion installation, you might have better luck using our Remote Debugging facility that is documented here:
    http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/remotedebugging/index.html

    By the way, the reason we don’t support JSP debugging directly in JRun is that the server doesn’t support JSR-045, so there’s little we can do other than provide static validation and help with building the pages. If you could use another server, like Tomcat 5, to build your pages you’ll find much better support.

    Sorry I can’t be of more help on this one. Any other ColdFusion users out there?

    #229210 Reply

    ritacarp
    Member

    Thanks for the quick reply. I was having problems because of the tight integration of ColdFusion and JRun4, but I didn’t think this was one of them. I was using JRun4 because I had it, but I can use another server.

    Thanks again.

    #229217 Reply

    Scott Anderson
    Participant

    I can use another server.

    That’s great to hear. Tomcat won’t let you down. 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Debugging on JRun4 Applications server [Closed]

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