Re: HTTP status code 404

2005-09-05 Thread Paul Singleton

Please help a little more; I am not sure what you mean.

The error-page directive as documented in SRV.9.9.2 of
the 2.4 servlet spec mentions that we can nominate a custom
error page, otherwise I understand we get Tomcat's default
one.

But we want *no* error page, just a 404 status returned to
the browser, which will then presumably present this failure
to the user in its own way.  Or have I musunderstood 404s?

Exactly what error-page element will achieve this, and
where should we call ...setStatus(...NOT_FOUND)?

Paul Singleton

Mirek Stohr wrote:

You should use the following procedure

HttpServletResponse.setStatus(HttpServletResponse.SC_NOT_FOUND);

in cooperation with the mentioned error-page directive in web.xml.

  Mirek


L. Mohan Arun wrote:


Tomcat 4.1
 
How can I configure Tomcat 4 to return HTTP status code 404 for a 404 Page 
Not Found error? Currently it displays a HTML page with Error type etc. 
with status code 200.


The docs say error-page element in web.xml can be configured to serve 
another page in response to a 404 error but this is not what I want (because 
it will return a 200 OK status). I want the actual error code 404 to be 
returned to the client and HTTP status code 404 (Page not found).


Mohan Arun




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






--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.18/89 - Release Date: 2/Sep/2005


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



Re: HTTP status code 404

2005-09-05 Thread QM
On Mon, Sep 05, 2005 at 06:28:05PM +0100, Paul Singleton wrote:
: But we want *no* error page, just a 404 status returned to
: the browser, which will then presumably present this failure
: to the user in its own way.  Or have I musunderstood 404s?

Yes and no.  Browsers are free to interpret 404s (and any other error
code) as they see fit.  For example, IE's friendly error messages will
interpret the status code and show the user its own not found page
instead of the data returned by the server.


: Exactly what error-page element will achieve this, and
: where should we call ...setStatus(...NOT_FOUND)?

If you *really* want to leave this up to the browser, map the
error-page to a JSP that simply sets a 404 response and returns no
data.  (I forget the exact API call for this, but it's in the
HttpServlet or HttpServletRequest JavaDoc.)

Another alternative would be to have the error-page redirect people to
the site's landing page.  (The idea is, if you've hit an invalid URL,
go back to the beginning.)  I've done this before for certain sites.

The real question is, do you really want to do this?

Unless you're writing a highly specialized app, it's not nice to fool
the end-user on error conditions.  The JSP that just sends a 404 may
yield document contains no data errors from the browser; and
redirecting people to the landing page may hide broken links (read:
developer error) and/or frustrate the user.

-QM

-- 

software   -- http://www.brandxdev.net/
tech news  -- http://www.RoarNetworX.com/
code scan  -- http://www.JxRef.org/

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



Re: HTTP status code 404

2005-09-05 Thread Paul Singleton

QM wrote:

On Mon, Sep 05, 2005 at 06:28:05PM +0100, Paul Singleton wrote:
: But we want *no* error page, just a 404 status returned to
: the browser, which will then presumably present this failure
: to the user in its own way.  Or have I musunderstood 404s?



Yes and no.  Browsers are free to interpret 404s (and any other error
code) as they see fit.  For example, IE's friendly error messages will
interpret the status code and show the user its own not found page
instead of the data returned by the server.



: Exactly what error-page element will achieve this, and
: where should we call ...setStatus(...NOT_FOUND)?



If you *really* want to leave this up to the browser, map the
error-page to a JSP that simply sets a 404 response and returns no
data.  (I forget the exact API call for this, but it's in the
HttpServlet or HttpServletRequest JavaDoc.)


It's in javax.servlet.http.HttpServletResponse (from 2.1), hence

% 
response.sendError(javax.servlet.http.HttpServletResponse.SC_NOT_FOUND); 
%



...

 The real question is, do you really want to do this?

I *really* want to return a page which gives a hacker no indication
which web app server we're using (because our client thinks this is
good security practice) without going to the trouble of writing my
own :-)

I've tried your dataless 404 suggestion, and it indeed prompts IE
to show that familiar

  The page cannot be found

effort, but unfortunately Firefox shows a blank page, so just in case
there are ever any broken links in our web apps, I'd better not leave
it up to the browser, but write a (suitably anonymous) one of our own.

Many thanks for your help

Paul Singleton


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.18/89 - Release Date: 2/Sep/2005


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



HTTP status code 404

2005-09-02 Thread L. Mohan Arun
Tomcat 4.1
  
How can I configure Tomcat 4 to return HTTP status code 404 for a 404 Page 
Not Found error? Currently it displays a HTML page with Error type etc. 
with status code 200.

The docs say error-page element in web.xml can be configured to serve 
another page in response to a 404 error but this is not what I want (because 
it will return a 200 OK status). I want the actual error code 404 to be 
returned to the client and HTTP status code 404 (Page not found).

Mohan Arun


Re: HTTP status code 404

2005-09-02 Thread Mirek Stohr
You should use the following procedure

HttpServletResponse.setStatus(HttpServletResponse.SC_NOT_FOUND);

in cooperation with the mentioned error-page directive in web.xml.

  Mirek


L. Mohan Arun wrote:
 Tomcat 4.1
   
 How can I configure Tomcat 4 to return HTTP status code 404 for a 404 Page 
 Not Found error? Currently it displays a HTML page with Error type etc. 
 with status code 200.
 
 The docs say error-page element in web.xml can be configured to serve 
 another page in response to a 404 error but this is not what I want (because 
 it will return a 200 OK status). I want the actual error code 404 to be 
 returned to the client and HTTP status code 404 (Page not found).
 
 Mohan Arun
 

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



Re: Http-status 500 error in Tomcat 4.1

2005-08-19 Thread subi
Hello all,

I tried both the options:
1. I uninstalled the tomcat and reinstalled so that not it resides 
c:\tomcat1.4
2. I tried changing my URL Patern 
url-pattern/servets/TestServlet/url-pattern

Now I am able to get the html file correctly and after clicking the show 
button it gives the following error:
HTTP Status 404 - /testapp/TestServlet ---servlet not found.


Where i went wrong? Please enlighten

On 8/18/05, Raghupathy,Gurumoorthy [EMAIL PROTECTED] 
wrote:
 
 Good spotted
 
 -Original Message-
 From: Mark Thomas [mailto:[EMAIL PROTECTED]
 Sent: 18 August 2005 10:00
 To: Tomcat Users List
 Subject: Re: Http-status 500 error in Tomcat 4.1
 
 
 Just guessing, but are your servlets in a package? Packageless classes
 do not work. See http://jakarta.apache.org/tomcat/faq/classnotfound.html
 
 Mark
 
 subi wrote:
  Hello All,
 
  I am using Tomcat 4.1. I just started working in it,
 
  so this asking may be childish, if so, pls don't
  mistake me.
 
  Here is my webapp structure:
 
  1. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\classes
  -here i have my servlet classes
  2. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\jsp
  -here i have a sample.htmfile
  3. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\WEB-INF
  -here is the web.xml resides
 
  my web.xml entry is like this:
 
  !DOCTYPE web-app PUBLIC -//Sun Microsystems,
  Inc.//DTD Web Application 2.3//EN
  http://java.sun.com/dtd/web-app_2_3.dtd;
  web-app
  servlet
  servlet-nameTestServlet/servlet-name
  servlet-classTestServlet/servlet-class
  /servlet
 
  servlet-mapping
  servlet-nameTestServlet/servlet-name
 
  url-pattern/TestServlet/url-pattern
  /servlet-mapping
  /web-app
 
  --
  the sample.htm has the following entries:
 
  !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01
  Transitional//EN
  html
  head
  titleUntitled Document/title
  meta http-equiv=Content-Type content=text/html;
  charset=iso-8859-1
  /head
 
  body
  pfont color=#99Hello, Welcome!/font /p
  form
  action=http:\\localhost:8080\testapp\TestServlet method=post
  name=form1 target=_self
  input type=submit name=Submit value=Click Me
  /form
  pnbsp; /p
  /body
  /html
 
  ---
 
  Here is what I done:
  1. I started the Tomcat server
  2. opened the IE browser and
 http://localhost:8080/testapp/jsp/sample.htm;
  3. clicked the button which gives the error HTTP Status 500 -
  TestServlet is not found
 
  Please tell me what is the problem?
 
 
 
 
 
 
 -
 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]
 
 


-- 
ilu,
subi


Re: Http-status 500 error in Tomcat 4.1

2005-08-18 Thread Rakesh
Hi subi,

you hav did servlet deployment almost correct but in url-pattern you hav
made a little mistake.Change it to:

servlet-mapping
 servlet-nameTestServlet/servlet-name
 url-pattern/servlet/TestServlet/url-pattern
/servlet-mapping

Try it and reply.

- Original Message - 
From: subi [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Thursday, August 18, 2005 11:28 AM
Subject: Http-status 500 error in Tomcat 4.1


Hello All,

I am using Tomcat 4.1. I just started working in it,

so this asking may be childish, if so, pls don't
mistake me.

Here is my webapp structure:

1. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\classes
   -here i have my servlet classes
2. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\jsp
-here i have a sample.htmfile
3. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\WEB-INF
   -here is the web.xml resides

my web.xml entry is like this:

!DOCTYPE web-app PUBLIC -//Sun Microsystems,
Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
servlet
  servlet-nameTestServlet/servlet-name
  servlet-classTestServlet/servlet-class
/servlet

servlet-mapping
  servlet-nameTestServlet/servlet-name

url-pattern/TestServlet/url-pattern
/servlet-mapping
/web-app

--
the sample.htm has the following entries:

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01
Transitional//EN
html
head
titleUntitled Document/title
meta http-equiv=Content-Type content=text/html;
charset=iso-8859-1
/head

body
pfont color=#99Hello, Welcome!/font /p
form
action=http:\\localhost:8080\testapp\TestServlet method=post
name=form1 target=_self
  input type=submit name=Submit value=Click Me
/form
pnbsp; /p
/body
/html

---

Here is what I done:
1. I started the Tomcat server
2. opened the IE browser and http://localhost:8080/testapp/jsp/sample.htm;
3. clicked the button which gives the error HTTP Status 500 -
TestServlet is not found

Please tell me what is the problem?


-- 
ilu,
subi


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



RE: Http-status 500 error in Tomcat 4.1

2005-08-18 Thread Raghupathy,Gurumoorthy
Well I can also think of one more issue ... 
Installing tomcat in a directory with spaces in them 


I would rather suggest that you install tomcat in directory without spaces (
not C:\Program Files\Apache Group\Tomcat 4.1\ ) 
c:\Server\tomcat4.1\ will be a good option. I had loads of problems when I
installed tomcat to C:\Program Files\Apache Group\Tomcat 4.1\

Regards
Guru

-Original Message-
From: Rakesh [mailto:[EMAIL PROTECTED] 
Sent: 18 August 2005 10:01
To: Tomcat Users List
Subject: Re: Http-status 500 error in Tomcat 4.1


Hi subi,

you hav did servlet deployment almost correct but in url-pattern you hav
made a little mistake.Change it to:

servlet-mapping
 servlet-nameTestServlet/servlet-name
 url-pattern/servlet/TestServlet/url-pattern
/servlet-mapping

Try it and reply.

- Original Message - 
From: subi [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Thursday, August 18, 2005 11:28 AM
Subject: Http-status 500 error in Tomcat 4.1


Hello All,

I am using Tomcat 4.1. I just started working in it,

so this asking may be childish, if so, pls don't
mistake me.

Here is my webapp structure:

1. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\classes
   -here i have my servlet classes
2. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\jsp
-here i have a sample.htmfile
3. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\WEB-INF
   -here is the web.xml resides

my web.xml entry is like this:

!DOCTYPE web-app PUBLIC -//Sun Microsystems,
Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
servlet
  servlet-nameTestServlet/servlet-name
  servlet-classTestServlet/servlet-class
/servlet

servlet-mapping
  servlet-nameTestServlet/servlet-name

url-pattern/TestServlet/url-pattern
/servlet-mapping
/web-app

--
the sample.htm has the following entries:

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01
Transitional//EN
html
head
titleUntitled Document/title
meta http-equiv=Content-Type content=text/html;
charset=iso-8859-1
/head

body
pfont color=#99Hello, Welcome!/font /p
form
action=http:\\localhost:8080\testapp\TestServlet method=post
name=form1 target=_self
  input type=submit name=Submit value=Click Me
/form
pnbsp; /p
/body
/html

---

Here is what I done:
1. I started the Tomcat server
2. opened the IE browser and http://localhost:8080/testapp/jsp/sample.htm;
3. clicked the button which gives the error HTTP Status 500 -
TestServlet is not found

Please tell me what is the problem?


-- 
ilu,
subi


-
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: Http-status 500 error in Tomcat 4.1

2005-08-18 Thread Mark Thomas
Just guessing, but are your servlets in a package? Packageless classes 
do not work. See http://jakarta.apache.org/tomcat/faq/classnotfound.html


Mark

subi wrote:

Hello All,

I am using Tomcat 4.1. I just started working in it,
 
so this asking may be childish, if so, pls don't

mistake me.

Here is my webapp structure:

1. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\classes 
   -here i have my servlet classes

2. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\jsp
-here i have a sample.htmfile
3. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\WEB-INF 
   -here is the web.xml resides


my web.xml entry is like this:

!DOCTYPE web-app PUBLIC -//Sun Microsystems,
Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
servlet
  servlet-nameTestServlet/servlet-name
  servlet-classTestServlet/servlet-class
/servlet
  
	servlet-mapping

  servlet-nameTestServlet/servlet-name
 
url-pattern/TestServlet/url-pattern

/servlet-mapping
/web-app

--
the sample.htm has the following entries:

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01
Transitional//EN
html
head
titleUntitled Document/title
meta http-equiv=Content-Type content=text/html;
charset=iso-8859-1
/head

body
pfont color=#99Hello, Welcome!/font /p
form
action=http:\\localhost:8080\testapp\TestServlet method=post
name=form1 target=_self
  input type=submit name=Submit value=Click Me
/form
pnbsp; /p
/body
/html

---

Here is what I done:
1. I started the Tomcat server
2. opened the IE browser and http://localhost:8080/testapp/jsp/sample.htm;
3. clicked the button which gives the error HTTP Status 500 -
TestServlet is not found

Please tell me what is the problem?







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



RE: Http-status 500 error in Tomcat 4.1

2005-08-18 Thread Raghupathy,Gurumoorthy
Good spotted

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: 18 August 2005 10:00
To: Tomcat Users List
Subject: Re: Http-status 500 error in Tomcat 4.1


Just guessing, but are your servlets in a package? Packageless classes 
do not work. See http://jakarta.apache.org/tomcat/faq/classnotfound.html

Mark

subi wrote:
 Hello All,
 
 I am using Tomcat 4.1. I just started working in it,
  
 so this asking may be childish, if so, pls don't
 mistake me.
 
 Here is my webapp structure:
 
 1. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\classes 
-here i have my servlet classes
 2. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\jsp
 -here i have a sample.htmfile
 3. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\WEB-INF 
-here is the web.xml resides
 
 my web.xml entry is like this:
 
 !DOCTYPE web-app PUBLIC -//Sun Microsystems,
 Inc.//DTD Web Application 2.3//EN
 http://java.sun.com/dtd/web-app_2_3.dtd;
 web-app
   servlet
   servlet-nameTestServlet/servlet-name
   servlet-classTestServlet/servlet-class
   /servlet
   
   servlet-mapping
   servlet-nameTestServlet/servlet-name
  
 url-pattern/TestServlet/url-pattern
   /servlet-mapping
 /web-app
 
 --
 the sample.htm has the following entries:
 
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01
 Transitional//EN
 html
 head
 titleUntitled Document/title
 meta http-equiv=Content-Type content=text/html;
 charset=iso-8859-1
 /head
 
 body
 pfont color=#99Hello, Welcome!/font /p
 form
 action=http:\\localhost:8080\testapp\TestServlet method=post
 name=form1 target=_self
   input type=submit name=Submit value=Click Me
 /form
 pnbsp; /p
 /body
 /html
 
 ---
 
 Here is what I done:
 1. I started the Tomcat server
 2. opened the IE browser and
http://localhost:8080/testapp/jsp/sample.htm;
 3. clicked the button which gives the error HTTP Status 500 -
 TestServlet is not found
 
 Please tell me what is the problem?
 
 




-
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: Http-status 500 error in Tomcat 4.1

2005-08-18 Thread Litty Preeth

Hi Subi,

 
 1. C:\Program Files\Apache Group\Tomcat
 4.1\webapps\testapp\classes 
-here i have my servlet

But ur class files shud be in :
 C:\Program Files\Apache Group\
 Tomcat4.1\webapps\testapp\WEB-INF\classes

And in ur html file ur form action shud be instead of
:

 form
 action=http:\\localhost:8080\testapp\TestServlet
 method=post
 name=form1 target=_self

It shud be :
action=http:\\localhost:8080\testapp\servlet\TestServlet

Hope this will work ...
With Regards,
Litty Preeth





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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



Http-status 500 error in Tomcat 4.1

2005-08-17 Thread subi
Hello All,

I am using Tomcat 4.1. I just started working in it,
 
so this asking may be childish, if so, pls don't
mistake me.

Here is my webapp structure:

1. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\classes 
   -here i have my servlet classes
2. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\jsp
-here i have a sample.htmfile
3. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\WEB-INF 
   -here is the web.xml resides

my web.xml entry is like this:

!DOCTYPE web-app PUBLIC -//Sun Microsystems,
Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
servlet
  servlet-nameTestServlet/servlet-name
  servlet-classTestServlet/servlet-class
/servlet
  
servlet-mapping
  servlet-nameTestServlet/servlet-name
 
url-pattern/TestServlet/url-pattern
/servlet-mapping
/web-app

--
the sample.htm has the following entries:

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01
Transitional//EN
html
head
titleUntitled Document/title
meta http-equiv=Content-Type content=text/html;
charset=iso-8859-1
/head

body
pfont color=#99Hello, Welcome!/font /p
form
action=http:\\localhost:8080\testapp\TestServlet method=post
name=form1 target=_self
  input type=submit name=Submit value=Click Me
/form
pnbsp; /p
/body
/html

---

Here is what I done:
1. I started the Tomcat server
2. opened the IE browser and http://localhost:8080/testapp/jsp/sample.htm;
3. clicked the button which gives the error HTTP Status 500 -
TestServlet is not found

Please tell me what is the problem?


-- 
ilu,
subi


HTTP Status 500

2005-08-11 Thread Jef Sullivan
I have having problems with a servlet using Tomcat 5.0.25. In my research it
appears to be associated with the Invoker. However, when I go through the
Environmental and Container Dependencies everything checks out. I have my
system set up to run both a Tomcat project and a JBoss project
simultaneously. Up until now, I have had no problems with that
configuration.

The following is the display seen in the browser:


*

HTTP Status 500 - 

  _  


type Exception report

message 

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

exception 

javax.servlet.ServletException: Error instantiating servlet class
com.ikano.wildblue.web.QueueServlet

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
)

org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:702)

org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:644)
java.lang.Thread.run(Thread.java:534)

root cause 

java.lang.NoClassDefFoundError: com/ikano/wildblue/Queue
java.lang.Class.getDeclaredConstructors0(Native Method)
java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
java.lang.Class.getConstructor0(Class.java:1922)
java.lang.Class.newInstance0(Class.java:278)
java.lang.Class.newInstance(Class.java:261)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
)

org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:702)

org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:644)
java.lang.Thread.run(Thread.java:534)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.25 logs.

  _  


Apache Tomcat/5.0.25


*

Here is the information from the Log file...


