mod_jk with Tomcat4

2002-01-19 Thread Oli Gauti Gudmundsson

Hi.
Has anyone managed to get Apache and Tomcat 4.01 working together with
mod_jk?
If you have, could you please share with me how you configured Tomcat (send
me the server.xml file).
 
If you had any problems, could you please share how you solved them.
 
I'm pretty sure that I have configured Apache correctly (since it starts
without errors), and I have configured an AJP13 connector in server.xml. I
have also created a workers.properties where the properties are set for the
ajp13 worker. Apache and Tomcat both start without errors, but when a
request is made, it just times out.
 
The following error appears in catalina.log:
 
java.lang.NoSuchMethodError: java.net.Socket: method setKeepAlive(Z)V not
found
at org.apache.ajp.tomcat4.Ajp13Connector.run(Compiled Code)
at java.lang.Thread.run(Thread.java:479)
 
Thanks for your help.
-OGG



RE: mod_jk with Tomcat4

2002-01-19 Thread Oli Gauti Gudmundsson

OKfinally got this workingwhat a silly mistake. The socket error was
a result of the fact that the machine only had java1.2 and the setKeepAlive
method was added in jdk 1.3. Therefore, I upgraded the jdk, and Tomcat 4.01
and Apache are now serving content at great speed through mod_jk and ajp13!

Regards,
-OGG

-Original Message-
From: Oli Gauti Gudmundsson 
Sent: 19. janúar 2002 14:46
To: '[EMAIL PROTECTED]'
Subject: mod_jk with Tomcat4


Hi.
Has anyone managed to get Apache and Tomcat 4.01 working together with
mod_jk? If you have, could you please share with me how you configured
Tomcat (send me the server.xml file).
 
If you had any problems, could you please share how you solved them.
 
I'm pretty sure that I have configured Apache correctly (since it starts
without errors), and I have configured an AJP13 connector in server.xml. I
have also created a workers.properties where the properties are set for the
ajp13 worker. Apache and Tomcat both start without errors, but when a
request is made, it just times out.
 
The following error appears in catalina.log:
 
java.lang.NoSuchMethodError: java.net.Socket: method setKeepAlive(Z)V not
found at org.apache.ajp.tomcat4.Ajp13Connector.run(Compiled Code) at
java.lang.Thread.run(Thread.java:479)
 
Thanks for your help.
-OGG

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




RE: mod_webapp: redirects to ServerName

2002-01-18 Thread Oli Gauti Gudmundsson

 If I point my browser to http://www.mydomain.com 
 http://www.mydomain.com , Apache redirects me to 
 http://123.45.67.89/index.jsp http://123.45.67.89/index.jsp , where 
 123.45.67.89 is the IP address of the server running the application, 
 and is set as the ServerName in httpd.conf.

 And what is strange here? Apache recognized www.mydomain.com as an alias
fo a sort and issued a redirect to what he considered to be the real URL.

What is strange here is that this did not happen before I upgraded to
mod_webapp. Also, when you have many domain names pointing to the same IP
address, you do not want all of them to be redirected. For example, if a
user inputs http://www.mydomain2.com in his browser address window, we dont
want the address to be changed to 123.45.67.89.

 If I change the ServerName in httpd.conf to www.mydomain.com 
 http://www.mydomain.com , then the opposite happens (that is, if I 
 point the browser to 123.45.67.89 I get redirected to 
 www.mydomain.com/index.jsp http://www.mydomain.com/index.jsp ).

 Yup.

Here I am showing that this problem is directly connected to the value of
the ServerName. It seems that mod_webapp redirects all requests to the
ServerName.

 Now the strange thing is, that if I type the full path (with the 
 /index.jsp at the end), then no redirection occurs.

 Of course not. If you type http://www.mydomain.com/ you shouldn't see
redirection. You're getting redirected because of that last slash in the URL
and it is normal for Apache and web servers in general.

