You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2013/09/17 08:57:02 UTC

svn commit: r1523933 - /myfaces/tobago/trunk/src/site/fml/faq.fml

Author: lofwyr
Date: Tue Sep 17 06:57:01 2013
New Revision: 1523933

URL: http://svn.apache.org/r1523933
Log:
server.xml and config

Modified:
    myfaces/tobago/trunk/src/site/fml/faq.fml

Modified: myfaces/tobago/trunk/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/src/site/fml/faq.fml?rev=1523933&r1=1523932&r2=1523933&view=diff
==============================================================================
--- myfaces/tobago/trunk/src/site/fml/faq.fml (original)
+++ myfaces/tobago/trunk/src/site/fml/faq.fml Tue Sep 17 06:57:01 2013
@@ -358,8 +358,19 @@ java -jar ~/Downloads/wlp-developers-run
         </ul>
         <p>
           After these steps you can start/stop the server and deploy an built artifact.
-          For these steps, you need to be in a Tobago example directory.
+          For these steps, you need to be in the Tobago example demo directory.
           <source>cd tobago-examples/tobago-example-demo</source>
+          This is <b>important</b> for the first start of the server,
+          because at the first start the server will be initialized.
+          For the setup the file
+          <source>test/resources/server.xml</source>
+          will be read. It contains the features, the WLP server will be support, and other configurations.
+          In our case we have the following features:
+          <source>
+            &lt;feature>cdi-1.0&lt;/feature>
+            &lt;feature>jsp-2.2&lt;/feature>
+            &lt;feature>servlet-3.0&lt;/feature>
+            &lt;feature>jsf-2.0&lt;/feature></source>
         </p>
         <ul>
           <li>
@@ -402,12 +413,16 @@ java -jar ~/Downloads/wlp-developers-run
             <source>rm -r /opt/wlp-developers-8.5.next.beta/wlp/usr/servers/tobago</source>
           </li>
           <li>
-            Start the server
+            Start the server (don't forget the server.xml)
           </li>
           <li>
             Deploy again
           </li>
         </ul>
+        Please also consider the plugin configuration in the tobago-example/pom.xml
+        <source>
+          &lt;groupId>com.ibm.websphere.wlp.maven.plugins&lt;/groupId>
+          &lt;artifactId>liberty-maven-plugin&lt;/artifactId></source>
       </answer>
     </faq>
   </part>