RE: passing request parameters to xsl using cocoon 2.x: Null Pointer

2002-04-23 Thread Zachary A Lendon


I got it working!  Thanks for your help - was a struggle but got
there...more fun to be had!  Glad to be apart of the group...



   

"Zachary A 

Lendon"  To: [EMAIL PROTECTED]   

  Subject: RE: passing request parameters 
to xsl using cocoon 2.x: Null 
Pointer

   

04/23/2002 12:44   

PM 

Please respond 

to cocoon-users

   

   






Thank you for the info.  I get the below error even when accessing the
samples in cocoon.  I've tried various map permutations, and even taken out
everything else (pipeline related) out of my "framework" dir's sitemap.  It
looks like from below that the issue is with my main sitemap, but I've
changed it back to the original!  From the java source, it appears to be
getting null when creating a new instance of EventPipeline...

Here is my sitemap log error msg:
ERROR   (2002-04-23) 12:34.08:457
[sitemap](/cocoon/framework/framework.xml) web-13/sitemap_xmap: Processing
of resource failed
java.lang.NullPointerException
 at
org.apache.cocoon.www.sitemap_xmap.process(/opt/JRun31/servers/default/tmp/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:3105)

 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(JRunSE.java:1416)
 at
allaire.jrun.session.JRunSessionService.service(JRunSessionService.java:1082)

 at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:1270)
 at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:89)

 at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1552)
 at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1542)
 at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:364)
 at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:115)
 at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
 at allaire.jrun.WorkerThread.run(WorkerThread.java:75)

Here is my pipeline entry:

  

 
 
 
 
 
   

 
 
   

   

  
 




"Vadim Gritsenko"


rizon.net>  cc:

                    Subject: RE: passing
request parameters to xsl using cocoon 2.x

04/23/2002 12:16 AM

Please respond to

cocoon-users







> From: Zachary A Lendon [mailto:[EMAIL PROTECTED]]
>
>
> My sitemap entry is in there.

These are transformer's declarations, I meant pipeline entry.


> The page.xml file tells me what "logicsheet"
> to use.

There is no way in Cocoon 2 you could do this.


>  I'm not doing "mapping" persay in the sitemap file,

You must.


> only trying to
> make sure it transforms my xsl properly.  And it seems to not be
processing
> my requests properly,

Exactly my point - you must have appropriate pipeline entry.


> and my syntax appears proper so I feel it must be a
> setting thing.  Documentation is not clear on how to set up the
sitemap so
> that request parameters can be handled.  Is my sitemap entry below
correct?
>
> > 
> >  > pool-grow="2" pool-max="32" pool-min="8" src
> > ="org.apache.cocoon.transformation.TraxTransformer">
> >   true
> >
false
> >   false
> > 
> >
> >  > src=&

RE: passing request parameters to xsl using cocoon 2.x: Null Pointer

2002-04-23 Thread Vadim Gritsenko

> From: Zachary A Lendon [mailto:[EMAIL PROTECTED]]
> 
> 
> Thank you for the info.  I get the below error even when accessing the
> samples in cocoon.  I've tried various map permutations, and even
taken out
> everything else (pipeline related) out of my "framework" dir's
sitemap.  It
> looks like from below that the issue is with my main sitemap, but I've
> changed it back to the original!  From the java source, it appears to
be
> getting null when creating a new instance of EventPipeline...
> 
...
> 
> Here is my pipeline entry:
> 
>   
> 
>  
>  
>  
>  

What it is doing here?
I think you meant:


  


Vadim


