Re: Trouble running a servlet

2001-08-15 Thread Tim O'Neil
At 02:46 PM 8/15/2001, you wrote: > I'm trying to run Tomcat on W2K disconnected from >the Internet. In asking for help, I got one reply >which said >What solved the last of my disconnected-laptop >issues (on Win98 at least) >was adding a LOCALHOST entry in >"c:\windows\hosts" (create it if nee

Re: Trouble running a servlet

2001-08-15 Thread Kenneth Litwak
I'm trying to run Tomcat on W2K disconnected from the Internet. In asking for help, I got one reply which said What solved the last of my disconnected-laptop issues (on Win98 at least) was adding a LOCALHOST entry in "c:\windows\hosts" (create it if needed): 127.0.0.1 localhost Win98 lo

RE: Trouble running a servlet

2001-08-14 Thread Martin van den Bemt
EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: Trouble running a servlet > > > thats c:\windows\hosts.sam isn't it? > > On Tue, 14 Aug 2001, Craig R. McClanahan wrote: > > > > > > > On Tue, 14 Aug 2001, Kenneth Litwak wrote: > > > > >Oka

Re: Trouble running a servlet

2001-08-14 Thread Dmitri Colebatch
thats c:\windows\hosts.sam isn't it? On Tue, 14 Aug 2001, Craig R. McClanahan wrote: > > > On Tue, 14 Aug 2001, Kenneth Litwak wrote: > > >Okay, I made my Win 2000 trouble go away by > > removing proxy settings in NetscRape and signing on to > > the Internet through my ISP. Now everythi

Re: Trouble running a servlet

2001-08-14 Thread Craig R. McClanahan
On Tue, 14 Aug 2001, Kenneth Litwak wrote: >Okay, I made my Win 2000 trouble go away by > removing proxy settings in NetscRape and signing on to > the Internet through my ISP. Now everything works > fine. The question I have still, however, is: how > can I avoid this? I should not have

RE: Trouble running a servlet

2001-08-14 Thread Kenneth Litwak
Robb wrote: Are we talking about not being able to access localhost because you have a proxy setup? You can keep your proxy setup, just add an exception that tells Netscape not to go to the Internet for the host 'localhost'. I see the exception box, but I don't know what to put there. Thanks

RE: Trouble running a servlet

2001-08-14 Thread Rob S.
[EMAIL PROTECTED]] > Sent: Tuesday, August 14, 2001 7:30 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: Trouble running a servlet > > >Okay, I made my Win 2000 trouble go away by > removing proxy settings in NetscRape and signing o

Re: Trouble running a servlet

2001-08-14 Thread Kenneth Litwak
Okay, I made my Win 2000 trouble go away by removing proxy settings in NetscRape and signing on to the Internet through my ISP. Now everything works fine. The question I have still, however, is: how can I avoid this? I should not have to tie up my phone line just to use Tomcat on my PC. T

Re: Trouble running a servlet

2001-08-14 Thread Kenneth Litwak
Well, I still haven't been able to make tomcat work for me on Win 2000. Interestingly, I went to a different machine, running Solaris 8. I downloaded Tomcat 3.2.3, instlaled it, put my code in the Root/classes, and ran it with http://localhost:8080/servlet/LibraryServlet and it worked like a c

Re: Trouble running a servlet

2001-08-14 Thread Richard Draucker
Before you try modifying your "server.xml" file, are you able to run the Tomcat examples? If so, you should be able to drop your LibraryServlet into the webapps/examples/WEB-INF/classes directory and hit it at: http://localhost:8080/examples/servlet/LibraryServlet If you can't run the Tomcat e

Re: Trouble running a servlet

2001-08-14 Thread Kenneth Litwak
I'm afraid this it doens't work in ROOT or examples. How would I create a context for ROOT? Another pster told me I needed to look at my servlet.xml file which should be in the config directory. I don't know how the names difer between platforms, but my "Conf" directory under jakarta-tomcat-3.

Re: Trouble running a servlet

2001-08-14 Thread Richard Draucker
Your output from starting TOMCAT (in your earlier post) did not indicate a context being created for "ROOT", just "examples" and "admin". Try putting it in the "examples" application and use the same url syntax: http://localhost:8080/examples/servlet/LibraryServlet As delivered, TOMCAT uses R

Re: Trouble running a servlet

2001-08-13 Thread Kenneth Litwak
I still make make this work. I've made sure my servlet class is in TOMCAT_HOME\webapps\ROOT\WEB-INF\clsses and get this Not Found (404) Original request: http://localhost:8080/servlet/LibraryServlet Not found request: http://localhost:8080/servlet/LibraryServlet This has to be something b

Re: Trouble running a servlet

2001-08-13 Thread Jan Labanowski
Try http://localhost:8080/servlet/MyServletClass assuming that your class is in $TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/MyServletClass.class On Mon, 13 Aug 2001, Kenneth Litwak wrote: > I'm trying to run a basic servlet tutorial using > tomcat on Win 2000 with Netscape. It doens't work

Trouble running a servlet

2001-08-13 Thread Kenneth Litwak
I'm trying to run a basic servlet tutorial using tomcat on Win 2000 with Netscape. It doens't work. I start tomcat, and get 2001-08-13 03:34:12 - ContextManager: Adding context Ctx( /examples ) 2001-08-13 03:34:12 - ContextManager: Adding context Ctx( /admin ) Starting tomcat. Check logs/tomc