Netware Webserver - object not found in Tomcat when trying to deploy simple app

This is Interesting: Free IT Magazines  
Home > Archive > Netware Webserver > September 2005 > object not found in Tomcat when trying to deploy simple app





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author object not found in Tomcat when trying to deploy simple app
Ethan Guiles

2005-09-06, 5:50 pm

Hi All,

Netware 6.5 sp3. Tomcat 4.1.30.

Trying to learn how to deploy Tomcat apps. Going through the O'Reily
book "Learning Java". Made a simple app which prints "Hello World" on
the screen. It deploys just fine to the Tomcat server downloaded on to
my W2K box from Sun. When I try to install the .war file on Netware,
the same .war file, I get "object not found"

Here is the web.xml file:

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">

<web-app>
<display-name>Hello World app</display-name>
<description>Simple Tomcat app</description>

<servlet>
<servlet-name>helloclient1</servlet-name>
<servlet-class>HelloClient</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>helloclient1</servlet-name>
<url-pattern>/hello</url-pattern>
</servlet-mapping>

</web-app>

There is just one class in the classes subfolder, again which works fine
with the W2K Tomcat server from Sun.

Any advise is appreciated.

Ethan
--
We must not be frightened nor cajoled into accepting evil as
deliverance from evil. We must go on struggling to be human,
though monsters of abstractions police and threaten us.
-Robert Hayden, poet and educator (1913-1980)
Ethan Guiles

2005-09-06, 5:50 pm

The url's I'm trying are https://<server>/learningjava/hello
http://<server>/learningjava/hello
https://<server>/learningjava
http://<server>/learningjava

I found TID 10092370 which tells how to get Tomcat listening on port
8080 by removing comments from Server.xml file. My server.xml file did
not have the lines. The ConnectorClassName tag has port 9010 listed.
Pointing the URL to http://<server>:9010/learningjava/hello just causes
the the browser to spin. It will probably eventually timeout.

Should I leave Tomcat alone and just install the other application server?

Ethan
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com