web-inf/classes and eclipse

2002-08-19 Thread Laurent Michenaud
Hi, I use the editor Eclipse but when i launch "Rebuild all", it deletes all the content of the WEB-INF/classes directory. Inside, there is all my *.properties file. The idea is to create a WEB-INF/config where i could put the properties files but i don't know how to add this directory into th

Re: Managing a large web.xml

2002-08-19 Thread Bill Barker
The obvious answer is to use internal entities (Note: some versions of Tomcat don't handle these gracefully, but I believe [but I don't use], that 4.0.4 and 4.1.x do). The idea is to setup in web.xml: http://java.sun.com/dtd/web-app_2_3.dtd"; [ ] > .. §ion1; . §ion2; . "Milo Hyso

Re: Can't get tomcat4 + mod_jk + apache to work

2002-08-19 Thread Milt Epstein
On Tue, 20 Aug 2002, Scott Adamson wrote: > 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. > [ ... ] > Added the following to httpd.conf (see attached) > Include /usr/l

Re: Tomcat 4.1 b9, Reload Context with Ant

2002-08-19 Thread Cameron Taggart
I moved the that was in server.xml into a file named C:\Projects\myapp\build\WEB-INF\contextConfigFile.xml. With the cotext tag I set path="/myapp" and docBase="C:\Projects\myapp\build", but this doesn't work for me: http://localhost:8080/manager/install?war=file://C:\Projects\myapp\build\WEB -

Re: Tomcat 4.1 b9, Reload Context with Ant

2002-08-19 Thread Cameron Taggart
I moved the that was in server.xml into a file named C:\Projects\myapp\build\WEB-INF\contextConfigFile.xml. With the cotext tag I set path="/myapp" and docBase="C:\Projects\myapp\build", but this doesn't work for me: http://localhost:8080/manager/install?war=file://C:\Projects\myapp\build\WEB -

Re: Tomcat 4.1 b9, Reload Context with Ant

2002-08-19 Thread Cameron Taggart
I moved the that was in server.xml into a file named C:\Projects\myapp\build\WEB-INF\contextConfigFile.xml. With the cotext tag I set path="/myapp" and docBase="C:\Projects\myapp\build", but this doesn't work for me: http://localhost:8080/manager/install?war=file://C:\Projects\myapp\build\WEB -

Can't get tomcat4 + 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 Tom

Re: How to change the package definition from org.apache.jsp tosomething else ?

2002-08-19 Thread Craig R. McClanahan
On Tue, 20 Aug 2002, Navdeep Singh wrote: > Date: Tue, 20 Aug 2002 00:50:49 -0400 > From: Navdeep Singh <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: How to change the package definition from org.apache.jsp to > something else ? > >

RE: authentication

2002-08-19 Thread Andrew Conrad
A JAASRealm allows you to take advantage of JAAS. I'm not sure if anyone has it working with NT yet. - Andrew > -Original Message- > From: Herbert Chau [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 19, 2002 11:10 PM > To: Tomcat Users List > Subject: authentication > > > Dear al

Help plzz

2002-08-19 Thread raghav
Hi All, I have downloaded Jakarta-tomcat 4.0.2 and am using Win XP OS. I have st up JAVA_HOME variable and Catalina-Home variable and tried to run the server. But the error displayed is, "Windows cannot find '-Djava.endorsed.dirs='. Make sure you typed the name correctly and then try again. "

How to change the package definition from org.apache.jsp to something else ?

2002-08-19 Thread Navdeep Singh
Hi, I have noticed that the default package structure in my servlet source files (compiled from JSPs) is org.apache.jsp. But the .java and .class files are generated in /work/localhost/_/ directory. How can i 1. Force my compiled .java and .class file to go in /work/org/apache/jsp ? or 2.

Re: Help(mod_jk2.dll)

2002-08-19 Thread Niket Anand
RE: HelpHello Rory, I hope you can help me out of this. i am also working for this on Win2k pro . If you can send me mod_jk2.dll for Apache2.0.4 and also other modification made in Tomcat side(JBoss-2.4.6_Tomcat-4.0.3), it would be great help for me. Pls send .dll as attachment and other procedu

authentication

