RE: authentication frustration

2002-11-04 Thread Bert Van Kets
At 14:57 31/10/2002 +0100, you wrote:

> I too will be very hard at work on a SAP project from November 18th till
> February 2003.  I will be developing iViews for the SAP Enterprise
> Portal.  One of the things I'll be testing is integrating Cocoon in an
> iView.  Should be interesting, specially with the web3 component (i got
> running BTW).

Hi Bert,

Nice to hear!
We will come up with a new version (bugfixes, move to the Apache namespace
and into a cocoon block) soon.

We would be pleased to hear about your experiences with Web3 and SAP
Portals.


The only real problem I'm having at the moment is getting used to the 
German abbreviations for passing parameters to the BAPIs.  It seems this is 
a typical SAP thing.  Would be nice to catch those. ;-)

Bert


Regards,
Reinhard



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



-
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: authentication frustration

2002-10-31 Thread Reinhard Poetz
> I too will be very hard at work on a SAP project from November 18th till
> February 2003.  I will be developing iViews for the SAP Enterprise
> Portal.  One of the things I'll be testing is integrating Cocoon in an
> iView.  Should be interesting, specially with the web3 component (i got
> running BTW).

Hi Bert,

Nice to hear!
We will come up with a new version (bugfixes, move to the Apache namespace
and into a cocoon block) soon.

We would be pleased to hear about your experiences with Web3 and SAP
Portals.

Regards,
Reinhard



-
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: authentication frustration

2002-10-31 Thread Bert Van Kets
The problem is caused by the bug described below.
A workaround is to add the user data to a session attribute and use that 
one when the data is needed.  The context data is only used by the 
authentication actions :-(

I have a site running with authentication by mySQL database for a member 
section.  On top of this I'm running the portal with xml file 
authentication.  The coplets in the portal give access to the content of 
the different files of the site.  It's actually used as a CMS.  The CMS is 
used by only a handful of people and only one person can access a certain 
part at the same time.  So there is not need for file locking and such and 
the SourceWritingTransfomer can safely be used.

Bert


At 06:02 31/10/2002 -0500, you wrote:
Sir,
I understand your frustration.  We have been trying to get authentication
using that sunRise stuff for over a month now.  One goes down the primrose
path only to find absolutely nothing - that is called frustration.

Actually, I believe that there is something that we have set incorrectly.
But, we do not have enough of visibility into the process to determine where
we have gone astray.  We are still digging, but we are continuing to get
more of nothing.  And you know how that feels.

Ray

> -Original Message-
> From: Bert Van Kets [mailto:bert@;vankets.com]
> Sent: Wednesday, October 30, 2002 8:45 AM
> To: [EMAIL PROTECTED]
> Subject: Re: authentication frustration
>
>
> Carsten,
> Any idea when this will be solved?
>
> Bert
>
> At 14:16 30/10/2002 +0100, you wrote:
> >apparently it does :(
> >Any solution around this?
> >
> >How can I call the data in the session context in a pipeline
> that's called
> >from another pipeline???
> >
> >I'm about to throw my PC out the window!
> >
> >Bert
> >
> >At 14:44 30/10/2002 +0200, you wrote:
> >>Could this happen due to this bug:
> >>http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12293 ?
> >>
> >>Just a guess...
> >>
> >>-Tuomo
> >>
> >>On Wed, 30 Oct 2002, Bert Van Kets wrote:
> >>
> >> > I'm trying to create a form that gives the authenticated user access
> >> to his
> >> > data in the database.
> >> > I'm using the sunRise authentication in a CVS build form 14
> May 2002 with
> >> > tomcat 4.0.1 and jDK 1.3.1_2 on win2K.
> >> >
> >> > A pipeline aggregates all the necessary data to present the
> page.  One
> >> part
> >> > of this aggregation is a call to a pipeline that generates
> the xhtm form
> >> > containing the user data.
> >> >
> >> > When I call the pipeline that generates the xhtml form
> directly I get the
> >> > correct content.  When I call the full page, I get a
> nullpointer error on
> >> > the above pipeline.
> >> > very strange.  Commenting out the form pipeline gives me the
> page without
> >> > errors, but with no actual content.  When I replace the call to the
> >> > pipeline with a call to a file I created by saving the
> output from calling
> >> > the form creation pipeline directly, I get a correct full page.
> >> >
> >> > The pipeline that generates the user data xhtml form uses the
> >> > xsp-session:getxml tag (the latest version) to get the user
> ID from the
> >> > session context.  Replacing this tag with the ID itself
> gives me a correct
> >> > page.  So my guess is that the error is somehow related to that tag.
> >> >
> >> > Here's some data:
> >> > the pipelines:
> >> >
> >> > 
> >> > >> src="system/members/getmemberdata.xsp"/>
> >> >
> >> >
> >> > 
> >> >
> >> > 
> >> >
> >> >  
> >> >  
> >> >  
> >> >  
> >> >
> >> >
> >> >
> >> > 
> >> >
> >> > The part from the xsp page that generates the user data:
> >> >
> >> > 
> >> > bvar
> >> > 
> >> > SELECT * FROM members WHERE ID= >> > type="int">Integer.parseInt( >> > context="authentication" path="/authentication/ID"
> >> > as="string"/>)
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> >
> >> > I'm almost banging my head on the wall with f

RE: authentication frustration

2002-10-31 Thread Bert Van Kets
k, Thanks Carsten.  I really respect your work and understand you have 
other priorities at the moment.
I too will be very hard at work on a SAP project from November 18th till 
February 2003.  I will be developing iViews for the SAP Enterprise 
Portal.  One of the things I'll be testing is integrating Cocoon in an 
iView.  Should be interesting, specially with the web3 component (i got 
running BTW).

I got a workaround by storing the user data in a session attribute and get 
the data from there.  It's dirty, but it works.

I hope I will learn enough on Cocoon's components at my next project to 
start delving into the code myself.  I'm sure your book will come in handy. ;-)

Man, I can't wait till Cocoon version 2.1 so I can safely upgrade my 
applications.

Thanks for all the work and suport.

Bert

At 12:10 31/10/2002 +0100, you wrote:


> -Original Message-
> From: Bert Van Kets [mailto:bert@;vankets.com]
> Sent: Wednesday, October 30, 2002 2:45 PM
> To: [EMAIL PROTECTED]
> Subject: Re: authentication frustration
>
>
> Carsten,
> Any idea when this will be solved?
>
I don't want to be ironical, but there are two possibilities
to fix it:

a) I do it, as soon as I get time (and this will not happen
in the next 5 weeks, I guess)

b) Someone else diggs into the code and fixes it.

