Re: newbie has problems installing cocoon

2004-02-03 Thread Daniel Smith
Guy Worthington wrote:

And was hoping that such a beginner's resource existed either in the
documentation or in the Wiki.
Hi Guy.

I don't know if you are aware of it, but there has also just recently been 
what seems to me (ie--a beginner) a very good book come out from Wrox on 
developing with Cocoon, Xalan, Xerces, Xindice, Batik, et al. I have long 
lurked this list and have read of persons making portals with all these, but 
never could quite tell how it all fit together. This book seems very good to 
give an overview of how it all works, and it is from the post-2.1 version 
perspective:

http://wrox.com/books/0764543555.shtml

Good luck. I need it too. :)

Daniel

_
Scope out the new MSN Plus Internet Software — optimizes dial-up to the max! 
  http://join.msn.com/?pgmarket=en-us&page=byoa/plus&ST=1

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


Re: R: newbie has problems installing cocoon

2004-02-03 Thread Guy Worthington
Derek Hohls wrote:

> There are a number of "introductory" tutorials out there... herewith
> a dump of a few:
> 
> http://webreference.com/xml/column52/
> http://www.developer.com/java/ent/article.php/3098661
> http://www.idealliance.org/europe/03/call/xmlpapers/02-01-05.14/.02-01-05.html
> 
> http://www.javaworld.com/javaworld/jw-09-2002/jw-0920-cocoon.html 
> http://www.xml.com/lpt/a/2002/07/10/cocoon2.html 
> http://www.cmswatch.com/Features/ProductWatch/FeaturedProduct/?feature_id=81
> 
> Hope these help a little

Thanks for the research Derek, I think this is the information I want.
(I know, I'm well aware that sounds like Donald Rumsfeld -- "There are
known knowns ... ")  I'll start with the javaworld article (Javaworld
being the premier source for online java articles).


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



Re: R: newbie has problems installing cocoon

2004-02-03 Thread Guy Worthington
Joerg Heinicke wrote:
> Guy Worthington wrote:

>> And was hoping that such a beginner's resource existed either in the
>> documentation or in the Wiki.

> Maybe it's not that obvious but you didn't started with the most
> simple thing we have. In general you should first start with the User
> Guide at http://cocoon.apache.org/2.1/userdocs/index.html. For people
> standing in front of the documentation jungle we have also added the
> tracks (http://cocoon.apache.org/2.1/tracks/index.html). Though they
> might be a bit terse they can show you at least a way to go.

Thanks again Joerg.

I'm still lost, but I'll try hacking through the index and hope I'm
just not ploughing the sand.  I'll be back when I have enough
vocabulary so that I can phrase my questions in a coherent way.  


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



Re: R: newbie has problems installing cocoon

2004-02-01 Thread Derek Hohls
Guy

There are a number of "introductory" tutorials out there... herewith
a dump of a few:
http://webreference.com/xml/column52/
http://www.developer.com/java/ent/article.php/3098661
http://www.idealliance.org/europe/03/call/xmlpapers/02-01-05.14/.02-01-05.html

http://www.javaworld.com/javaworld/jw-09-2002/jw-0920-cocoon.html 
http://www.xml.com/lpt/a/2002/07/10/cocoon2.html 
http://www.cmswatch.com/Features/ProductWatch/FeaturedProduct/?feature_id=81

Hope these help a little

Derek

>>> [EMAIL PROTECTED] 2004/01/30 03:38:31 PM >>>
Joerg Heinicke wrote:
> Guy Worthington wrote:

Hello Joerg,

>> Has someone written a help file on the sitemap configuration file,
>> which is current, covers the theory so that I'll be able to
>> understand the architecture of Cocoon, and has done so in less than
>> ten thousand words?

> Did you get the thing with the sitemap, the generator, transformer
> and serializer step?

Sort of. At present I'm running with the default settings.  For
instance below is my pipeline element (which I tacked onto the end of
the other pipeline elements in the main sitemap).

  
  
   



   
  

As you can see I'm at a lower level than even the first tutorial. 

Don't get me wrong, I think the tutorial "How to develop Web
Applications" is well crafted, and if I let my eyes go out of focus so

I'm not reading the detail I can follow its logic.  It's just too
advanced at present.

What I'd really like is to start at the start with the big picture
(and maybe even a big picture) with some theory covering from the time
the client sends its request to the time it receives the final
published document from Cocoon.

And was hoping that such a beginner's resource existed either in the
documentation or in the Wiki.


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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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



Re: R: newbie has problems installing cocoon

2004-01-30 Thread Joerg Heinicke
On 30.01.2004 14:38, Guy Worthington wrote:

As you can see I'm at a lower level than even the first tutorial. 

Don't get me wrong, I think the tutorial "How to develop Web
Applications" is well crafted, and if I let my eyes go out of focus so 
I'm not reading the detail I can follow its logic.  It's just too
advanced at present.

What I'd really like is to start at the start with the big picture
(and maybe even a big picture) with some theory covering from the time
the client sends its request to the time it receives the final
published document from Cocoon.
And was hoping that such a beginner's resource existed either in the
documentation or in the Wiki.
Maybe it's not that obvious but you didn't started with the most simple 
thing we have. In general you should first start with the User Guide at 
http://cocoon.apache.org/2.1/userdocs/index.html. For people standing in 
front of the documentation jungle we have also added the tracks 
(http://cocoon.apache.org/2.1/tracks/index.html). Though they might be a 
bit terse they can show you at least a way to go.

Joerg

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


Re: R: newbie has problems installing cocoon

2004-01-30 Thread Guy Worthington
Joerg Heinicke wrote:
> Guy Worthington wrote:

Hello Joerg,

>> Has someone written a help file on the sitemap configuration file,
>> which is current, covers the theory so that I'll be able to
>> understand the architecture of Cocoon, and has done so in less than
>> ten thousand words?

> Did you get the thing with the sitemap, the generator, transformer
> and serializer step?

Sort of. At present I'm running with the default settings.  For
instance below is my pipeline element (which I tacked onto the end of
the other pipeline elements in the main sitemap).

  
  
   



   
  

As you can see I'm at a lower level than even the first tutorial. 

Don't get me wrong, I think the tutorial "How to develop Web
Applications" is well crafted, and if I let my eyes go out of focus so 
I'm not reading the detail I can follow its logic.  It's just too
advanced at present.

What I'd really like is to start at the start with the big picture
(and maybe even a big picture) with some theory covering from the time
the client sends its request to the time it receives the final
published document from Cocoon.

And was hoping that such a beginner's resource existed either in the
documentation or in the Wiki.


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



Re: R: newbie has problems installing cocoon

2004-01-29 Thread Joerg Heinicke
On 29.01.2004 05:28, Guy Worthington wrote:

Ok, I get cocoon working, but I don't understand why the apps we had
working with cocoon 1 do not work when I drop them in /webapps ...
Tomcat gives me a "resource not available"...
Between Cocoon 1 and 2.1 really to much has changed to expect it simply 
working. Of course this depends on the complexity of your application. 
The most obvious change even for simple applications is the sitemap.

I share your frustration, I was able to publish with Cocoon 1.0 after
a weekend's light reading of McLaughlin's book "Java and XML."
I just had to write XML documents and stylesheets and then slot them
into the right directories.
However between versions 1.0 and 2.0 Cocoon went ENTERPRISE in a big
way.  And instead of a weekend's light reading there's now a shit-load
of documentation.  (For example, after around 15 hours of reading,
I've reached the dizzying heights of being able to publish a static
XML file to HTML.)
I never heard that we had to much documentation. :)

So I'd like to re-ask your question: has someone written a help file
on the sitemap configuration file, which is current, covers the theory
so that I'll be able to understand the architecture of Cocoon, and has
done so in less than ten thousand words?
Did you get the thing with the sitemap, the generator, transformer and 
serializer step?

Joerg

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


Re: R: newbie has problems installing cocoon

2004-01-28 Thread Guy Worthington
Hello Andrea,

> Ok, I get cocoon working, but I don't understand why the apps we had
> working with cocoon 1 do not work when I drop them in /webapps ...
> Tomcat gives me a "resource not available"...

I share your frustration, I was able to publish with Cocoon 1.0 after
a weekend's light reading of McLaughlin's book "Java and XML."
I just had to write XML documents and stylesheets and then slot them
into the right directories.

However between versions 1.0 and 2.0 Cocoon went ENTERPRISE in a big
way.  And instead of a weekend's light reading there's now a shit-load
of documentation.  (For example, after around 15 hours of reading,
I've reached the dizzying heights of being able to publish a static
XML file to HTML.)

So I'd like to re-ask your question: has someone written a help file
on the sitemap configuration file, which is current, covers the theory
so that I'll be able to understand the architecture of Cocoon, and has
done so in less than ten thousand words?


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



R: newbie has problems installing cocoon

2004-01-28 Thread Simonetti Andrea
Title: R: newbie has problems installing cocoon





Ok, I get cocoon working, but I don't understand why the apps we had working with cocoon 1 do not work when I drop them in /webapps ...

Tomcat gives me a "resource not available"...


I just don't get the point of how this works!


Andy



> 
> If you use 2.1.3 it's really easy:
> 
> 1. Get 2.1.3 from http://cocoon.apache.org/mirror.cgi. It's only
> available as sources, so you can choose either the second or third link
> (Windows or Unix) on the page. The first link is for explanation why
...
> 4.b Copy cocoon.war from COCOON_SRC/build/cocoon-2.1.3 into your
> TOMCAT_HOME/webapps directory. If you don't use JDK 1.4 it should "just
> work".
> 
> Joerg





Re: newbie has problems installing cocoon

2004-01-28 Thread Nicolas Toper
If I remember irght old Tomcat doens't detect war automatically. It depends on 
the version number. Might be worth checking?
Le Mercredi 28 Janvier 2004 11:37, Joerg Heinicke a écrit :
> On 28.01.2004 07:42, Andrea Simonetti wrote:
> > well, right; I have tried different combinations as a matter of facts.
> > My people here need to have JDK 1.3.1 for java, that's the only limit.
> >
> > I managed to get cocoon working now, but still it won't take the apps I
> > drop in /webapps... tomcat says "application not available".
> >
> > I shall contact the guy that made the first setup working (nt4, jdk 1.31,
> > tomcat 3.3.4 & cocoon 1), there has to be some config I am missing...
>
> If you use 2.1.3 it's really easy:
>
> 1. Get 2.1.3 from http://cocoon.apache.org/mirror.cgi. It's only
> available as sources, so you can choose either the second or third link
> (Windows or Unix) on the page. The first link is for explanation why
> there are only sources.
>
> 2. Unzip it where ever you want (this dir is now the COCOON_SRC
> directory). If you use WinZip an empty directory might be missing
> (COCOON_SRC/src/blocks/stx/java). The build would stumble about it and
> you can add it.
>
> 3. Type "build war" in COCOON_SRC directory.
>
> 4.a Type "cocoon servlet" for running Cocoon in Jetty.
>
> 4.b Copy cocoon.war from COCOON_SRC/build/cocoon-2.1.3 into your
> TOMCAT_HOME/webapps directory. If you don't use JDK 1.4 it should "just
> work".
>
> Joerg
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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



Re: newbie has problems installing cocoon

2004-01-28 Thread Joerg Heinicke
On 28.01.2004 07:42, Andrea Simonetti wrote:
well, right; I have tried different combinations as a matter of facts.
My people here need to have JDK 1.3.1 for java, that's the only limit.
I managed to get cocoon working now, but still it won't take the apps I drop
in /webapps... tomcat says "application not available".
I shall contact the guy that made the first setup working (nt4, jdk 1.31,
tomcat 3.3.4 & cocoon 1), there has to be some config I am missing...
If you use 2.1.3 it's really easy:

1. Get 2.1.3 from http://cocoon.apache.org/mirror.cgi. It's only 
available as sources, so you can choose either the second or third link 
(Windows or Unix) on the page. The first link is for explanation why 
there are only sources.

2. Unzip it where ever you want (this dir is now the COCOON_SRC 
directory). If you use WinZip an empty directory might be missing 
(COCOON_SRC/src/blocks/stx/java). The build would stumble about it and 
you can add it.

3. Type "build war" in COCOON_SRC directory.

4.a Type "cocoon servlet" for running Cocoon in Jetty.

4.b Copy cocoon.war from COCOON_SRC/build/cocoon-2.1.3 into your 
TOMCAT_HOME/webapps directory. If you don't use JDK 1.4 it should "just 
work".

Joerg

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


Re: newbie has problems installing cocoon

2004-01-27 Thread Andrea Simonetti
well, right; I have tried different combinations as a matter of facts.
My people here need to have JDK 1.3.1 for java, that's the only limit.

I managed to get cocoon working now, but still it won't take the apps I drop
in /webapps... tomcat says "application not available".

I shall contact the guy that made the first setup working (nt4, jdk 1.31,
tomcat 3.3.4 & cocoon 1), there has to be some config I am missing...

Thanks anyway,

Andy

- Original Message - 
From: "Bertrand Delacretaz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 28, 2004 7:08 AM
Subject: Re: newbie has problems installing cocoon


Le Mardi, 27 jan 2004, à 13:04 Europe/Zurich, Simonetti Andrea a écrit :

> ...I installed the latest Tomcat I could find
> I installed the cocoon.war package (2.0.4) in webapps and restarted
> tomcat...

Do you have a specific reason not to use the latest 2.1.3 release?

Also, starting with "cocoon.bat servlet" as described in INSTALL.txt
might be easier.

-Bertrand


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


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



Re: newbie has problems installing cocoon

2004-01-27 Thread Bertrand Delacretaz
Le Mardi, 27 jan 2004, à 13:04 Europe/Zurich, Simonetti Andrea a écrit :

...I installed the latest Tomcat I could find
I installed the cocoon.war package (2.0.4) in webapps and restarted 
tomcat...
Do you have a specific reason not to use the latest 2.1.3 release?

Also, starting with "cocoon.bat servlet" as described in INSTALL.txt 
might be easier.

-Bertrand

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


newbie has problems installing cocoon

2004-01-27 Thread Simonetti Andrea
Title: newbie has problems installing cocoon






 Ok, here's what I do:
I have a win2000 server machine
I installed the java sdk 1.3.1_09 
I installed the latest Tomcat I could find
I installed the cocoon.war package (2.0.4) in webapps and restarted tomcat
Tomcat decompressed cocoon nicely
I access http://localhost:8080/cocoon and get:

HTTP Status 404 - /cocoon/
type Status report
message /cocoon/
description The requested resource (/cocoon/) is not available


Apache Tomcat/5.0.16

Does anyone knows where shall I look to solve this?


Thanks a lot,


Andy