Re: Confusion Land

2005-06-03 Thread Tim Diggins

Have you tried reloading the webapp / restarting tomcat?

If you're new to tomcat, then I suggest you give a few more details of 
where the webapp is, and where the jsp page is, and/or how you deployed 
the web-app, just in case these give a clue.




Thomas Polliard wrote:

It is located there.  Sorry the location is as you wrote. I was unclear.
WEB-INF/classes/com/polliard/db/ Contains RaidDB.class

Thanks 



 --
Thomas Polliard
Sr. Systems Administrator, AOL
[EMAIL PROTECTED]
-Original Message-
From: Scott Dudley [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 03, 2005 2:52 PM

To: Tomcat Users List
Subject: Re: Confusion Land


Unless I misunderstood, RaidDB.class should be located in directory
WEB-INF/classes/com/polliard/db and not
WEB-INF/classes/com/polliard/db/RaidDB.

Thomas Polliard wrote:



So I am running Tomcat 5.5.9
I have a jsp page that imports com.polliard.db.RaidDB; It also has a 
line that invokes a new instance of this class RaidDB rdb = new 
RaidDB();


The code works on Jetty but when used with Tomcat I am getting the 
error RaidDB cannot be resolved or is not a type.


Any Ideas???

The class is located in the WEB-INF/classes/com/polliard/db/RaidDB 
directory under the deployed application.


Any help would be great.
--
Thomas Polliard
Sr. Systems Administrator, AOL
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]









-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Confusion Land

2005-06-03 Thread Mark Thomas

Thomas Polliard wrote:

So I am running Tomcat 5.5.9
I have a jsp page that imports com.polliard.db.RaidDB;
It also has a line that invokes a new instance of this class
RaidDB rdb = new RaidDB();

The code works on Jetty but when used with Tomcat I am getting the error
RaidDB cannot be resolved or is not a type.  


Any Ideas???

The class is located in the WEB-INF/classes/com/polliard/db/RaidDB directory
under the deployed application.

Shouldn't it be in the WEB-INF/classes/com/polliard/db directory?

Mark

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Confusion Land

2005-06-03 Thread Thomas Polliard
 From the deployed location of Raid

./login.jsp
./menu.jsp
./index.jsp.old
./WEB-INF
./WEB-INF/classes
./WEB-INF/classes/com
./WEB-INF/classes/com/polliard
./WEB-INF/classes/com/polliard/db
./WEB-INF/classes/com/polliard/db/RaidDB.class
./WEB-INF/lib
./WEB-INF/lib/postgresql-jdbc.jar
./index.jsp
./images
./images/space.gif
./raid.css
./header.jsp

 --
Thomas Polliard
Sr. Systems Administrator, AOL
[EMAIL PROTECTED]
-Original Message-
From: Thomas Polliard [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 03, 2005 2:55 PM
To: 'Tomcat Users List'
Subject: RE: Confusion Land

It is located there.  Sorry the location is as you wrote. I was unclear.
WEB-INF/classes/com/polliard/db/ Contains RaidDB.class

Thanks 


 --
Thomas Polliard
Sr. Systems Administrator, AOL
[EMAIL PROTECTED]
-Original Message-
From: Scott Dudley [mailto:[EMAIL PROTECTED]
Sent: Friday, June 03, 2005 2:52 PM
To: Tomcat Users List
Subject: Re: Confusion Land


Unless I misunderstood, RaidDB.class should be located in directory
WEB-INF/classes/com/polliard/db and not
WEB-INF/classes/com/polliard/db/RaidDB.

Thomas Polliard wrote:

>So I am running Tomcat 5.5.9
>I have a jsp page that imports com.polliard.db.RaidDB; It also has a 
>line that invokes a new instance of this class RaidDB rdb = new 
>RaidDB();
>
>The code works on Jetty but when used with Tomcat I am getting the 
>error RaidDB cannot be resolved or is not a type.
>
>Any Ideas???
>
>The class is located in the WEB-INF/classes/com/polliard/db/RaidDB 
>directory under the deployed application.
>
>Any help would be great.
> --
>Thomas Polliard
>Sr. Systems Administrator, AOL
>[EMAIL PROTECTED]
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>

-- 

Regards,

Scott Dudley


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Confusion Land

2005-06-03 Thread Thomas Polliard
It is located there.  Sorry the location is as you wrote. I was unclear.
WEB-INF/classes/com/polliard/db/ Contains RaidDB.class

Thanks 


 --
Thomas Polliard
Sr. Systems Administrator, AOL
[EMAIL PROTECTED]
-Original Message-
From: Scott Dudley [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 03, 2005 2:52 PM
To: Tomcat Users List
Subject: Re: Confusion Land


Unless I misunderstood, RaidDB.class should be located in directory
WEB-INF/classes/com/polliard/db and not
WEB-INF/classes/com/polliard/db/RaidDB.

Thomas Polliard wrote:

>So I am running Tomcat 5.5.9
>I have a jsp page that imports com.polliard.db.RaidDB; It also has a 
>line that invokes a new instance of this class RaidDB rdb = new 
>RaidDB();
>
>The code works on Jetty but when used with Tomcat I am getting the 
>error RaidDB cannot be resolved or is not a type.
>
>Any Ideas???
>
>The class is located in the WEB-INF/classes/com/polliard/db/RaidDB 
>directory under the deployed application.
>
>Any help would be great.
> --
>Thomas Polliard
>Sr. Systems Administrator, AOL
>[EMAIL PROTECTED]
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>

-- 

Regards,

Scott Dudley


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Confusion Land

2005-06-03 Thread Scott Dudley


Unless I misunderstood, RaidDB.class should be located in directory 
WEB-INF/classes/com/polliard/db and not 
WEB-INF/classes/com/polliard/db/RaidDB.


Thomas Polliard wrote:


So I am running Tomcat 5.5.9
I have a jsp page that imports com.polliard.db.RaidDB;
It also has a line that invokes a new instance of this class
RaidDB rdb = new RaidDB();

The code works on Jetty but when used with Tomcat I am getting the error
RaidDB cannot be resolved or is not a type.  


Any Ideas???

The class is located in the WEB-INF/classes/com/polliard/db/RaidDB directory
under the deployed application.

Any help would be great.
--
Thomas Polliard
Sr. Systems Administrator, AOL
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 



--

Regards,

Scott Dudley


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: confusion to DBCP

2005-05-08 Thread Gurumoorthy
Hi,
Yes Connection pool is good because it gives a performance boost to your
application
( because open connection / close connection  is cpu and network
intensive )
You dont have a to configure DBCP in tomcat. you can do that in your
application as well.
You can configure DBCP in struts-config.xml if you are using struts :o)
 Why to re invent a wheel ( which may be buggy ) when there are loads
which are free and tested .. :o)
Any other question feel free to ask ..

Regards
Guru

Guru on the Web : http://gurumoorthy.no-ip.org

- Original Message -
From: "li yanjing" <[EMAIL PROTECTED]>
To: 
Sent: Sunday, May 08, 2005 5:18 AM
Subject: confusion to DBCP


I'm using mysql + tomcat as server to run jsp pages.
and there are JavaBeans too.
I have read a lot on the web that using a connection pool is very good.
I just wondering why I should configure DBCP in tomcat?
i think if i write the database connection in jsp pages(not in beans)
I need configure DBCP in tomcat.
if in the page I just call some JavaBeans to connect to database, i
just need write a connection pool class in java.
is that true?
thanks

--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Confusion about Realm directive

2003-11-28 Thread Tim Funk
Inside.

-Tim

Atreya Basu wrote:

Hi all,

I am trying to create a security realm.  I am confused as to where to 
put the Realm directive.  If I want to create a realm for a Context, 
would I place the directive before or inside of the Context directive?

Thanks in advance.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Confusion about ConnectionPooling with Tomcat 4.

2002-04-18 Thread Clearwater, Pete


Found out my problem with the commons pooling stuff: it requires a ResourceParam of 
"username" instead of "user" - not sure if this is a bug or a feature but it does seem 
reasonable that the standard DataSource and this Pooled DataSource should take the
same parameters...

pete.

-Original Message-
From: Clearwater, Pete [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 9:25 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Confusion about ConnectionPooling with Tomcat 4.


Hi Rainer.

I am having the same confusion as you.  Based on testing the time required to get each 
connection, it appears as though the standard JNDI DataSource lookups do not return 
any sort of a pooled connection - it took virtually identical times to get a
connection from the JNDI DataSource as it did from a standard JDBC connection call.

I've tried implementing the latest pooling factory as set out by Craig (using 
org.apache.commons.dbcp.BasicDataSourceFactory), but I can't get this to work.  No 
matter what I try to do I always get the following error when I try to get a 
connection from
the returned DataSource:

java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:380)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(Unknown Source)
at org.apache.commons.dbcp.BasicDataSource.getConnection(Unknown Source)
at ubc.pubs.server.security.DBAccess.getDBConnection(DBAccess.java:47)
at ubc.pubs.server.security.DBAccess.getConnection(DBAccess.java:26)

