Tomcat 3.1 + IIS + Cocoon 1.8 problem - please help

2001-08-16 Thread thorsten . sommer

ERM::Event ERM::tGNetManModule::convertToERMEvent(const
ERM::TGNetMan::Event& ev)
{
ERM::Event ermevent;
ERM::UserShortInfo usf;
ERM::NodeShortInfo nsf;

/*erm:
UserShortInfo assigneduser;
OB::WStrForStruct category;
OB::WStrForStruct eventclass;
CORBA::Long id;
OB::WStrForStruct message;
NodeShortInfo node;
EventSeverity severity;
OB::WStrForStruct source;
OB::WStrForStruct sourceminor;
EventStatus status;
CORBA::Boolean userdb;
OB::WStrForStruct uuidme;
CORBA::Long timestamp;

tgnetman:
CORBA::Long id;
CORBA::Long assigneduserid; // netman userid = ermuserid ?
CORBA::Long category;
CORBA::Long eventclass;
OB::WStrForStruct message;
Noderef nodeid;
EventSeverity severity;
OB::WStrForStruct netmanServer;
TimestampType timestamp;
*/

//ermevent.assigneduser = usf;

// convert category
//ermevent.category = ;

// convert eventclass
//ermevent.eventclass = ;

ermevent.id = ev.id;
ermevent.message = ev.message;

// RMS nodeid is the same
nsf.id = ev.id;
//nsf.name =;
ermevent.node = nsf;

// convert severity
switch(ev.severity)
{
case ERM::TGNetMan::esv_fatal:
ermevent.severity = ERM::fatal;
break;

case ERM::TGNetMan::esv_critical:
ermevent.severity = ERM::critical;
break;

case ERM::TGNetMan::esv_minor:
ermevent.severity = ERM::minor;
break;

case ERM::TGNetMan::esv_warning:
ermevent.severity = ERM::warning;
break;

case ERM::TGNetMan::esv_harmless:
ermevent.severity = ERM::harmless;
break;

case ERM::TGNetMan::esv_normal:
ermevent.severity = ERM::normal;
break;

case ERM::TGNetMan::esv_informal:
ermevent.severity = ERM::informal;
break;

default:
;
// severity not known
}

ermevent.source = m_source.c_str();
ermevent.sourceminor = m_sourceminor.c_str();   //ev.netmanServer

// convert status
switch(ev.status)
{
case ERM::TGNetMan::est_open:
ermevent.status = ERM::open;
break;

case ERM::TGNetMan::est_assigned:
ermevent.status = ERM::assigned;
break;

case ERM::TGNetMan::est_reopened:
ermevent.status = ERM::reopened;
break;

case ERM::TGNetMan::est_closed:
ermevent.status = ERM::closed;
break;

case ERM::TGNetMan::est_ignored:
ermevent.status = ERM::ignored;
break;

case ERM::TGNetMan::est_deleted:
// this case is mapped to 'closed' because in ERM
the status 'deleted' does not exist
ermevent.status = ERM::closed;
break;

default:
// status not known
;
}

// 
ermevent.userdb = true;

// tGNetMan don't know uuidme
ermevent.uuidme = L"";

// ERM and RMS use the same timestamp
ermevent.timestamp = ev.timestamp;

return ermevent;
}

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




Internal Servlet Error C2 with tomcat 3.2.3-1

2001-08-16 Thread E. Koster

Dear users,
After reading the faq and a lot of messages on this and the developers list I 
still have not found the solution.
As in many messages I have a problem with cocoon2b7, tomcat 3.2.3-1 and apache 
on a Mandrake 8 linux platform

There is no problem in compilation (not anymore, the ant problem can be solved 
by installing ant and ignoring the ant that comes with the distribution)

After moving and renaming files in the directories as mentioned in the Install 
pages I still get the error:
org.xml.sax SAXNotSupportedException Property 
http://xml.org/sax/properties/lexical-handler

Even after moving the cocoon.jar to the tomcat/lib directory (I found out that 
with some users this solved the problem I am still stuck in the same stage...

Who helps?

Elwin
___
ARCHITECTURAL HISTORY, MORPHOLOGY and URBAN INFORMATION-SYSTEMS
  drs. Elwin A. Koster, [EMAIL PROTECTED]  
Architectural History & Humanities Computing department, 
Faculty of Arts, Groningen University, The Netherlands
PO.Box 716, 9700 AS Groningen, phone: (+31) 50 3636099  fax: (+31) 50 3637362
http://www.let.rug.nl/~ekoster cell.phone: (+31) 6 18474305
International Seminar on Urban Form -  see http://www.let.rug.nl/isuf/
___

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




Using Markup from a Database Field (was:disable-output-escaping="yes")

2001-08-16 Thread Derek Hohls



Following on from this - 
 
if I have data in a database field which contains HTML markup and I want 
this carried through after wrapping the field data in an XML tag... 
how exactly do I do this?
 
Thanks
Derek>>> [EMAIL PROTECTED] 10/08/2001 05:55:32 
>>>Roger,Xalan supports this feature just fine. It's Cocoon 
that does not (pleasecorrect me if I am mistaken). I face a problem similar 
to yours - I need tograb small HTML fragments (which may or may not be 
well-formed) from a DBand drop them into a page, and disable-output-escaping 
would be the perfectsolution. Alas, it is not supported. 
After asking for 
help on this list, I received lots of references to "badprogramming style" 
and "better ways of doing it", but have yet to receive a*practical* 
alternative to disable-output-escaping. I am a vocal proponentof Cocoon 
among my peers.  I absolutely love it, and I recommend it toeveryone. 
But this 'minor detail' has become a rather large thorn in myside. 
William 
Bagby.-Original Message-From: Roger Brooks 
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 18, 2001 10:40 
AMTo: '[EMAIL PROTECTED]'Subject: 
disable-output-escaping="yes"We are migrating text data from a 
legacy system to one which uses Cocoon forpresentation.  In some 
cases the legacy data contain line breaks, which wewish to reproduce on 
the new system.  The easiest way to do this appears tobe to embed 
"" in the data where the line breaks should occur.  
Theseare then output to XML as "
"  Some XSLT engines (such asInstantSAXON 6.1) will then obligingly issue the required in the HTMLoutput stream, provided one includes disable-output-escaping="yes" in theappropriate xsl directive.Unfortunately, Xalan does not support this attribute.  Furthermore, Cocoonwishes to discourage this (seehttp://xml.apache.org/cocoon/faqs.html#faq-disableescaping ).  Onealternative which occurred to us is to embed and tags in the dataand then handle these in XSL on output.  This solution requires quite a bitmore effort than the above solution, however, particularly as the text inquestion is presently output in XML as an ATTRIBUTE and not as the contentof an ELEMENT.In view of the effort involved for the implementation described above, I amsorely tempted to replace Xalan with another XSLT-transformer.Questions:1.    Where can I download a copy oforg.apache.cocoon.transformer.SAXONTransformer?2.    Will this solve the problem?3.    Can someone recommend an alternative solution we haven't thought of?Thanks in advance!Löwenfels Partner AGRoger BrooksHaldenstrasse 6 6006 LuzernTelefon    +41-41-418 44 00    Fax    +41-41-418 44 44Direkt    +41-41-418 44 64E-mail    [EMAIL PROTECTED]www    http://www.loewenfels.ch>***   >>>  NEHMEN SIE ANUNSERER UMFRAGE TEIL UND GEWINNEN SIE EINEN PALM   <<< ***-Please check that your question has not already been answered in theFAQ 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 theFAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]>For additional commands, e-mail: <[EMAIL PROTECTED]>

session-invalidator and back-button?

2001-08-16 Thread Enke Michael

Hi,
I tryed the web-application demo from cocoon2
where a login and logout can be performed.
But after logout if I press the back button of my browser
I get back into protected area without authorization.
How can this be avoided?

Michael

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




AW: session-invalidator and back-button?

2001-08-16 Thread Jorn Heid

I think it could be archived by setting the expiration-date in the
http-header.

There are some meta-tags you can set in the html.

-Ursprungliche Nachricht-
Von: Enke Michael [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 16. August 2001 12:46
An: [EMAIL PROTECTED]
Betreff: session-invalidator and back-button?


Hi,
I tryed the web-application demo from cocoon2
where a login and logout can be performed.
But after logout if I press the back button of my browser
I get back into protected area without authorization.
How can this be avoided?

Michael

-
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: Why doesn't Cocoon2 recognize [position() < last()] ??

2001-08-16 Thread Hewko, Doug

I would like to find out why it doesn't work.. I am running Cocoon2. Why
would I need Xalan?  Cocoon should be able to handle the code since it
handled everything else I've given it.

I do not understand John's question through. The output would be set from
the "sitemap.xmap". I just plugged in my XML and XSL there, and let Cocoon
do the work.

Is this a bug with Cocoon2?

-Original Message-
From: Morrison, John [mailto:[EMAIL PROTECTED]]
Sent: August 13, 2001 10:49 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Why doesn't Cocoon2 recognize [position() < last()] ??


Also, check versions - is C2 running with the version you manually generated
the output from?

> -Original Message-
> From: Stefan Seifert [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 13 August 2001 3:47 pm
> To: [EMAIL PROTECTED]
> Subject: AW: Why doesn't Cocoon2 recognize [position() < last()] ??
> 
> 
> Well, you should try it with xalan standalone, to make sure 
> thats really
> a cocoon and not a xalan bug.
> Im quite sure its a xalan bug, not from cocoon, because all XSLT
> processing is managed throgh xalan (as far as i know).
> 
> > -Ursprüngliche Nachricht-
> > Von: Hewko, Doug [mailto:[EMAIL PROTECTED]]
> > Gesendet: Montag, 13. August 2001 16:42
> > An: Stefan Seifert
> > Betreff: RE: Why doesn't Cocoon2 recognize [position() < 
> last()] ??
> > 
> > 
> > Thanks for the reply. FYI. From a XSL list which says that 
> > this is a Cocoon2
> > bug...
> > 
> > I get the following outputs.
> > 
> > Xalan:
> > 
> > Jeff/555-1234/555-4321/lightgrey
> > David/383-1234/383-4321/lightblue
> > Roger/888-1234/888-4321/lightyellow
> > 
> > MSXML:
> > Jeff/555-1234/555-4321/lightgrey
> > David/383-1234/383-4321/lightblue
> > Roger/888-1234/888-4321/lightyellow
> > 
> > I'm not sure why this isn't working for you. It may be a bug 
> > in Cocoon's
> > position() function. I don't have Cocoon here, but you might 
> > want to try
> > playing around with the predicate and see.
> > 
> > Also, the 
 node inserts
> > carriage-return/line-feed characters, which are usually 
> stripped by a
> > browser, so  is probably more appropriate for your environment.
> > 
> > hope this helps some...
> > 
> > -Original Message-
> > From: Stefan Seifert [mailto:[EMAIL PROTECTED]]
> > Sent: August 13, 2001 10:37 AM
> > To: Hewko, Doug
> > Subject: AW: Why doesn't Cocoon2 recognize [position() < 
> last()] ??
> > 
> > 
> > I think in this case, this is not a cocoon-bug, but a 
> xalan-bug (which
> > cocoon uses internally for XSLT), and xalan has its own 
> mailing lists,
> > too (see apache website).
> > 
> > Stefan
> 
> -
> 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]>
> 


===
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

-
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: Why doesn't Cocoon2 recognize [position() < last()] ??

2001-08-16 Thread Morrison, John

Cocoon itself doesn't understand xml.  All it knows is how to hand it off to
a parser/transformer.  There _may_ be some settings which can be sent to
xalan which Cocoon doesn't know/send, if you can tell us what it is I'm sure
we can accomodate it...?

If you look in the /lib directory you'll find all the jar files Cocoon
relies on to work.  If you want more details find the document 'jars' (xml
in cvs, html when built, available on the website).

J.

> -Original Message-
> From: Hewko, Doug [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 16 August 2001 12:17 pm
> To: '[EMAIL PROTECTED]'
> Subject: RE: Why doesn't Cocoon2 recognize [position() < last()] ??
> 
> 
> I would like to find out why it doesn't work.. I am running 
> Cocoon2. Why
> would I need Xalan?  Cocoon should be able to handle the code since it
> handled everything else I've given it.
> 
> I do not understand John's question through. The output would 
> be set from
> the "sitemap.xmap". I just plugged in my XML and XSL there, 
> and let Cocoon
> do the work.
> 
> Is this a bug with Cocoon2?
> 
> -Original Message-
> From: Morrison, John [mailto:[EMAIL PROTECTED]]
> Sent: August 13, 2001 10:49 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Why doesn't Cocoon2 recognize [position() < last()] ??
> 
> 
> Also, check versions - is C2 running with the version you 
> manually generated
> the output from?
> 
> > -Original Message-
> > From: Stefan Seifert [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, 13 August 2001 3:47 pm
> > To: [EMAIL PROTECTED]
> > Subject: AW: Why doesn't Cocoon2 recognize [position() < 
> last()] ??
> > 
> > 
> > Well, you should try it with xalan standalone, to make sure 
> > thats really
> > a cocoon and not a xalan bug.
> > Im quite sure its a xalan bug, not from cocoon, because all XSLT
> > processing is managed throgh xalan (as far as i know).
> > 
> > > -Ursprüngliche Nachricht-
> > > Von: Hewko, Doug [mailto:[EMAIL PROTECTED]]
> > > Gesendet: Montag, 13. August 2001 16:42
> > > An: Stefan Seifert
> > > Betreff: RE: Why doesn't Cocoon2 recognize [position() < 
> > last()] ??
> > > 
> > > 
> > > Thanks for the reply. FYI. From a XSL list which says that 
> > > this is a Cocoon2
> > > bug...
> > > 
> > > I get the following outputs.
> > > 
> > > Xalan:
> > > 
> > >   Jeff/555-1234/555-4321/lightgrey
> > >   David/383-1234/383-4321/lightblue
> > >   Roger/888-1234/888-4321/lightyellow
> > > 
> > > MSXML:
> > >   Jeff/555-1234/555-4321/lightgrey
> > >   David/383-1234/383-4321/lightblue
> > >   Roger/888-1234/888-4321/lightyellow
> > > 
> > > I'm not sure why this isn't working for you. It may be a bug 
> > > in Cocoon's
> > > position() function. I don't have Cocoon here, but you might 
> > > want to try
> > > playing around with the predicate and see.
> > > 
> > > Also, the 
 node inserts
> > > carriage-return/line-feed characters, which are usually 
> > stripped by a
> > > browser, so  is probably more appropriate for your 
> environment.
> > > 
> > > hope this helps some...
> > > 
> > > -Original Message-
> > > From: Stefan Seifert [mailto:[EMAIL PROTECTED]]
> > > Sent: August 13, 2001 10:37 AM
> > > To: Hewko, Doug
> > > Subject: AW: Why doesn't Cocoon2 recognize [position() < 
> > last()] ??
> > > 
> > > 
> > > I think in this case, this is not a cocoon-bug, but a 
> > xalan-bug (which
> > > cocoon uses internally for XSLT), and xalan has its own 
> > mailing lists,
> > > too (see apache website).
> > > 
> > > Stefan
> > 
> > 
> -
> > 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]>
> > 
> 
> 
> ==
> =
> Information in this email and any attachments are 
> confidential, and may
> not be copied or used by anyone other than the addressee, nor 
> disclosed
> to any third party without our permission.  There is no intention to
> create any legally binding contract or other commitment 
> through the use
> of this email.
> 
> Experian Limited (registration number 653331).  
> Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF
> 
> -
> 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: testing against different versions of browsers

2001-08-16 Thread java guru

Hi.,
  As i understand, the c2 functionality to operate
with different browsers depends simply on the
"User-Agent" string passed with http headers..(browser
can send multiple strings for user-agent like
mozilla..ie something like that)..

I had hell of time trying to make it work as i had to
know

1. What user-agent string are sent by various browsers
2. How to order them in-order to get prompt effect..

Best thing i think is to change the user-agent sent by
each browser(or each version)(and you can code any
string you want and map that in sitemap)..

