tomcat 5/6 jni memory issues

2007-05-01 Thread Alex Colomb
, and eventually crashing. I'm not sure what information is pertinent, but this is our setup: Java 1.5.0.09 Tomcat 5.5.9 and 6.0.10 Fedora Core 4 glibc 2.3.6 Any guidance/suggestions would be greatly appreciated. Alex Colomb

Security restriction

2006-11-23 Thread Alex Korneyev
Hello, i have a quick question. if i wanted to restrict what directories tomcat server sees or if i want to prevent someone running System.exec( delete everything!!! ) where would i start? -- Best regards, Alexmailto:[EMAIL PROTECTED

Re: a noob question : Eclipse Tomcat Ant tasks

2006-09-19 Thread Alex Hepp
slashes instead of backslashes... HTH regds. alex - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Single Sign-on Configuration with Apache

2006-09-15 Thread Alex Hepp
this for the future, and hope, that noone is offended, or angry... Shall I start a new thread with this question, or shall i leave it now, and just remember it for the future? Sorry again! Regards. alex - To start a new topic, e

Single Sign-on Configuration with Apache

2006-09-14 Thread Alex Hepp
to configure Tomcat, so that a request to a configured URL is first redirected to the SSO, and afterwards to Tomcat, and how I then can retrieve the user information in a servlet. Is anyone able to give me any hints? Thanks a lot for any help... regards. Alex

Re: BOOBIES!

2006-07-25 Thread Alex Turner
of a wider problem than someone being insensitive. Alex. On 7/25/06, Dakota Jack [EMAIL PROTECTED] wrote: What can be gained is a measure of civility. I don't think someone who deliberately does something offensive to achieve their own ends is in a position to say when their behavior is properly

DigestAthenticator and session registeration

2006-07-13 Thread Alex Jalali
Hello, I have extented the DigestAthenticator and everything is working fine. but after the first authentication the register(...) method of the base class does not create the internal session and set the cookie. So for every request I have to go to database and re-authenticate. This is version

RE: DigestAthenticator and session registeration

2006-07-13 Thread Alex
Sure, I am sorry I didn't know about emails being grouped as threads. This was my first question on the list. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, July 13, 2006 6:16 PM To: Tomcat Users List Subject: Re: DigestAthenticator and session

Re: URGENT HELP NEEDED: mod_jk loadbalancing issues

2006-07-09 Thread Alex Turner
What is your load average under these circumstance? Is each of the 10 tomcats on a seperate physical machine? What are your max thread settings in Tomcat? Are your tomcat machines CPU bound or I/O bound under full load? Alex On 7/9/06, Edmon Begoli [EMAIL PROTECTED] wrote: Hi, First

Re: Is it possible to configure Tomcat in a way that it uses different CPUs for different parallel requests?

2006-07-04 Thread Alex Turner
This is the default behaviour. Alex On 7/4/06, KHZ (SAW) [EMAIL PROTECTED] wrote: Hi world. Are there Tomcat settings for achieving such a behaviour? Regards, Karl-Heinz.

Re: Tomcat's scalability

2006-06-21 Thread Alex Turner
than a static FTP server. Alex. On 6/21/06, Andrew Miehs [EMAIL PROTECTED] wrote: Now that we are moving to the theoretical discussion, you will probably want to have a look at http://www.kegel.com/c10k.html Regards Andrew On 21/06/2006, at 4:56 PM, Mladen Adamovic wrote: I spoke

Re: Tomcat's scalability

2006-06-19 Thread Alex Turner
Given that you aren't CPU bound, it's highly unlikely the problem is tomcat. Alex. On 6/19/06, Biernatowski Bartosz J [EMAIL PROTECTED] wrote: I am about 90% sure the bottleneck is Tomcat or what's running on top of Tomcat. Application uses JDBC queries to MS SQL server Chips are Intel Xeon

Re: Tomcat's scalability

2006-06-19 Thread Alex Turner
that most people don't properly understand how to configure a database server. Alex On 6/19/06, Biernatowski Bartosz J [EMAIL PROTECTED] wrote: I am about 90% sure the bottleneck is Tomcat or what's running on top of Tomcat. Application uses JDBC queries to MS SQL server Chips are Intel Xeon. My

Re: Tomcat's scalability

2006-06-19 Thread Alex Turner
On 6/19/06, Leon Rosenberg [EMAIL PROTECTED] wrote: On 6/19/06, Biernatowski Bartosz J [EMAIL PROTECTED] wrote: I am about 90% sure the bottleneck is Tomcat or what's running on top of Tomcat. Application uses JDBC queries to MS SQL server Chips are Intel Xeon. My monitoring data: Memory

Re: Problem with tag library calling

2006-06-13 Thread Alex Turner
This is still an issue - I'm trying to get a client to live... This syntax error really doesn't help me actualy fix the problem Please help somebody... This is a disaster right now. Alex. On 6/12/06, Alex Turner [EMAIL PROTECTED] wrote: It looks like it's generating the following

Problem with tag library calling

2006-06-12 Thread Alex Turner
. Anyone come across anything like this, cos I'm fresh out of ideas? (I have deleted the work directory, restarted the server, re-copied all the application code into the webapps directory to ensure that there can't be any old code lying around). Alex.

