Cocoon on Resin

2003-02-24 Thread Sean McKaharay


When ever I try to deploy the Cocoon portal on Resin I get this error:

500 Servlet Exception
java.lang.IllegalStateException: can't clear response after writing headers
at
com.caucho.server.http.ResponseStream.clear(ResponseStream.java:201)
at com.caucho.server.http.Response.reset(Response.java:1256)
at com.caucho.server.http.Response.reset(Response.java:1238)
at org.apache.cocoon.servlet.CocoonServlet.service
(CocoonServlet.java:1115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at com.caucho.server.http.FilterChainServlet.doFilter
(FilterChainServlet.java:96)
at com.caucho.server.http.Invocation.service(Invocation.java:311)
at com.caucho.server.http.CacheInvocation.service
(CacheInvocation.java:135)
at com.caucho.server.http.RunnerRequest.handleRequest
(RunnerRequest.java:342)
at com.caucho.server.http.RunnerRequest.handleConnection
(RunnerRequest.java:272)
at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
at java.lang.Thread.run(Thread.java:536)



You can go visit the page at
http://www.atlantalinklist.com/cocoon2/sunspotdemo
http://www.atlantalinklist.com/cocoon2/sunspotdemo -
portal 

Does anyone know how to fix it?


Re: Cocoon on Resin

2003-02-24 Thread ilfrin
Hello Sean,

24 Feb 2003, 17:05:27:

SM Does anyone know how to fix it?
 
are you sure you have set up the cocoon to work with sunRise and
the those other quite 'fragile' components?

because as you see other examples on your server do work fine

-- 
Bye,
 ilfrinmailto:[EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Cocoon 2.0.3, Resin 2.1.4, core.log, and StoreJanitorImpl

2002-10-29 Thread Jonathan Lancelle




I'm running Cocoon 2.0.3 with Resin 2.1.4. It seems to work fine. It used
to die unexpectedly quite often until I tweaked a few parameters in my resin
servlet engine conf file. It was improperly configured to the constraints
imposed upon me by the web host being used. But I still noticed many repetitive
errors in the Resin server error.log file as the following (just three here):

[2002/10/29 01:50:04] DEBUG (2002-10-29) 01:50.04:453 [ ] (/cocoon/status)
tcpConnection-8080-0/DefaultLogKitManager: Logger for category sitemap.generator.status
not defined in configuration. New Logger created and returned

[2002/10/29 01:50:04] DEBUG (2002-10-29) 01:50.04:456 [ ] (/cocoon/status)
tcpConnection-8080-0/DefaultLogKitManager: Logger for category sitemap.transformer.xslt
not defined in configuration. New Logger created and returned

[2002/10/29 01:50:04] DEBUG (2002-10-29) 01:50.04:460 [ ] (/cocoon/status)
tcpConnection-8080-0/DefaultLogKitManager: Logger for category core.xslt-processor
not defined in configuration. New Logger created and returned



So then I started studying the core.log file of each webapp I am experimenting
with and noticed when a URL is selected via the sitemap, for each access,
I get a head of info as follows (I placed the '***' in a few spots
below):

REQUEST: /cocoon/status

CONTEXT PATH: /cocoon
SERVLET PATH: /status
PATH INFO: null

REMOTE HOST: 63.202.***.***
REMOTE ADDRESS: 63.202.***.***
REMOTE USER: null
REQUEST SESSION ID: null
REQUEST PREFERRED LOCALE: en_US
SERVER HOST: www.***.net
SERVER PORT: 8080

METHOD: GET
CONTENT LENGTH: -1
PROTOCOL: HTTP/1.1
SCHEME: http
AUTH TYPE: Basic

CURRENT ACTIVE REQUESTS: 1
REQUEST PARAMETERS:

HEADER PARAMETERS:

PARAM: 'Host' VALUES: '[www.***.net:8080]'
PARAM: 'User-Agent' VALUES: '[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.0.1) Gecko/20020823 Netscape/7.0]'
PARAM: 'Accept' VALUES: '[text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,te
xt/css,*/*;q=0.1]'
PARAM: 'Accept-Language' VALUES: '[en-us, en;q=0.50]'
PARAM: 'Accept-Encoding' VALUES: '[gzip, deflate, compress;q=0.9]'
PARAM: 'Accept-Charset' VALUES: '[ISO-8859-1, utf-8;q=0.66, *;q=0.66]'
PARAM: 'Keep-Alive' VALUES: '[300]'
PARAM: 'Connection' VALUES: '[keep-alive]'
PARAM: 'Referer' VALUES: '[http://www.***.net:8080/cocoon/]'

SESSION ATTRIBUTES:



Then many lines such as the following occur (only three here):

DEBUG (2002-10-29) 01:50.04:408 [core.manager] (/cocoon/status) tcpConnection-8080-0/ResourceLimitingPool:
Got a org.apache.cocoon.components.pipeline.CachingEventPipeline from the
pool.
DEBUG (2002-10-29) 01:50.04:408 [core.manager] (/cocoon/status) tcpConnection-8080-0/ResourceLimitingPool:
Got a org.apache.cocoon.components.pipeline.CachingStreamPipeline from the
pool.
DEBUG (2002-10-29) 01:50.04:451 [core.manager] (/cocoon/status) tcpConnection-8080-0/DefaultComponentFactory:
ComponentFactory creating new instance of org.apache.cocoon.generation.StatusGenerator.




Then the fun startsmany, many lines of the following (only six listed):

DEBUG (2002-10-29) 01:50.08:842 [core.store.janitor] (Unknown-URI) Unknown-thread/StoreJanitorImpl:
JVM total Memory: 24309760
DEBUG (2002-10-29) 01:50.08:842 [core.store.janitor] (Unknown-URI) Unknown-thread/StoreJanitorImpl:
JVM free Memory: 5772608
DEBUG (2002-10-29) 01:50.08:842 [core.store.janitor] (Unknown-URI) Unknown-thread/StoreJanitorImpl:
Memory is low = false
DEBUG (2002-10-29) 01:50.18:850 [core.store.janitor] (Unknown-URI) Unknown-thread/StoreJanitorImpl:
JVM total Memory: 24309760
DEBUG (2002-10-29) 01:50.18:850 [core.store.janitor] (Unknown-URI) Unknown-thread/StoreJanitorImpl:
JVM free Memory: 5727272
DEBUG (2002-10-29) 01:50.18:851 [core.store.janitor] (Unknown-URI) Unknown-thread/StoreJanitorImpl:
Memory is low = false



They come in groups of three, and are created at fairly regular intervals
(10 secs on my particular server.) Cocoon seems to run fine. The only concern
is it may not be operating as efficiently as it could, and also fills up
the log files real quick. Is there a parameter I may have missed? Perhaps
it is something with the configuration of my Resin 2.1.4 server. Thanks for
any input.

Jon Lancelle





Cocoon on Resin 2.1.0

2002-04-25 Thread Peter Velichko

Hi all!

I'm trying to install Cocoon 2.0.2 on Resin 2.1.0 (W2K) and have the
following message:

type fatal

message Language Exception

description org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap: Line 0, column 0: error: java.io.IOException: read error 1
error

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace

org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap:
Line 0, column 0:
error: java.io.IOException: read error
1 error

at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:335)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:291)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
at java.lang.Thread.run(Thread.java:484)
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap:
Line 0, column 0:
error: java.io.IOException: read error
1 error

at
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(
JavaLanguage.java:243)
at
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag
e.load(CompiledProgrammingLanguage.java:197)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:383)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:328)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:291)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
at java.lang.Thread.run(Thread.java:484)


request-uri

/cocoon/

path-info




-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Cocoon on Resin 2.1.0

2002-04-25 Thread Torsten Curdt

On Thu, 25 Apr 2002, Peter Velichko wrote:

 Hi all!

 I'm trying to install Cocoon 2.0.2 on Resin 2.1.0 (W2K) and have the
 following message:

Sorry, this might not help at all... but we are using Cocoon 2 HEAD
without a problem with resin...
--
Torsten


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Cocoon on Resin 2.1.0

2002-04-25 Thread Vadim Gritsenko

 From: Peter Velichko [mailto:[EMAIL PROTECTED]]
 
 Hi all!
 
 I'm trying to install Cocoon 2.0.2 on Resin 2.1.0 (W2K) and have the
 following message:
 
 type fatal
 
 message Language Exception
 
 description org.apache.cocoon.ProcessingException: Language Exception:
 org.apache.cocoon.components.language.LanguageException: Error
compiling
 sitemap_xmap: Line 0, column 0: error: java.io.IOException: read error
1
 error

Sounds to me like XSLT transformation problem. Check generated
sitemap_xmap.java (I guess it is 0 bytes), try to replace Resin's XSLT
with Xalan shipped with Cocoon.

PS Tomcat 4.0.4 works too good for me to switch to Resin. What is better
in Resin 2.1.0 comparing with Resin 2.0.4?

Good luck,
Vadim


 sender org.apache.cocoon.servlet.CocoonServlet
 
 source Cocoon servlet
 
 stack-trace
 
 org.apache.cocoon.ProcessingException: Language Exception:
 org.apache.cocoon.components.language.LanguageException: Error
compiling
 sitemap_xmap:
 Line 0, column 0:
 error: java.io.IOException: read error
 1 error
 
   at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre
ateR
 esource(ProgramGeneratorImpl.java:335)
   at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(Pr
 ogramGeneratorImpl.java:291)
   at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
   at java.lang.Thread.run(Thread.java:484)
 org.apache.cocoon.components.language.LanguageException: Error
compiling
 sitemap_xmap:
 Line 0, column 0:
 error: java.io.IOException: read error
 1 error
 
   at

org.apache.cocoon.components.language.programming.java.JavaLanguage.comp
ile(
 JavaLanguage.java:243)
   at

org.apache.cocoon.components.language.programming.CompiledProgrammingLan
guag
 e.load(CompiledProgrammingLanguage.java:197)
   at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen
erat
 eResource(ProgramGeneratorImpl.java:383)
   at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre
ateR
 esource(ProgramGeneratorImpl.java:328)
   at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(Pr
 ogramGeneratorImpl.java:291)
   at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
   at java.lang.Thread.run(Thread.java:484)
 
 
 request-uri
 
 /cocoon/
 
 path-info
 
 
 
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Cocoon on Resin 2.1.0

2002-04-25 Thread Torsten Curdt


 Sounds to me like XSLT transformation problem. Check generated
 sitemap_xmap.java (I guess it is 0 bytes), try to replace Resin's XSLT
 with Xalan shipped with Cocoon.

this should not be necessary... work for us without

 PS Tomcat 4.0.4 works too good for me to switch to Resin. What is better
 in Resin 2.1.0 comparing with Resin 2.0.4?

last time I checked resin was much faster than tomcat ...I have to admit I
haven't checked for a while... maybe latest tomcat now also kicks ass...
:-)

--
Torsten


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Cocoon on Resin 2.1.0

2002-04-25 Thread Vadim Gritsenko

 From: Torsten Curdt [mailto:[EMAIL PROTECTED]]
 
 
  Sounds to me like XSLT transformation problem. Check generated
  sitemap_xmap.java (I guess it is 0 bytes), try to replace Resin's
XSLT
  with Xalan shipped with Cocoon.
 
 this should not be necessary... work for us without
 
  PS Tomcat 4.0.4 works too good for me to switch to Resin. What is
better
  in Resin 2.1.0 comparing with Resin 2.0.4?
 
 last time I checked resin was much faster than tomcat ...I have to
admit I
 haven't checked for a while... maybe latest tomcat now also kicks
ass...
 :-)

Couple of days ago I compared Resin 2.0.4 with Tomcat 4.0.4 - and found
a surprise: Tomcat 50% faster. :)

(my test was to fetch 300 pages (3Mb) from Cocoon's cache using wget -q
-np -R jpg,gif,css  -r)

Vadim


 --
 Torsten
 


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Cocoon on Resin 2.1.0

2002-04-25 Thread Torsten Curdt

 Couple of days ago I compared Resin 2.0.4 with Tomcat 4.0.4 - and found
 a surprise: Tomcat 50% faster. :)

 (my test was to fetch 300 pages (3Mb) from Cocoon's cache using wget -q
 -np -R jpg,gif,css  -r)

..so I guess I should check again then ;-)

Thanks for the hint, Vadim
--
Torsten


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Install Cocoon with Resin 2.0.5

2002-03-01 Thread Antonio Serrano



I want install 
cocoon with Resin 2.0.5, but ocurr a error. The erroris 
:java.lang.NoSuchMethodError 
atorg.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init(DefaultConfigurationBuilder.java:88) 
atorg.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init(DefaultConfigurationBuilder.java:64) 
atorg.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:745) 
atorg.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:225) 
atcom.caucho.server.http.Application.createServlet(Application.java:2834) 
atcom.caucho.server.http.Application.loadServlet(Application.java:2793) 
atcom.caucho.server.http.Application.initServlets(Application.java:1827) 
at 
com.caucho.server.http.Application.init(Application.java:1762) 
atcom.caucho.server.http.VirtualHost.restartApplication(VirtualHost.java:1649) 
atcom.caucho.server.http.VirtualHost.getInvocation(VirtualHost.java:1277) 
atcom.caucho.server.http.ServletServer.getInvocation(ServletServer.java:1040) 
atcom.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:337) 
atcom.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:270) 
at 
com.caucho.server.TcpConnection.run(TcpConnection.java:140) 
at java.lang.Thread.run(Thread.java:484)I have read in faq that it 
error is for old set of librariesinstalled, this library is Xerces. If 
I change the library in thedirectory /lib of the Resin, it don´t 
start. I have probe to buildcocoon with the library Xerces that 
contain Resin, but ocurr a errorto build. How I can build 
cocoon?

Antonio 
Serrano
[EMAIL PROTECTED]



Install Cocoon with Resin 2.0.5

2002-02-28 Thread Antonio Serrano



I want install cocoon with Resin 2.0.5, but ocurr a error. The 
erroris : 
java.lang.NoSuchMethodError 
atorg.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init(DefaultConfigurationBuilder.java:88) 
atorg.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init(DefaultConfigurationBuilder.java:64) 
atorg.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:745) 
atorg.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:225) 
atcom.caucho.server.http.Application.createServlet(Application.java:2834) 
atcom.caucho.server.http.Application.loadServlet(Application.java:2793) 
atcom.caucho.server.http.Application.initServlets(Application.java:1827) 
at 
com.caucho.server.http.Application.init(Application.java:1762) 
atcom.caucho.server.http.VirtualHost.restartApplication(VirtualHost.java:1649) 
atcom.caucho.server.http.VirtualHost.getInvocation(VirtualHost.java:1277) 
atcom.caucho.server.http.ServletServer.getInvocation(ServletServer.java:1040) 
atcom.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:337) 
atcom.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:270) 
at 
com.caucho.server.TcpConnection.run(TcpConnection.java:140) 
at java.lang.Thread.run(Thread.java:484)I have read in faq that it 
error is for old set of librariesinstalled, this library is Xerces. If 
I change the library in thedirectory /lib of the Resin, it don´t 
start. I have probe to buildcocoon with the library Xerces that 
contain Resin, but ocurr a errorto build. How I can build 
cocoon?


RE: Install Cocoon with Resin 2.0.5

2002-02-28 Thread Mathews, Silvy (HQP)



I did 
install cocoon on Resin 2.0.5 . I did not replace any library files in the \LIB 
directory of resin. I did a build on cocoon using the following 
command
.\build.bat -Dinclude.webapp.libs=yes -Dinstall.war=%RESIN_HOME%\webapps 
install
When I 
start the first time, everything runs fine including the database connection to 
hsql. However when I close the server and restart it, it gives me the following 
error.
Resin 
2.0.5 (built Fri Jan 11 08:29:05 PST 2002)Copyright(c) 1998-2001 Caucho 
Technology. All rights reserved.

Starting Resin on Thu, 28 Feb 2002 12:41:52 -0800 (PST)http listening 
to *:8080srun listening to 127.0.0.1:6802[2002-02-28 12:41:53.672] 
initializing application http://localhost/cocoonLoading catalog: 
/D:/silvys/resin-2.0.5/webapps/cocoon/resources/entities/catalog[2002-02-28 
12:41:56.927] initializing application http://localhost/examples/login[2002-02-28 
12:41:56.937] initializing application http://localhost/examples/tags[2002-02-28 
12:41:56.937] initializing application http://localhost/examples/templates[2002-02-28 
12:41:56.937] initializing application http://localhost/examples/xsl[2002-02-28 
12:41:56.937] initializing application http://localhost/java_tut[2002-02-28 
12:41:56.937] initializing application http://localhost/examples/navigation[2002-02-28 
12:41:56.937] initializing application http://localhost/examples/basic[2002-02-28 
12:41:56.937] initializing application http://localhost/[2002-02-28 12:41:56.937] 
initializing application http://localhost/examples/tictactoeServer.run/init: 
java.sql.SQLException: File input/output error: 
D:\silvys\resin-2.0.5\webapps\cocoon\WEB-INF\db\cocoondb.backupjava.sql.SQLException: 
File input/output error: 
D:\silvys\resin-2.0.5\webapps\cocoon\WEB-INF\db\cocoondb.backup 
at 
org.hsqldb.Trace.getError(Trace.java:180) 
at 
org.hsqldb.Trace.getError(Trace.java:144) 
at 
org.hsqldb.Trace.error(Trace.java:205) 
at 
org.hsqldb.Log.restoreBackup(Log.java:731) 
at 
org.hsqldb.Log.open(Log.java:212) 
at 
org.hsqldb.Database.init(Database.java:96) 
at 
org.hsqldb.Server.run(Server.java:137) 
at 
org.hsqldb.Server.main(Server.java:78) 
at 
org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:101) 
at java.lang.Thread.run(Thread.java:484)

Can 
anybody answer this for me.

Silvy 
Mathews


  -Original Message-From: Antonio Serrano 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, February 28, 2002 10:26 
  AMTo: [EMAIL PROTECTED]Subject: Install Cocoon 
  with Resin 2.0.5
  I want install cocoon with Resin 2.0.5, but ocurr a error. The 
  erroris 
  :java.lang.NoSuchMethodError 
  atorg.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init(DefaultConfigurationBuilder.java:88) 
  atorg.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init(DefaultConfigurationBuilder.java:64) 
  atorg.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:745) 
  atorg.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:225) 
  atcom.caucho.server.http.Application.createServlet(Application.java:2834) 
  atcom.caucho.server.http.Application.loadServlet(Application.java:2793) 
  atcom.caucho.server.http.Application.initServlets(Application.java:1827) 
  at 
  com.caucho.server.http.Application.init(Application.java:1762) 
  atcom.caucho.server.http.VirtualHost.restartApplication(VirtualHost.java:1649) 
  atcom.caucho.server.http.VirtualHost.getInvocation(VirtualHost.java:1277) 
  atcom.caucho.server.http.ServletServer.getInvocation(ServletServer.java:1040) 
  atcom.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:337) 
  atcom.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:270) 
  at 
  com.caucho.server.TcpConnection.run(TcpConnection.java:140) 
  at java.lang.Thread.run(Thread.java:484)I have read in faq that it 
  error is for old set of librariesinstalled, this library is Xerces. 
  If I change the library in thedirectory /lib of the Resin, it don´t 
  start. I have probe to buildcocoon with the library Xerces that 
  contain Resin, but ocurr a errorto build. How I can build 
  cocoon?


RE: Install Cocoon with Resin 2.0.5

2002-02-28 Thread Vadim Gritsenko

What Cocoon version do you have? This error is already fixed in CVS (and
may be in C2.0.1 also). Try upgrading.

Vadim

-Original Message-
From: Mathews, Silvy (HQP) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 28, 2002 3:51 PM
To: [EMAIL PROTECTED]
Subject: RE: Install Cocoon with Resin 2.0.5

I did install cocoon on Resin 2.0.5 . I did not replace any library
files in the \LIB directory of resin. I did a build on cocoon using the
following command
.\build.bat -Dinclude.webapp.libs=yes -Dinstall.war=%RESIN_HOME%\webapps
install
When I start the first time, everything runs fine including the database
connection to hsql. However when I close the server and restart it, it
gives me the following error.
Resin 2.0.5 (built Fri Jan 11 08:29:05 PST 2002)
Copyright(c) 1998-2001 Caucho Technology.  All rights reserved.
 
Starting Resin on Thu, 28 Feb 2002 12:41:52 -0800 (PST)
http listening to *:8080
srun listening to 127.0.0.1:6802
[2002-02-28 12:41:53.672] initializing application
http://localhost/cocoon
Loading catalog:
/D:/silvys/resin-2.0.5/webapps/cocoon/resources/entities/catalog
[2002-02-28 12:41:56.927] initializing application
http://localhost/examples/login
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/tags
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/templates
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/xsl
[2002-02-28 12:41:56.937] initializing application
http://localhost/java_tut
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/navigation
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/basic
[2002-02-28 12:41:56.937] initializing application http://localhost/
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/tictactoe
Server.run/init: java.sql.SQLException: File input/output error:
D:\silvys\resin-2.0.5\webapps\cocoon\WEB-INF\db\cocoondb.backup
java.sql.SQLException: File input/output error:
D:\silvys\resin-2.0.5\webapps\cocoon\WEB-INF\db\cocoondb.backup
    at org.hsqldb.Trace.getError(Trace.java:180)
    at org.hsqldb.Trace.getError(Trace.java:144)
    at org.hsqldb.Trace.error(Trace.java:205)
    at org.hsqldb.Log.restoreBackup(Log.java:731)
    at org.hsqldb.Log.open(Log.java:212)
    at org.hsqldb.Database.init(Database.java:96)
    at org.hsqldb.Server.run(Server.java:137)
    at org.hsqldb.Server.main(Server.java:78)
    at
org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:101)
    at java.lang.Thread.run(Thread.java:484)
 
Can anybody answer this for me.
 
Silvy Mathews

-Original Message-
From: Antonio Serrano [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 10:26 AM
To: [EMAIL PROTECTED]
Subject: Install Cocoon with Resin 2.0.5
 I want install cocoon with Resin 2.0.5, but ocurr a error. The error
 is :
 
java.lang.NoSuchMethodError
 at
 org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.
init(DefaultConfigurationBuilder.java:88)
   at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.i
nit(DefaultConfigurationBuilder.java:64)
 at
 org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:7
45)
 at
 org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:225)
 at
 com.caucho.server.http.Application.createServlet(Application.java:2834)
 at
 com.caucho.server.http.Application.loadServlet(Application.java:2793)
 at
 com.caucho.server.http.Application.initServlets(Application.java:1827)
 at com.caucho.server.http.Application.init(Application.java:1762)
 at
 com.caucho.server.http.VirtualHost.restartApplication(VirtualHost.java:
1649)
 at
 com.caucho.server.http.VirtualHost.getInvocation(VirtualHost.java:1277)
 at
 com.caucho.server.http.ServletServer.getInvocation(ServletServer.java:1
040)
 at
 com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:3
37)
 at
 com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.jav
a:270)
 at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
 at java.lang.Thread.run(Thread.java:484)
 I have read in faq that it error is for old set of libraries
 installed, this library is Xerces. If I change the library in the
 directory /lib of the Resin, it don´t start. I have probe to build
 cocoon with the library Xerces that contain Resin, but ocurr a error
 to build. How I can build cocoon?


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Install Cocoon with Resin 2.0.5

2002-02-28 Thread Mathews, Silvy (HQP)
Title: RE: Install Cocoon with Resin 2.0.5





I have version 2.0. I will try 2.0.1 and see.
Silvy


-Original Message-
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 1:11 PM
To: [EMAIL PROTECTED]
Subject: RE: Install Cocoon with Resin 2.0.5



What Cocoon version do you have? This error is already fixed in CVS (and
may be in C2.0.1 also). Try upgrading.


Vadim


-Original Message-
From: Mathews, Silvy (HQP) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 28, 2002 3:51 PM
To: [EMAIL PROTECTED]
Subject: RE: Install Cocoon with Resin 2.0.5


I did install cocoon on Resin 2.0.5 . I did not replace any library
files in the \LIB directory of resin. I did a build on cocoon using the
following command
.\build.bat -Dinclude.webapp.libs=yes -Dinstall.war=%RESIN_HOME%\webapps
install
When I start the first time, everything runs fine including the database
connection to hsql. However when I close the server and restart it, it
gives me the following error.
Resin 2.0.5 (built Fri Jan 11 08:29:05 PST 2002)
Copyright(c) 1998-2001 Caucho Technology.  All rights reserved.
 
Starting Resin on Thu, 28 Feb 2002 12:41:52 -0800 (PST)
http listening to *:8080
srun listening to 127.0.0.1:6802
[2002-02-28 12:41:53.672] initializing application
http://localhost/cocoon
Loading catalog:
/D:/silvys/resin-2.0.5/webapps/cocoon/resources/entities/catalog
[2002-02-28 12:41:56.927] initializing application
http://localhost/examples/login
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/tags
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/templates
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/xsl
[2002-02-28 12:41:56.937] initializing application
http://localhost/java_tut
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/navigation
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/basic
[2002-02-28 12:41:56.937] initializing application http://localhost/
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/tictactoe
Server.run/init: java.sql.SQLException: File input/output error:
D:\silvys\resin-2.0.5\webapps\cocoon\WEB-INF\db\cocoondb.backup
java.sql.SQLException: File input/output error:
D:\silvys\resin-2.0.5\webapps\cocoon\WEB-INF\db\cocoondb.backup
    at org.hsqldb.Trace.getError(Trace.java:180)
    at org.hsqldb.Trace.getError(Trace.java:144)
    at org.hsqldb.Trace.error(Trace.java:205)
    at org.hsqldb.Log.restoreBackup(Log.java:731)
    at org.hsqldb.Log.open(Log.java:212)
    at org.hsqldb.Database.init(Database.java:96)
    at org.hsqldb.Server.run(Server.java:137)
    at org.hsqldb.Server.main(Server.java:78)
    at
org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:101)
    at java.lang.Thread.run(Thread.java:484)
 
Can anybody answer this for me.
 
Silvy Mathews


-Original Message-
From: Antonio Serrano [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 10:26 AM
To: [EMAIL PROTECTED]
Subject: Install Cocoon with Resin 2.0.5
 I want install cocoon with Resin 2.0.5, but ocurr a error. The error
 is :
 
java.lang.NoSuchMethodError
 at
 org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.
init(DefaultConfigurationBuilder.java:88)
   at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.i
nit(DefaultConfigurationBuilder.java:64)
 at
 org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:7
45)
 at
 org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:225)
 at
 com.caucho.server.http.Application.createServlet(Application.java:2834)
 at
 com.caucho.server.http.Application.loadServlet(Application.java:2793)
 at
 com.caucho.server.http.Application.initServlets(Application.java:1827)
 at com.caucho.server.http.Application.init(Application.java:1762)
 at
 com.caucho.server.http.VirtualHost.restartApplication(VirtualHost.java:
1649)
 at
 com.caucho.server.http.VirtualHost.getInvocation(VirtualHost.java:1277)
 at
 com.caucho.server.http.ServletServer.getInvocation(ServletServer.java:1
040)
 at
 com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:3
37)
 at
 com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.jav
a:270)
 at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
 at java.lang.Thread.run(Thread.java:484)
 I have read in faq that it error is for old set of libraries
 installed, this library is Xerces. If I change the library in the
 directory /lib of the Resin, it don´t start. I have probe to build
 cocoon with the library Xerces that contain Resin, but ocurr a error
 to build. How I can build cocoon?



-
Please check that your question has not already been answered in the
FAQ before

cocoon with resin

2001-11-16 Thread lepargneul gaëtan
Hi, i'm currently using resin to process jsp page but i'm thinking to jump on XML-XSL to be able to display my application on multipe devices. So, my problem is how to run cocoon with resin? does anyone know?

thank you for your help.
- 
It's nice to be important but it's more important to be nice. 





LEPARGNEUL Gaëtan 



7, rue plaine de cimiez 



06000 NICE 

Tél : 06.64.03.94.78


Get your FREE download of MSN Explorer at http://explorer.msn.com

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>



Re: cocoon with resin

2001-11-16 Thread Ryder Rishel

I ran into this problem as well when Using the JSPReader in Cocoon2, and it
appears to be a bug in Cocoon.  I described the fix in my bug report
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4934 ) which requires
modifying the JSPEngineImpl.java.

- Ryder

- Original Message -
From: lepargneul gaëtan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 15, 2001 12:21 PM


 Hi, i'm currently using resin to process jsp page but i'm thinking to jump
on XML-XSL to be able to display my application on multipe devices. So, my
problem is how to run cocoon with resin? does anyone know?



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]