Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with war file created on linux

 
Vijay Kumar
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..All
I have a small application on struts application which is strored on wincvs.I checkout the complete project from cvs to windows and creates a war file, using ant.It works on Tomcat which is installed on Windows. But when I checkout the same project from CVS to Linux and creates the war file using ant it doesnot work on the same Tomcat.Although the same project is checkedout from cvs to windows and linux both.I am not able to understand why the war file generated on linux is not working.Even I have compare the complete folder structure on both war file, its is identical there is no change in any file. please suggest me what could be the reason.
Thanks
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you say its not working on Linux, what exactly are you observing? Any exceptions? If yes, then post the exception stacktrace and also mention when are you seeing these exceptions.
 
Vijay Kumar
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jaikiran thanks for reply,It is showing 404 error. when I enter the given url on IE
http://10.203.143.96:8080/vccgui/index.jsp


HTTP Status 404 - /vccgui/index.jsp

--------------------------------------------------------------------------------

type Status report

message /vccgui/index.jsp

description The requested resource (/vccgui/index.jsp) is not available.


--------------------------------------------------------------------------------

Apache Tomcat/4.1.18


Although a directory with the name of vccgui is created under /<TOMCAT_HOME>/Catalina/localhost which has nothing.

Thanks
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look in the Tomcat logs to see if something is blowing up when your application tries to load.

Also, use the Tocmat manager application to see if the app has been deployed and started.
 
Vijay Kumar
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ben
there is nothing in Tomcat's log dirctory.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may have a permissions problem.
Tomcat needs to be able to write to the tomcat/work and tomcat/logs directories to operate.

Also, if you want to deploy a war file, Tomcat will need to be able to write to the tomcat/webapps directory.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic