RE: Cocoon 2 - Internal servlet error

2001-09-13 Thread Liam Morley

Check your cocoon.log. I've only run in to this problem once on somebody
else's machine, and I haven't figured out exactly how it's coming about.
In my understanding, a class within your JAVA_HOME directory is being
referenced instead of the subclass within your cocoon directory. If you
could post your cocoon.log file, I could tell you where the difference
lies.

If you are able to find out the solution, please let me know personally
by email; I need to find a solution to this very same problem for
someone else within my team.

Liam Morley

-Original Message-
From: Thangadurai [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 13, 2001 1:01 AM
To: cocoon-users
Subject: Cocoon 2 - Internal servlet error

Hi,

When  requesting the url http://localhost:8080/cocoon/  I got the
following error page..

What's wrong with my installation??

- Thangadurai



Cocoon 2 - Internal servlet error



type internal-servlet-error

message Internal servlet error

description Cocoon was not initialized.

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoon

embedded exception

org.xml.sax.SAXNotSupportedException: Property:
http://xml.org/sax/properties/lexical-handler

embedded exception stacktrace

org.xml.sax.SAXNotSupportedException: Property:
http://xml.org/sax/properties/lexical-handler
at
org.apache.crimson.parser.XMLReaderImpl.setProperty(XMLReaderImpl.java:2
48)

at
org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:67)

at org.apache.cocoon.Cocoon.configure(Cocoon.java:216)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:160)
at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:
634)

at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:164)
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnSta
rtupInterceptor.java:130)

at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:49
1)

at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)

exception

org.apache.avalon.framework.configuration.ConfigurationException: Error
trying to load configurations

stacktrace

org.apache.avalon.framework.configuration.ConfigurationException: Error
trying to load configurations
at org.apache.cocoon.Cocoon.configure(Cocoon.java:220)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:160)
at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:
634)

at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:164)
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnSta
rtupInterceptor.java:130)

at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:49
1)

at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Caused by: org.xml.sax.SAXNotSupportedException: Property:
http://xml.org/sax/properties/lexical-handler
at
org.apache.crimson.parser.XMLReaderImpl.setProperty(XMLReaderImpl.java:2
48)

at
org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:67)

at org.apache.cocoon.Cocoon.configure(Cocoon.java:216)
... 11 more




-
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: [C2] multiple versus individual pipelines

2001-09-13 Thread Jeremy Quinn

At 11:31 PM +0200 12/9/01, giacomo wrote:
On Wed, 12 Sep 2001, Jeremy Quinn wrote:

 Dear All,

 What is the difference in behaviour between having multiple
 map:pipeline/s and map:pipeline/s with multiple map:match/s?

The map:handle-error element.

Technically it is a try/catch block for each map:pipeline/.


cool


What can I 'catch'?
What I have seen examples of so far, are HTTP Error Codes, are there any
more subtleties?


thanks

regards Jeremy
-- 
   ___

   Jeremy Quinn   Karma Divers
   webSpace Design
HyperMedia Research Centre

   mailto:[EMAIL PROTECTED]http://www.media.demon.co.uk