Anyways, that's my 2 cents worth...  

If anybody can help with info on getting a jdbc connection pool going, I would be 
greatly appreciative.

pete.


> Hi, I am getting a little confused about the topic weather Tomcat 4.x ist 
> having a Connection Pooling implementet or not. I was following the discussions
> the last few days and the answers have been a little contradicting. Therfore my
> question loud and clear ; ) Is there a Connection Pooling using JNDI with 
>Tomcat 4.x or not? Below some postings concerning this topic from the last few 
>days... 
>
>Thanks Rainer 


___
Pete Clearwater
Systems Analyst   Enrolment Services
Student Systems   Brock Hall
tel: 604.822.8662 2016-1874 East Mall
[EMAIL PROTECTED] Vancouver BC, Canada, V6T 1Z1



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Confusion about ConnectionPooling with Tomcat 4.

2002-04-18 Thread Clearwater, Pete

Hi Rainer.

I am having the same confusion as you.  Based on testing the time required to get each 
connection, it appears as though the standard JNDI DataSource lookups do not return 
any sort of a pooled connection - it took virtually identical times to get a
connection from the JNDI DataSource as it did from a standard JDBC connection call.

I've tried implementing the latest pooling factory as set out by Craig (using 
org.apache.commons.dbcp.BasicDataSourceFactory), but I can't get this to work.  No 
matter what I try to do I always get the following error when I try to get a 
connection from
the returned DataSource:

java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:380)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(Unknown Source)
at org.apache.commons.dbcp.BasicDataSource.getConnection(Unknown Source)
at ubc.pubs.server.security.DBAccess.getDBConnection(DBAccess.java:47)
at ubc.pubs.server.security.DBAccess.getConnection(DBAccess.java:26)

Anyways, that's my 2 cents worth...  

If anybody can help with info on getting a jdbc connection pool going, I would be 
greatly appreciative.

pete.


> Hi, I am getting a little confused about the topic weather Tomcat 4.x ist 
> having a Connection Pooling implementet or not. I was following the discussions
> the last few days and the answers have been a little contradicting. Therfore my
> question loud and clear ; ) Is there a Connection Pooling using JNDI with 
>Tomcat 4.x or not? Below some postings concerning this topic from the last few 
>days... 
>
>Thanks Rainer 


___
Pete Clearwater
Systems Analyst   Enrolment Services
Student Systems   Brock Hall
tel: 604.822.8662 2016-1874 East Mall
[EMAIL PROTECTED] Vancouver BC, Canada, V6T 1Z1



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: confusion

2001-08-28 Thread asheesh


- Original Message -
From: vinod tomcat <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 28, 2001 8:01 PM
Subject: Re: confusion


>
>
>1.  IF I UPDATE ANY JSP FILE AND UPLOAD , DO I NEED
> TO MAKE ANY CHANGES WITH WORK DIRECT. SOME BODY TOLD
> ME THAT I WILL HAVE TO DELETE THE CONCERNED .CLASS
> FILES ???
>

Not everytime, first of all it depends on the server.xml and second on once
luck, if u find that u did changes and those are not reflected eventhough in
server.xml is enabled for reload.
>
>2. IF I MAKE CHANGES WITH THE ANY CONFIGURATION
> FILE ...DO I NEED TO MAKE ANY CHANGES WITH ANY OTHER
> FILE ... I HAD REPLACED THE SERVER.XML FILE AS IT WAS
> CORRUPTED ..BUT NOW I M GETTING ERROR..
>
>

not essentially, but the replaced one should be exact replica of the earlier
one, otherwise u may get problem for some of the settings

>
>  --- Dmitri Colebatch <[EMAIL PROTECTED]> wrote: >
> The work directory is where .jsp files are compiled
> > first to .java then to
> > .class files.  You shouldn't need to worry about it
> > at all.  If you delete
> > files in there I think you could have problems while
> > tomcat is running,
> > but if you stop tomcat you can certainly delete all
> > the files and they
> > will be regenerated when .jsp files are requested.
> >
> > hth
> > dim
> >
> > On Tue, 28 Aug 2001, [iso-8859-1] vinod tomcat
> > wrote:
> >
> > >
> > >
> > > hi friends,
> > >
> > >  can anybody help me ..i m in fix ..
> > >
> > >
> > >   1. some body said me that containts of work
> > > directiory in tomcat are generated automatically
> > and
> > > normal functionaing of a site dosent get affected
> > if
> > > all class files in work directiory are deleted .
> > is
> > > this true ???
> > >
> > >  even if i delete all class files in work ,
> > > application works fine ??  please help me...
> > >
> > >
> > >  2. if i make any change to any jsp file , do i
> > need
> > > to delete the class files of work directiory ???
> > > somebody said me so ..is this necesssery to make
> > > changes effect ??
> > >
> > >
> > >
> > > thanks
> > >
> > >
> >
> 
> > > Do You Yahoo!?
> > > Send a newsletter, share photos & files, conduct
> > polls, organize chat events. Visit http://in/
> > groups.yahoo.com
> > >
> >
>
> 
> Do You Yahoo!?
> Send a newsletter, share photos & files, conduct polls, organize chat
events. Visit http://in/ groups.yahoo.com




Re: confusion

2001-08-28 Thread Dmitri Colebatch

ok - hang on a second... no need for the caps... in case you weren't
aware, caps are interpreted as SHOUTING and is considered rude.

On Tue, 28 Aug 2001, [iso-8859-1] vinod tomcat wrote:
> 
>1.  IF I UPDATE ANY JSP FILE AND UPLOAD , DO I NEED
> TO MAKE ANY CHANGES WITH WORK DIRECT. SOME BODY TOLD
> ME THAT I WILL HAVE TO DELETE THE CONCERNED .CLASS
> FILES ???

