Re: second try : help needed for tomcat -jsp issue

2003-11-11 Thread Vincent Aumont
Not sure, I use Netscape. What;s different between your testing environment and your customer's environment? -Vincent. Venkatesh Rachapudi wrote: Hi Vincent, Yeah I will check out this, which option we have to look for finding the supported MIME types in the browser,I tried to look internet

Re: TC 5.0.14 Breaks UTF-8 Content via HTTP Header

2003-11-11 Thread Nikola Milutinovic
Tony LaPaso wrote: Here's What I Did - In both versions of TC, I added an em dash character to the /tomcat-docs/cgi-howto.html documents that come with the TC documentation. The UTF-8 representation for the em dash character is the three bytes 0xE28094. I also made sure both

Re: Apache+Tomcat+Windows, how?

2003-11-11 Thread Bill Barker
Go to http://jakarta.apache.org/site/binindex.cgi, scroll down to Tomcat WebServer Connectors, click on JK 1.2 Binary Releases, click on win32, and, what do you know ;-). Yeray Santana Borges [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I´m a spanish newbie using Tomcat.

RE: second try : help needed for tomcat -jsp issue

2003-11-11 Thread Schalk
Venkatesh Does you client access the application by a URL similar to: http://localhost:8080/application/entry.servlet ? Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax:

Round up double value

2003-11-11 Thread Cui Xiaojing-a13339
Hello All, How to round up 123.4567 to 123.46 in Java? Thanks. Regards, Xiaojing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Round up double value

2003-11-11 Thread Marcel Stor
Cui Xiaojing-a13339 wrote: Hello All, How to round up 123.4567 to 123.46 in Java? Thanks. Multiply by 100, cast to int, divide by 100... for example... Regards, Marcel - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Tomcat Caching

2003-11-11 Thread Adam Dear
Schalk, I added the following line to the server.xml file and restarted tomcat. context path=/servlet docBase=servlet debug=0 reloadable=true / That didn't work. Can you tell what is wrong. I have tomcat to load servlets from the classes dir so that I access servlets like this:

RE: Tomcat Caching

2003-11-11 Thread Schalk
Is your application directory within tomcat/webapps/ called servlet? Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web:

RE: Tomcat Caching

