Re: Serving PDF files gets different results from Tomcat 3.3 to 4.1

2002-11-15 Thread Bill Barker
Well, they are pretty significant. 3.3.x (at least until the yet-to-be-released 3.3.2) stand-alone ignores HTTP/1.1 headers on the request. Even 3.3.2 will ignore the partial-request that Adobe is so fond of issuing for a pdf (which is it's right under the HTTP/1.1 spec, even if it is not the

Cahrset problem

2002-11-15 Thread Galbayar Dorjgotov
hi all. i have one problem. My JSP's enconding is windows-1251 and have a form. i'm wrote cyrillic characters and submit when i reading textfield value use getParameter() method it returns what's the matter? MY JSP is % page contentType=text/html; charset=windows-1251 language=java

build file for ant

2002-11-15 Thread sathya
hi all, I wanted to know how to build the project using ant..Kindly help me. I am using Tomcat 4.1.10.Does anybody using ant have any scipts.?? bbye Sathya -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

Re: Tomcat and UTF-8

2002-11-15 Thread Bill Barker
Short answer: no Fenlason, Josh [EMAIL PROTECTED] wrote in message news:996B8A752C431B4B842D3F627C0B81762C1AD3;HQ-MAIL1.ptcnet.ptc.com... Hey all! I'm doing some research about Tomcat's character encoding. I was wondering if anyone knew of know issues or problems Tomcat has with UTF-8. Any

Re: ManagedBean is not found with Ajp13Connector

2002-11-15 Thread Bill Barker
In the default 4.1.x server.xml file there is an un-commented out entry: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false

JDBC Policy connection problem

2002-11-15 Thread Trevor MacPhail
I am having some issues with trying to use my JDBC driver to connect to a mySQL server. I get the following error in my catalina.out file: java.sql.SQLException: Cannot connect to MySQL server on dbox.dnsalias.net:3306. Is there a MySQL server running on the machine/port you are trying to

getPathInfo

2002-11-15 Thread Luise Massimo
Hi all, i'm trying to use request.getPathInfo from a servlet but it always return null. the strange thing is this: if i use the Invoker servlet, getPathInfo return information as espected !!! my configuration is the following: tomcat 4.0.4 apache 1.3.26 i'm using mod_jk. with a mount point

Re: jk2 load balancing problem (only fail-over)

2002-11-15 Thread Nick Wesselman
So there's no production quality code to let me load balance using the Coyote connector? Should I use mod_jk and the older Ajp13 connector instead? Nick On Friday, November 15, 2002, at 01:52 AM, Bill Barker wrote: Load balancing is still not implemented fully in Jk2 (it's still a Beta). It

Re: non Http connector

2002-11-15 Thread Yves Duhem
Thanks for your answer, in fact I don't want to use http at all and I was wondering if it was possible with tomcat. I already have my own protocol, and since the communication will be wrapped in ssl I don't need http. The only feature from http that I might need is multiplexing. So I was

RE: Per context access logs (Standalone 4.1.12)

2002-11-15 Thread Chris Campbell
Thanks Craig and Jon... Ok, I have this working now. I just changed the context declaration: from Context path=/ docBase=ROOT debug=0 reloadable=true to Context path=/chris docBase=ROOT debug=0 reloadable=true It seems that that context path / was never intended to be used to house a full-blown

Re: JDBC Policy connection problem

2002-11-15 Thread Kwok Peng Tuck
Normaly if I use a jdbc driver in tomcat I put it in $CATALINA_HOME/common/lib configure a jndi resource for that. Trevor MacPhail wrote: I am having some issues with trying to use my JDBC driver to connect to a mySQL server. I get the following error in my catalina.out file:

Re: build file for ant

2002-11-15 Thread Kwok Peng Tuck
That would be a question for the ant group. But I've attached a sample none the same. Cheers. sathya wrote: hi all, I wanted to know how to build the project using ant..Kindly help me. I am using Tomcat 4.1.10.Does anybody using ant have any scipts.?? bbye Sathya -- To unsubscribe,

Getting session list

2002-11-15 Thread Laurent Michenaud
Hi, I use Tomcat 3.3.1 ( Servlet 2.1 ) I want to create a servlet that lists the sessions. How can i get all the active sessions ? Thanks -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

Trouble installing SSL on Tomcat Standalone

2002-11-15 Thread Joseph Stephen Vaithara
Hi , I have configured SSL for my tomcat standalone webserver. I am using a trial VeriSign certificate. Now when I try to connect to tomcat Netscape throws the message Netscape and my host cannot communicate because they have no common encryption algorithms Any pointers as to where the

