cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vgritse...@hns.com>
Subject RE: SocketException in Weblogic 5.1
Date Tue, 09 Jan 2001 14:28:21 GMT
These SocketExceptions are known bug in WL,
try to upgrade to latest service pack.

PS There is no Cocoon in your stacktrace - may be you should write to WL
newsgroup?

Vadim

> -----Original Message-----
> From: Amit R Bhamare [mailto:amit_b@infy.com]
> Sent: Tuesday, January 09, 2001 8:25
> To: 'cocoon-users@xml.apache.org'
> Subject: SocketException in Weblogic 5.1
>
>
> Hi,
> I am trying to run the simple "country" example given on the user's guide
> page of the cocoon site.
> I get the initial display of a listbox & submit button, but when
> I select A
> country code & press submit,
> it thows following error on the weblogic server & comes back to the same
> page.
> Can somebody please help me?
> TIA,
> Amit
>
> The error thrown on the server ==>
> Tue Jan 09 18:24:58 GMT+05:30 2001:<E> <ServletContext-cocoon> Servlet
> failed with Exception
> java.net.SocketException: socket write error (code=10053)
>         at java.net.SocketOutputStream.socketWrite(Native Method)
>         at java.net.SocketOutputStream.write(SocketOutputStream.java:87)
>         at
> weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java,
> Compiled Code)
>         at
> weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOut
> putStreamI
> mpl.java, Compiled Code)
>         at
> weblogic.servlet.internal.ServletOutputStreamImpl.writeStream(Serv
> letOutputS
> treamImpl.java, Compiled Code)
>         at weblogic.servlet.FileServlet.sendFile(FileServlet.java:199)
>         at weblogic.servlet.FileServlet.service(FileServlet.java:56)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>         at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStu
> bImpl.java
> :105)
>         at
> weblogic.servlet.internal.ServletContextImpl.invokeServlet(Servlet
> ContextImp
> l.java:742)
>         at
> weblogic.servlet.internal.ServletContextImpl.invokeServlet(Servlet
> ContextImp
> l.java:686)
>         at
> weblogic.servlet.internal.ServletContextManager.invokeServlet(Serv
> letContext
> Manager.java:247)
>         at
> weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.
> java:361)
>         at
> weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
>         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
> Code)
>
>
>
> The xml file is  ==>
>
> <?xml version="1.0"?>
>  <?cocoon-process type="xslt"?>
>  <?xml-stylesheet href="page.xsl" type="text/xsl"?>
>  <page>
>    <country code="ca">Canada</country>
>    <country code="de">Germany</country>
>    <country code="fr">France</country>
>    <country code="uk">United Kingdom</country>
>    <country code="us">United States</country>
>    <country code="es">Spain</country>
>  </page>
>
>
> The XSL file is ==>
>
> <?xml version="1.0"?>
>  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
>
>    <xsl:param name="countrycode"/>
>
>    <xsl:template match="page">
>      <html>
>        <body>
>          <xsl:choose>
>
>            <xsl:when test="not($countrycode)">
>              <p>Choose a country:</p>
>              <form action="countries.xml" method="get">
>                <select name="countrycode" size="1">
>                  <xsl:apply-templates select="country" mode="form"/>
>                </select>
>                <input type="submit"/>
>              </form>
>            </xsl:when>
>
>            <xsl:when test="country[@code=$countrycode]">
>              <xsl:apply-templates select="country[@code=$countrycode]"
>                mode="selected"/>
>            </xsl:when>
>
>            <xsl:otherwise>
>              <p>Unknown country code
>                 <em><xsl:value-of select="$countrycode"/></em>.
>              </p>
>            </xsl:otherwise>
>
>          </xsl:choose>
>        </body>
>      </html>
>    </xsl:template>
>
>    <xsl:template match="country" mode="form">
>      <option><xsl:value-of select="@code"/></option>
>    </xsl:template>
>
>    <xsl:template match="country" mode="selected">
>      <p><em><xsl:value-of select="@code"/></em> stands for
>         <xsl:value-of select="text()"/></p>
>    </xsl:template>
>
>  </xsl:stylesheet>
>
>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>


Mime
View raw message