Tomcat, JNDI, Active Directory

2004-10-14 Thread Roland Carlsson
Hi! Is there anyone out there who would like to figure out what I am doing wrong when trying to create a realm in Tomcat that is supposed to authenitcate users over JNDI against an Active Directory server. In my server.xml I have the following ldap://192.168.10.10:389"; alternateURL="ldap://192.

Re: bad syntax - ignore or throw exception?

2004-10-14 Thread muss
Try... 404 >/WEB-INF/jsp/Error.jsp 406 >/WEB-INF/jsp/Error.jsp I am not sure if you can combine them in one tag however some of our more experienced people on this list might be able to field this one. This is what I do in my web.xml file and it works as I want it to

Re: What's up with all these "Hi" virus

2004-10-14 Thread Michael McGrady
I am getting those too. Hundreds of them. Irritating. V D wrote: Should the server has email filter that throws out these. Or maybe it comes from different server? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: How to redirect http to https automatically?

2004-10-14 Thread Antony Paul
Is it possible to switch from https to http using this kind of configuration ? I tried with NONE for user constraint but it still remains in https. rgds Antony Paul On Thu, 14 Oct 2004 08:40:31 -0700, David Wall <[EMAIL PROTECTED]> wrote: > This is part of the servlet specs. In your WEB-INF/

bad syntax - ignore or throw exception?

2004-10-14 Thread Steve Kirk
I'm trying to work out how to configure web.xml to use a custom error page when one of a list of HTTP status codes are encountered. Couldn't find any documentation, so pure guesswork led me to try this: 404,406 /WEB-INF/jsp/Error.jsp It doesn't

RE: Error on Tomcat startup

2004-10-14 Thread Aziz Yacoub
Thanks, tag in wrong order... >>> "Shapira, Yoav" <[EMAIL PROTECTED]> 13/10/2004 10:55:19 pm >>> Hi, There should be a message in the (normal, not error) log like "deploying web application at /path" -- that's how you can tell what web.xml caused the error. An alternative approach (which sh

What's up with all these "Hi" virus

2004-10-14 Thread V D
Should the server has email filter that throws out these. Or maybe it comes from different server? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

re: optimizing Tomcat 5 for webservices, that is using encryption

2004-10-14 Thread James Black
When I had rolled out my application, where the client is on about 400 machines, we ran into problems when the useage was too high, but didn't have time to figure out what was going on. One thing I noticed is that one field in the webservice may be encrypted, and decrypting is a slow operation,

Tomcat 5 pause (free gmail account for fix :-)

2004-10-14 Thread Stephen Duncan Jr
I haven't gotten around to really investigating the issue yet, but I'm having a similar problem, though on Windows with IIS. But what I have noticed is that the pause corresponds to connection errors being logged in the Windows event log from the ajp connector piece. It might just be a side e

Re: How todestroy a session manually???

2004-10-14 Thread Rick Wong
Yes. session.invalidate(). What is cool is that it even works with single-sign-on! Thanks to the Tomcat team! -- Rick John MccLain wrote: I have a session listener that clears out some static data on sessionDestroy. Is there a way for a logout button in a .jsp view to call some kind of destroy

Customizing Tomcat error page

2004-10-14 Thread Rick Wong
Hi, I am trying to replace the default Tomcat error page for my web applications. I understand that I can specify in the web.xml deployment descriptor, but that would require me to do that for every single error code. Looking at the HTTP response code, there is a potentially long list of cod

Re: Tomcat 5 pause (free gmail account for fix :-)

2004-10-14 Thread Will Hartung
> From: "Cox, Charlie" <[EMAIL PROTECTED]> > Sent: Thursday, October 14, 2004 12:54 PM > Is your machine swapping? 512MB can go quickly... It sounds like swapping to me. The problem is that even though you say "256MB" on the Java Heap, the heap consumes a LOT more than that in Real Ram, and coul

How todestroy a session manually???

2004-10-14 Thread John MccLain
I have a session listener that clears out some static data on sessionDestroy. Is there a way for a logout button in a .jsp view to call some kind of destroy session function so that a sessionDestroyed(..) handler in a session listener gets called? John McClain Senior Software Engineer TCS Healthca

RE: Help with mod_jk2

