You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-user@portals.apache.org by "Sauter-Fischer, Siegfried" <Si...@t-mobile.de> on 2007/10/01 09:47:48 UTC

AW: Error while viewing wsrp portlets

Hello,
 
there are several errors in your log file, so I wonder which is the real one. Think the execption in servlet destroy method doesn't really matter.
For me the very most important error is the WSRPException. Take a look at the cause of this error. It's due an axis fault created while the getServiceDescription method is called.
 
<snip>

	Caused by: java.lang.reflect.InvocationTargetException
	 at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
	 at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
	 at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
	 at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	 at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(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 javax.xml.parsers.SAXParser.parse(Unknown Source)
	 at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
	 at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
	 at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
	 at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
	 at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
	 at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
	 at org.apache.axis.client.Call.invoke(Call.java:2767)
	 at org.apache.axis.client.Call.invoke(Call.java:2443)
	 at org.apache.axis.client.Call.invoke(Call.java:2366)
	 at org.apache.axis.client.Call.invoke(Call.java:1812)
	 at oasis.names.tc.wsrp.v1.bind.WSRP_v1_ServiceDescription_Binding_SOAPStub.getServiceDescription(WSRP_v1_ServiceDescription_Binding_SOAPStub.java:745)
	 at org.apache.wsrp4j.commons.consumer.driver.producer.ProducerImpl.getServiceDescription(ProducerImpl.java:419)
	 ... 71 more
	</snip>

 
In this stack trace you can see:

*	The error occurs while axis tries to deserialize the stream.
	at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
*	There is some problem to parse the end element
	at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)

It's very likely a xml start tag is unmatched. Seem's the xml is not well formed. This may happen, if an error occurs during the creation of the xml content. Try to catch the xml content to learn more. To do so, you can try to get the service description wsdl with a browser or you can try to catch the stream by using a tool like a TCP-Monitor. A TCP-Monitior called  tcpmon is included in the axis framework.
 
An other way to get the stream: Set org.apache.axis.transport.http.HTTPSender log level to debug.
 
kind regards
 
Siegfried Sauter-Fischer

	


T-Mobile Deutschland GmbH
Aufsichtsrat: Hamid Akhavan (Vorsitzender)
Geschäftsführung: Philipp Humm (Sprecher), Thomas Berlemann, Stefan Homeister, Holger Kranzusch, Günther Ottendorfer, Dr. Raphael Kübler, Dr. Steffen Roehn
Handelsregister: Amtsgericht Bonn, HRB 59 19
Sitz der Gesellschaft: Bonn
WEEE-Reg.-Nr.: DE60800328



	Von: B Ramesh [mailto:bulusu.ramesh@gmail.com] 
	Gesendet: Samstag, 29. September 2007 13:42
	An: wsrp4j-user@portals.apache.org
	Betreff: Error while viewing wsrp portlets
	
	
	Hi!
	
	I'm trying to deploy wsrp portlets in pluto.
	While i've been able to successfully deploy the producer, proxy-portlet and test-portlet.
	I'm unable to see contents of the portlet.
	I'm adding the portlets to secondary page of pluto. 
	The "producer registry configuration" "deployed portlets configuration" portlets get added successfully. However the wsrp portlet A and wsrp portlet B give errors.
	Even in the "producer registry configuration" i'm able to see proxy portlets from IBM, bea etc... but when i click on the link "view offered portlets" it gives an error, saying  connection refused. 
	i'm attaching the log of the error it gives. Please let me know if i'm missing any setting here.
	
	configuration details: 
	tomcat - pluto bundle 1.1.0.
	wsrp4j 0.5 snapshot rev 568430
	win2k
	pluto 1.1.5- snapshot
	
	P.S: i'm also running the tcpmon utility on all ports from 9101 to 9106
	
	-- 
	www.easy-share.tk