Now issue of how to change the user-agent..so far i
have only succeeded with "Opera" browser, which
facilitates to change the user-agent to various
browser imitations(fixed number)...

May be new mozilla browser could be customized to
imitate also..

Good luck

 --- Liam Morley <[EMAIL PROTECTED]> wrote: > I
understand that Cocoon gives you the power to use
> different stylesheets
> for different browsers (code is included at bottom
> of email). However, I
> don't see how you can test between different
> versions, ie between IE4,
> IE5, IE5.5, NS4, or NS6. Is there a way to do this
> as well?
> 
> Thank you...
> 
> 
> 
> 
> src="stylesheets/w3c-2-msie.xsl"/>
> 
> 
> src="stylesheets/dynamic-page2html-text.xsl"/>
>
> 
> 
> src="stylesheets/ns4.xsl"/>
> 
> 
> src="stylesheets/w3c.xsl"/>
> 
>  
> 
> 
> ---
> Liam Morley
> 
> "light the deep, and bring silence to the world.
> light the world, and bring depth to the silence."
> 
> 
> 
> 
>
-
> 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]>
>  

=
Thanks and have great day
srini


Do You Yahoo!?
Send a newsletter, share photos & files, conduct polls, organize chat events. Visit 
http://in.groups.yahoo.com.

-
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: testing against different versions of browsers

2001-08-16 Thread Morrison, John

Browser agent strings are listed in the webapp/sitemap.xmap around line
75ish


 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 


If there's any more or any comments you would like added, please submit a
patch to the dev list :)

> -Original Message-
> From: java guru [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 16 August 2001 12:56 pm
> To: [EMAIL PROTECTED]
> Subject: Re: testing against different versions of browsers
> 
> 
> Hi.,
>   As i understand, the c2 functionality to operate
> with different browsers depends simply on the
> "User-Agent" string passed with http headers..(browser
> can send multiple strings for user-agent like
> mozilla..ie something like that)..
> 
> I had hell of time trying to make it work as i had to
> know
> 
> 1. What user-agent string are sent by various browsers
> 2. How to order them in-order to get prompt effect..
> 
> Best thing i think is to change the user-agent sent by
> each browser(or each version)(and you can code any
> string you want and map that in sitemap)..
> 
> Now issue of how to change the user-agent..so far i
> have only succeeded with "Opera" browser, which
> facilitates to change the user-agent to various
> browser imitations(fixed number)...
> 
> May be new mozilla browser could be customized to
> imitate also..
> 
> Good luck
> 
>  --- Liam Morley <[EMAIL PROTECTED]> wrote: > I
> understand that Cocoon gives you the power to use
> > different stylesheets
> > for different browsers (code is included at bottom
> > of email). However, I
> > don't see how you can test between different
> > versions, ie between IE4,
> > IE5, IE5.5, NS4, or NS6. Is there a way to do this
> > as well?
> > 
> > Thank you...
> > 
> > 
> >   
> >   
> >   > src="stylesheets/w3c-2-msie.xsl"/>
> >   
> >   
> >   > src="stylesheets/dynamic-page2html-text.xsl"/>
> >  
> >   
> >   
> >   > src="stylesheets/ns4.xsl"/>
> >   
> >   
> >   > src="stylesheets/w3c.xsl"/>
> >   
> >
> > 
> > 
> > ---
> > Liam Morley
> > 
> > "light the deep, and bring silence to the world.
> > light the world, and bring depth to the silence."
> > 
> > 
> > 
> > 
> >
> -
> > 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]>
> >  
> 
> =
> Thanks and have great day
> srini
> 
> 
> Do You Yahoo!?
> Send a newsletter, share photos & files, conduct polls, 
> organize chat events. Visit http://in.groups.yahoo.com.
> 
> -
> 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]>
> 


===
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

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




[C2] cache XInclude problem (fwd)

2001-08-16 Thread Alexander Petrov

Sorry for sending this again;
I wasn't subscribed to mailing list and, maybe, lost
some reply on my message.
If so, can anyone reply once more ?

and, by the way, how can I access most recent messages ?
cocooun-users-index seems not working :(

-- Forwarded message --
Date: Wed, 15 Aug 2001 20:48:25 +0400 (MSK/MSD)
From: Alexander Petrov <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [C2] cache XInclude problem

I use Apache Cocoon 2.0b2 on Tomcat 3.2.3, Linux.

sitemap contains:
   
 
 
 
 
   

info.xml contains:



http://www.w3.org/2001/XInclude";
href="a.xml" parse="xml"/>


First time accessed "info" outputs fine results.
Next time, Cocoon2 returns 404 code; cocoon.log contains

org.apache.cocoon.ProcessingException: Failed to execute 
pipeline.:java.lang.NullPointerException
at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:189)

and plenty lines of stack trace.

I don't want to refuse from caching, because result of this xinclude
is going to be compiled as XSP.

what should I do : use map:aggregate instead or fix this somehow ?

/Alexander




-
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: session-invalidator and back-button?

2001-08-16 Thread Adrian Geissel

Hi Michael,

I believe that the only way to solve such an issue is to 'run' the protected
portion of your website in a spawned browser window, and then when the user
log's out, to close that window. This will ensure that the Back history,
which is local to a browser window, cannot be access with permission.

Hope that this helps,
Adrian


- Original Message -
From: Enke Michael <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 11:46 AM
Subject: session-invalidator and back-button?


> Hi,
> I tryed the web-application demo from cocoon2
> where a login and logout can be performed.
> But after logout if I press the back button of my browser
> I get back into protected area without authorization.
> How can this be avoided?
>
> Michael
>
> -
> 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]>




[c1] as param for

2001-08-16 Thread Hubert NEOtyk Iwaniuk

Hi all,

I want to get something like this:










XML file:



http://my_host/my_taglib"
xmlns:xsp="http://www.apache.org/1999/XSP/Core"
xmlns:esql="http://apache.org/cocoon/SQL/v2">
...

...


logcsheet: my_taglib.xsl:

http://my_host/my_taglib"
xmlns:esql="http://apache.org/cocoon/SQL/v2"
xmlns:xsp="http://www.apache.org/1999/XSP/Core"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">


...












I think error may be in order of inclusion taglibs, but can't find good one,

Thanks in advance,
Hubert.


---
Ausgehende Mail ist zertifiziert virenfrei.
Uberpruft durch AVG Antivirus System (http://www.grisoft.com/de).
Version: 6.0.265 / Virendatenbank: 137 - Erstellungsdatum: 2001-07-18


-
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: Getting read of the X server dependency

2001-08-16 Thread Jon Peterson

Xvfb is what you need.  If you're running Linux, you may already have it
available (do which Xvfb or slocate Xvfb to check).  If not, go to
Xfree86.org and download either the Xvfb component of X (if you have XServer
installed) or grab the entire X Server and run Xinstall.sh.  If you're
running Solaris, go to
http://tmap.pmel.noaa.gov/home/ferret/FAQ/graphics/Solaris_Xvfb.html for the
binaries.

Once installed, on the command-line run

/usr/X11R6/bin/Xvfb :1 -screen 0 1152x900x8 &

and then set the DISPLAY variable to :1.0

This should take care of your problem and allow you to keep batik's
functionality.

Regards,
Jon

- Original Message -
From: "Carlos" <[EMAIL PROTECTED]>
To: "cocoon users xml.apache.org" <[EMAIL PROTECTED]>
Sent: Wednesday, August 15, 2001 4:49 PM
Subject: Getting read of the X server dependency


> A while back some people gave solutions as to how to remove the dependency
> on a running X server. Some of them included removing all the references
to
> Batik from the site map, others included downloading a library that would
> make X unnecessary, what's the name of the library and where can I
download
> it from?
>
>
> TIA
> Carlos
>
> --
> ---
> P  |Carlos Araya
> _  |WebCT Administrator/Trainer
> G  |California Virtual Campus, Region 1
>  C/O De Anza College
> 10650 Bubb Road
> Cupertino, CA 95014
>
> mail:   [EMAIL PROTECTED]
> web:http://www.cvc1.org (work)
> http://www.silverwolf-net.net (personal)
> PGP Fingerprint: E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756
>
> Don't let the fact that you can't do all you want to do Keep you from
> doing what you can do.
>
> And oftentimes, excusing of a fault doth make the fault the worse by the
> excuse; As patches set upon a little breach discredit more in
> hiding of the fault than did the fault before it was so patched.
> --Wm. Shakespeare
>
>
>
> -
> 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: session-invalidator and back-button?

2001-08-16 Thread Enke Michael

But if I use e-mail or banking over internet,
it is not possible to get the last page back.
And there is no extra window, the back button is selectable.
The server answers that an error occured or that
I have to login again.

Is there a way in cocoon other than spawning another browser window?

Michael

Adrian Geissel wrote:
> 
> Hi Michael,
> 
> I believe that the only way to solve such an issue is to 'run' the protected
> portion of your website in a spawned browser window, and then when the user
> log's out, to close that window. This will ensure that the Back history,
> which is local to a browser window, cannot be access with permission.
> 
> Hope that this helps,
> Adrian
> 
> - Original Message -
> From: Enke Michael <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 16, 2001 11:46 AM
> Subject: session-invalidator and back-button?
> 
> > Hi,
> > I tryed the web-application demo from cocoon2
> > where a login and logout can be performed.
> > But after logout if I press the back button of my browser
> > I get back into protected area without authorization.
> > How can this be avoided?
> >
> > Michael
> >
> > -
> > 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: session-invalidator and back-button?

2001-08-16 Thread Morrison, John

If you use the javascript:location.replace (I *think* that's what its
called) I don't *believe* that the new page is added to the history...

> -Original Message-
> From: Enke Michael [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 16 August 2001 1:54 pm
> To: [EMAIL PROTECTED]
> Subject: Re: session-invalidator and back-button?
> 
> 
> But if I use e-mail or banking over internet,
> it is not possible to get the last page back.
> And there is no extra window, the back button is selectable.
> The server answers that an error occured or that
> I have to login again.
> 
> Is there a way in cocoon other than spawning another browser window?
> 
> Michael
> 
> Adrian Geissel wrote:
> > 
> > Hi Michael,
> > 
> > I believe that the only way to solve such an issue is to 
> 'run' the protected
> > portion of your website in a spawned browser window, and 
> then when the user
> > log's out, to close that window. This will ensure that the 
> Back history,
> > which is local to a browser window, cannot be access with 
> permission.
> > 
> > Hope that this helps,
> > Adrian
> > 
> > - Original Message -
> > From: Enke Michael <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, August 16, 2001 11:46 AM
> > Subject: session-invalidator and back-button?
> > 
> > > Hi,
> > > I tryed the web-application demo from cocoon2
> > > where a login and logout can be performed.
> > > But after logout if I press the back button of my browser
> > > I get back into protected area without authorization.
> > > How can this be avoided?
> > >
> > > Michael
> > >
> > > 
> -
> > > 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]>
> 


===
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

-
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: session-invalidator and back-button?

2001-08-16 Thread java guru

Hi.,
  Correct me if i am wrong...why not use page
expiration time in http headers?..


 --- "Morrison, John" <[EMAIL PROTECTED]>
wrote: > If you use the javascript:location.replace (I
> *think* that's what its
> called) I don't *believe* that the new page is added
> to the history...
> 
> > -Original Message-
> > From: Enke Michael
> [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, 16 August 2001 1:54 pm
> > To: [EMAIL PROTECTED]
> > Subject: Re: session-invalidator and back-button?
> > 
> > 
> > But if I use e-mail or banking over internet,
> > it is not possible to get the last page back.
> > And there is no extra window, the back button is
> selectable.
> > The server answers that an error occured or that
> > I have to login again.
> > 
> > Is there a way in cocoon other than spawning
> another browser window?
> > 
> > Michael
> > 
> > Adrian Geissel wrote:
> > > 
> > > Hi Michael,
> > > 
> > > I believe that the only way to solve such an
> issue is to 
> > 'run' the protected
> > > portion of your website in a spawned browser
> window, and 
> > then when the user
> > > log's out, to close that window. This will
> ensure that the 
> > Back history,
> > > which is local to a browser window, cannot be
> access with 
> > permission.
> > > 
> > > Hope that this helps,
> > > Adrian
> > > 
> > > - Original Message -
> > > From: Enke Michael
> <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, August 16, 2001 11:46 AM
> > > Subject: session-invalidator and back-button?
> > > 
> > > > Hi,
> > > > I tryed the web-application demo from cocoon2
> > > > where a login and logout can be performed.
> > > > But after logout if I press the back button of
> my browser
> > > > I get back into protected area without
> authorization.
> > > > How can this be avoided?
> > > >
> > > > Michael
> > > >
> > > > 
> >
>
-
> > > > 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]>
> > 
> 
> 
>
===
> Information in this email and any attachments are
> confidential, and may
> not be copied or used by anyone other than the
> addressee, nor disclosed
> to any third party without our permission.  There is
> no intention to
> create any legally binding contract or other
> commitment through the use
> of this email.
> 
> Experian Limited (registration number 653331).  
> Registered office: Talbot House, Talbot Street,
> Nottingham NG1 5HF
> 
>
-
> 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]>
>  

=
Thanks and have great day
srini


Do You Yahoo!?
Send a newsletter, share photos & files, conduct polls, organize chat events. Visit 
http://in.groups.yahoo.com.

-
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: Getting read of the X server dependency

2001-08-16 Thread Berin Loritsch

Jon Peterson wrote:
> 
> Xvfb is what you need.  If you're running Linux, you may already have it
> available (do which Xvfb or slocate Xvfb to check).  If not, go to
> Xfree86.org and download either the Xvfb component of X (if you have XServer
> installed) or grab the entire X Server and run Xinstall.sh.  If you're
> running Solaris, go to
> http://tmap.pmel.noaa.gov/home/ferret/FAQ/graphics/Solaris_Xvfb.html for the
> binaries.

That takes care of part of the problem.  Please, I highly recommend stress
testing that setup.  Any time you are dependant on the interactions between
two highly complex beasts (JVM and X windows server), there are bound to be
synchronization issues and other bugs that are beyond the control of Cocoon!

Consider the load you are expecting, and test for twice that number.  It is
more important that you test for concurrency than for sequential access.  If
you expect 100 simultaneous users during peek time, test for 200 users.  Use
realistic settings, but test nonetheless.

Keep in mind that any time you incorporate SVG using FOP or Batik, then you
are going to use the X windows server.

If you have _any_ serializers that use Batik (i.e. svg2png, svg2jpg), you are
going to require the use of Batik.

In some instances the setup will be perfectly stable--but some platforms will
prove unstable.  It all depends on the implementation of X Windows and the
implementation of the JVM.

When JDK 1.4 becomes stable, the promise of Headless servers will be realized,
and Batik can be used without precaution.

> 
> Once installed, on the command-line run
> 
> /usr/X11R6/bin/Xvfb :1 -screen 0 1152x900x8 &
> 
> and then set the DISPLAY variable to :1.0
> 
> This should take care of your problem and allow you to keep batik's
> functionality.
> 
> Regards,
> Jon
> 
> - Original Message -
> From: "Carlos" <[EMAIL PROTECTED]>
> To: "cocoon users xml.apache.org" <[EMAIL PROTECTED]>
> Sent: Wednesday, August 15, 2001 4:49 PM
> Subject: Getting read of the X server dependency
> 
> > A while back some people gave solutions as to how to remove the dependency
> > on a running X server. Some of them included removing all the references
> to
> > Batik from the site map, others included downloading a library that would
> > make X unnecessary, what's the name of the library and where can I
> download
> > it from?
> >
> >
> > TIA
> > Carlos
> >
> > --
> > ---
> > P  |Carlos Araya
> > _  |WebCT Administrator/Trainer
> > G  |California Virtual Campus, Region 1
> >  C/O De Anza College
> > 10650 Bubb Road
> > Cupertino, CA 95014
> >
> > mail:   [EMAIL PROTECTED]
> > web:http://www.cvc1.org (work)
> > http://www.silverwolf-net.net (personal)
> > PGP Fingerprint: E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756
> >
> > Don't let the fact that you can't do all you want to do Keep you from
> > doing what you can do.
> >
> > And oftentimes, excusing of a fault doth make the fault the worse by the
> > excuse; As patches set upon a little breach discredit more in
> > hiding of the fault than did the fault before it was so patched.
> > --Wm. Shakespeare
> >
> >
> >
> > -
> > 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: session-invalidator and back-button?

