ch14s07.html
来自「详细介绍了jboss3.0的配置等」· HTML 代码 · 共 5 行
HTML
5 行
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Deploying Cocoon 2 in JBoss</title><link rel="stylesheet" href="styles.css" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/styles.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets Vimages/callouts/"><link rel="home" href="index.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/index.html" title="JBoss 3.0 Documentation"><link rel="up" href="ch14.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch14.html" title="Chapter 14. Third Party Examples"><link rel="previous" href="ch14s02.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch14s02.html" title="Deploying the Pet Store 1.1.2 Demo in JBoss"><link rel="next" href="ch14s12.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch14s12.html" title="Using SSL with JBoss"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table border="0" cellpadding="0" cellspacing="0" height="65"><tr height="65"><td rowspan="2"><img src="jboss.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/jboss.gif" border="0"></td><td rowspan="2" background="gbar.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/gbar.gif" width="100%" align="right" valign="top"><a href="index.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/index.html"><img src="doc.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/doc.gif" border="0"></a><a href="ch14.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch14.html"><img src="toc.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/toc.gif" border="0"></a><a href="ch14s02.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch14s02.html"><img src="prev.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/prev.gif" border="0"></a><a href="ch14s12.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch14s12.html"><img src="next.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/next.gif" border="0"></a></td></tr><tr></tr></table><div class="section"><a name="howtococoon"></a><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="howtococoon"></a>Deploying Cocoon 2 in JBoss</h2></div></div><p>Author:<span class="author">Tom Coleman</span>
<tt><<a href="mailto:tcoleman@autowares.com">tcoleman@autowares.com</a>></tt>
</p><div class="section"><a name="d0e12397"></a><div class="titlepage"><div><h3 class="title"><a name="d0e12397"></a>Introduction</h3></div></div><p>Apache Cocoon is a next-generation XML publishing framework. According to the developers, Cocoon 2 is currently "beta quality".</p><p>Cocoon 2 is very easily deployed using JBoss 2.4 configured to use Embedded Tomcat 3.2.2. The specific release used was JBoss 2.4 BETA Rel_2_4_0_23.</p><p>The deployment was on a RH Linux 6.2 system using the Sun 1.3 jdk.</p></div><div class="section"><a name="d0e12406"></a><div class="titlepage"><div><h3 class="title"><a name="d0e12406"></a>Outstanding Deployment Issues</h3></div></div><p><b>SQL examples. </b>This documentation does not address getting the SQL examples to work. If you have successfully deployed the Cocoon 2 SQL examples using JBoss, please post your experiences to the jboss-user mailing list.</p><p><b>Cocoon 2 and JBoss-Jetty. </b>If you have successfully deployed Cocoon 2 using JBoss-Jetty, please post your experiences to the jboss-user mailing list.</p><p><b>X Server required. </b>One of the advanced features of Cocoon 2 is support of Scalable Vector Graphics. On Unix platforms, this feature requires access to an X server. If your system does not run an X server and you have problems with the "sitemap", search the <a href="javascript:if(confirm('http://xml.apache.org/cocoon2/mail-archives.html \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://xml.apache.org/cocoon2/mail-archives.html'" tppabs="http://xml.apache.org/cocoon2/mail-archives.html" target="_top">Cocoon Mailing List Archives</a> for Xvfb.</p></div><div class="section"><a name="d0e12427"></a><div class="titlepage"><div><h3 class="title"><a name="d0e12427"></a>Contributors:</h3></div></div><div class="itemizedlist"><ul><li><p><a name="d0e12431"></a>David Rothman</p></li><li><p><a name="d0e12434"></a>Jan Heise</p></li><li><p><a name="d0e12437"></a>Tom Coleman</p></li></ul></div></div><div class="section"><a name="d0e12440"></a><div class="titlepage"><div><h3 class="title"><a name="d0e12440"></a>Installation & Configuration</h3></div></div><div class="orderedlist"><ol type="1"><li><p><a name="d0e12444"></a>Download Cocoon 2</p><p>You can get the source from <a href="javascript:if(confirm('http://xml.apache.org/cocoon2/dist \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://xml.apache.org/cocoon2/dist'" tppabs="http://xml.apache.org/cocoon2/dist" target="_top">The Apache Project's XML Download Page</a>. We used the "Cocoon-2.0b2" package.</p></li><li><p><a name="d0e12452"></a>Build the Cocoon 2 WAR package</p><p>Follow the instructions in the <a href="javascript:if(confirm('http://xml.apache.org/cocoon2/install.html \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://xml.apache.org/cocoon2/install.html'" tppabs="http://xml.apache.org/cocoon2/install.html" target="_top">Cocoon installation instructions</a> to build the Apache Cocoon 2 WAR package. The resulting .war file will be deployed in the $JBOSS_HOME/deploy directory.</p></li><li><p><a name="d0e12460"></a>Modify JBoss and Tomcat JARS and Classpath</p><p>The Cocoon installation instructions have a section on installing on JBoss 2.2.2 with Tomcat 3.2.2. These instructions work for JBoss 2.4.x. Remove the unneeded JAR files from the JBoss and Tomcat /lib directories. If you are using JBoss 2.4.x, ignore the reference to xml.jar.</p><p>Add xerces_1_4_1.jar to $JBOSS_CLASSPATH and comment out the JAXP references in $JBOSS_HOME/bin/run.sh.</p></li><li><p><a name="d0e12467"></a>Start JBoss</p><p>Start JBoss and copy the cocoon.war to the deploy directory. You should see JBoss deploy Cocoon.</p></li><li><p><a name="d0e12472"></a>Run Cocoon</p><p>Point your browser to http://your-server-name.your-domain:8080/cocoon to start Cocoon.</p></li></ol></div></div></div><table border="0" cellpadding="0" cellspacing="0" height="65"><tr height="65"><td rowspan="2"><img src="gbar.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/gbar.gif" width="432" height="79"></td><td rowspan="2" background="gbar.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/gbar.gif" width="100%" align="right" valign="top"><a href="index.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/index.html"><img src="doc.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/doc.gif" border="0"></a><a href="ch14.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch14.html"><img src="toc.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/toc.gif" border="0"></a><a href="ch14s02.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch14s02.html"><img src="prev.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/prev.gif" border="0"></a><a href="ch14s12.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch14s12.html"><img src="next.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/next.gif" border="0"></a></td></tr><tr></tr></table></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?