Re: Can be used flash in cocoon1.8.2?

2002-01-30 Thread Hubert NEOtyk Iwaniuk

DONT USE HTML only,

JGenerator - look for it.

Hubert.

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

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




Re: Recursive sub sitemaps

2001-12-12 Thread Hubert NEOtyk Iwaniuk

On Wed, Dec 12, 2001 at 04:15:41PM +0100, Arnaud Vandyck wrote:
> Is it possible to mount sub sitemaps recursively? 
> 
> I mean:
> 
> /cocoon/sitemap.xmap (mount sub)
> /cocoon/sub/sitemap.xmap (mount undersub)

subsitemap is sitemap as well so it can have subsitemaps.

> /cocoon/sub/undersub/sitemap.xmap
> 
> and so on... 
> 
> -- Arnaud, STE-Formations Informatiques, fapse, ULg, .BE
> 
HTH,
hubert.

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

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




Re: esql insert statement

2001-12-11 Thread Hubert NEOtyk Iwaniuk

On Tue, Dec 11, 2001 at 10:18:40AM +0100, rgi wrote:
> Hello cocoon-users,
> 
>   I want to insert a new record in a oracle table. I use esql and
>   connection pooling from cocoon2.
>   I have cofigured all needed things in web.xml and cocoon.conf files.
>   No error ocure when I start cocoon. But when I want to insert the
>   data, nothing happen. Only some strings come back to the browser...!
>   Can someone help?
> 
>   
> My OK.xsp file:
> 
> 
> language="java"
>xmlns:xsp="http://apache.org/xsp";
>xmlns:xsp-formval="http://apache.org/xsp/form-validator/2.0";
>xmlns:xsp-request="http://apache.org/xsp/request/2.0";
I think you are missing esql namespace, in order to use any esql:...
esql namespace have to be declared.

HTH,
hubert

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

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




Re: Java code being dumped to browser. (newbie question)

2001-12-11 Thread Hubert NEOtyk Iwaniuk

On Mon, Dec 10, 2001 at 01:50:24PM -0500, Matthew Crocker wrote:
> Jeremy Crosbie wrote:
> 
> >My guess is you need to specify you are using the LDAP transformer like so
> > . This requires that
> >you have defined this transformer in the first place, which is not done in
> >the default sitemap in the distribution. Add:
> >
> > >src="org.apache.cocoon.transformation.LDAPTransformer" />
> >
> >to the  element in the sitemap.
> >
> 
> I already put in the map:transformer entry and when I add 'type="ldap"' 
> to my transformer line in the pipe line I get :
> 
> ldap://localhost uid=matthew dc=crocker,dc=com base true 0 * 0 false 
> error objectClass
> 
> as output to the browser.  This looks like the ldap transformer is 
> parsing the eldapbasicsample.xml file and dumping it the screen without 
> actually doing any LDAP look.   I have slapd running in another window 
> and I do not see any connection attempts made to the ldap server.
> 
> The above output happens when I have the following pipeline
> 
>  
>
>

Try this:
 

this is my guessing.

>
>
>
>  
> 
> And I have the following in my transformer map
> 
>src="org.apache.cocoon.transformation.LDAPTransformer"/>
> 
> 
> 

HTH,
hubert.

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

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




Re: Starting up a second time...

2001-12-07 Thread Hubert NEOtyk Iwaniuk


Hi Stu,

first do *NOT* start new thread in old one, please.

