You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Franklin Dorbon <fr...@gmail.com> on 2010/06/04 14:56:26 UTC

Juddi SOAP Exception

Hello,
I have downloaded the "Portal" bundle and was able to navigate to the
juddi portal page as well as list the services. I was also able to run
the Hello World auth token test successfully. However when I try to
run the SimplePublish demo I get an error in my client code:


javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing.
	at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(Unknown
Source)
	at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(Unknown
Source)
	at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
	at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
	at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
	at $Proxy44.saveBusiness(Unknown Source)
	at juddiclienttest.SimplePublish.publish(SimplePublish.java:92)
	at juddiclienttest.SimplePublish.main(SimplePublish.java:122)

Although I am able to navigate successfully to the portal page, but
after I login one of the windows says:
The requested resource
(/uddi-portlets/PlutoInvoker/UDDIBrowserPortlet) is not available

Do I have to do some extra building steps? I thought the Portal was
pre-configured/pre-compiled?

Any help is greatly appreciated.

Thanks,
Franklin




There is also an error in the Tomcat server:


WARNING: Application {urn:uddi-org:v3_service}UDDI_Publish_Port#{urn:uddi-org:v3
_service}save_business has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault
        at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractIn
voker.java:148)
        at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJ
AXWSMethodInvoker.java:83)
        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker
.java:114)
        at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.jav
a:55)
        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker
.java:68)
        at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInv
okerInterceptor.java:58)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
1)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecu
tor.java:37)
        at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Se
rviceInvokerInterceptor.java:106)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept
orChain.java:243)
        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainIniti
ationObserver.java:104)
        at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDes
tination.java:99)
        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(
ServletController.java:358)
        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletCont
roller.java:187)
        at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCX
FServlet.java:163)
        at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCX
FServlet.java:141)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
        at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.ja
va:394)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:852)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
        at org.apache.juddi.validation.ValidatePublish.validateBusinessEntity(Va
lidatePublish.java:357)
        at org.apache.juddi.validation.ValidatePublish.validateSaveBusiness(Vali
datePublish.java:240)
        at org.apache.juddi.api.impl.UDDIPublicationImpl.saveBusiness(UDDIPublic
ationImpl.java:480)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abst
ractInvoker.java:166)
        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker
.java:82)
        ... 30 more

Re: Juddi SOAP Exception

Posted by Kurt T Stam <ku...@gmail.com>.
Should be fixed now:

https://issues.apache.org/jira/browse/JUDDI-406

Thx for your report!

--Kurt


Kurt T Stam wrote:
> Thank you Daniel,
>
> That seems like a bug indeed. What are the steps to reproduce. I'm a 
> bit worried why our unittests have not
> picked up on this, so I'd like to create a unittest for it to make 
> sure this won't come back going forward.
>
> Thx,
>
> --Kurt
>
> djmijares wrote:
>> Hi Kurt,
>> I was browsing around because I was getting this same error.
>> I could only get the Authentication Token from the Hello World 
>> example to
>> work. The Simple Publish file was blowing up on me before it was 
>> trying to
>> save the Business if I remember right.
>> Anyways, what I found that was causing it was a property in the
>> juddiv3.properties file. 
>> juddi.keygenerator=org.apache.juddi.keygen.KeyGenerator
>>
>> is what comes with the package juddi portal bundle 3.0.2
>>
>> When I looked at the source KeyGenerator.java is an interface class so I
>> changed the property to
>> juddi.keygenerator=org.apache.juddi.keygen.DefaultKeyGenerator
>>
>> Which an implementation of Key Generator.  And this smoothed it out. 
>> I just wanted to let you know what I found out, I may have overlooked 
>> it,
>> but I did not see that in the documentation and maybe it might be worth
>> adding that in :)
>>
>> Cheers!
>>
>> Daniel
>>
>>
>> Kurt T Stam-4 wrote:
>>  
>>> Hi Franklin,
>>>
>>> Yes the bundle should be ready to go. Can you open a jira and add 
>>> the steps to reproduce?
>>> It looks like there is a nullpointer in the validator:
>>>
>>> Caused by: java.lang.NullPointerException
>>>         at
>>> org.apache.juddi.validation.ValidatePublish.validateBusinessEntity(Va
>>> lidatePublish.java:357)
>>>
>>> --Kurt
>>>
>>>
>>>     
>>
>>   
>


Re: Juddi SOAP Exception

Posted by Kurt T Stam <ku...@gmail.com>.
Thank you Daniel,

That seems like a bug indeed. What are the steps to reproduce. I'm a bit 
worried why our unittests have not
picked up on this, so I'd like to create a unittest for it to make sure 
this won't come back going forward.

Thx,

--Kurt

