Tomcat5 - Postgres-Datasource - SSL

2006-02-12 Thread FEZ (Felix Kratzer)
Hi list! It's driving me crazy! I need to connect to a postgres db using SSL! This is is how i daclare the datasource: url jdbc:postgresql://111.22.3.44/myWorkingDb?ssl password myWorkingPassword maxActive

Re: Tomcat5.15 basic setup question

2006-02-12 Thread Bob Hartung
Doug, Think I have it. I'll test it out tomorrow. Bob Parsons Technical Services wrote: Bob, Not a very good application if they are doing that. Hard coding things such as IP addresses is just asking for headaches. I take it that you have a link or a button with an action that is sending

RE: Desperate for help with isapi_redirect.dll

2006-02-12 Thread David Thielen
Hello; Ok, I upped the cachesize and now have a new problem First, it seems to not write all of the log entries. The final line is: [Sun Feb 12 21:14:08 2006] [warn] jk_uri_worker_map.c (42 Second, I am now getting this: [Sun Feb 12 13:34:23 2006] [error] jk_isapi_plugin.c (1049): could not get

Re: Tomcat5.15 basic setup question

2006-02-12 Thread Parsons Technical Services
Bob, Not a very good application if they are doing that. Hard coding things such as IP addresses is just asking for headaches. I take it that you have a link or a button with an action that is sending you to the desired page. Remove the "http://mirc.10.x.x.x.com:8080/mirc/"; and simply leave

Re: Encrypting ajp13 traffic

2006-02-12 Thread Parsons Technical Services
Sasha, There are several ways to accomplish this, and I think it has been mentioned on the list before but I don't remember a "best way" if it was decided there is one. Options include: VPN IPSec (part of VPN) ssh isolated lan segment (if feasible, IE your side of network) There may already

Tomcat5.15 basic setup question

2006-02-12 Thread Bob Hartung
Hi all, I am new to java and Tomcat. I have the following situation: FC4 server behind PIX box. Internal address 10.x.x.x. Outside address resolves to mirc.[website].[suffix] I have deployed a java application called MIRC and it works fine at the server console. From the same

Suggestion for documentation update about jvmRoute

2006-02-12 Thread Fred K
Hi: (I am not sure if this is the right forum for this message, please let me know otherwise.) In the documentation: http://tomcat.apache.org/tomcat-5.5-doc/config/engine.html jvmRoute Identifier which must be used in load balancing scenarios to enable session affinity. The identifier, which mu

Encrypting ajp13 traffic

2006-02-12 Thread Akoulov, Alexandre
Hi all, I am wondering if there is a way encrypt the traffic between apache and tomcat when they talk to each other on ajp13. All suggestions are welcome. Kind regards, Sasha. -Original Message- From: Ian Buzer [mailto:[EMAIL PROTECTED] Sent: Saturday, 11 February 2006 2:44 AM To:

RE: tomcat + certificate

2006-02-12 Thread Saravana Kumar
Duan, Nick wrote: > Without knowing the details of your problem (you may want to provide a > stack trace next time), I think the problem is in the java client. Did > you use JSSE to implement the client? The java sockets for accessing > http are not the same as https. > > ND Duan, Thanks for

RE: Suppress Servlet-Engine header info

2006-02-12 Thread Caldarale, Charles R
> From: Jo Pfeffer [mailto:[EMAIL PROTECTED] > Subject: Suppress Servlet-Engine header info > > can I change the config so that it just sends something like > 'Servlet-Engine: Tomcat Web Server' or similar? More modern versions of Tomcat support the server attribute on the HTTP tag, and you can

Suppress Servlet-Engine header info

2006-02-12 Thread Jo Pfeffer
Hi all. In the Apache config, you can change the ServerTokens directive from Full to Prod to suppress the amount of information sent with the HTTP headers - a good idea for a production system to hide the implementation details. e.g. instead of sending the full info, such as 'Server: Apache/2.0.49

Re: install tomcat under linux (java problem)

2006-02-12 Thread Hannes Hein
Thanks @all, problem solved. I reinstalled gcc, and all is working wonderful now. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: install tomcat under linux (java problem)

2006-02-12 Thread Wolfgang Hackl
Hannes Hein wrote: I tryed your simple code and in fact is seems to be a problem with the header files. That means the libraries aren't set up properly. But I always used SuSE Linux before, and SuSE is very easy and does anything necessary for you, so my problem is now: I don't know which

Re: install tomcat under linux (java problem)

2006-02-12 Thread Parsons Technical Services
May I suggest you start a new thread (new email) with the appropriate subject? It helps prevent the erroneous replies as well as helps in future searches through the achieves. Additionally many list members watch the threads by the subject and may be ignoring this thread and yet have the answer

Re: install tomcat under linux (java problem)

2006-02-12 Thread Hannes Hein
Hallo Wolfgang, there is no longer a java problem (sorry but the thread began with that problem). callisto:/srv/apache-tomcat-5.5.15/bin/jsvc-src# make make -C native all make[1]: Entering directory `/srv/apache-tomcat-5.5.15/bin/jsvc-src/native' gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"

Re: install tomcat under linux (java problem)

2006-02-12 Thread Wolfgang Hackl
Hallo Hannes! Hannes Hein wrote: Yes. javac runs correctly. jsvc is a C program so you don't need a java compiler for building it. The problem 'configure: error: installation or configuration problem: javac cannot compile' is solved now as java runs correctly, but it still doesn't compil

Re: install tomcat under linux (java problem)

2006-02-12 Thread Hannes Hein
Hi, From: Hannes Hein [mailto:[EMAIL PROTECTED] Subject: install tomcat under linux (java problem) I try to install tomcat in the way it is described here: http://tomcat.apache.org/tomcat-5.5-doc/setup.html Note that this section is for running Tomcat as a daemon; does Tomcat run properly on

Re: install tomcat under linux (java problem)

2006-02-12 Thread Hannes Hein
Initially it was a java installation problem because I used the jdk...rpm.bin file from sun that in fact doesn't work with debian ( see: http://www.linuxquestions.org/questions/showthread.php?t=108638 ). I had to use the jdk...bin file, now java runs correctly. From: Hannes Hein [mailto:[E

RE: install tomcat under linux (java problem)

2006-02-12 Thread Caldarale, Charles R
> From: Hannes Hein [mailto:[EMAIL PROTECTED] > Subject: install tomcat under linux (java problem) > > I try to install tomcat in the way it is described here: > http://tomcat.apache.org/tomcat-5.5-doc/setup.html Note that this section is for running Tomcat as a daemon; does Tomcat run properly

RE: java.lang.Object cannot be resolved

2006-02-12 Thread Caldarale, Charles R
> From: Sebastian Funk [mailto:[EMAIL PROTECTED] > Subject: Re: java.lang.Object cannot be resolved > > I set $JAVA_HOME to /usr/lib/jdk, it's a link to /usr/lib/jdk1.5.0_05. JAVA_HOME has no effect on compilations; the Tomcat startup scripts use it to find the installed JRE/JDK, but the standar

Re: Desperate for help with isapi_redirect.dll

2006-02-12 Thread Mark Thomas
David Thielen wrote: > 3.I consistently get the following in the isapi_redirect.log file > (removed duplicates): > > [Fri Jan 27 12:40:39 2006] [error] HttpExtensionProc::jk_isapi_plugin.c > (1029): could not get a worker for name ajp13 > > [Fri Jan 27 13:53:06 2006] [info] ajp_send_request:

Setting up a parallel test environment on the same machine as main server

2006-02-12 Thread Alan Chandler
I have a setup on my home web site that consists of apache2 front ending Tomcat 4.1, connected via jk_mod. Both software packages actually sit on the same machine, which is the gateway between the WAN and my LAN, and has two Ethernet Cards The external web site (www.chandlerfamily.org.uk) has

Re: java.lang.Object cannot be resolved

2006-02-12 Thread Mike Sabroff
Do you have JAVA_HOME set in the catalina.sh or setenv.sh which it includes if it is there, in other words have you told tomcat specifically in one of its startup shells where your JAVA_HOME is? Sebastian Funk wrote: Hi Martin, I reinstalled JDK as well as JRE and both didn't change neither

Re: configure tomcat 5.x to see index without redirects?

2006-02-12 Thread Hassan Schroeder
On 2/11/06, Scott Purcell <[EMAIL PROTECTED]> wrote: > If you read below, I am doing a couple of redirects to get the user to > my real site. I would like to know if I can configure Tomcat to just go > to that site? Or if I have to go through all these redirects. > This is killing me. It's kill

jdbc with tomcat5 and mysql - fedora core4

2006-02-12 Thread Medha Parathasarathy
Hi, I am trying to migrate my application from fedora core 3 to 4. tomcat 5 is working, mysql is working. I had downloaded the latest version of jdbc driver from mysql.com. mysql-connector-java-3.1.12-bin.jar. I had copied the same to lib directory of webapps/ROOT where the application was copie

Re: install tomcat under linux (java problem)

2006-02-12 Thread [EMAIL PROTECTED]
Hi Hannes, in my humildy opinion the question is you do not have 1.5 in your profile. if you put: java -version could not find your java 1.5 try to add to your .profile in the user \\ then put java -version to be sure that is the 1.5 version. and then try to be sure if is in the set

install tomcat under linux (java problem)

2006-02-12 Thread Hannes Hein
Hi, I'm trying to install Tomcat 5.5.15 on a linux machine (debian 3.1 r0a). I installed Java 5.0 already. According to java and tomcat /etc/environment contains the following two lines: JAVA_HOME=/usr/java/jdk1.5.0_06 CATALINA_HOME=/srv/apache-tomcat-5.5.15 I try to install tomcat in the way i

Re: java.lang.Object cannot be resolved

2006-02-12 Thread Sebastian Funk
Hi Martin, I reinstalled JDK as well as JRE and both didn't change neither $CLASSPATH nor $JAVA_HOME. I set $JAVA_HOME to /usr/lib/jdk, it's a link to /usr/lib/jdk1.5.0_05. But without rt.jar in -cp it doesn't work. My whole javac-line is: 'sudo javac -cp /home/tomcat/tomcat/common/lib/servle

MySQL's XA problem

2006-02-12 Thread Jack Wang
I hava done a test to use the MySQL XADataSource. For MySQL has no MYSQLXADataSourceFactory class, so I coded one to produce MysqlXADataSource. MysqlXADataSource is configured in tomcat 5.5 server.xml. I can get the MysqlXADataSource instance xaDs by which I can get XAConnection and XAResourc