iis redirection to linux tomcat machine

2002-11-15 Thread Jose Antonio Martinez
i have installed the isapi filter in the iis for redirection of jsp pages to a linux machine (it has a tomcat server). i have followed the documentation at: http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/#6 the array is green now , but when i try to view jsp samples, there is a

Apache 2, Tomcat 4, Lee 0

2002-11-15 Thread Lee Grey
I've fought the good fight all night, but I'm stuck. Here's the first log I got: 2002-11-15 05:55:00 StandardContext[]: Starting 2002-11-15 05:55:00 StandardContext[]: Processing start(), current available=false 2002-11-15 05:55:00 StandardContext[]: Configuring default Resources 2002-11-15

Re: iis redirection to linux tomcat machine

2002-11-15 Thread Jose Antonio Martinez
here is the redirector isapi log: # Begin worker.properties ** worker.ajp13.type=ajp13 # # Specifies the load balance factor when used with # a load balancing worker. # Note: # lbfactor must be 0 # Low lbfactor means less work done by the worker.

Re: iis redirection to linux tomcat machine

2002-11-15 Thread Jose Antonio Martinez
sorry, here it is: [Fri Nov 15 12:45:40 2002] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Fri Nov 15 12:45:40 2002] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /www.domwindows.com/examples/ [Fri Nov 15 12:45:40 2002] [jk_uri_worker_map.c (460)]: Into

Re: iis redirection to linux tomcat machine

2002-11-15 Thread Jose Antonio Martinez
sorry, here it is: [Fri Nov 15 12:45:40 2002] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Fri Nov 15 12:45:40 2002] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /www.domwindows.com/examples/ [Fri Nov 15 12:45:40 2002] [jk_uri_worker_map.c (460)]: Into

Re: iis redirection to linux tomcat machine

2002-11-15 Thread Jose Antonio Martinez
sorry, here it is: [Fri Nov 15 12:45:40 2002] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Fri Nov 15 12:45:40 2002] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /www.domwindows.com/examples/ [Fri Nov 15 12:45:40 2002] [jk_uri_worker_map.c (460)]: Into

Detecting Usage of http/1.1 by Tomcat

2002-11-15 Thread Bill Angel
Hello: I recently installed ApacheTomcat 4.1.12-LE-jdk14. The installation appears to function correctly, but I am experiencing difficulties getting browsers (IE 5.5 and Netscape 7.0) to recognize the cache-control directives specific to the http/1.1 protocol. I am utilizing a Servlet to send

RE: Apache 2, Tomcat 4, Lee 0

2002-11-15 Thread Lee Grey
Also, when you have multiple named virtual hosts, what are you supposed to put in workers.properties for worker.worker1.host? To be clear, each worker is an INSTANCE of Tomcat, right? I can have a single instance of Tomcat serve multiple virtual domains, right? So, which of my multiple virtual

RE: Trouble installing SSL on Tomcat Standalone

2002-11-15 Thread Johan Bryssling
Hi! I have the same problem, but have not yet solved it. (I know what the problem means, but it doesnt help). If you come across a solution to this please share it with you. :) But... However, I will not sit back and wait so I will install the Apache server(HTTPD) and have a tomcat-mod running

RE: remove the need for :8443 in URLs needing https:

2002-11-15 Thread Turner, John
No, you don't. Not on a UNIX/Linux box you don't (unless you've hacked the kernel and built your own distro, and if that's the case, what are you doing posting questions here? ;) ), and Windows boxes are a whole other storyif you're building a publicly accessible server based on Windows and

RE: mod_jk-1.3-eapi.so

2002-11-15 Thread Turner, John
My Listener tag at the Server level looks like this (4.1.12): Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk.so / My Listener tag at the Host level looks like this (4.1.12): Listener className=org.apache.ajp.tomcat4.config.ApacheConfig

RE: John Turner, question about your Documentation

2002-11-15 Thread Turner, John
localhost is fine when your Tomcat instance is on the same physical machine as Apache. Some folks separate the two, and others use load balancing (one Apache, many Tomcats). With Tomcat on a separate machine from Apache, the host parameter in workers.properties would be a FQDN or an IP address

Re: Detecting Usage of http/1.1 by Tomcat