On Fri, Dec 07, 2001 at 01:23:49PM -, Stu Lewis wrote:
> Hi,
> 
> Cocoon (2.0) starts up first time ok after I have built it. But whenever I
> shutdown Tomcat 4.0, and then start it up again, I get the following error:
> 
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0.1
> Loading catalog: /localhost/cocoon/resources/entities/catalog
> java.sql.SQLException: File input/output error:
> C:\tomcat4\webapps\cocoon\WEB-INF\db\cocoondb.backup
>   at org.hsqldb.Trace.getError(Trace.java:180)
>   at org.hsqldb.Trace.getError(Trace.java:144)
>   at org.hsqldb.Trace.error(Trace.java:205)
>   at org.hsqldb.Log.restoreBackup(Log.java:731)
>   at org.hsqldb.Log.open(Log.java:212)
>   at org.hsqldb.Database.(Database.java:96)
>   at org.hsqldb.Server.run(Server.java:137)
>   at org.hsqldb.Server.main(Server.java:78)
>   at org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:101)
>   at java.lang.Thread.run(Thread.java:484)
> 
> This file does exist (cocoondb.backup). Cocoon
> (http://myserver:8080/cocoon/) then fails to work.

Copy this file from your sources, it sometimes happends that this file brokes,
stop tomcat, copy cocoondb.backup, start tomcat, and it works.

HTH,
Hubert.

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

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




Re: [c2] q: howto use ESQL inside own logicsheets?

2001-12-05 Thread Hubert NEOtyk Iwaniuk

On Wed, Dec 05, 2001 at 01:34:52PM +0100, Christian Haul wrote:
> On 05.Dec.2001 -- 10:30 AM, Hubert NEOtyk Iwaniuk wrote:
> > Hello Chris,
> > 
> > On Wed, Dec 05, 2001 at 12:24:51AM +0100, Christian Haul wrote:
> > > Wait a minute. stylesheet != taglib
> > > taglib: used when creating .java from XSP. taglibs are aka logicsheets.
> > > stylesheet: used when styling XML
> > > 
> > > usually, both are implemented in XSLT
> > > 
> > > you apply your taglib to XML -> wrong
> > > 
> > > right: add your taglib to cocoon.xconf
> > > 
> > 
> > That's what i'm trying to do, in my cocoon.xconf i have builtin-logicsheet
> > and there i define my logicsheet.
> 
> This wasn't clear from your postings. Please attach your
> cocoon.xconf. To the contrary, you explicitly apply the mytaglib.xsl
> in your pipeline which is wrong for a taglib.

attached file problem.tgz has cocoon.xconf serverpages and logicsheet

> 
> > But what have mentioned my logicsheet is applied, but after it is applied
> > no esql logicsheet is applied, but esql namespace isn't lost (i have found
> > it by using log transformation).
> 
> Actually, you cannot "look" inside the taglib replacement
> procedure. It is done completely inside the generator - no
> transformator call help you debug it. The only way I know of is
> applying your taglib manually using xalan.
> 
> > This is even worse, one time it works as expectedm, other time it
> > returns unprocessed esql.
> 
> This I don't believe.
> 

about hour ago i have posted mail taling that problem is solved.
indid it was working ok.
i stoped tomcat, removed directory $TOMCAT_HOME$/work/localhost/cocoon
started tomcat,
and it is *NOT* working any more
no file changes, i think that the coffee i drunk while restarting was
a cause of this behavior.

> > I have send in this thread mail with attachement where is my logicsheet and
> > xsp wich use it. If any other file would be helpfull, let me know i'll
> > post it.

I'm starting to be realy confused,
my cocoon2 doesn't like me,
please tell me how to persudate or force c2 to be a good pet and listen
to what i'm talking to him,
Confused Hubert.



problem.tgz
Description: GNU Unix tar archive

-
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: [c2] q: howto use ESQL inside own logicsheets?

2001-12-05 Thread Hubert NEOtyk Iwaniuk

Problem solved!

I have manadged to solve the problem.
In attachement 3 files:
problem.tgz -- not working files
problem_solved.tgz  -- working files
problem.diff.gz -- differences between problem and 
problem_solved 
   
 (read this: how did i manadged to solve it)


IMPORTANT NOTICE!!!
When i have removed  and left only  inside
, it works.

Thanks,
Hubert.



problem.tgz
Description: GNU Unix tar archive


problem_solved.tgz
Description: GNU Unix tar archive


problem.diff.gz
Description: Binary data

-
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: XSLT and international characters.

2001-12-05 Thread Hubert NEOtyk Iwaniuk