2002-08-19 Thread Herbert Chau
Dear all, Is that away in tomcat that I can authenticate people against the NT domain without using Apache? Best regards, Herbert Chau Analyst SAS Institute Ltd [EMAIL PROTECTED] TEL: 852-2105-3512 FAX: 852-2568-7218 www.sas.com/hongkong SAS... The Power to Know The information contained

mod_jk and tomcat 3.3

2002-08-19 Thread Wong, Benjamin
Hi, I am configuring Apache 2.0.4 and Tomcat 3.3 using mod_jk. I followed the "Working with mod_jk" instructions, copied the mod_jk.dll to the Apache modules directory, generated the mod_jk.conf file using tomcat, and included the directive Include c:/tomcat/conf/auto/mod_jk.conf in the apache

Re: Tomcat 4.1 b9, Reload Context with Ant

2002-08-19 Thread Jacob Kjome
What you need to use is a context configuration file. That is, a file with the root element being . Put all your resources within this that are needed by the webapp and then use the following: The contextConfigFile.xml contains a entry with the path and docRoot for the app. Just a no

Re: Module mod_jk

2002-08-19 Thread Milt Epstein
On Mon, 19 Aug 2002, Alvaro Mota wrote: > Hi > > i get errors when add module mod_jk in apache 1.3.6. > > when i execute ./apachectl configtest > Syntax error on line 318 of /usr/local/apache/conf/httpd.conf: > Invalid command 'JkMount', perhaps mis-spelled or defined by a module > not included i

Tomcat 4.1 b9, Reload Context with Ant

2002-08-19 Thread Cameron Taggart
Hi All, I am trying to configure Tomcat and Ant so that I can type "ant reload" and the web application that I am running will be redeployed without restarting Tomcat. This would really speed up development for me. The first issue is that I have the context set up with a couple of resources in

Module mod_jk

2002-08-19 Thread Alvaro Mota
Hi i get errors when add module mod_jk in apache 1.3.6. when i execute ./apachectl configtest Syntax error on line 318 of /usr/local/apache/conf/httpd.conf: Invalid command 'JkMount', perhaps mis-spelled or defined by a module not included in the server configuration I realized how this articl

RE: tomcat/unix security manager questions

2002-08-19 Thread Tom Parker
On Tue, 2002-08-20 at 03:13, Rossen Raykov wrote: > Unix permissions do take precedence over java security policy. With a logical AND. If unix permissions say you do have write access, but the java security policy says you do not, then you do not have write access, and vice versa. This, of cours

config Tomcat as a service under Windows XP

2002-08-19 Thread CyAndrew
Hi, could anybody tell me how to set up XP service for Tomcat. I have downloaded and install: jakarta-tomcat-4.0.4.exe and set up variables. All works perfectly if I run "startup.bat", but if I try to start service through control panel, no JSP works (other servlets works). Probably there is s

connectionpool

2002-08-19 Thread Felipe Schnack
Amazing! I could make connection pool work, like in this example: http://marc.theaimsgroup.com/?l=tomcat-user&m=102225547106556&w=2 But I don't know, it doesn't really seem to be a pool to me, seems like a connection factory. I shouldn't be using PoolableConnectionFactory or something like

RE: ?? Tomcat and System.out ??

2002-08-19 Thread Mike Jackson
That's not 100% true, the older drivers don't do any kind of pooling. Newer JDBC drivers (2.0+) do usually provide pooling, but I don't know if it's a requirement in the JDBC spec or an optional JDBC thing to implement. But even still I've found that Oracle's JDBC pooling caused me some problem

Re: Debugger for LUMINOUS ????

2002-08-19 Thread Luminous Heart
Thank you micael, I will give it a shot. :) --- micael <[EMAIL PROTECTED]> wrote: > Here you go. I just dumped the package in here. > You use it as follows: > > new > Debugger().add(blah1).add(blah2).add(blah3).log("Test > 1", true); > > where blah1, blah2, etc. are variables you want to > te

Re: ?? Tomcat and System.out ??

2002-08-19 Thread Tony LaPaso
YEP! Thanks! - Original Message - From: "Ekkehard Gentz" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, August 19, 2002 4:53 PM Subject: RE: ?? Tomcat and System.out ?? > hi tony, > look into your tomcat/logs folder > there you'll find your system.out

mySql - Connector/J - connection pooling?