#
2005-08-11 16:34:48 StandardContext[/jsp-examples]SessionListener:
contextDestroyed()
2005-08-11 16:34:48 StandardContext[/jsp-examples]ContextListener:
contextDestroyed()
2005-08-11 16:34:49 StandardContext[/servlets-examples]SessionListener:
contextDestroyed()
2005-08-11 16:34:49 StandardContext[/servlets-examples]ContextListener:
contextDestroyed()
2005-08-11 16:35:02
StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init():
ruleChain: [org.apache.webapp.balancer.RuleChain:
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News /
Redirect URL: http://www.cnn.com],
[org.apache.webapp.balancer.rules.RequestParameterRule: Target param name:
paramName / Target param value: paramValue / Redirect URL:
http://www.yahoo.com],
[org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL:
http://jakarta.apache.org]]
2005-08-11 16:35:02 StandardContext[/jsp-examples]ContextListener:
contextInitialized()
2005-08-11 16:35:02 StandardContext[/jsp-examples]SessionListener:
contextInitialized()
2005-08-11 16:35:05 StandardContext[/servlets-examples]ContextListener:
contextInitialized()
2005-08-11 16:35:05 StandardContext[/servlets-examples]SessionListener:
contextInitialized()
2005-08-11 16:36:27 StandardContext[/jsp-examples]SessionListener:
contextDestroyed()
2005-08-11 16:36:27 StandardContext[/jsp-examples]ContextListener:
contextDestroyed()
2005-08-11 16:36:28 StandardContext[/servlets-examples]SessionListener:
contextDestroyed()
2005-08-11 16:36:28 StandardContext[/servlets-examples]ContextListener:
contextDestroyed()
2005-08-11 16:36:47
StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init():
ruleChain: [org.apache.webapp.balancer.RuleChain:
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News /
Redirect URL: http://www.cnn.com],
[org.apache.webapp.balancer.rules.RequestParameterRule: Target param name:
paramName / Target param value: paramValue / Redirect URL:
http://www.yahoo.com],
[org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL:
http://jakarta.apache.org]]
2005-08-11 16:36:47 StandardContext[/jsp-examples]ContextListener:
contextInitialized()
2005-08-11 16:36:47 StandardContext[/jsp-examples]SessionListener

HTTP Status 404 - /admin

2005-06-28 Thread Sharath Srivatsa
Hi,
   I have loaded tomcat successfully.
   When i click Tomcat  Administration iam getting the following error.

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

I have made the necessary changes in admin.xml as indicated in 
RUNNING.txt.
I have put the absolute path in the docBase of context element in 
admin.xml.
Can anyone help me how to get the administration page open successfully.
Thank You
Sharath

__

Tomcat CGI and HTTP status codes

2005-06-08 Thread Chris Picton
Hi all

I am trying to get squivi2 running under tomcat cgi, but I am having a
problem with redirects.

Code I am testing generates a redirect as follows:
-
my $tempout =  $q-header(
   -nph=1,
   -status=302 Moved Temporarily,
   -location=$dest,
);
open F, /tmp/f; print F $tempout; close F;
print $tempout;
exit 0;
-

I am printing the output to /tmp/f to check what is being sent to the
browser.  The contents of that file look like:
--
HTTP/1.0 302 Moved Temporarily
Server: TOMCAT
Status: 302 Moved Temporarily
Date: Wed, 08 Jun 2005 09:31:34 GMT
Location: http://127.0.0.1:8080/cgi-bin/squivi.cgi/seqf_11/proto_prep
Content-Type: text/html; charset=ISO-8859-1
--

Here is where the problem comes in.  When I try to access the cgi, It
doesn;t redirect, but downloads the file.  It seems that tomcat is
changing the 302 status to a 200 somewhere.

When I telnet to the tomcat port and GET the cgi, this is what I see:
-
GET /cgi-bin/squivi.cgi/seqf_11 HTTP/1.0
Host: 127.0.0.1

HTTP/1.1 200 OK
Pragma: No-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 02:00:00 SAST
Server: TOMCAT
Status: 302 Moved Temporarily
Date: Wed, 08 Jun 2005 09:40:24 GMT
Content-Length: 0
Server: Apache-Coyote/1.1
Connection: close
---


Note that the Location header has been removed, and the status has been
changed to 200. 

Am I missing a trick here?  What is going on?

Chris


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



Re: Tomcat CGI and HTTP status codes

2005-06-08 Thread Mark Thomas

Chris,

Sorry, but this isn't supported. See 
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/CGIServlet.java?rev=1.31view=markup 
and search for NPH for more info.


Patches are always welcome ;)

Mark

Chris Picton wrote:

Hi all

I am trying to get squivi2 running under tomcat cgi, but I am having a
problem with redirects.

Code I am testing generates a redirect as follows:
-
my $tempout =  $q-header(
   -nph=1,
   -status=302 Moved Temporarily,
   -location=$dest,
);
open F, /tmp/f; print F $tempout; close F;
print $tempout;
exit 0;
-

I am printing the output to /tmp/f to check what is being sent to the
browser.  The contents of that file look like:
--
HTTP/1.0 302 Moved Temporarily
Server: TOMCAT
Status: 302 Moved Temporarily
Date: Wed, 08 Jun 2005 09:31:34 GMT
Location: http://127.0.0.1:8080/cgi-bin/squivi.cgi/seqf_11/proto_prep
Content-Type: text/html; charset=ISO-8859-1
--

Here is where the problem comes in.  When I try to access the cgi, It
doesn;t redirect, but downloads the file.  It seems that tomcat is
changing the 302 status to a 200 somewhere.

When I telnet to the tomcat port and GET the cgi, this is what I see:
-
GET /cgi-bin/squivi.cgi/seqf_11 HTTP/1.0
Host: 127.0.0.1

HTTP/1.1 200 OK
Pragma: No-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 02:00:00 SAST
Server: TOMCAT
Status: 302 Moved Temporarily
Date: Wed, 08 Jun 2005 09:40:24 GMT
Content-Length: 0
Server: Apache-Coyote/1.1
Connection: close
---


Note that the Location header has been removed, and the status has been
changed to 200. 


Am I missing a trick here?  What is going on?

Chris


-
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: Tomcat CGI and HTTP status codes

2005-06-08 Thread Phillip Qin
You can hack the cgiervlet. I did it buy myself by adding 302 checking into
one of the methods.

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: June 8, 2005 1:09 PM
To: Tomcat Users List
Subject: Re: Tomcat CGI and HTTP status codes


Chris,

Sorry, but this isn't supported. See 
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share
/org/apache/catalina/servlets/CGIServlet.java?rev=1.31view=markup 
and search for NPH for more info.

Patches are always welcome ;)

Mark

Chris Picton wrote:
 Hi all
 
 I am trying to get squivi2 running under tomcat cgi, but I am having a 
 problem with redirects.
 
 Code I am testing generates a redirect as follows:
 -
 my $tempout =  $q-header(
-nph=1,
-status=302 Moved Temporarily,
-location=$dest,
 );
 open F, /tmp/f; print F $tempout; close F;
 print $tempout;
 exit 0;
 -
 
 I am printing the output to /tmp/f to check what is being sent to the 
 browser.  The contents of that file look like:
 --
 HTTP/1.0 302 Moved Temporarily
 Server: TOMCAT
 Status: 302 Moved Temporarily
 Date: Wed, 08 Jun 2005 09:31:34 GMT
 Location: http://127.0.0.1:8080/cgi-bin/squivi.cgi/seqf_11/proto_prep
 Content-Type: text/html; charset=ISO-8859-1
 --
 
 Here is where the problem comes in.  When I try to access the cgi, It 
 doesn;t redirect, but downloads the file.  It seems that tomcat is 
 changing the 302 status to a 200 somewhere.
 
 When I telnet to the tomcat port and GET the cgi, this is what I see:
 -
 GET /cgi-bin/squivi.cgi/seqf_11 HTTP/1.0
 Host: 127.0.0.1
 
 HTTP/1.1 200 OK
 Pragma: No-cache
 Cache-Control: no-cache
 Expires: Thu, 01 Jan 1970 02:00:00 SAST
 Server: TOMCAT
 Status: 302 Moved Temporarily
 Date: Wed, 08 Jun 2005 09:40:24 GMT
 Content-Length: 0
 Server: Apache-Coyote/1.1
 Connection: close
 ---
 
 
 Note that the Location header has been removed, and the status has 
 been changed to 200.
 
 Am I missing a trick here?  What is going on?
 
 Chris
 
 
 -
 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]


!DSPAM:42a7263452096087514935!


Trying to execute my first servlet, but HTTP Status 404.

2005-04-30 Thread Vinicius
Hello,
I'm trying to execute my first servlet, but it's not working.
See my environment:
- GNU/Linux Fedora Core 3 (kernel-2.6.11-1.14_FC3);
- eclipse 3.0.2;
- Tomcat 5.5.9;
I did do $ javac -classpath 
/usr/local/eclipse/plugins/org.eclipse.tomcat_4.1.30/servlet.jar 
FirstServlet.java and it compiled successfully. I did put the 
FirstServlet.class with the other classes from .../servlets-examples 
page, and the permissions are correct. Could be this version of 
servlet.jar the cause of the problem, please?

I can execute the other examples at servlets-examples page.
See the message errors:

 HTTP Status 404 - /servlets-examples/servlet/FirstServlet

*type* Status report
*message* _/servlets-examples/servlet/FirstServlet_
*description* _The requested resource 
(/servlets-examples/servlet/FirstServlet) is not available._


See the FirstServlet.java:

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class FirstServlet extends HttpServlet {
   public void doGet(HttpServletRequest req, HttpServletResponse resp)
   throws ServletException, IOException {
   resp.setContentType(text/html);
   PrintWriter out = resp.getWriter();
   out.println(HTMLHEADTITLEFirst Servlet);
   out.println(/TITLE/HEADBODYCENTER);
   out.println(H1This was my first Servlet./H1);
   out.println(/CENTER/BODY/HTML);
   out.close();
   }
}

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


Re: Trying to execute my first servlet, but HTTP Status 404.

2005-04-30 Thread QM
On Sat, Apr 30, 2005 at 09:01:02PM -0300, Vinicius wrote:
: I'm trying to execute my first servlet, but it's not working.
: [snip: description of setup]

You mention everything but actually mapping the servlet, such that the
container associates your servlet class with a URI.  (hint: web.xml)

What documents are you reading/following?  Beware older docs that assume
Tomcat has the invoker servlet enabled (it lets you call servlets
without an explicit mapping); the invoker hasn't been enabled by default
in quite some time.

Finally, if you're working with servlets, do yourself a favor and grab a
copy of the servlet spec.  It's a free PDF download from java.sun.com.
Familiarity with the spec is key for any servlet/J2EE developer.

-QM

-- 

software   -- http://www.brandxdev.net/
tech news  -- http://www.RoarNetworX.com/
code scan  -- http://www.JxRef.org/

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



Re: Trying to execute my first servlet, but HTTP Status 404.

2005-04-30 Thread Cassius V. de Magalhaes
QM escreveu:
On Sat, Apr 30, 2005 at 09:01:02PM -0300, Vinicius wrote:
: I'm trying to execute my first servlet, but it's not working.
: [snip: description of setup]
You mention everything but actually mapping the servlet, such that the
container associates your servlet class with a URI.  (hint: web.xml)
 

Yes, I forgot the web.xml file. Now it's working fine.
Finally, if you're working with servlets, do yourself a favor and grab a
copy of the servlet spec.  It's a free PDF download from java.sun.com.
Familiarity with the spec is key for any servlet/J2EE developer.
-QM
 

I will see that.
Thanks,
Vinicius.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


HTTP Status 408 - The time allowed for the login process...

2005-04-05 Thread Skely Vengaboy

Guys,

I use JDBC realm for authentication. 

In the login screen, when the user enteres an invalid username and password for 
the first time and retries to login with valid username and password, I get 
this message on browser:

How to come around this situation. Any help is appreciated.

Thanks,
Skely

HTTP Status 408 - The time allowed for the login process has been exceeded. If 
you wish to continue you must either click back twice and re-click the link you 
requested or close and re-open your browser...

type Status report

message The time allowed for the login process has been exceeded. If you wish 
to continue you must either click back twice and re-click the link you 
requested or close and re-open your browser

description The client did not produce a request within the time that the 
server was prepared to wait (The time allowed for the login process has been 
exceeded. If you wish to continue you must either click back twice and re-click 
the link you requested or close and re-open your browser).


-
Do you Yahoo!?
 Yahoo! Sports -  Sign up for Fantasy Baseball.

RE: HTTP Status 408 - The time allowed for the login process...

2005-04-05 Thread David Owens
This can also happen if you have your browser open to the login page,
and then reload the webapp.  

This is happening because your session is timing out.  The default
timeout
in Tomcat is 30 minutes.  I can't remember the exact place, but this
can be changed in the server.xml.

|)ave

-Original Message-
From: Skely Vengaboy [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 1:14 PM
To: Tomcat Users List
Subject: HTTP Status 408 - The time allowed for the login process...


Guys,

I use JDBC realm for authentication. 

In the login screen, when the user enteres an invalid username and
password for the first time and retries to login with valid username and
password, I get this message on browser:

How to come around this situation. Any help is appreciated.

Thanks,
Skely

HTTP Status 408 - The time allowed for the login process has been
exceeded. If you wish to continue you must either click back twice and
re-click the link you requested or close and re-open your browser...

type Status report

message The time allowed for the login process has been exceeded. If you
wish to continue you must either click back twice and re-click the link
you requested or close and re-open your browser

description The client did not produce a request within the time that
the server was prepared to wait (The time allowed for the login process
has been exceeded. If you wish to continue you must either click back
twice and re-click the link you requested or close and re-open your
browser).


-
Do you Yahoo!?
 Yahoo! Sports -  Sign up for Fantasy Baseball.

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



RE: HTTP Status 408 - The time allowed for the login process...

2005-04-05 Thread Skely Vengaboy
Good insight.. Yes, my browser does open to the login page.
I tried looking at server.xml file.. but could'nt find a clue on it...

Also, I have two web applications hooked up with Single Sign On feature. SSO 
function works fine.. But once I log out of an web app and try to re-login 
again... Its showing the login screen twice before I could log-in to the 
web-app.
 
A few strange behaviours that could only be answered by the Tomcat Team

Cheers,
Magesh

David Owens [EMAIL PROTECTED] wrote:
This can also happen if you have your browser open to the login page,
and then reload the webapp. 

This is happening because your session is timing out. The default
timeout
in Tomcat is 30 minutes. I can't remember the exact place, but this
can be changed in the server.xml.

|)ave

-Original Message-
From: Skely Vengaboy [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 1:14 PM
To: Tomcat Users List
Subject: HTTP Status 408 - The time allowed for the login process...


Guys,

I use JDBC realm for authentication. 

In the login screen, when the user enteres an invalid username and
password for the first time and retries to login with valid username and
password, I get this message on browser:

How to come around this situation. Any help is appreciated.

Thanks,
Skely

HTTP Status 408 - The time allowed for the login process has been
exceeded. If you wish to continue you must either click back twice and
re-click the link you requested or close and re-open your browser...

type Status report

message The time allowed for the login process has been exceeded. If you
wish to continue you must either click back twice and re-click the link
you requested or close and re-open your browser

description The client did not produce a request within the time that
the server was prepared to wait (The time allowed for the login process
has been exceeded. If you wish to continue you must either click back
twice and re-click the link you requested or close and re-open your
browser).


-
Do you Yahoo!?
Yahoo! Sports - Sign up for Fantasy Baseball.

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

RE: HTTP Status 408 - The time allowed for the login process...

2005-04-05 Thread David Owens
I'm sorry, I pointed you in the wrong direction.  Session timeout is
actually set in the web.xml:

session-config
  session-timeout30/session-timeout!-- 30 minutes --
/session-config

The problem with logging in twice is most likely due to your logout
page/function not properly expiring the session and sending the user to
the right place.  Your logout function should expire the session, and
then send the user to some place inside the protected area, not the
login page.  This
will cause the user to land on the login page.

Let me know if this works out for you.

|)ave
-Original Message-
From: Skely Vengaboy [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 2:20 PM
To: Tomcat Users List
Subject: RE: HTTP Status 408 - The time allowed for the login process...

Good insight.. Yes, my browser does open to the login page.
I tried looking at server.xml file.. but could'nt find a clue on it...

Also, I have two web applications hooked up with Single Sign On feature.
SSO function works fine.. But once I log out of an web app and try to
re-login again... Its showing the login screen twice before I could
log-in to the web-app.
 
A few strange behaviours that could only be answered by the Tomcat Team

Cheers,
Magesh

David Owens [EMAIL PROTECTED] wrote:
This can also happen if you have your browser open to the login page,
and then reload the webapp. 

This is happening because your session is timing out. The default
timeout
in Tomcat is 30 minutes. I can't remember the exact place, but this
can be changed in the server.xml.

|)ave

-Original Message-
From: Skely Vengaboy [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 1:14 PM
To: Tomcat Users List
Subject: HTTP Status 408 - The time allowed for the login process...


Guys,

I use JDBC realm for authentication. 

In the login screen, when the user enteres an invalid username and
password for the first time and retries to login with valid username and
password, I get this message on browser:

How to come around this situation. Any help is appreciated.

Thanks,
Skely

HTTP Status 408 - The time allowed for the login process has been
exceeded. If you wish to continue you must either click back twice and
re-click the link you requested or close and re-open your browser...

type Status report

message The time allowed for the login process has been exceeded. If you
wish to continue you must either click back twice and re-click the link
you requested or close and re-open your browser

description The client did not produce a request within the time that
the server was prepared to wait (The time allowed for the login process
has been exceeded. If you wish to continue you must either click back
twice and re-click the link you requested or close and re-open your
browser).


-
Do you Yahoo!?
Yahoo! Sports - Sign up for Fantasy Baseball.

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: Rookie needs help resolving HTTP Status 500 error message

2005-03-22 Thread Mark Leone
And be advised that you have to recapitulate your package structure in 
the directory hierarchy under ..WEB-INF\classes. In other words, if you 
compile your bean inside package org.company.my.java, then you should 
place the class file for your bean in ..WEB-INF\classes\org\company\my\java

QM wrote:
On Sun, Mar 20, 2005 at 03:45:23PM -0500, Barry Kimelman wrote:
: An error occurred at line: 8 in the jsp file: /logon.jsp
: Generated servlet error:
: DatabaseBean cannot be resolved or is not a type
: [snip]
: jsp:useBean id=foobar scope=session class=DatabaseBean /
: [more snip]
The error message indicates that the class DatabaseBean is not in a
package, such as
com.someproject.DatabaseBean
Packageless classes are discouraged, and will not load under Tomcat 5.x
and later (aka servlet spec 2.3 and later).
Put your DatabaseBean class in a package and this error should fade
away.
-QM
 

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


Rookie needs help resolving HTTP Status 500 error message

2005-03-20 Thread Barry Kimelman






My system is a Windows XP PC running Tomcat 5.5.8

I have been able to compile and install my Tomcat project.
When I visit the URL corresponding to my Tomcat project I see the "starting" page I expected to see.
When I click on the "SUBMIT" button on the form on the main page, I receive the following error message from Tomcat :

====
HTTP Status 500 -
type Exception report
message 
description The server encountered an internal error () that prevented it from fulfilling this request.
exception org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 8 in the jsp file: /logon.jsp
Generated servlet error:
DatabaseBean cannot be resolved or is not a type

An error occurred at line: 8 in the jsp file: /logon.jsp
Generated servlet error:
DatabaseBean cannot be resolved or is not a type

An error occurred at line: 8 in the jsp file: /logon.jsp
Generated servlet error:
DatabaseBean cannot be resolved or is not a type
==

The contents of the named JSP file is as follows :

%@ page language="java" contentType="text/html" %%-- This JSP is to test my own personal Bean/class. --%htmlheadtitleLogon/title/headbodyjsp:useBean id="foobar" scope="session" class="DatabaseBean" /jsp:setProperty name="foobar" property="*" /

%-- First call the method that generates the data --%%foobar.user_logon();%

%-- Now call the method that retrieves the generated data --%%= foobar.getHtmldata() %

/body/html


I checked the directory structure where my Tomcat project was deployed and I found that my class file DatabaseBean.class file was located under the WEB-INF\classes sub-directory as expected. So why am I receiving the error message from Tomcat ? Is there something I need to do to set the value for CLASSPATH ?



*

Barry KimelmanToronto, Ontario, Canadaemail :[EMAIL PROTECTED] , [EMAIL PROTECTED]









Re: Rookie needs help resolving HTTP Status 500 error message

2005-03-20 Thread QM
On Sun, Mar 20, 2005 at 03:45:23PM -0500, Barry Kimelman wrote:
: An error occurred at line: 8 in the jsp file: /logon.jsp
: Generated servlet error:
: DatabaseBean cannot be resolved or is not a type
: [snip]
: jsp:useBean id=foobar scope=session class=DatabaseBean /
: [more snip]

The error message indicates that the class DatabaseBean is not in a
package, such as
com.someproject.DatabaseBean

Packageless classes are discouraged, and will not load under Tomcat 5.x
and later (aka servlet spec 2.3 and later).

Put your DatabaseBean class in a package and this error should fade
away.

-QM

-- 

software   -- http://www.brandxdev.net
tech news  -- http://www.RoarNetworX.com

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



HTTP Status 404

2005-03-12 Thread vnug
Hello:

  I keep getting HTTP status 404 messages with regular frequency, eventhough 
the resources the tomcat is complaining about are present. I was wondering 
anybody has experiences/comments/suggestions as to the reasons behind these 
messages. 

The environment:

Tomcat - v. 4.1.31
OS - RedHat Enterprise Linux 3.0
Browser - Mozilla (1.4 on Linux, 1.7.3 on Windows)

The Message is:

type: Status Report
message: /project.jsp
description: The requested resource (/project.jsp) is not available.

Any helpful comments are welcome. Thanks in advance. 

p.s: after couple of back arrows, the above message corrects  itself 
mysteriously. Unfortunately, this solution is not a viable option!

Kind regards,
Vasu Nugala


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



HTTP Status 403 (tomcat 5.0.28 JAASRealm)

2005-02-21 Thread Bruno Gonçalves
When I login in my application with a usernamepassword valid I get a 
HTTP Status 403!
I'm using Tomcat 5.0.28 and JAASRealm.
I already looked into in my web.xml, and I think is alright.
The valid username  password: admin / admin

Anyone knows what's the problem?
Thanks..
web.xml:
   !-- login config --
   security-constraint
   web-resource-collection
   web-resource-nameProtected Area/web-resource-name
   !-- Define the context-relative URL(s) to be protected --
   url-pattern/web/layouts/*/url-pattern
   url-pattern/web/jsp/das/*/url-pattern
   !-- If you list http methods, only those methods are 
protected --
   http-methodDELETE/http-method
   http-methodGET/http-method
   http-methodPOST/http-method
   http-methodPUT/http-method
   /web-resource-collection
   auth-constraint
   !-- Anyone with one of the listed roles may access this 
area --
   role-nameadmin/role-name
   /auth-constraint
   user-data-constraint
   transport-guaranteeNONE/transport-guarantee
   /user-data-constraint
   /security-constraint

   !-- Default login configuration uses form-based authentication --
   login-config
   auth-methodFORM/auth-method
   realm-nameJAASRealm/realm-name
   form-login-config
   form-login-page/security/login.jsp/form-login-page
   form-error-page/security/login.jsp?error=1/form-error-page
   /form-login-config
   /login-config
   !-- Security roles referenced by this web application --
   security-role
   role-nameadmin/role-name
   /security-role
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE : RE : HTTP Status 408 Error when i login

2005-02-18 Thread Bruno Gonçalves
This error can occur if the session id is invalid?
I checked on a few forums and one or two personnes had the same problem!
The server can generate a session id invalid?
very very very strange...
LERBSCHER Jean-Pierre wrote:
I saw different information on it!
408  The Request timed out. For some reason the Server took too much time
processing your Request. Net congestion is the most likely reason. 

Le client n'a pas présenté une requête complète pendant le délai maximal qui
lui était imparti, et le serveur a abandonné la connexion.
The 408 (Request Time-out) code means that the client's request wasn't
completed, and the server gave up waiting for the client to finish. A client
might receive this code if it did not supply the entity-body properly, or
(under HTTP 1.1) if it neglected to supply a Connection: Close header. 

408 Request Time-out
This response code means the client did not produce a full request within
some predetermined time (usually specified in the server's configuration),
and the server is disconnecting the network connection.
Perhaps you can track something on the server log.
Or see at tcp parameter on client or server system (I don't know precisely).
Can you use netstat utility to track tcp state info on socket?
Change your browser to exclude bug in browser!
For the moment I have no other idea!
-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 16 février 2005 12:16
À : Tomcat Users List
Objet : Re: RE : HTTP Status 408 Error when i login

Jean-Pierre, do you have any idea what causes the 408 error?
Humm...
Bruno Gonçalves wrote:
 

humm.. the trace don't give me much more information!
---
*The POST:*
XXX: 
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:8082/jcms/web/jsp/das/j_security_check
Content-Type: application/x-www-form-urlencoded
Content-Length: 33
j_username=adminj_password=adminGET /favicon.ico HTTP/1.1
Host: localhost:8082
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) 
Gecko/20041110 Firefox/1.0
Accept: image/png,*/*;q=0.5
Accept-Language: en-gb,en;q=0.5
XXX: 
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive


*The response:*
HTTP/1.1 408 The time allowed for the login process has been exceeded. 
If you wish to continue you must either click back twice and re-click 
the link you requested or close and re-open your browser
Content-Type: text/html;charset=utf-8
Content-Length: 1554
Date: Tue, 15 Feb 2005 18:37:09 GMT
Server: Apache-Coyote/1.1
Connection: close

htmlheadtitleApache Tomcat/5.0.28 - Error 
report/titlestyle!--H1 

   

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
nt-size:22px;} 
 

H2 

   

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
nt-size:16px;} 
 

H3 

   

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
nt-size:14px;} 
 

BODY 
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} 
B 

   

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} 
 

P 

   

{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:
12px;}A 
 

{color : black;}A.name {color : black;}HR {color : 
#525D76;}--/style /headbodyh1HTTP Status 408 - The time 
allowed for the login process has been exceeded. If you wish to 
continue you must either click back twice and re-click the link you 
requested or close and re-open your browser/h1HR size=1 
noshade=noshadepbtype/b Status report/ppbmessage/b 
uThe time allowed for the login process has been exceeded. If you 
wish to continue you must either click back twice and re-click the 
link you requested or close and re-open your 
browser/u/ppbdescription/b uThe client did not produce a 
request within the time that the server was prepared to wait (The time 
allowed for the login process has been exceeded. If you wish to 
continue you must either click back twice and re-click the link you 
requested or close and re-open your browser)./u/pHR size=1 
noshade=noshadeh3Apache Tomcat/5.0.28/h3/body/htmlHTTP/1.1 
404 /favicon.ico
Content-Type: text/html;charset=utf-8
Content-Length: 988
Date: Tue, 15 Feb 2005 18:37:09 GMT
Server: Apache-Coyote/1.1

htmlheadtitleApache Tomcat/5.0.28 - Error 
report/titlestyle!--H1 

   

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
nt-size:22px;} 
 

H2 

   

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
nt-size:16px;} 
 

H3 

   

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
nt-size:14px;} 
 

BODY 
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} 
B 

   

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76

Re: RE : RE : HTTP Status 408 Error when i login

2005-02-18 Thread Bruno Gonçalves
Something weird...
When I run my application on my local machine using the url 
http://localhost:8080/myapp/, I obtain the HTTP Status 408, but now when 
I use the url with the ip of my LAN work http://ip:8080/myapp/, I obtain 
a HTTP Status 403:

 HTTP Status 403 - Access to the requested resource has been denied
*type* Status report
*message* _Access to the requested resource has been denied_
*description* _Access to the specified resource (Access to the requested 
resource has been denied) has been forbidden._

Any idea?
Bruno Gonçalves wrote:
This error can occur if the session id is invalid?
I checked on a few forums and one or two personnes had the same problem!
The server can generate a session id invalid?
very very very strange...
LERBSCHER Jean-Pierre wrote:
I saw different information on it!
408  The Request timed out. For some reason the Server took too much 
time
processing your Request. Net congestion is the most likely reason.
Le client n'a pas présenté une requête complète pendant le délai 
maximal qui
lui était imparti, et le serveur a abandonné la connexion.

The 408 (Request Time-out) code means that the client's request wasn't
completed, and the server gave up waiting for the client to finish. A 
client
might receive this code if it did not supply the entity-body 
properly, or
(under HTTP 1.1) if it neglected to supply a Connection: Close header.
408 Request Time-out
This response code means the client did not produce a full request 
within
some predetermined time (usually specified in the server's 
configuration),
and the server is disconnecting the network connection.

Perhaps you can track something on the server log.
Or see at tcp parameter on client or server system (I don't know 
precisely).
Can you use netstat utility to track tcp state info on socket?

Change your browser to exclude bug in browser!
For the moment I have no other idea!
-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] Envoyé : mercredi 16 
février 2005 12:16
À : Tomcat Users List
Objet : Re: RE : HTTP Status 408 Error when i login

Jean-Pierre, do you have any idea what causes the 408 error?
Humm...
Bruno Gonçalves wrote:
 

humm.. the trace don't give me much more information!
---
*The POST:*
XXX: 
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:8082/jcms/web/jsp/das/j_security_check
Content-Type: application/x-www-form-urlencoded
Content-Length: 33
j_username=adminj_password=adminGET /favicon.ico HTTP/1.1
Host: localhost:8082
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; 
rv:1.7.5) Gecko/20041110 Firefox/1.0
Accept: image/png,*/*;q=0.5
Accept-Language: en-gb,en;q=0.5
XXX: 
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive


*The response:*
HTTP/1.1 408 The time allowed for the login process has been 
exceeded. If you wish to continue you must either click back twice 
and re-click the link you requested or close and re-open your browser
Content-Type: text/html;charset=utf-8
Content-Length: 1554
Date: Tue, 15 Feb 2005 18:37:09 GMT
Server: Apache-Coyote/1.1
Connection: close

htmlheadtitleApache Tomcat/5.0.28 - Error 
report/titlestyle!--H1
  
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo 

nt-size:22px;}  

H2
  
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo 

nt-size:16px;}  

H3
  
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo 

nt-size:14px;}  

BODY 
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} 
B
  
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} 
 