Hello Marcin,

On Tue, Dec 04, 2001 at 12:33:00PM +0100, Marcin Kłos wrote:
> Hi!
> 
> For serveral days I'm trying to solve the following problem. I'm sure that 
> somebody has already faced it, but I could not find any answer on the net.
> 
> I use Cocoon 2 for XSLT transformations (Tomcat 4.0.1 glued to Apache using 
> mod_webapp). These are very simple transformations producing HTML output. I 
> pass some parameters in the QUERY STRING to the XSL. Those parameters contain 
> international (polish) characters, somewhere during the transformation those 
> charcters are converted into some rubbish. For example polish character 
> %C5%82 is transformed into Å‚ i.e., each byte of the two-byte 
> value is treated separetely. 
> 
> How to overcome this problem? 

Use desired encoding for html serialization (in your case it is iso8859-2
or utf-8).
All files containing national characters, should be encoded in UTF-8.

IE supports UTF-8, as well as Mazilla does.
You can look my http://office.ferienwelt.com.pl:8080/cocoon/xml_tests/
i have used there national characters.


Best wishes,
Hubert.


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

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




Re: [c2] q: howto use ESQL inside own logicsheets?

2001-12-05 Thread Hubert NEOtyk Iwaniuk

Hello Chris,

On Wed, Dec 05, 2001 at 12:24:51AM +0100, Christian Haul wrote:
> Wait a minute. stylesheet != taglib
> taglib: used when creating .java from XSP. taglibs are aka logicsheets.
> stylesheet: used when styling XML
> 
> usually, both are implemented in XSLT
> 
> you apply your taglib to XML -> wrong
> 
> right: add your taglib to cocoon.xconf
> 

That's what i'm trying to do, in my cocoon.xconf i have builtin-logicsheet
and there i define my logicsheet.
But what have mentioned my logicsheet is applied, but after it is applied
no esql logicsheet is applied, but esql namespace isn't lost (i have found
it by using log transformation).
This is even worse, one time it works as expectedm, other time it
returns unprocessed esql.

> search this ML for examples. this has been asked many times. see
> "concepts" section in docs. it is all explained in great detail.

I have read about it so many times that if awaken in a middle of the
night i would tel you about this concept with no doubt ;-)


I have send in this thread mail with attachement where is my logicsheet and
xsp wich use it. If any other file would be helpfull, let me know i'll
post it.

thanks in advance,
hubert.

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

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




Re: [c2] q: howto use ESQL inside own logicsheets?

2001-12-04 Thread Hubert NEOtyk Iwaniuk

Hi David,

> Your previous question was a little unclear, but I'll try my best to help.
> 
> Generally the way I handle logicsheets and XSP is as follows:
> 
> 1) take an XML file (what you refer to in your message as "my server page" I would 
>say is not a server page; it's just a regular xml file)
> 
> 2) at compile time (i.e., using Ant and Xalan, not Cocoon) I perform an XSLT against 
>that XML file using the logicsheet.  The result is the XSP server page. (what you 
>refer to in your message as "output is" I would say is your server page; this now 
>needs to get executed)

I'm no familiar with Ant, can you tell me how to do it (some build.xml i gues?).
Or how to do it in cocoon, because that is what i was trying to do.
I wanted to achieve this by using logicsheet, which is an xsl:stylesheet, as
documented in c2docs. what i should do, i think, is to





but that is what i thought c2 is doing with logisheet.
if it's not then please let me know.


> 
> 3) at run time (i.e., using Cocoon, in your sitemap), execute the server page (using 
> src="org.apache.cocoon.generation.ServerPagesGenerator").  This will perform the 
>database calls and make all the esql tag substitutions.
> 
> 
> It is also possible to do step 2 at run time (i.e., using Cocoon), although it's a 
>bit more complicated.

Is this a bit more complicated the same that i wrote before?


Thanks in advance,
Hubert.

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

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




Re: [c2] Please help: howto use ESQL inside own logicsheets?

