patch to fix NullPointerException from

2002-06-03 Thread neil

I've got a form that posts multiple values for a request parameter (multiple
instances of ).

request.getParameterValues() returns a String[] with an element for each
posted value.
If nothing is entered into into one of the text fields the corresponding
element in the String[] is null, but this isn't handled by
Request object helper
+ * 
+ * Modified by Pinnacle Software to fix:
+ *
+ * java.lang.NullPointerException
+ * at
org.apache.cocoon.components.language.markup.xsp.XSPObjectHelper.data(XSPObj
ectHelper.java:196)
+ * at
org.apache.cocoon.components.language.markup.xsp.XSPObjectHelper.elementData
(XSPObjectHelper.java:93)
+ * at
org.apache.cocoon.components.language.markup.xsp.XSPRequestHelper.getParamet
erValues(XSPRequestHelper.java:291)
+ * at
org.apache.cocoon.www.pinnacle.assetComponents_xsp.generate(C:\jakarta-tomca
t-4.0.4-b3\work\Standalone\localhost\cocoon\cocoon-files\org/apache/cocoon/w
ww/pinnacle\assetComponents_xsp.java:1299)
+ * at
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenera
tor.java:260)
+ * 
  *
  * @author mailto:[EMAIL PROTECTED]";>Ricardo Rocha
+ * @version Modified from Apache's version CVS Id: XSPRequestHelper.java,v
1.11 2002/02/27 05:33:50 vgritsenko Exp
  * @version CVS $Id: XSPRequestHelper.java,v 1.1 2002/06/04 04:52:31 neil
