xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adriana Nitescu (JIRA)" <xalan-...@xml.apache.org>
Subject [jira] Created: (XALANC-457) The buffer manager cannot provide any more buffers
Date Tue, 08 Feb 2005 14:30:17 GMT
The buffer manager cannot provide any more buffers
--------------------------------------------------

         Key: XALANC-457
         URL: http://issues.apache.org/jira/browse/XALANC-457
     Project: XalanC
        Type: Bug
  Components: XalanC  
    Versions: 1.9    
 Environment: Windoxs XP SP2, Visual C++ 6 SP5

i am using Xalan-C_1_9_0-win32-msvc_60.zip and xerces-c_2_6_0-windows_nt-msvc_60.zip distributions
    Reporter: Adriana Nitescu
    Priority: Critical


I have a SAXParseException

SAXParseException: An exception occurred! Type:RuntimeException, Message:The buffer manager
cannot provide any more buffers (C:\multilevel.xml, line 2, column 1867)

when transforming the file

<?xml version="1.0" encoding="UTF-8"?>
<pd:ProcessDefinition xmlns:pd="http://xmlns.tbc.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:pfx="urn:AccountingNS" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pfx2="http://www.lbd.lu/AccountingMovement"
xmlns:tib="http://www.tbc.com/bw/xslt/custom-functions" xmlns:pfx3="http://www.lbd.lu/AccountingMovement/OperationImpl"
xmlns:ns="http://tbc.com/namespaces/tnt/plugins/soap" xmlns:pfx4="http://www.lbd.lu/ClassAccountingMovementEAI/OperationImpl"
xmlns:pfx5="http://www.lbd.lu/ClassAccountingMovementEAI_WSDL/GetAccountingMovementImpl" xmlns:pfx6="http://tempuri.org/CodaServices/wsdl/"
xmlns:pfx7="http://www.lbd.lu/ClassAccountingMovementEAI_WSDL/GetAccountingMovementImpl/GetAccountingMovementImpl"
xmlns:pfx8="http://www.lbd.lu/AccountingMovement/OperationImplCIA" xmlns:pfx9="http://www.lbd.lu/AccountingMovement/OperationImpl/ciaAccountingMovement"
xmlns:ns1="http://www.tbc.com/pe/EngineTypes" xmlns:pfx10="http://www.tbc.com/pe/GenerateErrorActivity/InputSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pfx11="http://xmlns.example.com/1086248798244"
xmlns:pfx12="http://www.lbd.lu/ClassBroker" xmlns:pfx13="urn:webservices" xmlns:ns2="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:pfx14="http://lia-pc007:8080/class/services/ExternalAccountWS" xmlns:pfx15="http://www.lbd.lu/AccountingMovement/OperationImpl/GetAccountingMovementImpl"
xmlns:ns3="http://www.tbc.com/pe/DeployedVarsType" xmlns:pfx16="http://ciaAccountingMovement"
xmlns:pfx17="http://classAccountingMovement" xmlns:pfx18="urn:classAccountingMovement" xmlns:pfx19="http://ciaAccountingMovement/getAccountingMovementImpl"
xmlns:ns4="http://schemas.tbc.com/bw/plugins/soap/5.0/SoapPluginExceptions" xmlns:pfx20="http://AuxiliaryBookkeepingService"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pfx21="AccountingMovementFlow">
    <xsd:import namespace="http://AuxiliaryBookkeepingService" schemaLocation="/SharedResources/ClassWSDL/AuxiliaryBookkeepingWSDL.wsdl"/>
    <xsd:import namespace="AccountingMovementFlow" schemaLocation="/AccountingMovement/WSDL/ciaAccountingMovementConcrete.wsdl"/>
    <wsdl:import namespace="urn:AccountingNS" location="/ClassMovement/WSDL/ClassAccountingMovementWSDL.wsdl"/>
    <wsdl:import namespace="http://www.lbd.lu/ClassAccountingMovementEAI/OperationImpl"
location="/ClassMovement/ClassAccountingMovementEAIWSDL/ClassAccountingMovementEAIConcrete.wsdl"/>
    <wsdl:import namespace="http://www.lbd.lu/ClassAccountingMovementEAI_WSDL/GetAccountingMovementImpl/GetAccountingMovementImpl"
