Re: Newbie help

2005-03-22 Thread Frank Høvin

I don't know anything about JWSDP, but have you read the setup and
configuration pages for the version of Tomcat you're using? e.g.,
  http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html
That's the how-to you're looking for, I suspect...
Yah, I tried, but I found it much more confusing than I thought, so I went 
back to Tomcat 4.01 and installed a plugin for Eclipse. Thanks for 
replying, though .-) 

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


Re: Newbie help

2005-03-21 Thread Hassan Schroeder
[EMAIL PROTECTED] wrote:
Now, I've downloaded JWSDP and tomcat50-jwsdp, and nothing makes sense anymore.
What I want to do is the following:
- create a directory in the /webapps dir, and place my small servlets in that
  dir and run them.
I don't know anything about JWSDP, but have you read the setup and
configuration pages for the version of Tomcat you're using? e.g.,
  http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html
That's the how-to you're looking for, I suspect...
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
  dream.  code.

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


RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
Recomiliing didn't help.  Has anyone got any ideas?
Thanks.

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 2:56 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I've restarted a few times.  I'll see if I can recompile these.

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 2:40 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

Usually HTTP 500 codes are bugs in the code i really don't know what 
this debug attribute is used for but you should restart your 
tomcat to see if it heals.

John Najarian escribió:

I got in there but now I get this error when I try to access

the context '/ora':

 


HTTP Status 500 - Error retrieving attribute debug

  _  


type Status report

message Error retrieving attribute debug

description The server encountered an internal error (Error retrieving
attribute debug) that prevented it from fulfilling this request.

  _  


Apache Tomcat/5.0.19


 

 

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 2:25 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

 

Then manually deploy it the admin app has a facility to deploy a 

context that should do the trick

 

John Najarian escribió:

 

  

Thanks John, the autodeploy was already set to 'True'.



  

I've got a few apps working this one just doesn't.



  


  

-Original Message-



  