2001-12-04 Thread Hubert NEOtyk Iwaniuk

C2 users, 
please help.

i send my files that makes me file confiused.

i don't knoe why it's now working.

"fp" is pooled connection and it works. tables are ok.
sql is ok too.



please i need help on this,

thanks in advance,
hubert.



problem.tgz
Description: GNU Unix tar archive

-
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] q: howto use ESQL inside own logicsheets?

2001-12-04 Thread Hubert NEOtyk Iwaniuk

If my question is somehow incomplite or unclear, tell me what is
wrong with it.

It is very important to me to know why it is not working.

help, help,

hubert.

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

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




[c2] q: howto use ESQL inside own logicsheets?

2001-12-03 Thread Hubert NEOtyk Iwaniuk

Hi all,
i want my logicsheet to use ESQL, i try this:



http://apache.org/cocoon/SQL/v2";
xmlns:xsp="http://apache.org/xsp";
xmlns:my-logicsheet="http://my.org/my-logicsheet";
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>



my-pool


SELECT * FROM my-table

















http://apache.org/cocoon/SQL/v2";
xmlns:xsp="http://apache.org/xsp";
xmlns:my-logicsheet="http://my.org/my-logicsheet";>









>

fp

SELECT * FROM my-table












please tell me why i sthat so, and what i i need to understend to use this properly.

thanks in advance,
hubert.

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

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




[c2]: actions

2001-11-28 Thread Hubert NEOtyk Iwaniuk

Hi all,

what i want to do is:
on each page of my site login (user, pwd) is present.
i want it to anable user login on every page.
for now it is ok.

i want login if passed or failed, show page from witch it was called and give 
information to user if he is logged in or not.
and that last thing, returning to page from witch user logged,
is my trouble, i don't know how to build site map to make this work.

Thanks in advance,
hubert.

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

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




[c2:ESQL] how to get tag from DB?

2001-11-20 Thread Hubert NEOtyk Iwaniuk

hello cocooners,

what i have:
in DB have soething like this:
"here goes link link 2 blabla"
what i wont:
to get this anhor as tag not as 
"here goes link link 2 blabla"
this what i get when using 
when using  i get nothing.

please gimi some hint,
hubert.

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

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




Re: [c2]NullPointerException

2001-10-30 Thread Hubert NEOtyk Iwaniuk

Hi,
 answering on my own questions is my hobby

i found that if i have xsp like this:





is an error.

i fixed it by enclosing 
with some other tag. and it works.

have a nice day,
hubert.

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

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




[c2]NullPointerException

2001-10-30 Thread Hubert NEOtyk Iwaniuk

Hello,

my c2 gives me something like this:
message: Exception in ServerPagesGenerator.generate()
description: org.apache.cocoon.ProcessingException: Exception in 
ServerPagesGenerator.generate(): java.lang.NullPointerException

i dont know how to fix it.
i enclose sitemap, xsp, xsl.
in cocoon.xconf i have defined fp-tool namespace.

You may see this error live at 
http://office.ferienwelt.com.pl:8080/cocoon/portal/destinations

thanks in advance,
hubert.




http://apache.org/cocoon/sitemap/1.0";>



 

  

  

  

  

  

  
   
  

 



 










  

   

   
 



















  
 








http://www.w3.org/1999/XSL/Transform";
xmlns:esql="http://apache.org/cocoon/SQL/v2";
xmlns:xsp="http://apache.org/xsp";
xmlns:fp-tool="http://office.ferienwelt.com.pl/fp-tool";>



fp


SELECT * FROM loc


































http://apache.org/cocoon/SQL/v2";
xmlns:xsp="http://apache.org/xsp";
xmlns:fp-tool="http://office.ferienwelt.com.pl/fp-tool";>







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




















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




Welcome












   
 Welcome






   
 











   

[c2.0rc1] startup failure

2001-09-26 Thread Hubert NEOtyk Iwaniuk

hi again,

bad day, nothing wants to work ok.

