RE: Directory Checksum Error?

2002-08-01 Thread Joel Hainley
thanks for the help..that worked! -Original Message- From: sharath [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 10:51 PM To: Tomcat Users List Subject: Re: Directory Checksum Error? The Solaris tar has problems when extracting long filenames...moreover the

unable start tomcat3.2.3 with jsdk1.4.1b

2002-08-01 Thread MidoriOkuno
Hello all, I've been using tomcat3.2.3, jdk1.2.22,Apache1.3.22, ApacheSoap2.2 and IBM wstk-2.4 for the web service. Now I changed JDK to jsdk1.2.1b. But I couldn't start tomcat server. Why? Can't start tomcat 3.2.3 with Jdk1.4.1b? Is anyone knows about this? Please advice me. The error

Re: Directory Checksum Error?

2002-08-01 Thread Prudence Leung
Oh really!!! This is the first time I can give someone help!!! Thanks to give me chance to help u! - Original Message - From: Joel Hainley [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED]; 'sharath' [EMAIL PROTECTED] Sent: Thursday, August 01, 2002 7:28 AM Subject: RE:

Re: Realm reuse howto!

2002-08-01 Thread Meder Bakirov
Thank you very much! It worked, so now can make any queries! Wohoo, Java Rules! ÷ ÐÉÓØÍÅ ÏÔ 31 éÀÌØ 2002 22:27 Craig R. McClanahan ÎÁÐÉÓÁÌ(Á): On Wed, 31 Jul 2002, Meder Bakirov wrote: Date: Wed, 31 Jul 2002 16:25:57 +0600 From: Meder Bakirov [EMAIL PROTECTED] Reply-To: Tomcat Users List

AW: Apache + mod_jk + Tomcat + Internet

2002-08-01 Thread Ralph Einfeldt
You can setup a SSL Tunnel between the machines. (Keywords for further search: ssh, tunnel, ssl, port forwarding) E.G.: http://www.oreillynet.com/pub/a/wireless/2001/02/23/wep.html -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 1.

Denying GET request for a JSP page howto!

2002-08-01 Thread Meder Bakirov
Hi all! I want to deny any GET requests to my JSP pages, only POST, where can I strict this? Thanks... -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Problems using multiple Sendmail daemons on same machine

2002-08-01 Thread Nathan Hoh
Hi, I have a machine that is running 2 instances of Sendmail, one on the normal SMTP port 25, and another on port 2121. Now most of the JSP pages that send off email use the normal Sendmail on port 25, but some use the other on port 2121 (don't ask me why, long story). In the pages that use

Re: Connection between TOMCAT and DB2 ???

2002-08-01 Thread Ryszard Lach
On Wed, Jul 31, 2002 at 03:11:03PM -0400, [EMAIL PROTECTED] wrote: Thanks Richard for your help, Yes, just now I managed to connect DB2 to Tomcat and using simple java file able to retrieve the values from sample database. But I have a question for you. while defining my Connection URL

Tomcat4 on Debian Woody : /etc/init.d/tomcat4 stop won't unload apps properly

2002-08-01 Thread Dominique Deleris
Hello, I use tomcat + apache on a debian box (woody): apache 1.3.26 j2sdk1.31.3.1 tomcat4 4.0.4 I have noticed the following problem in /etc/init.d/tomcat4: when called with the stop argument, it will kill the JVM before the shutdown of tomcat is correctly ended. This

AW: Denying GET request for a JSP page howto!

2002-08-01 Thread Ralph Einfeldt
Depends a bit on which action you want to execute if that happens. This might be a start: (Havn't tried it) web.xml: security-constraint web-resource-collection web-resource-nameEntire Application/web-resource-name url-pattern/*/url-pattern http-methodGET/http-method

Fw: Urgent: Where can I get a full document on install, config and set Tomcat on redhat Linux?

2002-08-01 Thread Prudence Leung
- Original Message - From: Prudence Leung [EMAIL PROTECTED] To: Charles Trader [EMAIL PROTECTED] Sent: Thursday, August 01, 2002 5:11 PM Subject: Re: Urgent: Where can I get a full document on install, config and set Tomcat on redhat Linux? Thx Thx Thx charles... I've changed the

AW: Tomcat4 on Debian Woody : /etc/init.d/tomcat4 stop won't unload apps properly

2002-08-01 Thread Ralph Einfeldt
If you don't like the 'sleep 30' because most time it's wasted time, you can loop with a sleep 2 around the result of a netstat on one of the tomcat ports or a kill 0 to the vm pid. Ralph Einfeldt Uptime Internet Solution Center GmbH Hamburg, Germany Hosting, Content Management, Java

error while loading when tomcat4 start

2002-08-01 Thread Prudence Leung
Thx Thx Thx charles... I've changed the mistake... but the other problem again See below -- [root@localhost /]# tomcat4 run Using CATALINA_BASE: /var/tomcat4 Using CATALINA_HOME: /var/tomcat4 Using CATALINA_TMPDIR: /var/tomcat4/temp Using JAVA_HOME:

RE: Solaris and Tomcat 4.0.4

2002-08-01 Thread Boocock, John (Academy)
Have you checked to see that Tomcat is listening on the appropriate ports? i.e. ours is configured to interface with apache on port 8007, doing a netstat command should show you this listening at least: $ netstat -a | grep 8007 tcp0 0 *.8007 *.*

RE: Apache-tomcat integration

2002-08-01 Thread Thomas Cherry
Sorry for the delay, I have been busy. Ok, I have a mandrake system with Apache 1.3 and tomcat 4.01. I have a copy of mod_jk from tomcat 3.x and was thinking that I could reuse the same lib. I started configuring apache and tomcat but it does not seem to work so I am including the content

AW: Apache-tomcat integration

2002-08-01 Thread Ralph Einfeldt
Yes it's possible to use mod_jk from 3.3. Zhis informatin is better than your previous post, but I'm missing an description of the error(s). - Is apache running at all. (ps aux | grep bin/apache) - Is tomcat running at all. (ps aux | grep tomcat) - Is apache listening on the ports you expect

About mod_jk.

2002-08-01 Thread Tony Mak
Hi ya, I am working on mod_jk. After I set the setting, the jsp page take no effect (The bowser just shows all jsp codes). The setting is as follows, In server.xml, Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.tomcat4.config.ApacheConfig / Host

dynamic urls

2002-08-01 Thread SB
Hi I want my URLs as http://localhost:8080/webapp/MyServlet/2345 http://localhost:8080/webapp/MyServlet/23349 http://localhost:8080/webapp/MyServlet/345 all mapped to the same servlet, none are static. Note that I do not want: http://localhost:8080/webapp/MyServlet?23349 which is

AW: About mod_jk.

2002-08-01 Thread Ralph Einfeldt
Are you shure that IfDefine HAVE_SSL is true ? -Ursprungliche Nachricht- Von: Tony Mak [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 1. August 2002 12:24 An: [EMAIL PROTECTED] Betreff: About mod_jk. LoadModulejk_module modules/mod_jk.so IfDefine HAVE_SSL AddModule

failed to enable SSL on Tomcat 4.04

2002-08-01 Thread @Basebeans.com
Subject: failed to enable SSL on Tomcat 4.04 From: tom [EMAIL PROTECTED] === I tried to enable SSL for 2 days but did not ever success. Environment: Windows 2000 Server JDK1.4.0.01 Tomcat 4.04 1 signed digital certificate Steps 1. run keytool -import -alias wisdom -file wisdom.crt -keystore

Webapp - WebappServer interaction

2002-08-01 Thread SB
Just curious, Can a webapp know what appserver it is running on? The very purpose of an appserver is to keep the webapp free from the mundane housekeeping stuff like session management and secure access. The webapp is completely unaware of these issues. Instead, is it possible for a webapp to

Re: no-cache where to set?

2002-08-01 Thread peter lin
In your jsp page, add the following code at the top. % response.setHeader(Cache-Control,no-cache); response.setHeader(Pragma,no-cache); response.setDateHeader (Expires, 0); % for more info on no-cache, jguru has some useful stuff http://www.jguru.com/faq/view.jsp?EID=377 peter slickdev

Re: failed to enable SSL on Tomcat 4.04

2002-08-01 Thread jurjanw
Tom, I think you make one mistake you have to load https://localhost:8443, with https as your conection protocol not http. That will do I think, I had the same problem.If you load the url over http you only see 4 squares. Jurjan Subject: failed to enable SSL on Tomcat 4.04 From: tom [EMAIL

RE: Urgent: Where can I get a full document on install, config and set Tomcat on redhat Linux?

2002-08-01 Thread Turner, John
You can try the HOWTO that I posted yesterday. You can find it here: http://www.johnturner.com/howto/apache-tomcat-howto.html Note that it deals with using apache with tomcat, but there is a section that is devoted to only installing and configuring tomcat. If you don't have startup.sh, you

RE: About mod_jk.

2002-08-01 Thread Turner, John
Well, as Ralph already said, if HAVE_SSL is false, your JkMount directives will not be included and apache will just spit out a JSP page as text/html. If you have the two Listener directives in server.xml as you posted, you don't need to put any mod_jk statements whatsoever in httpd.conf. With

RE: Apache-tomcat integration

2002-08-01 Thread Turner, John
Sorry, there isn't enough info here to really tell. 1) does apache work on it's own? 2) do the tomcat examples work on port 8080: http://your.host.com:8080/examples ? If both one and two are true, I would make sure things like apache ServerName in httpd.conf match the Host name in server.xml.

Coyote Instructions

2002-08-01 Thread O'Gara, Damian
Title: Coyote Instructions All We've got Tomcat 4.1.7 Beta and Apache 2.1.39 on separate Solaris servers. Does anyone have a simple step by step guide to connect these together using Coyote JK2 Thanks Damian O'Gara -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: dynamic urls

2002-08-01 Thread William G. Thompson, Jr.
On Thu, 1 Aug 2002, SB wrote: Hi I want my URLs as http://localhost:8080/webapp/MyServlet/2345 http://localhost:8080/webapp/MyServlet/23349 http://localhost:8080/webapp/MyServlet/345 all mapped to the same servlet, none are static. Note that I do not want:

JINtegra-tomcat-servlets

2002-08-01 Thread Sudhir Kumar
hi, i am using JIntegra to communicate between Vb and java. when i request for data from a perticular method in vb,the vb server method calls a java class, which in turn calls a servlet running on tomcat4.1, this servlet will call another servlet running on a similar setup in another

Tomcat and jspsmartupload -- getparameter doesn't work

2002-08-01 Thread Kemp Randy-W18971
Has anyone used Tomcat with jspsmartupload? I have a question about using jspsmartupload with Tomcat 4.0.4 in development and having the jspsmartupload getparameter work. I have created a jar file with all the jspsmartupload components and put it into the Tomcat lib directory. I then created

RE: Context.getResource( ) problem

2002-08-01 Thread Shapira, Yoav
Hi Faisal, It may have been just me, but I got four copies of your message. Please post only once. As to your question: the technical cause for the exception is obvious ;) You can't form a URL to a java.io.ByteArrayInputStream. My guess is something (the TemplateServlet? Is that your servlet

RE: Ttomcat 4.0.4 Configuration

2002-08-01 Thread Shapira, Yoav
Hi, A couple of comments, hopefully helpful ;) - You should package your classes. If you don't, it'll look for them in the default package of org.apache.jsp, where they aren't, hence they error ;) - It would be insecure, and bad style, to not import all and only the classes you need in a given

Re: Connection between TOMCAT and DB2 ???

2002-08-01 Thread Nishant_Awasthi
Richard Correct me if I am undertanding it correctly. If the DB2 server is running on (default port 5) cline tmachine then in my client application, I need not specify the port number. But I may or maynot use the port number (5) in my Connection URL string. Now When I use String url =

RE: Apache-tomcat integration

2002-08-01 Thread Luminous Heart
I saw at the end of your reply this block: contents of /etc/tomcat4/conf/tomcat4.conf: JAVA_HOME=/usr/java/current CATALINA_HOME=/var/tomcat4 JASPER_HOME=/var/tomcat4 TOMCAT_USER=tomcat Why are you using tomcat4.conf? I mean I have not used a .conf for tomcat and I guess my cluster of 3

RE: i can't acces absolute symbolic link created with ln -s command on LINUX

2002-08-01 Thread CouasPhilippe
-Message d'origine- De: Irina Lishchenko [SMTP:[EMAIL PROTECTED]] Date: mercredi 31 juillet 2002 09:59 A: Tomcat Users List Objet: Re: i can't acces absolute symbolic link created with ln -s command on LINUX A new Idea for resolving this problem ? Thanks Philippe I have

Reading properties file from ClassPath (ServletContextListener)

2002-08-01 Thread petra staub
Hi, I currently dont understand the following: I have a registered class as a ServletContextListener. At application start I want to read a Properties file from the classpath, doing the following: myProps = new Properties(); try { URL url =

RE: Apache Authentication for Tomcat

2002-08-01 Thread Josh Landin
Milt, Let me lay out the setup here: Apache is setup to host multiple Virtual Hosts. Such that... http://intranet1/ Has a docbase of /drives/a/webapps/intranet1 -Original Message- From: Milt Epstein [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 12:01 AM To: Tomcat

Re: Reading properties file from ClassPath (ServletContextListener)

2002-08-01 Thread petra staub
Sorry for the uncomplete first email...my mailer was just to fast for me... :-) Again... Hi, I currently dont understand the following: I have a registered class as a ServletContextListener. At application start I want to read a

RE: Apache Authentication for Tomcat

2002-08-01 Thread Josh Landin
Milt, Let me lay out the setup here -- Apache is setup to host multiple Virtual Hosts. Such that... http://intranet1/ Has a docbase of /drives/a/webapps/intranet1 http://intranet2/ Has a docbase of /drives/a/webapps/intranet2 etc... So how could I use the Location tag and not affect the

AW: Reading properties file from ClassPath (ServletContextListener)

2002-08-01 Thread Ralph Einfeldt
What do you mean with 'classpath'? Tomcat ignores the classpath environment variable. So your property file has to reside in a directory that is known to tomcat. Even using the SystemClassLoader (which is done when you use getSystemResource()) won't help because the classpath is cleared in

Re: Apache-tomcat integration

2002-08-01 Thread Thomas Cherry
Apache runs just fine and I find it on the port I expect however tomcat does not run as I expect. http://my.host.com:8080/examples dose not respond. I do find a lot of java apps running when I do ps -U tomcat. Here are my error files: Apache_log.date.txt: 2002-07-31 17:21:06

RE: Apache-tomcat integration

2002-08-01 Thread Turner, John
The WARP connector can't bind to its socket. The default WARP connector socket is 8008. Is there something else on that socket? Another connector? Which connector do you want to use? Tomcat binds up both the AJP and WARP socket by default, but which connector have you chosen to use with

Re: AW: Reading properties file from ClassPath (ServletContextListener)

2002-08-01 Thread petra staub
hi ralph, thanks for your quick reply. with classpath i mean somewhere in the package of my web application (context). this would match the first path you pointed out in your answer (webapps/{Context}/WEB-INF/classes/com/foo/My.properties). actually i have no special reason i choose

AW: Apache-tomcat integration

2002-08-01 Thread Ralph Einfeldt
The fir error message comes because you didn't disable the warp connector. If 8080 doesn't responds it because it uses port 8180. (See the log message for the HttpConnector) If all is running you should diable the HttpConnector. Ralph Einfeldt Uptime Internet Solution Center GmbH Hamburg,

RE: Apache-tomcat integration

2002-08-01 Thread Turner, John
I'm using mod_jk in my setup, and I didn't disable the WARP connector. It's still enabled, and everything seems to be working. Can only one connector be defined at a time in server.xml? John Turner [EMAIL PROTECTED] -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]

AW: AW: Reading properties file from ClassPath (ServletContextListener)

2002-08-01 Thread Ralph Einfeldt
To read a property from /WEB-INF/classes/com/foo/My.properties you shouldn't use getSystemResource*() as it uses the Systemclassloader which doesn't know anything about the tomcat directories. So you have use getResource*() which uses the classloader that loaded you current class. To the use

RE: Apache Authentication for Tomcat

2002-08-01 Thread Milt Epstein
On Thu, 1 Aug 2002, Josh Landin wrote: Milt, Let me lay out the setup here -- Apache is setup to host multiple Virtual Hosts. Such that... http://intranet1/ Has a docbase of /drives/a/webapps/intranet1 http://intranet2/ Has a docbase of /drives/a/webapps/intranet2 etc... So how

AW: Apache-tomcat integration

2002-08-01 Thread Ralph Einfeldt
I think you can define more than one connector in server.xml (but I havn't tried it). But i tend to strip the configuration down to the minimal set, so it's easier to find problems. Especially if you search an error every error message and config entry that doesn't exist is one cause less

Re: failed to enable SSL on Tomcat 4.04

2002-08-01 Thread @Basebeans.com
Subject: Re: failed to enable SSL on Tomcat 4.04 From: tom [EMAIL PROTECTED] === Jurjan, Thanks for your reply, I got it, but it is only validate if using a dummy keystore created by the keytool. My problem is I have a signed certification issued by my univerity's ca, I tried to get the

Re: AW: Apache-tomcat integration

2002-08-01 Thread rsequeira
Yes you can define two connectors as long as they are listening on different ports. I have both the AJP as well the the WARP connector enabled. RS Ralph

Re: Webapp - WebappServer interaction

2002-08-01 Thread Craig R. McClanahan
On Thu, 1 Aug 2002, SB wrote: Date: Thu, 1 Aug 2002 07:14:08 -0400 From: SB [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Webapp - WebappServer interaction Just curious, Can a webapp know what appserver it is running on? See

Problem in Confiure Tomcat with SSL

2002-08-01 Thread Raja Reddy
Sir, I downloaded JSSE and i installed as given in the SSL Configuration HOW-TO. I created the Certificate Store by using keytool as givien in that HOW-TO. I uncomment the SSL HTTP/1.1 Connector entry in the Server.xml file. I restarted the Webserver. It is giving the following errors.

OT: howto avoid overuse of session object?

2002-08-01 Thread jeff . guttadauro
This is sort of off-topic, but I don't know of a better forum targeting Java web/servlet programming. If anyone does know of one, could you let me know? I'm basically wondering if others have found effective ways to avoid the tempting but bad practice of loading up the session with all sorts of

Re: OT: howto avoid overuse of session object?

2002-08-01 Thread peter lin
what about writing a central controller, which is initiated when tomcat starts up? if you write a class that implements ServletContextListener and add it to your web.xml, it will load your application. You can then set it in the application context. Each request can then get to the application

Re: howto avoid overuse of session object?

2002-08-01 Thread Cédric Viaud
Hi, FIRST For non-specific Tomcat questions, it exists : [EMAIL PROTECTED] There's also an other one wich is JSP oriented. SECOND All best practice i know says that you must minimize the ammount of data stored in the session. So, the traditional approach of this problem is to only store the

How to communicate with Tomcat?

2002-08-01 Thread Supriyo Chatterjea
Hi, I hope this is the right place for this question. I need some help with the following situation: I've got two devices (Dev A and Dev B) both running Jakarta Tomcat 4.0.4. Dev A is supposed to be listening for any messages coming in on port 80 every x secs and for each time, it listens for a

RE: howto avoid overuse of session object?

2002-08-01 Thread Durham David Cntr 805CSS/SCBE
try forums.java.sun.com there's a jsp/servlet forum -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 11:14 AM To: [EMAIL PROTECTED] Subject: OT: howto avoid overuse of session object? This is sort of off-topic, but I don't

problem whit applets

2002-08-01 Thread francisco zuluaga
hello! I'm new in tomcat, I want use some applets as front-enf for my servlets but I had some problems: I put the class files into the directory: /usr/local/tomcat/webapps/proyect/applets and in my html file i put this line: applet codebase=./applets code=client.class /applet but it did not

Re: OT: howto avoid overuse of session object?

2002-08-01 Thread Jacob Kjome
Hello jeff, The Barracuda project contains classes that allow for exactly this ability: to allow an object to be passed from one request to the next without the use of the session. Check it out at: http://barracuda.enhydra.org/ The classes that you should specifically concern yourself with

Apache/Tomcat Connectors List

2002-08-01 Thread Heligon Sandra
Where can I find the list and the description of each connector for Apache on the one hand and for Tomcat on the other hand ? Thanks a lot. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Tomcat 4 Suse 8

2002-08-01 Thread Steve Russell
I gave up on trying to get Tomcat 4 to work with Suse 7.2 Has anyone gotten tomcat 4.* to work on suse 8? Steve -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Apache/Tomcat Connectors List

2002-08-01 Thread Turner, John
They are one and the same...there aren't separate connectors for apache and separate connectors for tomcat. There is an HTTP connector that is tomcat-only, but that just allows tomcat to serve static content. http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/index.html Look on the

Re: AW: Apache + mod_jk + Tomcat + Internet

2002-08-01 Thread AMRAN121
Firstly I am aware that their will be a perfomance hit but hopefully it will be a short term thing (approx 6 months. Secondly I have been looking at ssh (openssh) I have set it up on apache but is it available for a windows environment too? or do i need to have a openssh gateway (made from

web.xml tags extensible?

2002-08-01 Thread Zhenxin wang
Can the tags in web.xml file be extensible? We want to define some new tags to carry more info about the servlets. Thanks! --Zhenxin Wang DoCoMo Labs USA

RE: DB2 and servlet ??? Help !!!

2002-08-01 Thread Turner, John
Is firstnme the name of your column? Or should it be firstname? If that's an error, there should be a SQLException thrown, but I don't know the behavior fo DB2...it may just be that you get null back. In any case, besides printing a stack trace, I would output something to the browser on a

RE: DB2 and servlet ??? Help !!!

2002-08-01 Thread Nishant_Awasthi
Hello John firstnme is the correct column name... What bugs me is if you see my servlet code which I am again attaching... I try to put try and ctach every where possible so that I can at least printStackTrace() . But to my surprise...I am not getting any exception...or stack trace... instead I

encrypt passwords for JNDI Resources (Datasource specifically)

2002-08-01 Thread Jacob Kjome
Seems to me someone wrote about this before, but I can't find it. I'm wondering if passwords can be digested in JNDI Resource configuration just like one can in the Realm configurations? I'd rather not store the password for my database in cleartext. The Resource docs don't seem to mention

RE: DB2 and servlet ??? Help !!!

2002-08-01 Thread Wagoner, Mark
I think you are attempting to output the value if there is nothing in the result set. if(!rs.next()) The .next() method will return true if it was able to fetch a row. You are saying, if there is no row then... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

RE: Apache/Tomcat Connectors List

2002-08-01 Thread Milt Epstein
On Thu, 1 Aug 2002, Turner, John wrote: They are one and the same...there aren't separate connectors for apache and separate connectors for tomcat. There is an HTTP connector that is tomcat-only, but that just allows tomcat to serve static content. Well, I'd say that makes them separate.

RE: DB2 and servlet ??? Help !!!

2002-08-01 Thread Turner, John
Nice catch! You are right. It should be if(rs.next()) Or better yet... while(rs.next()) John Turner [EMAIL PROTECTED] -Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:02 PM To: 'Tomcat Users List' Subject: RE: DB2 and servlet ???

RE: DB2 and servlet ??? Help !!!

2002-08-01 Thread Nishant_Awasthi
Hello Mark, Believe me there are rows in the table when I run the simple JAVA-DB2 file it retrieve Received results: empno= 000150 firstname= BRUCE empno= 10 firstname= CHRISTINE empno= 000250 firstname= DANIEL empno= 000200 firstname= DAVID empno= 000130 firstname= DOLORES empno=

RE: DB2 and servlet ??? Help !!!

2002-08-01 Thread Nishant_Awasthi
I tried both ways while(rs.next()) and if(!rs.next()) both gives the same web browser output Nishant Awasthi Corporate Systems Development Progressive Insurance

Re: DB2 and servlet ??? Help !!!

2002-08-01 Thread Michael Locasto
Hi, Assuming this is the SQL you want to submit: try{ stmt = con.createStatement(); rs = stmt.executeQuery(SELECT empno from db2admin.employee); shouldn't it be if( rs.next() ){ do{ count++;

RE: Apache/Tomcat Connectors List

2002-08-01 Thread Turner, John
Semantics, I guess. There's one connectors distribution, and it has everything in it. They're even separate projects from both apache and tomcat. There aren't any apache packages that have tomcat connectors, nor is there any apache documentation that says this is how you use the apache

Re: DB2 and servlet ??? Help !!!

2002-08-01 Thread Michael Locasto
Hi, Your parameter is '012', while it appears that the employeenumbers in your database are more like: empno= 000150 quote BROWSER OUTPUT --- paramater passed is 012 Count is0 Found the JDBC driver Driver is properly loaded and registered Connection URL is good

RE: DB2 and servlet ??? Help !!!

2002-08-01 Thread Durham David Cntr 805CSS/SCBE
brings nothing?? There is no SQLException, or nullpointer or something like that?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 1:08 PM To: Tomcat Users List Subject: RE: DB2 and servlet ??? Help !!! Hello Mark,

Re: DB2 and servlet ??? Help !!!

2002-08-01 Thread Michael Locasto
...and I'm an idiot, because the SQL statement doesn't filter by them, so it's quite inconsequential, really. :) rs = stmt.executeQuery(SELECT empno from db2admin.employee); Michael - Original Message - From: Michael Locasto [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]

Re: DB2 and servlet ??? Help !!!

2002-08-01 Thread Nishant_Awasthi
Please don't look at the parameters As I am not using parameter in my query... Right now I am just trying to run a very simple query... Parameter has been output just for testing if servlet is taking wirte parameter vvalues or not... Parameters are not being used anywhere in the whole servlet

RE: Apache/Tomcat Connectors List

2002-08-01 Thread Milt Epstein
On Thu, 1 Aug 2002, Turner, John wrote: Semantics, I guess. There's one connectors distribution, and it has everything in it. They're even separate projects from both apache and tomcat. There aren't any apache packages that have tomcat connectors, nor is there any apache documentation

Re: DB2 and servlet ??? Help !!!

2002-08-01 Thread Nishant_Awasthi
Hello I think I found where the problem is When I try to print e4.getmessage() while opening my conenction as given below: try{ con = DriverManager.getConnection (jdbc:db2://10.3.13.34/SAMPLE,db2admin,db2pwd); }

MaxProcesses in Server.xml

2002-08-01 Thread Venkatesh Sangam
Hi, I am setting the value of MaxProcessors in server.xml to 500. Is it possible that tomcat can handle 500 simultaneous connections. I am generating 150 simultaneous requests. These requests are for a servlet called ReadServlet. This servlet sleeps for 10 secs and returns back with a respose

Re: MaxProcesses in Server.xml

2002-08-01 Thread Zhenxin wang
If you set MinProcessors to be 500 also, see if there is any diff. -- Zhenxin Wang DoCoMo labs USA - Original Message - From: Venkatesh Sangam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 01, 2002 11:41 AM Subject: MaxProcesses in Server.xml Hi, I am setting the

Re: MaxProcesses in Server.xml

2002-08-01 Thread Venkatesh Sangam
I set MinProcessors also to a high value, but I dont observe any difference. The problem is I dont observe any strict behaviour. The number of responses that come in 10 secs only, varies from 70-150. But according to me, I should be getting all the responses in 10 secs. Thanks, Venkatesh.

Apache - Tomcat blues...

2002-08-01 Thread Valkanas Nikos
Hi all, I am kind new to tomcat, so any help would be appreciated. I have problems with the communication between apache and tomcat. I am using apache 1.3.26 compiled from sources, tomcat 4.0.4 from binaries and connectors 4.0.4 compiled from sources, all running on Linux Redhat 7.2. Tomcat

Please help me... URGENT

2002-08-01 Thread Sujith Mathew
Please help me . My requirements are to serve JSP, Servlets, static pages and SSL(not important). NO CGI, PERL, PHP etc. I am using a WINDOWS 2000 Server.*I want anyone to tell me whether i should use APACHE+TOMCAT+SSL or TOMCAT+SSL. Please reply me fast , i am banking on you guys for a

Re: Please help me... URGENT

2002-08-01 Thread Michael B Sebetich
Hi There, I would go with Tomcat+SSL, the setup is much easier than your other alternative. The only thing you really lose by not using apache is the ability to use virtual hosts. Mike On Fri, 2 Aug 2002, Sujith Mathew wrote: Please help me . My requirements are to serve JSP,

RE: MaxProcesses in Server.xml

2002-08-01 Thread Shapira, Yoav
Hi, You will always have some variance in your responses. It's never going to be exactly 10sec for all requests. This variance is due to network issues, I/O, a bit of thread contention and locking, etc. It's up to you to decide what variance is acceptable, and profile your application to

Re: RE: Apache-tomcat integration

2002-08-01 Thread Thomas Cherry
Here is my server.xml file. As far as I know it's stock. For bandwidth reasons I striped all the comments and included it as an attachment. As an update, I do get tomcat on port 8180. on 08/01/2002 1:41 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: The WARP connector can't bind to its

RE: Please help me... URGENT

2002-08-01 Thread Durham David Cntr 805CSS/SCBE
One option is to use IIS + SSL + Tomcat -Original Message- From: Sujith Mathew [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: Please help me... URGENT Please help me . My requirements are to serve JSP, Servlets, static

RE: Apache-tomcat integration

2002-08-01 Thread Thomas Cherry
Here is my server.xml file. As far as I know it's stock. For bandwidth reasons I striped all the comments. As an update, I do get tomcat on port 8180. Server port=8005 shutdown=SHUTDOWN debug=0 Service name=Tomcat-Standalone Connector

RE: Please help me... URGENT

2002-08-01 Thread Michael B Sebetich
I wouldn't use IIS, especially if you're interested in having a secure server. IIS is historically unsecure. SSL won't mean much if someone can break into your system via your web server. On Thu, 1 Aug 2002, Durham David Cntr 805CSS/SCBE wrote: One option is to use IIS + SSL + Tomcat

RE: RE: Apache-tomcat integration

2002-08-01 Thread Turner, John
Which connector did you choose to use? AJP or WARP? Your server.xml shows some changes on the port numbers. For example, the AJP connector is showing 8109 instead of 8009 (the default). Did you carry that change through the other configuration files, like workers.properties (if you chose

Re: Please help me... URGENT

2002-08-01 Thread Rick Fincher
Hi, If you need to get it up and running fast, just use Tomcat with SSL. You can always add Apache later if you think it will boost performance. Setting up an Apache+SSL+Tomcat server can be tricky if you are a newbie (and even if you aren't). A lot of this depends on what you are running and

Re: JSPC Precompiling Issues and a handy utility

2002-08-01 Thread David M. Karr
Rick == Rick Fincher [EMAIL PROTECTED] writes: Rick Hi All, Rick There has been some discussion on here and on the TAGLIBS list about Rick precompiling JSP's in Tomcat. Rick To avoid confusion, before I go on I want to point out that there has been a Rick change in Tomcat

RE: Please help me... URGENT

2002-08-01 Thread Durham David Cntr 805CSS/SCBE
Why are we worried about securing a Windows 2000 server?? I thought they just wanted it set up and running. -Original Message- From: Michael B Sebetich [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:42 PM To: Tomcat Users List Subject: RE: Please help me... URGENT

RE: Please help me... URGENT

2002-08-01 Thread Michael B Sebetich
I would assume that the use of SSL implies sensitive data being handled by the Win 2k server. Why risk compromising that data by using IIS? On Thu, 1 Aug 2002, Durham David Cntr 805CSS/SCBE wrote: Why are we worried about securing a Windows 2000 server?? I thought they just wanted it set up

Re: JSPC Precompiling Issues and a handy utility

2002-08-01 Thread Rick Fincher
Hi David, Thanks for the response. I'm using an IDE and all it does is spit out a war file with the JSP sources and WEB-INF. I guess it can't use class files because it has no knowlege of the container environment it will be deployed in. So it looks like what I need to do is write an ant

Re: howto avoid overuse of session object?

2002-08-01 Thread jeff . guttadauro
Thanks, Cédric and Peter Lin, for your responses. Both of you seem to be saying that, instead of storing large objects in the session object, I should be storing them in the application object (ServletContext). I find this to be rather confusing. It seems like the overhead involved in storing

Re: Context.getResource( ) problem

2002-08-01 Thread faisal
Thanks for the reply Shapira I apologize for sending the same email four times As you noted out it is a Jboss problem not Tomcat's. I got the same error with Jetty . Respect - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent:

Re: web.xml tags extensible?

2002-08-01 Thread Craig R. McClanahan
On Thu, 1 Aug 2002, Zhenxin wang wrote: Date: Thu, 1 Aug 2002 10:42:15 -0700 From: Zhenxin wang [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: web.xml tags extensible? Can the tags in web.xml file be extensible? In

  1   2   >