Re: Problem with tag library calling

2006-06-12 Thread Alex Turner
;)org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager([ Ljava.lang.String;.class, foo, Selling,Refinancing)); got a couple of syntax errors? Alex On 6/12/06, Alex Turner [EMAIL PROTECTED] wrote: I have the following lines in my source file: %@ taglib prefix=mp uri=com.mintpixels.web.helper % [snip] mp:dynselect values=Selling

JDBCRealm new user automatic authentication

2006-05-29 Thread Alex Michael
that point or whether anyone had a better suggestion for an already configured user manager. My data is stored in a MySQL database and any solution would require authentication by verifying information in the database. I appreciate any info you can provide. Thanks!! Alex Michael p.s. - I am using

Re: can't access database after timcat idle for several hours

2006-04-28 Thread ALEX HYDE
Are they on the same machine? If not it could be a firewall issue? It could be alot of things but that's a start. --- james edwards [EMAIL PROTECTED] wrote: I am running 3 servers; Apache, Tomcat (5.5.16, java version 1.5.0_06, Informix JDBC-1.3.00.JC3) and Informix (7.31.UD2). After the app

Re: Recommended Specs for Oracle 10g db server

2006-03-25 Thread Alex Turner
can generate some good reports. Alex On 3/25/06, Mohan Wickramasinghe [EMAIL PROTECTED] wrote: We have 12 jboss nodes using a single oracle 10g db server with following specs... 4GB RAM Dual CPU HT 3.2GHz Intel RHEL 4 smp We see load average going to 10 on a very regular basis and 30-90

Re: manager webapp absent after installation

2006-03-25 Thread Alex Turner
It's in the server/webapps/ directory instead of directly in the webapps directory Alex On 3/25/06, Alexander Nakhimovsky [EMAIL PROTECTED] wrote: I've run Windows installer, apache-tomcat-5.5.16.exe. It has worked in the sense that Tomcat is running as a service. However

Re: TomCat + mod_jk performance

2006-03-17 Thread Alex Jalali
of Apache, then you can run tomcat stand-alone. for testing load you can use Jmeter http://jakarta.apache.org/jmeter/index.html -- Alex Jalali I(2) Drive Team! I(2) Drive Online Storage http://www.i2drive.com

RE: TomCat + mod_jk performance

