You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by Natalie Turner <NA...@saic.com> on 2009/10/28 14:43:04 UTC

A few notes deploying juddiv3 to JBoss-eap5 beta

I'm deploying juddi-cxf to jboss-eap-5.0-beta2 (the default server) and
have had pretty good luck with it, although in the web.xml I had to move
the <servlet-mapping> tags and their contents  down to be below all of
the <servlet> tags (group each type together in that order).

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.CompositeConfiguration@a452ad
08:17:10,377 INFO  [ValidatePublish]
Configuration:org.apache.commons.configuration.CompositeConfiguration@a452ad
08:18:35,612 INFO  [ValidatePublish]
Configuration:org.apache.commons.configuration.CompositeConfiguration@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)

I saw a similar error code here:
https://issues.apache.org/jira/browse/JUDDI-228

Also, when I run the uddi_090_SubscriptionListenerIntegrationTest, I
have no uddiclient.log file in my target directory, so this fail
tests... I have gone ahead and fixed that locally on my own system, just
for argument's sake, but thought I'd give you a heads up.  This may just
be due to me utilizing the instance of juddi I'm using and doing so on
jboss, so not sure if anything needs to be done about it, but thought
I'd share regardless.

Otherwise, things are great - thanks for all of the great work you guys
put forth!  

Natalie







Re: A few notes deploying juddiv3 to JBoss-eap5 beta

Posted by Kurt T Stam <ku...@gmail.com>.
Hi Natalie,

Thanks for your feedback :)!

Natalie Turner wrote:
> I'm deploying juddi-cxf to jboss-eap-5.0-beta2 (the default server) 
> and have had pretty good luck with it, although in the web.xml I had 
> to move the <servlet-mapping> tags and their contents  down to be 
> below all of the <servlet> tags (group each type together in that order).
Yep I ran into that too, just opened a jira for it:
https://issues.apache.org/jira/browse/JUDDI-302
>
> 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.CompositeConfiguration@a452ad 
> <ma...@a452ad>
> 08:17:10,377 INFO  [ValidatePublish] 
> Configuration:org.apache.commons.configuration.CompositeConfiguration@a452ad 
> <ma...@a452ad>
> 08:18:35,612 INFO  [ValidatePublish] 
> Configuration:org.apache.commons.configuration.CompositeConfiguration@a452ad 
> <ma...@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)
>
> I saw a similar error code here: 
> https://issues.apache.org/jira/browse/JUDDI-228
Not sure about this one.. let's open a jira for this one too, and we'll 
try to reproduce it
https://issues.apache.org/jira/browse/JUDDI-303
>
> Also, when I run the uddi_090_SubscriptionListenerIntegrationTest, I 
> have no uddiclient.log file in my target directory, so this fail 
> tests... I have gone ahead and fixed that locally on my own system, 
> just for argument's sake, but thought I'd give you a heads up.  This 
> may just be due to me utilizing the instance of juddi I'm using and 
> doing so on jboss, so not sure if anything needs to be done about it, 
> but thought I'd share regardless.
yeah that test will be looking for that file which is created by the 
logger, which either is not there at all or in a different place. We 
should try to figure out some more fool proof way so this tests does not 
fail this easily.
https://issues.apache.org/jira/browse/JUDDI-304

>
> Otherwise, things are great - thanks for all of the great work you 
> guys put forth! 
Thanks :)
>
> Natalie
>
>
>
>
>
>