You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Scott Kurz <sc...@gmail.com> on 2008/07/21 18:11:36 UTC

build problem with module binding-gdata-runtime-gsoc

(Copied this from the note about my other build problem.  I wonder if I
should try completely deleting my maven repo???

I'm building the HEAD at r678446.

I'm using IBM JRE:

java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pxi32devifx-20070608
(SR5+IY99712))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20070426
(JIT enabled)
J9VM - 20070420_12448_lHdSMR
JIT  - 20070419_1806_r8
GC   - 200704_19)
JCL  - 20070608

(I get a similar problem when using a 1.6 version of the JDK... switched to
1.5 due to JAXB codegen issues)

Here's three sets of errors: 1), 2), 3) below:
Thanks,
Scott

1) first there's a couple that seem to be like this:

 Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.432 sec
Running org.apache.tuscany.sca.binding.gdata.GoogleBloggerServiceTestCase
Method Test
Start-----------------------------------------------------------------------
[Debug Info]GdataBindingProcessor reached
[Debug Info] binding.getServiceType()blogger
[Debug Info] binding.getName()haibotuscany@gmail.com
[Debug Info] binding.getPassword()gsocgsocgsoc
com.google.gdata.util.AuthenticationException: Error connecting with login
URI
        at
com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(Unknown Source)


2) And also this:
 Caused by: java.net.SocketException: Cannot find the specified class
java.security.PrivilegedActionException: java.lang.ClassNotFoundException:
com.ibm.websphere.ssl.protocol.SSLSocketFactory
        at
javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:8)
        at com.ibm.net.ssl.www2.protocol.https.b.afterConnect(b.java:91)
        at com.ibm.net.ssl.www2.protocol.https.c.connect(c.java:15)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:866)
        at com.ibm.net.ssl.www2.protocol.https.a.getOutputStream(a.java:8)
        at
com.google.gdata.client.GoogleAuthTokenFactory.makePostRequest(Unknown
Source)
        ... 38 more


3) Then there are JAXB problems like:



Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts
of IllegalAnnotationExceptions
com.google.gdata.client.Service$GDataRequestFactory is an interface, and
JAXB can't handle interfaces.
        this problem is related to the following location:
                at com.google.gdata.client.Service$GDataRequestFactory
                at public
com.google.gdata.client.Service$GDataRequestFactory
com.google.gdata.client.Service.getRequestFactory()
                at com.google.gdata.client.Service
                at public com.google.gdata.client.Service
com.google.gdata.data.BaseEntry.getService()
                at com.google.gdata.data.BaseEntry
                at com.google.gdata.data.Entry
com.google.gdata.client.Service$GDataRequestFactory does not have a no-arg
default constructor.
        this problem is related to the following location:
                at com.google.gdata.client.Service$GDataRequestFactory
                at public
com.google.gdata.client.Service$GDataRequestFactory
com.google.gdata.client.Service.getRequestFactory()
                at com.google.gdata.client.Service
                at public com.google.gdata.client.Service
com.google.gdata.data.BaseEntry.getService()
                at com.google.gdata.data.BaseEntry
                at com.google.gdata.data.Entry

        at
com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)
        at
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:438)
        at
com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
        at
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
        at
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:211)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:372)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
        at
org.apache.tuscany.sca.databinding.jaxb.JAXBContextCache.getJAXBContext(JAXBContextCache.java:229)
        at
org.apache.tuscany.sca.databinding.jaxb.JAXBContextCache.getJAXBContext(JAXBContextCache.java:268)
        at
org.apache.tuscany.sca.databinding.jaxb.JAXBContextHelper.createJAXBContext(JAXBContextHelper.java:179)
        at
org.apache.tuscany.sca.databinding.jaxb.JAXBContextHelper.createJAXBContext(JAXBContextHelper.java:109)
        at
org.apache.tuscany.sca.databinding.jaxb.JAXBDataBinding.copy(JAXBDataBinding.java:107)
        ... 41 more

testClientDelete(org.apache.tuscany.sca.binding.gdata.GoogleBloggerServiceTestCase)
Time elapsed: 0.4 sec  <<< ERROR!
java.lang.IllegalArgumentException:
com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of
IllegalAnnotationExceptions
com.google.gdata.client.Service$GDataRequestFactory is an interface, and
JAXB can't handle interfaces.
        this problem is related to the following location:
                at com.google.gdata.client.Service$GDataRequestFactory
                at public
com.google.gdata.client.Service$GDataRequestFactory
com.google.gdata.client.Service.getRequestFactory()
                at com.google.gdata.client.Service
                at public com.google.gdata.client.Service
com.google.gdata.data.BaseEntry.getService()
                at com.google.gdata.data.BaseEntry
                at com.google.gdata.data.Entry
com.google.gdata.client.Service$GDataRequestFactory does not have a no-arg
default constructor.
        this problem is related to the following location:
                at com.google.gdata.client.Service$GDataRequestFactory
                at public
com.google.gdata.client.Service$GDataRequestFactory
com.google.gdata.client.Service.getRequestFactory()
                at com.google.gdata.client.Service
                at public com.google.gdata.client.Service
com.google.gdata.data.BaseEntry.getService()
                at com.google.gdata.data.BaseEntry
                at com.google.gdata.data.Entry