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 stephen chi zhang <sc...@viator.com> on 2004/02/24 00:14:25 UTC

Container name is not unique exception

Hi all,
I am using tomcat as my comsumer and resin as the producer. Not always, 
but sometimes, an wsrp4j IllegalArgumentException saying "Container name 
is not unique" is printed on tomcat log(consumer side). This cannot be 
solved until I restart the resin producer. However, since the log is 
printed on the comsumer end, I am guessing this could be a problem with 
the consumer.
The useful portion of stack trace has been attached for reference. Any 
comment is appreciated and thanks in advance.

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.lang.IllegalArgumentException: The given container 
name is not unique: wsrp4j
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace: AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.lang.IllegalArgumentException: The given container 
name is not unique: wsrp4j
 faultActor:
 faultNode:
 faultDetail:

java.lang.IllegalArgumentException: The given container name is not 
unique: wsrp4j
        at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
        at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
        at 
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
        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.DTDConfiguration.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)
         ......................................

 


--
www.viator.com

Re: Container name is not unique exception

Posted by Ted Toth <tx...@yahoo.com>.
I'm using Tomcat, Pluto and wsrp4j and having the same problem with the SwingConsumer. Does anyone have an idea what this problem might be or a good way to firgure it out?
 
Ted

stephen chi zhang <sc...@viator.com> wrote:
Hi all,
I am using tomcat as my comsumer and resin as the producer. Not always, 
but sometimes, an wsrp4j IllegalArgumentException saying "Container name 
is not unique" is printed on tomcat log(consumer side). This cannot be 
solved until I restart the resin producer. However, since the log is 
printed on the comsumer end, I am guessing this could be a problem with 
the consumer.
The useful portion of stack trace has been attached for reference. Any 
comment is appreciated and thanks in advance.

AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.IllegalArgumentException: The given container 
name is not unique: wsrp4j
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.IllegalArgumentException: The given container 
name is not unique: wsrp4j
faultActor:
faultNode:
faultDetail:

java.lang.IllegalArgumentException: The given container name is not 
unique: wsrp4j
at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
at 
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
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.DTDConfiguration.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)
......................................




--
www.viator.com

---------------------------------
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.