2001-08-16 Thread Morrison, John

No reason - if you expire the page then it will try and get it again from
the server, if the session is still OK which keeps your password you won't
be asked for it again.  T'was just a though...

> -Original Message-
> From: java guru [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 16 August 2001 2:02 pm
> To: [EMAIL PROTECTED]
> Subject: RE: session-invalidator and back-button?
> 
> 
> Hi.,
>   Correct me if i am wrong...why not use page
> expiration time in http headers?..
> 
> 
>  --- "Morrison, John" <[EMAIL PROTECTED]>
> wrote: > If you use the javascript:location.replace (I
> > *think* that's what its
> > called) I don't *believe* that the new page is added
> > to the history...
> > 
> > > -Original Message-
> > > From: Enke Michael
> > [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, 16 August 2001 1:54 pm
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: session-invalidator and back-button?
> > > 
> > > 
> > > But if I use e-mail or banking over internet,
> > > it is not possible to get the last page back.
> > > And there is no extra window, the back button is
> > selectable.
> > > The server answers that an error occured or that
> > > I have to login again.
> > > 
> > > Is there a way in cocoon other than spawning
> > another browser window?
> > > 
> > > Michael
> > > 
> > > Adrian Geissel wrote:
> > > > 
> > > > Hi Michael,
> > > > 
> > > > I believe that the only way to solve such an
> > issue is to 
> > > 'run' the protected
> > > > portion of your website in a spawned browser
> > window, and 
> > > then when the user
> > > > log's out, to close that window. This will
> > ensure that the 
> > > Back history,
> > > > which is local to a browser window, cannot be
> > access with 
> > > permission.
> > > > 
> > > > Hope that this helps,
> > > > Adrian
> > > > 
> > > > - Original Message -
> > > > From: Enke Michael
> > <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Thursday, August 16, 2001 11:46 AM
> > > > Subject: session-invalidator and back-button?
> > > > 
> > > > > Hi,
> > > > > I tryed the web-application demo from cocoon2
> > > > > where a login and logout can be performed.
> > > > > But after logout if I press the back button of
> > my browser
> > > > > I get back into protected area without
> > authorization.
> > > > > How can this be avoided?
> > > > >
> > > > > Michael
> > > > >
> > > > > 
> > >
> >
> -
> > > > > 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]>
> > > 
> > 
> > 
> >
> ==
> =
> > Information in this email and any attachments are
> > confidential, and may
> > not be copied or used by anyone other than the
> > addressee, nor disclosed
> > to any third party without our permission.  There is
> > no intention to
> > create any legally binding contract or other
> > commitment through the use
> > of this email.
> > 
> > Experian Limited (registration number 653331).  
> > Registered office: Talbot House, Talbot Street,
> > Nottingham NG1 5HF
> > 
> >
> -
> > 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]>
> >  
> 
> =
> Thanks and have great day
> srini
> 
> 
> Do You Yahoo!?
> Send a newsletter, share photos & files, conduct polls, 
> organize chat events. Visit http://in.groups.yahoo.com.
> 
> -
> 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

RE: session-invalidator and back-button?

2001-08-16 Thread java guru

What do u mean?..the original question was "once he
logged out(which means the session is expired
purposefully) and push back button, the page is still
diplayed(from browser cache)"..

According to this the session is programatically
expired on logout so there is no session information
stored on server..and even if the browser try to get
the page from server, it would fail as the session is
already expired...

This is done very frequently in banking and public
email systems...

Again correct me if wrong..




 --- "Morrison, John" <[EMAIL PROTECTED]>