>  
>
> 
>  
>  
>
> 
>
> 
>   
>  
> 
> 
> 
> 
> "Vadim Gritsenko"
>              [EMAIL PROTECTED]>
>         rizon.net>  cc:
> Subject: RE: passing
request
> parameters to xsl using cocoon 2.x
> 
> 04/23/2002 12:16 AM
> Please respond to
> cocoon-users
> 
> 
> 
> 
> 
> 
> > From: Zachary A Lendon [mailto:[EMAIL PROTECTED]]
> >
> >
> > My sitemap entry is in there.
> 
> These are transformer's declarations, I meant pipeline entry.
> 
> 
> > The page.xml file tells me what "logicsheet"
> > to use.
> 
> There is no way in Cocoon 2 you could do this.
> 
> 
> >  I'm not doing "mapping" persay in the sitemap file,
> 
> You must.
> 
> 
> > only trying to
> > make sure it transforms my xsl properly.  And it seems to not be
> processing
> > my requests properly,
> 
> Exactly my point - you must have appropriate pipeline entry.
> 
> 
> > and my syntax appears proper so I feel it must be a
> > setting thing.  Documentation is not clear on how to set up the
> sitemap so
> > that request parameters can be handled.  Is my sitemap entry below
> correct?
> >
> > > 
> > >  > > pool-grow="2" pool-max="32" pool-min="8" src
> > > ="org.apache.cocoon.transformation.TraxTransformer">
> > >   true
> > >
> false
> > >   false
> > > 
> > >
> > >  > > src="org.apache.cocoon.transformation.TraxTransformer">
> > > true
> > >   
> 
> Yes. Declarations are fine.
> 
> 
> > if not, how should it be?  If it is, why doesn't my sample from
below
> work?
> > Thank you all in advance for any help you might be able to
provide...
> 
> You should have pipeline which will use declared transformer.
> 
> Vadim
> 
> 
> >
> > "Vadim Gritsenko"
> >  > [EMAIL PROTECTED]>
> > rizon.net>  cc:
> > Subject: RE: passing
> request
> > parameters to xsl using cocoon 2.x
> >
> > 04/19/2002 07:10 PM
> > Please respond to
> > cocoon-users
> >
> >
> >
> >
> >
> >
> > > From: Zachary A Lendon [mailto:[EMAIL PROTECTED]]
> > >
> > > In using the syntax:
> > > http://www.somesite.com/page.xml?param1=test
> > >
> > > and having an associated xsl stylesheet with:
> > >
> > > 
> > >  > > ="http://www.w3.org/1999/XSL/Transform"; xmlns:xsp
> > > ="http://www.apache.org/1999/XSP/Core";>
> > >
> > > 
> > > ..
> > > 
> > >
> > > I am getting the page to render (in html) but am not getting the
> > request
> > > parameter values to show up.  Reading through the documentation, I
> > > attempted to do the following edits to sitemap.xmap:
> > > ..
> > > 
> > >  > > pool-grow="2" pool-max="32" pool-min="8" src
> > > ="org.apache.cocoon.transformation.TraxTransformer">
> > >   true
> > >
> false
> > >   false
> > > 
> > >
> > >  > > src="org.apache.cocoon.transformation.TraxTransformer">
> > > true
> > >   
> > > ..
> > >
> > > Any advice?  This seems simple...
> >
> > You forgot to tell what your sitemap ent

RE: passing request parameters to xsl using cocoon 2.x: Null Pointer

2002-04-23 Thread Zachary A Lendon


Thank you for the info.  I get the below error even when accessing the
samples in cocoon.  I've tried various map permutations, and even taken out
everything else (pipeline related) out of my "framework" dir's sitemap.  It
looks like from below that the issue is with my main sitemap, but I've
changed it back to the original!  From the java source, it appears to be
getting null when creating a new instance of EventPipeline...

Here is my sitemap log error msg:
ERROR   (2002-04-23) 12:34.08:457
[sitemap](/cocoon/framework/framework.xml) web-13/sitemap_xmap: Processing
of resource failed
java.lang.NullPointerException
 at
org.apache.cocoon.www.sitemap_xmap.process(/opt/JRun31/servers/default/tmp/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:3105)
 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(JRunSE.java:1416)
 at
allaire.jrun.session.JRunSessionService.service(JRunSessionService.java:1082)
 at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:1270)
 at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:89)
 at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1552)
 at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1542)
 at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:364)
 at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:115)
 at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
 at allaire.jrun.WorkerThread.run(WorkerThread.java:75)

Here is my pipeline entry:

  

 
 
 
 
 
   

 
 
   

   

  
 



   
   
"Vadim Gritsenko"  
   
  
   
rizon.net>  cc:
   
                Subject:     RE: passing request 
parameters to xsl using cocoon 2.x   
   
   
04/23/2002 12:16 AM
   
Please respond to  
   
