Where's the logon password in Apache?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter Chatterton

    Where's the logon password in Apache?

    I want to use jdb for debugging a servlet.

    I'm using Apache/JServ with jdk 1.4 (via Textpad on win2K SP 3).

    The 'gospel' I'm using is:
    'Start the server manually and record the password for remote debugging
    (this is displayed on the console).'
    'Start the Java debugger:'
    'jdb -host your_host -password the_password'
    'You should be able to debug your Java classes now using the jdb
    command.'


    My problem is that I can't find the password from Apache.
    I normally start/restart apache as a windows Service.
    If I start it from DOS I get:
    'C:\orant9i\Apa che\Apache>apac he -k start'
    'Oracle HTTP Server Powered by Apache/1.3.12 (Win32) ApacheJServ/1.1
    mod_ssl/2.6.4 OpenSSL/0.9.5a mod_perl/1.24 running...'


    I've searched the log, conf & property files but can't find any password.
    I've also searched the Apache website for 'jdb' without luck.
    I've printed out (and read!) the 'Using Apache with MS Windows' manual.


    I did a Google:
    --Someone suggested starting Apache using using the -X flag, but I don't
    seem to have this option.
    --Someone else suggested changing jvm12.conf, but I don't have one.

    Thanks,
    Peter.

    Posted to comp.lang.java and
    comp.infosystem s.www.servers.misc


  • Peter Chatterton

    #2
    Update

    I tried the following, just-in-case I don't really need a password,
    but it doesn't tell me a lot, and I would appreciate some help:

    JDB -sourcepath E:\javaPackages org.apache.jser v.JServServletM anager
    C:\orant9i\Apac he\Apache>JDB org.apache.jser v.JServServletM anager
    Initializing jdb ...[color=blue]
    > run[/color]
    run org.apache.jser v.JServServletM anager
    Set uncaught java.lang.Throw able
    Set deferred uncaught java.lang.Throw able[color=blue]
    >[/color]
    VM Started:
    Exception occurred: java.lang.Class NotFoundExcepti on
    (uncaught)"thre ad=main", java.net.URLCla ssLoader$1.run( ), line=199 bci=72

    main[1] list
    Source file not found: URLClassLoader. java
    main[1]

    Thanks,
    Peter.

    "Peter Chatterton" <peter@chattert on.name> wrote in message
    news:X8HBb.2050 $aF2.269888@new s20.bellglobal. com...[color=blue]
    > I want to use jdb for debugging a servlet.
    >
    > I'm using Apache/JServ with jdk 1.4 (via Textpad on win2K SP 3).
    >
    > The 'gospel' I'm using is:
    > 'Start the server manually and record the password for remote[/color]
    debugging[color=blue]
    > (this is displayed on the console).'
    > 'Start the Java debugger:'
    > 'jdb -host your_host -password the_password'
    > 'You should be able to debug your Java classes now using the jdb
    > command.'
    >
    >
    > My problem is that I can't find the password from Apache.
    > I normally start/restart apache as a windows Service.
    > If I start it from DOS I get:
    > 'C:\orant9i\Apa che\Apache>apac he -k start'
    > 'Oracle HTTP Server Powered by Apache/1.3.12 (Win32) ApacheJServ/1.1
    > mod_ssl/2.6.4 OpenSSL/0.9.5a mod_perl/1.24 running...'
    >
    >
    > I've searched the log, conf & property files but can't find any password.
    > I've also searched the Apache website for 'jdb' without luck.
    > I've printed out (and read!) the 'Using Apache with MS Windows' manual.
    >
    >
    > I did a Google:
    > --Someone suggested starting Apache using using the -X flag, but I don't
    > seem to have this option.
    > --Someone else suggested changing jvm12.conf, but I don't have one.
    >
    > Thanks,
    > Peter.
    >
    > Posted to comp.lang.java and
    > comp.infosystem s.www.servers.misc
    >
    >[/color]


    Comment

    Working...