I am also working on this project on similar lines. I want to deploy JM server as a web application on Tomcat 5.0.27
As per your guidelines, I made the following directory structure given below:
c:\tomcat5.0
imserver
WEB-INF
jive_messenger
bin
classes
conf
javadoc
jspc —> contains the compiled *.JSP files
lib
logs
plugins
resources
tempbuid
webapp
whack
webapps
imserver
WEB-INF
web.xml
classes
lib
messenger.jar
startup.jar
ServerStarter.jar --> Created this file using JAR utility
ServerStarter.java
ServerStarter.class
Kindly note the following:
Folder ‘‘jive_messenger’’ contains the contents of ‘‘target’’ folder (after building the source code using ANT application)
ServerStarter.java -> Your code throws errors while compiling, Error: class not found - org.jivesoftware.messenger.starter.ServerStarter. so I took this file from JM source code folder ( src/java/org/jivesoftware/messenger/starter )
ServerStarter.class --> I took this file from ‘‘target’’ folder ( classes/org/jivesoftware/messenger/starter )
The folder ‘‘classes’’ is empty
Usually *.jsp and *.html files are to be kept in the web application folder in our case which is ‘‘imserver’’, but none of these files are stored here.
When I start the tomcat server, it deploys ‘‘imserver’’ as a web application, but I wonder how to access the index.jsp/index.html page so as to login to admin module???
When I tried the url ( http://localhost:8080/imserver/index.jsp ), the browser threw ‘‘Page Not Found’’ error as it doesn’'t find any index.jsp in the (imserver) web application folder.
I would like to know, where to place *.jsp files from JM server source code (src/web) folder and the URL to access these pages.
Please guide me, incase of, if i have left out something or I have mis-understood your guidelines.