2002-11-15 Thread Cees van de Griend
On Friday 15 November 2002 12:54, Bill Angel wrote: Hello: I recently installed ApacheTomcat 4.1.12-LE-jdk14. The installation appears to function correctly, but I am experiencing difficulties getting browsers (IE 5.5 and Netscape 7.0) to recognize the cache-control directives specific to

RE: iis redirection to linux tomcat machine

2002-11-15 Thread Turner, John
First of all, you aren't going to redirect *anything* to a Linux-based Tomcat server, from an IIS web server, with worker.ajp13.host = localhost. You need to change host to equal the FQDN or IP address of the Linux server. John -Original Message- From: Jose Antonio Martinez

Question about webapp connector

2002-11-15 Thread Jean-Luc BEAUDET
Hi all, Runnin' Tomcat 4.0.2 and Apache 1.3.26 on SOLARIS 8 in Production. I'd like to get /webapp-info/ secured by login/password - even BASIC - when asked by http://my.sever.com/webapp-info/ Any help welcome. Jean-Luc B :O) -- To unsubscribe, e-mail:

Re: tomcat 4.1.12, apache SSL on rh 7.2 - most stable configuration?

2002-11-15 Thread Nicholas Pappas
Thanks Bill, You're correct - I saw it on httpd.apache.org-- it was in the FAQ: http://httpd.apache.org/docs/misc/FAQ.html#SSL-i Thanks for your reply... Best, Nicholas Bill Barker wrote: Tomcat doesn't redistribute JSSE because of Licensing restrictions. However, this is mostly irrelevant

RE: Apache 2, Tomcat 4, Lee 0

2002-11-15 Thread Turner, John
The host in workers.properties is not virtual host but the location of Tomcat. Each worker is not an instance of Tomcat. Each worker is an instance of a worker. Yes, a single instance of Tomcat can server multiple virtual domains using a Host element in server.xml for each virtual host. So,

RE: iis redirection to linux tomcat machine

2002-11-15 Thread Jose Antonio Martinez
sorry, i copy a wrong file, this is the right one: # # worker.tomcat_home should point to the location where you # installed tomcat. This is where you have your conf, webapps and lib # directories. # worker.tomcat_home=C:\jakarta-tomcat # # worker.java_home should point to your Java

RE: tomcat 4.1.12, apache SSL on rh 7.2 - most stable configuration?

2002-11-15 Thread Turner, John
That FAQ is for Apache 1.3 (see header at top of page). Mod_SSL is a part of Apache 2. For Apache 2, you'll want to look here http://httpd.apache.org/docs-2.0/ and here http://httpd.apache.org/docs-2.0/ssl/ for documentation. John -Original Message- From: Nicholas Pappas

RE: iis redirection to linux tomcat machine

2002-11-15 Thread Turner, John
From the log you posted: (477)]: Attempting to map URI '/www.domwindows.com/jakarta/isapi_redirect.dll' [Fri Nov 15 12:45:40 2002] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match Does your mapping file have an entry that would satisfy the URI? What

Using Tomcat 4.1.12 with Jikes

2002-11-15 Thread christophe . baroin
Hello, could somebody explain me or give me the instruction for the file web.xml in order to use jikes with Tomcat 4.1.12 ? thank you in advance, greetings, Salutations, Christophe BAROIN JP Services 16, Rue de Moronval 28100 DREUX Tél. : 02.37.38.92.12 Fax : 02.37.42.87.58 E

RE: non Http connector

2002-11-15 Thread Turner, John
Well, JK/JK2 are their own protocols, and the CoyoteConnector class handles them just fine. It even can handle SSL. Perhaps you could take a look at org.apache.coyote.tomcat4.CoyoteConnector and see if it will help you get a jump start on your own code. John -Original Message-

RE: RedHat Linux 7.2 + Apache 1.3 + Tomcat 4.1.12 + WebSPhere 4.0

2002-11-15 Thread Turner, John
Perhaps a WebSphere mailing list or support forum would be a good place to get your questions answered. ;) John -Original Message- From: Rudolph Araujo [mailto:rudolphoa;hotmail.com] Sent: Thursday, November 14, 2002 8:00 PM To: [EMAIL PROTECTED] Subject: RedHat Linux 7.2 + Apache

Re: tomcat 4.1.12, apache SSL on rh 7.2 - most stable configuration?

2002-11-15 Thread Nicholas Pappas
Ah, thanks John- I clicked the FAQ link at the top of httpd.apache.org's main page and didn't realize it was to an older FAQ. You mentioned in one of your previous emails a while back you hadn't had to reboot your production Tomcat server in several months despite it being very active-- are you