So if a) is the solution, I hope by the end of the year :(,
but of course before 2.1 is out!

Sorry,
Carsten

-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.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/faq/index.html>

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




RE: authentication frustration

2002-10-31 Thread Carsten Ziegeler


> -Original Message-
> From: Bert Van Kets [mailto:bert@;vankets.com]
> Sent: Wednesday, October 30, 2002 2:45 PM
> To: [EMAIL PROTECTED]
> Subject: Re: authentication frustration
> 
> 
> Carsten,
> Any idea when this will be solved?
> 
I don't want to be ironical, but there are two possibilities
to fix it:

a) I do it, as soon as I get time (and this will not happen
in the next 5 weeks, I guess)

b) Someone else diggs into the code and fixes it.

So if a) is the solution, I hope by the end of the year :(,
but of course before 2.1 is out!

Sorry,
Carsten

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

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




RE: authentication frustration

2002-10-31 Thread Ray Martin
Sir,
I understand your frustration.  We have been trying to get authentication
using that sunRise stuff for over a month now.  One goes down the primrose
path only to find absolutely nothing - that is called frustration.

Actually, I believe that there is something that we have set incorrectly.
But, we do not have enough of visibility into the process to determine where
we have gone astray.  We are still digging, but we are continuing to get
more of nothing.  And you know how that feels.

Ray

> -Original Message-
> From: Bert Van Kets [mailto:bert@;vankets.com]
> Sent: Wednesday, October 30, 2002 8:45 AM
> To: [EMAIL PROTECTED]
> Subject: Re: authentication frustration
>
>
> Carsten,
> Any idea when this will be solved?
>
> Bert
>
> At 14:16 30/10/2002 +0100, you wrote:
> >apparently it does :(
> >Any solution around this?
> >
> >How can I call the data in the session context in a pipeline
> that's called
> >from another pipeline???
> >
> >I'm about to throw my PC out the window!
> >
> >Bert
> >
> >At 14:44 30/10/2002 +0200, you wrote:
> >>Could this happen due to this bug:
> >>http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12293 ?
> >>
> >>Just a guess...
> >>
> >>-Tuomo
> >>
> >>On Wed, 30 Oct 2002, Bert Van Kets wrote:
> >>
> >> > I'm trying to create a form that gives the authenticated user access
> >> to his
> >> > data in the database.
> >> > I'm using the sunRise authentication in a CVS build form 14
> May 2002 with
> >> > tomcat 4.0.1 and jDK 1.3.1_2 on win2K.
> >> >
> >> > A pipeline aggregates all the necessary data to present the
> page.  One
> >> part
> >> > of this aggregation is a call to a pipeline that generates
> the xhtm form
> >> > containing the user data.
> >> >
> >> > When I call the pipeline that generates the xhtml form
> directly I get the
> >> > correct content.  When I call the full page, I get a
> nullpointer error on
> >> > the above pipeline.
> >> > very strange.  Commenting out the form pipeline gives me the
> page without
> >> > errors, but with no actual content.  When I replace the call to the
> >> > pipeline with a call to a file I created by saving the
> output from calling
> >> > the form creation pipeline directly, I get a correct full page.
> >> >
> >> > The pipeline that generates the user data xhtml form uses the
> >> > xsp-session:getxml tag (the latest version) to get the user
> ID from the
> >> > session context.  Replacing this tag with the ID itself
> gives me a correct
> >> > page.  So my guess is that the error is somehow related to that tag.
> >> >
> >> > Here's some data:
> >> > the pipelines:
> >> >
> >> > 
> >> > >> src="system/members/getmemberdata.xsp"/>
> >> >
> >> >
> >> > 
> >> >
> >> > 
> >> >
> >> >  
> >> >  
> >> >  
> >> >  
> >> >
> >> >
> >> >
> >> > 
> >> >
> >> > The part from the xsp page that generates the user data:
> >> >
> >> > 
> >> > bvar
> >> > 
> >> > SELECT * FROM members WHERE ID= >> > type="int">Integer.parseInt( >> > context="authentication" path="/authentication/ID"
> >> > as="string"/>)
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> >
> >> > I'm almost banging my head on the wall with frustration.  What is the
> >> > difference between calling a pipeline directly and calling
> the pipeline
> >> > from the sitemap that can cause a nullpointer error???
> >> >
> >> > The logs show nothing useful.  I've been going through them
> for about an
> >> > hour now.
> >> >
> >> > Please help me, I'm on a deadline and really need this functionality;
> >> >
> >> > Bert
> >> >
> >> >
> >> > This mail is written in 100% recycled electrons.
> >> >
> >> >
> >> > -
> >> > Ple

Re: authentication frustration

2002-10-30 Thread Antonio Gallardo Rivera
I dont use the sunRise. I started using the lastest CVS 2.1 because it is 
better in the authentication field like the old 2.03

Also I recommend you to build 2 times the cocoon. There is an error in the 
build.xml.

Regards,

Antonio Gallardo.



El Miércoles, 30 de Octubre de 2002 05:44, Bert Van Kets escribió:
> I'm trying to create a form that gives the authenticated user access to his
> data in the database.
> I'm using the sunRise authentication in a CVS build form 14 May 2002 with
> tomcat 4.0.1 and jDK 1.3.1_2 on win2K.
>
> A pipeline aggregates all the necessary data to present the page.  One part
> of this aggregation is a call to a pipeline that generates the xhtm form
> containing the user data.
>
> When I call the pipeline that generates the xhtml form directly I get the
> correct content.  When I call the full page, I get a nullpointer error on
> the above pipeline.
> very strange.  Commenting out the form pipeline gives me the page without
> errors, but with no actual content.  When I replace the call to the
> pipeline with a call to a file I created by saving the output from calling
> the form creation pipeline directly, I get a correct full page.
>
> The pipeline that generates the user data xhtml form uses the
> xsp-session:getxml tag (the latest version) to get the user ID from the
> session context.  Replacing this tag with the ID itself gives me a correct
> page.  So my guess is that the error is somehow related to that tag.
>
> Here's some data:
> the pipelines:
>
> 
> src="system/members/getmemberdata.xsp"/>  src="test/memberpresentation.xsl"/>
>
> 
>
> 
>
>  
>  
>  
>  
>
>
>
> 
>
> The part from the xsp page that generates the user data:
>
> 
> bvar
> 
> SELECT * FROM members WHERE ID= type="int">Integer.parseInt( context="authentication" path="/authentication/ID"
> as="string"/>)
> 
> 
> 
> 
> 
> 
> 
>
> I'm almost banging my head on the wall with frustration.  What is the
> difference between calling a pipeline directly and calling the pipeline
> from the sitemap that can cause a nullpointer error???

>
> The logs show nothing useful.  I've been going through them for about an
> hour now.
>
> Please help me, I'm on a deadline and really need this functionality;
>
> Bert
>
>
> This mail is written in 100% recycled electrons.
>
>
> -
> 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]>

-
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: authentication frustration

2002-10-30 Thread Bert Van Kets
Carsten,
Any idea when this will be solved?

Bert

At 14:16 30/10/2002 +0100, you wrote:

apparently it does :(
Any solution around this?

How can I call the data in the session context in a pipeline that's called 
from another pipeline???

I'm about to throw my PC out the window!

Bert

At 14:44 30/10/2002 +0200, you wrote:
Could this happen due to this bug:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12293 ?

Just a guess...

-Tuomo

On Wed, 30 Oct 2002, Bert Van Kets wrote:

> I'm trying to create a form that gives the authenticated user access 
to his
> data in the database.
> I'm using the sunRise authentication in a CVS build form 14 May 2002 with
> tomcat 4.0.1 and jDK 1.3.1_2 on win2K.
>
> A pipeline aggregates all the necessary data to present the page.  One 
part
> of this aggregation is a call to a pipeline that generates the xhtm form
> containing the user data.
>
> When I call the pipeline that generates the xhtml form directly I get the
> correct content.  When I call the full page, I get a nullpointer error on
> the above pipeline.
> very strange.  Commenting out the form pipeline gives me the page without
> errors, but with no actual content.  When I replace the call to the
> pipeline with a call to a file I created by saving the output from calling
> the form creation pipeline directly, I get a correct full page.
>
> The pipeline that generates the user data xhtml form uses the
> xsp-session:getxml tag (the latest version) to get the user ID from the
> session context.  Replacing this tag with the ID itself gives me a correct
> page.  So my guess is that the error is somehow related to that tag.
>
> Here's some data:
> the pipelines:
>
> 
>
>
>
> 
>
> 
>
>  
>  
>  
>  
>
>
>
> 
>
> The part from the xsp page that generates the user data:
>
> 
> bvar
> 
> SELECT * FROM members WHERE ID=
> type="int">Integer.parseInt(
> context="authentication" path="/authentication/ID"
> as="string"/>)
> 
> 
> 
> 
> 
> 
> 
>
> I'm almost banging my head on the wall with frustration.  What is the
> difference between calling a pipeline directly and calling the pipeline
> from the sitemap that can cause a nullpointer error???
>
> The logs show nothing useful.  I've been going through them for about an
> hour now.
>
> Please help me, I'm on a deadline and really need this functionality;
>
> Bert
>
>
> This mail is written in 100% recycled electrons.
>
>
> -
> 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]>
>


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


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



-
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: authentication frustration

2002-10-30 Thread Bert Van Kets
Thanks,
I'll check it out.
If it doesn't work I'll open the link in a new window as a temporary 
sollution. This way I can skip the aggregation and the pipeline nesting.

Bert

At 15:28 30/10/2002 +0200, you wrote:
On Wed, 30 Oct 2002, Bert Van Kets wrote:

> apparently it does :(
> Any solution around this?

Maybe. This was my workaround before the  arrived.

http://www.mail-archive.com/cocoon-users@;xml.apache.org/msg18314.html

I'm still using it, although it's not very flexible. Try it out.

-Tuomo

>
> How can I call the data in the session context in a pipeline that's called
> from another pipeline???
>
> I'm about to throw my PC out the window!
>
> Bert
>
> At 14:44 30/10/2002 +0200, you wrote:
> >Could this happen due to this bug:
> >http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12293 ?
> >
> >Just a guess...
> >
> >-Tuomo
> >
> >On Wed, 30 Oct 2002, Bert Van Kets wrote:
> >
> > > I'm trying to create a form that gives the authenticated user 
access to his
> > > data in the database.
> > > I'm using the sunRise authentication in a CVS build form 14 May 
2002 with
> > > tomcat 4.0.1 and jDK 1.3.1_2 on win2K.
> > >
> > > A pipeline aggregates all the necessary data to present the 
page.  One part
> > > of this aggregation is a call to a pipeline that generates the xhtm 
form
> > > containing the user data.
> > >
> > > When I call the pipeline that generates the xhtml form directly I 
get the
> > > correct content.  When I call the full page, I get a nullpointer 
error on
> > > the above pipeline.
> > > very strange.  Commenting out the form pipeline gives me the page 
without
> > > errors, but with no actual content.  When I replace the call to the
> > > pipeline with a call to a file I created by saving the output from 
calling
> > > the form creation pipeline directly, I get a correct full page.
> > >
> > > The pipeline that generates the user data xhtml form uses the
> > > xsp-session:getxml tag (the latest version) to get the user ID from the
> > > session context.  Replacing this tag with the ID itself gives me a 
correct
> > > page.  So my guess is that the error is somehow related to that tag.
> > >
> > > Here's some data:
> > > the pipelines:
> > >
> > > 
> > >
> > src="system/members/getmemberdata.xsp"/>
> > >
> > >
> > > 
> > >
> > > 
> > >
> > >  
> > >  
> > >  
> > >  
> > >
> > >
> > >
> > > 
> > >
> > > The part from the xsp page that generates the user data:
> > >
> > > 
> > > bvar
> > > 
> > > SELECT * FROM members WHERE ID=
> > > type="int">Integer.parseInt(
> > > context="authentication" path="/authentication/ID"
> > > as="string"/>)
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > >
> > > I'm almost banging my head on the wall with frustration.  What is the
> > > difference between calling a pipeline directly and calling the pipeline
> > > from the sitemap that can cause a nullpointer error???
> > >
> > > The logs show nothing useful.  I've been going through them for 
about an
> > > hour now.
> > >
> > > Please help me, I'm on a deadline and really need this functionality;
> > >
> > > Bert
> > >
> > >
> > > This mail is written in 100% recycled electrons.
> > >
> > >
> > > -
> > > 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]>
> > >
> >
> >
> >-
> >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]>
>
>
> -
> 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]>
>


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