djmijares wrote:
> Hi Kurt, 
>
> I was browsing around because I was getting this same error. 
>
> I could only get the Authentication Token from the Hello World example to
> work. The Simple Publish file was blowing up on me before it was trying to
> save the Business if I remember right. 
>
> Anyways, what I found that was causing it was a property in the
> juddiv3.properties file.  
>
> juddi.keygenerator=org.apache.juddi.keygen.KeyGenerator
>
> is what comes with the package juddi portal bundle 3.0.2
>
> When I looked at the source KeyGenerator.java is an interface class so I
> changed the property to 
>
> juddi.keygenerator=org.apache.juddi.keygen.DefaultKeyGenerator
>
> Which an implementation of Key Generator.  And this smoothed it out.  
>
> I just wanted to let you know what I found out, I may have overlooked it,
> but I did not see that in the documentation and maybe it might be worth
> adding that in :)
>
> Cheers!
>
> Daniel
>
>
> Kurt T Stam-4 wrote:
>   
>> Hi Franklin,
>>
>> Yes the bundle should be ready to go. Can you open a jira and add the 
>> steps to reproduce?
>> It looks like there is a nullpointer in the validator:
>>
>> Caused by: java.lang.NullPointerException
>>         at
>> org.apache.juddi.validation.ValidatePublish.validateBusinessEntity(Va
>> lidatePublish.java:357)
>>
>> --Kurt
>>
>>
>>     
>
>   


Re: Juddi SOAP Exception

Posted by djmijares <dj...@miners.utep.edu>.
Hi Kurt, 

I was browsing around because I was getting this same error. 

I could only get the Authentication Token from the Hello World example to
work. The Simple Publish file was blowing up on me before it was trying to
save the Business if I remember right. 

Anyways, what I found that was causing it was a property in the
juddiv3.properties file.  

juddi.keygenerator=org.apache.juddi.keygen.KeyGenerator

is what comes with the package juddi portal bundle 3.0.2

When I looked at the source KeyGenerator.java is an interface class so I
changed the property to 

juddi.keygenerator=org.apache.juddi.keygen.DefaultKeyGenerator

Which an implementation of Key Generator.  And this smoothed it out.  

I just wanted to let you know what I found out, I may have overlooked it,
but I did not see that in the documentation and maybe it might be worth
adding that in :)

Cheers!

Daniel


Kurt T Stam-4 wrote:
> 
> Hi Franklin,
> 
> Yes the bundle should be ready to go. Can you open a jira and add the 
> steps to reproduce?
> It looks like there is a nullpointer in the validator:
> 
> Caused by: java.lang.NullPointerException
>         at
> org.apache.juddi.validation.ValidatePublish.validateBusinessEntity(Va
> lidatePublish.java:357)
> 
> --Kurt
> 
> 

-- 
View this message in context: http://old.nabble.com/Juddi-SOAP-Exception-tp28779614p29026026.html
Sent from the jUDDI - User mailing list archive at Nabble.com.


Re: Juddi SOAP Exception

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

Yes the bundle should be ready to go. Can you open a jira and add the 
steps to reproduce?
It looks like there is a nullpointer in the validator:

Caused by: java.lang.NullPointerException
        at org.apache.juddi.validation.ValidatePublish.validateBusinessEntity(Va
lidatePublish.java:357)

--Kurt



Franklin Dorbon wrote:
> Hello,
> I have downloaded the "Portal" bundle and was able to navigate to the
> juddi portal page as well as list the services. I was also able to run
> the Hello World auth token test successfully. However when I try to
> run the SimplePublish demo I get an error in my client code:
>
>
> javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing.
> 	at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(Unknown
> Source)
> 	at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(Unknown
> Source)
> 	at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
> 	at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
> 	at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
> 	at $Proxy44.saveBusiness(Unknown Source)
> 	at juddiclienttest.SimplePublish.publish(SimplePublish.java:92)
> 	at juddiclienttest.SimplePublish.main(SimplePublish.java:122)
>
> Although I am able to navigate successfully to the portal page, but
> after I login one of the windows says:
> The requested resource
> (/uddi-portlets/PlutoInvoker/UDDIBrowserPortlet) is not available
>
> Do I have to do some extra building steps? I thought the Portal was
> pre-configured/pre-compiled?
>
> Any help is greatly appreciated.
>
> Thanks,
> Franklin
>
>
>
>
> There is also an error in the Tomcat server:
>
>
> WARNING: Application {urn:uddi-org:v3_service}UDDI_Publish_Port#{urn:uddi-org:v3
> _service}save_business has thrown exception, unwinding now
> org.apache.cxf.interceptor.Fault
>         at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractIn
> voker.java:148)
>         at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJ
> AXWSMethodInvoker.java:83)
>         at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker
> .java:114)
>         at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.jav
> a:55)
>         at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker
> .java:68)
>         at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInv
> okerInterceptor.java:58)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
> 1)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecu
> tor.java:37)
>         at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Se
> rviceInvokerInterceptor.java:106)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept
> orChain.java:243)
>         at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainIniti
> ationObserver.java:104)
>         at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDes
> tination.java:99)
>         at org.apache.cxf.transport.servlet.ServletController.invokeDestination(
> ServletController.java:358)
>         at org.apache.cxf.transport.servlet.ServletController.invoke(ServletCont
> roller.java:187)
>         at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCX
> FServlet.java:163)
>         at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCX
> FServlet.java:141)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:191)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:127)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> ava:102)
>         at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.ja
> va:394)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> ve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
> a:298)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> :852)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
> ss(Http11Protocol.java:588)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
> 9)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.NullPointerException
>         at org.apache.juddi.validation.ValidatePublish.validateBusinessEntity(Va
> lidatePublish.java:357)
>         at org.apache.juddi.validation.ValidatePublish.validateSaveBusiness(Vali
> datePublish.java:240)
>         at org.apache.juddi.api.impl.UDDIPublicationImpl.saveBusiness(UDDIPublic
> ationImpl.java:480)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abst
> ractInvoker.java:166)
>         at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker
> .java:82)
>         ... 30 more
>