This is the clue I received to Fix the Build but let me tell you what
you should really do and why first:
After successfully building the WAR file make sure you are running
Tomcat 4.04Beta 2. Why? The WAR file doesn't get its session
information and path resources extracted correctly resulting in a 404
Error to the tune of /cocoon/ path not found: Really annoying that this
happens with Tomcat 4.0.3. I may be wrong on this but in the end no
path is created.
Here is the clue:
>You can remove the comments in the end of EsqlConnection.java manually to
>make it work.
>
>
>Douglas
>
So that was rather weak and typical of advanced developers, which I am
not- I've been a systems engineer and xml/html/css/xsl developer for the
most part.
So after scraping to find the Path to the java class file :
Under XP its here:
%COCOON2_HOME%\java\org\apache\cocoon\components\language\markup\xsp
Excerpt originally commented out w/o explaination. : I can only assume
its because Java SDK 1.3.1 would throw an exception and not build.
You'd think they'd note that for those using Java SDK 1.4 to beware this
on the Site ahead of time in a sort of a "Workarounds Release" document.
* }
/* Commented out originally for Java SDK 1.3.1 Configuration and not 1.4 */
public void setHoldability(int holdability)
throws SQLException
{
connection.setHoldability(holdability);
......*
Lauren Commons wrote:
>I'm installing cocoon 2.0.2 on a redhat 7.2 server
>with Sun's JDK 1.4, and the lates Tomcat (the lite
>version, with out the jars now supplied by the JDK).
>
>FIRST, I installed the binary version, copied Xerces,
>xalan ans xml-apis and I also replaced the javac.jar
>as specified in the install instructions.
>When I browse to the cocoon url I get an error
>compiling sitemap: NoClassDefFound:
>org/w3c/dom/ranges/DocumentRange
>
>THEN, Thinking this might be a jdk compatability
>issue, I tried building from source. When I do that I
>get 24 errors all related to EsqlConnection and
>EsqlConnectionCocoon2, which extend
>java.sql.Connection.
>
>Question 1: What really caused the first problem?
>Question 2: If I need to compile, what's up with the
>sql classes?
>I'm sure this has been asked before, but I can't check
>the archive....
>
>tia
>
>=====
>-------------------------
>Mr Lauren Commons
>DISCLAIMER: The opinions expressed
>ARE in fact those of my employer.
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Games - play chess, backgammon, pool and more
>http://games.yahoo.com/
>
>---------------------------------------------------------------------
>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]>