That's where you are wrong my friend...again. A slash at the end IS NOT
SUFFICIENT. I have to type THE FULL PATH to not be redirected.

 This is a problem for me because I have multiple domain names pointing 
 to the IP address, and the user is always redirected to the IP 
 address, which is unacceptable.

 And have you defined multiple VirtualHost-s? Of course you haven't. Read
Apache docs on Virtual Hosts.

 Nix.

Once again, you are wrong. I have tried defining VirtualHosts, and that
worked partly, but that is not an acceptable solution for me. Let me explain
why. My webapp displays different content depending on the hostname, and one
of the requirements for the webapp is that when more domain names are added
(all pointing to the same IP address), no configuration or restart should
have to be done in Apache or Tomcat. You should just have to tell the webapp
to recognize it.

OGG

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




mod_webapp: redirects to ServerName

2002-01-17 Thread Oli Gauti Gudmundsson

Hi guys.
I've installed Tomcat4 with Apache through mod_webapp, and it works.
However, I have the following problem:
 
If I point my browser to http://www.mydomain.com http://www.mydomain.com ,
Apache redirects me to http://123.45.67.89/index.jsp
http://123.45.67.89/index.jsp , where 123.45.67.89 is the IP address of
the server running the application, and is set as the ServerName in
httpd.conf.
 
If I change the ServerName in httpd.conf to www.mydomain.com
http://www.mydomain.com , then the opposite happens (that is, if I point
the browser to 123.45.67.89 I get redirected to www.mydomain.com/index.jsp
http://www.mydomain.com/index.jsp ).
 
Now the strange thing is, that if I type the full path (with the
/index.jsp at the end), then no redirection occurs.
 
This is a problem for me because I have multiple domain names pointing to
the IP address, and the user is always redirected to the IP address, which
is unacceptable.
 
Has anyone experienced this problem, or even better, solved it?
 
Thx for your help.
-OGG



RE: mod_webapp: redirects to ServerName, mod_jk hangs

2002-01-17 Thread Oli Gauti Gudmundsson

Thanks for your response Nick.
I tried using mod_jk, but wasn't able to get it working. I built mod_jk.so
without errors, and put it into the $APACHE_HOME/libexec folder. I created
mod_jk.conf, and workers.properties. Then I included mod_jk.conf in
httpd.conf, and Apache started up without errors:

[Thu Jan 17 14:52:22 2002] [notice] Apache/1.3.9 (Unix) mod_jk/1.1.0
configured -- resuming normal operations

I added a AJP13 connector in $TOMCAT_HOME/conf/server.xml, and Tomcat also
started up without errors.

But when I made a request through the browser, it just timed out. When I
checked the logs, there was a small stacktrace in catalina.log:

java.lang.NoSuchMethodError: java.net.Socket: method setKeepAlive(Z)V not
found
at org.apache.ajp.tomcat4.Ajp13Connector.run(Compiled Code)
at java.lang.Thread.run(Thread.java:479)

And the mod_jk.log says:

[Thu Jan 17 15:08:55 2002]  [jk_ajp13.c (403)]: Into ajp13_marshal_into_msgb
[Thu Jan 17 15:08:55 2002]  [jk_ajp13.c (537)]: ajp13_marshal_into_msgb -
Done
[Thu Jan 17 15:08:55 2002]  [jk_connect.c (108)]: Into jk_open_socket
[Thu Jan 17 15:08:55 2002]  [jk_connect.c (115)]: jk_open_socket, try to
connect socket = 9
[Thu Jan 17 15:08:55 2002]  [jk_connect.c (124)]: jk_open_socket, after
connect ret = 0
[Thu Jan 17 15:08:55 2002]  [jk_connect.c (132)]: jk_open_socket, set
TCP_NODELAY to on
[Thu Jan 17 15:08:55 2002]  [jk_connect.c (140)]: jk_open_socket, return, sd
= 9
[Thu Jan 17 15:08:55 2002]  [jk_ajp13_worker.c (189)]: In
jk_endpoint_t::connect_to_tomcat, connected sd = 9
[Thu Jan 17 15:08:55 2002]  [jk_ajp13_worker.c (206)]: sending to ajp13 #337
[Thu Jan 17 15:08:55 2002]  [jk_ajp13_worker.c (645)]: send_request 2:
request body to send 0 - request body to resend 0

