On Wed, Jan 15, 2003 at 08:50:15AM +0100, Carsten Ziegeler wrote:
Hi,
there are two problems with JDK 1.4.x:
First, you have to copy the versions of Xalan and Xerces provided
with Cocoon to the endorsed directory of your JDK as explained
in the installation guide of Cocoon.
Second, you
Hi.
When I try to repeat the execution of the demo:
http://localhost:8080/cocoon/samples/xmlform/wizard.
I receive a java.lang.NullPointerException.
- C2-CVS 14.01.2003
- Apache Tomcat/4.0
- Windows 2000
- jdk1.3.1_06
Regards,
Adriano Zigante
[scripta volant, NullPointerException manent]
Joerg,
I found the same as you if I type the URL in my browser.
But in my case the problem is that the URL will be parsed through an XML parser.
If I type the XML parser returns me this error:
An error occurred
The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode notifies that
Hi Sylvain,
yes, we lost the original posting a bit ;-)
[EMAIL PROTECTED] wrote:
Joerg,
I found the same as you if I type the URL in my browser.
Nice to hear.
But in my case the problem is that the URL will be parsed through an
XML parser.
If I type the XML parser returns me this error:
Hi Joerg,
Your snippet works well for me (with amp;)!
So, if I'm right this means that it isn't a bug but a problem in my code!?
= I have found that it was a matcher problem in my sitemap!
Now it works!
Thank you all for you help
Sylvain
-Message d'origine-
De: Joerg Heinicke
Hi all!
Today I upgrade my cocoon from 2.0.2 to 2.0.4 version.
In cocoon2.0.2 I have the following error mapping:
in web.xml:
error-page
error-code404/error-code
locationerror404.xml/location
/error-page
in sitemap.xmap:
map:pipeline
map:match pattern=*.css
map:read
Hello,
althoug many people have asked question about the cli, I couln't find an
answer to mine.
I want to call the cli. But before I have to add ALL the lib in WEB-INF to
my class path.
Because it is a really long classpath I mad a .bat. Running it I get an
error that the line is too long.
I
Robert Sösemann wrote:
. . .
Because it is a really long classpath I mad a .bat. Running it I get an
error that the line is too long.
If it is really a line too long problem and not and out of
environment space problem, you might want to try to setup the classpath
in several steps:
set
Nice to hear that you finally got it to work. Let's end the thread ;-)
Joerg
[EMAIL PROTECTED] wrote:
Hi Joerg,
Your snippet works well for me (with amp;)!
So, if I'm right this means that it isn't a bug but a problem in my code!?
= I have found that it was a matcher problem in my sitemap!
-Original Message-
From: Skip Carter [mailto:[EMAIL PROTECTED]]
Sent: 14 January 2003 17:30
To: [EMAIL PROTECTED]
Subject: Re: Splitting WML file
First off, I'm a fully fledged newbie when it comes to cocoon, so at this
stage I'm looking for pointers rather than absolute answers -
Besides setting the path in different lines, like Bertrand explained,
additionally you can use the subst command to shorten the path spec to your
libs, something like: subst x: path to\WEB-INF\lib.
HTH
Michael
-Original Message-
From: Robert Sösemann
To: [EMAIL PROTECTED]
Sent: 15-1-2003
Hello,
What is the difference between request and session for the value of xmlform-scope
parameter?
Thank you
Sylvain
-
Please check that your question has not already been answered in the
FAQ before posting.
I tried this, but - for which reason ever - only the last set line is
really changing the classpath.
Do have any ideas why?
Robert
- Original Message -
From: Bertrand Delacretaz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 12:57 PM
Subject: Re: 1001 question
Try it without the equals sign:
SET CLASSPATH %CLASSPATH%;
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 8:48 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: 1001 question aboit Command Line Interface
I tried this,
I would like to log the cocoon sitemap to Log4J so that I can view it
chainsaw on a remote host. It appears that the LogKit SocketAppender is
not compatible with Chainsaw. I set enableLogging on cocoon with a
Log4JLogger, but it only logs a few random core messages to Log4J. Does
anybody know
Look at the lcp.bat that comes with Ant.
-Original Message-
From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]]
Sent: 15 January, 2003 13:57
To: [EMAIL PROTECTED]
Subject: Re: 1001 question aboit Command Line Interface
Robert Sösemann wrote:
. . .
Because it is a really long
Hi,
When I press Ctrl+F5 in IE6 then I think cocoon should give me a fresh page,
without anythin from the cache.
Does cocoon check for the Request-Header: Pragma: no-cache? Is it
implemented or would it be in the next version?
Does anybody know about this?
thanks in andvance
Christoph
P.S.:
Title: RE: Cocoon Portal Framework Question
Hi,
Aha! Okay, I had done the endorsed directory creation with Xalan and Xerces jar [as per the documentation] however I didn't realize XSLTC had to be turned off with JDK1.4.1 nor that tomcat has an endorsed directory!
Thanks for
Hi,
I know that with ant you can automatically build a classpath.
Maybe in combination with a thread that could do the trick.
Regards,
Sanne
- Original Message -
From: Bertrand Delacretaz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 12:57 PM
Subject: Re:
Title: xmlform samples are not working for me
I just checked out the latest version of the repository and found the xmlform samples are not working for me:
Here is the stack trace. Has anybody seen this or know what it could be related to?
java.lang.NullPointerException:
at
Robert Sösemann wrote:
I tried this, but - for which reason ever - only the last set line is
really changing the classpath.
Do have any ideas why?
We might be able to help if you post a (minimal) excerpt from your batch
file here, that demonstrates the problem.
-Bertrand
Am Mit, 2003-01-15 um 14.42 schrieb [EMAIL PROTECTED]:
Hello,
What is the difference between request and session for the value of
xmlform-scope parameter?
request means that the values are stored in the request attributes like:
String formid = /*... */
Form frm = /* create the form */
I´m getting the next error in Cocoon:
Apache Tomcat/4.0.1 - HTTP Status 503 - Servlet Cocoon2 is currently
unavailabletype Status reportmessage Servlet Cocoon2 is currently
unavailabledescription The requested service (Servlet Cocoon2 is currently
unavailable) is not currently available.
and...
Geoff Howard wrote:
I would regard the behavior below to be incorrect - so the million
dollar question is what is the correct behavior:
Can GET parameters be separated by amp; instead of
according to the W3C, etc?
I don't think so. is the delimiter, not amp;. What is when amp; is
Hi,
I want to include my own Java-Class in my XSP-Page
for example: execute_report.class :
class execute_report {
public String get_g()
{
String hello = Hi there;
return hello;
}
public static void main(String[] args) {
System.out.println(Yo);
}
}
My XSP in Folder:
Thanks for your support. Here is my batch file to start the cocoon CLI.
-
set CLASSPATH
%CLASSPATH%;D:\tmp\rauser-cocoon\WEB-INF\lib\avalon-excalibur-vm14-20020705.
jar;D:\tmp\rauser-cocoon\WEB-INF\lib\avalon-framework-20020627.jar
set CLASSPATH
Thanks. As I don't want to install ant. Could you just send me this batch
file.
- Original Message -
From: du Plessis, Corneil C [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 2:52 PM
Subject: RE: 1001 question aboit Command Line Interface
Look at the lcp.bat
Robert Sösemann wrote:
. . .
set CLASSPATH
%CLASSPATH%;D:\tmp\rauser-cocoon\WEB-INF\lib\avalon-excalibur-vm14-20020705.
jar;D:\tmp\rauser-cocoon\WEB-INF\lib\avalon-framework-20020627.jar
. . .
You need the equals signs in there I think, here's an example that works
under windows 2000:
Hello,
My problem is simple: I'd like to have rotated logs named :
sitemap.log.2003.01.15.18.19h. I have already found that cocoon is able to
append and rotate logs which can be quite nicely configured. I've read that
there are two types of log file naming
1. revolving : you have to provide
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 11:45 AM
To: [EMAIL PROTECTED]
Subject: xsp:structure - question
Hi,
I want to include my own Java-Class in my XSP-Page
snip/
?xml version=1.0 encoding=ISO-8859-1?
xsp:page
Hi,
I'm trying to write a new source for a custom protocol to proprietary
backend. the Source would inherit from
org.apache.cocoon.environment.ModifiableSource.
Now so far so good, but there are two ways such as Source can deliver its
XML as I understood:
- via toSAX()
- via
Hi All,
We have an application built upon cocoon-2.0.3 that is running under
Tomcat. We are in the process to migrate the application to
WebLogic7.0SP1. I have troubles to deploy cocoon in the war format.
However, if I deploy cocoon in an exploded format, everything looks fine.
I contacted
Hi there,
I'm trying to not load the HSQLDB on startup to save memory. I've tried
commenting the hsqldb-server tag in cocoon.xconf but it still loads and
causes cocoon not to work properly. Is HSQLDB required for proper/internal
working of cocoon and if not how does one not load it?
Mark
Hi,
I've extended AbstractLoggable and implemented
SourceFactory and Composable in order to create a protocol that will generate
SAX events. When I retrieve the logger (this.getLogger()), I get null
back, which means i have resorted to system.out.printlns to debug (yek).
Does anyone also
For anybody else that's interested, The latest CVS of Excalibur and
Avalon-Framework support this through the
org.apache.avalon.excalibur.logger.Logger2LogKitManager class for
Cocoon2.1. Here are the steps I took:
1. replaced avalon-framework.jar, excalibur-logger.jar and logkit.jar
with the
Geoff Howard wrote:
Sorry for being an idiot. amp; is valid in the html as delimeter, but the
browser should take it out so that
...
The reason I was confused was because I remembered a problem I encountered
in the past with amp; as the delimeter in html being passed through, but I
believe the
Dear all,
I'm please to announce the availability of the CVSSource I talked about
recently on cocoon-dev.
This component allows adding new protocols to the ones available in
Cocoon (such as resource:, cocoon:, etc) which are linked live to
a remote CVS repository. These protocols are
Title: i18n again
Thanks. I had a look there and also applied it!
I have
a question, can i have a common.xml and common_xx.xml including common
vocabularies that will be used in many files!! (the example uses aggregate to
get it) but in case i dont use aggregate, so how can i use??? (i dont
Sylvain Wallez wrote:
Dear all,
I'm please to announce the availability of the CVSSource I talked about
recently on cocoon-dev.
This component allows adding new protocols to the ones available in
Cocoon (such as resource:, cocoon:, etc) which are linked live to
a remote CVS repository. These
Title: xmlform samples are not working for me
This looks like another bad version of the Xerces or Xalan
libs.
Have these been changed lately?
Ivelin
- Original Message -
From:
Jonathan Spaeth
To: '[EMAIL PROTECTED]'
Sent: Wednesday, January 15, 2003 9:11
AM
Sorry, missed one step. I created a new public Logger2LogKitManager
class in my own project with identical code so I could use it directly.
Brian
On Wednesday, January 15, 2003, at 03:47 PM, Brian Johnson wrote:
For anybody else that's interested, The latest CVS of Excalibur and
Here's my suggestion.
At the beginning of your bat, CD to a folder close to the jar files. Then you'll have
much less characters in your classpath.
I have had this problem trying to use the 2.0.4 CLI, but didn't persevere through to a
solution.
Regards, Upayavira
Hello,
althoug many
We successfully deployed cocoon 2.0.4 on WebLogic7.0SP1 as a war file.
With a previous version of either WL or cocoon it does not seem to work.
Christoph
-Original Message-
From: Xiaonan Zheng [mailto:[EMAIL PROTECTED]]
Sent: 15 January 2003 15:49
To: [EMAIL PROTECTED]
Subject: deploy
43 matches
Mail list logo