my conf:
debian
jdk1.3.1_01
jakarta-ant-1.4
tomcat-3.2.3

c2 is compiled, i have followed installing instructions.
at startup i get in stdout.log:

Starting tomcat. Check logs/tomcat.log for error messages
java.lang.ClassFormatError: Bad major version number
 at java.lang.ClassLoader.defineClass(ClassLoader.java)
 at
org.apache.tomcat.loader.AdaptiveClassLoader.doDefineClass(AdaptiveClassLoad
er.java:530)
 at
org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.j
ava:509)
 at
org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(AdaptiveServletLoad
er.java:174)
 at
org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:265)
 at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
 at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java:130)
 at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
 at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
 at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
 at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
cannot load servlet name: Cocoon2: null

thanks in advance,
hubert.


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


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

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




[c2.0rc1] can't build

2001-09-26 Thread Hubert NEOtyk Iwaniuk

hi there,
my conf:
debian
jdk1.3.1_01
jakarta-ant-1.4
tomcat-3.2.3

{JAVA,ANT}_HOME are set.
as in INSTALL wrote i try the following:
# ./run.sh -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_HOME/webapps
webapp
where #TOMCAT_HOME stands for my absolute path to tomcat.
and i get:
ERROR   10015   []  (): Please, specify at least one starting
URI.

please help,
hubert.


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


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

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




Re: C1 [1.8.2] and national char

2001-09-25 Thread Hubert NEOtyk Iwaniuk

hello Remek,
are you using xsp, in 1.8.2 is bug that wont let you produce national
characters
1.8.3-dev is ok.
if you are not using xsp, so you have only xml, and xsp, it should work.
you can see my test for static (xml, xsl) generated html under
http://office.ferienwelt.com.pl/cocoon/xml/test6.xml
send cocoon.properties and files which should produce national characters.

hope it helps,
hubert.
> Hi!
> I have problem with Cocoon 1.8.2 and national (Polish) character in
> generated content. In non-English characters, they appear in browser as
> question marks (HTML) or hash (PDF).
>
> 1. XML files contain encoding directive set to "UTF-8" ( encoding="UTF-8"?>)
> 2. XML files contain cocoon encoding directive  type="text/html/loose"?>
> 3. Chars in XML file are encoded with UTF-8 standard
> 4.  In cocoon property file I set processor.xsp.encoding to UTF-8
> (processor.xsp.encoding = UTF-8)
>
> Best regards
> Remek
>
> -
> 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]>
>
>


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


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

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




[cocoon-users] Q: why empty java file?

2001-09-19 Thread Hubert NEOtyk Iwaniuk



hello,    why do i get:
 