From: John Villar [mailto:[EMAIL PROTECTED] 



  

Sent: Thursday, September 02, 2004 1:44 PM



  

To: Tomcat Users List



  

Subject: Re: Newbie help w/ORielly examples



  


  

enable autodeploy on the admin app (i.e. localhost:8080/admin). Make 



  

sure you have a user configured to access the admin app in your 



  

conf/server.xml file



  


  

John Najarian escribió:



  


  

 



  


  

I've tried installing the examples from the 'Java Server Pages'
  


  

book to no avail.  I expanded the jspbook3.zip file and copied
  


  

the 'ora/' directory to the 'tomcat/webapps' directory.
  


  


  

I restarted the tomcat service.  When I try to access the apps
  


  

by typing 'http://localhost:8080/ora/' into a browser I get the
  


  

following displayed in the browser.
  


  


  


  


  

HTTP Status 404 - /ora/
  


  


  

type Status report
  


  


  

message /ora/
  


  


  

description The requested resource (/ora/) is not available.
  


  

Apache Tomcat/5.0.19
  


  


  


  


  

Any ideas?  This is running on an XP machine.
  


  


  

Thanks
  


  


  


  


  

-
  


  

To unsubscribe, e-mail: [EMAIL PROTECTED]
  


  

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


  


  


  


  


  

   
  


  


  


  

 



  


 

  


-- 
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com





-
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: Newbie help w/ORielly examples

2004-09-03 Thread Shapira, Yoav

Hi,
It's not accurate to say that 500-class HTTP responses are usually application code 
bugs.  Server misconfiguration is at least as common a cause for these responses.

The stack trace and error information posted by the OP is insufficient to determine 
the cause of the error.

To the OP: do the Tomcat examples run?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 1:20 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

Recomiliing didn't help.  Has anyone got any ideas?
Thanks.

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:56 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I've restarted a few times.  I'll see if I can recompile these.

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:40 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

Usually HTTP 500 codes are bugs in the code i really don't know what
this debug attribute is used for but you should restart your
tomcat to see if it heals.

John Najarian escribió:

I got in there but now I get this error when I try to access

the context '/ora':




HTTP Status 500 - Error retrieving attribute debug

  _


type Status report

message Error retrieving attribute debug

description The server encountered an internal error (Error retrieving
attribute debug) that prevented it from fulfilling this request.

  _


Apache Tomcat/5.0.19






-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:25 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples



Then manually deploy it the admin app has a facility to deploy a

context that should do the trick



John Najarian escribió:





Thanks John, the autodeploy was already set to 'True'.





I've got a few apps working this one just doesn't.








-Original Message-





From: John Villar [mailto:[EMAIL PROTECTED]





Sent: Thursday, September 02, 2004 1:44 PM





To: Tomcat Users List





Subject: Re: Newbie help w/ORielly examples








enable autodeploy on the admin app (i.e. localhost:8080/admin). Make





sure you have a user configured to access the admin app in your





conf/server.xml file








John Najarian escribió:

















I've tried installing the examples from the 'Java Server Pages'





book to no avail.  I expanded the jspbook3.zip file and copied





the 'ora/' directory to the 'tomcat/webapps' directory.








I restarted the tomcat service.  When I try to access the apps





by typing 'http://localhost:8080/ora/' into a browser I get the





following displayed in the browser.














HTTP Status 404 - /ora/








type Status report








message /ora/








description The requested resource (/ora/) is not available.





Apache Tomcat/5.0.19














Any ideas?  This is running on an XP machine.








Thanks














-





To unsubscribe, e-mail: [EMAIL PROTECTED]





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









































--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com





-
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]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
I don't know if the Tomcat examples run.  That's what I'm trying.
Other JPSs  Servelts do run on this tomcat installation.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 10:25 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples


Hi,
It's not accurate to say that 500-class HTTP responses are usually
application code bugs.  Server misconfiguration is at least as common a
cause for these responses.

The stack trace and error information posted by the OP is insufficient to
determine the cause of the error.

To the OP: do the Tomcat examples run? 

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 1:20 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

Recomiliing didn't help.  Has anyone got any ideas?
Thanks.

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:56 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I've restarted a few times.  I'll see if I can recompile these.

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:40 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

Usually HTTP 500 codes are bugs in the code i really don't know what
this debug attribute is used for but you should restart your
tomcat to see if it heals.

John Najarian escribió:

I got in there but now I get this error when I try to access

the context '/ora':




HTTP Status 500 - Error retrieving attribute debug

  _


type Status report

message Error retrieving attribute debug

description The server encountered an internal error (Error retrieving
attribute debug) that prevented it from fulfilling this request.

  _


Apache Tomcat/5.0.19






-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:25 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples



Then manually deploy it the admin app has a facility to deploy a

context that should do the trick



John Najarian escribió:





Thanks John, the autodeploy was already set to 'True'.





I've got a few apps working this one just doesn't.








-Original Message-





From: John Villar [mailto:[EMAIL PROTECTED]





Sent: Thursday, September 02, 2004 1:44 PM





To: Tomcat Users List





Subject: Re: Newbie help w/ORielly examples








enable autodeploy on the admin app (i.e. localhost:8080/admin). Make





sure you have a user configured to access the admin app in your





conf/server.xml file








John Najarian escribió:

















I've tried installing the examples from the 'Java Server Pages'





book to no avail.  I expanded the jspbook3.zip file and copied





the 'ora/' directory to the 'tomcat/webapps' directory.








I restarted the tomcat service.  When I try to access the apps





by typing 'http://localhost:8080/ora/' into a browser I get the





following displayed in the browser.














HTTP Status 404 - /ora/








type Status report








message /ora/








description The requested resource (/ora/) is not available.





Apache Tomcat/5.0.19














Any ideas?  This is running on an XP machine.








Thanks














-





To unsubscribe, e-mail: [EMAIL PROTECTED]





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









































--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com





-
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]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
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: Newbie help w/ORielly examples

2004-09-03 Thread Shapira, Yoav

Hi,
Are you trying the Tomcat examples or the O'Reilly ones?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 1:55 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I don't know if the Tomcat examples run.  That's what I'm trying.
Other JPSs  Servelts do run on this tomcat installation.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 10:25 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples


Hi,
It's not accurate to say that 500-class HTTP responses are usually
application code bugs.  Server misconfiguration is at least as common a
cause for these responses.

The stack trace and error information posted by the OP is insufficient to
determine the cause of the error.

To the OP: do the Tomcat examples run?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 1:20 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

Recomiliing didn't help.  Has anyone got any ideas?
Thanks.

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:56 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I've restarted a few times.  I'll see if I can recompile these.

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:40 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

Usually HTTP 500 codes are bugs in the code i really don't know what
this debug attribute is used for but you should restart your
tomcat to see if it heals.

John Najarian escribió:

I got in there but now I get this error when I try to access

the context '/ora':




HTTP Status 500 - Error retrieving attribute debug

  _


type Status report

message Error retrieving attribute debug

description The server encountered an internal error (Error retrieving
attribute debug) that prevented it from fulfilling this request.

  _


Apache Tomcat/5.0.19






-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:25 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples



Then manually deploy it the admin app has a facility to deploy a

context that should do the trick



John Najarian escribió:





Thanks John, the autodeploy was already set to 'True'.





I've got a few apps working this one just doesn't.








-Original Message-





From: John Villar [mailto:[EMAIL PROTECTED]





Sent: Thursday, September 02, 2004 1:44 PM





To: Tomcat Users List





Subject: Re: Newbie help w/ORielly examples








enable autodeploy on the admin app (i.e. localhost:8080/admin). Make





sure you have a user configured to access the admin app in your





conf/server.xml file








John Najarian escribió:

















I've tried installing the examples from the 'Java Server Pages'





book to no avail.  I expanded the jspbook3.zip file and copied





the 'ora/' directory to the 'tomcat/webapps' directory.








I restarted the tomcat service.  When I try to access the apps





by typing 'http://localhost:8080/ora/' into a browser I get the





following displayed in the browser.














HTTP Status 404 - /ora/








type Status report








message /ora/








description The requested resource (/ora/) is not available.





Apache Tomcat/5.0.19














Any ideas?  This is running on an XP machine.








Thanks














-





To unsubscribe, e-mail: [EMAIL PROTECTED]





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









































--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com





-
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]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you

RE: Newbie help w/ORielly examples

2004-09-03 Thread Williams, Mark L CIV NSWC-PC
FWIW, the O'Reilly examples work just fine on my TC 5.0.27 site with no
tweaking of any kind. Did you if you followed the installation
instructions to be sure the whole directory tree was copied into the
webapps directory?

Mark

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 12:57
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples



Hi,
Are you trying the Tomcat examples or the O'Reilly ones?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 1:55 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I don't know if the Tomcat examples run.  That's what I'm trying.
Other JPSs  Servelts do run on this tomcat installation.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 10:25 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples


Hi,
It's not accurate to say that 500-class HTTP responses are usually
application code bugs.  Server misconfiguration is at least as common a
cause for these responses.

The stack trace and error information posted by the OP is insufficient
to
determine the cause of the error.

To the OP: do the Tomcat examples run?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 1:20 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

Recomiliing didn't help.  Has anyone got any ideas?
Thanks.

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:56 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I've restarted a few times.  I'll see if I can recompile these.

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:40 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

Usually HTTP 500 codes are bugs in the code i really don't know
what
this debug attribute is used for but you should restart your
tomcat to see if it heals.

John Najarian escribió:

I got in there but now I get this error when I try to access

the context '/ora':




HTTP Status 500 - Error retrieving attribute debug

  _


type Status report

message Error retrieving attribute debug

description The server encountered an internal error (Error
retrieving
attribute debug) that prevented it from fulfilling this request.

  _


Apache Tomcat/5.0.19






-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:25 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples



Then manually deploy it the admin app has a facility to deploy a

context that should do the trick



John Najarian escribió:





Thanks John, the autodeploy was already set to 'True'.





I've got a few apps working this one just doesn't.








-Original Message-





From: John Villar [mailto:[EMAIL PROTECTED]





Sent: Thursday, September 02, 2004 1:44 PM





To: Tomcat Users List





Subject: Re: Newbie help w/ORielly examples








enable autodeploy on the admin app (i.e. localhost:8080/admin). Make





sure you have a user configured to access the admin app in your





conf/server.xml file








John Najarian escribió:

















I've tried installing the examples from the 'Java Server Pages'





book to no avail.  I expanded the jspbook3.zip file and copied





the 'ora/' directory to the 'tomcat/webapps' directory.








I restarted the tomcat service.  When I try to access the apps





by typing 'http://localhost:8080/ora/' into a browser I get the





following displayed in the browser.














HTTP Status 404 - /ora/








type Status report








message /ora/








description The requested resource (/ora/) is not available.





Apache Tomcat/5.0.19














Any ideas?  This is running on an XP machine.








Thanks














---
--





To unsubscribe, e-mail: [EMAIL PROTECTED]





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









































--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com





-
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]




This e-mail, including any attachments, is a confidential business
communication, and may

RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
Yes, the entire directory.  I think I'll uninstall 5.19 and install 5.27

-Original Message-
From: Williams, Mark L CIV NSWC-PC [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 11:01 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples

FWIW, the O'Reilly examples work just fine on my TC 5.0.27 site with no
tweaking of any kind. Did you if you followed the installation
instructions to be sure the whole directory tree was copied into the
webapps directory?

Mark

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 12:57
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples



Hi,
Are you trying the Tomcat examples or the O'Reilly ones?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 1:55 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I don't know if the Tomcat examples run.  That's what I'm trying.
Other JPSs  Servelts do run on this tomcat installation.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 10:25 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples


Hi,
It's not accurate to say that 500-class HTTP responses are usually
application code bugs.  Server misconfiguration is at least as common a
cause for these responses.

The stack trace and error information posted by the OP is insufficient
to
determine the cause of the error.

To the OP: do the Tomcat examples run?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 1:20 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

Recomiliing didn't help.  Has anyone got any ideas?
Thanks.

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:56 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I've restarted a few times.  I'll see if I can recompile these.

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:40 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

Usually HTTP 500 codes are bugs in the code i really don't know
what
this debug attribute is used for but you should restart your
tomcat to see if it heals.

John Najarian escribió:

I got in there but now I get this error when I try to access

the context '/ora':




HTTP Status 500 - Error retrieving attribute debug

  _


type Status report

message Error retrieving attribute debug

description The server encountered an internal error (Error
retrieving
attribute debug) that prevented it from fulfilling this request.

  _


Apache Tomcat/5.0.19






-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:25 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples



Then manually deploy it the admin app has a facility to deploy a

context that should do the trick



John Najarian escribió:





Thanks John, the autodeploy was already set to 'True'.





I've got a few apps working this one just doesn't.








-Original Message-





From: John Villar [mailto:[EMAIL PROTECTED]





Sent: Thursday, September 02, 2004 1:44 PM





To: Tomcat Users List





Subject: Re: Newbie help w/ORielly examples








enable autodeploy on the admin app (i.e. localhost:8080/admin). Make





sure you have a user configured to access the admin app in your





conf/server.xml file








John Najarian escribió:

















I've tried installing the examples from the 'Java Server Pages'





book to no avail.  I expanded the jspbook3.zip file and copied





the 'ora/' directory to the 'tomcat/webapps' directory.








I restarted the tomcat service.  When I try to access the apps





by typing 'http://localhost:8080/ora/' into a browser I get the





following displayed in the browser.














HTTP Status 404 - /ora/








type Status report








message /ora/








description The requested resource (/ora/) is not available.





Apache Tomcat/5.0.19














Any ideas?  This is running on an XP machine.








Thanks














---
--





To unsubscribe, e-mail: [EMAIL PROTECTED]





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









































--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com





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

RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
OReilly

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 10:57 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples


Hi,
Are you trying the Tomcat examples or the O'Reilly ones?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 1:55 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I don't know if the Tomcat examples run.  That's what I'm trying.
Other JPSs  Servelts do run on this tomcat installation.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 10:25 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples


Hi,
It's not accurate to say that 500-class HTTP responses are usually
application code bugs.  Server misconfiguration is at least as common a
cause for these responses.

The stack trace and error information posted by the OP is insufficient to
determine the cause of the error.

To the OP: do the Tomcat examples run?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 1:20 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

Recomiliing didn't help.  Has anyone got any ideas?
Thanks.

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:56 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I've restarted a few times.  I'll see if I can recompile these.

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:40 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

Usually HTTP 500 codes are bugs in the code i really don't know what
this debug attribute is used for but you should restart your
tomcat to see if it heals.

John Najarian escribió:

I got in there but now I get this error when I try to access

the context '/ora':




HTTP Status 500 - Error retrieving attribute debug

  _


type Status report

message Error retrieving attribute debug

description The server encountered an internal error (Error retrieving
attribute debug) that prevented it from fulfilling this request.

  _


Apache Tomcat/5.0.19






-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:25 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples



Then manually deploy it the admin app has a facility to deploy a

context that should do the trick



John Najarian escribió:





Thanks John, the autodeploy was already set to 'True'.





I've got a few apps working this one just doesn't.








-Original Message-





From: John Villar [mailto:[EMAIL PROTECTED]





Sent: Thursday, September 02, 2004 1:44 PM





To: Tomcat Users List





Subject: Re: Newbie help w/ORielly examples








enable autodeploy on the admin app (i.e. localhost:8080/admin). Make





sure you have a user configured to access the admin app in your





conf/server.xml file








John Najarian escribió:

















I've tried installing the examples from the 'Java Server Pages'





book to no avail.  I expanded the jspbook3.zip file and copied





the 'ora/' directory to the 'tomcat/webapps' directory.








I restarted the tomcat service.  When I try to access the apps





by typing 'http://localhost:8080/ora/' into a browser I get the





following displayed in the browser.














HTTP Status 404 - /ora/








type Status report








message /ora/








description The requested resource (/ora/) is not available.





Apache Tomcat/5.0.19














Any ideas?  This is running on an XP machine.








Thanks














-





To unsubscribe, e-mail: [EMAIL PROTECTED]





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









































--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com





-
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]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone

RE: Newbie help w/ORielly examples

2004-09-03 Thread Ernesto Echeverría
What book is that? Java Server Pages 3rd Edition? 

Have you tried the JSP samples from the tomcat installation? First thing to
do cause then you know if jsps are compiling correctly.


José Ernesto Echeverría


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED] 
Sent: Viernes, 03 de Septiembre de 2004 12:16 p.m.
To: 'Tomcat Users List'
Subject: [tomcat] RE: Newbie help w/ORielly examples

Yes, the entire directory.  I think I'll uninstall 5.19 and install 5.27

-Original Message-
From: Williams, Mark L CIV NSWC-PC [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 11:01 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples

FWIW, the O'Reilly examples work just fine on my TC 5.0.27 site with no
tweaking of any kind. Did you if you followed the installation instructions
to be sure the whole directory tree was copied into the webapps directory?

Mark

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 12:57
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples



Hi,
Are you trying the Tomcat examples or the O'Reilly ones?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 1:55 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I don't know if the Tomcat examples run.  That's what I'm trying.
Other JPSs  Servelts do run on this tomcat installation.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 10:25 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples


Hi,
It's not accurate to say that 500-class HTTP responses are usually 
application code bugs.  Server misconfiguration is at least as common a 
cause for these responses.

The stack trace and error information posted by the OP is insufficient
to
determine the cause of the error.

To the OP: do the Tomcat examples run?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 1:20 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

Recomiliing didn't help.  Has anyone got any ideas?
Thanks.

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:56 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I've restarted a few times.  I'll see if I can recompile these.

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:40 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

Usually HTTP 500 codes are bugs in the code i really don't know
what
this debug attribute is used for but you should restart your 
tomcat to see if it heals.

John Najarian escribió:

I got in there but now I get this error when I try to access

the context '/ora':




HTTP Status 500 - Error retrieving attribute debug

  _


type Status report

message Error retrieving attribute debug

description The server encountered an internal error (Error
retrieving
attribute debug) that prevented it from fulfilling this request.

  _


Apache Tomcat/5.0.19






-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:25 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples



Then manually deploy it the admin app has a facility to deploy a

context that should do the trick



John Najarian escribió:





Thanks John, the autodeploy was already set to 'True'.





I've got a few apps working this one just doesn't.








-Original Message-





From: John Villar [mailto:[EMAIL PROTECTED]





Sent: Thursday, September 02, 2004 1:44 PM





To: Tomcat Users List





Subject: Re: Newbie help w/ORielly examples








enable autodeploy on the admin app (i.e. localhost:8080/admin). Make





sure you have a user configured to access the admin app in your





conf/server.xml file








John Najarian escribió:

















I've tried installing the examples from the 'Java Server Pages'





book to no avail.  I expanded the jspbook3.zip file and copied





the 'ora/' directory to the 'tomcat/webapps' directory.








I restarted the tomcat service.  When I try to access the apps





by typing 'http://localhost:8080/ora/' into a browser I get the





following displayed in the browser.














HTTP Status 404 - /ora/








type Status report








message /ora/








description The requested resource (/ora/) is not available.





Apache Tomcat/5.0.19














Any ideas?  This is running on an XP machine.








Thanks

RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
Yoav, I think you were right.  I installed 5.27
 everything works.  I don't know why because it
wasn't any changes I did.  I hadn't done any
configuration.

Does anyone know how to remove the old 

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 10:25 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples


Hi,
It's not accurate to say that 500-class HTTP responses are usually
application code bugs.  Server misconfiguration is at least as common a
cause for these responses.

The stack trace and error information posted by the OP is insufficient to
determine the cause of the error.

To the OP: do the Tomcat examples run? 

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 1:20 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

Recomiliing didn't help.  Has anyone got any ideas?
Thanks.

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:56 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I've restarted a few times.  I'll see if I can recompile these.

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:40 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

Usually HTTP 500 codes are bugs in the code i really don't know what
this debug attribute is used for but you should restart your
tomcat to see if it heals.

John Najarian escribió:

I got in there but now I get this error when I try to access

the context '/ora':




HTTP Status 500 - Error retrieving attribute debug

  _


type Status report

message Error retrieving attribute debug

description The server encountered an internal error (Error retrieving
attribute debug) that prevented it from fulfilling this request.

  _


Apache Tomcat/5.0.19






-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:25 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples



Then manually deploy it the admin app has a facility to deploy a

context that should do the trick



John Najarian escribió:





Thanks John, the autodeploy was already set to 'True'.





I've got a few apps working this one just doesn't.








-Original Message-





From: John Villar [mailto:[EMAIL PROTECTED]





Sent: Thursday, September 02, 2004 1:44 PM





To: Tomcat Users List





Subject: Re: Newbie help w/ORielly examples








enable autodeploy on the admin app (i.e. localhost:8080/admin). Make





sure you have a user configured to access the admin app in your





conf/server.xml file








John Najarian escribió:

















I've tried installing the examples from the 'Java Server Pages'





book to no avail.  I expanded the jspbook3.zip file and copied





the 'ora/' directory to the 'tomcat/webapps' directory.








I restarted the tomcat service.  When I try to access the apps





by typing 'http://localhost:8080/ora/' into a browser I get the





following displayed in the browser.














HTTP Status 404 - /ora/








type Status report








message /ora/








description The requested resource (/ora/) is not available.





Apache Tomcat/5.0.19














Any ideas?  This is running on an XP machine.








Thanks














-





To unsubscribe, e-mail: [EMAIL PROTECTED]





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









































--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com





-
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]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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




-
To unsubscribe, e-mail

RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
Yes

-Original Message-
From: Ernesto Echeverría [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 11:47 AM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

What book is that? Java Server Pages 3rd Edition? 

Have you tried the JSP samples from the tomcat installation? First thing to
do cause then you know if jsps are compiling correctly.


José Ernesto Echeverría


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED] 
Sent: Viernes, 03 de Septiembre de 2004 12:16 p.m.
To: 'Tomcat Users List'
Subject: [tomcat] RE: Newbie help w/ORielly examples

Yes, the entire directory.  I think I'll uninstall 5.19 and install 5.27

-Original Message-
From: Williams, Mark L CIV NSWC-PC [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 11:01 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples

FWIW, the O'Reilly examples work just fine on my TC 5.0.27 site with no
tweaking of any kind. Did you if you followed the installation instructions
to be sure the whole directory tree was copied into the webapps directory?

Mark

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 12:57
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples



Hi,
Are you trying the Tomcat examples or the O'Reilly ones?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 1:55 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I don't know if the Tomcat examples run.  That's what I'm trying.
Other JPSs  Servelts do run on this tomcat installation.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 10:25 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples


Hi,
It's not accurate to say that 500-class HTTP responses are usually 
application code bugs.  Server misconfiguration is at least as common a 
cause for these responses.

The stack trace and error information posted by the OP is insufficient
to
determine the cause of the error.

To the OP: do the Tomcat examples run?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 1:20 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

Recomiliing didn't help.  Has anyone got any ideas?
Thanks.

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:56 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I've restarted a few times.  I'll see if I can recompile these.

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:40 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

Usually HTTP 500 codes are bugs in the code i really don't know
what
this debug attribute is used for but you should restart your 
tomcat to see if it heals.

John Najarian escribió:

I got in there but now I get this error when I try to access

the context '/ora':




HTTP Status 500 - Error retrieving attribute debug

  _


type Status report

message Error retrieving attribute debug

description The server encountered an internal error (Error
retrieving
attribute debug) that prevented it from fulfilling this request.

  _


Apache Tomcat/5.0.19






-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:25 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples



Then manually deploy it the admin app has a facility to deploy a

context that should do the trick



John Najarian escribió:





Thanks John, the autodeploy was already set to 'True'.





I've got a few apps working this one just doesn't.








-Original Message-





From: John Villar [mailto:[EMAIL PROTECTED]





Sent: Thursday, September 02, 2004 1:44 PM





To: Tomcat Users List





Subject: Re: Newbie help w/ORielly examples








enable autodeploy on the admin app (i.e. localhost:8080/admin). Make





sure you have a user configured to access the admin app in your





conf/server.xml file








John Najarian escribió:

















I've tried installing the examples from the 'Java Server Pages'





book to no avail.  I expanded the jspbook3.zip file and copied





the 'ora/' directory to the 'tomcat/webapps' directory.








I restarted the tomcat service.  When I try to access the apps





by typing 'http://localhost:8080/ora/' into a browser I get the





following displayed in the browser.














HTTP Status 404 - /ora/








type Status report








message /ora/








description The requested resource (/ora/) is not available.





Apache Tomcat/5.0.19

Re: Newbie help w/ORielly examples

2004-09-02 Thread John Villar
enable autodeploy on the admin app (i.e. localhost:8080/admin). Make 
sure you have a user configured to access the admin app in your 
conf/server.xml file

John Najarian escribió:
I've tried installing the examples from the 'Java Server Pages'
book to no avail.  I expanded the jspbook3.zip file and copied
the 'ora/' directory to the 'tomcat/webapps' directory.
I restarted the tomcat service.  When I try to access the apps
by typing 'http://localhost:8080/ora/' into a browser I get the
following displayed in the browser.

HTTP Status 404 - /ora/
type Status report
message /ora/
description The requested resource (/ora/) is not available.
Apache Tomcat/5.0.19

Any ideas?  This is running on an XP machine.
Thanks

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

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

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

RE: Newbie help w/ORielly examples

2004-09-02 Thread John Najarian
Thanks John, the autodeploy was already set to 'True'.
I've got a few apps working this one just doesn't.

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 1:44 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

enable autodeploy on the admin app (i.e. localhost:8080/admin). Make 
sure you have a user configured to access the admin app in your 
conf/server.xml file

John Najarian escribió:

I've tried installing the examples from the 'Java Server Pages'
book to no avail.  I expanded the jspbook3.zip file and copied
the 'ora/' directory to the 'tomcat/webapps' directory.

I restarted the tomcat service.  When I try to access the apps
by typing 'http://localhost:8080/ora/' into a browser I get the
following displayed in the browser.


HTTP Status 404 - /ora/

type Status report

message /ora/

description The requested resource (/ora/) is not available.
Apache Tomcat/5.0.19


Any ideas?  This is running on an XP machine.

Thanks



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


  


-- 
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com





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



Re: Newbie help w/ORielly examples

2004-09-02 Thread John Villar
Then manually deploy it the admin app has a facility to deploy a 
context that should do the trick

John Najarian escribió:
Thanks John, the autodeploy was already set to 'True'.
I've got a few apps working this one just doesn't.
-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 1:44 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

enable autodeploy on the admin app (i.e. localhost:8080/admin). Make 
sure you have a user configured to access the admin app in your 
conf/server.xml file

John Najarian escribió:
 

I've tried installing the examples from the 'Java Server Pages'
book to no avail.  I expanded the jspbook3.zip file and copied
the 'ora/' directory to the 'tomcat/webapps' directory.
I restarted the tomcat service.  When I try to access the apps
by typing 'http://localhost:8080/ora/' into a browser I get the
following displayed in the browser.

HTTP Status 404 - /ora/
type Status report
message /ora/
description The requested resource (/ora/) is not available.
Apache Tomcat/5.0.19

Any ideas?  This is running on an XP machine.
Thanks

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

   

 

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

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

RE: Newbie help w/ORielly examples

2004-09-02 Thread John Najarian
I got in there but now I get this error when I try to access

the context '/ora':

 


HTTP Status 500 - Error retrieving attribute debug

  _  


type Status report

message Error retrieving attribute debug

description The server encountered an internal error (Error retrieving
attribute debug) that prevented it from fulfilling this request.

  _  


Apache Tomcat/5.0.19


 

 

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 2:25 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

 

Then manually deploy it the admin app has a facility to deploy a 

context that should do the trick

 

John Najarian escribió:

 

Thanks John, the autodeploy was already set to 'True'.

I've got a few apps working this one just doesn't.



-Original Message-

From: John Villar [mailto:[EMAIL PROTECTED] 

Sent: Thursday, September 02, 2004 1:44 PM

To: Tomcat Users List

Subject: Re: Newbie help w/ORielly examples



enable autodeploy on the admin app (i.e. localhost:8080/admin). Make 

sure you have a user configured to access the admin app in your 

conf/server.xml file



John Najarian escribió:



  



I've tried installing the examples from the 'Java Server Pages'

book to no avail.  I expanded the jspbook3.zip file and copied

the 'ora/' directory to the 'tomcat/webapps' directory.



I restarted the tomcat service.  When I try to access the apps

by typing 'http://localhost:8080/ora/' into a browser I get the

following displayed in the browser.





HTTP Status 404 - /ora/



type Status report



message /ora/



description The requested resource (/ora/) is not available.

Apache Tomcat/5.0.19





Any ideas?  This is running on an XP machine.



Thanks







-

To unsubscribe, e-mail: [EMAIL PROTECTED]

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





 









  



 

-- 

John Villar

Gerente de Proyectos

Computadores Flor Hard Soft 2058 C.A.

www.florhard.com

 

 



Re: Newbie help w/ORielly examples

2004-09-02 Thread John Villar
Usually HTTP 500 codes are bugs in the code i really don't know what 
this debug attribute is used for but you should restart your 
tomcat to see if it heals.

John Najarian escribió:
I got in there but now I get this error when I try to access
the context '/ora':

HTTP Status 500 - Error retrieving attribute debug
 _  

type Status report
message Error retrieving attribute debug
description The server encountered an internal error (Error retrieving
attribute debug) that prevented it from fulfilling this request.
 _  

Apache Tomcat/5.0.19


-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 2:25 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples


Then manually deploy it the admin app has a facility to deploy a 

context that should do the trick

John Najarian escribió:

 

Thanks John, the autodeploy was already set to 'True'.
   

 

I've got a few apps working this one just doesn't.
   

 

 

-Original Message-
   

 

From: John Villar [mailto:[EMAIL PROTECTED] 
   

 

Sent: Thursday, September 02, 2004 1:44 PM
   

 

To: Tomcat Users List
   

 

Subject: Re: Newbie help w/ORielly examples
   

 

 

enable autodeploy on the admin app (i.e. localhost:8080/admin). Make 
   

 

sure you have a user configured to access the admin app in your 
   

 

conf/server.xml file
   

 

 

John Najarian escribió:
   

 

 

   

 

 

I've tried installing the examples from the 'Java Server Pages'
 

 

book to no avail.  I expanded the jspbook3.zip file and copied
 

 

the 'ora/' directory to the 'tomcat/webapps' directory.
 

 

 

I restarted the tomcat service.  When I try to access the apps
 

 

by typing 'http://localhost:8080/ora/' into a browser I get the
 

 

following displayed in the browser.
 

 

 


 

 

HTTP Status 404 - /ora/
 

 

 

type Status report
 

 

 

message /ora/
 

 

 

description The requested resource (/ora/) is not available.
 

 

Apache Tomcat/5.0.19
 

 


 

 

 

Any ideas?  This is running on an XP machine.
 

 

 

Thanks
 

 

 

 

 

-
 

 

To unsubscribe, e-mail: [EMAIL PROTECTED]
 

 

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

 

 

 

 

 

  
 

 

 

 

   

 


 

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

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

RE: Newbie help w/ORielly examples

2004-09-02 Thread John Najarian
I've restarted a few times.  I'll see if I can recompile these.

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 2:40 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

Usually HTTP 500 codes are bugs in the code i really don't know what 
this debug attribute is used for but you should restart your 
tomcat to see if it heals.

John Najarian escribió:

I got in there but now I get this error when I try to access

the context '/ora':

 


HTTP Status 500 - Error retrieving attribute debug

  _  


type Status report

message Error retrieving attribute debug

description The server encountered an internal error (Error retrieving
attribute debug) that prevented it from fulfilling this request.

  _  


Apache Tomcat/5.0.19


 

 

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 2:25 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

 

Then manually deploy it the admin app has a facility to deploy a 

context that should do the trick

 

John Najarian escribió:

 

  

Thanks John, the autodeploy was already set to 'True'.



  

I've got a few apps working this one just doesn't.



  


  

-Original Message-



  

From: John Villar [mailto:[EMAIL PROTECTED] 



  

Sent: Thursday, September 02, 2004 1:44 PM



  

To: Tomcat Users List



  

Subject: Re: Newbie help w/ORielly examples



  


  

enable autodeploy on the admin app (i.e. localhost:8080/admin). Make 



  

sure you have a user configured to access the admin app in your 



  

conf/server.xml file



  


  

John Najarian escribió:



  


  

 



  


  

I've tried installing the examples from the 'Java Server Pages'
  


  

book to no avail.  I expanded the jspbook3.zip file and copied
  


  

the 'ora/' directory to the 'tomcat/webapps' directory.
  


  


  

I restarted the tomcat service.  When I try to access the apps
  


  

by typing 'http://localhost:8080/ora/' into a browser I get the
  


  

following displayed in the browser.
  


  


  


  


  

HTTP Status 404 - /ora/
  


  


  

type Status report
  


  


  

message /ora/
  


  


  

description The requested resource (/ora/) is not available.
  


  

Apache Tomcat/5.0.19
  


  


  


  


  

Any ideas?  This is running on an XP machine.
  


  


  

Thanks
  


  


  


  


  

-
  


  

To unsubscribe, e-mail: [EMAIL PROTECTED]
  


  

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


  


  


  


  


  

   
  


  


  


  

 



  


 

  


-- 
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com





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



RE: [tomcat] RE: Newbie help w/ORielly examples

2004-09-02 Thread Ernesto Echeverría
What version of Tomcat are you using?
Are you referring to the 3rd Edition of that book? 


José Ernesto Echeverría
[EMAIL PROTECTED]

 

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED] 
Sent: Jueves, 02 de Septiembre de 2004 03:56 p.m.
To: 'Tomcat Users List'
Subject: [tomcat] RE: Newbie help w/ORielly examples

I've restarted a few times.  I'll see if I can recompile these.

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:40 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

Usually HTTP 500 codes are bugs in the code i really don't know what
this debug attribute is used for but you should restart your tomcat to
see if it heals.

John Najarian escribió:

I got in there but now I get this error when I try to access

the context '/ora':

 


HTTP Status 500 - Error retrieving attribute debug

  _


type Status report

message Error retrieving attribute debug

description The server encountered an internal error (Error retrieving
attribute debug) that prevented it from fulfilling this request.

  _  


Apache Tomcat/5.0.19


 

 

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 2:25 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

 

Then manually deploy it the admin app has a facility to deploy a 

context that should do the trick

 

John Najarian escribió:

 

  

Thanks John, the autodeploy was already set to 'True'.



  

I've got a few apps working this one just doesn't.



  


  

-Original Message-



  

From: John Villar [mailto:[EMAIL PROTECTED] 



  

Sent: Thursday, September 02, 2004 1:44 PM



  

To: Tomcat Users List



  

Subject: Re: Newbie help w/ORielly examples



  


  

enable autodeploy on the admin app (i.e. localhost:8080/admin). Make 



  

sure you have a user configured to access the admin app in your 



  

conf/server.xml file



  


  

John Najarian escribió:



  


  

 



  


  

I've tried installing the examples from the 'Java Server Pages'
  


  

book to no avail.  I expanded the jspbook3.zip file and copied
  


  

the 'ora/' directory to the 'tomcat/webapps' directory.
  


  


  

I restarted the tomcat service.  When I try to access the apps
  


  

by typing 'http://localhost:8080/ora/' into a browser I get the
  


  

following displayed in the browser.
  


  


  


  


  

HTTP Status 404 - /ora/
  


  


  

type Status report
  


  


  

message /ora/
  


  


  

description The requested resource (/ora/) is not available.
  


  

Apache Tomcat/5.0.19
  


  


  


  


  

Any ideas?  This is running on an XP machine.
  


  


  

Thanks
  


  


  


  


  

-
  


  

To unsubscribe, e-mail: [EMAIL PROTECTED]
  


  

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


  


  


  


  


  

   
  


  


  


  

 



  


 

  


-- 
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com





-
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: re-newbie help

2004-03-03 Thread Tim Funk
You are probably using the invoker

http://jakarta.apache.org/tomcat/faq/misc.html#invoker

-Tim

crombie wrote:

hi,

i'm re-introducing myself to tomcat after 2 yrs.  for some reason i cannot get my 
servlet apps to
run.  i installed tomcat, got the welcome screen at port 8080 but when i put my class 
files in the
/webapps dir, it won't run.  um, can i get some pointers on where to get docs and etc. 
 the docs
at sun.com are not doing me any good.  does anyone have tomcat set up with intellj 
idea?


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


RE: re-newbie help

2004-03-03 Thread tsaiching wong
yeah, i am.  what is a good way to do abt this?  create a index.html to
invoke the function and then edit the server.xml file and place the lines
notifying tomcat of the existence of the .class java files?

= -Original Message-
= From: Tim Funk [mailto:[EMAIL PROTECTED]
= Sent: Wednesday, March 03, 2004 4:29 AM
= To: Tomcat Users List
= Subject: Re: re-newbie help
=
=
= You are probably using the invoker
=
= http://jakarta.apache.org/tomcat/faq/misc.html#invoker
=
= -Tim
=
= crombie wrote:
=
=  hi,
= 
=  i'm re-introducing myself to tomcat after 2 yrs.  for some
= reason i cannot get my servlet apps to
=  run.  i installed tomcat, got the welcome screen at port 8080
= but when i put my class files in the
=  /webapps dir, it won't run.  um, can i get some pointers on
= where to get docs and etc.  the docs
=  at sun.com are not doing me any good.  does anyone have tomcat
= set up with intellj idea?
= 
=
=
= -
= 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: re-newbie help

2004-03-03 Thread Tim Funk
It seems like you need more education about servlets and jsps.

Sun has a tutorial at:
java.sun.com/webservices/docs/1.3/tutorial/doc/
By topic, look at chapters 3,4,15-19

-Tim

tsaiching wong wrote:

yeah, i am.  what is a good way to do abt this?  create a index.html to
invoke the function and then edit the server.xml file and place the lines
notifying tomcat of the existence of the .class java files?
= -Original Message-
= From: Tim Funk [mailto:[EMAIL PROTECTED]
= Sent: Wednesday, March 03, 2004 4:29 AM
= To: Tomcat Users List
= Subject: Re: re-newbie help
=
=
= You are probably using the invoker
=
= http://jakarta.apache.org/tomcat/faq/misc.html#invoker
=
= -Tim
=
= crombie wrote:
=
=  hi,
= 
=  i'm re-introducing myself to tomcat after 2 yrs.  for some
= reason i cannot get my servlet apps to
=  run.  i installed tomcat, got the welcome screen at port 8080
= but when i put my class files in the
=  /webapps dir, it won't run.  um, can i get some pointers on
= where to get docs and etc.  the docs
=  at sun.com are not doing me any good.  does anyone have tomcat
= set up with intellj idea?
= 
=
=
= -
= 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: re-newbie help

2004-03-03 Thread tsaiching wong
thanks a bunch! :)

and to all who replied. :)

= -Original Message-
= From: Tim Funk [mailto:[EMAIL PROTECTED]
= Sent: Wednesday, March 03, 2004 11:48 AM
= To: Tomcat Users List
= Subject: Re: re-newbie help
=
=
= It seems like you need more education about servlets and jsps.
=
= Sun has a tutorial at:
= java.sun.com/webservices/docs/1.3/tutorial/doc/
=
= By topic, look at chapters 3,4,15-19
=
= -Tim
=
= tsaiching wong wrote:
=
=  yeah, i am.  what is a good way to do abt this?  create a index.html to
=  invoke the function and then edit the server.xml file and
= place the lines
=  notifying tomcat of the existence of the .class java files?
= 
=  = -Original Message-
=  = From: Tim Funk [mailto:[EMAIL PROTECTED]
=  = Sent: Wednesday, March 03, 2004 4:29 AM
=  = To: Tomcat Users List
=  = Subject: Re: re-newbie help
=  =
=  =
=  = You are probably using the invoker
=  =
=  = http://jakarta.apache.org/tomcat/faq/misc.html#invoker
=  =
=  = -Tim
=  =
=  = crombie wrote:
=  =
=  =  hi,
=  = 
=  =  i'm re-introducing myself to tomcat after 2 yrs.  for some
=  = reason i cannot get my servlet apps to
=  =  run.  i installed tomcat, got the welcome screen at port 8080
=  = but when i put my class files in the
=  =  /webapps dir, it won't run.  um, can i get some pointers on
=  = where to get docs and etc.  the docs
=  =  at sun.com are not doing me any good.  does anyone have tomcat
=  = set up with intellj idea?
=  = 
=  =
=  =
=  =
= -
=  = 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]
=



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



re-newbie help

2004-03-02 Thread crombie
hi,

i'm re-introducing myself to tomcat after 2 yrs.  for some reason i cannot get my 
servlet apps to
run.  i installed tomcat, got the welcome screen at port 8080 but when i put my class 
files in the
/webapps dir, it won't run.  um, can i get some pointers on where to get docs and etc. 
 the docs
at sun.com are not doing me any good.  does anyone have tomcat set up with intellj 
idea?

__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

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



Re: Newbie Help

2004-02-25 Thread Florian Ebeling
Hi Jason,

there is a fine tutorial covering this stuff. It contains a build.xml 
file which is similar to the deployer script. I think the latter evolved 
from the former. It contains also recommendations for directory layouts, 
etc. You find it here:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html

(It is now the First webapp chapter of the user guide.)

Best,
-Florian
Jason Tesser wrote:
I am really confused. I am trying to learn what the best way to build 
and 

Deploy my stuff to Tomcat 5.0 I have ant 1.6 downloaded and I 
downloaded The deployer for Tomcat 5. I have a few questions. 

1. How do I actually get these things to work for me? I have set up 

my environment variable (I am in Windows right now) for TOMCAT_HOME 
ANT_HOME and JAVA_HOME etc

2. How do I create and work with war files?

-
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: newbie help please, localhost not found

2003-12-08 Thread D. Gilbert
Tomcat is now working for me. Thanks to everyone for the suggestions.
It turned out to be the firewall as Doug suggested. When I turned off Norton
Firewall
it worked straight away. I don't understand why a firewall would affect it
though, when its not
trying to access the internet, but perhaps thats too far off topic.
Thanks again,
Dave

- Original Message -
From: Doug Parsons [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, December 06, 2003 4:25 PM
Subject: Re: newbie help please, localhost not found


 You may want to go even more basic than that. Open a command prompt and
try
 pinging localhost and then try 127.0.0.1  Unless you are running some type
 of firewall you should get a response. If not, do you have a personal
 firewall enabled?

 No you don't have to be connected to a lan, but the TCP/IP stack must be
 running. The above test will help you determine that.

 If the ping fails you can contact me off list for more help.

 I know this veered off topic, but often it is the little things that get
ya.



 - Original Message -
 From: Jan Behrens [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Saturday, December 06, 2003 11:00 AM
 Subject: RE: newbie help please, localhost not found


  Hi there,
 
  have you tried http://127.0.0.1:8080 instead? That is the IP usually
bound
  to localhost and it might be that localhost is not resolved correctly to
  same. If not, try to provide further info. For example, have you
installed
  Tomcat in a path containing spaces such as c:\Program Files\Tomcat. If
so,
  reinstall to a path without spaces.
 
  Cheers, Jan
 
   -Original Message-
   From: D. Gilbert [mailto:[EMAIL PROTECTED]
   Sent: Saturday, December 06, 2003 4:56 PM
   To: Tomcat Users List
   Subject: newbie help please, localhost not found
  
  
   When I type http://localhost:8080 in Internet Explorer it says The
page
   cannot be displayed.
   I've looked through the archives but couldn't find anything.
   The running.txt file that comes with Tomcat lists only 3 possibilites
 for
   why it doesn't work.
   I've tried changing the port number, I'm using Windows XP so the
   environment
   issue doesn't apply
   and I'm pretty sure that I'm not behind a proxy as I am using my own
PC
 at
   home.
   I'm pretty sure the JDK is installed ok as I can run javac. I
   tried changing
   JAVA_HOME and CATALINA_HOME to
   incorrect values and that made things worse so I'm sure they are set
   correctly.
   I've tried 2 versions of Tomcat 4.0.1 and 4.1.29.
   When I startup 4.0.1 I get the messages
   
   Starting service Tomcat-Standalone
   Apache Tomcat/4.0.1
   Starting service Tomcat-Apache
   Apache Tomcat/4.0.1
   
   which are correct according to my book.
   Can anyone say what the problem is, or any ways to debug it?
  
   It should run on a standalone home PC shouldn't it? I don't need to be
   connected to a LAN or anything do I?
  
   I've been trying to solve this for 2 weeks now so I would really
   appreciate
   any help please.
  
  
   -
   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]




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



RE: newbie help please, localhost not found

2003-12-06 Thread Jan Behrens
Hi there,

have you tried http://127.0.0.1:8080 instead? That is the IP usually bound
to localhost and it might be that localhost is not resolved correctly to
same. If not, try to provide further info. For example, have you installed
Tomcat in a path containing spaces such as c:\Program Files\Tomcat. If so,
reinstall to a path without spaces.

Cheers, Jan

 -Original Message-
 From: D. Gilbert [mailto:[EMAIL PROTECTED]
 Sent: Saturday, December 06, 2003 4:56 PM
 To: Tomcat Users List
 Subject: newbie help please, localhost not found


 When I type http://localhost:8080 in Internet Explorer it says The page
 cannot be displayed.
 I've looked through the archives but couldn't find anything.
 The running.txt file that comes with Tomcat lists only 3 possibilites for
 why it doesn't work.
 I've tried changing the port number, I'm using Windows XP so the
 environment
 issue doesn't apply
 and I'm pretty sure that I'm not behind a proxy as I am using my own PC at
 home.
 I'm pretty sure the JDK is installed ok as I can run javac. I
 tried changing
 JAVA_HOME and CATALINA_HOME to
 incorrect values and that made things worse so I'm sure they are set
 correctly.
 I've tried 2 versions of Tomcat 4.0.1 and 4.1.29.
 When I startup 4.0.1 I get the messages
 
 Starting service Tomcat-Standalone
 Apache Tomcat/4.0.1
 Starting service Tomcat-Apache
 Apache Tomcat/4.0.1
 
 which are correct according to my book.
 Can anyone say what the problem is, or any ways to debug it?

 It should run on a standalone home PC shouldn't it? I don't need to be
 connected to a LAN or anything do I?

 I've been trying to solve this for 2 weeks now so I would really
 appreciate
 any help please.


 -
 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: newbie help please, localhost not found

2003-12-06 Thread Wendell Holmes
Have you checked to see if Tomcat is actually running?  Type 'netstat' at a
command prompt to see if there is a service listening on port 8080.  If it's
not there, try checking the logs.

-Original Message-
From: D. Gilbert [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 06, 2003 8:56 AM
To: Tomcat Users List
Subject: newbie help please, localhost not found


When I type http://localhost:8080 in Internet Explorer it says The page
cannot be displayed.
I've looked through the archives but couldn't find anything.
The running.txt file that comes with Tomcat lists only 3 possibilites for
why it doesn't work.
I've tried changing the port number, I'm using Windows XP so the environment
issue doesn't apply
and I'm pretty sure that I'm not behind a proxy as I am using my own PC at
home.
I'm pretty sure the JDK is installed ok as I can run javac. I tried changing
JAVA_HOME and CATALINA_HOME to
incorrect values and that made things worse so I'm sure they are set
correctly.
I've tried 2 versions of Tomcat 4.0.1 and 4.1.29.
When I startup 4.0.1 I get the messages

Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
Starting service Tomcat-Apache
Apache Tomcat/4.0.1

which are correct according to my book.
Can anyone say what the problem is, or any ways to debug it?

It should run on a standalone home PC shouldn't it? I don't need to be
connected to a LAN or anything do I?

I've been trying to solve this for 2 weeks now so I would really appreciate
any help please.


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


Re: newbie help please, localhost not found

2003-12-06 Thread Doug Parsons
You may want to go even more basic than that. Open a command prompt and try
pinging localhost and then try 127.0.0.1  Unless you are running some type
of firewall you should get a response. If not, do you have a personal
firewall enabled?

No you don't have to be connected to a lan, but the TCP/IP stack must be
running. The above test will help you determine that.

If the ping fails you can contact me off list for more help.

I know this veered off topic, but often it is the little things that get ya.



- Original Message - 
From: Jan Behrens [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, December 06, 2003 11:00 AM
Subject: RE: newbie help please, localhost not found


 Hi there,

 have you tried http://127.0.0.1:8080 instead? That is the IP usually bound
 to localhost and it might be that localhost is not resolved correctly to
 same. If not, try to provide further info. For example, have you installed
 Tomcat in a path containing spaces such as c:\Program Files\Tomcat. If so,
 reinstall to a path without spaces.

 Cheers, Jan

  -Original Message-
  From: D. Gilbert [mailto:[EMAIL PROTECTED]
  Sent: Saturday, December 06, 2003 4:56 PM
  To: Tomcat Users List
  Subject: newbie help please, localhost not found
 
 
  When I type http://localhost:8080 in Internet Explorer it says The page
  cannot be displayed.
  I've looked through the archives but couldn't find anything.
  The running.txt file that comes with Tomcat lists only 3 possibilites
for
  why it doesn't work.
  I've tried changing the port number, I'm using Windows XP so the
  environment
  issue doesn't apply
  and I'm pretty sure that I'm not behind a proxy as I am using my own PC
at
  home.
  I'm pretty sure the JDK is installed ok as I can run javac. I
  tried changing
  JAVA_HOME and CATALINA_HOME to
  incorrect values and that made things worse so I'm sure they are set
  correctly.
  I've tried 2 versions of Tomcat 4.0.1 and 4.1.29.
  When I startup 4.0.1 I get the messages
  
  Starting service Tomcat-Standalone
  Apache Tomcat/4.0.1
  Starting service Tomcat-Apache
  Apache Tomcat/4.0.1
  
  which are correct according to my book.
  Can anyone say what the problem is, or any ways to debug it?
 
  It should run on a standalone home PC shouldn't it? I don't need to be
  connected to a LAN or anything do I?
 
  I've been trying to solve this for 2 weeks now so I would really
  appreciate
  any help please.
 
 
  -
  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: Newbie help! - BufferedFile(new File(test.txt).getAbsolutePath())?

2003-11-06 Thread Shapira, Yoav

Howdy,
Don't even go down this path.  Are you reading or writing to disk?  If
you're reading, use the ServletContext#getResource or
ClassLoader#getResource approach, rather than the File approach.

If you're writing, the servlet specification only lets you write to one
place by default, the context tempdir.  This is a File available as a
servlet context attribute named javax.servlet.context.tempdir.  If you
want to write elsewhere, designate the destination as a context or
servlet parameter, or maybe as an env-entry-ref.  Do not use the current
working directory or path, which is what you're doing with the code
below, as the effects will vary from system to system.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Chris Milner [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 6:45 AM
To: Tomcat Users List
Subject: Newbie help! - BufferedFile(new
File(test.txt).getAbsolutePath())?

Hi all,

try {
   BufferedReader br = new BufferedReader(new
FileReader(new
File(temp.txt).getAbsolutePath()));
   String temp;
   while((temp = br.readLine()) != null) {
   out.println(temp);
   }
   } catch(Exception e) {out.println(h1ERROR/h1 +
e.toString());}

the br field now has a file using this path c:\winnt\system32\test.txt?
The txt file and .jsp file are in C:\Program Files\Apache Group\Tomcat
4.0\webapps\ROOT\testing

How can I tell the jsp (or tomcat) to look in the same directory before
trying what I assume is the PATH environment variable?

thanks for all your help peeps.

Chris.

NOTE: The information in this email is confidential. If you are not the
intended recipient, you must not read, use or disseminate this
information.
Although this email and any attachments are believed to be free of any
virus, or any other defect which affect any computer or IT system into
which they are received and opened, it is the responsibility of the
recipient to ensure that they are virus free and no responsibility is
accepted by London City Airport for any loss or damage rising in any
way
from receipt or use thereof. The contents of this message including any
attachments does not necessarily reflect the view of London City
Airport,
unless expressly stated to the contrary the message is the work of a
sender
acting as an individual.

www.londoncityairport.com

This e-mail has been scanned for viruses by MCI's Internet Managed
Scanning
Services - powered by MessageLabs. For further information visit
http://www.mci.com



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: Newbie help! - BufferedFile(new File(test.txt).getAbsolutePath())?

2003-11-06 Thread Jacob Kjome
simply replace new File(temp.txt) with...

new File(context.getRealPath(temp.txt))

However, note that this may return null in the case that the webapp is 
being served directly from a .war file and not from a directory.  A better 
strategy is loading the resource as an InputStream...

context.getResourceAsStream(temp.txt)

You can wrap that in an InputStreamReader and none of the rest of your code 
will change and it will always work as long as temp.txt is located in the 
root of your webapp whether it is in a directory or a .war file.

Jake

At 11:44 AM 11/6/2003 +, you wrote:
Hi all, try {   BufferedReader br = new BufferedReader(new 
FileReader(new 
File(temp.txt).getAbsolutePath())); String 
temp;while((temp = br.readLine()) != null) 
{ out.println(temp);  }   } 
catch(Exception e) {out.println(h1ERROR/h1 + e.toString());} the 
br field now has a file using this path c:\winnt\system32\test.txt? The 
txt file and .jsp file are in C:\Program Files\Apache Group\Tomcat 
4.0\webapps\ROOT\testing How can I tell the jsp (or tomcat) to look in the 
same directory before trying what I assume is the PATH environment 
variable? thanks for all your help peeps. Chris. NOTE: The information in 
this email is confidential. If you are not the intended recipient, you 
must not read, use or disseminate this information. Although this email 
and any attachments are believed to be free of any virus, or any other 
defect which affect any computer or IT system into which they are received 
and opened, it is the responsibility of the recipient to ensure that they 
are virus free and no responsibility is accepted by London City Airport 
for any loss or damage rising in any way from receipt or use thereof. The 
contents of this message including any attachments does not necessarily 
reflect the view of London City Airport, unless expressly stated to the 
contrary the message is the work of a sender acting as an individual. 
www.londoncityairport.com 
 This e-mail 
has been scanned for viruses by MCI's Internet Managed Scanning Services - 
powered by MessageLabs. For further information visit http://www.mci.com


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


RE: Newbie help

2002-06-08 Thread Dennis van den Berg

One important difference would be that tomcat does not implement an
EJB-container.

Dennis.

-Original Message-
From: Srinivas N. Battula [mailto:[EMAIL PROTECTED]]On Behalf Of sbattul
Sent: zaterdag 8 juni 2002 0:39
To: [EMAIL PROTECTED]
Subject: Newbie help


Hi all,

Can any one tell me the difference between an Application server such as

 IBM websphere and Tomcat.I want to know what IBM websphere can do that
Tomcat

 cant do and what Tomcat can do and IBM web sphere cant do.

Thanks
Srinivas



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



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




RE: Newbie help needed: error running JSP

2001-08-15 Thread Rob S.

Hiya Ken,

Not to be a jerk or anything, your newbie help questions are fine and all,
but the problem is that the only connection they have to Tomcat is that
you're using the container.

It's like if I emailed the GCC or Visual Studio lists saying, how come I'm
getting all of these memory leaks in my programs?  See what I'm saying?
You really should pick up a book on JSPs / Servlets...

- r

 -Original Message-
 From: Kenneth Litwak [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 15, 2001 6:35 PM
 To: [EMAIL PROTECTED]
 Subject: Newbie help needed: error running JSP


I just ran my first JSP that uses a form and got an
 error. Unfortunately, the stack trace doesn't tell me
 where in the JSP the error occured (that I can tell)
 or where in my helper bean the problem ight be.  I'd
 heard that JSPs are hard to debug, and now I see why.
 The JSP engine is not very helpful with what's wrong.
 Here's the stack trace, followed by the JSP code.

 Location: /examples/jsp/form/Form.jsp

 Internal Servlet Error:

 org.apache.jasper.JasperException: Attempted a bean
 operation on a null object.
 at
 org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(JspR
 untimeLibrary.java:424)
 at
 jsp.f_00025rm._0002fjsp_0002fform_0002fForm_0002ejspForm_jsp_0._js
 pService(_0002fjsp_0002fform_0002fForm_0002ejspForm_jsp_0.java:122)
 at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
 at
 javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Jsp
 Servlet.java:177)
 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
 at
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
 at
 javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
 at
 org.apache.tomcat.core.Handler.service(Handler.java:286)
 at
 org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
 org.apache.tomcat.core.ContextManager.internalService(ContextManag
 er.java:797)
 at
 org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at
 org.apache.tomcat.service.http.HttpConnectionHandler.processConnec
 tion(HttpConnectionHandler.java:210)
 at
 org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at
 org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)

 JSP code:
 html
 body bgcolor=#c8d8f8
 form action=/examples/jsp/form/Form.jsp
 method=post
 center
 table cellpadding=4 cellspacing=2 border=0

 th bgcolor=#FF colspan=2
 font size=5User Registration/font
 /th

 tr
 td valign=top
 bFirst Name/b
 br
 input type=text name=firstName size=15/td
 td  valign=top
 bLast Name/b
 br
 input type=text name=lastName size=15/td
 /tr

 tr
 td valign=top colspan=2
 bE-Mail/b
 br
 input type=text name=email size=20
 br/td
 /tr

 tr
 td  valign=top colspan=2
 bWhat languages do you program in?/b
 br
 input type=checkbox name=languages
 value=JavaJavanbsp;nbsp;
 input type=checkbox name=languages
 value=C++C++nbsp;nbsp;nbsp;nbsp;nbsp;
 input type=checkbox name=languages
 value=CCbr
 input type=checkbox name=languages
 value=PerlPerlnbsp;nbsp;
 input type=checkbox name=languages
 value=COBOLCOBOL
 input type=checkbox name=languages
 value=VBVBbr
 /td
 /tr

 tr
 td  valign=top colspan=2
 bHow often can we notify you regarding your
 interests?/b
 br
 input type=radio name=notify value=Weekly
 checkedWeeklynbsp;nbsp;
 input type=radio name=notify
 value=MonthlyMonthlynbsp;nbsp;
 input type=radio name=notify
 value=QuarterlyQuarterly
 br/td
 /tr

 tr
 td  align=center colspan=2
 input type=submit value=Submit input
 type=reset  value=Reset
 /td
 /tr

 /table
 /center
 /form
 %-- Create the bean only when the form is posted --%
 %
 if (request.getMethod().equals(POST))
  {
 %
 jsp:useBean id=formHandler
 class=com.shopping.FormBean
 %-- provide a setProperty tag and ensure that the
 setter methods are invoked via introspection
 --%
 jsp:setProperty name=formHandler property=*/
 /jsp:useBean
 p
 hr
 font color=red
 bYou submitted:P
 First Name:/bbr
 %-- invoke the getter method to display the firstName
 using the getProperty tag --%
 jsp:getProperty name=formHandler
 property=firstName/br
 brbLast Name:/bbr
 %-- invoke the getter method to display the lastName
 using the getProperty tag --%
 jsp:getProperty name=formhandler
 property=lastName/br
 brbEmail:/bbr
 %-- invoke the getter method to display the email
 address using the getProperty tag
 jsp:getProperty name=formHandler
 property=email/br
 --%
 bLanguages:/bbr
 %
String[] lang = formHandler.getLanguages();
if (!lang[0].equals(1))
{
 out.println(ul);
 for (int i=0; ilang.length; i++)
 

RE: Newbie help needed: error running JSP

2001-08-15 Thread Kenneth Litwak

Rob S. wrote:
ot to be a jerk or anything, your newbie help 
questions are fine and all,
but the problem is that the only connection they 
have to Tomcat is that
you're using the container.

It's like if I emailed the GCC or Visual Studio 
lists saying, how come I'm
getting all of these memory leaks in my 
programs?  See what I'm saying?
You really should pick up a book on JSPs / 
Servlets...

   Rob, I understand your point.  The reason I posted
here is that the stack trace appears to me completley
unique to Tomcat. Weblogic might produce totally
different information, as might Websphere as might the
J2EE RI.  I don't know what from the stack trace is
unique to Tomcat, and therefore a config error I've
made, and what is common to all JSP engines.  How do
you know the diference?  Thanks.

Ken

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



RE: Newbie help needed: error running JSP

2001-08-15 Thread Jann VanOver

Look at the line:
 
jsp.f_00025rm._0002fjsp_0002fform_0002fForm_0002ejspForm_jsp_0._jspService(_
0002fjsp_0002fform_0002fForm_0002ejspForm_jsp_0.java:122)

THIS is where your error occurred.  Tomcat compiled your JSP page into the
named java file.  Look in your tomcat\work directory for this file.  It will
be in a folder named for your context.  Look at line 122 in that file and
see where it found a problem.  You can usually tell from that what you did
wrong.

I only worked with JRUN for a short while, but I seem to remember that it
was much nicer than Tomcat in this one respect, giving you the line number
back into your .jsp file instead of making you dig through the java file.

-Original Message-
From: Kenneth Litwak [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 3:35 PM
To: [EMAIL PROTECTED]
Subject: Newbie help needed: error running JSP


   I just ran my first JSP that uses a form and got an
error. Unfortunately, the stack trace doesn't tell me
where in the JSP the error occured (that I can tell)
or where in my helper bean the problem ight be.  I'd
heard that JSPs are hard to debug, and now I see why. 
The JSP engine is not very helpful with what's wrong. 
Here's the stack trace, followed by the JSP code.

Location: /examples/jsp/form/Form.jsp

Internal Servlet Error:

org.apache.jasper.JasperException: Attempted a bean
operation on a null object.
at
org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(JspRuntimeLibr
ary.java:424)
at
jsp.f_00025rm._0002fjsp_0002fform_0002fForm_0002ejspForm_jsp_0._jspService(_
0002fjsp_0002fform_0002fForm_0002ejspForm_jsp_0.java:122)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:177)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at
org.apache.tomcat.core.Handler.service(Handler.java:286)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

JSP code:
html
body bgcolor=#c8d8f8
form action=/examples/jsp/form/Form.jsp
method=post
center
table cellpadding=4 cellspacing=2 border=0

th bgcolor=#FF colspan=2
font size=5User Registration/font
/th

tr
td valign=top 
bFirst Name/b 
br
input type=text name=firstName size=15/td
td  valign=top
bLast Name/b
br
input type=text name=lastName size=15/td
/tr

tr
td valign=top colspan=2
bE-Mail/b 
br
input type=text name=email size=20
br/td
/tr

tr
td  valign=top colspan=2
bWhat languages do you program in?/b
br
input type=checkbox name=languages
value=JavaJavanbsp;nbsp; 
input type=checkbox name=languages
value=C++C++nbsp;nbsp;nbsp;nbsp;nbsp;
input type=checkbox name=languages
value=CCbr
input type=checkbox name=languages
value=PerlPerlnbsp;nbsp;
input type=checkbox name=languages
value=COBOLCOBOL
input type=checkbox name=languages
value=VBVBbr
/td
/tr

tr
td  valign=top colspan=2
bHow often can we notify you regarding your
interests?/b
br
input type=radio name=notify value=Weekly
checkedWeeklynbsp;nbsp;
input type=radio name=notify
value=MonthlyMonthlynbsp;nbsp; 
input type=radio name=notify
value=QuarterlyQuarterly 
br/td
/tr

tr
td  align=center colspan=2
input type=submit value=Submit input
type=reset  value=Reset
/td
/tr

/table
/center
/form
%-- Create the bean only when the form is posted --%
%
if (request.getMethod().equals(POST))
 {
%
jsp:useBean id=formHandler
class=com.shopping.FormBean
%-- provide a setProperty tag and ensure that the
setter methods are invoked via introspection 
--%
jsp:setProperty name=formHandler property=*/
/jsp:useBean
p
hr
font color=red
bYou submitted:P
First Name:/bbr
%-- invoke the getter method to display the firstName
using the getProperty tag --%
jsp:getProperty name=formHandler
property=firstName/br
brbLast Name:/bbr
%-- invoke the getter method to display the lastName
using the getProperty tag --%
jsp:getProperty name=formhandler
property=lastName/br
brbEmail:/bbr
%-- invoke the getter method to display the email
address using the getProperty tag 
jsp:getProperty name=formHandler
property=email/br
--%
bLanguages:/bbr
%
   String[] lang = 

RE: Newbie help needed: error running JSP

2001-08-15 Thread Kenneth Litwak

Thanks Jann for the help.  That's what I ndeed to
know:  where to look for the error.

Ken

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



RE: Newbie help needed: error running JSP

2001-08-15 Thread Rob S.

Well, of course the stack will be container-specific =)  In WebLogic, the
exception will be something like com.weblogic.blah.foo with a different
message.  The exception message there seemed descriptive enough to debug.

- r

 -Original Message-
 From: Kenneth Litwak [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 15, 2001 7:09 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Newbie help needed: error running JSP


 Rob S. wrote:
 ot to be a jerk or anything, your newbie help
 questions are fine and all,
 but the problem is that the only connection they
 have to Tomcat is that
 you're using the container.

 It's like if I emailed the GCC or Visual Studio
 lists saying, how come I'm
 getting all of these memory leaks in my
 programs?  See what I'm saying?
 You really should pick up a book on JSPs /
 Servlets...

Rob, I understand your point.  The reason I posted
 here is that the stack trace appears to me completley
 unique to Tomcat. Weblogic might produce totally
 different information, as might Websphere as might the
 J2EE RI.  I don't know what from the stack trace is
 unique to Tomcat, and therefore a config error I've
 made, and what is common to all JSP engines.  How do
 you know the diference?  Thanks.

 Ken

 __
 Do You Yahoo!?
 Make international calls for as low as $.04/minute with Yahoo! Messenger
 http://phonecard.yahoo.com/





RE: Newbie help needed: installing TOMCAT on linux

2001-08-15 Thread Rob S.

Try the documentation for the version of Tomcat you're using at
http://jakarta.apache.org/tomcat/index.html

- r

 -Original Message-
 From: Dave Lopez [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 15, 2001 9:14 PM
 To: [EMAIL PROTECTED]
 Subject: Newbie help needed: installing TOMCAT on linux


 How can I configure tomcat and apache to run on my redhat 7.1? thanks...





Re: Newbie help needed: installing TOMCAT on linux

2001-08-15 Thread Pier P. Fumagalli

Dave Lopez at [EMAIL PROTECTED] wrote:

 How can I configure tomcat and apache to run on my redhat 7.1? thanks...

Read the documentation? It could help sometimes.




RE: Newbie help needed: installing TOMCAT on linux

2001-08-15 Thread Bob Wilson

Did you have a look at the documentation on the Apache site?  That's a 
pretty good starting place.  This is where I got started and I'm running 
Apache 1.3.20, Tomcat 3.2.3, Jetspeed 1.3a1, JDK 1.3.0_03 on SuSE Linux 7.1. 
  I suspect your setup will be very similar.

Here are a few sites to help...

www.apache.org

www.e-gineer.com/instructions/install-apache1xx-on-linux.phtml

I also found a really good article by doing a Google.com search in the user 
groups.  Search for 'apache'.  You should be able to come across an article 
by Chad ([EMAIL PROTECTED]) with the subject Apache Tomcat using mod_jk on 
Linux.

Newsgroup is comp.os.linux.networking

Hope this helps!

Bob.

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




Re: Newbie Help (the sequel)

2001-06-19 Thread Nitin Borwankar

Hi Mark,

If you want to have content served both by Apache and Tomcat (usually
dynamic JSP/Servlet content served by Tomcat, static by Apache) you have
to understand at least all of the foll (and possibly more)

a) Apache configuration - directory and URL mapping for content served
by Apache
b) Apache-Tomcat Configuration in httpd.conf to make Tomcat work with
Apache
c) Tomcat servlet mapping rules and context entries in server.xml and
web.xml

Then 

d) Make sure a certain pattern isn't inadvertently being mapped in both
the Apache and Tomcat rules set up by you.

I think you need to understand a) better and then do d).  Look at the
Apache docs, then go through your entries in Apache .conf files and
Tomcat .xml files with a fine tooth comb.

Drink lots of liquid and take frequent breaks lest your brain explode!

Good Luck,

Nitin Borwankar,
[EMAIL PROTECTED]

Mark Senefsky wrote:
 
 Greetings all...
 
 Thanks to all who responded to my configuration problem (Newbie Help).
 
 My test directories all work fine:
 http://www.modeforge.com/examples/jsp/index.html
 http://www.modeforge.com/examples/servlets/index.html
 
 But anything I put into Apache htdocs gives me a 404 error.
 I looked at:
 http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat_ug.html
 
 But I don't understand.
 
 Thanks in advance.
 Mark
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com



RE: Newbie Help

2001-06-07 Thread Randy Layman


They left out a step.  Somewhere around step 5 you need to set the
environment variable JAVA_HOME (and I would suggest setting TOMCAT_HOME so
that the shell script doesn't have to guess).  You can do this at the same
place where they recommend setting the PATH with the following two commands:
setenv JAVA_HOME /usr/local/jdk1.1.8 [enter]
setenv TOMCAT_HOME /home/yourusername/servlets/jakarta-tomcat-3.2.2 [enter]

And this should get you going.  Once you get this working correctly, I would
suggest contacting your hosting company and giving them the corrections.

Randy

 -Original Message-
 From: Mark Senefsky [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 06, 2001 7:54 PM
 To: [EMAIL PROTECTED]
 Subject: Newbie Help
 
 
 Greetings all...
 
 I recently hooked up with a new hosting company and they sent me the
 following directions for compiling and installing Jakarta and Tomcat.
 I hit a snag in the middle (please scroll to // comments) and 
 I don't know
 what to do.
 
 Solution:
 1) Open a telnet or SSH session to your Freedom server.
 2) Download the proper files to your server.
 
 You are going to need to download both the binary and source 
 versions of
 jakarta for this installation.
 
 In a web browser connect to http://jakarta.apache.org. Once 
 there click
 Binaries. Under Release Builds select Tomcat 3.2.2 or 
 similar. This will
 bring you to new screen where you will need to find the GZIP 
 compressed
 distribution, right click on it and select Copy Shortcut.
 
 Once you have this in your clip board go back in to your telnet window
 and type the following:
 cd [enter]
 mkdir servlets [enter]
 cd servlets [enter]
 Inside telnet prompt at your Freedom server type:
 lynx 
 Then paste in your URL, so you have something like the 
 following and hit
 enter:
 lynx 
 http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1
 /bin/jakar
 ta-tomcat-3.2.1.tar.gz
 Select d for download
 Once prompted to save to disk hit enter
 Press enter to okay the filename.
 Then q and y to accept this quit
 
 Go back to your browser window and follow the same procedures for
 downloading the source for the same version number of tomcat. The file
 may be something like jakarta-tomcat-3.2.2-src.tar.gz.
 
 3) Once you have both of these files in your servlets 
 directory you will
 need to ucompress them.
 
 In your telnet session type:
 tar xzvf jakarta-tomcat-3.2.2.tar.gz [enter]
 tar xzvf jakarta-tomcat-3.2.2-src.tar.gz [enter]
 
 4) Next You will want to compile mod_jserv
 
 To do this first move in to the proper directory, in this case:
 cd jakarta-tomcat-3.2.2-src/src/native/apache/jserv/ [enter]
 
 Then type the command to actually compile the module:
 /www/bin/apxs -c -o mod_jserv.so *.c [enter]
 
 Once this finishes you should copy the module to a more convenient
 location:
 cp mod_jserv.so /home/yourusername/servlets/ [enter]
 
 5) Next you need to start tomcat.
 
 To make this easiest I would suggest getting in to the tcsh 
 shell first
 and making sure your PATH includes that java bin directory:
 tcsh [enter]
 setenv PATH /usr/local/jdk1.1.8:$PATH [enter]
 
 Now start jakarta tomcat:
 /home/yourusername/servlets/jakarta-tomcat-3.2.2/bin/startup.s
 h [enter]
 
 //
 -
 // I MADE IT TO HERE
 //
 // I got this message:
 //
 // Guessing TOMCAT_HOME from tomcat.sh to
 // /home/senefsky/servlets/jakarta-tomcat-3.2.2/bin/..
 // Setting TOMCAT_HOME to
 // /home/senefsky/servlets/jakarta-tomcat-3.2.2/bin/..
 // Cannot find JAVA. Please set your PATH.
 //
 //
 -
 
 
 That will generate a configuration file that you need to backup and
 modify.
 
 6) Next you will need to create and modify a backup of the 
 configuration
 file, because this config file is created with the assumption that you
 put mod_jserv in the /www/libexec directory which you do not 
 have access
 to.
 
 To create a backup of the configuration file type from you telnet
 prompt:
 cd /home/yourusername/servlets/jakarta-tomcat-3.2.2/conf/ [enter]
 cd tomcat-apache.conf my-tomcat-apache.conf [enter]
 
 Now modify the backed up file:
 pico -w my-tomcat-apache.conf [enter]
 
 Replace:
 LoadModule  jserv_module libexec/mod_jserv.so
 
 With:
 LoadModule  jserv_module /home/yourusername/servlets/mod_jserv.so
 
 Finally, type [ctrl]+x, then hit y [enter] to save the file.
 
 7) Now you want to add this new file to your apache configuration.
 
 Add the following line to the bottom of your httpd.conf file:
 Include 
 /home/yourusername/servlets/jakarta-tomcat-3.2.2/conf/my-tomca
 t-apache.c
 onf
 
 8) Enable tomcat to work through Apache
 
 Do this by restarting Apache, which can be done with the following
 command:
 apachectl restart [enter]
 
 To verify it is running try going to the following pages:
 http://www.yourdomain.com/examples/jsp/index.html
 

Re: Newbie : Help integrating Tomcat with PWS on NT

2001-05-02 Thread Lyle H. Ward

Keith,

You and I are both working with the same configuration. Mine isn't working
yet either, however our problems are different so maybe swapping experiences
will help.

My green arrow is up. My problem is that the jni_connector has a context
problem. Tomcat was working in stand-alone before trying to integrate with IIS. 
I was waiting for someone to answer your Filter DLLs key question before
doing that entry. IIS in not logging attempts to connect to tomcat contexts.
I think this is due to the jni_connector failing to load. The jni_connector
is failing with a NPE. My tomcat logfiles are: isapi.log, jvm.stdout,
jvm.stderr, servlet.log, and jasper.log. I could try sending you a
screen-shot of my registry entries (off-list) if you think it might help. Or
we could go the other way and you send screen shots of the registry branch
and the MMC panels. Just be sure to send any attachments to me. We aren't
supposed to send attachments to the list. 

Lyle


At 02:59 PM 5/1/2001 -0700, you wrote:
I am trying to develop some simple JSPs on NT4.0.1381, so I need a web
server right? 
I installed the NT Option pack and got PWS. I have it up and running. 
Next I installed Tomcat 3.2.1. I can start it up and it seems to run fine
but...
Following the instructions in the tomcat-iis-howto.html I get everything
looking right (checked it 3 times now)
Problem: Under NT troubleshooting I cannot get the jakarta virtual directory
to a show a green up arrow (does this happen in PWS?), nor does the logging
occur for ISAPI redirector log file. This file is absent from my
c:\tomcat3.2\logs dir.
When I try the URL http://localhost/examples/jsp/index.html; in my browser
I get the following error in my  winNT\system32\Logfiles\W3svc1\
23:37:59 127.0.0.1 GET /jakarta/isapi_redirect.dll 500
But every setting mentioned in troubleshooting has been checked and
rechecked.

There is one thing I'm not sure I did right: one of the instructions is not
clear regarding Configuring the ISAPI Redirector:
8) ... For PWS, you'll need to use regedit and add/edit the Filter
DLLs key under
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters. This
key contains a , separated list of dlls ( full paths ) - you need to
insert the full path to isapi_redirect.dll. 
-- What does this mean, the key contains, they are talking about values
right? I created the Filter DLLs key, and I also had to create the value.
What should I name the value (I named it jakarta also)? What type of value
is it (I used string)? With just the full path to isapi_redirect.dll. right?

Any other suggestions, like just don't try it with PWS on NT are welcome.
Should I try to install Apache instead?
-Keith






RE: newbie help

2001-02-27 Thread Bryan Lipscy



Try using http://yourserver:8080/soandso.jsp 
or http://yourserver:8080/jsp/soandso.jsp 



  -Original Message-From: Robert Keddie 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, February 27, 
  2001 11:29 AMTo: 
  "'[EMAIL PROTECTED]'"[EMAIL PROTECTED]Subject: 
  newbie help
  I just started tomcat and apache.
  I send a request to apache for soandso.jsp and I get back
  
  NOT FOUND (404)
  original request: /soandso.jsp
  
  not found request: /soandso.jsp
  
  Do i have the jsp's in the wrong directory on the Apache?
  
  they are under htdocs/jsp 
  i have htdocs set as root
  
  I have Apache 1.3.14 on root of C drive on an NT
  I have Tomcat on the Apache server
  I have Jserv 1.1.2 under c:/program files
  I have jsdk 2.0 on root of C drive
  
  I am really at a loss as to how to make this work and where th ejsps and 
  class files belong etc :( 
  
  help?
  
  
  
  Robert Keddieweb developmentMarion County, 
FL


Re: newbie help

2001-02-27 Thread William Brogden

Number one note for newbies. STOP sending HTML formatted email
to the list. Plain text only please.

-- 
WBB - [EMAIL PROTECTED]
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2

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




RE: newbie help

2001-02-27 Thread Robert Keddie



when i look at th etomcat window it says the following

date time-Ctx( ):404R( +/permit_number.jsp + null) JSP file not 
found

do i not have something connectted right?


Robert Keddieweb developmentMarion County, FL 
[EMAIL PROTECTED] 02/27/01 02:32PM 
Try using http://yourserver:8080/soandso.jsp 
or http://yourserver:8080/jsp/soandso.jsp 



  -Original Message-From: Robert Keddie 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, February 27, 
  2001 11:29 AMTo: 
  "'[EMAIL PROTECTED]'"[EMAIL PROTECTED]Subject: 
  newbie help
  I just started tomcat and apache.
  I send a request to apache for soandso.jsp and I get back
  
  NOT FOUND (404)
  original request: /soandso.jsp
  
  not found request: /soandso.jsp
  
  Do i have the jsp's in the wrong directory on the Apache?
  
  they are under htdocs/jsp 
  i have htdocs set as root
  
  I have Apache 1.3.14 on root of C drive on an NT
  I have Tomcat on the Apache server
  I have Jserv 1.1.2 under c:/program files
  I have jsdk 2.0 on root of C drive
  
  I am really at a loss as to how to make this work and where th ejsps and 
  class files belong etc :( 
  
  help?
  
  
  
  Robert Keddieweb developmentMarion County, 
FL