Re: [C2] Possible Solution for PDF Bug with IE 5.x !??

2001-07-04 Thread Ulrich Mayring

"Hugh A. Cayless" wrote:
> 
> How is IE modifying the data when you run this page?  Both IE (same version as
> you're using) and Netscape behave the same when I access it--that is they run
> the Acrobat plugin and open the PDF with the same content.  Is the problem
> maybe something to do with the interaction between the browser and Acrobat?
> I'm using Acrobat 5.0.

This problem appears only with the newest version of IE, i.e.
5.50something.

> I sympathize with your frustration, but I work for an organization that
> supports IE and Netscape, so I don't have a choice in coding for one browser
> or the other.  I imagine that's true for a lot of people

You do have a choice. Go to your boss and say you'll leave if you have
to code for IE ;-)

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

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

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




R: mySQL, jdbc and ESQL

2001-07-04 Thread Marco Spinetti

The XSP uri you are using is old. The new URI is
http://apache.org/xsp
Try
http://apache.org/xsp";
xmlns:esql="http://apache.org/cocoon/SQL/v2";

Marco


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 7:51 PM
Subject: mySQL, jdbc and ESQL


> Hi,
> I'm trying to setup a pooled connection for mySQL.
>
> My packets: JDK 1.3.1, Tomcat 4 beta5, Cocoon 2 beta1, mySQL 3.23.38,
> mm.mysql 2.0.6.1 on Linux Red Hat 6.2.
>
> I've created a db named "test" with user "fku"
> and table "utenti".
> Then I've added these lines to cocoon.xconf
> --
> 
> 
>   
>   jdbc:mysql://localhost/test
>   fku
>   
> 
>   
> --
>
> And these to WEB-INF/web.xml
> --
> 
>   load-class
>   
>   org.gjt.mm.mysql.Driver
>   
> 
> --
>
> I've put mm.mysql-2.0.6.1.jar in TOMCAT_HOME/lib and CLASSPATH contains
the
> path to mm.mysql's dir /opt/mm.mysql-2.0.6.1.
>
> This is my XML code:
> --
>  laguage="java"
> xmlns:xsp="http://www.apache.org/1999/XSP/Core";
> xmlns:esql="http://apache.org/cocoon/SQL/v2";
> >
> ...
> 
> org.gjt.mm.mysql.Driver
> jdbc:mysql://localhost/test
> fku
> 
> 
> select * from prova
>
> 
> 
>  
>   
>
>   
>  
> 
> 
>
> 
> 
> --
>
> Please, see the mySQL's localhost.log:
> --
> /opt/mysql/libexec/mysqld, Version: 3.23.38-log, started with:
> Tcp port: 3306  Unix socket: /tmp/mysql.sock
> Time Id CommandArgument
> 010703 15:35:08   1 Connect fku@localhost as anonymous on
>   1 Init DB test
> 010703 15:35:16   1 Query   SHOW VARIABLES
> 010703 15:35:42   2 Connect fku@localhost as anonymous on
>   2 Init DB test
>   2 Query   SHOW VARIABLES
>   3 Connect fku@localhost as anonymous on
>   3 Init DB test
>   3 Query   SHOW VARIABLES
> 010703 15:35:43   4 Connect fku@localhost as anonymous on
>   4 Init DB test
>   4 Query   SHOW VARIABLES
> 010703 15:35:44   5 Connect fku@localhost as anonymous on
>   5 Init DB test
>   5 Query   SHOW VARIABLES
> --
>
> And, finally, cocoon.log:
> --
> ...
> 2001-07-03 15:28:52 DEBUG   1539[cocoon  ] (HttpProcessor[8080][4]):
Trying
> to load class: org.gjt.mm.mysql.Driver
> ...
> 2001-07-03 15:35:42 DEBUG   41112   [cocoon  ] (Thread-7): JdbcConnection
object created
>
> 2001-07-03 15:35:42 DEBUG   41155   [cocoon  ] (Thread-7): JdbcConnection
object created
>
> 2001-07-03 15:35:43 DEBUG   41206   [cocoon  ] (Thread-7): JdbcConnection
object created
>
> 2001-07-03 15:35:44 DEBUG   41311   [cocoon  ] (Thread-7): JdbcConnection
object created
>
> 2001-07-03 15:35:45 DEBUG   41396   [cocoon  ] (Thread-7): JdbcConnection
object created
> ...
> --
>
> But I receive ESQL code in final HTML directly, without any query
> execution, so my HTML document contains these lines:
> --
> org.gjt.mm.mysql.Driver jdbc:mysql://localhost/test fku
> select * from prova
> --
>
> It seems that the pooled connection is established, but ESQL code
> isn't recognized by C2.
>
> I've missed anything?
> Any idea?
>
> Thanks in Advance
> Regards, ciao
> Francesco
>
>
> Francesco Casalena
> L.U.G. "Il Pinguino"
> --
> Virgilio Mail - Il tuo indirizzo E-mail gratis
> http://mail.virgilio.it
>
>
> -
> Please check that your 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] Possible Solution for PDF Bug with IE 5.x !??

2001-07-04 Thread Hugh A. Cayless