2004-10-14 Thread Mark Eggers
OK, I'm coming in a little late to this thread. Here is my configuration for a "typical" web application using mod_jk2.so. I am running this on Fedora Core 2 with httpd 2.0.52 and Tomcat 5.0.28. httpd.conf == # # general section - for all virtual hosts # LoadModule jk2_module mo

Re: VirtualHost problem

2004-10-14 Thread Ben Souther
A few things: 1. It's helpful to try connecting directly to Tomcat before dealing with the connectors. 2. The invoker servlet is not active by default so you will need to either activate it (not recommended) or map the servlet in your web.xml file. This also means that you can pull the "servlet"

Hi

2004-10-14 Thread craig . mcclanahan
-- Virus Warning Message (on uusnwa0p) Found virus WORM_NETSKY.Z in file Part-2.txt .exe (in Part-2.zip) The file is deleted.

VirtualHost problem

2004-10-14 Thread Jason Cook
Hi, everybody! I'm brand new to Tomcat, and I'm having problems making a customer's site accessible on a new Tomcat 5.0.27 installation. For the purposes of discussion, the customer's virtualhost name is secure.customername.com. The customer's website is located in /home/www/customername.com/sec

Re: MySQL driver randomly not found?

2004-10-14 Thread David Smith
In my experience, the driver in driverClassName should be a Driver class as in com.mysql.jdbc.Driver, not a Datasource like com.mysql.jdbc.jdbc2.optional.MysqlDataSource. However, individual mileage may vary. ;-) --David Larry Meadors wrote: Hahah, similar reasoning wth my symlink question...s

Re: Sun J2SE JVM + tomcat + Debian??

2004-10-14 Thread Horacio de Oro
Phillip Qin wrote: Find out jsvc. It's new, not in 4.1. Why don't you use startup.sh instead? I'm using jsvc because the shutdown.sh script gave me some problems... I don't know why, sometimes, shutdown.sh can't fully stop tomcat, this means, some threads don't "shut down", so I couldn't stop Tomc

Tomcat 5 help: POST not getting content from server

2004-10-14 Thread Dave Been
I've used tomcat since 2001 with our database sync product, use sysdeo in eclipse, etc. and tomcat 4.1.3 has been working fine. We have a new feature to do content-encoding: gzip and I tried tomcat 5.5 and tomcat 5.0 which have the following in server.xml: compression="on" compressionMinSize="

Tomcat smtp SSL transport?

2004-10-14 Thread Evgeny Gesin
I need to send email from Tomcat: - smtp server on localhost. - port 465. - smtp encrypts messages using SSL. - smtp authenticates users via CRAM-MD5. I probably need to add more parameters mail.smtp.host127.0.0.1 mail.smtp.port465 1. Do I need to set a specific mail.class of the provider, wh

Re: Tomcat 5 pause (free gmail account for fix :-)

2004-10-14 Thread Sam Gallant
We are going to run a test this evening with an application that someone else wrote other than our own developers to see if the problem still exists. When the problem occurs we hit 100% cpu util with jsvc (tomcat deamon) taking all of the cpu. Also we switched back to the standard collector with 12

Re: mandatory packages for beans in Tomcat 5.0?

2004-10-14 Thread Jonathan Wilson
Thanks to Larry and Yoav. I'm sorry that I didn't search hard enough(TC FAQ. duh!) and asked such a simple question. :) --JW Shapira, Yoav wrote: Hola, http://jakarta.apache.org/tomcat/faq/classnotfound.html Yoav Shapira http://www.yoavshapira.com -Original Message- From: Jonathan Wils

RE: Tomcat 5 pause (free gmail account for fix :-)

2004-10-14 Thread Dale, Matt
My next line of attack would be at the application itself. Is it possible that the application is locking somewhere or is poorly threaded in some respect? What does top say when the cpu spikes? ie what is the load? what is the top process? If you experienced out of memory errors before you used

Re: mandatory packages for beans in Tomcat 5.0?

2004-10-14 Thread Larry Meadors
Yes, this was added in tomcat 4.x, and is required. >>> [EMAIL PROTECTED] 10/14/04 2:27 PM >>> I'm evaluating TC 5.0 on Windows XP, coming from TC 3.3.1 on RH7.3. I can't get TC 5.0 to recognize any beans I put in the WEB-INF/classes directory(windows perms all good). If I put the bean into a pac

RE: mandatory packages for beans in Tomcat 5.0?