And there it just hangs

Has anyone experienced this problem??
Can anyone tell me exactly how to configure server.xml for use with mod_jk
??

My system information is following:
Tomcat 4.01
Apache 1.3.9
JDK 1.2
OS: Solaris 7

Thx for your help.
-OGG

-Original Message-
From: Nicholas Ide [mailto:[EMAIL PROTECTED]] 
Sent: 17. janúar 2002 14:33
To: [EMAIL PROTECTED]
Subject: Re: mod_webapp: redirects to ServerName



Oli,

My problem (encodeURL bug) is related.  If *all* you care about is getting
the hostname corrected and if you're not worried about changing ports, then
I believe switching from mod_webapp to mod_jk will solve your problem.  

It is fairly easy to get mod_jk working under tomcat 3.x -- 
and then you can copy/edit the configuration files
over to your tomcat 4.x configuration and add the connector into servlet.xml

-Nick

Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Post: mailto:[EMAIL PROTECTED]
List-Id: Tomcat Users List tomcat-user.jakarta.apache.org
Delivered-To: mailing list [EMAIL PROTECTED]
From: Oli Gauti Gudmundsson [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: mod_webapp: redirects to ServerName
Date: Thu, 17 Jan 2002 13:45:23 -
MIME-Version: 1.0
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N

Hi guys.
I've installed Tomcat4 with Apache through mod_webapp, and it works. 
However, I have the following problem:
 
If I point my browser to http://www.mydomain.com 
http://www.mydomain.com , Apache redirects me to 
http://123.45.67.89/index.jsp http://123.45.67.89/index.jsp , where 
123.45.67.89 is the IP address of the server running the application, 
and is set as the ServerName in httpd.conf.
 
If I change the ServerName in httpd.conf to www.mydomain.com 
http://www.mydomain.com , then the opposite happens (that is, if I 
point the browser to 123.45.67.89 I get redirected to 
www.mydomain.com/index.jsp http://www.mydomain.com/index.jsp ).
 
Now the strange thing is, that if I type the full path (with the 
/index.jsp at the end), then no redirection occurs.
 
This is a problem for me because I have multiple domain names pointing 
to the IP address, and the user is always redirected to the IP address, 
which is unacceptable.
 
Has anyone experienced this problem, or even better, solved it?
 
Thx for your help.
-OGG


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

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




mod_jk with Tomcat 4.01 -- hangs

2002-01-17 Thread Oli Gauti Gudmundsson

Hi.
I'm trying to use mod_jk with Tomcat 4.01 (could not use mod_webapp because
of host name problems).
I'm going mad, because the connection just hangs, and I cannot locate an
error.
 
I've build the mod_jk.so without errors.
I've added the LoadModule and AddModule directives for mod_jk to httpd.conf.
I've added an include directive for mod_jk.conf to httpd.conf
I've created a workers.properties file from Tomcat 3.2 distribution.
Apache configtest returns Syntax OK.
Apache starts up without errors:
 
[Thu Jan 17 17:41:12 2002] [notice] Apache/1.3.9 (Unix) mod_jk/1.1.0
configured -- resuming normal operations
 
I've added an AJP13 connector to my server.xml:
 
!-- AJP13 Connector --
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8049 minProcessors=5 maxProcessors=75
acceptCount=10 debug=2 connectionTimeout=0 /
 
I made sure that the port number is the same as in workers.properties.
Tomcat starts without errors.
 
But when I make a request, it just hangs, and eventually times out.
The catalina.log shows the following error:
 
