Re: Frameset problem

2002-05-07 Thread Rick Fincher
If your index.jsp is a frameset each frame gets called with a different session number. You may need to make a simple index.jsp that calls your frameset, otherwise session info set in one frame won't be available to pages in another frame. Rick - Original Message - From: "Vincent Lamber

Re: help, JDBCRealm, Why Need to authenticate three times to login

2002-05-07 Thread Rick Fincher
Hi Hillel, This is a longshot but you aren't calling login.jsp directly are you? It should generate errors if you do, but it's just a thought. Also, what are the implications of making your login page a jsp as opposed to an html? I haven't tried it, but can that cause a second call to the auth

Is Tomcat-Apache server Engine's "appBase" parameter irrelevant?

2002-05-07 Thread Jeff
I've been experimenting all morning trying to get Tomcat (4.03) + mod_webapp with Apache (1.3.19) to deploy apps ANYWHERE besides /usr/local/tomcat/webapps to no avail. From what I can tell, the Engine config block seems to be completely ignoring the appBase parameter. At first, I thought it was

Re[2]: Help with hiding resources

2002-05-07 Thread Jacob Kjome
Hello Kris, You probably could use a servlet to serve up the .jar file for the applet. In the archive attribute, you could have a call to the servlet which would serve up the .jar file from somewhere other than the public area of the webapp. However, they'd still be able to go to that address t

webmin

2002-05-07 Thread Charles Baker
Does anyone have any experience using the webmin tomcat module w/ tomcat4.x? Does it work at all? = [EMAIL PROTECTED] Hacking is a "Good Thing!" See http://www.tuxedo.org/~esr/faqs/hacker-howto.html __ Do You Yahoo!? Yahoo! Health - your guide

Re: Can somebody help me with this one: Choosing between standard Tomcat 4.0.3 and jdk1.4 LE

2002-05-07 Thread Jacob Kjome
Hello Sankaranarayanan, Just download the full version. The only difference is that if you are using JDK1.4, the JDK already contains some of the necessary libraries so they don't need to be included in Tomcat, but it won't hurt anything if they are. Just use the full version and you won't have

RE: Classloader question

2002-05-07 Thread Mario Felarca
From: Larry Isaacs <[EMAIL PROTECTED]> To: 'Tomcat Users List' <[EMAIL PROTECTED]> Subject: RE: Classloader question Date: Tue, 7 May 2002 08:17:44 -0400 MIME-Version: 1.0 Content-Type: text/plain >Because Tomcat 3.3.x uses the JDK delagation model for >classloading, classes in the "apps" clas

RE: Classpath problems with Tomcat4 and RedHat 7.2

2002-05-07 Thread Charles Baker
--- Jose Ferrer <[EMAIL PROTECTED]> wrote: > Yes, CATALINA_HOME is set to /var/tomcat4 > > Here is my simple jsp > > <%@ page language="java" %> > <%@ page import = "java.util.*" %> > <%@ page import = "java.io.*" %> > <%Propertie

Re: Memory Leak of JDBC Drive

2002-05-07 Thread Rick Fincher
Hi Oki, You can work around the problem by precompiling your web apps with jspc, or you can use JVM 1.3.1. It's an easy work around. You just need to be aware of the problem. Rick - Original Message - > On 05/07 02:59 Rick Fincher wrote: > > What JVM are you using? Java 1.4 has a mem

RE: Classloader question

2002-05-07 Thread Mario Felarca
Message-ID: From: tamir <[EMAIL PROTECTED]> To: 'Tomcat Users List' <[EMAIL PROTECTED]> Subject: RE: Classloader question Date: Tue, 7 May 2002 10:05:36 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="WINDOWS-1255" > What I don'

RE: manager reload not processing new security constraints

2002-05-07 Thread Cox, Charlie
sorry, I meant web.xml is not reloaded by the manager's 'reload' command. Charlie > -Original Message- > From: Lawlor, Frank [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 07, 2002 1:25 PM > To: 'Tomcat Users List' > Subject: RE: manager reload not processing new security constraints >

RE: manager reload not processing new security constraints

2002-05-07 Thread Lawlor, Frank
Charlie, Your suggestion to use stop/start worked. I still don't know if reload is supposed to process the web.xml (would be nice if this was made clear), but start/stop does the job. Thanks, Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned consulting firm in

