You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Davanum Srinivas <da...@gmail.com> on 2007/02/08 22:20:35 UTC

Re: [Axis2]

Alan,

You need to run with Sun's jvm. please run "java -version" to check
which version of jdk/jre you are using. I believe you are using the
built-in gcj or kaffee in FC6. Please get latest JDK1.5 from sun.

thanks,
dims

On 2/8/07, Jones, Alan R <al...@boeing.com> wrote:
>
>
> Hi,
>
> I have a client written in Axis2.0 v1.0 that is launched from ant build
> file. When I run it on Win XP machine, it runs fine and prints the web
> service response as expected. However, when I run the same client on Linux
> FC6, with same Axis2 on the same version of tomcat as Win machine (5.5.17),
>
> it fails with an exception containing the following (I'm showing the first 3
> lines):
>
>
>
> java.lang.IllegalArgumentException: illegal NCName:
>     at gnu.xml.stream.XMLStreamWriterImpl.writeStartElement
> (libgcj.so.7rh)
>     at
> org.apache.axiom.om.impl.MTOMXMLStreamwriter.wrtieStartElement(MTOMXMLStreamWriter.java:91)
> ...
>
>
> What seems strange is the gnu.xml line...is that FC6 related, in other
> words, something that FC6 is "intercepting" and then initiating the
> cascading exception? I see no reference to that package in any of the jar
> files in the AXIS2 lib which is added to classpath in the ant file at
> runtime.
>
>
>
>
>
> aj
>


-- 
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2]

Posted by Peter Rosner <ro...@blueyonder.co.uk>.
Hi

Since I sent the last message I have found out that the problem in my case 
was my configuration. CATALINA_HOME was pointing to another installation 
(5.0) of Tomcat. Correcting this means that all the issues I raised have now 
gone away. Apologies for leading all up the garden path! The documentation 
all seems ok now.

Pete
----- Original Message ----- 
From: "Jones, Alan R" <al...@boeing.com>
To: <ax...@ws.apache.org>
Sent: Thursday, February 08, 2007 11:24 PM
Subject: RE: [Axis2]



Correction...

>>...shows the correct version, 1.5.0._11,

..no mention of Sun.

alan


--------------------------------------------
Alan R Jones
Boeing S&IS Mission Systems
Denver Engineering Center (BDEC)
303.307.3415

-----Original Message-----
From: Jones, Alan R
Sent: Thursday, February 08, 2007 4:22 PM
To: 'axis-user@ws.apache.org'; 'dims@apache.org'
Subject: RE: [Axis2]

Dims,

Yes, you are right in that the issue appears to be the
jvm/jre...However, upon checking java -version in FC6, it shows the
correct version, sun 1.5.0._11, but it does not say whether it's gcj or
kaffee. It mentions Java Hotspot.  The jdk/jre was downloaded via yum
install.

 I resolved the issue by setting the fork="true" attribute inside the
java task in my ant build file, thereby executing the java class file of
the client in a different JVM, external to the one that ant was
executing in.



Thanks,

alan


--------------------------------------------
Alan R Jones
Boeing S&IS Mission Systems
Denver Engineering Center (BDEC)
303.307.3415

-----Original Message-----
From: Davanum Srinivas [mailto:davanum@gmail.com]
Sent: Thursday, February 08, 2007 2:21 PM
To: axis-user@ws.apache.org
Subject: Re: [Axis2]

Alan,

You need to run with Sun's jvm. please run "java -version" to check
which version of jdk/jre you are using. I believe you are using the
built-in gcj or kaffee in FC6. Please get latest JDK1.5 from sun.

thanks,
dims

On 2/8/07, Jones, Alan R <al...@boeing.com> wrote:
>
>
> Hi,
>
> I have a client written in Axis2.0 v1.0 that is launched from ant
> build file. When I run it on Win XP machine, it runs fine and prints
> the web service response as expected. However, when I run the same
> client on Linux FC6, with same Axis2 on the same version of tomcat as
> Win machine (5.5.17),
>
> it fails with an exception containing the following (I'm showing the
> first 3
> lines):
>
>
>
> java.lang.IllegalArgumentException: illegal NCName:
>     at gnu.xml.stream.XMLStreamWriterImpl.writeStartElement
> (libgcj.so.7rh)
>     at
> org.apache.axiom.om.impl.MTOMXMLStreamwriter.wrtieStartElement(MTOMXML
> StreamWriter.java:91)
> ...
>
>
> What seems strange is the gnu.xml line...is that FC6 related, in other

> words, something that FC6 is "intercepting" and then initiating the
> cascading exception? I see no reference to that package in any of the
> jar files in the AXIS2 lib which is added to classpath in the ant file

> at runtime.
>
>
>
>
>
> aj
>


--
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services
Developers

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: [Axis2]

Posted by "Jones, Alan R" <al...@boeing.com>.
 
Correction...

>>...shows the correct version, 1.5.0._11, 

..no mention of Sun.