-
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: authentication frustration

2002-10-30 Thread Tuomo L
On Wed, 30 Oct 2002, Bert Van Kets wrote:

> apparently it does :(
> Any solution around this?

Maybe. This was my workaround before the  arrived.

http://www.mail-archive.com/cocoon-users@;xml.apache.org/msg18314.html

I'm still using it, although it's not very flexible. Try it out.

-Tuomo

>
> How can I call the data in the session context in a pipeline that's called
> from another pipeline???
>
> I'm about to throw my PC out the window!
>
> Bert
>
> At 14:44 30/10/2002 +0200, you wrote:
> >Could this happen due to this bug:
> >http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12293 ?
> >
> >Just a guess...
> >
> >-Tuomo
> >
> >On Wed, 30 Oct 2002, Bert Van Kets wrote:
> >
> > > I'm trying to create a form that gives the authenticated user access to his
> > > data in the database.
> > > I'm using the sunRise authentication in a CVS build form 14 May 2002 with
> > > tomcat 4.0.1 and jDK 1.3.1_2 on win2K.
> > >
> > > A pipeline aggregates all the necessary data to present the page.  One part
> > > of this aggregation is a call to a pipeline that generates the xhtm form
> > > containing the user data.
> > >
> > > When I call the pipeline that generates the xhtml form directly I get the
> > > correct content.  When I call the full page, I get a nullpointer error on
> > > the above pipeline.
> > > very strange.  Commenting out the form pipeline gives me the page without
> > > errors, but with no actual content.  When I replace the call to the
> > > pipeline with a call to a file I created by saving the output from calling
> > > the form creation pipeline directly, I get a correct full page.
> > >
> > > The pipeline that generates the user data xhtml form uses the
> > > xsp-session:getxml tag (the latest version) to get the user ID from the
> > > session context.  Replacing this tag with the ID itself gives me a correct
> > > page.  So my guess is that the error is somehow related to that tag.
> > >
> > > Here's some data:
> > > the pipelines:
> > >
> > > 
> > > > src="system/members/getmemberdata.xsp"/>
> > >
> > >
> > > 
> > >
> > > 
> > >
> > >  
> > >  
> > >  
> > >  
> > >
> > >
> > >
> > > 
> > >
> > > The part from the xsp page that generates the user data:
> > >
> > > 
> > > bvar
> > > 
> > > SELECT * FROM members WHERE ID= > > type="int">Integer.parseInt( > > context="authentication" path="/authentication/ID"
> > > as="string"/>)
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > >
> > > I'm almost banging my head on the wall with frustration.  What is the
> > > difference between calling a pipeline directly and calling the pipeline
> > > from the sitemap that can cause a nullpointer error???
> > >
> > > The logs show nothing useful.  I've been going through them for about an
> > > hour now.
> > >
> > > Please help me, I'm on a deadline and really need this functionality;
> > >
> > > Bert
> > >
> > >
> > > This mail is written in 100% recycled electrons.
> > >
> > >
> > > -
> > > 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]>
> > >
> >
> >
> >-
> >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]>
>
>
> -
> 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]>
>