Starting service Tomcat-Apache
Apache Tomcat/4.0.1
java.lang.NoSuchMethodError: java.net.Socket: method setKeepAlive(Z)V not
found
at org.apache.ajp.tomcat4.Ajp13Connector.run(Compiled Code)
at java.lang.Thread.run(Thread.java:479)

And the mod_jk log shows the following:
 
[Thu Jan 17 17:42:40 2002]  [jk_ajp13.c (403)]: Into ajp13_marshal_into_msgb
[Thu Jan 17 17:42:40 2002]  [jk_ajp13.c (537)]: ajp13_marshal_into_msgb -
Done
[Thu Jan 17 17:42:40 2002]  [jk_connect.c (108)]: Into jk_open_socket
[Thu Jan 17 17:42:40 2002]  [jk_connect.c (115)]: jk_open_socket, try to
connect socket = 9
[Thu Jan 17 17:42:40 2002]  [jk_connect.c (124)]: jk_open_socket, after
connect ret = 0
[Thu Jan 17 17:42:40 2002]  [jk_connect.c (132)]: jk_open_socket, set
TCP_NODELAY to on
[Thu Jan 17 17:42:40 2002]  [jk_connect.c (140)]: jk_open_socket, return, sd
= 9
[Thu Jan 17 17:42:40 2002]  [jk_ajp13_worker.c (189)]: In
jk_endpoint_t::connect_to_tomcat, connected sd = 9
[Thu Jan 17 17:42:40 2002]  [jk_ajp13_worker.c (206)]: sending to ajp13 #328
[Thu Jan 17 17:42:40 2002]  [jk_ajp13_worker.c (645)]: send_request 2:
request body to send 0 - request body to resend 0
 
What can possibly be wrong? 
My mod_jk.conf looks like this:
 
JkWorkersFile /usr/local/tomcat/vyrecl/conf/workers.properties
JkLogFile /usr/local/tomcat/vyrecl/logs/mod_jk.log
JkLogLeveldebug
 
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
 
System info:
Tomcat 4.01
Apache 1.3.9
JDK 1.2
OS: Solaris 7

Thanks for your help.
-OGG



Tomcat 4.01 + Apache 1.3 + mod_webapp: problem with root context

2002-01-16 Thread Oli Gauti Gudmundsson

Hey everyone.
I've been looking for a solution to my problem for two days now, scanning
through the archives without any luck. So, I'm hoping someone here can help
me.
 
Following are the specs of my system:
 
Tomcat 4.01
Apache 1.3
JDK 1.2
Solaris 7
 
I built Apache and mod_webapp, and Tomcat now successfully serves up dynamic
content through Apache.
 
Before I can describe the problem, I'll have to give you some background
information. 
 
The first thing you need to know, is that I have a number of domain names
all pointing to the same IP address (server1.mydomain.com,
server2.mydomain.com, etc.). Apache listens on that IP address, and the same
web application serves all those domain names. The thing is that my web
application responds differently to the different domain names. For example
if the user goes to server1.mydomain.com in his browser, he gets a different
looking page than if he would go to server2.mydomain.com. The web
application selects the right content by reading the hostname.
 
The second thing you need to know, is that the webapp runs in the root
context.
 
Now, I've put the following lines into my httpd.conf:
 
WebAppConnection conn warp localhost:8044
WebAppDeploy mywebapp conn /

(and yes, I deliberately changed the warp port to 8044 for reasons that are
not the subject of this discussion). Also the ServerName in httpd.conf is
set to the IP address of the server.
 
Let's say that my IP address is 123.45.67.89. Now, if I point my browser to
http://123.45.67.89 http://123.45.67.89 , the webapplication serves up
dynamic content. But if I point it to http://server1.mydomain.com
http://server1.mydomain.com  (which is pointing to 123.45.67.89), it
redirects me to http://123.45.67.89 http://123.45.67.89 . The same goes
for server2.mydomain.com, etc. 
 
And things get even stranger. If I include the index.jsp in the path, then
the server does not redirect!!! That is, if I point the browser to
http://server1.mydomain.com/index.jsp
http://server1.mydomain.com/index.jsp  (appending the /index.jsp), then
Apache does not redirect and the webapp can serve the correct content.
 