P
  
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size: 

12px;}A  

{color : black;}A.name {color : black;}HR {color : 
#525D76;}--/style /headbodyh1HTTP Status 408 - The time 
allowed for the login process has been exceeded. If you wish to 
continue you must either click back twice and re-click the link you 
requested or close and re-open your browser/h1HR size=1 
noshade=noshadepbtype/b Status report/ppbmessage/b 
uThe time allowed for the login process has been exceeded. If you 
wish to continue you must either click back twice and re-click the 
link you requested or close and re-open your 
browser/u/ppbdescription/b uThe client did not produce a 
request within the time that the server was prepared to wait (The 
time allowed for the login process has been exceeded. If you wish to 
continue you must either click back twice and re-click the link you 
requested or close and re-open your browser)./u/pHR size=1 
noshade=noshadeh3Apache 
Tomcat/5.0.28/h3/body/htmlHTTP/1.1 404 /favicon.ico
Content-Type: text/html;charset=utf-8
Content-Length: 988
Date: Tue, 15 Feb 2005 18:37:09 GMT
Server: Apache-Coyote/1.1

Re: RE : HTTP Status 408 Error when i login

2005-02-16 Thread Bruno Gonçalves
Jean-Pierre, do you have any idea what causes the 408 error?
Humm...
Bruno Gonçalves wrote:
humm.. the trace don't give me much more information!
---
*The POST:*
XXX: 
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:8082/jcms/web/jsp/das/j_security_check
Content-Type: application/x-www-form-urlencoded
Content-Length: 33
j_username=adminj_password=adminGET /favicon.ico HTTP/1.1
Host: localhost:8082
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) 
Gecko/20041110 Firefox/1.0
Accept: image/png,*/*;q=0.5
Accept-Language: en-gb,en;q=0.5
XXX: 
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive


*The response:*
HTTP/1.1 408 The time allowed for the login process has been exceeded. 
If you wish to continue you must either click back twice and re-click 
the link you requested or close and re-open your browser
Content-Type: text/html;charset=utf-8
Content-Length: 1554
Date: Tue, 15 Feb 2005 18:37:09 GMT
Server: Apache-Coyote/1.1
Connection: close

htmlheadtitleApache Tomcat/5.0.28 - Error 
report/titlestyle!--H1 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} 
H2 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} 
H3 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} 
BODY 
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} 
B 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} 
P 
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A 
{color : black;}A.name {color : black;}HR {color : 
#525D76;}--/style /headbodyh1HTTP Status 408 - The time 
allowed for the login process has been exceeded. If you wish to 
continue you must either click back twice and re-click the link you 
requested or close and re-open your browser/h1HR size=1 
noshade=noshadepbtype/b Status report/ppbmessage/b 
uThe time allowed for the login process has been exceeded. If you 
wish to continue you must either click back twice and re-click the 
link you requested or close and re-open your 
browser/u/ppbdescription/b uThe client did not produce a 
request within the time that the server was prepared to wait (The time 
allowed for the login process has been exceeded. If you wish to 
continue you must either click back twice and re-click the link you 
requested or close and re-open your browser)./u/pHR size=1 
noshade=noshadeh3Apache Tomcat/5.0.28/h3/body/htmlHTTP/1.1 
404 /favicon.ico
Content-Type: text/html;charset=utf-8
Content-Length: 988
Date: Tue, 15 Feb 2005 18:37:09 GMT
Server: Apache-Coyote/1.1

htmlheadtitleApache Tomcat/5.0.28 - Error 
report/titlestyle!--H1 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} 
H2 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} 
H3 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} 
BODY 
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} 
B 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} 
P 
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A 
{color : black;}A.name {color : black;}HR {color : 
#525D76;}--/style /headbodyh1HTTP Status 404 - 
/favicon.ico/h1HR size=1 noshade=noshadepbtype/b Status 
report/ppbmessage/b u/favicon.ico/u/ppbdescription/b


What's your opinion?

I used the port 8082 on tomcat! It works!
I'm gonna see the trace!
Thanks one more time :)


-
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 : HTTP Status 408 Error when i login

2005-02-16 Thread LERBSCHER Jean-Pierre
I saw different information on it!

408  The Request timed out. For some reason the Server took too much time
processing your Request. Net congestion is the most likely reason. 

Le client n'a pas présenté une requête complète pendant le délai maximal qui
lui était imparti, et le serveur a abandonné la connexion.

The 408 (Request Time-out) code means that the client's request wasn't
completed, and the server gave up waiting for the client to finish. A client
might receive this code if it did not supply the entity-body properly, or
(under HTTP 1.1) if it neglected to supply a Connection: Close header. 

408 Request Time-out
 This response code means the client did not produce a full request within
some predetermined time (usually specified in the server's configuration),
and the server is disconnecting the network connection.

Perhaps you can track something on the server log.
Or see at tcp parameter on client or server system (I don't know precisely).
Can you use netstat utility to track tcp state info on socket?

Change your browser to exclude bug in browser!

For the moment I have no other idea!

-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 16 février 2005 12:16
À : Tomcat Users List
Objet : Re: RE : HTTP Status 408 Error when i login

Jean-Pierre, do you have any idea what causes the 408 error?
Humm...


Bruno Gonçalves wrote:

 humm.. the trace don't give me much more information!

 ---
 *The POST:*

 XXX: 
 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
 Keep-Alive: 300
 Connection: keep-alive
 Referer: http://localhost:8082/jcms/web/jsp/das/j_security_check
 Content-Type: application/x-www-form-urlencoded
 Content-Length: 33

 j_username=adminj_password=adminGET /favicon.ico HTTP/1.1
 Host: localhost:8082
 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) 
 Gecko/20041110 Firefox/1.0
 Accept: image/png,*/*;q=0.5
 Accept-Language: en-gb,en;q=0.5
 XXX: 
 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
 Keep-Alive: 300
 Connection: keep-alive

 
 *The response:*

 HTTP/1.1 408 The time allowed for the login process has been exceeded. 
 If you wish to continue you must either click back twice and re-click 
 the link you requested or close and re-open your browser
 Content-Type: text/html;charset=utf-8
 Content-Length: 1554
 Date: Tue, 15 Feb 2005 18:37:09 GMT
 Server: Apache-Coyote/1.1
 Connection: close

 htmlheadtitleApache Tomcat/5.0.28 - Error 
 report/titlestyle!--H1 

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
nt-size:22px;} 
 H2 

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
nt-size:16px;} 
 H3 

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
nt-size:14px;} 
 BODY 
 {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} 
 B 

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} 
 P 

{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:
12px;}A 
 {color : black;}A.name {color : black;}HR {color : 
 #525D76;}--/style /headbodyh1HTTP Status 408 - The time 
 allowed for the login process has been exceeded. If you wish to 
 continue you must either click back twice and re-click the link you 
 requested or close and re-open your browser/h1HR size=1 
 noshade=noshadepbtype/b Status report/ppbmessage/b 
 uThe time allowed for the login process has been exceeded. If you 
 wish to continue you must either click back twice and re-click the 
 link you requested or close and re-open your 
 browser/u/ppbdescription/b uThe client did not produce a 
 request within the time that the server was prepared to wait (The time 
 allowed for the login process has been exceeded. If you wish to 
 continue you must either click back twice and re-click the link you 
 requested or close and re-open your browser)./u/pHR size=1 
 noshade=noshadeh3Apache Tomcat/5.0.28/h3/body/htmlHTTP/1.1 
 404 /favicon.ico
 Content-Type: text/html;charset=utf-8
 Content-Length: 988
 Date: Tue, 15 Feb 2005 18:37:09 GMT
 Server: Apache-Coyote/1.1

 htmlheadtitleApache Tomcat/5.0.28 - Error 
 report/titlestyle!--H1 

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
nt-size:22px;} 
 H2 

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
nt-size:16px;} 
 H3 

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
nt-size:14px;} 
 BODY 
 {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} 
 B 

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} 
 P 

{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:
12px;}A 
 {color : black;}A.name {color : black;}HR {color : 
 #525D76;}--/style /headbodyh1HTTP Status 404 - 
 /favicon.ico/h1HR

HTTP Status 408 Error when i login

2005-02-15 Thread Bruno Gonçalves
I there!
I'm using JAAS on Tomcat 5.0.28 to make a authentication process for my 
web aplication.
When I submit a wrong username/password the server redirects to an error 
page, that's correct, but when I submit the correct username/password I 
got a HTTP Status 408 Error!
I don't know what's the problem :(
Any help?

Thanks...
---
Bruno V. Gonçalves
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE : HTTP Status 408 Error when i login

2005-02-15 Thread LERBSCHER Jean-Pierre
Hi,
It's a Request timeout.

-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 12:46
À : tomcat-user@jakarta.apache.org
Objet : HTTP Status 408 Error when i login

I there!
I'm using JAAS on Tomcat 5.0.28 to make a authentication process for my 
web aplication.
When I submit a wrong username/password the server redirects to an error 
page, that's correct, but when I submit the correct username/password I 
got a HTTP Status 408 Error!
I don't know what's the problem :(
Any help?

Thanks...

---
 Bruno V. Gonçalves


-
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 : HTTP Status 408 Error when i login

2005-02-15 Thread Bruno Gonçalves
Yes, I know! But I don't understand where is the problem :(
In the web.xml the value of timeout is 30minutes:
   !-- session timeout --
   session-config
   session-timeout30/session-timeout
   /session-config
I do a quick login, not more than 1minute!!! :(
I need some help with this...
Thanks..
LERBSCHER Jean-Pierre wrote:
Hi,
It's a Request timeout.
-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 12:46
À : tomcat-user@jakarta.apache.org
Objet : HTTP Status 408 Error when i login

I there!
I'm using JAAS on Tomcat 5.0.28 to make a authentication process for my 
web aplication.
When I submit a wrong username/password the server redirects to an error 
page, that's correct, but when I submit the correct username/password I 
got a HTTP Status 408 Error!
I don't know what's the problem :(
Any help?

Thanks...
---
Bruno V. Gonçalves
-
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 : HTTP Status 408 Error when i login

2005-02-15 Thread LERBSCHER Jean-Pierre
With session-timeout element you specify a session timeout not a request
timeout. See http://www.checkupdown.com/status/E408.html for explanation!

-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 13:36
À : Tomcat Users List
Objet : Re: RE : HTTP Status 408 Error when i login

Yes, I know! But I don't understand where is the problem :(
In the web.xml the value of timeout is 30minutes:

!-- session timeout --
session-config
session-timeout30/session-timeout
/session-config

I do a quick login, not more than 1minute!!! :(
I need some help with this...

Thanks..

LERBSCHER Jean-Pierre wrote:

Hi,
It's a Request timeout.

-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 12:46
À : tomcat-user@jakarta.apache.org
Objet : HTTP Status 408 Error when i login

I there!
I'm using JAAS on Tomcat 5.0.28 to make a authentication process for my 
web aplication.
When I submit a wrong username/password the server redirects to an error 
page, that's correct, but when I submit the correct username/password I 
got a HTTP Status 408 Error!
I don't know what's the problem :(
Any help?

Thanks...

---
 Bruno V. Gonçalves


-
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: RE : RE : HTTP Status 408 Error when i login

2005-02-15 Thread Bruno Gonçalves
Humm... I see.
So what can I do on Tomcat to resolve this problem? There's any config file?
This problem it's very strange!!
Thanks Pierre!
LERBSCHER Jean-Pierre wrote:
With session-timeout element you specify a session timeout not a request
timeout. See http://www.checkupdown.com/status/E408.html for explanation!
-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 13:36
À : Tomcat Users List
Objet : Re: RE : HTTP Status 408 Error when i login

Yes, I know! But I don't understand where is the problem :(
In the web.xml the value of timeout is 30minutes:
   !-- session timeout --
   session-config
   session-timeout30/session-timeout
   /session-config
I do a quick login, not more than 1minute!!! :(
I need some help with this...
Thanks..
LERBSCHER Jean-Pierre wrote:
 

Hi,
It's a Request timeout.
-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 12:46
À : tomcat-user@jakarta.apache.org
Objet : HTTP Status 408 Error when i login

I there!
I'm using JAAS on Tomcat 5.0.28 to make a authentication process for my 
web aplication.
When I submit a wrong username/password the server redirects to an error 
page, that's correct, but when I submit the correct username/password I 
got a HTTP Status 408 Error!
I don't know what's the problem :(
Any help?

Thanks...
---
Bruno V. Gonçalves
-
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]

 


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


RE : RE : RE : HTTP Status 408 Error when i login

2005-02-15 Thread LERBSCHER Jean-Pierre
Do you have proxy in front of Tomcat ?
What's your system configuration ?
Enable trace on tomcat, and track http request and response. You can use
org.apache.soap.util.net.TcpTunnelGui (it's a little http proxy packaged
with axis (?) - I don't remember exactly) to check http request and
response. 
Settings : 
set CLASSPATH=%CLASPATH%;lib/soap.jar
java org.apache.soap.util.net.TcpTunnelGui 8080 localhost 8082 where 
8080 utility listen port
localhost 8082 your tomcat server address and port

-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 13:59
À : Tomcat Users List
Objet : Re: RE : RE : HTTP Status 408 Error when i login

Humm... I see.
So what can I do on Tomcat to resolve this problem? There's any config file?
This problem it's very strange!!

Thanks Pierre!

LERBSCHER Jean-Pierre wrote:

With session-timeout element you specify a session timeout not a request
timeout. See http://www.checkupdown.com/status/E408.html for explanation!

-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 13:36
À : Tomcat Users List
Objet : Re: RE : HTTP Status 408 Error when i login

Yes, I know! But I don't understand where is the problem :(
In the web.xml the value of timeout is 30minutes:

!-- session timeout --
session-config
session-timeout30/session-timeout
/session-config

I do a quick login, not more than 1minute!!! :(
I need some help with this...

Thanks..

LERBSCHER Jean-Pierre wrote:

  

Hi,
It's a Request timeout.

-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 12:46
À : tomcat-user@jakarta.apache.org
Objet : HTTP Status 408 Error when i login

I there!
I'm using JAAS on Tomcat 5.0.28 to make a authentication process for my 
web aplication.
When I submit a wrong username/password the server redirects to an error 
page, that's correct, but when I submit the correct username/password I 
got a HTTP Status 408 Error!
I don't know what's the problem :(
Any help?

Thanks...

---
Bruno V. Gonçalves


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



  



-
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 : RE : RE : HTTP Status 408 Error when i login

2005-02-15 Thread Bruno Gonçalves
No I don't have any proxy!
Everything is runing on my local machine. I'm working with Eclipse, 
using Tomcat 5.0.28 and JAAS.
I'm gonna try to track the http request and responde.

Thanks one more time!
LERBSCHER Jean-Pierre wrote:
Do you have proxy in front of Tomcat ?
What's your system configuration ?
Enable trace on tomcat, and track http request and response. You can use
org.apache.soap.util.net.TcpTunnelGui (it's a little http proxy packaged
with axis (?) - I don't remember exactly) to check http request and
response. 
Settings : 
set CLASSPATH=%CLASPATH%;lib/soap.jar
java org.apache.soap.util.net.TcpTunnelGui 8080 localhost 8082 where 
8080 utility listen port
localhost 8082 your tomcat server address and port

-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 13:59
À : Tomcat Users List
Objet : Re: RE : RE : HTTP Status 408 Error when i login

Humm... I see.
So what can I do on Tomcat to resolve this problem? There's any config file?
This problem it's very strange!!
Thanks Pierre!
LERBSCHER Jean-Pierre wrote:
 

With session-timeout element you specify a session timeout not a request
timeout. See http://www.checkupdown.com/status/E408.html for explanation!
-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 13:36
À : Tomcat Users List
Objet : Re: RE : HTTP Status 408 Error when i login

Yes, I know! But I don't understand where is the problem :(
In the web.xml the value of timeout is 30minutes:
  !-- session timeout --
  session-config
  session-timeout30/session-timeout
  /session-config
I do a quick login, not more than 1minute!!! :(
I need some help with this...
Thanks..
LERBSCHER Jean-Pierre wrote:

   

Hi,
It's a Request timeout.
-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 12:46
À : tomcat-user@jakarta.apache.org
Objet : HTTP Status 408 Error when i login

I there!
I'm using JAAS on Tomcat 5.0.28 to make a authentication process for my 
web aplication.
When I submit a wrong username/password the server redirects to an error 
page, that's correct, but when I submit the correct username/password I 
got a HTTP Status 408 Error!
I don't know what's the problem :(
Any help?

Thanks...
---
Bruno V. Gonçalves
-
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]


   


-
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 : RE : RE : HTTP Status 408 Error when i login

2005-02-15 Thread Bruno Gonçalves
If I run java org.apache.soap.util.net.TcpTunnelGui 8080 localhost 
8082 I get Exception in thread main java.lang.NoClassDefFoundError: 
org/apache/soap/util/net/TcpTunnelGui humm.. but i think my CLASSPATH 
is correct!

LERBSCHER Jean-Pierre wrote:
Do you have proxy in front of Tomcat ?
What's your system configuration ?
Enable trace on tomcat, and track http request and response. You can use
org.apache.soap.util.net.TcpTunnelGui (it's a little http proxy packaged
with axis (?) - I don't remember exactly) to check http request and
response. 
Settings : 
set CLASSPATH=%CLASPATH%;lib/soap.jar
java org.apache.soap.util.net.TcpTunnelGui 8080 localhost 8082 where 
8080 utility listen port
localhost 8082 your tomcat server address and port

-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 13:59
À : Tomcat Users List
Objet : Re: RE : RE : HTTP Status 408 Error when i login

Humm... I see.
So what can I do on Tomcat to resolve this problem? There's any config file?
This problem it's very strange!!
Thanks Pierre!
LERBSCHER Jean-Pierre wrote:
 

With session-timeout element you specify a session timeout not a request
timeout. See http://www.checkupdown.com/status/E408.html for explanation!
-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 13:36
À : Tomcat Users List
Objet : Re: RE : HTTP Status 408 Error when i login

Yes, I know! But I don't understand where is the problem :(
In the web.xml the value of timeout is 30minutes:
  !-- session timeout --
  session-config
  session-timeout30/session-timeout
  /session-config
I do a quick login, not more than 1minute!!! :(
I need some help with this...
Thanks..
LERBSCHER Jean-Pierre wrote:

   

Hi,
It's a Request timeout.
-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 12:46
À : tomcat-user@jakarta.apache.org
Objet : HTTP Status 408 Error when i login

I there!
I'm using JAAS on Tomcat 5.0.28 to make a authentication process for my 
web aplication.
When I submit a wrong username/password the server redirects to an error 
page, that's correct, but when I submit the correct username/password I 
got a HTTP Status 408 Error!
I don't know what's the problem :(
Any help?

Thanks...
---
Bruno V. Gonçalves
-
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]


   


-
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 : RE : RE : HTTP Status 408 Error when i login

2005-02-15 Thread LERBSCHER Jean-Pierre
set CLASSPATH=%CLASSPATH%;your library path/soap.jar

-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 18:03
À : Tomcat Users List
Objet : Re: RE : RE : RE : HTTP Status 408 Error when i login

If I run java org.apache.soap.util.net.TcpTunnelGui 8080 localhost 
8082 I get Exception in thread main java.lang.NoClassDefFoundError: 
org/apache/soap/util/net/TcpTunnelGui humm.. but i think my CLASSPATH 
is correct!

LERBSCHER Jean-Pierre wrote:

Do you have proxy in front of Tomcat ?
What's your system configuration ?
Enable trace on tomcat, and track http request and response. You can use
org.apache.soap.util.net.TcpTunnelGui (it's a little http proxy packaged
with axis (?) - I don't remember exactly) to check http request and
response. 
Settings : 
set CLASSPATH=%CLASPATH%;lib/soap.jar
java org.apache.soap.util.net.TcpTunnelGui 8080 localhost 8082 where 
8080 utility listen port
localhost 8082 your tomcat server address and port

-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 13:59
À : Tomcat Users List
Objet : Re: RE : RE : HTTP Status 408 Error when i login

Humm... I see.
So what can I do on Tomcat to resolve this problem? There's any config
file?
This problem it's very strange!!

Thanks Pierre!

LERBSCHER Jean-Pierre wrote:

  

With session-timeout element you specify a session timeout not a request
timeout. See http://www.checkupdown.com/status/E408.html for explanation!

-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 13:36
À : Tomcat Users List
Objet : Re: RE : HTTP Status 408 Error when i login

Yes, I know! But I don't understand where is the problem :(
In the web.xml the value of timeout is 30minutes:

   !-- session timeout --
   session-config
   session-timeout30/session-timeout
   /session-config

I do a quick login, not more than 1minute!!! :(
I need some help with this...

Thanks..

LERBSCHER Jean-Pierre wrote:

 



Hi,
It's a Request timeout.

-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 12:46
À : tomcat-user@jakarta.apache.org
Objet : HTTP Status 408 Error when i login

I there!
I'm using JAAS on Tomcat 5.0.28 to make a authentication process for my 
web aplication.
When I submit a wrong username/password the server redirects to an error 
page, that's correct, but when I submit the correct username/password I 
got a HTTP Status 408 Error!
I don't know what's the problem :(
Any help?

Thanks...

---
Bruno V. Gonçalves


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



 





-
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 : HTTP Status 408 Error when i login

2005-02-15 Thread Bruno Gonçalves
It seems that I can't listen the same port where tomcat is using (8080).
java.net.BindException: Address already in use: JVM_Bind
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(Unknown Source)
   at java.net.ServerSocket.bind(Unknown Source)
   at java.net.ServerSocket.init(Unknown Source)
   at java.net.ServerSocket.init(Unknown Source)
   at 
org.apache.soap.util.net.TcpTunnelGui$3.run(TcpTunnelGui.java:185)

using: java org.apache.soap.util.net.TcpTunnelGui 8080 localhost 8082
LERBSCHER Jean-Pierre wrote:
set CLASSPATH=%CLASSPATH%;your library path/soap.jar
-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 18:03
À : Tomcat Users List
Objet : Re: RE : RE : RE : HTTP Status 408 Error when i login

If I run java org.apache.soap.util.net.TcpTunnelGui 8080 localhost 
8082 I get Exception in thread main java.lang.NoClassDefFoundError: 
org/apache/soap/util/net/TcpTunnelGui humm.. but i think my CLASSPATH 
is correct!

LERBSCHER Jean-Pierre wrote:
 

Do you have proxy in front of Tomcat ?
What's your system configuration ?
Enable trace on tomcat, and track http request and response. You can use
org.apache.soap.util.net.TcpTunnelGui (it's a little http proxy packaged
with axis (?) - I don't remember exactly) to check http request and
response. 
Settings : 
set CLASSPATH=%CLASPATH%;lib/soap.jar
java org.apache.soap.util.net.TcpTunnelGui 8080 localhost 8082 where 
8080 utility listen port
localhost 8082 your tomcat server address and port

-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 13:59
À : Tomcat Users List
Objet : Re: RE : RE : HTTP Status 408 Error when i login

Humm... I see.
So what can I do on Tomcat to resolve this problem? There's any config
   

file?
 

This problem it's very strange!!
Thanks Pierre!
LERBSCHER Jean-Pierre wrote:

   

With session-timeout element you specify a session timeout not a request
timeout. See http://www.checkupdown.com/status/E408.html for explanation!
-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 13:36
À : Tomcat Users List
Objet : Re: RE : HTTP Status 408 Error when i login

Yes, I know! But I don't understand where is the problem :(
In the web.xml the value of timeout is 30minutes:
 !-- session timeout --
 session-config
 session-timeout30/session-timeout
 /session-config
I do a quick login, not more than 1minute!!! :(
I need some help with this...
Thanks..
LERBSCHER Jean-Pierre wrote:

  

 

Hi,
It's a Request timeout.
-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 février 2005 12:46
À : tomcat-user@jakarta.apache.org
Objet : HTTP Status 408 Error when i login

I there!
I'm using JAAS on Tomcat 5.0.28 to make a authentication process for my 
web aplication.
When I submit a wrong username/password the server redirects to an error 
page, that's correct, but when I submit the correct username/password I 
got a HTTP Status 408 Error!
I don't know what's the problem :(
Any help?

Thanks...
---
Bruno V. Gonçalves
-
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]


  

 

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


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


Re: RE : HTTP Status 408 Error when i login

2005-02-15 Thread Bruno Gonçalves
I used the port 8082 on tomcat! It works!
I'm gonna see the trace!
Thanks one more time :)
Bruno Gonçalves wrote:
It seems that I can't listen the same port where tomcat is using (8080).
java.net.BindException: Address already in use: JVM_Bind
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(Unknown Source)
   at java.net.ServerSocket.bind(Unknown Source)
   at java.net.ServerSocket.init(Unknown Source)
   at java.net.ServerSocket.init(Unknown Source)
   at 
org.apache.soap.util.net.TcpTunnelGui$3.run(TcpTunnelGui.java:185)

using: java org.apache.soap.util.net.TcpTunnelGui 8080 localhost 8082
LERBSCHER Jean-Pierre wrote:
set CLASSPATH=%CLASSPATH%;your library path/soap.jar
-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] Envoyé : mardi 15 
février 2005 18:03
À : Tomcat Users List
Objet : Re: RE : RE : RE : HTTP Status 408 Error when i login

If I run java org.apache.soap.util.net.TcpTunnelGui 8080 localhost 
8082 I get Exception in thread main 
java.lang.NoClassDefFoundError: 
org/apache/soap/util/net/TcpTunnelGui humm.. but i think my 
CLASSPATH is correct!

LERBSCHER Jean-Pierre wrote:
 

Do you have proxy in front of Tomcat ?
What's your system configuration ?
Enable trace on tomcat, and track http request and response. You can 
use
org.apache.soap.util.net.TcpTunnelGui (it's a little http proxy 
packaged
with axis (?) - I don't remember exactly) to check http request and
response. Settings : set CLASSPATH=%CLASPATH%;lib/soap.jar
java org.apache.soap.util.net.TcpTunnelGui 8080 localhost 8082 where 
8080 utility listen port
localhost 8082 your tomcat server address and port

-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] Envoyé : mardi 15 
février 2005 13:59
À : Tomcat Users List
Objet : Re: RE : RE : HTTP Status 408 Error when i login

Humm... I see.
So what can I do on Tomcat to resolve this problem? There's any config
  
file?
 

This problem it's very strange!!
Thanks Pierre!
LERBSCHER Jean-Pierre wrote:

  

With session-timeout element you specify a session timeout not a 
request
timeout. See http://www.checkupdown.com/status/E408.html for 
explanation!

-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] Envoyé : mardi 15 
février 2005 13:36
À : Tomcat Users List
Objet : Re: RE : HTTP Status 408 Error when i login

Yes, I know! But I don't understand where is the problem :(
In the web.xml the value of timeout is 30minutes:
 !-- session timeout --
 session-config
 session-timeout30/session-timeout
 /session-config
I do a quick login, not more than 1minute!!! :(
I need some help with this...
Thanks..
LERBSCHER Jean-Pierre wrote:

 


Hi,
It's a Request timeout.
-Message d'origine-
De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] Envoyé : mardi 15 
février 2005 12:46
À : tomcat-user@jakarta.apache.org
Objet : HTTP Status 408 Error when i login

I there!
I'm using JAAS on Tomcat 5.0.28 to make a authentication process 
for my web aplication.
When I submit a wrong username/password the server redirects to an 
error page, that's correct, but when I submit the correct 
username/password I got a HTTP Status 408 Error!
I don't know what's the problem :(
Any help?

Thanks...
---
Bruno V. Gonçalves
-
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]


 

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


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


HTTP Status 503 - Servlet action is currently unavailable

2005-02-15 Thread Yaroslav Alpizar Zhuravliov
Hi, I'm brand new in Apache-Tomcat configurations. Our
site tow months ago was working ok, but we did some
new adjustments. In one of them, we used a new version
of Struts, we still have Tomcat 4.1.31, working fine
with no problems. Now when I try to enter the index
page I got this error:

HTTP Status 503 - Servlet action is currently
unavailable

type Status report

message Servlet action is currently unavailable

description The requested service (Servlet action is
currently unavailable) is not currently available.

Apache Tomcat/4.1.31

Any idea? Should I move to next version of Tomcat? 
If some doc can help, please send me  the url. Thanks

=
Yaroslav J. Alpízar Zhuravlev
Software Engineer  System Analyst
Havana, Cuba.

...go out there and see how deep the rabbit hole is...
  Morpheus

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



RE : HTTP Status 408 Error when i login

2005-02-15 Thread Bruno Gonçalves
humm.. the trace don't give me much more information!
---
*The POST:*
XXX: 
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:8082/jcms/web/jsp/das/j_security_check
Content-Type: application/x-www-form-urlencoded
Content-Length: 33
j_username=adminj_password=adminGET /favicon.ico HTTP/1.1
Host: localhost:8082
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) 
Gecko/20041110 Firefox/1.0
Accept: image/png,*/*;q=0.5
Accept-Language: en-gb,en;q=0.5
XXX: 
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive


*The response:*
HTTP/1.1 408 The time allowed for the login process has been exceeded. 
If you wish to continue you must either click back twice and re-click 
the link you requested or close and re-open your browser
Content-Type: text/html;charset=utf-8
Content-Length: 1554
Date: Tue, 15 Feb 2005 18:37:09 GMT
Server: Apache-Coyote/1.1
Connection: close

htmlheadtitleApache Tomcat/5.0.28 - Error 
report/titlestyle!--H1 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} 
H2 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} 
H3 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} 
BODY 
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} 
B 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} 
P 
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A 
{color : black;}A.name {color : black;}HR {color : #525D76;}--/style 
/headbodyh1HTTP Status 408 - The time allowed for the login 
process has been exceeded. If you wish to continue you must either click 
back twice and re-click the link you requested or close and re-open your 
browser/h1HR size=1 noshade=noshadepbtype/b Status 
report/ppbmessage/b uThe time allowed for the login process 
has been exceeded. If you wish to continue you must either click back 
twice and re-click the link you requested or close and re-open your 
browser/u/ppbdescription/b uThe client did not produce a 
request within the time that the server was prepared to wait (The time 
allowed for the login process has been exceeded. If you wish to continue 
you must either click back twice and re-click the link you requested or 
close and re-open your browser)./u/pHR size=1 
noshade=noshadeh3Apache Tomcat/5.0.28/h3/body/htmlHTTP/1.1 
404 /favicon.ico
Content-Type: text/html;charset=utf-8
Content-Length: 988
Date: Tue, 15 Feb 2005 18:37:09 GMT
Server: Apache-Coyote/1.1

htmlheadtitleApache Tomcat/5.0.28 - Error 
report/titlestyle!--H1 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} 
H2 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} 
H3 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} 
BODY 
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} 
B 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} 
P 
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A 
{color : black;}A.name {color : black;}HR {color : #525D76;}--/style 
/headbodyh1HTTP Status 404 - /favicon.ico/h1HR size=1 
noshade=noshadepbtype/b Status report/ppbmessage/b 
u/favicon.ico/u/ppbdescription/b


What's your opinion?

I used the port 8082 on tomcat! It works!
I'm gonna see the trace!
Thanks one more time :)

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


Re: HTTP Status 503 - Servlet action is currently unavailable

2005-02-15 Thread sven morales
Hi,
   More of curiosity, What do you guys in Cuba uses
Apache/Tomcat for?  Does it promote information access
to all or just a few well to-do people who has access
to phones and computers?  Can you provide the link for
us in the outside see whats over there in Havana ?
  I hope its not illegal, for any americans to visit
your site via the browser off course (he he he), but
certainly its not legal for physical visit.

aka_sergio


--- Yaroslav Alpizar Zhuravliov [EMAIL PROTECTED]
wrote:

 Hi, I'm brand new in Apache-Tomcat configurations.
 Our
 site tow months ago was working ok, but we did some
 new adjustments. In one of them, we used a new
 version
 of Struts, we still have Tomcat 4.1.31, working fine
 with no problems. Now when I try to enter the index
 page I got this error:
 
 HTTP Status 503 - Servlet action is currently
 unavailable
 
 type Status report
 
 message Servlet action is currently unavailable
 
 description The requested service (Servlet action is
 currently unavailable) is not currently available.
 
 Apache Tomcat/4.1.31
 
 Any idea? Should I move to next version of Tomcat? 
 If some doc can help, please send me  the url.
 Thanks
 
 =
 Yaroslav J. Alp�ar Zhuravlev
 Software Engineer  System Analyst
 Havana, Cuba.
 
 ...go out there and see how deep the rabbit hole
 is...
  
 Morpheus
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com 
 

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





__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

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



HTTP Status 404 - /admin HTTP Status 404 - /manager/html

2004-12-21 Thread Dwayne Ghant
Configured tomcat.5.0.27/apache2.x/mod_jk2.so
After configuration my admin and manager application
stoped working.
--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: HTTP Status 404 - /admin HTTP Status 404 - /manager/html

2004-12-21 Thread Dwayne Ghant
I know that someone ran into this before.
I assume that most of this list thinks this questions is
stupid and you are probably correct; so please accept my
apologeis.
But that doesn't stop me from needing assistance.
Thank you for your time.
Dwayne Ghant wrote:
Configured tomcat.5.0.27/apache2.x/mod_jk2.so
After configuration my admin and manager application
stoped working.

--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: HTTP Status 404 - /admin HTTP Status 404 - /manager/html

2004-12-21 Thread Viorel C.
On Tue, 2004-12-21 at 19:05, Dwayne Ghant wrote:
 Configured tomcat.5.0.27/apache2.x/mod_jk2.so
  
 After configuration my admin and manager application
 stoped working.
In apache configuration you must have:
Alias /admin $CATALINA_HOME/server/webapps/admin
Alias /manager $CATALINA_HOME/server/webapps/manager

Replace $CATALINA_HOME with your path;

I hope that will help you.

Viorel.



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



Re: HTTP Status 403 - Access to the requested resource has been denied

2004-08-11 Thread QM
On Wed, Aug 11, 2004 at 11:32:08AM +0800, Eric Chow wrote:
: If I input the right username and password that has the role for the
: protected page, everything is ok. But if I input a correct username and
: password that is not a correct role for the protected page, it just show
: HTTP Status 403 - Access to the requested resource has been denied.
:  [snip]
: If the role is incorrect, how can I re-show the login page ??

There should be an error-page child element of security-constraint.
(-or something like that, I forget the exact tag name.  See the servlet
spec for details.)

Make that error page the login page.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



HTTP Status 403 - Access to the requested resource has been denied

2004-08-10 Thread Eric Chow
Hello,

I used JAASRealm with web-tier security-constraint setting in Tomcat5.

When I login to a protected area. It will show a login page, right?

If I input the right username and password that has the role for the
protected page, everything is ok. But if I input a correct username and
password that is not a correct role for the protected page, it just show
HTTP Status 403 - Access to the requested resource has been denied.

How can prevent this ?
If the role is incorrect, how can I re-show the login page ??

Eric
==
If you know what you are doing,
it is not called RESEARCH!
==


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



HTTP Status 503 Error:Servlet is currently unavailable. javax.servlet.ServletException: Wrapper cannot find servlet class or a class it depends on

2004-07-26 Thread Vladislav Y. Ryabyshkin
Hi!
Forgive me for asking what I'm sure is a very basic question (problem), 
I'm new to Tomcat and Java (some more than a fortnight). I read the 
Tomcat-Apache HOWTO, a very good article Web Database Access with 
Apache/Tomcat, Tomcat Manager App HOW-TO and some other docs, from 
google, and still cannot deploy my web application.

I'm running Apache Tomcat 4.1.18 on SuSE 8.2, Java 1.4.1_02-b06A.
My web application, called scc_html, consists of a simple JSP which 
calls a servlet:

HTML
HEAD
META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=windows-1251
/HEAD

BODY
jsp:forward page=/scc_html/SccServlet/
/BODY
/HTML

.
Tomcat works fine, several of the examples proved this.
To deploy the application, I created a directory
webapps/scc_html, and there I put index.jsp (above code), two 
directories: webapps/scc_html/WEB-INF/classes, 
webapps/scc_html/WEB-INF/lib and a webapps/scc_html/WEB-INF/web.xml file.

SccServlet should connect to an Oracle database (it is a servlet that 
works fine on HP-UX + iPlanet), but it is a servlet from a package 
scc_html. So the fully qualified name of the class is scc_html.SccServlet.

I put all the .java-files from scc_html package to 
webapps/scc_html/WEB-INF/classes, specified CLASSPATH pointing to 
webapps/scc_html/WEB-INF/lib (where I put two .jar libraries) and ran
`javac list_of_files_here` (in classes directory), and it compiled 
successfully (some warning about deprecated API, but I don't think it is 
significant), all the five .class files of the package generated.

When I connect to the_machine:8080, I run Tomcat Manager, and in the 
list of applications I do see /scc_html among /admin, /examples/, 
/manager, /tomcat-docs, so on.
However, I get the 'HTTP Status 503 Error:Servlet SccServlet is 
currently unavailable' on any attempt to connect to the index.jsp.

As far as I understand, Tomcat cannot find the Servlet, so the problem 
must be with webapps/scc_html/WEB-INF/web.xml file (or some global 
config from /conf?)

Or, the problem can be that one of the parameters to the servlet is the 
URL to the servlet, perhaps there is some extra check in Tomcat, and the 
URL is not valid during the stage of deployment. Seems unlikely, though..

Below I put the code of web.xml, the logs are attached.
I'd appreciate any advice, I AM at a loss.
Thanks in advance,
Vlad.
===
Here is the web.xml file:
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
display-nameScc servlet and JSP page/display-name
description
  Scc servlet and JSP page.
/description
servlet
servlet-nameSccServlet/servlet-name
servlet-classscc_html.SccServlet/servlet-class
!--servlet-classSccServlet/servlet-class --
init-param
param-nameConnectionURL/param-name
param-valuejdbc:oracle:thin:@scc-srv.tlsoft.ru:1521:ora816/param-value
/init-param
init-param
param-nameSccServletUrl/param-name
param-value/scc_html/SccServlet/param-value
/init-param
init-param
param-nameSchemaName/param-name
param-valuesys_scc1/param-value
/init-param
init-param
param-nameUserName/param-name
param-valuedata_scc1/param-value
/init-param
init-param
param-nameUserPwd/param-name
param-valuedata_scc1/param-value
/init-param
init-param
param-nameHelpBaseUrl/param-name
param-value/help//param-value
/init-param
load-on-startup1/load-on-startup
/servlet
servlet-mapping
servlet-nameSccServlet/servlet-name
url-pattern/scc_html/SccServlet/url-pattern
/servlet-mapping
/web-app
.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


HTTP Status 503 Error:Servlet is currently unavailable., etc., THE LOGS.

2004-07-26 Thread Vladislav Y. Ryabyshkin
Sorry for so many letters, I forgot to attach the logs.
Here they are.
Jul 26, 2004 1:55:16 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Jul 26, 2004 1:55:18 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Jul 26, 2004 1:55:33 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Jul 26, 2004 1:55:51 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
Jul 26, 2004 1:57:31 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Jul 26, 2004 1:57:32 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jul 26, 2004 1:57:32 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=18/1312  config=/opt/jakarta/tomcat/conf/jk2.properties
2004-07-26 13:56:21 WebappLoader[/admin]: Deploying class repositories to work 
directory /opt/jakarta/tomcat/work/Standalone/localhost/admin
2004-07-26 13:56:21 WebappLoader[/admin]: Deploy class files /WEB-INF/classes to 
/opt/jakarta/tomcat/webapps/../server/webapps/admin/WEB-INF/classes
2004-07-26 13:56:21 WebappLoader[/admin]: Deploy JAR /WEB-INF/lib/struts.jar to 
/opt/jakarta/tomcat/webapps/../server/webapps/admin/WEB-INF/lib/struts.jar
2004-07-26 13:56:30 ContextConfig[/admin]: Configured an authenticator for method FORM
2004-07-26 13:56:30 StandardManager[/admin]: Seeding random number generator class 
java.security.SecureRandom
2004-07-26 13:56:30 StandardManager[/admin]: Seeding of random number generator has 
been completed
2004-07-26 13:56:30 StandardWrapper[/admin:default]: Loading container servlet default
2004-07-26 13:57:20 StandardWrapper[/admin:invoker]: Loading container servlet invoker
2004-07-26 13:56:02 WebappLoader[/examples]: Deploying class repositories to work 
directory /opt/jakarta/tomcat/work/Standalone/localhost/examples
2004-07-26 13:56:02 WebappLoader[/examples]: Deploy class files /WEB-INF/classes to 
/opt/jakarta/tomcat/webapps/examples/WEB-INF/classes
2004-07-26 13:56:09 ContextConfig[/examples]: Configured an authenticator for method 
FORM
2004-07-26 13:56:09 StandardManager[/examples]: Seeding random number generator class 
java.security.SecureRandom
2004-07-26 13:56:13 StandardManager[/examples]: Seeding of random number generator has 
been completed
2004-07-26 13:56:14 ContextListener: contextInitialized()
2004-07-26 13:56:14 SessionListener: contextInitialized()
2004-07-26 13:56:14 StandardWrapper[/examples:default]: Loading container servlet 
default
2004-07-26 13:56:16 StandardWrapper[/examples:invoker]: Loading container servlet 
invoker
2004-07-26 13:56:18 HostConfig[localhost]: Deploying configuration descriptor 
manager.xml
2004-07-26 13:56:18 WebappLoader[/manager]: Deploying class repositories to work 
directory /opt/jakarta/tomcat/work/Standalone/localhost/manager
2004-07-26 13:56:21 ContextConfig[/manager]: Configured an authenticator for method 
BASIC
2004-07-26 13:56:21 StandardManager[/manager]: Seeding random number generator class 
java.security.SecureRandom
2004-07-26 13:56:21 StandardManager[/manager]: Seeding of random number generator has 
been completed
2004-07-26 13:56:21 StandardWrapper[/manager:default]: Loading container servlet 
default
2004-07-26 13:56:21 StandardWrapper[/manager:invoker]: Loading container servlet 
invoker
2004-07-26 13:56:21 HostConfig[localhost]: Deploying configuration descriptor admin.xml
2004-07-26 13:57:21 HostConfig[localhost]: Deploying web application directory ROOT
2004-07-26 13:57:21 StandardHost[localhost]: Installing web application at context 
path  from URL file:/opt/jakarta/tomcat/webapps/ROOT
2004-07-26 13:57:21 WebappLoader[]: Deploying class repositories to work directory 
/opt/jakarta/tomcat/work/Standalone/localhost/_
2004-07-26 13:57:22 StandardManager[]: Seeding random number generator class 
java.security.SecureRandom
2004-07-26 13:57:22 StandardManager[]: Seeding of random number generator has been 
completed
2004-07-26 13:57:22 StandardWrapper[:default]: Loading container servlet default
2004-07-26 13:57:22 StandardWrapper[:invoker]: Loading container servlet invoker
2004-07-26 13:57:22 HostConfig[localhost]: Deploying web application directory scc_html
2004-07-26 13:57:23 StandardHost[localhost]: Installing web application at context 
path /scc_html from URL file:/opt/jakarta/tomcat/webapps/scc_html
2004-07-26 13:57:23 WebappLoader[/scc_html]: Deploying class repositories to work 
directory /opt/jakarta/tomcat/work/Standalone/localhost/scc_html
2004-07-26 13:57:23 WebappLoader[/scc_html]: Deploy class files /WEB-INF/classes to 
/opt/jakarta/tomcat/webapps/scc_html/WEB-INF/classes
2004-07-26 13:57:23 WebappLoader[/scc_html]: Deploy JAR /WEB-INF/lib/classes12.jar to 
/opt/jakarta/tomcat/webapps/scc_html/WEB-INF/lib/classes12.jar
2004-07-26 13:57:23 WebappLoader[/scc_html]: Deploy JAR 

Re: HTTP Status 503 Error:Servlet is currently unavailable. javax.servlet.ServletException: Wrapper cannot find servlet class or a class it depends on

2004-07-26 Thread Frans Flippo
The url-pattern is relative to the  webapp root. So in your case it 
should be

url-pattern/SccServlet/url-pattern
instead of
url-pattern/scc_html/SccServlet/url-pattern
Hope that helps.
Regards,
Frans
servlet-mapping
servlet-nameSccServlet/servlet-name
url-pattern/scc_html/SccServlet/url-pattern
/servlet-mapping
/web-app
.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Quinity : Your Partner In eBusiness Solution Delivery
Biltstraat 449
3572 AW Utrecht
P.O. Box 13097
3507 LB Utrecht
The Netherlands
Telephone: (+31) (0)30 2335999
Fax  : (+31) (0)30 2335998
WWW  : http://www.quinity.com

The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential
and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in
reliance upon, this information by persons or entities other
than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material
from any computer. Quinity is neither liable for the proper and
complete  transmission of the information contained in this
communication nor for any delay in its receipt.


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


Error HTTP status 503 - servlet is currently unavailable

2004-07-15 Thread Kamaleshwaran Sivalingam
 Hi,
   I am  using tomcat  4.1.18 with j2sdk1.4.1_02 running under redhat  linux.
I  have a strange error. for my servlet  The following is the error  that it gave .

HTTP Status 503 - Servlet org.apache.catalina.INVOKER.NirInsertPA is 
currently unavailable


type Status report

message Servlet org.apache.catalina.INVOKER.NirInsertPA is currently 
unavailable

description The requested service (Servlet 
org.apache.catalina.INVOKER.NirInsertPA is currently unavailable) is not 
currently available.


Apache Tomcat/4.1.18

 It was working fine previously, untill i changed the code and  recompiled the 
java file and replaced the .class file. I recompiled the java file  using the same 
version of java but on  different machine. Then I copied the .class file from there 
and  then put it in linux machine.

There was no compilation  error. Can u help me out?

kamaleshwaran sivalingam

RE: HTTP Status

2004-07-12 Thread Mark Thomas
These are WebDAV methods. See RFC2518. Tomcat will respond with a 500 to these
unless you have configured the webdav servlet.

Mark 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Monday, July 12, 2004 6:52 AM
 To: Tomcat Users List
 Subject: HTTP Status
 
 Hi Everyone,
 
 I have a question that is not directly related to tomcat however I am
 hoping that someone may know that answer. I have setup tomcat and I am
 running a production website on it. In the log files I am 
 getting unusual
 request type like LOCK, OPTIONS and PROPFIND and these 
 sometimes produce
 error 500 status codes. Has anyone seen these before? Thanks 
 for your time
 and I look forward to hearing from you.
 
 Kindest Regards,
 Matt Anderson
 
 -
 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]



HTTP Status

2004-07-11 Thread muss
Hi Everyone,

I have a question that is not directly related to tomcat however I am
hoping that someone may know that answer. I have setup tomcat and I am
running a production website on it. In the log files I am getting unusual
request type like LOCK, OPTIONS and PROPFIND and these sometimes produce
error 500 status codes. Has anyone seen these before? Thanks for your time
and I look forward to hearing from you.

Kindest Regards,
Matt Anderson

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



HTTP Status 404 -- Please Help

2004-03-24 Thread chanho
I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2.

However, I got the following error when try to run a test.jsp.

HTTP Status 404 - /test.jsp

type Status report

message /test.jsp

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

Here is my setting:

*workers2.properties*


[shm]
file=/usr/local/apache2/logs/shm.file
size=1048576

[workerEnv:]
info=Global server options
timing=1
debug=0

# socket channel
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

# worker for the connector
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

# Uri mapping

[uri:/*.jsp]
worker=ajp13:localhost:8009

[uri:/*.do]
worker=ajp13:localhost:8009

[uri:/servlet/*]
worker=ajp13:localhost:8009

-
And I added the following line to server.xml
Connector port=8009
   enableLookups=false redirectPort=8443 debug=0
   protocol=AJP/1.3 /
Context path= docBase=/usr/local/apache2/htdocs debug=0
reloadable=true crossContext=true/

-
And Load JK2 module to http.conf

LoadModule jk2_module modules/mod_jk2.so



Then I make a test.jsp to my apache2 htdocs root which is
/usr/local/apache2/htdocs, and try to run it on http:/host/test.jsp

It returns me the HTTP Status 404.

Please help me on that, do I miss something?




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



HTTP Status 404 -- Please Help

2004-03-24 Thread chanho
I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2.

However, I got the following error when try to run a test.jsp.

HTTP Status 404 - /test.jsp

type Status report

message /test.jsp

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

Here is my setting:

*workers2.properties*


[shm]
file=/usr/local/apache2/logs/shm.file
size=1048576

[workerEnv:]
info=Global server options
timing=1
debug=0

# socket channel
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

# worker for the connector
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

# Uri mapping

[uri:/*.jsp]
worker=ajp13:localhost:8009

[uri:/*.do]
worker=ajp13:localhost:8009

[uri:/servlet/*]
worker=ajp13:localhost:8009

-
And I added the following line to server.xml
Connector port=8009
   enableLookups=false redirectPort=8443 debug=0
   protocol=AJP/1.3 /
Context path= docBase=/usr/local/apache2/htdocs debug=0
reloadable=true crossContext=true/

-
And Load JK2 module to http.conf

LoadModule jk2_module modules/mod_jk2.so



Then I make a test.jsp to my apache2 htdocs root which is
/usr/local/apache2/htdocs, and try to run it on http:/host/test.jsp

It returns me the HTTP Status 404.

Please help me on that, do I miss something?




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



HTTP Status 404 -- Please Help

2004-03-24 Thread chanho
I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2.

However, I got the following error when try to run a test.jsp.

HTTP Status 404 - /test.jsp

type Status report

message /test.jsp

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

Here is my setting:

*workers2.properties*


[shm]
file=/usr/local/apache2/logs/shm.file
size=1048576

[workerEnv:]
info=Global server options
timing=1
debug=0

# socket channel
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

# worker for the connector
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

# Uri mapping

[uri:/*.jsp]
worker=ajp13:localhost:8009

[uri:/*.do]
worker=ajp13:localhost:8009

[uri:/servlet/*]
worker=ajp13:localhost:8009

-
And I added the following line to server.xml
Connector port=8009
   enableLookups=false redirectPort=8443 debug=0
   protocol=AJP/1.3 /
Context path= docBase=/usr/local/apache2/htdocs debug=0
reloadable=true crossContext=true/

-
And Load JK2 module to http.conf

LoadModule jk2_module modules/mod_jk2.so



Then I make a test.jsp to my apache2 htdocs root which is
/usr/local/apache2/htdocs, and try to run it on http:/host/test.jsp

It returns me the HTTP Status 404.

Please help me on that, do I miss something?




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



HTTP Status 404 -- Please Help

2004-03-24 Thread chanho
I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2.

However, I got the following error when try to run a test.jsp.

HTTP Status 404 - /test.jsp

type Status report

message /test.jsp

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

Here is my setting:

*workers2.properties*


[shm]
file=/usr/local/apache2/logs/shm.file
size=1048576

[workerEnv:]
info=Global server options
timing=1
debug=0

# socket channel
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

# worker for the connector
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

# Uri mapping

[uri:/*.jsp]
worker=ajp13:localhost:8009

[uri:/*.do]
worker=ajp13:localhost:8009

[uri:/servlet/*]
worker=ajp13:localhost:8009

-
And I added the following line to server.xml
Connector port=8009
   enableLookups=false redirectPort=8443 debug=0
   protocol=AJP/1.3 /
Context path= docBase=/usr/local/apache2/htdocs debug=0
reloadable=true crossContext=true/

-
And Load JK2 module to http.conf

LoadModule jk2_module modules/mod_jk2.so



Then I make a test.jsp to my apache2 htdocs root which is
/usr/local/apache2/htdocs, and try to run it on http:/host/test.jsp

It returns me the HTTP Status 404.

Please help me on that, do I miss something?




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



HTTP Status 404 -- Please Help

2004-03-24 Thread chanho
I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2.

However, I got the following error when try to run a test.jsp.

HTTP Status 404 - /test.jsp

type Status report

message /test.jsp

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

Here is my setting:

*workers2.properties*


[shm]
file=/usr/local/apache2/logs/shm.file
size=1048576

[workerEnv:]
info=Global server options
timing=1
debug=0

# socket channel
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

# worker for the connector
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

# Uri mapping

[uri:/*.jsp]
worker=ajp13:localhost:8009

[uri:/*.do]
worker=ajp13:localhost:8009

[uri:/servlet/*]
worker=ajp13:localhost:8009

-
And I added the following line to server.xml
Connector port=8009
   enableLookups=false redirectPort=8443 debug=0
   protocol=AJP/1.3 /
Context path= docBase=/usr/local/apache2/htdocs debug=0
reloadable=true crossContext=true/

-
And Load JK2 module to http.conf

LoadModule jk2_module modules/mod_jk2.so



Then I make a test.jsp to my apache2 htdocs root which is
/usr/local/apache2/htdocs, and try to run it on http:/host/test.jsp

It returns me the HTTP Status 404.

Please help me on that, do I miss something?




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



Re: HTTP Status 404 -- Please Help

2004-03-24 Thread staf wagemakers
you've to install the jsp in tomcat not in the apache docroot.

--
Staf Wagemakers

email:  staf at patat.org
homepage:   http://staf.patat.org


On Wed, Mar 24, 2004 at 06:41:18PM +0800, [EMAIL PROTECTED] wrote:
 I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2.
 
 However, I got the following error when try to run a test.jsp.
 
 HTTP Status 404 - /test.jsp
 
 type Status report
 
 message /test.jsp
 
 description The requested resource (/test1.jsp) is not available.
 Apache Tomcat/5.0.19
 
 Here is my setting:
 
 *workers2.properties*
 
 
 [shm]
 file=/usr/local/apache2/logs/shm.file
 size=1048576
 
 [workerEnv:]
 info=Global server options
 timing=1
 debug=0
 
 # socket channel
 [channel.socket:localhost:8009]
 port=8009
 host=127.0.0.1
 
 # worker for the connector
 [ajp13:localhost:8009]
 channel=channel.socket:localhost:8009
 
 # Uri mapping
 
 [uri:/*.jsp]
 worker=ajp13:localhost:8009
 
 [uri:/*.do]
 worker=ajp13:localhost:8009
 
 [uri:/servlet/*]
 worker=ajp13:localhost:8009
 
 -
 And I added the following line to server.xml
 Connector port=8009
enableLookups=false redirectPort=8443 debug=0
protocol=AJP/1.3 /
 Context path= docBase=/usr/local/apache2/htdocs debug=0
 reloadable=true crossContext=true/
 
 -
 And Load JK2 module to http.conf
 
 LoadModule jk2_module modules/mod_jk2.so
 
 
 
 Then I make a test.jsp to my apache2 htdocs root which is
 /usr/local/apache2/htdocs, and try to run it on http:/host/test.jsp
 
 It returns me the HTTP Status 404.
 
 Please help me on that, do I miss something?
 
 
 
 
 -
 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: HTTP Status 404 -- Please Help

2004-03-24 Thread chanho
thx, I want to install JSP on my Apache document directory, is it possible.
sorry I am newbie in JSP, please explain me more detail about what I have
done wrong.

- Original Message - 
From: staf wagemakers [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 6:55 PM
Subject: Re: HTTP Status 404 -- Please Help


 you've to install the jsp in tomcat not in the apache docroot.

 --
 Staf Wagemakers

 email: staf at patat.org
 homepage: http://staf.patat.org


 On Wed, Mar 24, 2004 at 06:41:18PM +0800, [EMAIL PROTECTED] wrote:
  I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2.
 
  However, I got the following error when try to run a test.jsp.
 
  HTTP Status 404 - /test.jsp
 
  type Status report
 
  message /test.jsp
 
  description The requested resource (/test1.jsp) is not available.
  Apache Tomcat/5.0.19
 
  Here is my setting:
 
  *workers2.properties*

 --
--
  
  [shm]
  file=/usr/local/apache2/logs/shm.file
  size=1048576
 
  [workerEnv:]
  info=Global server options
  timing=1
  debug=0
 
  # socket channel
  [channel.socket:localhost:8009]
  port=8009
  host=127.0.0.1
 
  # worker for the connector
  [ajp13:localhost:8009]
  channel=channel.socket:localhost:8009
 
  # Uri mapping
 
  [uri:/*.jsp]
  worker=ajp13:localhost:8009
 
  [uri:/*.do]
  worker=ajp13:localhost:8009
 
  [uri:/servlet/*]
  worker=ajp13:localhost:8009

 --
--
  -
  And I added the following line to server.xml
  Connector port=8009
 enableLookups=false redirectPort=8443 debug=0
 protocol=AJP/1.3 /
  Context path= docBase=/usr/local/apache2/htdocs debug=0
  reloadable=true crossContext=true/

 --
--
  -
  And Load JK2 module to http.conf
 
  LoadModule jk2_module modules/mod_jk2.so

 --
--
  
 
  Then I make a test.jsp to my apache2 htdocs root which is
  /usr/local/apache2/htdocs, and try to run it on http:/host/test.jsp
 
  It returns me the HTTP Status 404.
 
  Please help me on that, do I miss something?
 
 
 
 
  -
  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: HTTP Status 404 -- Please Help

2004-03-24 Thread Adam Fowler
Aye,

Just set up a context in Tomcat that points to the same directory as Apache
is using.

WARNING: Be sure to add a Directory Directive in Apache to Deny anyone
from accessing the WEB-INF directory where your web.xml file (amongst other
things) are kept.

Adam.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 24 March 2004 11:10
To: Tomcat Users List
Subject: Re: HTTP Status 404 -- Please Help


thx, I want to install JSP on my Apache document directory, is it possible.
sorry I am newbie in JSP, please explain me more detail about what I have
done wrong.

- Original Message - 
From: staf wagemakers [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 6:55 PM
Subject: Re: HTTP Status 404 -- Please Help


 you've to install the jsp in tomcat not in the apache docroot.

 --
 Staf Wagemakers

 email: staf at patat.org
 homepage: http://staf.patat.org


 On Wed, Mar 24, 2004 at 06:41:18PM +0800, [EMAIL PROTECTED] wrote:
  I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2.
 
  However, I got the following error when try to run a test.jsp.
 
  HTTP Status 404 - /test.jsp
 
  type Status report
 
  message /test.jsp
 
  description The requested resource (/test1.jsp) is not available.
  Apache Tomcat/5.0.19
 
  Here is my setting:
 
  *workers2.properties*

 --
--
  
  [shm]
  file=/usr/local/apache2/logs/shm.file
  size=1048576
 
  [workerEnv:]
  info=Global server options
  timing=1
  debug=0
 
  # socket channel
  [channel.socket:localhost:8009]
  port=8009
  host=127.0.0.1
 
  # worker for the connector
  [ajp13:localhost:8009]
  channel=channel.socket:localhost:8009
 
  # Uri mapping
 
  [uri:/*.jsp]
  worker=ajp13:localhost:8009
 
  [uri:/*.do]
  worker=ajp13:localhost:8009
 
  [uri:/servlet/*]
  worker=ajp13:localhost:8009

 --
--
  -
  And I added the following line to server.xml
  Connector port=8009
 enableLookups=false redirectPort=8443 debug=0
 protocol=AJP/1.3 /
  Context path= docBase=/usr/local/apache2/htdocs debug=0
  reloadable=true crossContext=true/

 --
--
  -
  And Load JK2 module to http.conf
 
  LoadModule jk2_module modules/mod_jk2.so

 --
--
  
 
  Then I make a test.jsp to my apache2 htdocs root which is
  /usr/local/apache2/htdocs, and try to run it on http:/host/test.jsp
 
  It returns me the HTTP Status 404.
 
  Please help me on that, do I miss something?
 
 
 
 
  -
  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]


_

This email and any files attached is intended for the addressee only and may contain 
information that is confidential and/or legally privileged. Unauthorised use is 
strictly prohibited and may be unlawful. If you are not the addressee, you should not 
read, copy, disclose or otherwise use this message, including any attachment, except 
for the purpose of delivery to the addressee.

We make every effort to keep our network free from viruses. However, you do need to 
verify this e-mail and any attachments to it to be virus free as we can take no 
responsibility for any computer virus which might be transferred by way of this e-mail.

Scanning of this message and addition of this footer is performed by SurfControl 
E-mail Filter software in conjunction with virus detection software.





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



Re: HTTP Status 404 -- Please Help

2004-03-24 Thread chanho
I have add the line Context path= docBase=/usr/local/apache2/htdocs
debug=0 reloadable=true crossContext=true/ to server.xml, but it
still doesn't work, what do I need to do more for set the context.

And please give me more information about the second point you state as I
have no idea what is that.

- Original Message - 
From: Adam Fowler [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 7:15 PM
Subject: RE: HTTP Status 404 -- Please Help


 Aye,

 Just set up a context in Tomcat that points to the same directory as
Apache
 is using.

 WARNING: Be sure to add a Directory Directive in Apache to Deny anyone
 from accessing the WEB-INF directory where your web.xml file (amongst
other
 things) are kept.

 Adam.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: 24 March 2004 11:10
 To: Tomcat Users List
 Subject: Re: HTTP Status 404 -- Please Help


 thx, I want to install JSP on my Apache document directory, is it
possible.
 sorry I am newbie in JSP, please explain me more detail about what I have
 done wrong.

 - Original Message - 
 From: staf wagemakers [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, March 24, 2004 6:55 PM
 Subject: Re: HTTP Status 404 -- Please Help


  you've to install the jsp in tomcat not in the apache docroot.
 
  --
  Staf Wagemakers
 
  email: staf at patat.org
  homepage: http://staf.patat.org
 
 
  On Wed, Mar 24, 2004 at 06:41:18PM +0800, [EMAIL PROTECTED] wrote:
   I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2.
  
   However, I got the following error when try to run a test.jsp.
  
   HTTP Status 404 - /test.jsp
  
   type Status report
  
   message /test.jsp
  
   description The requested resource (/test1.jsp) is not available.
   Apache Tomcat/5.0.19
  
   Here is my setting:
  
   *workers2.properties*
 

 --
 --
   
   [shm]
   file=/usr/local/apache2/logs/shm.file
   size=1048576
  
   [workerEnv:]
   info=Global server options
   timing=1
   debug=0
  
   # socket channel
   [channel.socket:localhost:8009]
   port=8009
   host=127.0.0.1
  
   # worker for the connector
   [ajp13:localhost:8009]
   channel=channel.socket:localhost:8009
  
   # Uri mapping
  
   [uri:/*.jsp]
   worker=ajp13:localhost:8009
  
   [uri:/*.do]
   worker=ajp13:localhost:8009
  
   [uri:/servlet/*]
   worker=ajp13:localhost:8009
 

 --
 --
   -
   And I added the following line to server.xml
   Connector port=8009
  enableLookups=false redirectPort=8443 debug=0
  protocol=AJP/1.3 /
   Context path= docBase=/usr/local/apache2/htdocs debug=0
   reloadable=true crossContext=true/
 

 --
 --
   -
   And Load JK2 module to http.conf
  
   LoadModule jk2_module modules/mod_jk2.so
 

 --
 --
   
  
   Then I make a test.jsp to my apache2 htdocs root which is
   /usr/local/apache2/htdocs, and try to run it on http:/host/test.jsp
  
   It returns me the HTTP Status 404.
  
   Please help me on that, do I miss something?
  
  
  
  
   -
   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]


 _

 This email and any files attached is intended for the addressee only and
may contain information that is confidential and/or legally privileged.
Unauthorised use is strictly prohibited and may be unlawful. If you are not
the addressee, you should not read, copy, disclose or otherwise use this
message, including any attachment, except for the purpose of delivery to the
addressee.

 We make every effort to keep our network free from viruses. However, you
do need to verify this e-mail and any attachments to it to be virus free as
we can take no responsibility for any computer virus which might be
transferred by way of this e-mail.

 Scanning of this message and addition of this footer is performed by
SurfControl E-mail Filter software in conjunction with virus detection
software.
 




 -
 To unsubscribe, e-mail

RE: HTTP Status 404 -- Please Help

2004-03-24 Thread Adam Fowler
That path should actually have your context path in it. I.e. / not 

Adam.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 24 March 2004 11:36
To: Tomcat Users List
Subject: Re: HTTP Status 404 -- Please Help


I have add the line Context path= docBase=/usr/local/apache2/htdocs
debug=0 reloadable=true crossContext=true/ to server.xml, but it
still doesn't work, what do I need to do more for set the context.

And please give me more information about the second point you state as I
have no idea what is that.

- Original Message - 
From: Adam Fowler [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 7:15 PM
Subject: RE: HTTP Status 404 -- Please Help


 Aye,

 Just set up a context in Tomcat that points to the same directory as
Apache
 is using.

 WARNING: Be sure to add a Directory Directive in Apache to Deny anyone
 from accessing the WEB-INF directory where your web.xml file (amongst
other
 things) are kept.

 Adam.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: 24 March 2004 11:10
 To: Tomcat Users List
 Subject: Re: HTTP Status 404 -- Please Help


 thx, I want to install JSP on my Apache document directory, is it
possible.
 sorry I am newbie in JSP, please explain me more detail about what I have
 done wrong.

 - Original Message - 
 From: staf wagemakers [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, March 24, 2004 6:55 PM
 Subject: Re: HTTP Status 404 -- Please Help


  you've to install the jsp in tomcat not in the apache docroot.
 
  --
  Staf Wagemakers
 
  email: staf at patat.org
  homepage: http://staf.patat.org
 
 
  On Wed, Mar 24, 2004 at 06:41:18PM +0800, [EMAIL PROTECTED] wrote:
   I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2.
  
   However, I got the following error when try to run a test.jsp.
  
   HTTP Status 404 - /test.jsp
  
   type Status report
  
   message /test.jsp
  
   description The requested resource (/test1.jsp) is not available.
   Apache Tomcat/5.0.19
  
   Here is my setting:
  
   *workers2.properties*
 

 --
 --
   
   [shm]
   file=/usr/local/apache2/logs/shm.file
   size=1048576
  
   [workerEnv:]
   info=Global server options
   timing=1
   debug=0
  
   # socket channel
   [channel.socket:localhost:8009]
   port=8009
   host=127.0.0.1
  
   # worker for the connector
   [ajp13:localhost:8009]
   channel=channel.socket:localhost:8009
  
   # Uri mapping
  
   [uri:/*.jsp]
   worker=ajp13:localhost:8009
  
   [uri:/*.do]
   worker=ajp13:localhost:8009
  
   [uri:/servlet/*]
   worker=ajp13:localhost:8009
 

 --
 --
   -
   And I added the following line to server.xml
   Connector port=8009
  enableLookups=false redirectPort=8443 debug=0
  protocol=AJP/1.3 /
   Context path= docBase=/usr/local/apache2/htdocs debug=0
   reloadable=true crossContext=true/
 

 --
 --
   -
   And Load JK2 module to http.conf
  
   LoadModule jk2_module modules/mod_jk2.so
 

 --
 --
   
  
   Then I make a test.jsp to my apache2 htdocs root which is
   /usr/local/apache2/htdocs, and try to run it on http:/host/test.jsp
  
   It returns me the HTTP Status 404.
  
   Please help me on that, do I miss something?
  
  
  
  
   -
   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]


 _

 This email and any files attached is intended for the addressee only and
may contain information that is confidential and/or legally privileged.
Unauthorised use is strictly prohibited and may be unlawful. If you are not
the addressee, you should not read, copy, disclose or otherwise use this
message, including any attachment, except for the purpose of delivery to the
addressee.

 We make every effort to keep our network free from viruses. However, you
do need to verify this e-mail and any attachments to it to be virus free as
we can take no responsibility for any computer virus which might be
transferred by way of this e-mail.

 Scanning of this message and addition of this footer

Re: HTTP Status 404 -- Please Help

2004-03-24 Thread staf wagemakers
The path  is IMHO correct. The context below should work.

Anyway, to find out why is doesn't work I would first test it with
the tomcat built-in webserver (on port 8080). If it doesn't work on
tomcat it will certainly not work on apache.

So if you surf to http://localhost:8080/test.jsp do you still get the
error 404 page?

If it doesn't work check your server.xml the Context path= ... line
should be within you default Host name=localhost. There is a example
line root context line in the default server.xml (search ROOT), uncomment
it, update the docbase to your apache's docroot and restart tomcat.  

Hope this helps,

--
Staf Wagemakers

email:  staf at patat.org
homepage:   http://staf.patat.org


On Wed, Mar 24, 2004 at 11:37:58AM -, Adam Fowler wrote:
 That path should actually have your context path in it. I.e. / not 
 
 Adam.
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: 24 March 2004 11:36
 To: Tomcat Users List
 Subject: Re: HTTP Status 404 -- Please Help
 
 
 I have add the line Context path= docBase=/usr/local/apache2/htdocs
 debug=0 reloadable=true crossContext=true/ to server.xml, but it
 still doesn't work, what do I need to do more for set the context.
 
 And please give me more information about the second point you state as I
 have no idea what is that.
 
 - Original Message - 
 From: Adam Fowler [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Sent: Wednesday, March 24, 2004 7:15 PM
 Subject: RE: HTTP Status 404 -- Please Help
 
 
  Aye,
 
  Just set up a context in Tomcat that points to the same directory as
 Apache
  is using.
 
  WARNING: Be sure to add a Directory Directive in Apache to Deny anyone
  from accessing the WEB-INF directory where your web.xml file (amongst
 other
  things) are kept.
 
  Adam.
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: 24 March 2004 11:10
  To: Tomcat Users List
  Subject: Re: HTTP Status 404 -- Please Help
 
 
  thx, I want to install JSP on my Apache document directory, is it
 possible.
  sorry I am newbie in JSP, please explain me more detail about what I have
  done wrong.
 
  - Original Message - 
  From: staf wagemakers [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, March 24, 2004 6:55 PM
  Subject: Re: HTTP Status 404 -- Please Help
 
 
   you've to install the jsp in tomcat not in the apache docroot.
  
  
   On Wed, Mar 24, 2004 at 06:41:18PM +0800, [EMAIL PROTECTED] wrote:
I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2.
   
However, I got the following error when try to run a test.jsp.
   
HTTP Status 404 - /test.jsp
   
type Status report
   
message /test.jsp
   
description The requested resource (/test1.jsp) is not available.
Apache Tomcat/5.0.19
   
Here is my setting:
   
*workers2.properties*
snip

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



Re: HTTP Status 404 -- Please Help

2004-03-24 Thread Chan Ho
thx very much, it works now.

I put the Context path=...  outside the Host..


- Original Message -
From: staf wagemakers [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 9:05 PM
Subject: Re: HTTP Status 404 -- Please Help


 The path  is IMHO correct. The context below should work.

 Anyway, to find out why is doesn't work I would first test it with
 the tomcat built-in webserver (on port 8080). If it doesn't work on
 tomcat it will certainly not work on apache.

 So if you surf to http://localhost:8080/test.jsp do you still get the
 error 404 page?

 If it doesn't work check your server.xml the Context path= ... line
 should be within you default Host name=localhost. There is a example
 line root context line in the default server.xml (search ROOT), uncomment
 it, update the docbase to your apache's docroot and restart tomcat.

 Hope this helps,

 --
 Staf Wagemakers

 email: staf at patat.org
 homepage: http://staf.patat.org


 On Wed, Mar 24, 2004 at 11:37:58AM -, Adam Fowler wrote:
  That path should actually have your context path in it. I.e. / not 
 
  Adam.
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: 24 March 2004 11:36
  To: Tomcat Users List
  Subject: Re: HTTP Status 404 -- Please Help
 
 
  I have add the line Context path= docBase=/usr/local/apache2/htdocs
  debug=0 reloadable=true crossContext=true/ to server.xml, but it
  still doesn't work, what do I need to do more for set the context.
 
  And please give me more information about the second point you state as
I
  have no idea what is that.
 
  - Original Message -
  From: Adam Fowler [EMAIL PROTECTED]
  To: 'Tomcat Users List' [EMAIL PROTECTED]
  Sent: Wednesday, March 24, 2004 7:15 PM
  Subject: RE: HTTP Status 404 -- Please Help
 
 
   Aye,
  
   Just set up a context in Tomcat that points to the same directory as
  Apache
   is using.
  
   WARNING: Be sure to add a Directory Directive in Apache to Deny
anyone
   from accessing the WEB-INF directory where your web.xml file (amongst
  other
   things) are kept.
  
   Adam.
  
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
   Sent: 24 March 2004 11:10
   To: Tomcat Users List
   Subject: Re: HTTP Status 404 -- Please Help
  
  
   thx, I want to install JSP on my Apache document directory, is it
  possible.
   sorry I am newbie in JSP, please explain me more detail about what I
have
   done wrong.
  
   - Original Message -
   From: staf wagemakers [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Wednesday, March 24, 2004 6:55 PM
   Subject: Re: HTTP Status 404 -- Please Help
  
  
you've to install the jsp in tomcat not in the apache docroot.
   
   
On Wed, Mar 24, 2004 at 06:41:18PM +0800, [EMAIL PROTECTED] wrote:
 I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2.

 However, I got the following error when try to run a test.jsp.

 HTTP Status 404 - /test.jsp

 type Status report

 message /test.jsp

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

 Here is my setting:

 *workers2.properties*
 snip

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



Why? HTTP status 404

2004-03-15 Thread Karthigeyan Nagarajan
Hello:

I recently installed tomcat 4.1.3 and jk_mod on apache2.0.  I configured
tomcat and apache2.0 as suggested in jakarta site.

Can any one please explain me why I get the following error message,
even though the file is present in the relative directory.  Is there a
problem with permissions?

The trace of the log is also given below.

--
HTTP Status 404 - /num/numguess.jsp


type Status report


message /num/numguess.jsp


description The requested resource (/num/numguess.jsp) is not available.


Apache Tomcat/4.1.30
--

Log Trace

[Mon Mar 15 15:24:30 2004]  [jk_uri_worker_map.c (486)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Mon Mar 15 15:24:30 2004]  [jk_uri_worker_map.c (500)]: Attempting to
map URI '/examples/num/numguess.jsp'
[Mon Mar 15 15:24:30 2004]  [jk_uri_worker_map.c (580)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -
*.jsp
[Mon Mar 15 15:24:30 2004]  [mod_jk.c (1709)]: Into handler
r-proxyreq=0 r-handler=jakarta-servlet r-notes=136444352 worker=ajp13
[Mon Mar 15 15:24:30 2004]  [jk_worker.c (132)]: Into
wc_get_worker_for_name ajp13
[Mon Mar 15 15:24:30 2004]  [jk_worker.c (136)]: wc_get_worker_for_name,
done  found a worker
[Mon Mar 15 15:24:30 2004]  [mod_jk.c (497)]: agsp=80
agsn=histidine.umdnj.edu hostn=histidine.umdnj.edu
shostn=histidine.umdnj.edu cbsport=80 sport=80
[Mon Mar 15 15:24:30 2004]  [jk_ajp_common.c (1546)]: Into
jk_worker_t::get_endpoint
[Mon Mar 15 15:24:30 2004]  [jk_ajp_common.c (1208)]: Into
jk_endpoint_t::service
[Mon Mar 15 15:24:30 2004]  [jk_ajp_common.c (295)]: Into
ajp_marshal_into_msgb
[Mon Mar 15 15:24:30 2004]  [jk_ajp_common.c (463)]:
ajp_marshal_into_msgb - Done
[Mon Mar 15 15:24:30 2004]  [jk_connect.c (188)]: Into jk_open_socket
[Mon Mar 15 15:24:30 2004]  [jk_connect.c (195)]: jk_open_socket, try to
connect socket = 10
[Mon Mar 15 15:24:30 2004]  [jk_connect.c (204)]: jk_open_socket, after
connect ret = 0
[Mon Mar 15 15:24:30 2004]  [jk_connect.c (213)]: jk_open_socket, set
TCP_NODELAY to on
[Mon Mar 15 15:24:30 2004]  [jk_connect.c (230)]: jk_open_socket,
return, sd = 10
[Mon Mar 15 15:24:30 2004]  [jk_ajp_common.c (661)]: In
jk_endpoint_t::ajp_connect_to_endpoint, connected sd = 10
[Mon Mar 15 15:24:30 2004]  [jk_ajp_common.c (693)]: sending to ajp13
#410
[Mon Mar 15 15:24:30 2004]  [jk_ajp_common.c (966)]: ajp_send_request 2:
request body to send 0 - request body to resend 0
[Mon Mar 15 15:24:30 2004]  [jk_ajp_common.c (804)]: received from ajp13
#98
[Mon Mar 15 15:24:30 2004]  [jk_ajp_common.c (515)]:
ajp_unmarshal_response: status = 404
[Mon Mar 15 15:24:30 2004]  [jk_ajp_common.c (521)]:
ajp_unmarshal_response: Number of headers is = 2
[Mon Mar 15 15:24:30 2004]  [jk_ajp_common.c (575)]:
ajp_unmarshal_response: Header[0] [Content-Type] =
[text/html;charset=ISO-8859-1]
[Mon Mar 15 15:24:30 2004]  [jk_ajp_common.c (575)]:
ajp_unmarshal_response: Header[1] [Content-Language] = [en-US]
[Mon Mar 15 15:24:30 2004]  [jk_ajp_common.c (804)]: received from ajp13
#720
[Mon Mar 15 15:24:30 2004]  [mod_jk.c (398)]: writing 716 (716) out of
716
[Mon Mar 15 15:24:30 2004]  [jk_ajp_common.c (804)]: received from ajp13
#2
[Mon Mar 15 15:24:30 2004]  [jk_ajp_common.c (1521)]: Into
jk_endpoint_t::done, recycling connection

Thank you in advance

Karthi

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



Reg HTTP status 404 on Tomcat 5.0.16

2004-02-03 Thread Avinash Sridhar
I have my sampleapp folder into which a small trial of HelloServlet needs to be 
tested.

The directory structure of sampleapp is as follows,

e:\sampleapp\WEB-INF\classes\
 WEB-INF\lib
 WEB-INF\sourcefiles
 WEB-INF\web.xml
The classes directory has got 
classes\package1\structure

The Context /Context tag in server.xml has been added like this.

/ server.xml ***/

Context path=/sampleapp docBase=e:\sampleapp debug=0 reloadable=true 
/Context

/ server.xml /

/** web.xml ***/
?xml version=1.0 encoding=ISO-8859-1?

!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;

web-app
  display-nameServlet 2.4 Examples/display-name
  description Servlet 2.4 Examples /description

!-- Servlet mapping start -- 
!-- Define servlets. i.e. bind a servlet name to a class --

servlet
 servlet-nameHelloServlet/servlet-name
 servlet-classpackage1.structure.HelloServlet/servlet-class
/servlet

!-- bind a servlet name to a URL (pattern) --
servlet-mapping
 servlet-nameHelloServlet/servlet-name
 url-pattern/sampleapp/url-pattern
/servlet-mapping

!-- Servlet mapping end --

/web-app

/** web.xml ***/



The error I am getting in the browser is this 

HTTP Status 404 - /sampleapp/HelloServlet

---
type Status report

message /sampleapp/HelloServlet

description The requested resource (/sampleapp/HelloServlet) is not available.


This is the url I gave 

http://localhost:8080/sampleapp/HelloServlet


Kindly let me know what could be wrong in the above configuration.

Any help would be appreciated.

Thanks 
AS



RE: Reg HTTP status 404 on Tomcat 5.0.16

2004-02-03 Thread Yiannis Mavroukakis
Looks like you went about the wrong way with the Context and url pattern
combination.

Your servlet will work if you point your browser to
http://localhost:8080/sampleapp/sampleapp

If I am not mistaken changing
url-pattern/sampleapp/url-pattern
to
url-pattern/HelloServlet/url-pattern

should hopefully produce what you are after.

Yiannis.

-Original Message-
From: Avinash Sridhar [mailto:[EMAIL PROTECTED]
Sent: 03 February 2004 14:03
To: [EMAIL PROTECTED]
Subject: Reg HTTP status 404 on Tomcat 5.0.16


I have my sampleapp folder into which a small trial of HelloServlet needs
to be tested.

The directory structure of sampleapp is as follows,

e:\sampleapp\WEB-INF\classes\
 WEB-INF\lib
 WEB-INF\sourcefiles
 WEB-INF\web.xml
The classes directory has got 
classes\package1\structure

The Context /Context tag in server.xml has been added like this.

/ server.xml ***/

Context path=/sampleapp docBase=e:\sampleapp debug=0
reloadable=true /Context

/ server.xml /

/** web.xml ***/
?xml version=1.0 encoding=ISO-8859-1?

!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;

web-app
  display-nameServlet 2.4 Examples/display-name
  description Servlet 2.4 Examples /description

!-- Servlet mapping start -- 
!-- Define servlets. i.e. bind a servlet name to a class --

servlet
 servlet-nameHelloServlet/servlet-name
 servlet-classpackage1.structure.HelloServlet/servlet-class
/servlet

!-- bind a servlet name to a URL (pattern) --
servlet-mapping
 servlet-nameHelloServlet/servlet-name
 url-pattern/sampleapp/url-pattern
/servlet-mapping

!-- Servlet mapping end --

/web-app

/** web.xml ***/



The error I am getting in the browser is this 

HTTP Status 404 - /sampleapp/HelloServlet

---
type Status report

message /sampleapp/HelloServlet

description The requested resource (/sampleapp/HelloServlet) is not
available.


This is the url I gave 

http://localhost:8080/sampleapp/HelloServlet


Kindly let me know what could be wrong in the above configuration.

Any help would be appreciated.

Thanks 
AS




This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.


Note:__
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.

RE: Reg HTTP status 404 on Tomcat 5.0.16

2004-02-03 Thread Bodycombe, Andrew
You have mapped your servlet to the /sampleapp URL, so to access your
servlet, you need to use the following URL:

http://localhost:8080/sampleapp/sampleapp

I suggest changing your servlet-mapping as follows:

servlet-mapping
 servlet-nameHelloServlet/servlet-name
 url-pattern/HelloServlet/url-pattern
/servlet-mapping

Then, you can use the http://localhost:8080/sampleapp/HelloServlet URL

-Original Message-
From: Avinash Sridhar [mailto:[EMAIL PROTECTED] 
Sent: 03 February 2004 14:03
To: [EMAIL PROTECTED]
Subject: Reg HTTP status 404 on Tomcat 5.0.16


I have my sampleapp folder into which a small trial of HelloServlet needs
to be tested.

The directory structure of sampleapp is as follows,

e:\sampleapp\WEB-INF\classes\
 WEB-INF\lib
 WEB-INF\sourcefiles
 WEB-INF\web.xml
The classes directory has got 
classes\package1\structure

The Context /Context tag in server.xml has been added like this.

/ server.xml ***/

Context path=/sampleapp docBase=e:\sampleapp debug=0
reloadable=true /Context

/ server.xml /

/** web.xml ***/
?xml version=1.0 encoding=ISO-8859-1?

!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;

web-app
  display-nameServlet 2.4 Examples/display-name
  description Servlet 2.4 Examples /description

!-- Servlet mapping start -- 
!-- Define servlets. i.e. bind a servlet name to a class --

servlet
 servlet-nameHelloServlet/servlet-name
 servlet-classpackage1.structure.HelloServlet/servlet-class
/servlet

!-- bind a servlet name to a URL (pattern) --
servlet-mapping
 servlet-nameHelloServlet/servlet-name
 url-pattern/sampleapp/url-pattern
/servlet-mapping

!-- Servlet mapping end --

/web-app

/** web.xml ***/



The error I am getting in the browser is this 

HTTP Status 404 - /sampleapp/HelloServlet

---
type Status report

message /sampleapp/HelloServlet

description The requested resource (/sampleapp/HelloServlet) is not
available.


This is the url I gave 

http://localhost:8080/sampleapp/HelloServlet


Kindly let me know what could be wrong in the above configuration.

Any help would be appreciated.

Thanks 
AS



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



Re: HTTP Status 404.

2003-11-25 Thread Antony Paul
If you created a new context try restarting Tomcat and look at the work
directory of Tomcat usually at D:\ApacheTomcat4\work\Standalone\localhost\
to see whether the directory pg_mdp is created. If not you have to add a
context in conf\server.xml.

Antony Paul

- Original Message -
From: Anunay Ashish [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 11:53 AM
Subject: HTTP Status 404.


Hi,
I have Apache Tomcat 4.0.3 on my system. I am trying to access a file
index.htm in the folder D:\ApacheTomcat4\webapps\pg_mdp through the url
http://p223.tis.co.in:8080/pg_mdp/index.htm but is showing HTTP Status 404.
What is the problem?
Thanks in advance.
Regards,
Anunay.

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



HTTP Status 404.

2003-11-24 Thread Anunay Ashish
Hi,
I have Apache Tomcat 4.0.3 on my system. I am trying to access a file index.htm in the 
folder D:\ApacheTomcat4\webapps\pg_mdp through the url 
http://p223.tis.co.in:8080/pg_mdp/index.htm but is showing HTTP Status 404.
What is the problem?
Thanks in advance.
Regards,
Anunay.

Apache Tomcat/ 4.0.1 /HTTP Status 503 / Servlet constructurl is currently unavailabe

2003-11-21 Thread Oliver Baecker
Hi,

i am using the Tomcat in combination with the iROS meta-OS. If i try to create a 
servlet for displaying URLs on multiple clients with the iROS tool i get the message 
you can see in the subject of this mail. Any ideas why this might happen?

Thanks a lot!

Best Regards,

Oliver


Tomcat 4.1.24 - HTTP Status Message..

2003-11-07 Thread David Allison
Hi All,

Recently we upgraded our Tomcat to version 4.1.24..  
We have Apache sitting in front of it providing SSL etc etc..

Since upgrading we've noticed that the status line in HTTP responses has
changed from

HTTP/1.0 200 OK 

to 

HTTP/1.0 200 

I'm not sure that whether the text message on the status line is compulsory
or not but one of our clients systems has been failing since as it calls
HttpURLConnection.getResponseCode() which throws an exception (seemingly
because of the missing text)...

Does anyone know if this text is compulsory in the HTTP response (I haven't
found anything that says clearly either way) and also why Tomcat was changed
this way.. Was there a particular reason, is there any fix to this problem
or is Tomcat still acting correctly (I suspect it is)..

Thanks for your help

Dave


***
This message contains information that may be privileged or confidential and is the 
property of Orbian Management Limited. It is intended solely for the named 
addressee(s) and may not be used or disclosed except for the purpose for which it has 
been sent.
Access to this e-mail by anyone else is unauthorised. If you are not the intended 
recipient, you are not authorized to read, print, retain, copy, disseminate, 
distribute, or use this message or any part thereof.
If you have received this message in error, please notify the sender immediately and 
delete the message and any attached documents.
Any opinions, conclusions and other information expressed in this message are those of 
the individual sender and are not given or endorsed by Orbian unless otherwise clearly 
indicated.
Orbian has scanned this e-mail for viruses but accepts no liability or responsibility 
for any onward transmission or use of emails and attachments having left the Orbian 
domain.
***


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



RE: Tomcat 4.1.24 - HTTP Status Message..

2003-11-07 Thread Shapira, Yoav

Howdy,
Hmm... I'm pretty sure only the protocol and code are required for most
messages, including 200, so HTTP/1.0 200 is legal (for both HTTP 1.0 and
1.1).  Some codes require additional information, e.g. forwarding URL,
but not this one.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: David Allison [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 8:28 AM
To: '[EMAIL PROTECTED]'
Subject: Tomcat 4.1.24 - HTTP Status Message..

Hi All,

Recently we upgraded our Tomcat to version 4.1.24..
We have Apache sitting in front of it providing SSL etc etc..

Since upgrading we've noticed that the status line in HTTP responses
has
changed from

HTTP/1.0 200 OK

to

HTTP/1.0 200

I'm not sure that whether the text message on the status line is
compulsory
or not but one of our clients systems has been failing since as it
calls
HttpURLConnection.getResponseCode() which throws an exception
(seemingly
because of the missing text)...

Does anyone know if this text is compulsory in the HTTP response (I
haven't
found anything that says clearly either way) and also why Tomcat was
changed
this way.. Was there a particular reason, is there any fix to this
problem
or is Tomcat still acting correctly (I suspect it is)..

Thanks for your help

Dave


***


This message contains information that may be privileged or
confidential
and is the property of Orbian Management Limited. It is intended solely
for
the named addressee(s) and may not be used or disclosed except for the
purpose for which it has been sent.

Access to this e-mail by anyone else is unauthorised. If you are not
the
intended recipient, you are not authorized to read, print, retain,
copy,
disseminate, distribute, or use this message or any part thereof.
If you have received this message in error, please notify the sender
immediately and delete the message and any attached documents.
Any opinions, conclusions and other information expressed in this
message
are those of the individual sender and are not given or endorsed by
Orbian
unless otherwise clearly indicated.
Orbian has scanned this e-mail for viruses but accepts no liability or
responsibility for any onward transmission or use of emails and
attachments
having left the Orbian domain.
***




-
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: Tomcat 4.1.24 - HTTP Status Message..

2003-11-07 Thread Jon Wingfield
FYI: http://issues.apache.org/bugzilla/show_bug.cgi?id=19480

However, contrary to that bug report the Reason Phrase is not mandatory 
according to the spec (well, to be picky, it is mandatory but the phrase 
can be zero bytes long):

HTTP1.1 spec:
http://www.w3.org/Protocols/rfc2616/rfc2616.txt
snip
Status-Line = HTTP-Version SP Status-Code SP Reason-Phrase CRLF
...
Reason-Phrase  = *TEXT, excluding CR, LF
/snip
The * in the BNF grammar used means any positive number (and including 
zero).

Additionally, the reason 'OK' for code 200 should not be assumed as the 
server can choose to change this phrase to the local language.

Another upgrade beckons...

HTH,

Jon

David Allison wrote:
Hi All,

Recently we upgraded our Tomcat to version 4.1.24..  
We have Apache sitting in front of it providing SSL etc etc..

Since upgrading we've noticed that the status line in HTTP responses has
changed from
HTTP/1.0 200 OK 

to 

HTTP/1.0 200 

I'm not sure that whether the text message on the status line is compulsory
or not but one of our clients systems has been failing since as it calls
HttpURLConnection.getResponseCode() which throws an exception (seemingly
because of the missing text)...
Does anyone know if this text is compulsory in the HTTP response (I haven't
found anything that says clearly either way) and also why Tomcat was changed
this way.. Was there a particular reason, is there any fix to this problem
or is Tomcat still acting correctly (I suspect it is)..
Thanks for your help

Dave





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


Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error

2003-08-14 Thread Bob Hacker
Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
 
I am running Jbuilder 7, JBoss 3.0.2. When I touch a jsp I get the
following exception when trying to run it
 
javax.servlet.ServletException: sun/tools/javac/Main
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
va:246)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234
3)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
ava:1012)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
1107)
at java.lang.Thread.run(Thread.java:479)
root cause 
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
com.borland.jbuilder.webserverglue.tomcat.jsp.JasperSunJavaCompiler.comp
ile(Unknown Source)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:272)
at
org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(J
spServlet.java:177)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
t.java:189)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
va:246)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234
3)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext

HTTP Status 500

2003-07-29 Thread Marco Miedl
Hi,

I installed Java (j2sdk1.4.2) and Tomcat (jakarta-tomcat-4.1.24) on RedHat Linux 7.3. 
When I start Tomcat with startup.sh and i got the following messages:

Using CATALINA_BASE:   /usr/local/bin/tomcat
Using CATALINA_HOME:   /usr/local/bin/tomcat
Using CATALINA_TMPDIR: /usr/local/bin/tomcat/temp
Using JAVA_HOME:   /usr/local/bin/java

When i look at the Process Table I can see the Tomcat-Threads.

But when I try to go to the first Site (http://localhost:8080/) I got the error I 
attached on the end of this mail. When I put a html File instead of a JSP File into 
the webapps/ROOT Directory it works, so I see that the Server is running. I have had 
the same Problem before with my Win2K System but there I fixed the Problem by setting 
the right PATH (to the SDK Directory). I also searched the web for this Problem and I 
saw, that a lot of Users have the same Problem. But I found no solution for me. I 
installed the SDK not only the JRE (so javac is available). I put the variables 
JAVA_HOME and CATALINA_HOME and I added the j2sdk1.4.2/bin Directory to my PATH. I 
don't understand why it won't work :-(

Perhaps somebody here has a good idea for solving this Problem.

Thanxs in advance
   Marco



THE ERROR-PAGE:
===

HTTP Status 500 - 



type Exception report

message 

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

exception 

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.



 at 
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
 at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
 at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
 at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
 at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
 at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
 at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
 at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
 at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
 at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
 at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
 at org.apache.tomcat.util.threads.ThreadPool

RE: HTTP Status 500

2003-07-29 Thread Shapira, Yoav

Howdy,
Do the JSP examples work?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Marco Miedl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 11:24 AM
To: [EMAIL PROTECTED]
Subject: HTTP Status 500

Hi,

I installed Java (j2sdk1.4.2) and Tomcat (jakarta-tomcat-4.1.24) on
RedHat
Linux 7.3. When I start Tomcat with startup.sh and i got the
following
messages:

Using CATALINA_BASE:   /usr/local/bin/tomcat
Using CATALINA_HOME:   /usr/local/bin/tomcat
Using CATALINA_TMPDIR: /usr/local/bin/tomcat/temp
Using JAVA_HOME:   /usr/local/bin/java

When i look at the Process Table I can see the Tomcat-Threads.

But when I try to go to the first Site (http://localhost:8080/) I got
the
error I attached on the end of this mail. When I put a html File
instead of
a JSP File into the webapps/ROOT Directory it works, so I see that the
Server is running. I have had the same Problem before with my Win2K
System
but there I fixed the Problem by setting the right PATH (to the SDK
Directory). I also searched the web for this Problem and I saw, that a
lot
of Users have the same Problem. But I found no solution for me. I
installed
the SDK not only the JRE (so javac is available). I put the variables
JAVA_HOME and CATALINA_HOME and I added the j2sdk1.4.2/bin Directory
to
my PATH. I don't understand why it won't work :-(

Perhaps somebody here has a good idea for solving this Problem.

Thanxs in advance
   Marco



THE ERROR-PAGE:
===

HTTP Status 500 -

---

-

type Exception report

message

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

exception

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.



 at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorH
andl
er.java:130)
 at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.j
ava:
293)
 at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
 at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.j
ava:
473)
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
ava:
190)
 at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295
)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
atio
nFilterChain.java:247)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terC
hain.java:193)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.j
ava:256)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
480)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
ve.j
ava:191)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
480)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24
15)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a:18
0)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:643)
 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
alve
.java:171)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:641)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a:17
2)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:641)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
480)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.jav
a:174)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
480)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
 at