2004-10-14 Thread Shapira, Yoav
Hola, http://jakarta.apache.org/tomcat/faq/classnotfound.html Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: Jonathan Wilson [mailto:[EMAIL PROTECTED] >Sent: Thursday, October 14, 2004 4:27 PM >To: Tomcat Users List >Subject: mandatory packages for beans in Tomcat 5.

RE: Servlet caching?

2004-10-14 Thread Shapira, Yoav
Hi, >I would think that after reloading the servlet all the >classes that it had used would cease to exist. That is, any class that had >been instantiated or used by the servlet would not remain instantiated >after >I reload the servlet. Under most instances, but not all. For example, if the l

mandatory packages for beans in Tomcat 5.0?

2004-10-14 Thread Jonathan Wilson
I'm evaluating TC 5.0 on Windows XP, coming from TC 3.3.1 on RH7.3. I can't get TC 5.0 to recognize any beans I put in the WEB-INF/classes directory(windows perms all good). If I put the bean into a package and create the proper subdirectory under WEB-INF/classes/ it sees the bean. I don't have

Re: Tomcat 5 pause (free gmail account for fix :-)

2004-10-14 Thread Sam Gallant
Nope not swapping. Based on what we see in jvmstat/visualgc we typically have 64mb of data in old gen, 12mb of app data, and about 12 mb of new gen data. The OS still has free memory as well. On Thu, 14 Oct 2004 15:54:59 -0400, Cox, Charlie <[EMAIL PROTECTED]> wrote: > Is your machine swapping?

Re: Servlet caching?

2004-10-14 Thread QM
On Thu, Oct 14, 2004 at 04:20:08PM -0400, Carlos Oliva wrote: : I have found that even if I terminate every connection of the servlet to the : database and reload the servlet, the servlet still does not find the newly : installed printer. Please post the servlet, or provide a walk-through. It real

Re: Tomcat 5 pause (free gmail account for fix :-)

2004-10-14 Thread Sam Gallant
Matt, We have used jvmstat/visualgc which is how we found out that the problem happens at times when no gc is taking place. We are actually logging every second with jvmstat everyday at this point. The problem we are stuck at now is trying to figure out how to get more infomation out of the jvm whe

RE: Servlet caching?

2004-10-14 Thread Carlos Oliva
Hi Tim, I have found that even if I terminate every connection of the servlet to the database and reload the servlet, the servlet still does not find the newly installed printer. I would think that after reloading the servlet all the classes that it had used would cease to exist. That is, any cla

RE: Servlet caching?

2004-10-14 Thread Carlos Oliva
Hi Yoav, I have found that even if I terminate every connection of the servlet to the database and reload the servlet, the servlet still does not find the newly installed printer. I would think that after reloading the servlet all the classes that it had used would cease to exist. That is, any cl

Re: AW: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread raiden
I have not run benchmarks, no... thus the likely... which is based on past articles and discussions. However, here's an interesting/fairly recent thread: http://marc.theaimsgroup.com/?l=tomcat-user&m=106036177509367&w=2 Thank you, -Raiden Johnson On Thu, 14 Oct 2004, Steffen Heil wrote: > Hi

RE: Tomcat 5 pause (free gmail account for fix :-)

