Re: SSL on tomcat + jk2 + apache2 + RedHat

2005-11-10 Thread Gangaa D
Dear Reynir Hubner,
Thank you reply our msg.

We have configured jk2 for apache2+tomcat5.
So I mean jk2 does not provide SSL. Is this correct?




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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



tomcat response on Linux is very slow for clients behind proxy server

2005-11-10 Thread faria hassan
Hi,
I'm running Tomcat5.0.26 (as it comes bundled with JBoss) on Fedora Linux
2.6.12-1.1381_FC3smp. I'm having the strangest problem. For users behind a
proxy and making requests over Http1.0, the response time is very slow.
However, for clients who are not behind a proxy server, the response time is
excellent. The same version of Tomcat on Windows XP has excellent response
time.
I'm having a very difficult time determining whether this is a Linux issue
or Tomcat .
Please help.
Faria


RE: Tomcat connector for IIS 5.1 error executing servlet example

2005-11-10 Thread Goay Zee Ling \(ACM/MIS\)
Hi. May I have sample workers.properties file that manage to execute all
the servlets examples  provided by tomcat?

I am using tomcat 5.0.28, IIS5 on WinXP Pro, isapi_dll(1.2.14.0,Nov 2005
release). 

Appreciate any help. 

-Original Message-
From: Goay Zee Ling (ACM/MIS) [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 11, 2005 8:46 AM
To: Tomcat Users List
Subject: RE: Tomcat connector for IIS 5.1 error executing servlet
example

Hi.

Reynir, I am not too sure about the worker2.properties setting on your
website. What is status? What is channel? I manage to execute "Get
request" servlet example but not "Post Request" servlet example. 

This is my setting:

# workers.properties -
workers.tomcat_home=C:\Tomcat5
workers.java_home=D:\j2sdk1.4.2_09
ps=\
worker.list=ajp12, ajp13
worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp13
worker.ajp12.lbfactor=1

worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp12, ajp13

worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.ja
r
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classi
c$(ps)jvm.dll
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.st
dout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.st
derr

Thank you.
-Original Message-
From: Reynir Hubner [mailto:[EMAIL PROTECTED]
Sent: Friday, November 11, 2005 12:11 AM
To: Tomcat Users List
Subject: Re: Tomcat connector for IIS 5.1 error executing servlet
example

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,
First Gangaa D., I think since java is platform independant this is
not a good answer to a query like this. Installing Linux or FreeBSD does
not solve all problems by it self. Linux is fine when you know how to
work around it, if you do not know anything about linux, you are better
off with windows.

I suggest the ISAPI_redirector is not configured correctly.

I have few old (and some very old) pages on the subject on my website,
but to my knowledge they still work. So check it out, it might help:

http://www.reynir.net/java/greinar/

yes it works, hope it helps.
- -reynir


Gangaa D wrote:
> You should use Linux or FreeBSD that is more robust.
> 
> --- "Goay Zee Ling (ACM/MIS)" <[EMAIL PROTECTED]>
> wrote:
> 
> 
>>Hi. I have some problem executing servlet examples provided in tomcat 
>>using the tomcat connector.
>> 
>>I am using tomcat 5.0.28, IIS 5.1 and just manage to install 
>>isapi_redirect.dll.
>> 
>>I manage to execute the servlet examples using 
>>http://localhost:8080/servlet-examples, thru tomcat directly.
>> 
>>I manage to view
>>http://localhost/servlet-examples/index.html, but i can't execute the 
>>servlet examples. there's one request parameters example. When i click

>>on "Submit Query", the next page show "The page cannot be displayed".
>> 
>>I checked the isapi.log file, it shows:
>>[/servlets-examples/servlet/RequestParamExample] is a servlet url - 
>>should redirect to ajp13 Maintaining worker ajp13 jk_worker.c (111):
>>found a worker ajp13 jk_isapi_plugin.c (1018): got a worker for name
>>ajp13
>>jk_ajp_common.c (2131): acquired connection cache slot=0 
>>jk_ajp_common.c (566): ajp marshaling done jk_ajp_common.c (1670):
>>processing with 3 retries jk_connect.c (328): socket TCP_NODELAY set 
>>to On jk_connect.c (426): trying to connect socket 1912 to
>>127.0.0.1:8009
>>jk_connect.c (452): socket 1912 connected to
>>127.0.0.1:8009
>>jk_ajp_common.c (864): Connected socket 1912 to 
>>(127.0.0.1:8009)jk_ajp_common.c (909): sending to
>>ajp13 pos=4 len=564
>>max=8192
>>
>>jk_ajp_common.c (1261): request body to send 28 - request body to 
>>resend 0 [error] jk_isapi_plugin.c (604): ReadClient failed with 
>>274c jk_ajp_common.c (1118): Receiving data from client failed.
>>Connection aborted or network problems jk_ajp_common.c (1741): Sending

>>request to tomcat failed, because of client error without recovery in 
>>send loop 0 jk_isapi_plugin.c (1031): service() returned OK 
>>jk_ajp_common.c (2074): recycling connection cache slot=0 for worker
>>ajp13
>>
>>and the stdout.log shows:
>>org.apache.jk.common.ChannelSocket processConnection
>>WARNING: processCallbacks status 2
>>org.apache.jk.common.HandlerRequest invoke
>>SEVERE: Error decoding request
>>java.io.IOException
>> at
>>
> 
> org.apache.jk.common.JkInputStream.receive(JkInputStream.java:252)
> 
>> at
>>
> 
> org.apache.jk.common.HandlerRequest.decodeRequest(HandlerRequest.java:
> 50
> 
>>0)
>> at
>>
> 
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:352)
> 
>> at
>>
> 
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
> 
>> at
>>
> 
>
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
> 
>>675)
>> at
>>
> 
> org.apache.jk.common.SocketConnection.runIt(ChannelSocket.jav

RE: Tomcat connector for IIS 5.1 error executing servlet example

2005-11-10 Thread Goay Zee Ling \(ACM/MIS\)
Hi.

Reynir, I am not too sure about the worker2.properties setting on your
website. What is status? What is channel? I manage to execute "Get
request" servlet example but not "Post Request" servlet example. 

This is my setting:

# workers.properties -
workers.tomcat_home=C:\Tomcat5
workers.java_home=D:\j2sdk1.4.2_09
ps=\
worker.list=ajp12, ajp13
worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp13
worker.ajp12.lbfactor=1

worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp12, ajp13

worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.ja
r
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classi
c$(ps)jvm.dll
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.st
dout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.st
derr

Thank you.
-Original Message-
From: Reynir Hubner [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 11, 2005 12:11 AM
To: Tomcat Users List
Subject: Re: Tomcat connector for IIS 5.1 error executing servlet
example

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,
First Gangaa D., I think since java is platform independant this is
not a good answer to a query like this. Installing Linux or FreeBSD does
not solve all problems by it self. Linux is fine when you know how to
work around it, if you do not know anything about linux, you are better
off with windows.

I suggest the ISAPI_redirector is not configured correctly.

I have few old (and some very old) pages on the subject on my website,
but to my knowledge they still work. So check it out, it might help:

http://www.reynir.net/java/greinar/

yes it works, hope it helps.
- -reynir


Gangaa D wrote:
> You should use Linux or FreeBSD that is more robust.
> 
> --- "Goay Zee Ling (ACM/MIS)" <[EMAIL PROTECTED]>
> wrote:
> 
> 
>>Hi. I have some problem executing servlet examples provided in tomcat 
>>using the tomcat connector.
>> 
>>I am using tomcat 5.0.28, IIS 5.1 and just manage to install 
>>isapi_redirect.dll.
>> 
>>I manage to execute the servlet examples using 
>>http://localhost:8080/servlet-examples, thru tomcat directly.
>> 
>>I manage to view
>>http://localhost/servlet-examples/index.html, but i can't execute the 
>>servlet examples. there's one request parameters example. When i click

>>on "Submit Query", the next page show "The page cannot be displayed".
>> 
>>I checked the isapi.log file, it shows:
>>[/servlets-examples/servlet/RequestParamExample] is a servlet url - 
>>should redirect to ajp13 Maintaining worker ajp13 jk_worker.c (111): 
>>found a worker ajp13 jk_isapi_plugin.c (1018): got a worker for name
>>ajp13
>>jk_ajp_common.c (2131): acquired connection cache slot=0 
>>jk_ajp_common.c (566): ajp marshaling done jk_ajp_common.c (1670): 
>>processing with 3 retries jk_connect.c (328): socket TCP_NODELAY set 
>>to On jk_connect.c (426): trying to connect socket 1912 to
>>127.0.0.1:8009
>>jk_connect.c (452): socket 1912 connected to
>>127.0.0.1:8009
>>jk_ajp_common.c (864): Connected socket 1912 to 
>>(127.0.0.1:8009)jk_ajp_common.c (909): sending to
>>ajp13 pos=4 len=564
>>max=8192
>>
>>jk_ajp_common.c (1261): request body to send 28 - request body to 
>>resend 0 [error] jk_isapi_plugin.c (604): ReadClient failed with 
>>274c jk_ajp_common.c (1118): Receiving data from client failed. 
>>Connection aborted or network problems jk_ajp_common.c (1741): Sending

>>request to tomcat failed, because of client error without recovery in 
>>send loop 0 jk_isapi_plugin.c (1031): service() returned OK 
>>jk_ajp_common.c (2074): recycling connection cache slot=0 for worker
>>ajp13
>>
>>and the stdout.log shows:
>>org.apache.jk.common.ChannelSocket processConnection
>>WARNING: processCallbacks status 2
>>org.apache.jk.common.HandlerRequest invoke
>>SEVERE: Error decoding request
>>java.io.IOException
>> at
>>
> 
> org.apache.jk.common.JkInputStream.receive(JkInputStream.java:252)
> 
>> at
>>
> 
> org.apache.jk.common.HandlerRequest.decodeRequest(HandlerRequest.java:
> 50
> 
>>0)
>> at
>>
> 
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:352)
> 
>> at
>>
> 
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
> 
>> at
>>
> 
>
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
> 
>>675)
>> at
>>
> 
> org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
> 
>> at
>>
> 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo
> ol
> 
>>.java:683)
>> at java.lang.Thread.run(Thread.java:534)
>> 
>>May I know how to correct this problem? Is there any configuration 
>>that i need to set?
>>Or has anyone successfully execute servlet examples using tomcat 
>>connector?
>>Appreciate any help. Thank you.
>> 
>>regards,
>>zl
>>
> 
> 
> 
> 
>   
> _