How is IE modifying the data when you run this page?  Both IE (same version as
you're using) and Netscape behave the same when I access it--that is they run
the Acrobat plugin and open the PDF with the same content.  Is the problem
maybe something to do with the interaction between the browser and Acrobat?
I'm using Acrobat 5.0.

I sympathize with your frustration, but I work for an organization that
supports IE and Netscape, so I don't have a choice in coding for one browser
or the other.  I imagine that's true for a lot of people

Hugh

Uli Mayring wrote:

> On Wed, 4 Jul 2001, Stefan Seifert wrote:
>
> > Hello (especially Ulrich...).
> >
> > I've took a close look at the Problem with wrong displayed PDFs in IE
> > 5.x. generatet by Coccon-FOP. I had no explanation why it did not work
> > generatet from cocoon directly, but worked perfectly when the same
> > stream saved as a file was served from the file system.
>
> IE does some checks, when it receives something over the web and possibly
> even alters the data. See http://ulim.cocoonhost.com/iebug for an example,
> where it even alters the data.
>
> Recently I posted an URL to a page, that explains some of these checks
> performed by IE. The bottom-line is: IE does weird stuff and doesn't
> comply to the HTTP standard. No user, especially not users of OpenSource
> software, should support this software. You are undermining the OpenSource
> and standards efforts, if you use this browser or develop for customers
> using this browser.
>
> That being said, there are two currently known workarounds, both posted to
> the list recently (setting a content-disposition header or configuring
> Acrobat as external application). Perhaps you have discovered a third
> workaround. But it is not ok to use these workarounds, instead we all
> should discourage people from using IE by *NOT* supporting its bugs. We
> are talking about intentional bugs here, introduced to undermine the
> OpenSource and standards movement.
>
> Plus, it's happened three or four times before: every time we find a
> workaround, Microsoft will change IE in the next version to not support
> this workaround anymore. Then we have to find a new workaround, which will
> work until the next version - but the users of the older versions of IE
> will not be supported anymore. We are not helping users if we go into a
> coding competition with Microsoft.
>
> Ulrich
>
> -
> Please check that your 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]>




Were able to install Cocoon on a different combination not listed !

2001-07-04 Thread Christoph Fitzner

Hi folks,
here my system on which Cocoon was working well:


Operating System: Windows 98
Web Server:   Apache 1.3.14
Servlet Engine:   Tomcat 3.2
JVM:  Sun JDK 1.3



Thanxs for this great tool!!!
-Christoph

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a


-
Please check that your 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] Possible Solution for PDF Bug with IE 5.x !??

2001-07-04 Thread Gritsenko

good point about IE.

government of canada have standardized on Netscape, by the way.

and WebSphere though that has nothing to do with the above.

viktor

- Original Message -
From: "Uli Mayring" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 5:45 PM
Subject: Re: [C2] Possible Solution for PDF Bug with IE 5.x !??


> On Wed, 4 Jul 2001, Stefan Seifert wrote:
>
> > Hello (especially Ulrich...).
> >
> > I've took a close look at the Problem with wrong displayed PDFs in IE
> > 5.x. generatet by Coccon-FOP. I had no explanation why it did not work
> > generatet from cocoon directly, but worked perfectly when the same
> > stream saved as a file was served from the file system.
>
> IE does some checks, when it receives something over the web and possibly
> even alters the data. See http://ulim.cocoonhost.com/iebug for an example,
> where it even alters the data.
>
> Recently I posted an URL to a page, that explains some of these checks
> performed by IE. The bottom-line is: IE does weird stuff and doesn't
> comply to the HTTP standard. No user, especially not users of OpenSource
> software, should support this software. You are undermining the OpenSource
> and standards efforts, if you use this browser or develop for customers
> using this browser.
>
> That being said, there are two currently known workarounds, both posted to
> the list recently (setting a content-disposition header or configuring
> Acrobat as external application). Perhaps you have discovered a third
> workaround. But it is not ok to use these workarounds, instead we all
> should discourage people from using IE by *NOT* supporting its bugs. We
> are talking about intentional bugs here, introduced to undermine the
> OpenSource and standards movement.
>
> Plus, it's happened three or four times before: every time we find a
> workaround, Microsoft will change IE in the next version to not support
> this workaround anymore. Then we have to find a new workaround, which will
> work until the next version - but the users of the older versions of IE
> will not be supported anymore. We are not helping users if we go into a
> coding competition with Microsoft.
>
> Ulrich
>
>
> -
> Please check that your 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]>




hello.pdf not displaying anything part 2

2001-07-04 Thread Kalven Beaver

Yes, I've tried on IE5 and Netscape 4.6.  Neither
work.  The 'formatting object' works on both.  Of
course that is a 'fo' file.  I'm just curious why the
xml & xslt for the hello.pdf does not work.  This is
the main reason I'm exploring the use of cocoon
(dynamic pdf generation).

Any advice is appreciated, in ADVANCE!

Thanks,
kb


--- Kalven Beaver <[EMAIL PROTECTED]> wrote:
> I'd reall like to figure this one out.  Everything
> else seems to be working fine from the welcome
> screen,
> yet hello.pdf just displays a blank screen without
> even launching the Acrobat Reader.  Anyone had
> similar
> results and if so, what the heck is the solution?
> 
> Thanks in ADVANCE.
> 
> kb
> 
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.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]>
> 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.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]>




Re: hello.pdf not displaying anything

2001-07-04 Thread Uli Mayring

On Wed, 4 Jul 2001, Kalven Beaver wrote:

> I'd reall like to figure this one out.  Everything
> else seems to be working fine from the welcome screen,
> yet hello.pdf just displays a blank screen without
> even launching the Acrobat Reader.  Anyone had similar
> results and if so, what the heck is the solution?

The solution is to use a standards-compliant webbrowser.

Ulrich

-- 
Ulrich Mayring
DENIC eG, Softwareentwicklung


-
Please check that your 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] Possible Solution for PDF Bug with IE 5.x !??

2001-07-04 Thread Uli Mayring

On Wed, 4 Jul 2001, Stefan Seifert wrote:

> Hello (especially Ulrich...).
> 
> I've took a close look at the Problem with wrong displayed PDFs in IE
> 5.x. generatet by Coccon-FOP. I had no explanation why it did not work
> generatet from cocoon directly, but worked perfectly when the same
> stream saved as a file was served from the file system.

IE does some checks, when it receives something over the web and possibly 
even alters the data. See http://ulim.cocoonhost.com/iebug for an example,
where it even alters the data.