2006-03-17 Thread Alex Jalali
that has two CPU's run faster or it wouldn't make any diffrence? do you know of any tests done for clusters From: Alex Jalali [mailto:[EMAIL PROTECTED] Subject: Re: TomCat + mod_jk performance If you have lots of static html pages then apache is much better at handling them. Have you actually

Apache Tomcat Redirect Match

2006-03-09 Thread ALEX HYDE
Hi All, Has Tomcat got an equivelent of Apache's HTTP's Redirect Match? Thanks alot - Yahoo! Photos – NEW, now offering a quality print service from just 8p a photo.

Re: How print HTTPResponse before sent to client?

2006-03-09 Thread Alex Jalali
This is a good tool to use http://sourceforge.net/project/showfiles.php?group_id=55568release_id=115444 Hi. I use TomCat 5.5. on Windows and need to print the HTTPResponse stream that i send It is only a short text (50 characters or so) and i need to see it to help me with the debugging.

Re: Architecture question for all you gurus out there

2006-03-09 Thread Alex Jalali
It’s always better to not have fat clients and put as much of the logic on the server side. You say that this is a webapp client? So that means that your forms are static. So your only choice is to use script language that runs on client machine. This is also a bad thing. Since you don't know

Re: Upgrade to Tomcat 5.5 has broken my jndi

2006-03-08 Thread ALEX HYDE
attribute in 5.5, you didn't tell us what version you were on Filip ALEX HYDE wrote: Hi All, I've seen this one all over the user group but I seem to have come to a dead end with this. I have upgraded from tomcat 4 to 5 and I can't seem to get my app working again. The part

RE: User authentication

2006-03-08 Thread Alex Jalali
Hello all, Whatr is best way to create loging authentication if u had multipal login form/pages. please help me out. When you say multiple form pages, are they all the same? Or do they login to different webapps? If different webapps, you could use the SingleSignOn Valve

Upgrade has broken my jndi

2006-03-07 Thread ALEX HYDE
Hi All, I've seen this one all over the user group but I seem to have come to a dead end with this. I have upgraded from tomcat 4 to 5 and I can't seem to get my app working again. The part that has broken is the jndi datasource look-up. I notice that I'm definitly not the first to experience

Re: Accessing the webapps

2006-03-03 Thread Alex Jalali
If I understand you correctly, then you need to set this property of context Context name=root path= docBase=myfirstwebapp Hi all, I'm currently using Tomcat 5.0.28 On Linux. I have a webapps which is myfirstwebapp It is under $CATALINA_BASE/webapps. When i use a web browser using

Re: Testing DataSourceRealms

2006-03-03 Thread Alex Jalali
I'm working on setting up BASIC authentication using container managed security in Tomcat 5.5.15. However, It's not working so now I'm wondering if my set up is wrong. The JNDI DataSource definitely works, I'm not so sure about the realm. Is there another way to test it? Would you mind

RE: Testing DataSourceRealms

2006-03-03 Thread Alex Jalali
, March 03, 2006 7:16 PM To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Testing DataSourceRealms response inline... -Original Message- From: Alex Jalali [mailto:[EMAIL PROTECTED] Sent: Fri 3/3/2006 4:09 PM To: Tomcat Users List Subject: Re: Testing DataSourceRealms I'm working

RE: Testing DataSourceRealms

2006-03-03 Thread Alex Jalali
] Subject: RE: Testing DataSourceRealms response inline... -Original Message- From: Alex Jalali [mailto:[EMAIL PROTECTED] Sent: Fri 3/3/2006 4:09 PM To: Tomcat Users List Subject: Re: Testing DataSourceRealms I'm working on setting up BASIC authentication using container managed security

RE: Testing DataSourceRealms

2006-03-03 Thread Alex Jalali
I know I was making a point about privileged... -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006 8:31 PM To: Tomcat Users List Subject: RE: Testing DataSourceRealms From: Alex Jalali [mailto:[EMAIL PROTECTED] Subject: RE: Testing

Optimizing tomcat

2006-03-02 Thread Alex Jalali
Hello, I have the following setup. Java jdk 1.4.2 tomcat 5.0.19 Apache 2.0 mod_jk 2.0 ok there are 3 instances of tomcat and one of them with 4 webapps contexts. and 3 large applications that are used a lot. And I do some preloading of some data from database into objects at start up... About

Re: DataSourceRealm Configuration Question (5.5.15)

2006-03-02 Thread Alex Jalali
It can be in the context. I have mine within the context... inside server.xml but I guess if you have your context in context.xml thats fine too. Can a JNDI DataSourceRealm be defined in my web app's context.xml file, or must it be in the container's server.xml file? Thanks

RE: How to separate tomcat instances?

2006-02-28 Thread Alex Jalali
To save some disk space you could have one complete set of the binary distribution and from your 3 directories, create symbolic links to static files. They are most everything except config and log files and the startup scripts. This is also good when you are upgrading tomcat or want to make

RE: Where is org.apache.catalina.realm.DataSourceRealm ?

2006-02-28 Thread Alex Jalali
It is contained within /tomcat/server/lib/catalina-optional.jar After you create the class placed it under /tomcat/server/classes For some reason when I place it in WEB-INF/classes, tomcat couldn't find it. Maybe my class path error anyway For configuration this is an example for mysql. I

Adding a Customized authenticator

2006-02-25 Thread Alex Jalali
Hello, I would like to extend the DigestAuthenticator class or BaseAuthenticator and use that instead of the tomcat default. I have done that but I don't know how to have it referenced in web.xml under security-constraint. Or maybe in server.xml similar to the way you can create a customized Ream

Adding a Customized authenticator

2006-02-25 Thread Alex Jalali
Hello, I would like to extend the DigestAuthenticator class or BaseAuthenticator and use that instead of the tomcat default. I have done that but I don't know how to have it referenced in web.xml under security-constraint. Or maybe in server.xml similar to the way you can create a

RE: Adding a Customized authenticator

2006-02-25 Thread Alex Jalali
So where would this go? under /security-constraint ?? can you be more specific. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Saturday, February 25, 2006 1:15 PM To: users@tomcat.apache.org Subject: Re: Adding a Customized authenticator Alex

java.lang.IllegalStateException: removeAttribute: Session already invalidated

2006-02-20 Thread Alex David Shadrach Hooper
useful. Does this ring a bell with anyone? Can anyone suggest a possible solution. Thanks, -- Alex Hooper - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: java.lang.IllegalStateException: removeAttribute: Session already invalidated

2006-02-20 Thread Alex David Shadrach Hooper
Pulled from Caldarale, Charles R's mail (Mon, Feb 20, 2006 at 11:11:34AM -0600): From: Alex David Shadrach Hooper [mailto:[EMAIL PROTECTED] Subject: java.lang.IllegalStateException: removeAttribute: Session already invalidated This doesn't seem to be related to anything in the webapp

Re: java.lang.IllegalStateException: removeAttribute: Session already invalidated

2006-02-20 Thread Alex David Shadrach Hooper
Pulled from Caldarale, Charles R's mail (Mon, Feb 20, 2006 at 11:11:34AM -0600): From: Alex David Shadrach Hooper [mailto:[EMAIL PROTECTED] Subject: java.lang.IllegalStateException: removeAttribute: Session already invalidated This doesn't seem to be related to anything in the webapp

Re: problems running Tomcat

2006-02-08 Thread ALEX HYDE
You could try: http://10.2.254.103:8080 Riccardo Roasio [EMAIL PROTECTED] wrote: Hi, i'm triyng to install Tomcat; i do like this: tar xzvf apache-tomcat.tar.gz mv apache-tomcat /usr/local/tomcat cd tomcat export TOMCAT_HOME=/usr/local/tomcat and i triyed to run it with

Symlinked directories

2006-02-08 Thread Alex Turner
Hi, I'm using tomcat 5.5.12 on linux, and I'm wondering how I can get tomcat to follow symlinks in a web app directory? I have $CATALINA_ROOT/webapps/ROOT/pictures - /service/stuff/pictures, but tomcat ignores the symlink Thanks, Alex Turner

root context

2006-01-21 Thread ALEX HYDE
Is it posible to set the root context to be a directory that doesn't yet exist, ie, a war file, that is yet to be exploded. Tomcat complained it could not find the context. - Yahoo! Photos – NEW, now offering a quality print service from just 8p

Connection Pool Woes

2006-01-20 Thread Alex Turner
these connections to close once a servlet or JSP has finished running? The plan is do have dozens of applications running on this server, and if each app has it's own connection set, I'm gonna run out of connections really fast. Alex

Re: Connection Pool Woes

2006-01-20 Thread Alex Turner
, but some pages are pure JSP. Alex. On 1/20/06, Caldarale, Charles R [EMAIL PROTECTED] wrote: -Original Message- From: Alex Turner [mailto:[EMAIL PROTECTED] Subject: Re: Connection Pool Woes It looks like the connection object was not being garbage collected promptly (imagine

Re: Images caching

2006-01-16 Thread ALEX HYDE
Hey Bello, I'm fairly new to this but don't mind putting my two pence worth in. I'm not that sure about the client side but I've heard mention of something called Squid which can cache static content quite well and would sit as a proxy in front of Tomcat. Gluck --- Bello Martinez Sergio

Serving secured static content

2006-01-11 Thread ALEX HYDE
Dear group, I have been looking at how to best serve static content from my web-site. Most of the content is static. I was looking at using Apache as a front to Tomcat and have that all up and running. The problem is securing the content. I have written an Apache plug-in using

RE: Using Tomcat 5.5 as a standalone web server

2006-01-11 Thread ALEX HYDE
Adam, I think I just posted a question on nearly this same topic. I found something called Pippo for static content and would be easier to configure as it sits in Tomcat. Do you have security considerations? Have you had to add modules for securing content in Apache? Adam

Re: Mod_jk and Security

2005-12-21 Thread ALEX HYDE
I'm abstracting it to a db with a timeout included. That way both Tomcat and Apache can check for a valid user. --- Dave Morrow [EMAIL PROTECTED] wrote: Hi all. I have a website running under Tomcat 5.5.9 I would like to use mod_jk to allow Apache to serve all static content however, I

URLConnection

2005-12-16 Thread ALEX HYDE
Hi All, I need to make a very simple get request from a remote web server each time a user first comes into the site. I wanted to just use the core HttpURLConnection class. It will be thread safe because the object will be used and created in method scope. In the Sun javadoc it

Re: Antwort: RE: Tomcat JDBC connection with Mysql

2005-12-15 Thread ALEX HYDE
Hi All, I have been developing a system using Tomcat on my Windows box at home. I am now ready to deploy it to a server. I was thinking of using Fedora Core because it is cheaper and I heard it has a fiarly good reputation. Could anyone pass on any experiences of running Tomcat 4 on

RE: Antwort: RE: Tomcat JDBC connection with Mysql

2005-12-15 Thread ALEX HYDE
Thanks for that Richard, I have to use fedora core 3 but I can use Tomcat 5 and probably should! Cheers for the heads up. Alex Richard Mixon [EMAIL PROTECTED] wrote: Jan, Tomcat runs just fine on Linux. Use the most recent version (Fedora Core 4 is fine, or OpenSuse 10

Re: Securing File System Resources ?

2005-12-13 Thread ALEX HYDE
Version 1 is the way I did. Things I had to bare in mind are: - are you actually logging users in or are they authorised on a per individual file basis - can the user re-access the file or is it a one off access? Gluck David Smith [EMAIL PROTECTED] wrote: Either one or two are

Re: TOMCAT + DATASOURCE + CONNECTION POOL

2005-12-12 Thread ALEX HYDE
Hey, I think though I'm not 100% When you declare the datasource in web.xml (or is Server.xml?) it creates a pool factory for you under the covers (I think using Jakarta DBCP). When you use JNDI look-up it asks the factory for a pool. You are then magically using a pool. You

Re: Filters

2005-11-25 Thread ALEX HYDE
Carl, I'm quite new to this but I'd guess that the Filter is instantiated at start-up by Tomcat. You might direct your new requests, plus the old requests for the asp pages, to Tomcat, using say Apache. Using a filter you could intercept *.asp and then forward/redirect to the new resource. ---

manager for some users

2005-11-22 Thread Alex Moreno
is that the department don´t want to give us manager access for all the applications. I´ve been looking for the way of giving manager access to only one or two application, depending on the user. For example, alex should be able to access as manager (to restart the app) with permissions on postgrados

Re: manager for some users

2005-11-22 Thread Alex Moreno
-reloads an application (I think it's reloadable=true, or something like that) and just have your users recompile their entire app each time and then ftp it into the relevant directory, tomcat should automatically reload each app for them without anyone needing manager access. Alex Moreno wrote

RE: database connection pooling

2005-11-22 Thread ALEX HYDE
Khawaja, Just to add to what the others said. When you close the connection it doesn't actually close the connection, it returns it to the pool. You close it to return it, not to actually close it. It doesn't mean literally terminate the connection, otherwise you're right, there would not be much

Re: Could do with some guidance/help

2005-11-10 Thread ALEX HYDE
Richard, I'm a novice myself so here's guessing Silly question but have you looked at the Tomcat log? That's usually a good starting place when you get an internal server error. Maybe a path to one of your classes has changed, eg, a filter? ie, your classes don't match was web.xml expects.

Re: Mimetypes

2005-11-05 Thread ALEX HYDE
. - Original Message - From: ALEX HYDE Newsgroups: gmane.comp.jakarta.tomcat.user Sent: Thursday, November 03, 2005 12:13 PM Subject: Mimetypes Hi All, I've set up Tomcat to work inside of Apache. It's all going ok and I am trying to serve up 3gp to phones. My file worked ok

Re: Google Map of active users on this list

2005-11-04 Thread ALEX HYDE
Very nice. Africa's a bit under-represented. --- Claire McLister [EMAIL PROTECTED] wrote: Hi, We've been working with Google Maps to see if we can automatically map origins of emails to groups. As a trial, we've been mapping active emails to this group since Oct 27th at:

Mimetypes

2005-11-03 Thread ALEX HYDE
is. has anyone got any suggestions on what I might have configured wrong. Thanks Alex ___ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com

Apache filters?

2005-11-03 Thread ALEX HYDE
dynamically checking for a valid security pin in the url. But how would I do such a thing in Apache? I know Apache can do it based on user or requesting machine but this is more dynamic. Cheers alot Alex - To help you stay safe and secure online

Re: Multi-part response

2005-10-18 Thread ALEX HYDE
out to a single response and still stay within a tidy framework like Struts? --- David Delbecq [EMAIL PROTECTED] wrote: If you want to alter the response of a servlet (like struts servlet), a ServletFilter is a good choice. ALEX HYDE a écrit : Hi All, This is probably not strictly

RE: Multi-part response

2005-10-18 Thread ALEX HYDE
it doesn't know it wants the images. Will trying to give them to it anyway actually work? Or will it just say what the hell are these images, I haven't asked for them. I'll just ignore them? -Original Message- From: ALEX HYDE [mailto:[EMAIL PROTECTED] Sent: 18 October 2005 10:02

Re: 3GP and MPEG-4

2005-10-13 Thread ALEX HYDE
Hahaha. Cheers for that then. --- Jon Wingfield [EMAIL PROTECTED] wrote: To simply serve the content, no. I needed to know about it so I could extract the metadata, and because I felt the need to know - must get out more ;) Jon ALEX HYDE wrote: Thanks Jon. That's really useful. I

<    1   2   3   4