You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Barbara Post <ba...@ifrance.com> on 2002/09/04 09:19:44 UTC

session context in 2.1 ?

Reading the docs
(http://xml.apache.org/cocoon/developing/webapps/session.html), it seems
that there is no r/w session context in 2.1 like "sunRise context " in 2.0.3
scratchpad ?

So I will have to create my own context to write to, right ? But when I
authenticate ok, are some information stored in some session context ? Is
this context called "userdata" now, and which structure does it have ? Thank
you.

Babs


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


Re: c2.1 and xml:db [was :Re: session context in 2.1 ?]

Posted by Barbara Post <ba...@ifrance.com>.
> I'm not that Xindice/Tamino expert, but does Tamino support the xmldb
> interface?
> I think no. You can access Tamino directly via the http protocol.
>
> HTH
> Carsten

Someone here (I work in Software AG France) has developped an API that
allows to use cocoon's xml db capabilities to use Tamino xml database and
this worked fine under c2.0.3.

I will post again when I have succeeded in making xindice and cocoon work
together, and only if I get a cocoon bug I can't get rid of...

Barbara


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


RE: c2.1 and xml:db [was :Re: session context in 2.1 ?]

Posted by Carsten Ziegeler <cz...@s-und-n.de>.

> -----Original Message-----
> From: Barbara Post [mailto:babs33@ifrance.com]
> Sent: Wednesday, September 04, 2002 10:43 AM
> To: cocoon-users@xml.apache.org
> Subject: c2.1 and xml:db [was :Re: session context in 2.1 ?]
>
>
> Thanks a lot Carsten, and for the joke too. Do I have to post less ? :-p
> Ok I will try to refrain, but I am late in my project and this stress me a
> lot.
Sorry, but this joke is soo obvious, I couldn't resists. And it's only
a joke, so don't refrain from posting only because of this.

>
> Thanks for the other help, I rebuilt it but still cannot access /samples.

The URI is http://localhost/cocoon/samples/welcome

>
> Anyway my xmldb connection gives an empty file now...
>
> What are these PK_G-file... keys not found ? Here is my log. I
> use a driver
> for my Tamino xml database that worked well with c2.0.3.
>
> I will install and test Xindice, and if it does not work it means that
> cocoon has a bug, otherwise that I am a dumbass.
>
I'm not that Xindice/Tamino expert, but does Tamino support the xmldb
interface?
I think no. You can access Tamino directly via the http protocol.

HTH
Carsten

> Babs
>
> [0]/SourceResolverImpl: Resolving
> 'xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/#mlForm' with base
> 'file:/e:/tomcat404/webapps/cocoon/' in context 'file:/E:/tomcat404/bin/'
> DEBUG   (2002-09-04) 10:01.34:686   [core.manager] (/cocoon/test)
> HttpProcessor[9090][0]/SourceResolverImpl: Resolved to systemID
> 'xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/#mlForm'
> DEBUG   (2002-09-04) 10:01.34:686   [core.manager] (/cocoon/test)
> HttpProcessor[9090][0]/SourceFactoryWrapper: Creating source object for
> xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/#mlForm
> DEBUG   (2002-09-04) 10:01.34:686   [core.manager] (/cocoon/test)
> HttpProcessor[9090][0]/SourceResolverImpl: Resolving 'test/copy.xsl' with
> base 'file:/e:/tomcat404/webapps/cocoon/' in context
> 'file:/E:/tomcat404/bin/'
> DEBUG   (2002-09-04) 10:01.34:686   [core.manager] (/cocoon/test)
> HttpProcessor[9090][0]/SourceResolverImpl: Resolved to systemID
> 'file:/e:\tomcat404\webapps\cocoon\test\copy.xsl'
> DEBUG   (2002-09-04) 10:01.34:686   [core.manager] (/cocoon/test)
> HttpProcessor[9090][0]/FileSourceFactory: Creating source object for
> file:/e:\tomcat404\webapps\cocoon\test\copy.xsl
> DEBUG   (2002-09-04) 10:01.34:686   [core.xslt-processor] (/cocoon/test)
> HttpProcessor[9090][0]/XSLTProcessorImpl: Creating new Templates for
> file:/e:/tomcat404/webapps/cocoon/test/copy.xsl
> DEBUG   (2002-09-04) 10:01.34:686   [core.xslt-processor] (/cocoon/test)
> HttpProcessor[9090][0]/XSLTProcessorImpl: Source =
> org.apache.cocoon.components.source.impl.FileSource@54b38,
> templatesHandler
> = org.apache.xalan.processor.StylesheetHandler@d81b4
> DEBUG   (2002-09-04) 10:01.34:696   [core.manager] (/cocoon/test)
> HttpProcessor[9090][0]/XMLizerImpl: No mime-type for xmlizing
> file:/e:/tomcat404/webapps/cocoon/test/copy.xsl, guessing text/xml
> DEBUG   (2002-09-04) 10:01.34:706   [core.store.transient] (/cocoon/test)
> HttpProcessor[9090][0]/MRUMemoryStore: NOT Found key:
> PK_G-file-xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/_T-xslt-file:/e:
> /tomcat404
> /webapps/cocoon/test/copy.xsl_S-xml-1
> DEBUG   (2002-09-04) 10:01.34:706   [core.store.persistent] (/cocoon/test)
> HttpProcessor[9090][0]/JispFilesystemStore: NOT Found key:
> PK_G-file-xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/_T-xslt-file:/e:
> /tomcat404
> /webapps/cocoon/test/copy.xsl_S-xml-1
> DEBUG   (2002-09-04) 10:01.34:706   [core.store.transient] (/cocoon/test)
> HttpProcessor[9090][0]/MRUMemoryStore: NOT Found key:
> PK_G-file-xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/_T-xslt-file:/e:
> /tomcat404
> /webapps/cocoon/test/copy.xsl
> DEBUG   (2002-09-04) 10:01.34:706   [core.store.persistent] (/cocoon/test)
> HttpProcessor[9090][0]/JispFilesystemStore: NOT Found key:
> PK_G-file-xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/_T-xslt-file:/e:
> /tomcat404
> /webapps/cocoon/test/copy.xsl
> DEBUG   (2002-09-04) 10:01.34:706   [core.store.transient] (/cocoon/test)
> HttpProcessor[9090][0]/MRUMemoryStore: NOT Found key:
> PK_G-file-xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/
> DEBUG   (2002-09-04) 10:01.34:706   [core.store.persistent] (/cocoon/test)
> HttpProcessor[9090][0]/JispFilesystemStore: NOT Found key:
> PK_G-file-xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/
> DEBUG   (2002-09-04) 10:01.34:726   [core.manager] (/cocoon/test)
> HttpProcessor[9090][0]/XMLDBSource: Initializing XML:DB connection, using
> driver com.softwareag.tamino.xmldb.api.base.TDatabase
>
> ----- Original Message -----
> From: "Carsten Ziegeler" <cz...@s-und-n.de>
> To: <co...@xml.apache.org>
> Sent: Wednesday, September 04, 2002 9:29 AM
> Subject: RE: session context in 2.1 ?
>
>
> >
> >
> > > -----Original Message-----
> > > From: Barbara Post [mailto:babs33@ifrance.com]
> > > Sent: Wednesday, September 04, 2002 9:20 AM
> > > To: cocoon-users@xml.apache.org
> > > Subject: session context in 2.1 ?
> > >
> > >
> > > Reading the docs
> > >
(http://xml.apache.org/cocoon/developing/webapps/session.html), it seems
> > that there is no r/w session context in 2.1 like "sunRise context
> > " in 2.0.3
> > scratchpad ?
> >
> > So I will have to create my own context to write to, right ? But when I
> > authenticate ok, are some information stored in some session context ?
Is
> > this context called "userdata" now, and which structure does it
> > have ? Thank
> > you.
> >
> The session and authentication framework in 2.0.3 and 2.1 are nearly the
> same - the most important difference is that for 2.1 they were renamed.
> The former sunRise context is now called "authentication" - and works
> as in 2.0.3.
>
> HTH
> Carsten
>
> PS: Now I know why your surname is "Post" :)
>
> ---------------------------------------------------------------------
> 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:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
>


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



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


c2.1 and xml:db [was :Re: session context in 2.1 ?]

Posted by Barbara Post <ba...@ifrance.com>.
Thanks a lot Carsten, and for the joke too. Do I have to post less ? :-p
Ok I will try to refrain, but I am late in my project and this stress me a
lot.

Thanks for the other help, I rebuilt it but still cannot access /samples.

Anyway my xmldb connection gives an empty file now...

What are these PK_G-file... keys not found ? Here is my log. I use a driver
for my Tamino xml database that worked well with c2.0.3.

I will install and test Xindice, and if it does not work it means that
cocoon has a bug, otherwise that I am a dumbass.

Babs

[0]/SourceResolverImpl: Resolving
'xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/#mlForm' with base
'file:/e:/tomcat404/webapps/cocoon/' in context 'file:/E:/tomcat404/bin/'
DEBUG   (2002-09-04) 10:01.34:686   [core.manager] (/cocoon/test)
HttpProcessor[9090][0]/SourceResolverImpl: Resolved to systemID
'xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/#mlForm'
DEBUG   (2002-09-04) 10:01.34:686   [core.manager] (/cocoon/test)
HttpProcessor[9090][0]/SourceFactoryWrapper: Creating source object for
xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/#mlForm
DEBUG   (2002-09-04) 10:01.34:686   [core.manager] (/cocoon/test)
HttpProcessor[9090][0]/SourceResolverImpl: Resolving 'test/copy.xsl' with
base 'file:/e:/tomcat404/webapps/cocoon/' in context
'file:/E:/tomcat404/bin/'
DEBUG   (2002-09-04) 10:01.34:686   [core.manager] (/cocoon/test)
HttpProcessor[9090][0]/SourceResolverImpl: Resolved to systemID
'file:/e:\tomcat404\webapps\cocoon\test\copy.xsl'
DEBUG   (2002-09-04) 10:01.34:686   [core.manager] (/cocoon/test)
HttpProcessor[9090][0]/FileSourceFactory: Creating source object for
file:/e:\tomcat404\webapps\cocoon\test\copy.xsl
DEBUG   (2002-09-04) 10:01.34:686   [core.xslt-processor] (/cocoon/test)
HttpProcessor[9090][0]/XSLTProcessorImpl: Creating new Templates for
file:/e:/tomcat404/webapps/cocoon/test/copy.xsl
DEBUG   (2002-09-04) 10:01.34:686   [core.xslt-processor] (/cocoon/test)
HttpProcessor[9090][0]/XSLTProcessorImpl: Source =
org.apache.cocoon.components.source.impl.FileSource@54b38, templatesHandler
= org.apache.xalan.processor.StylesheetHandler@d81b4
DEBUG   (2002-09-04) 10:01.34:696   [core.manager] (/cocoon/test)
HttpProcessor[9090][0]/XMLizerImpl: No mime-type for xmlizing
file:/e:/tomcat404/webapps/cocoon/test/copy.xsl, guessing text/xml
DEBUG   (2002-09-04) 10:01.34:706   [core.store.transient] (/cocoon/test)
HttpProcessor[9090][0]/MRUMemoryStore: NOT Found key:
PK_G-file-xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/_T-xslt-file:/e:/tomcat404
/webapps/cocoon/test/copy.xsl_S-xml-1
DEBUG   (2002-09-04) 10:01.34:706   [core.store.persistent] (/cocoon/test)
HttpProcessor[9090][0]/JispFilesystemStore: NOT Found key:
PK_G-file-xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/_T-xslt-file:/e:/tomcat404
/webapps/cocoon/test/copy.xsl_S-xml-1
DEBUG   (2002-09-04) 10:01.34:706   [core.store.transient] (/cocoon/test)
HttpProcessor[9090][0]/MRUMemoryStore: NOT Found key:
PK_G-file-xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/_T-xslt-file:/e:/tomcat404
/webapps/cocoon/test/copy.xsl
DEBUG   (2002-09-04) 10:01.34:706   [core.store.persistent] (/cocoon/test)
HttpProcessor[9090][0]/JispFilesystemStore: NOT Found key:
PK_G-file-xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/_T-xslt-file:/e:/tomcat404
/webapps/cocoon/test/copy.xsl
DEBUG   (2002-09-04) 10:01.34:706   [core.store.transient] (/cocoon/test)
HttpProcessor[9090][0]/MRUMemoryStore: NOT Found key:
PK_G-file-xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/
DEBUG   (2002-09-04) 10:01.34:706   [core.store.persistent] (/cocoon/test)
HttpProcessor[9090][0]/JispFilesystemStore: NOT Found key:
PK_G-file-xmldb:tamino://i3in0/tamino/BAEPP/BAEPP/
DEBUG   (2002-09-04) 10:01.34:726   [core.manager] (/cocoon/test)
HttpProcessor[9090][0]/XMLDBSource: Initializing XML:DB connection, using
driver com.softwareag.tamino.xmldb.api.base.TDatabase

----- Original Message -----
From: "Carsten Ziegeler" <cz...@s-und-n.de>
To: <co...@xml.apache.org>
Sent: Wednesday, September 04, 2002 9:29 AM
Subject: RE: session context in 2.1 ?


>
>
> > -----Original Message-----
> > From: Barbara Post [mailto:babs33@ifrance.com]
> > Sent: Wednesday, September 04, 2002 9:20 AM
> > To: cocoon-users@xml.apache.org
> > Subject: session context in 2.1 ?
> >
> >
> > Reading the docs
> > (http://xml.apache.org/cocoon/developing/webapps/session.html), it seems
> > that there is no r/w session context in 2.1 like "sunRise context
> > " in 2.0.3
> > scratchpad ?
> >
> > So I will have to create my own context to write to, right ? But when I
> > authenticate ok, are some information stored in some session context ?
Is
> > this context called "userdata" now, and which structure does it
> > have ? Thank
> > you.
> >
> The session and authentication framework in 2.0.3 and 2.1 are nearly the
> same - the most important difference is that for 2.1 they were renamed.
> The former sunRise context is now called "authentication" - and works
> as in 2.0.3.
>
> HTH
> Carsten
>
> PS: Now I know why your surname is "Post" :)
>
> ---------------------------------------------------------------------
> 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:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
>


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


RE: session context in 2.1 ?

Posted by Carsten Ziegeler <cz...@s-und-n.de>.

> -----Original Message-----
> From: Barbara Post [mailto:babs33@ifrance.com]
> Sent: Wednesday, September 04, 2002 9:20 AM
> To: cocoon-users@xml.apache.org
> Subject: session context in 2.1 ?
> 
> 
> Reading the docs
> (http://xml.apache.org/cocoon/developing/webapps/session.html), it seems
> that there is no r/w session context in 2.1 like "sunRise context 
> " in 2.0.3
> scratchpad ?
> 
> So I will have to create my own context to write to, right ? But when I
> authenticate ok, are some information stored in some session context ? Is
> this context called "userdata" now, and which structure does it 
> have ? Thank
> you.
> 
The session and authentication framework in 2.0.3 and 2.1 are nearly the
same - the most important difference is that for 2.1 they were renamed.
The former sunRise context is now called "authentication" - and works
as in 2.0.3.

HTH
Carsten

PS: Now I know why your surname is "Post" :)

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