no.  Tomcat will detect that the .jsp file is newer than the .java (or
.class - not sure, doesn't matter) file and recompile it.

>2. IF I MAKE CHANGES WITH THE ANY CONFIGURATION
> FILE ...DO I NEED TO MAKE ANY CHANGES WITH ANY OTHER
> FILE ... I HAD REPLACED THE SERVER.XML FILE AS IT WAS
> CORRUPTED ..BUT NOW I M GETTING ERROR..

If you change configuration files, you will (afaik) need to restart tomcat
for the changes to take effect.

What is the error you are getting with your server.xml?

cheers
dim

> 
> 
> 
>  --- Dmitri Colebatch <[EMAIL PROTECTED]> wrote: >
> The work directory is where .jsp files are compiled
> > first to .java then to
> > .class files.  You shouldn't need to worry about it
> > at all.  If you delete
> > files in there I think you could have problems while
> > tomcat is running,
> > but if you stop tomcat you can certainly delete all
> > the files and they
> > will be regenerated when .jsp files are requested.
> > 
> > hth
> > dim
> > 
> > On Tue, 28 Aug 2001, [iso-8859-1] vinod tomcat
> > wrote:
> > 
> > > 
> > > 
> > > hi friends,
> > > 
> > >  can anybody help me ..i m in fix ..
> > > 
> > > 
> > >   1. some body said me that containts of work
> > > directiory in tomcat are generated automatically
> > and
> > > normal functionaing of a site dosent get affected
> > if
> > > all class files in work directiory are deleted .
> > is
> > > this true ??? 
> > > 
> > >  even if i delete all class files in work ,
> > > application works fine ??  please help me...
> > > 
> > > 
> > >  2. if i make any change to any jsp file , do i
> > need
> > > to delete the class files of work directiory ???
> > > somebody said me so ..is this necesssery to make
> > > changes effect ??
> > > 
> > > 
> > > 
> > > thanks 
> > > 
> > >
> >
> 
> > > Do You Yahoo!?
> > > Send a newsletter, share photos & files, conduct
> > polls, organize chat events. Visit http://in/
> > groups.yahoo.com
> > > 
> >  
> 
> 
> Do You Yahoo!?
> Send a newsletter, share photos & files, conduct polls, organize chat events. Visit 
>http://in/ groups.yahoo.com
> 




Re: confusion

2001-08-28 Thread vinod tomcat



   1.  IF I UPDATE ANY JSP FILE AND UPLOAD , DO I NEED
TO MAKE ANY CHANGES WITH WORK DIRECT. SOME BODY TOLD
ME THAT I WILL HAVE TO DELETE THE CONCERNED .CLASS
FILES ???


   2. IF I MAKE CHANGES WITH THE ANY CONFIGURATION
FILE ...DO I NEED TO MAKE ANY CHANGES WITH ANY OTHER
FILE ... I HAD REPLACED THE SERVER.XML FILE AS IT WAS
CORRUPTED ..BUT NOW I M GETTING ERROR..



 --- Dmitri Colebatch <[EMAIL PROTECTED]> wrote: >
The work directory is where .jsp files are compiled
> first to .java then to
> .class files.  You shouldn't need to worry about it
> at all.  If you delete
> files in there I think you could have problems while
> tomcat is running,
> but if you stop tomcat you can certainly delete all
> the files and they
> will be regenerated when .jsp files are requested.
> 
> hth
> dim
> 
> On Tue, 28 Aug 2001, [iso-8859-1] vinod tomcat
> wrote:
> 
> > 
> > 
> > hi friends,
> > 
> >  can anybody help me ..i m in fix ..
> > 
> > 
> >   1. some body said me that containts of work
> > directiory in tomcat are generated automatically
> and
> > normal functionaing of a site dosent get affected
> if
> > all class files in work directiory are deleted .
> is
> > this true ??? 
> > 
> >  even if i delete all class files in work ,
> > application works fine ??  please help me...
> > 
> > 
> >  2. if i make any change to any jsp file , do i
> need
> > to delete the class files of work directiory ???
> > somebody said me so ..is this necesssery to make
> > changes effect ??
> > 
> > 
> > 
> > thanks 
> > 
> >
>

> > Do You Yahoo!?
> > Send a newsletter, share photos & files, conduct
> polls, organize chat events. Visit http://in/
> groups.yahoo.com
> > 
>  


Do You Yahoo!?
Send a newsletter, share photos & files, conduct polls, organize chat events. Visit 
http://in/ groups.yahoo.com



Re: confusion

2001-08-28 Thread asheesh


- Original Message -
From: vinod tomcat <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 28, 2001 7:19 PM
Subject: confusion


>
>
> hi friends,
>
>  can anybody help me ..i m in fix ..
>
>
>   1. some body said me that containts of work
> directiory in tomcat are generated automatically and
> normal functionaing of a site dosent get affected if
> all class files in work directiory are deleted . is
> this true ???
>
>  even if i delete all class files in work ,
> application works fine ??  please help me...
>

I am not sure about but in my case it works, as i feel that container at
runtime generates .class files in this directory, so no harm in deleting
those class files.

>
>  2. if i make any change to any jsp file , do i need
> to delete the class files of work directiory ???
> somebody said me so ..is this necesssery to make
> changes effect ??
>

U got to delete the corresponding class files from the works directory.But
not all the time. Also check ur server.xml for the following


good luck
asheesh





Re: confusion

2001-08-28 Thread Dmitri Colebatch

The work directory is where .jsp files are compiled first to .java then to
.class files.  You shouldn't need to worry about it at all.  If you delete
files in there I think you could have problems while tomcat is running,
but if you stop tomcat you can certainly delete all the files and they
will be regenerated when .jsp files are requested.

hth
dim

On Tue, 28 Aug 2001, [iso-8859-1] vinod tomcat wrote:

> 
> 
> hi friends,
> 
>  can anybody help me ..i m in fix ..
> 
> 
>   1. some body said me that containts of work
> directiory in tomcat are generated automatically and
> normal functionaing of a site dosent get affected if
> all class files in work directiory are deleted . is
> this true ??? 
> 
>  even if i delete all class files in work ,
> application works fine ??  please help me...
> 
> 
>  2. if i make any change to any jsp file , do i need
> to delete the class files of work directiory ???
> somebody said me so ..is this necesssery to make
> changes effect ??
> 
> 
> 
> thanks 
> 
> 
> Do You Yahoo!?
> Send a newsletter, share photos & files, conduct polls, organize chat events. Visit 
>http://in/ groups.yahoo.com
> 




Re: confusion on running Stand alone

2000-10-25 Thread Paul Russell

On Wed, Oct 25, 2000 at 11:01:39AM -0400, John Bateman wrote:
> I ask for
> HEAD / HTTP/1.0
> 
> and this is returned
> HTTP/1.0 500 Internal Server Error
> Date: Wed, 25 Oct 2000 15:17:26 GMT
> Servlet-Engine: Tomcat Web Server/3.1 (JSP 1.1; Servlet 2.2; Java 1.2.2;
> Linux 2.2.14-5.0 i386; java.vendor=Sun Microsystems Inc.)
> Content-Language: en
> Content-Type: text/html
> Status: 500

That's why IE is not displaying it - IE has an annoying 'feature'
that they don't like you to actually *see* the error messages
people send to you. It also looks like you've got a bug in tomcat
there, although why it's showing up for you and not everyone
else, I don't know Thoughts from those that know about
these things?


Paul

-- 
Paul Russell   <[EMAIL PROTECTED]>
Technical Director,   http://www.luminas.co.uk
Luminas Ltd.



RE: confusion on running Stand alone

2000-10-25 Thread John Bateman

I get nothing 'registered' as running on Port 8080, but, here' what I did
find.


>more /etc/services | grep 8080

webcache8080/tcp# WWW caching service
webcache8080/udp# WWW caching service

AND..

>netstat -a | grep web
tcp0  0 *:webcache  *:* LISTEN

Now in addition to all this. Asking for the "request" headers from the
telnet connection on 'telnet 207.139.81.136 8080'

I ask for
HEAD / HTTP/1.0

and this is returned:

HTTP/1.0 500 Internal Server Error
Date: Wed, 25 Oct 2000 15:17:26 GMT
Servlet-Engine: Tomcat Web Server/3.1 (JSP 1.1; Servlet 2.2; Java 1.2.2;
Linux 2.2.14-5.0 i386; java.vendor=Sun Microsystems Inc.)
Content-Language: en
Content-Type: text/html
Status: 500

Error: 500
Location: /Internal Servlet Error:

java.lang.ClassCastException: javax.servlet.http.NoBodyResponse
at
org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.j
ava:126)
at
org.apache.tomcat.servlets.DefaultServlet.doGet(DefaultServlet.java:187)
at javax.servlet.http.HttpServlet.doHead(HttpServlet.java:313)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:757)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
at java.lang.Thread.run(Thread.java:475)


So, I beleive I am halfway there as the Tomcat servlet engine IS running?!?

> -Original Message-
> From: Jagannathan, Giri (c) [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 25, 2000 10:18 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: confusion on running Stand alone
>
>
> try this on unix:
> at the prompt, type netstat -a |grep PORTNO
>
> -Original Message-
> From: John Bateman [ mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> ]
> Sent: Wednesday, October 25, 2000 10:08 AM
> To: [EMAIL PROTECTED]
> Subject: RE: confusion on running Stand alone
>
>
> I'm actually putting in the IP address of the server.
>
> > -Original Message-
> > From: Stephen Adkins [ mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> ]
> > Sent: Tuesday, October 24, 2000 5:13 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: confusion on running Stand alone
> >
> >
> > Hi,
> >
> > Are you really entering something like
> >
> >http://192.9.2.200:8080/index.html
> <http://192.9.2.200:8080/index.html>
>
> >
> > or are you literally entering
> >
> >http://serverip:8080/index.html
> <http://serverip:8080/index.html>
> >
> > ?  If you are doing the second, you are misunderstanding that
> > "serverip"
> > should be replaced with the IP address of your server as in
> the first
> > example.
> >
> >
> > At 05:05 PM 10/24/00 -0400, you wrote:
> > >Hi
> > >
> > >Yeah, weird eh? The browser (IE) tells me "DNS Error or
> > Cannot Find Server".
> > >As an aside I'm running apache on Port 80 and it serves up
> > the web pages
> > >fine (for other websites, NOT the ones Tomcat points to).
> > >
> > >I appreciate your help.
> > >
> > >> -Original Message-
> > >> From: Ben Souther [ mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> ]
> > >> Sent: Tuesday, October 24, 2000 5:03 PM
> > >> To: [EMAIL PROTECTED]
> > >> Subject: Re: confusion on running Stand alone
> > >>
> > >>
> > >> You're getting DNS errors when you enter the "IP" number?
> > >>
> > >>
> > >>
> > >> - Original Message -
> > >> From: Jagannathan, Giri (c) <[EMAIL PROTECTED]>
> > >> To: <[EMAIL PROTECTED]>
> > >> Sent: Tuesday, October 24, 2000 4:51 PM
> > >> Subject: RE: confusion on running Stand alone
> > >>
> > >>
> > >> > jus try accessing http://serverip:8080 <http://serverip:8080>
> without the file
> > >> index.html!!  It
> > >> > worked for me..
> > >> >
> > >> > -Original Message-
> > >> > From: John Bateman [ mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> ]

RE: confusion on running Stand alone

2000-10-25 Thread John Bateman

I ask for
HEAD / HTTP/1.0

and this is returned
HTTP/1.0 500 Internal Server Error
Date: Wed, 25 Oct 2000 15:17:26 GMT
Servlet-Engine: Tomcat Web Server/3.1 (JSP 1.1; Servlet 2.2; Java 1.2.2;
Linux 2.2.14-5.0 i386; java.vendor=Sun Microsystems Inc.)
Content-Language: en
Content-Type: text/html
Status: 500

Error: 500
Location: /Internal Servlet Error:

java.lang.ClassCastException: javax.servlet.http.NoBodyResponse
at
org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.j
ava:126)
at
org.apache.tomcat.servlets.DefaultServlet.doGet(DefaultServlet.java:187)
at javax.servlet.http.HttpServlet.doHead(HttpServlet.java:313)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:757)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
at java.lang.Thread.run(Thread.java:475)