org.apache.coyote.http11.Http11Processor.process

Re: Re: HTTP Status 500

2003-07-29 Thread Marco Miedl
NO

- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 5:25 PM
Subject: RE: HTTP Status 500



 Howdy,
 Do the JSP examples work?

 Yoav Shapira
 Millennium ChemInformatics


 -Original Message-
 From: Marco Miedl [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 29, 2003 11:24 AM
 To: [EMAIL PROTECTED]
 Subject: HTTP Status 500
 
 Hi,
 
 I installed Java (j2sdk1.4.2) and Tomcat (jakarta-tomcat-4.1.24) on
 RedHat
 Linux 7.3. When I start Tomcat with startup.sh and i got the
 following
 messages:
 
 Using CATALINA_BASE:   /usr/local/bin/tomcat
 Using CATALINA_HOME:   /usr/local/bin/tomcat
 Using CATALINA_TMPDIR: /usr/local/bin/tomcat/temp
 Using JAVA_HOME:   /usr/local/bin/java
 
 When i look at the Process Table I can see the Tomcat-Threads.
 
 But when I try to go to the first Site (http://localhost:8080/) I got
 the
 error I attached on the end of this mail. When I put a html File
 instead of
 a JSP File into the webapps/ROOT Directory it works, so I see that the
 Server is running. I have had the same Problem before with my Win2K
 System
 but there I fixed the Problem by setting the right PATH (to the SDK
 Directory). I also searched the web for this Problem and I saw, that a
 lot
 of Users have the same Problem. But I found no solution for me. I
 installed
 the SDK not only the JRE (so javac is available). I put the variables
 JAVA_HOME and CATALINA_HOME and I added the j2sdk1.4.2/bin Directory
 to
 my PATH. I don't understand why it won't work :-(
 
 Perhaps somebody here has a good idea for solving this Problem.
 
 Thanxs in advance
Marco
 
 
 
 THE ERROR-PAGE:
 ===
 
 HTTP Status 500 -
 
 ---
 
 -
 
 type Exception report
 
 message
 
 description The server encountered an internal error () that prevented
 it
 from fulfilling this request.
 
 exception
 
 org.apache.jasper.JasperException: Unable to compile class for JSP
 
 An error occurred at line: -1 in the jsp file: null
 
 Generated servlet error:
 [javac] Since fork is true, ignoring compiler setting.
 [javac] Compiling 1 source file
 [javac] Since fork is true, ignoring compiler setting.
 
 
 
  at
 org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorH
 andl
 er.java:130)
  at
 org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.j
 ava:
 293)
  at
 org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
  at
 org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.j
 ava:
 473)
  at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
 ava:
 190)
  at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295
 )
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
 atio
 nFilterChain.java:247)
  at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
 terC
 hain.java:193)
  at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
 ve.j
 ava:256)
  at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
 invo
 keNext(StandardPipeline.java:643)
  at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
 480)
  at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
 ve.j
 ava:191)
  at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
 invo
 keNext(StandardPipeline.java:643)
  at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
 480)
  at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at
 org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24
 15)
  at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
 a:18
 0)
  at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
 invo
 keNext(StandardPipeline.java:643)
  at
 org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
 alve
 .java:171)
  at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
 invo
 keNext(StandardPipeline.java:641)
  at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
 a:17
 2)
  at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
 invo
 keNext(StandardPipeline.java:641)
  at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
 480)
  at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
 .jav
 a:174)
  at
 org.apache.catalina.core.StandardPipeline