Recently I posted an URL to a page, that explains some of these checks 
performed by IE. The bottom-line is: IE does weird stuff and doesn't
comply to the HTTP standard. No user, especially not users of OpenSource
software, should support this software. You are undermining the OpenSource
and standards efforts, if you use this browser or develop for customers
using this browser.

That being said, there are two currently known workarounds, both posted to
the list recently (setting a content-disposition header or configuring
Acrobat as external application). Perhaps you have discovered a third
workaround. But it is not ok to use these workarounds, instead we all
should discourage people from using IE by *NOT* supporting its bugs. We
are talking about intentional bugs here, introduced to undermine the
OpenSource and standards movement.

Plus, it's happened three or four times before: every time we find a
workaround, Microsoft will change IE in the next version to not support
this workaround anymore. Then we have to find a new workaround, which will
work until the next version - but the users of the older versions of IE
will not be supported anymore. We are not helping users if we go into a
coding competition with Microsoft.

Ulrich


-
Please check that your 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.0b1] Resource Not Found

2001-07-04 Thread Drasko Kokic

I am having this problem now already one week and have
no idea what is causing it:

The page in question is available at the following
URL:

http://kodra.loop.de/KontoCheck/LOOP

and produces strange "Resource Not Found" error
WITHOUT any trace in the log file (it all looks OK)
What is even stranger is that it happens only with
Netscape browser.  IE is more or less okay with it.

For comparison look at the following URL:

http://kodra.loop.de/PEPSi/demo

(this is the C1.8.2 implementation of the same
prototype)

Does anybody have any idea what could be a problem? 
How to find out which "resource is not found"?!

TIA
Drasko

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.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]>




Re: hello.pdf not displaying anything

2001-07-04 Thread Gritsenko

I bet it is that you are using IExplorer 5 - search this list archives for
solution - it exists.



- Original Message -
From: "Kalven Beaver" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 4:45 PM
Subject: hello.pdf not displaying anything


> I'd reall like to figure this one out.  Everything
> else seems to be working fine from the welcome screen,
> yet hello.pdf just displays a blank screen without
> even launching the Acrobat Reader.  Anyone had similar
> results and if so, what the heck is the solution?
>
> Thanks in ADVANCE.
>
> kb
>
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.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]>
>


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

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




hello.pdf not displaying anything

2001-07-04 Thread Kalven Beaver

I'd reall like to figure this one out.  Everything
else seems to be working fine from the welcome screen,
yet hello.pdf just displays a blank screen without
even launching the Acrobat Reader.  Anyone had similar
results and if so, what the heck is the solution?

Thanks in ADVANCE.

kb

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.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]>




Fixed: The sitemap handler's sitemap is not available

2001-07-04 Thread Kalven Beaver

I finally got this to work.  I had:
xalan.jar, fop.jar, cocoon.jar in the
tomcat\jakarta\lib directory according to a book on
how to install cocoon.  I took those files out and
presto!  it worked.  Go figure.

Thanks anyway.

kb

--- Lajos Moczar <[EMAIL PROTECTED]> wrote:
> I've watched this list for months as others have had
> this problem, and 
> today I got bit by it myself (Cocoon2b1 w/ Tomcat
> 3.2.2 on Win 98). Just 
> delete $TOMCAT_HOME/lib/jaxp.jar and
> $TOMCAT_HOME/lib/parser.jar. That 
> did it for me.
> 
> Lajos
> Galatea IS Inc.
> 
> 
> Kalven Beaver wrote:
> 
> > HelpHelp...
> > Anyone run into this problem and have a workaround
> or
> > solution?  Followed instructions and still get:
> > 
> >
>

> > 
> > type internal-server-error
> > 
> > message The sitemap handler's sitemap is not
> > available.
> > 
> > description org.apache.cocoon.ProcessingException:
> The
> > sitemap handler's sitemap is not available.
> > 
> > sender org.apache.cocoon.servlet.CocoonServlet
> > 
> > source Cocoon servlet
> > 
> > request-uri
> > 
> > /cocoon/
> > 
> > exception
> > 
> > org.apache.cocoon.ProcessingException: The sitemap
> > handler's sitemap is not available.
> > 
> > path-info
> > 
> > 
> > 
> > stacktrace
> > 
> > org.apache.cocoon.ProcessingException: The sitemap
> > handler's sitemap is not available.
> > at
> >
>
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
> > at
> >
>
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
> > at
> org.apache.cocoon.Cocoon.process(Cocoon.java:293)
> > at
> >
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
> > at
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> >
>
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> > at
> >
>
org.apache.tomcat.core.Handler.service(Handler.java:286)
> > at
> >
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> > at
> >
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
> > at
> >
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> > at
> >
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
> > at
> >
>
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> > at
> >
>
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> > at java.lang.Thread.run(Thread.java:484)
> > 
> > 
> > 
> > 
> > __
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.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]>
> 
> 
>
-
> Please check that your question has not already been
> answered in the
> FAQ before posting.
> 
> 
> To unsubscribe, e-mail:
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <[EMAIL PROTECTED]>
> 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.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]>




RE: RedHat 7.1

2001-07-04 Thread Gary Clark

I have it running on two RedHat 7.1 boxes.  The JVM was the hardest part.
The one I'm using is from http://www.blackdown.com/ and worked
out-of-the-tar.  Once I got 'java -version' to work, so did Tomcat and
Cocoon.

Gary A. Clark
Systems Programmer
Software Services Group
JELD-WEN Information Systems