So, I beleive I am halfway there?!?





Re: confusion on running Stand alone

2000-10-25 Thread Paul Russell

On Wed, Oct 25, 2000 at 10:22:03AM -0400, John Bateman wrote:
> Also, if I go to my shell and type "telnet 207.139.136.81 8080" I get a
> connection so something SEEMS to be waiting there listening for a
> connection.

Does whatever it is that answers seem to speak HTTP?

Assuming you're talking Tomcat3.x (sorry, not been following
the thread that closely), try telnetting to 8080 again, and
once connected, typing:

HEAD / HTTP/1.0

.. and then hitting enter twice. You should get a list of
headers back, including a Server: header which should mention
tomcat. If that happens, it's definately listening. if it
doesn't, something else has the port - either a firewall, or
another process (a cache?) on the server.


Paul


-- 
Paul Russell   <[EMAIL PROTECTED]>
Technical Director,   http://www.luminas.co.uk
Luminas Ltd.



RE: confusion on running Stand alone

2000-10-25 Thread Jagannathan, Giri (c)

try this on unix box:
at the prompt, type out netstat -a | grep PORTNO

-Original Message-
From: John Bateman [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]
Sent: Wednesday, October 25, 2000 10:10 AM
To: [EMAIL PROTECTED]
Subject: RE: confusion on running Stand alone


I can't do it 'localhost' as the server isn't local, and, we only have shell
access to the machine with no lynx installed.

Does anyone know if there are certain process that should be running that I
can check to see if it's truly listening to port 80?

The only one I can find using ps -ax is the following:
 5632 ?S  0:06
/usr/local/jdk1.2.2/bin/i386/green_threads/java -Dtomcat.home=/usr/local/tom
cat org.apache.tomcat.startup


> -Original Message-
> From: Josh Knowles [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]
> Sent: Tuesday, October 24, 2000 5:18 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: confusion on running Stand alone
>
>
> try http://localhost:8080 <http://localhost:8080> 
>
> -Original Message-
> From: Stephen Adkins [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]
> Sent: Tuesday, October 24, 2000 2:13 PM
> To: [EMAIL PROTECTED]
> Subject: RE: confusion on running Stand alone
>
>
> Hi,
>
> Are you really entering something like
>
>http://192.9.2.200:8080/index.html <http://192.9.2.200:8080/index.html>

>
> or are you literally entering
>
>http://serverip:8080/index.html <http://serverip:8080/index.html> 
>
> ?  If you are doing the second, you are misunderstanding that
> "serverip"
> should be replaced with the IP address of your server as in the first
> example.
>
>
> At 05:05 PM 10/24/00 -0400, you wrote:
> >Hi
> >
> >Yeah, weird eh? The browser (IE) tells me "DNS Error or Cannot Find
> Server".
> >As an aside I'm running apache on Port 80 and it serves up
> the web pages
> >fine (for other websites, NOT the ones Tomcat points to).
> >
> >I appreciate your help.
> >
> >> -Original Message-
> >> From: Ben Souther [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]
> >> Sent: Tuesday, October 24, 2000 5:03 PM
> >> To: [EMAIL PROTECTED]
> >> Subject: Re: confusion on running Stand alone
> >>
> >>
> >> You're getting DNS errors when you enter the "IP" number?
> >>
> >>
> >>
> >> - Original Message -
> >> From: Jagannathan, Giri (c) <[EMAIL PROTECTED]>
> >> To: <[EMAIL PROTECTED]>
> >> Sent: Tuesday, October 24, 2000 4:51 PM
> >> Subject: RE: confusion on running Stand alone
> >>
> >>
> >> > jus try accessing http://serverip:8080 <http://serverip:8080>
without the file
> >> index.html!!  It
> >> > worked for me..
> >> >
> >> > -Original Message-
> >> > From: John Bateman [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]
> >> > Sent: Tuesday, October 24, 2000 4:53 PM
> >> > To: Tomcat-User (E-mail)
> >> > Subject: confusion on running Stand alone
> >> >
> >> >
> >> > Hi
> >> >
> >> > I'm a bit confused over all the documentation I've been
> >> reading. It tells
> >> me
> >> > to run the tomcat server in stand alone mode and verify
> >> that I can get the
> >> > servlets working before I try running it in or out of
> >> process with another
> >> > webserver.
> >> >
> >> > This I understand, but I can't seem to find an example on
> >> how to verify
> >> that
> >> > my stand alone configuration works.
> >> >
> >> > The tomcat seems to start fine and when I telnet to the IP
> >> address of my
> >> > server on port 8080 (or even port 8007) there's a response
> >> from something
> >> > sitting there waiting for a connection, but, when I try accessing
> >> > http://serverip:8080/index.html <http://serverip:8080/index.html>  OR
> > http://serverip:8080/test/index.html
<http://serverip:8080/test/index.html>  I
> >> always get DNS can't locate server errors.
> >>
> >> The log files seem to be happy with the exception that I
> occasionally see
> >> this error message in the tomcat.log file. the error is
> marked by *'s,
> >I've
> >> just included the whole log file as it's quite small and maybe the
> 

RE: confusion on running Stand alone

2000-10-25 Thread Jagannathan, Giri (c)

try this on unix:
at the prompt, type netstat -a |grep PORTNO

-Original Message-
From: John Bateman [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]
Sent: Wednesday, October 25, 2000 10:08 AM
To: [EMAIL PROTECTED]
Subject: RE: confusion on running Stand alone


I'm actually putting in the IP address of the server.

> -Original Message-
> From: Stephen Adkins [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]
> Sent: Tuesday, October 24, 2000 5:13 PM
> To: [EMAIL PROTECTED]
> Subject: RE: confusion on running Stand alone
>
>
> Hi,
>
> Are you really entering something like
>
>http://192.9.2.200:8080/index.html <http://192.9.2.200:8080/index.html>

