Re: Cocoon 2.0.1 + Tomcat 4.0 + JDK 1.4

2002-03-07 Thread Mykola A. Nickishov

"Brian Blakeley" <[EMAIL PROTECTED]> writes:

> At first I was going to just say upgrade your IE - but it does not display
> in 6.002 either.
> 
> The good news is that the site loads fine in Netscape 6.2 which in a
> perverse arrangement I use for view links from Outlook.
> 
> Give it a try if you can.

Looks fine with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8)
Gecko/2002020 :)

-- 
/me @ home
ICQ #83060237
MAN-UANIC

-
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 2.0.1 + Tomcat 4.0 + JDK 1.4

2002-03-01 Thread Brian Blakeley

At first I was going to just say upgrade your IE - but it does not display
in 6.002 either.

The good news is that the site loads fine in Netscape 6.2 which in a
perverse arrangement I use for view links from Outlook.

Give it a try if you can.

Brian


- Original Message -
From: "Mykola A. Nickishov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002 4:24 PM
Subject: Re: Cocoon 2.0.1 + Tomcat 4.0 + JDK 1.4


> Baer Peter <[EMAIL PROTECTED]> writes:
>
> > The URL of the XML page that helped us so much is:
> >
> > http://tecfa.unige.ch/guides/xml/cocoon/install-notes-2-simple.xml
>
> I use IE 5.00.2920.xx and recieve:
>
> The XML page cannot be displayed
> Cannot view XML input using CSS style sheet. Please correct the error
> and then click the Refresh button, or try again later.
>
>
> --
--
>
> Error while parsing entity 'amp'. Unexpected end of file. Line 1,
> Position 1
>
> :)
>
> --
> /me @ home
> ICQ #83060237
> MAN-UANIC
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> 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. <http://xml.apache.org/cocoon/faqs.html>

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




Re: Cocoon 2.0.1 + Tomcat 4.0 + JDK 1.4

2002-03-01 Thread Mykola A. Nickishov

Baer Peter <[EMAIL PROTECTED]> writes:

> The URL of the XML page that helped us so much is:
> 
> http://tecfa.unige.ch/guides/xml/cocoon/install-notes-2-simple.xml

I use IE 5.00.2920.xx and recieve:

The XML page cannot be displayed 
Cannot view XML input using CSS style sheet. Please correct the error
and then click the Refresh button, or try again later. 




Error while parsing entity 'amp'. Unexpected end of file. Line 1,
Position 1 

:)

-- 
/me @ home
ICQ #83060237
MAN-UANIC

-
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 2.0.1 + Tomcat 4.0 + JDK 1.4

2002-02-21 Thread Baer Peter

The URL of the XML page that helped us so much is:

http://tecfa.unige.ch/guides/xml/cocoon/install-notes-2-simple.xml

N.B.: It's an XML page with CSS2, so you will need an up-to-date web
browser to view it. Mozilla 0.9.8 and Opera 6.0 TP 3 do the job for
Linux, eg.

Generating just a jar file, instead of a war file has to do with the
build command as given in the XML page:
./build.sh  -Dinclude.webapp.libs=yes webapp

To produce a war file, you say:
./build.sh  -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_HOME/webapps 
webapp

That's the only point that might be a little misleading in Daniel's 
installation instruction. It should be possible to get it all working 
with the jar file only, though, by copying it into $CATALINA_HOME/lib,
and -- maybe -- creating a webapp directory for cocoon. (Haven't tried
that, here).

Regarding your 404 error: Out of the box Tomcat is listening on port 
8080, not 8180. Could this be it? Of course, you can change that...

Note: We haven't got *all* the examples working. Most of them do, 
others, like the SVG example, don't. Nevertheless, we consider a huge
step forward! 8-)

Hope that helps,

Peter


Peter Flynn wrote:
> Peter Baer writes:
> 
>>Dear Daniel,
>>
>>thank you for making this info public. Especially your hints about
>>what versions to use helped me to finally get C2 working.
>>
>>The combination that works for us here is:
>>
>>- Java: Sun J2SDK 1.4.0
>>
>>- Cocoon: Development snapshot xml-cocoon2_20020219112118.tar.gz,
>>  built with JNDI using Java 1.4 from Sun
>>
> 
> I just tried to build the only snapshot available in the CVS directory
> close to this date (xml-cocoon2_20020219172103.tar.gz) and it doesn't
> produce a cocoon.war file. It produces a cocoon.jar file instead. What
> should I do with it? Have you got a copy of the snapshot you used that
> I can download?
> 
> My problem is that under no circumstances will tomcat do anything with
> cocoon.war. It just sits there in /var/tomcat/webapps. Is something
> supposed to happen when I restart tomcat? I'm still getting a 404
> for my http://localhost:8180/cocoon
> 
> 
>>- Tomcat: Jakarta-Tomcat 4.0.1 binary release
>>
>>- SuSE Linux 7.3
>>
>>With all other combinations we got one of the well-known errors:
>>Sitemap not available, major minor version number 48.0 etc.
>>
>>Eg, it *has not worked* with the Tomcat 4.0.2 binary release.
>>And it *does not work* with C2 release version 2.0.1.
>>
>>So, please, folks on this list who have trouble to get C2 running:
>>
>>Your *best chance* appears to be to try a *C2 development snapshot* with 
>>*Tomcat 4.0.1* binary release!
>>
>>And thanks again, Daniel! Your XML page is of great value!
>>
> 
> Could you please repost this URL?
> 
> ///Peter
> 
> -
> 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]>
> 