wrote: > No reason - if you expire the page then it
will try
> and get it again from
> the server, if the session is still OK which keeps
> your password you won't
> be asked for it again.  T'was just a though...
> 
> > -Original Message-
> > From: java guru [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, 16 August 2001 2:02 pm
> > To: [EMAIL PROTECTED]
> > Subject: RE: session-invalidator and back-button?
> > 
> > 
> > Hi.,
> >   Correct me if i am wrong...why not use page
> > expiration time in http headers?..
> > 
> > 
> >  --- "Morrison, John"
> <[EMAIL PROTECTED]>
> > wrote: > If you use the
> javascript:location.replace (I
> > > *think* that's what its
> > > called) I don't *believe* that the new page is
> added
> > > to the history...
> > > 
> > > > -Original Message-
> > > > From: Enke Michael
> > > [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, 16 August 2001 1:54 pm
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Re: session-invalidator and
> back-button?
> > > > 
> > > > 
> > > > But if I use e-mail or banking over internet,
> > > > it is not possible to get the last page back.
> > > > And there is no extra window, the back button
> is
> > > selectable.
> > > > The server answers that an error occured or
> that
> > > > I have to login again.
> > > > 
> > > > Is there a way in cocoon other than spawning
> > > another browser window?
> > > > 
> > > > Michael
> > > > 
> > > > Adrian Geissel wrote:
> > > > > 
> > > > > Hi Michael,
> > > > > 
> > > > > I believe that the only way to solve such an
> > > issue is to 
> > > > 'run' the protected
> > > > > portion of your website in a spawned browser
> > > window, and 
> > > > then when the user
> > > > > log's out, to close that window. This will
> > > ensure that the 
> > > > Back history,
> > > > > which is local to a browser window, cannot
> be
> > > access with 
> > > > permission.
> > > > > 
> > > > > Hope that this helps,
> > > > > Adrian
> > > > > 
> > > > > - Original Message -
> > > > > From: Enke Michael
> > > <[EMAIL PROTECTED]>
> > > > > To: <[EMAIL PROTECTED]>
> > > > > Sent: Thursday, August 16, 2001 11:46 AM
> > > > > Subject: session-invalidator and
> back-button?
> > > > > 
> > > > > > Hi,
> > > > > > I tryed the web-application demo from
> cocoon2
> > > > > > where a login and logout can be performed.
> > > > > > But after logout if I press the back
> button of
> > > my browser
> > > > > > I get back into protected area without
> > > authorization.
> > > > > > How can this be avoided?
> > > > > >
> > > > > > Michael
> > > > > >
> > > > > > 
> > > >
> > >
> >
>
-
> > > > > > 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]>
> > > > 
> > > 
> > > 
> > >
> >
>
==
> > =
> > > Information in this email and any attachments
> are
> > > confidential, and may
> > > not be copied or used by anyone other than the
> > > addressee, nor disclosed
> > > to any third party without our permission. 
> There is
> > > no intention to
> > > create any legally binding contract or other
> > > commitment through the use
> > > of this email.
> > > 
> > > Experian Limited (registration number 653331).  
> > > Registered office: Talbot House, Talbot Street,
> > > Nottingham NG1 5HF
>

RE: session-invalidator and back-button?

2001-08-16 Thread Morrison, John

Ah, my apologies - I missed the 'logged out' bit...

> -Original Message-
> From: java guru [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 16 August 2001 2:12 pm
> To: [EMAIL PROTECTED]
> Subject: RE: session-invalidator and back-button?
> 
> 
> What do u mean?..the original question was "once he
> logged out(which means the session is expired
> purposefully) and push back button, the page is still
> diplayed(from browser cache)"..
> 
> According to this the session is programatically
> expired on logout so there is no session information
> stored on server..and even if the browser try to get
> the page from server, it would fail as the session is
> already expired...
> 
> This is done very frequently in banking and public
> email systems...
> 
> Again correct me if wrong..
> 

Hey, please take it easy - it wasn't anything personal!

> 
> 
>  --- "Morrison, John" <[EMAIL PROTECTED]>
> wrote: > No reason - if you expire the page then it
> will try
> > and get it again from
> > the server, if the session is still OK which keeps
> > your password you won't
> > be asked for it again.  T'was just a though...
> > 
> > > -Original Message-
> > > From: java guru [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, 16 August 2001 2:02 pm
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: session-invalidator and back-button?
> > > 
> > > 
> > > Hi.,
> > >   Correct me if i am wrong...why not use page
> > > expiration time in http headers?..
> > > 
> > > 
> > >  --- "Morrison, John"
> > <[EMAIL PROTECTED]>
> > > wrote: > If you use the
> > javascript:location.replace (I
> > > > *think* that's what its
> > > > called) I don't *believe* that the new page is
> > added
> > > > to the history...
> > > > 
> > > > > -Original Message-
> > > > > From: Enke Michael
> > > > [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Thursday, 16 August 2001 1:54 pm
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: Re: session-invalidator and
> > back-button?
> > > > > 
> > > > > 
> > > > > But if I use e-mail or banking over internet,
> > > > > it is not possible to get the last page back.
> > > > > And there is no extra window, the back button
> > is
> > > > selectable.
> > > > > The server answers that an error occured or
> > that
> > > > > I have to login again.
> > > > > 
> > > > > Is there a way in cocoon other than spawning
> > > > another browser window?
> > > > > 
> > > > > Michael
> > > > > 
> > > > > Adrian Geissel wrote:
> > > > > > 
> > > > > > Hi Michael,
> > > > > > 
> > > > > > I believe that the only way to solve such an
> > > > issue is to 
> > > > > 'run' the protected
> > > > > > portion of your website in a spawned browser
> > > > window, and 
> > > > > then when the user
> > > > > > log's out, to close that window. This will
> > > > ensure that the 
> > > > > Back history,
> > > > > > which is local to a browser window, cannot
> > be
> > > > access with 
> > > > > permission.
> > > > > > 
> > > > > > Hope that this helps,
> > > > > > Adrian
> > > > > > 
> > > > > > - Original Message -
> > > > > > From: Enke Michael
> > > > <[EMAIL PROTECTED]>
> > > > > > To: <[EMAIL PROTECTED]>
> > > > > > Sent: Thursday, August 16, 2001 11:46 AM
> > > > > > Subject: session-invalidator and
> > back-button?
> > > > > > 
> > > > > > > Hi,
> > > > > > > I tryed the web-application demo from
> > cocoon2
> > > > > > > where a login and logout can be performed.
> > > > > > > But after logout if I press the back
> > button of
> > > > my browser
> > > > > > > I get back into protected area without
> > > > authorization.
> > > > > > > How can this be avoided?
> > > > > > >
> > > > > > > Michael
> > > > > > >
> > > > > > > 
> > > > >
> > > >
> > >
> >
> -
> > > > > > > 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:
> > > >

Re: Getting read of the X server dependency

2001-08-16 Thread java guru

That is very true.,
   I took out the batik stuff BECAUSE all of my
project could be re-arranged with static graphics
instead of svg..I would recommend to use it only if
its absolutely necessary...
   There was substantical load decrease on server
after i took out batik...

And load testing is absolutely important...

have good time..

 --- Berin Loritsch <[EMAIL PROTECTED]> wrote: >
Jon Peterson wrote:
> > 
> > Xvfb is what you need.  If you're running Linux,
> you may already have it
> > available (do which Xvfb or slocate Xvfb to
> check).  If not, go to
> > Xfree86.org and download either the Xvfb component
> of X (if you have XServer
> > installed) or grab the entire X Server and run
> Xinstall.sh.  If you're
> > running Solaris, go to
> >
>
http://tmap.pmel.noaa.gov/home/ferret/FAQ/graphics/Solaris_Xvfb.html
> for the
> > binaries.
> 
> That takes care of part of the problem.  Please, I
> highly recommend stress
> testing that setup.  Any time you are dependant on
> the interactions between
> two highly complex beasts (JVM and X windows
> server), there are bound to be
> synchronization issues and other bugs that are
> beyond the control of Cocoon!
> 
> Consider the load you are expecting, and test for
> twice that number.  It is
> more important that you test for concurrency than
> for sequential access.  If
> you expect 100 simultaneous users during peek time,
> test for 200 users.  Use
> realistic settings, but test nonetheless.
> 
> Keep in mind that any time you incorporate SVG using
> FOP or Batik, then you
> are going to use the X windows server.
> 
> If you have _any_ serializers that use Batik (i.e.
> svg2png, svg2jpg), you are
> going to require the use of Batik.
> 
> In some instances the setup will be perfectly
> stable--but some platforms will
> prove unstable.  It all depends on the
> implementation of X Windows and the
> implementation of the JVM.
> 
> When JDK 1.4 becomes stable, the promise of Headless
> servers will be realized,
> and Batik can be used without precaution.
> 
> > 
> > Once installed, on the command-line run
> > 
> > /usr/X11R6/bin/Xvfb :1 -screen 0 1152x900x8 &
> > 
> > and then set the DISPLAY variable to :1.0
> > 
> > This should take care of your problem and allow
> you to keep batik's
> > functionality.
> > 
> > Regards,
> > Jon
> > 
> > - Original Message -
> > From: "Carlos" <[EMAIL PROTECTED]>
> > To: "cocoon users xml.apache.org"
> <[EMAIL PROTECTED]>
> > Sent: Wednesday, August 15, 2001 4:49 PM
> > Subject: Getting read of the X server dependency
> > 
> > > A while back some people gave solutions as to
> how to remove the dependency
> > > on a running X server. Some of them included
> removing all the references
> > to
> > > Batik from the site map, others included
> downloading a library that would
> > > make X unnecessary, what's the name of the
> library and where can I
> > download
> > > it from?
> > >
> > >
> > > TIA
> > > Carlos
> > >
> > > --
> > > ---
> > > P  |Carlos Araya
> > > _  |WebCT Administrator/Trainer
> > > G  |California Virtual Campus, Region 1
> > >  C/O De Anza College
> > > 10650 Bubb Road
> > > Cupertino, CA 95014
> > >
> > > mail:   [EMAIL PROTECTED]
> > > web:http://www.cvc1.org (work)
> > > http://www.silverwolf-net.net
> (personal)
> > > PGP Fingerprint: E629 5DFD 7EAE 4995 E9D7 
> 3D2F 5A9F 0CE7 DFE7 1756
> > >
> > > Don't let the fact that you can't do all you
> want to do Keep you from
> > > doing what you can do.
> > >
> > > And oftentimes, excusing of a fault doth make
> the fault the worse by the
> > > excuse; As patches set upon a little breach
> discredit more in
> > > hiding of the fault than did the fault before it
> was so patched.
> > > --Wm. Shakespeare
> > >
> > >
> > >
> > >
>
-
> > > 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]>
>  

=
Thanks and have great day
srini


Do You Yahoo!?
Send a newsletter, share photos & files, conduct polls, organize chat events. Visit 
http://in.groups.y

RE: session-invalidator and back-button?

2001-08-16 Thread java guru

Hi buddy.,
   This is community project...so nothing is
personal:-)..i apologize is my words sounded so...

Have good time..


 --- "Morrison, John" <[EMAIL PROTECTED]>
wrote: > Ah, my apologies - I missed the 'logged out'
bit...
> 
> > -Original Message-
> > From: java guru [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, 16 August 2001 2:12 pm
> > To: [EMAIL PROTECTED]
> > Subject: RE: session-invalidator and back-button?
> > 
> > 
> > What do u mean?..the original question was "once
> he
> > logged out(which means the session is expired
> > purposefully) and push back button, the page is
> still
> > diplayed(from browser cache)"..
> > 
> > According to this the session is programatically
> > expired on logout so there is no session
> information
> > stored on server..and even if the browser try to
> get
> > the page from server, it would fail as the session
> is
> > already expired...
> > 
> > This is done very frequently in banking and public
> > email systems...
> > 
> > Again correct me if wrong..
> > 
> 
> Hey, please take it easy - it wasn't anything
> personal!
> 
> > 
> > 
> >  --- "Morrison, John"
> <[EMAIL PROTECTED]>
> > wrote: > No reason - if you expire the page then
> it
> > will try
> > > and get it again from
> > > the server, if the session is still OK which
> keeps
> > > your password you won't
> > > be asked for it again.  T'was just a though...
> > > 
> > > > -Original Message-
> > > > From: java guru
> [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, 16 August 2001 2:02 pm
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: session-invalidator and
> back-button?
> > > > 
> > > > 
> > > > Hi.,
> > > >   Correct me if i am wrong...why not use page
> > > > expiration time in http headers?..
> > > > 
> > > > 
> > > >  --- "Morrison, John"
> > > <[EMAIL PROTECTED]>
> > > > wrote: > If you use the
> > > javascript:location.replace (I
> > > > > *think* that's what its
> > > > > called) I don't *believe* that the new page
> is
> > > added
> > > > > to the history...
> > > > > 
> > > > > > -Original Message-
> > > > > > From: Enke Michael
> > > > > [mailto:[EMAIL PROTECTED]]
> > > > > > Sent: Thursday, 16 August 2001 1:54 pm
> > > > > > To: [EMAIL PROTECTED]
> > > > > > Subject: Re: session-invalidator and
> > > back-button?
> > > > > > 
> > > > > > 
> > > > > > But if I use e-mail or banking over
> internet,
> > > > > > it is not possible to get the last page
> back.
> > > > > > And there is no extra window, the back
> button
> > > is
> > > > > selectable.
> > > > > > The server answers that an error occured
> or
> > > that
> > > > > > I have to login again.
> > > > > > 
> > > > > > Is there a way in cocoon other than
> spawning
> > > > > another browser window?
> > > > > > 
> > > > > > Michael
> > > > > > 
> > > > > > Adrian Geissel wrote:
> > > > > > > 
> > > > > > > Hi Michael,
> > > > > > > 
> > > > > > > I believe that the only way to solve
> such an
> > > > > issue is to 
> > > > > > 'run' the protected
> > > > > > > portion of your website in a spawned
> browser
> > > > > window, and 
> > > > > > then when the user
> > > > > > > log's out, to close that window. This
> will
> > > > > ensure that the 
> > > > > > Back history,
> > > > > > > which is local to a browser window,
> cannot
> > > be
> > > > > access with 
> > > > > > permission.
> > > > > > > 
> > > > > > > Hope that this helps,
> > > > > > > Adrian
> > > > > > > 
> > > > > > > - Original Message -
> > > > > > > From: Enke Michael
> > > > > <[EMAIL PROTECTED]>
> > > > > > > To: <[EMAIL PROTECTED]>
> > > > > > > Sent: Thursday, August 16, 2001 11:46 AM
> > > > > > > Subject: session-invalidator and
> > > back-button?
> > > > > > > 
> > > > > > > > Hi,
> > > > > > > > I tryed the web-application demo from
> > > cocoon2
> > > > > > > > where a login and logout can be
> performed.
> > > > > > > > But after logout if I press the back
> > > button of
> > > > > my browser
> > > > > > > > I get back into protected area without
> > > > > authorization.
> > > > > > > > How can this be avoided?
> > > > > > > >
> > > > > > > > Michael
> > > > > > > >
> > > > > > > > 
> > > > > >
> > > > >
> > > >
> > >
> >
>
-
> > > > > > > > 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.
> > > > > 
> > > > > > > 
> > >

Re: session-invalidator and back-button?

2001-08-16 Thread Enke Michael

Thank you for the hint, I never used this.
It works.
But: konqueror (KDE webbrowser) seems not to care
about "expires". This confused me awhile.

Michael

java guru wrote:
> 
> Hi.,
>   Correct me if i am wrong...why not use page
> expiration time in http headers?..
> 
>  --- "Morrison, John" <[EMAIL PROTECTED]>
> wrote: > If you use the javascript:location.replace (I
> > *think* that's what its
> > called) I don't *believe* that the new page is added
> > to the history...
> >
> > > -Original Message-
> > > From: Enke Michael
> > [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, 16 August 2001 1:54 pm
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: session-invalidator and back-button?
> > >
> > >
> > > But if I use e-mail or banking over internet,
> > > it is not possible to get the last page back.
> > > And there is no extra window, the back button is
> > selectable.
> > > The server answers that an error occured or that
> > > I have to login again.
> > >
> > > Is there a way in cocoon other than spawning
> > another browser window?
> > >
> > > Michael
> > >
> > > Adrian Geissel wrote:
> > > >
> > > > Hi Michael,
> > > >
> > > > I believe that the only way to solve such an
> > issue is to
> > > 'run' the protected
> > > > portion of your website in a spawned browser
> > window, and
> > > then when the user
> > > > log's out, to close that window. This will
> > ensure that the
> > > Back history,
> > > > which is local to a browser window, cannot be
> > access with
> > > permission.
> > > >
> > > > Hope that this helps,
> > > > Adrian
> > > >
> > > > - Original Message -
> > > > From: Enke Michael
> > <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Thursday, August 16, 2001 11:46 AM
> > > > Subject: session-invalidator and back-button?
> > > >
> > > > > Hi,
> > > > > I tryed the web-application demo from cocoon2
> > > > > where a login and logout can be performed.
> > > > > But after logout if I press the back button of
> > my browser
> > > > > I get back into protected area without
> > authorization.
> > > > > How can this be avoided?
> > > > >
> > > > > Michael
> > > > >
> > > > >
> > >
> >
> -
> > > > > 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]>
> > >
> >
> >
> >
> ===
> > Information in this email and any attachments are
> > confidential, and may
> > not be copied or used by anyone other than the
> > addressee, nor disclosed
> > to any third party without our permission.  There is
> > no intention to
> > create any legally binding contract or other
> > commitment through the use
> > of this email.
> >
> > Experian Limited (registration number 653331).
> > Registered office: Talbot House, Talbot Street,
> > Nottingham NG1 5HF
> >
> >
> -
> > 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]>
> >
> 
> =
> Thanks and have great day
> srini
> 
> 
> Do You Yahoo!?
> Send a newsletter, share photos & files, conduct polls, organize chat events. Visit 
>http://in.groups.yahoo.com.
> 
> -
> 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 PRO

AW: session-invalidator and back-button?

2001-08-16 Thread Jörn Heid

As I know there are two meta-tags.
The one with expires and another with nocache.

Perhaps it works if you are using both.

JOERN_HEID

-Ursprüngliche Nachricht-
Von: Enke Michael [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 16. August 2001 15:30
An: [EMAIL PROTECTED]
Betreff: Re: session-invalidator and back-button?


Thank you for the hint, I never used this.
It works.
But: konqueror (KDE webbrowser) seems not to care
about "expires". This confused me awhile.

Michael

java guru wrote:
>
> Hi.,
>   Correct me if i am wrong...why not use page
> expiration time in http headers?..
>
>  --- "Morrison, John" <[EMAIL PROTECTED]>
> wrote: > If you use the javascript:location.replace (I
> > *think* that's what its
> > called) I don't *believe* that the new page is added
> > to the history...
> >
> > > -Original Message-
> > > From: Enke Michael
> > [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, 16 August 2001 1:54 pm
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: session-invalidator and back-button?
> > >
> > >
> > > But if I use e-mail or banking over internet,
> > > it is not possible to get the last page back.
> > > And there is no extra window, the back button is
> > selectable.
> > > The server answers that an error occured or that
> > > I have to login again.
> > >
> > > Is there a way in cocoon other than spawning
> > another browser window?
> > >
> > > Michael
> > >
> > > Adrian Geissel wrote:
> > > >
> > > > Hi Michael,
> > > >
> > > > I believe that the only way to solve such an
> > issue is to
> > > 'run' the protected
> > > > portion of your website in a spawned browser
> > window, and
> > > then when the user
> > > > log's out, to close that window. This will
> > ensure that the
> > > Back history,
> > > > which is local to a browser window, cannot be
> > access with
> > > permission.
> > > >
> > > > Hope that this helps,
> > > > Adrian
> > > >
> > > > - Original Message -
> > > > From: Enke Michael
> > <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Thursday, August 16, 2001 11:46 AM
> > > > Subject: session-invalidator and back-button?
> > > >
> > > > > Hi,
> > > > > I tryed the web-application demo from cocoon2
> > > > > where a login and logout can be performed.
> > > > > But after logout if I press the back button of
> > my browser
> > > > > I get back into protected area without
> > authorization.
> > > > > How can this be avoided?
> > > > >
> > > > > Michael
> > > > >
> > > > >
> > >
> >
> -
> > > > > 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]>
> > >
> >
> >
> >
> ===
> > Information in this email and any attachments are
> > confidential, and may
> > not be copied or used by anyone other than the
> > addressee, nor disclosed
> > to any third party without our permission.  There is
> > no intention to
> > create any legally binding contract or other
> > commitment through the use
> > of this email.
> >
> > Experian Limited (registration number 653331).
> > Registered office: Talbot House, Talbot Street,
> > Nottingham NG1 5HF
> >
> >
> -
> > 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]>
> >
>
> =
> Thanks and have great day
> srini
>
> 
> Do You Yahoo!?
> Send a newsletter, share photos & files, conduct polls, organize chat
events. Visit http://in.groups.yahoo.com.
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscr

Re: Getting read of the X server dependency

2001-08-16 Thread Jon Peterson

Thanks for the input!

In our situation, we incorporate SVG as a fo:instream-foreign-object so I
can't remove the dependency.  Does anyone have any advice on how we can
improve the configuration (for instance, different Xvfb parameters maybe?)
or is it solely a function of the OS/version, JVM/version and X/version?

Thanks...Jon

- Original Message -
From: "java guru" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 9:15 AM
Subject: Re: Getting read of the X server dependency


> That is very true.,
>I took out the batik stuff BECAUSE all of my
> project could be re-arranged with static graphics
> instead of svg..I would recommend to use it only if
> its absolutely necessary...
>There was substantical load decrease on server
> after i took out batik...
>
> And load testing is absolutely important...
>
> have good time..
>
>  --- Berin Loritsch <[EMAIL PROTECTED]> wrote: >
> Jon Peterson wrote:
> > >
> > > Xvfb is what you need.  If you're running Linux,
> > you may already have it
> > > available (do which Xvfb or slocate Xvfb to
> > check).  If not, go to
> > > Xfree86.org and download either the Xvfb component
> > of X (if you have XServer
> > > installed) or grab the entire X Server and run
> > Xinstall.sh.  If you're
> > > running Solaris, go to
> > >
> >
> http://tmap.pmel.noaa.gov/home/ferret/FAQ/graphics/Solaris_Xvfb.html
> > for the
> > > binaries.
> >
> > That takes care of part of the problem.  Please, I
> > highly recommend stress
> > testing that setup.  Any time you are dependant on
> > the interactions between
> > two highly complex beasts (JVM and X windows
> > server), there are bound to be
> > synchronization issues and other bugs that are
> > beyond the control of Cocoon!
> >
> > Consider the load you are expecting, and test for
> > twice that number.  It is
> > more important that you test for concurrency than
> > for sequential access.  If
> > you expect 100 simultaneous users during peek time,
> > test for 200 users.  Use
> > realistic settings, but test nonetheless.
> >
> > Keep in mind that any time you incorporate SVG using
> > FOP or Batik, then you
> > are going to use the X windows server.
> >
> > If you have _any_ serializers that use Batik (i.e.
> > svg2png, svg2jpg), you are
> > going to require the use of Batik.
> >
> > In some instances the setup will be perfectly
> > stable--but some platforms will
> > prove unstable.  It all depends on the
> > implementation of X Windows and the
> > implementation of the JVM.
> >
> > When JDK 1.4 becomes stable, the promise of Headless
> > servers will be realized,
> > and Batik can be used without precaution.
> >
> > >
> > > Once installed, on the command-line run
> > >
> > > /usr/X11R6/bin/Xvfb :1 -screen 0 1152x900x8 &
> > >
> > > and then set the DISPLAY variable to :1.0
> > >
> > > This should take care of your problem and allow
> > you to keep batik's
> > > functionality.
> > >
> > > Regards,
> > > Jon
> > >
> > > - Original Message -
> > > From: "Carlos" <[EMAIL PROTECTED]>
> > > To: "cocoon users xml.apache.org"
> > <[EMAIL PROTECTED]>
> > > Sent: Wednesday, August 15, 2001 4:49 PM
> > > Subject: Getting read of the X server dependency
> > >
> > > > A while back some people gave solutions as to
> > how to remove the dependency
> > > > on a running X server. Some of them included
> > removing all the references
> > > to
> > > > Batik from the site map, others included
> > downloading a library that would
> > > > make X unnecessary, what's the name of the
> > library and where can I
> > > download
> > > > it from?
> > > >
> > > >
> > > > TIA
> > > > Carlos
> > > >
> > > > --
> > > > ---
> > > > P  |Carlos Araya
> > > > _  |WebCT Administrator/Trainer
> > > > G  |California Virtual Campus, Region 1
> > > >  C/O De Anza College
> > > > 10650 Bubb Road
> > > > Cupertino, CA 95014
> > > >
> > > > mail:   [EMAIL PROTECTED]
> > > > web:http://www.cvc1.org (work)
> > > > http://www.silverwolf-net.net
> > (personal)
> > > > PGP Fingerprint: E629 5DFD 7EAE 4995 E9D7
> > 3D2F 5A9F 0CE7 DFE7 1756
> > > >
> > > > Don't let the fact that you can't do all you
> > want to do Keep you from
> > > > doing what you can do.
> > > >
> > > > And oftentimes, excusing of a fault doth make
> > the fault the worse by the
> > > > excuse; As patches set upon a little breach
> > discredit more in
> > > > hiding of the fault than did the fault before it
> > was so patched.
> > > > --Wm. Shakespeare
> > > >
> > > >
> > > >
> > > >
> >
> -
> > > > 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: session-invalidator and back-button?

2001-08-16 Thread java guru

Man..thats the problem..
  See how (un)reliable user-agents(browsers) are
:-)


INTERNET IS LIKE A DARK CORRIDOR. WE NEVER SURE WHATS
ON THE OTHER SIDE..AND WE ARE STRUGGLING TO MAKE
SURE...!!!

 --- Enke Michael <[EMAIL PROTECTED]>
wrote: > Thank you for the hint, I never used this.
> It works.
> But: konqueror (KDE webbrowser) seems not to care
> about "expires". This confused me awhile.
> 
> Michael
> 
> java guru wrote:
> > 
> > Hi.,
> >   Correct me if i am wrong...why not use page
> > expiration time in http headers?..
> > 
> >  --- "Morrison, John"
> <[EMAIL PROTECTED]>
> > wrote: > If you use the
> javascript:location.replace (I
> > > *think* that's what its
> > > called) I don't *believe* that the new page is
> added
> > > to the history...
> > >
> > > > -Original Message-
> > > > From: Enke Michael
> > > [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, 16 August 2001 1:54 pm
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Re: session-invalidator and
> back-button?
> > > >
> > > >
> > > > But if I use e-mail or banking over internet,
> > > > it is not possible to get the last page back.
> > > > And there is no extra window, the back button
> is
> > > selectable.
> > > > The server answers that an error occured or
> that
> > > > I have to login again.
> > > >
> > > > Is there a way in cocoon other than spawning
> > > another browser window?
> > > >
> > > > Michael
> > > >
> > > > Adrian Geissel wrote:
> > > > >
> > > > > Hi Michael,
> > > > >
> > > > > I believe that the only way to solve such an
> > > issue is to
> > > > 'run' the protected
> > > > > portion of your website in a spawned browser
> > > window, and
> > > > then when the user
> > > > > log's out, to close that window. This will
> > > ensure that the
> > > > Back history,
> > > > > which is local to a browser window, cannot
> be
> > > access with
> > > > permission.
> > > > >
> > > > > Hope that this helps,
> > > > > Adrian
> > > > >
> > > > > - Original Message -
> > > > > From: Enke Michael
> > > <[EMAIL PROTECTED]>
> > > > > To: <[EMAIL PROTECTED]>
> > > > > Sent: Thursday, August 16, 2001 11:46 AM
> > > > > Subject: session-invalidator and
> back-button?
> > > > >
> > > > > > Hi,
> > > > > > I tryed the web-application demo from
> cocoon2
> > > > > > where a login and logout can be performed.
> > > > > > But after logout if I press the back
> button of
> > > my browser
> > > > > > I get back into protected area without
> > > authorization.
> > > > > > How can this be avoided?
> > > > > >
> > > > > > Michael
> > > > > >
> > > > > >
> > > >
> > >
> >
>
-
> > > > > > 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]>
> > > >
> > >
> > >
> > >
> >
>
===
> > > Information in this email and any attachments
> are
> > > confidential, and may
> > > not be copied or used by anyone other than the
> > > addressee, nor disclosed
> > > to any third party without our permission. 
> There is
> > > no intention to
> > > create any legally binding contract or other
> > > commitment through the use
> > > of this email.
> > >
> > > Experian Limited (registration number 653331).
> > > Registered office: Talbot House, Talbot Street,
> > > Nottingham NG1 5HF
> > >
> > >
> >
>
-
> > > 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]>
> > >
> > 
> > =
> > Thanks and have great day
> > srini
> > 
> >
>

> > Do You Yahoo!?
> > Send a newsletter, share photos & files, conduct
> polls, or

Re: session-invalidator and back-button?

2001-08-16 Thread Adrian Geissel

The solution presented is not a Cocoon specific solution, but rather
addressess the issue of the client-side browser keeping a history.
In a past life, we coded an application to do this using JavaScript that the
browser used to spawn the protected window. All pages accessed and presented
within the window are basically unchanged, therefore only requiring
JavaScript on the Login and Logout pages.

This is not an elegant solution, but it can work once you cater for the
major browsers (script variances).
Cheers
Adrian

- Original Message -
From: Enke Michael <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 1:53 PM
Subject: Re: session-invalidator and back-button?


> But if I use e-mail or banking over internet,
> it is not possible to get the last page back.
> And there is no extra window, the back button is selectable.
> The server answers that an error occured or that
> I have to login again.
>
> Is there a way in cocoon other than spawning another browser window?
>
> Michael
>
> Adrian Geissel wrote:
> >
> > Hi Michael,
> >
> > I believe that the only way to solve such an issue is to 'run' the
protected
> > portion of your website in a spawned browser window, and then when the
user
> > log's out, to close that window. This will ensure that the Back history,
> > which is local to a browser window, cannot be access with permission.
> >
> > Hope that this helps,
> > Adrian
> >
> > - Original Message -
> > From: Enke Michael <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, August 16, 2001 11:46 AM
> > Subject: session-invalidator and back-button?
> >
> > > Hi,
> > > I tryed the web-application demo from cocoon2
> > > where a login and logout can be performed.
> > > But after logout if I press the back button of my browser
> > > I get back into protected area without authorization.
> > > How can this be avoided?
> > >
> > > Michael
> > >
> > > -
> > > 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: session-invalidator and back-button?

2001-08-16 Thread Adrian Geissel

Hi,

I should have mentioned in my last reply that it is still the responsibility
of your application to ensure that sensitive content is protected - using
session parameters, or whatever. The solution I presented is for the
client-side issue.

Cheers
Adrian

- Original Message -
From: Enke Michael <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 1:53 PM
Subject: Re: session-invalidator and back-button?


> But if I use e-mail or banking over internet,
> it is not possible to get the last page back.
> And there is no extra window, the back button is selectable.
> The server answers that an error occured or that
> I have to login again.
>
> Is there a way in cocoon other than spawning another browser window?
>
> Michael
>
> Adrian Geissel wrote:
> >
> > Hi Michael,
> >
> > I believe that the only way to solve such an issue is to 'run' the
protected
> > portion of your website in a spawned browser window, and then when the
user
> > log's out, to close that window. This will ensure that the Back history,
> > which is local to a browser window, cannot be access with permission.
> >
> > Hope that this helps,
> > Adrian
> >
> > - Original Message -
> > From: Enke Michael <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, August 16, 2001 11:46 AM
> > Subject: session-invalidator and back-button?
> >
> > > Hi,
> > > I tryed the web-application demo from cocoon2
> > > where a login and logout can be performed.
> > > But after logout if I press the back button of my browser
> > > I get back into protected area without authorization.
> > > How can this be avoided?
> > >
> > > Michael
> > >
> > > -
> > > 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: AW: session-invalidator and back-button?

2001-08-16 Thread Enke Michael

konqueror is ignoring both ;-(

Jörn Heid wrote:
> 
> As I know there are two meta-tags.
> The one with expires and another with nocache.
> 
> Perhaps it works if you are using both.
> 
> JOERN_HEID
> ...

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




Java variable inside of document() function?

2001-08-16 Thread Martin Benda

How can I use a Java variable in the document() funkction?

i.e.

 ...


I have tried it with the help of

[the Java
variable]

 ...


but this doesn't work.  won't be processed and so the value of
$name is
the String "src". When I use src outside of
 it
works fine.

How can I solve this problem? Is there any workaround?

Thanks,
Martin


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




Error with Coccon2b2 and Jakarta Tomcat 4 b7

2001-08-16 Thread dom

I cannot get Cocoon 2 beta2 to to work with C:\jakarta-tomcat-4.0-b7 on a
Win2k machine.  Following is my web log.

Please help!

Thanks in advance




DEBUG   99785   [cocoon  ] (main): Using configuration file: /cocoon.xconf
DEBUG   99785   [cocoon  ] (main): extraClassPath is absolute:
C:\jakarta-tomcat-4.0-b7\common\lib\servlet.jar
DEBUG   99785   [cocoon  ] (main): Trying to load class:
org.hsqldb.jdbcDriver
INFO99785   [cocoon  ] (main): Reloading from:
jndi:/localhost/cocoon/cocoon.xconf
DEBUG   99785   [cocoon  ] (main): New Cocoon object.
DEBUG   99785   [cocoon  ] (main): = System Properties Start =
DEBUG   99785   [cocoon  ] (main): java.runtime.name=Java(TM) 2 Runtime
Environment, Standard Edition
DEBUG   99785   [cocoon  ] (main): sun.boot.library.path=C:\jdk1.3.1\jre\bin
DEBUG   99785   [cocoon  ] (main): java.vm.version=1.3.1-b24
DEBUG   99785   [cocoon  ] (main): java.vm.vendor=Sun Microsystems Inc.
DEBUG   99785   [cocoon  ] (main): java.vendor.url=http://java.sun.com/
DEBUG   99785   [cocoon  ] (main): path.separator=;
DEBUG   99785   [cocoon  ] (main): java.vm.name=Java HotSpot(TM) Client VM
DEBUG   99785   [cocoon  ] (main): file.encoding.pkg=sun.io
DEBUG   99785   [cocoon  ] (main): java.vm.specification.name=Java Virtual
Machine Specification
DEBUG   99785   [cocoon  ] (main): user.dir=C:\jakarta-tomcat-4.0-b7\bin
DEBUG   99785   [cocoon  ] (main):
org.xml.sax.driver=org.apache.xerces.parsers.SAXParser
DEBUG   99785   [cocoon  ] (main): java.runtime.version=1.3.1-b24
DEBUG   99785   [cocoon  ] (main):
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
DEBUG   99785   [cocoon  ] (main): os.arch=x86
DEBUG   99785   [cocoon  ] (main):
java.io.tmpdir=C:\DOCUME~1\dsisnero\LOCALS~1\Temp\
DEBUG   99785   [cocoon  ] (main): line.separator=

DEBUG   99785   [cocoon  ] (main): java.vm.specification.vendor=Sun
Microsystems Inc.
DEBUG   99785   [cocoon  ] (main): java.awt.fonts=
DEBUG   99785   [cocoon  ] (main):
java.naming.factory.url.pkgs=org.apache.naming
DEBUG   99785   [cocoon  ] (main): os.name=Windows 2000
DEBUG   99785   [cocoon  ] (main):
java.library.path=C:\jdk1.3.1\bin;.;C:\WINNT\System32;C:\WINNT;C:\Program
Files\IBM\IBMDebug\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\
PROGRAM
FILES\THINKPAD\UTILITIES;C:\PROGRA~1\COMMON~1\AUTODE~1;C:\jdk1.3.1\bin;C:\IM
Nnq_NT;C:\jakarta\ant1.4.b1\bin;c:\jakarta\fop-0_15_0;c:\cygwin\bin;c:\Progr
am Files\emacs207\bin;c:\Program Files\emacsen\bin;c:\Program
Files\Ghostgum\gsview;c:\jakarta\fop-0_16_0\bin;C:\mysql\bin
DEBUG   99785   [cocoon  ] (main): java.specification.name=Java Platform API
Specification
DEBUG   99785   [cocoon  ] (main): java.class.version=47.0
DEBUG   99785   [cocoon  ] (main): os.version=5.0
DEBUG   99785   [cocoon  ] (main): user.home=C:\Documents and
Settings\dsisnero
DEBUG   99785   [cocoon  ] (main): user.timezone=America/Denver
DEBUG   99785   [cocoon  ] (main): catalina.useNaming=true
DEBUG   99785   [cocoon  ] (main):
java.awt.printerjob=sun.awt.windows.WPrinterJob
DEBUG   99785   [cocoon  ] (main): file.encoding=Cp1252
DEBUG   99785   [cocoon  ] (main): java.specification.version=1.3
DEBUG   99785   [cocoon  ] (main): catalina.home=C:\jakarta-tomcat-4.0-b7
DEBUG   99785   [cocoon  ] (main): user.name=dsisnero
DEBUG   99785   [cocoon  ] (main):
java.class.path=C:\jakarta-tomcat-4.0-b7\bin\bootstrap.jar;C:\jdk1.3.1\lib\t
ools.jar
DEBUG   99785   [cocoon  ] (main):
java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory
DEBUG   99785   [cocoon  ] (main): java.vm.specification.version=1.0
DEBUG   99785   [cocoon  ] (main): java.home=C:\jdk1.3.1\jre
DEBUG   99785   [cocoon  ] (main): java.specification.vendor=Sun
Microsystems Inc.
DEBUG   99785   [cocoon  ] (main): user.language=en
DEBUG   99785   [cocoon  ] (main): awt.toolkit=sun.awt.windows.WToolkit
DEBUG   99785   [cocoon  ] (main): java.vm.info=mixed mode
DEBUG   99785   [cocoon  ] (main): java.version=1.3.1
DEBUG   99785   [cocoon  ] (main): java.ext.dirs=C:\jdk1.3.1\jre\lib\ext
DEBUG   99785   [cocoon  ] (main):
sun.boot.class.path=C:\jdk1.3.1\jre\lib\rt.jar;C:\jdk1.3.1\jre\lib\i18n.jar;
C:\jdk1.3.1\jre\lib\sunrsasign.jar;C:\jdk1.3.1\jre\classes
DEBUG   99785   [cocoon  ] (main): java.vendor=Sun Microsystems Inc.
DEBUG   99785   [cocoon  ] (main): file.separator=\
DEBUG   99785   [cocoon  ] (main):
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
DEBUG   99785   [cocoon  ] (main): sun.cpu.endian=little
DEBUG   99785   [cocoon  ] (main): sun.io.unicode.encoding=UnicodeLittle
DEBUG   99785   [cocoon  ] (main): user.region=US
DEBUG   99785   [cocoon  ] (main): sun.cpu.isalist=pentium i486 i386
DEBUG   99785   [cocoon  ] (main): = System Properties End =
DEBUG   99785   [cocoon  ] (main): Using parser:
org.apache.cocoon.components.parser.JaxpParser
DEBUG   99785   [cocoon  ] (main): Attempting to get Handler for:
org.apache.cocoon.components.parser.Parser
DEBUG   99785   [cocoon  ] (main): Handler type =
or

AW: Error with Coccon2b2 and Jakarta Tomcat 4 b7

2001-08-16 Thread Jörn Heid

I think here's the problem:

DEBUG   99785   [cocoon  ] (main): Could not access the Component for role:
org.apache.cocoon.components.parser.Parser
java.lang.ClassCastException: org.apache.crimson.jaxp.SAXParserFactoryImpl
at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:155)
at
org.apache.cocoon.components.parser.JaxpParser.(JaxpParser.java:38)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)


