By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,002 Members | 2,137 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,002 IT Pros & Developers. It's quick & easy.

Where's the logon password in Apache?

P: n/a
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\Apache\Apache>apache -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.infosystems.www.servers.misc
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.jserv.JServServletManager
C:\orant9i\Apache\Apache>JDB org.apache.jserv.JServServletManager
Initializing jdb ...
run run org.apache.jserv.JServServletManager
Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable VM Started:
Exception occurred: java.lang.ClassNotFoundException
(uncaught)"thread=main", java.net.URLClassLoader$1.run(), line=199 bci=72

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

Thanks,
Peter.

"Peter Chatterton" <pe***@chatterton.name> wrote in message
news:X8*******************@news20.bellglobal.com.. . 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\Apache\Apache>apache -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.infosystems.www.servers.misc

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.