-
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: authentication frustration

2002-10-30 Thread Bert Van Kets
apparently it does :(
Any solution around this?

How can I call the data in the session context in a pipeline that's called 
from another pipeline???

I'm about to throw my PC out the window!

Bert

At 14:44 30/10/2002 +0200, you wrote:
Could this happen due to this bug:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12293 ?

Just a guess...

-Tuomo

On Wed, 30 Oct 2002, Bert Van Kets wrote:

> I'm trying to create a form that gives the authenticated user access to his
> data in the database.
> I'm using the sunRise authentication in a CVS build form 14 May 2002 with
> tomcat 4.0.1 and jDK 1.3.1_2 on win2K.
>
> A pipeline aggregates all the necessary data to present the page.  One part
> of this aggregation is a call to a pipeline that generates the xhtm form
> containing the user data.
>
> When I call the pipeline that generates the xhtml form directly I get the
> correct content.  When I call the full page, I get a nullpointer error on
> the above pipeline.
> very strange.  Commenting out the form pipeline gives me the page without
> errors, but with no actual content.  When I replace the call to the
> pipeline with a call to a file I created by saving the output from calling
> the form creation pipeline directly, I get a correct full page.
>
> The pipeline that generates the user data xhtml form uses the
> xsp-session:getxml tag (the latest version) to get the user ID from the
> session context.  Replacing this tag with the ID itself gives me a correct
> page.  So my guess is that the error is somehow related to that tag.
>
> Here's some data:
> the pipelines:
>
> 
>
>
>
> 
>
> 
>
>  
>  
>  
>  
>
>
>
> 
>
> The part from the xsp page that generates the user data:
>
> 
> bvar
> 
> SELECT * FROM members WHERE ID=
> type="int">Integer.parseInt(
> context="authentication" path="/authentication/ID"
> as="string"/>)
> 
> 
> 
> 
> 
> 
> 
>
> I'm almost banging my head on the wall with frustration.  What is the
> difference between calling a pipeline directly and calling the pipeline
> from the sitemap that can cause a nullpointer error???
>
> The logs show nothing useful.  I've been going through them for about an
> hour now.
>
> Please help me, I'm on a deadline and really need this functionality;
>
> Bert
>
>
> This mail is written in 100% recycled electrons.
>
>
> -
> 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]>
>


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