RE: Help with hiding resources

2002-05-07 Thread Kris Kras
One more question Alessio (if you don't mind), If I have to put the jars in a subdirectory of a tomcat context root directory then is there any way to hide them from someone that can download them simply by typing http://mydomainname/applications/jars/myjarfile.jar? Thanks again. Regards Kris

Re: ?? Class Loaders, Static Initializers, Open Files ??

2002-05-07 Thread Tony LaPaso
Thank you all for the replies. The unfortunate part of this is that my servlet runs in a shared Tomcat environment so I don't have the luxury of putting classes/JARs wherever I want. I *will* be able to but some code in the destroy() method to inform the XXX class that it should close the file. I

RE: manager reload not processing new security constraints

2002-05-07 Thread Lawlor, Frank
The application security constraints are in its web.xml, not server.xml. Does anyone know if reload is supposed to process the web.xml? Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned consulting firm integrating technology strategy and software solutions. >

Can somebody help me with this one: Choosing between standard Tomcat 4.0.3 and jdk1.4 LE

2002-05-07 Thread Sankaranarayanan (Ganesh) Ganapathy
Any hep will be greatly appreciated. > -Original Message- > From: Sankaranarayanan (Ganesh) Ganapathy > Sent: Monday, May 06, 2002 3:05 PM > To: '[EMAIL PROTECTED]' > Subject: Choosing between standard Tomcat 4.0.3 and jdk1.4 LE > > Hi All, > > I want to user tomcat wi

tomcat 4.0 DB connection pooling (using JNDI) and Oracle DB

2002-05-07 Thread Darije Ramljak
hi, I'm having trouble getting pooled database connections using JNDI resources in Tomcat 40 I've tried the example from Tomcat's documentation (JNDI - how-to) and it worked fine for the DataSource objects now I'm trying to use ConnectionPoolDataSource and it's just not working I've tried ev

Directory access control?

2002-05-07 Thread Golan
Greetings: I am wondering/hoping that it is possible to control HTTP directory access for Tomcat via either the server's root web.xml or server.xml. Is this possible with a STAND-ALONG Tomcat? For example... The system knows, automatically, to deny access to the ./WEB-INF/ directory. How does i

Re: Re[4]: Tomcat redirect

2002-05-07 Thread joshua wentworth
Thanks, I went ahead and told the developers that they were just going to have to fix their code to be correct. Ideally we didn't want to change the code, we just wanted to kludge tomcat to work with the original call (backwards compatibility issue with the code). Thanks again. Josh - Origina

Problems with memory

2002-05-07 Thread Rich
Hello all, I have a fairly complex web application that appears to have a memory issue. I've come to this conclusion by making requests to my application while watching 'top' output. In an attempt to track this down, I made the servlet simpler by stripping out functionality. I continued doing thi

Does tomcat4 do logging cleanup

2002-05-07 Thread Quinlan, William P (Bill)
Does tomcat4 do logging cleanup, such as removing accumulated backup logs and trimming the catalina.out log? Where may I find documentation on how this is done? How do I configure the parameter that controls the amount of disk space dedicated to this task? Thanks, Bill Quinlan

Re: Running an external application from a Java servlet environment

2002-05-07 Thread Jacob Kjome
Hello Helen, The media player is a client side thing. It has no clue whatsoever that you sent the media content via a servlet or a static file. You just have to make sure that when you send the content in the response that you set the appropriate mime-type. If the user has media player install

Re: Running an external application from a Java servletenvironment

2002-05-07 Thread Larry Meadors
I presume you are trying to run the code on the server? If so, I did it (with winamp) by creating a play list then calling this: Runtime.getRuntime().exec(mp3PlayerPath + " " + tmp.getAbsolutePath()); I suspect that the WiMP has a similar type of command line that would do the same thing.

Re[4]: Tomcat redirect

2002-05-07 Thread Jacob Kjome
Hello joshua, Well, take a look at the form action: action="/servlet/CatalogServlet" This isn't even a servlet to servlet call. This is a browser to servlet call. On top of that, you are telling the form to be sumbmitted to http://our.server.com:8080/servlet/CatalogServlet This tells Tomcat

RE: Classpath problems with Tomcat4 and RedHat 7.2

2002-05-07 Thread Jose Ferrer
Yes, CATALINA_HOME is set to /var/tomcat4 Here is my simple jsp <%@ page language="java" %> <%@ page import = "java.util.*" %> <%@ page import = "java.io.*" %> <% Properties prop = System.getProperties(); %> Java class path: <%

Running an external application from a Java servlet environment

2002-05-07 Thread Helen Dawn Pringle
Dear People, I am trying to invoke Windows Media Player from within a Java Servlet environment using Tomcat however I can only invoke the application but I CAN'T seem to automatically get it to play any content. I have to physically type in the path and then WIndows media player will play it.

Re: Appending to TOMCAT's class path

2002-05-07 Thread Larry Meadors
Why not put your source in the WEB-INF/classes directory of your context or put them in any other directory, and use ant to build and have it build the classes into that directory? Larry >>> [EMAIL PROTECTED] 05/07/02 10:12AM >>> Does anyone have a solution other than having to make a new jar f

RE: SessionMgmt: No Cookies sent - Instead only URL-Rewritting active

2002-05-07 Thread Brandon Cruz
You are right. With IE6, cookies must be accompanied by a privacy policy, which is a basic xml file. If this policy is not supplied, then IE6 won't allow tomcat to even set a session cookie. There is a place at w3c.org where you can answer a bunch of questions and it will generate the policy fo

RE: RE : Frameset problem

2002-05-07 Thread Richard Bailey
I too have been using framesets with no problem, in fact one page with a frameset is a jsp page. What error are you getting? Regards, Richard At 12:08 PM 2002-05-07 -0400, you wrote: >What OS? I have been using FRAMESET with multiple JSPs (including some >that define APPLETS) for a while with

Re: Re[2]: Tomcat redirect

2002-05-07 Thread joshua wentworth
Yeah, I figured that out a bit later. The problem seems to be that Tomcat is just ignoring the call to /servlet/Whatever. The situation is like this, I'm trying to get as specific as possible now. The code looks like this: And if someone clicks on that button they get a 404 and Tomcat returns t

Appending to TOMCAT's class path

2002-05-07 Thread Tim Cronin
the startup scripts (under 4.X) for tomcat do not use the System classpath setting by default. In a production environment I'm fine with putting my jars in the common\lib directory but in development I want to be able to add my source tree to the classpath tomcat uses. once I do this by changing t

Re: Does mod_webapp support name-based virtual TOMCAT hosts?

2002-05-07 Thread Jeff
Ah... ok, I just assumed that "Tomcat-Standalone" established the baseline values that got inherited by the "Tomcat-Apache" service and were used absent a conflicting value there. There's still one problem, though... I changed the appBase in the Tomcat-Apache section to an absolute path (/export

Re: Classpath problems with Tomcat4 and RedHat 7.2

2002-05-07 Thread Larry Meadors
Do you have a CATALINA_HOME environment variable set? That might cause this... >>> [EMAIL PROTECTED] 05/07/02 09:21AM >>> I am having problems reading a resource file I placed in /var/tomcat4/common/lib. I also tried placing it in /var/tomcat4/common/classes. I wrote a small JSP which lists th

RE: RE : Frameset problem

2002-05-07 Thread Whitcomb, Roger
What OS? I have been using FRAMESET with multiple JSPs (including some that define APPLETS) for a while with no problems. But I have been using mod_jk (this is on Win NT and Win 2K) to connect to Apache (1.3.23 and 1.3.24). Roger Whitcomb Computer Associates Senior Software Engineer Developme

RE: help, JDBCRealm, Why Need to authenticate three times to login

2002-05-07 Thread Barney Hamish
If I were you I'd check the error logs or the jvm.stdout or whatever. It could be that there is a problem creating the connection to the database to authenticate the user. If this is the case there should be error messages indicating problems connecting to the database. -Original Message-

Re: help, JDBCRealm, Why Need to authenticate three times to login

2002-05-07 Thread Eddie Bush
I'm hardly a guru, so you probably want to investigate further. However, it looks to me like your login page is protected by your security constraint. I don't know if that's the problem. I do know that my login page is outside of my url pattern and I just have to log in one time. Regards, Eddi

Re[2]: Tomcat redirect

2002-05-07 Thread Jacob Kjome
Hello joshua, Well, actually, all you've done here is specify a context called "servlet" which has it's docbase sitting on the file system as "/spike/servlet". This would assume that you are on a Unix system and you have a directory called "spike" off the root of your sytem with a directory call

RE-Initialize the servlet with Tomcat

2002-05-07 Thread "Bührle, Martin, FCI1"
Hi List, we are using Tomcat 4.0.1 mod_webapp / WARP-Connector Apache 1.3 The servlet we are using is a CMS-System (opencms). When we are changing Web-Content in the CMS-database we see the changes in tomcat (Port 8080) immediately, but not in the Pages served by Apache. The problem is, that ev

mod_jk 2 jar file

2002-05-07 Thread Liam Morley
I'm looking for a jar file that has the mod_jk 2 connector. I know it's bundled in the Tomcat 3 release, but I don't want to download the whole thing just to get a few class files:( Can anybody point me to a quick location where I can grab the class files? I'd prefer not to build them from source,

RE : Frameset problem

2002-05-07 Thread Vincent Lambert
Apache is not responding any more... -Message d'origine- De : Abraham Fathman [mailto:[EMAIL PROTECTED]] Envoye : mardi 7 mai 2002 16:31 A : 'Tomcat Users List' Objet : RE: Frameset problem What is the problem that you are having? I had a problem in a similar context with sessions. T

RE: TOMCAT & SSL !!!

2002-05-07 Thread t . riteshmenon
Hi, I was looking for the postigs under " How to enforce SSL" - if anybody cud throw some light, as iwas unable to locate it. thanx! -Original Message- From: Steve D George [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 3:48 PM To: Tomcat Users List Subject: Re: TOMCAT &

Disabling URL Rewriting and relying on cookies

2002-05-07 Thread Stephanos Piperoglou
I'm developing a Web App on Tomcat 3.2.4 (and Struts 1.0.2) and I've been using URL rewriting throughout to make everything nice and relocateable. As has been pointed out before on this list, the first time a browser accesses the web-app, the session id cookie is set but cannot yet be retrieved so

Re[6]: file path problem

2002-05-07 Thread Jacob Kjome
Hello Bharanidharan, Glad I could help :-) As for your new questionwell, only if you loaded the template in the servlet and then had the servlet return the result in the response. You wouldn't be able to get a direct connection to the template inside the WEB-INF directory from a browser re

Re: SessionMgmt: No Cookies sent - Instead only URL-Rewritting active

2002-05-07 Thread Jeff
I've observed the same phenomenon. It's just a theory, but I suspect it might have to do with Internet Explorer 6 itself. I think Microsoft quietly changed IE6's default cookie-acceptance behavior to automatically reject all cookies from sites not meeting its criteria for auto-acceptance. Taking

Classpath problems with Tomcat4 and RedHat 7.2

2002-05-07 Thread Jose Ferrer
I am having problems reading a resource file I placed in /var/tomcat4/common/lib. I also tried placing it in /var/tomcat4/common/classes. I wrote a small JSP which lists the classpath and I notice it prints out as /var/tomcat/common/lib (missing the 4). Does anyone know where this is set?

Re: Tomcat redirect

2002-05-07 Thread joshua wentworth
I was hoping of something within the Tomcat configuration itself since we don't use an index.jsp file. To be more specific about my problem, Whenever a servlet calls another servlet in Tomcat it isn't intercepting the /servlet/ directive and replacing it with /spike/servlet/ which is what it shoul

RE: Strange JSP Problem

2002-05-07 Thread Collins, Jim
It is not the JSP itself that is causing the problem because in some cases I can run it. I have a servlet that I use to launch all other servlets that are typically located on NFS not under the WebRoot. When I load a JSP I copy the JSP to the WebRoot and then instantiate JspServlet and get this to

RE: Frameset problem

2002-05-07 Thread Abraham Fathman
What is the problem that you are having? I had a problem in a similar context with sessions. This is because the first url I would goto was domain.com and then I would get redirected to server.domain.com... Abe -Original Message- From: Vincent Lambert [mailto:[EMAIL PROTECTED]] Sent: T

Some JSP and Beans Questions

2002-05-07 Thread Frederick Aubert
Hi, My questions will look pretty stupid to the experts, so to avoid bugging everyone on this list, I¹d suggest that if you want to answer them, you can address me directly at [EMAIL PROTECTED] I tried to build an html form linked via JSP to a Java Bean. I then tried to access the object instan

RE: Help with hiding resources

2002-05-07 Thread Kris Kras
Thank you Alessio for the clarification, Regards Kris -Original Message- From: Alessio Fiore [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 10:12 AM To: 'Tomcat Users List' Subject: R: Help with hiding resources >Thank you Alessio, >does this mean that if I put the jar files i

Re: Strange JSP Problem

2002-05-07 Thread Raphael
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Post the JSP code Le Mardi 07 Mai 2002 12:48, Collins, Jim a écrit : > I have a strange JSP problem with Tomcat 4. When I start Tomcat everything > is fine and the JSP's are working OK. But when I load a particular JSP > which always fails all other

Re: Should i use J2re instead of jdk in my Tomcat server ?

2002-05-07 Thread Jeff
Assuming that there aren't any other problems lurking in the darkness, installing the j2sdk should fix the problem. Remember, .jsp pages are REALLY templates used by Tomcat to automatically build and compile servlets. Without the j2sdk, Tomcat can't compile the servlets, and .jsp pages won't work

Faster application start

2002-05-07 Thread Raphael
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, once I start my Tomcat the first application that is viewed is slow to be executed by Tomcat. Is there any way to improve the load of a particular application ? -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For inf

R: Help with hiding resources

2002-05-07 Thread Alessio Fiore
>Thank you Alessio, >does this mean that if I put the jar files in WEB-INF/lib directory they >will be invisible to the browser? The WEB-INF/lib directory is a >subdirectory off of the Root directory called "applications", which is the >directory hosting the jsp files launching the applets and as

uploading status to a user

2002-05-07 Thread # Lalit Nagpal #
hye i am using oreilly classes (MultipartRequest class) provided by jason hunter. Is it possible for me to show to the user who is uploading file to my server the upload status (progress bar etc, anything). I just do not want the user to feel that the upload is not working and cancel the submit o

RE: someone plz help

2002-05-07 Thread Tim Cronin
I set all my browsers to not cache pages when developing. It has bitten me many times... -Original Message- From: # Lalit Nagpal # [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 8:59 AM To: Tomcat Users List Subject: RE: someone plz help my problem is solved thanx tim anywa

Fwd: Re: Apache2.0.36/TC4.1/mod_jk Problem

2002-05-07 Thread Anthony W. Marino
I'm having problems trying to compile mod_jk with the following: /jakarta-tomcat-connectors-4.1.0-src/jk/native/apache-2.0/ ./build-unix.conf I'm getting "undefined reference ..." messages. Any help is appreciated! Thanks, Anthony -- To unsubscribe, e-mail: For

RE: Help with hiding resources

2002-05-07 Thread Kris Kras
Thank you Alessio, does this mean that if I put the jar files in WEB-INF/lib directory they will be invisible to the browser? The WEB-INF/lib directory is a subdirectory off of the Root directory called "applications", which is the directory hosting the jsp files launching the applets and as such

RE: servlet works good the first time, but not the second time.??!!!??

2002-05-07 Thread Sexton, George
Try something like: response.setHeader("Cache-Control", "no-cache"); response.setHeader("Pragma", "no-cache"); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 8:13 AM To: [EMAIL PROTECTED] Subject: servlet works good the first time, bu

RE: someone plz help

2002-05-07 Thread # Lalit Nagpal #
my problem is solved thanx tim anyway. actually i just renamed my java file and recompiled it and it worked. Wonder what is with IE ... was it using cache data. Netscape was very descent and every changes i made where detected by it in every request that i made. wonder what the problem is wit

RE: Frameset problem

2002-05-07 Thread Tim Cronin
I have the same problem. I found this link, is this the error your getting? http://www.tek-tips.com/gfaqs.cfm/lev2/3/lev3/22/spid/65/sfid/1552 I moved to mod_jk and all works ok. -Original Message- From: Vincent Lambert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 7:11 AM To:

Re: someone plz help

2002-05-07 Thread Laura
Have you set the type of the form to Multipart? laura Alle 15:40, martedì 7 maggio 2002, hai scritto: > here's what I use. > > public static void upload > ( > HttpServletRequest request, > String uploadFolder > ) throws IOException > { > String cType = request.getContentType(

RE: someone plz help

2002-05-07 Thread Tim Cronin
here's what I use. public static void upload ( HttpServletRequest request, String uploadFolder ) throws IOException { String cType = request.getContentType(); if (cType != null && cType.toLowerCase().startsWith("multipart/form-data")) { MultipartReque

RE: Classloader question

2002-05-07 Thread tamir
Hi Larry, Tnx for your information, I'm afraid I can't use this feature as It's not compatible with other version of tomcat... Tamir -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 3:10 PM To: 'Tomcat Users List' Subject: RE: Classloader quest

R: Help with hiding resources

2002-05-07 Thread Alessio Fiore
Hi Kris, the jar that contains the applet and related classes *must* be accessible by the browser. If not the browser could not load it and extract the applet (throwing the java.io.FileNotFoundException). -Messaggio originale- Da: Kris Kras [mailto:[EMAIL PROTECTED]] Inviato: martedì 7 m

RE: Re[4]: file path problem

2002-05-07 Thread Mani, Bharanidharan
jake, your explanation is excellent. I completely understand whats going on now.. but again a quick question.. In jetspeed, we have template files under Web-inf directory but the template directory is mapped in jetspeedResources.properties file. So i should be able to access the templates un

RE: ?? Class Loaders, Static Initializers, Open Files ??

2002-05-07 Thread tamir
Hi Charlie, That's a good idea. When I wrote my answer, what I had in mind is loading of jni using System.LoadLibrary, which can't be unloaded (Afaik ???) Tnx. -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 3:05 PM To: 'Tomcat Users List'

RE: shutdown.sh doesn't shutdown JMV

2002-05-07 Thread Shapira, Yoav
Howdy, Check for non-daemon threads still running somewhere in your apps, or 3rd party code you apps use. Tomcat 4.0.2 eliminated the System.exit() call in the shutdown code, for better compliance with embedded tomcat users. There's a thread about System.exit(), check the archives ;) See also t

RE: Classloader question

2002-05-07 Thread Larry Isaacs
I haven't actually tested the additionalJars feature with respect to reloading. It was orignally added with non-changing jars in mind, jasper.jar specifically. You may have to also specify use11Loader="true" for jar reloading to work. I'm not aware of an equivalent feature in Tomcat 4.x. Cheers

Help with hiding resources

2002-05-07 Thread Kris Kras
Hello all, I have an application using jsps, servlets and applets runing under Tomcat 4.03 and Struts 1.0 (win2k server). My application is located under "C:\Tomcat4\webapps\applications\" and all jsp files are there. Some jsps launch applets through tags. Applets are packaged in jars located in

RE: servlet works good the first time, but not the second time.??!!!??

2002-05-07 Thread Douglas, Rory
you could also try setting the HTTP Expires header to something definitely in the past, like 1/1/1980 something like response.setHeader("Expires","1/1/1980"); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 8:13 AM To: [EMAIL PROTECTED]

RE: ?? Class Loaders, Static Initializers, Open Files ??

2002-05-07 Thread Cox, Charlie
you can move it to \common\lib which is loaded by a different class loader, but then it will be visible to all contexts. Using a static initializer like that will also cause problems if you try to use the manager to control your app since manager drops the classloader and creates a new one when y

RE: Classloader question

2002-05-07 Thread tamir
Hi Larry, As I understand the additionalJars attribute, it can actually state jars outside the WEB-INF/lib or WEB-INF/classes that will be reloaded by tomcat when one of the jars in changed. Is it also relevant for Catalina ? (Is there a way to state jars to be reloaded there too ?) Tamir -O

Réf. : RE: servlet works good the first time, but not the second time.??!!!??

2002-05-07 Thread staginfo-ar
i'm ok with you but I have to do that each time I think there is an other way to do it from a servlet or a jsp. Like in asp with the "header". Jc -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Terminating sessions problem. (bug?)

2002-05-07 Thread Garzon Maldonado, Jesus Javier
But the question is, If I invalidate one session I can't use the same browser to login again, because the session is created every time I call request.getSession(true), nevertheless if I don't terminate the session, and the session never time out, then the server will store large amounts of ses

IIS5 and tomcat 4.0.3 via AJP

2002-05-07 Thread simpson
sorry if this is an annoying starter question but i have so far not been able to retrieve the list faq. i have IIS5 , J2SE 1.4 , J2EE 1.3.1 , tomcat 4.0.3 , and isapi_redirect.dll installed on W2K server SP2. isapi_redirect was downloaded from http://jakarta.apache.org/builds/jakarta-tomcat/rele

RE: servlet works good the first time, but not the second time.??!!!??

2002-05-07 Thread Deep Singh Bhau
which browser r u using??? Is it IE. If yes remove the temporary files and set the "Pages to keep in history" to zero -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 5:43 PM To: [EMAIL PROTECTED] Subject: servlet works good the first time,

SessionMgmt: No Cookies sent - Instead only URL-Rewritting active - Why?

2002-05-07 Thread Lerenc, Vedran
Hi, I was using Tomcat 3.2.1 and switched to Catalina 4.0.3 (both on Windows 2000). Now my browser (IE6.0 on Windows 2000) gets no cookies anymore. It seems that the session management ist now handled using URL rewritting and I don't know why. When I test my web application using Tomcat, I get th

RE: Problem loading MySQL drivers.

2002-05-07 Thread Deep Singh Bhau
has the problem being solved??? -Original Message- From: Diego, Emil [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 1:18 AM To: 'Tomcat Users List' Subject: RE: Problem loading MySQL drivers. Where did you set the classpath ? -Original Message- From: Panos Konsta

RE: Classloader question

2002-05-07 Thread Larry Isaacs
The classloader diagram is found at: Because Tomcat 3.3.x uses the JDK delagation model for classloading, classes in the "apps" classloader take priority over WEB-INF/classes and WEB-INF/lib. I don't think your

Frameset problem

2002-05-07 Thread Vincent Lambert
Hi, I am using TC 4.0.3 with JDK 1.4 connected to apache with webapp connector. Every thing works find except when i call two or more JSP within a frameset ! Did someone experience the same problem and how can I fixe it. Thanks in advance, Regards, Vince PS : My files... httpd.conf :

servlet works good the first time, but not the second time.??!!!??

2002-05-07 Thread staginfo-ar
Hi, Tomcat runs good when I launch a servlet for the first time. But when I launch this servlet for the second time, Tomcat print the result of the first ( in fact Tomcat runs the prior result page saved in IE). Thanks Jc -- To unsubscribe, e-mail: For additional com

Tomcat memory problem ?

2002-05-07 Thread Laura
Hi all, my system is this: I have a solaris machine (2GB RAM) with apache 1.3.19 and two instances of Tomcat 4.0.3 in a load balancer configuration. I started all three days ago: this morning I have found the two Tomcat dead. All my servlets didn't respond and all the system was dead. It's te

RE: shutdown.sh doesn't shutdown JVM(more info)

2002-05-07 Thread Larry Isaacs
Tomcat 4.0.3 will wait forever for web applications to shutdown any non-daemon threads they created. If a web application leaves such a thread running, Tomcat won't shut down. Cheers, Larry > -Original Message- > From: Leland Chen [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 06, 2002

Re: web-inf/classes

2002-05-07 Thread chuck amadi
Chris Shen wrote: >this is a bizzare one. i've placed all my classes under the web-inf/classes >with the appropriate class structure and everything, and it was working fine >on my tomcat 3.3. yet, after i migrated it to 4.03, i tried to run it the >first time and compiled it, and i kept on gettin

RE: Terminating sessions problem. (bug?)

2002-05-07 Thread Deep Singh Bhau
this is not a bug. All u have to do is set some attribute in session after successfull login and then check that attribute in each servlet. If the attribute is there in session proceed otherwise throw the login screen. -Original Message- From: Garzon Maldonado, Jesus Javier [mailto:[EMAI

Processes

2002-05-07 Thread tomcat
Hello I'm using Tomcat 4.03 Apache 1.3.23 J2SDK 1.4 RH 7.2 In this server are running 4 private tomcat instances, and 6 sites in a shared instance. What I saw while I was doing a top, its the HUGE number of processes running, usually goes over 2200 processes. I set a cronjob to restart to restart

Re: Off-Topic question..

2002-05-07 Thread PChaganti
Try Pan or KNode... -prabhakar >>> Sorry for my Off-Topic question but I couldn't find a solution. I am reading news messages offline with Outlook Express and I have a problem; When I synchronized the news server and my local box "Deleted/Outdated messages" are also del

RE: Urgent send redirect

2002-05-07 Thread Chris Campbell
You could try just: response.sendRedirect("http://"; + url + "?" + querystring); ChrisC > -Original Message- > From: Laura [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 07, 2002 7:53 PM > To: [EMAIL PROTECTED] > Subject: Urgent send redirect > > > Hi all, > > I have a problem and

RE: TOMCAT & SSL !!!

2002-05-07 Thread t . riteshmenon
Hi Steve, I had included the security constraint in web.xml, but still the request goes thru without ssl. what mistake am i making? what is the ? do i have to include that too. i was also not clear abt the "redirectPort" bit - where cud i get more help? thanx, Ritesh

Re: Loosing identify when switching to non-protected webresource

2002-05-07 Thread jfc100
Hi, I am experiencing the exact same problem. Here is my post to the struts list: >Hi, > > >Has anyone encountered the following situation using form-based auth in catalina? > > >1. login successfully using 'j_security_check'; > >2. the next request happens to be to an unsecured url (e.g. /do/fr

Urgent send redirect

2002-05-07 Thread Laura
Hi all, I have a problem and I don't know whre is the cause. My context is /xxx: in this context I have a servlet. This servlet takesas parametr an url in IP form (nn1.nn2.nn3.nn4). At the end of the servlet I do: response.sendRedirect(response.encodeRedirectURL(url + "?" + querystring)); If

Strange JSP Problem

2002-05-07 Thread Collins, Jim
I have a strange JSP problem with Tomcat 4. When I start Tomcat everything is fine and the JSP's are working OK. But when I load a particular JSP which always fails all other JSP's then stop working even the examples, and just display an empty html page, here is the html: I have to restart T

Is there a possibility to specify the minimum encryption rate for tomcat SSL support ?

2002-05-07 Thread Zimpel Frank
Older browser versions (for exemple IE4 ...) don't support 128 bit encryption rate. Is there a way to configure tomcat to deny all requests from clients, that are not capable of using 128 bit encryption rate. The SSL connection, using the configuration as described in "SSL How To", reduces the e

Terminating sessions problem. (bug?)

2002-05-07 Thread Garzon Maldonado, Jesus Javier
Hello all: When a user enter in my site sessions are used to store user data. I get the session using (request.getSession(true);). When users leave the site the session is invalidated (request.getSession().invalidate();). But, if users enter again from the same browser instance each call t

RE: SSL certificate help!

2002-05-07 Thread t . riteshmenon
Hi Raj, thanks for your detailed mail which was very helpful. I had followed the same., but i had another question. The certificate from verisign has been placed as instructed , but how do i enable the client i.e browser in my case for the same . does anything specific has to be done? prior to d

JVM Bind error

2002-05-07 Thread kelly, Burrowa
During runtime when I change a class file, tomcat 4.0.3 is supposed to reload that class(due to reloadable=true in server.xml). But instead, I get some JVM Bind error. Does anybody have any clue about this error. thanks. kb __ Do You Yahoo!? Ever

Problem with Tomcat 4.1.0 & IIS

2002-05-07 Thread Carlos Martins
Title: Problem with Tomcat 4.1.0 & IIS Hello, I have recently upgraded to Tomcat 4.1.0 Also upgraded my isapi_redirect.dll with the version located in http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/bin/win32/i386/ I have IIS as web server and Tomcat listening to redirections

Re: tomcat4 apache mod_jk : problem in setup

2002-05-07 Thread Bernd Koecke
Hi, this is a problem with the build.xml scripts. I had the same problem, too. Your apache seems to be compiled with -EAPI, e.g. for mod_ssl. I don't know if there is a compiled dso with EAPI enabled. I build the connectors on my own with cvs repository from jakarta-tomcat-connectors. You find

Re: Ejb vs jsp

2002-05-07 Thread Nikola Milutinovic
> Hello, > Because I am curious about how these technologies are used in the real > world. I would like to know how do you professionals use as your rule of > thumb wether or not you are going build web based application using > Enterprise Javabeans or a standalone jsp applications. Why

  1   2   >