RE: jk2 load balancing problem (only fail-over)

2002-11-15 Thread Turner, John
The Coyote connector speaks JK...there's no reason to use Ajp13Connector if you don't want to, though I haven't seen anyone post a working conf specifically using load-balanced JK with org.apache.coyote.tomcat4.CoyoteConnector. It's worth a shot. John -Original Message- From: Nick

RE: JK2 unixsocket: Can't create apr

2002-11-15 Thread Turner, John
The list is the best place to post the HOWTOs for now, I think. I know I, for one, will save it and repost it for others as needed, with proper attribution. John -Original Message- From: Robert Williams [mailto:rcw1;pacbell.net] Sent: Friday, November 15, 2002 2:31 AM To: 'Tomcat

Sun's JSTL and Jakarta taglib

2002-11-15 Thread Zsolt Koppany
Hi, what is the difference between Sun's JSTL and Jakarta taglib? First I thought they are the same, but the SQL interface seems to be different. Zsolt -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

RE: tomcat 4.1.12, apache SSL on rh 7.2 - most stable configuration?

2002-11-15 Thread Turner, John
It's running tomcat 3.1 and Apache 1.3.27, with JServ (ajp12)...uptime is 160+ days. There are 15 instances of Tomcat on there, and it is fairly active, though I don't have any hard stats at the moment. Some of the Tomcats have been restarted a couple of times, mostly due to patches being

RE: Contribution to the running.txt file for thje admin and manager web apps.

2002-11-15 Thread Cox, Charlie
file this as an enhancement in bugzilla. This is the best way to make sure it is not overlooked. Charlie -Original Message- From: Sriram N [mailto:sriramx_2000;yahoo.com] Sent: Saturday, November 09, 2002 11:20 AM To: [EMAIL PROTECTED] Subject: Contribution to the running.txt file

Re: Sun's JSTL and Jakarta taglib

2002-11-15 Thread peter lin
there seems to be a common mis-understading about Jakarta taglibs. taglibs includes a bunch of stuff. Most of it is JSP 1.1, but jakarta JSTL for jsp 1.2 is the official RI for JSTL. If you're comparing the dbtags in jakarta to JSTL, then yes, they are different. JSTL's sql support was inspired

Re: tomcat 4.1.12, apache SSL on rh 7.2 - most stable configuration?

2002-11-15 Thread Nicholas Pappas
Thanks John, I appreciate your insights -- and your help throughout your many emails to the list! Best, Nicholas Turner, John wrote: It's running tomcat 3.1 and Apache 1.3.27, with JServ (ajp12)...uptime is 160+ days. There are 15 instances of Tomcat on there, and it is fairly active,

Re: build file for ant

2002-11-15 Thread Jacob Kjome
That would be ignoring the fact that there exists an Application Developer's Guide in the Tomcat documentation. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html Jake At 05:22 PM 11/15/2002 +0800, you wrote: That would be a question for the ant group. But I've attached a

Re: JDBC Policy connection problem

2002-11-15 Thread Jacob Kjome
Can you connect to your MySQL server via a basic application started with the java command rather than trying to do it within the container? You should do this to make sure it works first. Jake At 12:21 AM 11/15/2002 -0800, you wrote: I am having some issues with trying to use my JDBC driver

RE: Debugging JSPs using Tomcat 3.2.3 and NetBeans 3.3.2

2002-11-15 Thread Larry Isaacs
Reading of the conf/web.xml go turned off for Tomcat 3.2.x, though the file is still present. You should add the XML below to the WEB-INF/web.xml for the webapps you want to debug. Cheers, Larry -Original Message- From: Bruce Dahms [mailto:bdahms;netscape.net] Sent: Thursday,

Programmatic login

2002-11-15 Thread Juergen Weber
Hello, we have a portal. Now the marketing people want that on the portal page be a form with user and password field. After submitting the user should be logged in. First this looked like a very easy to do feature. We use container managed security to protect some pages. So submitting the

AW: JDBC Policy connection problem

2002-11-15 Thread Torsten Fohrer
-Ursprüngliche Nachricht- Von: Jacob Kjome [mailto:hoju;visi.com] Gesendet: Freitag, 15. November 2002 15:16 An: Tomcat Users List Betreff: Re: JDBC Policy connection problem Can you connect to your MySQL server via a basic application started with the java command rather

Re: Using Tomcat 4.1.12 with Jikes