cocoon-users   
   
   
   
   
   




> From: Zachary A Lendon [mailto:[EMAIL PROTECTED]]
>
>
> My sitemap entry is in there.

These are transformer's declarations, I meant pipeline entry.


> The page.xml file tells me what "logicsheet"
> to use.

There is no way in Cocoon 2 you could do this.


>  I'm not doing "mapping" persay in the sitemap file,

You must.


> only trying to
> make sure it transforms my xsl properly.  And it seems to not be
processing
> my requests properly,

Exactly my point - you must have appropriate pipeline entry.


> and my syntax appears proper so I feel it must be a
> setting thing.  Documentation is not clear on how to set up the
sitemap so
> that request parameters can be handled.  Is my sitemap entry below
correct?
>
> > 
> >  > pool-grow="2" pool-max="32" pool-min="8" src
> > ="org.apache.cocoon.transformation.TraxTransformer">
> >   true
> >
false
> >   false
> > 
> >
> >  > src="org.apache.cocoon.transformation.TraxTransformer">
> > true
> >   

Yes. Declarations are fine.


> if not, how should it be?  If it is, why doesn't my sample from below
work?
> Thank you all in advance for any help you might be able to provide...

You should have pipeline which will use declared transformer.

Vadim


>
> "Vadim Gritsenko"
>  [EMAIL PROTECTED]>
> rizon.net>  cc:
> Subject: RE: passing
request
> parameter

RE: passing request parameters to xsl using cocoon 2.x

2002-04-22 Thread Vadim Gritsenko

> From: Zachary A Lendon [mailto:[EMAIL PROTECTED]]
> 
> 
> My sitemap entry is in there. 

These are transformer's declarations, I meant pipeline entry.


> The page.xml file tells me what "logicsheet"
> to use.

There is no way in Cocoon 2 you could do this.


>  I'm not doing "mapping" persay in the sitemap file, 

You must.


> only trying to
> make sure it transforms my xsl properly.  And it seems to not be
processing
> my requests properly, 

Exactly my point - you must have appropriate pipeline entry.


> and my syntax appears proper so I feel it must be a
> setting thing.  Documentation is not clear on how to set up the
sitemap so
> that request parameters can be handled.  Is my sitemap entry below
correct?
> 
> > 
> >  > pool-grow="2" pool-max="32" pool-min="8" src
> > ="org.apache.cocoon.transformation.TraxTransformer">
> >   true
> >
false
> >   false
> > 
> >
> >  > src="org.apache.cocoon.transformation.TraxTransformer">
> > true
> >   

Yes. Declarations are fine.


> if not, how should it be?  If it is, why doesn't my sample from below
work?
> Thank you all in advance for any help you might be able to provide...

You should have pipeline which will use declared transformer.

Vadim


> 
>             "Vadim Gritsenko"
>  [EMAIL PROTECTED]>
> rizon.net>  cc:
> Subject: RE: passing
request
> parameters to xsl using cocoon 2.x
> 
> 04/19/2002 07:10 PM
> Please respond to
> cocoon-users
> 
> 
> 
> 
> 
> 
> > From: Zachary A Lendon [mailto:[EMAIL PROTECTED]]
> >
> > In using the syntax:
> > http://www.somesite.com/page.xml?param1=test
> >
> > and having an associated xsl stylesheet with:
> >
> > 
> >  > ="http://www.w3.org/1999/XSL/Transform"; xmlns:xsp
> > ="http://www.apache.org/1999/XSP/Core";>
> >
> > 
> > ..
> > 
> >
> > I am getting the page to render (in html) but am not getting the
> request
> > parameter values to show up.  Reading through the documentation, I
> > attempted to do the following edits to sitemap.xmap:
> > ..
> > 
> >  > pool-grow="2" pool-max="32" pool-min="8" src
> > ="org.apache.cocoon.transformation.TraxTransformer">
> >   true
> >
false
> >   false
> > 
> >
> >  > src="org.apache.cocoon.transformation.TraxTransformer">
> > true
> >   
> > ..
> >
> > Any advice?  This seems simple...
> 
> You forgot to tell what your sitemap entry looks like.
> 
> Vadim
> 
> 
> -
> 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]>
> 
> 
> 
> 
> 
> ==
> The preceding e-mail message (including any attachments) contains
> information that may be confidential, be protected by the
attorney-client
> or other applicable privileges, or constitute non-public information.
It
> is intended to be conveyed only to the designated recipient(s).  If
you are
> not an intended recipient of this message, please notify the sender by
> replying to this message and then delete it from your system.  Use,
> dissemination, distribution, or reproduction of this message by
unintended
> recipients is not authorized and may be unlawful.
> ==
> 
> 
> 
> 
> -
> 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: passing request parameters to xsl using cocoon 2.x