Exp $
  */
 public class XSPRequestHelper {
@@ -278,15 +289,18 @@
 String[] values = request.getParameterValues(name);
 if (values != null) {
 for (int i = 0; i < values.length; i++) {
-if(form_encoding != null && values[i] != null &&
-values[i].length() > 0) {
-try {
-values[i] = new
String(values[i].getBytes(container_encoding),
-form_encoding);
-} catch(java.io.UnsupportedEncodingException uee) {
-throw new RuntimeException("Unsupported Encoding
Exception: " +
-uee.getMessage());
-}
+   if (values[i] != null) {
+   if(form_encoding != null && values[i].length() > 0) {
+   try {
+   values[i] = new 
+String(values[i].getBytes(container_encoding),
+  form_encoding);
+   } catch(java.io.UnsupportedEncodingException uee) {
+   throw new RuntimeException("Unsupported Encoding 
+Exception: " +
+  uee.getMessage());
+   }
+   }
+   } else {
+   values[i] = "";
 }
 XSPObjectHelper.elementData(URI, PREFIX, contentHandler,
 "value", values[i]);


-
Please check that your 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: 404 not found

2002-06-03 Thread John Austin

On Tuesday 04 June 2002 01:13 am, you wrote:
> Hi all
>
> Im am trying to use cocoon in conjunction with apache tomcat to serv
> xml pages.  When trying to access .xml pages a 404 error is reported
> even tho the page exists.  I am using cocoon 2.0.2, j2sdk1.4.0,
> tomcat 3.3.1 and apache 1.3.22.  I am using mod_jk and ajp13 to pass
> requests from apache to tomcat.

What is in the logs ? (.../cocoon/WEB-INF/logs/ ...)

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

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




404 not found

2002-06-03 Thread will

Hi all

Im am trying to use cocoon in conjunction with apache tomcat to serv xml 
pages.  When trying to access .xml pages a 404 error is reported even tho the 
page exists.  I am using cocoon 2.0.2, j2sdk1.4.0, tomcat 3.3.1 and apache 
1.3.22.  I am using mod_jk and ajp13 to pass requests from apache to tomcat.

As it stands if i access http://ip-addr:8080/cocoon the cocoon sitemap is 
compiled and works like a charm showing all the sample pages etc.

However if i access http://vhostname/ which has the appropriate entries in 
httpd.conf and the context in apps-vhost.xml in the $TOMCAT_HOME/conf dir, I 
get a 404 error saying that index.xml is not found.

The requiest is being passed from apache to tomcat because tomcat reports the 
404 error.

I am new to this and have been working from info i have managed to scavenge up 
from around the web.

Any help would be greatly appreciated.

Thanks in advance

Will <[EMAIL PROTECTED]>


This message sent through E-Access Internet Webmail
--> http://www.e-access.com.au

A Subsidiary of E-Consortium Pty Ltd
-

-
Please check that your 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 vs J2ee performance

2002-06-03 Thread Rajeev Singh

Hi all,
I needed the opinion of the house whether Cocoon is a fit for mission
critical operations where speed is of top priority in comparison with
JSP-Servlet-HTML architecture, using a servlet container only as in
J2ee,(with or without ejb's).

Thx,
Rajeev

-Original Message-
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, June 04, 2002 2:39 AM
To: [EMAIL PROTECTED]
Subject: RE: Cocoon startup problem

> From: Hutchins, Richard [mailto:[EMAIL PROTECTED]]
> 
> I am using SDK 1.4.0 and Tomcat 4.0.3. I just installed Cocoon 2.0.1
on a
> Windows 2000 machine as the directions indicate, but I get a fatal
error
> (language exception) in the browser (IE 5.5) each time I try to access
> cocoon through localhost:8080. Not really sure how this list works, so
I
> have attached the error.log.01 file in hopes that it would point
to the
> specific problem. The beginning of the internal server error appears
below:
> 
> type fatal
> message Language Exception
> description org.apache.cocoon.ProcessingException: Language Exception:
> org.apache.cocoon.components.language.LanguageException: Error
compiling
> sitemap_xmap: Line 0, column 0: could not parse error message: error:
> Invalid class file format in
> C:\j2sdk1.4.0\jre\lib\rt.jar(java/io/OutputStream.class). The
major.minor
> version '48.0' is too recent for this tool to understand. C:\Program
> Files\Apache Tomcat
>
4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xma
p.ja
> va:12: Class java.io.OutputStream not found in import. import
> java.io.OutputStream; ^ Line 0, column 0: could not parse error
message:
> error: Invalid class file format in C:\j2sdk1.4.0\jre\lib\rt.jar

You are using old tool with the new libraries.

'Old' here is JDK 1.3.1 or earlier, 'tool' is tools.jar (or javac.jar),
'new libraries' is rt.jar from JDK 1.4.

Correct the error (use either older JDK or newer javac) and try again.

PS javac.jar is located in the cocoon.war/WEB-INF/lib in the webapp, or
in xml-cocoon/lib/ in source distribution.

Vadim


> 
> and so on and so on...
> 
> I'm no pro, but judging from the plain English at the beginning of the
> error, it would seem that Cocoon does not work with the 1.4.0
distribution
> of the SDK.
> 
> If anybody else has encountered this, I'd appreciate any suggestions.
I'd
> hate to think that I have to step backwards to SDK 1.3.x to actually
use
> Cocoon.
> 
> Rich Hutchins
>  <>


-
Please check that your 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: Cocoon startup problem

2002-06-03 Thread John Austin

On Monday 03 June 2002 04:24 pm, you wrote:
> I am using SDK 1.4.0 and Tomcat 4.0.3. I just installed Cocoon 2.0.1
> on a Windows 2000 machine as the directions indicate, but I get a

Without being specific, I will state for you that SDK 1.4.0 appears to 
be problematic with respect to Cocoon and JDBC. You could look for it 
in the mail archives pointed to on http://xml.apache.org/cocoon/

The last time I checked the Cocoon Web site advises against Tomcat 4.0.3
and suggests 4.0.4-b2 or -b3 or somesuch.

Windoze 2000 ... I have no  experience with ...

I was recently unable to connect Apache 2.0.36  to Tomcat 4.0.4-b3
and reported a problem finding the connectors. I just use it on port 80 
(sucks, but hey BSD sockets are S ancient)



-
Please check that your 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: SQL, Actions, ESQL Help Please!!!

2002-06-03 Thread John Austin

On Monday 03 June 2002 01:50 pm, you wrote:
> On 03.Jun.2002 -- 10:11 AM, daniel robinson wrote:
> > Hi,
> >
> > I've been poking around but I'm clueless (yes, generally as well as
> > specifically).

I have some code that simply uses embedded Java in an XSP and a Java 
temp file. This code processes a File that is submitted by the user's 
Applet simulating a FORM with method=PUT.  The user's FILE parameter is 
an XML document produced by the applet. I have to insert the DTD stuff 
because the Serializer I am generating this file from doesn't generate 
the DTD statements.

After the file is pulled into a string and written to a File, I add it 
to my PostgreSQL database as a BLOB.




http://apache.org/xsp";
xmlns:session="http://apache.org/xsp/session/2.0";
xmlns:xsp-request="http://apache.org/xsp/request/2.0";
xmlns:xsp-response="http://apache.org/xsp/response/2.0";
xmlns:log="http://apache.org/xsp/log/2.0";>

  
java.io.*
java.sql.*
  

  
  
  File output = null;
try {

String username = (String)
;
//System.err.println( "username=" + username );

String filename = 
;
//System.err.println( "filename=" + filename );

String config_data = 
;
//System.err.println( "config_data=" + config_data );

int position = config_data.indexOf(  );

StringBuffer saveString = new StringBuffer( config_data.substring( 0, 
position ) );

saveString.append( config_data.substring( position) );

output = File.createTempFile( "phoenix_", ".xml" );

FileWriter fw   = new FileWriter( output );

fw.write( saveString.toString() );

fw.close();

try {

Class.forName( "org.postgresql.Driver" );

Connection conn = 
DriverManager.getConnection( 
"jdbc:postgresql://192.168.1.100:5432/test", "postgres", "" );

Statement stmt = conn.createStatement();

String update_statement = "UPDATE user_products SET 
product_file=lo_import( \'" + output.getAbsolutePath() + "\') " +
"  where name = \'" + username + "\'" +
"   AND productname = \'" + filename + "\'";

//System.err.println( "Update statement: " + update_statement );
int rows =  stmt.executeUpdate( update_statement );

//System.err.println( "Rows updated: " + rows );

stmt.close();
conn.close();
}
catch(ClassNotFoundException e ) {
System.err.println( "Caught: " + e );
e.printStackTrace();// @@@ ToDo exit properly
}
catch(SQLException sqle ) {
System.err.println( "Caught: " + sqle );
sqle.printStackTrace(); // @@@ ToDo exit properly
}
}
//output.delete();
catch( Exception e ) {
System.err.println( "Caught: " + e );
e.printStackTrace();
}


output.getAbsolutePath()


TEMPFILENAME=







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

2002-06-03 Thread John Austin

On Monday 03 June 2002 09:45 am, you wrote:
> > From: Graaf, Edgar de (fin) [mailto:[EMAIL PROTECTED]]
> > It sounds a lot like cocoon, it is much smaller (about 1 MB
> > zipped).
>
> It sounds like stripped down Cocoon 1...

Sounds like closed source too. 

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

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




beta site up

2002-06-03 Thread Charles Yates

Hello List,
I am pleased to announce that the new Lane Medical Library website,
powered by Cocoon, is now up and running in beta form:

http://shine.stanford.edu:8080/laneweb/index.html

For those that are interested, the files that make it work are
browseable via viewcvs:

http://shine.stanford.edu/cgi-bin/viewcvs.cgi/laneweb/

If anyone has any ideas how to do things better, I'd be happy to
hear from you.

At the moment, we are only using the basic functionality of Cocoon,
but have plans to do things like access to our large catalog database
and conversion of content to pdf or wml and all those other good things
that Cocoon allows you to do.

Charles Yates






-
Please check that your 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: mm.mysql-2.0.14 + JRE1.4.0 + Cocoon2.0.2 problem resolution?

2002-06-03 Thread Michael Mangeng

Hi

Yes... i would like to know that too.
After several frustrating days i´ve discovered that i simply have to use
jdk1.3.1... But thats no solution... only a 'workaround'...

Such things would be _VERY_ important to be noted somewhere in the docus and
not only, very good hidden, somewhere in the mailing list archives..

greetings
mike
- Original Message -
From: "Jonathan Layes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 03, 2002 4:23 PM
Subject: mm.mysql-2.0.14 + JRE1.4.0 + Cocoon2.0.2 problem resolution?


> Hi all,
>
> I have found a few snippits in the mailing list archives that indicate
> that mm.mysql-2.0.14 + JRE1.4.0 + Cocoon2.0.2 is a bad combination.
>
> Has anyone figured out why they are not working together?  Is there
> a known solution?  FWIW, I'm getting the ubiquitous message:
>
> org.apache.avalon.excalibur.datasource.NoValidConnectionException: No
valid JdbcConnection class available
>
> which isn't very informative, unfortunately.
>
> Thanks, Jonathan
>
>
> -
> Please check that your 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: Cocoon startup problem

2002-06-03 Thread Vadim Gritsenko

> From: Hutchins, Richard [mailto:[EMAIL PROTECTED]]
> 
> I am using SDK 1.4.0 and Tomcat 4.0.3. I just installed Cocoon 2.0.1
on a
> Windows 2000 machine as the directions indicate, but I get a fatal
error
> (language exception) in the browser (IE 5.5) each time I try to access
> cocoon through localhost:8080. Not really sure how this list works, so
I
> have attached the error.log.01 file in hopes that it would point
to the
> specific problem. The beginning of the internal server error appears
below:
> 
> type fatal
> message Language Exception
> description org.apache.cocoon.ProcessingException: Language Exception:
> org.apache.cocoon.components.language.LanguageException: Error
compiling
> sitemap_xmap: Line 0, column 0: could not parse error message: error:
> Invalid class file format in
> C:\j2sdk1.4.0\jre\lib\rt.jar(java/io/OutputStream.class). The
major.minor
> version '48.0' is too recent for this tool to understand. C:\Program
> Files\Apache Tomcat
>
4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xma
p.ja
> va:12: Class java.io.OutputStream not found in import. import
> java.io.OutputStream; ^ Line 0, column 0: could not parse error
message:
> error: Invalid class file format in C:\j2sdk1.4.0\jre\lib\rt.jar

You are using old tool with the new libraries.

'Old' here is JDK 1.3.1 or earlier, 'tool' is tools.jar (or javac.jar),
'new libraries' is rt.jar from JDK 1.4.

Correct the error (use either older JDK or newer javac) and try again.

PS javac.jar is located in the cocoon.war/WEB-INF/lib in the webapp, or
in xml-cocoon/lib/ in source distribution.

Vadim


> 
> and so on and so on...
> 
> I'm no pro, but judging from the plain English at the beginning of the
> error, it would seem that Cocoon does not work with the 1.4.0
distribution
> of the SDK.
> 
> If anybody else has encountered this, I'd appreciate any suggestions.
I'd
> hate to think that I have to step backwards to SDK 1.3.x to actually
use
> Cocoon.
> 
> Rich Hutchins
>  <>


-
Please check that your 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: Migrating from Cocoon 1 to Cocoon 2

2002-06-03 Thread Artur Bialecki

Look through the archive. As I said in one of my post
Migrating from Cocoon1 to Cocoon2 is like converting
a gorilla to a submarine.

Took me 6 weeks to move our (complex) app from
C1 to C2 (I consider this VERY long time). I had to
hack Cocoon and Saxon since Xalan didn't work at all with my
complex XSLTs.

Good luck,

Artur...

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 03, 2002 4:52 PM
> To: [EMAIL PROTECTED]
> Subject: Migrating from Cocoon 1 to Cocoon 2
> 
> 
> 
>   Evening --
> 
>   I have an intranet application that uses Cocoon, xalan, and xerces, but it uses 
>Cocoon 1.0 - and need to upgrade to 
> Cocoon 2.0.  Does anyone have any sources for how-tos or can share their experiences?
> 
>   Thanks,
> 
>   Mike
> 
> 
> 
> Visit our website at http://www.ubswarburg.com
> 
> This message contains confidential information and is intended only 
> for the individual named.  If you are not the named addressee you 
> should not disseminate, distribute or copy this e-mail.  Please 
> notify the sender immediately by e-mail if you have received this 
> e-mail by mistake and delete this e-mail from your system.
> 
> E-mail transmission cannot be guaranteed to be secure or error-free 
> as information could be intercepted, corrupted, lost, destroyed, 
> arrive late or incomplete, or contain viruses.  The sender therefore 
> does not accept liability for any errors or omissions in the contents 
> of this message which arise as a result of e-mail transmission.  If 
> verification is required please request a hard-copy version.  This 
> message is provided for informational purposes and should not be 
> construed as a solicitation or offer to buy or sell any securities or 
> related financial instruments.
> 
> 
> -
> Please check that your 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]>




mm.mysql-2.0.14 + JRE1.4.0 + Cocoon2.0.2 problem resolution?

2002-06-03 Thread Jonathan Layes

Hi all,

I have found a few snippits in the mailing list archives that indicate
that mm.mysql-2.0.14 + JRE1.4.0 + Cocoon2.0.2 is a bad combination.

Has anyone figured out why they are not working together?  Is there
a known solution?  FWIW, I'm getting the ubiquitous message:

org.apache.avalon.excalibur.datasource.NoValidConnectionException: No valid 
JdbcConnection class available

which isn't very informative, unfortunately.

Thanks, Jonathan


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

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




I18n get rid of namespace declaration

2002-06-03 Thread Franosch, Heike

Hi all,

I am happily using the i18n transformer that really runs fine.
My problem now is, the application receiving the output does not like 
the namespace declaration.
Is there a way to get rid of it?

I already tried appending a self transformer and useing the
exclude-result-prefix.
But in here, I need the "copy-of" ... and then it would not work.

Can anybody help?
Thanks, Heike

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

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




Migrating from Cocoon 1 to Cocoon 2

2002-06-03 Thread Michael-K . Hansen


  Evening --

  I have an intranet application that uses Cocoon, xalan, and xerces, but it uses 
Cocoon 1.0 - and need to upgrade to Cocoon 2.0.  Does anyone have any sources for 
how-tos or can share their experiences?

  Thanks,

  Mike



Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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

2002-06-03 Thread Spectron International, Inc.

I compiled the HEAD version of Cocoon, this time I used build installwar,
and everything was created ok, my problem is that everithing gives me the
same error, can anyone tell me what I'm doing wrong?

ERROR (2002-06-03) 16:33.12:164 [access](/cocoon/welcome)
SocketListener-3/CocoonServlet: Problem with Cocoon servlet
org.apache.avalon.framework.configuration.ConfigurationException: Cannot get
component selector for 'generate' at
file:/opt/jetty/webapps/cocoon/sitemap.xmap:400:56
at
org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.getTypeForStat
ement(DefaultTreeBuilder.java:537)
at
org.apache.cocoon.components.treeprocessor.sitemap.GenerateNodeBuilder.build
Node(GenerateNodeBuilder.java:78)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuild
er.buildChildNodesList(AbstractParentProcessingNodeBuilder.java:156)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuild
er.buildChildNodes(AbstractParentProcessingNodeBuilder.java:172)
at
org.apache.cocoon.components.treeprocessor.ContainerNodeBuilder.setupNode(Co
ntainerNodeBuilder.java:85)
at
org.apache.cocoon.components.treeprocessor.NamedContainerNodeBuilder.buildNo
de(NamedContainerNodeBuilder.java:76)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuild
er.buildChildNodesList(AbstractParentProcessingNodeBuilder.java:156)
at
org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder.buildNode(Cat
egoryNodeBuilder.java:98)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuild
er.buildChildNodesList(AbstractParentProcessingNodeBuilder.java:156)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuild
er.buildChildNodes(AbstractParentProcessingNodeBuilder.java:172)
at
org.apache.cocoon.components.treeprocessor.sitemap.SitemapNodeBuilder.buildN
ode(SitemapNodeBuilder.java:76)
at
org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.createTree(Def
aultTreeBuilder.java:358)
at
org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(DefaultT
reeBuilder.java:426)
at
org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(DefaultT
reeBuilder.java:389)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode(TreeP
rocessor.java:401)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:321)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:309)
at org.apache.cocoon.Cocoon.process(Cocoon.java:588)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1034)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:326)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:595)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1357)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1309)
at org.mortbay.http.HttpServer.service(HttpServer.java:744)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:743)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:916)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:758)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:145)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287)
at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:715)
at java.lang.Thread.run(Thread.java:484)

