Connecting Tech Pros Worldwide Help | Site Map

Java - Apache Tomcat 5.5 problem

Member
 
Join Date: Oct 2006
Posts: 42
#1: Jun 16 '08
Good Day,
i am having difficulty in deploying my .war file on my web server... when i deploy my warfile in my pc or any other workstation it deploys fine. but when i deploy it on my server. it only deploys the .war file on the /webapps folder.. there are no folder structure being created.. therefore my site cannot work properly.

ex:
when i deploy my .war file (test.war) on my workstation there will be a folder named:

/webapps/test

created

while on my server it only deploys the test.war on the /webapps folder:

/webapps/test.war

no folders.. is there anything i should do ?

Thanks and i hope for a reply i am way past my deadline any help is well appreciated
Dököll's Avatar
Moderator
 
Join Date: Nov 2006
Location: Upstate NY - US
Posts: 2,267
#2: Jun 17 '08

re: Java - Apache Tomcat 5.5 problem


Hey there, akoymakoy!

Sorry for your troubles, your war file may be missing some segments of your project.

Why are you building a project elsewhere and not on the server anyway?

Transfering your war file to other workstations may not have carried over necessary files that aren't portable to other systems. If it's not too much for you, I'd say build from your server (test server, if you have one), keep things local;-) how 'bout that?

Dököll
Member
 
Join Date: Oct 2006
Posts: 42
#3: Jun 17 '08

re: Java - Apache Tomcat 5.5 problem


well the server im deploying to is the server provided by the client.. im pretty sure i didnt forget to include some files because things are working well on other workstations.. only on that certain workstation which is unfortunately where the server is. Would there be anyone who experienced the same case wherein i deploy warfiles and it fails to create a folder of the web app , instead it just puts the .war file in the webapps folder.
Member
 
Join Date: Oct 2007
Posts: 52
#4: Jun 17 '08

re: Java - Apache Tomcat 5.5 problem


Hi dude, first I assume your server is up and running...? and whe you put your war file in the deploy directory... I want to find out what is your server responds..? it shpuld log some massages telling you what is happening, happened, or not happened... so let me see the console of your running server and all the massage before and after you tried to deploy the war file, can you see any exception thrown or everything goes well...? Sam Rabophala
Reply