Tomi Schuetz | 1 Oct 2003 01:17
Picon
Favicon

Problems with executing the 'site' and 'docs' task in cocoon

Hello all!

I'm very new to cocoon and it seems, that some obvious thinks are going wrong. I hope some people
can give me a few hints.

I downloaded cocoon-2.1.1 for windows and unzipped it into a dev directory. After executing the
inital task of the build.xml (which was successful) it wanted to create the 'site' and the 'docs'
tasks. Unfortunately they didn't work... :(

The output of the failed build is:

**********************************************************************************
forrest.checkhome:
forrest.home.present=true
build.properties.present=true

forrest:
Copying 1 file to
C:\Programme\cocoon-2.1.1\build\cocoon-2.1.1\documentation\xdocs\userdocs\installation

forrest:
Buildfile: C:\Programme\apache-forrest-0.4\forrest.build.xml
init-props:
Loading project specific properties from ${project.home}\forrest.properties
echo-settings:
examine-proj:
validation-props:
validate-skinconf:
load-project-props:
load-forrest-props:
(Continue reading)

Joerg Heinicke | 1 Oct 2003 01:34
Picon

Re: Problems with executing the 'site' and 'docs' task in cocoon

Hello Tomi,

please have a look into 
file://C:/Programme/apache-forrest-0.4/forrest.build.xml.
Around line 50 I have

     <property name="project.home" location="." />
     <property name="/" value="${file.separator}"/>
     <echo message="Loading project specific properties from 
${project.home}${/}forrest.properties" />
     <property file="${project.home}/forrest.properties" />

So the property is immediately set before the first use.

It's of course possible that this property was not set in an old Forrest 
version. Do the forrest guys know anything?

Joerg

Tomi Schuetz wrote:
> Hello all!
> 
> I'm very new to cocoon and it seems, that some obvious thinks are going wrong. I hope some people
> can give me a few hints.
> 
> I downloaded cocoon-2.1.1 for windows and unzipped it into a dev directory. After executing the
> inital task of the build.xml (which was successful) it wanted to create the 'site' and the 'docs'
> tasks. Unfortunately they didn't work... :(
> 
> The output of the failed build is:
(Continue reading)

Tony Collen | 1 Oct 2003 05:32
Picon

Re: Call Axis based web services using flowscript

Markus Heussen wrote:
> Hi all,
> 
> can someone give me a hint how I can call a rpc or document style based Axis
> web service from a flowscript? Maybe there are useful descriptions somewhere
> in the web?

Markus,

Have a look at the recent thread entitled, "Flow and Web Services" [1] 
on the mailing list archive for cocoon-dev.  That should point you in 
the right direction.

[1] http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106432248511659&w=2

> 
> Greetings,
> 
> Markus

Regards,

Tony
Joe Latty | 1 Oct 2003 05:35
Picon

Attempting to go with the flow

I am trying to implement javascript flow in cocoon.
 
When I add the node
 
<map:flow language="javascript">
  <map:script src="myJavascriptFile.js"/>
</map:flow>
before the <map:pipelines> node
 
I recieve the following error when calling the app.
 
org.apache.avalon.framework.component.ComponentException: ScriptNode: Couldn't obtain a flow interpreter for javascript:
 
Is there some configuartion I have missed?
 
Joe
 
Joe Latty | 1 Oct 2003 05:56
Picon

Re: Attempting to go with the flow

It was due to my cocoon.xconf. I did not have the flow-interpreters set up properly.
 
Joe
----- Original Message -----
From: Joe Latty
Sent: Wednesday, October 01, 2003 1:35 PM
Subject: Attempting to go with the flow

I am trying to implement javascript flow in cocoon.
 
When I add the node
 
<map:flow language="javascript">
  <map:script src="myJavascriptFile.js"/>
</map:flow>
before the <map:pipelines> node
 
I recieve the following error when calling the app.
 
org.apache.avalon.framework.component.ComponentException: ScriptNode: Couldn't obtain a flow interpreter for javascript:
 
Is there some configuartion I have missed?
 
Joe
 
Mustafa Ali, Halgurt | 1 Oct 2003 09:32

AW: AW: AW: ImageReader not working?

