You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Rajesh Acharya <ra...@infoglyptic.com> on 2002/06/19 14:52:22 UTC
java.io.IOException: Broken pipe Exception while running cocoon on JBoss 3.0
Running cocoon on JBoss 3.0 Final with Tomcat 4.0.3 (Integrated).
For those who may still be having problems:
I have copied the jar files xerces-xxx.jar, xml-api.jar and batik-lib.jar to
<JBoss_Home>/lib directory.
In the run.sh file I have changed the classpath to include
JBOSS_CLASSPATH="$JBOSS_BOOT_CLASSPATH:$JAVAC_JAR:$JBOSS_HOME/lib/xerces-1.4.
4.jar:$JBOSS_HOME/lib/xml-apis.jar:$JBOSS_HOME/lib/batik-libs.jar"
I have also moved the line outside of the comments as mentioned inside
cocoon.conf
<parser class="org.apache.cocoon.components.parser.XercesParser"/>
Finally I was able to run Cocoon on JBoss 3.0 with Tomact 4.0.3. Definetely
not satisfied with the crude methods I followed :-)
Was able to see desired results on the browser by clicking on most of the
trial links.
It's great...
But...
I am getting the following error when the Documentation link is clicked.
******************Errors Start here*************
16:28:00,427 INFO [Engine] DEBUG (2002-06-19) 16:28.00:427 [ ]
(/cocoon/documents/index.html) HttpProcessor[8080][0]/DefaultLogKitManager:
Logger for category root.xslt returned
16:28:00,433 INFO [Engine] DEBUG (2002-06-19) 16:28.00:433 [ ]
(/cocoon/documents/index.html) HttpProcessor[8080][0]/DefaultLogKitManager:
Logger for category root.xslt returned
17:27:54,287 ERROR [Engine] StandardWrapperValve[Cocoon2]: Servlet.service()
for servlet Cocoon2 threw exception
java.io.IOException: Broken pipe
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java:96)
at
org.apache.catalina.connector.ResponseBase.flushBuffer(ResponseBase.java:679)
at
org.apache.catalina.connector.HttpResponseBase.flushBuffer(HttpResponseBase.java:757)
at
org.apache.catalina.connector.ResponseBase.write(ResponseBase.java:652)
< ----some more errors go here------->
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x0
Function name=(N/A)
Library=(N/A)
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
****************
Another exception has been detected while we were handling last error.
Dumping information about last error:
ERROR REPORT FILE = (N/A)
PC = 0x(nil)
SIGNAL = 11
FUNCTION NAME = (N/A)
LIBRARY NAME = (N/A)
Please check ERROR REPORT FILE for further information, if there is any.
Good bye.
******************Errors end here****************
Can any gurus share their views on this? Is there a better way to run Cocoon
on JBoss 3.0 than the method I have tried?? The worst thing is that I am
unable to shut down JBoss with usual Ctrl + C !! I have to go to process
manager and kill a few java processes to shut it down hmm....
Regards,
Rajesh
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>