alan


--------------------------------------------
Alan R Jones
Boeing S&IS Mission Systems
Denver Engineering Center (BDEC)
303.307.3415

-----Original Message-----
From: Jones, Alan R 
Sent: Thursday, February 08, 2007 4:22 PM
To: 'axis-user@ws.apache.org'; 'dims@apache.org'
Subject: RE: [Axis2]

Dims,

Yes, you are right in that the issue appears to be the
jvm/jre...However, upon checking java -version in FC6, it shows the
correct version, sun 1.5.0._11, but it does not say whether it's gcj or
kaffee. It mentions Java Hotspot.  The jdk/jre was downloaded via yum
install.

 I resolved the issue by setting the fork="true" attribute inside the
java task in my ant build file, thereby executing the java class file of
the client in a different JVM, external to the one that ant was
executing in.



Thanks,

alan


--------------------------------------------
Alan R Jones
Boeing S&IS Mission Systems
Denver Engineering Center (BDEC)
303.307.3415

-----Original Message-----
From: Davanum Srinivas [mailto:davanum@gmail.com]
Sent: Thursday, February 08, 2007 2:21 PM
To: axis-user@ws.apache.org
Subject: Re: [Axis2]

Alan,

You need to run with Sun's jvm. please run "java -version" to check
which version of jdk/jre you are using. I believe you are using the
built-in gcj or kaffee in FC6. Please get latest JDK1.5 from sun.

thanks,
dims

On 2/8/07, Jones, Alan R <al...@boeing.com> wrote:
>
>
> Hi,
>
> I have a client written in Axis2.0 v1.0 that is launched from ant 
> build file. When I run it on Win XP machine, it runs fine and prints 
> the web service response as expected. However, when I run the same 
> client on Linux FC6, with same Axis2 on the same version of tomcat as 
> Win machine (5.5.17),
>
> it fails with an exception containing the following (I'm showing the 
> first 3
> lines):
>
>
>
> java.lang.IllegalArgumentException: illegal NCName:
>     at gnu.xml.stream.XMLStreamWriterImpl.writeStartElement
> (libgcj.so.7rh)
>     at
> org.apache.axiom.om.impl.MTOMXMLStreamwriter.wrtieStartElement(MTOMXML
> StreamWriter.java:91)
> ...
>
>
> What seems strange is the gnu.xml line...is that FC6 related, in other

> words, something that FC6 is "intercepting" and then initiating the 
> cascading exception? I see no reference to that package in any of the 
> jar files in the AXIS2 lib which is added to classpath in the ant file

> at runtime.
>
>
>
>
>
> aj
>


--
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services
Developers

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: [Axis2]

Posted by "Jones, Alan R" <al...@boeing.com>.
Dims,

Yes, you are right in that the issue appears to be the
jvm/jre...However, upon checking java -version in FC6, it shows the
correct version, sun 1.5.0._11, but it does not say whether it's gcj or
kaffee. It mentions Java Hotspot.  The jdk/jre was downloaded via yum
install.

 I resolved the issue by setting the fork="true" attribute inside the
java task in my ant build file, thereby executing the java class file of
the client in a different JVM, external to the one that ant was
executing in.



Thanks,

alan


--------------------------------------------
Alan R Jones
Boeing S&IS Mission Systems
Denver Engineering Center (BDEC)
303.307.3415

-----Original Message-----
From: Davanum Srinivas [mailto:davanum@gmail.com] 
Sent: Thursday, February 08, 2007 2:21 PM
To: axis-user@ws.apache.org
Subject: Re: [Axis2]

Alan,

You need to run with Sun's jvm. please run "java -version" to check
which version of jdk/jre you are using. I believe you are using the
built-in gcj or kaffee in FC6. Please get latest JDK1.5 from sun.

thanks,
dims

On 2/8/07, Jones, Alan R <al...@boeing.com> wrote:
>
>
> Hi,
>
> I have a client written in Axis2.0 v1.0 that is launched from ant 
> build file. When I run it on Win XP machine, it runs fine and prints 
> the web service response as expected. However, when I run the same 
> client on Linux FC6, with same Axis2 on the same version of tomcat as 
> Win machine (5.5.17),
>
> it fails with an exception containing the following (I'm showing the 
> first 3
> lines):
>
>
>
> java.lang.IllegalArgumentException: illegal NCName:
>     at gnu.xml.stream.XMLStreamWriterImpl.writeStartElement
> (libgcj.so.7rh)
>     at
> org.apache.axiom.om.impl.MTOMXMLStreamwriter.wrtieStartElement(MTOMXML
> StreamWriter.java:91)
> ...
>
>
> What seems strange is the gnu.xml line...is that FC6 related, in other

> words, something that FC6 is "intercepting" and then initiating the 
> cascading exception? I see no reference to that package in any of the 
> jar files in the AXIS2 lib which is added to classpath in the ant file

> at runtime.
>
>
>
>
>
> aj
>


--
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services
Developers

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org