I don't have Tomcat b7 installed so it could be wrong what I'm writing.

Try to replace the xml libs of tomcat (seems that it uses Crimson) with the
one of C2 (xerces_xxx.jar).

Hope this helps.

JOERN_HEID


-Ursprüngliche Nachricht-
Von: dom [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 15. August 2001 08:08
An: [EMAIL PROTECTED]
Betreff: Error with Coccon2b2 and Jakarta Tomcat 4 b7


I cannot get Cocoon 2 beta2 to to work with C:\jakarta-tomcat-4.0-b7 on a
Win2k machine.  Following is my web log.

Please help!

Thanks in advance




DEBUG   99785   [cocoon  ] (main): Using configuration file: /cocoon.xconf
DEBUG   99785   [cocoon  ] (main): extraClassPath is absolute:
C:\jakarta-tomcat-4.0-b7\common\lib\servlet.jar
DEBUG   99785   [cocoon  ] (main): Trying to load class:
org.hsqldb.jdbcDriver
INFO99785   [cocoon  ] (main): Reloading from:
jndi:/localhost/cocoon/cocoon.xconf
DEBUG   99785   [cocoon  ] (main): New Cocoon object.
DEBUG   99785   [cocoon  ] (main): = System Properties Start =
DEBUG   99785   [cocoon  ] (main): java.runtime.name=Java(TM) 2 Runtime
Environment, Standard Edition
DEBUG   99785   [cocoon  ] (main): sun.boot.library.path=C:\jdk1.3.1\jre\bin
DEBUG   99785   [cocoon  ] (main): java.vm.version=1.3.1-b24
DEBUG   99785   [cocoon  ] (main): java.vm.vendor=Sun Microsystems Inc.
DEBUG   99785   [cocoon  ] (main): java.vendor.url=http://java.sun.com/
DEBUG   99785   [cocoon  ] (main): path.separator=;
DEBUG   99785   [cocoon  ] (main): java.vm.name=Java HotSpot(TM) Client VM
DEBUG   99785   [cocoon  ] (main): file.encoding.pkg=sun.io
DEBUG   99785   [cocoon  ] (main): java.vm.specification.name=Java Virtual
Machine Specification
DEBUG   99785   [cocoon  ] (main): user.dir=C:\jakarta-tomcat-4.0-b7\bin
DEBUG   99785   [cocoon  ] (main):
org.xml.sax.driver=org.apache.xerces.parsers.SAXParser
DEBUG   99785   [cocoon  ] (main): java.runtime.version=1.3.1-b24
DEBUG   99785   [cocoon  ] (main):
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
DEBUG   99785   [cocoon  ] (main): os.arch=x86
DEBUG   99785   [cocoon  ] (main):
java.io.tmpdir=C:\DOCUME~1\dsisnero\LOCALS~1\Temp\
DEBUG   99785   [cocoon  ] (main): line.separator=

DEBUG   99785   [cocoon  ] (main): java.vm.specification.vendor=Sun
Microsystems Inc.
DEBUG   99785   [cocoon  ] (main): java.awt.fonts=
DEBUG   99785   [cocoon  ] (main):
java.naming.factory.url.pkgs=org.apache.naming
DEBUG   99785   [cocoon  ] (main): os.name=Windows 2000
DEBUG   99785   [cocoon  ] (main):
java.library.path=C:\jdk1.3.1\bin;.;C:\WINNT\System32;C:\WINNT;C:\Program
Files\IBM\IBMDebug\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\
PROGRAM
FILES\THINKPAD\UTILITIES;C:\PROGRA~1\COMMON~1\AUTODE~1;C:\jdk1.3.1\bin;C:\IM
Nnq_NT;C:\jakarta\ant1.4.b1\bin;c:\jakarta\fop-0_15_0;c:\cygwin\bin;c:\Progr
am Files\emacs207\bin;c:\Program Files\emacsen\bin;c:\Program
Files\Ghostgum\gsview;c:\jakarta\fop-0_16_0\bin;C:\mysql\bin
DEBUG   99785   [cocoon  ] (main): java.specification.name=Java Platform API
Specification
DEBUG   99785   [cocoon  ] (main): java.class.version=47.0
DEBUG   99785   [cocoon  ] (main): os.version=5.0
DEBUG   99785   [cocoon  ] (main): user.home=C:\Documents and
Settings\dsisnero
DEBUG   99785   [cocoon  ] (main): user.timezone=America/Denver
DEBUG   99785   [cocoon  ] (main): catalina.useNaming=true
DEBUG   99785   [cocoon  ] (main):
java.awt.printerjob=sun.awt.windows.WPrinterJob
DEBUG   99785   [cocoon  ] (main): file.encoding=Cp1252
DEBUG   99785   [cocoon  ] (main): java.specification.version=1.3
DEBUG   99785   [cocoon  ] (main): catalina.home=C:\jakarta-tomcat-4.0-b7
DEBUG   99785   [cocoon  ] (main): user.name=dsisnero
DEBUG   99785   [cocoon  ] (main):
java.class.path=C:\jakarta-tomcat-4.0-b7\bin\bootstrap.jar;C:\jdk1.3.1\lib\t
ools.jar
DEBUG   99785   [cocoon  ] (main):
java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory
DEBUG   99785   [cocoon  ] (main): java.vm.specification.version=1.0
DEBUG   99785   [cocoon  ] (main): java.home=C:\jdk1.3.1\jre
DEBUG   99785   [cocoon  ] (main): java.specification.vendor=Sun
Microsystems Inc.
DEBUG   99785   [cocoon  ] (main): user.language=en
DEBUG   99785   [cocoon  ] (main): awt.toolkit=sun.awt.windows.WToolkit
DEBUG   99785   [cocoon  ] (main): java.vm.info=mixed mode
DEBUG   99785   [cocoon  ] (main): java.version=1.3.1
DEBUG   99785   [cocoon  ] (main): java.ext.dirs=C:\jdk1.3.1\jre\lib\ext
DEBUG   99785   [cocoon  ] (main):
sun.boot.class.path=C:\jdk1.3.1

Re: [c1] as param for

2001-08-16 Thread Christopher Painter-Wakefield


Hubert,

you are mixing two different things.  Keep in mind that when you are
writing a logicsheet, you are writing an XSLT stylesheet that will
transform based only on what is available to it in your XML file.  This
happens once and only once, statically, to generate Java code which will
then be compiled.  The output of the Java code will then be run to produce
the actual XML which feeds into the rest of the pipeline (stylesheets and
so forth).

The ESQL taglib is also a logicsheet, so it produces Java code.  The
results of the  operation won't be available until after
it is transformed by the esql logicsheet into Java code, compiled, then
run.  Your logicsheet, however, is trying to use the result long before any
of that happens.  In other words, you are not passing the results of a
database operation as a parameter into your , you are
passing XML that happens to look like .  Or, if the esql
logicsheet happens to be applied first, then you are passing Java code,
*not* the results of running that code.

Hope this helps.

-Christopher





Please respond to [EMAIL PROTECTED]

To:   <[EMAIL PROTECTED]>
cc:

Subject:  [c1] as param for 


Hi all,

I want to get something like this:










XML file:



http://my_host/my_taglib";
xmlns:xsp="http://www.apache.org/1999/XSP/Core";
xmlns:esql="http://apache.org/cocoon/SQL/v2";>
...

...


logcsheet: my_taglib.xsl:

http://my_host/my_taglib";
xmlns:esql="http://apache.org/cocoon/SQL/v2";
xmlns:xsp="http://www.apache.org/1999/XSP/Core";
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>


...












I think error may be in order of inclusion taglibs, but can't find good
one,

Thanks in advance,
Hubert.







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




esql database results and XSL

2001-08-16 Thread Brent L Johnson

Is it possible to process XML that comes from database results?  I'm not
sure this would be possible or not - but here's an example...
select Title from MyInfo order by Title;

The resulting titles could be like:
The Cocoon Mailing List 

Is there some XSLT tag or something that could process that esql results?
Some like:


That way it would return the actual HTML results from the  XSL
template.

Thanks,

- Brent


-
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: esql database results and XSL

2001-08-16 Thread Christian Haul

On 16.Aug.2001 -- 11:15 AM, Brent L Johnson wrote:
> Is it possible to process XML that comes from database results?  I'm not
> sure this would be possible or not - but here's an example...
> select Title from MyInfo order by Title;
> 
> The resulting titles could be like:
> The Cocoon Mailing List 
> 
> Is there some XSLT tag or something that could process that esql results?
> Some like:
> 

Try



Chris.

-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
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: esql database results and XSL

2001-08-16 Thread Brent L Johnson

Sorry about that - just ran across it on the newsgroups :)  Thanks for the
help!

