I think the problem might actually be in the code, since the error only
occurs when trying to parse the response when getting the
"SupportedLanguage" property.  The rest of the app works ok.

It doesn't look like JDK 1.4.x works with this sample.  I just switched
my client project to use JRE 1.4.2_12, and I got the following error
when starting the the client:

java.lang.UnsupportedClassVersionError:
org/apache/muse/test/http/testapp/HttpServerTestApp (Unsupported
major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main" 



-----Original Message-----
From: Daniel Jemiolo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 02, 2006 2:13 PM
To: [email protected]
Subject: Re: apache-httpd example running?

Looks like you're having the same problem as Giovanni. I notice from
your other email that you're using Tomcat 5.5 (which prereqs JDK 1.5).
I'm using Tomcat 5.0. I can't see why this would cause a difference on
the client, though, as in either case the SOAP response comes back
correctly (according to the trace).

Have you tried running the client with a JDK 1.4.x? I'm curious to find
out whether those experiencing the client-side problem have a
JDK-1.5-related bug or a more general bug.

Dan



"Vinh Nguyen \(vinguye2\)" <[EMAIL PROTECTED]> wrote on 11/02/2006
03:24:43 PM:

> Has anyone been able to get this example running successfully?  If so,
can you
> list the steps in detail starting from the download?  I've been trying
to 
> follow the email trail, but it gets tangled.
> 
> I did the following steps, but get errors when running the client:
> 
> 1) Downloaded and installed
http://ws.apache.org/muse/nightly/bin/muse-2.1.0-
> SNAPSHOT-bin.zip
> 3) Ran the update-install.bat script to recreate the /lib dir.
> 4) Updated build.xml. Pointed MUSE_HOME to my /muse-2.1.0-SNAPSHOT-bin
program dir.
> 5) Updated muse.xml. Updated the "httpd-install-dir" param value in 
> the capabilities section to point to my Apache2.2 program dir.
> 5) Ran "ant" to create the war file.
> 6) Deployed the war file to Tomcat.
> 7) Create an Eclipse project and copied over the source code so that I
can 
> test the client.
> 8) Add the following jars to the project:
> \muse-2.1.0-SNAPSHOT-bin\modules\ws-fx-api\*.jar
> \muse-2.1.0-SNAPSHOT-bin\modules\ws-fx-impl\*.jar
> \muse-2.1.0-SNAPSHOT-bin\modules\core\*.jar
> \muse-2.1.0-SNAPSHOT-bin\lib\axis2\WEB-INF\lib\wsdl4j-1.6.1.jar
> \muse-2.1.0-SNAPSHOT-bin\lib\common\xalan-2.7.0.jar
> \muse-2.1.0-SNAPSHOT-bin\lib\common\xercesImpl-2.8.0.jar
> \muse-2.1.0-SNAPSHOT-bin\lib\common\xml-apis-1.3.03.jar
> \muse-2.1.0-SNAPSHOT-bin\lib\common\xstream-1.1.2.jar
> 
> The build runs fine.  Most of the client test works, except one error
that I'm
> getting.  It's the NullPointerException when trying to check the
response of 
> the operation that gets the "SupportedLanguage" property.
> 
> The last error is because it can't stop the http server, but I can
ignore this
> because I don't have PSKill installed.
> 
> Attached is the console output when running the client.  Any help is 
> appreciated, thanks!
> -Vinh
>  [attachment "Trace.txt" deleted by Daniel Jemiolo/Durham/IBM]
> ---------------------------------------------------------------------
> 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]

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

Reply via email to