org.apache.avalon.framework.component.ComponentException: Could not access
the Component
at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Excal
iburComponentManager.java:364)
at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentMa
nager.java:215)
at
org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.getTypeForStat
ement(DefaultTreeBuilder.java:532)
at
org.apache.cocoon.components.treeprocessor.sitemap.GenerateNodeBuilder.build
Node(GenerateNodeBuilder.java:78)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuild
er.buildChildNodesList(AbstractParentProcessingNodeBuilder.java:156)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuild
er.buildChildNodes(AbstractParentProcessingNodeBuilder.java:172)
at
org.apache.cocoon.components.treeprocessor.ContainerNodeBuilder.setupNode(Co
ntainerNodeBuilder.java:85)
at
org.apache.cocoon.components.treeprocessor.NamedContainerNodeBuilder.buildNo
de(NamedContainerNodeBuilder.java:76)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuild
er.buildChildNodesList(AbstractParentProcessingNodeBuilder.java:156)
at
org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder.buildNode(Cat
egoryNodeBuilder.java:98)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuild
er.buildChildNodesList(AbstractParentProcessingNodeBuilder.java:156)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBu

Cocoon startup problem (repost)

2002-06-03 Thread Hutchins, Richard

Had to try to repost; attachment on original message made e-mail > 75k.

---
I am using SDK 1.4.0 and Tomcat 4.0.3. I just installed Cocoon 2.0.1 on a
Windows 2000 machine as the directions indicate, but I get a fatal error
(language exception) in the browser (IE 5.5) each time I try to access
cocoon through localhost:8080. Not really sure how this list works, so I
have attached the error.log.01 file in hopes that it would point to the
specific problem. The beginning of the internal server error appears below:

type fatal
message Language Exception
description org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap: Line 0, column 0: could not parse error message: error:
Invalid class file format in
C:\j2sdk1.4.0\jre\lib\rt.jar(java/io/OutputStream.class). The major.minor
version '48.0' is too recent for this tool to understand. C:\Program
Files\Apache Tomcat
4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.ja
va:12: Class java.io.OutputStream not found in import. import
java.io.OutputStream; ^ Line 0, column 0: could not parse error message:
error: Invalid class file format in C:\j2sdk1.4.0\jre\lib\rt.jar

and so on and so on...

I'm no pro, but judging from the plain English at the beginning of the
error, it would seem that Cocoon does not work with the 1.4.0 distribution
of the SDK.

If anybody else has encountered this, I'd appreciate any suggestions. I'd
hate to think that I have to step backwards to SDK 1.3.x to actually use
Cocoon.

Rich Hutchins


Rich Hutchins
Sr. Technical Writing Administrator
Getinge/Castle, Inc.
1777 E. Henrietta Rd.
Rochester NY 14623
716-272-5072


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

2002-06-03 Thread Hutchins, Richard

I am using SDK 1.4.0 and Tomcat 4.0.3. I just installed Cocoon 2.0.1 on a
Windows 2000 machine as the directions indicate, but I get a fatal error
(language exception) in the browser (IE 5.5) each time I try to access
cocoon through localhost:8080. Not really sure how this list works, so I
have attached the error.log.01 file in hopes that it would point to the
specific problem. The beginning of the internal server error appears below:

type fatal
message Language Exception
description org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap: Line 0, column 0: could not parse error message: error:
Invalid class file format in
C:\j2sdk1.4.0\jre\lib\rt.jar(java/io/OutputStream.class). The major.minor
version '48.0' is too recent for this tool to understand. C:\Program
Files\Apache Tomcat
4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.ja
va:12: Class java.io.OutputStream not found in import. import
java.io.OutputStream; ^ Line 0, column 0: could not parse error message:
error: Invalid class file format in C:\j2sdk1.4.0\jre\lib\rt.jar

and so on and so on...

I'm no pro, but judging from the plain English at the beginning of the
error, it would seem that Cocoon does not work with the 1.4.0 distribution
of the SDK.

If anybody else has encountered this, I'd appreciate any suggestions. I'd
hate to think that I have to step backwards to SDK 1.3.x to actually use
Cocoon.

Rich Hutchins
 <> 



error.log.01
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]>


DatabaseReader problem

2002-06-03 Thread Naquin, Beth
Title: DatabaseReader problem






Hello,
I am a cocoon newbie, so any suggestions are greatly appreciated!


I have the following entry in my sitemap, to try and use the DatabaseReader:



  
    
        
        
        
    


   


The column named "pin" is an INT in the Sybase database.  I get the following error in the sitemap.log.


What do I need to do to tell the DatabaseReader I am sending an INT and not a string in the src=""02000437"" line?
Cocoon 2.0.2
JDK 1.3
Tomcat 4.0.1


Thanks,
Beth


WARN    (2002-06-03) 12:09.00:920   [sitemap.reader.img-db](/cocoon/otda_1/images_db/02000437.jpg) HttpProcessor[8080][2]/DatabaseReader: Could not get resource from Database

com.sybase.jdbc2.jdbc.SybSQLException: Implicit conversion from datatype 'CHAR' to 'INT' is not allowed.  Use the CONVERT function to run this query.

    at com.sybase.jdbc2.tds.Tds.processEed(Tds.java:2429)
    at com.sybase.jdbc2.tds.Tds.nextResult(Tds.java:1865)
    at com.sybase.jdbc2.jdbc.ResultGetter.nextResult(ResultGetter.java:69)
    at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:201)
    at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:182)
    at com.sybase.jdbc2.jdbc.SybStatement.queryLoop(SybStatement.java:1401)
    at com.sybase.jdbc2.jdbc.SybStatement.executeQuery(SybStatement.java:1386)
    at com.sybase.jdbc2.jdbc.SybPreparedStatement.executeQuery(SybPreparedStatement.java:69)
    at org.apache.cocoon.reading.DatabaseReader.setup(DatabaseReader.java:137)
    at org.apache.cocoon.components.pipeline.CachingStreamPipeline.processReader(CachingStreamPipeline.java:135)
    at org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process(AbstractStreamPipeline.java:168)
    at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:293)
    at org.apache.cocoon.www.otda_1.sitemap_xmap.matchN1011A(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www/otda_1\sitemap_xmap.java:1436)

    at org.apache.cocoon.www.otda_1.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www/otda_1\sitemap_xmap.java:761)

    at org.apache.cocoon.www.otda_1.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www/otda_1\sitemap_xmap.java:660)

    at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
    at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
    at org.apache.cocoon.www.sitemap_xmap.matchN109E1(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:12247)

    at org.apache.cocoon.www.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:3870)

    at org.apache.cocoon.www.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:3127)

    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)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportVal

RE: How to store a generated xml in a location.

2002-06-03 Thread Bert Van Kets

Check out the files in src\webapp\sunspotdemo\resources in the CVS 
HEAD.  Lots of samples there.  The user data, the profiles, everything is 
saved using the SourceWritingTransformer.

HTH,
Bert

At 09:57 3/06/2002 -0400, you wrote:
> > From: Sreenivasan N. [mailto:[EMAIL PROTECTED]]
> >
> > Hi all
> >
> > Is it possible to store an xml document generated using database query
>into
> > cocoon or specified folder.
> > Is it possible to give a name to that file
>
>SourceWritingTransformer.java
>
>In the scratchpad.
>
>
>Vadim
>
>
> >
> > Thanks in advance
> >
> > Sreenivasan.
> >
> >
> >
> >
> >
> >
> >
> > "Attitudes are much more important than aptitudes."
> > "Nothing is impossible for a willing heart"
> >
> > Sreenivasan N.
> > Sony SARD
> > Ext 232
> >
> > Email. [EMAIL PROTECTED]
> > Per: [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: .htc how to (pipeline)

2002-06-03 Thread Bert Van Kets

I'm using text/plain as mime type.
Works fine,
Bert

At 20:24 3/06/2002 +0200, you wrote:


>On Mon, 3 Jun 2002, Cocoon User wrote:
>
> > please can you give an example of your pipeline
> >
>
>
>  
>
>
>Perhaps you should change the mime-type.
>
>
> > On Sun, 2 Jun 2002, Bert Van Kets wrote:
> >
> > > I have a browser based editor using htc files without any problem.  I 
> just
> > > created a pipeline that read the external files.  Everything works like a
> > > charm.
> > > I'm using Cocoon 2.1-dev.
> > > Bert
> > >
> > > At 11:51 1/06/2002 +0300, you wrote:
> > >
> > > >.htc files are nothing more than .js files
> > > >plus they are working just like VS's class modules
> > > >
> > > >so .htc are not well-formed xml
> > > >they are not xml
> > > >
> > > >i dontd understand why cocoon dont handle .htc file just like .js
> > > >
> > > >
> > > >On Tue, 28 May 2002, Kelly Cole wrote:
> > > >
> > > > > Did you get this to work? I don't know much about htc's except 
> that I have
> > > > > used the MS sample calendar.htc. I can't figure out how to set 
> the rule for
> > > > > it with Cocoon.
> > > > >
> > > > > How did you do it? I tried:
> > > > >   
> > > > >src="chart/calendar.htc"/>
> > > > >   
> > > > >   
> > > > >
> > > > > Note: My htc file is not well-formed xml. Is this the problem for me?
> > > > >
> > > > > Thanks,
> > > > > Kelly
> > > > >
> > > > > -Original Message-
> > > > > From: Stephen Ng [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Tuesday, May 14, 2002 6:39 PM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: RE: .htc how to
> > > > >
> > > > >
> > > > > You must serve the .htc from Cocoon--do you have a rule for it in 
> your
> > > > > sitemap?
> > > > >
> > > > > > -Original Message-
> > > > > > From: Cocoon User [mailto:[EMAIL PROTECTED]]
> > > > > > Sent: Monday, May 13, 2002 8:07 PM
> > > > > > To: [EMAIL PROTECTED]
> > > > > > Subject: .htc how to
> > > > > >
> > > > > >
> > > > > >
> > > > > > i have a behavor (microsoft .htc)
> > > > > >  attached in a stylesheet
> > > > > > i aply this style into a  element in a .xml page
> > > > > > when i transofrm this .xml using xsl in IE6 i recieve re corect 
> result
> > > > > >
> > > > > > but through cocoon i see everything except the result i'm 
> waiting from
> > > > > > .htc
> > > > > >
> > > > > >
> > > > > > any idea ?
> > > > > >
> > > > > > 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]>
> > > > >
> > > > >
> > > > >
> > > > > -
> > > > > Please check that your 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]>
> >
>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL 