phone:+44.[0].20.7737.6831pager:[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: inherit actions in sub-sitemaps?

2001-09-13 Thread Jeremy Quinn

At 4:09 PM -0400 12/9/01, Vadim Gritsenko wrote:

Works for me...
I do not have even map:actions in my subsitemap, and actions got inherited.

OK, I must have got confused with an 'asyncron' reloading SiteMap, I will
try again.

Thanks

regards Jeremy
-- 
   ___

   Jeremy Quinn   Karma Divers
   webSpace Design
HyperMedia Research Centre

   mailto:[EMAIL PROTECTED]http://www.media.demon.co.uk
phone:+44.[0].20.7737.6831pager:[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]




SOLVED: C1.8.2 and C2.0b2 questions (point 1)

2001-09-13 Thread Drasko Kokic

The first point is being solved ... there was one
xsl:copy too many in my logicsheet for the attribute
forwarding.

Hope this could be helpfull to others

Drasko

P.S. I am still struggling with the second point.

--- Drasko Kokic [EMAIL PROTECTED] wrote:
 Hi there,
 
 I have two points that I cannot resolve properly:
 
 1. I have introduced my own logicsheet and it is
 working except that the session objects are not
 generated automatically even thought I still have
 create-session=true atribute in the xsp:page node.
 My generated Java code has the following in:
   HttpSession session = request.getSession(false);
 which is wrong !!!
 How can I propagate the atributes thrue my
 logicsheet?
 I already have the following in:
 ...
   xsl:template match=xsp:page
 xsp:page
   xsl:copy
 xsl:apply-templates select=@*/
   /xsl:copy
 ...
   xsl:template match=@*|node() priority=-1
 xsl:copyxsl:apply-templates
 select=@*|node()//xsl:copy
   /xsl:template
 ...
 
 Is this not enough???
 
 
 2.  More conceptualy, I need to request in my XSP
 code
 a PDF file from some BSS and forward it to the
 client browser without any more modification.  Is
 this
 possible in C1 and/or C2?  How?!
 
 Thanks in advance
 Drasko
 
 
 __
 Do You Yahoo!?
 Get email alerts  NEW webcam video instant
 messaging with Yahoo! Messenger
 http://im.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]
 


__
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/

-
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: problem with xml document() function

2001-09-13 Thread Mamadou Bobo Sylla

Thank you,
This has solved my problem.
Bobo,
- Original Message -
From: Jörg Heinicke [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 13, 2001 6:02 PM
Subject: Re: problem with xml document() function


 The problem is to be searched in your XPATH-expressions in your
stylesheet.
 In your variable $menu the whole structure of menu.xml is stored, i.e.
 inclusive menu, standard and so on. With $menu/@href you will get the
 href-attribute of the root - there is non!
 You must delete the $menu if you have already matched on the right
elements:

 xsl:variable name=menu select=document('menu-admin.xml')/
   xsl:template name=getStandardLinks tr
TD height=18 bgcolor=#295A84 width=135xsl:call-template
 name=teethIMG/br/

 b
  font color=#FF size=1
   xsl:value-of select=$menu/menu/standard/@s-header/
  /font
 /b
/TD
   /tr

   xsl:for-each select=$menu//standard-link
tr
 TD  height=18 bgcolor=#D5D9E1 width=135
  A HREF={@href}
   b
font size=1 color=#00
 xsl:value-of select=@value/
/font
   /b
  /A
 /TD
/tr
   /xsl:for-each
 /xsl:template

 Regards,

 Joerg

 Mamadou Bobo Sylla wrote:
  Hello people.
  I am having problem using document(). Here is the situation:
  My menu.xml and remove-user.xml are in the same directory.
  I don't get any result when I call  menu.xml inside remove-user.xsl by
using
  document(menu.xml).
  If I try document('menu.xml','/C:/cocoon/xml/admin'), only STANDARD
  FUNCTIONS will be displayed.
 
  Well I need your help.Thank you in advance.
 
  Here is my menu.xml
  -
  menu
  standard s-header=STANDARD FUNCTIONS 
standard-link href=/ILS/under_construction.html
value=SEARCH/
!--standard-link href=/ILS/xml/user/faq.xml value=VIEW FAQ/
standard-link href=/ILS/xsp/admin/profile.xml value=MY
PROFILE/
standard-link href=/ILS/xml/search/search.xml
value=SEARCH/--
   /standard
  /menu
  -
  Here is my remove-user.xml:
  -
  ?xml version=1.0?
  ?cocoon-process type=xslt?
  ?xml-stylesheet href=../../xsl/admin/remove-user-form.xsl
type=text/xsl
  remove-user-form
  title ILS - REMOVING USER /title
  headerREMOVING USER FROM ILS/header
  guideEnter the user ID that you intend to remove from ILS./guide
  admin-menu/
  /remove-user-form
  --
  Here is my remove-user.xsl:
  --
  xsl:variable name=menu select=document('menu-admin.xml')/
   xsl:template name=getStandardLinks tr
 TD height=18 bgcolor=#295A84 width=135xsl:call-template
  name=teethIMG/br/
 
  b
   font color=#FF size=1
xsl:value-of select=$menu//@s-header/
   /font
  /b
 /TD
/tr
 
   xsl:for-each select=$menu//standard-link
 
tr
 TD  height=18 bgcolor=#D5D9E1 width=135
  A HREF={$menu/@href}
   b
font size=1 color=#00
 xsl:value-of select=$menu/@value/
/font
   /b
  /A
 /TD
/tr
 
   /xsl:for-each
   /xsl:template
  
  Bobo


 -
 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]




Install Problem w/ Cocoon 2 under BEA Weblogic 6.1

2001-09-13 Thread Damian_Kwok

Not sure if anyone is facing the same problem, but I get a
NullPointerException while Weblogic tries to deploy Cocoon 2:

Sep 13, 2001 5:03:30 PM GMT+08:00 Debug HTTP CAPUXP13
myserver Application Manager Thread   101158 Exception thrown
while loading cocoon: java.lang.NullPointerException
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at
org.apache.avalon.framework.context.DefaultContext.put(DefaultContext.java:107)
at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:365)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:136)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:698)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:641)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:586)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2198)
 ...

did I miss out something?

Thanks a lot,
Damian

p.s. configuration: WLS 6.1, Cocoon v2.1-dev
__

Visit us at www.singaporeair.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]




[C1] turbine timed out and cocoon.properties

2001-09-13 Thread Luis Gois


Hello! 
Some time after starting up tomcat/cocoon, I've started receiving the
following error message :

 Error opening pooled connection: mercado: Timed out waiting for
 pooled connection from
 'jdbc:informix-sqli://blackbird:1526/mercado:informixserver=stable'

any hints/solutions for this? Is this related to the timeout parameter
for turbine found in cocoon.properties?
TIA

-- 
Luis A. Gois
---

-
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]




Error compiling sitemap

2001-09-13 Thread Thangadurai

I follow the installation instruction to install C2.

I have got this error while requesting  http://localhost:8080/cocoon/

Should I change anything in my sitemap.xmap file? Please help...

Thangadurai

This is the error part of my cocoon.log file..

