This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Problem running a war file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Problem running a war file" Watch "Problem running a war file" New topic
Author

Problem running a war file

Ayan Dutta
Ranch Hand

Joined: Oct 16, 2005
Posts: 94
Hello Guys,
I am having a strange problem . I have a worked in a project in which we used
JBoss 3.2.5 during development . Now ,we have the war file deployed into another Tomcat Server(5.0.17). When the server is started all the pages are showing "No Page found..." .No exception is there,I have checked the logs folder,there is no exception . In JBoss the same war file working fine,but in Tomcat it is not .Any clue ?
Regards,
Ayan
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

It sounds like the applications were never deployed.
Did you look at the application listing screen in the Tomcat Manager app to see if they were? It may show them as being deployed but unable to start.
If that's the case there should be something in the Tomcat logs.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ayan Dutta
Ranch Hand

Joined: Oct 16, 2005
Posts: 94
Hi ,
In the Tomacat manager screen the project name is displayed .
I am explaining the problem again.
Say the welcome page is welcome.jsp.Inside welcome.jsp there are 3 iframes,say frame1,frame2,frame3.frame1 loads a.jsp,frame2 loads b.jsp and frame3 loads c.jsp.
Now what is happening after deployment ,the page welcome.jsp is coming with three iframes.But inside the iframes none of jsps are working .Three of the frames showing "page not found....".Where as, when I am deploying the same war file in JBoss it is working fine.
Regards,
Ayan.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Are the three pages dependent on another resource that might need to be configured (such as a database connection)?

You'll have to give us more information if we are to help you.
It's rare that pages will blow up in Tomcat without something being logged.
What are you using for urls in the frameset?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem running a war file
 
Similar Threads
Deployment in JBoss
JSF not working with JBoss 4.2.1
Doubts regarding servers
Trying to deploy a war file with datasources to JBoss
Deploying .war files