>
> or are you literally entering
>
>http://serverip:8080/index.html <http://serverip:8080/index.html> 
>
> ?  If you are doing the second, you are misunderstanding that
> "serverip"
> should be replaced with the IP address of your server as in the first
> example.
>
>
> At 05:05 PM 10/24/00 -0400, you wrote:
> >Hi
> >
> >Yeah, weird eh? The browser (IE) tells me "DNS Error or
> Cannot Find Server".
> >As an aside I'm running apache on Port 80 and it serves up
> the web pages
> >fine (for other websites, NOT the ones Tomcat points to).
> >
> >I appreciate your help.
> >
> >> -----Original Message-
> >> From: Ben Souther [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]
> >> Sent: Tuesday, October 24, 2000 5:03 PM
> >> To: [EMAIL PROTECTED]
> >> Subject: Re: confusion on running Stand alone
> >>
> >>
> >> You're getting DNS errors when you enter the "IP" number?
> >>
> >>
> >>
> >> - Original Message -
> >> From: Jagannathan, Giri (c) <[EMAIL PROTECTED]>
> >> To: <[EMAIL PROTECTED]>
> >> Sent: Tuesday, October 24, 2000 4:51 PM
> >> Subject: RE: confusion on running Stand alone
> >>
> >>
> >> > jus try accessing http://serverip:8080 <http://serverip:8080>
without the file
> >> index.html!!  It
> >> > worked for me..
> >> >
> >> > -Original Message-
> >> > From: John Bateman [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]
> >> > Sent: Tuesday, October 24, 2000 4:53 PM
> >> > To: Tomcat-User (E-mail)
> >> > Subject: confusion on running Stand alone
> >> >
> >> >
> >> > Hi
> >> >
> >> > I'm a bit confused over all the documentation I've been
> >> reading. It tells
> >> me
> >> > to run the tomcat server in stand alone mode and verify
> >> that I can get the
> >> > servlets working before I try running it in or out of
> >> process with another
> >> > webserver.
> >> >
> >> > This I understand, but I can't seem to find an example on
> >> how to verify
> >> that
> >> > my stand alone configuration works.
> >> >
> >> > The tomcat seems to start fine and when I telnet to the IP
> >> address of my
> >> > server on port 8080 (or even port 8007) there's a response
> >> from something
> >> > sitting there waiting for a connection, but, when I try accessing
> >> > http://serverip:8080/index.html <http://serverip:8080/index.html>  OR
> > http://serverip:8080/test/index.html
<http://serverip:8080/test/index.html>  I
> >> always get DNS can't locate server errors.
> >>
> >> The log files seem to be happy with the exception that I
> occasionally see
> >> this error message in the tomcat.log file. the error is
> marked by *'s,
> >I've
> >> just included the whole log file as it's quite small and
> maybe the insight
> >> will help.
> >> (FYI: /usr/local/tomcat is a symbolic link to
> /usr/local/jakarta-tomcat)
> >>
> >> Starting tomcat install="/usr/local/tomcat"
> >home="/usr/local/jakarta-tomcat"
> >> classPath=".:/usr/local/tomcat/lib/ant.jar:/usr/local/t
> >>
> >omcat/lib/jasper.jar:/usr/local/tomcat/lib/servlet.jar:/usr/l
> ocal/tomcat/lib
> >> /test:/usr/local/tomcat/lib/webserver.jar:/usr/local/tom
> >>
> >cat/lib/xml.jar:/usr/local/java/lib/tools.jar:.:./:/lib/class
> es.zip:/classes
> >> :/lib/dt.jar:/lib/tools.jar:/jre/lib/rt.jar:/usr/local/l
> >> ib/jconn2.jar"
> >> Context log: path="/admin" Automatic context load
> >> docBase="/usr/local/jakarta-tomcat/webapps/admin"
> >> Context log: path="/admin" Adding context path="/admin"
> >> docBase="/usr/local/jakarta-tomcat/webapps/admin"
> >> Starting endpoint port="8080"
> >> handler="org.apache.tomcat.service.http.HttpConnectionHandler"
> >> Starting endpoint port="8007"
> >>
> handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"
> >>  Error reading request connection reset 
> >>
> >> Thanks a million.
> >>
> >> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> >> John Bateman
> >> Cyber World Group Inc.
> >>
> >>
> >





RE: confusion on running Stand alone

2000-10-25 Thread John Bateman

sorry I meant if it's truly listening to port 8080.

Here's what I am doing now.

http://207.139.81.136:8080
- DNS error or can't find Host (in IE)

http://207.139.81.136:8080/test/index.html
- DNS error or can't find Host (in IE)

http://207.139.81.136:8080/servlet/SnoopServlet
- DNS error or can't find Host (in IE)

Tomcat is running in my shell as "ps -ax | grep tom"  proves.
5632 ?S  0:06
/usr/local/jdk1.2.2/bin/i386/green_threads/java -Dtomcat.home=/usr/local/tom
cat org.apache.tomcat.startup

Also, if I go to my shell and type "telnet 207.139.136.81 8080" I get a
connection so something SEEMS to be waiting there listening for a
connection.

Since I am inside a company with a firewall and the IP above is outside,
could this be the firewall blocking port 8080?

Thanks you all for your help.

My Logs files say:
(TOMCAT.LOG)
Context log: path="/examples" Adding context path="/examples"
docBase="webapps/examples"
Context log: path="" Adding context path=""  docBase="webapps/ROOT"
Context log: path="/test" Adding context path="/test"
docBase="webapps/test"
Starting tomcat install="/usr/local/tomcat" home="/usr/local/jakarta-tomcat"
classPath=".:/usr/local/tomcat/lib/ant.jar:/usr/local/t
omcat/lib/jasper.jar:/usr/local/tomcat/lib/servlet.jar:/usr/local/tomcat/lib
/test:/usr/local/tomcat/lib/webserver.jar:/usr/local/tom
cat/lib/xml.jar:/usr/local/java/lib/tools.jar:.:./:/lib/classes.zip:/classes
:/lib/dt.jar:/lib/tools.jar:/jre/lib/rt.jar:/usr/local/l
ib/jconn2.jar"
Context log: path="/admin" Automatic context load
docBase="/usr/local/jakarta-tomcat/webapps/admin"
Context log: path="/admin" Adding context path="/admin"
docBase="/usr/local/jakarta-tomcat/webapps/admin"
Starting endpoint port="8080"
handler="org.apache.tomcat.service.http.HttpConnectionHandler"
Starting endpoint port="8007"
handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"
Error reading request connection reset
Error reading request connection reset

(SERVLET.LOG)
Context log: path="/examples" Adding context path="/examples"
docBase="webapps/examples"
Context log: path="" Adding context path=""  docBase="webapps/ROOT"
Context log: path="/test" Adding context path="/test"
docBase="webapps/test"
Starting tomcat install="/usr/local/tomcat" home="/usr/local/jakarta-tomcat"
classPath=".:/usr/local/tomcat/lib/ant.jar:/usr/local/t
omcat/lib/jasper.jar:/usr/local/tomcat/lib/servlet.jar:/usr/local/tomcat/lib
/test:/usr/local/tomcat/lib/webserver.jar:/usr/local/tom
cat/lib/xml.jar:/usr/local/java/lib/tools.jar:.:./:/lib/classes.zip:/classes
:/lib/dt.jar:/lib/tools.jar:/jre/lib/rt.jar:/usr/local/l
ib/jconn2.jar"
Context log: path="/admin" Automatic context load
docBase="/usr/local/jakarta-tomcat/webapps/admin"
Context log: path="/admin" Adding context path="/admin"
docBase="/usr/local/jakarta-tomcat/webapps/admin"
Starting endpoint port="8080"
handler="org.apache.tomcat.service.http.HttpConnectionHandler"
Starting endpoint port="8007"
handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"
Error reading request connection reset
Error reading request connection reset