This just started to happen after I upgraded Tomcat from 3.2 using mod_jserv
to Tomcat 4.01 using mod_webapp.
 
I know that you can add virtual hosts in httpd.conf, but that is an
unacceptable solution for me, because the httpd.conf should not be edited if
a new domain name is added.
 
I need some workaround for this, so that the hostname that the user inputs
stays the same.
 
If you can think of a solution, please bear in mind that it must fulfill the
following requirements:
 
1. The webapp MUST run in the root context.
2. The Apache httpd.conf SHOULD NOT HAVE TO BE EDITED if a new domain name
pointing to the IP address of the server is added.
 
Any help is greatly appreciated.
 
Gauti.



RE: Frames and Apache/mod_jk

2001-07-23 Thread oLi

Insterestingly, what I just found out is that when I
send the request to https://host:443/foo/servlet it
works well, too, whereas with https://host/foo/servlet
I get my login page in every one of the 3 frames. This
makes me doubt it's a flaw in my app's logic but
rather some SSL misconfiguration, I just can't figure
out what causes it.

oLi 

 --- Michael Weissenbacher
[EMAIL PROTECTED] schrieb:  sounds much
like you have some data in your servlet
 object. if there are
 multiple requests, you must consider that it's
 always the SAME servlet
 object that has to handle it. so if you are
 declaring fields in your servlet
 you must be very careful with serialisation. so it's
 best to not use it at
 all. maybe with apache and mod_jk it's just more
 likely that the requests
 are handeled concurrently.
 
 michael
 
 -Original Message-
 From: oLi [mailto:[EMAIL PROTECTED]]
 Sent: Monday, July 23, 2001 3:58 PM
 To: Tomcat-User
 Subject: Frames and Apache/mod_jk
 
 
 Hi all,
 
 I've run into a weird behaviour of my app: my
 application consists of a frameset with 3 frames.
 When
 I access it directly via Tomcat's HTTP port it works
 great. But when I go in via Apache/mod_jk, after
 logging in, it sometimes displays the same content
 (my
 login page) in all frames. Sometimes it successfully
 logs in but opens a new window for every frame. This
 is primarily with Netscape, but also happens under
 certain circumstances with IE. I think it may have
 something to do in which order the webserver sends
 the
 responses back to the client, and whether at the
 time
 the first response arrives a session object has
 already been created or not. Now I'm wondering why
 it
 works well with Tomcat directly but not with Apache.
 
 I have browsed through the archive but couldn't
 really
 find any similar case. Any comments will be greatly
 appreciated!!
 
 oLi
 
 

__
 Do You Yahoo!?
 Gesendet von Yahoo! Mail - http://mail.yahoo.de 

__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de



AW: Charset Problem?

2001-05-22 Thread oLi

I'm having the same problem: Cocoon web app running on
NT4.0, Tomcat 3.2.1, IIS 4.0 in our intranet. When I
enter umlauts into a form they get all scrambled up,
however, today I have noticed that when I do it with
Opera, it works fine. It also works perfectly when I
use another web server. I'm not sure if it really is a
problem with the redirector. Does anybody have a clue?

oLi

