cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "KUNTAL A. TRIVEDI" <kuntal.triv...@tatainfotech.com>
Subject RE: Cocoon producer config question
Date Thu, 13 Jan 2000 01:48:17 GMT
I am using Windows NT (Service pack 4) too.
and u r right , its pretty frustrating
do inform if u can get thru this,
Regards, 
Kuntal

On Wed, 12 Jan 2000, Brevoort, Michael (FUSA) wrote:

> Ok, so this looks like its some kind of bug, and I'm not just going crazy.  
> 
> I'm running with:
> NT (service pack 4)
> Apache 1.3.9 win32
> Jserv 1.1b3
> Cocoon 1.5
> jdk 1.2.2
> 
> Kuntal, what OS are you running.  I'm wondering if this may be isolated to
> NT.
> 
> Anyone have any ideas?
> 
> -----Original Message-----
> From: KUNTAL A. TRIVEDI [mailto:kuntal.trivedi@tatainfotech.com]
> Sent: Tuesday, January 11, 2000 9:00 PM
> To: Brevoort, Michael (FUSA)
> Cc: cocoon-users@xml.apache.org
> Subject: Re: Cocoon producer config question
> 
> 
> Hi Michael,
> I have been stuck with the same problem. Its just that I am using JRun on
> IIS istead of Jserv on Apache.
>  
> >From what I understand:-
> The whatever.xml file is just a dummy file so that the cocoon servlet is
> invoked because of the ".xml" extension
> If u want, u can create your qwn producer which can manipulate the .xml
> file.
> But, I still can't figure out a way to make the cocoon servlet locate the
> MyProducer.class file.
> 
> 
> On Tue, 11 Jan 2000, Brevoort, Michael (FUSA) wrote:
> 
> > I was wondering if anyone could help me...
> > 
> > I wrote a new producer that I'm trying to setup in Cocoon.  I compiled it,
> > and added the classpath to the .class file to my jserv.properties file as:
> > 
> > 	wrapper.classpath=e:\apache\Demo
> > 
> > The classfile exists at
> > e:\apache\Demo\com\FUSA\CocoonDemo\DemoProducer.class and is part of the
> > com.FUSA.CocoonDemo package.  
> > 
> > I also added the following line to my cocoon.properties file:
> > 
> > 	producer.type.demo = com.FUSA.CocoonDemo.DemoProducer
> > 
> > One quick question, how do I specify which producer I want to use for a
> > specific xml file?  I noticed somewhere the syntax:
> > 'whatever.xml?producer=dummy'.  will this work, and if it does, what
> happens
> > to the whatever.xml file when my producer dynamically generates the xml?  
> > 
> > Ok, back to the real issue here:
> > 
> > When I try to bring up any xml page using the default 'file' producer, I
> get
> > this error:
> > 
> > 
> > Publishing Engine could not be initialized.
> > 
> >       java.lang.RuntimeException: Error creating
> > com.FirstUSA.CocoonDemo.DemoProducer: class is not found
> >               at
> org.apache.cocoon.framework.Manager.create(Manager.java:95)
> >               at org.apache.cocoon.framework.Router.init(Router.java,
> > Compiled Code)
> >               at
> > org.apache.cocoon.producer.ProducerFactory.init(ProducerFactory.java:73)
> >               at
> org.apache.cocoon.framework.Manager.create(Manager.java:90)
> >               at org.apache.cocoon.Engine.(Engine.java:125)
> >               at org.apache.cocoon.Cocoon.init(Cocoon.java:118)
> >               at
> >
> org.apache.jserv.JServServletManager.load_init(JServServletManager.java:569)
> >               at
> >
> org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:48
> > 8)
> >               at
> > org.apache.jserv.JServConnection.processRequest(JServConnection.java:266)
> >               at
> > org.apache.jserv.JServConnection.run(JServConnection.java:188)
> >               at java.lang.Thread.run(Thread.java:479)
> > 
> > 
> > Thanks in advance!
> > 
> > Mike Brevoort
> > Internet Systems Integration
> > First USA Bank
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 
> ---------------------------------------------------------------------
> 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