DEBUG   10003   [cocoon  ] (Thread-32): DocumentBuilder:
jar:file:/E:/cocoon2/tomcat/lib/xerces_1_4_1.jar!/org/apache/xerces/jaxp/DocumentBuilderImpl.class

ERROR   10003   [cocoon  ] (Thread-32): Error compiling sitemap
java.lang.NoSuchMethodError
 at
org.apache.cocoon.components.browser.BrowserImpl.createDocumentForBrowserInfo(BrowserImpl.java:378)

 at
org.apache.cocoon.components.browser.BrowserImpl.compose(BrowserImpl.java:155)

 at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:98)

 at
org.apache.avalon.excalibur.component.DefaultComponentHandler.get(DefaultComponentHandler.java:92)

 at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:266)

 at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:223)

 at
org.apache.cocoon.transformation.TraxTransformer.compose(TraxTransformer.java:334)

 at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:98)

 at
org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:70)

 at
org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceLimitingPool.java:82)

 at
org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.initialize(SoftResourceLimitingPool.java:67)

 at
org.apache.avalon.excalibur.component.PoolableComponentHandler.initialize(PoolableComponentHandler.java:85)

 at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:383)

 at
org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.java:222)

 at
org.apache.cocoon.www.sitemap_xmap$Configurer.configTransformers(sitemap_xmap.java:984)

 at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:742)
 at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:108)

 at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:81)

 at
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:118)

 at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addCompiledComponent(ProgramGeneratorImpl.java:292)

 at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:164)

 at org.apache.cocoon.sitemap.Handler.run(Handler.java:204)
 at java.lang.Thread.run(Thread.java:484)
DEBUG   10003   [cocoon  ] (Thread-17): Changing Cocoon
context(sitemap.xmap) to prefix()
DEBUG   10003   [cocoon  ] (Thread-17):  from
context(file:/E:/cocoon2/tomcat/webapps/cocoon/) and prefix()
DEBUG   10003   [cocoon  ] (Thread-17):  at URI
DEBUG   10003   [cocoon  ] (Thread-17): New context is
file:/E:/cocoon2/tomcat/webapps/cocoon/
ERROR   10003   [cocoon  ] (Thread-17): Problem with servlet
org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is
not available. Please check
E:\cocoon2\tomcat\webapps\cocoon\WEB-INF\logs\cocoon.log for the exact
error.
 at org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:184)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:102)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:423)
 at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:489)
 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)
INFO10003   [cocoon  ] (Thread-17): '' Processed by Apache Cocoon
2.0b2 in 18.066 seconds.



-
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]




virutal hosts

2001-09-13 Thread Karol Pokojowczyk/POKOJOWCZYK.COM

Hello cocoon-users,

  is it possible to have virtual hosts on cocoon?

  I can define them in Tomcat, but then I would like to have diffirent
  ROOT directory for diffirent hosts in Cocoon sitemap.

  How to achieve this?

-- 
Best regards,
 Karol  mailto:[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]




[C1] turbine timed out and cocoon.properties (Niek, you've had the same problem! Help!)

2001-09-13 Thread Luis Gois


Hello! 
Some time after starting up tomcat/cocoon, I've started receiving the
following error message :

 Error opening pooled connection: mercado: Timed out waiting for
 pooled connection from
 'jdbc:informix-sqli://blackbird:1526/mercado:informixserver=stable'

any hints/solutions for this? Is this related to the timeout parameter
for turbine found in cocoon.properties?
TIA

-- 
Luis A. Gois
---

-
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]




Session lost

2001-09-13 Thread Jeremy Quinn

Dear All,

I am building a little login test.
It is meaningless, because the login validation is hard-coded but it is a
handy test for me, because I am just learning ;)

Here is a snippet of my (sub) sitemap:

map:resources
map:resource name=login-fs
map:generate src=docs/framesets/login.xml/
map:transform src=stylesheets/frameset.xsl/
map:serialize/
/map:resource
map:resource name=welcome-fs
map:generate src=docs/framesets/welcome.xml/
map:transform src=stylesheets/frameset.xsl/
map:serialize/
/map:resource
/map:resources

map:pipelines
map:pipeline
!-- / --
map:match pattern=
map:redirect-to session=true uri=welcome/
/map:match
!-- /welcome --
map:match pattern=welcome*
map:act type=session-validator
map:parameter name=descriptor

value=context://r2r/resources/validators/login-test.xml/
map:parameter name=validate-set 
value=is-logged-in/
map:redirect-to session=true 
resource=welcome-fs/
/map:act
map:act type=form-validator
map:parameter name=descriptor

value=context://r2r/resources/validators/login-test.xml/
map:parameter name=validate-set 
value=is-logged-in/
map:act type=session-propagator
map:paramater name=username 
value={../username}/
map:paramater name=password 
value={../password}/
/map:act
map:redirect-to session=true 
resource=welcome-fs/
/map:act
map:redirect-to session=true resource=login-fs/
/map:match
/map:pipeline
/map:pipelines

This is what the 'login-test.xml' file looks like:

root
parameter name=username type=string nullable=no/
parameter name=password type=string nullable=no/
constraint-set name=is-logged-in
validate name=username equals-to=jermq/
validate name=password equals-to=blah/
/constraint-set
/root


