users@jaxb.java.net

[Fwd: Re: JAXBException [signer information does not match signer information of other classes in the same package]]

From: Ed Mooney <Ed.Mooney_at_Sun.COM>
Date: Mon, 15 Mar 2004 09:55:42 -0500

-------- Original Message --------
Subject: Re: JAXBException [signer information does not match signer
information of other classes in the same package]
Date: Mon, 15 Mar 2004 09:52:20 -0500
From: Ed Mooney <Ed.Mooney_at_Sun.COM>
Organization: Sun Microsystems, Inc.
To: Srinivasan Chikkala <Srinivasan.Chikkala_at_Sun.COM>
References: <4051474C.3010605_at_sun.com> <4051E05B.4050107_at_Sun.COM>
<40524C7A.9020803_at_sun.com>

Hi Chikkala,

It seems as though you're picking up namespace.jar from two different
places. Please see what happens when you substitute
D:\jwsdp-1.3\jwsdp-shared\lib\namespace.jar for
D:\jwsdp-shared\lib\namespace.jar in the junit case.

Regards,
-- 
Ed Mooney         |Sun Microsystems, Inc.|Time flies like
Java Web Services |UBUR02-201            |an arrow, but
Ed.Mooney_at_Sun.COM |1 Network Drive       |fruit flies like
781-442-0459      |Burlington, MA  01803 |a banana. Groucho
Srinivasan Chikkala wrote:
> Hi Ed,
> 
> I tried running ant with ant -debug and also did couple of experiments 
> to found that when I run the jaxb unmarshalling inside the junit 
> framework called from junit ant task, I am having the problem, but when 
> I run the java task directly using ant, it is working fine.  Here is the 
> classpaths for both
> 
> 1.classpath for execution inside junit task  ( ERROR)
> Executing 'D:\j2sdk1.4.2_01\jre\bin\java.exe'
> '-classpath'
> 'D:\bld\classes;
> D:\jwsdp-1.3\jaxb\lib\jaxb-libs.jar;
> D:\jwsdp-1.3\jaxb\lib\jaxb-api.jar;
> D:\jwsdp-1.3\jaxb\lib\jaxb-impl.jar;
> D:\jwsdp-1.3\jwsdp-shared\lib\relaxngDatatype.jar;
> D:\jwsdp-1.3\jwsdp-shared\lib\xsdlib.jar;
> D:\jwsdp-shared\lib\namespace.jar;
> D:\jwsdp-1.3\jwsdp-shared\lib\jax-qname.jar;
> D:\ant\lib\junit.jar;
> D:\ant\lib\ant-launcher.jar;
> D:\ant\lib\ant.jar;
> D:\ant\lib\ant-junit.jar'
> 'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner'
> 
> 
> 2.classpath for calling java task directly  (SUCCESS)
> Executing 'D:\j2sdk1.4.2_01\jre\bin\java.exe'
> '-classpath'
> 'D:\jwsdp-1.3\jaxb\lib\jaxb-libs.jar;
> D:\jwsdp-1.3\jaxb\lib\jaxb-api.jar;
> D:\jwsdp-1.3\jaxb\lib\jaxb-impl.jar;
> D:\jwsdp-1.3\jwsdp-shared\lib\relaxngDatatype.jar;
> D:\jwsdp-1.3\jwsdp-shared\lib\xsdlib.jar;
> D:\jwsdp-1.3\jwsdp-shared\lib\namespace.jar;
> D:\jwsdp-1.3\jwsdp-shared\lib\jax-qname.jar;
> D:\bld\classes;
> D:\ant\lib\junit.jar;
> 
> I think, the ant library files that are included in first case somehow 
> causing this exception. I don't know why. any idea?
> 
> regards,
> -chikkala
> 
> Ed Mooney wrote:
> 
>> Hi Chikkala,
>>
>> Not sure what's going on, but it might help to know:
>>
>> * Have you tried running with ant -v?
>>
>> * Does this happen when you use the bundled ant 
>> ($JWSDP_HOME/apache-ant/bin/ant)?
>>
>> Regards,
> 
> 
> 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net