FW: Could do with some guidance/help

2005-11-10 Thread Richard Tomkins
The problem page was multiple Framesets and it turns out that Apache only
opens a single pipe for the data to come through, so one frame gets sent
back to the browser and the others starve and die. Thus no display and
Internal Server Error.

The solution was to add the following undocumented line to
workers.properties.

worker.ajp13.connection_pool_size=30


>  -Original Message-
> From: Richard Tomkins [HYPERLINK
> "mailto:[EMAIL PROTECTED]"mailto:[EMAIL PROTECTED] 
> Sent: November 9, 2005 9:20 PM
> To:   'users@tomcat.apache.org'
> Subject:  Could do with some guidance/help
> 
> Platform: Windows 200 Pro, Service Pack 4
> Pentium 4, HyperThreaded, 512MB memory.
> 
> Installed software,
> 
> Oracle 10g Release 2, Personal Edition.
> Apache 1.3.33
> J2SDK 1.4.2_10
> Tomcat 4.1.31
> Mod_jk-1.2.14-apache-1.3.33.so
> 
> I have set up Tomcat server.xml with the requisite listeners to have it do
> auto configuration. I a using the ajp13 connector, and I have tried both
> of the configurations for this inside server.xml, the ajp13 on port 8009
> and the coyote/ajp13 on port 8009.
> 
> The Tomact examples all work as well as the administration and management
> tools.
> 
> My problem is that I have an application that I have to install on a
> number of desktops for internal test purposes.
> 
> The application is written in jsp and works with an earlier version of
> Apache and Tomact 3.x.mumble.
> 
> With the implementation I am working with, on the first page I get a
> message that an "Internal Server Error" has occurred. If I right mouse
> click and choose refresh, the expected page shows up on the browser.
> 
> If I do this via, HYPERLINK "HYPERLINK
> "http://localhost:8080/testsoft/index.html"http://localhost:8080/testsoft/
> index.html"http://localhost:8080/testsoft/index.html"http://localhost:8080
> /testsoft/index.html, the display works everytime, unlike my experience
> with HYPERLINK "HYPERLINK
> "http://locahost/testsoft.html"http://locahost/testsoft.html"http://locaho
> st/testsoft.html"http://locahost/testsoft.html which should work. Many web
> pages after do work, and as I said previously, the Tomact examples all
> work with both methods.
> 
> Something between Apache and Tomcat is causing me some pain.
> 
> If anyone has any ideas to throw my way, please do.
> 
> 
> Regards, Richard Tomkins
> 
> 
> 
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.362 / Virus Database: 267.12.8/163 - Release Date: 08/11/2005
>  
> 
-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.8/165 - Release Date: 09/11/2005
 


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



Re: Pointers on setting up Tomcat 5.5x w/MySQL on OS X?

2005-11-10 Thread Len Popp
The official docs are at http://tomcat.apache.org/tomcat-5.5-doc (as
you've already found). I found those docs hard to understand when I
was starting from scratch. Try going through the Setup and First Web
App sections, and then the JDBC config page that I linked before.

There might be a better tutorial somewhere for setting up Tomcat 5.5
and MySQL, but unfortunately I don't have a pointer to one.
--
Len

On 11/10/05, Benjamin Slade <[EMAIL PROTECTED]> wrote:
> Thanks for the info, but one more question..   Where can I find
> documentation on this sort of thing?
>
> Ben Slade
>
> Len Popp wrote:
> > server.xml is the old location for the  but these days it's
> > usually found either in conf/Catalina/[hostname]/[appname].xml or in
> > webapps/[appname]/META-INF/context.xml.
> >
> > Also note that the syntax of  has changed in 5.5. See
> > http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
> > --
> > Len
> >
> > On 11/9/05, Benjamin Slade <[EMAIL PROTECTED]> wrote:
> >
> >> Can someone point me to some resources for setting up Tomcat so that
> >> servlets/JSP's can connect to a local MySQL database?
> >>
> >> ...snip...

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



Re: Pointers on setting up Tomcat w/MySQL on OS X?

2005-11-10 Thread Benjamin Slade

Thanks for the info.  I have a few questions which are embedded below:

André van Toly wrote:

Hi,

Op 9-nov-2005, om 23:07 heeft Benjamin Slade het volgende geschreven:
Can someone point me to some resources for setting up Tomcat so that 
servlets/JSP's can connect to a local MySQL database?


The instructions for configuring Connector/J don't seem to match the 
setup of my tomcat/conf/server.xml file.Specifically, the 
Connector/J web page talks about adding:
Inside the  tag of the conf/server.xml file, but there is no 
 tag in my conf/server.xml.   Should I add one?  Or should I 
add these XML tags to the tomcat/conf/context.xml?   Where can I find 
documentation on the structure of the server.xml and context.xml 
files?   The Apache Tomcat Configuration Reference web page doesn't 
have much and neither does the Database question in the Tomcat FAQ.
Yes, you need to add a context to your [tomcat]/conf/server.xml. For 
example for Tomcat's ROOT context the configuration could look like:


  

  

The ROOT context is the webapp called ROOT :-) which we'll be at 
http://localhost:8080

For the  tag above:

Using the docBase of "ROOT" is only when placing servlets into a single 
ROOT directory, right?   I'd prefer to set things up with a servlet/JSP 
in it's own web application directory, because that's how most app's run 
in real life.


So instead, I'm going to leave out the path="" docBase="ROOT" and I'm 
going to put the  tag into my 
$CATALINA_HOME/webapps//MyApps//WEB-INF/web.xml file, near the end 
(where /MyApps/ is the directory for my test servlet/JSP).   Is this 
correct, will it work?  (The answer seems to be "no".  See below)