What happens is this:

With URL http://my.ip/c2/r2r/

Matches /r2r/, redirects to r2r subsitemap /
Matches /, redirects to 'welcome'
Matches 'welcome'
Session Validator fails (as expected)
Form Validator fails (as expected)
Session Propagator fails (as expected)
Redirects to 'login-fs'
User fills in form with 'username' and 'password'   posts to 'welcome'
Matches 'welcome'
Session Validator OK
Form Validator OK
Session Propagator OK
Redirects to 'welcome-fs'
I have a session cookie, I am 'logged in'

Up until now, everything has worked as expected

With URL http://my.ip/c2/r2r/welcome

Matches /r2r/, redirects to r2r subsitemap /
Matches /, redirects to 'welcome'
Matches 'welcome'
Session Validator fails (not expected)
should have redirected to 'welcome-fs'


I appear to have lost my session parameters!
It does not report that there is no Session, only that the 'username'
parameter is now null.

Another thing, I sometimes see the session string on the URL (?), why? I
have it in the cookie ..

Can anyone explain what I am doing wrong?

thanks

regards Jeremy








-- 
   ___

   Jeremy Quinn   Karma Divers
   webSpace Design
HyperMedia Research Centre

   mailto:[EMAIL PROTECTED]http://www.media.demon.co.uk
phone:+44.[0].20.7737.6831pager:[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]




[CRITICAL ERROR] Problems with multithreading in cocoon2!!

2001-09-13 Thread Rolf Kluge


Hi there!
I have a problem with the multithreading in cocoon2.  First I describe what I
want to do and then the problems I have.  I want to write a testtool for a
browserbased application with cocoon as frontend.  Herefore the tool saves all
requests from client(browser) to the server in a file.  After this the tool
should send the requests and interpret the response - whether it is successful
or not.  This works fine. Now I want to test the performance of my
application.  So I want to run the sending of requests in 2 or more threads. 
With 2 threads the test works still fine, but when I run it in more than 2 I
get an exception from the server which I can't interpret.  My question: What
does the exception mean and how can I fix it?

BTW: The same exception occurs when I run one threat on a
server (also cocoon2) with 2 CPUs. 

Important details:
VM: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
Applicationserver: JBoss
Webserver: Jetty
Framework: Cocoon2

Exceptions:

[Jetty] ERROR   10002   [cocoon  ] (SocketListener-34): Sitemap
org.apache.avalon.framework.component.ComponentException: UnnamedSelector: 
ComponentSelector could not find the component for hint: xslt
at 
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:239)
at 
org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapComponentSelector.java:49)
at 
org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapComponentSelector.java:52)
at 
org.apache.cocoon.components.pipeline.AbstractEventPipeline.addTransformer(AbstractEventPipeline.java:102)
at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.addTransformer(CachingEventPipeline.java:95)
at org.apache.cocoon.www.sitemap_xmap.wildcardMatchN193(sitemap_xmap.java:1604)
at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:968)
at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:893)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:167)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:96)
at org.apache.cocoon.Cocoon.process(Cocoon.java:353)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.mortbay.HTTP.Handler.Servlet.ServletHolder.handle(ServletHolder.java:488)
at com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHandler.java:459)
at com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHandler.java:294)
at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:1154)
at com.mortbay.HTTP.HttpServer.service(HttpServer.java:775)
at com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:484)
at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:344)
at com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:107)
at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:294)
at com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:613)
at java.lang.Thread.run(Thread.java:484)

12:57:16.924 EVENT  ERROR   10002   [cocoon  ] (SocketListener-34): Sitemap
+ org.apache.avalon.framework.component.ComponentException: UnnamedSelector: 
+ComponentSelector could not find the component for hint: xslt
+   at 
+org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:239)
+   at 
+org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapComponentSelector.java:49)
+   at 
+org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapComponentSelector.java:52)
+   at 
+org.apache.cocoon.components.pipeline.AbstractEventPipeline.addTransformer(AbstractEventPipeline.java:102)
+   at 
+org.apache.cocoon.components.pipeline.CachingEventPipeline.addTransformer(CachingEventPipeline.java:95)
+   at org.apache.cocoon.www.sitemap_xmap.wildcardMatchN193(sitemap_xmap.java:1604)
+   at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:968)
+   at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:893)
+   at org.apache.cocoon.sitemap.Handler.process(Handler.java:167)
+   at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:96)
+   at org.apache.cocoon.Cocoon.process(Cocoon.java:353)
+   at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
+   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
+   at 
+com.mortbay.HTTP.Handler.Servlet.ServletHolder.handle(ServletHolder.java:488)
+   at 
+com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHandler.java:459)
+   at 
+com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHandler.java:294)
+   at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:1154)
+   at com.mortbay.HTTP.HttpServer.service(HttpServer.java:775)
+   at com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:484)
+   at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:344)
+  

AW: [CRITICAL ERROR] Problems with multithreading in cocoon2!!

2001-09-13 Thread Carsten Ziegeler

Hi Rolf,