Re: XMLtoAny

2002-06-03 Thread Bert Van Kets

Have you looked at the Cocoon servlet, that's only 750KB :-P

Cocoon packs a LOT more functionality than the translation from XML to html 
and WML.

I think you are underestimating Cocoon a LOT.

Bert


At 09:16 3/06/2002 +0200, you wrote:
>People,
>
>Have you ever seen this?
>
>http://www.javazoom.net/jzservlets/xmltoany/xmltoany.html
>
>It sounds a lot like cocoon, it is much smaller (about 1 MB zipped).
>
>Regards,
>
>Edgar
>
>-
>Please check that your 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: sunrise authentication with a java class

2002-06-03 Thread Bert Van Kets

Hi Brian,

At 20:05 2/06/2002 -0400, you wrote:
> > -Original Message-
> > From: Bert Van Kets [mailto:[EMAIL PROTECTED]]
> > Subject: RE: sunrise authentication with a java class
> >
> > If you use the 2.1-dev HEAD branch you need to adjust a LOT
> > of things in
> > the sitemap and the config.xconf files.
>
>Ruh roh, that's me!
>
>This is making me feel like an idiot.  Do you have any small samples, or 
>could you look at mine?  I'd be happy to send you a zip/tgz of my fileset 
>so you can see everything as well.

You already have the samples if you are using the CVS HEAD. Everything is 
in the sitemap and config.xconf from the that one.  Build with 
installscratchpadwar and you'll have everything you need.  I used that to 
start with .  I only needed to adjust the action parameters.  The tutor 
from Matthew is still correct on that part.

Regarding the logicsheets, look at the portal files.  You'll find enough 
samples in the portal 
directory. 
src\webapp\sunspotdemo\resources\auth\sunletconfig-customnews.xml uses the 
session logicsheet.  Adjust the namespace uri to the one in the file.

It's not hard, just a lot of copy and paste work.

Bert


>Thanks!
>
>Brian
>
>-
>Please check that your 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: iPlanet 6.5 + Cocoon - is there still problem with serv;et container?

2002-06-03 Thread Artur Bialecki



> -Original Message-
> From: Argyn Kuketayev [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 03, 2002 12:59 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: iPlanet 6.5 + Cocoon - is there still problem with serv;et
> container?
> 
> 
> > Don't know exactly what problem you're talking about but
> 
> I mean this: 
> "iPlanet Web Server 4.x provides the servlet 2.2 API (javax.servlet.*
> classes), but the servlet engine doesn't handle servlet contexts. This means
> there is no classloader built with the contents of WEB-INF/classes and
> WEB-INF/lib and that resolution of context resources (using
> ServletContext.getResource()) doesn't give the expected results." 
> 
> cited from http://xml.apache.org/cocoon/installing/index.html
> 

I use the servlet container that is part of iAS not the one that
comes with iWS. I know in iAS 6.0 WEB-INF/lib was ignored so I don't
have anything in there, I add my libs to the iAS classpath (using registry).
Also, I don't explicitly call ServletContext.getResource() anywhere
in my code, cocoon does most of the resource finding for me, webserver
takes care of images and static docs (for now).

> > I have Cocoon 2.0.2 (with Saxon 6.5.2, jexen) running under iAS 6.5
> > on w2k and Sol8. I don't remember running into any problems.
> 
> nice to hear it. many thanks.
> 
> unfortunately, C2 installation document doesn't say anything about iPlanet
> 6.5 :(
> is the following statement still true? 
> 
> "To be able to run on such non-compliant engines, Cocoon provides a
> bootstrap servlet in org.apache.cocoon.BootstrapServletthat handles all the
> servlet context related behaviours needed for proper functioning. " from the
> above doc.

It very well may be. Again, other than putting all cocoon related libraties at
the beginning of the iAS classpath I didn't have to do anything special.
It's possible that cocoon detects this resource problem and uses the 
BootstarServlet automagically.

Artur...


> 
> 
> thanks,
> Argyn
> 
> -
> Please check that your 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: .htc how to (pipeline)

2002-06-03 Thread Stephan Michels



On Mon, 3 Jun 2002, Cocoon User wrote:

> please can you give an example of your pipeline
>


 


Perhaps you should change the mime-type.


> On Sun, 2 Jun 2002, Bert Van Kets wrote:
>
> > I have a browser based editor using htc files without any problem.  I just
> > created a pipeline that read the external files.  Everything works like a
> > charm.
> > I'm using Cocoon 2.1-dev.
> > Bert
> >
> > At 11:51 1/06/2002 +0300, you wrote:
> >
> > >.htc files are nothing more than .js files
> > >plus they are working just like VS's class modules
> > >
> > >so .htc are not well-formed xml
> > >they are not xml
> > >
> > >i dontd understand why cocoon dont handle .htc file just like .js
> > >
> > >
> > >On Tue, 28 May 2002, Kelly Cole wrote:
> > >
> > > > Did you get this to work? I don't know much about htc's except that I have
> > > > used the MS sample calendar.htc. I can't figure out how to set the rule for
> > > > it with Cocoon.
> > > >
> > > > How did you do it? I tried:
> > > >   
> > > >   
> > > >   
> > > >   
> > > >
> > > > Note: My htc file is not well-formed xml. Is this the problem for me?
> > > >
> > > > Thanks,
> > > > Kelly
> > > >
> > > > -Original Message-
> > > > From: Stephen Ng [mailto:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, May 14, 2002 6:39 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: .htc how to
> > > >
> > > >
> > > > You must serve the .htc from Cocoon--do you have a rule for it in your
> > > > sitemap?
> > > >
> > > > > -Original Message-
> > > > > From: Cocoon User [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Monday, May 13, 2002 8:07 PM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: .htc how to
> > > > >
> > > > >
> > > > >
> > > > > i have a behavor (microsoft .htc)
> > > > >  attached in a stylesheet
> > > > > i aply this style into a  element in a .xml page
> > > > > when i transofrm this .xml using xsl in IE6 i recieve re corect result
> > > > >
> > > > > but through cocoon i see everything except the result i'm waiting from
> > > > > .htc
> > > > >
> > > > >
> > > > > any idea ?
> > > > >
> > > > > 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]>
> > > >
> > > >
> > > >
> > > > -
> > > > Please check that your 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]>
>


-
Please check that your 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: SQL, Actions, ESQL Help Please!!!

2002-06-03 Thread Christian Haul

On 03.Jun.2002 -- 10:11 AM, daniel robinson wrote:
> Hi,
> 
> I've been poking around but I'm clueless (yes, generally as well as
> specifically).
> 
> What am I trying to do:
> 
> 1) I have a PostgreSQL table with a field called "StoryText" defined as
> a "Text" (virtually unlmited size text data)

Texts are a special case that is IMHO not handled. Texts (CLOBs and
BLOBs) need to be read and written through a stream. Patches are welcome :-)

> 2) I wish to update this table with the contents of an XML element ( say
> 
> a lot of text with special characters like ' as well as
> html code who is this
> noob?

esql:get-xml is your friend. But it requires well formed XML / XHTML.

> 3) I've tried ESQL like this:
> 
> 
>  VSolano
>  
>
> 
> 
> update "Story" set "Title"= ' name="Title"/>',
>   "Description"= ' name="Description"/>',
>   StoryText"= ' name="StoryText"/>'
> where "ContentID" = ' name="ContentID"/>'
> 
>
>  
>
> 
> There have been many attempts :).  I HAVE been able to update the table
> when I use literals and short values for the updates themselves (i.e.
> ...set "Title"='This is for noobs').

See above.

> My questions:
> 
> 1) should I be using ESQL or Actions?  There has been some discussion on
> the listserve that seems to indicate that Actions are the way to go.

In my opinion actions are great for inset / delete / update and esql
is great for select. BTW the database actions do support CLOBs.

> 2) do the DatabaseActions work?  there seems to have been a lot of
> confusion about this.

They do work, although I advocate using the "new" ones form the
actions.modular package (CVS-HEAD or CVS-2.0.3 scratchpad).
Is there? If you can sumarize it I'd be happy to comment.

