RE: Problems with a web application running a PHP script

2007-11-04 Thread Rocco Scappatura
>> From: Rocco Scappatura [mailto:[EMAIL PROTECTED] >> Subject: Problems with a web application running a PHP script >> >> Under Netbeans it works. But wen deploy it under Tomcat >> 5.5.25 I get this error when I try to access at a PHP page: >> >> java.lang.NoSuchMethodError: >> javax.script.Scr

Re: Tomcat 5.5.23 throw ServletException

2007-11-04 Thread itay sahar
hi, well the version is 5.5.25. this is the name of the archive dowloaded from tomcat.org: apache-tomcat-5.5.25. jsp-api.jar is included. my application use the following jars: aopalliance.jar cglib-2.0-rc2.jar commons-beanutils.jar commons-collections-2.1.jar commons-dbcp-1.1.jar commons-digest

Re: jk_mod and binding tomcat's root to an apache directory

2007-11-04 Thread Rainer Jung
Hi, actually there are two things to discuss here: 1) How to express rules which requests should be forwarded 2) Rewriting URLs and finally, how does one combine the two. Concerning 1) - First the case, where you don't want to rewrite the URL, e.g. the browser really asks for /serv

Re: jk_mod and binding tomcat's root to an apache directory

2007-11-04 Thread Shug Boabby
Thanks Rainer and Janning, I'm afraid my question is still unanswered... but I am particularly interested in what you say here On 4 Nov 2007, at 12:43, Rainer Jung wrote: You can though deploy your webapps not on the top level directory, but instead into a sub directory (using a path, that

Re: jk_mod and binding tomcat's root to an apache directory

2007-11-04 Thread Rainer Jung
Let's first start with what you actually want to achieve: Shug Boabby schrieb: > Thanks Rainer and Janning, > > I'm afraid my question is still unanswered... but I am particularly > interested in what you say here > > On 4 Nov 2007, at 12:43, Rainer Jung wrote: >> You can though deploy your weba

Re: jk_mod and binding tomcat's root to an apache directory

2007-11-04 Thread Rainer Jung
Concerning webapp deployment in nested directories: have a look at http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Look out for the character "#" and using a *.xml deployment descriptor. But please think about my previous question first :) Regards, Rainer Shug Boabby schrieb: > O

Re: jk_mod and binding tomcat's root to an apache directory

2007-11-04 Thread Shug Boabby
On 4 Nov 2007, at 13:48, Rainer Jung wrote: To reiterate what I would like to do... I want to be able to set up http://myserver.com/tomcat to point to http://myserver.com:8180 and likewise for SSL. It surprises me that more people do not want a simple, hassle-free setup like this! This requi

Re: jk_mod and binding tomcat's root to an apache directory

2007-11-04 Thread Rainer Jung
OK, but that doesn't fit into your first mail. So here is the proposed solution: LoadModule rewrite_module modules/mod_rewrite.so RewriteEngine On RewriteRule /tomcat/(.*) /$1 [E=JK_WORKER_NAME:myworker,H=jakarta-servlet,PT] The RewriteRule line extends until "PT]" This will activate JK forward

Re: jk_mod and binding tomcat's root to an apache directory

