You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by andre powroznik <an...@uniway.be> on 2001/03/27 17:57:38 UTC
Install Cocoon under Quadcap web server
Quadcap (http://www.quadcap.com) is a servlet server + a database
server. It's very nice :)
"QED is a pure Java database that features:
A high performance, small footprint, pure Java database engine
A rich set of RDBMS features: transactions, data integrity, failure
recovery, comprehensive SQL 92 conformance plus many SQL3 features.
Support for JDBC 2.0 "
Install like tomcat (mostly).
1) replace [path to cocoon] in web.xml by . like that:
<init-param>
<param-name>properties</param-name>
<param-value>./WEB-INF/cocoon.properties</param-value>
</init-param>
2) add cocoon in web.props like that:
context.cocoon.root=/cocoon
context.cocoon.docBase=./cocoon
3) modify server.bat like that:
java
-Djava.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
-classpath
"%QLB%\xerces_1_2.jar;%QLB%\ant1_1.jar;%QLB%\antlr.jar;%QLB%\bsf.jar;%QLB%\bsfengines.jar;%QLB%\cocoon.jar;%QLB%\fesi.jar;%QLB%\fop_0_15_0.jar;%QLB%\fscontext.jar;%QLB%\jdbc.jar;%QLB%\jndi.jar;%QLB%\jsdk22.jar;%QLB%\providerutil.jar;%QLB%\qed.jar;%QLB%\sax-bugfix.jar;%QLB%\servlet_2_2.jar;%QLB%\stylebook-1.0-b2.jar;%QLB%\turbine-pool.jar;%QLB%\w3c.jar;%QLB%\xalan_1_2_D02.jar;%QLB%\xml.jar;%QLB%\xt.jar"
com.quadcap.server.ServiceContainer
it should fit 1 line.
Something is not yet working:
when clicking in something in the Dynamic content Generation, I receive
this error message (via browser).
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
org.apache.cocoon.processor.xsp.language.java.SunJavaCompiler.compile(SunJavaCompiler.java:68)
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Install Cocoon under Quadcap web server
Posted by lee fellows <lf...@airsmail.com>.
Hi Andre,
Looks like you need to add the tools.jar to your classpath.
andre powroznik wrote:
>
> Quadcap (http://www.quadcap.com) is a servlet server + a database
> server. It's very nice :)
>
> "QED is a pure Java database that features:
>
> A high performance, small footprint, pure Java database engine
> A rich set of RDBMS features: transactions, data integrity, failure
> recovery, comprehensive SQL 92 conformance plus many SQL3 features.
> Support for JDBC 2.0 "
>
> Install like tomcat (mostly).
>
> 1) replace [path to cocoon] in web.xml by . like that:
>
> <init-param>
> <param-name>properties</param-name>
> <param-value>./WEB-INF/cocoon.properties</param-value>
> </init-param>
>
> 2) add cocoon in web.props like that:
>
> context.cocoon.root=/cocoon
> context.cocoon.docBase=./cocoon
>
> 3) modify server.bat like that:
>
> java
> -Djava.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
> -classpath
> "%QLB%\xerces_1_2.jar;%QLB%\ant1_1.jar;%QLB%\antlr.jar;%QLB%\bsf.jar;%QLB%\bsfengines.jar;%QLB%\cocoon.jar;%QLB%\fesi.jar;%QLB%\fop_0_15_0.jar;%QLB%\fscontext.jar;%QLB%\jdbc.jar;%QLB%\jndi.jar;%QLB%\jsdk22.jar;%QLB%\providerutil.jar;%QLB%\qed.jar;%QLB%\sax-bugfix.jar;%QLB%\servlet_2_2.jar;%QLB%\stylebook-1.0-b2.jar;%QLB%\turbine-pool.jar;%QLB%\w3c.jar;%QLB%\xalan_1_2_D02.jar;%QLB%\xml.jar;%QLB%\xt.jar"
> com.quadcap.server.ServiceContainer
>
> it should fit 1 line.
>
> Something is not yet working:
>
> when clicking in something in the Dynamic content Generation, I receive
> this error message (via browser).
>
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
> at
> org.apache.cocoon.processor.xsp.language.java.SunJavaCompiler.compile(SunJavaCompiler.java:68)
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>