2002-11-15 Thread Jacob Kjome
First, if you are running Tomcat under Windows you can quit thinking about using Jikes right now because of a number of bugs (search the list). If you are running under Linux, keep reading. First, install Jikes and put it in the path for you shell. Also put tools.jar, rt.jar and dt.jar in

RE: Programmatic login

2002-11-15 Thread Jim Krygowski
Hi Jurgen- It is possible to subclass FormAuthenticator so that it short-circuts the typical servlet login process. What you need to do is define a standard login url in your applications, I chose /security and parameterize the url with information like j_username, j_password, j_redirect_url.

RE: Programmatic login

2002-11-15 Thread Ralph Einfeldt
The only solution that I see, is to use your own security. One solution: use a Filter that is mapped to every request. Check if username and passwort are present, validate them and place a user object in the session. Where ever you want to have diffen content for an authenticated user you can

RE: Serving PDF files gets different results from Tomcat 3.3 to 4.1

2002-11-15 Thread Hugo Villeneuve
Hello Bill Baker I don’t know much about “partial-request” and the HTTP 1.1 Header (I will read about that) but for now all my tests make it looks like a combination of Adobe with Tomcat 4.1 problem. Like you said, there is multiple request for the same document. One call is made by the IE5

RE: Serving PDF files gets different results from Tomcat 3.3 to 4.1

2002-11-15 Thread Ralph Einfeldt
Some options: (All not very nice) - run tomcat behind apache. - rewrite your servlet to implement http1.1 (Have a look at the tomcat source of the tomcat servlet that serves the files (Can't remember the name) - store the blob in the file system and redirect the browser to that file

How to see JSP error messages while tomcat is running

2002-11-15 Thread Steven Peterson
I recently upgraded from tomcat 3 to tomcat 4.1.12 and am having trouble debugging new jsp pages as I add them. Whereas tomcat 3 would send the error output of a jsp to the html page (making it easy to identify the problem, fix it, and test it again), tomcat 4 sends the output to the context's

RE: Tomcat 4.1.12 - Incompatible type for getting or setting field

2002-11-15 Thread B W
Jeff: I post a similar message several days ago but no response. I think I figure it out yesterday. It's because of the bug in jasper-compiler.jar(in common/lib) for jsper2. You can either upgrate tomcat to 4.15 or copy the old jasper-compiler.jar from 4.06 which is using jsper1. HTH, Bin

Re: Serving PDF files gets different results from Tomcat 3.3 to 4.1

2002-11-15 Thread Tim Funk
Examine the HTTP headers coming back. It may be as easy as adding/removing a new header. How to look at headers coming back: telnet webserver.running.tomcat3 80 GET /myServet/givesme/pdfFile HTTP/1.1 Connection: Close Host: needsFilledIn Then repeat for your tomcat 4 version. -Tim Ralph

RE: Apache + one TC for each webapp

2002-11-15 Thread Srinadh Karumuri
John, I started to look into it and then realized that there is no workers.properties with my tomcat. I checked the docs and found that they started it with TCv3.2. Mine is TCv3.1. To be more specific. Apachev1.3.14 + ajpv12 + Tomcatv3.1 It looks like TCv3.1 docs are pulled off web. I am back

TC authentication: j_security_check and url-pattern

2002-11-15 Thread Andrew Geery
I'm using form-based authentication in Tomcat 4.1.12 -- it works great! However, I have two questions about Tomcat authentication: 1) Many end-users bookmark the login page. So, the first time they login everything works as expected, but when they use the bookmark, they get the invalid reference

RE: Apache + one TC for each webapp

2002-11-15 Thread Turner, John
If you are using ajp12, in httpd.conf you will see a line that looks like this: ApJServMount /servlet ajpv12://some.host.com:/servlet The port number is right on the URL. So, setup 4.1.12, and make sure there aren't any connectors listening on any of the ports used in your ajpv12

RE: Apache 2, Tomcat 4, Lee 0

2002-11-15 Thread Daniel Dugal
John Turner wrote So, you can have many virtual hosts in both Apache and Tomcat, but only one worker. Is this the preferred method if you only have one one Tomcat instance? Or is there any benefit to having a 1 to 1 ratio of workers and hosts? Tomcat Veteran opinions? apache vhost1 - worker1

RE: Apache 2, Tomcat 4, Lee 0

2002-11-15 Thread Turner, John
If you have more than one worker defined like this: apache vhost1 - worker1 - tomcat host1 apache vhost2 - worker2 - tomcat host2 apache vhostn - workern - tomcat hostn wouldn't you also need a connector and separate port for each one in server.xml? I can't see any benefit to doing it that

RE: Apache 2, Tomcat 4, Lee 0

2002-11-15 Thread Daniel Dugal
Yes, you would need a second connector and separate port for each worker. But I wasn't sure if keeping separate workers/connectors for each host would really buy you better separation between hosts, i.e. keeping hosts from stepping on each other. I suppose if someone really wanted that they

RE: Serving PDF files gets different results from Tomcat 3.3 to 4.1

2002-11-15 Thread Hugo Villeneuve
I am all confused now. All the test I did make it looks like a Adobe problem but : 1- When I call static PDF from tomcat 4.1 : PDF open in the IE5 (ok) 2- When I call a pdf from my servlet in tomcat 4.1 : IE5 ask to save file (bad). 3- When I right click on the URL and ask for

Re: non Http connector

2002-11-15 Thread John B. Moore
John, Maybe you can clear this up for me.. I get the hint from several different messages that the CoyoteConnector handles both JK and JK2. Looking at the server.xml it appears that, based on the comments in that file !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector

RE: Trouble installing SSL on Tomcat Standalone

2002-11-15 Thread Joseph Stephen Vaithara
Just hit the solution to the problem Here is the steps to get it working, let me know if it works for you 1) keytool -genkey -keyalg RSA -alias tomcat -keystore ./.keystore 2) keytool -certreq -alias tomcat -keyalg RSA -file myhostname.csr -keystore keystore 3) Got the csr file signed by

