Changes for page Servlet Deployment Setup

Last modified by Pascal Robert on 2012/07/21 20:28

From version 26.1
edited by Pascal Robert
on 2012/07/21 20:28
Change comment: There is no comment for this version
To version 25.1
edited by Pascal Robert
on 2012/07/21 20:25
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -11,7 +11,7 @@
11 11  
12 12  1. Eclipse 3.4 & WOLips 5640 or later [[installed>>http://wiki.objectstyle.org/confluence/display/WOL/Installing+WOLips]].
13 13  1. Servlet Container of your choice installed. For this article I'll be setting it up using a completely stock install of Tomcat 6.0.18.
14 -1. An existing WebObjects project.
14 +1. An existing WebObjects project.
15 15  
16 16  == Step 1 - Project Properties ==
17 17  
... ... @@ -25,7 +25,8 @@
25 25  1. Right-Click on your project and select "WOLips Ant Tools" and then "Instal"
26 26  [[image:Picture 9.png]]
27 27  1. Look in the Finder at your /Library/WebObjects/Application/ directory and you should find 3 files for your project
28 -[[image:Picture 10.png]]~#~# YourApp.woa
28 +[[image:Picture 10.png]]
29 +11. YourApp.woa
29 29  11. YourApp directory - this is a Single Servlet Directory Deployment (SSDD) it contains all of the Frameworks on the build path embedded in it.
30 30  11. YourApp.war - this is your webapp archive. It contains all the same files as the SSDD, but zipped up.
31 31  
... ... @@ -32,23 +32,3 @@
32 32  == Step 3 - Deploy ==
33 33  
34 34  Copy the MyApp.war file to your servlet container's webapps directory.
35 -
36 -=== Notes about JBoss ===
37 -
38 -I wouldn't consider myself a WAR expert, but I do deploy my WebObjects application using JBoss and it works very well.
39 -
40 -Have you tried a "Hello World" type example application? If you can get a simple application running under JBoss then you should be okay with a more complicated one. I suggest starting with "Hello World" and then adding a simple EOF and that should cover everything.
41 -
42 -There were a few tricky configurations in the initial setup. To be clear, I am using XCode, but it probably doesn't matter. Here are a few things to check.
43 -
44 -Check you jboss-web.xml file. You definitely need to configure this file properly if you are using EOF. The application will never get started properly without this file configured correctly.
45 -
46 -Make sure your deployment license gets built into the WAR file for deployment by setting the SERVLET//DEPLOY//LICENSE item.
47 -
48 -Make sure the servlet project settings are correct:
49 -
50 -* SERVLET//SINGLE//DIR//DEPLOY = NO//
51 -* SERVLET//TRUE//WAR = YES
52 -* SERVLET//WEBAPPS//DIR = /Library/JBoss/3.2/deploy
53 -
54 -Also, I explicitly defined a package for all of my classes. This prevents JBoss from complaining upon startup, however, JBoss still ran the application just fine anyway.