Doubt on tomcat folder structure. Please help

Hi,

I got a zip file from my clients telling me to use that as the production.

I have finished my application and its running fine in tomcat server without any vulnerabilities. But now they had send a new zip file and is asking me to use that. But to my surprise it didn't have many items that come with a normal tomcat zip. the one i used. I don't know where to start. I'm a fresher in J2EE and finished the project with lots of strain.

i will give u the folder structure here. Can any one help me to check whether

1. this is a valid structure

2. If it is valid how can i use it?

3. If it is not valid what all files do i need to add to this. Because i need to inform them in detail.

The folder structure of the strange zip file

[i will underline names which indicate folders for clarity]

TomcatTSS-5.5.15.3

bin

common

conf

config-templates

documentation

examples

server

build.xml

README.TXT

VERSION.txt

bin

bootstrap.jar

catalina-tasks.xml

commons-daemon.jar

commons-logging-api.jar

jkstatus-tasks.xml

jmxaccessor-tasks.xml

jsvc.tar.gz

tomcat-juli.jar

tomcat-native.tar.gz

common

i18n

lib

conf

SpyGlass

Standalone

catalina.policy

catalina.properties

context.xml

logging.properties

server-full.xml

server-minimal.xml

tomcat-users.xml

web.xml

i couldn't find a webapps folder and also the bin folder is missing lots of files.

[1742 byte] By [xemaa] at [2007-11-26 15:20:20]
# 1

Did you read the 'README.txt'? What does it say?

Other than that, as a start, try running the build.xml - my guess is that, the build would create other necessary folders, as well as build your application and deploy it in the correct folder structure.

You would need ant (& java ofcourse) in your path to run your build.

ram.

Madathil_Prasada at 2007-7-8 11:47:56 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
how can i run the build.xml. i don't have any idea on this.
xemaa at 2007-7-8 11:47:56 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

i installed ant and installed the build.xml file as you said but it didn't create any folders.

the result said that build was sucessful.

the output as displayed on the command prompt was a few echo statements mentioning usages.

i am not able to understand what to do.

pls help.

xemaa at 2007-7-8 11:47:56 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

You can define the web folder to be one thats different from the webApps folder. I think that definition is in the server.xml file in the <hosts> element(not sure though)

If the build has been successful, I guess your app has been deployed and would be in operation on server start.

Did you try starting your server and checking the application?

Its very difficult to tell without looking at your configuration files. What does Readme.txt say? Can you post it here?

ram.

Madathil_Prasada at 2007-7-8 11:47:56 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
how can i start the server. because i couldn't find any startup scripts in bin folderReadme was not at all meaning ful.Message was edited by: xema
xemaa at 2007-7-8 11:47:56 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6
do one thing first of all try to install tomcat on your computer . try to open tomcat in your computer by startmenu..>progrmmes>>apachetomcat>welcome
chowdaryvasudevaraoa at 2007-7-8 11:47:56 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...