Re: Serving PDF files gets different results from Tomcat 3.3 to 4.1

2002-11-15 Thread Nicholas Pappas
What exactly are you using to generate the pdf-- home-grown code or Adobe Distiller? If your own code, are you sure you're creating the file itself properly? Hugo Villeneuve wrote: I am all confused now. All the test I did make it looks like a Adobe problem but : 1- When I call static

RE: Serving PDF files gets different results from Tomcat 3.3 to 4.1

2002-11-15 Thread Hugo Villeneuve
I don not touch the PDF. I get a valid PDF out of a DataBase as a blob. -Original Message- From: Nicholas Pappas [mailto:pappas;cs.nyu.edu] Sent: Friday, November 15, 2002 12:03 PM To: Tomcat Users List Subject: Re: Serving PDF files gets different results from Tomcat 3.3 to 4.1 What

RE: non Http connector

2002-11-15 Thread Turner, John
JK is known as ajp13. JK2 is known as, I believe, ajp14. The precursor to JK was JServ, and that is known as ajp12. The Coyote Connector (org.apache.coyote.tomcat4.CoyoteConnector) can speak JK and JK2. The Ajp13Connector (org.apache.ajp.tomcat4.Ajp13Connector) only speaks JK.

can write to / not /var frpm jsp/servlet

2002-11-15 Thread Brendon Mosher
I have run accross an unusual problem. I am running Linux and am able to write to any directory in the same partition as / from a servlet or jsp. However, if i try and write from a servlet or jsp to a location in any other partition on the machine (/var, /usr, /home) it fails. I have checked,

Re: Tomcat Application on Port 443 or 8080?

2002-11-15 Thread Kent Perrier
On Tue, 2002-11-12 at 15:42, Milt Epstein wrote: Now, assuming you set up Apache+SSL for a reason, you probably want to use that for your https communication. That means the URL you should use is: https://www.kithany.com/kithany/index.jsp This will go through Apache (on port 443, the

RE: Coyote Source Code

2002-11-15 Thread Turner, John
You're joking, right? http://jakarta.apache.org John -Original Message- From: Scott Goldstein [mailto:sdgoldst;mailandnews.com] Sent: Friday, November 15, 2002 12:51 PM To: [EMAIL PROTECTED] Subject: Coyote Source Code Is the Coyote source code available? If so, where can I

Re: Coyote Source Code

2002-11-15 Thread Jon Eaves
Hi Scott, You can get instructions from here: http://jakarta.apache.org/site/cvsindex.html and the CVS-WEB access is here: http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-connectors/ Cheers, -- jon Scott Goldstein wrote: Is the Coyote source code available? If so, where can I get it?

Tomcat3.2. error

2002-11-15 Thread mbe . bem
Hi! I know that these versions of tomcat and apace1.3.14 are fast no more in use by many. I would be very glad if anyone had had this problem and could remember how he/she did fix it. Here is the error message: 2002-11-13 06:04:01 - ContextManager: Adding context Ctx( /resource ) 2002-11-13