> -Original Message-
> From: John Bateman [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 25, 2000 10:10 AM
> To: [EMAIL PROTECTED]
> Subject: RE: confusion on running Stand alone
>
>
> I can't do it 'localhost' as the server isn't local, and, we
> only have shell
> access to the machine with no lynx installed.
>
> Does anyone know if there are certain process that should be
> running that I
> can check to see if it's truly listening to port 80?
>
> The only one I can find using ps -ax is the following:
>  5632 ?S  0:06
> /usr/local/jdk1.2.2/bin/i386/green_threads/java
> -Dtomcat.home=/usr/local/tom
> cat org.apache.tomcat.startup
>




RE: confusion on running Stand alone

2000-10-25 Thread John Bateman

I can't do it 'localhost' as the server isn't local, and, we only have shell
access to the machine with no lynx installed.

Does anyone know if there are certain process that should be running that I
can check to see if it's truly listening to port 80?

The only one I can find using ps -ax is the following:
 5632 ?S  0:06
/usr/local/jdk1.2.2/bin/i386/green_threads/java -Dtomcat.home=/usr/local/tom
cat org.apache.tomcat.startup


> -Original Message-
> From: Josh Knowles [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 24, 2000 5:18 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: confusion on running Stand alone
>
>
> try http://localhost:8080
>
> -Original Message-
> From: Stephen Adkins [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 24, 2000 2:13 PM
> To: [EMAIL PROTECTED]
> Subject: RE: confusion on running Stand alone
>
>
> Hi,
>
> Are you really entering something like
>
>http://192.9.2.200:8080/index.html
>
> or are you literally entering
>
>http://serverip:8080/index.html
>
> ?  If you are doing the second, you are misunderstanding that
> "serverip"
> should be replaced with the IP address of your server as in the first
> example.
>
>
> At 05:05 PM 10/24/00 -0400, you wrote:
> >Hi
> >
> >Yeah, weird eh? The browser (IE) tells me "DNS Error or Cannot Find
> Server".
> >As an aside I'm running apache on Port 80 and it serves up
> the web pages
> >fine (for other websites, NOT the ones Tomcat points to).
> >
> >I appreciate your help.
> >
> >> -Original Message-
> >> From: Ben Souther [mailto:[EMAIL PROTECTED]]
> >> Sent: Tuesday, October 24, 2000 5:03 PM
> >> To: [EMAIL PROTECTED]
> >> Subject: Re: confusion on running Stand alone
> >>
> >>
> >> You're getting DNS errors when you enter the "IP" number?
> >>
> >>
> >>
> >> - Original Message -
> >> From: Jagannathan, Giri (c) <[EMAIL PROTECTED]>
> >> To: <[EMAIL PROTECTED]>
> >> Sent: Tuesday, October 24, 2000 4:51 PM
> >> Subject: RE: confusion on running Stand alone
> >>
> >>
> >> > jus try accessing http://serverip:8080 without the file
> >> index.html!!  It
> >> > worked for me..
> >> >
> >> > -Original Message-
> >> > From: John Bateman [mailto:[EMAIL PROTECTED]]
> >> > Sent: Tuesday, October 24, 2000 4:53 PM
> >> > To: Tomcat-User (E-mail)
> >> > Subject: confusion on running Stand alone
> >> >
> >> >
> >> > Hi
> >> >
> >> > I'm a bit confused over all the documentation I've been
> >> reading. It tells
> >> me
> >> > to run the tomcat server in stand alone mode and verify
> >> that I can get the
> >> > servlets working before I try running it in or out of
> >> process with another
> >> > webserver.
> >> >
> >> > This I understand, but I can't seem to find an example on
> >> how to verify
> >> that
> >> > my stand alone configuration works.
> >> >
> >> > The tomcat seems to start fine and when I telnet to the IP
> >> address of my
> >> > server on port 8080 (or even port 8007) there's a response
> >> from something
> >> > sitting there waiting for a connection, but, when I try accessing
> >> > http://serverip:8080/index.html OR
> >http://serverip:8080/test/index.html I
> >> always get DNS can't locate server errors.
> >>
> >> The log files seem to be happy with the exception that I
> occasionally see
> >> this error message in the tomcat.log file. the error is
> marked by *'s,
> >I've
> >> just included the whole log file as it's quite small and maybe the
> insight
> >> will help.
> >> (FYI: /usr/local/tomcat is a symbolic link to
> /usr/local/jakarta-tomcat)
> >>
> >> Starting tomcat install="/usr/local/tomcat"
> >home="/usr/local/jakarta-tomcat"
> >> classPath=".:/usr/local/tomcat/lib/ant.jar:/usr/local/t
> >>
> >omcat/lib/jasper.jar:/usr/local/tomcat/lib/servlet.jar:/usr/l
> ocal/tomcat/li
> b
> >> /test:/usr/local/tomcat/lib/webserver.jar:/usr/local/tom
> >>
> >cat/lib/xml.jar:/usr/local/java/lib/tools.jar:.:./:/lib/class
> es.zip:/classe
> s
> >> :/lib/dt.jar:/lib/tools.jar:/jre/lib/rt.jar:/usr/local/l
> >> ib/jconn2.jar"
> >> Context log: path="/admin" Automatic context load
> >> docBase="/usr/local/jakarta-tomcat/webapps/admin"
> >> Context log: path="/admin" Adding context path="/admin"
> >> docBase="/usr/local/jakarta-tomcat/webapps/admin"
> >> Starting endpoint port="8080"
> >> handler="org.apache.tomcat.service.http.HttpConnectionHandler"
> >> Starting endpoint port="8007"
> >>
> handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"
> >>  Error reading request connection reset 
> >>
> >> Thanks a million.
> >>
> >> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> >> John Bateman
> >> Cyber World Group Inc.
> >>
> >>
> >




RE: confusion on running Stand alone

2000-10-25 Thread John Bateman

I'm actually putting in the IP address of the server.

> -Original Message-
> From: Stephen Adkins [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 24, 2000 5:13 PM
> To: [EMAIL PROTECTED]
> Subject: RE: confusion on running Stand alone
> 
> 
> Hi,
> 
> Are you really entering something like
> 
>http://192.9.2.200:8080/index.html
> 
> or are you literally entering
> 
>http://serverip:8080/index.html
> 
> ?  If you are doing the second, you are misunderstanding that 
> "serverip"
> should be replaced with the IP address of your server as in the first
> example.
> 
> 
> At 05:05 PM 10/24/00 -0400, you wrote:
> >Hi
> >
> >Yeah, weird eh? The browser (IE) tells me "DNS Error or 
> Cannot Find Server".
> >As an aside I'm running apache on Port 80 and it serves up 
> the web pages
> >fine (for other websites, NOT the ones Tomcat points to).
> >
> >I appreciate your help.
> >
> >> -----Original Message-
> >> From: Ben Souther [mailto:[EMAIL PROTECTED]]
> >> Sent: Tuesday, October 24, 2000 5:03 PM
> >> To: [EMAIL PROTECTED]
> >> Subject: Re: confusion on running Stand alone
> >>
> >>
> >> You're getting DNS errors when you enter the "IP" number?
> >>
> >>
> >>
> >> - Original Message -
> >> From: Jagannathan, Giri (c) <[EMAIL PROTECTED]>
> >> To: <[EMAIL PROTECTED]>
> >> Sent: Tuesday, October 24, 2000 4:51 PM
> >> Subject: RE: confusion on running Stand alone
> >>
> >>
> >> > jus try accessing http://serverip:8080 without the file
> >> index.html!!  It
> >> > worked for me..
> >> >
> >> > -Original Message-
> >> > From: John Bateman [mailto:[EMAIL PROTECTED]]
> >> > Sent: Tuesday, October 24, 2000 4:53 PM
> >> > To: Tomcat-User (E-mail)
> >> > Subject: confusion on running Stand alone
> >> >
> >> >
> >> > Hi
> >> >
> >> > I'm a bit confused over all the documentation I've been
> >> reading. It tells
> >> me
> >> > to run the tomcat server in stand alone mode and verify
> >> that I can get the
> >> > servlets working before I try running it in or out of
> >> process with another
> >> > webserver.
> >> >
> >> > This I understand, but I can't seem to find an example on
> >> how to verify
> >> that
> >> > my stand alone configuration works.
> >> >
> >> > The tomcat seems to start fine and when I telnet to the IP
> >> address of my
> >> > server on port 8080 (or even port 8007) there's a response
> >> from something
> >> > sitting there waiting for a connection, but, when I try accessing
> >> > http://serverip:8080/index.html OR
> >http://serverip:8080/test/index.html I
> >> always get DNS can't locate server errors.
> >>
> >> The log files seem to be happy with the exception that I 
> occasionally see
> >> this error message in the tomcat.log file. the error is 
> marked by *'s,
> >I've
> >> just included the whole log file as it's quite small and 
> maybe the insight
> >> will help.
> >> (FYI: /usr/local/tomcat is a symbolic link to 
> /usr/local/jakarta-tomcat)
> >>
> >> Starting tomcat install="/usr/local/tomcat"
> >home="/usr/local/jakarta-tomcat"
> >> classPath=".:/usr/local/tomcat/lib/ant.jar:/usr/local/t
> >>
> >omcat/lib/jasper.jar:/usr/local/tomcat/lib/servlet.jar:/usr/l
> ocal/tomcat/lib
> >> /test:/usr/local/tomcat/lib/webserver.jar:/usr/local/tom
> >>
> >cat/lib/xml.jar:/usr/local/java/lib/tools.jar:.:./:/lib/class
> es.zip:/classes
> >> :/lib/dt.jar:/lib/tools.jar:/jre/lib/rt.jar:/usr/local/l
> >> ib/jconn2.jar"
> >> Context log: path="/admin" Automatic context load
> >> docBase="/usr/local/jakarta-tomcat/webapps/admin"
> >> Context log: path="/admin" Adding context path="/admin"
> >> docBase="/usr/local/jakarta-tomcat/webapps/admin"
> >> Starting endpoint port="8080"
> >> handler="org.apache.tomcat.service.http.HttpConnectionHandler"
> >> Starting endpoint port="8007"
> >> 
> handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"
> >>  Error reading request connection reset 
> >>
> >> Thanks a million.
> >>
> >> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> >> John Bateman
> >> Cyber World Group Inc.
> >>
> >>
> >



RE: confusion on running Stand alone

2000-10-24 Thread Josh Knowles

try http://localhost:8080

-Original Message-
From: Stephen Adkins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 24, 2000 2:13 PM
To: [EMAIL PROTECTED]
Subject: RE: confusion on running Stand alone


Hi,

Are you really entering something like

   http://192.9.2.200:8080/index.html

or are you literally entering

   http://serverip:8080/index.html

?  If you are doing the second, you are misunderstanding that "serverip"
should be replaced with the IP address of your server as in the first
example.


At 05:05 PM 10/24/00 -0400, you wrote:
>Hi
>
>Yeah, weird eh? The browser (IE) tells me "DNS Error or Cannot Find
Server".
>As an aside I'm running apache on Port 80 and it serves up the web pages
>fine (for other websites, NOT the ones Tomcat points to).
>
>I appreciate your help.
>
>> -Original Message-
>> From: Ben Souther [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, October 24, 2000 5:03 PM
>> To: [EMAIL PROTECTED]
>> Subject: Re: confusion on running Stand alone
>>
>>
>> You're getting DNS errors when you enter the "IP" number?
>>
>>
>>
>> - Original Message -----
>> From: Jagannathan, Giri (c) <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Tuesday, October 24, 2000 4:51 PM
>> Subject: RE: confusion on running Stand alone
>>
>>
>> > jus try accessing http://serverip:8080 without the file
>> index.html!!  It
>> > worked for me..
>> >
>> > -Original Message-
>> > From: John Bateman [mailto:[EMAIL PROTECTED]]
>> > Sent: Tuesday, October 24, 2000 4:53 PM
>> > To: Tomcat-User (E-mail)
>> > Subject: confusion on running Stand alone
>> >
>> >
>> > Hi
>> >
>> > I'm a bit confused over all the documentation I've been
>> reading. It tells
>> me
>> > to run the tomcat server in stand alone mode and verify
>> that I can get the
>> > servlets working before I try running it in or out of
>> process with another
>> > webserver.
>> >
>> > This I understand, but I can't seem to find an example on
>> how to verify
>> that
>> > my stand alone configuration works.
>> >
>> > The tomcat seems to start fine and when I telnet to the IP
>> address of my
>> > server on port 8080 (or even port 8007) there's a response
>> from something
>> > sitting there waiting for a connection, but, when I try accessing
>> > http://serverip:8080/index.html OR
>http://serverip:8080/test/index.html I
>> always get DNS can't locate server errors.
>>
>> The log files seem to be happy with the exception that I occasionally see
>> this error message in the tomcat.log file. the error is marked by *'s,
>I've
>> just included the whole log file as it's quite small and maybe the
insight
>> will help.
>> (FYI: /usr/local/tomcat is a symbolic link to /usr/local/jakarta-tomcat)
>>
>> Starting tomcat install="/usr/local/tomcat"
>home="/usr/local/jakarta-tomcat"
>> classPath=".:/usr/local/tomcat/lib/ant.jar:/usr/local/t
>>
>omcat/lib/jasper.jar:/usr/local/tomcat/lib/servlet.jar:/usr/local/tomcat/li
b
>> /test:/usr/local/tomcat/lib/webserver.jar:/usr/local/tom
>>
>cat/lib/xml.jar:/usr/local/java/lib/tools.jar:.:./:/lib/classes.zip:/classe
s
>> :/lib/dt.jar:/lib/tools.jar:/jre/lib/rt.jar:/usr/local/l
>> ib/jconn2.jar"
>> Context log: path="/admin" Automatic context load
>> docBase="/usr/local/jakarta-tomcat/webapps/admin"
>> Context log: path="/admin" Adding context path="/admin"
>> docBase="/usr/local/jakarta-tomcat/webapps/admin"
>> Starting endpoint port="8080"
>> handler="org.apache.tomcat.service.http.HttpConnectionHandler"
>> Starting endpoint port="8007"
>> handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"
>>  Error reading request connection reset 
>>
>> Thanks a million.
>>
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>> John Bateman
>> Cyber World Group Inc.
>>
>>
>



RE: confusion on running Stand alone

2000-10-24 Thread Stephen Adkins

Hi,

Are you really entering something like

   http://192.9.2.200:8080/index.html

or are you literally entering

   http://serverip:8080/index.html

?  If you are doing the second, you are misunderstanding that "serverip"
should be replaced with the IP address of your server as in the first
example.


At 05:05 PM 10/24/00 -0400, you wrote:
>Hi
>
>Yeah, weird eh? The browser (IE) tells me "DNS Error or Cannot Find Server".
>As an aside I'm running apache on Port 80 and it serves up the web pages
>fine (for other websites, NOT the ones Tomcat points to).
>
>I appreciate your help.
>
>> -Original Message-
>> From: Ben Souther [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, October 24, 2000 5:03 PM
>> To: [EMAIL PROTECTED]
>> Subject: Re: confusion on running Stand alone
>>
>>
>> You're getting DNS errors when you enter the "IP" number?
>>
>>
>>
>> - Original Message -----
>> From: Jagannathan, Giri (c) <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Tuesday, October 24, 2000 4:51 PM
>> Subject: RE: confusion on running Stand alone
>>
>>
>> > jus try accessing http://serverip:8080 without the file
>> index.html!!  It
>> > worked for me..
>> >
>> > -Original Message-
>> > From: John Bateman [mailto:[EMAIL PROTECTED]]
>> > Sent: Tuesday, October 24, 2000 4:53 PM
>> > To: Tomcat-User (E-mail)
>> > Subject: confusion on running Stand alone
>> >
>> >
>> > Hi
>> >
>> > I'm a bit confused over all the documentation I've been
>> reading. It tells
>> me
>> > to run the tomcat server in stand alone mode and verify
>> that I can get the
>> > servlets working before I try running it in or out of
>> process with another
>> > webserver.
>> >
>> > This I understand, but I can't seem to find an example on
>> how to verify
>> that
>> > my stand alone configuration works.
>> >
>> > The tomcat seems to start fine and when I telnet to the IP
>> address of my
>> > server on port 8080 (or even port 8007) there's a response
>> from something
>> > sitting there waiting for a connection, but, when I try accessing
>> > http://serverip:8080/index.html OR
>http://serverip:8080/test/index.html I
>> always get DNS can't locate server errors.
>>
>> The log files seem to be happy with the exception that I occasionally see
>> this error message in the tomcat.log file. the error is marked by *'s,
>I've
>> just included the whole log file as it's quite small and maybe the insight
>> will help.
>> (FYI: /usr/local/tomcat is a symbolic link to /usr/local/jakarta-tomcat)
>>
>> Starting tomcat install="/usr/local/tomcat"
>home="/usr/local/jakarta-tomcat"
>> classPath=".:/usr/local/tomcat/lib/ant.jar:/usr/local/t
>>
>omcat/lib/jasper.jar:/usr/local/tomcat/lib/servlet.jar:/usr/local/tomcat/lib
>> /test:/usr/local/tomcat/lib/webserver.jar:/usr/local/tom
>>
>cat/lib/xml.jar:/usr/local/java/lib/tools.jar:.:./:/lib/classes.zip:/classes
>> :/lib/dt.jar:/lib/tools.jar:/jre/lib/rt.jar:/usr/local/l
>> ib/jconn2.jar"
>> Context log: path="/admin" Automatic context load
>> docBase="/usr/local/jakarta-tomcat/webapps/admin"
>> Context log: path="/admin" Adding context path="/admin"
>> docBase="/usr/local/jakarta-tomcat/webapps/admin"
>> Starting endpoint port="8080"
>> handler="org.apache.tomcat.service.http.HttpConnectionHandler"
>> Starting endpoint port="8007"
>> handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"
>>  Error reading request connection reset 
>>
>> Thanks a million.
>>
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>> John Bateman
>> Cyber World Group Inc.
>>
>>
>



RE: confusion on running Stand alone

2000-10-24 Thread John Bateman

Hi

Yeah, weird eh? The browser (IE) tells me "DNS Error or Cannot Find Server".
As an aside I'm running apache on Port 80 and it serves up the web pages
fine (for other websites, NOT the ones Tomcat points to).

I appreciate your help.

> -Original Message-
> From: Ben Souther [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 24, 2000 5:03 PM
> To: [EMAIL PROTECTED]
> Subject: Re: confusion on running Stand alone
>
>
> You're getting DNS errors when you enter the "IP" number?
>
>
>
> - Original Message -
> From: Jagannathan, Giri (c) <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 24, 2000 4:51 PM
> Subject: RE: confusion on running Stand alone
>
>
> > jus try accessing http://serverip:8080 without the file
> index.html!!  It
> > worked for me..
> >
> > -Original Message-
> > From: John Bateman [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, October 24, 2000 4:53 PM
> > To: Tomcat-User (E-mail)
> > Subject: confusion on running Stand alone
> >
> >
> > Hi
> >
> > I'm a bit confused over all the documentation I've been
> reading. It tells
> me
> > to run the tomcat server in stand alone mode and verify
> that I can get the
> > servlets working before I try running it in or out of
> process with another
> > webserver.
> >
> > This I understand, but I can't seem to find an example on
> how to verify
> that
> > my stand alone configuration works.
> >
> > The tomcat seems to start fine and when I telnet to the IP
> address of my
> > server on port 8080 (or even port 8007) there's a response
> from something
> > sitting there waiting for a connection, but, when I try accessing
> > http://serverip:8080/index.html OR
http://serverip:8080/test/index.html I
> always get DNS can't locate server errors.
>
> The log files seem to be happy with the exception that I occasionally see
> this error message in the tomcat.log file. the error is marked by *'s,
I've
> just included the whole log file as it's quite small and maybe the insight
> will help.
> (FYI: /usr/local/tomcat is a symbolic link to /usr/local/jakarta-tomcat)
>
> Starting tomcat install="/usr/local/tomcat"
home="/usr/local/jakarta-tomcat"
> classPath=".:/usr/local/tomcat/lib/ant.jar:/usr/local/t
>
omcat/lib/jasper.jar:/usr/local/tomcat/lib/servlet.jar:/usr/local/tomcat/lib
> /test:/usr/local/tomcat/lib/webserver.jar:/usr/local/tom
>
cat/lib/xml.jar:/usr/local/java/lib/tools.jar:.:./:/lib/classes.zip:/classes
> :/lib/dt.jar:/lib/tools.jar:/jre/lib/rt.jar:/usr/local/l
> ib/jconn2.jar"
> Context log: path="/admin" Automatic context load
> docBase="/usr/local/jakarta-tomcat/webapps/admin"
> Context log: path="/admin" Adding context path="/admin"
> docBase="/usr/local/jakarta-tomcat/webapps/admin"
> Starting endpoint port="8080"
> handler="org.apache.tomcat.service.http.HttpConnectionHandler"
> Starting endpoint port="8007"
> handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"
>  Error reading request connection reset 
>
> Thanks a million.
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> John Bateman
> Cyber World Group Inc.
>
>




RE: confusion on running Stand alone

2000-10-24 Thread John Bateman

Hi

Thanks for the reply. I tried that also, and since there's a connector entry
, as seen below, for 'root' I put an index.html file (verified all
permissions on it) and called  http://serverIpd:8080/index.html also
nothing.




Very strange but then again it is the holloween season over here. :)


> -Original Message-
> From: Jagannathan, Giri (c) [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 24, 2000 4:52 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: confusion on running Stand alone
>
>
> jus try accessing http://serverip:8080 without the file
> index.html!!  It
> worked for me..
>
> -Original Message-
> From: John Bateman [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 24, 2000 4:53 PM
> To: Tomcat-User (E-mail)
> Subject: confusion on running Stand alone
>
>
> Hi
>
> I'm a bit confused over all the documentation I've been
> reading. It tells me
> to run the tomcat server in stand alone mode and verify that
> I can get the
> servlets working before I try running it in or out of process
> with another
> webserver.
>
> This I understand, but I can't seem to find an example on how
> to verify that
> my stand alone configuration works.
>
> The tomcat seems to start fine and when I telnet to the IP
> address of my
> server on port 8080 (or even port 8007) there's a response
> from something
> sitting there waiting for a connection, but, when I try accessing
> http://serverip:8080/index.html OR
http://serverip:8080/test/index.html I
always get DNS can't locate server errors.

The log files seem to be happy with the exception that I occasionally see
this error message in the tomcat.log file. the error is marked by *'s, I've
just included the whole log file as it's quite small and maybe the insight
will help.
(FYI: /usr/local/tomcat is a symbolic link to /usr/local/jakarta-tomcat)

Starting tomcat install="/usr/local/tomcat" home="/usr/local/jakarta-tomcat"
classPath=".:/usr/local/tomcat/lib/ant.jar:/usr/local/t
omcat/lib/jasper.jar:/usr/local/tomcat/lib/servlet.jar:/usr/local/tomcat/lib
/test:/usr/local/tomcat/lib/webserver.jar:/usr/local/tom
cat/lib/xml.jar:/usr/local/java/lib/tools.jar:.:./:/lib/classes.zip:/classes
:/lib/dt.jar:/lib/tools.jar:/jre/lib/rt.jar:/usr/local/l
ib/jconn2.jar"
Context log: path="/admin" Automatic context load
docBase="/usr/local/jakarta-tomcat/webapps/admin"
Context log: path="/admin" Adding context path="/admin"
docBase="/usr/local/jakarta-tomcat/webapps/admin"
Starting endpoint port="8080"
handler="org.apache.tomcat.service.http.HttpConnectionHandler"
Starting endpoint port="8007"
handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"
 Error reading request connection reset 

Thanks a million.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
John Bateman
Cyber World Group Inc.




Re: confusion on running Stand alone

2000-10-24 Thread Ben Souther

You're getting DNS errors when you enter the "IP" number?



- Original Message -
From: Jagannathan, Giri (c) <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 24, 2000 4:51 PM
Subject: RE: confusion on running Stand alone


> jus try accessing http://serverip:8080 without the file index.html!!  It
> worked for me..
>
> -Original Message-
> From: John Bateman [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 24, 2000 4:53 PM
> To: Tomcat-User (E-mail)
> Subject: confusion on running Stand alone
>
>
> Hi
>
> I'm a bit confused over all the documentation I've been reading. It tells
me
> to run the tomcat server in stand alone mode and verify that I can get the
> servlets working before I try running it in or out of process with another
> webserver.
>
> This I understand, but I can't seem to find an example on how to verify
that
> my stand alone configuration works.
>
> The tomcat seems to start fine and when I telnet to the IP address of my
> server on port 8080 (or even port 8007) there's a response from something
> sitting there waiting for a connection, but, when I try accessing
> http://serverip:8080/index.html OR http://serverip:8080/test/index.html I
> always get DNS can't locate server errors.
>
> The log files seem to be happy with the exception that I occasionally see
> this error message in the tomcat.log file. the error is marked by *'s,
I've
> just included the whole log file as it's quite small and maybe the insight
> will help.
> (FYI: /usr/local/tomcat is a symbolic link to /usr/local/jakarta-tomcat)
>
> Starting tomcat install="/usr/local/tomcat"
home="/usr/local/jakarta-tomcat"
> classPath=".:/usr/local/tomcat/lib/ant.jar:/usr/local/t
>
omcat/lib/jasper.jar:/usr/local/tomcat/lib/servlet.jar:/usr/local/tomcat/lib
> /test:/usr/local/tomcat/lib/webserver.jar:/usr/local/tom
>
cat/lib/xml.jar:/usr/local/java/lib/tools.jar:.:./:/lib/classes.zip:/classes
> :/lib/dt.jar:/lib/tools.jar:/jre/lib/rt.jar:/usr/local/l
> ib/jconn2.jar"
> Context log: path="/admin" Automatic context load
> docBase="/usr/local/jakarta-tomcat/webapps/admin"
> Context log: path="/admin" Adding context path="/admin"
> docBase="/usr/local/jakarta-tomcat/webapps/admin"
> Starting endpoint port="8080"
> handler="org.apache.tomcat.service.http.HttpConnectionHandler"
> Starting endpoint port="8007"
> handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"
>  Error reading request connection reset 
>
> Thanks a million.
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> John Bateman
> Cyber World Group Inc.
>
>




RE: confusion on running Stand alone

2000-10-24 Thread Jagannathan, Giri (c)

jus try accessing http://serverip:8080 without the file index.html!!  It
worked for me..

-Original Message-
From: John Bateman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 24, 2000 4:53 PM
To: Tomcat-User (E-mail)
Subject: confusion on running Stand alone


Hi

I'm a bit confused over all the documentation I've been reading. It tells me
to run the tomcat server in stand alone mode and verify that I can get the
servlets working before I try running it in or out of process with another
webserver.

This I understand, but I can't seem to find an example on how to verify that
my stand alone configuration works.

The tomcat seems to start fine and when I telnet to the IP address of my
server on port 8080 (or even port 8007) there's a response from something
sitting there waiting for a connection, but, when I try accessing
http://serverip:8080/index.html OR http://serverip:8080/test/index.html I
always get DNS can't locate server errors.

The log files seem to be happy with the exception that I occasionally see
this error message in the tomcat.log file. the error is marked by *'s, I've
just included the whole log file as it's quite small and maybe the insight
will help.
(FYI: /usr/local/tomcat is a symbolic link to /usr/local/jakarta-tomcat)

Starting tomcat install="/usr/local/tomcat" home="/usr/local/jakarta-tomcat"
classPath=".:/usr/local/tomcat/lib/ant.jar:/usr/local/t
omcat/lib/jasper.jar:/usr/local/tomcat/lib/servlet.jar:/usr/local/tomcat/lib
/test:/usr/local/tomcat/lib/webserver.jar:/usr/local/tom
cat/lib/xml.jar:/usr/local/java/lib/tools.jar:.:./:/lib/classes.zip:/classes
:/lib/dt.jar:/lib/tools.jar:/jre/lib/rt.jar:/usr/local/l
ib/jconn2.jar"
Context log: path="/admin" Automatic context load
docBase="/usr/local/jakarta-tomcat/webapps/admin"
Context log: path="/admin" Adding context path="/admin"
docBase="/usr/local/jakarta-tomcat/webapps/admin"
Starting endpoint port="8080"
handler="org.apache.tomcat.service.http.HttpConnectionHandler"
Starting endpoint port="8007"
handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"
 Error reading request connection reset 

Thanks a million.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
John Bateman
Cyber World Group Inc.