Re: how to access without "cocoon"

2002-09-30 Thread yuryx

Tuomo Lesonen wrote:

>On Sat, 28 Sep 2002, funing wrote:
>
>  
>
>>Hi!
>>I can run my webapp by http://host:8080/cocoon/xxx correctly.
>>How to access it without "cocoon" by http://host:8080/xxx ?
>>
>>I change the map:pattern but it doesn't work :(
>>
>>
>>
>
>Or rename webapps/ROOT to webapps/tomcat, and rename your webapps/xxx
>to webapps/ROOT.
>
>-Tuomo
>
>  
>
>>-
>>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]>
>
>  
>
See in
http://xml.apache.org/cocoon/faq/faq-configure-environment.html#faq-1

-- 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"




-
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:parameter ?

2002-09-27 Thread yuryx

try
"create table "+ tableName

Ugo Cei wrote:

> Gabor Bartha wrote:
>
>> Hi all,
>>
>> I want to use esql, but I've got problems with . It 
>> seems the parameter haven't been replaced by its real value.
>
>
> You cannot have DDL statements with parametrized object names. At 
> least, not in Oracle. Use string concatenation, if you must.
>
> Ugo
>
>> Here is my xsp, with a java function:
>>
>> 
>> private String createTable() throws SQLException, 
>> org.xml.sax.SAXException
>> {
>>String tableName = "tmp123456";
>>
>>//Create table
>>
>>
>>oracle.jdbc.OracleDriver
>>jdbc:oracle:thin:@localhost:1521:OEMREP
>>SCOTT
>>TIGER
>>
>>create table 
>> tableName (id 
>> int not null primary key)
>>
>>
>>
>>
>>  return tableName;
>> }
>> 
>> ...
>> ...
>>
>>
>>
>> When I call the function from the xsp body I've got the following sql 
>> exception:
>>
>> Error executing statement: create table ? (cd_id int not null primary 
>> key): java.sql.SQLException:
>> ORA-00903: invalid table name
>>
>> I tried to use the direction="in" with the same result. Any Idea?
>>
>> Regards,
>> Gabor
>>
>>
>>
>> -
>> 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]>
>
>
>


-- 

Best regards,
Yury.
--
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"




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




global form-encoding setting

2002-09-26 Thread yuryx

Hi folks!

Is there a way to change default setting for form-encoding parameter? 
Now I have to use param1= for each parameter. Is there a way to set it 
somewhere in sitemap.xmap or in another place?

-- 

Best regards,
Yury.
--
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"



-
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: clearing all caches

2002-08-19 Thread yuryx

Try using  "TreeProcessor" instead "synchron" method .
In the cocoon.xconf:


I'm using this configuration...
And so ok for me :)

Yury.

Antonio Gallardo Rivera wrote:

>Hi Vaskin:
>
>To resolve your problem you must tell Cocoon to check for change in a synchron 
>form. To do this:
>
>In the file cocoon.xconf
>
>search for:
>
>logger="sitemap"/>
>
>then change the attribute reload-method to synchron:
>
>logger="sitemap"/>
>
>Antonio Gallardo
>
>El Lunes, 19 de Agosto de 2002 13:19, Vaskin Kissoyan escribió:
>  
>
>>I'm sometime seeing changes and sometimes not, how do I make sure
>>everything is be reflected properly? Is there a way to clear Cocoon's
>>cache directly, as I'm pretty sure its not in my browser cache or
>>anywhere else that I can tell, and restargint Tomcat doesn't seem to do
>>it either.
>>
>>Tomcat 4.04
>>Cocoon 2.0.3
>>Mozilla very recent Nightly
>>
>>Working on bonebreaker.zip from cocooncenter.de 's "Creating a
>>navigation Menu"
>>
>>When I try to add new sections I have issues where I cannot see the new
>>sections, I have edited and created new home.xml pages and everything.
>>
>>any help would be appreciated.
>>
>>
>>-
>>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]>
>
>  
>


-- 

Best regards,
Yury.
--
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"




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




mount cocoon context on root URL-path

2002-08-15 Thread yuryx

Hi all!

I'm using tomcat-mod_jk-apache integration and I have the following 
question:

How can I mount a cocoon context on a root URL?
In tomcat-mod_webapp-apache integration I used to set the following
in httpd.conf :



WebAppConnection Conn   warp  localhost:8008
WebAppDeploy cocoon Conn  /
WebAppInfo /webapp-info






-
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: XSP beginner's question: Can't get examples to work

2002-08-12 Thread yuryx

Hahn Kurt (CHA) wrote:

>Hi,
>I have a fully functional Cocoon 2.02 installation, and I'm testing some
>features that I didn't use so far. Right now, I'm working my way through the
>XSP samples, but they don't work so far. For instance, this XSP (everything
>is directly copied from the samples) 
>
>
>
>http://apache.org/xsp";>
>  
>
try insert  here

>  
>// this could be arbitrarily complex Java code, JDBC queries, etc.
>String msg = "Hello, world!";
>  
>
>  
>msg
>  
>  
>
and  here

>
>
>, processed with this XSL:
>
>
>
>http://www.w3.org/1999/XSL/Transform";
>version="1.0">
>
>
>  
>
>  
>
>
or  (if not inserting  tags)  instead of 


Regards.
Yury.

>  
>
>  
>
>
>
>
>
>should result in an HTML-page showing "Hello, World", but I only get a blank
>page. Does anybofy know how?
>
>Thanks
>
>-
>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: Encoding on ESQL query

2002-08-09 Thread yuryx

Hiloliddin Karimov wrote:

> Hi All,
>
>  
>
> I try retrieve column that have cyrillic letters by ESQL:
>
>  
>
> 
>
> 
> ...
>
>   
>
> SELECT username FROM users
>
> WHERE fname LIKE %name="fname"/>%
>
>   
>
> ...
>
try

or
String param=new 
String(request.getParameter("text1").getBytes("ISO-8859-1"),"windows-1251");

Regards.
Yury.

>  
>
> and fname has cyrillic letter, so, when I try retrieve some record, no 
> results.
>
> How I know it should to encode.
>
>  
>
> Any ideas, tips, or help would be greatly appreciated.
>
> Thanks very much!
>
> Hill
>
>  
>
> MS SQL; Tomcat 4.0; Cocoon 2.1 dev; Java SDK 1.4;
>




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




support non-english characters in HTML serializer

2002-07-31 Thread yuryx

Hi all!

Can anyone help me with following problem:
I place russian text into attributes in my tags (for example: ).
And I see unicode encoding text in the attribute in output HTML :(
Any way for solve this problem?

Thanx.
Yury.



-
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: use taglib (logicsheets) in XSL

2002-07-29 Thread yuryx

Vadim Gritsenko wrote:

>>From: yuryx [mailto:[EMAIL PROTECTED]]
>>
>>yuryx wrote:
>>
>>
>>
>>>Hi all!
>>>
>>>Can I do use taglibs in my XSL?
>>>  
>>>
>
>You can use logicsheets in XSP pages only. XSP page will then generate
>XML (invoking any logicsheets you are using). This resulting XML can be
>anything, including XSL. See sub sitemap samples.
>
>  
>

>  
>
>>>For example:
>>>
>>>
>>>>>xmlns:xsp-request="http://apache.org/xsp/request/2.0";
>>>
>>>xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
>>>
>>>
>>>  
>>> 
>>>
>>>
>>>Thanx.
>>>Yury.
>>>
>>>  
>>>
>>How-to esql.xsl work, If this not possible?
>>
>>
>
>esql.xsl is not *stylesheet*, but *logicsheet*.
>
>Vadim
>
>  
>
Thanx. I'm understand this differents... But, I have using logicsheets 
in stylesheets with transformation step (xsl+xsp=xslp :) )...
Maybe this idea is good?

Yury.




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

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




Re: use taglib (logicsheets) in XSL

2002-07-29 Thread yuryx

yuryx wrote:

> Hi all!
>
> Can I do use taglibs in my XSL?
> For example:
> 
>
>  xmlns:xsp-request="http://apache.org/xsp/request/2.0";
>  
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
>
> 
>   
>  
> 
>
> Thanx.
> Yury.
>
How-to esql.xsl work, If this not possible?

Yury.



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

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




use taglib (logicsheets) in XSL

2002-07-29 Thread yuryx

Hi all!

Can I do use taglibs in my XSL?
For example:


http://apache.org/xsp/request/2.0";
  
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

 
   
  


Thanx.
Yury.



-
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 and rollback

2002-07-24 Thread yuryx

Leszek Gawron wrote:

>I'm quite new to JDBC and ESQL. My question is: I have more that one database
>inserts. Every one in different esql:execute tag. How can I rollback the
>transaction if say the 3rd goes wrong? There is no such esql tag and I do not
>know how to obtain the appropriate jdbc session variable? or maybe I'm totally
>wrong?
>   ouzo
>  
>
Open the new  connection like:

 mydriver
 dburl
 ... 
 ...

And set false in your connection.

Now you can use following syntax to commit or rollback changes:


 ... put your query here

commit (or rollback) 



May be that example solve your problem :)
 (Because I doesn't try this method in my work)

Regards.
Yury.



-
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: cleaning xmlns attribute with XSL transformation

2002-07-16 Thread yuryx

It work!
Thanx Vadim.

Yury.

Vadim Gritsenko wrote:

>>From: yuryx [mailto:[EMAIL PROTECTED]]
>>
>>How can I set up the xsp processor that way that it will not unclude
>>'xmlns' attributes to HTML output?
>>
>>
>
>This might be of help:
>http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102553660504679&w=2
>
>
>Vadim
>
> 
>...
>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>  
>




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

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




cleaning xmlns attribute with XSL transformation

2002-07-16 Thread yuryx

How can I set up the xsp processor that way that it will not unclude 
'xmlns' attributes to HTML output?

For example. I'm generate XML from my XSP.In XSP page  i define the 
following namespace: [xmlns:xsp="http://apache.org/xsp";].
my XSP:

 test

1)When I tried to execute this logicsheet
...

 

...
  
   

 

   
  

  
 
  


  

root tags () contain [xmlns:xsp="http://apache.org/xsp] attribute 
(and 'test' attribute also)

2)When I tried to execute this logicsheet
...

 

...
  
   



 

   
  

  
 
  


  