Re: can write to / not /var frpm jsp/servlet

2002-11-15 Thread Torsten Fohrer
how do you mount the other partition? On Friday 15 November 2002 18:13, Brendon Mosher wrote: I have run accross an unusual problem. I am running Linux and am able to write to any directory in the same partition as / from a servlet or jsp. However, if i try and write from a servlet or jsp to

Re: Cahrset problem

2002-11-15 Thread Torsten Fohrer
some tips from me 1. mask non standart characters with html entitys like nbsp; that you display in html pages, if there exist some one. 2. setting response contentType, with % page contentType= 3. adding to the head of your html page meta http-equiv=Content-Type content=text/html;

openSSL - but at what point ???

2002-11-15 Thread achana
Hi All. I know this has been discussed ad nauseum, but I do need some clarification conceptually. By the time the web-server applet calls a servlet in Tomcat, the http request has already gone pass the firewall. Ideally, I would like to see anything between the web-server and the browser encoded

Re: openSSL - but at what point ???

2002-11-15 Thread Neufeld David L
I'm no security expert, but I was looking at mod_ssl the other day, so here are my thoughts... 1Is there a need for SSL between web server and Tomcat? It depends on what traffic is allowed through your firewall? If webserver-tomcat communication is on port 8009 and your firewall doesn't allow

RE: jk2 load balancing problem (only fail-over)

2002-11-15 Thread Milt Epstein
On Fri, 15 Nov 2002, Turner, John wrote: The Coyote connector speaks JK...there's no reason to use Ajp13Connector if you don't want to, [ ... ] Other than the apparent isSecure()/getScheme() bug with CoyoteConnector when using AJP :-). though I haven't

RE: Apache 2, Tomcat 4, Lee 0

2002-11-15 Thread Lee Grey
The distinction of host versus virtualhost in workers.properties is critical and was never clear to me. The examples in the Workers HOW-TO use domain-like names such as www.x.com, www2.x.com, and node1.domain.org. I'm already obsessed about getting the VirtualHosts right, so my mind was in that

Interacting with desktop (jxta/tomcat/apachesoap)

2002-11-15 Thread Dave Searle
Hi, My final year project is titled: describing peer-to-peer networks using webservices. I am using JXTA for the p2p network and tomcat/apache soap for the webservice platform. My aim is to create a JXTA peer which connects to the JXTA network when it is invoked via a webservice. I have a very

Tomcat support for Java Connector Architecture?

2002-11-15 Thread Jason Rizer
Hello, I've written a resource adapter for an EIS compliant with the J2EE Connector Architecture. I've done some preliminatry testing using Sun's J2ee Server Reference Implementation. I would like to move my test application to a straight stand alone Tomcat installation. I've read all the

Re: Detecting Usage of http/1.1 by Tomcat

2002-11-15 Thread Craig R. McClanahan
On Fri, 15 Nov 2002, Cees van de Griend wrote: response.setHeader(Cache-Control,no-cache); response.setHeader(Cache-Control,no-store); response.setHeader(Cache-Control,must-revalidate); Don't know if this is all of your problem, but the above code probably

Re: ManagedBean is not found with Ajp13Connector

