[
https://issues.apache.org/jira/browse/JUDDI-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804717#action_12804717
]
Tom Cunningham commented on JUDDI-303:
--------------------------------------
Got this test working - most of the problems I had with it were due to
configuration (making sure that the toClerk and fromClerk being used were
actually being saved by the server) and making sure that we specified a
toClerk. This test still has a lot of problems because we don't specify
the "default" and "medroot" clerks in every uddi.xml, so make sure that the
toClerk and fromClerk being specified actually exist on the server.
> JUDDI_ 100_ClientSubscriptionInfoTest fails when deployed to JBoss-5
> --------------------------------------------------------------------
>
> Key: JUDDI-303
> URL: https://issues.apache.org/jira/browse/JUDDI-303
> Project: jUDDI
> Issue Type: Bug
> Components: core
> Affects Versions: 3.0
> Reporter: Kurt T Stam
> Assignee: Tom Cunningham
> Priority: Minor
> Fix For: 3.0.1
>
>
> I'm running the uddi-tck tests against my juddi and all are working well,
> except in the JUDDI_ 100_ClientSubscriptionInfoTest.java, I'm getting:
> 08:17:08,098 ERROR [SubscriptionNotifier] Could not obtain subscriptionResult
> for subscriptionKey uddi:www.samco.com:subscriptiontwo. null
> java.lang.NullPointerException
> at
> org.apache.juddi.subscription.SubscriptionNotifier.notify(SubscriptionNotifier.java:218)
> at
> org.apache.juddi.subscription.SubscriptionNotifier.run(SubscriptionNotifier.java:93)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> 08:17:08,795 INFO [ValidatePublish]
> Configuration:org.apache.commons.configuration.compositeconfigurat...@a452ad
> 08:17:10,377 INFO [ValidatePublish]
> Configuration:org.apache.commons.configuration.compositeconfigurat...@a452ad
> 08:18:35,612 INFO [ValidatePublish]
> Configuration:org.apache.commons.configuration.compositeconfigurat...@a452ad
> 8080808008:19:37,539 INFO [PhaseInterceptorChain] Interceptor has thrown
> exception, unwinding now
> org.apache.cxf.interceptor.Fault: Unmarshalling Error:
> cvc-complex-type.2.4.b: The content of element 'ns4:clientSubscriptionInfo'
> is not complete. One of '{"urn:juddi-apache-org:api_v3":toClerk}' is expected.
> at
> org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:554)
> at
> org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:467)
> at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:108)
> at
> org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:183)
> at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
> at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
> at
> org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:92)
> at
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:285)
> at
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:168)
> at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:175)
> at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:153)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.