2002-08-19 Thread neal
I recently read that Java presumes the JDBC drivers will provide connection pooling, and thus java and most app servers do not provide this functionality. Does anyone know off hand if the mySQL drivers (Connector/J in particular) provide connection pooling?If not, what do most people do? Roll th

Re: Managing a large web.xml

2002-08-19 Thread Will Hartung
From: "Milo Hyson" <[EMAIL PROTECTED]> Sent: Monday, August 19, 2002 2:36 PM > Is there any way to break up a large web.xml file into smaller ones to make it > more manageable? I've found that it doesn't take that big of a project before > I have so many servlets and mappings as to make the depl

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread rsequeira
Is "my_parameter" a variable or is that like a placeholder in the email for "pwdvalid", etc? I enabled debug logging on the driver, and I get messages that say "parameter my_parameter not registers as output" or "not registered as input", even when they are, and regardless of ... Your code loo

RE: ?? Tomcat and System.out ??

2002-08-19 Thread neal
I recently read that Java presumes the JDBC drivers will provide connection pooling, and thus java and most app servers do not provide this functionality. Does anyone know off hand if the mySQL driver(s) provide connection pooling? If not, what do most people do? Roll their own? use a framework

RE: java-compiler for Mac?

2002-08-19 Thread Ekkehard Gentz
if you're using OS9 then its difficult because only old 1.1.8 will work (bad) but if you change to macOSX then JDK 1.3.1 is included into the system and will work well you'll find more infos on apples webpages Ekkehard > -Original Message- > From: Gunter D'Hondt [mailto:[EMAIL PROTECTED

RE: ?? Tomcat and System.out ??

2002-08-19 Thread Ekkehard Gentz
hi tony, look into your tomcat/logs folder there you'll find your system.out you can configure this in the server.xml look at.. -Original Message- > From: Tony LaPaso [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 19, 2002 10:07 PM > To: Tomcat User > Subject: ?? Tomcat and System.out

Managing a large web.xml

2002-08-19 Thread Milo Hyson
Is there any way to break up a large web.xml file into smaller ones to make it more manageable? I've found that it doesn't take that big of a project before I have so many servlets and mappings as to make the deployment descriptor file quite long. I've read through the Servlet spec (2.3) and po

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread Reynir Hübner
Hi, I would first like to say, your code looks ok. I dont think it matters in what order you set the parameters. Are you calling a procedure or a function, I've had some problems with functions, in my experince a function must have a OutParameter in the no. 1 param. which errors do you get ?

Debugger for LUMINOUS ????

2002-08-19 Thread micael
Here you go. I just dumped the package in here. You use it as follows: new Debugger().add(blah1).add(blah2).add(blah3).log("Test 1", true); where blah1, blah2, etc. are variables you want to test. The debugger is overloaded for all data types. The "Test 1" gives you a reference in the log

Re: Arabic content

2002-08-19 Thread anthony.dodd
We've done some work in this area. We generate xhtml output using xslt's in conjuntion with an xml datasource. We store the arabic in the database. Originally we held an NCR encoded form of the arabic text, we now hold the arab text in a unicode format in a database. We've written some JSP tags

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread micael
I don't have it here at the moment, but I think the WROK book "Java DATA" does a good job on this. I will check tonight. It's on my boat. At 09:59 AM 8/19/2002 -0700, you wrote: >I don't think there is one, it'd be really nice if there was however. There >is some good documentation available

RE: Trouble de-serializing objects when running 4.0.4 as NT servi ce

2002-08-19 Thread David Makepeace
Thanks, It appears that the problem only occurs when I get my database connection from a JNDI datasource as described in server.xml. I am going to try using Jakarta DBCP for my connection pooling instead. The class that was not being found was in the same package as the class that was calling i

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

2002-08-19 Thread micael
Here you go, as per request. You will have to fiddle a bit to get what is going on, but not much. The methods return the object so you can debug as follows: new Debugger().add(blah1).add(blah2).add(blah3).log("Testing the Back Forty", true); which will do what is specified. Set up the paths

Re: Apache 1.3.20 + Tomcat + (mod_jk or mod_webapp) for SuSE 7.3 Linux?

2002-08-19 Thread Chetan Sarva
> Hi John, > > Thanks for the quick reply. That indeed was the problem. The apxs being used > was an older version (left from an earlier install). I have successfully > rebuilt mod_jk and Apache now loads properly however it is still not working > properly. I am able to view webapps/examples/ dire

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread Jim Urban
What error are you receiving? Can you post a stack trace and a code clip with line numbers so we can see what is failing? Jim Urban - [EMAIL PROTECTED] Park City Solutions Inc. Clinical Connectivity Suite Product Manager Suite 295 500 Park Blvd. Itasca, IL 60143 Voice: (630) 250-3045 x106 Fax

Re: Apache 1.3.20 + Tomcat + (mod_jk or mod_webapp) for SuSE 7.3 Linux?

2002-08-19 Thread Chetan Sarva
Hi John, Thanks for the quick reply. That indeed was the problem. The apxs being used was an older version (left from an earlier install). I have successfully rebuilt mod_jk and Apache now loads properly however it is still not working properly. I am able to view webapps/examples/ directly from T

Re: Arabic content

2002-08-19 Thread Andre E. Bar'yudin
Laurent Féral-Pierssens wrote: > > Hi, > > We have been realizing web applications for the last 2 years using > Tomcat. Last week, one of our clients asked us if we could provide a > multilingual application that would contain English, French and Arabic > content. > > My questions are vague for

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

2002-08-19 Thread Andrew Conrad
Instead of using poolman, you could use dbcp. It's the default connection pool for TC 4.1.x http://jakarta.apache.org/commons/dbcp.html - Andrew > -Original Message- > From: Luminous Heart [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 19, 2002 12:54 PM > To: Tomcat Users List > Su

RE: Apache 1.3.20 + Tomcat + (mod_jk or mod_webapp) for SuSE 7.3 Linux?

2002-08-19 Thread Turner, John
Both of your error messages are "undefined symbol", one of which is on mod_rewrite, which leads me to believe there's something going on with your apache, even the binary. Libraries, perhaps? Is the apxs in your build the one under /usr/local/apache/bin, or is it the one under /usr/sbin (you wa

Re: Apache 1.3.20 + Tomcat + (mod_jk or mod_webapp) for SuSE 7.3 Linux?

2002-08-19 Thread Chetan Sarva
Hi, I've followed John's instructions (see link at bottom) to the letter. Successfully built Apache, installed Tomcat and built mod_jk.so. When I try to start Apache I get the following error: # ./apachectl start Syntax error on line 223 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/loc

?? Tomcat and System.out ??

2002-08-19 Thread Tony LaPaso
Hello all, I'm using TC 4.1.9 on Win 2k. I know in the past (earlier versions of TC) I could send output to System.out and/or System.err and it would show up in the console window where TC was running. It seems this output is either being ignored now or perhaps being buffered. Is there a way (i

RE: Using Tomcat as a proxy?

2002-08-19 Thread ope
> Open a URLConnection to the real page, read the data > and write it to your > output stream. This can be done in a servlet or a > filter. Thanks. I have been giving it a try and it is not as much work as I thought it would be. I don't know why I was trying so hard to find a way around but I t

Re: Tomcat/Cocoon space errors

2002-08-19 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Aug 19, 2002 at 03:50:26PM -0400, Julie Jordan wrote: > df -kl returns the following: > filesystem kbytes used avail > capacity mounted on > /dev/root 2097152 2097152 0

RE: Arabic content

2002-08-19 Thread Sexton, George
I have done Hebrew before, and it's pretty much the same problem. The major issue is that you have content that is Right to left, and content that is left to right. Since it is a single-byte language, you don't have to use Unicode, you just have to set the code-page to the right value. RTL suppo

Re: Tomcat/Cocoon space errors

2002-08-19 Thread Julie Jordan
df -kl returns the following: filesystem kbytes used avail capacity mounted on /dev/root 2097152 2097152 0100% / /dev/stand 20480 5741 1473929% /stand /proc

Re: Tomcat/Cocoon space errors

2002-08-19 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Aug 19, 2002 at 03:36:42PM -0400, Julie Jordan wrote: > Hi all, > > I am new to Apache/Tomcat and finally got it all loaded and working. When I > get into the Cocoon pages I start throwing errors as follows. Not sure what > configurations I n

Tomcat/Cocoon space errors