-Ursprüngliche Nachricht-
Von: Andreas Schlegel
[mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 26. April 2001 11:57An:
[EMAIL PROTECTED]
Betreff: Charset Problem?Hi,
does anyone know this problem. Having an HTML form the
user may type
words like 'Köln' (ö - special german character). In
one case the
server receives the parameter 'Köln', in the other
case it receives only'K'.
On the other hand the server has no problem to build +
send HTML pages
that contain words like 'Köln'.
The Browser is always the same (i.e. Opera 5.0, IE
4.0).
The application is the same.
Could it be a charset problem? But I think by default,
a server parses
parameters using the common Latin-1 (ISO 8859-1)
charset. That works for
Western European languages.Works::
Configuration: Tomcat 3.2.1, MS-SQL 7, NT 4, runing in
intranetDoesn't work:
Configuration: Tomcat 3.2.1 as in-process addon with
IIS 4, MS-SQL 7, NT
4, runing in internetGreetings,Andreas


__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de



Re: AW: Charset Problem?

2001-05-22 Thread oLi

It is not a bug in the redirector, it just depends on
the HTML Doctype tag, the language part just has to be
DE in my case. Works fine now.

--- oLi [EMAIL PROTECTED] schrieb:  I'm having the
same problem: Cocoon web app running
 on
 NT4.0, Tomcat 3.2.1, IIS 4.0 in our intranet. When I
 enter umlauts into a form they get all scrambled up,
 however, today I have noticed that when I do it with
 Opera, it works fine. It also works perfectly when I
 use another web server. I'm not sure if it really is
 a
 problem with the redirector. Does anybody have a
 clue?
 
 oLi
 
 -Ursprüngliche Nachricht-
 Von: Andreas Schlegel
 [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 26. April 2001 11:57An:
 [EMAIL PROTECTED]
 Betreff: Charset Problem?Hi,
 does anyone know this problem. Having an HTML form
 the
 user may type
 words like 'Köln' (ö - special german character).
 In
 one case the
 server receives the parameter 'Köln', in the other
 case it receives only'K'.
 On the other hand the server has no problem to build
 +
 send HTML pages
 that contain words like 'Köln'.
 The Browser is always the same (i.e. Opera 5.0, IE
 4.0).
 The application is the same.
 Could it be a charset problem? But I think by
 default,
 a server parses
 parameters using the common Latin-1 (ISO 8859-1)
 charset. That works for
 Western European languages.Works::
 Configuration: Tomcat 3.2.1, MS-SQL 7, NT 4, runing
 in
 intranetDoesn't work:
 Configuration: Tomcat 3.2.1 as in-process addon with
 IIS 4, MS-SQL 7, NT
 4, runing in internetGreetings,Andreas
 
 

__
 Do You Yahoo!?
 Gesendet von Yahoo! Mail - http://mail.yahoo.de



__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de



Re: New Tomcat User - Install Problems

2001-05-22 Thread oLi

Might be a typo in your Classpath, there's a slash
missing, and I guess that's why Tomcat can't find some
classes that come with the JDK.

 at\lib\xml.jar;c:\jdk1.3\lib;c:jdk1.3\lib\tools.jar
   ^^^

hope that helps,
oLi 

--- Sarkar, Indra [EMAIL PROTECTED] schrieb:  Hi,
 
 i'm trying to run Tomcat 3.2.1 under Windows 2000
 professional.
 
 i've installed it to c:\tomcat and set TOMCAT_HOME
 to this directory.
 
 i've set JAVA_HOME to c:\jdk1.3
 
 i use startup.bat to run tomcat -
 
   C:\tomcat\binstartup
   Including all jars in c:\tomcat\lib in your
 CLASSPATH.
 
   Using CLASSPATH:

c:\tomcat\classes;c:\tomcat\lib\ant.jar;c:\tomcat\lib\dt.jar;c:\tomcat\lib\j

asper.jar;c:\tomcat\lib\jaxp.jar;c:\tomcat\lib\parser.jar;c:\tomcat

\lib\servlet.jar;c:\tomcat\lib\tools.jar;c:\tomcat\lib\webserver.jar;c:\tomc
 at\lib\xml.jar;c:\jdk1.3\lib;c:jdk1.3\lib\tools.jar
 
   Starting Tomcat in new window
   C:\tomcat\bin
 
 and the console shows:
 
 2001-05-22 12:39:15 - ContextManager: Adding context
 Ctx( /examples )
 Starting tomcat. Check logs/tomcat.log for error
 messages
 2001-05-22 12:39:15 - ContextManager: Adding context
 Ctx( /admin )
 2001-05-22 12:39:15 - ContextManager: Adding context
 Ctx(  )
 2001-05-22 12:39:15 - ContextManager: Adding context
 Ctx( /test )
 2001-05-22 12:39:15 - PoolTcpConnector: Starting
 HttpConnectionHandler on
 8080
 2001-05-22 12:39:15 - PoolTcpConnector: Starting
 Ajp12ConnectionHandler on
 8007
 
 
 All the static html can be accessed fine. However,
 aside from the RequestXXX
 servlets that come with the install, nothing (JSPs
 or servlets) will
 execute. In my browser I get the error:
 
 Error: 500
 Location: /examples/jsp/dates/date.jsp
 Internal Servlet Error:
 java.lang.NoSuchMethodError
   at

org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:28
 1)
   at

org.apache.tomcat.core.Handler.service(Handler.java:286)
   at

org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
   at

org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1147)
   at