On the other hand, if I wanted to add the above  tag to my 
server.xml, where do I add it in the file?   The web page 
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html 
says:
Add this in between the || tag of the examples context and 
the || tag closing the localhost definition. If there is no 
such tag, you can add one as illustrated in the Context 
(http://tomcat.apache.org/tomcat-5.5-doc/config/context.html) and Host 
(http://tomcat.apache.org/tomcat-5.5-doc/config/host.html) 
configuration references, and repeated below for your convenience.
Both of those web pages are involved architecture reference pages, so 
unless I hear from someone else on this mailing list, I'll spend the 
next few hours wading through them.




Your webapp configuration [tomcat]/webapps/ROOT/WEB-INF/web.xml should 
have a reference to the resource and in this example has to look like 
this:


  
DB Connection
jdbc/TestDB
javax.sql.DataSource
Container
  

Now you can try the example at point 4. of the 'MySQL DBCP Example':
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html 



Remember to install the taglib's the example requires. And you should 
of course have a MySQL jdbc driver (f.e. 
mysql-connector-java-3.1.10-bin.jar) installed in [tomcat]/common/lib.
I haven't used taglibs before so I'll have to figure out how to install 
them. 


In the meantime, I tried running the servlet:


<%
   DataSource ds=null;
 Context ctx = new InitialContext();
 if(ctx == null )
 throw new Exception("Boom - No Context");
 ds=(DataSource)ctx.lookup("java:comp/env/jdbc/TestDB");
 if(ds == null )
 throw new Exception("Boom - No Datasource");

Connection conn=ds.getConnection();
Statement stmt=conn.createStatement();
ResultSet rs=stmt.executeQuery("select 'Hello World'");
if (rs.next()){
%><%=rs.getString(1)%><%
}
%>
But I get the error "Cannot create JDBC driver of class '' for connect 
URL 'null'" apparently resulting from the ds.getConnection() call.



Success.

---André 
The Apache Tomcat Configuration Reference: The Context Container web 
page seems to have lots of information, but it seems like a lot of 
reference detail.  I just need a database "Hello World" example.


I'm a newbie so I'm not familiar with the structure/semantics of the 
server.xml and context.xml files.   Also, I haven't gotten around to 
learning how JNDI works.   I was sort of hoping to do a "Hello World" 
database JSP before delving into all of the system guts.


Thanks
Ben Slade



--André van Toly
web http://www.toly.nlmobile +31(0)627233562
-->><<--




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



SSO question

2005-11-10 Thread Klotz Jr, Dennis
Short version:

Can a person use LDAP + JAAS (or third party) to inform a LDAP server
when the user logs out? 


Long version:

Is it possible using LDAP, whether it is using custom JAAS code or a
third party product such as Vintela's VSJ
(http://www.vintela.com/products/vsj/), to do the following:

"... prevent, control or limit the simultaneous active usage of the same
user id. The number of simultaneous active sessions shall be settable
per user id."

The show stopper for me is whether I can inform the LDAP server when the
user has logged out. The default JNDIRealm does not, to my knowledge,
provide that ability. JNDIRealm is just for authenticating and role
retrieval.

Thanks.

-Dennis

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



Re: HTTPS at Tomcat 5.5.12 using keystoreFile and keystorePass variables (windows binary) - found reason

2005-11-10 Thread Rick van der Zwet

Rick van der Zwet schreef:



I changed 'C:\Program Files\Apache Software Foundation\Tomcat 
5.5\conf\server.xml'


   
 keystoreFile="C:\Program Files\Apache Software 
Foundation\Tomcat 5.5\conf\keystore"

  keystorePass="tomcat" /


'There is no easy way for users to find out that https connectors suddently

(with 5.5.12 & native) becomes APR connectors.'

source:  http://issues.apache.org/bugzilla/show_bug.cgi?id=37455

Cheerz,
Rick


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



Re: test

2005-11-10 Thread Rick van der Zwet

Mark Thomas schreef:


Anto Paul wrote:


This mail to [EMAIL PROTECTED] escaped my Gmail filter for
tomcat mail lists. At present I have filters for
users@tomcat.apache.org and [EMAIL PROTECTED] When does
[EMAIL PROTECTED] came into existence ?



The way our mailing lists work, [EMAIL PROTECTED] is equivalent 
to users@tomcat.apache.org


I am pretty sure, but haven't checked that in the same way, 
[EMAIL PROTECTED], is equivalent to 
tomcat-user@jakarta.apache.org and [EMAIL PROTECTED]


However, this doesn't work (anymore?)

<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)


Cheerz,
Rick

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



HTTPS at Tomcat 5.5.12 using keystoreFile and keystorePass variables (windows binary) - unable to get working

2005-11-10 Thread Rick van der Zwet

Hi,

I downloaded (checked md5 sums) and full default installed at up2date 
Windows XP Professional SP2 Computer:

-J2SE Development Kit 5.0 Update 2
-J2SE Runtime Environment 5.0 Update 2
-J2SE Runtime Environment 5.0 Update 4
-Apache Tomcat 5.5.12

Apache Tomcat is using 'C:\Program 
Files\Java\jre1.5.0_04\bin\client\jvm.dll' as Java Virtual Machine and 
logging is set to debug


I started and http://localhost:8080 seems to work fine and of  course 
http://localhost:8443 and https://localhost:8443 are not working


I stopped Apache Tomcat and went to directory 'C:\Program Files\Apache 
Software Foundation\Tomcat 5.5\conf'
There a issued the command "c:\Program 
Files\Java\jdk1.5.0_02\bin\keytool.exe" -genkey -alias tomcat -keyalg 
RSA -validity 1460

-keystore keystore -keypass tomcat -storepass tomcat
and entered at all the questions:
What is your first and last name?
 [Unknown]:  localhost
What is the name of your organizational unit?
 [Unknown]:  beheer
What is the name of your organization?
 [Unknown]:  wzoeterwoude.net
What is the name of your City or Locality?
 [Unknown]:  Zoeterwoude
What is the name of your State or Province?
 [Unknown]:  Zuid Holland
What is the two-letter country code for this unit?
 [Unknown]:  NL
Is CN=localhost, OU=beheer, O=wzoeterwoude.net, L=Zoeterwoude, ST=Zuid 
Holland,

C=NL correct?
 [no]:  yes

I changed 'C:\Program Files\Apache Software Foundation\Tomcat 
5.5\conf\server.xml'


   
 keystoreFile="C:\Program Files\Apache Software 
Foundation\Tomcat 5.5\conf\keystore"

  keystorePass="tomcat" /

Then I started Apache Tomcat again
http://localhost:8080/ still works fine
https://localhost:8443/ will load forever not showing any pages
http://localhost:8443/ however will display the main page immidiately


Looking at the logfiles I noticed no strange things.
Full Logs can be found at http://www.wzoeterwoude.net/~rick/tomcat/logs

I seems to me the https prococol is not called but http protocol is 
called instead.


Cheerz,
Rick van der Zwet






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



Re: http response 304 with content

2005-11-10 Thread Mark Thomas

Axel Bartsch wrote:

I am testing with Apache 2.0.49 and tomcat 5.0.28
 
In my Ethereal Trace (Ethereal running on browser PC) (Tracer:browser client to server) I sometimes see HTTP/1.1 responses 304 (Not Modified).

A message body (content>0) is included in this response.
 
According to HTTP protocol a 304 response MUST NOT contain any content:
 
from HTTP/1.1 protocol (RFC 2616):
If the client has performed a conditional GET request and access is allowed, but the document has not been modified, the server SHOULD respond with this status code. The 304 response MUST NOT contain a message-body, and thus is always terminated by the first empty line after the header fields. 
 
Why does this happen?


This is a known issue. See 
http://issues.apache.org/bugzilla/show_bug.cgi?id=13846



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



Re: test

2005-11-10 Thread Mark Thomas

Anto Paul wrote:

This mail to [EMAIL PROTECTED] escaped my Gmail filter for
tomcat mail lists. At present I have filters for
users@tomcat.apache.org and [EMAIL PROTECTED] When does
[EMAIL PROTECTED] came into existence ?


The way our mailing lists work, [EMAIL PROTECTED] is equivalent 
to users@tomcat.apache.org


I am pretty sure, but haven't checked that in the same way, 
[EMAIL PROTECTED], is equivalent to 
tomcat-user@jakarta.apache.org and [EMAIL PROTECTED]


Mark


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



Re: Filters and content size.

2005-11-10 Thread Mark Thomas

Will Hartung wrote:

First a simple question.

Do Tomcat, or servlet containers in general, set the Content-Size header for
dynamic content?


Tomcat sets it where it can. See 
http://issues.apache.org/bugzilla/show_bug.cgi?id=10541 for a good 
explanation.


Mark


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



Re: CGI and JRE Questions

2005-11-10 Thread Mark Thomas
A number of changes I made to fix CGI servlet issues required a 1.4 
JDK. The CGI servlet is in its own JAR so the easiest solution will be 
to build your own version. I'd suggest basing it on the latest code 
from 5.5.x.


Mark


Randy Schuster wrote:

What JDK are you using?


I am not sure how to verify what JRE/JDK Tomcat or a particular servlet


is


using but I am pretty sure it is

java -version
java version "1.3.1_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_10-b03)




Well, you can see in catalina.sh (or whatever startup script you're
using) how it's identified. If you're unsure I'm going to guess you
at least have a JAVA_HOME environment variable set somewhere. :-)




But wow, that's *really* old. Any chance you could try this with a
more recent (i.e., at least 1.4.2) JVM?




The only way I can use newer anything is if I can install a new Tomcat
instance somewhere else on the box. 


Lots happening on this machine and I can't interfere with anything in place
now. 



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



Ant Deploy to a Subdirectory of appBase

2005-11-10 Thread Kevin C. Dorff
I have my application running as is my Ant script that I use to deploy,
undeploy, redploy to the running server. That is working like a charm when
my deploy path is to the appbase, such as

My context.xml file



WEB-INF/web.xml


Portion of my ant script





This uploads the war file to the server to the "webapps" directory
(appBase). The war file unzips, the META-INF/context.xml is copied to
conf/Catalina/localhost, the application is started, the deploy task passes.
All is happy.

BUT, what we want is to deploy into a subdirectory of appBase named apps (so
deploy path this app to "webapps/apps") so we use





This uploads the war file into "webapps/apps" but never unzips the war file,
never copies the context file, deploy task fails. If I manually unzip the
war and manually copy the context file to the conf/Catalina/localhost
directory as #apps#myapp.xml the application works (and can be undeployed
using ant) but I really want to be able to use the ant deploy task to
install the app. We previously saw Tomcat would look within directories for
war files and handle them, now it seems it won't.