which version of C2 did you try? We had these problems several
weeks ago, but it was fixed (or at least we thought we had).
So if you not already have done so, try the last cvs version of
C2.0 (not C2.1!).
Even with heavy load we do not get these exceptions here anymore.
Has anyone else still those problems?

Carsten

 Rolf Kluge wrote:

 Hi there!
 I have a problem with the multithreading in cocoon2.  First I
 describe what I
 want to do and then the problems I have.  I want to write a testtool for a
 browserbased application with cocoon as frontend.  Herefore the
 tool saves all
 requests from client(browser) to the server in a file.  After
 this the tool
 should send the requests and interpret the response - whether it
 is successful
 or not.  This works fine. Now I want to test the performance of my
 application.  So I want to run the sending of requests in 2 or
 more threads.
 With 2 threads the test works still fine, but when I run it in
 more than 2 I
 get an exception from the server which I can't interpret.  My
 question: What
 does the exception mean and how can I fix it?

 BTW: The same exception occurs when I run one threat on a
 server (also cocoon2) with 2 CPUs.

 Important details:
 VM: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
 Applicationserver: JBoss
 Webserver: Jetty
 Framework: Cocoon2

 Exceptions:

 [Jetty] ERROR   10002   [cocoon  ] (SocketListener-34): Sitemap
 org.apache.avalon.framework.component.ComponentException:
 UnnamedSelector: ComponentSelector could not find the component
 for hint: xslt
 at
 org.apache.avalon.excalibur.component.ExcaliburComponentSelector.s
 elect(ExcaliburComponentSelector.java:239)
 at
 org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
 omponentSelector.java:49)
 at
 org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
 omponentSelector.java:52)
 at
 org.apache.cocoon.components.pipeline.AbstractEventPipeline.addTra
 nsformer(AbstractEventPipeline.java:102)
 at
 org.apache.cocoon.components.pipeline.CachingEventPipeline.addTran
 sformer(CachingEventPipeline.java:95)
 at
 org.apache.cocoon.www.sitemap_xmap.wildcardMatchN193(sitemap_xmap.
 java:1604)
 at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:968)
 at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:893)
 at org.apache.cocoon.sitemap.Handler.process(Handler.java:167)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:96)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:353)
 at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 com.mortbay.HTTP.Handler.Servlet.ServletHolder.handle(ServletHolde
 r.java:488)
 at
 com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHand
 ler.java:459)
 at
 com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHand
 ler.java:294)
 at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:1154)
 at com.mortbay.HTTP.HttpServer.service(HttpServer.java:775)
 at com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:484)
 at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:344)
 at
 com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:107)
 at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:294)
 at com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:613)
 at java.lang.Thread.run(Thread.java:484)

 12:57:16.924 EVENT  ERROR   10002   [cocoon  ]
 (SocketListener-34): Sitemap
 + org.apache.avalon.framework.component.ComponentException:
 UnnamedSelector: ComponentSelector could not find the component
 for hint: xslt
 +   at
 org.apache.avalon.excalibur.component.ExcaliburComponentSelector.s
 elect(ExcaliburComponentSelector.java:239)
 +   at
 org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
 omponentSelector.java:49)
 +   at
 org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
 omponentSelector.java:52)
 +   at
 org.apache.cocoon.components.pipeline.AbstractEventPipeline.addTra
 nsformer(AbstractEventPipeline.java:102)
 +   at
 org.apache.cocoon.components.pipeline.CachingEventPipeline.addTran
 sformer(CachingEventPipeline.java:95)
 +   at
 org.apache.cocoon.www.sitemap_xmap.wildcardMatchN193(sitemap_xmap.
 java:1604)
 +   at
 org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:968)
 +   at
 org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:893)
 +   at org.apache.cocoon.sitemap.Handler.process(Handler.java:167)
 +   at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:96)
 +   at org.apache.cocoon.Cocoon.process(Cocoon.java:353)
 +   at
 org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
 +   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 +   at
 com.mortbay.HTTP.Handler.Servlet.ServletHolder.handle(ServletHolde
 r.java:488)
 +   at
 

Re: AW: [CRITICAL ERROR] Problems with multithreading in cocoon2!!

2001-09-13 Thread Rolf Kluge


Thanks a lot ..
I will try the last version and post if the error still happens.

rk