2002-04-22 Thread Zachary A Lendon


My sitemap entry is in there.  The page.xml file tells me what "logicsheet"
to use.  I'm not doing "mapping" persay in the sitemap file, only trying to
make sure it transforms my xsl properly.  And it seems to not be processing
my requests properly, and my syntax appears proper so I feel it must be a
setting thing.  Documentation is not clear on how to set up the sitemap so
that request parameters can be handled.  Is my sitemap entry below correct?

> 
>  pool-grow="2" pool-max="32" pool-min="8" src
> ="org.apache.cocoon.transformation.TraxTransformer">
>   true
>   false
>   false
> 
>
>  src="org.apache.cocoon.transformation.TraxTransformer">
> true
>   

if not, how should it be?  If it is, why doesn't my sample from below work?
Thank you all in advance for any help you might be able to provide...



   
   
"Vadim Gritsenko"  
   
  
   
rizon.net>  cc:                        
           
Subject: RE: passing request 
parameters to xsl using cocoon 2.x   
   
   
04/19/2002 07:10 PM
   
Please respond to  
   
cocoon-users   
   
   
   
   
   




> From: Zachary A Lendon [mailto:[EMAIL PROTECTED]]
>
> In using the syntax:
> http://www.somesite.com/page.xml?param1=test
>
> and having an associated xsl stylesheet with:
>
> 
>  ="http://www.w3.org/1999/XSL/Transform"; xmlns:xsp
> ="http://www.apache.org/1999/XSP/Core";>
>
> 
> ..
> 
>
> I am getting the page to render (in html) but am not getting the
request
> parameter values to show up.  Reading through the documentation, I
> attempted to do the following edits to sitemap.xmap:
> ..
> 
>  pool-grow="2" pool-max="32" pool-min="8" src
> ="org.apache.cocoon.transformation.TraxTransformer">
>   true
>   false
>   false
> 
>
>  src="org.apache.cocoon.transformation.TraxTransformer">
> true
>   
> ..
>
> Any advice?  This seems simple...

You forgot to tell what your sitemap entry looks like.

Vadim


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





==
The preceding e-mail message (including any attachments) contains
information that may be confidential, be protected by the attorney-client
or other applicable privileges, or constitute non-public information.  It
is intended to be conveyed only to the designated recipient(s).  If you are
not an intended recipient of this message, please notify the sender by
replying to this message and then delete it from your system.  Use,
dissemination, distribution, or reproduction of this message by unintended
recipients is not authorized and may be unlawful.
==




-
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: passing request parameters to xsl using cocoon 2.x

2002-04-19 Thread Vadim Gritsenko

> From: Zachary A Lendon [mailto:[EMAIL PROTECTED]]
> 
> In using the syntax:
> http://www.somesite.com/page.xml?param1=test
> 
> and having an associated xsl stylesheet with:
> 
> 
>  ="http://www.w3.org/1999/XSL/Transform"; xmlns:xsp
> ="http://www.apache.org/1999/XSP/Core";>
> 
> 
> ..
> 
> 
> I am getting the page to render (in html) but am not getting the
request
> parameter values to show up.  Reading through the documentation, I
> attempted to do the following edits to sitemap.xmap:
> ..
> 
>  pool-grow="2" pool-max="32" pool-min="8" src
> ="org.apache.cocoon.transformation.TraxTransformer">
>   true
>   false
>   false
> 
> 
>  src="org.apache.cocoon.transformation.TraxTransformer">
> true
>   
> ..
> 
> Any advice?  This seems simple...

You forgot to tell what your sitemap entry looks like.

Vadim


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