Can anyone point me in the right direction on this? Reading the
documentation for deployment, Host, etc. it suggests tomcat will only maybe
install wars from the appBase directory ("webapps"), but, I know we have
seen it deploy wars from subdirectories before.

Any help greatly appreciated.
Kevin


RE: CGI and JRE Questions

2005-11-10 Thread Randy Schuster

>>>What JDK are you using?
>> 
>> I am not sure how to verify what JRE/JDK Tomcat or a particular servlet
is
>> using but I am pretty sure it is
>> 
>> java -version
>> java version "1.3.1_10"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_10-b03)

>Well, you can see in catalina.sh (or whatever startup script you're
>using) how it's identified. If you're unsure I'm going to guess you
>at least have a JAVA_HOME environment variable set somewhere. :-)

>But wow, that's *really* old. Any chance you could try this with a
>more recent (i.e., at least 1.4.2) JVM?


The only way I can use newer anything is if I can install a new Tomcat
instance somewhere else on the box. 

Lots happening on this machine and I can't interfere with anything in place
now. 


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



Re: session.invalidate() change

2005-11-10 Thread Peter Menzel

Durfee, Bernard schrieb:

It seems that Tomcat is handling session.invalidate() differently now. I
have HttpSessionListeners attached to the session, which need the
sessionId to perform some cleanup when they are unbound from the
session. This was no problem, up until Tomcat 5.5 or so. Now I get this
exception...


I tried the same with Tomcat 5.5.12 and it works fine.


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



Re: upgrading a war file

2005-11-10 Thread Seak, Teng-Fong
   And what is it?  I don't use Web admin so I don't know much about 
it.  Don't you have an FTP access, for example?


Zohar Amir wrote:


I do have access, but not through tomcat's web admin.

- Original Message - From: "Seak, Teng-Fong" 
<[EMAIL PROTECTED]>

To: "Tomcat Users List" 
Sent: Wednesday, November 09, 2005 7:15 PM
Subject: Re: upgrading a war file


   Oops, sorry, I've just noticed that you've written "I do not have 
admin web access to the server".  Mea culpa.  But that's strange.  I 
mean, how did you deploy your webapp for the first time?  You must 
have some kind of access. 
Seak, Teng-Fong wrote:


   Do you have full access to the server machine?  If yes, you could 
just copy and paste the war file inside and wait for several 
seconds.  At least that's how I do it.  If you want to avoid 
potential problem due to class change, maybe stop TC before pasting 
and restart it afterwards.


Zohar Amir wrote:


Hi,
I have a servlet deployed on my tomcat server. What are the options 
of upgrading this servlet (I have a new war file)? Which is the 
best way? What if I do not have admin web access to the server?





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



Re: SSL on tomcat + jk2 + apache2 + RedHat

2005-11-10 Thread Reynir Hubner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

install your SSL key into apache2, and then use mod_jk to comunicate
with tomcat. That way you do not have to install your ssl into tomcat.

hope it helps
- -reynir




Gangaa D wrote:
>  
>  Hi, i have done connector 443 on win32. So I move it
>  to Redhat which is tomcat + jk2 + apache2.
>  
>  But it does not work.
>  What is wrong me?
>  
> 
> 
> 
>   
>   
> __ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDc3mX19KgIQihNwgRAqMHAKDVhrimqXu/hXdNa8JhPwwYC43MOwCg2Y8D
c1RP4AfAOR8gzyCw735nflQ=
=4kcA
-END PGP SIGNATURE-

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



Re: volume transferred statistcis

2005-11-10 Thread Reynir Hubner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

you have http-access-logs, and you should be able to run awstats
(awstats.sf.net) or something similar on it to retrive these
information, in human readable format.

For more detailed "access-logging" you can start the RequestDumperValve
(see docs).

hope it helps
- -reynir



Frederic D wrote:
> Hi,
> 
> Is it possible to obtain statistics about volume
> transferred in a webapp ?
> or just obtain the size of received and send requests.
> 
> Thank you for informations.
> 
> Frederic.
> 
> 
>   
> 
>   
>   
> ___ 
> Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
> Téléchargez cette version sur http://fr.messenger.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDc3j919KgIQihNwgRApQdAKCQ4jE9xH2I6nEIXz+Xhgndl85qXACffvA/
SInVwC1MMb9RrAgKpXM4jq4=
=7e8w
-END PGP SIGNATURE-

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



Re: jsp-compile

2005-11-10 Thread Reynir Hubner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

yes your configuration is not as you want it.
you can edit the $tomcat_home/conf/web.xml to fix this. see
documentation on JSP servlet.

hope it helps
- -reynir


[EMAIL PROTECTED] wrote:
> Hi,
> 
> I use TOMCAT 5.0.28 running on debian.
> 
> My trouble is:
> 
> I have everytime to restart the tomcat, to recompile an existing jsp, that
> has been changed. 
> 
> Is my TOMCAT configuration wrong?
> 
> Thank you,
> 
> And best regards
> 
> 
> Anna Pitaev
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDc3f419KgIQihNwgRAjbgAKC06A4S3zvhIwMDCPQaGKKFon7oaQCghwa1
8Aglsrt8xUI0B7DalUsRh9U=
=xKs9
-END PGP SIGNATURE-

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



Re: CGI and JRE Questions

2005-11-10 Thread Hassan Schroeder
Randy Schuster wrote:

>>What JDK are you using?
> 
> I am not sure how to verify what JRE/JDK Tomcat or a particular servlet is
> using but I am pretty sure it is
> 
> java -version
> java version "1.3.1_10"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_10-b03)

Well, you can see in catalina.sh (or whatever startup script you're
using) how it's identified. If you're unsure I'm going to guess you
at least have a JAVA_HOME environment variable set somewhere. :-)

But wow, that's *really* old. Any chance you could try this with a
more recent (i.e., at least 1.4.2) JVM?

-- 
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

  dream.  code.



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



session.invalidate() change

2005-11-10 Thread Durfee, Bernard
It seems that Tomcat is handling session.invalidate() differently now. I
have HttpSessionListeners attached to the session, which need the
sessionId to perform some cleanup when they are unbound from the
session. This was no problem, up until Tomcat 5.5 or so. Now I get this
exception...

