Re: User Interface To Tomcat User List

2003-03-20 Thread Bill Barker
Over a year ago, there was an attempt to setup a forum for Tomcat. It is actually still there at http://nagoya.apache.org/jive/index.jsp. It pretty much died for lack of interest. Chris Dodunski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How about an eForum that in addition to

Re: java.lang.IllegalArgumentException: 0111111Englishm%2Fd%2Fyy%2E ,,

2003-03-20 Thread Bill Barker
The fix in 4.1.24 handles the case when an illegal name/value pair is sent from the browser (e.g. via a JavaScript directive in the page). The way it works is by logging the problem, and dropping the cookie. For server-side cookies (for e.g. bug #18162), you simply need to use version 1 cookies

Re: error-page used by multiple contexts

2003-03-20 Thread Bill Barker
Madere, Colin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] So I set error-page in the /conf/web.xml for the whole server. error-page error-code401/error-code location/pub/error/401.html/location /error-page error-page error-code403/error-code

Re: compiling from source: error on jasper...

2003-03-20 Thread Bill Barker
If you are behind a corporate firewall, then you also need to uncomment the: proxy.host proxy.port proxy.use settings (and set the values to your proxy server's settings). For example: proxy.host=proxy.myfirm.com proxy.port=8080 proxy.use=true Filip Hanik [EMAIL PROTECTED] wrote in message

mod_jk.conf and ajp13

2003-03-20 Thread Erki Kriks
Hello! I want to use ajp13 (not ajp12). I'm using Windows 2000 server and tomcat 3.2.1 I have declared into mod_jk.conf following lines: LoadModule jk_module modules/mod_jk.dll IfModule mod_jk.c JkWorkersFile fill-path-to/workers.properties JkLogFile logs/jk.log JkLogLevel warn JkMount /*.jsp

RE: Question about AutoDeployment Feature of 4.1.18

2003-03-20 Thread Gerstel, Rachel
Thanks Jacob for you reply, but I am wondering - if I have no existing directory, just a new .war file - should it unpack without a restart of tomcat or a call to the tomcat manager application? Does the running server know that a new war has been placed into webapps instinctively and unpack it

RE: Tomcat 4 load balancing

2003-03-20 Thread GIRY Patrick
I am testing config on 3 server (1 apache 2.0.43, 2 tomcat 4.1.12) with the mod_jk-2.0.43.so I don't understand how to define good values for the lbfactor to have same of tomcat session number on the two tomcat server. Can you help me to define the good value for lbfactory? Patrick GIRY

Re: Do not understand tomcat-apache autoconfiguration

2003-03-20 Thread Bill Barker
If it wasn't deprecated, I'd probably go back and add a 3.3-style all-in directive to the 4.x auto-config. In the mean-time go back and read http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html#Using%20Apach eConfig. Vincent Panel [EMAIL PROTECTED] wrote in message news:[EMAIL

Very simple servlet - won't show up

2003-03-20 Thread David Thielen
Hi; I am trying to get a very simple servlet to display. This is my web.xml file: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameWindward Utilities/display-name

RE: Very simple servlet - won't show up

2003-03-20 Thread Nandish A
-Original Message- From: David Thielen [SMTP:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 6:36 AM To: Tomcat Users Subject:Very simple servlet - won't show up Hi; I am trying to get a very simple servlet to display. This is my web.xml file: ?xml version=1.0

RE: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43

2003-03-20 Thread Marion McKelvie
Hello again, Is anyone running with the combination of Tomcat 4.1.18, Apache 2.0.43 and mod_jk 2.0.43 on Redhat 8? Marion -Original Message- From: Marion McKelvie [mailto:[EMAIL PROTECTED] Sent: 19 March 2003 10:38 To: [EMAIL PROTECTED] Subject: tomcat 4.1.18, apache 2.0.43, mod_jk

RE: Error : JDBC ODBC

2003-03-20 Thread Arnaud HERITIER
Where did you put your oracle jar ??? -Message d'origine- De : sanjeev/tcpl/[EMAIL PROTECTED] [mailto:sanjeev/tcpl/[EMAIL PROTECTED] Envoye : jeudi 8 novembre 2001 07:10 A : [EMAIL PROTECTED]; [EMAIL PROTECTED] Objet : Error : JDBC ODBC hi, i am facing these following

Re: mod_jk.conf and ajp13

2003-03-20 Thread tito santini
Hello, did you uncommented the following lines in server.xml? !-- Apache AJP13 support. This is also used to shut down tomcat. -- Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler

Re: mod_jk.conf and ajp13

2003-03-20 Thread Erki Kriks
Hi! Thank you for your help! I have the same configuration. But why are you using worker.list=ajp12, ajp13 instead of worker.list=ajp13 , while ajp13 is only required? It's very interesting, all auto-configuration files includes only ajp12 (instead of ajp13)? But nowhere ajp12 is declared, only

Re: mod_jk.conf and ajp13

2003-03-20 Thread tito santini
Hi! I suppose ajp12 is used in tomcat 3.2.1 to shutdown Tomcat, so it's still required. If you're still having trouble, you'd check which mod_jk configuration file is used to configure mod_jk: every time Tomcat restarts, it creates a new auto-config files, which, as you noted, declares to use

Problem with a Database ConnectionPool

2003-03-20 Thread Guillaume Albini
Hi, I use Tomcat 4.0.1 with the parameter reloadable=true for my webapp. I have a problem with my Database Connection Pool when Tomcat Reloading this Context after install new classes or *.jar. My connections are not destroy by tomcat and remain latency but my ConnectionPool can't use its. So,

restricting accesb by ip address

2003-03-20 Thread Neil Blue
Hello, I am using tomcat4 and would like to restrict access to a set of jsp pages, based on the IP address of the client. I have found how to do this with apache, but I am using tomcat standalone. Please can anyone tell me if this is possible with Tomcat standalone. Neil

Re: restricting accesb by ip address

2003-03-20 Thread Tim Funk
Try the Remote Address Filter http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html -Tim Neil Blue wrote: Hello, I am using tomcat4 and would like to restrict access to a set of jsp pages, based on the IP address of the client. I have found how to do this with apache, but I am

RE: restricting accesb by ip address

2003-03-20 Thread graghupathy
if it is a full application please look at Valve tag in server.xml Thanks guru -Original Message- From: Neil Blue [mailto:[EMAIL PROTECTED] Sent: 20 March 2003 11:55 To: '[EMAIL PROTECTED]' Subject: restricting accesb by ip address Hello, I am using tomcat4 and would like to restrict

RE: restricting accesb by ip address

2003-03-20 Thread graghupathy
Context path=/admin docBase=../server/webapps/admin debug=0 privileged=true !-- Uncomment this Valve to limit access to the Admin app to localhost for obvious security reasons. Allow may be a comma-separated list of hosts (or even regular expressions). Valve

Explanation for the server.xml

2003-03-20 Thread B A L A J I
Hi, Where can I find an explanation of the tags in the server.xml of the Tomcat and the changes in the various versions of Tomcat. Kind Regards Balaji - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Most deployed version of Tomcat

2003-03-20 Thread B A L A J I
Hi, Do anyone know which version of Tomcat is highly deployed? 3.x / 4.x . Is it advisable to move to the latest version of Tomcat? Kind Regards Balaji - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Explanation for the server.xml

2003-03-20 Thread Tim Funk
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/index.html -Tim B A L A J I wrote: Hi, Where can I find an explanation of the tags in the server.xml of the Tomcat and the changes in the various versions of Tomcat. Kind Regards Balaji

RE: restricting accesb by ip address

2003-03-20 Thread Neil Blue
Thanks, I added that to the examples Context and it works fine :) I noted that I need to access the pages as http://127.0.0.1:8080... and that using my host name did not allow access. This is not a problem just an observation. Cheers Neil -Original Message- From: [EMAIL PROTECTED]

Re: Most deployed version of Tomcat

2003-03-20 Thread Tim Funk
Everyone will probably recommend 4.1.X. I still use 4.0.X with no problems on a fairly high volume site. Stay away from 3.X unless you are stuck with a 1.1 JDK or have some other wacky technical requirement. Not that 3.X is bad - it only supports the 2.2 spec. -Tim B A L A J I wrote: Hi, Do

Re: Do not understand tomcat-apache autoconfiguration

2003-03-20 Thread Vincent Panel
Well, thanks, but I've already read this. It is not really explaining WHERE are supposed to be those Listeners that turn tomcat ApacheConfig on. When you read the doc, it seems that you're supposed to put one listener inside the Server tag and another one inside each Context tag (remember I do

Worker found, but not doing any work?

2003-03-20 Thread Frank Garber
I'm using Tomcat 4.1.18 with Apache 2.0.44. When I browse directly to the Tomcat examples all the servlets and JSPs work fine. I'm having trouble accessing the examples through apache. I've found numerous examples on the web for setup. Each is different and unfortunately, none of them has

migrate from webapp to jk2

2003-03-20 Thread Herbert G. Fischer
Hi, I still don't understand how to configure jk2. Let me explain a bit more. Today, we use Apache 1.2.x + Tomcat 4.0.x + mod_webapp. For every website I host, I do this: 1- Configure the virtual on Apache 2- Map some directories to tomcat 3- Configure a new host in Tomcat, with a related

How can I install the ant to run with the TomCat 4.1.18 integrated with IIS?

2003-03-20 Thread Edemilson Aguiar
Hello all, Somebody know How can I install the ant to run with the TomCat 4.1.18 integrated with IIS?? Please, if someone has some documentations or link about it let me know. I'll appreciate it!! Tks. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system

RE: Question about AutoDeployment Feature of 4.1.18

2003-03-20 Thread Jacob Kjome
You didn't clarify whether you have a Context ... entry for your app in server.xml or a context configuration file. If you do, then no, your .war file won't be automatically expanded. However, if you don't, with the default setup, if you drop your.war file into the webapps directory, it

build tomcat-connectors xdocs

2003-03-20 Thread Herbert G. Fischer
Hi, Anybody knows how to build xdocs from jakarta-tomcat-connectors? It comes in XML format without linking to XSL... I suppose that it need to be build to HTML. Thanks, Herbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Do not understand tomcat-apache autoconfiguration

2003-03-20 Thread Jacob Kjome
Close. One inside the Server tag and one inside each Host tag that you want autogenerated. Here's mine... Server Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=mod_jk.dll jkDebug=info / ... ... ... Host ... Listener

Re: Do not understand tomcat-apache autoconfiguration

2003-03-20 Thread Vincent Panel
OK, thanks But it generates Virutalhost directives and inside, there's only JkMount's, no Directory, no Alias, right ? What I really need (and I'm pretty sure I'm not the only one) is something like this (for each of my contexts) : # # The following line makes apache aware of the location of

Re: Do not understand tomcat-apache autoconfiguration

2003-03-20 Thread John Turner
Here's an example of exactly what it creates: http://www.johnturner.com/howto/mod_jk_conf.html John On 20 Mar 2003 16:06:41 +0100, Vincent Panel [EMAIL PROTECTED] wrote: OK, thanks But it generates Virutalhost directives and inside, there's only JkMount's, no Directory, no Alias, right ? What

RE: Problem with a Database ConnectionPool

2003-03-20 Thread Phillip Qin
Can you destroy it in your initialization servlet's destroy method? -Original Message- From: Guillaume Albini [mailto:[EMAIL PROTECTED] Sent: March 20, 2003 6:32 AM To: [EMAIL PROTECTED] Subject: Problem with a Database ConnectionPool Hi, I use Tomcat 4.0.1 with the parameter

Oracle Designer and Tomcat

2003-03-20 Thread Hunter, Sandra
I am using Oracle Designer to do my database stuff and Tomcat to manage my JSP. However, Oracle designer, which was installed first, stopped running properly after I installed Tomcat. I get an error claiming that my protocol adaptor in my TNSNAMES file is unknown and I can't open Designer or

XP and session persistence

2003-03-20 Thread Frank Diakovasilis
I have run a web application on NT and it works fine, when installed (with tomcat 4.0) on XP, it does not work properly. The problem seems to be session persistence. Under XP, when creating a session, tomcat does not attempt to put a cookie (JSESSIONID) to the browser. Has anybody come across

RE: Do not understand tomcat-apache autoconfiguration. To John Turner.

2003-03-20 Thread Victor Gonzalez
It for me is the better example about how-to... And John, I need configure now... :) Tomcat with IIS and SQL Server. Do you want other document how-to to realize these connections?? Or a link? Tnks, Regards, Victor González *** -Original Message- From: John Turner

Re: Do not understand tomcat-apache autoconfiguration

2003-03-20 Thread Jacob Kjome
Well, you could try it and see. Here is what is generated for me (attached)... Jake At 04:06 PM 3/20/2003 +0100, you wrote: OK, thanks But it generates Virutalhost directives and inside, there's only JkMount's, no Directory, no Alias, right ? What I really need (and I'm pretty sure I'm not the

Re: Problem with a Database ConnectionPool

2003-03-20 Thread Guillaume Albini
No, I use Struts 1.0.2 and my ConnectionPool call in business method outside my servlet's On Thu, 20 Mar 2003 09:59:54 -0500 Phillip Qin [EMAIL PROTECTED] wrote: Can you destroy it in your initialization servlet's destroy method? -Original Message- From: Guillaume Albini

Tomcat error when starting after enabling Ajp13Connector

2003-03-20 Thread QJian
All I am trying to plugin tomcat with IIS 5 using jk1.0 which requires enabling org.apache.ajp.tomcat4.Ajp13Connector. I commented out the org.apache.coyote.tomcat4.CoyoteConnector and uncommented org.apache.ajp.tomcat4.Ajp13Connector. Then I got a exception below when tomcat started. What's

Re: Do not understand tomcat-apache autoconfiguration. To John Turner.

2003-03-20 Thread John Turner
Sorry, I don't use IIS for web servers. John On Thu, 20 Mar 2003 09:46:53 -0600, Victor Gonzalez [EMAIL PROTECTED] wrote: It for me is the better example about how-to... And John, I need configure now... :) Tomcat with IIS and SQL Server. Do you want other document how-to to realize these

RE: Do not understand tomcat-apache autoconfiguration. To John Turner.

2003-03-20 Thread Victor Gonzalez
And a how-to with SQL Server?? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 10:04 AM To: Tomcat Users List Subject: Re: Do not understand tomcat-apache autoconfiguration. To John Turner. Sorry, I don't use IIS for web servers. John On

Re: Do not understand tomcat-apache autoconfiguration

2003-03-20 Thread Vincent Panel
OK, thanks. It still seems impossible to avoid this virtualhosting feature if you do not want it. Moreover, after setting exacly the same parameters than (both of) you, these three lines do not appear in my mod_jk.conf : JkWorkersFile

Re: Tomcat error when starting after enabling Ajp13Connector

2003-03-20 Thread John Turner
Ajp13Connector is not compatible with MBeans. Either use CoyoteConnector, or disable the MBean lines in your server.xml. John On Thu, 20 Mar 2003 11:00:11 -0500, [EMAIL PROTECTED] wrote: All I am trying to plugin tomcat with IIS 5 using jk1.0 which requires enabling

I need two really goods how-to both, IIS 5.0 and SQL Server

2003-03-20 Thread Victor Gonzalez
Hi, I have tomcat 4.1.18 to develop, but my client wants work with IIS and SQL Server, I want the how-to to realize these connections, Tnks. Victor González

Re: Do not understand tomcat-apache autoconfiguration

2003-03-20 Thread John Turner
Sorry, I looked back in the thread, but I'm not clear what the problem is. The example mod_jk.conf file clearly has a virtual host for each Host, and a Directory and Alias container for each Context. This is demonstrated by the fact that /manager and /admin are dynamic Contexts, but have a

Re: I need two really goods how-to both, IIS 5.0 and SQL Server

2003-03-20 Thread gilad . buzi
as far as connecting to MSSQL Server, you could use the jtds drivers: http://jtds.sourceforge.net as for IIS.. hmm... /gilad Gilad Buzi RD Engineer · CONCATEL

Re: Do not understand tomcat-apache autoconfiguration. To John Turner.

2003-03-20 Thread John Turner
Not sure what you mean...there's not much to it. You'll need a third-party driver ($$) to get true production-level features with multiple connections. The free Type 4 driver from Microsoft is fairly problematic, after a couple weeks of trying to make it work we ended up going with a

User Web Applications with both apache and tomcat

2003-03-20 Thread Simone Chiaretta
Hello all, I tried to configure User Web Applications (the one with myserver.com/~username) with tomcat and it works I did the same with apache, and it works but I don't know (not managed to) get this working in a configuration with mod_jk and apache 2.0.44 and tomcat 4.1.18 Does anyone know how

Unsure how to set Context.URL_PKG_PREFIXES for the javaURLContextFactory, Catalina container

2003-03-20 Thread James Lewis
Hi Folks, I'm currently writing some JUnit tests for an application that normally runs under Tomcat 4.1.18. To this end I need to spoof the Context that the tomcat container uses. I am using the javaURLContextFactory type when creating an InitialContext and am getting the following message after

Classpath Question

2003-03-20 Thread Richard Jones
Hi, I am using tomcat version 4 as a web service provider. I have 10 web services for my application and they all seem to compile properly. the issue is when I go to run the application I get a java.rmi.ServerException error with a missing port. I am nearly 95% sure that it is a problem with

tomcat 3 vs 4 issues

2003-03-20 Thread Wayne A Christian
We've got a product which runs on tomcat 3.3.1. When we attempt to run it in 4.1.18 it fails. We think this is because the web.xml has a tld which doesn't exist in the products WEB-INF (or anywhere) directory. It looks like the old tomcat would silently ignore this issue. Is there anyway to

RE: XP and session persistence

2003-03-20 Thread Scott Purcell
If Tomcat is unable to set a cookie to the browser, it should do url rewriting. Are you seeing that? -scott -Original Message- From: Frank Diakovasilis [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 9:47 AM To: [EMAIL PROTECTED] Subject: XP and session persistence I have run

Re: Can't connect to X11 window server using '0:0' as the value ofthe display and now java.awt.HeadlessException

2003-03-20 Thread Georges Roux
Hi, I put System.setProperty(java.awt.headless, true); in my servlet init method it's ok, but now when I open a Frame, I get the exception HeadlessException: java.awt.HeadlessException at java.awt.GraphicsEnvironnement.checkHeadless(GraphicsEnvironement.java:121) at

Re: Classpath Question

2003-03-20 Thread gilad . buzi
I ran against the same problem and found a solution I'm more or less happy with (perhaps someone with more experience can correct me if my solution is crazy.) If you ABSOLUTELY cannot move your classes into %TOMCAT_HOME% \common\classes directory, there is another option: In your

R: User Web Applications with both apache and tomcat

2003-03-20 Thread Simone Chiaretta
Thank you but I'm not using warp to connect the 2 services, but mod_jk... and I'm using apache 2 and not 1.3.x I suppose the configuration is quite different. One thing: I already got apache and tomcat working togheter with normal virtual hosts and so on I'm missing just the user directory part.

RE: User Web Applications with both apache and tomcat

2003-03-20 Thread Edson Barbosa
Hi, Simone !! Fist I'm sorry my bad english, but I try to help. I send below the some instructions about how join the Apache Web Server and Tom Cat. Let me know if you have solve(or not) this problems. Regards. Edson CARVAlho Essa descrição leva em conta que o Apache 1.3.26 e o Tom Cat 4.01

Load balancing and Sticky sessions

2003-03-20 Thread Kavitha ranga
Hello, I have Apache and 2 tomcats running on 2 separate servers which are in a cluster. I am running Tomcat 4.0(using ajp13) via mod_jk. I am also using load balancing.I am losing my session variables when there is a switch between the 2 tomcats. Any help is greatly appreciated. thanks in

RE: Load balancing and Sticky sessions

2003-03-20 Thread Filip Hanik
Hi Kavita, what clustering library are you using. There are several options that we can offer you to do. 1. Try the clustering that is going to ship with Tomcat 4, http://www.filip.net/tomcat-clustering.html 2. Take out Apache out of the equation to make sure your clustering is working

Re: Load balancing and Sticky sessions

2003-03-20 Thread Ben Ricker
Unless you have session replication going on between the two Tomcats (or are running Tomcat 5...doubtful since it is in its infant stages), you will always lose your session if you get sent from one Tomcat to another. Ben Ricker On Thu, 2003-03-20 at 12:09, Kavitha ranga wrote: Hello, I

RE: Load balancing and Sticky sessions

2003-03-20 Thread Jackson, Stephen
Check your settings in workers.properties # # The loadbalancer (type lb) worker performs weighted round-robin # load balancing with sticky sessions. # Note: # If a worker dies, the load balancer will check its state #once in a while. Until then all work is redirected to peer #

RE: Load balancing and Sticky sessions

2003-03-20 Thread Filip Hanik
Hi Ben, session replication is working for Tomcat 5, and I have back ported a version to tomcat 4.1.x http://www.filip.net/tomcat-clustering.html Filip -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 10:18 AM To: Tomcat Users List Subject: Re:

Re: Load balancing and Sticky sessions

2003-03-20 Thread Kavitha ranga
I think I did not make my point clear. I have to rephrase my question. we have Apache 1.3 and 2 tomcats(4.0 ) running on 2 different servers. The 2 servers are on SUN cluster and we have only apache and Oracle as part of the cluster. Tomcat is not in the cluster. So when a switch takes place

RE: Can't connect to X11 window server using '0:0' as the value of the display and now java.awt.HeadlessException

2003-03-20 Thread Chad Johnson
Hey, From the 1.4.x api docs: HeadlessException: Thrown when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse. That Frame seems to be the culprit of this. -Chad Johnson -Original Message- From:

RE: Load balancing and Sticky sessions

2003-03-20 Thread Filip Hanik
yes, if you don't cluster your tomcat servers, don't expect session replication to work :-), yes, there are jdk 1.3 version out there, there is one commercial one which you have to pay for. just make a search on google, Filip -Original Message- From: Kavitha ranga [mailto:[EMAIL

Re: Can't connect to X11 window server using '0:0' as the value of the display and now java.awt.HeadlessException

2003-03-20 Thread Micael
You using Linux? What is your environment? Anyway, setting the JVM is the way to go if you are using Linux. At 06:09 PM 3/20/03 +0100, you wrote: Hi, I put System.setProperty(java.awt.headless, true); in my servlet init method it's ok, but now when I open a Frame, I get the exception

RE: I need two really goods how-to both, IIS 5.0 and SQL Server

2003-03-20 Thread Chad Johnson
Hey, Microsoft actually maintains a JDBC driver for SQL Server : http://www.microsoft.com/downloads/details.aspx?FamilyID=4f8f2f01-1ed7-4 c4d-8f7b-3d47969e66aeDisplayLang=en -Chad Johnson -Original Message- From: Victor Gonzalez [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20,

Manager application.

2003-03-20 Thread Andoni
Hello, I am using Tomcat 4.0.4 and the manager application to upload .war files. This works fine. The question I have is where are my files being uploaded to? as I don't see them in the webapps directory of the remote server. Also, if it is being held in memory some how then when I restart

Re: Classpath Question

2003-03-20 Thread Micael
A problem with the classpath should indicate a classpath related exception, which essentially is an inability to find a class. Why do you think that hte java.rmi.ServerException fits into this pattern? If you don't declare where the class paths [sic] are for each application how do you expect

Error to create the keystores

2003-03-20 Thread mgp2
Hi. I have a web server Tomcat 4.1.18 and it works fine. My problem is when I create the keystore tomcat of manual form. I have created two Java methods: addCertToKeyStore and addPKToKeyStore. I realize the following step to create my own keystore: - I add CA certificate in JDK keystore

Cookie differences in Migrating TC 3.2.3 to TC 4.0.1

2003-03-20 Thread Amir . Shidfar
Hi All I am migrating from TC 3.2.xx to 4.0.xx and can not get my cookie to validate the Login ID process. I am using a JNI to load a share object library for cookie validation. It works fine in 3.2 but it does not work in TC 4.0 The problem has to do with the way the cookie gets setup between

RE: I need two really goods how-to both, IIS 5.0 and SQL Server

2003-03-20 Thread Victor Gonzalez
Well, The gurus said The jdbc Microsoft is no the better, it is a shi..., blah blah..., I don't know, I never worked with SQL Server, but, I try with the 2 responses, Tnks gays, Love and peace Victor González *** -Original Message- From: Chad Johnson [mailto:[EMAIL

Re: I need two really goods how-to both, IIS 5.0 and SQL Server

2003-03-20 Thread John Turner
Doesn't hurt to try it, it might work for your purposes. We needed CachedRowSet, and at the time (last summer), the MSFT-supplied Type 4 driver didn't support it and there were no plans to do so in the future, so we went with another driver. IIRC, there was also an issue of DB support, as in

Re: Can't connect to X11 window server using '0:0' as the value ofthe display and now java.awt.HeadlessException

2003-03-20 Thread p niemandt
ok: there is another solution to the headless thing: (I wrote a graphical servlet that runs on a linux box without X, and had the same problems: The headless seemed to work, well, kinda, but not to my liking): So I went the xvfb route: This is a virtual frame buffer to can install on a linux box

Clustering Tomcat with OSCAR

2003-03-20 Thread Frank Dmuchowski
I was our intention is to cluster our apache/tomcat application server with a high performance clustering package called OSCAR. However, we saw a message in the OSCAR mailinglist archive stating that ..tomcat was not cluster aware in any sense. It mentioned using something called

Can't get logger/debug messages

2003-03-20 Thread David Thielen
Hi; In server.xml I changed logging to Server port=8005 shutdown=SHUTDOWN debug=4 Logger className=org.apache.catalina.logger.FileLogger verbosity=4 directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ Yet I get no additional messages. Any ideas? Also, I am assuming with

RE: Clustering Tomcat with OSCAR

2003-03-20 Thread Filip Hanik
Tomcat 5 ships with a cluster module, that I have back ported to 4.1.x, you have to use JDK1.4 since it uses java.nio for performance reasons http://www.filip.net/tomcat-clustering.html Filip -Original Message- From: Matthew Sachs [mailto:[EMAIL PROTECTED] Behalf Of Frank

Re: Can't connect to X11 window server using '0:0' as the value of the display and now java.awt.HeadlessException

2003-03-20 Thread Glenn Parsons
At 07:18 PM 3/20/2003 +, you wrote: ok: there is another solution to the headless thing: (I wrote a graphical servlet that runs on a linux box without X, and had the same problems: The headless seemed to work, well, kinda, but not to my liking): So I went the xvfb route: This is a virtual

Latest distribution of coyote connector

2003-03-20 Thread Sankaranarayanan (Ganesh) Ganapathy
Hi All, Where do I get the latest distribution of coyote connector. http://jakarta.apache.org/builds/jakarta-tomcat-connectors/coyote/release/ has only old releases. That is what is not bundled with 4.1.18. If I just the take necessary jars from 4.1.18(commons-logging.jar tomcat-coyote.jar

Re: Clustering Tomcat with OSCAR

2003-03-20 Thread C. Gaffga
Hi ! have you ever tried google??# http://www.google.com/search?q=tomcat+cluster+session+replication I'm using the java-groups solution described in http://www.theserverside.com/resources/article.jsp?l=Tomcat and it works fine for me. We are running 6 tomcats4.1 on jdk1.4.1/linux 7.3 on

Tomcat and statically included JSPs

2003-03-20 Thread Grivsky, John
hi we are using Tomcat 4.1.18/IIS on a win2000 machine. we have one JSP statically including other JSPs, and I know that Tomcat can detect and recompile statically included pages when they are modified (whether or not the calling page has been modified). This works fine on its own. However,

Re: Can't connect to X11 window server using '0:0' as the value ofthe display and now java.awt.HeadlessException

2003-03-20 Thread p niemandt
Difficult to say: What kind of problems? I start mine using Xvfb :0 -screen 0 1600x1200x32 {I just added it to rc.local } On Thu, 2003-03-20 at 19:27, Glenn Parsons wrote: At 07:18 PM 3/20/2003 +, you wrote: ok: there is another solution to the headless thing: (I wrote a graphical

Re: Can't connect to X11 window server using '0:0' as the value of the display and now java.awt.HeadlessException

2003-03-20 Thread Glenn Parsons
At 07:59 PM 3/20/2003 +, you wrote: Difficult to say: What kind of problems? I start mine using Xvfb :0 -screen 0 1600x1200x32 {I just added it to rc.local } Will retry with resolution change. Thanks, Glenn - To

getting Tomcat's context from outside

2003-03-20 Thread Gaston Escobar
I've developed a webapplication under tomcat with a datasource. It works fine, however, I'm trying to do a standalone application that uses the classes of this webapplication, everything works until it tries to get the context in order to get a connection to the database. How can I get the

RE: Clustering Tomcat with OSCAR

2003-03-20 Thread Filip Hanik
for better performance code, uses TCP to convey the data instead http://www.filip.net/tomcat-clustering.html Filip -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of C. Gaffga Sent: Thursday, March 20, 2003 11:24 AM To: [EMAIL PROTECTED] Subject: Re: Clustering

RE: Worker found, but not doing any work?

2003-03-20 Thread Chris Dodunski
Hi, Check your logs for errors. You should find a message stating that a certain page can not be found. What is the path? If it is something like APACHE_HOME/htdocs/examples/*.jsp then the document root in httpd.conf needs looking at. Chris. -Original Message- From: Frank Garber

Re: Can't connect to X11 window server using '0:0' as the value of the display and now java.awt.HeadlessException

2003-03-20 Thread Micael
For me the easiest thing was just to provide the right command line options (java.awt.headless=true) when I started up Tomcat. At 02:27 PM 3/20/03 -0500, you wrote: At 07:18 PM 3/20/2003 +, you wrote: ok: there is another solution to the headless thing: (I wrote a graphical servlet that runs

SSL Handshake failure

2003-03-20 Thread Davis, Jeremy
I setup a tomcat 3.3.1 system, with the ssl connector, JSSE, generated cert and keystore, per documentation. Every time I attempt to hit https://theserver:8443/ we get the below in the console window for tomcat... PoolTcpEndpoint: Handshake failed javax.net.ssl.SSLException: bad handshake record

RE: Can't connect to X11 window server using '0:0' as the value ofthe display and now java.awt.HeadlessException

2003-03-20 Thread Chris Dodunski
Hi, Another common (Java) solution is to install PJA Toolkit: PJA (Pure Java AWT) Toolkit is a JavaTM library for drawing graphics developed by eTeks. It is 100% Pure Java and doesn't use any native graphics resource of the system on which the Java Virtual Machine runs. java.awt.Graphics methods

Problem with my aplication

2003-03-20 Thread Claudio Pimentel Modesto
Hello there, I´m using Tomcat 4.1.12 for a while and I'm very happy with it. Congratulations. Today I had a problem like this, it's happening sometimes. There are about 80 browser accessing it and my server has 2GB of RAM and 2 xeon processor at 2GHz. I'm using java 1.4.0 Take a look at

RE: Problem with my aplication

2003-03-20 Thread Davis, Jeremy
You may want to try some JVM tweaks to play with the memory heap size, the garbage collection size and such? Jeremy Davis Senior Support Analyst BPI Marketplace Integration 614.760.8941 1.800.436.8726 - Support Line -Original Message- From: Claudio Pimentel Modesto [mailto:[EMAIL

Need help with tomcat running as service with ajp13

2003-03-20 Thread Strecker, Mark
Hello All, I have Tomcat 4.1.18 running as a service on an NT4.0 machine with Java 1.3.1 ... also it is getting requests via ajp13 from an apache server. It starts and works fine, but I am seeing a problem where it gets stuck and pegs the cpu. I can still connect to the administration page

RE: Need help with tomcat running as service with ajp13

2003-03-20 Thread Davis, Jeremy
There is an issue with the JDK 1.3.x and NT running as a service? Maybe try and upgrade the jdk to 1.4? Jeremy Davis Senior Support Analyst BPI Marketplace Integration 614.760.8941 1.800.436.8726 - Support Line -Original Message- From: Strecker, Mark [mailto:[EMAIL PROTECTED] Sent:

Re: Need help with tomcat running as service with ajp13

2003-03-20 Thread Jake Robb
The very first thing I'd try is upgrading to the latest version of the JDK (1.4.1_01). I thought Tomcat 4.x required it -- I'm surprised you got as far as you did! -Jake - Original Message - From: Strecker, Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday,

Re: Can't connect to X11 window server using '0:0' as the value ofthe display and now java.awt.HeadlessException

2003-03-20 Thread p niemandt
Yep: Done correctly, this is probably the more 'correct' solution, but, and I'm probably opening myself to a lot of flamebait, but I do suspect that using something like Xvfb might give some advantages that using headless won't. For example, and I'm just guessing, but I think that 'headless' is

RE: Can't connect to X11 window server using '0:0' as the value ofthe display and now java.awt.HeadlessException

2003-03-20 Thread Andy Eastham
Hi, I would say that Xvfb does _not_ connect to your display adapter - the v stands for virtual, ie it's not a real frame buffer as in a video card - it's a virtual one in your systems normal memory. It's specifically for taking the place of a display adapter when your server doesn't have one.

Re: Can't connect to X11 window server using '0:0' as the value ofthedisplay and now java.awt.HeadlessException

2003-03-20 Thread Georges Roux
Sorry but with headless I can't create a Frame, with Xvfb I can. Georges Andy Eastham wrote: Hi, I would say that Xvfb does _not_ connect to your display adapter - the v stands for virtual, ie it's not a real frame buffer as in a video card - it's a virtual one in your systems normal memory.

Transfer-encoding:chunked responsibilities?

2003-03-20 Thread Thom Park
Dear All, I couldn't find mention in the servlet spec for this so I'm asking here if anyone knows what the correct procedure should be. In a servlet I want to use the HTTP 1.1 chunked transfer encoding, so, I add the Transfer-encoding header with a value of chunked as a response header. I

weird mod_jk log messages

2003-03-20 Thread Dan K.
Hello everyone, I've looked through the mail archives for this mailing list and haven't found an answer to the weird mod_jk log message I get. So to end it once and for all, can any one please tell me why the following (see log below) is showing up in my mod_jk.log file? Are you guys getting

  1   2   >