> -Original Message-
> From: Eduardo Yanez [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, July 04, 2001 9:25 AM
> To:   [EMAIL PROTECTED]
> Subject:  RE: RedHat 7.1
> 
> I had a problem with Sun?s JVM and Redhat 7.1, but after i fix it, Tomcat
> 3.2.2 and Cocoon 1.8.x works fine in my box.
> 
> Regards,
> Eduardo Yanez.
> 
> -Original Message-
> From: Miles Elam [mailto:[EMAIL PROTECTED]]
> Sent: Martes, 03 de Julio de 2001 07:12 p.m.
> To: [EMAIL PROTECTED]
> Subject: RedHat 7.1
> 
> 
> Is anyone else running Cocoon2b1 on a RedHat 7.1
> system with either the Sun or the IBM 1.3.x JVM?  I've
> been having no end of trouble getting it to work on
> three different boxes.  Google searches turn up
> reports of problems with Tomcat (for example).  I
> tried the solutions for Tomcat-related JVM problems
> (although my Tomcat4b5 seems to work fine with JSPs
> and other servlets) to no avail.
> 
> The error I get is a ServletException on init().  Root
> cause is "java.lang.NoClassDefFoundError:
> javax/xml/parsers/ParserConfigurationException".  I
> built the WAR file as documented in the INSTALL file
> both with a change to the "extra-classpath" parameter
> in web.xml (specifying the location of my Tomcat's
> servlet.jar archive) and without.
> 
> I haven't seen anything in the docs or the mailing
> list archives that solves my problem.
> Is there someone out there that can confirm that they
> are also having problems on a RedHat 7.1 system or if
> they are running the same config with no difficulties?
> - Miles
> 
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.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]>
> 
> 
> 
> -
> Please check that your 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]>




java.lang.NoSuchFieldError: manager

2001-07-04 Thread Colin Paul Adams

having made so many changes to my downloaded version of cocoon that I
wasn't sure what I had or hadn't changed, I'd thought I'd download
afresh and start again.

This time I downloaded from the download page, and not from CVS (is
this wise?).

I then made a few minor changes, here follows the diff:

--- cocoon-2.0b1-pristine/database.properties   Wed Jun  6 17:07:21 2001
+++ cocoon-2.0b1/database.propertiesWed Jul  4 20:12:39 2001
@@ -2,10 +2,11 @@
 database-driver=org.hsqldb.jdbcDriver
 
 # Specify the URL for the Database
-database-url=jdbc:hsqldb:${install.war}/cocoon/WEB-INF/db/cocoondb
+database-url=jdbc:postgresql://localhost/chushogi
 
 # Specify the user id
-database-user=sa
+database-user=chushogi
 
 # Specify the password
-database-password=
+database-password=nevermindwhatitypedhere
+

--- cocoon-2.0b1-pristine/webapp/WEB-INF/web.xmlWed Jun  6 17:07:13 2001
+++ cocoon-2.0b1/webapp/WEB-INF/web.xml Wed Jul  4 20:24:40 2001
@@ -95,10 +95,11 @@
   load-class
   
 
-com.ibm.servlet.classloader.Handler
+
 
 
-org.hsqldb.jdbcDriver
+
+org.postgresql.Driver
   
 
   
--- cocoon-2.0b1-pristine/webapp/cocoon.xconf   Wed Jun  6 17:07:13 2001
+++ cocoon-2.0b1/webapp/cocoon.xconfWed Jul  4 20:18:29 2001
@@ -147,9 +147,9 @@
 
   The default is true.
   -->
-  jdbc:hsqldb:${install.war}/cocoon/WEB-INF/db/cocoondb
-  sa
-  
+  jdbc:postgresql://localhost/chushogi
+  chushogi
+  nevermindwhatitypedhere
 
   
 


This time the jdbc driver gets loaded ok, but the missing sitemap
handler problem re-appears.

a java.lang.NoSuchFieldError : manager was the ERROR line in the log.

What's this mean, please?
-- 
Colin Paul Adams
Preston Lancashire

-
Please check that your 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 install Cocoon-1.8.2 on W98, PWS and ServletExec 2.2

2001-07-04 Thread Colin Brumelle

Hello,

From my experience, ServletExec is a pretty horrible servlet engine... Why
not just use Tomcat? Tomcat and Cocoon work very well together and there is
much documentation on Apaches site about running cocoon and tomcat,
including detailed installation instructions.
Is this just for testing/debugging or are you trying to put together a
production environment? If it's just for testing, I would recommend using
the web server abilities of Tomcat and not bother trying to integrate it
with another web server (especially PWS) until all the bugs are worked out.

Hope this helps some,
Colin Brumelle

-Original Message-
From: Joop van der Star [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 04, 2001 2:41 AM
To: [EMAIL PROTECTED]
Cc: myself
Subject: how to install Cocoon-1.8.2 on W98, PWS and ServletExec 2.2


What do I do to run Cocoon-1.8.2 under Windows98 with PWS and ServletExec
2.2
I can build Cocoon but it seems not to run properly.
The browser cannot find localhost:/Cocoon.xml



m.vr.gr. Joop van der Star
***
[EMAIL PROTECTED] / Universiteits Bibliotheek Utrecht
  Wittevrouwenstraat 7-11  / Postbus 16007 / 3500 DA  Utrecht
tel.(+31)30 253 6624   / fax.(+31)30 253 9292



-
Please check that your 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]>




how to install Cocoon-1.8.2 on W98, PWS and ServletExec 2.2

2001-07-04 Thread Joop van der Star

What do I do to run Cocoon-1.8.2 under Windows98 with PWS and ServletExec
2.2
I can build Cocoon but it seems not to run properly.
The browser cannot find localhost:/Cocoon.xml



m.vr.gr. Joop van der Star
***
[EMAIL PROTECTED] / Universiteits Bibliotheek Utrecht
  Wittevrouwenstraat 7-11  / Postbus 16007 / 3500 DA  Utrecht
tel.(+31)30 253 6624   / fax.(+31)30 253 9292



-
Please check that your 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] Possible Solution for PDF Bug with IE 5.x !??

2001-07-04 Thread Stefan Seifert

Hello (especially Ulrich...).