- Brent

- Original Message -
From: "Christian Haul" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 11:56 AM
Subject: Re: esql database results and XSL


> On 16.Aug.2001 -- 11:15 AM, Brent L Johnson wrote:
> > Is it possible to process XML that comes from database results?  I'm not
> > sure this would be possible or not - but here's an example...
> > select Title from MyInfo order by Title;
> >
> > The resulting titles could be like:
> > The Cocoon Mailing List 
> >
> > Is there some XSLT tag or something that could process that esql
results?
> > Some like:
> > 
>
> Try
> 
>
>
> Chris.
>
> --
> C h r i s t i a n   H a u l
> [EMAIL PROTECTED]
> fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
>
> -
> 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]>




transfering variable values from the java side to the xsl side

2001-08-16 Thread Markus Reckwerth

Hi to all,

I'm wondering what's wrong with a code like this in an xsp/xsl
stylesheet (both processing instructions are used):


String str = "foo";


str


The xsp:expr-tag is completely ignored and the textual value "str"
assigned to the variable var.

Can anybody help?

I'm still using Cocoon 1.8.2.

Regards,
Markus.

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




[C2] substitute for xsp-request

2001-08-16 Thread Orgalist

is there a class in Cocoon2 I could use to
get parameters sent by a form instead of the 
tag  ?

thanks

C.

ps does somebody knows a class which can convert string
to int ?


-
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: [C2] substitute for xsp-request

2001-08-16 Thread aaldridg

Using java you can (in a logic block?) you can use ((HttpRequest)
request).getParameter(name).

Use the Integer class to convert a String to an int in java:
Integer.parseInt(string)

however, be careful, if the String is not a properly formed int it will
throw an exception. Best to wrap it in a try/catch block, and it's even
safer to trim the string first, eg
try{
 int i = Integer.parseInt(string.trim());
}catch(Exception e){
 ... handle error
}

Regards,

Anthony Aldridge
Lead Application developer

Managed Intranet Hosting
Personal GDP: 325-8338
MIH Hotline: 876-1300





"Orgalist" <[EMAIL PROTECTED]> on 16/08/2001 17:53:13

Please respond to [EMAIL PROTECTED]

To:   "cocoon-users" <[EMAIL PROTECTED]>
cc:
Subject:  [C2] substitute for xsp-request


is there a class in Cocoon2 I could use to
get parameters sent by a form instead of the
tag  ?

thanks

C.

ps does somebody knows a class which can convert string
to int ?


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




[C2] cache XInclude problem

2001-08-16 Thread Alexander Petrov

I use Apache Cocoon 2.0b2 on Tomcat 3.2.3, Linux.

sitemap contains:
   
 
 
 
 
   

info.xml contains:



http://www.w3.org/2001/XInclude";
href="a.xml" parse="xml"/>


First time accessed "info" outputs fine results.
Next time, Cocoon2 returns 404 code; cocoon.log contains

org.apache.cocoon.ProcessingException: Failed to execute 
pipeline.:java.lang.NullPointerException
at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:189)

and plenty lines of stack trace.

I don't want to refuse from caching, because result of this xinclude
is going to be compiled as XSP.

what should I do : use map:aggregate instead or fix this somehow ?

/Alexander


-
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: reg c2 documentation HOW DO I

2001-08-16 Thread Luca Morandini


I beg your pardon, but... why set up another site, while we can easily add
entries to the official Cocoon FAQ ?

Best regards,
 
P.S.
I wrote a couple of FAQ entries myself... I've just sent them to Davanum
Srinivas [[EMAIL PROTECTED]] and he took care of putting it (in style :) ) into
the Cocoon2 FAQ: real easy.

-
   Luca Morandini
   GIS Consultant
    [EMAIL PROTECTED]
  +39 0744 59  85  1 Office
  +39 0335 681 02 12 Mobile
http://utenti.tripod.it/lmorandini/index.html
-


> -Original Message-
> From: java guru [mailto:[EMAIL PROTECTED]]
> Sent: giovedì 16 agosto 2001 16.01
> To: cocoon users
> Subject: reg c2 documentation HOW DO I
>
>
> Hi Guys.,
>This is regarding quick HOW DO I documentation for
> cocoon2.
>
>   I would like to contribute/host documentation on
> various topics related to c2. I thank the c2 team for
> keeping up with the clear and vast documentation and
> faq on the xml.apache.org site. But as human nature,
> we tend to look for *something-in-one-hour* quick
> receipe books/material.
>   So I thought how about compiling our "cocoon-users"
> experiences with c2 into "HOW DO I" receipe.
>
> All of you interested in sharing your experience with
> community are welcomed to write your own story about
> HOW DO I..and send to me for hosting..
>
> Please advice if any such efforts are on the way so
> that the work is not duplicated...
>
> If you decide to give back something to our
> community..please follow few tips
>
> 1. Write the document in any style you want.
> 2. Please dont hesitate to write little details also..
> 3. Please mail to [EMAIL PROTECTED] with subject
> HOW DO I.
> 4. Please mention your name and/or contact email as i
> can mention that HOW DO I as your experience.
> 5. Please take some time and provide some solid
> examples(code prefered)..
>
> And finally all advices regarding this are highly
> appreciated..
>
> Thanks everyone..
>
>
> =
> Thanks and have great day
> srini
>
> 
> Do You Yahoo!?
> For regular News updates go to http://in.news.yahoo.com
>
> -
> 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]>




Cannot get a Poolable before pool initialized

2001-08-16 Thread Sergio

Hi
I'm working with Cocoon 2

I receive this message when I try to create a connection with a datasource.
The configuration of datasource in cocoon.xconf is:

  

  
  false
  jdbc:mysql://localhost:3306/pccom
  pccom
  

  

When I try to access to DB without any datasource it works fine:


  org.gjt.mm.mysql.Driver
  jdbc:mysql://localhost:3306/pccom
  pccom
  
  false
  ...
  ...
  ...


But if I try to use the datasource:


  dbpccom
  ...
  ...
  ...


that is the error:

org.apache.cocoon.ProcessingException: Exception in
ServerPagesGenerator.generate():java.lang.RuntimeException: Could not get
the datasource java.sql.SQLException: You cannot get a Poolable before the
pool is initialized

¿how can I initialize the pool?


-
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: Why doesn't Cocoon2 recognize [position() < last()] ??

2001-08-16 Thread Hewko, Doug

Sure, that would be great. As I've said before, I am new to all of this,
especially setting up a server. It was a major accomplishment just getting
Tomcat to work. :)

The only things I installed was JDK 1.3.1 (which will not have an impact
here) and Xerces, which I installed so I can create XML documents. (Primarly
for the new people and to correct any errors I may have, Xerces in a XML
parser.) On my failed attempt for Cocoon1, I did install Xalan (because it
sounded good) but since my XML and XSL works fine without it, I didn't
bother for Cocoon2. 

This is probably a very stupid question, but how would one know what add-ons
are required? Assuming that I need Xalan, how would you know given my other
XSL transformations work? And I am having another XSL problem (tables in
FO), so how would I know what to install? I do not want to install
everything blindly, nor do I yet intuitively know what does what. This might
be beyond the scope of this list, and if so, please respond privately but I
suspect others may benefit from the discussion.

Thanks for your help.

-Original Message-
From: Morrison, John [mailto:[EMAIL PROTECTED]]
Sent: August 16, 2001 7:21 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Why doesn't Cocoon2 recognize [position() < last()] ??


Cocoon itself doesn't understand xml.  All it knows is how to hand it off to
a parser/transformer.  There _may_ be some settings which can be sent to
xalan which Cocoon doesn't know/send, if you can tell us what it is I'm sure
we can accomodate it...?

If you look in the /lib directory you'll find all the jar files Cocoon
relies on to work.  If you want more details find the document 'jars' (xml
in cvs, html when built, available on the website).

J.

> -Original Message-
> From: Hewko, Doug [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 16 August 2001 12:17 pm
> To: '[EMAIL PROTECTED]'
> Subject: RE: Why doesn't Cocoon2 recognize [position() < last()] ??
> 
> 
> I would like to find out why it doesn't work.. I am running 
> Cocoon2. Why
> would I need Xalan?  Cocoon should be able to handle the code since it
> handled everything else I've given it.
> 
> I do not understand John's question through. The output would 
> be set from
> the "sitemap.xmap". I just plugged in my XML and XSL there, 
> and let Cocoon
> do the work.
> 
> Is this a bug with Cocoon2?
> 
> -Original Message-
> From: Morrison, John [mailto:[EMAIL PROTECTED]]
> Sent: August 13, 2001 10:49 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Why doesn't Cocoon2 recognize [position() < last()] ??
> 
> 
> Also, check versions - is C2 running with the version you 
> manually generated
> the output from?
> 
> > -Original Message-
> > From: Stefan Seifert [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, 13 August 2001 3:47 pm
> > To: [EMAIL PROTECTED]
> > Subject: AW: Why doesn't Cocoon2 recognize [position() < 
> last()] ??
> > 
> > 
> > Well, you should try it with xalan standalone, to make sure 
> > thats really
> > a cocoon and not a xalan bug.
> > Im quite sure its a xalan bug, not from cocoon, because all XSLT
> > processing is managed throgh xalan (as far as i know).
> > 
> > > -Ursprüngliche Nachricht-
> > > Von: Hewko, Doug [mailto:[EMAIL PROTECTED]]
> > > Gesendet: Montag, 13. August 2001 16:42
> > > An: Stefan Seifert
> > > Betreff: RE: Why doesn't Cocoon2 recognize [position() < 
> > last()] ??
> > > 
> > > 
> > > Thanks for the reply. FYI. From a XSL list which says that 
> > > this is a Cocoon2
> > > bug...
> > > 
> > > I get the following outputs.
> > > 
> > > Xalan:
> > > 
> > >   Jeff/555-1234/555-4321/lightgrey
> > >   David/383-1234/383-4321/lightblue
> > >   Roger/888-1234/888-4321/lightyellow
> > > 
> > > MSXML:
> > >   Jeff/555-1234/555-4321/lightgrey
> > >   David/383-1234/383-4321/lightblue
> > >   Roger/888-1234/888-4321/lightyellow
> > > 
> > > I'm not sure why this isn't working for you. It may be a bug 
> > > in Cocoon's
> > > position() function. I don't have Cocoon here, but you might 
> > > want to try
> > > playing around with the predicate and see.
> > > 
> > > Also, the 
 node inserts
> > > carriage-return/line-feed characters, which are usually 
> > stripped by a
> > > browser, so  is probably more appropriate for your 
> environment.
> > > 
> > > hope this helps some...
> > > 
> > > -Original Message-
> > > From: Stefan Seifert [mailto:[EMAIL PROTECTED]]
> > > Sent: August 13, 2001 10:37 AM
> > > To: Hewko, Doug
> > > Subject: AW: Why doesn't Cocoon2 recognize [position() < 
> > last()] ??
> > > 
> > > 
> > > I think in this case, this is not a cocoon-bug, but a 
> > xalan-bug (which
> > > cocoon uses internally for XSLT), and xalan has its own 
> > mailing lists,
> > > too (see apache website).
> > > 
> > > Stefan
> > 
> > 
> -
> > Please check that your question has not already been answered in the
> > FAQ before posting. 

Re: Cannot get a Poolable before pool initialized

2001-08-16 Thread Xavier Haurie

Hi,

I just joined the list, searched the archive, but didn't find an answer to this
question:

The download Cocoon-2.0b2.tar.gz gives me a directory checksum error when I
untar it
on Solaris 8. Am I doing something wrong, or is this a Linux-specific archive?

Thanks in advance

--xavier


---[excerpt from my shell] ---
> gunzip Cocoon-2.0b2.tar.gz
> tar -xvf Cocoon-2.0b2.tar 
x announcement.xml, 1702 bytes, 4 tape blocks
x appendcp.bat, 18 bytes, 1 tape blocks
...
...
x
docs/api/org/apache/cocoon/components/language/markup/AbstractMarkupLanguage.CachedURL.html,
16470 bytes, 33 tape blocks
x
docs/api/org/apache/cocoon/components/language/markup/AbstractMarkupLanguage.html,
32870 bytes, 65 tape blocks
tar: directory checksum error
--

-
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: reg c2 documentation HOW DO I

2001-08-16 Thread java guru

No offense..But i would love to have the things listed
in official faq..but there are tons of things that
people are asking on this list repeatedly for which
there are two really simple answers..

1. Please search thru the mailing list archive
2. Read the documentation..

Honestly, these answers are absolutely proper in their
own right. As i mentioned before, the documentation
mentioned at the official site is very vast and
sufficient..But still people ask "how can do ..."
For example, how many time users have asked repeatedly
about "How do i run my c2 without running full X
server"?..

May be i am wrong in my perception...just a thought..

 --- Luca Morandini <[EMAIL PROTECTED]> wrote: > 
>   I beg your pardon, but... why set up another site,
> while we can easily add
> entries to the official Cocoon FAQ ?
> 
> Best regards,
>  
> P.S.
> I wrote a couple of FAQ entries myself... I've just
> sent them to Davanum
> Srinivas [[EMAIL PROTECTED]] and he took care of
> putting it (in style :) ) into
> the Cocoon2 FAQ: real easy.
> 
> -
>    Luca Morandini
>    GIS Consultant
>     [EMAIL PROTECTED]
>   +39 0744 59  85  1 Office
>   +39 0335 681 02 12 Mobile
> http://utenti.tripod.it/lmorandini/index.html
> -
> 
> 
> > -Original Message-
> > From: java guru [mailto:[EMAIL PROTECTED]]
> > Sent: giovedì 16 agosto 2001 16.01
> > To: cocoon users
> > Subject: reg c2 documentation HOW DO I
> >
> >
> > Hi Guys.,
> >This is regarding quick HOW DO I documentation
> for
> > cocoon2.
> >
> >   I would like to contribute/host documentation on
> > various topics related to c2. I thank the c2 team
> for
> > keeping up with the clear and vast documentation
> and
> > faq on the xml.apache.org site. But as human
> nature,
> > we tend to look for *something-in-one-hour* quick
> > receipe books/material.
> >   So I thought how about compiling our
> "cocoon-users"
> > experiences with c2 into "HOW DO I" receipe.
> >
> > All of you interested in sharing your experience
> with
> > community are welcomed to write your own story
> about
> > HOW DO I..and send to me for hosting..
> >
> > Please advice if any such efforts are on the way
> so
> > that the work is not duplicated...
> >
> > If you decide to give back something to our
> > community..please follow few tips
> >
> > 1. Write the document in any style you want.
> > 2. Please dont hesitate to write little details
> also..
> > 3. Please mail to [EMAIL PROTECTED] with
> subject
> > HOW DO I.
> > 4. Please mention your name and/or contact email
> as i
> > can mention that HOW DO I as your experience.
> > 5. Please take some time and provide some solid
> > examples(code prefered)..
> >
> > And finally all advices regarding this are highly
> > appreciated..
> >
> > Thanks everyone..
> >
> >
> > =
> > Thanks and have great day
> > srini
> >
> >
>

> > Do You Yahoo!?
> > For regular News updates go to
> http://in.news.yahoo.com
> >
> >
>
-
> > 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]>
>  

=
Thanks and have great day
srini


Do You Yahoo!?
Send a newsletter, share photos & files, conduct polls, organize chat events. Visit 
http://in.groups.yahoo.com.

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




Forms pseudo and passwd encryption

2001-08-16 Thread cib



Hi, 
With help of tomcat user list, I've got my ssl 
working .
I wonder now how to completely secure my forms 
datas? 
How should I encrypt names and password from the 
register form?
 
Thanks for any help,
I'm learning a lot, but still a newbie in security 
things.
 
Cib
 
France, Bordeaux, xml and gay 
pride.


Re: Java variable inside of document() function?

2001-08-16 Thread Christopher Painter-Wakefield


Martin,

first, are you trying to do this in a logicsheet or in a stylesheet?  In a
logicsheet, this won't work because your logicsheet exists to generate Java
code.  The Java code doesn't exist and hasn't been compiled and can't run
yet.  Only your XSL transformations are being applied.  The  can't use the value stored in the
Java variable, because it doesn't exist yet.

In a stylesheet, you can't do this, because you can't use XSP Java code in
a stylesheet.  It is too late.  All XSP code has already been run,
producing XML which is being processed by your stylesheet.  You can,
however, do this:

In your XML file:
...


String doc = "info.xml";


doc
...

then in your XSL stylesheet:


...

-Christopher




Please respond to [EMAIL PROTECTED]

To:   <[EMAIL PROTECTED]>
cc:

Subject:  Java variable inside of document() function?


How can I use a Java variable in the document() funkction?

i.e.

 ...


I have tried it with the help of

[the Java
variable]

 ...


but this doesn't work.  won't be processed and so the value of
$name is
the String "src". When I use src outside of
 it
works fine.

How can I solve this problem? Is there any workaround?

Thanks,
Martin





-
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: transfering variable values from the java side to the xsl side

2001-08-16 Thread Christopher Painter-Wakefield


See my reply to Martin.  You have the same problem: you can't mix XSP and
XSL.  You can use XSL in a logicsheet to generate XSP code, or you can run
XSP code to generate XML and then transform the output with XSL.

-Christopher




Please respond to [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:   [EMAIL PROTECTED]
cc:

Subject:  transfering variable values from the java side to the xsl side


Hi to all,

I'm wondering what's wrong with a code like this in an xsp/xsl
stylesheet (both processing instructions are used):


 String str = "foo";


 str


The xsp:expr-tag is completely ignored and the textual value "str"
assigned to the variable var.

Can anybody help?

I'm still using Cocoon 1.8.2.

Regards,
Markus.




-
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: Error with Coccon2b2 and Jakarta Tomcat 4 b7

2001-08-16 Thread Calvin Cheng

I realized the hard way that JDK 1.4 and Cocoon 2 don't work together,
thanks to the new XML APIs in JDK 1.4. Maybe that's what you have.

> -Original Message-
> From: dom [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 14, 2001 11:08 PM
> To: [EMAIL PROTECTED]
> Subject: Error with Coccon2b2 and Jakarta Tomcat 4 b7
>
>
> I cannot get Cocoon 2 beta2 to to work with C:\jakarta-tomcat-4.0-b7 on a
> Win2k machine.  Following is my web log.
>
> Please help!
>
> Thanks in advance
>
>
>
>
> DEBUG   99785   [cocoon  ] (main): Using configuration file: /cocoon.xconf
> DEBUG   99785   [cocoon  ] (main): extraClassPath is absolute:
> C:\jakarta-tomcat-4.0-b7\common\lib\servlet.jar
> DEBUG   99785   [cocoon  ] (main): Trying to load class:
> org.hsqldb.jdbcDriver
> INFO99785   [cocoon  ] (main): Reloading from:
> jndi:/localhost/cocoon/cocoon.xconf
> DEBUG   99785   [cocoon  ] (main): New Cocoon object.
> DEBUG   99785   [cocoon  ] (main): = System Properties Start =
> DEBUG   99785   [cocoon  ] (main): java.runtime.name=Java(TM) 2 Runtime
> Environment, Standard Edition
> DEBUG   99785   [cocoon  ] (main):
> sun.boot.library.path=C:\jdk1.3.1\jre\bin
> DEBUG   99785   [cocoon  ] (main): java.vm.version=1.3.1-b24
> DEBUG   99785   [cocoon  ] (main): java.vm.vendor=Sun Microsystems Inc.
> DEBUG   99785   [cocoon  ] (main): java.vendor.url=http://java.sun.com/
> DEBUG   99785   [cocoon  ] (main): path.separator=;
> DEBUG   99785   [cocoon  ] (main): java.vm.name=Java HotSpot(TM) Client VM
> DEBUG   99785   [cocoon  ] (main): file.encoding.pkg=sun.io
> DEBUG   99785   [cocoon  ] (main): java.vm.specification.name=Java Virtual
> Machine Specification
> DEBUG   99785   [cocoon  ] (main): user.dir=C:\jakarta-tomcat-4.0-b7\bin
> DEBUG   99785   [cocoon  ] (main):
> org.xml.sax.driver=org.apache.xerces.parsers.SAXParser
> DEBUG   99785   [cocoon  ] (main): java.runtime.version=1.3.1-b24
> DEBUG   99785   [cocoon  ] (main):
> java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
> DEBUG   99785   [cocoon  ] (main): os.arch=x86
> DEBUG   99785   [cocoon  ] (main):
> java.io.tmpdir=C:\DOCUME~1\dsisnero\LOCALS~1\Temp\
> DEBUG   99785   [cocoon  ] (main): line.separator=
>
> DEBUG   99785   [cocoon  ] (main): java.vm.specification.vendor=Sun
> Microsystems Inc.
> DEBUG   99785   [cocoon  ] (main): java.awt.fonts=
> DEBUG   99785   [cocoon  ] (main):
> java.naming.factory.url.pkgs=org.apache.naming
> DEBUG   99785   [cocoon  ] (main): os.name=Windows 2000
> DEBUG   99785   [cocoon  ] (main):
> java.library.path=C:\jdk1.3.1\bin;.;C:\WINNT\System32;C:\WINNT;C:\Program
> Files\IBM\IBMDebug\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System3
> 2\Wbem;C:\
> PROGRAM
> FILES\THINKPAD\UTILITIES;C:\PROGRA~1\COMMON~1\AUTODE~1;C:\jdk1.3.1
> \bin;C:\IM
> Nnq_NT;C:\jakarta\ant1.4.b1\bin;c:\jakarta\fop-0_15_0;c:\cygwin\bi
> n;c:\Progr
> am Files\emacs207\bin;c:\Program Files\emacsen\bin;c:\Program
> Files\Ghostgum\gsview;c:\jakarta\fop-0_16_0\bin;C:\mysql\bin
> DEBUG   99785   [cocoon  ] (main): java.specification.name=Java
> Platform API
> Specification
> DEBUG   99785   [cocoon  ] (main): java.class.version=47.0
> DEBUG   99785   [cocoon  ] (main): os.version=5.0
> DEBUG   99785   [cocoon  ] (main): user.home=C:\Documents and
> Settings\dsisnero
> DEBUG   99785   [cocoon  ] (main): user.timezone=America/Denver
> DEBUG   99785   [cocoon  ] (main): catalina.useNaming=true
> DEBUG   99785   [cocoon  ] (main):
> java.awt.printerjob=sun.awt.windows.WPrinterJob
> DEBUG   99785   [cocoon  ] (main): file.encoding=Cp1252
> DEBUG   99785   [cocoon  ] (main): java.specification.version=1.3
> DEBUG   99785   [cocoon  ] (main): catalina.home=C:\jakarta-tomcat-4.0-b7
> DEBUG   99785   [cocoon  ] (main): user.name=dsisnero
> DEBUG   99785   [cocoon  ] (main):
> java.class.path=C:\jakarta-tomcat-4.0-b7\bin\bootstrap.jar;C:\jdk1
> .3.1\lib\t
> ools.jar
> DEBUG   99785   [cocoon  ] (main):
> java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory
> DEBUG   99785   [cocoon  ] (main): java.vm.specification.version=1.0
> DEBUG   99785   [cocoon  ] (main): java.home=C:\jdk1.3.1\jre
> DEBUG   99785   [cocoon  ] (main): java.specification.vendor=Sun
> Microsystems Inc.
> DEBUG   99785   [cocoon  ] (main): user.language=en
> DEBUG   99785   [cocoon  ] (main): awt.toolkit=sun.awt.windows.WToolkit
> DEBUG   99785   [cocoon  ] (main): java.vm.info=mixed mode
> DEBUG   99785   [cocoon  ] (main): java.version=1.3.1
> DEBUG   99785   [cocoon  ] (main): java.ext.dirs=C:\jdk1.3.1\jre\lib\ext
> DEBUG   99785   [cocoon  ] (main):
> sun.boot.class.path=C:\jdk1.3.1\jre\lib\rt.jar;C:\jdk1.3.1\jre\lib
> \i18n.jar;
> C:\jdk1.3.1\jre\lib\sunrsasign.jar;C:\jdk1.3.1\jre\classes
> DEBUG   99785   [cocoon  ] (main): java.vendor=Sun Microsystems Inc.
> DEBUG   99785   [cocoon  ] (main): file.separator=\
> DEBUG   99785   [cocoon  ] (main):
> java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
> DEBUG   99785   [cocoon  ] (main): sun.cpu.endia

using XSP : element ???

2001-08-16 Thread Kazi the P i R @ t {-

i am trying to use the  thing to put attributes into a
statically marked element. but ever since i put those in... i am getting an
error messge from the browser when i try to call the page... Has anyone ever
used these xsp elements b4?? maybe you can give me some pointers on its
use...

My code:

   
 temp_bullet
/*temp_bullet is a java variable of course*/
   


My Error:

org.xml.sax.SAXParseException: The content of elements must consist of
well-formed character
data or markup.
 at
org.apache.cocoon.parser.AbstractParser.fatalError(AbstractParser.java:105)
 at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1037)
 at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocume
ntScanner.java:625)
 at
org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumentScanne
r.java:679)
 at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1245)
 at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:380)
 at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
 at org.apache.cocoon.parser.XercesParser.parse(XercesParser.java:85)
 at
org.apache.cocoon.parser.AbstractParser.parse(AbstractParser.java:83)
 at
org.apache.cocoon.producer.ProducerFromFile.getDocument(ProducerFromFile.jav
a:78)
 at org.apache.cocoon.Engine.handle(Engine.java:359)
 at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
 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:79
7)
 at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.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)


-
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: using XSP : element ???

2001-08-16 Thread Greg Murphy

This looks like a problem with the parsing not the tag, try sticking to XML 
comments inside XML files e.g.


  
temp_bullet

  


>From: "Kazi the P i R @ t {-" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>Subject: using XSP : element  ???
>Date: Thu, 16 Aug 2001 16:30:11 +0800
>
>i am trying to use the  thing to put attributes into a
>statically marked element. but ever since i put those in... i am getting an
>error messge from the browser when i try to call the page... Has anyone 
>ever
>used these xsp elements b4?? maybe you can give me some pointers on its
>use...
>
>My code:
> 
>
>  temp_bullet
>/*temp_bullet is a java variable of course*/
>
>
>
>My Error:
>
>org.xml.sax.SAXParseException: The content of elements must consist of
>well-formed character
> data or markup.
>  at
>org.apache.cocoon.parser.AbstractParser.fatalError(AbstractParser.java:105)
>  at
>org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1037)
>  at
>org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocume
>ntScanner.java:625)
>  at
>org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumentScanne
>r.java:679)
>  at
>org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
>LDocumentScanner.java:1245)
>  at
>org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
>java:380)
>  at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
>  at org.apache.cocoon.parser.XercesParser.parse(XercesParser.java:85)
>  at
>org.apache.cocoon.parser.AbstractParser.parse(AbstractParser.java:83)
>  at
>org.apache.cocoon.producer.ProducerFromFile.getDocument(ProducerFromFile.jav
>a:78)
>  at org.apache.cocoon.Engine.handle(Engine.java:359)
>  at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
>  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:79
>7)
>  at
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>  at
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
>onnectionHandler.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)
>
>
>-
>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]>
>


_
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. 

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




Re: using XSP : element ???

