Re: Persistent Connection

2002-08-19 Thread Taral Shah
Thanks A lot Andrew and Mike for providing useful information. But Just for my knowledge I would like to know, What IIS or Apache doing specially so the connection closes with them and not with Tomcat. Any special protocols they are following or what? I have to compulsory use only tomcat and

RE: integrating tomcat 4.04 into iplanet 4.1 using nsapi_redirector on linux

2002-08-19 Thread Jerry Birchler
My theory is that no one can claim that they have actually done this. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Frameset problem with mod_webapp

2002-08-19 Thread Sudhakar Barua
Hi, I couldn't get a single solution in the mailing list archive for my problem below. I am using Apache 1.3.20 with TOMCAT 4.0.4 using mod_webapp wrap connector, and I am having problems loading .jsp pages in frames. The problem persists even for simple .html files.My file test.html consists

got javax.servlet.UnavailableException when setting unpackWar to false

2002-08-19 Thread Juri Frommer
Hi there, I'm using Tomcat 4.1.9 Standalone and got the following Problem: When copying my war file to the webapps directory and setting unpackWar to true everything works fine (the war file is unpacked and the application works). But when setting unpackWar to false I get the following

Re: Connect Java Profiler to Tomcat

2002-08-19 Thread Steinar Bang
Zhenxin wang [EMAIL PROTECTED]: I used OptimizeIt, which has special script for Tomcat 4. Follow the instructions from OptimizeIt to modify the script to suit your environment, it should be easy to gt it working. I've aquired a test license from Borland, but haven't been able to get it

Re: retrieving HttpSession in Filter? ServletResponse.setContentLength()?

2002-08-19 Thread tek1
hi craig. thanks for your reply. after digging deeper, i now know what's happening. it's quite strange. i'm calling tomcat from a (mobile) java client (not a web browser) and the client needs to know exactly how many bytes are being sent back to it by the server. when i call

RE: RMI and TC4.x (Really classloader stuff)