I've took a close look at the Problem with wrong displayed PDFs in IE
5.x. generatet by Coccon-FOP. I had no explanation why it did not work
generatet from cocoon directly, but worked perfectly when the same
stream saved as a file was served from the file system.

I've analysed the returend header with telnet and found the following
difference:

A) From Cocoon:

HTTP/1.0 200 OK
Content-Type: application/pdf
Servlet-Engine: Tomcat Web Server/3.2.2 (JSP 1.1; Servlet 2.2; Java
1.3.1; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.)
 
%PDF-1.3
...


B) From Filesystem (same stream saved as file)

HTTP/1.0 200 OK
Content-Type: application/pdf
Content-Length: 980
Last-Modified: Wed, 04 Jul 2001 16:37:43 GMT
Servlet-Engine: Tomcat Web Server/3.2.2 (JSP 1.1; Servlet 2.2; Java
1.3.1; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.)
 
%PDF-1.3
...


Note the difference, that the Content-Length is only specifed when
served from filesystem.
As a primitive Test i added the following Header in my XSP page:


response.addHeader("Content-Length", "980");


and the generated PDF is displayed correctly and perfect. Of course this
is no direct solution, because the size differs with each pdf. I testet
it with IE 5.00.3315.1000 and IE 5.50.4134.0600.

Unfortunately i've now idea where in cocoon it would be possible to set
the content length for an serializer within the complex framework all
around (the FOPSerializer handles only a output stream).

>>> Has anyone an idea? Any statement from FOPSerializer-Developers?

Stefan

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

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




mySQL, jdbc and ESQL

2001-07-04 Thread francesco.casalena

Hi,
I'm trying to setup a pooled connection for mySQL.

My packets: JDK 1.3.1, Tomcat 4 beta5, Cocoon 2 beta1, mySQL 3.23.38, 
mm.mysql 2.0.6.1 on Linux Red Hat 6.2.

I've created a db named "test" with user "fku"
and table "utenti".
Then I've added these lines to cocoon.xconf
--


  
  jdbc:mysql://localhost/test
  fku
  

 
--

And these to WEB-INF/web.xml
--

  load-class
  
  org.gjt.mm.mysql.Driver
  

--

I've put mm.mysql-2.0.6.1.jar in TOMCAT_HOME/lib and CLASSPATH contains the 
path to mm.mysql's dir /opt/mm.mysql-2.0.6.1.

This is my XML code:
--
http://www.apache.org/1999/XSP/Core";
xmlns:esql="http://apache.org/cocoon/SQL/v2";
>
...

org.gjt.mm.mysql.Driver
jdbc:mysql://localhost/test
fku


select * from prova



 
  
   
  
 





--

Please, see the mySQL's localhost.log:
--
/opt/mysql/libexec/mysqld, Version: 3.23.38-log, started with:
Tcp port: 3306  Unix socket: /tmp/mysql.sock
Time Id CommandArgument
010703 15:35:08   1 Connect fku@localhost as anonymous on
  1 Init DB test
010703 15:35:16   1 Query   SHOW VARIABLES
010703 15:35:42   2 Connect fku@localhost as anonymous on
  2 Init DB test
  2 Query   SHOW VARIABLES
  3 Connect fku@localhost as anonymous on
  3 Init DB test
  3 Query   SHOW VARIABLES
010703 15:35:43   4 Connect fku@localhost as anonymous on
  4 Init DB test
  4 Query   SHOW VARIABLES
010703 15:35:44   5 Connect fku@localhost as anonymous on
  5 Init DB test
  5 Query   SHOW VARIABLES
--

And, finally, cocoon.log:
--
...
2001-07-03 15:28:52 DEBUG   1539[cocoon  ] (HttpProcessor[8080][4]): Trying
to load class: org.gjt.mm.mysql.Driver
...
2001-07-03 15:35:42 DEBUG   41112   [cocoon  ] (Thread-7): JdbcConnection object 
created

2001-07-03 15:35:42 DEBUG   41155   [cocoon  ] (Thread-7): JdbcConnection object 
created

2001-07-03 15:35:43 DEBUG   41206   [cocoon  ] (Thread-7): JdbcConnection object 
created

2001-07-03 15:35:44 DEBUG   41311   [cocoon  ] (Thread-7): JdbcConnection object 
created

2001-07-03 15:35:45 DEBUG   41396   [cocoon  ] (Thread-7): JdbcConnection object 
created
...
--

But I receive ESQL code in final HTML directly, without any query 
execution, so my HTML document contains these lines:
--
org.gjt.mm.mysql.Driver jdbc:mysql://localhost/test fku
select * from prova
--

It seems that the pooled connection is established, but ESQL code
isn't recognized by C2.

I've missed anything?
Any idea?

Thanks in Advance
Regards, ciao
Francesco


Francesco Casalena
L.U.G. "Il Pinguino"
--
Virgilio Mail - Il tuo indirizzo E-mail gratis
http://mail.virgilio.it


-
Please check that your 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: RedHat 7.1

2001-07-04 Thread Eduardo Yanez

I had a problem with Sun?s JVM and Redhat 7.1, but after i fix it, Tomcat
3.2.2 and Cocoon 1.8.x works fine in my box.

Regards,
Eduardo Yanez.

-Original Message-
From: Miles Elam [mailto:[EMAIL PROTECTED]]
Sent: Martes, 03 de Julio de 2001 07:12 p.m.
To: [EMAIL PROTECTED]
Subject: RedHat 7.1


Is anyone else running Cocoon2b1 on a RedHat 7.1
system with either the Sun or the IBM 1.3.x JVM?  I've
been having no end of trouble getting it to work on
three different boxes.  Google searches turn up
reports of problems with Tomcat (for example).  I
tried the solutions for Tomcat-related JVM problems
(although my Tomcat4b5 seems to work fine with JSPs
and other servlets) to no avail.