2004-10-14 Thread Shapira, Yoav
Hi, Excellent post, that one from Matt Dale -- good advice. Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: Dale, Matt [mailto:[EMAIL PROTECTED] >Sent: Thursday, October 14, 2004 4:04 PM >To: Tomcat Users List; Sam Gallant >Subject: RE: Tomcat 5 pause (free gmail acco

RE: Tomcat 5 pause (free gmail account for fix :-)

2004-10-14 Thread Dale, Matt
I reckon this still might be a garbage collection problem. I would download jvmstat from sun and use visualgc to monitor this. It gives a good graphical representation of when the box is garbage collecting and how much stuff is in each of the generations. We had a similar situation and this aro

caching taglibs

2004-10-14 Thread Edson Alves Pereira
Hello folks, i noticed that everytime tomcat-5.0.x needs a taglib it just create a new one, i´d like to cached all tag in my JSPs, how ca i do that? Is there any taglib container like we have with servlets? Regards, Edson

AW: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread Steffen Heil
Hi > Apache is likely much better than tomcat in serving static content, ... I assume you cannot prove that, right? Regards, Steffen smime.p7s Description: S/MIME cryptographic signature

RE: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread Montz, James C. (James Tower)
On a somewhat related note; Anyone have best practices/recommendations on handling traditional .htaccess control on content? I don't particularly care to have the 2 separate layers of security, purely from an ease of administration perspective. .htaccess controls are totally bypassed when request

RE: Problem with web.xml not invoking servlet filter

2004-10-14 Thread Shapira, Yoav
Hi, Ahh, good. We spent a ton of time on this issue a while ago, when 2.4 was finalized and it wasn't exactly clear how these should be implemented. Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: Rick Wong [mailto:[EMAIL PROTECTED] >Sent: Thursday, October 14, 2004

Re: Tomcat 5 pause (free gmail account for fix :-)

2004-10-14 Thread Sam Gallant
We have tried using a profiler, but it hasn't worked well because the problem only happens a few times over an eight hour day. When we run the profiler the we get a different effect which may or may not be the same problem plus the new effect happens quite often. Has anyone else run into problem ru

test

2004-10-14 Thread Edson Alves Pereira
Just testing.

Re: Problem with web.xml not invoking servlet filter

2004-10-14 Thread Rick Wong
Thank you very much. I re-read the servlet 2.4 spec, and it works after I added the following to my filter: ChannelFilter /* REQUEST ERROR -- Rick Shapira, Yoav wrote: Hi, I think this is according to the spec. It took us a while to sort this out, and several

Re: Tomcat 5 pause (free gmail account for fix :-)

2004-10-14 Thread Jonathan Wilson
I have a similar problem(TC 3.3.1) but it is related to our pooling solution running out of connections and/or it trying to reap not-checked-in connections. The lockups users reported were during a reap cycle. After a few seconds up to a minute(sound familiar) it would "go away" and the app wou

RE: Tomcat 5 pause (free gmail account for fix :-)

2004-10-14 Thread Cox, Charlie
Is your machine swapping? 512MB can go quickly... > -Original Message- > From: Sam Gallant [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 14, 2004 3:40 PM > To: Montz, James C. (James Tower) > Cc: Tomcat Users List > Subject: Re: Tomcat 5 pause (free gmail account for fix :-) > > We

Re: Tomcat 5 pause (free gmail account for fix :-)

2004-10-14 Thread Sam Gallant
We have done default gc with 8mb/256mb min/max, default gc with 128mb/256mb min/max, and incremental with the same settings. The machine has 512mb ram. When we turn on verbose gc the gc logging just stops after a period of time both on the sun jvm and the ibm. When there is 100% cpu util jsvc is us

Re: Tomcat 5 pause (free gmail account for fix :-)

2004-10-14 Thread QM
On Thu, Oct 14, 2004 at 02:16:56PM -0500, Sam Gallant wrote: : My company has been using Tomcat for several years, but a problem has : crept up that we have not been able to solve. Basically, tomcat will : stop processing requests for 2-60 second period several times a day. It still may be some so

RE: Tomcat 5 pause (free gmail account for fix :-)

2004-10-14 Thread Montz, James C. (James Tower)
Are you defining any Memory Min/Max (-Xms/-Xmx) constraints on the JVM? Are you collecting any verbose GC information (-verbose:gc)? How much physical memory available on the machine? At times of 100% CPU Utilization, is it java that is consumnig the majority of it? -Original Message- F

mod_jk2 MaxPocessors... what happens when limit is reached?

2004-10-14 Thread raiden
Hello, We have two Apache instances talking to one tomcat instance. The two Apache instances have 200 MaxClients each... so 400 total. I assume this means that the tomcat instance should be set for 400 MaxProcessors? If we set it for lower, what happens with mod_jk2 when the MaxProcessor limit

RE: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread raiden
I have been using mod_jk2 for a couple of years now, and I have not had to compile it, either. I use it on Linux production systems... (currently I am using Redhat Enterprise Linux and the Fedora binary). The biggest problem has always been extremely poor documentation. However, the Fedora downlo

Tomcat 5 pause (free gmail account for fix :-)

2004-10-14 Thread Sam Gallant
Everyone, Thanks in advance for any help. Also I have a gmail invite for the person who has a fix for this if they are interested. My company has been using Tomcat for several years, but a problem has crept up that we have not been able to solve. Basically, tomcat will stop processing requests for

RE: Help with mod_jk2

2004-10-14 Thread Montz, James C. (James Tower)
I set the Apache Vhost DocumentRoot to the same directory where the JSP pages reside; i.e. DocumentRoot /home/tomcatapp/webapps/ROOT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 1:22 PM To: Tomcat Users List Subject: RE: Help with

RE: Help with mod_jk2

2004-10-14 Thread tomcat
Ok I got it working by adding the opening and closing I didnt think those worked with apache2. Still have problem, How do you handle the images? Images dont show up. Do I need to add jkuriset for images? Thanks you guys have been most helpful! John > Hello, > > Using jkUriSet I get this now:

Re: Locked jar during Ant undeploy on Tomcat 5.5.3

2004-10-14 Thread Derek Mahar
> > Thank you for pointing out these redundant attributes. I applied these changes > > to the context, but got the same results. If I have time, I'll put together > > a small application that demonstrates the problem and send that to you. > > If the issue is real, then I think there will be som

RE: Help with mod_jk2

2004-10-14 Thread tomcat
Hello, Using jkUriSet I get this now: [Thu Oct 14 10:57:32 2004] [notice] uriEnv.setAttribute() the worker directive is deprecated. Use 'group' instead. (I removed all the uri mapping for that instance in workers2) And tomcat isnt getting routed to port 80. Any ideas? Thanks! > Just a simple

RE: disable "Restart Persistence" using the standard Manager implementation

2004-10-14 Thread Shapira, Yoav
Hi, Case is significant. It's not . As to whether a Manager is included by default or not: I'll amend my previous statement to say *most* (not all) Tomcat versions in the past did include one in server.xml by default. Yoav Shapira http://www.yoavshapira.com >-Original Message- >From:

RE: disable "Restart Persistence" using the standard Manager implementation

2004-10-14 Thread Sun House
Hi, When Tomcat ships, a Manager is in server.xml by default. Did you remove it? SUN HOUSE: i "inhetit" a server.xml without a manager. originally was in tc4 ... Sorry for nagging, but i just open a distriblution server.xml . the manager element does not exist there. This is my server.xml an

Re: MySQL driver randomly not found?

2004-10-14 Thread Kaleb Pederson
On Thursday 14 October 2004 9:15 am, Shapira, Yoav wrote: > Does it happen without the connectors/Apache in front? I'll see if I can reproduce it on my test server without the AJP connector and Apache. Thanks. --Kaleb > Yoav Shapira http://www.yoavshapira.com > > >-Original Message- >

Re: MySQL driver randomly not found?

2004-10-14 Thread Kaleb Pederson
On Thursday 14 October 2004 9:13 am, Larry Meadors wrote: > Just curious...Why are you using a symlink? I'm setting it up so that I can have multiple instances of tomcat running and I don't want many different copies of the files floating around if at all possible. It also makes it easy for me

Re: Locked jar during Ant undeploy on Tomcat 5.5.3

2004-10-14 Thread Remy Maucherat
On Thu, 14 Oct 2004 16:29:00 + (UTC), Derek Mahar <[EMAIL PROTECTED]> wrote: > Remy Maucherat gmail.com> writes: > > > > > Some random stuff: > > > > Only use either antiJARLocking or antiResourceLocking. Never both. > > > > Also, on your Context element, remove debug, path, and docBase, whic

RE: tomcat 5.0.29 service start problem (JNI)

2004-10-14 Thread shyam
Thanks you for all the replies. I havent fixed it but I am sure that's the problem with windows update. Will play with the -Xmx parameter later Thanks shyam -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 11:05 AM To: Tomcat Users L

Re: Sun J2SE JVM + tomcat + Debian??

2004-10-14 Thread Jeff Bowden
Yeah, I'm using -server. I tried kernel 2.4.27 on the debian box and that actually works. If I get a chance I'll try it w/o -server on 2.6.7 but for now I'm happy that I don't have to switch distros just to run Java. Eric Weidner wrote: My config single-cpu Debian Sid Kernel 2.6.7 Sun jdk 1.4.

RE: server can't compile some jsp.

2004-10-14 Thread Shapira, Yoav
Hi, Make sure the user running the Tomcat server has write permissions on the $CATALINA_HOME/work directory. Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: Andrey Rogov [mailto:[EMAIL PROTECTED] >Sent: Thursday, October 14, 2004 12:19 PM >To: Tomcat users >Subject:

RE: disable "Restart Persistence" using the standard Manager implementation

2004-10-14 Thread Shapira, Yoav
Hi, >I do not have a manager element in my server.xml. When Tomcat ships, a Manager is in server.xml by default. Did you remove it? >Is this mean that i HAVE to set this element? Yes, as with all other elements, if you want non-default behavior you must specify it. That's the meaning of "def

RE: disable "Restart Persistence" using the standard Manager implementation

2004-10-14 Thread Sun House
Hi, I do not have a manager element in my server.xml. Thus, i use the default manager setting. Is this mean that i HAVE to set this element? And if so, how do i achieve the default behavior? I.e. will this configuration do the work? Regards Sun House "Shapira, Yoav" <[EMAIL PRO

[OT] Re: Porting a servlet app to ASP.NET?

2004-10-14 Thread Ben Souther
On Thu, 2004-10-14 at 12:47, Steve Kirk wrote: > A customer is interested in licensing and developing the source code for a > servlet-based webapp that I am writing, but for maintenance and support > reasons they want it written in MS technologies (asp, asp.net, c#, etc) > rather than Java servlets

RE: MySQL driver randomly not found?

2004-10-14 Thread Larry Meadors
Hahah, similar reasoning wth my symlink question...shouldn't matter, but... >>> [EMAIL PROTECTED] 10/14/04 10:47 AM >>> Hi, It might not, but it's always a question, because it's part of the KISS principle. The simpler the environment, the easier it is for the OP to test and for others to reprod

RE: disable "Restart Persistence" using the standard Manager implementation

2004-10-14 Thread Shapira, Yoav
Hi, Try setting pathname="" in the Manager declaration in server.xml. You could also try setting an invalid pathname. Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: Sun House [mailto:[EMAIL PROTECTED] >Sent: Thursday, October 14, 2004 12:32 PM >To: [EMAIL PROTECTED]

Porting a servlet app to ASP.NET?

2004-10-14 Thread Steve Kirk
A customer is interested in licensing and developing the source code for a servlet-based webapp that I am writing, but for maintenance and support reasons they want it written in MS technologies (asp, asp.net, c#, etc) rather than Java servlets. I have some experience of webapps written in ASP fr

RE: MySQL driver randomly not found?

2004-10-14 Thread Shapira, Yoav
Hi, It might not, but it's always a question, because it's part of the KISS principle. The simpler the environment, the easier it is for the OP to test and for others to reproduce the OP's test results. The less moving pieces, the less chance for error. Yoav Shapira http://www.yoavshapira.com

RE: MySQL driver randomly not found?

2004-10-14 Thread Larry Meadors
Interesting question...how does that impact classloading? >>> [EMAIL PROTECTED] 10/14/04 10:15 AM >>> Hi, Does it happen without the connectors/Apache in front? Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: Larry Meadors [mailto:[EMAIL PROTECTED] >Sent: Thursday,

disable "Restart Persistence" using the standard Manager implementation

2004-10-14 Thread Sun House
Hi all, I use TC 5.27. I have a server.xml cofigured without Manager element configured - thus according to documentation, tomcat run, using it's standard manager implementation. Also, according to documentation whenver Catalina is shut down normally and restarted, or when an application reload

Re: Locked jar during Ant undeploy on Tomcat 5.5.3

2004-10-14 Thread Derek Mahar
Remy Maucherat gmail.com> writes: > > Some random stuff: > > Only use either antiJARLocking or antiResourceLocking. Never both. > > Also, on your Context element, remove debug, path, and docBase, which > are either gone, or are rundundant data. > Thank you for pointing out these redundant at

RE: Help with mod_jk2

2004-10-14 Thread tomcat
Yes apache. Well, I thought it strange too that it wasnt passing the html, gif etc unless i added it to the workers2. So I can put this jkUriSet in the apache file. -nice Ill try this. This is what I did for mod_jk, but those jkmounts no longer worked in apache2. Thanks! John > Just a simple q

server can't compile some jsp.

2004-10-14 Thread Andrey Rogov
Очень нужна помощь ! I have no problems with application working on my computer. But, on the customers computer I am facing the problems with the same application. Some pages are compiled, and some not. Configuration ... Wintel, Tomcat5.12, j2sdk1.4.1_02. Tomcat log below. Would you mind looking

Re: context file

2004-10-14 Thread kax
I solved the problem. I was ok to put the context file in tomcat before the war file as long as you deployed the context file and war file together like this: http://localhost:8080/manager/deploy?config=file:/path/context.xml&war=jar:file:/path/bar.war!/ /Kax > > From: kax <[EMAIL PROTECTED]> >

Re: Locked jar during Ant undeploy on Tomcat 5.5.3

2004-10-14 Thread Derek Mahar
> The only thing I am willing to look at is a ready to run WAR. I'd be happy to send it to you if it was mine to send, but it belongs to my employer. Plus, the database connections would all fail. Derek - To unsubscribe, e-mai

RE: MySQL driver randomly not found?

2004-10-14 Thread Shapira, Yoav
Hi, Does it happen without the connectors/Apache in front? Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: Larry Meadors [mailto:[EMAIL PROTECTED] >Sent: Thursday, October 14, 2004 12:13 PM >To: [EMAIL PROTECTED] >Subject: Re: MySQL driver randomly not found? > >Just

Re: MySQL driver randomly not found?

2004-10-14 Thread Larry Meadors
Just curious...Why are you using a symlink? >>> [EMAIL PROTECTED] 10/14/04 9:59 AM >>> Hello! I'm having an interesting problem wherein about 5-10% of the time, for no apparent reason whatsover, the MySQL driver just can not be found. I have a symlink to it in TOMCAT_DIR/common/lib. I just re

MySQL driver randomly not found?

2004-10-14 Thread Kaleb Pederson
Hello! I'm having an interesting problem wherein about 5-10% of the time, for no apparent reason whatsover, the MySQL driver just can not be found. I have a symlink to it in TOMCAT_DIR/common/lib. I just replaced the symlink with a copy of the actual library to see if that would make a differ

Re: Locked jar during Ant undeploy on Tomcat 5.5.3

2004-10-14 Thread Remy Maucherat
Some random stuff: Only use either antiJARLocking or antiResourceLocking. Never both. Also, on your Context element, remove debug, path, and docBase, which are either gone, or are rundundant data. -- x Rémy Maucherat Developer & Consultant JBoss Group (Europe) SàRL x

Re: How to redirect http to https automatically?

2004-10-14 Thread David Wall
This is part of the servlet specs. In your WEB-INF/web.xml file, you need a security constraint that says the site should be secure, something like: Entire site /* GET POST CONFIDENTIAL The "confidential" keyword ensures that the webapp will require https, so i

RE: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread Dale, Matt
Run it as a daemon then you can run it as a non root user with permissions on port 80 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 14 October 2004 15:20 To: Tomcat Users List Subject: RE: mod_jk2 Ready/Recommended For Production? Yes for static, but what ab

Re: Locked jar during Ant undeploy on Tomcat 5.5.3

2004-10-14 Thread Remy Maucherat
On Thu, 14 Oct 2004 14:54:52 + (UTC), Derek Mahar <[EMAIL PROTECTED]> wrote: > Remy Maucherat gmail.com> writes: > > > > On Wed, 13 Oct 2004 21:38:00 + (UTC), Derek Mahar penson.ca> > wrote: > > > Shapira, Yoav mpi.com> writes: > > > > > > I should mention that originally, I did not hav

RE: tomcat 5.0.29 service start problem (JNI)

2004-10-14 Thread Caldarale, Charles R
> From: shyam [mailto:[EMAIL PROTECTED] > Subject: RE: tomcat 5.0.29 service start problem (JNI) > > I have enough memory . I have set it up to use 1500mb where as I have > enough ram of 2000. This has nothing to do with physical memory. The maximum heap size is dependent on the largest contigu

Re: Tomcat 4.x with Oracle OCI connection-Error

2004-10-14 Thread Annamalai Ramasamy
Any Idea..below is my prev post.may be i'm missing reply if any one did so Hi., I'm using OCI to connect the oracle8.x from my Tomcat. After some period of time tomcat get lost the DataBase Connection. I'm getting this two errors. ORA-03113: end-of-file on communication channel , ORA-03114

RE: administration webapp

2004-10-14 Thread Michael Simpson
Hi James. This is from the Digest documentation: "The value for this attribute must be one of the digest algorithms supported by the java.security.MessageDigest class (SHA, MD2, or MD5)." Tried it with MD5 and the digest param commented out - no joy. Yoav: bear with me, but how would I check th

RE: Class loading in tomcat 5.0

2004-10-14 Thread Shapira, Yoav
Hi, >What I want to achieve is control the way jars are loaded. >I want to load a particular jar(say X.jar) before another jar(say Y.jar) . >Can this be achieved ? Only be putting X.jar in a repository that has higher priority than Y.jar. Within the same repository, you can't control loading or

Re: Locked jar during Ant undeploy on Tomcat 5.5.3

2004-10-14 Thread Derek Mahar
Remy Maucherat gmail.com> writes: > > On Wed, 13 Oct 2004 21:38:00 + (UTC), Derek Mahar penson.ca> wrote: > > Shapira, Yoav mpi.com> writes: > > > > I should mention that originally, I did not have antiJARLocking enabled, but > > enabling both antiJARLocking and antiResourceLocking does no

RE: Class loading in tomcat 5.0

2004-10-14 Thread Narayan, Satya
Hi , Thanks a lot for your help. What I want to achieve is control the way jars are loaded. I want to load a particular jar(say X.jar) before another jar(say Y.jar) . Can this be achieved ? Thanks and Regards, Satya -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Thurs

Re: Resin slower than Tomcat, fails the AppFuse Test

2004-10-14 Thread Michael McGrady
+1 Shapira, Yoav wrote: Hi, Cool. Thanks for posting the link. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Andy Hutchinson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 4:19 AM To: [EMAIL PROTECTED] Subject: Resin slower than Tomcat, fails the AppFuse T

RE: Sun J2SE JVM + tomcat + Debian??

2004-10-14 Thread Phillip Qin
Find out jsvc. It's new, not in 4.1. Why don't you use startup.sh instead? -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: October 14, 2004 10:16 AM To: 'Tomcat Users List' Subject: RE: Sun J2SE JVM + tomcat + Debian?? Sorry, but what is jsvc? -Original Message

RE: administration webapp

2004-10-14 Thread Shapira, Yoav
Hi, >I've commented out the Realm code in server.xml, so effectively there no >encyption on any passwords, just the password authentification from >tomcat-users.xml. What I said is not to comment out the Realm or modify it at all. The Realm and encryption are not one and the same. You must hav

RE: administration webapp

2004-10-14 Thread Montz, James C. (James Tower)
In server.xml, I'm not exactly sure what MD2 is. I know what MD5 is, and it's clear that your passwords in tomcat-users.xml are clear text. Try removing digest= from Realm and restart. -Original Message- From: Michael Simpson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 7

Re: Tomcat command line arguments

2004-10-14 Thread Andy Hutchinson
At 15:15 14/10/2004, you wrote: Hey I give the following command to start Tomcat version 5 with a CATALINA_BASE different to the default one: ./startup.sh -Dcatalina.base=/some/dir/that/exists But it fails to pass the argument, what am I doing wrong? Set the environment variable CATALINA_OPTS ins

RE: administration webapp

2004-10-14 Thread Michael Simpson
Hi Andoni & Yoav. Tried what Andoni recommended - no joy. >From the documentation, inorder to access admin and manager webapp the user must have those respective roles. I've commented out the Realm code in server.xml, so effectively there no encyption on any passwords, just the password authentif

RE: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread Angus Mezick
If you want access to some of apaches more advanced features, yup, you need apache infront of tomcat. --Angus > -Original Message- > From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 12, 2004 11:59 PM > To: Tomcat Users List; [EMAIL PROTECTED] > Subject: Re: mod_jk2

RE: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread Angus Mezick
I have been using mod_jk2 for a long time now. I have no idea why so many people dislike it (well, after they get it compiled that is). I might just be blessed in that I run on win2k servers and can just get the binary for mod_jk2. I have never had to deal with the pain of compiling this thing.

RE: Help with mod_jk2

2004-10-14 Thread Montz, James C. (James Tower)
Just a simple questions, then an answer. If you are front-ending Tomcat with a web server, why are you passing things like .html, .gif, .jpg, etc. to Tomcat to process? The web server itself is a bit more efficient in handling this content. Secondly, what web server front end are you using? On

RE: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread tomcat
Yes for static, but what about port 80? John > Dangerous. > > You should run tomcat as a non-root user, no login, no shell. The reason > Apache is involved is because we want Apache to serve static pages. > > -Original Message- > From: Mike Millson [mailto:[EMAIL PROTECTED] > Sent: Octobe

  1   2   >