2007-11-04 Thread Shug Boabby
Thanks again Rainer, I think we're getting somewhere with this... but unfortunately all responses to myserver.com/tomcat/anything are completely empty. This means something is happening because the response to myserver.com/ tomcat is that it doesn't exist (because the rewrite rule doesn't

Re: Problems with a web application running a PHP script

2007-11-04 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- Hi Rocco, listen I'm learning something here a

Re: jk_mod and binding tomcat's root to an apache directory

2007-11-04 Thread Rainer Jung
Shug Boabby schrieb: > Thanks again Rainer, > > I think we're getting somewhere with this... but unfortunately all > responses to myserver.com/tomcat/anything are completely empty. This > means something is happening because the response to myserver.com/tomcat > is that it doesn't exist (because t

Tomcat 6 SSL settings: "ciphers" parameter doesn't work?

2007-11-04 Thread Lilia
Hello all, I use Tomcat 6.0.14, using SSL. In http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html , it says "ciphers The comma separated list of encryption ciphers that this socket is allowed to use. By default, any available cipher is allowed." I try to limit my cipher to "TLS_RSA_WITH_D

RE: Tomcat 5.5.23 throw ServletException

2007-11-04 Thread Caldarale, Charles R
> From: itay sahar [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 5.5.23 throw ServletException > > my application use the following jars: > > jsp-api.jar > servlet-api.jar If by "uses" you mean the above are in the application's WEB-INF/lib directory, you must remove them. Do not include any

Re: jk_mod and binding tomcat's root to an apache directory

2007-11-04 Thread Shug Boabby
Thanks Rainer... I've added the JK debugging and this has helped identify a problem... the response that Apache gets (and doesn't forward to the client) is that "No host matches server name myserver.com". I'm not seeing any output at all in the RewriteLog (btw, it's RewriteLog not Rewrite

RE: Problems with a web application running a PHP script

2007-11-04 Thread Caldarale, Charles R
> From: Rocco Scappatura [mailto:[EMAIL PROTECTED] > Subject: RE: Problems with a web application running a PHP script > > Anyway, the version of Java I'm using is: > Java(TM) SE Runtime Environment (build 1.6.0_02-b06) > Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode) That's an appr

Re:Out of Office

2007-11-04 Thread mitesh . shah
I'll be out of office from 11/05/07, returning back on 11/14/07. Please contact ASP team if you need any assistance. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: jk_mod and binding tomcat's root to an apache directory

2007-11-04 Thread Rainer Jung
Shug Boabby schrieb: > Thanks Rainer... I've added the JK debugging and this has helped > identify a problem... the response that Apache gets (and doesn't forward > to the client) is that "No host matches server name myserver.com". Tomcat gets the host name from the forwarded Host header. Are yo

Re: Tomcat 5.5.23 throw ServletException

2007-11-04 Thread itay sahar
well, in apache both jsp-api.jar, servlet-api.jar were removed before running. they exist only in eclipse!! On 11/4/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: itay sahar [mailto:[EMAIL PROTECTED] > > Subject: Re: Tomcat 5.5.23 throw ServletException > > > > my applicat

Re: jk_mod and binding tomcat's root to an apache directory

2007-11-04 Thread Shug Boabby
I'm using pretty much the stock config for Tomcat... although I have added SSL support. On 4 Nov 2007, at 17:14, Rainer Jung wrote: There should be a line in the jk debug log similar to: [debug] init_ws_service::mod_jk.c (806): Service protocol=HTTP/1.1 method=GET host=(null) addr=127.0.0.1 n

Re: [tomcat]How to decrypt the DIGEST authentication?

2007-11-04 Thread Mark Thomas
Johnny Kewl wrote: > I dont think you can do what you want to... > I dont think you can use web based DIGEST authentication. > And then hide passwords in a MD5 digest as well. Yes you can. > I think web based DIGEST authentication, MUST get at the plain text > password. No. > That process has t

Re: [tomcat]How to decrypt the DIGEST authentication?

2007-11-04 Thread Mark Thomas
Mark Thomas wrote: > Johnny Kewl wrote: >> I dont think you can do what you want to... >> I dont think you can use web based DIGEST authentication. >> And then hide passwords in a MD5 digest as well. > > Yes you can. > >> I think web based DIGEST authentication, MUST get at the plain text >> pass

Re: jk_mod and binding tomcat's root to an apache directory

2007-11-04 Thread Rainer Jung
Shug Boabby schrieb: > I'm using pretty much the stock config for Tomcat... although I have > added SSL support. > > On 4 Nov 2007, at 17:14, Rainer Jung wrote: >> There should be a line in the jk debug log similar to: >> >> [debug] init_ws_service::mod_jk.c (806): Service protocol=HTTP/1.1 >> met

Re: [tomcat]How to decrypt the DIGEST authentication?

2007-11-04 Thread Mark Thomas
zhongliang zhang wrote: > Hi,Mark, > I have to turn to you again. > I encounter the problem with configuring the Digested-Password in the > JDBCRealm. > The JDBCRealm fragment of the $TOMCAT_HOME/conf/server.xml is shown as > followed: > driverName="com.mysql.jdbc.Driver" > connection

Re: jk_mod and binding tomcat's root to an apache directory

2007-11-04 Thread Shug Boabby
On 4 Nov 2007, at 18:26, Rainer Jung wrote: Then you are using an older version of JK. The up to date version is 1.2.25. By the looks of it, the latest Ubuntu Gutsy has 1.2.23... can it handle this configuration? - To star

Re: jk_mod and binding tomcat's root to an apache directory

2007-11-04 Thread Rainer Jung
Yes, it will handle your config without problems. But you don't get Apache: Add forwarding uri to debug log. (rjung) (from the changelog). :( Regards, Rainer Shug Boabby schrieb: > On 4 Nov 2007, at 18:26, Rainer Jung wrote: >> Then you are using an older version of JK. The up to date vers

Re: jk_mod and binding tomcat's root to an apache directory

2007-11-04 Thread Shug Boabby
That's a bit of a bummer... I'm stumped, I don't know what could be going wrong. It seems that the rewrite rule is working, the request is being sent to ajp and the only response is "No host matches server name mydomain.com". Perhaps in the rewrite rules I need to specify that the request

Re: Tomcat 6 SSL settings: "ciphers" parameter doesn't work?

2007-11-04 Thread Mark Thomas
Lilia wrote: > Does anyone have experience with "ciphers" parameter? Is it possible to limit > ciphers allowed? Haven't checked for a while, but it worked the last time I looked. Are you restarting Tomcat after you change server.xml? Mark

Java null on loadup

2007-11-04 Thread mailing list
i'd appreciate some help here people bacuase this is driving me nuts when my host setup an account and i deploy everything works great even afetr i change tomcat-users.xml and other files everything works swell. but when i touch server.xml and add this block which is supposed to default direct to m

I got the following error message when I try to start tomcat in Eclipse

2007-11-04 Thread peri
Hi, I try to start tomcat version 4.1 in eclipse version 3.3.0. I use Windos Vista operating system. I installed launcher plug-in so i can start and stop tomcat for eclipse. I use JDK 1.4.16 by the way. When I try to start tomcat in eclipse I got the following error: (P.S. I used tomcat 4.1 in

Re: Re:Out of Office

2007-11-04 Thread mgainty
Does anyone know what the ASP team is? Can we filter these messages off active list? M-- - Original Message - Wrom: FMYXOEAIJJPHSCRTNHGSWZIDREXCAXZO To: Sent: Sunday, November 04, 2007 11:57 AM Subject: Re:Out of Office > I'll be out of office from 11/05/07, returning back on 11/14/07.

Re: I got the following error message when I try to start tomcat in Eclipse

2007-11-04 Thread mgainty
display UserDatabase entry from $TOMCAT_HOME/conf/server.xml it should look something like M-- - Original Message - Wrom: LHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLB To: Sent: Sunday, November 04, 2007 3:27 PM Subject: I got the following error message when I try to start tomcat in Eclipse

Re: I got the following error message when I try to start tomcat in Eclipse

2007-11-04 Thread peri
I look at server.xml. It is written like that : - - factory org.apache.catalina.users.MemoryUserDatabaseFactory - pathname conf/tomcat-users.xml As you see factory and path name are described in Resource Param tag. And also there is "-" sign in Resource Param and param

Re: I got the following error message when I try to start tomcat in Eclipse

2007-11-04 Thread Martin Gainty
I am very suprised to not see this not reported by the parser in the logs but my immediate suggestion is to make sure your input xml is valid Check your server.xml here http://www.stg.brown.edu/service/xmlvalid only place valid xml in any of the config files M-- - Original Message - From:

Re: I got the following error message when I try to start tomcat in Eclipse

2007-11-04 Thread peri
I clicked the link and upload my server.xml to browser combobox and clicked validate button. The result gave mamy error. Some of them are in the bellow : line 13, C:\Program Files\Apache Software Foundation\Tomcat 4.1\conf\server.xml: error (1102): tag uses GI for an undeclared element: Server

Re: I got the following error message when I try to start tomcat in Eclipse

2007-11-04 Thread Mark Thomas
peri wrote: > Hi, > I try to start tomcat version 4.1 in eclipse version 3.3.0. I use Windos > Vista operating system. I installed launcher plug-in so i can start and stop > tomcat for eclipse. I use JDK 1.4.16 by the way. > When I try to start tomcat in eclipse I got the following error: > (P.S

Re: I got the following error message when I try to start tomcat in Eclipse

2007-11-04 Thread peri
I aslo tried to lovercase letter in begining of tag name. But still gave unknown tag error. So my server.xml cannot pass these xmlvalid program :-( Here is the sample erro messages : line 2, C:\Users\user\Documents\server1.xml: error (1102): tag uses GI for an undeclared element: server line

Re: I got the following error message when I try to start tomcat in Eclipse

2007-11-04 Thread Mark Thomas
peri wrote: > I look at server.xml. It is written like that : > > type="org.apache.catalina.UserDatabase" description="User database that can > be updated and saved" /> > - > - > factory > org.apache.catalina.users.MemoryUserDatabaseFactory > > - > pathname > conf/tomcat-users.

Re: I got the following error message when I try to start tomcat in Eclipse

2007-11-04 Thread peri
Please give me more information. How can I solve this problem. I can run tomcat in windows XP, but unfortunately my new laptop has Vista operating system and I want to run tomcat in it. Thank you Perihan Mark Thomas-15 wrote: > > peri wrote: >> Hi, >> I try to start tomcat version 4.1 in eclip

Re: I got the following error message when I try to start tomcat in Eclipse

2007-11-04 Thread Mark Thomas
peri wrote: > I clicked the link and upload my server.xml to browser combobox and clicked > validate button. The result gave mamy error. As is expected. You can check server.xml for well-formedness but not for validity. > As you see "Server port" begin uppercase letter. May I change "Server" to >

Re: I got the following error message when I try to start tomcat in Eclipse

2007-11-04 Thread peri
Actually I didn't change anything in server.xml I looked at xml editor. Any information about correction of my error Thank you Perihan Mark Thomas-15 wrote: > > peri wrote: >> I look at server.xml. It is written like that : >> >> > type="org.apache.catalina.UserDatabase" description="User

Re: I got the following error message when I try to start tomcat in Eclipse

2007-11-04 Thread Mark Thomas
peri wrote: > Please give me more information. How can I solve this problem. I can run > tomcat in windows XP, but unfortunately my new laptop has Vista operating > system and I want to run tomcat in it. Remove Vista and install XP? Sorry, I can't help you much here, I haven't installed Vista. M

Re: I got the following error message when I try to start tomcat in Eclipse

2007-11-04 Thread peri
I run and install eclipse and tomcat same user. Actually I'm also new in vista. I have many problem of it. I'll look at google. Thank you Perihan Mark Thomas-15 wrote: > > peri wrote: >> Please give me more information. How can I solve this problem. I can run >> tomcat in windows XP, but unfor

Re: Tomcat 6 SSL settings: "ciphers" parameter doesn't work?

2007-11-04 Thread Lilia
Hello Mark, Yes. My action was 1) modify server.xml (ciphers="foo,bar"), then 2) restart tomcat server, then 3) test SSL setting with HTTPS, then 4) result: still work well!? P.S. I also set protocol="org.apache.coyote.http11.Http11Protocol" and sslProtocol="TLS" >Lilia wrote: >> Does anyone

Re: Tomcat 5.5.23 throw ServletException

2007-11-04 Thread itay sahar
any ideal anyone? On 11/4/07, itay sahar <[EMAIL PROTECTED]> wrote: > > well, in apache both jsp-api.jar, servlet-api.jar were removed before > running. > they exist only in eclipse!! > > > > > > > > On 11/4/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > > > From: itay sahar [mailto:[

Tomcat causing high CPU load

2007-11-04 Thread Sai Bobba
Hi, I'm using the following: JDK1.5 Tomcat 6 SQL Server 2000 Server running on Windows 2000 The web app deployed consists of: an application form filled in by the prospective student, a servlet that gets the form parameters (>60), processes them, and saves the data input by the user to several t

RE: [tomcat]How to decrypt the DIGEST authentication?

2007-11-04 Thread zhongliang zhang
thanks very much for all your replying. But I can not make it works. I store the password in HexUtils.convert(byte[]) method to store the password in my Oracle database. And I configure the Tomcat JDBCRealm with the "digest" attribute. And I do a test with MySQL database,for it is small and e

Re: Tomcat causing high CPU load

2007-11-04 Thread Martin Gainty
what happens in jconsole over that period of time? M- - Original Message - From: "Sai Bobba" <[EMAIL PROTECTED]> To: Sent: Sunday, November 04, 2007 8:25 PM Subject: Tomcat causing high CPU load > Hi, > > I'm using the following: > > JDK1.5 > Tomcat 6 > SQL Server 2000 > Server running o

RE: [tomcat]How to decrypt the DIGEST authentication?

2007-11-04 Thread zhongliang zhang
Hi, It still does not work. Here is the trace: I create the SHA1 password from the command prompt: C:\tomcat>java org.apache.catalina.realm.RealmBase -a SHA1 zhangzhongl:JDBCRealm :secret zhangzhongl:JDBCRealm:secret:0743d07d727aae8864569cbcefb9ae788150e8b9 C:\tomcat>java org.apache.catalina.

RE: Tomcat causing high CPU load

2007-11-04 Thread Caldarale, Charles R
> From: Sai Bobba [mailto:[EMAIL PROTECTED] > Subject: Tomcat causing high CPU load > > - Tomcat was responsible for this CPU > load almost exclusively You need to differentiate between Tomcat and the webapps running within, even though they are all running in the same process. It is highly li

RE: I got the following error message when I try to start tomcatin Eclipse

2007-11-04 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:[EMAIL PROTECTED] > Subject: Re: I got the following error message when I try to > start tomcatin Eclipse > > Remove Vista and install XP? Or Linux. In the meantime, check these messages from a few days and a month ago: http://marc.info/?l=tomcat-user&m=11939682073

Re: [tomcat]How to decrypt the DIGEST authentication?

2007-11-04 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- - Original Message - From: "Mark Thoma

Tomcat 3.3.1a problem

2007-11-04 Thread Marko Krejic
Hi, We are running Tomcat 3.3.1a on a Windows Server 2003. A apache server is also installed on the machine as a proxy and it is connected with the tomcat through AJP12. Tomcat is running on JDK1.4.2_13. Now to our problem. We have been running this setup for quite a while (a few years). B

Re: [tomcat]How to decrypt the DIGEST authentication?

2007-11-04 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- - Original Message - From: "zhongliang

RE: [tomcat]How to decrypt the DIGEST authentication?

2007-11-04 Thread zhongliang zhang
thanks for your replying. Now It works if I specify the alg with "MD5",but still does not work with "SHA". and I do not know what does the middle field of "zhangzhongl:JDBCRealm:secret" means,that is,the "JDBCRealm",is it a unchangeable part?I do not think so,for the Tomcat docs give an example

Re:Out of Office

2007-11-04 Thread mitesh . shah
I'll be out of office from 11/05/07, returning back on 11/14/07. Please contact ASP team if you need any assistance. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Tomcat 6.0.14 PersistentManager/JDBCStore

2007-11-04 Thread Timothy Wonil Lee
Greetings, all I might be completely off track (hope not!), but I am trying to achieve session replication by using JDBCStore and PersistentManager with a shared database. I noticed that the sessions are not persisted in database until I stop the application (or stop Tomcat) and this is a problem

Re: Problems with a web application running a PHP script

2007-11-04 Thread Rocco Scappatura
> Firstly dont worry too much about the Tomcat Native library message, that > is not the cause of the problem. OK. For the moment I will ignore it as suggested by Chuck. > OK, so now you have the new Tomcat installed. > > + Tell netbeans to use it Go to TOOLS - > SERVER MANAGER and show > n

Re: [tomcat]How to decrypt the DIGEST authentication?

2007-11-04 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- - Original Message - From: "zhongliang

Re: [tomcat]How to decrypt the DIGEST authentication?

2007-11-04 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- Just a note... The way you are doing it, makes

Re: Out of Office

2007-11-04 Thread David Delbecq
I prefer when they leave their mobile phone number "in case of emergency", being in pacific time. At least you can call them at 11:00 am GMT on sunday just to say "cheers, it's time for a good drink" :) I get used to such mails on mailing lists. Not all auto-reply script are as good as the sen