Error found handling the request.
java.lang.ClassNotFoundException: _home._huberti._work._fp_xml._test6v2    when i look into repository length of _test6v2.java is 0.please help,    hubert.---Ausgehende Mail ist zertifiziert virenfrei.Uberpruft durch AVG Antivirus System (http://www.grisoft.com/de).Version: 6.0.265 / Virendatenbank: 137 - Erstellungsdatum: 2001-07-18



http://www.apach.org/1999/XSP/Core";
	xmlns:test6v2="http://office.ferienwelt.com.pl/DTD/XSP/test6v2";
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
	version="1.0">

	
		
			

			
			
		
	

	
		
			String t6v2_t_str = "zażółć gęślą jaźń";
		
		
			t6v2_t_str
		
	

	
		
	





http://www.w3.org/1999/XSL/Transform"; version="1.0">

	
		type="text/html"
		
			




			
			

	
		 
			
			
		
	
	
		
			
		
	
	 
		 
			version: 
			author: 
		
	

			
		
	






 








	
		polskie znaki
		Hubert NEOtyk Iwaniuk
		$Id: test6v2.xml,v 1.2 2001/09/19 13:32:24 huberti Exp $
		
	




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


[c1] where cocoon-format

2001-09-04 Thread Hubert NEOtyk Iwaniuk

hi,

where to put 
i'm getting html strict 4.0.

help,
hubert


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


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

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




[c1] w2k, coconn 1.8.2 and tomcat 4.0-b7: publishing Engine could not be initialized.

2001-08-24 Thread Hubert NEOtyk Iwaniuk



hi,
    onmy w2k pro i have tomcat 4.0-b7 - it works,
    and cocoon 1.8.2 and Sun JDK 1.3.1
 
when i try to access cocoons samples page (index.xml), here is what i 
get:
 
 


  
  

  Cocoon 
  1.8.2
  

  
  Publishing Engine could not be initialized.
  java.lang.RuntimeException: Error loading logicsheet at resource://org/apache/cocoon/processor/xsp/library/java/util.xsl due to java.lang.Exception: Resource not found or retrieving error.
 
What's wrong with my system, an how to run?
 
Hubert.
 
---Ausgehende Mail ist zertifiziert virenfrei.Uberpruft durch 
AVG Antivirus System (http://www.grisoft.com/de).Version: 
6.0.265 / Virendatenbank: 137 - Erstellungsdatum: 
2001-07-18


Re: What's wrong?: Get it worked...

2001-08-23 Thread Hubert NEOtyk Iwaniuk



 

  - Original Message - 
  From: 
  Ekrem 
  Aksoy 
  To: [EMAIL PROTECTED] 
  
  Sent: Thursday, August 23, 2001 10:24 
  AM
  Subject: Re: What's wrong?: Get it 
  worked...
  
  Now i have got it worked..thanx... 
  
   
  ---Ausgehende Mail ist zertifiziert 
  virenfrei.Uberpruft durch AVG Antivirus System (http://www.grisoft.com/de).Version: 
  6.0.265 / Virendatenbank: 137 - Erstellungsdatum: 
2001-07-18


Re: Problem getting xml from DB

2001-08-22 Thread Hubert NEOtyk Iwaniuk

hi Sébastien,

> 
> Hello 

u should use match not name

hope it helps,
hubert



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


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

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




[c1] created node not processed by logicsheet

2001-08-21 Thread Hubert NEOtyk Iwaniuk

hi all,

in my  i have created my class witch implements XMLFragment
and function witch based on request parameters creates my xml fragment.
i use this function in . this function has argument based on
request parameter
lets say "id". so in my  i have

String rId = request.getParameter ("id");

and in xml i use foo (rId).

but it gives nothing, well not exacly,
i turned off xslt poricessing so i could get xml.
and output has unprocessed by logicsheet mark.

where is error, an how fix it?

all i want is to process requests based on reqest parameters.

thanks in advance,
hubert.


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


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

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




[c1] as param for

2001-08-16 Thread Hubert NEOtyk Iwaniuk

Hi all,

I want to get something like this:










XML file:



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

...


logcsheet: my_taglib.xsl:

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


...












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

Thanks in advance,
Hubert.


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


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

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




Re: [C1]: ESQL pool connection

2001-08-13 Thread Hubert NEOtyk Iwaniuk

> how is your pool set up in cocoon.properties?  In addition to setting up
> the properties for the default pool, you need these lines, I think:
> processor.xsp.pool.database.adaptor=DBPostgres
> processor.xsp.pool.database.adaptor.DBPostgres=org.postgresql.Driver

i had in my cocoon.prperties:
processor.xsp.pool.database.adaptor=DBPostgres
processor.xsp.pool.database.adaptor.DBPostgres=postgresql.Driver

after correcting it to org.postgresql.Driver it works.

Thaks.




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


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

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




[C1]: ESQL pool connection

2001-08-13 Thread Hubert NEOtyk Iwaniuk

Hi
when i try connecting to my db i get this error:
java.lang.RuntimeException: Error opening pooled connection: default:
Database type org.postgresql.Driver not implemented.
xml is:
  
   default
...
  

when i used same config, not in pooled connection but in:
  
   org.postgresql.Driver
   jdbc:postgresql://localhost:5432/dbname
   dbuser
   dbpass
   ...
  
it's working just as expected.

Why is that so, and how to use pooled connection?

Thanks in advance,
Hubert.




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


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

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




Re: esql logicsheet, insert, update and delete, examples

2001-08-09 Thread Hubert NEOtyk Iwaniuk


- Original Message - 
From: "JEULIN Olivier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 09, 2001 3:43 PM
Subject: RE: esql logicsheet, insert, update and delete, examples


> I'll send you an example in a few minutes (I'm not sure the rest of the
> mailing list would be interested)

I would

> 
> > does anybody have any examples where you insert, update and 
> > delete records
> > in databases, using xsp and esql logicsheet?
> 
> -
> 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]>
> 
> 


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


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

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




Re: [C2] esql & postgres' nextval

2001-08-08 Thread Hubert NEOtyk Iwaniuk

HI

> I'm trying to do the following :
> 
> INSERT INTO foo(id,url,email,username,password)
> VALUES (NEXTVAL('id_seq')
> ,'abcd','[EMAIL PROTECTED]','dfgdf','123');
> 

NEXTVAL is function stored in postgresql.
Consider doing it like this:
1. define table like:
a) sequence
CREATE SEQUENCE id_seq;
b) table
CREATE TABLE foo (
idINT PRIMARY KEY DEFAULT nextval('id_seq'),
[...]
other columns
[...]
);

