cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Warr <Chr...@esd.nec.com.au>
Subject Pooling under Jrun 3.1 (was RE: Installing cocoon2 with Jrun 3.1)
Date Fri, 12 Apr 2002 04:51:29 GMT

I removed the pooling and it works fine?  Anyone else had pooling problems
under Jrun 3.1?

Chris.

-----Original Message-----
From: Chris Warr [mailto:ChrisW@esd.nec.com.au]
Sent: Friday, 12 April 2002 12:09
To: cocoon-users@xml.apache.org
Subject: RE: Installing cocoon2 with Jrun 3.1


OK, got another one for you.  Cocoon is up and running now under Jrun 3.1,
now I'm trying to run my app which works under Tomcat ok.  I get the error
below which from the looks of it has to do with connection pooling, the
datasource definition is below from cocoon.xconf, and I'm using mssql server
jdbc driver beta 2.

    <jdbc name="eipp9010">
 
<dburl>jdbc:microsoft:sqlserver://prime:1433;DatabaseName=eippdev</dburl>
        <pool-controller min="5" max="20"/>
        <user>javaman</user>
        <password>password</password>
    </jdbc>

A chocolate frog to anyone with a clue on this one.

Chris.


500 Internal Server Error
/cocoon/inv9010.pdf:

try to access method
org.apache.avalon.excalibur.datasource.AbstractJdbcConnection.setPool(Lorg/a
pache/avalon/excalibur/pool/Pool;)V from class
org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcConnectionPool
java.lang.IllegalAccessError: try to access method
org.apache.avalon.excalibur.datasource.AbstractJdbcConnection.setPool(Lorg/a
pache/avalon/excalibur/pool/Pool;)V from class
org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcConnectionPool
	at
org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcConnectionPool.ne
wPoolable(ResourceLimitingJdbcConnectionPool.java:84)
	at
org.apache.avalon.excalibur.pool.ResourceLimitingPool.get(ResourceLimitingPo
ol.java:314)
	at
org.apache.avalon.excalibur.pool.ValidatedResourceLimitingPool.get(Validated
ResourceLimitingPool.java:91)
	at
org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource.getCon
nection(ResourceLimitingJdbcDataSource.java:131)
	at
org.apache.cocoon.www.eipp.PDFGeneration.invoice_xml.generate(D:\JRun\server
s\default\tmp\cocoon\cocoon-files\org/apache/cocoon/www/eipp/PDFGeneration\i
nvoice_xml.java:330)
	at
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenera
tor.java:260)
	at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:251)
	at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:390)
	at
org.apache.cocoon.www.sitemap_xmap.matchN1062B(D:\JRun\servers\default\tmp\c
ocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:7343)
	at
org.apache.cocoon.www.sitemap_xmap.process(D:\JRun\servers\default\tmp\cocoo
n\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:3419)
	at
org.apache.cocoon.www.sitemap_xmap.process(D:\JRun\servers\default\tmp\cocoo
n\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:3049)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
	at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
	at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1416)
	at
allaire.jrun.session.JRunSessionService.service(../session/JRunSessionServic
e.java:1082)
	at
allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1270)
	at
allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDis
patcher.java:89)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1552)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1542)
	at
allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:364)
	at
allaire.jrun.jrpp.ProxyEndpoint.run(../jrpp/ProxyEndpoint.java:388)
	at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
	at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)



-----Original Message-----
From: Chris Warr [mailto:ChrisW@esd.nec.com.au]
Sent: Friday, 12 April 2002 11:14
To: cocoon-users@xml.apache.org
Subject: RE: Installing cocoon2 with Jrun 3.1



Vadim, you're a champ, I removed all references to velocity from the sitemap
and off she goes.  Thanks mate.

Chris.

-----Original Message-----
From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net]
Sent: Friday, 12 April 2002 11:02
To: cocoon-users@xml.apache.org
Subject: RE: Installing cocoon2 with Jrun 3.1


It seems that you have velocity in your cocoon.war. That's why velocity
generator got compiled and configured in the sitemap (something like
<map:generator name="velocity"...).

Installation instructions you are referring were written and tested
without Velocity. So you have two options:
1. Investigate the issue
2. Remove velocity generator from the sitemap and delete working
directory (JRun\servers\default\tmp\cocoon).


Vadim

> From: Chris Warr [mailto:ChrisW@esd.nec.com.au]
> 
> 
> Hi, like the subject says I'm trying to install cocoon2 to run with
Jrun 3.1
> 
> I've followed all the instructions at
> http://xml.apache.org/cocoon/installing/index.html
> but when I try and browse to http://localhost/cocoon I get the error
below.
> 
> Can anyone help?
> 
> Chris.
> 
> 
> 
> 
> type fatal
> 
> message Error compiling sitemap
> 
> description org.apache.cocoon.ProcessingException: Error compiling
sitemap:
> java.lang.NoClassDefFoundError:
> org/apache/commons/collections/ExtendedProperties
> 
> sender org.apache.cocoon.servlet.CocoonServlet
> 
> source Cocoon servlet
> 
> stack-trace
> 
> org.apache.cocoon.ProcessingException: Error compiling sitemap:
> java.lang.NoClassDefFoundError:
> org/apache/commons/collections/ExtendedProperties
> 	at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
> 	at java.lang.Thread.run(Thread.java:484)
> java.lang.NoClassDefFoundError:
> org/apache/commons/collections/ExtendedProperties
> 	at
> org.apache.velocity.runtime.RuntimeInstance.(RuntimeInstance.java:207)
> 	at
org.apache.velocity.app.VelocityEngine.(VelocityEngine.java:113)
> 	at
>
org.apache.cocoon.generation.VelocityGenerator.configure(VelocityGenerat
or.j
> ava:337)

...


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message