I am trying to debug remotely from a Win98 box to a Linux box. The
machines
are connected through a local LAN using TCP/IP. (The local LAN is not
connected to the Internet, and we've numbered the domain 10.0.0.0.) The
application I'm trying to debug is a servlet running on the Linux box.
We're
running apache V1.3.9 with the jserv (V1.0) module, and I have modified
the
jserv.properties file on the Linux box to contain the following
parameters
for starting the java process.
---
# The Java Virtual Machine interpreter
wrapper.bin=/usr/local/jdk/bin/java
# Arguments passed to java interpreter (optional)
wrapper.bin.parameters=-Xdebug
wrapper.bin.parameters=-Xnoagent
#wrapper.bin.parameters=-Djava.compiler=NONE
wrapper.bin.parameters=-Xrunjdwp:transport=dt_socket,address=2112,server=n,suspend=y
# Apache JServ entry point class
wrapper.class=org.apache.jserv.JServ
---
(I tried starting httpd with and without the -Djava.compiler line
above.)
When I start httpd, I get the following messages in the error_log file.
----
[Fri Jun 9 11:35:29 2000] [notice] Apache/1.3.9 (Unix)
Red-Hat-Secure/3.1 ApacheJServ/1.0 configured -- resuming normal
operations
[Fri Jun 9 11:35:29 2000] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
Error [111] in connect() call!
err:: Connection refused
Socket transport failed to init.
Transport dt_socket failed to initialize, rc = -1.
FATAL ERROR in native method: No transports initialized
SIGABRT 6* abort (generated by abort(3) routine, also SIGIOT)
si_signo [6]: SIGABRT 6* abort (generated by abort(3) routine,
also SIGIOT)
si_errno [0]: Success
si_code [0]: SI_USER [pid: 0, uid: 0]
stackpointer=0xbffff874
Full thread dump Classic VM (1.2.2-L, green threads):
"Finalizer" (TID:0x40ebf320, sys_thread_t:0x8107d68, state:CW)
prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
at
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:170)
"Reference Handler" (TID:0x40ebf3b0, sys_thread_t:0x8102ff8,
state:CW) prio=10
(cut for brevity)
---
I also noticed that it doesn't appear that the listener on the Win98 box
actually made connection to the socker. The Process window contains the
following messages (which also appear in the current state information):
---
*** Debugger Output for Process 10.0.0.1:2112(5) ***
Listening at socket address: 10.0.0.1:2112
Illegal connector arguments for connector 'com.sun.jdi.SocketListen
(defaults: port=
Listening for process at socket address: 10.0.0.1:2112.
---
Thanks for any help.
Steve
Emacs : GNU Emacs 20.3.1 (i386-*-nt4.10)
of Wed Aug 26 1998 on ESME
Package: JDE version 2.1.6
current state:
==============
(setq
jde-gen-session-bean-template '("(jde-wiz-insert-imports-into-buffer
(list \"javax.ejb.*\"\n\"java.rmi.RemoteException\"))"
"(jde-wiz-update-implements-clause \"SessionBean\")" "'> \"public void
ejbActivate() throws RemoteException {\"'n> \"}\"'n\n'n" "'> \"public
void ejbPassivate() throws RemoteException {\"'n> \"}\"'n\n'n" "'>
\"public void ejbRemove() throws RemoteException {\"'n> \"}\"'n 'n" "'>
\"public void setSessionContext(SessionContext ctx)
throws\nRemoteException {\"" "'n> \"}\"'n 'n" "'> \"public void
unsetSessionContext() throws RemoteException {\"'n>\n\"}\"'n 'n")
jde-run-classic-mode-vm nil
jde-gen-code-templates '(("Get Set Pair" . jde-gen-get-set)
("toString method" . jde-gen-to-string-method)
("Action Listener" . jde-gen-action-listener)
("Window Listener" . jde-gen-window-listener)
("Mouse Listener" . jde-gen-mouse-listener)
("Mouse Motion Listener" .
jde-gen-mouse-motion-listener)
("Inner Class" . jde-gen-inner-class)
("println" . jde-gen-println)
("property change support" .
jde-gen-property-change-support)
)
jde-gen-cflow-else '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"else\")"
"'(l > \"else \"" "\"{\" > n> r n"
"\"} // end of else\" > n>)" ")")
jde-make-args ""
jde-mode-abbreviations '(("ab" . "abstract") ("bo" . "boolean")
("br" . "break") ("by" . "byte") ("byv" .
"byvalue")
("cas" . "cast") ("ca" . "catch") ("ch" .
"char")
("cl" . "class") ("co" . "const")
("con" . "continue") ("de" . "default")
("dou" . "double") ("el" . "else")
("ex" . "extends") ("fa" . "false") ("fi" .
"final")
("fin" . "finally") ("fl" . "float") ("fo" .
"for")
("fu" . "future") ("ge" . "generic") ("go" .
"goto")
("impl" . "implements") ("impo" . "import")
("ins" . "instanceof") ("in" . "int")
("inte" . "interface") ("lo" . "long")
("na" . "native") ("ne" . "new") ("nu" .
"null")
("pa" . "package") ("pri" . "private")
("pro" . "protected") ("pu" . "public")
("re" . "return") ("sh" . "short") ("st" .
"static")
("su" . "super") ("sw" . "switch")
("sy" . "synchronized") ("th" . "this")
("thr" . "throw") ("throw" . "throws")
("tra" . "transient") ("tr" . "true")
("vo" . "void") ("vol" . "volatile")
("wh" . "while"))
jde-compile-option-verbose nil
jde-db-option-heap-size '((1 . "megabytes") (16 . "megabytes"))
jde-bug-debugger-host-address "SALEM"
jde-bug-breakpoint-marker-colors '("red" . "yellow")
jde-gen-buffer-boilerplate nil
jde-bug-raise-frame-p t
jde-db-option-application-args nil
jde-bug-vm-includes-jpda-p nil
jde-gen-jfc-app-buffer-template '("(funcall
jde-gen-boilerplate-function) 'n"
"\"import java.awt.Dimension;\" 'n"
"\"import java.awt.Graphics;\" 'n"
"\"import java.awt.Graphics2D;\" 'n"
"\"import java.awt.Color;\" 'n"
"\"import java.awt.geom.Ellipse2D;\"
'n"
"\"import
java.awt.event.WindowAdapter;\" 'n" "\"import
java.awt.event.WindowEvent;\" 'n" "\"import javax.swing.JFrame;\" 'n"
"\"import javax.swing.JPanel;\" 'n" "\"import javax.swing.JScrollPane;\"
'n" "\"import javax.swing.JMenuBar;\" 'n" "\"import javax.swing.JMenu;\"
'n" "\"import java.awt.event.ActionEvent;\" 'n" "\"import
javax.swing.AbstractAction;\" 'n 'n" "\"/**\" 'n" "\" * \""
"(file-name-nondirectory buffer-file-name) 'n" "\" *\" 'n" "\" *\" 'n"
"\" * Created: \" (current-time-string) 'n" "\" *\" 'n" "\" * @author \"
(user-full-name) 'n" "\" * @version\" 'n" "\" */\" 'n>" "'n>" "\"public
class \"" "(file-name-sans-extension (file-name-nondirectory
buffer-file-name))" "\" extends JFrame {\" 'n> 'n>" "\"class Canvas
extends JPanel {\" 'n> 'n>" "\"public Canvas () {\" 'n>"
"\"setSize(getPreferredSize());\" 'n>"
"\"Canvas.this.setBackground(Color.white);\" 'n>" "\"}\" 'n> 'n>"
"\"public Dimension getPreferredSize() {\" 'n>" "\"return new
Dimension(600, 600);\" 'n>" "\"}\" 'n> 'n>" "\"public void
paintComponent(Graphics g) {\" 'n>" "\"super.paintComponent(g);\" 'n>"
"\"Graphics2D g2d = (Graphics2D) g;\" 'n>" "\"Ellipse2D circle = new
Ellipse2D.Double(0d, 0d, 100d, 100d);\" 'n>"
"\"g2d.setColor(Color.red);\" 'n>" "\"g2d.translate(10, 10);\" 'n>"
"\"g2d.draw(circle);\" 'n>" "\"g2d.fill(circle);\" 'n>" "\"}\" 'n> 'n>"
"\"}\" 'n> 'n>" "\"public \"" "(file-name-sans-extension
(file-name-nondirectory buffer-file-name))" "\"() {\" 'n>"
"\"super(\\\"\" (P \"Enter app title: \") \"\\\");\" 'n>"
"\"setSize(300, 300);\" 'n>" "\"addWindowListener(new WindowAdapter()
{\" 'n>" "\"public void windowClosing(WindowEvent e) {System.exit(0);}\"
'n>" "\"public void windowOpened(WindowEvent e) {}});\" 'n>"
"\"setJMenuBar(createMenu());\" 'n>" "\"getContentPane().add(new
JScrollPane(new Canvas()));\" 'n>" "\"}\" 'n>" "'n>" "\"public static
void main(String[] args) {\" 'n>" "'n>" "(file-name-sans-extension
(file-name-nondirectory buffer-file-name))" "\" f = new \""
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))"
"\"();\" 'n>" "\"f.show();\" 'n>" "'p 'n>" "\"}\" 'n> 'n>" "\"protected
JMenuBar createMenu() {\" 'n>" "\"JMenuBar mb = new JMenuBar();\" 'n>"
"\"JMenu menu = new JMenu(\\\"File\\\");\" 'n>" "\"menu.add(new
AbstractAction(\\\"Exit\\\") {\" 'n>" "\"public void
actionPerformed(ActionEvent e) {\" 'n>" "\"System.exit(0);\" 'n>" "\"}\"
'n>" "\"});\" 'n>" "\"mb.add(menu);\" 'n>" "\"return mb;\" 'n>" "\"}\"
'n> 'n>" "\"} // \"" "(file-name-sans-extension (file-name-nondirectory
buffer-file-name))" "'n>")
jde-bug-key-bindings '(("[? ? ?]" . jde-bug-step-over)
("[? ? ?]" . jde-bug-step-into)
("[? ? ?]" . jde-bug-step-out)
("[? ? ?]" . jde-bug-continue)
("[? ? ?]" . jde-bug-set-breakpoint))
jde-compile-option-nowarn nil
jde-run-java-vm-w "javaw"
jde-compile-option-encoding nil
jde-run-option-java-profile '(nil . "./java.prof")
jde-bug-jpda-directory "k:/jpda1_0"
jde-read-compile-args nil
jde-run-java-vm "java"
jde-db-option-verbose '(nil nil nil)
jde-db-read-app-args nil
jde-run-option-heap-profile '(nil "./java.hprof" 5 20 "Allocation
objects")
jde-gen-println '("'&"
"\"System.out.println(\" (P \"Print out: \") \");\"
'n>")
jde-enable-abbrev-mode nil
jde-gen-cflow-main '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"main\")"
"'(l > \"public static void main (String[] args)
\""
"\"{\" > n> r n" "\"} // end of main ()\" > n>)"
")")
jde-global-classpath nil
jde-gen-window-listener-template '("'& (P \"Window name: \")"
"\".addWindowListener(new
WindowAdapter() {\" 'n>" "\"public void windowActivated(WindowEvent e)
{}\" 'n>" "\"public void windowClosed(WindowEvent e) {}\" 'n>" "\"public
void windowClosing(WindowEvent e) {System.exit(0);}\" 'n>" "\"public
void windowDeactivated(WindowEvent e) {}\" 'n>" "\"public void
windowDeiconified(WindowEvent e) {}\" 'n>" "\"public void
windowIconified(WindowEvent e) {}\" 'n>" "\"public void
windowOpened(WindowEvent e) {}});\" 'n>")
jde-run-working-directory ""
jde-gen-property-change-support '("'&"
"\"protected PropertyChangeSupport
pcs = new PropertyChangeSupport(this);\" 'n>" "\"/**\" 'n>\"* Adds a
PropertyChangeListener to the listener list.\" 'n>" "\"* The listener is
registered for all properties.\" 'n>" "\"*\" 'n> \"* @param listener The
PropertyChangeListener to be added\" 'n> \"*/\" 'n>" "\"public void
addPropertyChangeListener(PropertyChangeListener listener) {\" 'n>"
"\"pcs.addPropertyChangeListener(listener);\" 'n> \"}\" 'n> 'n>"
"\"/**\" 'n>\"* Removes a PropertyChangeListener from the listener
list.\" 'n>" "\"* This removes a PropertyChangeListener that was
registered for all properties.\" 'n>" "\"*\" 'n> \"* @param listener The
PropertyChangeListener to be removed\" 'n> \"*/\" 'n>" "\"public void
removePropertyChangeListener(PropertyChangeListener listener) {\" 'n>"
"\"pcs.removePropertyChangeListener(listener);\" 'n> \"}\" 'n> 'n>"
"\"/**\" 'n>\"* Adds a PropertyChangeListener for a specific property.\"
'n>" "\"* The listener will be invoked only when a call on
firePropertyChange\" 'n>" "\"* names that specific property.\" 'n>"
"\"*\" 'n> \"* @param propertyName The name of the property to listen
on\" 'n>" "\"* @param listener The PropertyChangeListener to be added\"
'n> \"*/\" 'n>" "\"public void addPropertyChangeListener(String
propertyName,\" 'n>" "\"PropertyChangeListener listener) {\" 'n>"
"\"pcs.addPropertyChangeListener(propertyName, listener);\" 'n> \"}\"
'n> 'n>" "\"/**\" 'n>\"* Removes a PropertyChangeListener for a specific
property.\" 'n>" "\"*\" 'n> \"* @param propertyName The name of the
property that was listened on\" 'n>" "\"* @param listener The
PropertyChangeListener to be removed\" 'n> \"*/\" 'n>" "\"public void
removePropertyChangeListener(String propertyName,\" 'n>"
"\"PropertyChangeListener listener) {\" 'n>"
"\"pcs.removePropertyChangeListener(propertyName, listener);\" 'n> \"}\"
'n> 'n>" "\"/**\" 'n>\"* Reports a bound property update to any
registered listeners. \" 'n>" "\"* No event is fired if old and new are
equal and non-null.\" 'n>" "\"*\" 'n> \"* @param propertyName The
programmatic name of the property that was changed\" 'n>" "\"* @param
oldValue The old value of the property\" 'n>" "\"* @param newValue The
new value of the property.\" 'n> \"*/\" 'n>" "\"public void
firePropertyChange(String propertyName, Object oldValue, Object
newValue) {\" 'n>" "\"pcs.firePropertyChange(propertyName, oldValue,
newValue);\" 'n> \"}\" 'n> 'n>" "\"/**\" 'n>\"* Reports a bound property
update to any registered listeners. \" 'n>" "\"* No event is fired if
old and new are equal and non-null.\" 'n>" "\"* This is merely a
convenience wrapper around the more general\" 'n>" "\"*
firePropertyChange method that takes Object values.\" 'n>" "\"* No event
is fired if old and new are equal and non-null.\" 'n>" "\"*\" 'n> \"*
@param propertyName The programmatic name of the property that was
changed\" 'n>" "\"* @param oldValue The old value of the property\" 'n>"
"\"* @param newValue The new value of the property.\" 'n> \"*/\" 'n>"
"\"public void firePropertyChange(String propertyName, int oldValue, int
newValue) {\" 'n>" "\"pcs.firePropertyChange(propertyName, oldValue,
newValue);\" 'n> \"}\" 'n> 'n>" "\"/**\" 'n>\"* Reports a bound property
update to any registered listeners. \" 'n>" "\"* No event is fired if
old and new are equal and non-null.\" 'n>" "\"* This is merely a
convenience wrapper around the more general\" 'n>" "\"*
firePropertyChange method that takes Object values.\" 'n>" "\"* No event
is fired if old and new are equal and non-null.\" 'n>" "\"*\" 'n> \"*
@param propertyName The programmatic name of the property that was
changed\" 'n>" "\"* @param oldValue The old value of the property\" 'n>"
"\"* @param newValue The new value of the property.\" 'n> \"*/\" 'n>"
"\"public void firePropertyChange(String propertyName, boolean oldValue,
boolean newValue) {\" 'n>" "\"pcs.firePropertyChange(propertyName,
oldValue, newValue);\" 'n> \"}\" 'n> 'n>" "\"/**\" 'n>\"* Fires an
existing PropertyChangeEvent to any registered listeners.\" 'n>" "\"* No
event is fired if the given event's old and new values are equal and
non-null. \" 'n>" "\"*\" 'n> \"* @param evt The PropertyChangeEvent
object.\" 'n>\"*/\" 'n>" "\"public void
firePropertyChange(PropertyChangeEvent evt) {\" 'n>"
"\"pcs.firePropertyChange(evt);\" 'n> \"}\" 'n> 'n>" "\"/**\" 'n>\"*
Checks if there are any listeners for a specific property.\" 'n>" "\"*\"
'n> \"* @param evt The PropertyChangeEvent object.\" 'n>" "\"* @return
<code>true</code>if there are one or more listeners for the given
property\" 'n>" "\"*/\" 'n>" "\"public boolean hasListeners(String
propertyName) {\" 'n>" "\"return pcs.hasListeners(propertyName);\" 'n>
\"}\" 'n> 'n>")
jde-db-marker-regexp "^Breakpoint hit: .*(\\([^$]*\\).*:\\([0-9]*\\))"
jde-gen-mouse-motion-listener-template '("'& (P \"Component name: \")"
"\".addMouseMotionListener(new
MouseMotionAdapter() {\" 'n>" "\"public void mouseDragged(MouseEvent e)
{}\" 'n>" "\"public void mouseMoved(MouseEvent e) {}});\" 'n>")
jde-key-bindings '(("" . jde-compile) ("" . jde-run)
("" . jde-db) ("" . jde-build)
("" . jde-run-menu-run-applet)
("" . jde-db-menu-debug-applet) ("\n" . bsh)
("" . speedbar-frame-mode)
("" . jde-wiz-implement-interface)
("" . jde-wiz-import)
("" . jde-browse-jdk-doc)
("" . jde-save-project) ("\f" .
jde-gen-println))
jde-gen-cflow-for-i '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"fori\")"
"'(l > \"for (int \" (p \"variable: \" var) \" =
0; \""
"(s var)"
"\" < \"(p \"upper bound: \" ub)\"; \" (s var)
\"++) \"" "\"{\" > n> r n" "\"} // end of for (int \" (s var) \" = 0;
\"" "(s var) \" < \" (s ub) \"; \" (s var) \"++)\" > n>)" ")")
jde-run-option-classpath nil
jde-compile-option-verbose-path nil
jde-db-debugger '("JDEbug" "JDEbug" . "Executable")
jde-jdk-doc-url
"http://www.javasoft.com/products/jdk/1.1/docs/index.html"
jde-compiler "javac"
jde-gen-class-buffer-template '("(funcall jde-gen-boilerplate-function)
'n"
"\"/**\" 'n" "\" * \""
"(file-name-nondirectory
buffer-file-name) 'n" "\" *\" 'n" "\" *\" 'n" "\" * Created: \"
(current-time-string) 'n" "\" *\" 'n" "\" * @author \" (user-full-name)
'n" "\" * @version\" 'n" "\" */\" 'n>" "'n>" "\"public class \""
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))"
"\" \" (jde-gen-get-super-class) \" {\" 'n> 'n>" "\"public \""
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))"
"\"() {\" 'n>" "'p 'n>" "\"}\" 'n>" "'n>" "\"} // \""
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))"
"'n>")
jde-appletviewer-option-vm-args nil
jde-run-executable-args nil
jde-db-option-garbage-collection '(t t)
jde-use-font-lock t
jde-compile-option-bootclasspath nil
jde-make-program "make"
jde-run-option-vm-args nil
jde-compile-option-directory "e:"
jde-wiz-insert-excluded-packages-regexp "bsh.*"
jde-gen-console-buffer-template '("(funcall
jde-gen-boilerplate-function) 'n"
"\"/**\" 'n" "\" * \""
"(file-name-nondirectory
buffer-file-name) 'n" "\" *\" 'n" "\" *\" 'n" "\" * Created: \"
(current-time-string) 'n" "\" *\" 'n" "\" * @author \" (user-full-name)
'n" "\" * @version\" 'n" "\" */\" 'n>" "'n>" "\"public class \""
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))"
"\" {\" 'n> 'n>" "\"public \"" "(file-name-sans-extension
(file-name-nondirectory buffer-file-name))" "\"() {\" 'n>" "'n>" "\"}\"
'n>" "'n>" "\"public static void main(String[] args) {\" 'n>" "'p 'n>"
"\"}\" 'n> 'n>" "\"} // \"" "(file-name-sans-extension
(file-name-nondirectory buffer-file-name))" "'n>")
jde-read-make-args nil
jde-gen-mouse-listener-template '("'& (P \"Component name: \")"
"\".addMouseListener(new
MouseAdapter() {\" 'n>" "\"public void mouseClicked(MouseEvent e) {}\"
'n>" "\"public void mouseEntered(MouseEvent e) {}\" 'n>" "\"public void
mouseExited(MouseEvent e) {}\" 'n>" "\"public void
mousePressed(MouseEvent e) {}\" 'n>" "\"public void
mouseReleased(MouseEvent e) {}});\" 'n>")
jde-run-option-application-args nil
jde-bug-vm-executable '("javaw")
jde-db-set-initial-breakpoint t
jde-bug-debugger-command-timeout 10
jde-db-option-stack-size '((128 . "kilobytes") (400 . "kilobytes"))
jde-db-option-properties nil
jde-db-source-directories '("g:/myappls/luluworld/catalog/")
jde-run-read-app-args nil
jde-gen-to-string-method-template '("'&" "\"public String toString()
{\" 'n>"
"\"return super.toString();\" 'n>"
"\"}\" 'n>")
jde-quote-classpath t
jde-bug-window-message nil
jde-build-use-make nil
jde-compile-option-classpath nil
jde-bug-jdk-directory "k:/jdk1.2.2"
jde-gen-boilerplate-function 'jde-gen-create-buffer-boilerplate
jde-gen-entity-bean-template '("(jde-wiz-insert-imports-into-buffer
(list \"javax.ejb.*\"\n\"java.rmi.RemoteException\"))"
"(jde-wiz-update-implements-clause \"EntityBean\")" "'> \"public void
ejbActivate() throws RemoteException {\"'n> \"}\"'n\n'n" "'> \"public
void ejbPassivate() throws RemoteException {\"'n> \"}\"'n\n'n" "'>
\"public void ejbLoad() throws RemoteException {\"'n>\"}\"'n 'n" "'>
\"public void ejbStore() throws RemoteException {\"'n>\"}\"'n 'n" "'>
\"public void ejbRemove() throws RemoteException {\"'n>\"}\"'n 'n" "'>
\"public void setEntityContext(EntityContext ctx)
throws\nRemoteException {\"" "'n>\"}\"'n 'n" "'> \"public void
unsetEntityContext() throws RemoteException {\"'n>\n\"}\"'n> 'n")
jde-bug-server-shmem-name '(t . "JDEbug")
jde-db-startup-commands nil
jde-compile-option-deprecation nil
jde-gen-k&r t
jde-db-option-classpath nil
jde-gen-cflow-for '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"for\")"
"'(l > \"for (\" (p \"for-clause: \" clause) \")
\""
"\"{\" > n> r n"
"\"} // end of for (\" (s clause) \")\" > n>)" ")")
jde-run-mode-hook nil
jde-db-option-verify '(nil t)
jde-compile-option-extdirs nil
jde-gen-get-set-var-template '("'n>" "(P \"Variable type: \" type) \"
\""
"(P \"Variable name: \" name) \";\" 'n>
'n>"
"\"/**\" 'n>"
"\"* Get the value of \" (s name) \".\"
'n>"
"\"* @return Value of \" (s name) \".\"
'n>"
"\"*/\" 'n>"
"\"public \" (s type) \" get\"
(jde-gen-init-cap (jde-gen-lookup-named 'name))" "\"() {return \" (s
name) \";}\" 'n> 'n>" "\"/**\" 'n>" "\"* Set the value of \" (s name)
\".\" 'n>" "\"* @param v Value to assign to \" (s name) \".\" 'n>"
"\"*/\" 'n>" "\"public void set\" (jde-gen-init-cap
(jde-gen-lookup-named 'name))" "\"(\" (s type) \" v) {this.\" (s name)
\" = v;}\" 'n>")
jde-bug-saved-breakpoints nil
jde-compile-option-sourcepath nil
jde-gen-cflow-if '("(if (jde-parse-comment-or-quoted-p)" "'(l \"if\")"
"'(l > \"if (\" (p \"if-clause: \" clause) \") \""
"\"{\" > n> r n"
"\"} // end of if (\" (s clause) \")\" > n>)" ")")
jde-db-option-java-profile '(nil . "./java.prof")
jde-compile-option-depend-switch '("-Xdepend")
jde-run-applet-doc ""
jde-compile-option-vm-args nil
jde-run-option-garbage-collection '(t t)
jde-db-mode-hook nil
jde-db-option-heap-profile '(nil "./java.hprof" 5 20 "Allocation
objects")
jde-db-read-vm-args nil
jde-bug-debug nil
jde-gen-cflow-if-else '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"ife\")"
"'(l > \"if (\" (p \"if-clause: \" clause) \")
\""
"\"{\" > n> r n"
"\"} // end of if (\" (s clause) \")\" > n>"
"> \"else \"" "\"{\" > n> r n"
"\"} // end of if (\" (s clause) \")else\" >
n>)" ")")
jde-gen-cflow-while '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"while\")"
"'(l > \"while (\" (p \"while-clause: \" clause)
\") \"" "\"{\" > n> r n" "\"} // end of while (\" (s clause) \")\" >
n>)" ")")
jde-bug-server-socket '(t . "2112")
jde-appletviewer-option-encoding ""
jde-bug-breakpoint-cursor-colors '("cyan" . "brown")
jde-compile-option-target '("1.1")
jde-run-executable ""
jde-run-option-heap-size '((1 . "megabytes") (16 . "megabytes"))
jde-gen-cflow-switch '("(if (jde-parse-comment-or-quoted-p)"
"'(l \"switch\")"
"'(l > \"switch (\" (p \"switch-condition: \"
clause) \") \"" "\"{\" > n" "\"case \" (p \"first value: \") \":\" > n>
p n" "\"break;\" > n> p n" "\"default:\" > n> p n" "\"break;\" > n" "\"}
// end of switch (\" (s clause) \")\" > n>)" ")")
jde-db-option-vm-args nil
jde-run-application-class "test"
jde-run-option-verbose '(nil nil nil)
jde-project-file-name "prj.el"
jde-compile-option-debug '("selected" (t nil nil))
jde-bug-jre-home ""
jde-run-applet-viewer ""
jde-entering-java-buffer-hooks '(jde-reload-project-file)
jde-run-read-vm-args nil
jde-help-docsets nil
jde-gen-inner-class-template '("'& \"class \" (P \"Class name: \"
class)"
"(P \"Superclass: \" super t)"
"(let ((parent (jde-gen-lookup-named
'super)))" "(if (not (string= parent \"\"))" "(concat \" extends \"
parent))) \" {\" 'n>" "\"public \" (s class) \"() {\" 'n> \"}\" 'n>
\"}\" 'n>")
jde-run-option-verify '(nil t)
jde-compile-option-optimize t
jde-gen-cflow-case '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"case\")"
"'(l n \"case \" (p \"value: \") \":\" > n> p n"
"\"break;\" > n> p)" ")")
jde-enable-classes-index-menu t
jde-compile-option-depend nil
jde-gen-action-listener-template '("'& (P \"Component name: \")"
"\".addActionListener(new
ActionListener() {\" 'n>" "\"public void actionPerformed(ActionEvent e)
{\" 'n>" "\"}});\" 'n>")
jde-compile-option-command-line-args "*.java"
jde-gen-buffer-templates '(("Class" . jde-gen-class)
("Console" . jde-gen-console)
("Swing App" . jde-gen-jfc-app))
jde-project-context-switching-enabled-p t
jde-run-option-stack-size '((128 . "kilobytes") (400 . "kilobytes"))
jde-run-option-properties nil
)
The contents of the *JDEBug* buffer were
cd g:/MYAPPLS/test/
javaw -classpath
k:/emacs-20.3.1/site-lisp/jde-2.1.6/java/src;k:/emacs-20.3.1/site-lisp/jde-2.1.6/java/lib/jde.jar;k:/jpda1_0/lib/jpda.jar
jde.debugger.Main
(jde-dbo-init-debug-session)
JDE> -1 7 listen_socket 5 10.0.0.1:2112
(jde-dbo-command-result 7)
(jde-dbo-message 5 "Listening at socket address: 10.0.0.1:2112")
(jde-dbo-message
5 "Illegal connector arguments for connector 'com.sun.jdi.SocketListen
(defaults: port=")
End Insert *JDEbug* buffer
There was no *Backtrace* buffer
The contents of the *Messages* buffer were
Creating customization buttons...
Creating customization items...
Creating customization items 100%...done
Creating customization setup...
Creating customization buffer...done
Creating customization buffer...
Creating customization buttons...
Creating customization items...
Creating group...
Creating group members... 90%
Creating group magic...
Creating group state...
Creating group... done
Creating customization items 100%...done
Creating customization setup...
Creating customization buffer...done
Creating customization buffer...
Creating customization buttons...
Creating customization items...
Creating customization items 100%...done
Creating customization setup...
Creating customization buffer...done
Wrong type argument: stringp, nil
Creating customization buffer...
Creating customization buttons...
Creating customization items...
Creating customization items 0%...
Creating customization items 50%...
Creating customization items 100%...done
Creating customization setup...
Creating customization buffer...done
Creating customization buffer...
Creating customization buttons...
Creating customization items...
Creating group...
Creating group members... 93%
Creating group magic...
Creating group state...
Creating group... done
Creating customization items 100%...done
Creating customization setup...
Creating customization buffer...done
Debugger started successfully.
Minibuffer window is not active
Preparing problem report...
Loading sendmail...
Loading sendmail...done
Formatting bug report buffer...
Formatting bug report buffer...........................................
Mark set [2 times]
End Insert *Messages* buffer
Process environment:
HOME=c:/
TERM=cmd
EMACSDOC=K:/EMACS-20.3.1/etc
EMACSLOCKDIR=K:/EMACS-20.3.1/lock
EMACSPATH=K:/EMACS-20.3.1/bin
EMACSDATA=K:/EMACS-20.3.1/etc
SHELL=bash
EMACSLOADPATH=K:/EMACS-20.3.1/site-lisp;K:/EMACS-20.3.1/lisp
TMPDIR=C:\TEMP
EMACS_DIR=K:/EMACS-20.3.1
BLASTER=A220 I5 D1 H5 P330 T6
windir=C:\WIN95
CMDLINE=WIN
LLW_CLIENT_ROOT=e:\LuLuWorld\Clients
LLW_ROOT=e:\LuLuWorld
PATH=K:\JPDA1_0\BIN;K:\JSWDK-1.0.1\BIN;K:\JAVASOFT\JRE\1.2\BIN;K:\JDK1.2.2\BIN;C:\WIN95;C:\WIN95\COMMAND;C:\;C:\DOS;C:\MACH64;K:\PERL\BIN
PERL5LIB=k:\Perl\lib
PERL5_HOME=k:\Perl
CLASSPATH=e:\;k:\jdk1.2.2\lib\tools.jar;k:\JavaSoft\Jre\1.2\lib;k:\jswdk-1.0.1\lib\servlet.jar;k:\Postgresql\jdbc6.5-1.2.jar;k:\OROMatcher-1.0.7\com;k:\PerlTools-1.2.0a\PerlTools.jar;f:\NetDraw
JAVA_HOME=k:\jdk1.2.2
TEMP=C:\TEMP
MSINPUT=C:\MSINPUT
MIDI=SYNTH:1 MAP:E
SOUND=C:\VIBRA16
PROMPT=$P$G
COMSPEC=C:\COMMAND.COM
winbootdir=C:\WIN95
TMP=C:\WIN95\TEMP
The contents of the .emacs file was
(setq inhibit-startup-message t)
(setq auto-save-interval 5000)
(setq-default tab-width 1)
(setq max-lisp-eval-depth 1000)
(defun tab-hook-fn()
(setq tab-width 4)
(setq indent-tabs-mode nil)
)
(setq load-path
(nconc '("k:/emacs-20.3.1/site-lisp"
"k:/emacs-20.3.1/site-lisp/cc-mode-5.25"
"k:/emacs-20.3.1/site-lisp/custom-1.9962"
"k:/emacs-20.3.1/site-lisp/speedbar-0.11"
"k:/emacs-20.3.1/site-lisp/semantic-1.1"
"k:/emacs-20.3.1/site-lisp/jde-2.1.6/lisp"
)
load-path))
(load-file "k:/emacs-20.3.1/site-lisp/easymenu_old.elc")
(load-file "k:/emacs-20.3.1/site-lisp/html/html32-mode.el")
(require 'jde)
(put 'downcase-region 'disabled nil)
;; Sets the basic indentation for Java source files
;; to two spaces.
(defun my-jde-mode-hook ()
(setq c-basic-offset 4))
(add-hook 'jde-mode-hook 'my-jde-mode-hook)
;; Include the following only if you want to run
;; bash as your shell.
;; Setup Emacs to run bash as its primary shell.
(setq binary-process-input t)
(setq shell-file-name "bash")
(setq explicit-shell-file-name shell-file-name)
(setenv "SHELL" shell-file-name)
(setq explicit-sh-args '("-login" "-i"))
(setq w32-quote-process-args ?\") ;; Use Cygnus quoting rules.
;; Configure Emacs to use the default browser on your system
;; to display the JDE documentation.
(defvar shell-execute-helper "shelex.exe")
(defun shell-execute-url (url &optional new-window)
"Invoke the shell-execute-helper program to call ShellExecute and
launch
or re-direct a web browser on the specified url."
(interactive "sURL: ")
(call-process shell-execute-helper nil nil nil url))
(setq browse-url-browser-function 'shell-execute-url)
(put 'upcase-region 'disabled nil)
(global-unset-key "\C-x\C-c")
=====end inserted .emacs file