java.lang.IllegalStateException: getId: Session already invalidated
at
org.apache.catalina.session.StandardSession.getId(StandardSession.java:3
28)
at
org.apache.catalina.session.StandardSessionFacade.getId(StandardSessionF
acade.java:78)
at
org.jasig.portal.jndi.JNDIManager$JNDISessionListener.valueUnbound(JNDIM
anager.java:331)
at
org.apache.catalina.session.StandardSession.removeAttributeInternal(Stan
dardSession.java:1607)
at
org.apache.catalina.session.StandardSession.expire(StandardSession.java:
737)
at
org.apache.catalina.session.StandardSession.expire(StandardSession.java:
643)
at
org.apache.catalina.session.StandardSession.invalidate(StandardSession.j
ava:1088)
at
org.apache.catalina.session.StandardSessionFacade.invalidate(StandardSes
sionFacade.java:149)

...which is caused by the valueUnbound() handler calling
event.getSession().getId(). This worked before. Was this an unintended
change in Tomcat funcationality or is there a change in the spec that
caused this behavior to change? It seems like the session should still
give up at least it's ID to valueUnbound() handlers or maybe the
sessionId should be added to the event itself.

Bernie


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



Re: Tomcat connector for IIS 5.1 error executing servlet example

2005-11-10 Thread Reynir Hubner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,
First Gangaa D., I think since java is platform independant this is
not a good answer to a query like this. Installing Linux or FreeBSD does
not solve all problems by it self. Linux is fine when you know how to
work around it, if you do not know anything about linux, you are better
off with windows.

I suggest the ISAPI_redirector is not configured correctly.

I have few old (and some very old) pages on the subject on my website,
but to my knowledge they still work. So check it out, it might help:

http://www.reynir.net/java/greinar/

yes it works, hope it helps.
- -reynir


Gangaa D wrote:
> You should use Linux or FreeBSD that is more robust.
> 
> --- "Goay Zee Ling (ACM/MIS)" <[EMAIL PROTECTED]>
> wrote:
> 
> 
>>Hi. I have some problem executing servlet examples
>>provided in tomcat
>>using the tomcat connector.
>> 
>>I am using tomcat 5.0.28, IIS 5.1 and just manage to
>>install
>>isapi_redirect.dll.
>> 
>>I manage to execute the servlet examples using
>>http://localhost:8080/servlet-examples, thru tomcat
>>directly.
>> 
>>I manage to view
>>http://localhost/servlet-examples/index.html, but i
>>can't execute the servlet examples. there's one
>>request parameters
>>example. When i click on "Submit Query", the next
>>page show "The page
>>cannot be displayed". 
>> 
>>I checked the isapi.log file, it shows:
>>[/servlets-examples/servlet/RequestParamExample] is
>>a servlet url -
>>should redirect to ajp13
>>Maintaining worker ajp13
>>jk_worker.c (111): found a worker ajp13
>>jk_isapi_plugin.c (1018): got a worker for name
>>ajp13
>>jk_ajp_common.c (2131): acquired connection cache
>>slot=0
>>jk_ajp_common.c (566): ajp marshaling done
>>jk_ajp_common.c (1670): processing with 3 retries
>>jk_connect.c (328): socket TCP_NODELAY set to On
>>jk_connect.c (426): trying to connect socket 1912 to
>>127.0.0.1:8009
>>jk_connect.c (452): socket 1912 connected to
>>127.0.0.1:8009
>>jk_ajp_common.c (864): Connected socket 1912 to
>>(127.0.0.1:8009)jk_ajp_common.c (909): sending to
>>ajp13 pos=4 len=564
>>max=8192
>>
>>jk_ajp_common.c (1261): request body to send 28 -
>>request body to resend
>>0
>>[error] jk_isapi_plugin.c (604): ReadClient failed
>>with 274c
>>jk_ajp_common.c (1118): Receiving data from client
>>failed. Connection
>>aborted or network problems
>>jk_ajp_common.c (1741): Sending request to tomcat
>>failed, because of
>>client error without recovery in send loop 0
>>jk_isapi_plugin.c (1031): service() returned OK
>>jk_ajp_common.c (2074): recycling connection cache
>>slot=0 for worker
>>ajp13
>>
>>and the stdout.log shows:
>>org.apache.jk.common.ChannelSocket processConnection
>>WARNING: processCallbacks status 2
>>org.apache.jk.common.HandlerRequest invoke
>>SEVERE: Error decoding request 
>>java.io.IOException
>> at
>>
> 
> org.apache.jk.common.JkInputStream.receive(JkInputStream.java:252)
> 
>> at
>>
> 
> org.apache.jk.common.HandlerRequest.decodeRequest(HandlerRequest.java:50
> 
>>0)
>> at
>>
> 
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:352)
> 
>> at
>>
> 
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
> 
>> at
>>
> 
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
> 
>>675)
>> at
>>
> 
> org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
> 
>> at
>>
> 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> 
>>.java:683)
>> at java.lang.Thread.run(Thread.java:534)
>> 
>>May I know how to correct this problem? Is there any
>>configuration that
>>i need to set?
>>Or has anyone successfully execute servlet examples
>>using tomcat
>>connector?
>>Appreciate any help. Thank you.
>> 
>>regards,
>>zl
>>
> 
> 
> 
> 
>   
> __ 
> 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]
> 
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDc3EG19KgIQihNwgRAnq7AJwPkjuHOY4MYx++jkvOtWIk6Ya9TACeP+Pb
rAeAYjvGrXKgzON9JNUfBm0=
=13Sh
-END PGP SIGNATURE-

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



volume transferred statistcis

2005-11-10 Thread Frederic D
Hi,

Is it possible to obtain statistics about volume
transferred in a webapp ?
or just obtain the size of received and send requests.

Thank you for informations.

Frederic.






___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

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



RE: CGI and JRE Questions

2005-11-10 Thread Randy Schuster
 

>I copied this into my TC 5.5.9/JDK1.5/SuSE Linux dev system and it
>worked fine with either style (or no) parameter.

>What JDK are you using?

I am not sure how to verify what JRE/JDK Tomcat or a particular servlet is
using but I am pretty sure it is

java -version
java version "1.3.1_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_10-b03)
Java HotSpot(TM) Client VM (build 1.3.1_10-b03, mixed mode)



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



Re: Mod_jk Connector

2005-11-10 Thread Seak, Teng-Fong
   Well, he has written that "I have downloaded the following 
application" so that doesn't seem to be legacy.  And normally these 
stuffs work quite independently of hardware apart from performance, but 
the latest Java works quite good in old machines.


   Or at least, if I were he, I would use Tomcat 5.0.x if there's a 
problem on JRE.


Torsten Krah wrote:


Just guessing: They got legacy stuff and want to use it and doesnt have
the man power to upgrade it or development is discarded but their still
users who want to work with it - just a thought.

Afaik 4.1.31 is the latest 4.1.x Tomcat, so its not old. 


Its like FreeBSD 4.X vs 6.X which was released a few days ago, many
users still want to use 4.X because they trust in it.

best regards

Torsten

Am Donnerstag, den 10.11.2005, 13:12 +0100 schrieb Seak, Teng-Fong:
 

   A curious question: I've lots of mails here in which people are 
using old versions of stuffs.  Real old stuffs!  For example, Tomcat 
reaches already 5.5.12.  Why don't you get the latest ones to see it 
works first?


Kaushal Shriyan wrote:

   


I have downloaded the following application

httpd-2.0.49.tar.gz
jakarta-tomcat-4.1.31.tar.gz
jakarta-tomcat-connectors-1.2.15-src.tar.gz

I am able to check http://localhost:8080/index.jsp
and http://localhost

But when I do  http://localhost/examples it says

Not Found

The requested URL /examples was not found on this server.
Apache/2.0.49 (Unix) mod_jk/1.2.15 Server at localhost Port 80

Please help me to resolve this issue

Thanks and regards

Kaushal Shriyan

 




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



Re: Apache Runtime Lib

2005-11-10 Thread Mladen Turk

MarcLap wrote:

I too get this... What am I missing?

My LD_LIBRARY is set to


LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/gcc:/usr/local/apr/lib
export LD_LIBRARY_PATH


INFO: The Apache Portable Runtime which allows optimal performance in
production environments was not found on the java.library.path:




Right, this is somehow misleading message.
It should be:
INFO: The Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path:


Beside APR you will need Tomcat Native, that is JNI wrapper over
OS (using APR) and OpenSSL and allows optimal performance for
the underlaying platform and things like sendfile support if
you need to deliver large static content files, etc...

