banner reserved URL ??

2007-05-09 Thread Jerome Benezech
Hi All, Is the context 'banner' reserved in tomcat 5.5.9 ? I have a cocoon app running under tomcat and the URL http://www.domain.com/mycocoonapp/banner is not caught by the cocoon servlet but by tomcat instead If so, are there any other reserved contexts ? Any doc on that ? Cheers, Jerome

Re: get docbase / context root from within application

2007-05-09 Thread Luke Vanderfluit
Hi. 10May2007 @ 15:14 Luke Vanderfluit thusly spake > Hi. > > I have a jsp page and want to get hold of the absolute path to the context > root /doc base directory. > > > I have my tomcat application deployed under /foo/bar/tomcat/webapps/ROOT/ > > This is the path I want to retrieve program

get docbase / context root from within application

2007-05-09 Thread Luke Vanderfluit
Hi. I have a jsp page and want to get hold of the absolute path to the context root /doc base directory. I have my tomcat application deployed under /foo/bar/tomcat/webapps/ROOT/ This is the path I want to retrieve programmatically rather than hard code it. Is there a way to do this? Thanks

http chunking in Tomcat 5.5

2007-05-09 Thread Alexander Wolff
How can i enable/disable "http chunking" in Tomcat 5.5? thanks in advance, Alexander

Re: nullpointerexception with standard manager

2007-05-09 Thread Rashmi Rubdi
On 5/9/07, mélanie langlois <[EMAIL PROTECTED]> wrote: Hi, Thank you for your explanation. Actually, we don't need this feature in our application, so i want to disable the persistence of session. To disable the persistence of session add this between the opening and closing tag However

Re: nullpointerexception with standard manager

2007-05-09 Thread mélanie langlois
Hi, Thank you for your explanation. Actually, we don't need this feature in our application, so i want to disable the persistence of session. However, we are running tomcat 5.0.28 and for several reasons, we don't want to upgrade for now. Is it possible to disable this in 5.0.28 ? I saw only

Re: How to configure Tomcat response timeout?

2007-05-09 Thread Rashmi Rubdi
On 5/9/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote: I agree, from my experience IE times out when the connection is taking too long to send a response back, I haven't experienced a timeout with FF. You may want to consider a paging algorithm, if your data set is too large, it is not good practice

Re: How to configure Tomcat response timeout?

2007-05-09 Thread Rashmi Rubdi
I agree, from my experience IE times out when the connection is taking too long to send a response back, I haven't experienced a timeout with FF. You may want to consider a paging algorithm, if your data set is too large, it is not good practice to return all the data in one shot. -Regards Rashm

RE: WAR deployment incomplete (sometimes)