2003-11-11 Thread Adam Dear
I am using the servlet invoker. The actual director is tomcat/webapps/ROOT/WEB-INF/classes/. -Original Message- From: Schalk [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 1:43 AM To: 'Tomcat Users List' Subject: RE: Tomcat Caching Is your application directory within

Re: Tomcat Caching

2003-11-11 Thread Kwok Peng Tuck
If I remember correctly, you probably need to provide a servlet mapping for your servlet. Adam Dear wrote: Schalk, I added the following line to the server.xml file and restarted tomcat. context path=/servlet docBase=servlet debug=0 reloadable=true / That didn't work. Can you tell what is

RE: Tomcat Caching

2003-11-11 Thread Schalk
Adam In the server.xml you will find the following lines. This is the context for the ROOT. Just uncomment it and add reloadable=true !-- Tomcat Root Context -- !-- Context path= docBase=ROOT debug=0/ -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO

RE: Can I have two different directories for deploying webapps?

2003-11-11 Thread Stack Buffer
try this !-- FIRST Web application -- Context path=/carterra docBase=C:\webapp1 debug=0/ !-- SECOND Web application -- Context path=/carterra docBase=D:\webapp2 debug=0/ Indrasish N Basuroychowdhury [EMAIL PROTECTED] wrote:Shapira, Thanks for the reply. Would appreciate any example

RE: Can I have two different directories for deploying webapps?

2003-11-11 Thread Stack Buffer
My mistake try this. !-- FIRST Web application -- Context path=/app1 docBase=C:\webapp1 debug=0/ !-- SECOND Web application -- Context path=/app2 docBase=D:\webapp2 debug=0/ Indrasish N Basuroychowdhury [EMAIL PROTECTED] wrote: Shapira, Thanks for the reply. Would appreciate any

Re: Apache+Tomcat+Windows, how?

2003-11-11 Thread adriacom6340
The best how to: www.gregoire.org/howto/Apache2_Jk2_TC4.1.x_JSDK1.4.x.html or: http://johnturner.com/howto/winxp-howto.html Mike Found in jakarta Scrive Bill Barker [EMAIL PROTECTED]: Go to http://jakarta.apache.org/site/binindex.cgi, scroll down to Tomcat WebServer Connectors, click on JK

RE: tomcat 4.1.27 with jvm 1.4.2_02=crashes

2003-11-11 Thread adriacom6340
I have the same problem but with JDK 1.4.1. Tomcat crashes on W32 without errors, I'm sure someone of you will think is W32..., but I'm not Do you run it on on a XEON processor ? Scrive David Muller [EMAIL PROTECTED]: Found this GLIBC 2.2 / Linux 2.4 users should also define an

Memory eatup...( Memory foot print )

2003-11-11 Thread sanjay paithankar
Hello How can to out the how much memory is eaten ( memory foor print ) up by my Tomcat webserver. -thnx -cs.. __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree

RE: second try : help needed for tomcat -jsp issue

2003-11-11 Thread Venkatesh Rachapudi
Hi Schalk, Nope. we don't have Apache server We are using Tomcat as our webserver Regards Venkatesh -Original Message- From: Schalk [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 12:24 PM To: 'Tomcat Users List' Subject: RE: second try : help needed for tomcat -jsp issue

shutdown port not listening

2003-11-11 Thread Mohammed Javid - CTD, Chennai.
Hi, The problem we face is Tomcat started but shutdown port 8005 not listening. The problem is further explained in little detail below. We use port 8180 for http , port 8005 is used for shutdown. For accessing web pages from tomcat by http port 8180(http) and 8005(shutdown) both should be

Problem with ConnectionPool on Linux

2003-11-11 Thread Veselin Kovacevic
Hi, I have o problem with Tomcat 4.1.24 on SuseLinux7.3. Our application has Controller servlet (below) where using connection objects from connection pool. When tomcat started, application working fine and everything OK that day. But next day when we try to start application we get error message

RE: Memory eatup...( Memory foot print )

2003-11-11 Thread Bruce Ashton
The specific tool to use would depend on the operating system you are using, but essentially you want to identify the java process (or for Windows services, the executable wrapper, tomcat.exe) and use your normal process monitoring tools, such as Windows task manager or 'top' on *nix.

Tomcat5 Clustering problem .

2003-11-11 Thread Eric Chow
Hello, I followed the Tomcat5 clustering document in jakarta site. But it seems not work. The following is the configuration in server.xml : Tomcat1: Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster name=FilipsCluster1 debug=10

FW: jasper2 issues - client deployer

2003-11-11 Thread Euan Guttridge
Hi, I am attempting to get the 'compile' task of the client deployer package working. Can anyone assist with these jasper task issues please? (additions to previous mail). I am using the std build.xml shipped with the 5.0.14 client deployer package. jasper missing files The jasper2 task to

RE: second try : help needed for tomcat -jsp issue

2003-11-11 Thread Schalk
Venkatesh So when this application is accessed the point of access is directly within Tomcat? Also, have you tried to create a simple .jsp page to see whether this is processed? Something that simply prints out a string to the browser. Kind Regards Schalk Neethling Web

RE: better error messages (was re: Exception at Tomcat startup)

2003-11-11 Thread Anton Modaresi
What kind of code? =) Like when they happen? I could try to gather some of it. One is: when you e.g. have web xml entries in the wrong order. Then it will say the correct syntax is ... (it's not even very clear it's the order it is compliaining on) and error has been caught on line .. Which is

Re: JMS Provider w/ Tomcat?

2003-11-11 Thread Jon Wingfield
I'd second Yoav's assessment. We've been using OpenJMS in production for over 2 years (relatively early adopters ;)). It's pretty good: stable and performant. I'm not sure, but the last time I had a look Sun's JMS product wasn't free for production use. Something to check and bear in mind.

Re: second try : help needed for tomcat -jsp issue

