[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-1838) WSRP config problem

Chris Laprun (JIRA) jira-events at lists.jboss.org
Wed Dec 5 19:30:51 EST 2007


    [ http://jira.jboss.com/jira/browse/JBPORTAL-1838?page=comments#action_12390777 ] 
            
Chris Laprun commented on JBPORTAL-1838:
----------------------------------------

If you erase the local registration when there's no need to, you will see the following expected error:
javax.xml.rpc.soap.SOAPFaultException: Could not register consumer named '192.168.0.104'. Consumer named '192.168.0.104' has already been registered with the same set of registration properties. Registration rejected!

This is expected because you erased the local registration information. On the next refresh, the consumer will try to register again with the only information that is available to it (which is the same as the one that was used for the previous registration). The producer will reject this registration as for it, the consumer is still registered and the default policy is to not accept registration with the same information as specified by DefaultRegistrationPolicy.

I have fixed the problem with the confirmation screen not going back to the configuration screen.

> WSRP config problem
> -------------------
>
>                 Key: JBPORTAL-1838
>                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1838
>             Project: JBoss Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Portal WSRP
>    Affects Versions: 2.6.3 Final
>            Reporter: Prabhat Jha
>         Assigned To: Chris Laprun
>             Fix For: 2.6.3 Final
>
>
> - Login as admin and go to WSRP page
> - Click configuration page for self consumer
> - Erase local registration
> - It stays on the same window and prompts to erase  registration again
> - It should take you back to the configuration page
> After that , I keep seeing following error in server side:
> Caused by: org.jboss.portal.wsrp.core.OperationFailedFault
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtElementHandler.newInstance(RtElementHandler.java:1014)
>         at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtElementHandler.startElement(RtElementHandler.java:748)
>         at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtElementHandler.startParticle(RtElementHandler.java:89)
>         at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:593)
>         at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:324)
>         at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>         at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
>         at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
>         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
>         at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>         at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:175)
>         at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:126)
>         at org.jboss.ws.core.jaxrpc.binding.jbossxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:61)
>         at org.jboss.ws.core.jaxrpc.binding.JBossXBDeserializer.deserialize(JBossXBDeserializer.java:103)
>         at org.jboss.ws.core.jaxrpc.binding.JBossXBDeserializer.deserialize(JBossXBDeserializer.java:62)
>         at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.getSOAPFaultException(SOAPFaultHelperJAXRPC.java:147)
>         at org.jboss.ws.core.jaxrpc.SOAP11BindingJAXRPC.throwFaultException(SOAP11BindingJAXRPC.java:68)
>         at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:553)
>         at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:371)
>         at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:517)
>         at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277)
>         at org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:151)
>         at $Proxy220.register(Unknown Source)
>         at org.jboss.portal.wsrp.consumer.ProducerInfo.register(ProducerInfo.java:786)
>         at org.jboss.portal.wsrp.consumer.ProducerInfo.internalRefresh(ProducerInfo.java:349)
>         at org.jboss.portal.wsrp.consumer.ProducerInfo.detailedRefresh(ProducerInfo.java:254)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list