On Don, 13 Sep 2001, you wrote:
 Hi Rolf,
 
 which version of C2 did you try? We had these problems several
 weeks ago, but it was fixed (or at least we thought we had).
 So if you not already have done so, try the last cvs version of
 C2.0 (not C2.1!).
 Even with heavy load we do not get these exceptions here anymore.
 Has anyone else still those problems?
 
 Carsten
 
  Rolf Kluge wrote:
 
  Hi there!
  I have a problem with the multithreading in cocoon2.  First I
  describe what I
  want to do and then the problems I have.  I want to write a testtool for a
  browserbased application with cocoon as frontend.  Herefore the
  tool saves all
  requests from client(browser) to the server in a file.  After
  this the tool
  should send the requests and interpret the response - whether it
  is successful
  or not.  This works fine. Now I want to test the performance of my
  application.  So I want to run the sending of requests in 2 or
  more threads.
  With 2 threads the test works still fine, but when I run it in
  more than 2 I
  get an exception from the server which I can't interpret.  My
  question: What
  does the exception mean and how can I fix it?
 
  BTW: The same exception occurs when I run one threat on a
  server (also cocoon2) with 2 CPUs.
 
  Important details:
  VM: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
  Applicationserver: JBoss
  Webserver: Jetty
  Framework: Cocoon2
 
  Exceptions:
 
  [Jetty] ERROR   10002   [cocoon  ] (SocketListener-34): Sitemap
  org.apache.avalon.framework.component.ComponentException:
  UnnamedSelector: ComponentSelector could not find the component
  for hint: xslt
  at
  org.apache.avalon.excalibur.component.ExcaliburComponentSelector.s
  elect(ExcaliburComponentSelector.java:239)
  at
  org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
  omponentSelector.java:49)
  at
  org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
  omponentSelector.java:52)
  at
  org.apache.cocoon.components.pipeline.AbstractEventPipeline.addTra
  nsformer(AbstractEventPipeline.java:102)
  at
  org.apache.cocoon.components.pipeline.CachingEventPipeline.addTran
  sformer(CachingEventPipeline.java:95)
  at
  org.apache.cocoon.www.sitemap_xmap.wildcardMatchN193(sitemap_xmap.
  java:1604)
  at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:968)
  at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:893)
  at org.apache.cocoon.sitemap.Handler.process(Handler.java:167)
  at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:96)
  at org.apache.cocoon.Cocoon.process(Cocoon.java:353)
  at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
  com.mortbay.HTTP.Handler.Servlet.ServletHolder.handle(ServletHolde
  r.java:488)
  at
  com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHand
  ler.java:459)
  at
  com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHand
  ler.java:294)
  at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:1154)
  at com.mortbay.HTTP.HttpServer.service(HttpServer.java:775)
  at com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:484)
  at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:344)
  at
  com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:107)
  at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:294)
  at com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:613)
  at java.lang.Thread.run(Thread.java:484)
 
  12:57:16.924 EVENT  ERROR   10002   [cocoon  ]
  (SocketListener-34): Sitemap
  + org.apache.avalon.framework.component.ComponentException:
  UnnamedSelector: ComponentSelector could not find the component
  for hint: xslt
  +   at
  org.apache.avalon.excalibur.component.ExcaliburComponentSelector.s
  elect(ExcaliburComponentSelector.java:239)
  +   at
  org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
  omponentSelector.java:49)
  +   at
  org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
  omponentSelector.java:52)
  +   at
  org.apache.cocoon.components.pipeline.AbstractEventPipeline.addTra
  nsformer(AbstractEventPipeline.java:102)
  +   at
  org.apache.cocoon.components.pipeline.CachingEventPipeline.addTran
  sformer(CachingEventPipeline.java:95)
  +   at
  org.apache.cocoon.www.sitemap_xmap.wildcardMatchN193(sitemap_xmap.
  java:1604)
  +   at
  org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:968)
  +   at
  org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:893)
  +   at org.apache.cocoon.sitemap.Handler.process(Handler.java:167)
  +   at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:96)
  +   at org.apache.cocoon.Cocoon.process(Cocoon.java:353)
  +   at
  

AW: Writing an Action

2001-09-13 Thread Carsten Ziegeler

You have a typo in your pipeline for XMLTest. It must read
map:generate !

