The applet classes are in my WEB-INF\classes. The listing is like:

...\WEB-INF\classes>ls
SOAPMonitorApplet$SOAPMonitorData.class        log4j.xml
SOAPMonitorApplet$SOAPMonitorFilter.class      org
SOAPMonitorApplet$SOAPMonitorPage.class
SOAPMonitorApplet$SOAPMonitorTableModel.class
SOAPMonitorApplet$SOAPMonitorTextArea.class
SOAPMonitorApplet$ServiceFilterPanel.class
SOAPMonitorApplet.class
com

I have done away with the soapmonitor jar and have deleted the applet and 
servlet classes from the soapmonitor mar to avoid duplication.


Thanks,

Vish.

>-----Original Message-----
>From: robert lazarski [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, December 04, 2007 7:50 PM
>To: [email protected]
>Subject: Re: [Axis2] 1.3 Soapmonitor problem
>
>Argh!
>
>/tomcat/webapps/ROOT> ls
>
>HTH,
>Robert
>
>On Dec 4, 2007 10:49 PM, robert lazarski <[EMAIL PROTECTED]> wrote:
>> Eh, late here - my bad. You overwrote webapps/ROOT ? In that case, you
>> need something like:
>>
>> /tomcat/webapps/axis2> ls
>> axis2-web
>> SOAPMonitorApplet$SOAPMonitorData.class
>> META-INF
>> SOAPMonitorApplet$SOAPMonitorFilter.class
>> org
>> SOAPMonitorApplet$SOAPMonitorPage.class
>> soapmonitor-1.3-RC3.jar
>> SOAPMonitorApplet$SOAPMonitorTableModel.class
>> SOAPMonitorApplet.class
>> SOAPMonitorApplet$SOAPMonitorTextArea.class
>> SOAPMonitorApplet$ServiceFilterPanel.class  WEB-INF
>>
>> HTH,
>> Robert
>>
>>
>> On Dec 4, 2007 10:44 PM, robert lazarski <[EMAIL PROTECTED]>
>wrote:
>> > Even with a webroot exploded, you still need the url in the form of
>> > whatever you put in 'Context path' , ie:
>> >
>> > http://localhost:8080/mycontextPath/SOAPMonitor
>> >
>> > Alternatively. you could try getting the soap monitor working with the
>> > axis2 war first.
>> >
>> > HTH,
>> > Robert
>> >
>> >
>> > On Dec 4, 2007 10:35 PM, Pantvaidya, Vishwajit <[EMAIL PROTECTED]>
>wrote:
>> > >
>> > >
>> > >
>> > >
>> > > I have deployed soapmonitor into my axis1.3 installation to test my
>axis2
>> > > and .NET websvc interaction issues. I followed all config steps as
>mentioned
>> > > in the soapmonitor doc (one slight difference - deployed in webroot
>in an
>> > > exploded format, so that soapmonitor is access as
>> > > http://localhost:8080/SOAPMonitor).
>> > >
>> > >
>> > >
>> > > When I invoke the SOAPMonitor using this URL, I get the exception
>> > > "java.lang.ClassFormatError: Truncated class file".
>> > >
>> > > I researched and saw following probably causes:
>> > >
>> > > -          due to problem unzipping the classes from jar at runtime
>> > >
>> > > -          due to inability to access classes from WEB-INF
>> > >
>> > > To remedy this I tried moving jar elsewhere (away from WEB-INF) to
>adding
>> > > the applet source to my Eclipse - nothing worked.
>> > >
>> > >
>> > >
>> > > Does anyone know what could be the reason for this?
>> > >
>> > >
>> > >
>> > > Full java console log is as follows:
>> > >
>> > >
>> > >
>> > > Java Plug-in 1.5.0_12
>> > >
>> > > Using JRE version 1.5.0_12 Java HotSpot(TM) Client VM
>> > >
>> > > User home directory = C:\Documents and Settings\vpantvai
>> > >
>> > > network: Loading user-defined proxy configuration ...
>> > >
>> > > network: Done.
>> > >
>> > > network: Loading proxy configuration from Internet Explorer ...
>> > >
>> > > network: Done.
>> > >
>> > > network: Loading direct proxy configuration ...
>> > >
>> > > network: Done.
>> > >
>> > > network: Proxy Configuration: No proxy
>> > >
>> > > basic: Cache is disabled by user
>> > >
>> > > basic: Plugin modality.register
>> > >
>> > > basic: Registered modality listener
>> > >
>> > > liveconnect: Invoking JS method: document
>> > >
>> > > liveconnect: Invoking JS method: URL
>> > >
>> > > basic: Referencing classloader: [EMAIL PROTECTED],
>> > > refcount=1
>> > >
>> > > basic: Added progress listener: [EMAIL PROTECTED]
>> > >
>> > > basic: Loading applet ...
>> > >
>> > > basic: Initializing applet ...
>> > >
>> > > basic: Starting applet ...
>> > >
>> > > basic: Referencing classloader: [EMAIL PROTECTED],
>> > > refcount=2
>> > >
>> > > basic: Releasing classloader: [EMAIL PROTECTED],
>refcount=1
>> > >
>> > > network: Connecting http://localhost:8080/SOAPMonitorApplet.class
>with
>> > > proxy=DIRECT
>> > >
>> > > network: Connecting http://localhost:8080/SOAPMonitorApplet.class
>with
>> > > cookie "JSESSIONID=1FAF54A700367497E0792833D0A411FC"
>> > >
>> > > java.lang.ClassFormatError: Truncated class file
>> > >
>> > >             at java.lang.ClassLoader.defineClass1(Native Method)
>> > >
>> > >             at java.lang.ClassLoader.defineClass(Unknown Source)
>> > >
>> > >             at java.security.SecureClassLoader.defineClass(Unknown
>Source)
>> > >
>> > >             at sun.applet.AppletClassLoader.findClass(Unknown Source)
>> > >
>> > >             at java.lang.ClassLoader.loadClass(Unknown Source)
>> > >
>> > >             at sun.applet.AppletClassLoader.loadClass(Unknown Source)
>> > >
>> > >             at java.lang.ClassLoader.loadClass(Unknown Source)
>> > >
>> > >             at sun.applet.AppletClassLoader.loadCode(Unknown Source)
>> > >
>> > >             at sun.applet.AppletPanel.createApplet(Unknown Source)
>> > >
>> > >             at sun.plugin.AppletViewer.createApplet(Unknown Source)
>> > >
>> > >             at sun.applet.AppletPanel.runLoader(Unknown Source)
>> > >
>> > >             at sun.applet.AppletPanel.run(Unknown Source)
>> > >
>> > >             at java.lang.Thread.run(Unknown Source)
>> >
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to