The error I get is a ServletException on init().  Root
cause is "java.lang.NoClassDefFoundError:
javax/xml/parsers/ParserConfigurationException".  I
built the WAR file as documented in the INSTALL file
both with a change to the "extra-classpath" parameter
in web.xml (specifying the location of my Tomcat's
servlet.jar archive) and without.

I haven't seen anything in the docs or the mailing
list archives that solves my problem.
Is there someone out there that can confirm that they
are also having problems on a RedHat 7.1 system or if
they are running the same config with no difficulties?
- Miles

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.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]>



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

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




DTD and XSP..NEED HELP PLZ

2001-07-04 Thread Mohamed Ramzy

hi,
i have a problem and i didn't find the answer in the
FAQ. my problem is that i have a .xml file which is
using a DTD to get external entities, i want to use
XSP with this xml file to retrieve some parameters
from HTML file, the problem here, i always get a XSP
NullPointerException error, here is the code







%ens;]>
http://www.apache.org/1999/XSP/Core";>



request.getParameter("fname")
.





i don't know if the error in the decleration of the
root element in the DOCTYPE, or XSP and DTD can't work
together...would any one tell me what to do...

i'm using Cocoon 1.8.2 apache JServ/1.1

thanks in advance







=
Mohamed Ramzy Zakaria, Graduate Research student
School of Computer Science & Information Technology
Jubilee Campus, Nottingham University
Nottingham, UK
TEL: 00 44 (0)115 84 66529
MOB: 00 44 (0)7947105251
MOB E-MAIL: [EMAIL PROTECTED]

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.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]>




Re: PDF File creation Question

2001-07-04 Thread Michael Bierenfeld

Gritsenko wrote:
> 
> download from which URL? is that a secret?

Hi,

hopefully ulrich will not be angry *gg* its : ulim.cocoonhost.com. But
watch out its somewhat hard to read :-)

Regards
Michael

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

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




Re: PDF File creation Question

2001-07-04 Thread Ulrich Mayring

Gritsenko wrote:
> 
> download from which URL? is that a secret?

No, but I've posted this URL thousands of times to the list already,
plus it's on Cocoon's 3rd party page :-)

It's http://ulim.cocoonhost.com

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

-
Please check that your 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: PDF File creation Question

2001-07-04 Thread Ulrich Mayring

Michael Bierenfeld wrote:
> 
> OK, thanks done. Samples are working like a charme. I think I can use
> it. But when starting the SOAPService DocHandler example I receive :
> 
> org.xml.sax.SAXParseException: White space is required between the
> public identifier and the system identifier.
> 
> ?-) Dou you know anything about this problem.

No, perhaps a version thing of Xerces?

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

-
Please check that your 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: PDF File creation Question

2001-07-04 Thread Gritsenko

download from which URL? is that a secret?


- Original Message -
From: "Michael Bierenfeld" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 9:23 AM
Subject: Re: PDF File creation Question


> > Hi Michael,
> >
> > download the SOAP taglib, it has an example of that. The sample is
> > called DocHandler and it can not only save fop-generated PDFs, but also
> > print and fax them and put them into an archive.
> >
> > Ulrich
> >
> > --
> > Ulrich Mayring
> > DENIC eG, Systementwicklung
> >
>
> OK, thanks done. Samples are working like a charme. I think I can use
> it. But when starting the SOAPService DocHandler example I receive :
>
> org.xml.sax.SAXParseException: White space is required between the
> public identifier and the system identifier.
>
> ?-) Dou you know anything about this problem.
>
> Regards
>
> Michael
>
> ähm  here is deploy-DocHandler.sh
>
> #!/bin/sh
> JAVA_HOME=/usr/lib/java
> SOAP=/usr/local/soap-2_0/lib/soap.jar
> XERCES=/usr/local/cocoon-1.8.2/lib/xerces_1_2.jar
>
DEPLOY=/home/global/Projekte/XmlStandard/fop/soap/samples/SOAPService/deploy
.xml
> SOAP_SERVER=http://thor.atmiralis.de/soap/servlet/rpcrouter
>
> CLASSPATH=${SOAP}:${XERCES}
>
> export JAVA_HOME CLASSPATH
>
> ${JAVA_HOME}/bin/java org.apache.soap.server.ServiceManagerClient
> ${SOAP_SERVER} deploy ${DEPLOY}
>
> -
> Please check that your 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: PDF File creation Question

2001-07-04 Thread Michael Bierenfeld

> Hi Michael,
> 
> download the SOAP taglib, it has an example of that. The sample is
> called DocHandler and it can not only save fop-generated PDFs, but also
> print and fax them and put them into an archive.
> 
> Ulrich
> 
> --
> Ulrich Mayring
> DENIC eG, Systementwicklung
> 

OK, thanks done. Samples are working like a charme. I think I can use
it. But when starting the SOAPService DocHandler example I receive :

org.xml.sax.SAXParseException: White space is required between the
public identifier and the system identifier.

?-) Dou you know anything about this problem. 

Regards

Michael

ähm  here is deploy-DocHandler.sh

#!/bin/sh
JAVA_HOME=/usr/lib/java
SOAP=/usr/local/soap-2_0/lib/soap.jar
XERCES=/usr/local/cocoon-1.8.2/lib/xerces_1_2.jar
DEPLOY=/home/global/Projekte/XmlStandard/fop/soap/samples/SOAPService/deploy.xml
SOAP_SERVER=http://thor.atmiralis.de/soap/servlet/rpcrouter

CLASSPATH=${SOAP}:${XERCES}

export JAVA_HOME CLASSPATH

${JAVA_HOME}/bin/java org.apache.soap.server.ServiceManagerClient
${SOAP_SERVER} deploy ${DEPLOY}

-
Please check that your 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 fop & PNG ?

