cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@infoplanning.com>
Subject [C2] Problem with ESQL/XSP in form
Date Wed, 20 Dec 2000 20:27:18 GMT
I am enclosing the form page I am creating (a sample to
add employees/departments to database).  Unfortunately,
I am getting a strange TRaX Error.  I included all the
associated files.

Here is the generated page (including the error):
----------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/WD-html-in-xml/DTD/xhtml1-strict.dtd">
<html><head><title>Add an Employee</title></head><body vlink="blue"
link="blue" alink="red" bgcolor="white">
    <h2 style="color: navy; text-align: center">Add an Employee</h2>
    <content>
      <form action="process-employee" method="POST">
        <input name="process" type="hidden" value="Add">
        <p align="left"><i>Employee Name: <input name="name" type="text"></i></p>
        <p align="left"><i>Department:
          <select name="department">

                <item>

                  Programmers
                </item>

                <item value="1">

                  Loungers
                </item>

                <item value="2">

                  Testors
                </item>

                <item value="3">

                  Managers
                </item>

                <item value="4">

                  Bean Counters
                </item>

          </select>
        </i></p>
        <input<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/WD-html-in-xml/DTD/xhtml1-strict.dtd">
<html xmlns:error="http://apache.org/cocoon/2.0/error"><head><title>:Error
creating the resource</title></head><body
bgcolor="#ffffff"><table cellspacing="2" cellpadding="2" bgcolor="#000000" border="0"><tbody><tr><td
colspan="2"
bgcolor="#0086b2"><font size="+2" face="arial,helvetica,sanserif" color="#ffffff">Error
creating the
resource</font></td></tr><tr><td valign="top" bgcolor="#0086b2"><font
size="+1" face="arial,helvetica,sanserif"
color="#ffffff"></font></td><td bgcolor="#ffffff"><font face="arial,helvetica,sanserif">TRaX
Transform
Throwable</font></td></tr><tr><td colspan="2" valign="top" bgcolor="#0086b2"><font
size="+1" face="arial,helvetica,sanserif"
color="#ffffff">details</font></td></tr><tr><td valign="top"
bgcolor="#0086b2"><font color="#ffffff"
face="arial,helvetica,sanserif">from</font></td><td bgcolor="#ffffff"><font
face="arial,helvetica,sanserif"></font></td></tr><tr><td
valign="top" bgcolor="#0086b2"><font color="#ffffff" face="arial,helvetica,sanserif">source</font></td><td
bgcolor="#ffffff"><font
face="arial,helvetica,sanserif">org.xml.sax.SAXException</font></td></tr><tr><td
valign="top" bgcolor="#0086b2"><font
face="arial,helvetica,sanserif" color="#ffffff">description</font></td><td
bgcolor="#ffffff"><font
face="arial,helvetica,sanserif">javax.xml.transform.TransformerException: TRaX Transform
Throwable</font></td></tr><tr><td
colspan="2" valign="top" bgcolor="#0086b2"><font size="+1" face="arial,helvetica,sanserif"
color="#ffffff">extra
info</font></td></tr><tr><td valign="top" bgcolor="#0086b2"><font
face="arial,helvetica,sanserif" color="#ffffff"></font></td><td
bgcolor="#ffffff"><pre>javax.xml.transform.TransformerException: TRaX Transform Throwable
 at org.apache.xalan.stree.SourceTreeHandler.endDocument(SourceTreeHandler.java:373)
 at org.apache.cocoon.xml.ContentHandlerWrapper.endDocument(ContentHandlerWrapper.java:98)
 at org.apache.cocoon.generation.ServerPagesGenerator.endDocument(ServerPagesGenerator.java:202)
 at _D_._jakarta_tomcat_3_2._webapps._cocoon._docs._samples._forms._add_employee_xsp.generate(_add_employee_xsp.java:514)
 at org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:149)
 at org.apache.cocoon.sitemap.ResourcePipeline.process(ResourcePipeline.java:201)
 at _D_._jakarta_tomcat_3_2._webapps._cocoon._sitemap_xmap.process(_sitemap_xmap.java:1912)
 at org.apache.cocoon.sitemap.Handler.process(Handler.java:142)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:89)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:243)
 at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:317)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
 at org.apache.tomcat.core.Handler.service(Handler.java:286)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)
</pre></td></tr></tbody></table></body></html>
----------------------------------------------------------------

---------------------------------------
If you lust for Ham and Eggs, you have
committed breakfast in your heart
already.   -- C. S. Lewis

Mime
View raw message