It may be adequate to write a protocol Handler for this
purpose. I think you can get hold on the original
request from the Environment.
Maybe .../components/source/URLSource.java
is a good starting point ...
hussayn
Marco Rolappe wrote:
you should probably code that as an action, that you can
Hy:
this message:
VGJ0607E - Une inadéquation de version s'est produite entre le
serveur et
le circuit my.pkg.JAH0001WUIBean.
translates to something like:
differing versions between server and package my.pkg.JAH0001WUIBean
seems to point to EJBeans stuff ... ???
i cant help more ...
Carsten Ziegeler a écrit :
This is of course because of your redirect statement. Usually, if your
login-page is called it gets a request parameter named resource
that contains the protected resource.
So, you have to take care that you pass this parameter (e.g. via a
hidden input field) to
On 29.Jan.2003 -- 12:52 AM, Geoff Howard wrote:
I've deleted the old email, but I asked about the 60 or so mail related
errors I've been getting in the eclipse task area. Carsten suggested that I
needed mail.jar on my classpath in eclipse. I just checked and it was
already there - in
thats interesting...
i got a similar usecase yesterday:
o An application can be asked to give away some configuration
parameters in an XML stream. i.e a list of search engines
with names, links, search-parameter-descriptors and so on.
o now i ask my application once for the config
to get
--- Reçu de INFETUDE.G145193 02/250.96.71 29-01-03 10.10
Hy,
I have tomcat 4.1.12, cocoon 2.04, JDK 1.3.1, MySQL 3.21 and VisualAge for
genarate the JSP
I have the first Tomcat in c:\tomcat and the second in c:\tomcatProd
In startup.bat i have add the environement var
Hi,
not quite sure, but it seems you want to use Tomcat standalone *without* a WebServer.
In that case you can disable all the Non-HTTP-Connectors in Tomcats server.xml. The
port 8009 is typically the Ajp13Connector used to communicate with Apache.
-Jan
-Ursprüngliche Nachricht-
Probably you must change two things :
1.) in cocoon/WEB-INF/cocoon.xconf
This section may cause the problem ...
hsqldb-server class=org.apache.cocoon.components.hsqldb.ServerImpl
logger=core.hsqldb-server pool-max=1 pool-min=1
parameter name=port value=9002/
parameter
Steven Noels wrote:
I'm not on IE, nor have I the huge screen to test this particular
condition...
I'm working on the Wiki this morning, and I might find something out,
but any HTML/CSS enthusiast on the list might give it a go, too. I
cannot fathom what is going on, except for IE-weirdness.
From: Steven Noels [EMAIL PROTECTED]
Steven Noels wrote:
I'm not on IE, nor have I the huge screen to test this particular
condition...
I'm working on the Wiki this morning, and I might find something out,
but any HTML/CSS enthusiast on the list might give it a go, too. I
cannot
From: Konstantin Piroumian [EMAIL PROTECTED]
From: Steven Noels [EMAIL PROTECTED]
Steven Noels wrote:
...
Sorry, it shoud be read as:
You can easily notice that this problem is NOT present on the Forrest site
and
it looks like a typo or so in CSS.
--
Konstantin
Konstantin Piroumian wrote:
Sorry, it shoud be read as:
You can easily notice that this problem is NOT present on the
Forrest site
and
it looks like a typo or so in CSS.
Sure. Now has anyone an idea how to fix it? ;-)
/Steven
--
Steven Noels
From: Steven Noels [EMAIL PROTECTED]
Konstantin Piroumian wrote:
Sorry, it shoud be read as:
You can easily notice that this problem is NOT present on the
Forrest site
and
it looks like a typo or so in CSS.
Sure. Now has anyone an idea how to fix it? ;-)
Let's try.
You have
Please add the following info to
http://xml.apache.org/cocoon/link/livesites.html
Site: gynae.uk.com
URL: http://www.gynae.uk.com
Description: Site is for UK doctors and provides medical leaflets which can
be printed out and given to female patients. Doctors are often rather busy
and giving
Hey Mom,
I sent another email to unsubscribe. Hopefully it works this time. Did you
have any luck?
Neil
-
Please check that your question has not already been answered in the
FAQ before posting.
Hi All,
Has anyone managed to get Cocoon compiling under Eclipse on MacOSX?
I am struggling to do so . ui.jar not loading from the JRE so
missing lots of Swing etc. (?)
Thanks for any help
regards Jeremy
-
Please check
Have a look on the mail footer:
To unsubscribe, e-mail: [EMAIL PROTECTED]
Joerg
--
System Development
VIRBUS AG
Fon +49(0)341-979-7419
Fax +49(0)341-979-7409
[EMAIL PROTECTED]
www.virbus.de
-
Please check that your
--- Reçu de INFETUDE.G145193 02/250.96.71 29-01-03 13.59
I think the probleme come with ibm gateway
(start /min java com.ibm.hpt.gateway.SessionIDManager )
I have run the JSP but it's instable. after some time, the gateway not found
the session manager
Thanks for help.
Angelo
Hello,
The XMLFormTransformer send me back an error: it find a group tag that is not in my
view page!
The error message is:
ERROR Thread-5/XMLFormTransformer: pass through element [group]
ERROR Thread-5/XMLFormTransformer: unknown element [group]
Here is the log (cleaned):
DEBUG
Konstantin Piroumian wrote:
You have a class assigned to menu items (a class=wikipage/a), but
don't have a CSS style for this in the page.css, so I assume that default
a.hover is used, which has font color the same as the menu background.
So, either remove the class from the link or add style
ok, thanks. i'll probably be content to leave it now that i know i'm in
good company. clearly an annoyance more than a problem. maybe there's a
filter that would work...
Geoff
-Original Message-
From: Christian Haul [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 3:34
not a problem - i figured you were in anger management counseling to deal
with that last screw up of mine ... ;)
Geoff
-Original Message-
From: Christian Haul [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 3:31 AM
To: [EMAIL PROTECTED]
Subject: Re: XMLForms Versus
You're right that file generator should automatically cache based on last
modified stamp of the file(s) involved. You could monitor the logs to see
if it's serving cached content for that or not. If not, first check for
steps in the pipeline which may not cache - if it's just
Hi,
Im upgrading! Can anyone suggest
the best way to connect Apache 2.0.42 and Tomcat 4.0.6. I will be using Cocoon
2.0.4. I have read that the WARP connecter is the best, but I used Jserv on my
older version. There is also the mod_jk. Which is the most reliable etc.
Thanks
Hi Richard -
mod_jk by far is the best. WARP is buggy and is may not even be actively
developed any more. mod_jk is stable, widely used, and generally has few
bugs reported. If you need help with the integration, my FlashGuides
(www.galatea.com/flashguides) have instructions on connecting
Hi,
I've written an action and compiled without errors.
package test.acting;
import java.util.Map;
import java.util.HashMap;
import org.apache.avalon.framework.parameters.Parameters;
import org.apache.cocoon.acting.AbstractAction;
import org.apache.cocoon.environment.Request;
import
Hi,
I have written an action and compiled it successfully. I put it in the
cocoon/WEB-INF/lib folder as a jar:
package test.acting;
import java.util.Map;
import java.util.HashMap;
import org.apache.avalon.framework.parameters.Parameters;
import org.apache.cocoon.acting.AbstractAction;
import
From: [EMAIL PROTECTED]
Hi,
Thats how I use it in the sitemap:
...
map:match pattern=blabla
map:generate src=sampleoutput.xml/
map:act type=xslSelect
map:transform src=stylesheets/{results}.xsl/
map:serialize type=fo2pdf/
On Wed, Jan 29, 2003 at 07:45:31AM -0700, Lajos wrote:
Hi Richard -
mod_jk by far is the best. WARP is buggy and is may not even be actively
developed any more. mod_jk is stable, widely used, and generally has few
bugs reported. If you need help with the integration, my FlashGuides
Lajos,
The following link is not working
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/src/j
akarta-tomcat-connectors-4.0.2-01-src.zip.
If you have the zip file could you e-mail it to me at
[EMAIL PROTECTED]
Thanks for the advice
Richard.
-Original Message-
Hi Johannes,
This part of your action:
// Now choose the suitable XSL for the output
if(report_id.equals(16))
results.put(report_16,report_16);
else if(report_id.equals(17) service_id.equals(GSM))
i've confused you on the use of the hash map. i corrected the code below
with what you need . they hashmap key name is arbitrary notice i've changed
it in your code and your sitemap. Hopefully the fixed code will make what
needs to happen clear, but if not I can explain in more detail later.
You may also look into
http://www.saxess.com/JSPWiki/Wiki.jsp?page=Howto
if you need more infos about building and configuring
apache/tomcat/mod_jk ... (unfortunately some of the pages are
only in german, but maybe it still can help. seems as if
it would have been better to write it in english
From: Andres, Judith [EMAIL PROTECTED]
...
should read:
// Now choose the suitable XSL for the output
if(report_id.equals(16))
results.put(result,report_16);
KP results.put(results,report_16);
KP --^
KP results and not result, to be exact.
KP
KP-- Konstantin
http://xml.apache.org/cocoon/faq/faq-sitemap.html
-see the first FAQ on this page
-Julian
In reply to:
Greetings. Whenever I change a page in my sitemap and
redeploy, I notice that the first time I hit a page it
takes cocoon a few seconds to start the page. Is there
any way we can get cocoon
but wouldn't a source be primarily useful only when generating or
serializing? in this case he didn't say anything about data being generated
in repsonse to the request he wants to send.
so, if it doesn't generate anything as response, it probably wouldn't be a
good 'source'.
-Ursprüngliche
hi richard,
I'm currently using Cocoon 2.0.4, Tomcat 4.1.18, Apache 1.3.26 and mod_jk2
(which I didn't have problems with yet).
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag
von Richard Cunliffe
Gesendet: Mittwoch, 29. Januar 2003 15:08
An: [EMAIL
Hi all,
the menu structure of my site looks different (i.e. certain menu items are
disabled etc.) for different user-agents. The content of the disabled items
shouldn't appear in the search result as well of course. Therefore I need to
build different indexes for each user agent class. I could
Has anybody here used Cocoon to implement persistent URLs? I don't mean just
technical using Cocoon to make the URL independent of the actual file
location (that's simple using sitemaps), but am interested in how to manage
this. For example, some of the issues are:
- making sure the file
Title: Message
Well, you carefully
(or not?) snipped out my point that, in the
end, the XSPs are converted to
Java
That's irrelevant; you're still writing
proprietary code...
- and at least one of
theCocoon books I read
suggests this as a perfectly vaild way
to start off doing your
that wouldn't apply anymore with the interpreted sitemap would it? i'm
pretty sure 2.0.4 is using that out of the box.
Robert, the sitemap engine can be configured in cocoon.xconf and there have
been two different implementations to date -- interpreted and compiled.
Interpreted is newer and
don't know how one would keep track of moved files automatically, but the
resource exists action could help with the first part. you could keep a
lookup table in database or xml with old location and new location and use
it to lookup new location when resource exists action fails.
Geoff
actually, i think i know where this would be - the reason it's
happening that way is that when CocoonServlet processes a request,
it requests an/the instance of Cocoon (can't remember if that's pooled
or singleton) and passes a boolean like isReloadable to trigger checking
of the sitemap source
Hello Sylvain,
I see you have still some problems with the XMLForms...
I have investigated them more and more and wrote a new howto at Wiki about
using XMLForm with Xindice. I do not remember if you were using a relational
database or a native XML one. If the latter, you could find some new
That's what I was thinking, more or less. I'd have a monitoring application
check URLs once a day and generate emails if the files were moved or
modified. But I was wondering if there were other approaches...
There's also the contract issue of what a persistentURL promises: does it
merely
Hi,
The forrest project has much of this problem solved (though the config file
needs adjusting :) for smaller type sites.
The idea is to use an explicit site 'map' (site.xml). There you hierarchically
store the site structure. Your content links point to an identifier in the
site.xml. Then
I think you're mixing up the concepts of files and resources.
persistent URLs should AFAIR bind to resources, which in turn may represent
a file (and may redirect to a URL for that file, or something like that).
example (contrived):
http://cocoon.apache.org/manuals/BeginnersGuide
this, being a
Thanks. You explained the distinction between files and resources better
than I did.
I think what I'll do is to specify two different types of contracts for
pURLs: a resource-type contract and a file-type contract, the first one
being the newest version while the second being always the same
Hi there,
I'm relatively new to Cocoon and XML and I've been lurking on the list for a
while. I have a problem that's stymied me--perhaps someone could help me? I
want to build an aggregate web page from a set of simple XHTML pages by
extracting the contents of their bodies and aggregating them.
you could use map:aggregate, but because of the structure you'd need to do
it in two steps - one to aggregate modules into a column element, and then
one to aggregate the columns into a page element.
if you have the flexibility to change the structure, you could use xinclude
or cinclude so for
Jeff,
There are several ways to accomplish content aggregation in Cocoon:
(1) cinclude and xinclude
(2) The XSLT document() function (this seems to match your approach best)
(3) map:aggregate in a sitemap
(4) XSP includes
Each method has advantages/disadvantages relative to flexibility,
Note that with the document() function, you will run into other problems
with the default XSLT transformer. Caching, for one, will be wrong. If
you edit a document referenced by the document() function after the
stylesheet has been cached, it will not reflect the change (someone
correct me
Lajos,
I have reached point 6, where you build ant, but it is coming up with
the following error:
Warning: JAVA_HOME environment variable not set.
If build fails because sun.* classes could not not be
found
You will need to set the JAVA_HOME environment
Lajos,
I have fixed the Java problem, but it is still coming up with the
following error:
Bulidfile: build.xml does not exist!
Build failed
What does this mean? Do I have to build the build.xml myself? If so how
would I go about doing this.
Richard.
Me again,
Fixed the does not exist problem but I'm now getting the following
error:
BUILD FAILED
C:\tomcat_connectors\jk\build.xml:379:
Classorg.apache.tools.ant.taskdefs.condition.Not doesn't support the
nested isset element.
What should I do to correct this?
Richard.
-Original
Well, my newbieness to cocoon continues as does my
frustration. Anyway, another burning question.
I have a series of forms with pseudo code such as
if (user invokes edit) {
open edit form;
on submit of form {
attempt to execute
change.
if (attempt succeeds) route to
view page.
Greetings, I have added the following information
to the cocoon competence center page on installing cocoon. Please feel free to
review the following sections and smack me around if I said anything incorrect.
The new sections are.
*Deploying on an application server.
*What is essential?
On the same topic, I am more distressed at this
editing policy. Someone could easily be malicious and log in and erase
everything. Are we sure there isn't a better way to do this?
-- Robert
- Original Message -
From:
Robert Simmons
To: Cocoon Users
Sent: Thursday,
Hi Richard -
Just catching up - I was up in Denver all day today.
You need Ant 1.5.1 - I think that's the problem. IIRC, isset is not in 1.4.
Regards,
Lajos
Richard Cunliffe wrote:
Me again,
Fixed the does not exist problem but I'm now getting the following
error:
BUILD FAILED
Greetings. I decided that I wanted to try writing
an XSP page. I know about logicsheets but just to start I figured Idgo the
brute force approach. The following is theXSP page.
?xml version="1.0"
encoding="UTF-8"?xsp:page language="java" xmlns:xsp="http://apache.org/xsp"
Sylvain,
did you try to debug the AbstractXMLFormAction and the XMLFormTransformer.
This is probably your best bet for finding the problem.
-=Ivelin=-
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, January 29, 2003 10:02 AM
More information. I think this might have to do
with the classpath setting on the compiler. It seems to be creating its own
classpath instead of passing the current cocoon classpath to the compiler. The
classloader, being different, cannot find any classes outside of the current WAR
to
thx joerg,
I tried again to get this work, putting the xalan and xerces jars in jre/lib/endorsed,
in tomcats common/endorsed, trying the lates xalan etc. - no way.
finally switched to j2sdk 1.4.1_01 and all works ok now.
regards,
tom
-Original Message-
From: Joerg Heinicke
--- Reçu de INFETUDE.G145193 02/250.96.71 30-01-03 08.25
Hi,
I am beginner with cocoon.
I want convert a file text in xml wel form.
The string text is
.SE NAME 'toto '
.SE ADRESS 'xxyy jj'
.SE TEL '01236547'
...
I want convert data in xml
NAMEtoto/NAME
-Original Message-
From: Richard Reyes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 8:28 AM
To: [EMAIL PROTECTED]
Subject: Re: Portal - Coplets / Sunlet
Hi Carsten,,
this is the google.xml,
?xml version=1.0?
data
which error log? the one thats on the browser?
here it is
==
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
Hello,
Is there someone in the list that could help me to find a XMLForm problem that I have
for few weeks!
I have read all the XMLForm doc and source code but I really don't understand what is
this problem.
I don't have enough experience to find the solution.
My project is totally based on
67 matches
Mail list logo