2002-08-19 Thread Julie Jordan
Hi all, I am new to Apache/Tomcat and finally got it all loaded and working. When I get into the Cocoon pages I start throwing errors as follows. Not sure what configurations I need to change. Not sure why it isn't compiling the sitmap?? Am running on Unix: Apache 1.3.9, JSDK2.0, mod_jk, Tomcat

Arabic content

2002-08-19 Thread Laurent Féral-Pierssens
Hi, We have been realizing web applications for the last 2 years using Tomcat. Last week, one of our clients asked us if we could provide a multilingual application that would contain English, French and Arabic content. My questions are vague for now. Did anyone actually produced an applicatio

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

2002-08-19 Thread Jacob Kjome
CRM> There was an example filter that did post-processing XSLT transformations CRM> on Java Developer Connection (at java.sun.com) a while back, which CRM> illustrated exactly this kind of processing. In fact, the original CRM> version of the code in the article had exactly this sort of bug, and

Re: Dumb question

2002-08-19 Thread Jacob Kjome
Hello Kemp, Note that if a .war file exists *and* a directory with the name of the .war file minus the .war exists, the .war will not be re-expanded upon future restarts. This means that Tomcat will serve stuff out of the directory, if it exists. So, you don't need to re-create the .war file un

RE: Using Tomcat as a proxy?