2. Inserting data using DEFAULT

INSERT INTO foo (url,email,username,password)
VALUES ('abcd','[EMAIL PROTECTED]','dfgdf','123');

You get what you wanted, and no error should be generated.
I haven't, because of configuration problems - my server is down, but it
should work.

Hope it helps.

hubert.


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


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

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




Re: ESQL can't connect to PostgreSQL

2001-07-31 Thread Hubert NEOtyk Iwaniuk

> 1) put /usr/share/java/postgresql.jar in the classpath of JServ

It was in classpath of JServ.

> 5) Please, do not post in html

OK.

Solwation: Authentication problems in PostgreSQL. It wasn't configured good.

This file esql.xml has NO errors. Error in DB backend.

Thanks for trying to help,

Hubert.




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


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

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




ESQL can't connect to PostgreSQL

2001-07-31 Thread Hubert NEOtyk Iwaniuk



Hi,
 
    I have PostgreSQL 7.1 up and 
running on my Debian BOX,
JDBC driver (postgresql.jar) is in 
/usr/share/java,  that is location
where all jars are 
placed.
 
    Cocoon I v1.8.2, JServ v1.1.2, 
JDK 1.1.8v1.3.
 
I have searched archive, 
found similar problems, but non of them
told me why i can't connect to db.
 
Thanks,
    Hubert NEOtyk 
Iwaniuk.
 
---Ausgehende Mail ist zertifiziert 
virenfrei.Uberpruft durch AVG Antivirus System (http://www.grisoft.com/de).Version: 
6.0.265 / Virendatenbank: 137 - Erstellungsdatum: 
2001-07-18






http://www.apache.org/1999/XSP/Core"; xmlns:esql="http://apache.org/cocoon/SQL/v2";>
	
		
			org.postgresql.Driver
			jdbc:postgresql://localhost:5432/db_name
			db_user
			db_pass
			
select ID_hotel,Name_hotel from Hotel

	header info
	
		
			

			
			

			
		
	
	footer info

			
		
	









  
  

  


  
Cocoon 
1.8.2

  

Error found handling the request.
java.lang.RuntimeException: Error opening connection to dburl: jdbc:postgresql://localhost:5432/db_name
	at _home._huberti._public_html._esql.populateDocument(_esql.java)
	at org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java:97)
	at org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:527)
	at org.apache.cocoon.Engine.handle(Engine.java:384)
	at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:311)
	at org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
	at org.apache.jserv.JServConnection.run(JServConnection.java:188)
	at java.lang.Thread.run(Thread.java)


  Warning: this page 
has been dynamically generated. 

Copyright (c) 1999-2001 The Apache XML Project.All rights 
reserved. 


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