Peter Fry [https://community.jboss.org/people/peterfry] created the discussion
"Re: jaxb version used by JBoss AS 7.0Final (date issue/timezone issue)" To view the discussion, visit: https://community.jboss.org/message/755068#755068 -------------------------------------------------------------- I have a few test cases that all seem to be pointing at the jboss-jaxb-api_2.2_spec-1.0.3.Final.jar file . If I run public static void main( String[] args ) { GregorianCalendar testCal = new GregorianCalendar(); testCal.clear(); testCal.set( 1970, 0, 1 ); Date testDate = testCal.getTime(); System.out.println( "test printing dateTime " + DatatypeConverter.printDateTime( testCal ) ); } Without any jvm arguments it prints: test printing dateTime 1970-01-01T00:00:00Z If I pass a JVM argument of -Djava.endorsed.dirs=c:\a_directory_only_containing_jaxb-api.jar , where manifest has the information: Specification-Title: Java Architecture for XML Binding Specification-Version: 2.2.1 Specification-Vendor: Sun Microsystems, Inc. Extension-Name: javax.xml.bind It prints: test printing dateTime 1970-01-01T00:00:00+01:00# If I pass a jvm argument of -Djava.endorsed.dirs=c:\a_directory_only_containing_jboss-jaxb-api_2.2_spec-1.0.3.Final.jar It prints: test printing dateTime 1970-01-01T00:00:00Z So I think the jboss 7.1 version of jaxb is wrong? I tried just replacing it to see the version of JAXB from SUN ( 2.2.1) solves the web service problem but I get errors when trying to make web service calls (I can attach those if anybody has ideas ) -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/755068#755068] Start a new discussion in JBoss Web Services at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