org.apache.tomcat.core.Handler.service(Handler.java:311)
   at

org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
   at

org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
 7)
   at

org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
   at

org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
 onnectionHandler.java:210)
   at

org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
   at

org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
   at java.lang.Thread.run(Thread.java:484)
 
 
 and the console shows:
 
 2001-05-22 01:05:30 - Ctx( /examples ):
 JasperException: R( /examples +
 /jsp/dates/date.jsp + null)
 Cannot read file: \jsp\dates\date.jsp
 2001-05-22 01:05:30 - Ctx( /examples ): Exception
 in: R( /examples +
 /jsp/dates/date.jsp + null) - j
 ava.lang.NoSuchMethodError
 at

org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:28
 1)
 at

org.apache.tomcat.core.Handler.service(Handler.java:286)
 at

org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at

org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1147)
 at

org.apache.tomcat.core.Handler.service(Handler.java:311)
 at

org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at

org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
 7)
 at

org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at

org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
 onnectionHand
 ler.java:210)
 at

org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at

org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)
 
 Can you suggest what I should do?
 
 
 Indra
 
 


__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de



Strange isapi_redirect error on NT

2001-05-21 Thread oLi

Hi all,

a couple of weeks ago someone else already asked this
question but didn't get any response:

I'm running Tomcat 3.2.1 with IIS 4.0 on NT and my
isapi.log shows the following messages only with log
level error, but neither when selecting info or
debug:

[jk_isapi_plugin.c (261)]:
jk_ws_service_t::start_response, ServerSupportFunction
failed
[jk_ajp12_worker.c (570)]: ajpv12_handle_response,
error starting response
[jk_isapi_plugin.c (554)]: HttpExtensionProc error,
service() failed
[jk_isapi_plugin.c (355)]: jk_ws_service_t::write,
WriteClient failed
[jk_ajp12_worker.c (596)]: ajpv12_handle_response,
error writing back to server

Everything on my app (cocoon based) works fine, except
that special characters (German Umlauts) are
converted to some scrambled stuff when submitted from
a form. The same application works fine with Apache
though, and without such problems.

I suspect this to be some issue related to port
configuration since IIS is listening on port 81, but
my config files seem to be correct.

I greatly appreciate any hints because I just can't
figure out what's going on.

Thanx,
oLi

__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de



Re: Images not showing on Win2000

2001-05-21 Thread oLi

I get the same under NT. Obviously it is a bug, when I
have my static content served by IIS it works fine.

oLi

--- Eric Lubin [EMAIL PROTECTED] schrieb:  Can
someone running Jakarta Tomcat 3.2.1  on Windows
 2000 test this for me?
 Maybe it's a bug and i'll post it to the dev list.
 
 Create a new directory
 Put 2 JPG images in it, or the same one renamed. 
 Name one hello.jpg and
 the other hello test.jpg (WITH THE SPACE)
 Now point your browser at that directory and let
 Tomcat build the page for
 you.
 Click on both images
 
 In my case, only the first one will display.  The
 second will give a 404
 page not found error.
 
 Eric Lubin
 [EMAIL PROTECTED]
 


__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de