Hi All,

I am trying to set up remote debugging services in Visual Cafe to a WebLogic
4.51 sp8 server running on HP-UX. The error I am getting is (full log below)

In class sun.tools.debug.Agent: void main(String argv[]) is not defined


main IS defined in this class (I decompiled it))

    public static void main(String args[])
        throws ClassNotFoundException
    {
        if(args != null && args.length > 0)
        {

Thanks for any help.

Paul

(some extra info)

This is what gets executed by debugvm when Cafe is trying to start the
webLogic server:

java_g -debug -nojit -Dsymantec.itools.remote.vm.name=WebLogic
-Dsymantec.itools.remote.dbg=true
-Dsymantec.itools.init.host=Unknown[129.145.37.58:2176]
-Dsymantec.itools.id=309291575 -verbose -ms64m -mx64m
-classpath=/opt/java/lib/classes.zip:./classes/boot:./eval/cloudscape/lib/cl
oudscape.jar
-Dweblogic.class.path=./license:./classes:./lib/weblogicaux.jar:./myserver/s
erverclasses -Djava.security.manager -Djava.security.policy==weblogic.policy
sun.tools.debug.Agent weblogic.Server


(full output from ddservice)

[Resolving java/io/RandomAccessFile]

[Initializing java/io/RandomAccessFile]

[Loaded java/util/zip/ZipEntry.class from /opt/java/bin/../lib/classes.zip]

[Initializing java/util/zip/ZipEntry]

[Resolving java/util/zip/ZipEntry]

[Initializing java/util/zip/ZipEntry]

In class sun.tools.debug.Agent: void main(String argv[]) is not defined



or (without -verbose)

Symantec Distributed Development Services Version 1.0

Copyright (C) Symantec Corporation 1995-1998.  All Rights Reserved.



Platform doesn't know about java.version: HP-UX Java C.01.17.02 99/09/30

Symantec Debug VM Loader 1.0

Copyright (C) Symantec Corporation 1995-1998.  All Rights Reserved.



Agent password=zaqqu

In class sun.tools.debug.Agent: void main(String argv[]) is not defined

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to