location="/ClassMovement/WSDL/ClassAccountingMovementEAI_Concrete_WSDL.wsdl"/>
    <wsdl:import namespace="http://www.lbd.lu/AccountingMovement/OperationImplCIA" location="/ClassMovement/WSDL/CiaAccountingMovement.wsdl"/>
    <wsdl:import namespace="http://www.lbd.lu/AccountingMovement/OperationImpl" location="/ClassMovement/WSDL/AccountingMovementConcrete.wsdl"/>
    <wsdl:import namespace="http://www.lbd.lu/ClassAccountingMovementEAI_WSDL/GetAccountingMovementImpl"
location="/ClassMovement/WSDL/ClassAccountingMovementEAI_WSDL.wsdl"/>
    <wsdl:import namespace="http://www.lbd.lu/AccountingMovement/OperationImpl/GetAccountingMovementImpl"
location="/ClassMovement/WSDL/CiaAccountingMovementConcrete.wsdl"/>
    <wsdl:import namespace="urn:webservices" location="/AccountingMovement/WSDL/classAccountingMovement.wsdl"/>
    <wsdl:import namespace="http://AuxiliaryBookkeepingService" location="/SharedResources/ClassWSDL/AuxiliaryBookkeepingWSDL.wsdl"/>
    <wsdl:import namespace="http://ciaAccountingMovement" location="/AccountingMovement/WSDL/ciaAccountingMovement.wsdl"/>
    <pd:name>AccountingMovement/GLService.process</pd:name>
    <pd:startName>SOAPEventSource</pd:startName>
    <pd:startX>0</pd:startX>
    <pd:startY>0</pd:startY>
    <pd:returnBindings/>
    <pd:starter name="SOAPEventSource">
        <pd:type>com.tbc.plugin.soap.SOAPEventSource</pd:type>
        <pd:resourceType>ae.activities.SOAPEventSourceUI</pd:resourceType>
        <pd:x>57</pd:x>
        <pd:y>65</pd:y>
        <config>
            <_eventTimeout>60000</_eventTimeout>
            <service>pfx16:PortType</service>
            <operation>getAccountingMovement</operation>
            <attachmentStyle>none</attachmentStyle>
            <wsdlNamespaceRoot>http://ciaAccountingMovement/getAccountingMovementImpl</wsdlNamespaceRoot>
            <operationStyle>rpc</operationStyle>
            <soapUse>encoded</soapUse>
            <inputNamespace>InputMessageNamespace</inputNamespace>
            <outputNamespace>OutputMessageNamespace</outputNamespace>
            <faultNamespace>FaultMessageNamespace</faultNamespace>
            <embedWsdlComponents>true</embedWsdlComponents>
            <embedSchemaComponents>true</embedSchemaComponents>
            <soapAction>/ClassMovement/CIA_test_EAI</soapAction>
            <sharedChannel>/SharedResources/WebService HTTP Connection.sharedhttp</sharedChannel>
            <sharedChannels>
                <httpChannel>
                    <useBasicAuthentication>false</useBasicAuthentication>
                </httpChannel>
            </sharedChannels>
        </config>
        <pd:inputBindings/>
    </pd:starter>
    <pd:endName>End</pd:endName>
    <pd:endX>967</pd:endX>
    <pd:endY>75</pd:endY>
    <pd:errorSchemas/>
    <pd:processVariables/>
    <pd:activity name="SOAPSendFault">
        <pd:type>com.tbc.plugin.soap.SOAPSendFaultActivity</pd:type>
        <pd:resourceType>ae.activities.SOAPSendFaultUI</pd:resourceType>
        <pd:x>349</pd:x>
        <pd:y>554</pd:y>
        <config>
            <faultMessage>&lt;Default&gt;</faultMessage>
            <eventSource>SOAPEventSource</eventSource>
        </config>
        <pd:inputBindings>
            <defaultFaultElement>
                <faultcode>
                    <xsl:value-of select="1"/>
                </faultcode>
                <faultstring>
                    <xsl:value-of select="$_error/ns1:ErrorReport/StackTrace"/>
                </faultstring>
            </defaultFaultElement>
        </pd:inputBindings>
    </pd:activity>
    <pd:activity name="Generate Error">
        <pd:type>com.tbc.pe.core.GenerateErrorActivity</pd:type>
        <pd:resourceType>ae.activities.throw</pd:resourceType>
        <pd:x>947</pd:x>
        <pd:y>554</pd:y>
        <config>
            <faultName/>
        </config>
        <pd:inputBindings>
            <pfx10:ActivityInput/>
        </pd:inputBindings>
    </pd:activity>
    <pd:activity name="auxiliaryBookkeepingService">
        <pd:type>com.tbc.pe.core.CallProcessActivity</pd:type>
        <pd:resourceType>ae.process.subprocess</pd:resourceType>
        <pd:x>245</pd:x>
        <pd:y>75</pd:y>
        <config>
            <processName>/AccountingMovement/auxiliaryBookkeepingProcess.process</processName>
        </config>
        <pd:inputBindings>
            <root>
                <GLServiceInputParameters>
                    <startPeriodDate>
                        <xsl:value-of select="$SOAPEventSource/getAccountingMovement/periodRequest/startPeriodDate"/>
                    </startPeriodDate>
                    <endPeriodDate>
                        <xsl:value-of select="$SOAPEventSource/getAccountingMovement/periodRequest/endPeriodDate"/>
                    </endPeriodDate>
                    <xsl:if test="$SOAPEventSource/getAccountingMovement/periodRequest/status">
                        <status>
                            <xsl:copy-of select="$SOAPEventSource/getAccountingMovement/periodRequest/status/@xsi:nil"/>
                            <xsl:value-of select="$SOAPEventSource/getAccountingMovement/periodRequest/status"/>
                        </status>
                    </xsl:if>
                </GLServiceInputParameters>
            </root>
        </pd:inputBindings>
    </pd:activity>
    <pd:activity name="SOAPSendFault-1">
        <pd:type>com.tbc.plugin.soap.SOAPSendFaultActivity</pd:type>
        <pd:resourceType>ae.activities.SOAPSendFaultUI</pd:resourceType>
        <pd:x>635</pd:x>
        <pd:y>185</pd:y>
        <config>
            <faultMessage>&lt;Default&gt;</faultMessage>
            <eventSource>SOAPEventSource</eventSource>
        </config>
        <pd:inputBindings>
            <defaultFaultElement>
                <faultcode>
                    <xsl:value-of select="1"/>
                </faultcode>
                <faultstring>
                    <xsl:value-of select="$_error/ns1:ErrorReport/StackTrace"/>
                </faultstring>
            </defaultFaultElement>
        </pd:inputBindings>
    </pd:activity>
    <pd:activity name="Generate-Error-1">
        <pd:type>com.tbc.pe.core.GenerateErrorActivity</pd:type>
        <pd:resourceType>ae.activities.throw</pd:resourceType>
        <pd:x>943</pd:x>
        <pd:y>195</pd:y>
        <config>
            <faultName/>
        </config>
        <pd:inputBindings>
            <pfx10:ActivityInput>
                <message>
                    <xsl:value-of select="$_error_SOAPSendReply/ns4:ServerException/msg"/>
                </message>
            </pfx10:ActivityInput>
        </pd:inputBindings>
    </pd:activity>
    <pd:activity name="SOAPSendReply">
        <pd:type>com.tbc.plugin.soap.SOAPSendReplyActivity</pd:type>
        <pd:resourceType>ae.activities.SOAPSendReplyUI</pd:resourceType>
        <pd:x>521</pd:x>
        <pd:y>65</pd:y>
        <config>
            <eventSource>SOAPEventSource</eventSource>
        </config>
        <pd:inputBindings>
            <getAccountingMovementResponse>
                <periodResponse>
                    <xsl:copy-of select="$auxiliaryBookkeepingService/root/GLmovementsOutput/movement/ancestor-or-self::*/namespace::node()"/>
                    <xsl:copy-of select="$auxiliaryBookkeepingService/root/GLmovementsOutput/movement/@*"/>
                    <xsl:copy-of select="$auxiliaryBookkeepingService/root/GLmovementsOutput/movement/node()"/>
                </periodResponse>
            </getAccountingMovementResponse>
        </pd:inputBindings>
    </pd:activity>
    <pd:transition>
        <pd:from>SOAPSendFault</pd:from>
        <pd:to>Generate Error</pd:to>
        <pd:lineType>Default</pd:lineType>
        <pd:lineColor>-16777216</pd:lineColor>
        <pd:conditionType>always</pd:conditionType>
    </pd:transition>
    <pd:transition>
        <pd:from>SOAPEventSource</pd:from>
        <pd:to>auxiliaryBookkeepingService</pd:to>
        <pd:lineType>Default</pd:lineType>
        <pd:lineColor>-16777216</pd:lineColor>
        <pd:conditionType>always</pd:conditionType>
    </pd:transition>
    <pd:transition>
        <pd:from>SOAPSendFault-1</pd:from>
        <pd:to>Generate-Error-1</pd:to>
        <pd:lineType>Default</pd:lineType>
        <pd:lineColor>-16777216</pd:lineColor>
        <pd:conditionType>always</pd:conditionType>
    </pd:transition>
    <pd:transition>
        <pd:from>auxiliaryBookkeepingService</pd:from>
        <pd:to>SOAPSendReply</pd:to>
        <pd:lineType>Default</pd:lineType>
        <pd:lineColor>-16777216</pd:lineColor>
        <pd:conditionType>always</pd:conditionType>
    </pd:transition>
    <pd:transition>
        <pd:from>SOAPSendReply</pd:from>
        <pd:to>SOAPSendFault-1</pd:to>
        <pd:lineType>Default</pd:lineType>
        <pd:lineColor>-16777216</pd:lineColor>
        <pd:conditionType>error</pd:conditionType>
    </pd:transition>
    <pd:transition>
        <pd:from>SOAPSendReply</pd:from>
        <pd:to>End</pd:to>
        <pd:lineType>Default</pd:lineType>
        <pd:lineColor>-16777216</pd:lineColor>
        <pd:conditionType>always</pd:conditionType>
    </pd:transition>
    <pd:label>
        <pd:name>Label</pd:name>
        <pd:description>CIA web service </pd:description>
        <pd:x>57</pd:x>
        <pd:y>120</pd:y>
        <pd:width>115</pd:width>
        <pd:height>41</pd:height>
        <pd:fontColor>-16777216</pd:fontColor>
        <pd:color>-1</pd:color>
        <pd:type>solid</pd:type>
        <pd:thickness>0</pd:thickness>
        <pd:fade>true</pd:fade>
    </pd:label>
    <pd:label>
        <pd:name>Label (1)</pd:name>
        <pd:description>request Class web service </pd:description>
        <pd:x>268</pd:x>
        <pd:y>23</pd:y>
        <pd:width>156</pd:width>
        <pd:height>47</pd:height>
        <pd:fontColor>-16777216</pd:fontColor>
        <pd:color>-1</pd:color>
        <pd:type>solid</pd:type>
        <pd:thickness>0</pd:thickness>
        <pd:fade>true</pd:fade>
    </pd:label>
    <pd:label>
        <pd:name>Label (1) (1)</pd:name>
        <pd:description>send response to CIA web service </pd:description>
        <pd:x>652</pd:x>
        <pd:y>124</pd:y>
        <pd:width>204</pd:width>
        <pd:height>48</pd:height>
        <pd:fontColor>-16777216</pd:fontColor>
        <pd:color>-1</pd:color>
        <pd:type>solid</pd:type>
        <pd:thickness>0</pd:thickness>
        <pd:fade>true</pd:fade>
    </pd:label>
</pd:ProcessDefinition>


using a the xslt file 

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="/">
		<xsl:element name="empty"/>
	</xsl:template>
</xsl:stylesheet>

To transform the input file I use this code

 XSLTInputSource xml_in("c:\\multilevel.xml");
 XSLTInputSource xsl_in("c:\\empty.xslt");
 XSLTResultTarget xml_out("c:\\xml_out.xml");

 XalanTransformer xalan_transformer;
 xalan_transformer.transform(xml_in, xsl_in, xml_out);


Please don't hesitate to demand more infos. 
Adriana





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Mime
View raw message