> 3) Does someone have examples - hopefully of exactly the sort of thing
> I'm trying to do - Store XML in the db - I'm sure I'm not the first.

Sorry, not at hand.

> I am putting together documentation so that when this is all over I can
> SHARE IT, because no-one should have to live through this again.  :)

Speaking of documentation, there is some more on datbases and cocoon
in CVS-2.0.3 or now live on site. See
http://xml.apache.org/cocoon/userdocs/concepts/databases.html for a
start.

Plus, I'm currently (right now) writing a bit more on the esql
logicsheet. Stay tuned. That shouldn't keep you from writing docs,
though. We can't get enough of them!

Chris.

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


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

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




RE: .htc how to (pipeline)

2002-06-03 Thread Cocoon User

please can you give an example of your pipeline



thanks

kounis stavros

On Sun, 2 Jun 2002, Bert Van Kets wrote:

> I have a browser based editor using htc files without any problem.  I just
> created a pipeline that read the external files.  Everything works like a
> charm.
> I'm using Cocoon 2.1-dev.
> Bert
>
> At 11:51 1/06/2002 +0300, you wrote:
>
> >.htc files are nothing more than .js files
> >plus they are working just like VS's class modules
> >
> >so .htc are not well-formed xml
> >they are not xml
> >
> >i dontd understand why cocoon dont handle .htc file just like .js
> >
> >
> >On Tue, 28 May 2002, Kelly Cole wrote:
> >
> > > Did you get this to work? I don't know much about htc's except that I have
> > > used the MS sample calendar.htc. I can't figure out how to set the rule for
> > > it with Cocoon.
> > >
> > > How did you do it? I tried:
> > >   
> > >   
> > >   
> > >   
> > >
> > > Note: My htc file is not well-formed xml. Is this the problem for me?
> > >
> > > Thanks,
> > > Kelly
> > >
> > > -Original Message-
> > > From: Stephen Ng [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, May 14, 2002 6:39 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: .htc how to
> > >
> > >
> > > You must serve the .htc from Cocoon--do you have a rule for it in your
> > > sitemap?
> > >
> > > > -Original Message-
> > > > From: Cocoon User [mailto:[EMAIL PROTECTED]]
> > > > Sent: Monday, May 13, 2002 8:07 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: .htc how to
> > > >
> > > >
> > > >
> > > > i have a behavor (microsoft .htc)
> > > >  attached in a stylesheet
> > > > i aply this style into a  element in a .xml page
> > > > when i transofrm this .xml using xsl in IE6 i recieve re corect result
> > > >
> > > > but through cocoon i see everything except the result i'm waiting from
> > > > .htc
> > > >
> > > >
> > > > any idea ?
> > > >
> > > > 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]>
> > >
> > >
> > >
> > > -
> > > Please check that your 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]>




SQL, Actions, ESQL Help Please!!!

2002-06-03 Thread daniel robinson

Hi,

I've been poking around but I'm clueless (yes, generally as well as
specifically).

What am I trying to do:

1) I have a PostgreSQL table with a field called "StoryText" defined as
a "Text" (virtually unlmited size text data)
2) I wish to update this table with the contents of an XML element ( say

a lot of text with special characters like ' as well as
html code who is this
noob?

3) I've tried ESQL like this:


 VSolano
 
   


update "Story" set "Title"= '',
  "Description"= '',
  StoryText"= ''
where "ContentID" = ''

   
 
   

There have been many attempts :).  I HAVE been able to update the table
when I use literals and short values for the updates themselves (i.e.
...set "Title"='This is for noobs').

My questions:

1) should I be using ESQL or Actions?  There has been some discussion on
the listserve that seems to indicate that Actions are the way to go.
2) do the DatabaseActions work?  there seems to have been a lot of
confusion about this.
3) Does someone have examples - hopefully of exactly the sort of thing
I'm trying to do - Store XML in the db - I'm sure I'm not the first.

I am putting together documentation so that when this is all over I can
SHARE IT, because no-one should have to live through this again.  :)

Thanks,

Dan



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

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




wml and xmlns

2002-06-03 Thread zze-STIENNE Nicolas FTRD/DMI/CAE
Title: wml and xmlns






Hello...


I generate html pages with my Cocoon 2.0.2 (+Tomcat 4.0.3 + JDK1.3.1)

installation.


Now I want to generate wml pages. My problem is that I use a namespace

in my documents : 

xmlns:site="http://www.monsite.fr"

It seems to be forbidden to use one in wml...


The generated code looks like that : 



"http://www.wapforum.org/DTD/wml_1.1.xml">

http://www.monsite.fr">







Logo



Presentation

généraleTransportLogistiqueContactEspace

clients






The wap simulator says : Invalid WML code

If I try to modify the code by hand and remlove the xmlns part (->

instead of http://www.monsite.fr">), it works...


So my question is : How could I do ?

One solution were probably to remove all the xmlns notifications... but

if there were another, I would prefere...


Thanks for your help

Nicolas !!

(I apologize for my poor english)


Extracts of my files : 


menu.xsl




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

version='1.0'

    xmlns:site="http://www.monsite.fr">

















Logo

     




  

    

  

     








toc.xml : 







    xmlns:xlink="http://www.w3.org/1999/xlink"

    xmlns:i18n="http://apache.org/cocoon/i18n/2.0"

    xmlns:site="http://www.monsite.fr">





  

    Presentation generale



    Historique

    Nos" atouts

    Chiffres" clefs

  

  

  

    Transport



    Transport" par lot

    Messagerie

    PO" Express

  

[...]



-


sitemap.xmap




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


  

    

    

   

src=""org.apache.cocoon.transformation.TraxTransformer"/>

 

  

    

   

src=""org.apache.cocoon.serialization.HTMLSerializer"/>


   

mime-type="text/vnd.wap.wml" name="wml"

src=""org.apache.cocoon.serialization.XMLSerializer">

 -//WAPFORUM//DTD WML 1.1//EN

 

http://www.wapforum.org/DTD/wml_1.1.xml

 ASCII

 yes

    

[...]


  



    

    



    

  


[...]




-
Please check that your 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: iPlanet 6.5 + Cocoon - is there still problem with serv;et container?

2002-06-03 Thread Argyn Kuketayev

> Don't know exactly what problem you're talking about but

I mean this: 
"iPlanet Web Server 4.x provides the servlet 2.2 API (javax.servlet.*
classes), but the servlet engine doesn't handle servlet contexts. This means
there is no classloader built with the contents of WEB-INF/classes and
WEB-INF/lib and that resolution of context resources (using
ServletContext.getResource()) doesn't give the expected results." 

cited from http://xml.apache.org/cocoon/installing/index.html

> I have Cocoon 2.0.2 (with Saxon 6.5.2, jexen) running under iAS 6.5
> on w2k and Sol8. I don't remember running into any problems.

nice to hear it. many thanks.

unfortunately, C2 installation document doesn't say anything about iPlanet
6.5 :(
is the following statement still true? 

"To be able to run on such non-compliant engines, Cocoon provides a
bootstrap servlet in org.apache.cocoon.BootstrapServletthat handles all the
servlet context related behaviours needed for proper functioning. " from the
above doc.


thanks,
Argyn

-
Please check that your 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: Documentation (was: Sitemap: 'cocoon:' protocol)

2002-06-03 Thread Brian Topping

> -Original Message-
> From: Diana Shannon [mailto:[EMAIL PROTECTED]]
> Subject: Re: Sitemap: 'cocoon:' protocol
> 
> If you are a definite on contributing, let me know. I'm also 
> interested 
> to know where you think it belongs within the given doc 
> structure.  I'll 
> put your name on a soon-to-be committed list of docs in process so no 
> one else duplicates your efforts.

Cool, I'm definite about contributing.  Until I can get up to speed on the code enough 
to do something meaningful in there, I might as well document the places that I got 
tripped up on my path.

I'll take a look around.  I still have to get a better understanding of what I am 
writing about and what I can improve.  From the feedback that you and Vadim gave about 
the cocoon: protocol already being documented, one of the things that could really use 
improvement is either a) change highlighting ("check back often" is really onerous) or 
b) a better organization of the docs or c) both a and b.  I thought I re-read all the 
docs since my last foray back in February, but I guess I missed some.  

It seems to me that we need a my.xml.apache.org with a coplet containing an MRU cache 
of recently changed documents.  Someone on Forrest said that anything but statically 
generated sites were a no-no, I presume because of the on-call maintenance involved 
with keeping live sites running in a volunteer organization.  If you ask me, this 
requirement to "eat our own dog food" could go a long way toward making the system 
more robust.  Cocoon is the only technology in the XML group that can support a live 
site, and IMHO, might be the most advanced technology on the planet right now for 
publishing.  There's some amount of value to a firsthand understanding of what it 
means to run a massive site with the technology, this would provide it.  

yammer yammer yammer :)

-b

-
Please check that your 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: iPlanet 6.5 + Cocoon - is there still problem with serv;et container?

2002-06-03 Thread Artur Bialecki


iPlanet DOES suck, but so does every other j2ee container.
As with all infants you have to do exactly what they want
or they will cry/barf and don't forget to clean up their shit.

Don't know exactly what problem you're talking about but
I have Cocoon 2.0.2 (with Saxon 6.5.2, jexen) running under iAS 6.5
on w2k and Sol8. I don't remember running into any problems.

Artur...


> -Original Message-
> From: Argyn Kuketayev [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 03, 2002 11:54 AM
> To: Cocoon-Users (E-mail)
> Subject: iPlanet 6.5 + Cocoon - is there still problem with serv;et
> container?
> 
> 
> I've read that there was an issue with iPlanet and Cocoon. So, Cocoon had a
> special servlet to fix iPlanet's weird behaviour.
> 
> Does that same problem persist for iPlanet 6.5 and Cocoon 2.0.x? I plan to
> use Coconn 2.0.1 or 2.0.3.
> 
> Thanks,
> Argyn
> 
> (iPlanet sucks)
> 
> -
> Please check that your 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]>




Livesites - www.duitslandweb.nl - Cocoon 2

2002-06-03 Thread Arjé Cahn

(Posted again because of malformed subject)

Regards,

Arjé Cahn


-
Content Management Department
Hippo Webworks
Grasweg 35
1031 HW Amsterdam
The Netherlands
Tel  +31 (0)20 6345173 
Fax +31 (0)20 6345179
arje(at)hippo(dot)nl / www.hippo.nl


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

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




iPlanet 6.5 + Cocoon - is there still problem with serv;et container?

2002-06-03 Thread Argyn Kuketayev

I've read that there was an issue with iPlanet and Cocoon. So, Cocoon had a
special servlet to fix iPlanet's weird behaviour.

Does that same problem persist for iPlanet 6.5 and Cocoon 2.0.x? I plan to
use Coconn 2.0.1 or 2.0.3.

Thanks,
Argyn

(iPlanet sucks)

-
Please check that your 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 cocoon after build

2002-06-03 Thread Spectron International, Inc.

I downloaded the HEAD vercion from CVS, compiled it and tried to use it and
it says it is missing the org.apache.cocoon.sunshine.SunShine class. Where
can I find this class? The exacterror is:

ERROR (2002-06-03) 11:27.23:718[access](Unknown-URI)
Unknown-thread/CocoonServlet: Exception reloading
org.apache.avalon.framework.configuration.ConfigurationException: Could not
get class
at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.configure(Ex
caliburComponentManager.java:448)
at org.apache.cocoon.Cocoon.configure(Cocoon.java:410)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:269)
at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1268
)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:436)
at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:203)
at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.j
ava:403)
at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.
java:430)
at org.mortbay.http.HttpServer.start(HttpServer.java:187)
at org.mortbay.jetty.Server.main(Server.java:331)
java.lang.ClassNotFoundException: org.apache.cocoon.sunshine.SunShine
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.configure(Ex
caliburComponentManager.java:435)
at org.apache.cocoon.Cocoon.configure(Cocoon.java:410)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:269)
at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1268
)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:436)
at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:203)
at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.j
ava:403)
at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.
java:430)
at org.mortbay.http.HttpServer.start(HttpServer.java:187)
at org.mortbay.jetty.Server.main(Server.java:331)


-
Please check that your 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] bug: still have to touch XSP file after changing logicsheet

2002-06-03 Thread Christopher Painter-Wakefield


I see.  For some reason, I thought this mechanism was deprecated along with
all processing directive types of things.

Since things are apparently working the way they are supposed to, then let
me change this from a bug report to a request: it would be nice to have
built-in logicsheets checked for changes, too.  If there are performance
reasons to avoid this, perhaps there could be an attribute in the
logicsheet declarations in the cocoon.xconf that would allow us to specify
logicsheets that should be checked.  Sure would make things easier,
especially when working with files under SCC.

-Christopher



> From: Christopher Painter-Wakefield [mailto:[EMAIL PROTECTED]]
>
>
> Cocoon doesn't recognize the dependencies of XSP files on the
logicsheet
> they use.  Changing a logicsheet does not force a recompile of the
> dependent XSP pages.  Instead we must manually touch each XSP page
using
> the logicsheet.
>
> I know this has been reported in the past, but it is a constant
annoyance,
> and I'm wondering if there is a time when we can expect a fix?

IIRC, this depends how you referencing your logicsheet. Changes in
built-in logicsheet are not monitored, but if logicsheet is referenced
directly from the XSP, changes are noticed.

Check out logicsheet.xsp sample - it works perfectly, and recognizes
dependencies in the hello.xsl logicsheet.

Vadim

>
> Thanks,
> Christopher
>



-
Please check that your 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: SSL support of ResourceReader/FileGenerator

2002-06-03 Thread Conny Pemfors

does anybody know how to connect to a database and start using forms for
this purpose such as JSP, or XSL to show data.

kind regards
Conny


- Original Message -
From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 03, 2002 3:24 PM
Subject: RE: SSL support of ResourceReader/FileGenerator


> From: Sternath Elmar [mailto:[EMAIL PROTECTED]]
>
> Hi Vadim,
>
> thanks for your reply. I'm not really sure if the problem is totally
offtopic.
> But I must admit that I was a little bit inprecise. As I tried to tell
you
> before, I put the http request
https://139.21.207.160:8443/elster/OTTest.html
> of my cocoon sitemap directly into the browser line and there were no
problems
> with the https configuration on my target server - the page was
correctly
> displayed. But as soon as I use this request in the cocoon framework,
the
> SSLHandshakeException occurs. So it actually seems that the reason for
this
> exception must have to do something with the cocoon client.

IIRC, Cocoon uses URLConnection to get http and https resources. But
this works only after some configuration is done in your JDK/JRE. Check
out java docs on this.

To test that everything is working ok, try simple JSP/XSP with code
like:
  new URL("https://www.verisign.com/";).openStream()

(see
http://java.sun.com/j2se/1.4/docs/guide/security/jsse/samples/urls/URLRe
ader.java)

If you encounter any exception, this means that something is wrong in
the JDK/JRE configuration, and Cocoon also wouldn't be able to process
this URL.


Vadim

>
> Sorry,
> Elmar
>
> -Ursprüngliche Nachricht-
> Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> Gesendet: Samstag, 1. Juni 2002 21:08
> An: [EMAIL PROTECTED]
> Betreff: RE: SSL support of ResourceReader/FileGenerator
>
>
> > From: bob phillips [mailto:[EMAIL PROTECTED]]
> >
> > this is one difference between the cocoon community and the zope
> community:
> > The Zope community tries to help people who use the software, rather
> than
> > immediately shouting off topic.
> >
> > Using SSL with cocoon should be an important part of the discussion
> here, IMO.
>
> From Cocoon (and any other application using URLConnection)
perspective,
> https does not differ from http if it configured correctly. Please
read
> link provided before criticizing.
>
> Vadim
>
> > At 12:05 PM 6/1/2002 -0400, you wrote:
> > > > From: Sternath Elmar [mailto:[EMAIL PROTECTED]]
> > > >
> > > > > Hello,
> > > > >
> > > > > I try to get files using ResourceReader/FileGenerator
> > > > (cocoon2.0.2/tomcat4.0.3/jdk1.4.0)  :
> > > > >
> > > > >  
> > > > > 
> > > > >  > > > src="https://139.21.207.160:8443/elster/OTTest.html"/>
> > > > > 
> > > > > 
> > > > >
> > > > > Cocoon server and target server are one and the same instance.
> > > > >
> > > > > When I put the http request directly in my browser, the file
is
> > >correctly
> > > > transferred and displayed. As soon as I use the request  in my
> cocoon
> > > > pipeline, an SSLException SSLHandshakeException
> unknown_certificate
> > >with
> > > > JDK1.4 occurs in tomcat server. Can anyone tell me if, how and
in
> > >which cocoon
> > > > versions SSL is supported for FileGenerator/ResourceReader and
how
> my
> > >problem
> > > > can be solved?
> > >
> > >It has nothing to do with cocoon and totally offtopic.
> > >
> > >Go to java.sun.com for software and installation tips for SSL.
> > >
> >
>
>http://java.sun.com/j2se/1.4/docs/guide/security/jsse/JSSERefGuide.html
> #
> > >Troubleshooting
> > >
> > >
> > >Vadim
> > >
> > >
> > > > >
> > > > > Thanks in advance,
> > > > > Elmar
> > >
> > >
> > >
> >
>-
> > >Please check that your 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]>



-
Please

RE: How to store a generated xml in a location.

2002-06-03 Thread Vadim Gritsenko

> From: Sreenivasan N. [mailto:[EMAIL PROTECTED]]
> 
> Hi all
> 
> Is it possible to store an xml document generated using database query
into
> cocoon or specified folder.
> Is it possible to give a name to that file

SourceWritingTransformer.java

In the scratchpad.


Vadim