Carsten

 -Ursprungliche Nachricht-
 Von: Tobias Luikard [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 13. September 2001 16:43
 An: [EMAIL PROTECTED]
 Betreff: Writing an Action
 
 
 Hi,
 
 I wrote a Cocoon2 Action. Nothing dramticaly it just adds a
 requestparameter.
 (The java File is added)
 
 This action I can't call in the sitemap. And I have no clue why. Can
 anyone give me a hint?
 The sitemap of this direcory is also added. (This is included with the
 following statement from the main sitemap:
map:match pattern=XMLDB_EVAL/**
 map:mount check-reload=yes src=XMLDB_EVAL/
 uri-prefix=XMLDB_EVAL/
/map:match
 )
 
 
 When I call http://p009:8080/cocoon/XMLDB_EVAL/XMLTest.html I get a
 Exception Attempted to process incomplete pipeline.
 
 Why? Any hints?
 
 Thanks a lot
 
 Tobias
 
 
 
 
 

-
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: java.lang.VerifyError

2001-09-13 Thread Liam Morley

My only other question is what version of the jdk are you using? If
updating that wouldn't help at all, I'm not sure what to do... are you
using the package that comes with debian, or have you downloaded it
separately? As I've seen Cocoon 2 work on debian... and I'm pretty sure
I know somebody who got the original package working on debian.

Liam Morley

-Original Message-
From: Jurgen Lust [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, September 12, 2001 4:25 AM
To: [EMAIL PROTECTED]
Subject: java.lang.VerifyError

Hi,

I installed cocoon on my Debian box this week and it works fine for xslt

processing and for FO and DCP. However, when i try to load xsp page, I
get 
the following error:

java.lang.VerifyError: (class: 
org/apache/cocoon/processor/xsp/XSPProcessor$PageEntry, method: 
setLogicsheets signature: (Ljava/util/Vector;)V) Illegal use of
nonvirtual 
function call
at 
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java)
at org.apache.cocoon.Engine.handle(Engine.java)
at org.apache.cocoon.Cocoon.service(Cocoon.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at 
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java)
at org.apache.tomcat.core.Handler.service(Handler.java)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
a)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java)
at 
org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnec
tion(Ajp13ConnectionHandler.java)
at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java)
at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java)
at java.lang.Thread.run(Thread.java:484)

I'm using Cocoon 1.8-1, xerces 1.4.3, xalan 1.2.2 and tomcat 3.2.3 with 
Apache 1.3.20 with mod_jk. I've already checked that there is no other
JAXP 
jar file in my classpath.

Does anyone know what I might be doing wrong?

Thanks,

Jurgen Lust
Ghent University
St.-Pietersnieuwstraat 136
9000 Gent
Belgium
[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]



-
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]




problem:File Not Found

2001-09-13 Thread movie frick

Hi,

I'm a newbie with cocoon. I have Win NT SP6, Apache 1.3.2 Tomcat 3.2.2 and
Cocoon 2 b2.
Cocoon installation looked like it was OK. I could see all the examples at 
http://localhost:8080/cocoon. However when I'm trying to access for example
an xml file (a hello world file) i've written I get a '404 File Not Found' 
error
and when I check the cocoon.log among lots of other entries it says:

org.apache.cocoon.ResourceNotFoundException: No pipeline matched request
.
.
.


I would appriciate any help you can give me because i'm kind of lost.




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


-
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: Session lost

2001-09-13 Thread Jeremy Quinn

At 2:09 PM +0100 13/9/01, Jeremy Quinn wrote:
Dear All,

I am building a little login test.
It is meaningless, because the login validation is hard-coded but it is a
handy test for me, because I am just learning ;)

Here is a snippet of my (sub) sitemap:

[snip]

   map:act type=form-validator
   map:parameter name=descriptor
   
value=context://r2r/resources/validators/login-test.xml/
   map:parameter name=validate-set 
value=is-logged-in/
   map:act type=session-propagator
   map:paramater name=username 
value={../username}/
   map:paramater name=password 
value={../password}/
   /map:act

[snip]

OK, sorry, I worked out why it was not working

1. wrote 'paramater' instead of 'parameter', yek!
2. the expression to pick up the parameter was wrong, but I don't
understand why

map:parameter name=username value={../username}/ did'nt work

map:parameter name=username value={username}/ worked

which puzzled me, I thought that because the 'session-propagator' action
was nested inside the 'form-validator' I would need to access the 'parent'
Map, I thought the 'form-validator' was the one that had put the parameters
onto the Map.

regards Jeremy
-- 
   ___

   Jeremy Quinn   Karma Divers
   webSpace Design
HyperMedia Research Centre

   mailto:[EMAIL PROTECTED]http://www.media.demon.co.uk
phone:+44.[0].20.7737.6831pager:[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: TurbineResources.properties error msg

2001-09-13 Thread Mark S. Kent

Brian,
Thanks, that worked.  The ...pool.logfile... parameter was commented out
(don't know why), but I did not have the second line
(processor.xsp.pool.turbine.logs=database).  Everything seems to be working
ok.  Do I still need it?

Mark

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Brian P Millett
Sent: Thursday, September 13, 2001 2:37 PM
To: [EMAIL PROTECTED]; Mark Kent
Subject: Re: TurbineResources.properties error msg


Mark S. Kent wrote:

 I've turned on esql pooling (which works great), but now the first  time I
 try to run an esql command in an XML file I get an error message in the
 tomcat log file of:

 java.lang.Exception: The logfile= property and the turbine.logs= property
 in the TurbineResources.properties file are null or could not be found.
 At least one of these properties must be defined in the
 TurbineResources.properties file.

 I then must restart tomcat and httpd to get the website to start
working
 again.

Mark, those parameters are defined in the cocoon.properties file:

processor.xsp.pool.logfile=/opt/apache/jserv/logs/dbPool.log
processor.xsp.pool.turbine.logs=database

Make sure that they are set and that the cocoon.properties file can be seen
in the WEB-INF
directory.

--
Brian Millett
Enterprise Consulting Group   Shifts in paradigms
(314) 205-9030   often cause nose bleeds.
[EMAIL PROTECTED]   Greg Glenn




-
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: TurbineResources.properties error msg

2001-09-13 Thread Brian P Millett

Mark S. Kent wrote:

 Brian,
 Thanks, that worked.  The ...pool.logfile... parameter was commented out
 (don't know why), but I did not have the second line
 (processor.xsp.pool.turbine.logs=database).  Everything seems to be working
 ok.  Do I still need it?

Only if you want to see statements about how many connections are active.
Stuff like:
[Thu Sep 06 14:40:16 GMT-06:00 2001] -- NOTICE  -- tropicos (in + out = total): 1 + 0 
= 1

Not to exciting.

--
Brian Millett
Enterprise Consulting Group   Shifts in paradigms
(314) 205-9030   often cause nose bleeds.
[EMAIL PROTECTED]   Greg Glenn




-
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: java.lang.VerifyError

2001-09-13 Thread Jeff Turner

On Wed, Sep 12, 2001 at 11:25:26AM +0200, Jurgen Lust wrote:
 Hi,
 
 I installed cocoon on my Debian box this week and it works fine for xslt 
 processing and for FO and DCP. However, when i try to load xsp page, I get 
 the following error:
 
 java.lang.VerifyError: (class: 
 org/apache/cocoon/processor/xsp/XSPProcessor$PageEntry, method: 
[snip] 
 I'm using Cocoon 1.8-1, xerces 1.4.3, xalan 1.2.2 and tomcat 3.2.3 with 
 Apache 1.3.20 with mod_jk. I've already checked that there is no other JAXP 
 jar file in my classpath.

Aha, but if you're Debian's java package (j2sdk1.3), it does evil things
to your classpath without even telling you. Check you have nothing that
could conflict in your /usr/share/java/repository directory.

--Jeff

 Does anyone know what I might be doing wrong?
 
 Thanks,
 
 Jurgen Lust
 Ghent University
 St.-Pietersnieuwstraat 136
 9000 Gent
 Belgium
 [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]




Can Cocoon Produce I-Mode Content

2001-09-13 Thread Antony Stace
Hi FOlks

Can cocoon produce I-Mode Content?

Cheers

Tony

-
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]


Help: Error Compiling Sitemap

2001-09-13 Thread Damian_Kwok

Hi all,
I'm still trying to get Cocoon 2.0b2 to run on Weblogic 6.1.  I've followed
the installation intstructions for WLS6.0 and got as far as Cocoon being
loaded by WLS6.1 (there is a WLS6.1 issue which took us a while to nail
down).  However, while accessing /cocoon/ I get a Cocoon internal server
error (Error Compiling sitemap).  Could someone point me to what might be
wrong?  Do I need to change anything in the sitemap?

thanks a lot in advance.  Also, how can I contribute to the installation
documentation? Seems like there are some WLS6.1 specific gotchas that
should be included

Damian


Sep 14, 2001 10:04:30 AM GMT+08:00 Info HTTP CAPUXP13
myserver Thread-19   101047
[WebAppServletContext(5401276,cocoon,/cocoon)] ERROR   10004   [cocoon  ]
(Thread-19): Error compiling sitemap
org.apache.avalon.framework.component.ComponentException: markup-languages:
ComponentSelector could not access the Component for hint: sitemap
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:253)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:176)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:204)
at java.lang.Thread.run(Unknown Source)
org.apache.avalon.framework.configuration.ConfigurationException:
AbstractMarkupLanguage: SAX2 driver class
weblogic.apache.xerces.parsers.SAXParser not found
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configure(AbstractMarkupLanguage.java:141)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:108)
at
org.apache.avalon.excalibur.component.DefaultComponentHandler.get(DefaultComponentHandler.java:92)
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:246)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:176)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:204)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: weblogic.apache.xerces.parsers.SAXParser
at
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:118)
at
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:96)
at
org.apache.cocoon.components.language.markup.Logicsheet.setInputSource(Logicsheet.java:99)
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.createLogicsheet(AbstractMarkupLanguage.java:182)
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configure(AbstractMarkupLanguage.java:113)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:108)
at
org.apache.avalon.excalibur.component.DefaultComponentHandler.get(DefaultComponentHandler.java:92)
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:246)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:176)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:204)
at java.lang.Thread.run(Unknown Source)

Sep 14, 2001 10:04:30 AM GMT+08:00 Info HTTP CAPUXP13
myserver ExecuteThread: '8' for queue: 'default'   101047
[WebAppServletContext(5401276,cocoon,/cocoon)] ERROR   10004   [cocoon  ]
(ExecuteThread: '8' for queue: 'default'): Problem with servlet
org.apache.cocoon.ProcessingException: Exception in
Handler:org.apache.avalon.framework.component.ComponentException:
markup-languages: ComponentSelector could not access the Component for
hint: sitemap
at
org.apache.cocoon.sitemap.Handler.throwEventualException(Handler.java:239)
at org.apache.cocoon.sitemap.Handler.regenerate(Handler.java:153)
at org.apache.cocoon.sitemap.Manager.getHandler(Manager.java:174)
__

Visit us at www.singaporeair.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]




Re: problem:File Not Found

2001-09-13 Thread Tobias Luikard

I movie .-)

you have to specify a pipeline for this request. Look at:

http://xml.apache.org/cocoon2/sitemap.html

and on your Cocoon installation in $cocoon-root$/webapp/sitemap.xmap for
exampels.

By

Tobi

movie frick wrote:

 Hi,

 I'm a newbie with cocoon. I have Win NT SP6, Apache 1.3.2 Tomcat 3.2.2 and
 Cocoon 2 b2.
 Cocoon installation looked like it was OK. I could see all the examples at
 http://localhost:8080/cocoon. However when I'm trying to access for example
 an xml file (a hello world file) i've written I get a '404 File Not Found'
 error
 and when I check the cocoon.log among lots of other entries it says:

 org.apache.cocoon.ResourceNotFoundException: No pipeline matched request
 .
 .
 .

 I would appriciate any help you can give me because i'm kind of lost.

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

 -
 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]