Re: JSP Parser

2003-08-01 Thread Bill Barker
Jasper doesn't depend on Tomcat internals. It can be used on it's own, or even as the JSP Parser for another Servlet-Container. "Tim Lee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I'm interested in finding just a jsp parser and not an entire applicaiton > server. I

Re[2]: Servlets & JSPs log to different files

2003-08-01 Thread Kenneth Brooks
I currently do the following. See the 3 or 4 sections of code below. I have a servlet that is loaded at the time tomcat starts. Pay no attention to the crap coding in this file, but you get the idea BEGIN EimplementLogger.java /// package whateverpackage.l

RE: Servlets & JSPs log to different files

2003-08-01 Thread Adrian Beech
G'day, Can anyone expand on this further and explain how to use a Log4j logger reference in beans that do not have a notion of what the underlying servlet context is? The only way I can see how to get this to work is to pass the logger reference as an argument in the bean's constructor. My que

RE: Jasper, JSPC, Ant and Precompiling JSP's

2003-08-01 Thread Steph Richardson
That is EXACTLY what I am trying to do today. I've tooled around in the ant code, and it seems this is more of a jasper issue than an ant one, because ant passes a long list of files to jasper, with the unwanted pathnames that end up as part of your package name. I'm pretty sure if you used som

Tomcat5: running embedded with JMX

2003-08-01 Thread Jeremy Crosbie
Hello, all. I am attempting to run the embedded distribution of Tomcat 5.0.5 on Linux using J2SDK 1.4.2 and running into problems. After tweaking the tomcat.webapps property to point to the right place and copying the management application over I am seeing the following stack trace: [jmx-service]

Jasper, JSPC, Ant and Precompiling JSP's

2003-08-01 Thread Mark R. Diggory
Hello, I've done my best to review the archives to resolve my problem, but I've not found a solution there so I'm posting it. I'm stuck back on Tomcat 4.1.24 (LE) and I'm encountering some issues with JSP Precompilation using Ant and JSPC. First let me outline my problem. Most messages I've re

Re: Tomcat and LDAP Issues

2003-08-01 Thread Jon Wynacht
Thanks Jeff, I saw that you posted it thereshall I look to the list for an answer or troll both? Thanks, Jon On Friday, August 1, 2003, at 01:21 PM, Jeff Tulley wrote: Oh, I was a little harsh on the method, I was missing one try catch block that would be in effect when the authenticate m

Re: Tomcat and LDAP Issues

2003-08-01 Thread Jeff Tulley
Oh, I was a little harsh on the method, I was missing one try catch block that would be in effect when the authenticate method is retried. So, the comments are accurate, but you are still right that "Socket closed" shouldn't be the only type of close failure dealt with. Jeff Tulley ([EMAIL PROTE

Re: Tomcat and LDAP Issues

2003-08-01 Thread Jeff Tulley
This is something to move over to the tomcat-dev list, I think. This code seems to have more than one thing wrong with it, and different behavior than what is promised in the comments (and than what it had in 4.1.18). Jeff Tulley ([EMAIL PROTECTED]) (801)861-5322 Novell, Inc., The Leading Provid

Re: FORM Login Bypassed

2003-08-01 Thread Tim Funk
In your cases there is nothing preventing you from programmatic security. I look at security the same way some db verndors do. I might not have access to any table, but I might be granted access to a table or view which may access those tables I am not allowed to directly see. In the case of a

RE: Overriding server.xml

2003-08-01 Thread Shapira, Yoav
Howdy, >Thanks Yoav. With that being said, is there anything I need to do in my >web.xml file to tell it to use context.xml instead of the server >? No, tomcat reads that as if it were in server.xml. The in-memory representation is identical. >And also, is this information in the online tomca

Re: Tomcat and LDAP Issues