2001-08-16 Thread Kazi the P i R @ t {-

Actually i am not using any comments in the real file... i only put it in
when i posting the message for the readers' benefit.

So the block actually looks like this:

   
   
 temp_bullet

   
   temp_gun




I have been unable to get rid of the errors still (scroll down below to take
a look at that) ... so... HELP

Kazi


- Original Message -
From: "Greg Murphy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 7:26 PM
Subject: Re: using XSP : element ???


> This looks like a problem with the parsing not the tag, try sticking to
XML
> comments inside XML files e.g.
>
> 
>   
> temp_bullet
> 
>   
>
>
> >From: "Kazi the P i R @ t {-" <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> >Subject: using XSP : element  ???
> >Date: Thu, 16 Aug 2001 16:30:11 +0800
> >
> >i am trying to use the  thing to put attributes into a
> >statically marked element. but ever since i put those in... i am getting
an
> >error messge from the browser when i try to call the page... Has anyone
> >ever
> >used these xsp elements b4?? maybe you can give me some pointers on its
> >use...
> >
> >My code:
> > 
> >
> >  temp_bullet
> >/*temp_bullet is a java variable of course*/
> >
> >
> >
> >My Error:
> >
> >org.xml.sax.SAXParseException: The content of elements must consist of
> >well-formed character
> > data or markup.
> >  at
>
>org.apache.cocoon.parser.AbstractParser.fatalError(AbstractParser.java:105)
> >  at
> >org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1037)
> >  at
>
>org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocum
e
> >ntScanner.java:625)
> >  at
>
>org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumentScann
e
> >r.java:679)
> >  at
>
>org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(X
M
> >LDocumentScanner.java:1245)
> >  at
>
>org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner
.
> >java:380)
> >  at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
> >  at
org.apache.cocoon.parser.XercesParser.parse(XercesParser.java:85)
> >  at
> >org.apache.cocoon.parser.AbstractParser.parse(AbstractParser.java:83)
> >  at
>
>org.apache.cocoon.producer.ProducerFromFile.getDocument(ProducerFromFile.ja
v
> >a:78)
> >  at org.apache.cocoon.Engine.handle(Engine.java:359)
> >  at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
> >  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:7
9
> >7)
> >  at
> >org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> >  at
>
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Http
C
> >onnectionHandler.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)
> >
> >
> >-
> >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]>
> >
>
>
> _
> 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. 
>
> 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]>




Problem with cascading actions and parameters...

2001-08-16 Thread Roman Kunert

ok, my matcher looks like this:




  




















  
  


when our resource gets called from within that action the value of the
parameter 'target' is null, meaning that the {1} doesn't get evaluated...

any clue?


-
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: Cannot get a Poolable before pool initialized

2001-08-16 Thread Berin Loritsch

If you have a version of Cocoon that is compiled with the latest
Avalon jars (Excalibur/Framework/LogKit), you can add in the element
com.company.jdbc.CompanyDriver and have it loaded
that way.  Otherwise, you _must_ load your driver with the "load-class"
initial parameter specified in web.xml.

Check the FAQ.

Also, with the next version of Excalibur, you will get better error
reporting so that it will tell you what to do.

Sergio wrote:
> 
> Hi
> I'm working with Cocoon 2
> 
> I receive this message when I try to create a connection with a datasource.
> The configuration of datasource in cocoon.xconf is:
> 
>   
> 
>   
>   false
>   jdbc:mysql://localhost:3306/pccom
>   pccom
>   
> 
>   
> 
> When I try to access to DB without any datasource it works fine:
> 
> 
>   org.gjt.mm.mysql.Driver
>   jdbc:mysql://localhost:3306/pccom
>   pccom
>   
>   false
>   ...
>   ...
>   ...
> 
> 
> But if I try to use the datasource:
> 
> 
>   dbpccom
>   ...
>   ...
>   ...
> 
> 
> that is the error:
> 
> org.apache.cocoon.ProcessingException: Exception in
> ServerPagesGenerator.generate():java.lang.RuntimeException: Could not get
> the datasource java.sql.SQLException: You cannot get a Poolable before the
> pool is initialized
> 
> ¿how can I initialize the pool?
> 
> -
> 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: Cannot get a Poolable before pool initialized

2001-08-16 Thread Berin Loritsch



Xavier Haurie wrote:
> 
> Hi,
> 
> I just joined the list, searched the archive, but didn't find an answer to this
> question:

Did you check the FAQ?

> 
> The download Cocoon-2.0b2.tar.gz gives me a directory checksum error when I
> untar it
> on Solaris 8. Am I doing something wrong, or is this a Linux-specific archive?
> 
> Thanks in advance

Try downloading it again.  The archives are signed, so check the
signature.  That will tell you immediately if there was a problem
downloading the archive.

> 
> --xavier
> 
> ---[excerpt from my shell] ---
> > gunzip Cocoon-2.0b2.tar.gz
> > tar -xvf Cocoon-2.0b2.tar
> x announcement.xml, 1702 bytes, 4 tape blocks
> x appendcp.bat, 18 bytes, 1 tape blocks
> ...
> ...
> x
> 
>docs/api/org/apache/cocoon/components/language/markup/AbstractMarkupLanguage.CachedURL.html,
> 16470 bytes, 33 tape blocks
> x
> docs/api/org/apache/cocoon/components/language/markup/AbstractMarkupLanguage.html,
> 32870 bytes, 65 tape blocks
> tar: directory checksum error
> --
> 
> -
> 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: using XSP : element ???

2001-08-16 Thread Bentley, Tim

Try having a look at the generated XML.  

You don't say whether you are using C1 or 2 - I don't think XSP:ATTRIBUTE
works properly in C1.


Tim Bentley

> -Original Message-
> From: Kazi the P i R @ t {- [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 17 August 2001 12:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: using XSP : element ???
> 
> 
> Actually i am not using any comments in the real file... i 
> only put it in
> when i posting the message for the readers' benefit.
> 
> So the block actually looks like this:
> 
>
>
>  temp_bullet
> 
>
>temp_gun
> 
> 
> 
> 
> I have been unable to get rid of the errors still (scroll 
> down below to take
> a look at that) ... so... HELP
> 
> Kazi
> 
> 
> - Original Message -
> From: "Greg Murphy" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, August 16, 2001 7:26 PM
> Subject: Re: using XSP : element ???
> 
> 
> > This looks like a problem with the parsing not the tag, try 
> sticking to
> XML
> > comments inside XML files e.g.
> >
> > 
> >   
> > temp_bullet
> > 
> >   
> >
> >
> > >From: "Kazi the P i R @ t {-" <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> > >Subject: using XSP : element  ???
> > >Date: Thu, 16 Aug 2001 16:30:11 +0800
> > >
> > >i am trying to use the  thing to put 
> attributes into a
> > >statically marked element. but ever since i put those 
> in... i am getting
> an
> > >error messge from the browser when i try to call the 
> page... Has anyone
> > >ever
> > >used these xsp elements b4?? maybe you can give me some 
> pointers on its
> > >use...
> > >
> > >My code:
> > > 
> > >
> > >  temp_bullet
> > >/*temp_bullet is a java variable of course*/
> > >
> > >
> > >
> > >My Error:
> > >
> > >org.xml.sax.SAXParseException: The content of elements 
> must consist of
> > >well-formed character
> > > data or markup.
> > >  at
> >
> >org.apache.cocoon.parser.AbstractParser.fatalError(AbstractPa
> rser.java:105)
> > >  at
> > 
> >org.apache.xerces.framework.XMLParser.reportError(XMLParser.j
> ava:1037)
> > >  at
> >
> >org.apache.xerces.framework.XMLDocumentScanner.reportFatalXML
> Error(XMLDocum
> e
> > >ntScanner.java:625)
> > >  at
> >
> >org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XM
> LDocumentScann
> e
> > >r.java:679)
> > >  at
> >
> >org.apache.xerces.framework.XMLDocumentScanner$ContentDispatc
> her.dispatch(X
> M
> > >LDocumentScanner.java:1245)
> > >  at
> >
> >org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLD
> ocumentScanner
> .
> > >java:380)
> > >  at 
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
> > >  at
> org.apache.cocoon.parser.XercesParser.parse(XercesParser.java:85)
> > >  at
> > 
> >org.apache.cocoon.parser.AbstractParser.parse(AbstractParser.java:83)
> > >  at
> >
> >org.apache.cocoon.producer.ProducerFromFile.getDocument(Produ
> cerFromFile.ja
> v
> > >a:78)
> > >  at org.apache.cocoon.Engine.handle(Engine.java:359)
> > >  at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
> > >  at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
> > >  at
> > 
> >org.apache.tomcat.core.ServletWrapper.doService(ServletWrappe
> r.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(Context
> Manager.java:7
> 9
> > >7)
> > >  at
> > 
> >org.apache.tomcat.core.ContextManager.service(ContextManager.
> java:743)
> > >  at
> >
> >org.apache.tomcat.service.http.HttpConnectionHandler.processC
> onnection(Http
> C
> > >onnectionHandler.java:210)
> > >  at
> > 
> >org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:416)
> > >  at
> >
> >org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadP
> ool.java:498)
> > >  at java.lang.Thread.run(Thread.java:484)
> > >
> > >
> > 
> >-
> > >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]>
> > >
> >
> >
> > _
> > 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. 
> >
> > T

RE: Why doesn't Cocoon2 recognize [position() < last()] ??

2001-08-16 Thread Bentley, Tim

Xalan is included in the C2 jar - so you do have it.  I don't think C2 will
work without it - I don't think the sitemap can be compiled without it.

Xalan is an XSL processor, and I guess is a complement to Xerces, which is
an XML parser.  Both support standard interfaces, which is what Cocoon uses
to talk to them.  Therefore they can be replaced by other, equivalent,
libraries which use the same interfaces.  Indeed some people are using
Cocoon with Saxon which is supposed to be quicker.

What John was pointing out is that the XSl transformation process is handled
entirely by Xalan (in the standard install), so that if there is a bug or
non-standard behaviour, it is a problem with Xalan.  There is a Xalan
mailing list (Xalan is another Apache project) where you can post to find
out.  If it is a bug, I'm sure they will be keen to hear about it.

Hope this helps!


Regards,


Tim Bentley

> -Original Message-
> From: Hewko, Doug [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 17 August 2001 5:26 AM
> To: '[EMAIL PROTECTED]'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: Why doesn't Cocoon2 recognize [position() < last()] ??
> 
> 
> Sure, that would be great. As I've said before, I am new to 
> all of this,
> especially setting up a server. It was a major accomplishment 
> just getting
> Tomcat to work. :)
> 
> The only things I installed was JDK 1.3.1 (which will not 
> have an impact
> here) and Xerces, which I installed so I can create XML 
> documents. (Primarly
> for the new people and to correct any errors I may have, 
> Xerces in a XML
> parser.) On my failed attempt for Cocoon1, I did install 
> Xalan (because it
> sounded good) but since my XML and XSL works fine without it, I didn't
> bother for Cocoon2. 
> 
> This is probably a very stupid question, but how would one 
> know what add-ons
> are required? Assuming that I need Xalan, how would you know 
> given my other
> XSL transformations work? And I am having another XSL problem 
> (tables in
> FO), so how would I know what to install? I do not want to install
> everything blindly, nor do I yet intuitively know what does 
> what. This might
> be beyond the scope of this list, and if so, please respond 
> privately but I
> suspect others may benefit from the discussion.
> 
> Thanks for your help.
> 
> -Original Message-
> From: Morrison, John [mailto:[EMAIL PROTECTED]]
> Sent: August 16, 2001 7:21 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Why doesn't Cocoon2 recognize [position() < last()] ??
> 
> 
> Cocoon itself doesn't understand xml.  All it knows is how to 
> hand it off to
> a parser/transformer.  There _may_ be some settings which can 
> be sent to
> xalan which Cocoon doesn't know/send, if you can tell us what 
> it is I'm sure
> we can accomodate it...?
> 
> If you look in the /lib directory you'll find all the jar files Cocoon
> relies on to work.  If you want more details find the 
> document 'jars' (xml
> in cvs, html when built, available on the website).
> 
> J.
> 
> > -Original Message-
> > From: Hewko, Doug [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, 16 August 2001 12:17 pm
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: Why doesn't Cocoon2 recognize [position() < 
> last()] ??
> > 
> > 
> > I would like to find out why it doesn't work.. I am running 
> > Cocoon2. Why
> > would I need Xalan?  Cocoon should be able to handle the 
> code since it
> > handled everything else I've given it.
> > 
> > I do not understand John's question through. The output would 
> > be set from
> > the "sitemap.xmap". I just plugged in my XML and XSL there, 
> > and let Cocoon
> > do the work.
> > 
> > Is this a bug with Cocoon2?
> > 
> > -Original Message-
> > From: Morrison, John [mailto:[EMAIL PROTECTED]]
> > Sent: August 13, 2001 10:49 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: Why doesn't Cocoon2 recognize [position() < 
> last()] ??
> > 
> > 
> > Also, check versions - is C2 running with the version you 
> > manually generated
> > the output from?
> > 
> > > -Original Message-
> > > From: Stefan Seifert [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, 13 August 2001 3:47 pm
> > > To: [EMAIL PROTECTED]
> > > Subject: AW: Why doesn't Cocoon2 recognize [position() < 
> > last()] ??
> > > 
> > > 
> > > Well, you should try it with xalan standalone, to make sure 
> > > thats really
> > > a cocoon and not a xalan bug.
> > > Im quite sure its a xalan bug, not from cocoon, because all XSLT
> > > processing is managed throgh xalan (as far as i know).
> > > 
> > > > -Ursprüngliche Nachricht-
> > > > Von: Hewko, Doug [mailto:[EMAIL PROTECTED]]
> > > > Gesendet: Montag, 13. August 2001 16:42
> > > > An: Stefan Seifert
> > > > Betreff: RE: Why doesn't Cocoon2 recognize [position() < 
> > > last()] ??
> > > > 
> > > > 
> > > > Thanks for the reply. FYI. From a XSL list which says that 
> > > > this is a Cocoon2
> > > > bug...
> > > > 
> > > > I get the following outputs.
> > > > 
> > > > Xalan:
> > > > 
> > > > 

Cocoon2 and HP Web Services Platform

2001-08-16 Thread Ovidiu Predescu

Hi,

I just wanted to let you know you can now take a look at HP Web
Services Platform (HPWS), which includes a modified version of
Cocoon2, as I presented in one the recent emails on cocoon-dev:

http://www.hp.com/go/webservices

For those of you who have not read the thread of discussion on
cocoon-dev ("[C2] [2.1-dev] proposed changes to the Source
interface"), here is a quick introduction. 

HP, through the Web Services Organization (which I'm part of), is
making use of Cocoon2 as _the_ framework for accessing and building
Web Services.

As part of the HPWS product, we are actively supporting and enhancing
Cocoon2 to suit the needs of Web Services. We are using Cocoon2 to
implement business level protocols like ebXML, BizTalk, RosettaNet
RNIF, and others. While HPWS is a commercial solution, very much based
on Cocoon2, we do plan to incorporate back in the open source all the
changes we make to Cocoon2's source code.

In this release of HPWS, Cocoon2 contains some initial support for
accessing Web Services via SOAP. The specific enhancements contain a
SOAP and UDDI logicsheet, both developed on top of some powerful
abstractions, which I hope to integrate in the C2 main trunk very
soon. You can take a look at the changes we've done in the source
package that's included with the release. Unfortunately there isn't
much documentation on this framework yet, but you can follow the
thread of discussions in cocoon-dev mentioned above. Hopefully the
complete solution, updated to use the today's Cocoon2 2.1-dev source
code, will become available soon.

I'm really thrilled by the possibility we have to work with such a
great community of Cocoon2 developers and users. If you have any
specific questions or concerns please let us know and we'll try to
answer them.

Best regards,
-- 
Ovidiu Predescu <[EMAIL PROTECTED]>
http://orion.nsr.hp.com/ (inside HP's firewall only)
http://sourceforge.net/users/ovidiu/ (my SourceForge page)
http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff)

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