2007-05-09 Thread Caldarale, Charles R
> From: Johnny Kewl [mailto:[EMAIL PROTECTED] > Subject: Re: WAR deployment incomplete (sometimes) > > Found this article. > http://archives.devshed.com/forums/java-118/missing-application-web-xml- 1620719.html Which, unfortunately, came to what I think was the wrong conclusion. I suspect t

RE: multiple Tomcat on one host with multiple IPs using the same port

2007-05-09 Thread Caldarale, Charles R
> From: Ran Li [mailto:[EMAIL PROTECTED] > Subject: multiple Tomcat on one host with multiple IPs using > the same port > > I need to setup 4 Tomcat on one host, this host has multiple > IPs, is it possible to set them up with multiple IPs using > the same listening port 8080? Assuming you wa

Re: Msql Connector/J (Way Off Topic.. INNODB on MYSQL)

2007-05-09 Thread Martin Gainty
WAY OFF TOPIC but include these directives into my.cnf to enable INNODB before starting mySQL #*** INNODB Specific options *** # Use this option if you have a MySQL server with InnoDB support enabled # but you do not plan to use it. This will save memory and disk space # and speed up some thing

multiple Tomcat on one host with multiple IPs using the same port

2007-05-09 Thread Ran Li
Hello list, I need to setup 4 Tomcat on one host, this host has multiple IPs, is it possible to set them up with multiple IPs using the same listening port 8080? If it is possible could you let me know how? I tried configure different "Host name" in server.xml seems does not work in this way. Than

Re: How to get authenticated user's DirContext from JNDIRealm?

2007-05-09 Thread Tim Funk
You could use request.getUserPrincipal but JNDIRealm doesn't create a Principal with the details you need. That being said - your own code might be the way to go. (An "easy" solution could be to create a servlet filter which wraps the servlet request and overrides getUserPricipal to return the

Re: Msql Connector/J

2007-05-09 Thread Martin Gainty
Good Evening Terrence Many Thanks for the followup Following up on svens original request of installing JForum which has create table script which requires MySQL with Engine=INNODB Any idea on how to configure MySQL with ENGINE=INNODB would be much appreciated or does MySQL have to be rebuilt f

Re: Msql Connector/J

2007-05-09 Thread Terence M. Bandoian
FYI- http://dev.mysql.com/doc/ -Terence M. Bandoian > > Subject: > Re: Msql Connector/J > From: > "Martin Gainty" <[EMAIL PROTECTED]> > Date: > Wed, 9 May 2007 16:37:56 -0400 > To: > "Tomcat Users List" > > To: > "Tomcat Users List" > > > you and sven need to search thru the mostly nonexistent

Re: users Digest 9 May 2007 21:20:30 -0000 Issue 7269

2007-05-09 Thread Terence M. Bandoian
FYI- http://dev.mysql.com/doc/ -Terence M. Bandoian > > Subject: > Re: Msql Connector/J > From: > "Martin Gainty" <[EMAIL PROTECTED]> > Date: > Wed, 9 May 2007 16:37:56 -0400 > To: > "Tomcat Users List" > > To: > "Tomcat Users List" > > > you and sven need to search thru the mostly nonexistent

Re: WAR deployment incomplete (sometimes)

2007-05-09 Thread Johnny Kewl
Found this article. http://archives.devshed.com/forums/java-118/missing-application-web-xml-1620719.html Other stuff I found seems to suggest that it is unpacking... but then Tomcat is deleting it. Some say reason is because windows locking open files... but we ruled that out. This artic

Re: Windows Service and Logging

2007-05-09 Thread Chris Campbell
I found a solution if anyone is interested ( and maybe its the solution at the broken link in the FAQ? ) When I first setup my log4j appenders I used relative paths from the tomcat bin directory to the logs directory ( silly me ) I had log4j.appender.server.file=../logs/server.log which works fi

Tomcat 6.0 on Windows Server 2003 IIS 6.0 connector not functioning

2007-05-09 Thread Sean_McKellips
I can't access Tomcat content through IIS. The troubleshooting steps on the IIS How-to were insufficient to identify my problem. What am I missing? A few bits of relevant information: The isapi log file does not get created. I've verified that the registry settings are correct for the redirect

Re: Tomcat Embedded - Limitations?

2007-05-09 Thread Mark Thomas
risky57 wrote: > Does anyone know the limitations on tomcat embedded? None. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

httpd/JK/Tomcat hung connections

2007-05-09 Thread Brantley Hobbs
All, I have a web application that appears to run just fine at low loads, but when we ramp up to high load levels, strange things start happening. The symptoms are a *ton* of apparently hung threads on the tomcat status page for my JK connector. They're in stage "S", with 0KB sent and 0KB r

Re: Which Tomcat JARs are required?

2007-05-09 Thread David Smith
This is partially going to depend on what feature you use (or don't use). I would download the embedded tomcat .zip and take a look at the jars provided in server/lib, common/lib and bin directories. --David lightbulb432 wrote: I'd like to use Tomcat for in-place development, which can be

Re: Msql Connector/J

2007-05-09 Thread David Smith
Non-existent?? huh... wierd. I could have sworn I saw a lot of it on the company site (www.mysql.com). As to the OP, the classpath environment variable is ignored by tomcat's default startup script and for very good reason. Given the manner in which the jsp is attempting to get a database

Re: tomcat-connectors: configure fails on Mac OS 10.4.9

2007-05-09 Thread Eliot Stock
And this only seems to be a problem with 1.2.22. I am able to compile 1.2.21. Cheers, Eliot. Eliot Stock wrote: > > Since my post below I have managed to get ./configure to work. The > following files needed to have the line endings converted to Unix from > DOS: > > native/configure > native

Re: WAR deployment incomplete (sometimes)

2007-05-09 Thread Johnny Kewl
Damn this is strange I would expect Tomcat to protest... missing class's... or something? I'm now fascinated Michael if you like, you can send me the WAR... and I'll see if I can get it to break on my system. - Original Message - From: "Michael Heinrichs" <[EMAIL PROTECTED]>

RE: SingleSignOn Valve Not Challenging

2007-05-09 Thread Caldarale, Charles R
> From: Daniel Curran [mailto:[EMAIL PROTECTED] > Subject: SingleSignOn Valve Not Challenging > > > Example Security Constraint > > Protected Area > /* > > > > BASIC > Single Sign-on Example > You're missing w

SingleSignOn Valve Not Challenging

2007-05-09 Thread Daniel Curran
I am attempting to get the SingleSignOn valve to challenge requests to my web application. I have a basic LDAP setup and would like the validation to be routed to the LDAP. The engine portion of server.xml is as follows: debug="99" connectionName="

Re: tomcat-connectors: configure fails on Mac OS 10.4.9

2007-05-09 Thread Eliot Stock
Since my post below I have managed to get ./configure to work. The following files needed to have the line endings converted to Unix from DOS: native/configure native/scripts/build/unix/config.sub native/scripts/build/unix/config.guess native/scripts/build/unix/missing After that, however, make

Re: Msql Connector/J

2007-05-09 Thread Martin Gainty
you and sven need to search thru the mostly nonexistent MySQL documentation on how to start MYSQLd create a user (other than [EMAIL PROTECTED]) create DATABASE create TABLE in DATABASE turn on INNODB the MySQL documentation is pretty much nonexistent so you and sven should have lots of fun M-

How to get authenticated user's DirContext from JNDIRealm?

2007-05-09 Thread Mark Roy
I'm using the JNDIRealm to connect to LDAP for user authentication. It's working great. (I'm using Tomcat 5.0) My question is: Is there a way for my .jsp to get more information about the authenticated user, e.g. email address or other attributes stored in the directory? In other words, is there

Re: WAR deployment incomplete (sometimes)

2007-05-09 Thread Johnny Kewl
Ok another guess and another war story ;) I found that if I did a URLConnection in a filter init I managed to completely lock up Tomcat on a start stone dead... I then deleted the War and the folder and after figuring out wot the problem was, it would still not deploy the new one an

Tomcat MBean JMX Notifications

2007-05-09 Thread Rama Casturi
My code depends on being able to receive a notification from Tomcat that is has completed its startup (meaning the entire server initialization and deploy/load of all servlets is done). I believe there are JMX notifications that tomcat mbeans provide which include this kind of notification, but I

Re: How to programatically determine connector's port numbers?

2007-05-09 Thread webzo
Thanks, I will check that out. - Original Message From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Tuesday, May 8, 2007 8:13:17 PM Subject: RE: How to programatically determine connector's port numbers? > From: webzo [mailto:[EMAIL PROTECTED] > Subject: Re:

Windows Service and Logging

2007-05-09 Thread Chris Campbell
Logging (log4j) works fine for my servlets in Tomcat 5.5 until I run Tomcat as a service on windows, in which case I only get stdout, stderr and jakarta_service logs. The FAQ on the apache tomcat site has an entry for this problem, but the link to its solution in the archives is broken, and I cann

RE: WAR deployment incomplete (sometimes)

2007-05-09 Thread Michael Heinrichs
I thought I was being clear, but I will try again. Tomcat is not running. In the scenario where the deployment has failed, Tomcat has never been running. Tomcat is installed as part of another application. The ROOT.war file is pre-installed under the webapps directory. At this point, they are

Re: How to configure Tomcat response timeout?

2007-05-09 Thread Filip Hanik - Dev Lists
have you considered that the client might be aborting the connection because you are taking too long to respond? Filip Propes, Barry L wrote: I belive you can do it in a connection pool setting. -Original Message- From: Ignacio Iborra [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 09,

Re: WAR deployment incomplete (sometimes)

2007-05-09 Thread Filip Hanik - Dev Lists
here is what happens, your start copying in a large .war file, tomcat detects this file before the upload is complete and starts expanding it, tomcat receives a ZipFileCorrupted error (as the upload hasn't completed) and aborts the deployment you need to work around the fact that your upload i

RE: Multiple SSLs with multiple paths?

2007-05-09 Thread Caldarale, Charles R
> From: John Gardner [mailto:[EMAIL PROTECTED] > Subject: Re: Multiple SSLs with multiple paths? > > It's a nice idea, but Tomcat won't allow you to have multiple SSLs > without having separate static IP addresses and therefore two > elements won't actually work, it HAS to be within the > el

Re: Multiple SSLs with multiple paths?

2007-05-09 Thread John Gardner
Caldarale, Charles R wrote: From: John Gardner [mailto:[EMAIL PROTECTED] Subject: Re: Multiple SSLs with multiple paths? I have two static IP addresses, ss there any way I can point one connector to ROOT and the other to another another webapp? For instance, if I used a Virtual Host, I could u

Re: Kernel Panic - Tomcat Shutdown

2007-05-09 Thread Leon Rosenberg
On 5/9/07, Rogerio Pazini <[EMAIL PROTECTED]> wrote: Does anyone know if there´s any incompatibility of this JDK version with RHEL 4.0 ? I think this is the false place to ask :-) regards Leon - To start a new topic, e-mail

Re: Kernel Panic - Tomcat Shutdown

2007-05-09 Thread Rogerio Pazini
David, tks 4 your email ... I didn´t try to follow what you suggested me yet regarding the hw (mem + netwk). Instead of that, I uninstalled JDK version 1.6.0_01 and installed 1.5.0_11 one. After that, I got no kernel panic messages to start or shutdown Tomcat. Does anyone know if there´s any inc

Re: WAR deployment incomplete (sometimes)

2007-05-09 Thread Johnny Kewl
Are you developing in netbeans and then droping the dist into Tomcat is that when you see the problem?... if so its not a bad WAR... its because netbeans for some reason hangs onto tomcat ie Tomcat is ignoring the war because its still running the *build* version in netbeans. In this cas

RE: WAR deployment incomplete (sometimes)

2007-05-09 Thread Michael Heinrichs
I don't see a consistent pattern, but it definitely happens on first deployment. In my scenario, Tomcat is installed as part of a larger product installation, with the WAR file under the webapps directory, ready for deployment when Tomcat is first started. So the WAR is intended to only ever be d

Re: Application auto-redeploy

2007-05-09 Thread Johnny Kewl
Is it not possible to find a more elegant solution... like late binding with something like Class.forname()? ie make a plugin a full restart is very expensive. under tomcat will restart. So if you make a little function that modifies web.xml slightly... Tomcat will restart WHEN ITS READY.

RE: How to configure Tomcat response timeout?

2007-05-09 Thread Propes, Barry L
I belive you can do it in a connection pool setting. -Original Message- From: Ignacio Iborra [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 09, 2007 7:57 AM To: users@tomcat.apache.org Subject: How to configure Tomcat response timeout? Hi! We are trying to call a JSP file that inserts a

Re: How to programatically determine connector's port numbers?

2007-05-09 Thread webzo
Thanks for the response. Actually, I know for a fact that there will be only 1 port each for SSL and Non-SSL access. I just need to be able to query their values programatically so that I may use them to set up certain parameters that will be used by other parts of the code... Thanks, Av. ---

Re: [OT] Re: ACL (access control list) tutorial or example

2007-05-09 Thread David Kerber
Pid wrote: ... There isn't a standard way of doing programmatical security of this nature - the nature of it is such that you have to write it yourself. That is essentially what I'm trying to do, using various built-in tools , such as java.security.acl.*, sun.security.acl.AclImpl, sun.s

RE: Runaway catalina.out logging

2007-05-09 Thread Andy
You are right. To generalize this: It is all a matter of shell precedences. Pipe (|) has a higher precedence than angle redirect (>) which is why redirect is needed on both sides. However, grouping two commands with parentheses overrides this behavior, again because parentheses have even hi

Re: Tomcat on centOS

2007-05-09 Thread Scott Dunbar
That may be the problem. My install is not via a control panel of any sort. I'm not familiar with how a control panel manages the startup options. [EMAIL PROTECTED] wrote: you've installed tomcat with cpanel support or a clean installation of tomcat? If i haven't understand bad, the one in

Application auto-redeploy

2007-05-09 Thread lightbulb432
How can I tell Tomcat to automatically redeploy an application when any file within it is updated? I realize that this happens for new WARs or JSP updates without needing an application redeploy. But what I'm asking is if I update a Java class file within an application's folder, how can I tell T

[OT] Re: ACL (access control list) tutorial or example

2007-05-09 Thread Pid
David Kerber wrote: Pid wrote: David Kerber wrote: ... There isn't a standard way of doing programmatical security of this nature - the nature of it is such that you have to write it yourself. That is essentially what I'm trying to do, using various built-in tools , such as java.securi

Re: Which Tomcat JARs are required?

2007-05-09 Thread lightbulb432
I'd like to use Tomcat for in-place development, which can be done by using the Tomcat JARs itself. Of course the scope dependency would be something like "provided" for when the app is actually deployed, but for the purposes of development what JARs are needed to run an embedded bootstrap Tomcat?

RE: Msql Connector/J

2007-05-09 Thread David Short
Unzip the connector and place the .jar file in the common\lib directory or in the webapps\**appname**\WEB-INF\lib directory. -Original Message- From: Massimiliano PASQUALONI [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 09, 2007 9:00 AM To: users@tomcat.apache.org Subject: Msql Connecto

Re: ACL (access control list) tutorial or example

2007-05-09 Thread Pid
David Kerber wrote: Pid wrote: David Kerber wrote: ... There isn't a standard way of doing programmatical security of this nature - the nature of it is such that you have to write it yourself. That is essentially what I'm trying to do, using various built-in tools , such as java.securi

Msql Connector/J

2007-05-09 Thread Massimiliano PASQUALONI
Hi everybody! I'ved downloaded mysql-connector-java-5.1.0.zip. I'ved put the mysql-connector-java-5.1.0-bin.jar in C:\Programmi\Java\jre1.6.0_01\lib and I'ved set the %CALSSPATH% on the same directory. I'ved create a jsp page: <%@ page import="java.sql.*" %> <% String connectionURL = "j

RE: WAR deployment incomplete (sometimes)

2007-05-09 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: WAR deployment incomplete (sometimes) > > try > %CATALINA_HOME%\conf\context.xml > Those settings only affect Windows installations, and the OP clearly stated that the problem occurs on Solaris and Linux as well. - Chuck THIS C

Tomcat Embedded - Limitations?

2007-05-09 Thread risky57
Does anyone know the limitations on tomcat embedded? as to what you can and cant do with it. -- View this message in context: http://www.nabble.com/Tomcat-Embedded---Limitations--tf3716562.html#a10397011 Sent from the Tomcat - User mailing list archive at Nabble.com. -

RE: Runaway catalina.out logging

2007-05-09 Thread Fargusson.Alan
At the risk of over explaining, this is one of those slightly tricky areas of shell syntax. The general form of the command below would be something like: ls -l | pr > Out Now there are two commands that might generate errors to the terminal. So you do this: ls -l | pr > Out 2>

Re: Which Tomcat JARs are required?

2007-05-09 Thread David Smith
Could you post more details? Most Maven project only ever need the servlet api (and optionally jsp api) declared in dependencies as: javax.servlet servlet-api 2.4 provided javax.servlet jsp-api 2.0 provided I can't imagine a need for tomcat specific jars in any project. --David

Re: WAR deployment incomplete (sometimes)

2007-05-09 Thread David Kerber
I've occasionally seen this on 5.5.15 on Windows, but never thought much of it, just assuming it was a random glitch. It seems to be more common for me when I restart it quickly after stopping, and less often if I let it sit for 30 seconds or so before restarting. Michael Heinrichs wrote:

Re: WAR deployment incomplete (sometimes)

2007-05-09 Thread Martin Gainty
try %CATALINA_HOME%\conf\context.xml link courtesy of erik burke http://stuffthathappens.com/blog/2006/01/18/tomcat-hot-deployment/ HTH/ M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addre

Tomcat stopped logging

2007-05-09 Thread Propes, Barry L
Hello, I have a strange situation. Tomcat has stopped logging today on my prod. server. Not sure why. All of the app seems to be working just fine, but the key log file stopped generating new info. I have a scheduled task stop and restart Tomcat every morning around 6am, so as to dump bad

RE: WAR deployment incomplete (sometimes)

2007-05-09 Thread Michael Heinrichs
I forgot to mention that (should it matter) I am running Tomcat 5.5.17, on JRE version 1.4.2_12. -Original Message- From: Michael Heinrichs [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 09, 2007 10:43 AM To: users@tomcat.apache.org Subject: WAR deployment incomplete (sometimes) Hello ev

Re: A Randome Very Strange Tomcat Crash

2007-05-09 Thread Len Popp
(oops, sorry for the previous truncated message) It shouldn't crash, it's supposed to serialize all the ODBC calls so you can use it in a multi-threaded program. (ref. the JDBC FAQ: http://java.sun.com/products/jdbc/reference/faqs/index.html ) I've used it in a webapp, for testing during developm

Re: A Randome Very Strange Tomcat Crash

2007-05-09 Thread Len Popp
But it shouldn't crash, it's supposed to serialize all the ODBC calls so you can use it in a multi-threaded program. (ref. the JDBC FAQ: http://java.sun.com/products/jdbc/reference/faqs/index.html) I've used it in a webapp, for testing during development, with no problems other than poor performan

Re: SO_LINGER

2007-05-09 Thread Martin Gainty
Good Morning Johannes- enabling SO_LINGER option is a OS directive "dont close this connection when data is being transmitted" Have you found other behaviour either in Microsoft or Unix OS? M-- This email message and any files transmitted with it contain confidential information intended only

Which Tomcat JARs are required?

2007-05-09 Thread lightbulb432
I'd like to obtain Tomcat JARs using Maven, but I don't know which of its JARs from the following URL are required: http://tomcat.apache.org/dev/dist/m2-repository/org/apache/tomcat/ Which of those JARs are required for Tomcat? Could somebody who uses Maven with Tomcat comment on how they use i

Re: TomCat users' list, forum or documentation ?

2007-05-09 Thread Tim Funk
Typically you go to the software vendor for support. Since you are installing JForum - going to their site for support would be the way to go. Which looks like:http://www.jforum.net/development.jsp -Tim Sven wrote: Is there a TomCat users' list, forum or documentation that is for actual end

Re: TomCat users' list, forum or documentation ?

2007-05-09 Thread Hassan Schroeder
On 5/9/07, Sven <[EMAIL PROTECTED]> wrote: Is there a TomCat users' list yep, and you're there :-) I'm just trying to figure out how to install JForum Sounds like you need a JForum mailing list instead, if you're having an application-specific problem, yes? -- Hassan Schroeder

Re: WAR deployment incomplete (sometimes)

2007-05-09 Thread Johnny Kewl
Try rename it to a zip... and the unzip it or see wot windows does? - Original Message - From: "Michael Heinrichs" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 09, 2007 4:43 PM Subject: WAR deployment incomplete (sometimes) Hello everyone, I am having a problem with WAR deployment.

TomCat users' list, forum or documentation ?

2007-05-09 Thread Sven
Is there a TomCat users' list, forum or documentation that is for actual end-users of TomCat as opposed to developers ? I've read through he last 200 messages on the list hoping to get some insight into how to use TomCat as an end user and am concluding that this is not the right list. Sp

WAR deployment incomplete (sometimes)

2007-05-09 Thread Michael Heinrichs
Hello everyone, I am having a problem with WAR deployment. I am performing a static deployment: copying a ROOT.war under the webapps directory, and then starting Tomcat (no other web applications). On most occasions, the deployment is successful. However, occasionally the deployment does not su

Re: ACL (access control list) tutorial or example

2007-05-09 Thread David Kerber
Pid wrote: David Kerber wrote: ... There isn't a standard way of doing programmatical security of this nature - the nature of it is such that you have to write it yourself. That is essentially what I'm trying to do, using various built-in tools , such as java.security.acl.*, sun.securit

Re: ACL (access control list) tutorial or example

2007-05-09 Thread David Kerber
Pid wrote: David Kerber wrote: ... There isn't a standard way of doing programmatical security of this nature - the nature of it is such that you have to write it yourself. That is essentially what I'm trying to do, using various built-in tools , such as java.security.acl.*, sun.securit

Re: ACL (access control list) tutorial or example

2007-05-09 Thread Pid
David Kerber wrote: ... There isn't a standard way of doing programmatical security of this nature - the nature of it is such that you have to write it yourself. That is essentially what I'm trying to do, using various built-in tools , such as java.security.acl.*, sun.security.acl.AclImpl,

Re: problem at port 8001

2007-05-09 Thread Martin Gainty
netstat -bv | grep 8001 M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email

RE: Multiple SSLs with multiple paths?

2007-05-09 Thread Caldarale, Charles R
> From: John Gardner [mailto:[EMAIL PROTECTED] > Subject: Re: Multiple SSLs with multiple paths? > > I have two static IP addresses, ss there any way I can point one > connector to ROOT and the other to another another webapp? For > instance, if I used a Virtual Host, I could use the appBase=""

Re: Tomcat on centOS

2007-05-09 Thread [EMAIL PROTECTED]
you've installed tomcat with cpanel support or a clean installation of tomcat? If i haven't understand bad, the one installed on the server has a cpanel support thing... Could be that the startup procedure of that version ignores custom options? Let me know please > I am using CentOS 4.4 but I

Re: Multiple SSLs with multiple paths?

2007-05-09 Thread John Gardner
David Smith wrote: > Yes... delete the ROOT webapp in the webapps folder and rename your > webapp to ROOT. That webapp then becomes the default and will respond > to any requests not matching any other webapp. > > --David > Thanks David, but that doesn't really solve my problem. I have two sta

SO_LINGER

2007-05-09 Thread Wolter, Johannes - ENCOWAY
Hi, at my company we developed our own servlet-engine/server and experienced problems, when content was sent through a VPN tunnel. The problem seemed to be, that on slow networks TCP-connections were cancelled (RST,ACK), that means not all content written to the socket was sent to the client, e

Re: ACL (access control list) tutorial or example

2007-05-09 Thread David Kerber
... There isn't a standard way of doing programmatical security of this nature - the nature of it is such that you have to write it yourself. That is essentially what I'm trying to do, using various built-in tools , such as java.security.acl.*, sun.security.acl.AclImpl, sun.security.acl.Acl

How to configure Tomcat response timeout?

2007-05-09 Thread Ignacio Iborra
Hi! We are trying to call a JSP file that inserts a lot of records into a database, but Tomcat stops the process before it is finished. Anyone knows if there is any configuration tag anywhere to set this timeout? Thanks! - To

Re: Kernel Panic - Tomcat Shutdown

2007-05-09 Thread David Delbecq
Kernel Panic happens due to bug at the kernel level. Normally, even deeply broken applications should not generate a kernel panic. Possible causes: 1) Broken network module, which generates an error during unbinding of tomcat from interface. Unless your interface model is very recent and kernel mod

Kernel Panic - Tomcat Shutdown

2007-05-09 Thread Rogerio Pazini
Hi, I´m just trying to configure a new server with RHEL 4.0 installed together with JDK 1.6.0 and Apache Tomcat/5.5.17 installed. We have no problem to start it up (Tomcat) but when it try to shut it down, I have many kernel panic messages and the machine got frozen. Does anybody had similar prob

Re: problem at port 8001

2007-05-09 Thread David Delbecq
what's the content of the request and response when on port 8001, according to your scanner? check nothing is else than tomcat is listening on port 8001. try the request to http://localhost:8001/servlet/WESFWDataLink_BRK.class?DLCT=EO using a simple browser instead of applet to see result. En l'i

Re: problem at port 8001

2007-05-09 Thread kz
I used a scanner and tomcat is listening on port 8001 and not 8080. The thing is that when I start Tomcat even on 8002 or any other port (other than 8080) and I change the applet also to connect to 8002 then the problem doesn't come. WHy is that? I mean even if I am supposed to get a 404, then I s

Re: R: A Randome Very Strange Tomcat Crash

2007-05-09 Thread Tim Funk
Access databases don't work well for webservers - even with IIS. SO you should switch databases. If concurrency is *very* low - you could try throwing synchronization blocks around all database code to limit only one database user at a time. (This is not recommended) -Tim Massimiliano PASQUAL

R: A Randome Very Strange Tomcat Crash

2007-05-09 Thread Massimiliano PASQUALONI
How I can replace the Jdbc-odbc bridge? I use it to connect to my access dB, is a little user's database... bean.setDbUrl("jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)}; DBQ=C:/Programmi/Apache Software Foundation/Tomcat 5.5/webapps/BI/users.mdb"); I need to change the db?!?! -Messagg

Re: A Randome Very Strange Tomcat Crash

2007-05-09 Thread David Delbecq
C [ntdll.dll+0x2f350] C [ODBC32.dll+0x34c16] C [ODBC32.dll+0x320d] C [ODBC32.dll+0x23482] C [ODBC32.dll+0x235bc] C [JdbcOdbc.dll+0x4d18] j sun.jdbc.odbc.JdbcOdbc.error(JJJ[B[B[B)I+0 j sun.jdbc.odbc.JdbcOdbc.createSQLException(JJJ)Ljava/sql/SQLException;+63 j sun.jdbc.odbc.JdbcOdbc.standard

Re: A Randome Very Strange Tomcat Crash

2007-05-09 Thread Tim Funk
You are using the Jdbc-odbc bridge. That JDBC-ODBC bridge is not meant to be used on a web server or multi threaded environment. -Tim Massimiliano PASQUALONI wrote: Hy Everyone! I'm develop my first application in jsp. Isn't a real "application", it's an "system integration" job that join 2

Re: problem at port 8001

2007-05-09 Thread Tim Funk
I believe that the HTTPURLCOnnection throws a java.io.FileNotFoundException in the case where a web server returns a 404. Look at your access logs and request http://localhost:8001/servlet/WESFWDataLink_BRK.class?DLCT=EO via the browser and see what happens. -Tim kz wrote: Hi, I am working

Re: problem at port 8001

2007-05-09 Thread David Delbecq
There shouldn't be any difference. Use a network scanner (example wireshark) to sniff connection and check what the request of applet was and what the response of tomcat is. I bet your applet is trying to connect to 8001 while tomcat is listening to 8080 En l'instant précis du 09/05/07 12:14, kz

A Randome Very Strange Tomcat Crash

2007-05-09 Thread Massimiliano PASQUALONI
Hy Everyone! I'm develop my first application in jsp. Isn't a real "application", it's an "system integration" job that join 2 application, a tree menu and a report viever. Many time at day my Tomcat crash, and I don't understand if there are some problems in the server, or if the code cause th

problem at port 8001

2007-05-09 Thread kz
Hi, I am working on an application that involves applet-servlet communication. The problem is that when Tomcat is listening at 8001, then I get an exception when I do connection.getInputStream() in applet. When I switch to port 8080, the problem gets solved. Heres the exception: java.io.FileNotF

Re: Multiple SSLs with multiple paths?

2007-05-09 Thread David Smith
Yes... delete the ROOT webapp in the webapps folder and rename your webapp to ROOT. That webapp then becomes the default and will respond to any requests not matching any other webapp. --David John Gardner wrote: I have a Tomcat installation with two SSL installation on separate static IP ad

Multiple SSLs with multiple paths?

2007-05-09 Thread John Gardner
I have a Tomcat installation with two SSL installation on separate static IP addresses using the following: At the moment, when you go to the IP address in a browser, it returns the index.html page in the ROOT context, but I need to point it to another context, is this possible? Thanks John -

R: R: Bind address

2007-05-09 Thread Cesare Vairetti
Thanks a lot, I resolve the problem, the link you tell me is fine for IIS 5.0, instead if you have IIS 6.0 you should take a look at: http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B813368 just to be helpful for someone else. Thanks again -Messaggio originale- Da: Markus Sc

tomcat-connectors: configure fails on Mac OS 10.4.9

2007-05-09 Thread Eliot Stock
Hello, I can't seem to get past the first step in compiling tomcat connectors on Mac. When I run configure I get this: ./configure : bad interpreter: No such file or directory I have the latest XCode installed. Cheers, Eliot. -- View this message in context: http://www.nabble.com/tomcat-con