2001-07-04 Thread Michael Zehrer

Does Cocoon 1.8.2 support png's for inclusion in fop-documents? All I get is
an IOException...

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

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




AW: I18nTransformer2 seeks null.xml

2001-07-04 Thread Thorsten Mauch

Thanx Konstantin 
You are absolutly right. The prob is related 
to the matcher. Unfortunaly i didn't understand
that cocoon stores the arguments in a stack.
I changed the 
 
and it works :)

Thanx again
Thorsten

-Ursprüngliche Nachricht-
Von: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 4. Juli 2001 11:45
An: Thorsten Mauch
Cc: [EMAIL PROTECTED]
Betreff: Re: I18nTransformer2 seeks null.xml


Hi!

This can be a problem with the substitution params of your matcher pipeline?
Somewhere here:  -
for some reason {1} evaluates to . Are you sure that the problem is in
I18nTransformer2?

Btw, you are using old version of C2 - in the current version
I18nTransformer2 replaced completely the old one and was renamed to
I18nTrasnformer.

Regards,
Konstantin Piroumian.

- Original Message -
From: "Thorsten Mauch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 30, 2001 1:15 AM
Subject: I18nTransformer2 seeks null.xml


> Hi All
> I try to create a Internatinal webapp.
> I use the I18nTransformer2 for tranlation
> but i get:
> org.apache.cocoon.ResourceNotFoundException:
> /C:/tomcat/webapps/shop/shop/null.xml (Das System kann die
> angegebene Datei nicht finden):java.io.FileNotFoundException:
> /C:/tomcat/webapps/shop/shop/null.xml (Das System kann die angegebene
Datei
> nicht finden)
>
> my pipeline looks like:
>   
> 
> 
> 
>  value="catalog/translations/dict.xml"/>
> 
> 
> 
> 
>
>
> Why cocoon seeks the null.xsl ?
>
> Thanks Thorsten
>
> -
> Please check that your 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: C2: Sitemap problem

2001-07-04 Thread Sergio Carvalho


Have a look at Cocoon's log, in webapps/cocoon/WEB-INF/logs/cocoon.log 

There should be a more descriptive exception there.

On Tue, 3 Jul 2001 14:46:20 -0300, "Martin Mauri" <[EMAIL PROTECTED]> wrote:
--
> Hi Cocooners,
> 
> I've posted this message some time ago, but I had no response, so I'll try
> again.
> 
> The fact is that I'm trying to get C2 running, I've got Tomcat 3.2.1 over
> Win ME and after reading the installation documentation and starting Tomcat,
> I point with mt browser to http://localhost:8080/ and then C2 tries to
> compile the sitemap, but I get the following error:
> 
> Cocoon 2 - Internal server error
> 
> 
> 
> 
> type internal-server-error
> 
> message The sitemap handler's sitemap is not available.
> 
> description org.apache.cocoon.ProcessingException: The sitemap handler's
> sitemap is not available.
> 
> sender org.apache.cocoon.servlet.CocoonServlet
> 
> source Cocoon servlet
> 
> request-uri
> 
> /cocoon/
> 
> exception
> 
> org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
> available.
> 
> path-info
> 
> 
> 
> stacktrace
> 
> org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
> available.
>  at org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:185)
>  at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:96)
>  at org.apache.cocoon.Cocoon.process(Cocoon.java:288)
>  at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:442)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
>  at org.apache.tomcat.core.Handler.service(Handler.java:286)
>  at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>  at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
>  at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>  at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:210)
>  at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>  at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>  at java.lang.Thread.run(Thread.java:484)
> 
> any idea?
> 
> thanks,
> 
> 
> Lic. Martin O. Mauri
> Profesion + Auge A.F.J.P
> Parana 666 - Cap. Federal
> TE: (011) 4373-7786/7 int: 422
> [EMAIL PROTECTED]
> www.profesi.com.ar
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>



--
Sergio Carvalho
---
[EMAIL PROTECTED]

If at first you don't succeed, skydiving is not for you

-
Please check that your 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: I18nTransformer2 seeks null.xml

2001-07-04 Thread Piroumian, Konstantin

Hi!

This can be a problem with the substitution params of your matcher pipeline?
Somewhere here:  -
for some reason {1} evaluates to . Are you sure that the problem is in
I18nTransformer2?

Btw, you are using old version of C2 - in the current version
I18nTransformer2 replaced completely the old one and was renamed to
I18nTrasnformer.

Regards,
Konstantin Piroumian.

- Original Message -
From: "Thorsten Mauch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 30, 2001 1:15 AM
Subject: I18nTransformer2 seeks null.xml


> Hi All
> I try to create a Internatinal webapp.
> I use the I18nTransformer2 for tranlation
> but i get:
> org.apache.cocoon.ResourceNotFoundException:
> /C:/tomcat/webapps/shop/shop/null.xml (Das System kann die
> angegebene Datei nicht finden):java.io.FileNotFoundException:
> /C:/tomcat/webapps/shop/shop/null.xml (Das System kann die angegebene
Datei
> nicht finden)
>
> my pipeline looks like:
>   
> 
> 
> 
>  value="catalog/translations/dict.xml"/>
> 
> 
> 
> 
>
>
> Why cocoon seeks the null.xsl ?
>
> Thanks Thorsten
>
> -
> Please check that your 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]>




Cocoon 1 & Websphere 3.5

2001-07-04 Thread Michael Zehrer

Hi list,

anyone here have installed Cocoon 1 on Websphere? Does it work? Any hints or
resources?

Regards, Michael

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

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




Re: Query problems !

2001-07-04 Thread Christian Haul