See
http://tomcat.apache.org/tomcat-5.5-doc/apr.html
for more details.

Regards,
Mladen.

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



Re: Mod_jk Connector

2005-11-10 Thread Giuseppe Briotti
> ==
> Date: Thu, 10 Nov 2005 13:12:33 +0100
> From: "Seak, Teng-Fong" <[EMAIL PROTECTED]>
> To: Tomcat Users List 
> Subject: Re: Mod_jk Connector
> ==
> 
> A curious question: I've lots of mails here in which people 
> are using old versions of stuffs.  Real old stuffs!  For example, 
> Tomcat reaches already 5.5.12.  Why don't you get the latest ones to 
> see it works first?
> 
> Kaushal Shriyan wrote:

JDK version too... 

Tomcat 4.1.XX, 5.0.XX -> 1.4.2
Tomcat 5.5.XX -> 1.5.XX

And moreover, the different JSP/Servlet specifications

G.

--

Giuseppe Briotti
[EMAIL PROTECTED]

"Alme Sol, curru nitido diem qui 
promis et celas aliusque et idem 
nasceris, possis nihil urbe Roma 
visere maius."
(Orazio)





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



Apache Runtime Lib

2005-11-10 Thread MarcLap
I too get this... What am I missing?

My LD_LIBRARY is set to


LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/gcc:/usr/local/apr/lib
export LD_LIBRARY_PATH


INFO: The Apache Portable Runtime which allows optimal performance in
production environments was not found on the java.library.path:

-Original Message-
From: Jean-Pierre Pelletier [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 09, 2005 3:31 PM
To: Tomcat Developers List; Tomcat Users List
Subject: Re: Tomcat 5.5.12 and SSL - https doesn't work, was ok with 5.5.9

With the 64 bit version of tcnative-1.dll,  https is working but the 
Catalina*.log file has this message

INFO: The Apache Portable Runtime which allows optimal performance in 
production environments was not found on the java.library.path:

So https works when the .dll is not used.

- Original Message - 
From: "Jean-Pierre Pelletier" <[EMAIL PROTECTED]>
To: "Tomcat Developers List" ; "Tomcat Users List" 

Sent: Wednesday, November 09, 2005 3:10 PM
Subject: Re: Tomcat 5.5.12 and SSL - https doesn't work, was ok with 5.5.9


>I think I am using a 32 bit JVM, I downloaded it
> from Sun as "jdk-1_5_0_04-windows-i586-p.exe".
>
> - Original Message - 
> From: "Mladen Turk" <[EMAIL PROTECTED]>
> To: "Tomcat Developers List" 
> Sent: Wednesday, November 09, 2005 2:57 PM
> Subject: Re: Tomcat 5.5.12 and SSL - https doesn't work, was ok with 5.5.9
>
>
>> Jean-Pierre Pelletier wrote:
>>> https is fixed either by removing the native-1.dll file or by
>>> replacing it by the AMD 64 bit version.
>>>
>>> It looks like there is a bug in the Windows installer that installs the 
>>> 32 bit version
>>> instead of the 64 bit version on a 64 PC.
>>>
>>> I am surprise that the 32 bit version of native-1.dll wouldn't run on my
>>> AMD 64 Athlon 3400+ cpu albeit slower than the 64 bit version?
>>>
>>
>> You are probably using 64 bit JVM.
>> Think we'll need some sort of detection for installer.
>> Not sure if nsis can detect 32/64 bit jvm.
>>
>> Regards,
>> Mladen.
>>
>>
>> -
>> 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]



tomcat 5.5.12 shows no process

2005-11-10 Thread MarcLap
Solaris 8
Apache 1.3.34

Why after it is started there is not process shown as there was with Tomcat
5.0.28?


Thanks

Marc



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



Re: ports 8007 and 8009 dosn't coming up

2005-11-10 Thread David Smith
I say old because I don't think the org.apache.tomcat.* package name has 
been used since tomcat 3 days.  You might want to take a very close look 
at the Tomcat 4 documentation for getting AJP 13 connector running.


--David

jane wrote:


Hi
Thank's for replying.

How do you mean it's old? 
I am using Apache Tomcat Version 4.1.


Here is the last log catalina_log.2005-11-10.txt after I did stop/start 
tomcat. As in the server.xml I send, the two http connectors are up and 
listen on 8080 and 8443, those connectors for ajp doesn't come up! Why? 



[EMAIL PROTECTED] logs]# cat cata*11-10*
2005-11-10 00:59:02 HttpProcessor[8080][49] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][48] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][47] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][46] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][45] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][44] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][43] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][42] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][41] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][40] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][39] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][38] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][37] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][36] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][35] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][34] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][33] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][32] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][31] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][30] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][29] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][28] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][27] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][26] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][25] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][24] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][23] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][22] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][21] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][20] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][19] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][18] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][17] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][16] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][15] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][14] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][13] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][12] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][11] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][10] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][9] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][8] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][7] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][6] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][5] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][4] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][3] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][2] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][1] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8080][0] Stopping background thread
2005-11-10 00:59:02 HttpConnector[8080] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8443][49] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8443][48] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8443][47] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8443][46] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8443][45] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8443][44] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8443][43] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8443][42] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8443][41] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8443][40] Stopping background thread
2005-11-10 00:59:02 HttpProcessor[8443][39] Stopping background thread
2005-11-10 00:

Re: Pointers on setting up Tomcat 5.5x w/MySQL on OS X?

2005-11-10 Thread Benjamin Slade
Thanks for the info, but one more question..   Where can I find 
documentation on this sort of thing?


Ben Slade

Len Popp wrote:

server.xml is the old location for the  but these days it's
usually found either in conf/Catalina/[hostname]/[appname].xml or in
webapps/[appname]/META-INF/context.xml.

Also note that the syntax of  has changed in 5.5. See
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
--
Len

On 11/9/05, Benjamin Slade <[EMAIL PROTECTED]> wrote:
  

Can someone point me to some resources for setting up Tomcat so that
servlets/JSP's can connect to a local MySQL database?

...snip...



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



Re: Mod_jk Connector

2005-11-10 Thread Torsten Krah
Just guessing: They got legacy stuff and want to use it and doesnt have
the man power to upgrade it or development is discarded but their still
users who want to work with it - just a thought.

Afaik 4.1.31 is the latest 4.1.x Tomcat, so its not old. 

Its like FreeBSD 4.X vs 6.X which was released a few days ago, many
users still want to use 4.X because they trust in it.

best regards

Torsten

Am Donnerstag, den 10.11.2005, 13:12 +0100 schrieb Seak, Teng-Fong:
> A curious question: I've lots of mails here in which people are 
> using old versions of stuffs.  Real old stuffs!  For example, Tomcat 
> reaches already 5.5.12.  Why don't you get the latest ones to see it 
> works first?
> 
> Kaushal Shriyan wrote:
> 
> >I have downloaded the following application
> >
> >httpd-2.0.49.tar.gz
> >jakarta-tomcat-4.1.31.tar.gz
> >jakarta-tomcat-connectors-1.2.15-src.tar.gz
> >
> >I am able to check http://localhost:8080/index.jsp
> >and http://localhost
> >
> >But when I do  http://localhost/examples it says
> >
> >Not Found
> >
> >The requested URL /examples was not found on this server.
> >Apache/2.0.49 (Unix) mod_jk/1.2.15 Server at localhost Port 80
> >
> >Please help me to resolve this issue
> >
> >Thanks and regards
> >
> >Kaushal Shriyan
> >  
> >
> 
> 
> -
> 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: Mod_jk Connector

2005-11-10 Thread Seak, Teng-Fong
   A curious question: I've lots of mails here in which people are 
using old versions of stuffs.  Real old stuffs!  For example, Tomcat 
reaches already 5.5.12.  Why don't you get the latest ones to see it 
works first?


Kaushal Shriyan wrote:


I have downloaded the following application

httpd-2.0.49.tar.gz
jakarta-tomcat-4.1.31.tar.gz
jakarta-tomcat-connectors-1.2.15-src.tar.gz

I am able to check http://localhost:8080/index.jsp
and http://localhost

But when I do  http://localhost/examples it says

Not Found

The requested URL /examples was not found on this server.
Apache/2.0.49 (Unix) mod_jk/1.2.15 Server at localhost Port 80