2002-11-15 Thread Bill Barker
- Original Message - From: Milt Epstein [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Cc: Bill Barker [EMAIL PROTECTED] Sent: Friday, November 15, 2002 8:25 AM Subject: Re: ManagedBean is not found with Ajp13Connector On Fri, 15 Nov 2002, Bill Barker wrote: In the

Re: Tomcat support for Java Connector Architecture?

2002-11-15 Thread Craig R. McClanahan
On Fri, 15 Nov 2002, Jason Rizer wrote: Date: Fri, 15 Nov 2002 11:01:46 -0800 (PST) From: Jason Rizer [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Tomcat support for Java Connector Architecture? Hello, I've written a

RE: Apache 2, Tomcat 4, Lee 0

2002-11-15 Thread Turner, John
The HOW-TO is correct...though it's not clear exactly why. Typically, each Tomcat instance has one Connector configured, and there is typically one worker configured to connect to it. For example, in a load-balancing scenario, Tomcat-A has a Connector on port 8009, as does Tomcat-B. There

Re: Tomcat support for Java Connector Architecture?

2002-11-15 Thread Jason Rizer
No. Tomcat standalone is not a J2EE server, and only supports servlet/jsp. I suspected as much. Thanks for the quick confirmation. -Jason (who is back to Sun's RI server and all its foibles) __ Do you Yahoo!? Yahoo! Web Hosting - Let the

Strange behaviour of webapps/examples/jsp/security with SSL transport guarantee and best practice for SSL logins?!

2002-11-15 Thread mech
I was trying to use the webapps/exmaples/jsp/security/protected example with SSL but experienced strange effects with different browsers. I did the following with Tomcat 4.1.12LE (Jboss bundle, but shouldn't matter as tomcat was started standalone): I successfully enabled SSL by uncommenting and

Re: building the mod_jk2 in one linux SuSE 8.1

2002-11-15 Thread Dionisio Ruiz de Zarate
thanks for your answer. but one question: in the jakarta/jk directori i have native and native2 directories. for one apache 1.3.26 and tomcat 4.1.12 which must i to use? thanks - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent:

RE: building the mod_jk2 in one linux SuSE 8.1

2002-11-15 Thread Turner, John
native John -Original Message- From: Dionisio Ruiz de Zarate [mailto:dionisio;tinieblas.com] Sent: Friday, November 15, 2002 2:42 PM To: Tomcat Users List Subject: Re: building the mod_jk2 in one linux SuSE 8.1 thanks for your answer. but one question: in the jakarta/jk

PoolTcpConnector not found?

2002-11-15 Thread Lee Grey
When I try to start Tomcat, catalina.out says: Nov 15, 2002 3:10:50 PM org.apache.commons.digester.Digester startElement SEVERE: Begin event threw exception java.lang.ClassNotFoundException: org.apache.tomcat.service.PoolTcpConnector at

RE: PoolTcpConnector not found?

2002-11-15 Thread Lee Grey
There is a definite cost to free software. I'm losing my mind. If Engine appears before Connector, Tomcat starts. If Connector appears before Engine, Tomcat fails with PoolTcpConnector not found. Aside from the fact that a non-nested XML structure should not be order-dependent, AFAIK, the

How does servlets know it is a page refresh?

2002-11-15 Thread Peter Lee
I have some servlets serving html pages from the servlet engine. suppose the user click the refresh button of the browser. How does the servlet know that the user wants a refresh of the page? My servlet needs to know if it is a refresh since if it processes the same request twice in a row, it

RE: Serving PDF files gets different results from Tomcat 3.3 to 4.1

2002-11-15 Thread Hugo Villeneuve
I have found the problem. It was a IE issues with the Cache-Control header parameter. Under HTTP 1.0 (Tomcat 3.3) IE5 and Adobe gets pdf correctly. With HTTP 1.1 and the use of Cache-Control=no-cache IE5 keep asking to save the PDF file.. MS is suppose to send SP4 in november. Thank you all.

System.out.println not working on servlets initialized when Tomcat starts

2002-11-15 Thread Travis Shook
Hi, For some reason, for any servlets that are initialized via the web.xml (load-on-startup), Tomcat is not printing out to my DOS screen any of my error messages or System.out.prinln in the code, although these are printing out fine for any other Servlets or JavaBeans, etc. Is there a setting

Errors in mod_jk.log

2002-11-15 Thread Lee Grey
When I try to run a JSP or servlet, I get the following in mod_jk.log (this is all from a single request): [Fri Nov 15 15:47:27 2002] [jk_connect.c (177)]: jk_open_socket, connect() failed errno = 111 [Fri Nov 15 15:47:27 2002] [jk_ajp_common.c (626)]: In

Re: System.out.println not working on servlets initialized when Tomcat starts

2002-11-15 Thread achana
Hi Travis Can you see them in $CATALINA_HOME/logs/catalina.out ??? That's how I debug my stuff -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

Re: How to see JSP error messages while tomcat is running

2002-11-15 Thread Paul Legato
Steven Peterson wrote: what the error was. Is there any way to see the error output of a jsp page without shutting down tomcat either by a) having the output sent to the html stream; or b) having the log file accessible while tomcat is running; or c) . . . ? If you do your development on a

AW: System.out.println not working on servlets initialized when Tomcat starts

2002-11-15 Thread josh
I have almost the same problem in Tomcat 4.1.12 - in my case tomcat just doesn't print out the System.out.prinln in the servlet init() methode, the System.out.prinln in the service methode works. In Tomcat 4.0.4 it worked without problem. I think it has something to do with the new loggin/debug

  1   2   >