On 03.Jul.2001 -- 02:16 PM, Gustavo Mejia wrote:
> Hi !!
> 
> I am making a query passing it from a JSP file, my code is very simple
> but I got an error:
> 
> java.lang.RuntimeException: Error executed prepared
> statement:  ?
>  at
> 
> My code is the next:
> 
> 
>
>  
>
> 
> 
> and I send the variable pQuery using the URL, something like:
> 
> http://localhost/cocoon/m3/query_m3.xml?pQuery=select * from inmuebles
> 
> I don't know what the error is, I think it is because the spaces in the
> query, I tried also putting my query directly, (no like a parameter) and
> it works fine.
> 
> Could you help me ? how can I fix this error !!

Hi, I'm not 100% sure about this, but I believe JDBC's prepared
statements allow only replacement of one or more parameter, not of a
complete (sub) query, e.g. 
"select * from person where social_sec_id=? and salary a prepared statement is
created, but your intent is a dynamic query, so if you omit the
 and use 


  


you'll be fine. This way no prepared statement is generated.

Of course you'll need to escape illegal characters in your request
string. The browser does that automatically when submitting forms;
the request api does as well.

Chris.

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

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

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




AW: XML inside XML, and XSLT inside XSLT

2001-07-04 Thread Jörn Heid

For xml it's XInclude...

-Ursprüngliche Nachricht-
Von: Adrian Geissel [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 4. Juli 2001 09:55
An: [EMAIL PROTECTED]
Betreff: Re: XML inside XML, and XSLT inside XSLT


For XSLT, use 

Adrian

- Original Message -
From: Carloz Alaniz <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 9:01 PM
Subject: XML inside XML, and XSLT inside XSLT


>
> Can someone help me or tell me there is such a thing as including an XML
> file inside another XML file, or including an XSLT file inside another
> XSLT file?
>
> Does such a thing exist??
>
> ~carloz






> -
> Please check that your 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: XML inside XML, and XSLT inside XSLT

2001-07-04 Thread Adrian Geissel

For XSLT, use 

Adrian

- Original Message -
From: Carloz Alaniz <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 9:01 PM
Subject: XML inside XML, and XSLT inside XSLT


>
> Can someone help me or tell me there is such a thing as including an XML
> file inside another XML file, or including an XSLT file inside another
> XSLT file?
>
> Does such a thing exist??
>
> ~carloz






> -
> Please check that your 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: PDF File creation Question

2001-07-04 Thread Ulrich Mayring

Michael Bierenfeld wrote:
> 
> This sends the generated pdf to the client and additionaly generates an
> pdf file on the server. That could be used to be printed out
> automatically or to be archived etc.
> 
> Maybe someone has some code sniplets for me or an adress where to get
> this info.

Hi Michael,

download the SOAP taglib, it has an example of that. The sample is
called DocHandler and it can not only save fop-generated PDFs, but also
print and fax them and put them into an archive.

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

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

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




PDF File creation Question

2001-07-04 Thread Michael Bierenfeld

Hi,

back from a long vacation :-(. Reality gets me again :

While using cocoon and fop to generate pdf output. I am wondering if its
possible to generate a pdf-file together with the pdf output send with
the response. I am thinking of



   
   bla bla
   



This sends the generated pdf to the client and additionaly generates an
pdf file on the server. That could be used to be printed out
automatically or to be archived etc.

Maybe someone has some code sniplets for me or an adress where to get
this info.

Regards

Michael

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

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




RE: Help... C2- How to dynamically create new pages without recompiling sitemap?

2001-07-04 Thread jesskung

Dear Cocoon users

Thank you very much to everyone (Vadim, [EMAIL PROTECTED], Sergio) for 
their kindness for responding to me. I will test the system as recommended and 
inform you of the outcome. We hope to put up a FAQ for such issues encountered 
so that the Cocoon newbies can use.

Regards,




  From: Vadim Gritsenko <[EMAIL PROTECTED]>
  Subject: RE: Help... C2- How to dynamically create new pages without 
recompiling sitemap? 
  Date: Tue, 3 Jul 2001 14:19:32 -0400 
  To: [EMAIL PROTECTED], [EMAIL PROTECTED]


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 03, 2001 12:01
> To: [EMAIL PROTECTED]
> Subject: Help... C2- How to dynamically create new pages without recompiling 
sitemap?
> 
> 
> Dear Cocoon users
> 
> We are in the midst of implementing a publishing tool using Cocoon 2. We
> understand that in order to add a new web page into the system, we will
> need to update the sitemap file and recompile this. We may need to
> restart Tomcat as well in order for the system to recognise the new web
> page.
> 
> Please let me know if the above assumptions are correct. Perhaps we are
> using it wrongly.

Your assumptions are not correct; please look into sample sitemap:

   





   

This pipeline works for any request of form "xsp/*", and cocoon2 demo
have 6 *.xsp files in docs/samples/xsp/ directory. It is just matter of adding
new xsp file to it in order to add new page. That's it. No restart is required.

This is just an example. You should update it in a way you need.

PS However, it is possible to write such a sitemap so you need to recompile it
every time you add something new. It's just a matter of how you write your sitemap.

Vadim

> 
> However, we are building a system to allow the content owners to
> dynamically add new web pages. If the above conditions are true, and our
> system has about 10 content owners, must we restart Tomcat and recompile
> the sitemap each time the owners add new pages?
> 
> Please help... We are rushing to implement this system in 2 weeks time
> and really need all the help we can.
> 
> Your help is very very much appreciated.
> 
> Thanks a zillion in advanced!
> 
> Regards,
> Jessica
> 
> 
> -
> Please check that your 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]>


---End of Original Message-



Jessica Kung   [EMAIL PROTECTED]
Brel Software Pte Ltd  Tel: 65-272-6800
Blk 1003 Bukit Merah Central   Fax: 65-272-2811
#07-01/02  http://www.brel.com
Singapore 159836   07/04/01 13:16:33

   Pls call us for the following services
 Web Creation, Web, Email & Domain Hosting
 B2B B2C ASP CMS E-Commerce


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

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