2003-08-01 Thread Jon Wynacht
Well, I understand this is now a bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19864 Was this fixed in the 4.1.27 version? Can't seem to determine if it was based on the README in the download. Jon On Friday, August 1, 2003, at 12:07 PM, Jon Wynacht wrote: Hi, I have Tomcat 4.1.24

RE: JDBCRealm

2003-08-01 Thread Gregg Bolinger
I would if the damn thing wasn't so busy. All I get are 503's! We need to hurry up and get that hardware upgraded. :) Gregg -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 2:20 PM To: 'Tomcat Users List' Subject: RE: JDBCRealm *bash*

RE: Overriding server.xml

2003-08-01 Thread Gregg Bolinger
Thanks Yoav. With that being said, is there anything I need to do in my web.xml file to tell it to use context.xml instead of the server ? And also, is this information in the online tomcat docs anywhere? Cause I can't find it. Gregg -Original Message- From: Shapira, Yoav [mailto:[EMA

RE: JDBCRealm

2003-08-01 Thread Mike Curwen
*bash* ;) Gonna go back to the 'ranch now Gregg ? hehe. > -Original Message- > From: Gregg Bolinger [mailto:[EMAIL PROTECTED] > Sent: Friday, August 01, 2003 2:08 PM > To: 'Tomcat Users List' > Subject: RE: JDBCRealm > > > Ok, I figured out my STUPID problem. I was giving the wrong

RE: Overriding server.xml

2003-08-01 Thread Shapira, Yoav
Howdy, Depends on the version of tomcat they run and on what elements you wish to override. Some, e.g. anything not under , you can't override. You can include a context.xml with your war file to specify anything that would normally go inside the block of server.xml for your context. Yoav Shap

Overriding server.xml

2003-08-01 Thread Gregg Bolinger
I am going to be deploying my web app at cgiserver.com. When I do so, I don't believe I have access to the server.xml file. So what file do I need to include with my web app that will override default elements in the server.xml file? Thanks. Gregg

RE: Problems with Tomcat in a high load environment

2003-08-01 Thread Mike Curwen
FYI, we're running 4.1.24 and our server is NOT busy, and we still get quite a lot of this chatter in the logs. Our catalina.out log currently has about 60k lines, 15k of which are 'connection timeout reached'. Other lines (all together, maybe 500 of these): INFO common.ChannelSocket - server ha

RE: JDBCRealm

