[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-cocoon-users
Subject:    setContentType causes exception on Weblogic
From:       Axel_Müller <axel.mueller () i2c-systems ! com>
Date:       1999-12-27 9:15:54
[Download RAW message or body]

Hi everybody,

According to installation notes Cocoon should run on BEA Weblogic of which I run \
version 4.51 Service Pack 4 on top of Solaris 7. However I got the execption below \
every time I tried to access "/Cocoon.xml" on the server. I did not make any changes \
to "cocoon.properties" and followed the installation notes exactly. The exception is \
obviously independent from the JVM version - I tried 1.1.7 and 1.2.2.

Mon Dec 27 09:18:05 CET 1999:<I> <ListenThread> Listening on port: 7001
Mon Dec 27 09:18:08 CET 1999:<I> <SSLListenThread> Listening on port: 7002
Mon Dec 27 09:18:08 CET 1999:<I> <WebLogicServer> WebLogic Server started
Mon Dec 27 09:18:18 CET 1999:<I> <ServletContext-Servlets> org.apache.cocoon.Cocoon: \
init Mon Dec 27 09:18:18 CET 1999:<E> <ServletContext-Servlets> Servlet failed with \
RuntimeException Mon Dec 27 09:18:18 CET 1999:<E> <ServletContext-Servlets> \
java.lang.IllegalStateException: Attempt to change ContentType after calling \
getPrintWriter() at weblogic.servlet.internal.ServletResponseImpl.setContentType(ServletResponseImpl.java, \
Compiled Code) at org.apache.cocoon.Frontend.print(Frontend.java, Compiled Code)
at org.apache.cocoon.Frontend.error(Frontend.java, Compiled Code)
at org.apache.cocoon.Cocoon.service(Cocoon.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, \
Compiled Code) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, \
Compiled Code) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, \
Compiled Code) at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java, \
Compiled Code) at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, \
Compiled Code) at weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java, Compiled \
Code) Mon Dec 27 09:18:18 CET 1999:<E> <HTTP> Servlet request terminiated with \
RuntimeException: 

Anybody has an idea what might be wrong?


Best regards,

Axel Müller

-----------------------------------------------------------------------
i2c IT Systems & Consulting
Phone:  +49-6172-4873-15 / Fax: -77
Mobile: +49-170-8552678
Email:  axel.mueller@i2c-systems.com
WWW:    http://www.i2c-systems.com
Mail:   Ober-Eschbacher-Str. 109, 61352 Bad Homburg, Germany
-----------------------------------------------------------------------


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2014.210" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi everybody,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>According to installation notes Cocoon should run 
on BEA Weblogic of which I run version 4.51 Service Pack 4 on top of Solaris 
7.</FONT></DIV>
<DIV><FONT face=Arial size=2>However I got the execption below every time I 
tried to access "/Cocoon.xml" on the server. I did not make any changes to 
"cocoon.properties" and followed the installation notes exactly. </FONT><FONT 
face=Arial size=2>The exception is obviously independent from the JVM version - 
I tried 1.1.7 and 1.2.2.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Mon Dec 27 09:18:05 CET 1999:&lt;I&gt; 
&lt;ListenThread&gt; Listening on port: 7001</FONT></DIV>
<DIV><FONT face=Arial size=2>Mon Dec 27 09:18:08 CET 1999:&lt;I&gt; 
&lt;SSLListenThread&gt; Listening on port: 7002</FONT></DIV>
<DIV><FONT face=Arial size=2>Mon Dec 27 09:18:08 CET 1999:&lt;I&gt; 
&lt;WebLogicServer&gt; WebLogic Server started</FONT></DIV>
<DIV><FONT face=Arial size=2>Mon Dec 27 09:18:18 CET 1999:&lt;I&gt; 
&lt;ServletContext-Servlets&gt; org.apache.cocoon.Cocoon: init</FONT></DIV>
<DIV><FONT face=Arial size=2>Mon Dec 27 09:18:18 CET 1999:&lt;E&gt; 
&lt;ServletContext-Servlets&gt; Servlet failed with 
RuntimeException</FONT></DIV>
<DIV><FONT face=Arial size=2>Mon Dec 27 09:18:18 CET 1999:&lt;E&gt; 
&lt;ServletContext-Servlets&gt; java.lang.IllegalStateException: Attempt to 
change ContentType after calling getPrintWriter()</FONT></DIV>
<DIV><FONT face=Arial size=2>at 
weblogic.servlet.internal.ServletResponseImpl.setContentType(ServletResponseImpl.java, \
 Compiled Code)</FONT></DIV>
<DIV><FONT face=Arial size=2>at org.apache.cocoon.Frontend.print(Frontend.java, 
Compiled Code)</FONT></DIV>
<DIV><FONT face=Arial size=2>at org.apache.cocoon.Frontend.error(Frontend.java, 
Compiled Code)</FONT></DIV>
<DIV><FONT face=Arial size=2>at org.apache.cocoon.Cocoon.service(Cocoon.java, 
Compiled Code)</FONT></DIV>
<DIV><FONT face=Arial size=2>at 
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled 
Code)</FONT></DIV>
<DIV><FONT face=Arial size=2>at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, 
Compiled Code)</FONT></DIV>
<DIV><FONT face=Arial size=2>at 
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, 
Compiled Code)</FONT></DIV>
<DIV><FONT face=Arial size=2>at 
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, 
Compiled Code)</FONT></DIV>
<DIV><FONT face=Arial size=2>at 
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java, Compiled 
Code)</FONT></DIV>
<DIV><FONT face=Arial size=2>at 
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled 
Code)</FONT></DIV>
<DIV><FONT face=Arial size=2>at 
weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java, Compiled 
Code)</FONT></DIV>
<DIV><FONT face=Arial size=2>Mon Dec 27 09:18:18 CET 1999:&lt;E&gt; &lt;HTTP&gt; 
Servlet request terminiated with RuntimeException: </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Anybody has an idea what might be 
wrong?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Best regards,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Axel Müller</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>-----------------------------------------------------------------------<BR>i2c \
 IT Systems &amp; Consulting<BR>Phone:&nbsp; +49-6172-4873-15 / Fax: 
-77<BR>Mobile: +49-170-8552678<BR>Email:&nbsp; <A 
href="mailto:axel.mueller@i2c-systems.com">axel.mueller@i2c-systems.com</A><BR>WWW:&nbsp;&nbsp;&nbsp; \
 <A 
href="http://www.i2c-systems.com">http://www.i2c-systems.com</A><BR>Mail:&nbsp;&nbsp; \
 Ober-Eschbacher-Str. 109, 61352 Bad Homburg, 
Germany<BR>-----------------------------------------------------------------------</FONT></DIV></BODY></HTML>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic