Microsoft
Software
Hardware
Network
Question : Tomcat Moving Application to another Server
I've got a tomcat application that runs on Windows 2003. It runs fine on my live server. We are migrating servers and I can't seem to get this same application to run on the new server. It must be some configuration settings but I'm not a java guy so it is tough to figure out. I installed the Tomcat HelloWorld examples and that works fine. Like this:
http://localhost:8080/exam
ples/servl
ets/servle
t/
HelloWor
ldExample
(I'm just trying straight through Tomcat - not IIS)
So my application url is like this:
http://localhost:8080/myap
p/view.htm
l?id=1234
That works on the old server. But on the new server I get a 404 not found error.
So I tried to do the most simple operation I could think of. Just pull up a JPG.
This url works on the old server:
http://localhost:8080/myap
p/images/a
rrow.jpg
On the new server I still get a 404 error.
The directory structure is like this:
C:\Tomcat\webapps\myapp
Now I can get the JPG to appear if I blow away this file:
C:\Tomcat\webapps\myapp\WE
B-INF\web.
xml
But that web.xml file is exactly the same on both server. And if I delete that file it still doesn't get the real pages in the application to work like view.html, etc. I get 404 error on those.
web.xml (as well as every other file in C:\Tomcat\webapps\myapp\) is exactly the same on both machines so my problem is probably somewhere else. But not sure where.
Answer : Tomcat Moving Application to another Server
go thru this link, to verify your deployment procedure.
Also verify the port number, server.xml and web.xml file.
http://oreilly.com/java/ar
chive/tomc
at.html
Random Solutions
java.lang.ClassNotFoundErr<wbr />or ClassName - Please suggest
Cisco IP Phone Firmware Issue on CME 4.0
Correct configuration for child domain DNS, to resolve local, external and host names on parent domain.
How can you configure DHCP to assign different DNS server addresses to different computers
No DNS resolution to Exchange server but everyone can ping.No client gets/can send mail.
Can't access client xp pro shares from win2k domain server
Logon Failure: the target account name is incorrect.
Cisco multiple DHCP pools ??
DNS - Getting non-autoritative answer from primary DNS server
windows domain dns settings