2003-08-01 Thread Gregg Bolinger
Ok, I figured out my STUPID problem. I was giving the wrong table name to the REALM element for my user_roles table. Please, everyone bash me on the head. I deserve it. LOL Thanks for the help anyway. Gregg -Original Message- From: Gregg Bolinger [mailto:[EMAIL PROTECTED] Sent: Frid

Tomcat and LDAP Issues

2003-08-01 Thread Jon Wynacht
Hi, I have Tomcat 4.1.24 installed on a server that hosts a web application. I have set up the container to do authentication via LDAP and it works for a bit then just stops working. The only way to get things working again is to restart Tomcat. I've included the error message below and am

RE: JDBCRealm

2003-08-01 Thread Gregg Bolinger
Actually, I do have a roles table with a column named Role and I have my roles listed there. Is there anywhere in the realm config I need to specify this table. Because in the docs it only specifies the user table and the user roles table both of wich have 2 columns in each. Thanks. -Origin

[ERR] RE: (Symbolic) Links in Windows

2003-08-01 Thread postmaster
Transmit Report: To: [EMAIL PROTECTED], 402 Local User Inbox Full ([EMAIL PROTECTED]) --- Begin Message --- Hi, the example I sent you originally came from 4.0.1... Make sure you use forward separators, do not run tomcat as a service and have no spaces in the pathname, maybe that helps. greetz H

RE: JDBCRealm

2003-08-01 Thread Stuart MacPherson
You don't have a 'roles' table in your database. 'User_roles' is a link entity between 'user' and 'roles'... In this tables you should specify all possible roles. Check the unofficial FAQ, or the apache site. -Original Message- From: Gregg Bolinger [mailto:[EMAIL PROTECTED] Sent: 01

Re: What is that maximum file size tomcat can serve?

2003-08-01 Thread Tim Funk
Can you post the stack trace, versions used, and your config? Standalone vs jk ... I tried tomcat5 with its standalone http connector with a 2,349,092,191 byte file and all was ok for me. -Tim Lee Peik Feng wrote: Hi, I have some mpeg file larger than 2GB and tomcat fail to serve these fil

RE: FORM Login Bypassed

2003-08-01 Thread Mike Curwen
comments inline. > -Original Message- > From: Tim Funk [mailto:[EMAIL PROTECTED] > Sent: Friday, August 01, 2003 1:32 PM > To: Tomcat Users List > Subject: Re: FORM Login Bypassed > > > Security constraints are imposed on the incoming *client* > request and does > not apply for forwar

RE: JDBCRealm

2003-08-01 Thread Gregg Bolinger
FYI - I removed the REALM entry for the Database user lookup and used the tomcat-users.xml file and it works fine. It only fails when I have the REALM entry. But I still don't know why it is not working right. Gregg -Original Message- From: Gregg Bolinger [mailto:[EMAIL PROTECTED] Sent

RE: Problems with Tomcat in a high load environment

2003-08-01 Thread Shapira, Yoav
Howdy, >01-Aug-2003 17:48:01 org.apache.jk.common.ChannelSocket processConnection >INFO: Server has been restarted or reset this connection This were mostly fixed in 4.1.24. Try moving to it (or better yet, 4.1.27), as there are several potentially relevant fixes from 4.1.18. Yoav Shapira T

RE: How does RMI operation differ when inside Tomcat as opposed to ou tside?

2003-08-01 Thread Jeff Lowery
Is an application launched via Webstart affected by the java policies? Since webstart applications have to be in signed jars, I tried setting up a policy for software with that particular signature. Yet still no luck. - To unsu

Tomcat 1.4.24/Apache 1.3.26 integration with mod_jk2

2003-08-01 Thread Skyler . Bingham
I am having a hard time integrating tomcat 1.4.24 with apache 1.3.26 using the mod_jk2 connector. Everything appears to be configured correctly and I can access tomcat examples via the stand-alone service but I get the following error (it's actually a notice) in apache's error_log when trying to a

Re: FORM Login Bypassed

2003-08-01 Thread Tim Funk
Security constraints are imposed on the incoming *client* request and does not apply for forwards and includes. This is true for 2.3 and 2.4 is stated in "SRV.12.2 Declarative Security" === "The security model does not apply when a servlet uses the RequestDispatcher to invoke a static resource o

RE: Problems with Tomcat in a high load environment

2003-08-01 Thread pete . storey
I do agree and whilst our dev environments are pretty close to the live ones, I dont have a particularly useful set of use cases which I can test with (well I do but they dont cause the problem to occur on our dev systems!). Thus the only meaningful profiling would have to be done on the live

RE: FORM Login Bypassed

2003-08-01 Thread Mike Curwen
the sendRedirect() method is on the response object. Another method of interest will be the encodeRedirectURL() so that non-cookie users can still use your site. Something like: resource = "somepage/somewhere.jsp"; response.sendRedirect(response.encodeRedirectURL(resource)); > -Original

RE: Way to cleanup *before* session terminates ?

2003-08-01 Thread Shapira, Yoav
Howdy, You're right, and the behavior is right: the will passivate method is not supposed to be called when the session is going to be invalidated. You'll have to wait for tomcat 5. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Charlie Toohey [mailto:[EMAIL PROTECTE

RE: FORM Login Bypassed

2003-08-01 Thread Mike Curwen
Thanks Tim, your first sentence I think answers my question about "does it indeed only work on client requests". But that's not quite the situation here... It's still a request for a resource 1. request /dispatcher?page=fookey 2. dispatcher translates fookey to /somepage/somewhere.jsp 3. a r

Re: minProcessor = maxProcessor value (are threads released if not used for some time ?)

2003-08-01 Thread Rau NF
Hi - So no config parameters to do this ? I guess we will direct more load to it then. Thanks for the info. S Rau == Howdy, Processor thread creation is lazy. You can subclass if you want greedy. Yoav Shapira Millennium ChemInformatics >-

RE: Almost there Apache+Tomcat

2003-08-01 Thread Bradberry, Rick
Well, to answer my own question -> comment out everything in jk2.properties. I found the post I needed right after I sent this email out. Thanks and sorry for posting too quickly. Rick -Original Message- From: Bradberry, Rick Sent: Friday, August 01, 2003 1:49 PM To: 'Tomcat Users L

Re: Way to cleanup *before* session terminates ?

2003-08-01 Thread Charlie Toohey
Just tried implementing HttpSessionActivationListener, and the sessionWillPassivate method does not get called when the session is invalidated. I'm using Tomcat 4.1.24. Maybe its not suppposed to ? Per the docs, this is called when the session is migrating between VMs and when persisting sessi

Almost there Apache+Tomcat

2003-08-01 Thread Bradberry, Rick
Ok I'm almost there, I have Apache talking to Tomcat using mod_jk. Everything seems to work great. The only problem is when Tomcat starts up it gives the following message. I've tried everything. The jar file (C:\ApacheGroup\jakarta-tomcat-4.1.18\server\lib\commons-logging.jar) is in the CLASSPATH

Problem with applet in jar file accessed from JSP page in area protected with a security constraint.

2003-08-01 Thread Jim Solderitsch
The problem occurs under my test environment which is a Mac Powerbook G4 running OS X 10.2.6 with Java Plug-in 1.4.1_01. I am running tomcat on this machine. I am trying to first install and then extend a web application that is deployed under tomcat 4.1.24. There is a login based configura

RE: Problems with Tomcat in a high load environment

2003-08-01 Thread Shapira, Yoav
Howdy, Even if your loathe to do it, a profiler is invaluable as long as the profiled environment (your dev/test env) is close enough to production to be meaningful. You should profile, and run stress tests, on hardware and software that's as similar as possible to production, before going live.

Problems with Tomcat in a high load environment

2003-08-01 Thread pete . storey
Hi, we are running Tomcat 4.1.18 on Windows 2000 under JDK1.4.1_01. We are using IIS as a web server connecting using the ISAPI JK 2 connector. We are currently experiencing 2 seperate problems when under high load (ie > 30 requests per second): 1. A huge number of log events (~30 sets per m

RE: Checking for invalidated session

2003-08-01 Thread Justin Ruthenbeck
At 01:10 AM 8/1/2003, you wrote: But surely theres a better way? Whould I be better off replacing "session.invalidate()" with "session = null"? No, you wouldn't be better off -- it won't work. :) There's no reason not to like this solution, IMHO. If it makes your code look ugly, put it in a

RE: Servlets & JSPs log to different files

2003-08-01 Thread Shapira, Yoav
Howdy, Then use log4j. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Rick Roberts [mailto:[EMAIL PROTECTED] >Sent: Friday, August 01, 2003 1:18 PM >To: Tomcat Users List >Subject: Re: Servlets & JSPs log to different files > >> >> >> How are you logging in your serv

RE: Threading Question

2003-08-01 Thread Roggeveen, Brian P
You are right about the Map. The ThreadLocal class is exactly what I am looking for. Thanks for your help! -Original Message- From: Extance, Paul [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 10:40 AM To: 'Tomcat Users List' Subject: RE: Threading Question We have had similar

Sorry in resending (Possible configuration error...)

2003-08-01 Thread nospam
My email-client (M$-OE) is currently breaked down, and repeat the last message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Administration Tool Does Not Display Group Roles etc. so I can't use the tool

2003-08-01 Thread David Chugg
Hi, This may be a problem with my Browser, but both Netscape and Internet Explorer have the same problem. I simply log into the Tomcat Web Server Administration Tool and try to add a user with roles. I can add the user but the table of roles does not display. The same is true if I try to add a

Re: Servlets & JSPs log to different files

2003-08-01 Thread Rick Roberts
How are you logging in your servlets? Are you using System.out/System.err? If so, don't use them, and instead use the ServletContext#log(..) methods. Actually, they are mostly beans with no ServletContext :( -- *** * Rick Roberts

Possible configuration error in JK2-Environment (Apache 2.0.46, Tomcat 4.1.18/24)

2003-08-01 Thread nospam
Hi, i get the order to configure a new webhost with apache as the exclusive connection. Behind the apache should be in furher future a tomcat farm on serveral servers. Therefor, i install (a) an blank ger- man linux-distribution (SuSE 8.2) with binaries for Apache 2.0.46 and Tomcat 4.1.

Re: FORM Login Bypassed

2003-08-01 Thread Ronnie
- Original Message - From: "Mike Curwen" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Saturday, August 02, 2003 12:45 AM Subject: RE: FORM Login Bypassed > When your dispatcher does the translation, does it forward or include > the 'actual' resource ? Meaning

RE: Servlets & JSPs log to different files

2003-08-01 Thread Shapira, Yoav
Howdy, >What is standard/recomended approach to getting my servlets and JSPs to log >to >the same file. > >I am currently using the context logger in server.xml as follows: > > >crossContext="true"> >suffix=".txt" timestamp="true"/> > > >My JSP logs into /var/log/tomcat/ai_log.2003-08-01.txt >But

Servlets & JSPs log to different files

2003-08-01 Thread Rick Roberts
What is standard/recomended approach to getting my servlets and JSPs to log to the same file. I am currently using the context logger in server.xml as follows: My JSP logs into /var/log/tomcat/ai_log.2003-08-01.txt But my servlets log into /var/log/tomcat/catalina.out Thanks, -- **

Re: FORM Login Bypassed

2003-08-01 Thread Tim Funk
Security constraints are imposed on the incoming url. Query strings are not used in servlet mapping declarations. -Tim Ronnie wrote: Hi! I have this web application using FORM login access but I am having problem directing the navigation to the defined login page when user clicks on a secure li

RE: FORM Login Bypassed

2003-08-01 Thread Mike Curwen
When your dispatcher does the translation, does it forward or include the 'actual' resource ? Meaning it takes place entirely server-side ? If you did a sendRedirect, that would then make the browser request the protected resource directly, which would invoke the AUTH, if the AUTH is configured co

FORM Login Bypassed

2003-08-01 Thread Ronnie
Hi! I have this web application using FORM login access but I am having problem directing the navigation to the defined login page when user clicks on a secure link. You see, I am using a DispatcherServlet as a navigation controller to direct users to the correct page and the URL is coded as:

Suggestions ?

2003-08-01 Thread Mufaddal Khumri
Yes, thats a helpful function ... I was looking at : http://jakarta.apache.org/taglibs/doc/string-doc/string-1.0.1/ index.html to see if i can find a good tag library to use ... havent found one that i could use yet. Am hoping that someone on the list has pointers to some standard function or

RE: Threading Question

2003-08-01 Thread Extance, Paul
We have had similar issues with wanting some objects to be accessible by any classes executing in a thread that is processing the response. Our solution was to use ThreadLocal to create a thread variable, if you are using either a FrontController (like Struts) or a Filter that each request must pas

Re: connection pooling and server.xml

2003-08-01 Thread Geralyn M Hollerman
Bill2 wrote: > I am using Tomcat 4.0.4, MySQL Max 3.23.51 on Linux 7.2 and > mysql-connector-java-3.0.8-stable-bin.jar. I got it to work in my > development environment NetBeans 3.5, but when I put it on the > production server by changing the server.xml file as instructed at: > > http://jakarta

Re: Problem confinguring MySQL JNDI Datasource RH Linux 7.2

2003-08-01 Thread Geralyn M Hollerman
Scott Stewart wrote: > Well, at first glance it appears that you are using an incorrectly named > parameter for the DataSource implementation that you are now using. The > link you provided states that you need to provide a parameter named "user"; > however, you are still using the "username" para

RES: Cookie problem max age problem - Best practice to solve it

2003-08-01 Thread srevilak
> Assunto: Re: RES: Cookie problem max age problem - Best practice to solve it > the authentication app's plugin wasnt created by me, its only stored on > TomCat to be used by my Java app. This plugin runs together with another app > server, which completes the authentication process. After this p

RE: The same servlet through 2 different URL

2003-08-01 Thread Shapira, Yoav
Howdy, You can have two tags for your servlet. As an aside, IMHO Principal is not that good a name for a servlet as one might confuse it with java.security.Principal. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Moraes, Fabio [mailto:[EMAIL PROTECTED] >Sent: Frid

JSP Parser

2003-08-01 Thread Tim Lee
Hello, I'm interested in finding just a jsp parser and not an entire applicaiton server. Is there anyway to user Jasper outside of Tomcat without the web and app servers? Thanks, Tim *** The information contained in this mes

The same servlet through 2 different URL

2003-08-01 Thread Moraes, Fabio
SCENE: I'm using Tomcat 4.1. I want my servlet Principal.class to be called when someone access http://localhost/projname/ OR http://localhost/projname/index I put this in webapps/projname/web.xml: Principal servlets.Principal and this: Principal / E

RES: RES: Cookie problem max age problem - Best practice to solve it

2003-08-01 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Steve, the authentication app's plugin wasnt created by me, its only stored on TomCat to be used by my Java app. This plugin runs together with another app server, which completes the authentication process. After this process is completed ok, a cookie is created. So, when the user asks for logout,

JDBCRealm

2003-08-01 Thread Gregg Bolinger
I have been struggling trying to get this to work and I can't tell if I am doing something wrong, or leaving something out, or what. Below is all my code, then I will say what is happening: server.xml (relivant snippit) code: _ _ web.xml (relivant snippit) code: _

RE: running a servlet

2003-08-01 Thread Shapira, Yoav
Howdy, >In my browser I go to " >http://neptune/jasonTest/servlet/HelloWorldExample"; and get a page not >found (404). > >I am running it on port 80. The only difference between my webapp and >the "examples" webapp is that I have no "web.xml". > >My friend has no problem on his Tomcat server wit

running a servlet

2003-08-01 Thread Jason Jesso
Hi: I am having trouble executing a servlet under jakarta-tomcat-4.1.18. The examples web app that comes with Tomcat works fine. I created a webapp in conf/server.xml as Under webapps/jasonTest the directory structure looks like: neptune:root> ls -lR * WEB-INF: total 16 dr

RE: Building mod_jk.so

2003-08-01 Thread Johnson, David
I've managed to solve it. I needed to set an environment variable as follows: LD_LIBRARY_PATH="/usr/local/lib" Dave > -Original Message- > From: Jørgen Nørgaard [mailto:[EMAIL PROTECTED] > Sent: Friday, August 01, 2003 2:28 PM > To: Tomcat Users List > Subject: Re: Building mod_jk.so >

Re: Problem with text box and submit button

2003-08-01 Thread G. Wade Johnson
That's actually a browser "feature". Since you did not click the submit button, it's value would not be sent. The browser is being "helpful" by allowing an Enter to submit the form. The downside of this convenience for the user is more ambiguity for the developer. G. Wade Antony wrote: > > Hel

Can't find apxs

2003-08-01 Thread batristain
When trying to run buildconf.sh I get this error message could not find /usr/local/apache/bin/apxs configure: error: You must specify a valid --with-apxs path But that is the correct path Any Suggestions? Bobbie Atristain Internet Systems Administrator Media General, INC. 804.649.6156 --

RE: Checking for invalidated session

2003-08-01 Thread Tim Davidson
thanks. the other option which I dont like was: try { session.invalidate(); } catch (Throwable t) { // Session is already invalid } -Original Message- From: Murray [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 2:14 PM To: Tomcat Users List Subject: RE: Checking for inva

Re: Building mod_jk.so

2003-08-01 Thread Jørgen Nørgaard
Look like a library is missing, so just a thought: has apache been built with gcc so it uses gnu libraries? Right, I am trying to build mod_jk 1.2.4 on Solaris 9. It seems to build okay but I get an error when apache tries to start up. I'll detail the steps I've taken and the error I get. 1. I

Problem with port 8443

2003-08-01 Thread batristain
Greetings, I have a website that uses ssl - I want to know if I have the ssl working with apache how can I just send the request to Tomcat - or does tomcat have to do the ssl request itself? The site works at http://placeanad.classifiedmarketplace.net:8080/AdWebster However if I uncomment out the

RE: Checking for invalidated session

2003-08-01 Thread Murray
I'm trying to ensure that a session is newly created when I reach my index page. The logic is reversed from your question but I believe the principle is the same inasmuchas I want to know whether or not a valid session exists. if (! session.isNew() ) { session.invalidate(); %> /

Re: RES: Cookie problem max age problem - Best practice to solve it

2003-08-01 Thread srevilak
srevilak> Setting the max age of a cookie to zero is the proper way to srevilak> delete a cookie. When doing the deletion, are you sure that srevilak> the name, domain, and path values are identical to the ones srevilak> used when the cookie was initially set? jose> Thanks for your attention! The

[ERR] Post-authentication tasks

2003-08-01 Thread postmaster
Transmit Report: To: [EMAIL PROTECTED], 402 Local User Inbox Full ([EMAIL PROTECTED]) --- Begin Message --- I'd like to get some suggestions for performing "post-authentication" tasks while using Container Managed Authentication. Craig Berry suggested a filter that checks the session for necessa

RES: Cookie problem max age problem - Best practice to solve it

2003-08-01 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Thanks for your attention! The question stays alive because this plugin runs fine on OC4J(Oracle) environment, but its always a failure on Tomcat env. Any other help would be appreciated. Euclides. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira

RE: minProcessor = maxProcessor value (are threads released if not used for some time ?)

2003-08-01 Thread Shapira, Yoav
Howdy, Processor thread creation is lazy. You can subclass if you want greedy. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Rau NF [mailto:[EMAIL PROTECTED] >Sent: Thursday, July 31, 2003 6:47 PM >To: [EMAIL PROTECTED] >Subject: minProcessor = maxProcessor value (

Re: Hello Sir, Madam,Miss

2003-08-01 Thread Ben Souther
Move your "Book" folder up one directory to the "webapps" folder. Make sure you have a directory named "WEB-INF" in your Book folder. Restart Tomcat. http://localhost:8080/Book/AdminBook.jsp should work for you. On Thursday 31 July 2003 02:57 pm, Felix gt wrote: > Hello Sir, Madam, Miss >

RE: Unable to find a javac compiler

2003-08-01 Thread Bradberry, Rick
I have the env variables set and have tried it as a services and as a inprocess with the same results with mod_jk2. I found a HOWTO on mod_jk and it seems to work ok using Tomcat as a service. The only problem now is that the auto gen conf files have a problem with blanks in the paths of the weba

[ERR] Internal Servlet Error

2003-08-01 Thread postmaster
Transmit Report: To: [EMAIL PROTECTED], 402 Local User Inbox Full ([EMAIL PROTECTED]) --- Begin Message --- Hi there, I'm currently running Tomcat 3.2.4 in Redhat 7.3 . The problem only occurs in Linux, if I zip the Tomcat directory and run it in Windows, everything works fine. My frontend syste

RE: Problem confinguring MySQL JNDI Datasource RH Linux 7.2

2003-08-01 Thread Scott Stewart
Well, at first glance it appears that you are using an incorrectly named parameter for the DataSource implementation that you are now using. The link you provided states that you need to provide a parameter named "user"; however, you are still using the "username" parameter that I provided in my e

[ERR] Re: Installation problem

2003-08-01 Thread postmaster
Transmit Report: To: [EMAIL PROTECTED], 402 Local User Inbox Full ([EMAIL PROTECTED]) --- Begin Message --- Just curious, you are welcome to build from source, but did you know that there are binaries available that work out of the box? John [EMAIL PROTECTED] wrote: Folks, I am installing to

Client Authentication in combination with a realm

2003-08-01 Thread Ivo Matheis
Hi, I'm using Tomcat 4.0.6 and configured it for client authentication. This works fine. Then I tried to add a realm to a certain webapp in order to control access. As I have read in several sources either the client certificates Common Name or the complete Distinguished name are used to identi

Building mod_jk.so

2003-08-01 Thread Johnson, David
Right, I am trying to build mod_jk 1.2.4 on Solaris 9. It seems to build okay but I get an error when apache tries to start up. I'll detail the steps I've taken and the error I get. 1. Installed the following GNU packages: make, automake, autoconf, m4, libtools (they came as Solaris packages, whi

Re: Possible to start Tomcat but not deploy webapp?

2003-08-01 Thread Tim Funk
AFAIK, there is no ability to do this. -Tim MooBob42 wrote: Say I have three webapps - the manager webapp, webapp A and webapp B. Is it possible for me to configure Tomcat such that when I start it up, only the manager and webapp A come online? Webapp B should either be in an undeployed state or

RE: Address Resolving

2003-08-01 Thread Reynir Hübner
If You have one tomcat server, serving for multiple dns names, but only one IP for this computer, you can set up several virtual hosts, one for each dns name, or if you want all to go into the same application you can set up one virtual host with many dnsname properties. So you would setup so

RE: Connecting Two PC using internet connection ??

2003-08-01 Thread Reynir Hübner
You might want to take a look at webdav... That might solve some of your problems. -reynir > -Original Message- > From: Bikash Paul [mailto:[EMAIL PROTECTED] > Sent: 1. ágúst 2003 08:32 > To: Tomcat Users List > Subject: Connecting Two PC using internet connection ?? > > > Hi, > > I

Connecting Two PC using internet connection ??

2003-08-01 Thread Bikash Paul
Hi, I want to develop one software so that I can connect two PC using internet connection means one is host and another is remote.So that I can access remote PC's Hard drive using internet connection.Can any one plz give me some guideline how I can start.Eagerly waiting for someone reply. Thanks

Problem with text box and submit button

2003-08-01 Thread Antony
Hello, Servlet is not getting the value of submit button from HTML form. I have a form with one text box ,one submit button and a reset button. When I click the submit button the servlet gets both text box and submit button values. But when the user types in data in text box and press Enter key

Re: Checking for invalidated session

2003-08-01 Thread Kwok Peng Tuck
How about: if(session.getAttribute("myattrib")==null) { } Tim Davidson wrote: But surely theres a better way? Whould I be better off replacing "session.invalidate()" with "session = null"? -Original Message- From: Justin Ruthenbeck [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003

RE: Checking for invalidated session

2003-08-01 Thread Tim Davidson
But surely theres a better way? Whould I be better off replacing "session.invalidate()" with "session = null"? -Original Message- From: Justin Ruthenbeck [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 6:44 PM To: Tomcat Users List Subject: Re: Checking for invalidated session A