Root tags () contain [xmlns:xsp="http://apache.org/xsp] attribute 
without test attribute
Of course I cleaned this attribute, but why xmlns:xsp attribute is not 
cleaned in first XSL example?

Or I'm in a wrong way here?


Thanx.
Yury.





-
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: Insert full date and time into Oracle databse using esql:parameter-solved

2002-07-15 Thread yuryx

Thanx Vadim!

Vadim Gritsenko wrote:

>>From: yuryx [mailto:[EMAIL PROTECTED]]
>>
>>Hi all!
>>
>>Is there any way to insert full datetime value into oracle database
>>using the following syntax:
>>
>>
>> java.util.Date today=new java.util.Date();
>>
>>...
>> insert into query_stack
>>(t_stamp,username,q_body,q_type) values (
>>>
>>java.sql.Date(today.getTime()),
>>
>>
>
>Yury,
>
>Please read javadoc on java.sql.Date: it is *just* date, no time inside.
>
>You should be using java.sql.Timestamp.
>
>Vadim
>
>
>  
>
>uname,
>  
>
>param,
>  
>
>>
>>
>Integer.parseInt(sql_type)ramete
>  
>
>>r>
>>  )
>>
>>  
>>
>>I always get the result value with 'zero' time :( , and I need to be
>>able to insert hh24:mi:ss values.
>>
>>Thanx.
>>Yury.
>>
>>
>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>  
>




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

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




Re: Insert full date and time into Oracle databse using esql:parameter

2002-07-15 Thread yuryx

Christoph Gaffga wrote:

>Why you don't try this:
>
>insert into query_stack
>(t_stamp,username,q_body,q_type) values (
>NOW(),
>

This doesn't work (with sql exception )
It worked with 'sysdate' word instead of now() statement , but I have 
solve problem with use Data objects for any dates...
It worked with to_date('mytimestamp','DD-MM- 
hh24:mi:ss') statement also.

Thanx for the your reply.

Yury.

>uname,
>param,
>
>Integer.parseInt(sql_type)ter>
>  )
>  
>
>
>yours
>Christoph Gaffga
>[EMAIL PROTECTED]
>
>
>
>From: "yuryx" <[EMAIL PROTECTED]>
>  
>
>>Is there any way to insert full datetime value into oracle database
>>using the following syntax:
>>
>> java.util.Date today=new java.util.Date();
>>
>>...
>> insert into query_stack
>>(t_stamp,username,q_body,q_type) values (
>>> >java.sql.Date(today.getTime()),
>>uname,
>>param,
>>
>>
>>
>>
>Integer.parseInt(sql_type)ter>
>  
>
>>  )
>>
>>  
>>I always get the result value with 'zero' time :( , and I need to be
>>able to insert hh24:mi:ss values.
>>
>>
>
>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>  
>




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

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




Insert full date and time into Oracle databse using esql:parameter

2002-07-15 Thread yuryx

Hi all!

Is there any way to insert full datetime value into oracle database 
using the following syntax:


 java.util.Date today=new java.util.Date();

...
 insert into query_stack 
(t_stamp,username,q_body,q_type) values (
java.sql.Date(today.getTime()),
uname,
param,

Integer.parseInt(sql_type)
  )

  

I always get the result value with 'zero' time :( , and I need to be 
able to insert hh24:mi:ss values.

Thanx.
Yury.



-
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: mod_webapp or mod_jk?

2002-07-09 Thread yuryx

Hi Luca!

Thanx for your reply, but one more qustion :)

I'm just use mod_rewrite, but after redirect operation i get the 
"cocoon" (instead the my-for-cocoon-prefix) word in the URL
(with redirect to relative path like "../sample")
How to solve this problem?

Thanx.
Yury.


Luca Morandini wrote:

>Yurix,
>
>here's for my 0.2c:
>
>I've found a nasty problem with mod_webapp (Apache 1.3.24, Tomcat 4.0.4b3): sometimes 
>(say, 5% of requests) the communications
>between the two servers (the web-server was on a Solaris box, the application-server 
>on another Solaris box) went down.
>This problems disappeared when we used mod_jk.
>
>About the second question, you have some options, which are reported in the 2.0.3 FAQ:
>1) Use mod-rewrite for an all-apache solution
>2) Set cocoon as the root context of Tomcat (and redicte every root request to 
>Tomcat, of course)
>
>After a long soul-searching... I chose the latter :)
>
>Best regards,
>
>-
>   Luca Morandini
>   GIS Consultant
>  [EMAIL PROTECTED]
>http://utenti.tripod.it/lmorandini/index.html
>-
>
>
>  
>
>>-Original Message-
>>From: yuryx [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, July 09, 2002 1:04 PM
>>To: [EMAIL PROTECTED]
>>Subject: mod_webapp or mod_jk?
>>
>>
>>Hi all!
>>
>>Which one would you recommend for a mid-size website with cocoon?
>>Which one is more stable? Can I mount cocoon's context to website's '/'
>>from within apache (using mod_jk)?
>>
>>Thanx for any reply.
>>
>>Yury.
>>
>>
>>
>>-
>>Please check that your question  has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>
>>
>>
>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>  
>




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

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




mod_webapp or mod_jk?

2002-07-09 Thread yuryx

Hi all!

Which one would you recommend for a mid-size website with cocoon?
Which one is more stable? Can I mount cocoon's context to website's '/' 
from within apache (using mod_jk)?

Thanx for any reply.

Yury.



-
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: Hello...

2002-07-07 Thread yuryx

ÃÖÁßÈ£ wrote:

> I have a question when develop web-app using
> Cocoon.
> I think that It is heavy task using Cocoon When developing web-page.
> Because I think that it take much time to make .xsp file
> and view page by browser.. shutdown webserver and
> restart .. so , so.
> What do you think about this?
> thanks. ^^;

Cocoon recompile (after changes in xsp) your xsp without restarting
webserver (Tomcat)
You just set rewrite page every time to view the page in you browser.
Regards.
Yury.




-
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: Redirect Apache Requests to Tomcat

2002-07-04 Thread yuryx

Thomas Garger wrote:

>Hi!
>
>I have Cocoon 2.0.2 running under Tomcat on port 8080. My Homepage
>is called with the following URL
>(http://MyServer-IP:8080/cocoon/myhomepage).
>
>I also have a domain-name (http://www.MyDomainName.at )where i put the
>DNS to the IP of my Server. But every time someone want to call my
>homepage,
>he has to insert the following
>(http://www.MyDomainName.at:8080/cocoon/myhomepage).
>That is bad.
>
>And thats my intension:
>---
>I want to run Apache Web-Server, which is listening on port 80.
>
>So my question ist - can i configure Apache Web-Server and Tomcat in
>this
>way, that
>every request, that comes to the Apache Web-Server is redirectedt to
>Tomcat
>(for example - someone calls http://www.MyDomainName.at he calls the
>Apache Web-Server - this Server gets the sites from Tomcat and displays
>the
>content).
>
>if someone needs further information, please tell me.
>
>thanks
>greetings, chris
>
>
>-
>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]>
>
>  
>
Try to search more information about that in 
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/index.html also

Regards.
Yury.





-
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: Redirect Apache Requests to Tomcat

2002-07-04 Thread yuryx

Thomas Garger wrote:

>Hi!
>
>I have Cocoon 2.0.2 running under Tomcat on port 8080. My Homepage
>is called with the following URL
>(http://MyServer-IP:8080/cocoon/myhomepage).
>
>I also have a domain-name (http://www.MyDomainName.at )where i put the
>DNS to the IP of my Server. But every time someone want to call my
>homepage,
>he has to insert the following
>(http://www.MyDomainName.at:8080/cocoon/myhomepage).
>That is bad.
>
>And thats my intension:
>---
>I want to run Apache Web-Server, which is listening on port 80.
>
>So my question ist - can i configure Apache Web-Server and Tomcat in
>this
>way, that
>every request, that comes to the Apache Web-Server is redirectedt to
>Tomcat
>(for example - someone calls http://www.MyDomainName.at he calls the
>Apache Web-Server - this Server gets the sites from Tomcat and displays
>the
>content).
>
>if someone needs further information, please tell me.
>
>thanks
>greetings, chris
>
>
>-
>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]>
>
>  
>
Try to install mod_webapp module and configure the warp connection on 
Tomcat and Apache sides
See also http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/warp.html

Regards.
Yury.




-
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: startup the cocoon-2.1-dev error -solved

2002-06-27 Thread yuryx

Sorry by spam...

Regards.
Yury.



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




startup the cocoon-2.1-dev error

2002-06-27 Thread yuryx

Hi all!

I'm just downloads from CVS the latest version of cocoon.
after the make (with jdk1.3.1_v2)  & installing cocoon.war on 
tomcat-4.0.4 I'm try :
http://localhost:8088/cocoon/
and get the following error:
_The server encountered an internal error (Internal Server Error) that 
prevented it from fulfilling this request._

javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:947)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214
...

in root cause:
java.lang.NoSuchMethodError
at 
org.apache.cocoon.components.source.impl.DelayedRefreshSourceWrapper.discardValidity(DelayedRefreshSourceWrapper.java:148)
at org.apache.cocoon.Cocoon.configure(Cocoon.java:330)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:271)
at 
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1237)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:435)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:918)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
...

I'm sorry, but where I'm wrong?
(in server.xml
   


:)
)

Thanx.
Yury.






-
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: sent map parameters into another sitemap

2002-06-27 Thread yuryx

Oops!

"...but only in 2.1-dev version..."
Sorry...

Yury.


yuryx wrote:

> HI Konstantin!
>
> Thanx for a lot, but I'm get the following error:
>
> /Element 'global-parameters' is not allowed at 
> 
>file:/usr/local/jakarta/catalina-4.0.4/webapps/cocoon/mobicomk/protect/sitemap.xmap:34:27/
> 
>
>
> I'm try this:
>
>   
> 
>   
>
> Thanx.
> Yury.
>
>
>
> Piroumian Konstantin wrote:
>
>>>   
>>
>>
>> Yes!!!
>>
>> ...but only in 2.1-dev version.
>> Use this in your subsitemap:
>>
>> 
>>  
>> 
>> ...
>>
>> KP
>>
>>  
>>
>
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>




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

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




Re: sent map parameters into another sitemap

2002-06-27 Thread yuryx

HI Konstantin!

Thanx for a lot, but I'm get the following error:

/Element 'global-parameters' is not allowed at 
file:/usr/local/jakarta/catalina-4.0.4/webapps/cocoon/mobicomk/protect/sitemap.xmap:34:27/
 


I'm try this:

   
 
   

Thanx.
Yury.



Piroumian Konstantin wrote:

>>
>>
>
>Yes!!!
>
>...but only in 2.1-dev version.
>Use this in your subsitemap:
>
>
>  
>   
>   ...
>
>KP
>
>  
>



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




sent map parameters into another sitemap

2002-06-27 Thread yuryx

Hi all!

Does is possible sent sitemap parameters into mounted sitenap like this:





Thanx.
Yury.



-
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: JspGenerator Problem

2002-06-24 Thread yuryx

Cenk Uysal wrote:

>I tried it but I still get the same error. What about JSP file? is it
>valid JSP that returns XML? I'm not sure. Interesting point is
>Cocoon's own JSP Generator examples run correctly. Here is my JSP:
>  
>
try <%@ page language="java" %>

instead of

><%@ page contentType="text/xml" %>
>  
>
Regards.
Yury.



-
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: JspGenerator Problem

2002-06-23 Thread yuryx

Cenk Uysal wrote:

>I try to use JspGenerator with following sitemap entry:
>
>   
>
> 
>   
>
>
>
>   
>   
>
>  
>
try define in sitemap 
instead the 

Regard.
Yury.



-
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: First access into subsitemap problem -Thanx

2002-06-11 Thread yuryx

Thanx to Vadim & Konstantin!

I hope, your advanced  hints help me for solve my problem
:)
Thanx.
Yury.



-
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: First access into subsitemap problem

2002-06-11 Thread yuryx

Piroumian Konstantin wrote:

>>From: yuryx [mailto:[EMAIL PROTECTED]] 
>>
>>Thanx, Vadim.
>>And next question :)
>>What is the line in cocoon.xconf:
>>
>>maybe uncomment this? (also comment >file="sitemap.xmap" logger="sitemap" 
>>reload-method="synchron"/> first )
>>
Hi Konstantin!
But is it necessary set  reload-method in subsitemaps (with mount 
operation) after switch to TreeProcessor?
Yury.
P.S. Very fine and cognitive (for Oracle education) ;)

>
>May I jump in?
>
>I know that Vadim prefers the compiled sitemap engine, but I would recommend
>to switch to TreeProcessor - there is no much difference in performance at
>runtime, but you'll get much shorter startup time and more informative error
>messages in logs - all this helps very much on during development.
>
>Konstantin
>
>P.S. Yury, how did you find Moscow? ;)
>
>>Would this manipulation solve my problem?
>>Yury.
>>
>>Vadim Gritsenko wrote:
>>
>>>>From: yuryx [mailto:[EMAIL PROTECTED]]
>>>>
>>>>Thanx for your reply, Vadim.
>>>>But maybe first try  set reload-method to "synchron" in cocoon.xconf
>>>>
>>>(in
>>>
>>>>the sitemap area)?
>>>>
>>>Yes, change there too. But setting in cocoon.xconf affects only root
>>>sitemap, you have to change everywhere.
>>>
>>>Vadim
>>>
>>
>>
>>-
>>Please check that your question  has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>




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

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




