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

2002-05-07 Thread Tony LaPaso
Hi all, This is a core Java language issue but its roots are in servlets. I have a servlet (running on Tomcat v4.0.3), MyServlet, which calls Class.forName(XXX) in it's init() method. Now class XXX has a static initializer that opens a file for output and keeps it open. Later, I change the

Re: solaris netscape

2002-05-07 Thread Jon Barber
I bet you're not setting the MIME type of the response correctly (can't remember the API call off the top of my head). But the default is not text/html, and Mozilla correctly asks the user what to do. Internet Explorer treis to guess the content type from the stream, so you can often get away

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

2002-05-07 Thread tamir
Hi Tony, Here is my notion: What you're using is tomcat automatic class reloading. When you compile class MyServlet tomcat drop it's current class loader and creates a new one which loads all your classes again. I think, if you should try to remove you class XXX outside of web-inf/classes and put

Urgent Urgent Plz Help

2002-05-07 Thread # Lalit Nagpal #
i have set multipart/form-data tag in my html form tag. i need to get a form filled in by the visitors and also an attachment on the same form (file upload). i am using oreilly classes. problem is when i try to get data + file on the server using MultipartRequest class of oreilly i get the error

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

2002-05-07 Thread Phillip Morelock
Unfortunately I believe that's what static initialization is. It's not totally clear whether this will help you, but here's a link that describes the order things are done in: http://www.javaworld.com/javaworld/jw-11-2001/jw-1102-java101.html cheers fillup At Tuesday, 7 May 2002, you wrote:

RE: Problem: JSP calls singleton. Singleton's data changes, but JSP s till shows old data from that singleton

2002-05-07 Thread Chris Campbell
Assuming the browser is not just giving you a cached page, in the servlet, if you log the contents of _instance just before return _instance; do you see the new data? ChrisC -Original Message- From: Pykalainen, Eero [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 8:34 PM

RE: Classloader question

2002-05-07 Thread tamir
Hi, I had many problems with classloaders using tomcat 3.3.1. I think you shouldn't be suprised by the LinkageError, cause you actually load this class twice, once by the context class loader and second by the apps class loader. What I don't remember is the hirarcy between these two class loaders

Warning: VIRUS!!!

2002-05-07 Thread Sergei Batiuk
Hi all, if you have just received message starting with 'A funny web site' -- do not open it! This message has been sent by a virus!!! I hope this is not too late... Yours, Sergei -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: How to add a throw exception to a servlet

2002-05-07 Thread Raphael
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm late with this reply but thanks! Le Vendredi 03 Mai 2002 12:26, Ion Larranaga a écrit : Hi, There's no way to add new exception types to the doPost method. However, you could do something like: public void doPost(HttpServletRequest

Re: mod_webapp.dll

2002-05-07 Thread @Basebeans.com
Subject: Re: mod_webapp.dll From: Bruno V [EMAIL PROTECTED] === You can find it here : http://www.acg-gmbh.de/mod_jk/ Other guides, how-to about Apache + Tomcat + connectors : http://bruno.vernay.free.fr/HowTo/bWebServerHowTo/ch05.html -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

Re: Can't build mod_webapp.so

2002-05-07 Thread @Basebeans.com
Subject: Re: Can't build mod_webapp.so From: Bruno V [EMAIL PROTECTED] === You should check : http://www.pubbitch.org/jboss.html Other guides and tutorial about Apache + tomcat + connectors : http://bruno.vernay.free.fr/HowTo/bWebServerHowTo/ch05.html -- To unsubscribe, e-mail:

tomcat4 apache mod_jk : problem in setup

2002-05-07 Thread userlist
I am refering packages and text from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/rpms/ and I did setup of tomcat4 and apache, I can see servlets using tomcat4's web server but after putting mod_jk connector when I restart httpd ( i.e apache ) I get following error.

Off-Topic question..

2002-05-07 Thread Murat Buyukkal ([EMAIL PROTECTED])
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 deleted from my local box. I want to preserve the old messages in

R: implicit object servlet

2002-05-07 Thread Alessio Fiore
I think you're talking about struts... AFAIK a taglibrary is not directly related to a servlet, but a tag handler has access to the request, where struts sets an attribute for each datasource, which name is corrisponding to datasource's key attribute: HttpServletRequest req =

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

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

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

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!?

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

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

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

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: !DOCTYPE HTML PUBLIC

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

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/frontpage

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 login-config? do i have to include that too. i was also not clear abt the redirectPort bit - where cud i get more help?

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 I don't know

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 deleted from my local box. I

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

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

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

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

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

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: mailto:[EMAIL PROTECTED] For additional

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 :

RE: Classloader question

2002-05-07 Thread Larry Isaacs
The classloader diagram is found at: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#configuring_classes 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

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

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

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,

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

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

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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

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

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

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]

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 jsp:plugin tags. Applets are packaged in jars

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,

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

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

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

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

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)) { MultipartRequest

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

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, but not

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

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: mailto:[EMAIL PROTECTED] For

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

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

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 such

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

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

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

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

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:

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

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

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

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

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

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.

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

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

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 called

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,

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

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

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 the

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

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

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: form name=insertForm action=/servlet/CatalogServlet onSubmit=return

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

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 file

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

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

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

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

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 -

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

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

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 with jdk

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.

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.

  1   2   >