Re: HTTP Status 500

2003-07-29 Thread John Turner
Even those that are servlets and not JSP?

John

Marco Miedl wrote:

NO

- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 5:25 PM
Subject: RE: HTTP Status 500


Howdy,
Do the JSP examples work?
Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Marco Miedl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 11:24 AM
To: [EMAIL PROTECTED]
Subject: HTTP Status 500
Hi,

I installed Java (j2sdk1.4.2) and Tomcat (jakarta-tomcat-4.1.24) on
RedHat

Linux 7.3. When I start Tomcat with startup.sh and i got the
following

messages:

Using CATALINA_BASE:   /usr/local/bin/tomcat
Using CATALINA_HOME:   /usr/local/bin/tomcat
Using CATALINA_TMPDIR: /usr/local/bin/tomcat/temp
Using JAVA_HOME:   /usr/local/bin/java
When i look at the Process Table I can see the Tomcat-Threads.

But when I try to go to the first Site (http://localhost:8080/) I got
the

error I attached on the end of this mail. When I put a html File
instead of

a JSP File into the webapps/ROOT Directory it works, so I see that the
Server is running. I have had the same Problem before with my Win2K
System

but there I fixed the Problem by setting the right PATH (to the SDK
Directory). I also searched the web for this Problem and I saw, that a
lot

of Users have the same Problem. But I found no solution for me. I
installed

the SDK not only the JRE (so javac is available). I put the variables
JAVA_HOME and CATALINA_HOME and I added the j2sdk1.4.2/bin Directory
to

my PATH. I don't understand why it won't work :-(

Perhaps somebody here has a good idea for solving this Problem.

Thanxs in advance
 Marco


THE ERROR-PAGE:
===
HTTP Status 500 -

---


-

type Exception report

message

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

exception

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
  [javac] Since fork is true, ignoring compiler setting.
  [javac] Compiling 1 source file
  [javac] Since fork is true, ignoring compiler setting.


at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorH
andl

er.java:130)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.j
ava:

293)
at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.j
ava:

473)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
ava:

190)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295
)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
atio

nFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terC

hain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.j

ava:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo

keNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
480)

at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
ve.j

ava:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo

keNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
480)

at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24
15)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a:18

0)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo

keNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
alve

.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo

keNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a:17

2)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo

keNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
480)

at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.jav

a:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo

keNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke

Re: Re: HTTP Status 500

2003-07-29 Thread Marco Miedl



 Even those that are servlets and not JSP?


The Servlet Examples work perfect. Only the JSP Examples didn't work. It's
very strange ;-)



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



RE: Re: HTTP Status 500

2003-07-29 Thread Jeremy Whitlock
I had the same problem and I think that it was related to the CLASSPATH
for Java.  If your JSP doesn't work properly but the servlet does, it
means that the JVM is working properly but not the Java Compiler.  Make
sure you have the JAVA_HOME variable set and all proper directories in
the CLASSPATH related to Java.  Laters, Jeremy

-Original Message-
From: Marco Miedl [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 29, 2003 10:06 AM
To: Tomcat Users List
Subject: Re: Re: HTTP Status 500




 Even those that are servlets and not JSP?


The Servlet Examples work perfect. Only the JSP Examples didn't work.
It's
very strange ;-)



-
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: HTTP Status 500

2003-07-29 Thread Marco Miedl
 I had the same problem and I think that it was related to the CLASSPATH
 for Java.  If your JSP doesn't work properly but the servlet does, it
 means that the JVM is working properly but not the Java Compiler.  Make
 sure you have the JAVA_HOME variable set and all proper directories in
 the CLASSPATH related to Java.  Laters, Jeremy