2002-08-19 Thread Cox, Charlie
> -Original Message- > From: ope [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 19, 2002 12:38 PM > To: Tomcat Users List > Subject: Re: Using Tomcat as a proxy? > > > > > Why would you want to use a Java Servlet Container > > to do proxying? It's like > > using a Space Shuttle to

Dumb question

2002-08-19 Thread Kemp Randy-W18971
Please forgive this dumb question - but I just don't get it. I prepare a war file in Tomcat and execute it OK. The war file consists of a few JSP and HTML pages. If I wish to just change one JSP or HTML page, do I: 1. Recreate the war file 2. Just move the files into the expanded directory th

RE: Trouble de-serializing objects when running 4.0.4 as NT service

2002-08-19 Thread Cox, Charlie
tomcat 4.x does not use the classpath unless you have modified catalina.bat to do so. It's unusual that the class is found when run by .bat, but not as a service. you're not using a network drive that's not mapped when run as a service? does user 'System' have access to the class(or jar) files?

RE: Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via mod_jk.dll on Win2k

2002-08-19 Thread Turner, John
No problem, glad to help. John -Original Message- From: Matt Partain [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 2:20 PM To: Tomcat Users List Subject: RE: Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via mod_jk.dll on Win2k You were absolutely right- all I did was

Re: Trouble de-serializing objects when running 4.0.4 as NT service

2002-08-19 Thread ope
My first guess would be that you have some settings in your environment that are not present in the system. Possibly the CLASSPATH. Check your Tomcat services settings to see which user you are starting as and make sure that the user has the same environment that you do. --- David Makepeace <[E

virtual hosting for muliple applications

2002-08-19 Thread Alon Lutzker
Hi All, I'm a bit new to the whole tomcat/apache/mod_jk thing, so I was looking for some advice on virtual hosting. I would like to run tomcat with 2-3 different applications, with 2-5 loadballanced tomcat instances for each application. from "RTFMing", I have seen that the way to do this wou

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread Turner, John
Thanks! I've set up my code as you've described, but no luck. For example, here is the relevant portion of the stored procedure declaring the parameters (forgive me, I don't work with stored procedures that often, so this may not be the right portion of the procedure to focus on): @use

RE: Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via mod_jk.dll on Win2k

2002-08-19 Thread Matt Partain
You were absolutely right- all I did was move the whole Tomcat installation to c:\tc33a and change the httpd.conf include (leaving off the quotes this time), mod_jk.conf, and worker.processes to match the new directory. Started Tomcat and then started Apache just fine! Thank you so much for your

Re: Trouble de-serializing objects when running 4.0.4 as NT service

2002-08-19 Thread David Makepeace
Hi , So no one has any ideas for me on this? It's really bizzare. --- David Makepeace <[EMAIL PROTECTED]> wrote: > Hi, I'm having trouble deserializing an object > (stored > in a relational db) when running Tomcat 4.0.4 as an > NT > Service. I have no problems when running from the > startup.bat.

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread rsequeira
It's been sometime since I used JDBC and SQL Server. But here are a few points to note: 1) Your first "?" is the return status. It should be registered as an OUT parameter. 2) Remember to use the right JDBC type when registering the OUT parameters. This is of utmost importance. 3) All ouput param

Tomcat 3.2.x version differences

2002-08-19 Thread Michael finney
Hello. At http://jakarta.apache.org/tomcat/index.html, I was looking at the following: "The 3.2.1 release, like 3.1.1, was a security patch. Version 3.2.2 fixed a large number of bugs and all known specification compliance issues. Version 3.2.3 was a security update that closes a serious securi

RE: Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via mod_jk.dll on Win2k

2002-08-19 Thread Turner, John
One thing I would change right off the bat is using spaces in the pathname, double quotes or not. Yes, the Apache installer puts things there, but the Apache installer doesn't know that you are going to be using mod_jk and tomcat. I've had fewer problems ever since I moved things to places like

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

2002-08-19 Thread Sullivan, Mark E
what do your JkMount statements look like in the /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf file? > -Original Message- > From: Scott Adamson [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 19, 2002 10:57 AM > To: Tomcat Users List > Subject: Can't get tomcat 4 + mod_jk + apac

RE: Design question

2002-08-19 Thread Reynir Hübner
I think, if you want to have a real domain authentication (automatically authenticating users) you will have to use NTLM. Btw, one thing I forgot to mention before, NTLM is I think only supported in Internet Explorer (verisons 5.0 + ). But in my earlyer respond to this matter, the problem is

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread Wagoner, Mark
I don't know if it is possible in your case, but have you tried changing the parameter types within the stored procedure to something simple, like all strings? I always just try to get SOMETHING to work, then go from there. ;o) I think I recall Oracle having problems with booleans a while back s

Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via mod_jk.dll on Win2k

2002-08-19 Thread Matt Partain
Per all the instructions I could find, I brought down the Apache and Tomcat services. I have ensured that TOMCAT_HOME and JAVA_HOME (JDK 1.3) are both defined on my system and put the dll in Apache's "modules" folder, per the instructions. Added the following line to httpd.conf: Include "C:/Pro

RE: Design question

2002-08-19 Thread Mike Jackson
What I've found is that it's best to have a one time use token. It makes it pretty hard to hack since I save the token (and check for reuse). But that means you have some additional overhead on the "main" system 'cause you'll need to generate a new token for each request that's serviced by the o

RE: pleeeese...

2002-08-19 Thread Turner, John
It most certainly is...as I posted in reply to you earlier this morning. I just checked the tomcat 4.0.4 binary tar file, and there is no DBCP jar file in it. Tyrex is in there, but as far as I know it's not usable. To repeat: Documentation for Jakarta DBCP (including the links for downloadi

RE: Tomcat 3.3 does not find jndi.properties

2002-08-19 Thread Larry Isaacs
If possible, give Tomcat 3.3.2-dev from: a try to see if the fix for Bugzilla #7654 corrects this problem. See: Cheers, Larry > -Original Message- > From: Olaf Jah

RE: Design question

2002-08-19 Thread Durham David Cntr 805CSS/SCBE
Another option might be to use LDAP to query a windows active directory, if you're using that. This would provide a way for you to deal with a users permissions within your app. I haven't done this, and don't ever want to, but I think it's doable. -Dave > -Original Message- > From: R

RE: pleeeese...

2002-08-19 Thread Felipe Schnack
I'm using Tomcat 4.0.4... DBCP isn't a separate download, is it?? On Mon, 2002-08-19 at 14:43, Turner, John wrote: > > Just curious...which DBCP did you install? The release version or the > nightly? > > John Turner > > > -Original Message- > From: Felipe Schnack [mailto:[EMAIL P

RE: Design question

2002-08-19 Thread Jacob Hookom
That's exactly what I was thinking, for every page request, set a really simple 'digested' token of the user's id and the id of the resource the link allows. The receiving servlet on another server peels apart the token based on the hour time span the token was valid. But cool, other people are

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 po

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). There

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 th

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 with

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, 2002

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

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: 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... > > > 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: 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 para

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 hel

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, e

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 timeout

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 P

CGIs

2002-08-19 Thread Rocío 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: 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 sho

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 Bea

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: 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 following:

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 in

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 unsubs

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 bou

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 [mailto:[EM

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

  1   2   >