Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 51940

Summary: resin appears to be misconfigured by the ebuild
Product: Gentoo Linux Reporter: Michael Labhard <m.labhard>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Labhard 2004-05-24 13:05:39 UTC
In example.servlet.basic documentation for Class HelloServlet states that, "this servlet is called with the URL /tutorial/servlet/example.servlet.basic.HelloServlet."  However, invoking this servlet with "http://localhost:8080/tutorial/servlet/example.servlet.basic.HelloServlet" results in the error

404 Not Found
/tutorial/servlet/example.servlet.basic.HelloServlet was not found on this server.

Resin 2.1.9 (built Tue Apr 15 14:28:40 PDT 2003)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Resin log files:
Resin 2.1.9 (built Tue Apr 15 14:28:40 PDT 2003)
Copyright(c) 1998-2003 Caucho Technology.  All rights reserved.

Starting Resin on Mon, 24 May 2004 12:58:08 -0700 (PDT)
http listening to *:8080
srun listening to 127.0.0.1:6802

[2004-05-24 12:58:11.499] initializing application http://localhost:8080/quercus
[2004-05-24 12:58:13.473] initializing application http://localhost:8080/cmp
[2004-05-24 12:58:13.480] initializing application http://localhost:8080/hello
[2004-05-24 12:58:13.665] initializing application http://localhost:8080/
[2004-05-24 12:58:13.665] initializing application http://localhost:8080/java_tut
[2004-05-24 12:58:13.665] initializing application
http://localhost:8080/examples/basic
[2004-05-24 12:58:13.665] initializing application
http://localhost:8080/examples/tags
[2004-05-24 12:58:13.665] initializing application
http://localhost:8080/examples/tictactoe
[2004-05-24 12:58:13.665] initializing application
http://localhost:8080/examples/navigation
[2004-05-24 12:58:13.665] initializing application
http://localhost:8080/examples/xsl
[2004-05-24 12:58:13.666] initializing application
http://localhost:8080/examples/templates
[2004-05-24 12:58:13.666] initializing application
http://localhost:8080/examples/login

emerge --info:
Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 5
Gentoo Base System version 1.4.10
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -fPIC"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /opt/resin/conf /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -fPIC"
DISTDIR="/opt/no_archive/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/opt/no_archive/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb cdr crypt doc encode esd foomaticdb gdbm
gif gnome gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww log4cpp mikmod
motif mozilla mpeg mysql nas ncurses nls nogcj oggvorbis opengl oss pam pdflib
perl plotutils png postgres python qt quicktime readline ruby sdl slang spell
ssl svg tcltk tcpd tetex truetype usb wxwindows xinerama xml2 xmms xv zlib"
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2004-07-31 11:44:14 UTC
its on
http://localhost:8080/java_tut/servlet/example.servlet.basic.HelloServlet

when you are using a diffrend version then the one the manual refers too?
Comment 2 Thomas Matthijs (RETIRED) gentoo-dev 2004-07-31 11:50:36 UTC
what i meant to say was

where/are you using a diffrend version then the one the manual refers too?

but my keyboard disagreed with me
Comment 3 Michael Labhard 2004-08-01 09:49:30 UTC
Since submitting this I have lost the means to reproduce the problem, since I cannot now find any .../tutorial/servlet/... on my machine currently.  If you don't think there is a problem let's close the bug.  Thanks.