JAVA_HOME is set and I included now the SDK main directory and all
subdirectorys to the PATH. It doesn't work. Tomcat generates the Java
Sourcecode (in the work directory) but isn't able to compile the *.java
files


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



RE: Re: HTTP Status 500

2003-07-29 Thread Jeremy Whitlock
You need to have the bin directory of your Java 2 SKD installation in
your CLASSPATH as well.  Give that a try and let me know.  Later, Jeremy

-Original Message-
From: Marco Miedl [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 29, 2003 10:39 AM
To: Tomcat Users List
Subject: Re: Re: HTTP Status 500

 I had the same problem and I think that it was related to the
CLASSPATH
 for Java.  If your JSP doesn't work properly but the servlet does, it
 means that the JVM is working properly but not the Java Compiler.
Make
 sure you have the JAVA_HOME variable set and all proper directories in
 the CLASSPATH related to Java.  Laters, Jeremy

JAVA_HOME is set and I included now the SDK main directory and all
subdirectorys to the PATH. It doesn't work. Tomcat generates the Java
Sourcecode (in the work directory) but isn't able to compile the *.java
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]



Apache Tomcat/4.0.1 - HTTP Status 404

2003-07-15 Thread Julio Lopez Marquez

Hello!
I triying to install an application, but when i call it, send the message


Apache Tomcat/4.0.1 - HTTP Status 404 - /mafi




type Status report

message /mafi

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


i guess that is the configuration file, but,which?

thanks.
J.


-
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: Apache Tomcat/4.0.1 - HTTP Status 404

2003-07-15 Thread Daniel Zhang
Check your server.xml file under TOMCAT_HOME/conf. You need to add a 
Context for your /mafi
path.

Julio Lopez Marquez wrote:

Hello!
I triying to install an application, but when i call it, send the message
Apache Tomcat/4.0.1 - HTTP Status 404 - /mafi



type Status report

message /mafi

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

i guess that is the configuration file, but,which?

thanks.
J.
 



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


Re: Tiomcat 4.1.24 HTTP Status 404 - The requested resource (servlet) is not available

2003-07-07 Thread bernd pier
hi,
could it be, that the folder coffemy is not integrate into the server.xml. 
cause when tomcat couldn`t find all the servlets that are in this folder, 
this could be the reason.
hope that will help you a little
bernd

At 20:10 02.07.2003 +0100, you wrote:

I have Tomcat 4.02 working using servlets and JSP and have now installed
Tomcat 4.1.24 as a service.
When I run the web site all is fine until a servlet is called and I get
 The requested resource (/coffeemy/servlet/ControlServlet) is not available
this happens with all the servlets I use.

Any suggestions please.

John

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


---
Eingehende Mail ist zertifiziert virenfrei.
Überprüft durch AVG Antivirus System (http://www.grisoft.com/de).
Version: 6.0.490 / Virendatenbank: 289 - Erstellungsdatum: 16.06.2003


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


HTTP Status 404.../Redirecting JSP from servlet......../How to set web.xml????

2003-07-07 Thread Naveen My

I am unable to redirect a JSP page from a servlet

This is my directory structure...

D:\Tomcat 4.1\webapps\careerCenter\jsp\ *.jsp's

D:\Tomcat 4.1\webapps\careerCenter\WEB-INF\classes\.class files

 

My WEB.xml has following entry
 servlet
   servlet-nameStudentLoginServlet/servlet-name 
   servlet-classStudentLoginServlet/servlet-class 
  /servlet
 servlet-mapping
   servlet-nameinvoker/servlet-name 
   url-pattern/servlet/*/url-pattern 
  /servlet-mapping

My code in jsp is

form  method=POST action=./servlet/StudentLoginServlet

 

My code in servlet is 

res.sendRedirect(./jsp/StudentLogin.jsp);

 

Please help...

thanks

naveen

 


-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Tiomcat 4.1.24 HTTP Status 404 - The requested resource (servlet) is not available

2003-07-02 Thread John Bell
I have Tomcat 4.02 working using servlets and JSP and have now installed
Tomcat 4.1.24 as a service.

When I run the web site all is fine until a servlet is called and I get
 The requested resource (/coffeemy/servlet/ControlServlet) is not available

this happens with all the servlets I use.

Any suggestions please.

John


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



Re: Tiomcat 4.1.24 HTTP Status 404 - The requested resource (servlet) is not available

2003-07-02 Thread John Turner
FAQ

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

John

On Wed, 2 Jul 2003 20:10:06 +0100, John Bell [EMAIL PROTECTED] wrote:

I have Tomcat 4.02 working using servlets and JSP and have now installed
Tomcat 4.1.24 as a service.
When I run the web site all is fine until a servlet is called and I get
The requested resource (/coffeemy/servlet/ControlServlet) is not 
available

this happens with all the servlets I use.

Any suggestions please.

John

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



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tiomcat 4.1.24 HTTP Status 404 - The requested resource (servlet)is not available

2003-07-02 Thread Eric J. Pinnell
Hi,

Around Tomcat 4.1.12 the servlet invoker was disabled by default expect
for the examples.  In previous versions in was enabled.

You need to enable it for your application.

-e

On Wed, 2 Jul 2003, John Bell wrote:

 I have Tomcat 4.02 working using servlets and JSP and have now installed
 Tomcat 4.1.24 as a service.

 When I run the web site all is fine until a servlet is called and I get
  The requested resource (/coffeemy/servlet/ControlServlet) is not available

 this happens with all the servlets I use.

 Any suggestions please.

 John


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



calling a servlet...from a .jsp (HTTP Status 404 )

2003-07-02 Thread Naveen My

I am unable to call servlet from my jspI get the folowing mesg

HTTP Status 404 - /careerCenter/StudentRegistrationServlet

But am able to call the servlet if I type

http://localhost:80/careerCenter/servlet/StudentRegistrationServlet

My directory structure

D:\Tomcat 4.1\webapps\careerCenter\*jsp files

D:\Tomcat 4.1\webapps\careerCenter\WEB-INF\*.class files

http://localhost:80/careerCenter/servlet/StudentRegistrationServlet

 

This is my entry in web.xml


 servlet
   servlet-nameStudentRegistrationServlet/servlet-name 
   servlet-classStudentRegistrationServlet/servlet-class 
  /servlet
 servlet-mapping
   servlet-nameinvoker/servlet-name 
   url-pattern/servlet/*/url-pattern 
  /servlet-mapping

 

Any advice...

thanks for the help

naveen


-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

RE: calling a servlet...from a .jsp (HTTP Status 404 )

2003-07-02 Thread Mike Curwen
Looks like you forgot to put /servlet 

 HTTP Status 404 - /careerCenter/StudentRegistrationServlet



 -Original Message-
 From: Naveen My [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, July 02, 2003 3:26 PM
 To: Tomcat Users List
 Subject: calling a servlet...from a .jsp (HTTP Status 404 )


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



HTTP Status 404 - /HelloServlet

2003-07-01 Thread Naveen My
Hello,
I have installed Tomcat 4.1.x on JDK 1.4.x.
I am able to run Tomcat and also view example JSP/servlets.
 
I set all class paths according to the notes and trying to run simple helloWorld 
example
 
I am getting 
HTTP Status 404 - /HelloWorld  error
I am going crazy
 
 
Please help and Please..please..
naveen
 
 
Is there any Tomcat tutorial which wud help set by step 
.thanks again..


-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

RE: HTTP Status 404 - /HelloServlet

2003-07-01 Thread Deepak Nagpal
how r u calling ur servlet, can u send ur URL.

-Original Message-
From: Naveen My [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 11:51 AM
To: Tomcat Users List
Subject: HTTP Status 404 - /HelloServlet


Hello,
I have installed Tomcat 4.1.x on JDK 1.4.x.
I am able to run Tomcat and also view example JSP/servlets.

I set all class paths according to the notes and trying to run simple
helloWorld example

I am getting
HTTP Status 404 - /HelloWorld  error
I am going crazy


Please help and Please..please..
naveen


Is there any Tomcat tutorial which wud help set by step 
.thanks again..


-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!


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



  1   2   3   >