> 
> Thanks in advance
> 
> Sreenivasan.
> 
> 
> 
> 
> 
> 
> 
> "Attitudes are much more important than aptitudes."
> "Nothing is impossible for a willing heart"
> 
> Sreenivasan N.
> Sony SARD
> Ext 232
> 
> Email. [EMAIL PROTECTED]
> Per: [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: How to store a generated xml in a location.

2002-06-03 Thread Volker Schneider

Hi,

you can start your pipeline from a html page and press your right mouse
button on that link and choose "save as...". That's only for testing
purposes.

Best regards
- Volker -

-Original Message-
From: Sreenivasan N. [mailto:[EMAIL PROTECTED]]
Sent: Montag, 3. Juni 2002 13:25
To: [EMAIL PROTECTED]
Subject: How to store a generated xml in a location.


Hi all

Is it possible to store an xml document generated using database query into
cocoon or specified folder.
Is it possible to give a name to that file

Thanks in advance

Sreenivasan.







"Attitudes are much more important than aptitudes."
"Nothing is impossible for a willing heart"

Sreenivasan N.
Sony SARD
Ext 232

Email. [EMAIL PROTECTED]
Per: [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: XMLtoAny

2002-06-03 Thread Vadim Gritsenko

> From: Graaf, Edgar de (fin) [mailto:[EMAIL PROTECTED]]
> 
> People,
> 
> Have you ever seen this?
> 
> http://www.javazoom.net/jzservlets/xmltoany/xmltoany.html

" is a free servlet that uses XSLT to provide content from XML source
and XSL stylesheet"
 
> It sounds a lot like cocoon, it is much smaller (about 1 MB zipped).

It sounds like stripped down Cocoon 1...

Remove all libraries from the Cocoon 1, reuse XML parser and XSLT engine
from Tomcat, remove PDF, SVG, XSP, etc - and you will have same
functionality as XMLtoANY under 500K.

Vadim


> Regards,
> 
> Edgar
> 


-
Please check that your 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: slow xalan transformation

2002-06-03 Thread KOZLOV Roman

Unfortunatelly, Xindice has a very hard restriction on queries: xpath expression
cann't contain non-ASCII characters.

Roman

Adrian Petru Dimulescu wrote:

> > I installed today a cvs cocoon on a Tomcat 4.0.3 / jdk 1.3.1_01 and it
> > works fine if it weren't for the slow xslt transformation.
>
> A bit late as self-response but here it goes: extracting sub-trees with XSLT
> is not really a sign of genius as long as tools as Xindice exist.
>
> so a native xml database solves the problem -- two second-average time per
> chapter extraction --- i'll play some more with indexes maybe it can get even
> better.
>
> and as if it weren't enough, XIndice is just perfectly integrated into
> Cocoon...
>
> -
> Please check that your 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: Sitemap: 'cocoon:' protocol

2002-06-03 Thread Vadim Gritsenko

> From: Brian Topping [mailto:[EMAIL PROTECTED]]
> 
> Hi all,
> 
> I read in the release notes about the inclusion of the 'cocoon:'
protocol and
> the nifty hack to make 'cocoon://' reference from the base of the main
sitemap
> and 'cocoon:/' reference from the current sitemap.  Is that documented
> anywhere else but the release notes?

1) http://xml.apache.org/cocoon/userdocs/concepts/sitemap.html:
"The following list of examples summarizes some useful part sources:"
and below.
 
2)
http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/webapp/sub/sitemap.xma
p?rev=1.3&content-type=text/vnd.viewcvs-markup

and

http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/webapp/sub/docs/sample
s.xml?rev=1.5&content-type=text/vnd.viewcvs-markup


> Also, what is the function of 'cocoon:raw:'?  Does the same main
> sitemap/subsitemap distinction hold true with the trailing slashes
here as
> well?

In "raw:" mode request parameters of the original request are ignored.

I.e., suppose you requested URL:

   http://my/cocoon/page?x=y

And, during processing of this page, you access:

   cocoon://internal?a=b

In "internal" page, you will have access to parameter 'a' and 'x'.

If you have URL like:

   cocoon:raw://internal?a=b 

The only parameter will be 'a', 'x' won't be available.

(See RequestWrapper.java)


Vadim

> I'll put some doc patches together as I get these two figured out (if
they
> aren't already documented...)
> 
> Thanks,
> 
> Brian



-
Please check that your 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: SSL support of ResourceReader/FileGenerator

2002-06-03 Thread Vadim Gritsenko

> From: Sternath Elmar [mailto:[EMAIL PROTECTED]]
> 
> Hi Vadim,
> 
> thanks for your reply. I'm not really sure if the problem is totally
offtopic.
> But I must admit that I was a little bit inprecise. As I tried to tell
you
> before, I put the http request
https://139.21.207.160:8443/elster/OTTest.html
> of my cocoon sitemap directly into the browser line and there were no
problems
> with the https configuration on my target server - the page was
correctly
> displayed. But as soon as I use this request in the cocoon framework,
the
> SSLHandshakeException occurs. So it actually seems that the reason for
this
> exception must have to do something with the cocoon client.

IIRC, Cocoon uses URLConnection to get http and https resources. But
this works only after some configuration is done in your JDK/JRE. Check
out java docs on this.

To test that everything is working ok, try simple JSP/XSP with code
like:
  new URL("https://www.verisign.com/";).openStream()

(see
http://java.sun.com/j2se/1.4/docs/guide/security/jsse/samples/urls/URLRe
ader.java)

If you encounter any exception, this means that something is wrong in
the JDK/JRE configuration, and Cocoon also wouldn't be able to process
this URL.


Vadim

> 
> Sorry,
> Elmar
> 
> -Ursprüngliche Nachricht-
> Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> Gesendet: Samstag, 1. Juni 2002 21:08
> An: [EMAIL PROTECTED]
> Betreff: RE: SSL support of ResourceReader/FileGenerator
> 
> 
> > From: bob phillips [mailto:[EMAIL PROTECTED]]
> >
> > this is one difference between the cocoon community and the zope
> community:
> > The Zope community tries to help people who use the software, rather
> than
> > immediately shouting off topic.
> >
> > Using SSL with cocoon should be an important part of the discussion
> here, IMO.
> 
> From Cocoon (and any other application using URLConnection)
perspective,
> https does not differ from http if it configured correctly. Please
read
> link provided before criticizing.
> 
> Vadim
> 
> > At 12:05 PM 6/1/2002 -0400, you wrote:
> > > > From: Sternath Elmar [mailto:[EMAIL PROTECTED]]
> > > >
> > > > > Hello,
> > > > >
> > > > > I try to get files using ResourceReader/FileGenerator
> > > > (cocoon2.0.2/tomcat4.0.3/jdk1.4.0)  :
> > > > >
> > > > >  
> > > > > 
> > > > >  > > > src="https://139.21.207.160:8443/elster/OTTest.html"/>
> > > > > 
> > > > > 
> > > > >
> > > > > Cocoon server and target server are one and the same instance.
> > > > >
> > > > > When I put the http request directly in my browser, the file
is
> > >correctly
> > > > transferred and displayed. As soon as I use the request  in my
> cocoon
> > > > pipeline, an SSLException SSLHandshakeException
> unknown_certificate
> > >with
> > > > JDK1.4 occurs in tomcat server. Can anyone tell me if, how and
in
> > >which cocoon
> > > > versions SSL is supported for FileGenerator/ResourceReader and
how
> my
> > >problem
> > > > can be solved?
> > >
> > >It has nothing to do with cocoon and totally offtopic.
> > >
> > >Go to java.sun.com for software and installation tips for SSL.
> > >
> >
>
>http://java.sun.com/j2se/1.4/docs/guide/security/jsse/JSSERefGuide.html
> #
> > >Troubleshooting
> > >
> > >
> > >Vadim
> > >
> > >
> > > > >
> > > > > Thanks in advance,
> > > > > Elmar
> > >
> > >
> > >
> >
>-
> > >Please check that your 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]>



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

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




XMLForm + sunShine session context

2002-06-03 Thread Yromem.com MailingList

Hi,

do someone  write some xsl transformer that use XMLForm document as source
and
the 'sunShine' transformer to keep user's value of the form ?

just to not duplicate the job.

I plan to use this sitemap :




   
   
   
   
   
   
   
   
   
   
   
   



If someone know a better way, I will try to use it.

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




How to store a generated xml in a location.

2002-06-03 Thread Sreenivasan N.

Hi all

Is it possible to store an xml document generated using database query into 
cocoon or specified folder.
Is it possible to give a name to that file

Thanks in advance

Sreenivasan.







"Attitudes are much more important than aptitudes."
"Nothing is impossible for a willing heart"

Sreenivasan N.
Sony SARD
Ext 232