2002-08-19 Thread David Oxley
Thanks for your comments Greg. Now at least I know what's going on. I'm going to attach these comments to the bug log. Thanks. Dave. -Original Message- From: Greg Trasuk [mailto:[EMAIL PROTECTED]] Sent: 10 August 2002 04:54 To: 'Tomcat Users List' Subject: RE: RMI and TC4.x (Really

Precompilation

2002-08-19 Thread Mark O'Driscoll
Hi, I currently recompile all my jsp's using jspc and update the entries in web.xml as created by jspc. This is fine but not quite what I want. One of the problems is that my default welcome page is index.jsp which, of course, is no longer there when the file is precompiled. I have got around

AW: got javax.servlet.UnavailableException when setting unpackWar to false

2002-08-19 Thread Juri Frommer
solved it by myself... The problem was, that the servlett was trying to read a properties file included in the war file. Any suggestions for a workaround? I.e. using webresources or the like... Best regards Juri -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

Tomcat 4 and modwebapp in Debian

2002-08-19 Thread falkom
Dear Friends, I install tomcat4 and modwebapp in woody and I try to get virtualhost integrate with tomcat. I type in httpd.conf VirtualHost 172.16.4.3 ServerAdmin [EMAIL PROTECTED] ServerName inet.server.es WebAppConnection warpConnection warp 172.16.4.3:8008 WebAppDeploy inet

ignore please, test

2002-08-19 Thread Nick De Decker
Just testing if this works, seems like the last tomcat mailinglistmessage i received is dated 2 days ago... Or is everybody flooded or on vacation ? Nick

java-compiler for Mac?

2002-08-19 Thread Gunter D'Hondt
I know this is a bit of topic here but a friend asks me if there is a java-compiler (jdk or whatever) that runs on a macintosh? Anybody knows anything more about java and mac? Any tip/suggestion/help is welcome! Greetings, Gunter. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: Where are the connector binaries???

2002-08-19 Thread Turner, John
Are you editing httpd.conf manually, or are you using the auto-gen function of tomcat to create mod_jk.conf? John Turner -Original Message- From: Scott Adamson [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 18, 2002 5:51 AM To: Tomcat Users List Subject: Re: Where are the connector

Re: java-compiler for Mac?

2002-08-19 Thread Ian McFarland
Yes, there are a few! What version of the OS are you talking about? OS X comes with a complete JDK 1.3.1 installed. OS 9 and before had a downloadable Java runtime, called Mac Runtime for Java, or MRJ, that could be installed. (The current incarnation is also called MRJ, btw, but since it's

urgent : tomcat 4 and iis 5

2002-08-19 Thread Jean Fotovat
hello community, i've been just following the instructions at http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/ and i'm in trouble when trying the instruction : jk_nt_service -s tomcat i got : Asked (and given) winsock 1.1 Starting tomcat. tomcat failed to start.

Off Topic Design Question

2002-08-19 Thread Richard Johnstone
Sorry to post this here but maybe someone on this list can help. Does anyone know of any tools for building flow documentation between pages? I have a load of servlets and want to be able to build up the process flow. Ta Rich The information contained in this communication is intended solely

RE: urgent : tomcat 4 and iis 5

2002-08-19 Thread Turner, John
And the error messages in tomcat's log files are.??? John Turner -Original Message- From: Jean Fotovat [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 8:11 AM To: Tomcat Users List Subject: urgent : tomcat 4 and iis 5 hello community, i've been just following the

Re: Off Topic Design Question

2002-08-19 Thread raghav
U cud document the flow using Rational Rose, if u can lay your hands on it. Raghav - Original Message - From: Richard Johnstone To: [EMAIL PROTECTED] Sent: Monday, August 19, 2002 5:46 PM Subject: Off Topic Design Question Sorry to post this here but maybe someone on

RE: Too many threads

2002-08-19 Thread Shapira, Yoav
Hi, The threading implementation of the JVM depends on the OS to some extent. Linux uses native threads as opposed to green or p threads, so you see more processes at the OS-level. You can google search for any of the above terms and you'll find a ton of references. For the tomcat

RE: retrieving HttpSession in Filter? ServletResponse.setContentLength()?

2002-08-19 Thread Cox, Charlie
if you are using a response wrapper, are you overriding setContentLength() and never calling super.setContentLength()? Charlie -Original Message- From: tek1 [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 5:16 AM To: Tomcat Users List Subject: Re: retrieving HttpSession in

Re: Tomcat 4.0.4: Unnecessary $TOMCAT/temp/ directory?

2002-08-19 Thread Glenn Nielsen
It is done for security reasons so that the JVM instance for Tomcat isn't using the same temp directory as other applicaitons on the system. Also so that there is a common temp directory path that is system neutral. This is more secure when you lock down Tomcat with the SecurityManager and a

pgSQL connection pooling

2002-08-19 Thread Felipe Schnack
Anyone uses pgSQL with Tomcat 4? I'm starting a project with it and would like to know if the ConnectionPooling provided with the jdbc drivers for this database are good or not. -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Faculdade

Re: tomcat/unix security manager questions

2002-08-19 Thread Glenn Nielsen
Richard Smith wrote: Hi All, Just wondering if you could help me clarify a few questions I have about tomcat and catalina.policy. Im running tomcat 4.0.4 (w/ security manager) with mod_jk on solaris with about 300+ users, all of whom can deploy jsp/servlets from their public_html

Re: pgSQL connection pooling

2002-08-19 Thread V. Cekvenich
This should be a faq: http://poolman.sf.net is perhaps most popular (but not updated). Tomcat comes with it's own (but can't be unit tested) and... a good sample good practices tomcat web app is at basicPortal.sh.net. hth, V. Felipe Schnack wrote: Anyone uses pgSQL with Tomcat 4? I'm

Re: pgSQL connection pooling

2002-08-19 Thread Felipe Schnack
Well, this poolman isn't updated anymore... how can I use tomcat's own connectionpooling? On Mon, 2002-08-19 at 10:51, V. Cekvenich wrote: This should be a faq: http://poolman.sf.net is perhaps most popular (but not updated). Tomcat comes with it's own (but can't be unit tested)

RE: pgSQL connection pooling

2002-08-19 Thread Turner, John
Documentation for Jakarta DBCP: http://jakarta.apache.org/commons/dbcp.html Archived post explaining how to make it work: http://marc.theaimsgroup.com/?l=tomcat-userm=102225547106556w=2 John Turner [EMAIL PROTECTED] -Original Message- From: Felipe Schnack [mailto:[EMAIL PROTECTED]]

Re: pgSQL connection pooling

2002-08-19 Thread Ned Wolpert
Well, PoolMan 2.0.4 is still good, and PoolMan isn't dead its 'resting'. :-) BTW, pgsql 7.3 JDBC driver has pooling... catch is you've got to build it from the CVS repository. Check out org.postgresql.jdbc2.optionl.PoolingDataSource On Mon, 2002-08-19 at 07:04, Felipe Schnack wrote:

Re: pgSQL connection pooling

2002-08-19 Thread Ned Wolpert
Ooop... forgot; download poolman 2.0.4 at http://sourceforge.net/projects/poolman/ On Mon, 2002-08-19 at 07:23, Ned Wolpert wrote: Well, PoolMan 2.0.4 is still good, and PoolMan isn't dead its 'resting'. :-) BTW, pgsql 7.3 JDBC driver has pooling... catch is you've got to build it

Running 2 version of tomcat on same machine

2002-08-19 Thread Ashish Kulkarni
Hi, I am currently running tomcat4.0.4 on my windows 2000 server , I just downloaded jboss3.0 which comes with tomcat4.0.3, so i want to install it also, but i dont want to remove my existing tomcat4.0.4 with all the exisiting applications running on it... so what care should i take so

Publishing WSDL

2002-08-19 Thread Thébault, Médérick
Hello, I got a web service which works under tomcat. Everything is fine but to be as clean as possible, I would like to publish the wsdl by accessing to some http://..?wsdl;. For the moment, Tomcat is responding to this request : http://localhost:8080/myservice?WSDL; with No WSDL document

RE: Precompilation

2002-08-19 Thread Rossen Raykov
Mark, Try to use -webinc option and include generated web.xml in the application's deployment descriptor. This will map all the generated Java classes to the corresponding JSP URLs. Regards, Rossen -Original Message- From: Mark O'Driscoll [mailto:[EMAIL PROTECTED]] Sent: Monday,

ajp13 threads blocking

2002-08-19 Thread Andrea Carpani
Hi everybody: I'm experiencing a strange and randomic problem with my tomcat configuration. Here's the software: I'm using Tomcat 4.0.4 with sun's jdk 1.3.1_04 as a servlet and jsp container, behind a 1.2.36 Apache web server. CATALINA_OPTS=-server -ms256m -mx512m -Xss32k The server starts up

RE: tomcat/unix security manager questions

2002-08-19 Thread Rossen Raykov
Unix permissions do take precedence over java security policy. Regards, Rossen -Original Message- From: Richard Smith [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 18, 2002 11:12 PM To: [EMAIL PROTECTED] Subject: tomcat/unix security manager questions Hi All, Just

It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Luminous Heart
I keep on asking this question but noone helps. Is it a bug in TC? Why do I get NullPointerException? If I press refresh a couple of times I would go through. 2002-08-19 00:53:32 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception java.lang.NullPointerException

RE: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Campano, Troy
Have you tried commenting out different parts of your code to see what part is causing this problem? -Original Message- From: Luminous Heart [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 11:14 AM To: Tomcat Users List Subject: It would be great IF somebody answered me, ONCE,

Re: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Paul Caton
Common sense should tell you that posting snotty subject-lines will not help persuade list users to answer you. You seem to think that someone has an *obligation* to jump and answer you as soon as possible, but this is not the case. Be patient and polite and I'll bet someone responds. Paul Caton

Re: retrieving HttpSession in Filter? ServletResponse.setContentLength()?

2002-08-19 Thread Craig R. McClanahan
On Mon, 19 Aug 2002, tek1 wrote: Date: Mon, 19 Aug 2002 18:15:54 +0900 From: tek1 [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: retrieving HttpSession in Filter? ServletResponse.setContentLength()? hi craig.

RE: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Luminous Heart
Well, it is a big application. And it was working fine with tc3.x. I have never had such a problem. I noticed that I had to do lots of modifications to my code to get TC4.0.4 work. What is different? --- Campano, Troy [EMAIL PROTECTED] wrote: Have you tried commenting out different parts of

RE: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Stuart Stephen
Probably quite a lot then. ;o) -Original Message- From: Luminous Heart [mailto:[EMAIL PROTECTED]] Sent: 19 August 2002 16:22 To: Tomcat Users List Subject: RE: It would be great IF somebody answered me, ONCE, for change :( Well, it is a big application. And it was working fine with

Re: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Craig R. McClanahan
On Mon, 19 Aug 2002, Luminous Heart wrote: Date: Mon, 19 Aug 2002 08:14:08 -0700 (PDT) From: Luminous Heart [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: It would be great IF somebody answered me, ONCE, for change :( I

RE: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Campano, Troy
I don't know, but if you want to find out what is making your app break you need to find the cause first. By finding out what is pointing to a null value, it could help. -Original Message- From: Luminous Heart [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 11:22 AM To:

more pool problems

2002-08-19 Thread Felipe Schnack
I'm still trying to use tomcat4's connectionpooling mechanism. I just added the following code to my server.xml. I added too the needed tags to web.xml. Tomcat starts ok, but when I try to get the DataSource from the InitialContext I get an ClassNotFoundException: org.hsql.jdbcDriver. Where

Re: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Luminous Heart
I bet you are the Snot, not just Snotty. How was I being snotty by asking for someone to help. Yes we are all obligated towards each other. That is the basic concept of OpenSource, if you have not noticed. We are a community of highly involved professionals and we think that we have to be there

Re: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Paul McGovern
Sorry, but you haven't included enough information for anyone to formulate an answer. Based on the information all I can say is that you have a null pointer exception. If you want a proper response, please include the code segment that is going wrong, and config info from server.xml and

RE: more pool problems

2002-08-19 Thread Campano, Troy
Have you tried searching for org.hsql.jdbcDriver in server.xml? -Original Message- From: Felipe Schnack [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 11:28 AM To: [EMAIL PROTECTED] Subject: more pool problems I'm still trying to use tomcat4's connectionpooling mechanism.

RE: more pool problems

2002-08-19 Thread Felipe Schnack
It's not there, i checked. On Mon, 2002-08-19 at 12:32, Campano, Troy wrote: Have you tried searching for org.hsql.jdbcDriver in server.xml? -Original Message- From: Felipe Schnack [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 11:28 AM To: [EMAIL PROTECTED] Subject:

servlet-jdbc-SQL server

2002-08-19 Thread Matt Brennan
Just taking some stumbling first steps talking to SQL server from a servlet using the Microsoft JDBC driver. Servlet container is tomcat 4.0.4. Quick question if I may: I need to insert a row into an SQL Server table and have the servlet generate a page that includes an automatically generated

Re: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Luminous Heart
Hi Graig, Here is my jsp file. I am not sure what might be wrong. Although the same error happens in a bigger application in a tc cluster of 3 tomcats. Two of these tcs fail while one does not get any forwards after that. Please take a look at my code, if you do not mind. Best regards.

RE: servlet-jdbc-SQL server

2002-08-19 Thread Mike Jackson
With oracle there's a way to specify that a insert does a return, it's something like insert into tablea ( a ) values ( 'a' ) returning id. I know this isn't oracle that you're asking about, but you might try using that syntax on ms sql and see what happens. Or it might help to find it in their

RE: more pool problems

2002-08-19 Thread Campano, Troy
Well, if it's not there than it has to be called from somewhere else. Hsql is apache's Java database I think and usually if you are using examples from Apache's site, they can tend to you HSQL in the examples. Try looking in your page, any pages that your page calls, web.xml and server.xml.

RE: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Mike Jackson
You might want to close your database connection, or at least return it to the pool (I don't see you doing that, it ought to be after you close the prepared statement). --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Luminous Heart [mailto:[EMAIL PROTECTED]]

Webalizer tricks on Tomcat server?

2002-08-19 Thread Glenn Parsons
Hello All, I'm looking for tricks to get Webalizer version 1.3x to collect data from hits on a Tomcat server. I have tried numerous tweaks to no avail. Thanks, G -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Mike Jackson
Actually now that I think about it more that might be the cause of the null pointer (but probably not). In your poolman.xml file have you set the connection limit to be a hard limit? If you timeout on connections (user timeout) is fairly high you could run out of connections, and it might

RE: servlet-jdbc-SQL server

2002-08-19 Thread Sexton, George
As long as you run a second query to retrieve the @@IDENTITY value using the same connection handle, then you are guaranteed to receive the correct value. If you would like to verify that you are using the same connection handle, run the profiler application, and watch your app run. driver

RE: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Luminous Heart
Mike, Yes I am returning the connection to the pool after closing the ps. As you can see in the jsp code that I have attached earlier to Craig, I am closing the preparedstatement then returning the instance. Here again the snippet. % /table /body /html %} ps.close();

Capturing Standard Out in Windows

2002-08-19 Thread Cory Isaacson
I'm running Tomcat under Windows XP, and I want to redirect theTomcat standard out to a file. I tried editing catalina.bat using ' logfile.txt' to redirect it, but the java command doesn't seem to support this. Is there another way to do this? Thanks, Cory Cory Isaacson President CTO

RE: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Luminous Heart
I am sorry, but I did not get what you mean with connection limit to be a hard limit, which one is that? I am including a copy of my pool.xml if you care do point out what should be changed. Thank you in advance. Pool.xml = ?xml version=1.0

Re: servlet-jdbc-SQL server

2002-08-19 Thread Mark O'Driscoll
MySQL has a last_insert_id() function which you can use on a connection - Original Message - From: Mike Jackson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, August 19, 2002 4:38 PM Subject: RE: servlet-jdbc-SQL server With oracle there's a way to specify

RE: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Mike Jackson
Add the following and the limit will be a soft limit (it can go above as needed) maximumSofttrue/maximumSoft --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Luminous Heart [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 8:50 AM To: Tomcat Users

Re: get blank pages when using precompiled JSPs (jspc problem?)

2002-08-19 Thread Eric Gilbertson
Hello Again: I've traced my precompiled JSPs not responding problem down to the following statement returning null: _jspxFactory = JspFactory.getDefaultFactory(); Since this a boiler plate jsp statement that does work when the JSPs are dynamically compiled, it seems to me that

OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread Turner, John
Hello - I think there is a java-user list, or even a jdbc-interest list, but I'd rather not subscribe when all I need is one quick pointer, so I am hoping someone on this list can get me started. I'm having quite a bit of difficulty working with stored procedures in my classes and servlets.

mod_webapp error: java.io.IOException: Premature packet header end

2002-08-19 Thread Raúl Mateos
Hello! We configured Tomcat 4.0.4 with Apache 1.3.26 and compiled mod_webapp on Solaris 7. I worked, but when we use the module, on the error log of tomcat the next lines appears: 2002-08-19 17:44:32 [org.apache.catalina.connector.warp.WarpConnector] Connection from localhost/127.0.0.1:34987 to

RE: Webalizer tricks on Tomcat server?

2002-08-19 Thread Shapira, Yoav
Hi, Perhaps you could start by saying what doesn't work? Are you getting errors from webalizer? Would you like some additional information it can't get from tomcat's access logs? Have your tried modifying the access log valve's pattern, e.g. from common to combined or to whatever pattern you

Re: retrieving HttpSession in Filter? ServletResponse.setContentLength()?

2002-08-19 Thread tek1
hi charlies and craig. thanks for your replies. At 08:21 02/08/19 -0700, you wrote: If your filter is calling response.setContentLength() -- or any other header setting method, such as trying to add a cookie -- after the response has been committed, then this attempt to set the header will

RE: more pool problems

2002-08-19 Thread Felipe Schnack
Actually not. The hsql driver isn't anywhere in my config, but the postgresql driver isn't working too. On Mon, 2002-08-19 at 12:39, Campano, Troy wrote: Well, if it's not there than it has to be called from somewhere else. Hsql is apache's Java database I think and usually if you are using

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread Wagoner, Mark
When you say it returns a status, do you mean it is a function (I work primarily with Oracle, so if this does not apply to MS I apologize)? If so, you need to make the call something like: CallableStatement stmt = conn.prepareCall({call ? = proc(?,?, ... )}); -Original Message- From:

do we chat?

2002-08-19 Thread Vincent Stoessel
Hi, I was wondering if there is any unofficial irc channel for jakarta java stuff. I hung out in #java for a while but I get no love for jakarta based projects there. Where do the rebels hang out on irc? Thanks. -- Vincent Stoessel Linux Systems Developer vincent xaymaca.com smime.p7s

Re: Using Tomcat as a proxy?

2002-08-19 Thread ope
Why would you want to use a Java Servlet Container to do proxying? It's like using a Space Shuttle to do door-to-door delivery. If you need proxying, use Squid or Apache. The reason I have to do this is to make the best of a rather brain dead product deployment. This is not a long term

Tomcat 3.3 does not find jndi.properties

2002-08-19 Thread Olaf Jahn
Hi, my Tomcat 3.3a does not find the jndi.properties file regardless of where I put it inside the web application tree. That is, I tried the web app root as well as WEB-INF/lib and WEB-INF/classes. Only if I place it directly into jre/lib the file is found, which of course is not really an

Re: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread micael
You are getting a null pointer exception because one of your variables referencing an object has not been instantiated and has a null value. That is the answer to your question. At 08:14 AM 8/19/2002 -0700, you wrote: I keep on asking this question but noone helps. Is it a bug in TC? Why do

Can't get tomcat 4 + mod_jk + apache to work

2002-08-19 Thread Scott Adamson
I have been trying for the last week to get Apache + mod_jk + Tomcat 4 to work. I have confirmed that Tomcat works on 8080, confirmed that Apache is running. My configuration is as follows : OS - Redhat Linux 6.2 Java - JAVA_HOME=/usr/java/jdk1.3 Installed via RPM

RE: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread micael
If you have a debugger, all you have to do is to follow the bouncing ball and find the null reference. That will be the fastest way to find this problem. It should not take long. If you don't have a debugger, I will send you one I made to use, and I like better than the standard debuggers.

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread Turner, John
Right. My setup looks like this: cstmt = sConn.prepareCall({? = call sp_validate_pwd(?,?,?,?,?,?,?,?,?,?)}); Basically, there are 5 inputs (username, password, IP address, browser type, and referer) and I'm supposed to get a return status back (bad or good) and 5 outputs: 3 booleans and 2

Craig, PoolMan, latest version WAS the problem.

2002-08-19 Thread Luminous Heart
Ok. I reverted to an older version of PoolMan, where we use pool.prop instead of pool.xml. That version works fine. I have not hit the exception although I tested it for sometime. Does that mean am stuck to the older poolman? Is there a better solution to handle database pooling? Thank you.

RE: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Luminous Heart
Thank you Mike, I will test with this, although I tried to troubleshoot the problem by going back to an older version of poolman. It worked. Now I will try your solution, that might help. But would the softlimiting of the pool run my server out of sockets in case of heavy access? --- Mike

Realm Authentication Across Multiple Servers

2002-08-19 Thread Jacob Hookom
The application we are working on is laid out on the network like so (* means many): Apache2 jk2_mod Tomcat4 Web Site Servers* internal network mapping Tomcat4 File Servers* Basically the application acts much like sourceforge or another download site, but I would like to carry authentication

Design question

2002-08-19 Thread Raju Lokhande
Greetings everybody, I am doing some research on possibility of using Tomcat to do a project. General requirements as follows 1. A user will login to the web application and upload a file to a remote server. He or she can only access his or her WIN2K/NT domain to upload this file. 2. User will

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread Mike Jackson
I don't think there is one, it'd be really nice if there was however. There is some good documentation available from Sun, but it doesn't get into real examples (like what you're doing). --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Turner, John

RE: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Luminous Heart
It is always nice to have an extra debugger handy :) I am testing JTest but am not sure it is really what I need. I would appreciate your help if you can send me yours. Thank you in advance. --- micael [EMAIL PROTECTED] wrote: If you have a debugger, all you have to do is to follow the

two versions on tomcat on same machine

2002-08-19 Thread Ashish Kulkarni
Hi, Can i run 2 different versions of tomcat on same machine, if yes what are the things i need to check if they dont have to conflict when running Ashish __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To

Re: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Luminous Heart
Thank you Paul. I know we are NOT paid to help eachother, but hey, maybe someday I would be able to lend a hand. This is how a great software like Apache is putting a wide smile on all our faces. Regards. --- Paul McGovern [EMAIL PROTECTED] wrote: Sorry, but you haven't included enough

Re: AW: got javax.servlet.UnavailableException when setting unpackWar to false

2002-08-19 Thread Jacob Kjome
Hello Juri, Well, don't use File io in a servlet application unless you are reading/writing to a place guaranteed to be read/writable such as each context's temp dir made available by any server implementing the Servlet 2.3 spec. To read a config file in a servlet portable way, do the

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread Reynir Hübner
There are some docs/sample code at the oracle website (otn) that came in quite handy when I needed it. hope it helps - [EMAIL PROTECTED] -Original Message- From: Mike Jackson [mailto:[EMAIL PROTECTED]] Sent: 19. ágúst 2002 16:59 To: Tomcat Users List Subject: RE: OFF-TOPIC:

Re: Design question

2002-08-19 Thread Luminous Heart
Yes Raju, It should be doable. You can download TC latest and hack some code. If you want to use some readily availabe to help in the process, take a look at the Tag libs available on Jakarta. Also there are a few File Upload beans floating around the net, go to google and type JSP File Upload

RE: Craig, PoolMan, latest version WAS the problem.

2002-08-19 Thread Mike Jackson
Did you try using a soft limit? That combined with a larger scavenge count and a shorter time limit on the connections (not the user time limit) should allow you to scale decently. Also you really should check the connection to be sure that it's not a null connection prior to using it. That

CGIs

2002-08-19 Thread Roco Ninahuanca Flores
Hello, I have an aplication in CERN server, and I want to run CGIs in Tomcat, can i do this?, my cgis were generated by C. Can I do it?, I don't want to install Apache, I just want Tomcat. It's because i have a part of an aplication in CGIs and I want to have another part in JSPs, can I do it?.

RE: Design question

2002-08-19 Thread Jacob Hookom
I'm trying to accomplish the same thing-- How do you authenticate on Server A, then have that principal carry over to Servers B and C for download authorization? Thanks! -Jacob | -Original Message- | From: Luminous Heart [mailto:[EMAIL PROTECTED]] | Sent: Monday, August 19, 2002 12:06

RE: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Mike Jackson
It can, and then you'd have other problems. I use oracle here and even though I'm licensed for x connections the database hasn't yet failed to give me a connection at high load times. I've got my scavenge count fairly high with only a 2 minute timeout on the connections in the pool (user

pleeeese...

2002-08-19 Thread Felipe Schnack
Anyone here can help me with my connectionpool (tomcat4+pgsql) problem? I'm stuck! -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Faculdade Ritter dos Reis www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303328 -- To unsubscribe,

Re: Design question

2002-08-19 Thread Raju Lokhande
Can you send me URL or URLs for Tag libs in Jakarta, please? How did you do NT Domain authentication in your app? Raju Lokhande [EMAIL PROTECTED] 08/19/02 01:05PM Yes Raju, It should be doable. You can download TC latest and hack some code. If you want to use some readily availabe to help in

RE: Design question

2002-08-19 Thread Mike Jackson
An encrypted token is one way of doing it. We have a system where one system validates the user and then it redirects the user to another site passing an encrypted token (containing amoungst other things a timestamp to allow only a short window of opportunity for the token to be used) as a

Re: pleeeese...

2002-08-19 Thread Peter T. Abplanalp
On Mon, Aug 19, 2002 at 02:18:04PM -0300, Felipe Schnack wrote: Anyone here can help me with my connectionpool (tomcat4+pgsql) problem? I'm stuck! you're kidding, right? how is anyone supposed to help you based on the information you've given? what is the error you are getting? where are

RE: pleeeese...

2002-08-19 Thread Mike Jackson
What connection pool are you using? I know poolman to some extent... --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Felipe Schnack [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 10:18 AM To: [EMAIL PROTECTED] Subject: plse... Anyone

Re: pleeeese...

2002-08-19 Thread Felipe Schnack
Calm down man... actually I already posted my server.xml file here... But here is it again. I continue to get error org.hsql.jdbcDriver not found. On Mon, 2002-08-19 at 14:18, Peter T. Abplanalp wrote: On Mon, Aug 19, 2002 at 02:18:04PM -0300, Felipe Schnack wrote: Anyone here can

Re: Design question

2002-08-19 Thread Louis Voo
Can you tell me after validate how you redirect to another site? Louis - Original Message - From: Mike Jackson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, August 19, 2002 6:17 PM Subject: RE: Design question An encrypted token is one way of doing it. We

Re: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Carrie Salazar
hey, can i get a copy of the debugger? or do others have any debugger suggestions? tomcat error messages are pretty cryptic to me still, though for the simple JSP work i do i get around it most of the time. but perhaps a debugger will save me some hair pulling. -- carrie s. On Mon, Aug 19,

Re: Tomcat 4.0.4: Unnecessary $TOMCAT/temp/ directory?

2002-08-19 Thread Eddie Ruvinsky
Thanks for your feedback, Craig and Glenn. Craig, I think you're confusing $CATALINA_BASE/temp/ with $CATALINA_BASE/work/. StandardContext implements the temporary working directory for each context (per the servlet spec) in postWorkDirectory(). It creates a separate temp space per context

RE: Design question

2002-08-19 Thread Mike Jackson
The token is the validation. It's a way of passing around that the user has been validated. Consider it to be a relay race, there's a baton that you're passing around. If you have the baton than you're a valid runner in the race. A security token is like the baton, if your user can present the

RE: Design question

2002-08-19 Thread Reynir Hübner
Hi, For this problem I would say it would be best to use IIS and Tomcat combo Because IIS can authenticate users by using NTLM authentication scheme. This means that users with in your domain can be automatically authenticated (by using Windows Intergrated Authenticaton in IIS).

RE: pleeeese...

2002-08-19 Thread Turner, John
Just curious...which DBCP did you install? The release version or the nightly? John Turner -Original Message- From: Felipe Schnack [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 1:25 PM To: Tomcat Users List Subject: Re: plse... Calm down man... actually I already

  1   2   >