-- 
+---+-+
|Peter C. A. Bär| Siemens Business Services & Co. OHG |
|Fon  +49.911.654-2387  | Von-der-Tann-Str. 30-31 |
|Fax  +49.911.654-2108  | 90439 Nürnberg  |
|   | Deutschland |
+---+-+
|  >>>  mailto:[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: Re: Cocoon 2.0.1 + Tomcat 4.0 + JDK 1.4

2002-02-20 Thread Peter Flynn

Peter Baer writes:
> 
> Dear Daniel,
> 
> thank you for making this info public. Especially your hints about
> what versions to use helped me to finally get C2 working.
> 
> The combination that works for us here is:
> 
> - Java: Sun J2SDK 1.4.0
> 
> - Cocoon: Development snapshot xml-cocoon2_20020219112118.tar.gz,
>   built with JNDI using Java 1.4 from Sun

I just tried to build the only snapshot available in the CVS directory
close to this date (xml-cocoon2_20020219172103.tar.gz) and it doesn't
produce a cocoon.war file. It produces a cocoon.jar file instead. What
should I do with it? Have you got a copy of the snapshot you used that
I can download?

My problem is that under no circumstances will tomcat do anything with
cocoon.war. It just sits there in /var/tomcat/webapps. Is something
supposed to happen when I restart tomcat? I'm still getting a 404
for my http://localhost:8180/cocoon

> - Tomcat: Jakarta-Tomcat 4.0.1 binary release
> 
> - SuSE Linux 7.3
> 
> With all other combinations we got one of the well-known errors:
> Sitemap not available, major minor version number 48.0 etc.
> 
> Eg, it *has not worked* with the Tomcat 4.0.2 binary release.
> And it *does not work* with C2 release version 2.0.1.
> 
> So, please, folks on this list who have trouble to get C2 running:
> 
> Your *best chance* appears to be to try a *C2 development snapshot* with 
> *Tomcat 4.0.1* binary release!
> 
> And thanks again, Daniel! Your XML page is of great value!

Could you please repost this URL?

///Peter

-
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: Re: Cocoon 2.0.1 + Tomcat 4.0 + JDK 1.4

2002-02-19 Thread Baer Peter

No, I haven't done this all, ie:

I have *not* compiled jars explicitly, but I guess they are 
automagically compiled when you build a new C2 war file, which I did.

And I have *not* copied the tools.jar into WEB-INF/lib. Nevertheless 
quite a few examples work (not all of them, though, eg the SVG example 
responds with a blank page).

If the examples work, that means that C2 is able to compile things, I 
guess. So it seems the tools.jar issue is solved in the development 
snapshots as stated on Daniel's helpful web xml page.

BTW: Has anyone seen anything better than an empty page from the SVG 
example? (I'm using the C2 dev snapshot of February, 19).

Peter


Berin Loritsch wrote:

 >Baer Peter wrote:
 >> Dear Daniel,
 >> > thank you for making this info public. Especially your hints about
 >> what versions to use helped me to finally get C2 working.>> > The 
 >combination that works for us here is:
 >> > - Java: Sun J2SDK 1.4.0
 >> > - Cocoon: Development snapshot xml-cocoon2_20020219112118.tar.gz,
 >> built with JNDI using Java 1.4 from Sun
 >> > - Tomcat: Jakarta-Tomcat 4.0.1 binary release
 >> > - SuSE Linux 7.3
 >> > With all other combinations we got one of the well-known errors:
 >> Sitemap not available, major minor version number 48.0 etc.
 >> > Eg, it *has not worked* with the Tomcat 4.0.2 binary release.
 >> And it *does not work* with C2 release version 2.0.1.
 >> > So, please, folks on this list who have trouble to get C2 running:
 >> > Your *best chance* appears to be to try a *C2 development 
snapshot* >with
 >> *Tomcat 4.0.1* binary release!
 >> > And thanks again, Daniel! Your XML page is of great value!
 >
 >
 >What version of Tools.jar is in your Webapp lib?
 >
 >room for the assert keyword.  You have to use freshly compiled jars
 >for JDK 1.4 (or make sure the class version is set to the minimum
 >supported for all the classes).
 >
 >Lastly, Cocoon has a copy of Tools.jar in the WEB-INF/lib directory.
 >You *MUST* replace that with the one for JDK 1.4, or you will not be
 >able to compile anything (aka the Sitemap and XSP files).





-- 
+---+-+
|Peter C. A. Bär| Siemens Business Services & Co. OHG |
|Fon  +49.911.654-2387  | Von-der-Tann-Str. 30-31 |
|Fax  +49.911.654-2108  | 90439 Nürnberg  |
|   | Deutschland |
+---+-+
|  >>>  mailto:[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 2.0.1 + Tomcat 4.0 + JDK 1.4

2002-02-19 Thread Berin Loritsch

Baer Peter wrote:
> Dear Daniel,
> 
> thank you for making this info public. Especially your hints about
> what versions to use helped me to finally get C2 working.
> 
> The combination that works for us here is:
> 
> - Java: Sun J2SDK 1.4.0
> 
> - Cocoon: Development snapshot xml-cocoon2_20020219112118.tar.gz,
> built with JNDI using Java 1.4 from Sun
> 
> - Tomcat: Jakarta-Tomcat 4.0.1 binary release
> 
> - SuSE Linux 7.3
> 
> With all other combinations we got one of the well-known errors:
> Sitemap not available, major minor version number 48.0 etc.
> 
> Eg, it *has not worked* with the Tomcat 4.0.2 binary release.
> And it *does not work* with C2 release version 2.0.1.
> 
> So, please, folks on this list who have trouble to get C2 running:
> 
> Your *best chance* appears to be to try a *C2 development snapshot* with 
> *Tomcat 4.0.1* binary release!
> 
> And thanks again, Daniel! Your XML page is of great value!


What version of Tools.jar is in your Webapp lib?

Seriously, If you use JDK 1.4, they changed the class format to make
room for the assert keyword.  You have to use freshly compiled jars
for JDK 1.4 (or make sure the class version is set to the minimum
supported for all the classes).

Lastly, Cocoon has a copy of Tools.jar in the WEB-INF/lib directory.
You *MUST* replace that with the one for JDK 1.4, or you will not be
able to compile anything (aka the Sitemap and XSP files).



-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
 - Benjamin Franklin


-
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: Re: Cocoon 2.0.1 + Tomcat 4.0 + JDK 1.4

2002-02-19 Thread Baer Peter

Dear Daniel,

thank you for making this info public. Especially your hints about
what versions to use helped me to finally get C2 working.

The combination that works for us here is:

- Java: Sun J2SDK 1.4.0

- Cocoon: Development snapshot xml-cocoon2_20020219112118.tar.gz,
built with JNDI using Java 1.4 from Sun

- Tomcat: Jakarta-Tomcat 4.0.1 binary release

- SuSE Linux 7.3

With all other combinations we got one of the well-known errors:
Sitemap not available, major minor version number 48.0 etc.

Eg, it *has not worked* with the Tomcat 4.0.2 binary release.
And it *does not work* with C2 release version 2.0.1.

So, please, folks on this list who have trouble to get C2 running:

Your *best chance* appears to be to try a *C2 development snapshot* with 
*Tomcat 4.0.1* binary release!

And thanks again, Daniel! Your XML page is of great value!

-- 
+---+-+
|  >>>  mailto:[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 2.0.1 + Tomcat 4.0 + JDK 1.4

2002-02-18 Thread Bert Van Kets

There's an error opening the file.
As far as I can tell you've got an "<" on line 1 thant's not part of a tag.
Bert
At 17:38 18/02/2002 +0100, you wrote:
> > Richard Korthuis wrote:
> >
> > Hello,
> >
> > I have already seen several posts about getting Cocoon 2.0 to work with 
> Tomcat 4.0 and
> > JDK 1.4, but I haven't found one that had a solution to the error 
> everyone gets (The
> > major.minor version '48.0' is too recent for this tool to understand.)
> > Is there already a fix for this problem?
> >
> > Regards
> >
> > Richard Korthuis
>
>I got cocoon SOURCE and made a fresh cocoon.jar.
>
>(See with a browser that can read client XML:
>   http://tecfa.unige.ch/guides/xml/cocoon/install-notes-2-simple.xml
>)
>
>- Daniel
>
>-
>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 2.0.1 + Tomcat 4.0 + JDK 1.4

2002-02-18 Thread Daniel Schneider

> Richard Korthuis wrote:
> 
> Hello,
> 
> I have already seen several posts about getting Cocoon 2.0 to work with Tomcat 4.0 
>and
> JDK 1.4, but I haven't found one that had a solution to the error everyone gets (The
> major.minor version '48.0' is too recent for this tool to understand.)
> Is there already a fix for this problem?
> 
> Regards
> 
> Richard Korthuis

I got cocoon SOURCE and made a fresh cocoon.jar.

(See with a browser that can read client XML:
  http://tecfa.unige.ch/guides/xml/cocoon/install-notes-2-simple.xml
)

- Daniel

-
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 2.0.1 + Tomcat 4.0 + JDK 1.4

2002-02-18 Thread Richard Korthuis



Hello,
 
I have already seen several posts about getting Cocoon 2.0 
to work with Tomcat 4.0 and JDK 1.4, but I haven't found one that had a solution 
to the error everyone gets (The major.minor version '48.0' is too recent for 
this tool to understand.)
Is there already a fix for this problem?
 
Regards 
 
Richard Korthuis