Email. [EMAIL PROTECTED]
Per: [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: Sitemap: 'cocoon:' protocol

2002-06-03 Thread Diana Shannon


On Monday, June 3, 2002, at 02:54  AM, Brian Topping wrote:

> I read in the release notes about the inclusion of the 'cocoon:' 
> protocol and the nifty hack to make 'cocoon://' reference from the base 
> of the main sitemap and 'cocoon:/' reference from the current sitemap.  
> Is that documented anywhere else but the release notes?

There is a small amount of info in the userdocs/concepts/sitemap.xml 
(starting around line 950).

>
> Also, what is the function of 'cocoon:raw:'?  Does the same main 
> sitemap/subsitemap distinction hold true with the trailing slashes here 
> as well?
>
> I'll put some doc patches together as I get these two figured out (if 
> they aren't already documented...)

That's fantastic. Follow instructions on how to submit a patch and 
submit via Bugzilla (currently in HEAD, soon to be in release). If you 
don't have the HEAD cvs, you can use ViewCVS:
   http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-
cocoon2/src/documentation/xdocs/howto/howto-
bugzilla.xml?rev=1.3&content-type=text/plain

   http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-
cocoon2/src/documentation/xdocs/howto/howto-
patch.xml?rev=1.1&content-type=text/plain

If you are a definite on contributing, let me know. I'm also interested 
to know where you think it belongs within the given doc structure.  I'll 
put your name on a soon-to-be committed list of docs in process so no 
one else duplicates your efforts.

Diana




-
Please check that your 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: cocoon web log system

2002-06-03 Thread Ugo Cei

Cocoon User wrote:
> we r thinking about to setup a weblog system phpnuke like
> as a community place for cocoon users
> 
> anyone who want to apply this project
> please reply to [EMAIL PROTECTED]

Why not start from CocoBlog[1]?

Ugo

[1]: http://www.beblogging.com/blog/docs

-- 
Ugo Cei - http://www.beblogging.com/blog/


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

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




i18n cleanest solution ?

2002-06-03 Thread Sebastien SACARD

Hi,
I'd like to use the standard java.util.PropertyResourceBundle within 
cocoon to manage i18n.
I know that a cocoon  i18n transfomer exist, but as it's not standart 
(use of XMLResourceBundle whereas a XML standart for translations exist, 
TMX, http://www.lisa.org/tmx/), I wouldn't be able to use my property 
files in other Java applications. I could use resourceBundles with XSLT 
(http://www.javaworld.com/javaworld/jw-12-2001/jw-1221-xslt.html), but 
is this is the cleanest solution ?
Does anynody has ever shared their translations resources between cocoon 
and another java application ? how ?
Thanks

-- 
#
Sébastien Sacard
Kelkoo.com - R&D team
Phone: +(33) 4 76 29 73 51
Email: [EMAIL PROTECTED]
Aim : KelkooXIII
#



-
Please check that your 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: CDATA output / Server Upgrage

2002-06-03 Thread KOZLOV Roman

You could try xsl:text with disable-output-escaping attribute:


Roman

George Pieri wrote:

> In alot of our xsl stylesheets we wrap xml and
> javascrip within ! tags
> so that it is not parsed.
>
> This has worked well for us with the output being
> delivered successfully.
>
> Using the new version of our web server, Weblogic 7.0,
> this appears no longer to work and our CDATA sections
> get interperted and changed to <  x > tags !?!
>
> What could be affecting this. Any ideas ?
>
> e.g.
> ---
> xsl code
> 
>  
>  
>
> -
> output
> 
> 
> 
>
> --
> output in previous version of web server
> 
> 
> 
>
> -
> Please check that your 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]>




Live sites

2002-06-03 Thread Sergey G. Aslanov

Two sites made with cocoon was started:
http://www.cbossbilling.com
http://www.cbossbilling.com/ishop

-- 
Sergey G. Aslanov
CBOSS Group,
Web-technologies department
mailto:[EMAIL PROTECTED]
tel: +7 095 7555655


-
Please check that your 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: SSL support of ResourceReader/FileGenerator

2002-06-03 Thread Sternath Elmar

Hi Vadim,

thanks for your reply. I'm not really sure if the problem is totally offtopic. But I 
must admit that I was a little bit inprecise. As I tried to tell you before, I put the 
http request https://139.21.207.160:8443/elster/OTTest.html of my cocoon sitemap 
directly into the browser line and there were no problems with the https configuration 
on my target server - the page was correctly displayed. But as soon as I use this 
request in the cocoon framework, the SSLHandshakeException occurs. So it actually 
seems that the reason for this exception must have to do something with the cocoon 
client.

Sorry,
Elmar 

-Ursprüngliche Nachricht-
Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Gesendet: Samstag, 1. Juni 2002 21:08
An: [EMAIL PROTECTED]
Betreff: RE: SSL support of ResourceReader/FileGenerator


> From: bob phillips [mailto:[EMAIL PROTECTED]]
> 
> this is one difference between the cocoon community and the zope
community:
> The Zope community tries to help people who use the software, rather
than
> immediately shouting off topic.
> 
> Using SSL with cocoon should be an important part of the discussion
here, IMO.

>From Cocoon (and any other application using URLConnection) perspective,
https does not differ from http if it configured correctly. Please read
link provided before criticizing.

Vadim
 
> At 12:05 PM 6/1/2002 -0400, you wrote:
> > > From: Sternath Elmar [mailto:[EMAIL PROTECTED]]
> > >
> > > > Hello,
> > > >
> > > > I try to get files using ResourceReader/FileGenerator
> > > (cocoon2.0.2/tomcat4.0.3/jdk1.4.0)  :
> > > >
> > > >  
> > > > 
> > > >  > > src="https://139.21.207.160:8443/elster/OTTest.html"/>
> > > > 
> > > > 
> > > >
> > > > Cocoon server and target server are one and the same instance.
> > > >
> > > > When I put the http request directly in my browser, the file is
> >correctly
> > > transferred and displayed. As soon as I use the request  in my
cocoon
> > > pipeline, an SSLException SSLHandshakeException
unknown_certificate
> >with
> > > JDK1.4 occurs in tomcat server. Can anyone tell me if, how and in
> >which cocoon
> > > versions SSL is supported for FileGenerator/ResourceReader and how
my
> >problem
> > > can be solved?
> >
> >It has nothing to do with cocoon and totally offtopic.
> >
> >Go to java.sun.com for software and installation tips for SSL.
> >
>
>http://java.sun.com/j2se/1.4/docs/guide/security/jsse/JSSERefGuide.html
#
> >Troubleshooting
> >
> >
> >Vadim
> >
> >
> > > >
> > > > Thanks in advance,
> > > > Elmar
> >
> >
> >
> >-
> >Please check that your question has not already been answered in the
> >FAQ before posting. 
> >
> >To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>



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

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

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

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




RE: Latest CVS Head Error: Target `xt-warn' does not exist in thisproject.

2002-06-03 Thread Stephan Michels



On Mon, 3 Jun 2002, Carsten Ziegeler wrote:

> Should be fixed now.
>

I think these lines are also obbsolete

diff -u -r1.7 jars.xml
--- lib/jars.xml2 Jun 2002 03:46:47 -   1.7
+++ lib/jars.xml3 Jun 2002 07:59:28 -
@@ -249,13 +249,6 @@
http://www.xmldb.org/
  
  
-   XT XSLT processor
-   XT is an implementation in Java of
XSLT.
-   ? (should be removed)
-   optional/xt-19991105.jar
-   http://www.jclark.com/xml/xt.html
- 
- 
Jakarta Commons JXPath
XPath interpreter.
JXPath logicsheet and XMLForm


>
> > -Original Message-
> > From: Marc Jeffrey Driftmeyer [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, June 03, 2002 7:33 AM
> > To: [EMAIL PROTECTED]
> > Subject: Latest CVS Head Error: Target `xt-warn' does not exist in this
> > project.
> >
> >
> > This is a brand new CVS Checkout from HEAD.  This is the error I get.
> >
> > C:\Java\xml-cocoon2>build installwar
> > Using Java from C:\Java\j2sdk1.4.0
> > Buildfile: build.xml
> >
> > BUILD FAILED
> >
> > Target `xt-warn' does not exist in this project. It is used from target
> > `optional-warnings'.
> >
> > Total time: 2 seconds
> >
> > C:\Java\xml-cocoon2>
> >
> > Sincerely,
> >
> > Marc J. Driftmeyer
> >
> > //
> >
> >
> >
> > -
> > Please check that your 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: problems with encodeURL transformer

2002-06-03 Thread Stephan Michels



On Mon, 3 Jun 2002 [EMAIL PROTECTED] wrote:

> Hello!
>
> Are there any (working) examples available how to use encodeURL transformer?
> Unfortunately I my system behaves similar like described in a previous
> posting.
>


I think the sunpot demos works with the transformer:

> fgrep -nA 3 "encodeURL" build/cocoon/webapp/sitemap.xmap
128:   
129-
130-   
131-
--
702:
703-
704-
705-
--
723:
724-
725-
726-
--
739:
740-
741-
742-
--
749:
750-
751-
752-
--
808:
809-
810-
811-
--
819:
820-
821-
822-
--
830:
831-
832-
833-
--
836:
837-
838-
839-
--
852:
853-
854-
855-
--
859:
860-
861-
862-
--
867:
868-
869-
870-


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

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




Live sites

2002-06-03 Thread Sergey G. Aslanov

Two sites made with cocoon was started:
http://www.cbossbilling.com
http://www.cbossbilling.com/ishop

-- 
Sergey G. Aslanov
CBOSS Group,
Web-technologies department
mailto:[EMAIL PROTECTED]
tel: +7 095 7555655


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

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




the tag

2002-06-03 Thread Christoph Stocker

hi all!


i use cocoon2.0.2 with weblogic6.0sp2 on win2000

if i use some xsp-sites in weblogic they dont't
work (i get a language exception). but they run
with tomcat4.0.1.


http://apache.org/xsp";
  xmlns:xsp-request="http://apache.org/xsp/request/2.0";
  xmlns:log="http://apache.org/xsp/log/2.0";
  xmlns:capture="http://apache.org/cocoon/capture/1.0";
> 

so i modify the  tag in my xsp-site to something
i copied from the cocoon-examples, and it is working. but i dont't
know exactly what i am changing in the  tag.


http://apache.org/xsp";
  xmlns:esql="http://apache.org/cocoon/SQL/v2";
> 


can anyone explain me, what the statements in this tags
are for and what they mean? 

why my example works with tomcat and not with wblogic?
why i have to change my  tag, that they work
with weblogic?


sorry for my newby question
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]>




RE: problems with encodeURL transformer

2002-06-03 Thread a000

Hello!

Are there any (working) examples available how to use encodeURL transformer?
Unfortunately I my system behaves similar like described in a previous
posting.

Any comments are welcome!

Best regards,

Harald

> 
>

> 
> From: rainer_burgstaller 
> Subject: problems with encodeURL transformer 
> Date: Thu, 28 Mar 2002 01:19:16 -0800 
> 
>

> 
> Hi
> 
> I am trying to get the encodeURL transformer working with Tomcat 4.0.1 and
> JDK 1.3.1 (Cocoon 2.0.2)
> 
> in my sitemap I have following entries
> 
> 
> ...
>   ="encodeURL" src="org.apache.cocoon.transformation.EncodeURLTransformer"/>
> 
> 
> 
> 
>  
>  
>  
>   
>
>
>   
>   
>
>
>   
>   
>
>
>   
>  
> 
> 
> 
> 
> as far as I understand this transformer it parses the whole xml for
> attributes like href,... and replaces them with a url encoded version.
> 
> my xml generates something like this
> 
> link
> 
> which is then transformed by the page2html.xsl into an actual link.
> However, the transformer never gets to work.
> 1. it does not recognize the session when I disable cookies.
>  in setup:
> final Request request =
> ObjectModelHelper.getRequest(objectModel);
> this.session = request.getSession( false );
>  session is always null
> 
> 2. if I enable cookies. then there is a session but with cookies url
> encoding is not necessary :(
> 
> 
> can anybody help?
> 
> best regards
> 

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


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

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




XMLtoAny

2002-06-03 Thread Graaf, Edgar de (fin)

People,

Have you ever seen this?

http://www.javazoom.net/jzservlets/xmltoany/xmltoany.html

It sounds a lot like cocoon, it is much smaller (about 1 MB zipped).

Regards,

Edgar

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

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