Please help me to resolve this issue

Thanks and regards

Kaushal Shriyan
 




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



RE: Mod_jk Connector

2005-11-10 Thread Dhaval Patel
Hi.

   Did you check about your installation? If you installed mod_jk correctly, can
you able to see the log files of mod_jk inside tomcat logs directory. It looks
like something is missing here. Give me little more details about your
installation. I had similar problems like it but it turns out that I did not
install mod_jk properly.

Regards,
Dhaval

--- "Goay Zee Ling (ACM/MIS)" <[EMAIL PROTECTED]> wrote:

> Hi. I have similar problem but in different environment. I'm integrating
> IIS5.1 with tomcat5. I posted the question earlier, "tomcat connector
> isapi_redirect.dll not available". 
> 
> I manage to get rid "resource not available" by reinstalling everything
> again. one thing that is different from my previous installation is that
> I downloaded the latest isapi_redirect.dll release in nov.
> 
> Still not sure what goes wrong.
> 
> -Original Message-
> From: Kaushal Shriyan [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, November 10, 2005 2:50 PM
> To: users@tomcat.apache.org
> Subject: Mod_jk Connector
> 
> I have downloaded the following application
> 
> httpd-2.0.49.tar.gz
> jakarta-tomcat-4.1.31.tar.gz
> jakarta-tomcat-connectors-1.2.15-src.tar.gz
> 
> I am able to check http://localhost:8080/index.jsp and http://localhost
> 
> But when I do  http://localhost/examples it says
> 
> Not Found
> 
> The requested URL /examples was not found on this server.
> Apache/2.0.49 (Unix) mod_jk/1.2.15 Server at localhost Port 80
> 
> Please help me to resolve this issue
> 
> Thanks and regards
> 
> Kaushal Shriyan
> 
> -
> 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]
> 
> 





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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



Re: NPE while undeploying webapp on Tomcat 5.5.12

2005-11-10 Thread Stanislav Mironov
2005/11/9, Mark Thomas <[EMAIL PROTECTED]>:
> Stanislav Mironov wrote:
> > I get such exception report in catalina..log when I undeploy web
> > application (deployed as WAR).
> >
> > 09.11.2005 10:46:59 org.apache.catalina.startup.HostConfig checkResources
> > INFO: Undeploying context [/context1]
> > 09.11.2005 10:47:12 org.apache.catalina.startup.HostConfig checkResources
> > INFO: Undeploying context [/context1]
>
> Looks like two overlapping attempts to undeploy the same context. Not
> surprising that this results in an NPE at some point.

Yes, I have noticed that.

> > 09.11.2005 10:47:12
> > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor
> > processChildren
> > SEVERE: Exception invoking periodic operation:
> > java.lang.NullPointerException
> >   at 
> > org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:883)
> >
> > What is the reason - bug in tomcat?
>
> Maybe, maybe not. What are the steps to reproduce?

Steps to reproduce are here:
http://issues.apache.org/bugzilla/show_bug.cgi?id=37425
(JAR-locking related issue).
The issue was marked INVALID, but I see no excuses for Tomcat to throw
such meaningless exception without explanations what exactly has
happened.

--
Stanislav Mironov

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



Re: Mod_jk Connector

2005-11-10 Thread Andoni
Hi,

You have to have your Apache's httpd.conf file connecting it to Tomcat.

Do a search of your httpd.conf file for the letter's jk and see post the 
results.

If they are not there then your JK adapter is not including it's automatically 
created mod_jk.conf file into apache's httpd.conf.

Andoni.

  - Original Message - 
  From: Kaushal Shriyan 
  Newsgroups: gmane.comp.jakarta.tomcat.user
  Sent: Thursday, November 10, 2005 6:50 AM
  Subject: Mod_jk Connector


  I have downloaded the following application

  httpd-2.0.49.tar.gz
  jakarta-tomcat-4.1.31.tar.gz
  jakarta-tomcat-connectors-1.2.15-src.tar.gz

  I am able to check http://localhost:8080/index.jsp
  and http://localhost

  But when I do  http://localhost/examples it says

  Not Found

  The requested URL /examples was not found on this server.
  Apache/2.0.49 (Unix) mod_jk/1.2.15 Server at localhost Port 80

  Please help me to resolve this issue

  Thanks and regards

  Kaushal Shriyan


http response 304 with content

2005-11-10 Thread Axel Bartsch
I am testing with Apache 2.0.49 and tomcat 5.0.28
 
In my Ethereal Trace (Ethereal running on browser PC) (Tracer:browser client to 
server) I sometimes see HTTP/1.1 responses 304 (Not Modified).
A message body (content>0) is included in this response.
 
According to HTTP protocol a 304 response MUST NOT contain any content:
 
from HTTP/1.1 protocol (RFC 2616):
If the client has performed a conditional GET request and access is allowed, 
but the document has not been modified, the server SHOULD respond with this 
status code. The 304 response MUST NOT contain a message-body, and thus is 
always terminated by the first empty line after the header fields. 
 
Why does this happen?


-
Gesendet von Yahoo! Mail - Jetzt mit 1GB kostenlosem Speicher

Re: Could do with some guidance/help

2005-11-10 Thread ALEX HYDE
Richard,

I'm a novice myself so here's guessing

Silly question but have you looked at the Tomcat log?
That's usually a good starting place when you get an
internal server error. Maybe a path to one of your
classes has changed, eg, a filter? ie, your classes
don't match was web.xml expects.

Good luck.

--- Paul Singleton <[EMAIL PROTECTED]> wrote:

> I only use Tomcat standalone, and have no hunches
> about
> your particular problem, but sometimes IE hides the
> sordid details of error msgs and I find that Firefox
> gives them to you straight; also there's a
> LiveHTTPHeaders
> plugin which can be useful when troubleshooting?
> 
> good luck :-/
> 
> Paul Singleton
> 
> Richard Tomkins wrote:
> > Platform: Windows 200 Pro, Service Pack 4
> > Pentium 4, HyperThreaded, 512MB memory.
> > 
> > Installed software,
> > 
> > Oracle 10g Release 2, Personal Edition.
> > Apache 1.3.33
> > J2SDK 1.4.2_10
> > Tomcat 4.1.31
> > Mod_jk-1.2.14-apache-1.3.33.so
> > 
> > I have set up Tomcat server.xml with the requisite
> listeners to have it do
> > auto configuration. I a using the ajp13 connector,
> and I have tried both of
> > the configurations for this inside server.xml, the
> ajp13 on port 8009 and
> > the coyote/ajp13 on port 8009.
> > 
> > The Tomact examples all work as well as the
> administration and management
> > tools.
> > 
> > My problem is that I have an application that I
> have to install on a number
> > of desktops for internal test purposes.
> > 
> > The application is written in jsp and works with
> an earlier version of
> > Apache and Tomact 3.x.mumble.
> > 
> > With the implementation I am working with, on the
> first page I get a message
> > that an "Internal Server Error" has occurred. If I
> right mouse click and
> > choose refresh, the expected page shows up on the
> browser.
> > 
> > If I do this via, HYPERLINK
> >
>
"http://localhost:8080/testsoft/index.html"http://localhost:8080/testsoft/in
> > dex.html, the display works everytime, unlike my
> experience with HYPERLINK
> >
>
"http://locahost/testsoft.html"http://locahost/testsoft.html
> which should
> > work. Many web pages after do work, and as I said
> previously, the Tomact
> > examples all work with both methods.
> > 
> > Something between Apache and Tomcat is causing me
> some pain.
> > 
> > If anyone has any ideas to throw my way, please
> do.
> > 
> > 
> > Regards, Richard Tomkins
> > 
> > 
> > 
> > 
> 
> 
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.1.362 / Virus Database: 267.12.8/165 -
> Release Date: 9/Nov/2005
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 




___ 
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.yahoo.com

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



Re: Could do with some guidance/help

2005-11-10 Thread Paul Singleton

I only use Tomcat standalone, and have no hunches about
your particular problem, but sometimes IE hides the
sordid details of error msgs and I find that Firefox
gives them to you straight; also there's a LiveHTTPHeaders
plugin which can be useful when troubleshooting?

good luck :-/

Paul Singleton

Richard Tomkins wrote:

Platform: Windows 200 Pro, Service Pack 4
Pentium 4, HyperThreaded, 512MB memory.