-
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: authentication frustration

2002-10-30 Thread Tuomo L
Could this happen due to this bug:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12293 ?

Just a guess...

-Tuomo

On Wed, 30 Oct 2002, Bert Van Kets wrote:

> I'm trying to create a form that gives the authenticated user access to his
> data in the database.
> I'm using the sunRise authentication in a CVS build form 14 May 2002 with
> tomcat 4.0.1 and jDK 1.3.1_2 on win2K.
>
> A pipeline aggregates all the necessary data to present the page.  One part
> of this aggregation is a call to a pipeline that generates the xhtm form
> containing the user data.
>
> When I call the pipeline that generates the xhtml form directly I get the
> correct content.  When I call the full page, I get a nullpointer error on
> the above pipeline.
> very strange.  Commenting out the form pipeline gives me the page without
> errors, but with no actual content.  When I replace the call to the
> pipeline with a call to a file I created by saving the output from calling
> the form creation pipeline directly, I get a correct full page.
>
> The pipeline that generates the user data xhtml form uses the
> xsp-session:getxml tag (the latest version) to get the user ID from the
> session context.  Replacing this tag with the ID itself gives me a correct
> page.  So my guess is that the error is somehow related to that tag.
>
> Here's some data:
> the pipelines:
>
> 
>
>
>
> 
>
> 
>
>  
>  
>  
>  
>
>
>
> 
>
> The part from the xsp page that generates the user data:
>
> 
> bvar
> 
> SELECT * FROM members WHERE ID= type="int">Integer.parseInt( context="authentication" path="/authentication/ID"
> as="string"/>)
> 
> 
> 
> 
> 
> 
> 
>
> I'm almost banging my head on the wall with frustration.  What is the
> difference between calling a pipeline directly and calling the pipeline
> from the sitemap that can cause a nullpointer error???
>
> The logs show nothing useful.  I've been going through them for about an
> hour now.
>
> Please help me, I'm on a deadline and really need this functionality;
>
> Bert
>
>
> This mail is written in 100% recycled electrons.
>
>
> -
> 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]>
>


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