Re: Windows, Runtime.exec() problems [solved]

2005-10-20 Thread David Teran
Well, it was not tomcat, the problem was starting tomcat as windows service, then the process invoked by exec cannot use OLE Automation. regards, David Am 20.10.2005 um 19:15 schrieb David Teran: Hi, thanks for the quick response, no, the firewall is already deactivated. regards, David

session problem

2005-10-20 Thread David Won
I developed a very simple project, there is a jsp page and a servlet. In servlet: session.setAttribute("my","abc"); In jsp: String mystring = (String) session.getAttribute("my"); This project works perfect in one of my PC, but when I deployed it to another PC, "mystring" in jsp always gets a n

RE: Bug in RealmBase, JAASRealm, and/or Requestt object preventing proper role authorization

2005-10-20 Thread Caldarale, Charles R
> From: Brad O'Hearne [mailto:[EMAIL PROTECTED] > Subject: Re: Bug in RealmBase, JAASRealm, and/or Requestt > object preventing proper role authorization > > The JAASRealm takes whatever user principal you have and the role > principal you have added to the subject, and creates a new > Gener

Re: Bug in RealmBase, JAASRealm, and/or Requestt object preventing proper role authorization

2005-10-20 Thread Brad O'Hearne
Chuck, The JAASRealm takes whatever user principal you have and the role principal you have added to the subject, and creates a new GenericPrincipal class, containing both your user principal and your role principal. I do not think it populates your custom user principal with roles. The p

RE: Bug in RealmBase, JAASRealm, and/or Requestt object preventing proper role authorization

2005-10-20 Thread Caldarale, Charles R
> From: Brad O'Hearne [mailto:[EMAIL PROTECTED] > Subject: Re: Bug in RealmBase, JAASRealm, and/or Requestt > object preventing proper role authorization > > So in the JAAS login module, what you would have to do > is instantiate a user principal that is a subclass of > GenericPrinicipal for y

Re: Bug in RealmBase, JAASRealm, and/or Requestt object preventing proper role authorization

2005-10-20 Thread Brad O'Hearne
Right, but I think you are missing what I am saying. The hasRole() method takes two parameters: a Principal (which is going to be the custom user principal returned from the request.getUserPrincipal() method), and a String role name. Roles aren't being passed to the hasRole method, only the

RE: Bug in RealmBase, JAASRealm, and/or Requestt object preventing proper role authorization

2005-10-20 Thread Caldarale, Charles R
> From: Brad O'Hearne [mailto:[EMAIL PROTECTED] > Subject: Re: Bug in RealmBase, JAASRealm, and/or Requestt > object preventing proper role authorization > > If you wanted to try to game the authorization, you'd have to > take your role principal, shove it into the user principal, > then let t

Help me configuring manager deploy for remote host deployments in tomcat 5.5.9

2005-10-20 Thread Nehal Sangoi
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Bug in RealmBase, JAASRealm, and/or Requestt object preventing proper role authorization

2005-10-20 Thread Brad O'Hearne
Charles, I addressed this at the bottom of my email. It might be a hack that would work, but you would effectively be duplicating what the JAASRealm is doing already. The JAASRealm takes the user principal and role principal, and shoves them into a GenericPrinicipal. If you wanted to try to g

RE: Bug in RealmBase, JAASRealm, and/or Requestt object preventing proper role authorization

2005-10-20 Thread Caldarale, Charles R
> From: Brad O'Hearne [mailto:[EMAIL PROTECTED] > Subject: Bug in RealmBase, JAASRealm, and/or Requestt object > preventing proper role authorization > > When this statement executes, principal is not a > GenericPrincipal, by merits of the request's > getUserPrincipal() method executed prior t

Bug in RealmBase, JAASRealm, and/or Requestt object preventing proper role authorization

2005-10-20 Thread Brad O'Hearne
All, I have discovered a bug in role authorization when using a JAASRealm and custom user / role principals. In a nutshell, successful authentication in the JAASRealm over a custom JAAS login module results in the JAASRealm pulling the user principal and role principals out of the authenticated

Re: Unable to open Tomcat Manager?

2005-10-20 Thread 梁炳場
Yes, Andy. I use MySQL and JDBCRealm. If tomcat-users.xml is ignored, it is fine. But I have entered records in table of user and user role. I have tried input the password in both plain text and MD5 encrypted in user table. Still not okay. 2005/10/21, Caldarale, Charles R <[EMAIL PROTECTED]>:

RE: jakarta verisign transaction slow?

2005-10-20 Thread Caldarale, Charles R
> From: Tim Tyler [mailto:[EMAIL PROTECTED] > Subject: jakarta verisign transaction slow? > > We are running Jakarta 5.0 on an AIX 5.1 system. It's Tomcat, not Jakarta. (Jakarta is an umbrella project of the Apache Software Foundation for many Java-based products, such as Tomcat - although Tomc

RE: Unable to open Tomcat Manager?

2005-10-20 Thread Caldarale, Charles R
> From: Giorgio Clavelli [mailto:[EMAIL PROTECTED] > Subject: Re: Unable to open Tomcat Manager? > > I solved it by deleting the all Server files and re-unzip > them back in the same location (possibly not required this > deletion but who knows?). I seriously doubt that had anything to do with

Tomcat 5.5.12 -- Roles being "lost" and causing authorization to fail

2005-10-20 Thread Brad O'Hearne
Hey all, I just got a JAASRealm working in Tomcat, successfully authenticating against my loging module. In my login module, I am successfully storing a role principal "manager" inside the authenticated subject, which Tomcat logging confirms. Immediately after authentication, Tomcat then tries

RE: [OT] Problems with web.xml generated from RAD and from Ecplise.

2005-10-20 Thread Caldarale, Charles R
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Subject: Re: [OT] Problems with web.xml generated from RAD > and from Ecplise. > > No, my IDE of choice is UltraEdit, and you'll have to pry it > out of my cold, dead hands before I give it up :) Can't agree with you more. My current prefe

Tomcat 5.5.12 common/lib jars and classpath

2005-10-20 Thread Brad O'Hearne
I just configured a JAASRealm and a login module for it that authenticates users. I've gotten that to work just fine. But in the process I discovered something very strange. My loging module relies on mail.jar, the JavaMail API. I put my login module and its dependency jars into the common/lib

Re: Unable to open Tomcat Manager?

2005-10-20 Thread andy gordon
hi, If you are intending on using MySQL and a JDBC Realm for access control, then the Tomcat-users.xml file is not used. I am wondering if in your role table you have two rows for user name admin? if not then this could be your problem as there has to be one row for each role a specific user

Re: [OT] Problems with web.xml generated from RAD and from Ecplise.

2005-10-20 Thread Frank W. Zammetti
Ah, caught me Charles :) Omnytex Technologies is my own company, and I make the decisions here, but it's only a part-time side venture. My regular, full-time, pays the bills job is what I was referring to. So far I haven't been forced there, but I'm one of the few not using RAD at this point

RE: [OT] Problems with web.xml generated from RAD and from Ecplise.

2005-10-20 Thread Caldarale, Charles R
> From: Bovy, Stephen J [mailto:[EMAIL PROTECTED] > Subject: RE: Problems with web.xml generated from RAD and > from Ecplise. > > What is RAD, is it a free eclipse plug in ?? Check the archives for this thread: http://mail-archives.apache.org/mod_mbox/tomcat-users/200510.mbox/browse r I espec

Re: Unable to open Tomcat Manager?

2005-10-20 Thread Giorgio Clavelli
I got a similar problem. I'm using Tomcat 5.5.12 on a WinXP box. I installed by using the zip version and startup and shutdown using the batch files. I solved it by deleting the all Server files and re-unzip them back in the same location (possibly not required this deletion but who knows?). The ne

mod_jk & tomcat

2005-10-20 Thread Andrew Marcum
We are running mod_jk-1.2.13 and apache-2.0.54-r30 on a Gentoo box running the 2.6.10 kernel and when Tomcat is restarted, if a request is made to the Tomcat URL soon after the restart (within 10 seconds), Apache responds with Service Temporarily Unavailable and will continue to so for a few minu

Multiple SSL Virtual Hosts on Port 443 - Tomcat 5.5.12

2005-10-20 Thread Jay Thompson
I am trying to configure tomcat 5.5.12 for multiple virtual hosts on port 443. SSL works fine if I set server.xml to listen for all IPs on port 443... However, if I try to configure to listen to a specific IP address on port 443... It doesn't work. Tomcat starts just fine. No errors. A

How do I configure my own certificate realm to tomcat 5.5.9?

2005-10-20 Thread Sara Hugh
Hi all, Please help. I do not know how to configure user certificate realm in the tomcat conf/server.xml. I have been reading and searching around on internet, but I did not get any. The only information I got is for basic authentication. I wonder if tomcat accepts user certificate realm. If anyone

context.xml file and war

2005-10-20 Thread Alexander Eller
Hello list users, after searching the documenation and the internet, I finally ask the list for help: I want to deploy an application as a war file. As I need to configure JNDI Resources (datasources), I want to use a context-specific xml file instead of modifying server.xml. But I can't get

RE: Problems with web.xml generated from RAD and from Ecplise.

2005-10-20 Thread Bovy, Stephen J
What is RAD, is it a free eclipse plug in ?? Stephen Bovy Computer Associates 6100 Center Drive Suite 700 Los Angeles, CA 90045 Tel: (310) 957-3930 Fax: (310) 957-3917 Mobile: (818) 352-9917 e-mail: [EMAIL PROTECTED] -Original Message- From: Developer Developer [mailto:[EMAIL PROTECTED]

Re: Problems with web.xml generated from RAD and from Ecplise.

2005-10-20 Thread Developer Developer
-LOL :) Do not malign RAD. It is a very good tool. It was usage error. THere is an option in RAD workspace for specifying which verion of Servelt you want to create. I was igonoring it. Once I chose 2.2 everythign worked fine. AS far as Tomcat is concenred, I am just a beginner with using these

RE: Trouble finding Datsource Resource with DataSourceRealm

2005-10-20 Thread GB Developer
well, I couldn't get a Realm to function when the DataSource it needed was defined in the same Context as the Realm itself. I've made it work by declaring the datasource resource in the 'global naming resources' section of server.xml, and the realm directly under the 'engine' element. And then in

M4 Getting Started - Problem copying war file

2005-10-20 Thread Tod Thomas
My j2:quickstart keeps failing with the following message: Warning: Could not find file /myhome/.maven/repository/myprojectgroup/wars/myportal-1.0.war to copy. I've set all the ./build.properties mentioned in the Getting Started page. I just did a clean install of Tomcat 5.5.12 and am usin

Re: Using placeholders in context.xml for builds

2005-10-20 Thread Bob Hall
Allistair, You can use ant's task with 'filtering' enabled to accomplish what you want to do. This can be done uing properties files or with command line parameters. foo.properties: reloadable=true command line: $ ant -Dreloadable=true - Bob --- Allistair Cross

pkcs#11 certificate does not appear with Tomcat / IIS ok

2005-10-20 Thread Celio N. Faria Junior
Hi all, I am trying to use SmartCard client authentication (pkcs#11, JDK 1.5.0_3, SafeSign for Starcos 1.0.9, SCR531 card controller, Tomcat 5.5.12 with clientAuth=true). When I access the protected site, the browser plugin (which is installed by SafeSign) shows a window that allows to choose o

Re: Windows, Runtime.exec() problems

2005-10-20 Thread David Teran
Hi, thanks for the quick response, no, the firewall is already deactivated. regards, David Am 20.10.2005 um 19:06 schrieb jacob hookom: You might be experiencing the same issues I just had with FTP sockets-- make sure your windows firewall is disabled. --- David Teran <[EMAIL PROTECTED]> wro

RE: OffTopic Big Picture Question XForms vs JFS ??

2005-10-20 Thread Bovy, Stephen J
Can anyone out there give me some opinion or perspective or web links that explain how Xforms and JFS fit together in the big picture, (I.E.) yes, they are complementary and they do fit together no, they conflict and are separate competing technologies Thanks in advance for any answe

Re: Windows, Runtime.exec() problems

2005-10-20 Thread jacob hookom
You might be experiencing the same issues I just had with FTP sockets-- make sure your windows firewall is disabled. --- David Teran <[EMAIL PROTECTED]> wrote: > Hi, > > i am trying to call a native application from a > servlet application > (specifically an webservice based on axis 1.3) with

Windows, Runtime.exec() problems

2005-10-20 Thread David Teran
Hi, i am trying to call a native application from a servlet application (specifically an webservice based on axis 1.3) with the following code: Process p = Runtime.getRuntime().exec(args); StreamReader isr = new StreamReader(p.getInputStream()); // just uses separate thread

Re: FTP from Servlet

2005-10-20 Thread jacob hookom
FYI, it ended up being the Microsoft Firewall, once disabled, everything floated fine. It still confuses me that Eclipse had permission, but Tomcat didn't. Cheers, Jacob --- jacob hookom <[EMAIL PROTECTED]> wrote: > I'm attempting to write an HTTP->FTP Servlet Proxy. > I > know the remote host

Re: jakarta verisign transaction slow?

2005-10-20 Thread Hassan Schroeder
Tim Tyler wrote: > We see posts take 13 seconds and longer. What does that mean? From initial network connection through end of transfer, or until the response arrives, or? In any case, I've been using POST to connect via SSL to credit card authorization services from Tomcat 4.x through 5.5.x a

Re: Problems with web.xml generated from RAD and from Ecplise.

2005-10-20 Thread Hassan Schroeder
Developer Developer wrote: > As far as my problem is concered, I solved it. Tomcat (5.5) does not > support 2.4 V of the servlet. That's simply not true. Whatever your RAD problem involved, that's not part of it :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive

RE: Problems with web.xml generated from RAD and from Ecplise.

2005-10-20 Thread Caldarale, Charles R
> From: Developer Developer [mailto:[EMAIL PROTECTED] > Subject: Re: Problems with web.xml generated from RAD and > from Ecplise. > > As far as my problem is concered, I solved it. Tomcat (5.5) does not > support 2.4 V of the servlet. That's simply not true - Tomcat 5.5.x fully supports versio

Re: Problems with web.xml generated from RAD and from Ecplise.

2005-10-20 Thread Developer Developer
Thanks everybody for the reply. As some of you have figured itout RAD is - Rational Application Developer, i.e latest version of WSAD. As far as my problem is concered, I solved it. Tomcat (5.5) does not support 2.4 V of the servlet. When I changed the version of servlet to 2.2 ( using DTD) then

RE: Accessing resource from another context.. ..

2005-10-20 Thread Archana Mathur
thanks Robert it works with this crossContext = "true" attribute. >>> [EMAIL PROTECTED] 10/20/05 04:21pm >>> Remember that you have to configure your web context "app1" to allow cross-context access. If you have not done so, the method you call below will always return null. So your context xml

FTP from Servlet

2005-10-20 Thread jacob hookom
I'm attempting to write an HTTP->FTP Servlet Proxy. I know the remote host works fine and I'm able to contact it, but I'm having problems with the sockets timing out. Basically, the same code (Commons Net) connects/transfers fine from within Eclipse, but as soon as the code is dropped into a Se

SSL on Tomcat 5.5 9 - non-secure pages

2005-10-20 Thread Greg Brownell
All, I have set up tomcat 5.5.9 with SSL as follows: server.xml: and web.xml: secure pages *.htm secure pages /login.jsp CONFIDENTIAL The whole site, all pages, are redirected to port 443 - everythin

Re: JAASRealm, Tomcat 5.5 getting HTTP error page 403 Access denied

2005-10-20 Thread Brad O'Hearne
I'm presently waist deep in my own JAASRealm / JAAS login module / single signon implementation myself, so I'm sorry I can't answer your question directly at the moment. But after I'm through this, I'm going to put together a FAQ and examples and put them up on a website. JAAS authenticatio

ajp13.service() Error

2005-10-20 Thread MC Moisei
Anyone can tell why I get errors like this in apache2's error log ? I have tomcat in tandam with apache2 and I use the mod_jk for that purpose. The errors seems not critical but nonetheless they are errors. [Thu Oct 20 09:11:50 2005] [error] ajp13.service() ajpGetReply recoverable error 3 [Thu O

Re: JAASRealm, Tomcat 5.5 getting HTTP error page 403 Access denied

2005-10-20 Thread Jukka Uusisalo
Carsten Schiller wrote: Hello! We are trying to implement a login/security environment using Tomcat 5.5's JAASRealm and Struts as a MVC-Framework. After Login ,which fails with error "HTTP Status 403 - Access to the requested ressource has been denied", we can navigate manually to our output.

Memory leaks solved

2005-10-20 Thread Lionel Farbos
A usefull link : http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 This could be added to the FAQ deployment ( http://tomcat.apache.org/faq/deployment.html#deployMemIncrease)... - To unsubscrib

how to use jmx to know if a webapp is started on tomcat

2005-10-20 Thread Frederic D
Hi, I had to develop an administration webapp of axis Web Services. One of the task of the webapp is to start or stop axis webapp. How to know if the axis webapp is started or not on tomcat (in a jsp for example) ? can i use jmx to do that ? (for starting or stopping, i know that we can use http

FTP from Tomcat Servlet: Socket Timeouts

2005-10-20 Thread Jacob Hookom
I'm attempting to create an HTTP->FTP proxy servlet. The remote FTP server works fine and is accessible, in addition, the Java code I have (Commons Net) is able to connect fine to the remote FTP from eclipse. The problem with connection timeouts only occurs when the same code is placed in a servle

Re: WAR versions

2005-10-20 Thread Lionel Farbos
We also use manifest and we use the same convention as described here : http://java.sun.com/j2se/1.5.0/docs/guide/extensions/versioning.html On Thu, 20 Oct 2005 17:00:40 +0200 "Zohar Amir" <[EMAIL PROTECTED]> wrote: > any standard entry for that? > > - Original Message - > From: "David

Tomcat HTTP->FTP Proxy

2005-10-20 Thread Jacob Hookom
I'm attempting to create an HTTP->FTP proxy servlet. The remote FTP server works fine and is accessible, in addition, the Java code I have (Commons Net) is able to connect fine to the remote FTP from eclipse. The problem with connection timeouts only occurs when the same code is placed in a servle

jakarta verisign transaction slow?

2005-10-20 Thread Tim Tyler
Jakarta experts, We are running Jakarta 5.0 on an AIX 5.1 system. We have never worked with jakarta before. We seem to have it successfully installed. We are using it to make financial transactions through Verisign's Payflowpro java programs. As far as we can tell the transactions appea

RE: Accessing resource from another context.. ..

2005-10-20 Thread Robert Graf-Waczenski
Remember that you have to configure your web context "app1" to allow cross-context access. If you have not done so, the method you call below will always return null. So your context xml file should look similar to this here: I.e. the parameter crossContext="true" must be there, otherwise all c

RE: Accessing resource from another context.. ..

2005-10-20 Thread Raghupathy,Gurumoorthy
It is "" not "/" for root context -Original Message- From: Archana Mathur [mailto:[EMAIL PROTECTED] Sent: 20 October 2005 16:03 To: http://localhost/app1/a.jsp - (a.jsp wants access to other jsp which is at location (http://localhost/a2.jsp) - root context tag jsp:include will only pi

Accessing resource from another context.. ..

2005-10-20 Thread Archana Mathur
Hi, I have got a jsp page a.jsp within tomcat 5.5.9 application (say app1). I need to access some other page a2 which is at different location ( at root context) within a.jsp. Example - http://localhost/app1/a.jsp - (a.jsp wants access to other jsp which is at location (http://localhost/a2.jsp

Re: WAR versions

2005-10-20 Thread Zohar Amir
any standard entry for that? - Original Message - From: "David Delbecq" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, October 20, 2005 4:47 PM Subject: Re: WAR versions manifest as name of .war is used by tomcat during deployement to name the webapp :) Zohar Amir a éc

how to register my own mbean in the tomcat mbean server at tomcat startup (Newbie)

2005-10-20 Thread Frederic D
Hi, I have a webapp with 2 MBean. To register these MBean to the MBean Server, i use a jsp who do the job. How can i configure tomcat to register these MBean at startup ? I am a new tomcat and jmx/mbean user and it's hard to find the informations on the web. Thanks (and sorry for my english)

close_wait and jk connector

2005-10-20 Thread Isaac Wieder
I have apache 2.0.54 and tomcat 5.0.28 running on a server and they are connected through JK. For some reason, my system has a large number of CLOSE_WAITs on the port that tomcat and apache use to communicate. Eventually tomcat switched from port 8009 to 8010 causing apache to spin off so man

Re: Can you intercept the default Servlet ? stack servlets ? forward to specific class ?

2005-10-20 Thread Tim Funk
There called ServletFilters. -Tim Darryl L. Miles wrote: I would like to change a sub-tree (/subdir) of my web-app so that I run every request runs through my own default servlet (for a security check) then if it drops out of the bottom I wish to forward to tomcat's default servlet. Doe

FTP from Tomcat Servlet: Socket Timeouts

2005-10-20 Thread Jacob Hookom
I'm attempting to create an HTTP->FTP proxy servlet. The remote FTP server works fine and is accessible, in addition, the Java code I have (Commons Net) is able to connect fine to the remote FTP from eclipse. The problem with connection timeouts only occurs when the same code is placed in a servle

RE: Trouble finding Datsource Resource with DataSourceRealm

2005-10-20 Thread GB Developer
I should have mentioned, I have a ContextListener that contains the following: --- initCtx = new InitialContext(); envCtx = (Context) initCtx.lookup("java:comp/env"); logger.info("*** loading Data Source"); try { ds = (DataSource) e

RE: Can you intercept the default Servlet ? stack servlets ? forward to specific class ?

2005-10-20 Thread Brantley Hobbs
It sounds like a filter might be what you're looking for. http://java.sun.com/products/servlet/Filters.html B. > -Original Message- > From: Darryl L. Miles [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 20, 2005 10:51 AM > To: Tomcat Users List > Subject: Can you intercept the defau

Can you intercept the default Servlet ? stack servlets ? forward to specific class ?

2005-10-20 Thread Darryl L. Miles
I would like to change a sub-tree (/subdir) of my web-app so that I run every request runs through my own default servlet (for a security check) then if it drops out of the bottom I wish to forward to tomcat's default servlet. Does Servlet technology allow the stacking of servlets, so mine

Re: WAR versions

2005-10-20 Thread David Delbecq
manifest as name of .war is used by tomcat during deployement to name the webapp :) Zohar Amir a écrit : > Hello, > I was wondering what is the best way to indicate a war file's version. > Should the file's name indicate it (e.g., bla_1.3.2.war), and/or > should the manifest in META-INF include a

Unable to open Tomcat Manager?

2005-10-20 Thread 梁炳場
My tomcat-users.xml My server.xml I have inputted username and user role in tables. Still receive this message HTTP Status 403 - Access to the requested resource has been denied - To unsubscri

RE: Missing application web.xml, using defaults only - is this a Tomcat bug?

2005-10-20 Thread Rob Hills
Hi Chuck, On 20 Oct 2005 at 8:44, Caldarale, Charles R wrote: > > From: Rob Hills [mailto:[EMAIL PROTECTED] > > Subject: Re: Missing application web.xml, using defaults only > > - is this a Tomcat bug? > > > > From the my reading of the Documentation, docBase and Path are > > mandatory attribu

WAR versions

2005-10-20 Thread Zohar Amir
Hello, I was wondering what is the best way to indicate a war file's version. Should the file's name indicate it (e.g., bla_1.3.2.war), and/or should the manifest in META-INF include an entry for it? Thanks, Zohar. - To unsu

Re: mod_jk2 under heavy load

2005-10-20 Thread nag for
But... Are you experiencing the same with Tomcat 5.5??? --- j r <[EMAIL PROTECTED]> wrote: > Steve, > > I use tomcat 5.5 with jvm 1.5 on linux. I allocate > 1.4G of ram also. Your > configs look like mine for the property files. > > > -jr > > On 10/19/05, Steve Gaunt <[EMAIL PROTECTED]> > wr

Re: mod_jk2 under heavy load

2005-10-20 Thread j r
Steve, I use tomcat 5.5 with jvm 1.5 on linux. I allocate 1.4G of ram also. Your configs look like mine for the property files. -jr On 10/19/05, Steve Gaunt <[EMAIL PROTECTED]> wrote: > > HI > > We are using IIS with JBoss 4.01(tomcat 5) > What verion of tomcat are you using?? > > We are using

RE: Missing application web.xml, using defaults only - is this a Tomcat bug?

2005-10-20 Thread Caldarale, Charles R
> From: Rob Hills [mailto:[EMAIL PROTECTED] > Subject: Re: Missing application web.xml, using defaults only > - is this a Tomcat bug? > > From the my reading of the Documentation, docBase and Path are > mandatory attributes of the Context element for Tomcat 5.0. Check the 5.5 doc for : http://

PernGen memory leak with Tomcat 5.5.9

2005-10-20 Thread Félix Pedrera García
Hi! We are working on a web application using Struts 1.2.7, deployed on Tomcat 5.5.9 on Solaris SunOS 5.8 and JVM 1.5.0_04-b05 and we have the following problem: Sometimes we get an java.lang.OutOfMemoryError: PermGen space and the logs do not say anything more about the problem. We are m

RE: DoS on tomcat 5.5.x or false alert ?

2005-10-20 Thread David Maciejak
I could not reproduce it on 5.0.28, perhaps you can tuned maxThreads minSpareThreads maxSpareThreads in server.xml "connector" node David Maciejak > -Message d'origine- > De : nag for [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 20 octobre 2005 14:44 > À : Tomcat Users List > Objet :

Re: Clustered Tomcat & JSF

2005-10-20 Thread Peter Rossbach
Hey, the tomcat clustering is design for sticky session is on, like the servlet spec described (SRV 7.7.2 Servlet Sepc 2.4) Clustering is implemented as backup, when a node is crashed or went shutdown. At rare special cases you can used synchron pooled mode without stickyness (waitForAck="true

Re: DoS on tomcat 5.5.x or false alert ?

2005-10-20 Thread nag for
Hello.. I have expeienced similar problem but on 5.0.28. So far, we could not find the reason or solution... Any help would be much appreciated. --- David Maciejak <[EMAIL PROTECTED]> wrote: > Hi, > > > > Seems that many requests (about 100) on a big dir > listing cause catalina > stop respon

DoS on tomcat 5.5.x or false alert ?

2005-10-20 Thread David Maciejak
Hi, Seems that many requests (about 100) on a big dir listing cause catalina stop responding, in fact java takes all CPU. After that, a kill is necessary. Configuration files are the default ones. I have experienced the problem on Tomcat 5.5.0 to 5.5.11. Seems that 5.5.12 is not affected. N

NPE in init()

2005-10-20 Thread Zohar Amir
Hello, I'm new here, so all the normal disclaimers... I wrote a servlet and needed to read some configuration, so I overrode init(ServletConfig config). I forgot to invoke super(config) and then tried invoking getServletContext() and got a NPE. It took me some (a lot actually) time to figure ou

Re: Dynamically included jsp's

2005-10-20 Thread Tim Funk
That should work but with development=false checkInterval=900 - there might be a lag of 900 seconds before the nwe file is used. Try development=true -Tim j r wrote: All, This is perhaps a very easy question for many of you, but here it goes: What has changed from tomcat 4.1.30 to tomcat 5

Re: Missing application web.xml, using defaults only - is this a Tomcat bug?

2005-10-20 Thread Rob Hills
Hi All, On 17 Oct 2005 at 11:23, Rob Hills wrote: > I am currently using Tomcat 5.5.9 on Window XP Pro in my development > environment and I believe I have finally tracked down the > cause of a problem that has been plaguing me for some time. Until recently > I've not had the time to do the t

Using placeholders in context.xml for builds

2005-10-20 Thread Allistair Crossley
Hi, Anyone know if you can use placeholders in context files, e.g Currently I am using Ant to perform replacements on the single quoted values in full, e.g replace reloadable='true' with reloadable='false' It works but it's not quite elegant, Cheers, Allistair -

Clustered Tomcat & JSF

2005-10-20 Thread Mindaugas Zaksauskas
Hi, I was trying to make this work for more than a week, maybe there will be someone who will be able to help. Configuration: Tomcat [EMAIL PROTECTED] GNU/Linux, 2.6.13. Cluster configured accordingly to http://raibledesigns.com/tomcat/ (Apache2 + mod_jk + two Tomcat instances on the same box,

Re: Unsubscribe DON'T WORK!

2005-10-20 Thread David Delbecq
That's fun, you can post to the mailing list, but your messages for unsuscribing are considered spams :) <[EMAIL PROTECTED]>: host asf.osuosl.org[140.211.166.49] said: 552 spam score (7.0) exceeded threshold [EMAIL PROTECTED] a écrit : >Hi team of Tomcat Users List! > >All email that you

JAASRealm, Tomcat 5.5 getting HTTP error page 403 Access denied

2005-10-20 Thread Carsten Schiller
Hello! We are trying to implement a login/security environment using Tomcat 5.5's JAASRealm and Struts as a MVC-Framework. After Login ,which fails with error "HTTP Status 403 - Access to the requested ressource has been denied", we can navigate manually to our output.jsp and use ... <%= reque

RE: mod_jk2 under heavy load

2005-10-20 Thread fix
Hi We also had problems with performance using mod_jk2 under heavy load, because we are using apache2, we used mod_proxy instead and now are redirecting the requests to the default http listener. We are using (debian) linux with tomcat 4_1. Bjorn > HI > > We are using IIS with JBoss 4.01(tomcat