Hi!

2004-04-23 Thread tomcat-user
Norton AntiVirus eliminato1.txt Description: plain/text - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Help Please : Session problem with multiple Tomcats

2004-04-23 Thread Jacob Kjome
At 07:48 PM 4/23/2004 -0700, you wrote: Servelet Spec requires the session cookie to be JSESSIONID. If you launch two instances of IE, it should keep track of a session ID for each instance. That should let you do what you want. Mozilla just keeps one session ID, even with two instances. You have

RE: Help Please : Session problem with multiple Tomcats

2004-04-23 Thread Berry, Layton
Servelet Spec requires the session cookie to be JSESSIONID. If you launch two instances of IE, it should keep track of a session ID for each instance. That should let you do what you want. Mozilla just keeps one session ID, even with two instances. -Layton >-Original Message- >From: [

Re: FW: Tomcat stops loading when I run my servlet with

2004-04-23 Thread Justin Ruthenbeck
At 05:21 PM 4/23/2004, you wrote: Justin, I followed your advice immediately, but the exact same thing happens. My response was tongue-in-cheek, but that's ok. :) Just to restate the issue, my servlet hangs because it needs to obtain an XML Schema from localhost:8080. But it can't get it, becau

Problem with getting mod_jk to work with apache 2

2004-04-23 Thread Randy
Hello, I have just built a new box I can not seem to talk to tomcat via the connector. And what is really frustrating I can not find anything in any of the error log files. Thanks for any help Here is the info Rh 9 Apache 2.0.40 Tomcat 4.1.30 I am using the mod_jk connector (jk-1.2.5) It bu

Re: FW: Tomcat stops loading when I run my servlet with

2004-04-23 Thread Jacob Kjome
You are trying to load it up via HTTP? That seems a bit overkill when you are on the same server. Just load it like this... context.getResourceAsStream("/WEB-INF/config/myfile.xml"); Should be able to use something like an Entity resolver to provide the schema. This is done commonly for DTD'

Re: FW: Tomcat stops loading when I run my servlet with

2004-04-23 Thread QM
On Fri, Apr 23, 2004 at 08:21:54PM -0400, Adrian Klingel wrote: : Just to restate the issue, my servlet hangs because it needs to obtain an : XML Schema from localhost:8080. But it can't get it, because Tomcat won't : finish loading until the servlet is finished. But the servlet won't finish : un

FW: Tomcat stops loading when I run my servlet with

2004-04-23 Thread Adrian Klingel
Justin, I followed your advice immediately, but the exact same thing happens. Just to restate the issue, my servlet hangs because it needs to obtain an XML Schema from localhost:8080. But it can't get it, because Tomcat won't finish loading until the servlet is finished. But the servlet won't f

Help Please : Session problem with multiple Tomcats

2004-04-23 Thread tschroeck
Can anyone assist on this one? Does Tomcat have the ability to name the session cookie differently ( like BEA Weblogic does )? We are running multiple Tomcat servers with multiple JVM's and ports. Everything works fine except for the sessions. When using one browser (IE) and I flip back

Re: Tomcat stops loading when I run my servlet with

2004-04-23 Thread Justin Ruthenbeck
Yes. Rip out the load-on-startup. Now. Don't wait till Monday. Replace with a context listener (see: javax.servlet.ServletContextListener). Relax and have a stress-free weekend. justin At 01:55 PM 4/23/2004, you wrote: Look at listeners. I think there was a similar thread a while back and

Re: A word of caution upgrading Tomcat

2004-04-23 Thread QM
On Fri, Apr 23, 2004 at 02:37:04PM -0400, John H wrote: : I hate to open a can of worms, but I see no other choice. Something needs to : be done about features that appear and disappear seemingly randomly between : versions. This isn't a flame, so please don't take it as such: Products ev

Re: auto-configuration of mod_jk

2004-04-23 Thread Emerson Cargnin
Let me clear a little : I used tomcat 3.2.3 with mod_jk, and automatic configuration I'm upgrading to tomcat 5 I got mod_jk to work nicely The problem is the automatic generation of mod_jk.conf - It generates the tag regarding to virtualhost, so apache is unable to read the jkMount directives

Re: Tomcat stops loading when I run my servlet with

2004-04-23 Thread Parsons Technical Services
Look at listeners. I think there was a similar thread a while back and the solution was to have a listener kick off the servlet after all the other processes were done. You could also have your servlet start and then wait for a certain amount of time, to allow time for all other processes to start.

I have to be missing something simple

2004-04-23 Thread Randy
Hello, I have just built a new box I can not seem to talk to tomcat via the connector. And what is really frustrating I can not find anything in any of the error log files. Thanks for any help Here is the info Rh 9 Apache 2.0.40 Tomcat 4.1.30 I am using the mod_jk connector (jk-1.2.5) It bu

Re: A word of caution upgrading Tomcat

2004-04-23 Thread Parsons Technical Services
John, I am in no way an expert on Tomcat, but I do know that some things are driven by the spec and not the developers. I am also sure that some things have come and gone in versions. For feature one, I would submit a bug report on the documentation, not the software, and outline in detail as you

Re: Accessing Dll's

2004-04-23 Thread Wade Chandler
armalai_uk wrote: Hi Wade., Thank you very much! I can pass the System.loadlibrary method...while calling my method only i'm getting error. Actually i did copy the dill to winnt/system32 and jre/bin folder. Dll accessing java code i recompiled with new jdk. So i'm in right way right? what will

Re: Apache not sending the requested URL to Tomcat...

2004-04-23 Thread Kurt
Thanks for the suggestions. I ended up following this document: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html And everything is working just fine now. request.getServerName() returns the aliased domains and the main domain as appropriate. I'm going to compare the conf

Re: TC5 java mail woes

2004-04-23 Thread Mark Lowe
Yeah .. sure thanks.. On 23 Apr 2004, at 21:24, Filip Hanik ((lists)) wrote: javax.activation in both by webapp lib directory and common/lib don't put the same class file in two different locations to be loaded by two different classloaders. remove it from webapp/lib and keep it only in common/

Tomcat stops loading when I run my servlet with

2004-04-23 Thread Adrian Klingel
I have a servlet which calls a method on itself to poll a directory for XML files. When one is found, another method ("read()" is called which then creates a SAX parser and attempts to validate the file against an XML schema. Upon calling the "parse()" method, Tomcat freezes. It doesn't create o

Re: Please Help (Tomcat 4.1.30)!

2004-04-23 Thread Qin Ding
I load my application from SunOne Web server to Tomcat (4.1.30). After starting Tomcat, I issued the URL http://localhost:8080/gmemd, I got the first page without all the images. Clicked the login, I got 404 error: requested resources (/servlet/Login) is not available. Here is part of the we

FOUND VIRUS IN MAIL from to

2004-04-23 Thread virusalert
V I R U S A L E R T Our viruschecker found a VIRUS in your email to "<[EMAIL PROTECTED]>". We stopped delivery of this email! Now it is on you to check your system for viruses In file: /usr/local/mav/basedir/i3NJmf7n010239/i3NJmf7n010239 F

RE: TC5 java mail woes

2004-04-23 Thread Filip Hanik \(lists\)
>javax.activation in both by webapp lib directory and common/lib don't put the same class file in two different locations to be loaded by two different classloaders. remove it from webapp/lib and keep it only in common/lib, and try again filip -Original Message- From: Mark Lowe [mailto:[

JSP Development settings with Tomcat5

2004-04-23 Thread Richard Mixon (qwest)
Is it possible to deploy from a war file using the deployer, but then have in-place JSP modifications detected and re-compiled dynamically? I have been unable to achieve this. I have searched the archives, read the doc and find nothing about what the recommended development setup is for doing act

RE: Init parameters in default context

2004-04-23 Thread Mark Thomas
> -Original Message- > From: Keith Hankin [mailto:[EMAIL PROTECTED] > I am trying to specify init context parameters in the default > context in server.xml as follows: > > > This is the ROOT context, not the default context. Hence your parameter will only be available in the

RE: servlet.http?

2004-04-23 Thread Mark Thomas
Depends on your compiler. Look on the docs for how to set the classpath for the compilier and ensure that all the necessary jar files are included. Mark > -Original Message- > From: Kalin Mintchev [mailto:[EMAIL PROTECTED] > Sent: Friday, April 23, 2004 9:03 AM > To: [EMAIL PROTECTED] >

RE: tomcat 5 and cgi-bin

2004-04-23 Thread Mark Thomas
Prior to 5.0.17, the cgi executable was hardcoded to perl. From 5.0.17 onwards this is configurable. For example, if you wanted to use XXXapp as the perl executable, edit conf/web.xml to look something this: cgi org.apache.catalina.servlets.CGIServlet client

Re: Accessing Dll's

2004-04-23 Thread armalai_uk
Hi Wade., Thank you very much! I can pass the System.loadlibrary method...while calling my method only i'm getting error. Actually i did copy the dill to winnt/system32 and jre/bin folder. Dll accessing java code i recompiled with new jdk. So i'm in right way right? what will be issue in my cas

A word of caution upgrading Tomcat

2004-04-23 Thread John H
I hate to open a can of worms, but I see no other choice. Something needs to be done about features that appear and disappear seemingly randomly between versions. Here are a few examples. Despite what the documentation says (which may or may not be accurate), these features really worked, and now

Re: Accessing Dll's

2004-04-23 Thread Wade Chandler
Wade Chandler wrote: armalai_uk wrote: Hi., This code has been written in JDK 1.3.0_03 couple of years back and i implemented in JRun 3.1 Now i'm trying to use this same code in Tomcat 4.1 with J2SDK 1.4.2_03. According to your previos mail i understand that i have to rewrite the code using

Re: Accessing Dll's

2004-04-23 Thread Wade Chandler
armalai_uk wrote: Hi., This code has been written in JDK 1.3.0_03 couple of years back and i implemented in JRun 3.1 Now i'm trying to use this same code in Tomcat 4.1 with J2SDK 1.4.2_03. According to your previos mail i understand that i have to rewrite the code using J2SDK 1.4.2 specificatio

RE: JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5]

2004-04-23 Thread tomcatuser
I was wondering if you have figured all of this out. I am running into the same problem. I am trying to figure out how to get around the gdbm library problem. ---Original Message--- > From: Yang Xiao <[EMAIL PROTECTED]> > Subject: RE: JK2 JNI link bug [Was: Re: Apache2+Jk2+To

Re: TC5 java mail woes

2004-04-23 Thread Mark Lowe
It was the crack.. I had an old mail jar kicking around in my ext directory.. I killed it works fine.. No mail jar required in the webapps lib directory.. Just common/lib with activation.jar mark On 23 Apr 2004, at 17:42, Mark Lowe wrote: Hello After posting this problem yesterday I went awa

RE: Tomcat and restricting the size of HttpServletRequest

2004-04-23 Thread Justin Ruthenbeck
At 07:03 AM 4/23/2004, you wrote: This also begs the question as to when my servlet gets to see an incoming request - I was concerned that by the time my servlet gets to see the incoming request Tomcat had already read the incoming data and stored it in the HttpServletRequest object - in which

RE: Apache not sending the requested URL to Tomcat...

2004-04-23 Thread Malathi Jivan
Could someone please send me steps on how to do this? Connecting apache and tomcat using virutal host settings seems to be exactly what I need. I really dont care about mutiple virtual hosts at this point so instructions for just one are fine. Thanks for your help in advance, Malathi From: "Mi

RE: Apache not sending the requested URL to Tomcat...

2004-04-23 Thread Mike Curwen
I've wondered about this as well, and perhaps this is what you need:? http://httpd.apache.org/docs/mod/core.html#usecanonicalname I have a production app that depends on the behaviour you want changed (my tomcat app depends on ServerName being passed for all requests through ServerAlias), but it s

Re: JSPs not compiled under different instances of Tomcat

2004-04-23 Thread Marco CAMPIGLIO
Thanks everybody. I had a look at my logs files and I found out it was a problem of Classpath. I edited setclasspath.bat under CATALINA_HOME and rebuilt the correct classpath. Then Uninstalled/RE-Installed the service and everything goes well. Thanks again and have a nice week end! MarcoC

RE: URL Mapping Question

2004-04-23 Thread Moran Ben-David
I have wondered the same thing regarding Contexts and URI's in the workers file.. I'm using JK (1) now as I didn't know if that was a bug or by design in JK2. In JK there doesn't seem to be a "context" option, which leads me to believe that in JK2 it follows the same design? Sorry that wasn't m

Nested tags in Tomcat 5

2004-04-23 Thread Murray, Dagmar C
I am having trouble getting nested tags to work in Tomcat. The code below results in the error that follows. If I remove the nested forEach it works. If I use Item in the first forEach it fails. The second .jsp code shows how it does work in Tomcat4. We've had the same experience with custom

RE: SESSION PROBLEM in UNIX

2004-04-23 Thread Yansheng Lin
Forgot to include the line: request.getSession.invalidate(); should be sufficient, I hope. -Yan -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: April 23, 2004 10:08 To: 'Tomcat Users List' Subject: RE: SESSION PROBLEM in UNIX Hi Good. You are making progress

RE: SESSION PROBLEM in UNIX

2004-04-23 Thread Yansheng Lin
Hi Good. You are making progress on this one:). You mentioned that sessionDestroyed() was never called, eh. Well, that means at that point that particular session is still in the pool, i.e., it hasn't been invalidated yet. I would like to know how you configured your session time-out. i.e.,

RE: Accessing Dll's

2004-04-23 Thread Peter Guyatt
Hi There, Just to clarify things if you have the following: package test; public class Test1 { public native int getVersion(); //load the library static { try { System.loadLibrary("SystemUtilities"); } catch (java.lang.Uns

Apache not sending the requested URL to Tomcat...

2004-04-23 Thread Kurt
In Apache I have VHosting setup so that multiple domains all share the same pub directory. In Tomcat I have VHosting setup so that multiple domains all share a single web application INSTANCE When I have Apache pass requests to Tomcat, only the domain specified in the "ServerName" attribute of the

Apache2.0.49/mod_jk2 and unix domain socket update

2004-04-23 Thread tomcatuser
I just downloaded the fedora core 1 mod_jk2 binary and am getting the same errorr.help ! ---Original Message--- > From: tomcatuser <[EMAIL PROTECTED]> > Subject: Apache2.0.49/mod_jk2 and unix domain socket > Sent: 23 Apr 2004 12:39:15 > > I am trying to get mod_jk

TC5 java mail woes

2004-04-23 Thread Mark Lowe
Hello After posting this problem yesterday I went away and assumed that the problem must be the consequence of my IQ deficit and/or all crack smoking.. Before I start , yes I have the java mail 1.31 and a recent copy of javax.activation in both by webapp lib directory and common/lib I added

Re: session-id prediction

2004-04-23 Thread Tim Funk
http://marc.theaimsgroup.com/?t=10420795603&r=1&w=2 As long as you have SecureRandom available - you should be OK. (Unless Sun's implementation is bad.) -Tim Bill Gorr wrote: I know that the space is theoretically 128 bit (2^128) but who can promise that it is not made of 12 bits of seed (

Re: session-id prediction

2004-04-23 Thread Bill Gorr
I know that the space is theoretically 128 bit (2^128) but who can promise that it is not made of 12 bits of seed (which are very predictable ..). I was looking in the archive before my posting and found nothing about it, can you please point out one of the postings? thanks, Bill - Origina

Re: JSPs not compiled under different instances of Tomcat

2004-04-23 Thread Parsons Technical Services
Did you set CATALINA_BASE= not CATALINA_HOME= ? Look in the RUNNING.txt at step 4. Doug - Original Message - From: "Marco CAMPIGLIO" <[EMAIL PROTECTED]> To: "tomcat-user" <[EMAIL PROTECTED]> Sent: Friday, April 23, 2004 10:57 AM Subject: JSPs not compiled under different instances of

Re: JSPs not compiled under different instances of Tomcat

2004-04-23 Thread Giacomo Veneri
1. verify your %JAVA_HOME% 2. verify th jdk path running "catalina.bat run" - Original Message - From: "Marco CAMPIGLIO" <[EMAIL PROTECTED]> To: "tomcat-user" <[EMAIL PROTECTED]> Sent: Friday, April 23, 2004 4:57 PM Subject: JSPs not compiled under different instances of Tomcat Hi all!

JSPs not compiled under different instances of Tomcat

2004-04-23 Thread Marco CAMPIGLIO
Hi all! I'm running two instances of Tomcat 4.1.30 on a Windows 2000 machine. The two instances listen to port 8080 and 7001 (ok I'd like BEA...). With both I'm having problems compiling JSP pages. For example, as soon as I try to access to the examples folder and try to compile one JSP, here it

RE: session-id prediction

2004-04-23 Thread Ralph Einfeldt
AFAIK the session id has a random part so you need either quite some luck to guess the number or you have to find a bug in the random generator. > -Original Message- > From: Bill Gorr [mailto:[EMAIL PROTECTED] > Sent: Friday, April 23, 2004 5:35 PM > To: [EMAIL PROTECTED] > Subject: sess

Re: session-id prediction

2004-04-23 Thread Tim Funk
They'd have to be one incredible guesser. Session ids are random and the session ID space is gigantic. Check the archives for a session id duplication discussion that went through all the math details. -Tim Bill Gorr wrote: Hello all, Is there something in Tomcat that stops an adversary from

Re: Tomcat and restricting the size of HttpServletRequest

2004-04-23 Thread Tim Funk
Content length should be the same value as the Content-Length header. Otherwise - I think it should be unknown. (Since it mirrors the cgi env var CONTENT_LENGTH) If possible - you should try to force the client to send a Content-Length -Tim Varley, Roger wrote: There is a max POST size lim

RE: log verbosity in tomcat

2004-04-23 Thread Benjamin Armintor
There are two things that will impact the level of information in the logs you get: 1) The server.xml debug attribute settings, which will determine whether the catalina code will try to log a message 2) The settings on your logger, which will determine whether a message gets logged It sounds like

session-id prediction

2004-04-23 Thread Bill Gorr
Hello all, Is there something in Tomcat that stops an adversary from guessing someone else session-id and preform a session hijacking? thanks. Bill

Re: Memory problem with tomcat 4130

2004-04-23 Thread Software
Hi 1. I'm using the top command to get information about the memory Mem: 1030392k av, 707688k used, 322704k free, 0k shrd, 118096k buff 354852k actv, 136300k in_d,1676k in_c Swap: 2048248k av,2832k used, 2045416k free 434288k cached If you

Init parameters in default context

2004-04-23 Thread Keith Hankin
I am trying to specify init context parameters in the default context in server.xml as follows: This is the only context I have listed in server.xml. Then I have my Servlet class as follows: public abstract class JdbcServlet extends HttpServlet { public void init(ServletCon

Re: Accessing Dll's

2004-04-23 Thread Parsons Technical Services
Malai, Until Wade can answer with some more assistance, I wanted to let you know that you "should" be able to run any code developed on previous versions of java on the newer JDK. If you look up the release information on Suns site for 1.4 it should have notes on any issues for moving from 1.3 to

Re: Tomcat and restricting the size of HttpServletRequest

2004-04-23 Thread Parsons Technical Services
Roger, With an applet there would be no URL. The applet would handle the file transfer and thus control the upload. It could even go as far as to authenticate the user and log the user information. If it is a big concern protect it and force the users to request a username and password. Then email

RE: Is it Tomcat problem or my problem?

2004-04-23 Thread Mike Curwen
When debugging a session problem, I find it very helpful to force my browser to ask me about every cookie. This way, I can see for sure the JSESSIONID cookie being set, and can inspect things like the domain and the jsessionid value. In my coding adventures, I've tracked down two "Hey my session

RE: Tomcat and restricting the size of HttpServletRequest

2004-04-23 Thread Varley, Roger
> > I remember a previous discussion on this and one of the > solutions was to use > an applet that would check the file size prior to transmission. > I can do that if the remote end is using my client - my concern is that once the URL is "known" anyone could write a program that writes huge a

RE: URL Mapping Question

2004-04-23 Thread Varley, Roger
I have now managed to get it to work. I have defined two contexts (InboundA and InboundB) in server.xml and specified Inbound as the docBase for both contexts. So, what does the context parameter in workers2.properties actually do? Regards Roger > > > > -Original Message- > > From: V

Re: Tomcat and restricting the size of HttpServletRequest

2004-04-23 Thread Parsons Technical Services
I remember a previous discussion on this and one of the solutions was to use an applet that would check the file size prior to transmission. Can't remember if there were others. Is there anyway to monitor the size of the object as it is uploaded and terminate it if it exceeds a certain size? Just

RE: Tomcat and restricting the size of HttpServletRequest

2004-04-23 Thread Varley, Roger
> > There is a max POST size limit attribute on the Connectors. > > Otherwise - you can code for it too: > request.getContentLength() == Size of posted content. -1 if > the client did > not provide a Content length. > I wondered about request.getContentLength() but was worried that it was c

Re: Tomcat and restricting the size of HttpServletRequest

2004-04-23 Thread Tim Funk
There is a max POST size limit attribute on the Connectors. Otherwise - you can code for it too: request.getContentLength() == Size of posted content. -1 if the client did not provide a Content length. -Tim Varley, Roger wrote: Hi I have an application where a client transmits data to a servle

RE: URL Mapping Question

2004-04-23 Thread Varley, Roger
> -Original Message- > From: Allistair Crossley [mailto:[EMAIL PROTECTED] > Sent: 23 April 2004 13:54 > To: Tomcat Users List > Subject: RE: URL Mapping Question > > > You definately did a hard IIS restart..? I have done simple > stop/start ones using the controls and found this does n

Tomcat and restricting the size of HttpServletRequest

2004-04-23 Thread Varley, Roger
Hi I have an application where a client transmits data to a servlet by opening a URLConnection to the servlet and writing the data to the outputStream as a POST request which the servlet processes by reading the HttpServletRequest inputStream. What can I do to protect my servlet against a rogue

Re: Accessing Dll's

2004-04-23 Thread armalai_uk
Hi., This code has been written in JDK 1.3.0_03 couple of years back and i implemented in JRun 3.1 Now i'm trying to use this same code in Tomcat 4.1 with J2SDK 1.4.2_03. According to your previos mail i understand that i have to rewrite the code using J2SDK 1.4.2 specifications. Is it correct?

Re: Memory problem with tomcat 4130

2004-04-23 Thread Parsons Technical Services
Fabian, I am not sure if I have the answer to your memory problem but let me give you some information to get more help from others. 1. Where are you looking to see this memory use? 2. Does Tomcat stop responding? 3. Have you loaded any of your applications? No 4. Are you using a database? 5.

RE: Open Source JSP / Taglib Calendar

2004-04-23 Thread Jerry Jalenak
Eric - Oops - sent the wrong one. Try this one: http://www.mattkruse.com/javascript/calendarpopup/ The first one I sent you have to pay for - this one is a freebie 8-) Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PRO

RE: Open Source JSP / Taglib Calendar

2004-04-23 Thread Jerry Jalenak
Eric - This is one of the more popular Calendaring tools that I've come across. It's written entirely in JavaScript, but is very simply to implement. http://www.calendarscript.com/ Good luck. Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219

RE: URL Mapping Question

2004-04-23 Thread Allistair Crossley
You definately did a hard IIS restart..? I have done simple stop/start ones using the controls and found this does not reload the mappings. -Original Message- From: Varley, Roger [mailto:[EMAIL PROTECTED] Sent: 23 April 2004 13:51 To: [EMAIL PROTECTED] Subject: URL Mapping Question Hi

URL Mapping Question

2004-04-23 Thread Varley, Roger
Hi I have Tomcat 4.4.18 running behind Microsofts IIS web server. In IIS I have two virtual directories defined InboundA and InboundB both of which are mapped to the same physical directory $TOMCAT_HOME/webapps/Inbound. In workers2.properties I have added the lines ... [uri:/InboundA/*] context

RE: servlet.http?

2004-04-23 Thread Yang Xiao
Hi You need to include the servlet-api.jar under $CATALINA_HOME/common/lib in your classpath. Yang -Original Message- From: Kalin Mintchev [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 4:03 AM To: [EMAIL PROTECTED] Subject: servlet.http? hi all... this is my first question on

Apache2.0.49/mod_jk2 and unix domain socket

2004-04-23 Thread tomcatuser
I am trying to get mod_jk2 working with Apache2.0.49 on Fedora Core 1. I want to try out the mod_jk2's ability to communicate with Tomcat using the unix domain socket capability. Does anyone have a howto on setting this up? I have tried to set the following parameters in jk2.properties chann

Reloading servlets instantly.

2004-04-23 Thread Antony Paul
Hi all, Is it possible to decrease the time taken to check for changes of a servlet to reload ?. I want to instantly reload the servlet(within 1 second). Sometimes I have to wait a few seconds to happen this and using the Ant reload task is time consuming. I am using Tomcat 4.1.27 with a default

tomcat 5 and cgi-bin

2004-04-23 Thread zhicheng wang
dear all i am trying to upgrade our server to t5, but the cgi-bin now only allows perl programs to be executed (by default). for compiled c or c++ etc, how do i modify the web.xml? many thanks cheng = Best wishes Z C Wang _

Re: [Info] Clustering and Loadbalancing

2004-04-23 Thread Peter Lin
decent article and a good introduction to tomcat5's clustering. thanks for posting it. peter --- Ralph Einfeldt <[EMAIL PROTECTED]> wrote: > > A two part article on clustering and loadbalancing > with tomcat: > > http://www.onjava.com/lpt/a/4649 > http://www.onjava.com/lpt/a/4702 > > ---

Re: Memory problem with tomcat 4130

2004-04-23 Thread Software
How knows how do i make to resolve this problem, is necesary to recompile the default kernel of linux redhat 9.0 and what flag must i to select. thanks? Software wrote: Hi, i've installed tomcat 4130 in my linux redhat 9.0 with the default kernel and j2sdk1.4.0 in a server with 1 GB RAM and 2

Re: Bean's problem

2004-04-23 Thread QM
On Fri, Apr 23, 2004 at 09:21:51AM +0200, Wojtek Gnus wrote: : I've changed my CLASPATH - didnt help me. : Any ideas? Yes, and this is the big tipoff: [javac] class file contains wrong class: Select_zmiana Have you changed the source files to match the package designation? That is, you'

Re: another problem with JAAS

2004-04-23 Thread Adam Hardy
Michiel, that would be the one that you put there, right? Adam On 04/23/2004 10:33 AM Michiel Toneman wrote: Oops, missed the "How" ;-) Subject subject = (Subject)session.getAttribute("javax.security.auth.subject"); if (subject == null) { subject = new Subject();

Re: Here is the document

2004-04-23 Thread tomcat-user
Here is the file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: SESSION PROBLEM in UNIX

2004-04-23 Thread MUKUND Premchander
HI , Any suggestions on the problem reported below .I would like to add another point that this works perfectly in Linux . I have tomcat4 running in linux and the session does not become null .As I mentioned before in Windows it works fine ..Only in HP Unix I get this problem of the session varia

Session browsing/modifying

2004-04-23 Thread Veniamin Fichin
Hello all! Can anybody tell me how can I archive subj? I need to view all sessions rotating in a server and have an ability to modify their content, mainly for testing/debugging purposes. I'm able to walk through Tomcat containers hierarchy ServerFactory.getServer() server.findServices()

Re: Hello

2004-04-23 Thread tomcat-user
Please have a look at the attached file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

FOUND VIRUS IN MAIL from to

2004-04-23 Thread virusalert
V I R U S A L E R T Our viruschecker found a VIRUS in your email to "<[EMAIL PROTECTED]>". We stopped delivery of this email! Now it is on you to check your system for viruses In file: /usr/local/mav/basedir/i3N9tNMp016459/i3N9tNMp016459 F

[Info] Clustering and Loadbalancing

2004-04-23 Thread Ralph Einfeldt
A two part article on clustering and loadbalancing with tomcat: http://www.onjava.com/lpt/a/4649 http://www.onjava.com/lpt/a/4702 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Applet to Servlet session fails

2004-04-23 Thread UmamaheswarKalluru
Can you help me with more source please? I am using To 04/23/2004 01:03 Tomcat Users List PM

Re: another problem with JAAS

2004-04-23 Thread Beloglazov Maksim
Michiel Toneman wrote: Hi Beloglazov, I was running into the same problem. As far as I can tell (anyone on the list, please correct me if I'm wrong), Tomcat primarily uses JAAS for authentication, but it is pretty useless for authorisation. I have no idea why the JAASRealm goes to all the tro

Re: Document

2004-04-23 Thread hgomez
Please read the attached file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: another problem with JAAS

2004-04-23 Thread Michiel Toneman
Oops, missed the "How" ;-) Subject subject = (Subject)session.getAttribute("javax.security.auth.subject"); if (subject == null) { subject = new Subject(); } else { System.out.println("According to the Filter, the subject is: " + subject); } and

log verbosity in tomcat

2004-04-23 Thread Beloglazov Maksim
Hello, I tried to increase log verbosity in server.xml file by setting debug attribute of Engine and Realm tags to 99. Verbosity of Logger I set to 4. But still only INFO messages are displayed in the log file while Jakarta docs says that * "Debugging and exception messages logged by this |

servlet.http?

2004-04-23 Thread Kalin Mintchev
hi all... this is my first question on this list so please be gentle... i'm trying to use a servlet that talks to a j2me application on some cell phone. the thing is when i try to compile the code on the server machine (i put it under the tomcat's servlet examples) i get an error that i have the

Re: Bean's problem

2004-04-23 Thread Wojtek Gnus
I've changed my CLASPATH - didnt help me. Any ideas? Wojtek - Original Message - From: "Wojtek Gnus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 22, 2004 10:27 AM Subject: Bean's problem > Hello > > I'm back in bussines but I've changed version of Tomcat > from 3.

Re: Applet to Servlet session fails

2004-04-23 Thread Veniamin Fichin
[EMAIL PROTECTED] wrote: I have a JSP page that has an applet embeded in it. The Applet talks to a Servlet. I have a session within the JSP when I try to access the session within my Servlet, I get NullPointerException as there is no session object. How do I get the session object in my Servlet th

Applet to Servlet session fails

2004-04-23 Thread UmamaheswarKalluru
Hello, I have a JSP page that has an applet embeded in it. The Applet talks to a Servlet. I have a session within the JSP when I try to access the session within my Servlet, I get NullPointerException as there is no session object. How do I get the session object in my Servlet that is present