2003-11-11 Thread srevilak
If you get the download dialog, it is because your customer's browser does not know how to display this document (i.e. it does not recognize the MIME type) or because it was configured to open a Download dialog for this type of document. For instance, if you send a pdf file and the browser

Problem with Tomcat and CGI !

2003-11-11 Thread Shamik Bandopadhyay
Hi, I'm trying to run a CGI script thru Tomcat 4.1.27. I've followed all the steps like renaming servlets-cgi.jar,servlets-ssi.jar,uncommenting servlet mappings in web.xml under config.I've also installed ActivePerl 5.6.1.635 where my CGI script is pointing to.But,when I'm calling this script

RE: ssl problem with certain browsers / os versions

2003-11-11 Thread Murray
Known bug using IE and SSL other than on port 443. Assuming you have used the defaults you will be using SSL on port 8443 for Tomcat and IE won't do the redirect unless you specify https://tomcat:8443/etc. I'll take a guess that your application works fine with Netscape! The easiest solution is

RE: DBCP could not obtain an idle db connection, pool exhausted

2003-11-11 Thread Edson Alves Pereira
Maybe our problem here is the DBCP itself, i´m trying to test Evermind´s Oracle DBCP. I´ll see if the same happen. -- De: Galbayar[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: terça-feira, 11 de novembro de 2003 3:31 Para: Tomcat Users List

unable to start apache with tomcat

2003-11-11 Thread geeta
Hi, Installed Tomcat 4.1.27 and apache 1.3.27 and jk connector 1.2.5 .Tomcat is starting fine with out any problem. But when I start apache I get the following error. ./apachectl start Syntax error on line 4 of /RAID/usr/geeta/software/jakarta-tomcat-4.1.27/conf/auto/mod_jk.conf: Cannot load

Query

2003-11-11 Thread MJoshi
Hi there, I want to know the jsp size while executing in tomcat. Please let me know it there are any settings/configurations to be done in tomcat. Regards, Milind - To unsubscribe, e-mail: [EMAIL PROTECTED] For

JVM paramaters with Tomcat Windows service

2003-11-11 Thread Marcel Stor
Hi, How do I define JVM parameters when Tomcat is brought up by an existing! Windows service? Regards, Marcel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Apache+Tomcat+Windows, how?

2003-11-11 Thread Yeray Santana Borges
ok, thanks all My problem is that i have apache web server 2.0.48 and the mod_jk.dll is only for apache 2.0.43. I´m searching for other version of mod_jk.dll for 2.0.48 but i can´t find it. Other solution is download another version of apache server that work with that dll. Thanks for help me,

AW: Apache+Tomcat+Windows, how?

2003-11-11 Thread Nitschke Michael
Did you tried it? I think and i read it on this list, that this is a bug/mistake in the description and it should mean 2.0.43 and above. But read the archive before you try it. Mike -Ursprüngliche Nachricht- Von: Yeray Santana Borges [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 11.

Re: second try : help needed for tomcat -jsp issue

2003-11-11 Thread Chong Yu Meng
I'm thinking that if it is the servlet, not the JSP, that is returning results to the browser, this can easily happen if you don't use setContentType(text/html). Regards, pascal chong Schalk wrote: Venkatesh Does you client access the application by a URL similar to:

RE: better error messages (was re: Exception at Tomcat startup)

2003-11-11 Thread Shapira, Yoav
Howdy, What kind of code? =) Like when they happen? I could try to gather some of it. No, actual patches to tomcat: look at the tomcat source, figure out where the error messages you dislike are coming from, and modify the code to make the error messages better. Yoav Shapira One is: when you

RE: Apache+Tomcat+Windows, how?

2003-11-11 Thread Yeray Santana Borges
ok, well, i can't use mod_jk2-2.0.43.dll with Apache Web Server 2.0.48. After edit http.conf i get this sintax error: Syntax error on line 971 of httpd.conf: Can't locate API module structure `jk_module' in file /modules/mod_jk-2.2.0.43.dll: No error no exist the jk_module in

RE: Query

2003-11-11 Thread Shapira, Yoav
Howdy, Please define what you mean by the jsp size. The size (in KB or lines of code) of the JSP file on disk? The size (in KB or lines of code) of the compiled servlet on disk? The amount of memory taken up by the servlet instance in the JVM? Yoav Shapira Millennium ChemInformatics

RE: shutdown port not listening

2003-11-11 Thread Shapira, Yoav
Howdy, The shutdown port starts even before the connector port(s) so it's not an issue of the shutdown port starting slowly. The shutdown port by default only listens to connections from the local host. So you should have a line like localhost.8005 ... LISTEN in your netstat output. Can you

RE: ServletException: exception creating bean

2003-11-11 Thread Shapira, Yoav
Howdy, Where is the jar file containing pu.strutsapp.actionform.LogonForm residing? It should be in the WEB-INF/lib directory of your webapp. Make sure the package of that class is indeed pu.strutsapp.actionform. Yoav Shapira Millennium ChemInformatics -Original Message- From: todd

apache + tomcat Jsp not working

2003-11-11 Thread Omkar Joshi
hi, I have linux 9 with apache 2 preloaded and running applications, I have tomcat 4.1.27 running stad alone. i have installed mod_jk connector. and loaded in httpd.conf created workers.properties but the jsp dont work. pease help me with exact configurations.

RE: Apache+Tomcat+Windows, how?

2003-11-11 Thread Asif Chowdhary
This will solve your problems. The internal module name is different with modjk2 and the commands are different. Below you have the config file you need to make it work. I installed the mod_jk2-2.0.43.dll in apache/modules. Here is what I put into the diffrent config files: httpd.conf: just

Re: JVM paramaters with Tomcat Windows service

2003-11-11 Thread Tim Funk
First link from: http://jakarta.apache.org/tomcat/faq/windows.html (Or just go into regedit and search on the params, I forget the names but search for tomcat would probably work) -Tim Marcel Stor wrote: Hi, How do I define JVM parameters when Tomcat is brought up by an existing! Windows

RE: JVM paramaters with Tomcat Windows service

2003-11-11 Thread Asif Chowdhary
For the tomcat service, select the properties option. At the bottom of the General Tab Window you will see a place to specify' start parameters. You can specify the parmaters there. -Original Message- From: Marcel Stor [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 2:37 AM To:

Re: JVM paramaters with Tomcat Windows service

2003-11-11 Thread Ian Hunter
Along these lines, what parameters would be recommend to increase the amount of RAM taken by the JVM? - Original Message - From: Asif Chowdhary [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 9:15 AM Subject: RE: JVM

RE: ssl problem with certain browsers / os versions

2003-11-11 Thread Dave Beattie
Thanks Murray, I didn't know about the bug, however I am using 443 for SSL so that isn't the problem. Does anyone have a tomcat site running SSL which I can attempt to access with my problem browsers? Thanks Dave -Original Message- From: Murray [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: JVM paramaters with Tomcat Windows service

2003-11-11 Thread Asif Chowdhary
This set the minimum to 100MB RAM and max to 200 Based on your server and apps requirement you can set these parameters. -Xms100m -Xmx200m -Original Message- From: Ian Hunter [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 9:23 AM To: Tomcat Users List Subject: Re: JVM

RE: java web services and XML

2003-11-11 Thread Mark Tebong
Thank you Chris. But I think that doesn't help me go forward. OK, now that I have Tomcat already installed and running, and I want to add these services (JWS) to the existing one, how do I go about configuring the existing tomcat to work with the installed packages, and how do I get rid of the

Re: Problem with ConnectionPool on Linux

2003-11-11 Thread Jon Wingfield
MySql times out idle connections. If your pool implementation doesn't take care of weeding out dead connections you need to add autoReconnect=true to your connection string. HTH, Jon Veselin Kovacevic wrote: Hi, I have o problem with Tomcat 4.1.24 on SuseLinux7.3. Our application has

Re: Win2k+Apache+Tomcat Problems

2003-11-11 Thread Steve Milner
Out of curiosity why would 4.1.24/27 be any easier than 4.1.29? Is there currently issues with 4.1.29? Thanks, Steve On Nov 10, 2003, at 11:19 PM, kgsat wrote: why donot u try reading logs and make sure u make all the entries in conf files as they are supposed to be. If u can not spot the

RE: Problem with ConnectionPool on Linux

2003-11-11 Thread Steph Richardson
My guess is you have some kind of job that runs at night that kicks or restarts your dB server ?? See if restarting your MySQL server in the middle of the day produces the same results. Anyway to make DBCP tolerant of the database dissapearing, try adding autoReconnect=true to your jdbc url. As

JWSDP install options

2003-11-11 Thread Mark Tebong
When installing the JWSDP, it includes a tomcat container. Since I already have tomcat running, and already configured for a couple of sites, and tomcat running as a service, how do I install this package (JWSDP) in such a way that it uses my existing tomcat container? Or how can I configure my

Tomcat Manager Problem

2003-11-11 Thread Jonathan Holloway
Hi, I've got a problem when I access the manager app in tomcat-5.0.14 and all I get is this rather than the manager application: Directory Listing For / Filename Size Last Modified html-manager-howto.html 38.6

I need stop one Service

2003-11-11 Thread etsai
I have Tomcat 5.0.12 on Windows 2000 and i have configured 3 Services in server.xml: Server port=8005 shutdown=SHUTDOWN debug=0 ... ... Service name=Catalina1 ... /Service Service name=Catalina2 ... /Service Service name=Catalina3 ... /Service /Server Can i stop

RE: I need stop one Service

2003-11-11 Thread Shapira, Yoav
Howdy, I don't think it's possible to stop/restart only one service without affecting the others with the current tomcat codebase. Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 11:23 AM To:

RE: I need stop one Service

2003-11-11 Thread Asif Chowdhary
The only other solution is that you run three separate instances of tomcat which refer to the same code base and each instance is installed as separate service. Need to do alot of manual copying of files and creating batch files etc. -Original Message- From: [EMAIL PROTECTED]

com.ms.com works with Tomcat?

2003-11-11 Thread Krishna Kumar Kanoor
Dear Friends, May I request your help to solve a problem. Requirement: To change the exchange server user password from INTRANET Environment: JSP, Struts, Tomcat, Win 2000 My approach to the problem --- Step 1) I developed a DLL which in turn calls ActiveDS. It works

SSL Certificates

2003-11-11 Thread Luc Foisy
Is it possible to have multiple certificates for multiple domains on the same instance of tomcat? If so, and I have a base tomcat install, what should I look at doing from there? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Security certificates in Tomcat 4.1.27 w/ Windows 2003 Server?

2003-11-11 Thread Sarel Bester
Good day I am not an advanced user so I hope you understand what I am trying to explain below. I installed an application on Tomcat 4.1.27 on a Windows 2003 server. Everything seems to go OK except for a page that should be generated by some Javascript (.js) code. Part of creating the final

RE: Apache+Tomcat+Windows, how?

2003-11-11 Thread Yeray Santana Borges
ok, thanks, i am working apache+tomcat over w2000 server. Thanks all again. -Mensaje original- De: Asif Chowdhary [mailto:[EMAIL PROTECTED] Enviado el: martes, 11 de noviembre de 2003 14:05 Para: Tomcat Users List Asunto: RE: Apache+Tomcat+Windows, how? This will solve your problems.

RE: tomcat 4.1.27 with jvm 1.4.2_02=crashes

2003-11-11 Thread David Muller
We have removed the environment variable export LD_ASSUME_KERNEL=2.2.5 since it didn't seem to solve the problem upon further scrutiny of the release notes may not even be applicable to our case (not using glibc 2.2). and are now deleting the /work and /temp directories (as well as

tomcat as NT service with deleting work folder

2003-11-11 Thread Nguyen, Giao
Does anyone know of a way to delete the tomcat\work folder prior to startup of tomcat as an NT service. Normally we add a line to the batch script to remove the folder but how is that done when tomcat is running as a NT service (for NT 4.0 and 2000)? The Win2000 Services menu provide a

JBoss Mapping

2003-11-11 Thread salvador . bravo
All, I need to know how to configure a context in JBoss I try to see if the server is up but I got the following error when I try to open a file HTTP Status 500 - No Context configured to process this request Regards, Salvador

Re: JBoss Mapping

2003-11-11 Thread Vincent Aumont
This error messages tells you that your server is up but has no context for this url. So, in a way, you've got what you asked for. Did you define a context in server.xml? Something like: Context path=/test docBase=testapp Also, you should be able to see Tomcat's default page by pointing your

Load balancing a standalone Tomcat 4.1

2003-11-11 Thread Dean Searle
I have searched around to find this and have found nothing, but is it possible to load balance a complete standalone Tomcat server or cluster standalone Tomcat's doing HTTP and Application requests? Thank you everyone in advance Dean

RE: Load balancing a standalone Tomcat 4.1

2003-11-11 Thread Asif Chowdhary
Yes you can cluster and load balance tomcat using mod-jk2 Connector -Original Message- From: Dean Searle [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 2:27 PM To: Tomcat Users List Subject: Load balancing a standalone Tomcat 4.1 I have searched around to find this and have

Unable to access html/jsp lying in Tomcat Root directory

2003-11-11 Thread VISHAL SAXENA
I have created a symlink for Tomcat root directory /home/vsaxena/jakarta-tomcat-5.0.12/webapps/ROOT to DSpace (Application that I am working upon) directory containing all the JSP and required HTML. (index.html is one of these) However, as I try to access index.html from browser (accessing the URL

RE: Load balancing a standalone Tomcat 4.1

2003-11-11 Thread Dean Searle
I knew you could do that with apache and tomcat, but I'm looking at only Tomcat itself and nothing else. -Original Message- From: Asif Chowdhary [mailto:[EMAIL PROTECTED] Sent: Tue 11/11/2003 14:37 To: Tomcat Users List Cc: Subject:RE: Load balancing a standalone

RE: Load balancing a standalone Tomcat 4.1

2003-11-11 Thread Shapira, Yoav
Howdy, Yes, you can do with tomcat standalone. See http://www.filip.net/tomcat/tomcat-javagroups.html Yoav Shapira Millennium ChemInformatics -Original Message- From: Dean Searle [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 2:43 PM To: Tomcat Users List Subject: RE: Load

RE: Load balancing a standalone Tomcat 4.1

2003-11-11 Thread Dean Searle
Thank you very much, Yoav. Reading through it looks like I would need the assistance of Apache anyways, or can I have an instance of Tomcat listening on port 80 and do the load balancing? Dean -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tue 11/11/2003

Using Client Certificates in tomcat-4.0.1

2003-11-11 Thread Michael Jeffrey Tucker
Hi, I am prototyping a modification to an existing Tomcast system on Linux that will now use client certificates for authentication, but I have been having trouble getting to the pointer where connecting to the site with a web browser prompts for a certificate. I have been incrementally

RE: Load balancing a standalone Tomcat 4.1

2003-11-11 Thread Shapira, Yoav
Howdy, You don't have to have Apache in front. Any load-balancer will do. Let me redirect you to the tomcat 5 clustering page, as it's more recent, and I think easier to follow: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html Tomcat 5's clustering support is more built-in

help for tomcat

2003-11-11 Thread e98258
Dear all, I am university student in sri lanaka. I want to setup tomacat to access to oracle database.I installed oracle 8i database and apache-tomcat5.0.14 in window 2000 server.Both working individually well. I want to connect thro JSP page. What I have to do? Please tell the which file i

Tomcat Authenticates to AD. How do I access AD variables?

2003-11-11 Thread Robyne Vaughn
Hi, Thanks to Dean Searle my Tomcat now Authenticates to Active Directory with this in my server.xml (of course, the names have been changed to protect the innocent) Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionURL=ldap://99.999.9.9:389 ldap://99.999.9.9:389

Re: help for tomcat

2003-11-11 Thread epyonne
It is not good programming to put any connection string or code on JSP. Instead, those code should be encapsulated in either a servlet class or a java bean. To access Oracle database, simply use the DriverManager for that. I also recommend you to download the Type 4 JDBC driver for this task.

RE: Load balancing a standalone Tomcat 4.1

2003-11-11 Thread Dean Searle
Again thank you, I'll take some time and read this and if I have any questions I'll make a new posting here. Thanks, Dean -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tue 11/11/2003 14:58 To: Tomcat Users List Cc: Subject:RE: Load

Adding Components to Tomcat

2003-11-11 Thread Simon Allen
Hi I have downloaded two files from the apache-incubator pages which provide an ftpserver component to Tomcat. There are two files ftp-admin.jar and ftpserver.sar.zip. Can anyone explain what I should do with these files as there is no installation documentation on those pages. Thank-you in

Other ports Tomcat grabs

2003-11-11 Thread dhay
Hi, We are running Tomcat as a service on Windows, and specifying the normal ports that we want to connect to. However, through TCPView I see that Tomcat is grabbing a bunch of other ports to use as well. The problem is that we have another application that needs to use port 1099, but sometimes

RE: Load balancing a standalone Tomcat 4.1

2003-11-11 Thread David Rees
On Tue, November 11, 2003 1at 1:52 am, Dean Searle wrote: Reading through it looks like I would need the assistance of Apache anyways, or can I have an instance of Tomcat listening on port 80 and do the load balancing? As Yoav hinted, you can use any type of load balancer in front of Tomcat.

Re: Tomcat Authenticates to AD. How do I access AD variables?

2003-11-11 Thread Tim Funk
All their data? Do you mean the attributes of the user as stored in Active Directory? If that is the case - tomcat (or any servlet container) doesn't provide this functionality. But you can easily look it up via some JNDI calls since you know the name of the user. -Tim Robyne Vaughn wrote:

Re: Other ports Tomcat grabs

2003-11-11 Thread Tim Funk
1099, sound like webtrends ... ick. $TOMCAT_HOME/conf/server.xml should have all the ports tomcat is binding to. If not, there may be some custom code in a webapp (ex: some XML-RPC admin listener?) trying to open extra ports. -Tim [EMAIL PROTECTED] wrote: Hi, We are running Tomcat as a

Using Apache/mod_ssl certificate and private key with Tomcat/keytool

2003-11-11 Thread Scott Kelley
Hi, I have an Apache+mod_ssl+Tomcat configuration that's been working fine for several years. I have an SSL certificate from Verisign, and my httpd.conf file contains: SSLCertificateFile /path/to/server.crt SSLCertificateKeyFile /path/to/server.key The private key is unencrypted so that the

Re: WinNT service problem

2003-11-11 Thread ArcherDaPunk
Sorry if this is the second one, not sure if the other went through, I never seem to know exactly which lib directory I'm meant to put it in, so I put it in absolutly every lib directory, including my j2sdk dir. I konw it's not the code because I'm using the same driver and code as I was before

Re: WinNT service problem

2003-11-11 Thread Kwok Peng Tuck
Putting the sql driver every where at once makes life that much difficult. Here's a document that points you in the right direction : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html HIH :) ArcherDaPunk wrote: Sorry if this is the second one, not sure if the

Redirecting HTTP requests to HTTPS

2003-11-11 Thread Raghu Karamel
Experts, Need your help!! I have both the HTTP (port 8080) and HTTPS (Port 8443) working with my Tomcat server (Version 3.2.. I believe). So is there any way I can get all the HTTP requests redirected to HTTPS by Tomcat? Something by tweaking the Tomcat configuration files? I do not have an

RE: Redirecting HTTP requests to HTTPS

2003-11-11 Thread Steph Richardson
Adding the following lines to your deployment descriptor ( web.xml ) will do the trick : security-constraint web-resource-collection web-resource-nameEntire Application/web-resource-name url-pattern/*/url-pattern

302 Response When Request URI == Context Path

2003-11-11 Thread Mark E. Palandri
I've got a Tomcat 5.0.14, IIS 5.1, jk2 setup. My workers2.properties file has a [uri:/foo/*] set up to forward requests to a worker. I've got the worker service set up to handle the requests with the following server.xml context: Context path=/foo docBase=C:\foo debug=0 reloadable=false/

Debugging JSSE

2003-11-11 Thread Michael Jeffrey Tucker
Hi, I am still trying to figure out what is going wrong with my client-side authentication. I've started using the OpenSSL command line tool to debug, rather than a web browser. From the command line I am running: OpenSSL s_client -connect localbox:8443 -cert client.pem -CAfile ca.pem -state

RE: ServletException: exception creating bean

2003-11-11 Thread todd thorner
Thanks very much for taking the time out to give me some tips. I took out my webapp's jar files while I try to tweak some of the classes. Right now I'm just uploading the individual class files to their proper WEB-INF/classes/ directory. Is this what's going wrong? Is the webapp expecting

Re: Redirecting HTTP requests to HTTPS

2003-11-11 Thread Bill Barker
Steph Richardson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Adding the following lines to your deployment descriptor ( web.xml ) will do the trick : It would, if TC 3.x supported redirection :).There isn't anyway to do this easily in TC 3. security-constraint

Re: Using Apache/mod_ssl certificate and private key with Tomcat/keytool

2003-11-11 Thread Bill Barker
The Tomcat 5 ssl-howto contains an example of how to do this. It works with Tomcat 4.1.x as well. Long-story-short, it works by combining the private-key and the cert. JSSE can use the resulting pkcs12 file as a keystore. Scott Kelley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

Re: Redirecting HTTP requests to HTTPS

2003-11-11 Thread Raghu Karamel
I did that... now I'm getting a message h1SSL required to access this page/H1 when I try to use HTTP. I thought it will automatically get redirected HTTPS. Am I missing anything? or is that how it supposed to work? Thanks, Raghu - Original Message - From: Steph Richardson [EMAIL

Re: Debugging JSSE

2003-11-11 Thread Bill Barker
To debug Tomcat, change the logging-level for 'org.apache.tomcat.util.net' to DEBUG. To debug JSSE, include the option '-Djavax.net.debug=ssl' on the command line. Michael Jeffrey Tucker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am still trying to figure out what is

Hello regarding web.xml file ...

2003-11-11 Thread sanjay paithankar
Hello, I installed tomcat4.1.24 on a standalone machine ( not connected to internet ) Now there is a DOCType statement in the web.xml !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/dtd/web-app_2_3.dtd; So now how Tomcat

lbfactor and weighted load balancing

2003-11-11 Thread David OBrien
Just a quick question on the lbfactor setting... If I have say four quad processor machines and two dual processor machines in a cluster would setting the lbfactor for the quad machines to say 4 and the lbfactor for the dual machines to two mean that the quad's will get twice as many requests

URGENT HELP REQUIRED --- running CGI in TOMCAT 4.1.27

2003-11-11 Thread Shamik Bandopadhyay
Hi, I'm posting my problem once again. I'm trying to run a CGI script thru Tomcat 4.1.27. I've followed all the steps like renaming servlets-cgi.jar,servlets-ssi.jar,uncommenting servlet mappings in web.xml under config.I've also installed ActivePerl 5.6.1.635 where my CGI script is pointing

Re: SSL Certificates

2003-11-11 Thread Bill Barker
Of course you can. You just configure the Connector for each domain with the correct keystoreFile. Of course, if you want named-virtual-host, then you can't for the simple reason that the server (aka Tomcat) has to send the cert before it recieves the Host header. Luc Foisy [EMAIL PROTECTED]

apache + tomcat jsp not working--need help

2003-11-11 Thread Omkar Joshi
After setting up the configuration, apache does not forward the request to tomcat. it searchs the jsp file in /var/www/html location. need help From: Omkar Joshi [EMAIL PROTECTED] Subject: apache + tomcat Jsp not working Date: Tue, 11 Nov 2003 19:13:57 +0530 Content-Type: text/plain;