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'; '[EMAIL PROTECTED]' 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:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]