Re: First access into subsitemap problem

2002-06-11 Thread yuryx

Thanx, Vadim.
And next question :)
What is the line in cocoon.xconf:

maybe uncomment this? (also comment  first )

Would this manipulation solve my problem?
Yury.

Vadim Gritsenko wrote:

>>From: yuryx [mailto:[EMAIL PROTECTED]]
>>
>>Thanx for your reply, Vadim.
>>But maybe first try  set reload-method to "synchron" in cocoon.xconf
>>
>(in
>
>>the sitemap area)?
>>
>
>Yes, change there too. But setting in cocoon.xconf affects only root
>sitemap, you have to change everywhere.
>
>Vadim
>



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

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




Re: First access into subsitemap problem

2002-06-11 Thread yuryx

Thanx for your reply, Vadim.
But maybe first try  set reload-method to "synchron" in cocoon.xconf (in 
the sitemap area)?
Thanx.
Yury.

Vadim Gritsenko wrote:

>Modify your map:mounts to look like this:
>
>  reload-method="synchron"/>
>
>Asynchron reloading method is broken and removed from next (2.0.3)
>version of Cocoon.
>
>
>Vadim
>
>
>>From: yuryx [mailto:[EMAIL PROTECTED]]
>>
>>Hi all!
>>Can anyone help me with following problem:
>>I just installed cocoon2.0.2 on Tomcat 4.0.4-b1 (JDK1.3.1_02 Mandrake
>>
>linux)
>
>>I created subsitemap tree schema for my web, but before first access
>>
>to
>
>>next node (subsitemap) cocoon responses with
>>the following error:
>>
>>(only for cocoon2.0.2 version :( )
>>ERROR   (2002-06-11) 09:22.23:887[access](/cocoon/info/crate)
>>Thread-14/CocoonServlet: Problem with servlet
>>java.lang.NullPointerException
>>at
>>
>org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2709)
>
>>at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
>>at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
>>at
>>
>org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154
>)
>
>>at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
>>at
>>
>org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998)
>
>>at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>...
>>(/info prefix -the mounted subsitemap)
>>After a little while pages reload without any error...
>>Can anyone give me a hint on how to resolve this problem?
>>Thanx.
>>Yury.
>>
>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>




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

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




Re: java.lang.OutOfMemoryError ------help pls

2002-06-11 Thread yuryx

Hi Roger.
Now 128M is the maximum memory for heap size I can use.
following settings in cocoon.xconf:

  
 
 
 
 
 
 
 
 
 
 
  

Yury.

Roger I Martin PhD wrote:

>How much memory do you have?
>
>Can you set the memory usage up on the tomcat command line?
>-ms128M -mx256M
>or higher.
>
>-Roger
>- Original Message -
>From: "yuryx" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, June 11, 2002 6:26 AM
>Subject: Re: java.lang.OutOfMemoryError --help pls
>
>
>>Hi Niket.
>>I have the same symptoms while access to subsitemaps :(
>>(cocoon2.0.2 on tomcat4.0.4-b1)
>>Yury.
>>



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

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




Re: java.lang.OutOfMemoryError ------help pls

2002-06-11 Thread yuryx

Hi Niket.
I have the same symptoms while access to subsitemaps :(
(cocoon2.0.2 on tomcat4.0.4-b1)
Yury.

Niket Anand wrote:

>Hi Vadim,
>I have tried it on Tomcat 4.0.4b3. Even though it is showing same problem.
>How can I deal with this error as it is demotivating factor in accepting
>cocoon higher version.
>Thanks for replying.
>Niket
>- Original Message -
>From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, June 10, 2002 11:36 PM
>Subject: RE: java.lang.OutOfMemoryError --help pls
>
>
>>Try tomcat 4.0.4.
>>
>>
>>Vadim
>>



-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




First access into subsitemap problem

2002-06-10 Thread yuryx

Hi all!
Can anyone help me with following problem:
I just installed cocoon2.0.2 on Tomcat 4.0.4-b1 (JDK1.3.1_02 Mandrake linux)
I created subsitemap tree schema for my web, but before first access to 
next node (subsitemap) cocoon responses with
the following error:

(only for cocoon2.0.2 version :( )
ERROR   (2002-06-11) 09:22.23:887[access](/cocoon/info/crate) 
Thread-14/CocoonServlet: Problem with servlet
java.lang.NullPointerException
at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2709)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
at 
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
...
(/info prefix -the mounted subsitemap)
After a little while pages reload without any error...
Can anyone give me a hint on how to resolve this problem?
Thanx.
Yury.


-
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: Which version of Oracle is required to connect to cocoon?

2002-06-05 Thread yuryx

Hi Sreenivasan!
Sreenivasan N. wrote:

> Hi all
>
> Can anyone give info on Oracle database version for windows and Unix 
> required for cocoon connectivity.


Try Oracle jdbc drivers (for any versions). Download classes12.jar and 
put it into $CATALINA_HOME/common/lib

> And also the basic parameters that has to be set into cocoon.xconf 

in cocoon.xconf:
 
   
 jdbc:hsqldb:hsql://localhost:9002
 sa
 
   


   
 
jdbc:oracle:thin:@hostname:1521:SID
 username
 password
   

 
 

in web.xml:
   
 load-class
 
   

   
   org.hsqldb.jdbcDriver

   
   
   oracle.jdbc.driver.OracleDriver
   

   
 
   

>
> jdbc driver that support, Is it part of cocoon or any Jar file has to 
> be added to Tomcat.
> The sitemap configuration with an example for the same will be helpful
>
> Thanks in advance
> Sreenivasan.
>
>

Regards.
Yury.



-
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: Barf on JSPGenerator on Hello.jsp (HELP!)

2002-06-04 Thread yuryx

Rob Kelley wrote:

> Hi:
>
> I'm running cocoon 2.0.2 on Tomcat  4.0.1 (Windows).  I've been trying 
> to run the hello example for the jsp:
>
> http://127.0.0.1:8080/cocoon/jsp/hello
>
> I get the same error (stack trace at end of email):
>
> /"SAXException JspGenerator.generate()"/
>
> My sitemap entry is:
>
>
> 
> 
> 
>
>
> My cocoon.xconf jsp-engine is:
>
>   
>  value="org.apache.jasper.servlet.JspServlet"/>
> 
>   
>
> And I'm at wit's end. How do I get JSPs to work?
>
> Please help!
>
> Rob
>
> **
>
Hi Rob!

Try copy jasper-compiler.jar into cocoon/WEB-INF/lib/  directory from 
$CATALINA_HOME/lib

Regards.
Yury.



-
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: wbmp support in cocoon

2002-06-04 Thread yuryx

Stephan Michels wrote:

>
>On Tue, 4 Jun 2002, yuryx wrote:
>
>>Hi all!
>>Does cocoon support mime-type=image/wbmp in sitemap (as is gif,jpg,png)?
>>Thanx.
>>Yury.
>>
>
>Only the browser evaluates the mime-type, for the cocoon it is just a
>string.
>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
Hi Stephan!

Ok & Thanx :)

Regards.
Yury.




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

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




wbmp support in cocoon

2002-06-04 Thread yuryx

Hi all!
Does cocoon support mime-type=image/wbmp in sitemap (as is gif,jpg,png)?
Thanx.
Yury.




-
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: SunRise authefication

2002-05-31 Thread yuryx

Chitharanjan Das wrote:

>The source is in the main distribution. Its no longer called as
>sunrise...
>
>org.apache.cocoon.webapps.authentication.*
>
Hi Chitharanjan.

Sorry, but I not found this path in my distribution C2.0.2 :(
What is wersion (creation date) your destributive Cocoon?
I have distributive with creation date is 26.03.2002.

Yury.



-
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: SunRise authefication

2002-05-31 Thread yuryx

Hi Guido!
where in src? I was not found it in C 2.0.2 sources :(

Yury.

[EMAIL PROTECTED] wrote:

>It is included in the latest Cocoon distribution (2.0.2).
>
>Guido
>
>--
>Open Source Group   sunShine - Lighting up e:Business
>=
>Guido Casper, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
>Tel:+49-5251-1581-87  [EMAIL PROTECTED] - http://www.s-und-n.de
>=====
>
>
>yuryx schrieb:
>
>>Hi all!
>>Next question:
>>where I can download SunRise Auth components?
>>any URL's?
>>Thanx.
>>Yury.
>>



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

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




SunRise authefication

2002-05-31 Thread yuryx

Hi all!
Next question:
where I can download SunRise Auth components?
any URL's?
Thanx.
Yury.



-
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 in XSP

2002-05-06 Thread yuryx

yuryx wrote:

> Hello all!
>
> May be anyone to answer me for the next question:
> Why org.apache.cocoon.environment.Session not available in XSP?
> Why cocoon-dev shouldn't built-in it into XSP as 
> org.apache.cocoon.environment.Request parameter (for example)?
>
> Thanx.
> Yury.
>
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
Sorry by the question.
In Cocoon2.0.2-2.1-dev object session is present in XSP.

Yury.




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

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




Session in XSP

2002-05-06 Thread yuryx

Hello all!

May be anyone to answer me for the next question:
Why org.apache.cocoon.environment.Session not available in XSP?
Why cocoon-dev shouldn't built-in it into XSP as 
org.apache.cocoon.environment.Request parameter (for example)?

Thanx.
Yury.



-
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: dispatch to new window in web browser possible?

2002-05-03 Thread yuryx

[EMAIL PROTECTED] wrote:

>Currently my application consists of cocoon-actions that invoke xsp/xsl
>files upon requests. As normal the new output always refreshes the client's
>browser view. 
>Based on some calculations at the actions I'm required to delegate the
>response not to the current browser window but to a newly opened browser window.
>An examle would be a printable view of a web page. Is this possible with
>cocoon2? How could I accomplish it?
>
>Thanks for your comments!
>
>Harald
>
try use javascript for open new window, and submit form within it.
Yury.




-
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: problem with subsitemap

2002-04-26 Thread yuryx

Frank Taffelt wrote:

>> try this:
>>
>> 
>>
>> 
>>
>
>yes this should work. But the idea is:
> The delegating sitemap has no knowledge about the the structure (matches
>and internal redirects)
>of the mounted subsitmap's (suppose the mounted subsitmap also only
>delegates into deeper subsitemaps ...)
>
So good ,but what this?: 
this line -is knoledge about the mounted subsitemap.
You can use  also instead of .
;)
Regards.
Yury.

>
>
>
>-
>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: problem with subsitemap

2002-04-26 Thread yuryx

Frank Taffelt wrote:

>>Try  
>>
>
>no this works when requesting url directly "/sub/" OR "/sub/entry". the
>subsitemap is found and compiled.
>

 try this:

 

 
Yury.

>
>
>
>-
>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: problem with subsitemap

2002-04-26 Thread yuryx

Frank Taffelt wrote:

>Hi,
>
>i'm trying to serve my application-content from subsitemaps.
>Here is a example from my sitemap.
>
>the Base-Sitemap:
>
>
>  
>  
>
> 
>
Try  
Yury

>
>
>  
> 
>   
>  
>
>
>the SubSitemap :
>
>
>   
>
>   
>
>   
>
>   
>
>   
>   
>   
>   
>
>
>When requesting "/test" i expect the content from /sub/entry.
>But i'm getting the following error message in sitemap.log:
>org.apache.cocoon.ResourceNotFoundException: No pipeline matched request:
>sub//entry
>
>is this a bug or did i something misunderstand?
>
>Thanks lot
>   -Frank
>
>
>-
>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 get non-english characters from CLOB (usage)

2002-04-26 Thread yuryx

Hello all!
I have following problem:
In Oracle database I store some CLOB object. This clob contain XML with 
KOI8-R coding.
After set in clob next data:"ÜÔÏ ÔÅÓÔ" I use  
 method for get my data.
And I have wrong results :( like:
-B> B5AB
What I'm wrong?
Can anyone help me??
Thanx.
Yury.



-
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: clob-esql-xml

2002-04-25 Thread yuryx

>
>
>>
> Hi Steve
> It's good idea :)
> But after this I have next error:
> /org.apache.cocoon.ProcessingException: Language Exception: 
> org.apache.cocoon.components.language.LanguageException: Error 
> compiling sql_out_xsp:
> Line 652, column 92: ')' expected.
> Line 0, column 0:
> 1 error
> / :(
> sample like
>
> 
>"

hello

" > > > don't work also.. :(( > Yury > Sorry by question It work :) Thanx Yury - 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: clob-esql-xml

2002-04-25 Thread yuryx

Steven Sedlmeyer wrote:

>The only tag that supports clobs is .  Try this:
>
>column="myclob"/>
>
>Steve
>
Hi Steve
It's good idea :)
But after this I have next error:
/org.apache.cocoon.ProcessingException: Language Exception: 
org.apache.cocoon.components.language.LanguageException: Error compiling 
sql_out_xsp:
Line 652, column 92: ')' expected.
Line 0, column 0:
1 error
/ :(
sample like

"<h4>hello</h4>"
don't work also.. :((
Yury


>
>-Original Message-
>From: yuryx [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, April 25, 2002 12:03 PM
>To: [EMAIL PROTECTED]
>Subject: Re: clob-esql-xml
>
>
>yuryx wrote:
>
>>Steven Sedlmeyer wrote:
>>
>>>try 
>>>
>>>Steve
>>>
>>Thx, but I need XML,not ascii...
>>Yury
>>
> don't work with CLOB
>if use VARCHAR then it work very good...
>May be  don't support CLOB?
>Yury.
>
>>>-Original Message-
>>>From: yuryx [mailto:[EMAIL PROTECTED]]
>>>Sent: Thursday, April 25, 2002 1:46 AM
>>>To: [EMAIL PROTECTED]
>>>Subject: clob-esql-xml
>>>
>>>
>>>Hi all!
>>>How to extract clob column as xml into dynamic page?
>>>For example:
>>>my CLOB: hello!
>>>in sample.xsp I define:
>>>...
>>>
>>>select myclob from mytable
>>>
>>>
>>>   
>>>
>>>
>>>
>>>...
>>>?This example don't work :(
>>>What I'm wrong?
>>>Thanx.
>>>Yury.
>>>
>>>
>>>
>>>
>>>-
>>>Please check that your question has not already been answered in the
>>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>>
>>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>>>
>>>-
>>>Please check that your question has not already been answered in the
>>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>>
>>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>>>
>>
>>
>>
>>-
>>Please check that your question has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>>
>
>
>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>




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

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




Re: clob-esql-xml

2002-04-25 Thread yuryx

yuryx wrote:

> Steven Sedlmeyer wrote:
>
>> try 
>>
>> Steve
>>
> Thx, but I need XML,not ascii...
> Yury
>
 don't work with CLOB
if use VARCHAR then it work very good...
May be  don't support CLOB?
Yury.

>>
>> -Original Message-
>> From: yuryx [mailto:[EMAIL PROTECTED]]
>> Sent: Thursday, April 25, 2002 1:46 AM
>> To: [EMAIL PROTECTED]
>> Subject: clob-esql-xml
>>
>>
>> Hi all!
>> How to extract clob column as xml into dynamic page?
>> For example:
>> my CLOB: hello!
>> in sample.xsp I define:
>> ...
>> 
>> select myclob from mytable
>> 
>> 
>>
>> 
>> 
>> 
>> ...
>> ?This example don't work :(
>> What I'm wrong?
>> Thanx.
>> Yury.
>>
>>
>>
>>
>> -
>> Please check that your question has not already been answered in the
>> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>
>> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>> For additional commands, e-mail: <[EMAIL PROTECTED]>
>>
>> -
>> Please check that your question has not already been answered in the
>> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>
>> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>> For additional commands, e-mail: <[EMAIL PROTECTED]>
>>
>
>
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>




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

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




Re: clob-esql-xml

2002-04-25 Thread yuryx

Steven Sedlmeyer wrote:

>try 
>
>Steve
>
Thx, but I need XML,not ascii...
Yury

>
>-Original Message-
>From: yuryx [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, April 25, 2002 1:46 AM
>To: [EMAIL PROTECTED]
>Subject: clob-esql-xml
>
>
>Hi all!
>How to extract clob column as xml into dynamic page?
>For example:
>my CLOB: hello!
>in sample.xsp I define:
>...
>
>select myclob from mytable
>
>
>
>
>
>
>...
>?This example don't work :(
>What I'm wrong?
>Thanx.
>Yury.
>
>
>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>




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

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




clob-esql-xml

2002-04-24 Thread yuryx

Hi all!
How to extract clob column as xml into dynamic page?
For example:
my CLOB: hello!
in sample.xsp I define:
...

select myclob from mytable






...
?This example don't work :(
What I'm wrong?
Thanx.
Yury.




-
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 and xsp:logic

2002-04-03 Thread yuryx

Montier Patrick wrote:

>hi,
>
>Your Mysql connexion (here Mybase) must be declared in the cocoon.xconf and
>web.xml.
>
>Here is an simple example :
>
>
>int idemp=0;
>
>
>
>
>   Mybase
>
>
>
>   SELECT * from mytable
>   
>   
>  
>  
>
>   idemp=;
>
... and  here ;)

>
>  
>
>No results
>
>  
>
>  
>
>  
>
>
>Patrick
>
>-Message d'origine-
>De : Bobby Koya [mailto:[EMAIL PROTECTED]]De la part de
>[EMAIL PROTECTED]
>Envoyé : mercredi 3 avril 2002 18:00
>À : [EMAIL PROTECTED]
>Objet : esql and xsp:logic
>
>
>Hi I have a problem with some logic. The problem is that I have some
>data stored in a mysql database and I would like to use this data in an
>XSP file. Eg:
>
> grab the data 
>
>
> start to use the data.
>
>
>
>Am I correct that this is not possible because the xsp:logic statements
>are done before the esql statements or is it possible to do this:
>
>
>  grab the data 
> start to use the data.
>
>
>
>Thanks for your time,
>Sharat Koya
>
>
>-
>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: Redirect on sitemap with parameters

2002-03-29 Thread yuryx

Axel Honfi wrote:

>I don't know if this works, give it a try!
>
>But what this works with me:
>
>
>
>
>
>
>
>
>
>
>
Yes, I'm use this method :))

Thanx for quick reply.
Yury.




-
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: Redirect on sitemap with parameters

2002-03-29 Thread yuryx

Vadim Gritsenko wrote:

>>From: yuryx [mailto:[EMAIL PROTECTED]]
>>
>>Hello All!
>>Can I have redirect in sitemap like:
>>
>>
>>
>>
>>
>
>No, this does not work.
>
Yes, I'm know of this. This example was for example.
But I'm need parametrized redirect like call template in XSLT :)
If is not possible then problem is close :)

Thanx all for reply.
Yury.





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

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




Redirect on sitemap with parameters

2002-03-29 Thread yuryx

Hello All!
Can I have redirect in sitemap like:













it possible?

Thanx.
Yury.




-
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: [SOLVED] RE: Problem with JSP in mounted sitemap

2002-03-28 Thread yuryx

Piroumian, Konstantin wrote:

>Good evening!
>
>It seems that I've solved the problem with JSPs. Patch will be available in
>CVS tomorrow.
>
>Regards,
>Konstantin Piroumian
>[EMAIL PROTECTED] 
>
Thanx by good news, but where I had download this patch?
Please, I need this :)

Thanx.
Yury.



-
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 JSP in mounted sitemap

2002-03-28 Thread yuryx




Hi all!

Now I have the following problem :)

When I declare jsp generator in matcher within mounted sitemap I have error
about:

type Status report
message /usr/local/jakarta/catalina-4.0.4/webapps/cocoon/mobicom-info/omc/sample.jsp
description The requested resource (/usr/local/jakarta/catalina-4.0.4/webapps/cocoon/mobicom-info/omc/sample.jsp)
is not available.

in šmounted sitemap.xmap šI šdeclare šfollowing:

ššš 
ššš ššš 
ššš ššš 
ššš ššš 
ššš ššš 
ššš ššš 
ššš ššš 

ššš 
ššš 
ššš 
ššš ššš 

š 
 
 
š 
ššš ššš 
ššš 



I use Cocoon 2.0.2 and Tomcat 4.0.4 now.
This don't work šin šCocoon š2.0.1 and Tomcat 4.0.1 also...

Can anyone help me by problem?

Thanx.
Yury.
š




-
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: Encoding non-english characters in XSP (C2.0.2)

2002-03-28 Thread yuryx

Vadim Gritsenko wrote:

>Ok, I see, you have got national characters in the Java file (I do not have them, may 
>be because of different locale).
>
>Next step for you would be:
>1. Switch back to Javac (pizza does not support Java file encoding option)
>2. Make sure Javac gets "-encoding KOI8-R" command line option
>
>and everything should be ok.
>
>Vadim
>
Hi Vadim!
I switched compiller to Javac and this solve all problems :)

Thanx for you help
Yury.



-
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: Encoding non-english characters in XSP (C2.0.2)

2002-03-27 Thread yuryx





  I fail to see difference. In both cases, in Cocoon 2.0.1 and in Cocoon2.0.2, XSP page with KOI8-R encoding, produces following Java code:this.characters("\n??\n  ");


yes, in sample_xsp.java:

    this.characters("\n    ");
  

    this.contentHandler.startElement(
  "",
  "h4",
  "h4",
  xspAttr
    );
    xspAttr.clear();

    
    this.characters("Привет from XSP");
  

    this.contentHandler.endElement(
  "",
  "h4",
  "h4"
    );

    
    this.characters("\n ");
sample.xsp:



    language="java"
    xmlns:xsp="http://apache.org/xsp" >



 title

 
    Привет from XSP
 

 


..and
sample.xsl:


"http://www.w3.org/1999/XSL/Transform">
               

  
   
    
 
  
 
    
    
  Привет from XSL
 
    
   
  
  
  



in sitemap.xmap:
    
  1024
  KOI8-R
    

  
    
    
    
   

But in output page :
Привет from XSL
 
ðÒÉ×ÅÔ from XSP
And I don't understand this ...
:((

Sorry by  repeat the   question

Thanx.
Yury.


  Check that you do not have any other changes in your environment. Forme, both versions of Cocoon produce bunch of question marks when tryingto use KOI8-R encoding.Vadim
  

  






-
Please check that your question has not already been answered in the
FAQ before posting. 

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



Encoding non-english characters in XSP (C2.0.2)

2002-03-27 Thread yuryx



Hello all

I have the  following problem:
After updating cocoon from version 2.0.1 to 2.0.2
non-english characters are not normally decoded on page , generated by XSP .
In XSP page I use following encode declaration:


If I use static XML file and XSL transformation,
output page is fine.

Where am I wrong?

Thanx.
Yury.






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




Encoding non-english characters in XSP (C2.0.2)

2002-03-27 Thread yuryx

Hello all

I have the  following problem:
After updating cocoon from version 2.0.1 to 2.0.2
non-english characters are not normally decoded on page , generated by XSP .
In XSP page I use following encode declaration:


If I use static XML file and XSL transformation,
output page is fine.

Where am I wrong?

Thanx.
Yury.




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




DELI switch-on problem

2002-03-27 Thread yuryx

Hi all!


I try install tomcat4.0.4 and deploy cocoon-2.0.2. Use JDK_1.3.1,
I configure DELI component with cocoon-documentation recomendation:
Uncomment DELI-configurations lines in cocoon.xconf and validate other 
config files in resources/deli/config directory
Restart tomcat and try requested deli.html/wml samples
But DELI dont switched on :(
I have "DELI is switched off" response without some errors...

Any ideas?

Thanx.
Yury.



-
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: I want to know how to make cocoon save the generated html file?

2002-03-20 Thread yuryx

Íõºì±¦ wrote:

>Dear All:
>
>  I want to know how to make cocoon save the generated html file? Anyone
>knows? Thank you!
>
>   Bob Wang
>
>
>-
>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]>
>
Try serialize your page to file

Regards.
Yury.




-
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: How to put user data into SunspotDemoPortal-session at logontime

2002-03-19 Thread yuryx

Sorry by question, but what is sunRise-auth action ?
Where this action deploy?

Yury.
 

Carsten Ziegeler wrote:

>Hi Peter,
>
>all your pipelines are wrapped (secured) by the sunRise-auth action
>with the handler and the application parameter, for example the
>sunLets:
>
>  
>   
>
>
>   
>
>   src="sunspotdemo/resources/auth/sunlet-{1}.xml"/>
>   
>   
>
>  
>
>The sunRise-auth action provides several key/value pairs that can be used
>inside the sitemap like the ID of the current user, the role etc.
>So your example could look like this:
>
>   
>
>
>
>  
>  
>   
>   
>
>HTH
>
>Carsten
>
>>-Original Message-
>>From: Baer Peter [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, March 19, 2002 1:40 PM
>>To: cocoon-users
>>Subject: Re: RE: How to put user data into SunspotDemoPortal-session at
>>logon time
>>
>>
>>Thanks for the reply. It works. We can get the parameter out of the 
>>session now.
>>
>>However, what we actually need is a single value which we can pass as a 
>>parameter to the following generator or transformer.
>>
>>
>>  
>>
>>
>>Thus we could generate user-specific menus at runtime. Eg, the options 
>>in drop-down menu could depend on the region the user belongs to.
>>
>>Merging the session XML and the application XML is not appropriate for 
>>us, as we don't want to have them transformed before the XSP statements 
>>in the resulting XML are evaluated.
>>
>>Any clues?
>>
>>Thanks in advance!
>>
>>  -pb-
>>
>>
>>
>>
>> >Everything is already in the session, stored in a so called 
>> >SessionContext
>> >named "sunRise".
>> >
>> >The "authentication document" defined for the portal which actually
>> >does the login of a user delivers these information to sunRise which
>> >then stores them into the session. These information are usually
>> >the user ID, the first name, the last name etc.
>> >
>> >By adopting this resource, you can store more infos in the session.
>> >
>> >You can get them in an XML processing pipeline by using the sunShine
>> >transformer. So you can write an XML file, like this:
>> >
>> >http://cocoon.apache.org/sunshine/1.0";;>
>> >
>> >
>> >
>> >If you now build a sunLet reading this XML document and using the 
>> >sunShine
>> >transformer, you will get all information stored in the session about
>> >the current user.
>> >
>> >As the info is stored as an XML tree in the session by varying the
>> >"path" attribute of "getxml" you can get one specific info, like:
>> >   
>> >
>> >HTH
>> >Carsten
>>
>>
>>
>> >
>> >> Peter Baer wrote:
>> >> > We need the user name and some user specific information in the 
>> >>actual
>> >> SunspotDemoPortal session.
>> >> Our question is because the default session attributes (and their
>> >> values) aren't particularly speeky.
>> >> > How can we trigger the portal to add the user name and other 
>> >>specific
>> >> information (like boolean flags) into the session?
>> >> Or are there already some user informations in the session, inserted 
>> >>by
>> >> the portal?
>> >> > And if so, how are they named / how can we get them out?
>> >>
>>
>>
>>
>>
>>-- 
>>+---+-+
>>|  >>>  mailto:[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 PROBLEMS

2002-03-18 Thread yuryx

Stefano Bonnin wrote:

>Hi,
>
>I'm trying to convert an old C1 application in C2, but I found a lot of
>problems. All session (request/response) management has changed.
>
>For example:
>
>with C1 I wrote:
>
>
>if ((session.isNew()) and (myVariable == myValue)) {
>
>.
>.
>response.sendRedirect(response.encodeURL("My URL"));
>
>}
>
>
>Now, with C2, how can I do this?
>I tried with this but without success:
>
>if (() and (myVariable == myValue)) {
>
>.
>.
>response.sendRedirect(response.encodeURL("My URL"));
>}
>
>
>Line 149, column 33: Method sendRedirect(java.lang.String) not found in
>interface org.apache.cocoon.environment.Response
>
>
>and, , another problem:
>
>if I write
>
>
>if ((session.isNew()) and (myVariable == myValue)) {
>
>.
>.
>.
>}
>
>
>Cocoon return me: Line 121, column 8: Undefined variable or class name:
>session
>
>why? In the Cocoon examples I read a document like this (whith "session"
>object used instead of xsp tags)
>
>
>Please, help me!
>
>
>---
>Outgoing mail is certified Virus Free. (FLASHH!)
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.338 / Virus Database: 189 - Release Date: 14/03/02
>
>
>-
>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]>
>
Try for use that   :)

Regards.
Yury.



-
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: Help on sitemap

2002-03-14 Thread yuryx

Andreas Hartmann wrote:

>
>Hi Yury,
>
>
>>ÂÞÃù/eNet/¼¼Êõ·þÎñÊÂÒµ²¿/ϵͳ
>>
>²¿/×ܼà wrote:
>
>>>Hello All,
>>>I hava a question for sitemap
>>>how can i write a sitmap:
>>>if i request http://site/test.xml
>>>it will transform by default.xsl
>>>if i request http://site/test.xml?sytle=test.xsl
>>>it will transform by test.xsl
>>>
>>>Thanks
>>>
>>Try define sitemap parameter in action from request
>>
>
>What about using a RequestParamAction?
>
>Greetings,
>Andreas
>
2Andreas:
My example just more for undestand of cocoons action's work. (May be :) )

Regards.
Yury.

>
>>Like:
>>public class MyAction extends AbstractAction {
>> public Map act (Redirector redirector,
>> SourceResolver resolver,
>> Map objectModel,
>> String source,
>> Parameters params) {
>>
>>   Map sitemapParams = new HashMap();
>>   Request request = (Request) 
>>objectModel.get(Constants.REQUEST_OBJECT);   
>>   String mStyle=request.getParameter("style");
>>   sitemapParams.put("style", mStyle);
>>
>>   return sitemapParams;
>> }
>>}
>>
>>in sitemap:
>>
>>  
>>   
>>   
>>
>>   
>>
>>   
>>   
>> 
>>  
>>
>>Regards.
>>Yury.
>>
>>
>>
>>
>>-
>>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: Best apache/tomcat connector?

2002-03-14 Thread yuryx

Nick Airey wrote:

>Hello everyone, 
>
>What is the recommended connector to use between apache 1.3 and tomcat
>4.0.1 ? (tomcat is only being used for cocoon)
>
>Is it (a) the warp connector, or (b) the http 1.0 connector?
>
>If (b) is this planned to change?
>
>
>Kind regards,
>Nick.
>
>
>
>
>-
>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]>
>
I use mod_webapp module. It fine work for me :)

Regards.
Yury.




-
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: Help on sitemap

2002-03-13 Thread yuryx

ÂÞÃù/eNet/¼¼Êõ·þÎñÊÂÒµ²¿/ϵͳ²¿/×ܼà wrote:

> Hello All,
> I hava a question for sitemap
> how can i write a sitmap:
> if i request http://site/test.xml
> it will transform by default.xsl
> if i request http://site/test.xml?sytle=test.xsl
> it will transform by test.xsl
>
> Thanks
>
Try define sitemap parameter in action from request
Like:
public class MyAction extends AbstractAction {
  public Map act (Redirector redirector,
  SourceResolver resolver,
  Map objectModel,
  String source,
  Parameters params) {

Map sitemapParams = new HashMap();
Request request = (Request) 
objectModel.get(Constants.REQUEST_OBJECT);   
String mStyle=request.getParameter("style");
sitemapParams.put("style", mStyle);

return sitemapParams;
  }
}

in sitemap:

   







  
   

 Regards.
Yury.




-
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: Apache and mod_jk (could not get mod_webapp working)

2002-03-13 Thread yuryx

Or try read (about mod_jk) :
http://www.ubeans.com/tomcat/index.html

Regards.
Yury.


Frank Ridderbusch wrote:

>Hi folks,
>
>I like to share a couple of experiences, which I learned the hard way
>and I learned them, while trying to get Cocoon working through Apache.
>They might have been obvious to someone else, but anyway.
>
>First I tried mod_webapp. I configured it like this
>
> 
> Include /etc/httpd/mod_webapp.conf
> 
>
>while mod_webapp.conf contained the actual directives. The result was,
>that it didn't work. Looking at /server-info I saw this:
>
> Module Name: mod_webapp.c
> Content handlers: webapp-handler
> Configuration Phase Participation: Child Init, Child Exit
> Request Phase Participation: Translate Path
> Module Directives:
> WebAppInfo - 
> WebAppConnection - [optional parameter] 
> WebAppDeploy - 
> Current Configuration: 
>
>No configuration visible. I think here is an issue with the include
>mechanism. Then I configured it like this:
>
> 
> WebAppConnection conn  warp  localhost:8008
> WebAppDeploy examples  conn  /examples
> WebAppDeploy cocoonconn  /cocoon
> WebAppDeploy scarabconn  /scarab
>
> WebAppInfo /webapp-info
> 
>
>This showed the correct configuration in /server-info, but when I tried
>/cocoon/welcome, after some period of burning cpu cycles, I received an
>error message about some "internal error" (I used cocoon CVS shnapshot
>from Tuesday). So, this didn't work. Perhaps someone else has other
>experiences.
>
>Then I moved to mod_jk. I had used mod_jk with tomcat 3.2 and cocoon
>1.8.x. So, I had a configuration left apart from having moved on to
>tomcat 4.0.1. 
>
>First lesson learned:
>
>  You need a workers.properties file for mod_jk. However tomcat 4.0 does
>  not include one. First I though: "Ah, simply set this to /dev/null,
>  it's  not needed", but this didn't work. mod_jk needs the
>  workers.properties to configure the ajp ports correctly. Using one
>  from tomcat 3.2 made it work.
>
>Second lesson learned:
>
>  Remove an "Alias" for cocoon, if you have one left in your httpd.conf.
>  My previous configuration from cocoon 1.8.x  contained a line like
>
>Alias /cocoon "/usr/local/httpd/tomcat/webapps/cocoon"
>
>  Selecting "/cocoon/hello.html" from the cocoon welcome page would
>  produce a 404 error, since apache tries to satisfy this request,
>  instead of passing it to tomcat.
>
>Hope, this helps someone else.
>




-
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: Apache and mod_jk (could not get mod_webapp working)

2002-03-13 Thread yuryx

For configure mod_webapp read :
http://www.galatea.com/flashguides/apache-tomcat-4-unix.xml

Regards.
Yury.

Frank Ridderbusch wrote:

>Hi folks,
>
>I like to share a couple of experiences, which I learned the hard way
>and I learned them, while trying to get Cocoon working through Apache.
>They might have been obvious to someone else, but anyway.
>
>First I tried mod_webapp. I configured it like this
>
> 
> Include /etc/httpd/mod_webapp.conf
> 
>
>while mod_webapp.conf contained the actual directives. The result was,
>that it didn't work. Looking at /server-info I saw this:
>
> Module Name: mod_webapp.c
> Content handlers: webapp-handler
> Configuration Phase Participation: Child Init, Child Exit
> Request Phase Participation: Translate Path
> Module Directives:
> WebAppInfo - 
> WebAppConnection - [optional parameter] 
> WebAppDeploy - 
> Current Configuration: 
>
>No configuration visible. I think here is an issue with the include
>mechanism. Then I configured it like this:
>
> 
> WebAppConnection conn  warp  localhost:8008
> WebAppDeploy examples  conn  /examples
> WebAppDeploy cocoonconn  /cocoon
> WebAppDeploy scarabconn  /scarab
>
> WebAppInfo /webapp-info
> 
>
>This showed the correct configuration in /server-info, but when I tried
>/cocoon/welcome, after some period of burning cpu cycles, I received an
>error message about some "internal error" (I used cocoon CVS shnapshot
>from Tuesday). So, this didn't work. Perhaps someone else has other
>experiences.
>
>Then I moved to mod_jk. I had used mod_jk with tomcat 3.2 and cocoon
>1.8.x. So, I had a configuration left apart from having moved on to
>tomcat 4.0.1. 
>
>First lesson learned:
>
>  You need a workers.properties file for mod_jk. However tomcat 4.0 does
>  not include one. First I though: "Ah, simply set this to /dev/null,
>  it's  not needed", but this didn't work. mod_jk needs the
>  workers.properties to configure the ajp ports correctly. Using one
>  from tomcat 3.2 made it work.
>
>Second lesson learned:
>
>  Remove an "Alias" for cocoon, if you have one left in your httpd.conf.
>  My previous configuration from cocoon 1.8.x  contained a line like
>
>Alias /cocoon "/usr/local/httpd/tomcat/webapps/cocoon"
>
>  Selecting "/cocoon/hello.html" from the cocoon welcome page would
>  produce a 404 error, since apache tries to satisfy this request,
>  instead of passing it to tomcat.
>
>Hope, this helps someone else.
>




-
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: Problem with encoding non-english request parameters-thanx

2002-03-12 Thread yuryx

>
>
>
>I don't quite understand what do you mean.
>Yes, you can change your request character set:
>
>
>setCharacterEncoding(String)
>public void setCharacterEncoding(java.lang.String env)
>throws UnsupportedEncodingException
>
>Overrides the name of the character encoding used in the body of this
>request. This method must be called prior to reading request parameters
>or
>reading input using getReader().
>Parameters:
>a - String containing the name of the chararacter encoding.
>Throws:
>java.io.UnsupportedEncodingException - if this is not a valid
>encoding
>
>
>This should work in any Servlet 2.3 compliant server (e.g. Tomcat 4.x).
>
>Regards,
>Konstantin Piroumian
>
Sorry, I used too old  http://java.sun.com/products/servlet/2.2/javadoc/ 
 Specification...
And I don't find this features.

Thanx for the complete answer.

Yury.




-
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: Problem with encoding non-english request parameters

2002-03-12 Thread yuryx

Piroumian, Konstantin wrote:

>>Piroumian, Konstantin wrote:
>>
>>>>On Mon, 11 Mar 2002 18:32:26 +0300
>>>>yuryx <[EMAIL PROTECTED]> wrote:
>>>>
>>>>>Vadim Gritsenko wrote:
>>>>>
>>>>>>RTFM
>>>>>>http://xml.apache.org/cocoon/userdocs/xsp/request.html:
>>>>>>8<
>>>>>>8<
>>>>>>
>>>>>>Vadim
>>>>>>
>>>>>Thanx for you help, Vadim, but I need have ,for additional, method for
>>>>>JSP also...
>>>>>And manual request-value charset encoding work as with XSP and with JSP
>>>>>:)
>>>>>
>>>>I use SetCharacterEncodingFilter distributed with tomcat. in my web.xml
>>>>it looks like:
>>>>
>>>>--- cut ---
>>>>
>>>> 
>>>>   Set Character Encoding
>>>>   filters.SetCharacterEncodingFilter
>>>>   
>>>> encoding
>>>> ISO-8859-2
>>>>   
>>>> 
>>>>
>>>> 
>>>>   Set Character Encoding
>>>>   /*
>>>> 
>>>>
>>>>--- cut ---
>>>>
>>>>Is there a better way in cocoon+tomcat to change character encoding
>>>>globaly?
>>>>
>>>You can setup your serializer this way:
>>>
>>>  >>src="org.apache.cocoon.serialization.HTMLSerializer">
>>>iso8859-2
>>>  
>>>
>>>You can have serializers with different encodings in one sitemap.
>>>
>>>Regards,
>>>   Konstantin Piroumian
>>>
>>>>--
>>>>Kazimierz Pogoda
>>>>mailto:[EMAIL PROTECTED]
>>>>
>>Is serializer serialized request also? (this stupid question may be...)
>>
>
>Do you need to set encoding on the coming request? This can be done with an
>action.
>
Yes, in action or use form-encoding attribute (in XSP page with use 
 logicsheet),or use manual encoding
like : String req=new 
String(request.getParameter("param1").getBytes("default-charset"),"needing-charset"); 
in some servlet pages.
:)
But I can change request charset in client side only?
Can I do sets request parameters like request.setCharacterEncoding()

^-in Tomcat
But It impossible in Tomcat :( (may be :) )
Yury.

>
>>Yury.
>>
>>
>>
>>
>>-
>>Please check that your question has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>




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

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




Re: Problem with encoding non-english request parameters

2002-03-11 Thread yuryx

Piroumian, Konstantin wrote:

>>On Mon, 11 Mar 2002 18:32:26 +0300
>>yuryx <[EMAIL PROTECTED]> wrote:
>>
>>>Vadim Gritsenko wrote:
>>>
>>>>RTFM
>>>>http://xml.apache.org/cocoon/userdocs/xsp/request.html:
>>>>8<
>>>>8<
>>>>
>>>>Vadim
>>>>
>>>Thanx for you help, Vadim, but I need have ,for additional, method for
>>>JSP also...
>>>And manual request-value charset encoding work as with XSP and with JSP
>>>:)
>>>
>>I use SetCharacterEncodingFilter distributed with tomcat. in my web.xml
>>it looks like:
>>
>>--- cut ---
>>
>>  
>>Set Character Encoding
>>filters.SetCharacterEncodingFilter
>>
>>  encoding
>>  ISO-8859-2
>>
>>  
>>
>>  
>>Set Character Encoding
>>/*
>>  
>>
>>--- cut ---
>>
>>Is there a better way in cocoon+tomcat to change character encoding
>>globaly?
>>
>
>You can setup your serializer this way:
>
>   src="org.apache.cocoon.serialization.HTMLSerializer">
> iso8859-2
>   
>
>You can have serializers with different encodings in one sitemap.
>
>Regards,
>Konstantin Piroumian
>
>>--
>>Kazimierz Pogoda
>>mailto:[EMAIL PROTECTED]
>>
>>-
>>Please check that your question has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
Is serializer serialized request also? (this stupid question may be...)

Yury.




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

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




Re: Problem with encoding non-english request parameters

2002-03-11 Thread yuryx

Vadim Gritsenko wrote:

>RTFM 
>http://xml.apache.org/cocoon/userdocs/xsp/request.html:
>8<
>xsp-request:get-parameter
>
>Gets the value of the named request parameter. This is a value from the
>request string (e.g., ?fruit=apple) or from POSTed form data. If the
>parameter has more than one value, (e.g, ?fruit=apple&fruit=orange),
>then this gets the first value. See xsp-request:get-parameter-values.
>Possible attributes: form-encoding (depends on the encoding of the page
>which sends the form data) and container-encoding (default per servlet
>spec: ISO-8859-1 but if your servlet container uses another one you can
>adjust)  
>8<
>
>Vadim
>
Thanx for you help, Vadim, but I need have ,for additional, method for 
JSP also...
And manual request-value charset encoding work as with XSP and with JSP :)


Regards.
Yury.



-
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: Problem with encoding non-english request parameters

2002-03-11 Thread yuryx

Thanx for all!

For solved this problem just use:
String par=new 
String(request.getParameter("text1").getBytes("ISO-8859-1"),"KOI8-R");

Regards.
Yury.


yuryx wrote:

> Hi all!
>
> I had the following problem:
> In my cocoon's page I had invalid encoding my non-english characters 
> from request.
>
> with example:
>
> simple.xsp
>
> 
>
>
>   xmlns:xsp="http://apache.org/xsp";
> >
>
>  
>
>simple
>
>
>
> 
>String par=request.getParameter("text1");
> 
> par
> 
> 
>
>
>
>  
> 
>
> simple2html.xsl:
>
> 
>
>  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>xmlns:xsp-request="http://apache.org/xsp/request/2.0";>
>
>  
>   
>
> 
>  
> 
>
>
>
>
>
>   
>  
>
> priority="-2"> select="@*|node()"/>
>   select="."/>
>
> 
>
> sitemap.xmap section:
>
>   
>
>
> 
>   
>
> work result:
>
> http://apache.org/xsp/request/2.0";>
> 
> 
> simple
> 
> 
>
>http://apache.org/xsp";>simple
>
>http://apache.org/xsp";>
> 
> 
>   ×Á×
>  
>  
> 
> 
>
>
>  
> 
> 
>
> Can anyone help me?
>
> Thanx.
> Yury.
>
>
>
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>




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

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




Problem with encoding non-english request parameters

2002-03-10 Thread yuryx

Hi all!

I had the following problem:
In my cocoon's page I had invalid encoding my non-english characters 
from request.

with example:

simple.xsp




http://apache.org/xsp";
 >

  

simple



 
String par=request.getParameter("text1");
 
 par
 
 



  

 
simple2html.xsl:



http://www.w3.org/1999/XSL/Transform";
xmlns:xsp-request="http://apache.org/xsp/request/2.0";>

  
   

 
  
 





   
  

   
  
  



sitemap.xmap section:

   


 
   

work result:

http://apache.org/xsp/request/2.0";>


simple




http://apache.org/xsp";>simple


http://apache.org/xsp";>


 
 
×Á×
 

 





  



Can anyone help me?

Thanx.
Yury.





-
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: PERSONAL JAVA CLASSES

2002-03-07 Thread yuryx

Istvan Beszteri wrote:

>.../cocoon/WEB-INF/classes/
>works for me,
>but you can check the WEB-INF/web.xml, how to define extra calsspaths.
>Br,
>   Istvan
>
>On Thursday 07 March 2002 13:41, you wrote:
>
>>Hi,
>>
>>Where must I put "my personal Java classes" in Cocoon 2? (which directory?)
>>
>>Thanks
>>
>>
>>---
>>Outgoing mail is certified Virus Free. (CopyRight FLASHH!)
>>Checked by AVG anti-virus system (http://www.grisoft.com).
>>Version: 6.0.330 / Virus Database: 184 - Release Date: 28/02/02
>>
>>
>>-
>>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]>
>
Or .../cocoon/WEB-INF/lib (for compiled classes) and don't check 
WEB-INF/web.xml :)

Regards.
Yury.




-
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: Problem with XSP and assigning

2002-03-07 Thread yuryx

Andrew Savory wrote:

>Hi,
>
>Can someone spot my deliberate mistake here? It's driving me up the wall
>trying to find out why Cocoon doesn't like the following:
>
>  xmlns:xsp="http://apache.org/xsp";
>  xmlns:xsp-request="http://apache.org/xsp/request/2.0";>
>
>  
>String uri = null;
>uri = ;
>  
>
>
>Help!
>
>
>Andrew.
>
You can use like: uri=request.getRequestURI();

Regards.
Yury.




-
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: howto get rid of long url without Apache web server?

2002-03-07 Thread yuryx

marco wrote:

>I have installed Tomcat 4.0.1, cocoon 2.0.0, jdk1.3.1_01 (no Apache web
>server) in Windows 98.
>
>How can I access my web site by url "http://www.mysite.com/index.html";
>instead of "http://www.mysite.com:8080/cocoon/myproject/index.html"; ?
>
>-
>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]>
>
HI marco
You just install mod_webapp or mod_proxy and configure apache and
Tomcat. It's very easy ;)

Before, try read manuals like:
http://www.mysite.com:8080/tomcat-docs/proxy-howto.html :))

Regards.
Yury.




-
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: Help Please

2002-03-06 Thread yuryx

Mariano wrote:

>hi. i finally got the cocoon.war . I have replaced all the files tutorials
>says but when i try http://myhost/cocoon i got 404..
>whta it could be? i have apahe and tomcat running
>thsnk in advance
>mariano
>
>
>_
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.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]>
>
If you don't configure apache for create Tomcat link (uses mod_webapp) ,
then just  to use http://myhost:8080/cocoon
^--
(8080 is the default Tomcat port)

Regards.
Yury.





-
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: Saving/Retrieving Session or Request parameters in sitemap

2002-03-06 Thread yuryx

Robin Wyles wrote:

>Hi All...
>
>I am new to Cocoon 2 and am currently prototyping a login/authentication
>routine. I am using SessionIsValidAction to check if the user is logged in,
>and if this fails they are redirected to the login page, the
>DatabaseAuthenticatorAction is then used to check the user's submitted login
>details against values stored in a database. This all works great.
>
>Now I would like to be able to save the original request URI before the
>SessionIsValidAction is called so I can then re-direct the user to when the
>DatabaseAuthenticatorAction is successful. Here are the pipeline fragments
>that control this:
>
>
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>
>
>   
>   
>   value="app/users_descriptor.xml" />
>   
>   
>   
>   
>   
>   
>   
>
>Can I do this using the default set of actions that come with Cocoon 2? I
>know that I can set a session attribute using the sessionPropagatorAction,
>but how do I read it again? I also know I can read a request parameter using
>the RequestParamAction but how do I set a request parameter?
>
>I would like to do this within the sitemap rather than resorting to XSP if
>possible.
>
>Thanks in advance,
>
>Robin Wyles 
>
>
>-
>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]>
>

see http://java.sun.com/products/servlet/2.2/javadoc/ and 
http://xml.apache.org/cocoon/apidocs/index.html

Regards.
Yury.




-
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: my svg does not work in cocoon 2.0.1

2002-03-06 Thread yuryx

This is the valid style (work in my machine):

page2svg.xsl



http://www.w3.org/1999/XSL/Transform";
xmlns:xlink="http://www.w3.org/1999/xlink";  >   

 




   
 


 

 


  http://www.w3.org/2000/svg";>
   

  
 


 



   

  http://www.w3.org/2000/svg";>
   

   
   

  
 
 
 


   



http://www.w3.org/2000/svg";>

   

   
   
   
   

   
 

 


http://www.w3.org/2000/svg";>
   
   

 


 



http://www.w3.org/2000/svg";>
   



 



 
  http://www.w3.org/2000/svg";>
   
   
   


   
 
  
 

 
http://www.w3.org/2000/svg";>



 


 
 
 
 
 
 

 

 
 
 
 
  
 
 

 
 
 
 10
 black

   

 
 

 
 
 
 
 black

   

 
 

 


   

 



 
 
 
 
 
 
 

 
 



   


   


Regards.
Yury.





-
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: my svg does not work in cocoon 2.0.1

2002-03-06 Thread yuryx

marco wrote:

>I have added namespace to the svg tag like thisheight="15" xmlns:svg="http://www.w3.org/2000/svg";>, but it dose not help
>even if I restarted the tomcat.
>
>Please help :(
>
Try cocoon/welcome-svg example. Is it work then see error in you code...
Check with cocoon example and you code.
If cocoon/welcome-svg example don't work then (may be) Batik lib (try 
re-install cocoon) or sitemap.xmap (check sitemap configuration)
not valid

Regards.
Yury.




-
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: my svg does not work in cocoon 2.0.1

2002-03-05 Thread yuryx

Andrew Savory wrote:

>On Tue, 5 Mar 2002, marco wrote:
>
>>I was using cocoon 2.0.0, tomcat 4.0.1, jdk1.3.1_01 in Windows 98, the
>>svg2png serializer works fine, but the svg graphics becomes blank after I
>>upgraded the cocoon to 2.0.1.
>>
>
>Hi marco,
>
>I had a similar problem. Check your namespaces are specifically declared
>in the SVG xml. Also, are there any errors in the logs at all?
>
>
>Andrew.
>
In you stylesheet try like next:

 
http://www.w3.org/2000/svg";>

^---





test text






tes2 text



 

Regards.
Yury.






-
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: use DefaultConfiguration class (avalon API)

2002-03-04 Thread yuryx

Thanx Vadim!

It work! :)

Regards.
Yury.





-
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: use DefaultConfiguration class (avalon API)

2002-03-03 Thread yuryx

>
>
>
>Creating configuration object is quite simple. Snippet from
>JavascriptProgram.java:
>--
>config = new DefaultConfiguration("", "GeneratorSelector");
>child = new DefaultConfiguration("file", "");
>child.setValue(file.toString());
>config.addChild(child);
>
>for (Iterator i = dependecies.iterator(); i.hasNext(); ) {
>child = new DefaultConfiguration("dependency", "");
>child.setValue(i.next().toString());
>config.addChild(child);
>}
>--
>
>Vadim
>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
Thanx Vadim, but what is the dependecies ? It's may be  something class 
(object)?
And how define path-to-file ? As full path (real path like 
/home/.../config.file) or with cocoon-context path (like 
docs/samples/config.file)?

Yury.




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




use DefaultConfiguration class (avalon API)

2002-03-03 Thread yuryx

Hi !
Can anyone help me with following:
With my 'cocoon's action' I have to use DefaultConfiguration class. I 
need modify my config file from this class (with use methods 
setAttribute and setValue) -it possible?
But I dont know how to create it (I need examples :( ) with link to my 
config file. :(

Thanx.
Yury.



-
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: cocoons ServletContext

2002-03-01 Thread yuryx

>
>
>>ServletContext servContext = (ServletContext)
>>objectModel.get(HttpEnvironment.HTTP_SERVLET_CONTEXT);
>>
>>HttpEnviroment... Thats Ok with me :)
>>
>
>Cocoon's wrapper of environment contains HttpEnvironment if you are running
>in a servlet environment. If you run your code in a command line then you
>will get null. Cocoon's context wrapper should be used to avoid problems in
>different environments.
>
>If you don't need Http specific features then there is no need to use it.
>
>Regards,
>Konstantin
>
Hi Konstantin!
For manipulation cocoon Enviroment attribut's within action (for 
manipulation sitemap params :) ) I need cocoon's ServletContext
(like 'application' object in JSP)
It's specific features?

Yury.



-
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: cocoons ServletContext

2002-03-01 Thread yuryx


Lai, Harry wrote:

>Hi Yury,
>
>Within the act method, you can access the cocoon ServletContext via the
>objectModel parameter.  Just use the constants in
>org.apache.cocoon.Constants.  For example:
>
>   Context cocoonServContext = (Context)
>objectModel.get(Constants.CONTEXT_OBJECT);
>
>Note that this is the Cocoon context wrapper (defined in
>org.apache.cocoon.environment) for the actual HTTP Servlet Context.  If you
>need the actual HTTP Servlet Context (defined in javax.servlet), you can use
>the constants defined in org.apache.cocoon.environment.http.HttpEnvironment.
>For example:
>
>   ServletContext servContext = (ServletContext)
>objectModel.get(HttpEnvironment.HTTP_SERVLET_CONTEXT);
>
ServletContext servContext = (ServletContext)
objectModel.get(HttpEnvironment.HTTP_SERVLET_CONTEXT);

HttpEnviroment... Thats Ok with me :)
Thanx Harry!

>
>Hope that helps!
>
>Harry
>
>
>-Original Message-
>From: yuryx [mailto:[EMAIL PROTECTED]]
>Sent: Friday, March 01, 2002 10:32 AM
>To: [EMAIL PROTECTED]
>Subject: cocoons ServletContext
>
>
>Hi all!
>
>Can anyone help me with the following problem:
>How can I get into my cocoon's 'action' a pointer to cocoon ServletContext?
>Is it possible? What shall I use in my 'action'?
>
>Thanx.
>Yury.
>
>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>




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

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




cocoons ServletContext

2002-03-01 Thread yuryx

Hi all!

Can anyone help me with the following problem:
How can I get into my cocoon's 'action' a pointer to cocoon ServletContext?
Is it possible? What shall I use in my 'action'?

Thanx.
Yury.



-
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: Problem1 configure Cocoon2 Oracle8

2002-03-01 Thread yuryx

Giuseppe De Vincenzi wrote:

>Hello,
>
>1) First Tomcat4(JSP-Cocoon2) end Oracle on machine1 OK
>
>2)Now, i use  this parameters(servername, port ,instance) with JSP ...
>[Tomcat 4(JSP) machine1 ]--> [Oracle 2000server]OK
>[Tomcat4 (Cocoon2) machine1 ]  !NO! [Oracle 2000server] Could not get the
>datasource
>
Hi
see cocoon/WEB-INF/logs/coreXX.log. If driver or parameters is valid 
then must be present following lines:
DEBUG   (2002-03-01) 13:47.04:566   [core] (Unknown-URI) 
Unknown-thread/LogKitLogger: JdbcConnection object created
You can found error defenition also.
If you founded JdbcConection error then sent me this file.
Regards
Yury

>
>
>--
>Thank  you very much.
>Giuseppe.
>
>
>- Original Message -
>From: "Luca Morandini" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, March 01, 2002 10:46 AM
>Subject: RE: Problem configure Cocoon2 Oracle8
>
>
>>Giuseppe,
>>
>>you are absolutely sure that:
>>
>>servername is 2000server
>>port is 1521
>>instance name is oras
>>
>>aren't you ?
>>
>>By the way, is 2000server the same server Cocoon runs on... or is it a
>>different machine ?
>>
>>Best regards,
>>
>>-
>>   Luca Morandini
>>   GIS Consultant
>>  [EMAIL PROTECTED]
>>http://utenti.tripod.it/lmorandini/index.html
>>-
>>
>>
>>>-Original Message-
>>>From: Giuseppe De Vincenzi [mailto:[EMAIL PROTECTED]]
>>>Sent: Friday, March 01, 2002 10:23 AM
>>>To: [EMAIL PROTECTED]
>>>Subject: Problem configure Cocoon2 Oracle8
>>>
>>>
>>>Hello,
>>>
>>>Why, when i use this configuration, i connect Oracle
>>>
>>>web.xml (cocoon)
>>>
>>>load-class
>>>
>>> sun.jdbc.odbc.JdbcOdbcDriver
>>> 
>>>
>>> Coccon.xconf
>>> 
>>>   >>
>logger="core.datasources.personnel">
>
>>> 
>>>   
>>>  jdbc:odbc:PEPPE 
>>> dev
>>> giu
>>> 
>>> 
>>>:-)
>>>OK
>>>-
>>>bat, if i change in:
>>>
>>>
>>>   oracle.jdbc.driver.OracleDriver
>>>  
>>>
>>>
>>> web.xml
>>>
>>>load-class
>>>
>>> oracle.jdbc.driver.OracleDriver
>>>
>>>
>>> Coccon.xconf
>>> 
>>>   >>
>logger="core.datasources.personnel">
>
>>> 
>>>  
>>> jdbc:oracle:thin:@2000server:1521:oras
>>> dev
>>> giu
>>> 
>>> 
>>>ERROR.
>>>ERROR.
>>>ERROR.
>>>ERROR.
>>>ERROR.
>>>java.lang.RuntimeException: Could not get the datasource
>>>java.sql.SQLException: You cannot get a Poolable before the pool is
>>>initialized...??
>>>
>>> The database driver is classes12.jar and I am able to connect to the
>>>
>same
>
>>> database with same driver with standalone java application.
>>> Environment is Tomcat 4,  C2( cocoon.war) & windows2000
>>>
>>>CATALINA_HOME C:\Programmi\Apache Tomcat 4.0;
>>>CLASSPATH C:\Programmi\Apache Tomcat 4.0\webapps\ROOT;
>>>TEMP %USERPROFILE%\Impostazioni locali\Temp
>>>JAVA_HOME C:\jdk1.3.1\bin;
>>>NUMBER_OF_PROCESSORS 1
>>>OS Windows_NT
>>>Os2LibPath %SystemRoot%\system32\os2\dll;
>>>Path
>>>C:\orant\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\
>>>Programmi\
>>>File comuni\Adaptec Shared\System;
>>>PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
>>>PROCESSOR_ARCHITECTURE x86
>>>PROCESSOR_IDENTIFIER x86 Family 6 Model 4 Stepping 2, AuthenticAMD
>>>PROCESSOR_LEVEL 6
>>>PROCESSOR_REVISION 0402
>>>PROMPT $p$g
>>>TEMP %SystemRoot%\TEMP
>>>TMP %SystemRoot%\TEMP
>>>TOMCAT_HOME C:\Programmi\Apache Tomcat 4.0;
>>>windir %SystemRoot%
>>>
>>> Thank you !
>>>Giuseppe.
>>>
>>>
>>>
>>>
>>>
>>>
>>>-
>>>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 befor

Re: Problem configure Cocoon2 Oracle8

2002-03-01 Thread yuryx

Hi
You found classes12.jar in $CATALINA_HOME/common/lib?
Maybe you have not oracle driver.
Regards
Yury

Giuseppe De Vincenzi wrote:

>Hello,
>
>Why, when i use this configuration, i connect Oracle
>
>web.xml (cocoon)
>
>load-class
>
> sun.jdbc.odbc.JdbcOdbcDriver
> 
>
> Coccon.xconf
> 
>   
> 
>   
>  jdbc:odbc:PEPPE 
> dev
> giu
> 
> 
>:-)
>OK
>-
>bat, if i change in:
>
>
>   oracle.jdbc.driver.OracleDriver
>  
>
>
> web.xml
>
>load-class
>
> oracle.jdbc.driver.OracleDriver
>
>
> Coccon.xconf
> 
>   
> 
>  
> jdbc:oracle:thin:@2000server:1521:oras
> dev
> giu
> 
> 
>ERROR.
>ERROR.
>ERROR.
>ERROR.
>ERROR.
>java.lang.RuntimeException: Could not get the datasource
>java.sql.SQLException: You cannot get a Poolable before the pool is
>initialized...??
>
> The database driver is classes12.jar and I am able to connect to the same
> database with same driver with standalone java application.
> Environment is Tomcat 4,  C2( cocoon.war) & windows2000
>
>CATALINA_HOME C:\Programmi\Apache Tomcat 4.0;
>CLASSPATH C:\Programmi\Apache Tomcat 4.0\webapps\ROOT;
>TEMP %USERPROFILE%\Impostazioni locali\Temp
>JAVA_HOME C:\jdk1.3.1\bin;
>NUMBER_OF_PROCESSORS 1
>OS Windows_NT
>Os2LibPath %SystemRoot%\system32\os2\dll;
>Path
>C:\orant\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Programmi\
>File comuni\Adaptec Shared\System;
>PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
>PROCESSOR_ARCHITECTURE x86
>PROCESSOR_IDENTIFIER x86 Family 6 Model 4 Stepping 2, AuthenticAMD
>PROCESSOR_LEVEL 6
>PROCESSOR_REVISION 0402
>PROMPT $p$g
>TEMP %SystemRoot%\TEMP
>TMP %SystemRoot%\TEMP
>TOMCAT_HOME C:\Programmi\Apache Tomcat 4.0;
>windir %SystemRoot%
>
> Thank you !
>Giuseppe.
>
>
>
>
>
>
>-
>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: C2 + SOAP ?

2002-02-28 Thread yuryx

Jerzy Kut wrote:

>Can C2 cooperates with SOAP? How?
>Is it only pure Java cooperation (own actions or logicsheets) or is there
>possible any expolit it from XSP or XML?
>Sorry if my question is a little precisious.
>
>Best regards
>
>Jerzy Kut
>
>
>
>-
>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]>
>
See Xscript and SOAP examples...

Regards
Yury.



-
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: Help connect Cocoon2 to Oracle8

2002-02-27 Thread yuryx

Giuseppe De Vincenzi wrote:

> I am not able to connect to Oracle8i database.Exception
> states that could not connect to datasource & you cannot get a poolable
> before the pool is initialized.
>
> type internal-server-error
>
> message Error in sitemap configuration : Could not set up Component for
> hint: add-employee
>
> description org.apache.avalon.framework.configuration.ConfigurationExcept=
> ion:
> Error in sitemap configuration : Could not set up Component for hint: add=
> -employee
>
> sender org.apache.cocoon.servlet.CocoonServlet
>
> source Cocoon servlet
>
> request-uri
>
> /cocoon/visualizza/prova
>
> exception
>
> org.apache.avalon.framework.configuration.ConfigurationException: Error
> in sitemap configuration : Could not set up Component for hint: add-emplo=
> yee
>
> path-info
>
> visualizza/prova
>
> stacktrace
>
> org.apache.avalon.framework.configuration.ConfigurationException: Error
> in sitemap configuration : Could not set up Component for hint: add-emplo=
> yee
>
> Coccon.xconf
>
>  
>n.util.datasource.JdbcDataSource">
>
>   
> 
> jdbc:oracle:thin:@server:oras
> de
> gi
>
>   
>
>
>
>   
>   
>   
>   jdbc:hsqldb:hsql://localhost:9002
>   sa
>   
>   
> 
>
>
> web.xml
>
>load-class
>
> oracle.jdbc.driver.OracleDriveror
>
>
> The database driver is classes12.jar and I am able to connect to the same=
>
> database with same driver with standalone java application.
> Environment is Tomcat 4,  C2 & windows2000
> Prior to this  I connected to mySql database sucessfully.
>
> Any help on this will be highly appreciated
>
> Thanks I am not able to connect to Oracle8i database.Exception
> states that could not connect to datasource & you cannot get a poolable
> before the pool is initialized.
>
> type internal-server-error
>
> message Error in sitemap configuration : Could not set up Component for
> hint: add-employee
>
> description org.apache.avalon.framework.configuration.ConfigurationExcept=
> ion:
> Error in sitemap configuration : Could not set up Component for hint: add=
> -employee
>
> sender org.apache.cocoon.servlet.CocoonServlet
>
> source Cocoon servlet
>
> request-uri
>
> /cocoon/visualizza/prova
>
> exception
>
> org.apache.avalon.framework.configuration.ConfigurationException: Error
> in sitemap configuration : Could not set up Component for hint: add-emplo=
> yee
>
> path-info
>
> visualizza/prova
>
> stacktrace
>
> org.apache.avalon.framework.configuration.ConfigurationException: Error
> in sitemap configuration : Could not set up Component for hint: add-emplo=
> yee
>
> Coccon.xconf
>
>  
>n.util.datasource.JdbcDataSource">
>
>   
> 
> jdbc:oracle:thin:@server:oras
> de
> gi
>
>   
>
>
>
>   
>   
>   
>   jdbc:hsqldb:hsql://localhost:9002
>   sa
>   
>   
> 
>
>
> web.xml
>
>load-class
>
> oracle.jdbc.driver.OracleDriveror
>
>
> The database driver is classes12.jar and I am able to connect to the same=
>
> database with same driver with standalone java application.
> Environment is Tomcat 4,  C2 & windows2000
> Prior to this  I connected to mySql database sucessfully.
>
> Any help on this will be highly appreciated
>
> mailto:[EMAIL PROTECTED]>>
> Thanks   
>
>
>
Use in web.xml like:
   
  load-class
  



org.hsqldb.jdbcDriver
   

oracle.jdbc.driver.OracleDriver
  


in cocoon.xconf like:

 

  
  
  
  jdbc:hsqldb:hsql://localhost:9002
  sa
  



 
  jdbc:oracle:thin:@somehost:1521:somesid
  user
  password



  

Regards,
Yury.


-
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: [HELP]Could not read resource file:/home/jakarta-tomcat-3.3/webapps/cocoon/docs/samples/xsp/test.svg

2002-02-23 Thread yuryx

Eduard Drenth wrote:

> Dear developers,
>
> Can anyone help me with the following:
>
> I created an svg document which I can display in batik:
>
> http://www.w3.org/2000/svg"; 
> xmlns:xlink="http://www.w3.org/1999/xlink";
>width="400" height="300" viewBox="0 0 400 300">
>
>  Testje van Pieter
>
>  
>
>  Hallo, 
> Eduard
>
>   font-size="24pt">Hoe gaat het?
> 
>
> My sitemap entry to display this svg in cocoon is:
>
>   
>
>
>   
>
> I receive the following error message:
>
try this

 Testje van Pieter

 

http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink";
   width="400" height="300" viewBox="0 0 400 300">


 Hallo, 
Eduard

 Hoe gaat het?


Regards
Yury

>
>
> Description:org.apache.cocoon.ProcessingException:
>
> Could not read resource 
> file:/home/jakarta-tomcat-3.3/webapps/cocoon/docs/samples/xsp/test.svg:
> org.apache.batik.transcoder.TranscoderException: nullEnclosed
>
> Exception:http://xml.apache.org:-1The attribute 'xlink:href' of the 
> element is required
>
> What is the problem here???
>
>
> Thanks in advance, regards,
>
> Eduard Drenth
> [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: JSP + matcher error

2002-02-19 Thread yuryx

Noah Mittman wrote:

> I've already looked for those and there are none.
> there's only two levels of sitemaps -- the root and this one -- and 
> this is the only matcher involving JSPs in either of them.
>
> On Tuesday, February 19, 2002, at 03:54  PM, David Stenglein wrote:
>
>> Take a look at the top-level sitemap, see if there are any
>> overly-broad matches for jsps.
>>
>> -Dave
>>
>>
>>
>> On Tue, 19 Feb 2002, Noah Mittman wrote:
>>
>>> I'm having a very odd problem -- "/jsp/file.jsp" is
>>> coming up as a 404 Not Found. I do have a matcher for this, in
>>> fact, for all JSPs in that directory:
>>>
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>> So why doesn't it work? And stranger still... why does calling
>>> "jsp/file.jsp" work when there is no matcher for it?
>>>
>>> [Cocoon 2.0.1]
>>
Try






Regards
Yury

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




  1   2   >