Installed software,

Oracle 10g Release 2, Personal Edition.
Apache 1.3.33
J2SDK 1.4.2_10
Tomcat 4.1.31
Mod_jk-1.2.14-apache-1.3.33.so

I have set up Tomcat server.xml with the requisite listeners to have it do
auto configuration. I a using the ajp13 connector, and I have tried both of
the configurations for this inside server.xml, the ajp13 on port 8009 and
the coyote/ajp13 on port 8009.

The Tomact examples all work as well as the administration and management
tools.

My problem is that I have an application that I have to install on a number
of desktops for internal test purposes.

The application is written in jsp and works with an earlier version of
Apache and Tomact 3.x.mumble.

With the implementation I am working with, on the first page I get a message
that an "Internal Server Error" has occurred. If I right mouse click and
choose refresh, the expected page shows up on the browser.

If I do this via, HYPERLINK
"http://localhost:8080/testsoft/index.html"http://localhost:8080/testsoft/in
dex.html, the display works everytime, unlike my experience with HYPERLINK
"http://locahost/testsoft.html"http://locahost/testsoft.html which should
work. Many web pages after do work, and as I said previously, the Tomact
examples all work with both methods.

Something between Apache and Tomcat is causing me some pain.

If anyone has any ideas to throw my way, please do.


Regards, Richard Tomkins








--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.362 / Virus Database: 267.12.8/165 - Release Date: 9/Nov/2005


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



RE: jk_isapi_plugin.c : ReadClient failed

2005-11-10 Thread Goay Zee Ling \(ACM/MIS\)

Hi. Sorry for the multiple postings.

I searched in google with "jk_isapi_plugin.c : ReadClient failed" and
found someone in the mailing list with similar problem but using older
version. 
http://mail-archives.apache.org/mod_mbox/jakarta-tomcat-user/200408.mbox
/[EMAIL PROTECTED]

Similarly, of all the servlet-examples provided by tomcat, only those
"Get" request can be handled properly. 

Has anyone successfully execute servlet examples ("POST" request) using
tomcat connector?

Since there's no updates I wonder if this is a known issue or have this
been solved.

Regards,
zl
-Original Message-
Subject: Tomcat connector for IIS 5.1 error executing servlet example

Hi. I have some problem executing servlet examples provided in tomcat
using the tomcat connector.
 
I am using tomcat 5.0.28, IIS 5.1 and just manage to install
isapi_redirect.dll.
 
I manage to execute the servlet examples using
http://localhost:8080/servlet-examples, thru tomcat directly.
 
I manage to view http://localhost/servlet-examples/index.html, but i
can't execute the servlet examples. there's one request parameters
example. When i click on "Submit Query", the next page show "The page
cannot be displayed". 
 
I checked the isapi.log file, it shows:
[/servlets-examples/servlet/RequestParamExample] is a servlet url -
should redirect to ajp13 Maintaining worker ajp13 jk_worker.c (111):
found a worker ajp13 jk_isapi_plugin.c (1018): got a worker for name
ajp13 jk_ajp_common.c (2131): acquired connection cache slot=0
jk_ajp_common.c (566): ajp marshaling done jk_ajp_common.c (1670):
processing with 3 retries jk_connect.c (328): socket TCP_NODELAY set to
On jk_connect.c (426): trying to connect socket 1912 to 127.0.0.1:8009
jk_connect.c (452): socket 1912 connected to 127.0.0.1:8009
jk_ajp_common.c (864): Connected socket 1912 to
(127.0.0.1:8009)jk_ajp_common.c (909): sending to ajp13 pos=4 len=564
max=8192

jk_ajp_common.c (1261): request body to send 28 - request body to resend
0 [error] jk_isapi_plugin.c (604): ReadClient failed with 274c
jk_ajp_common.c (1118): Receiving data from client failed. Connection
aborted or network problems jk_ajp_common.c (1741): Sending request to
tomcat failed, because of client error without recovery in send loop 0
jk_isapi_plugin.c (1031): service() returned OK jk_ajp_common.c (2074):
recycling connection cache slot=0 for worker
ajp13

and the stdout.log shows:
org.apache.jk.common.ChannelSocket processConnection
WARNING: processCallbacks status 2
org.apache.jk.common.HandlerRequest invoke
SEVERE: Error decoding request
java.io.IOException
 at org.apache.jk.common.JkInputStream.receive(JkInputStream.java:252)
 at
org.apache.jk.common.HandlerRequest.decodeRequest(HandlerRequest.java:50
0)
 at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:352)
 at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
 at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
675)
 at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
 at java.lang.Thread.run(Thread.java:534)
 
May I know how to correct this problem? Is there any configuration that
i need to set?
Or has anyone successfully execute servlet examples using tomcat
connector?
Appreciate any help. Thank you.
 



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



RE: jk_isapi_plugin.c : ReadClient failed

2005-11-10 Thread Goay Zee Ling \(ACM/MIS\)
Hi. I search in google with "jk_isapi_plugin.c : ReadClient failed" and
found 1 person in the mailing list with similar problem but using older
version. Since there's no updates I wonder if this is a known issue or
have this been solved.

Has anyone successfully execute servlet examples using tomcat connector?

Regards,
zl
-Original Message-
From: Goay Zee Ling (ACM/MIS) [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 10, 2005 2:09 PM
To: Tomcat Users List
Subject: Tomcat connector for IIS 5.1 error executing servlet example

Hi. I have some problem executing servlet examples provided in tomcat
using the tomcat connector.
 
I am using tomcat 5.0.28, IIS 5.1 and just manage to install
isapi_redirect.dll.
 
I manage to execute the servlet examples using
http://localhost:8080/servlet-examples, thru tomcat directly.
 
I manage to view http://localhost/servlet-examples/index.html, but i
can't execute the servlet examples. there's one request parameters
example. When i click on "Submit Query", the next page show "The page
cannot be displayed". 
 
I checked the isapi.log file, it shows:
[/servlets-examples/servlet/RequestParamExample] is a servlet url -
should redirect to ajp13 Maintaining worker ajp13 jk_worker.c (111):
found a worker ajp13 jk_isapi_plugin.c (1018): got a worker for name
ajp13 jk_ajp_common.c (2131): acquired connection cache slot=0
jk_ajp_common.c (566): ajp marshaling done jk_ajp_common.c (1670):
processing with 3 retries jk_connect.c (328): socket TCP_NODELAY set to
On jk_connect.c (426): trying to connect socket 1912 to 127.0.0.1:8009
jk_connect.c (452): socket 1912 connected to 127.0.0.1:8009
jk_ajp_common.c (864): Connected socket 1912 to
(127.0.0.1:8009)jk_ajp_common.c (909): sending to ajp13 pos=4 len=564
max=8192

jk_ajp_common.c (1261): request body to send 28 - request body to resend
0 [error] jk_isapi_plugin.c (604): ReadClient failed with 274c
jk_ajp_common.c (1118): Receiving data from client failed. Connection
aborted or network problems jk_ajp_common.c (1741): Sending request to
tomcat failed, because of client error without recovery in send loop 0
jk_isapi_plugin.c (1031): service() returned OK jk_ajp_common.c (2074):
recycling connection cache slot=0 for worker
ajp13

and the stdout.log shows:
org.apache.jk.common.ChannelSocket processConnection
WARNING: processCallbacks status 2
org.apache.jk.common.HandlerRequest invoke
SEVERE: Error decoding request
java.io.IOException
 at org.apache.jk.common.JkInputStream.receive(JkInputStream.java:252)
 at
org.apache.jk.common.HandlerRequest.decodeRequest(HandlerRequest.java:50
0)
 at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:352)
 at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
 at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
675)
 at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
 at java.lang.Thread.run(Thread.java:534)
 
May I know how to correct this problem? Is there any configuration that
i need to set?
Or has anyone successfully execute servlet examples using tomcat
connector?
Appreciate any help. Thank you.
 
regards,
zl



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



replicated sessions and manager app

2005-11-10 Thread Olve Hansen




I was wondering... 

In a cluster of  tomcats, should the session count be equal in all three webapp listings (the sum of all sessions, since they are replicated) in the separate managers, or does the manger only count sessions created on the tomcat instance the manager represents?


Thanks
Olve




signature.asc
Description: Dette er en digitalt signert meldingsdel