Thank you very much for your help, exactly because of that I need the imageReader, I want to represent my
images in different sizes according to the user browser.

Thanks again,
Halgurt

-----Ursprüngliche Nachricht-----
Von: Joerg Heinicke [mailto:jheinicke <at> virbus.de] 
Gesendet: Montag, 29. September 2003 20:38
An: users <at> cocoon.apache.org
Betreff: Re: AW: AW: ImageReader not working?

Mustafa Ali, Halgurt wrote:

> Hi,
> 
> Possibly, I am not sure. I have another question, can use 
> (mime-type="image/bmp") for bmp formatted images?

You can read and output any type of resource and set the mime-type 
accordingly.

The imagereader is only for the specific need of resizing images or similar.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe <at> cocoon.apache.org
For additional commands, e-mail: users-help <at> cocoon.apache.org
KUMARESAN Senthilkumaran | 1 Oct 2003 09:27

Need of help

Hi,
I have installed cocoon -2.1.1 and got the WAR file. I have put it in tomcat 3.2.4. When I access with the URL, http://localhost:8080/cocoon,
I am getting the directory listing as given in the firstpage.doc.
 <<firstpage.doc>> 
I am not getting the cocoon application's welcome page.Kindly help.
Thanks,
Senthil.

Attachment (firstpage.doc): application/msword, 49 KiB
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe <at> cocoon.apache.org
For additional commands, e-mail: users-help <at> cocoon.apache.org
Joerg Heinicke | 1 Oct 2003 10:19
Picon

Re: Need of help

KUMARESAN Senthilkumaran wrote:
> Hi,
> I have installed cocoon -2.1.1 and got the WAR file. I have put it in tomcat 3.2.4. When I access with the URL, http://localhost:8080/cocoon,
> I am getting the directory listing as given in the firstpage.doc.
>  <<firstpage.doc>> 
> I am not getting the cocoon application's welcome page.Kindly help.
> Thanks,
> Senthil.

Sorry for not being very helpful, but with the information you gave I can 
only tell that the deployment failed - why ever ... Have a look into the logs.

Joerg

PS: Please don't post doc files. Either pure text or (if and only if text is 
not possible or expressive) HTML.

--

-- 
System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg.heinicke <at> virbus.de
www.virbus.de
Joerg Heinicke | 1 Oct 2003 10:37
Picon

Re: ImageReader not working?

Documentation:
http://cocoon.apache.org/2.1/userdocs/readers/image-reader.html

=> Resizing works only for JPEGs.

Code:
http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/java/org/apache/cocoon/reading/ImageReader.java?rev=1.3&content-type=text/vnd.viewcvs-markup

Javadoc:
Not online for this component, I guess it was still in scratchpad, when the 
Javadoc was generated the last time. But it should be included in your local 
Cocoon install, if you have built Javadoc once.

Joerg

Mustafa Ali, Halgurt wrote:
> Thank you very much for your help, exactly because of that I need the
> imageReader, I want to represent my images in different sizes according
> to the user browser.
> 
> Thanks again, Halgurt
> 
> 
> -----Ursprüngliche Nachricht----- Von: Joerg Heinicke
> [mailto:jheinicke <at> virbus.de]
> 
>> Hi,
>> 
>> Possibly, I am not sure. I have another question, can use 
>> (mime-type="image/bmp") for bmp formatted images?
> 
> 
> You can read and output any type of resource and set the mime-type 
> accordingly.
> 
> The imagereader is only for the specific need of resizing images or
> similar.
> 
> Joerg

--

-- 
System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg.heinicke <at> virbus.de
www.virbus.de
Grange, John | 1 Oct 2003 10:43

RE: action-set problems and xsp debugging

no, i haven't and i got no help from the mail list :-(
 
had to do without :-(
 

John Grange

The views expressed in this email/posting are solely those of John Grange and are neither verified nor supported by BlueFinger Ltd.

public networks.***

-----Original Message-----
From: Gell, Ashley [mailto:Ashley.Gell <at> onetel.co.uk]
Sent: 30 September 2003 16:38
To: 'john.grange <at> bluefinger.com'
Subject: action-set problems and xsp debugging

John, have you solved this problem as I have exactly the same problem?


Gmane