webwork/src/docs faq.xml,1.14,1.15

[email protected] Thu, 30 May 2002 15:58:18 -0700
Newsgroups gmane.comp.java.webwork.cvs
Message-ID <[email protected]>
Update of /cvsroot/webwork/webwork/src/docs
In directory usw-pr-cvs1:/tmp/cvs-serv30048

Modified Files:
	faq.xml 
Log Message:
added Resin install FAQ

Index: faq.xml
===================================================================
RCS file: /cvsroot/webwork/webwork/src/docs/faq.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- faq.xml	8 May 2002 21:20:32 -0000	1.14
+++ faq.xml	30 May 2002 22:58:15 -0000	1.15
@@ -271,18 +271,48 @@
 <qandaentry>
    <question>
       <para>
-      How do install WW on JBoss 3.0?
+      How do install WW on WebLogic 7.0?
       </para>
    </question>
 
    <answer>
+      <para>
+      This is one way. If you have a better, please let us know.
+      </para>
       <itemizedlist>
-         <listitem>Set WW's <literal>webwork.log4j.configfile</literal> in webwork.properties file to
-         <literal>webwork.log4j.configfile=</literal>.
-         </listitem>
-         
-         <listitem>Drop the EAR or WAR file in <literal>server\default\deploy</literal>
+         <listitem>Expand WW's WAR to <literal>user_projects\mydomain\applications</literal>.
+         The reason you need to expand the WAR is that some dependent JARS are looking for
+         resources from file and WL does not expand by default like Tomcat.</listitem>
+         <listitem>Copy <literal>log4j.jar and velocity-dep-1.2.jar</literal>
+         to <literal>user_projects\mydomain\applications</literal>.</listitem>
+         <listitem>Add a classpath setting to <literal>startWebLogic.cmd</literal> that states
+         <literal>set CLASSPATH=.\applications\log4j.jar;.\applications\velocity-dep-1.2.jar</literal>.
+         </listitem>         
+         <listitem>Start WL via <literal>user_projects\mydomain\startWebLogic.cmd</literal> and open
+         a browser to <literal>http://localhost:7001/webwork</literal>.</listitem>
+      </itemizedlist>
+   </answer>
+</qandaentry>
+
+
+<qandaentry>
+   <question>
+      <para>
+      How do install WW on Resin 2.1.1?
+      </para>
+   </question>
+
+   <answer>
+      <itemizedlist>
+         <listitem>Install log4j.jar in Resin's lib folder.</listitem>
+         <listitem>Modify the config file <literal>resin.conf</literal> element
+         <literal>servlet-classloader-hack</literal> to <literal>true</literal>.
          </listitem>
+         <listitem>If you are specifying your actions in XML, then you might need
+         to drop a XML parser such as crimson or xerxes in your webapp/WEB-INF/lib
+         folder. I was receiving a ClassCastException from JAXP as it was trying
+         to use Resin's. If you find a workaround or fix for this, please
+         let us know.</listitem>
       </itemizedlist>
    </answer>
 </qandaentry>
@@ -309,22 +339,6 @@
          <listitem><ulink url="http://www.mail-archive.com/webwork-user%40lists.sourceforge.net">User List</ulink> </listitem>         
          <listitem><ulink url="http://www.mail-archive.com/webwork-devel%40lists.sourceforge.net">Developer List</ulink> </listitem>         
       </itemizedlist>      
-   </answer>
-</qandaentry>
-
-<qandaentry>
-   <question>
-      <para>
-      When using Resin, why do I get the message "can't find `/WEB-INF/lib/webwork.jar'"?
-      </para>
-   </question>
-
-   <answer>
-      <para>
-      Resin does not understand the absolute "taglib-location" element in web.xml.
-      Simply remove the first "/" to make it work (i.e. change from "/WEB-INF/lib/webwork.jar" to "WEB-INF/lib/webwork.jar").
-      NOTE: This bug occurs with version 1.2.1, so later versions may have fixed this.
-      </para>
    </answer>
 </qandaentry>
 



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm