Consolidate webapplications

2005-01-19 Thread Roland Carlsson
Hi! We have a lot of small webservers running it's own special task, from router-admins to Outlook Web Access to the company public pages. All these servers is in a private network with one public ip. Today we have solved the problems with accessing these webservers from internet by assigning

Re: Consolidate webapplications

2005-01-19 Thread Viorel Dragomir
You can use apache on the server with public ip address and use 1. mod_proxy to redirect all incomings to the webservers ProxyPass /app1/ http://serverx/app1/ or 2. mod_jk and create a worker for each of your webapplications [if your webservers are tomcats]

Re: Form-based security

2005-01-19 Thread Omar Adobati
what happen if you load tour error page using the address bar? can you see it? Isn't a path matter? regards, Omar On Wed, 19 Jan 2005 00:06:20 -0500, Venkat Radha Venkataramanan [EMAIL PROTECTED] wrote: Hello: I just wrote my first form-based security control. It works fine if I sign

SV: Consolidate webapplications

2005-01-19 Thread Roland Carlsson
Thanks for your answer! Perhaps I missunderstand the meaning of redirect in this context but doesn't that mean that the client browser must do a new request or does it mean that the server with mod_proxy forwards the request to another server and then return the answer from that server to the

Re: Question about JNDI resources

2005-01-19 Thread Harry Mantheakis
It sounds plausible to hold onto the DataSource once you had it. I do, with PostgreSQL. And then there is an issue of synchronization? Hmm... You got me thinking there :-) I have always assumed that a DataSource reference retrieved from a JNDI lookup is a singleton - IOW the connection

Re: Question about JNDI resources

2005-01-19 Thread Harry Mantheakis
I think I found the answer to my own question in the Commons DBCP documentation: http://jakarta.apache.org/commons/dbcp/apidocs/org/apache/commons/dbcp/datas ources/package-summary.html Under the JNDI section, the last paragraph states: quote The reference to the DataSource could be

Re: JndiRelm/tomcat admin tool/ user, role listing

2005-01-19 Thread Tim Funk
JndiRealm does not hav the ability to browse users/groups. The user functionality in the admin app is to be able to edit the xml file as used by memoryRelm. -Tim Rakesh Tripathi wrote: Hi , I have a question related to Tomcat admin tool . Is it possible to list the users and roles from the

Re: Expect: 100-continue

2005-01-19 Thread Julian Reschke
Remy Maucherat wrote on tomcat-dev: Julian Reschke wrote: Hi, Looking at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4812000: -- DESCRIPTION OF THE PROBLEM : The servlet API provides no means of controlling the 100- continue response when the user agent expects it, and doesn't

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2005-01-19 Thread Thomas Chille
On Tue, 21 Dec 2004 20:24:25 -0800, Dwayne Ghant [EMAIL PROTECTED] wrote: The alarm is configured as any other servlet, with the addition of the run-at tag. The following configuration runs the servlet every 15 minutes. If the hour is missing, e.g. :15 the service is run at the specified

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2005-01-19 Thread Tim Funk
run-at is resin specific (non servlet compliant extension) -Tim Thomas Chille wrote: On Tue, 21 Dec 2004 20:24:25 -0800, Dwayne Ghant [EMAIL PROTECTED] wrote: The alarm is configured as any other servlet, with the addition of the run-at tag. The following configuration runs the servlet every 15

Re: isapi jsp rdirector problem - help!

2005-01-19 Thread llekann
hi Windows are different!! the redirector works differently on different windows. maybe that might be the problem. notice step4 (iii.)andstep 4 (iv.) in the attached file. what version of IIS matters! if problem not solved, let me have details of exactly what and what is the problem. how u

Some charts of benchmark results

2005-01-19 Thread Peter Lin
Here are some charts for the benchmark results I posted a few days back. It's taking longer than I expected to create the charts. http://cvs.apache.org/~woolfel/tc_results.html enjoy. peter - To unsubscribe, e-mail: [EMAIL

Running lots of virtual hosts on tomcat

2005-01-19 Thread Robbert-Jan Roos
Hi, Our web department is thinking about moving from coldfusion to tomcat. Currently we have about 400 websites using apache's mod_vhost module. This works great. The only thing one needs to do is create a new directory www.bla.nl and the website is up and running. How would one do this in

Re: Running lots of virtual hosts on tomcat

2005-01-19 Thread Ben Souther
There are a few ways you could handle it. This should get you started: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/deployer-howto.html On Wed, 2005-01-19 at 09:37, Robbert-Jan Roos wrote: Hi, Our web department is thinking about moving from coldfusion to tomcat. Currently we have about

Symbolic links with Tomcat 5.028

2005-01-19 Thread Franck Lefebure
Hi, I'm not able to follow Symbolic Links with Tomcat 5.028 My server.xml looks like: DefaultContext Resources className="org.apache.naming.resources.FileDirContext" allowLinking="true" caseSensitive="false" docBase=""//DefaultContextContext path="/webteam"

RE: Symbolic links with Tomcat 5.028

2005-01-19 Thread Carlos Martins
Hello, I use alloLinking in my webapp and it works. My server.xml file has this context: Context path= docBase=/home/web cookies=true debug=0 workDir=/home/web/tmp reloadable=false swallowOutput=true useNaming=false allowLinking=true Regards Carlos

[OT] a website run on Tomcat and powered by Struts

2005-01-19 Thread t t
Hi, all, I just updated www.sportslovers.net using tiles. Take a look. Any comments or suggestions will be appreciated! T.T. - Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses.

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2005-01-19 Thread Andrzej Jan Taramina
Will be the the RUN-AT-paramter evaluated by Tomcat 5.0x or by anybody else? Use an external scheduler like Quartz or Flux. Andrzej Jan Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com - To

RE: undeploy/deploy

2005-01-19 Thread Andy Kriger
Which ant task do you use to deploy/undeploy wars? What is the url in task? target name=webapp-undeploy depends=webapp-prepare if=app-deployed undeploy url=${container.mgr.url} username=${container.mgr.name}

RE: Form-based security

2005-01-19 Thread Venkat Radha Venkataramanan
Omar! Aha! Even the autherr.html page seems to be protected by the form-based security. When I try to open autherr.html by the url, http://127.0.0.1:8080/MyFirst/autherr.html, I get the login page! How would I unprotect it? Thanks. -Original Message- From: Omar Adobati [mailto:[EMAIL

Re: JndiRelm/tomcat admin tool/ user, role listing

2005-01-19 Thread sudip shrestha
As Tim said, JNDIRealm does not have the ability to do that...So you will have to write a custom code (after you authenticate and get into the 'admin area' ) to make a connection to your realm and retrieve the list of users. However, Current JNDIRealm does not support ldap with SSL and it's not a

SV: SV: Consolidate webapplications

2005-01-19 Thread Roland Carlsson
Hi again! I check mod_proxy and it does what I wanted it to do. Thaks again! Roland Carlsson Den 05-01-19 10.19, skrev Roland Carlsson [EMAIL PROTECTED]: Thanks for your answer! Perhaps I missunderstand the meaning of redirect in this context but doesn't that mean that the client

NullPointerException at line 1472 of CoyoteRequest.java (setAttribute)

2005-01-19 Thread Wendy . Olson
Hello, I am receiving an intermittent NullPointerException when I call the request.setAttribute(java.lang.String name, java.lang.Object o) method from my servlet. The error is not consistently reproducible and only happens infrequently. We are running tomcat 5.0.25 on a Linux server. The

How to get NT login within Tomcat ?

2005-01-19 Thread VAN DER MARLIERE FREDERIC
Hi all. Does anybody know if it is possible to get my NT login from Tomcat? I heard something about Windows Active Directory but I don't know anything about that. Thanks in advance. Fred. Ce message et toutes les pieces jointes (ci-apres le

ConnectionPooling

2005-01-19 Thread micky none
Hi Friends, This is my first message on this list.I want to use the dbcp connection pooling.I set up the server.xml according to an example,but when i trying to use to BasicDataSource to see thw no. of active connections it's throwing errors.I tried searching a lot but to no use.If I go into

Vedr.: How to get NT login within Tomcat ?

2005-01-19 Thread Thomas Nybro Bolding
simply use String userId = request.getRemoteUser(); in your JSP. This returns domain as well as username You might also put request.tomcatAuthentication=false in your jk(2).properties file Regards Thomas Nybro Bolding Senior Analytiker Danske Bank Danske Markets Forretningsstyring

Re: ConnectionPooling

2005-01-19 Thread Viorel Dragomir
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html You must set a web reference into web.xml too. And is better that your resource params from server.xml regarding the database conection to be written into META-INF/context.xml Viorel Dragomir . ..

Re: Tomcat 5 architectural questions

2005-01-19 Thread T K
I grep'ed through the tomcat 5.5.4 sources and found nio under org.apache.catalina.cluster - what's up with that? Not currently in use? tia --- Tim Funk [EMAIL PROTECTED] wrote: There is no nio in tomcat. -Tim T K wrote: Hi, 1) Is T5.0 nio based? 2) Is T5.5 nio based? 3) For

RE: undeploy/deploy

2005-01-19 Thread Phillip Qin
Do you have a context.xml in META-INF in your war? Since 5.x, you don't really need to undeploy first, adding update=true into deploy task will undeploy your app before deployment.. -Original Message- From: Andy Kriger [mailto:[EMAIL PROTECTED] Sent: January 19, 2005 10:10 AM To:

Classloader problem with ant versions

2005-01-19 Thread Jagadeesh Sunkara
Hello Group, Is there any way to make tomcat use ant.jar from my web application's web-inf/lib instead of the one from tomcat/common/lib? I need this as my web app uses ant 1.6.2 but where tomcat 5.0.28 comes with ant 1.6.1 Any help/pointers is appreciated... Thanks, Jagadeesh

Re: Tomcat 5 architectural questions

2005-01-19 Thread Tim Funk
nio is used for clustering to replicate HttpSessions to other nodes in the cluster. nio is not used for talking to the web browser. -Tim T K wrote: I grep'ed through the tomcat 5.5.4 sources and found nio under org.apache.catalina.cluster - what's up with that? Not currently in use? tia --- Tim

Re: Running lots of virtual hosts on tomcat

2005-01-19 Thread Duong BaTien
Robbert-Jan Roos wrote: Hi, Our web department is thinking about moving from coldfusion to tomcat. Currently we have about 400 websites using apache's mod_vhost module. This works great. The only thing one needs to do is create a new directory www.bla.nl and the website is up and running. How

Re: [OT] a website run on Tomcat and powered by Struts

2005-01-19 Thread Larry Meadors
Gah! Get rid of that book.gif, that looks like something from a late 80's BBS. ;-) Grab one from here instead: http://art.gnome.org/art-icons/ Larry On Wed, 19 Jan 2005 06:59:07 -0800 (PST), t t [EMAIL PROTECTED] wrote: Hi, all, I just updated www.sportslovers.net using tiles. Take a look.

Re: Consolidate webapplications

2005-01-19 Thread Duong BaTien
Roland Carlsson wrote: Hi! We have a lot of small webservers running it's own special task, from router-admins to Outlook Web Access to the company public pages. All these servers is in a private network with one public ip. Today we have solved the problems with accessing these webservers from

core dump when start Apache 2.0.52 with jk2 module in AIX 5.2 HELP!

2005-01-19 Thread Fan, Tony
Hi, I build Apache 2.0.52 and jk2 connector (jakarta-tomcat-connectors-jk2-2.0.4-src.tar.gz) in AIX 5.2 without any problem, but after I start Apache with jk2 module, it generated Segmentation fault(coredump). Here is I run dbx: # dbx httpd core Type 'help' for help. [using memory

Tomcat 5.5.x Specify JVM Memory Options using Tomcat5 on Windows

2005-01-19 Thread migar
Hi - I am trying to configure the JVM options used for Tomcat 5.5.4 on Windows 2000. I've seen a few scattered posts about how to do this using by entering keys in the registry for Tomcat, however I've been unable to find anything with sufficient documentation and haven't been successful with

Re: Expect: 100-continue

2005-01-19 Thread Remy Maucherat
On Wed, 19 Jan 2005 13:54:36 +0100, Julian Reschke [EMAIL PROTECTED] wrote: Remy Maucherat wrote on tomcat-dev: Tomcat always automatically sends a 100-continue when going into the filter pipeline if an expectation is requested. This should be on tomcat-user, BTW. So are there

Autodeploy webapps in user directories

2005-01-19 Thread Gedaliah Wolosh
I am setting up a tomcat server for students to develop and demo their web applications. I need web applications deployed and/or redeployed automatically when 1) ~/my_tomcat is created with a web application. 2) ~/my_tomcat/WEB-INF/web.xml changes 3) ~/my_tomcat/WEB-INF/classes changes I have

RE: undeploy/deploy

2005-01-19 Thread Andy Kriger
Since 5.x, you don't really need to undeploy first, adding update=true into deploy task will undeploy your app before deployment.. I added that to my Ant script and removed the dependency on webapp-undeploy. Still works about as often as it doesn't. The WAR file is removed but the directory

Re: Consolidate webapplications

2005-01-19 Thread Parsons Technical Services
Just a suggestion for a simple alternative. If the URL is of no concern then simply a page of links to each service would point the user to proper port. All they need to remember is one page and that one can be put on the standard port 80. You could even put it behind a login. Thus no proxy, no

Re: Running lots of virtual hosts on tomcat

2005-01-19 Thread Ronald Klop
RJ, I think with a filter we can do our own version of mod_vhost. But for reloading the classes/jsps it needs two instances of Tomcat (maybe on the same machine) with a loadbalancer to update one without interrupting the user. Or is the compiler build into Tomcat 5.5 fast enough (and without

RE: undeploy/deploy

2005-01-19 Thread Phillip Qin
In your context.xml (5.0 codebase), Context path=/your.context docBase=your.context debug=0 In your server.xml (5.0 codebase) Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=false xmlValidation=false xmlNamespaceAware=false -Original Message-

SSL and Tomcat

2005-01-19 Thread Chris Cherrett
I have two applications running on a Tomcat server. One is the main webpage and the other is a shopping cart for that webpage. I would like to set up a secure checkout for the cart. Is it best to encrypt the whole cart or just part of the cart? Should the main website and the cart be on the

Re: ConnectionPooling

2005-01-19 Thread Harry Mantheakis
This may not help, but try swapping the order of the ResourceParams and Resource elements in your 'server.xml' file. Also, you seem to be declaring the DefaultContext element three times (!) which seems wrong. HTH Harry Mantheakis Hi Friends, This is my first message on this list.I want to

Re: Re: ConnectionPooling

2005-01-19 Thread micky none
Tried that too my friend,isn't there any sure shot answer for this one..im like half mad after this...as of now. On Thu, 20 Jan 2005 Harry Mantheakis wrote : This may not help, but try swapping the order of the ResourceParams and Resource elements in your 'server.xml' file. Also, you seem

Re: [OT] a website run on Tomcat and powered by Struts

2005-01-19 Thread t t
Thanks. I will think about it. T. T. Larry Meadors [EMAIL PROTECTED] wrote: Gah! Get rid of that book.gif, that looks like something from a late 80's BBS. ;-) Grab one from here instead: http://art.gnome.org/art-icons/ Larry On Wed, 19 Jan 2005 06:59:07 -0800 (PST), t t wrote: Hi, all, I

RE: [OT] a website run on Tomcat and powered by Struts

2005-01-19 Thread Mike Jackson
You have an extra title/title at the top of the page for some reason. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: t t [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 6:59 AM To: Tomcat Users List Subject: [OT] a website run on Tomcat and

RE: [OT] a website run on Tomcat and powered by Struts

2005-01-19 Thread t t
Thanks so much. That happened when I change to use Tiles. T.T. Mike Jackson [EMAIL PROTECTED] wrote: You have an extra at the top of the page for some reason. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: t t [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Tomcat Error: java.lang.NoClassDefFoundError: org/apache/naming/JndiPermission

2005-01-19 Thread Kathie Manson
Hi, Up until yesterday, I was happily running tomcat 4.1.30. Then, for some reason, I started getting this error. I'm not sure why. It's likely that I somehow changed the class path, or installed something else that affected some other java classes, but I just don't know how to fix it. So,

Re: Re: ConnectionPooling

2005-01-19 Thread Parsons Technical Services
People who have to figure out how to use other peoples work either have messy hair or are bald. There are three main pages for reference: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations

Encryption toolkit for locally stored passwords

2005-01-19 Thread Edmon Begoli
Is there a way on Tomcat 5.5.x to store datasource passwords in some encrypted format using some out of the box Tomcat utilities. Thank you, Edmon

403 Forbidden

2005-01-19 Thread Søren Blidorf
Hi. I have setup my web.xml error page 403 Forbidden to go to my page restrictedError.jsp I cannot get it to work! Can it be because I use a danish browser where the error code is 403 Forbudt BR Soren - To unsubscribe,

Re: Encryption toolkit for locally stored passwords

2005-01-19 Thread Tim Funk
no -Tim Edmon Begoli wrote: Is there a way on Tomcat 5.5.x to store datasource passwords in some encrypted format using some out of the box Tomcat utilities. Thank you, Edmon - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Tomcat 5 - Apache2 SSL with mod_proxy

2005-01-19 Thread Kris Reese
Apache 2.0.52 Tomcat 5.5 openSSL 9.7e I've successfully been able to install all three components with the following attributes: I've successfully connected Tomcat to Apache via the mod_proxy module instead of using the JK2 connector I've also successfully integrated openSSL into apache, so

Re: approved product

2005-01-19 Thread remm
Your document. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Webapp Maintenance in a Cluster

2005-01-19 Thread Richard Mixon (qwest)
I am trying to setup a cluster of two Tomcat 5.0.19 servers behind a single instance of Apache. We currently use the JK connector to connect Apache2 and a singel Tomcat instance now, and would start to use it in load balancing mode with the two Tomcat instances. We will need to start using JBoss

JSP/JDBC question

2005-01-19 Thread Jack Lauman
I'm getting the following error when my JSP form POSTs: 17:15:23,500 INFO [STDOUT] -SQLException- 17:15:23,500 INFO [STDOUT] SQLState: 42000 17:15:23,500 INFO [STDOUT] Message: Syntax error or access violation message from server: You have an error in your SQL syntax; check the manual

Re: 403 Forbidden

2005-01-19 Thread Wendy Smoak
From: Søren Blidorf [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Wednesday, January 19, 2005 4:08 PM Subject: 403 Forbidden I have setup my web.xml error page 403 Forbidden to go to my page restrictedError.jsp I cannot get it to work! What have you tried? I'm having a similar

bug? invalid url-pattern - 'schemas/content.xsd'

2005-01-19 Thread Robert Koberg
Hi, Tomcat-5.5.4 on jdk1.5, windows xp I have a schema validated web.xml (that is valid) that throws an error at startup saying this is invalid: sevlet-mapping servlet-namecontent-schema/servlet-name servlet-mappingschemas/content.xsd/servlet-mapping /sevlet-mapping Why would this be

mod_jk or mod_proxy

2005-01-19 Thread Edmon Begoli
Hi, Can someone please tell me which one would you recommend for load balancing of cluster of tomcats from apache2 cluster (incoming traffic to apache2 is https). Thank you, Edmon

Custom Authenticator

2005-01-19 Thread TBLDM
I created my own Authenticator . Deployed at tomcat_home \server\classes.. extract the Authenticators.properties include my Authenticator: -- Authenticators.properties -

Re: bug? invalid url-pattern - 'schemas/content.xsd'

2005-01-19 Thread Parsons Technical Services
Try changing the name of the servlet. From content-schema To content_schema Or contentschema I know there are some restrictions on what characters you can use and where in the name you can use them. Can't find the reference at the moment. Doug - Original Message - From: Robert Koberg

Re: mod_jk or mod_proxy

2005-01-19 Thread Parsons Technical Services
Take a look at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/balancer-howto.html There are three ways to do it. Each has it's pros and cons. jk Complex setup -- Advance features and Failover proxyEasy setup -- Limited features balancerRuns on tomcat -- Not for high

Re: bug? invalid url-pattern - 'schemas/content.xsd'

2005-01-19 Thread Robert Koberg
Parsons Technical Services wrote: Try changing the name of the servlet. From content-schema To content_schema Or contentschema I know there are some restrictions on what characters you can use and where in the name you can use them. Can't find the reference at the moment. Thanks, but changing

RE: bug? invalid url-pattern - 'schemas/content.xsd'

2005-01-19 Thread Caldarale, Charles R
From: Robert Koberg [mailto:[EMAIL PROTECTED] Subject: Re: bug? invalid url-pattern - 'schemas/content.xsd' sevlet-mapping /sevlet-mapping Do you really have sevlet in the tags, or is your r-key a little sticky? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

Re: bug? invalid url-pattern - 'schemas/content.xsd'

2005-01-19 Thread Robert Koberg
Caldarale, Charles R wrote: From: Robert Koberg [mailto:[EMAIL PROTECTED] Subject: Re: bug? invalid url-pattern - 'schemas/content.xsd' sevlet-mapping /sevlet-mapping Do you really have sevlet in the tags, or is your r-key a little sticky? ufff... I have been working too long today... Yes, I have

[OT] Modifying Reply-To header in list messages

2005-01-19 Thread Antony Paul
Hi all, What people here think about this article. http://www.unicom.com/pw/reply-to-harmful.html The Apache lists modifies reply-to field and put in the list address. Is this acceptable ? rgds Antony Paul - To

Re: [OT] Modifying Reply-To header in list messages

2005-01-19 Thread Larry Meadors
Werks fer me. On Thu, 20 Jan 2005 09:59:03 +0530, Antony Paul [EMAIL PROTECTED] wrote: Hi all, What people here think about this article. http://www.unicom.com/pw/reply-to-harmful.html The Apache lists modifies reply-to field and put in the list address. Is this acceptable ?

Re: [OT] Modifying Reply-To header in list messages

2005-01-19 Thread Parsons Technical Services
If the author subscribed to this list they would be aware that the main point of mailing from a different address is a mute issue and does not apply to this list as well as many others. If an email is not sent from the subscribed email it won't go through, thus negating this reason for a

Re: [OT] Modifying Reply-To header in list messages

2005-01-19 Thread PA
On Jan 20, 2005, at 05:29, Antony Paul wrote: What people here think about this article. Chip Rosenthal Considered Harmful?!? Regarding Munging... well... in short... the entire email chain is very much about munging in the first place... Is this acceptable ? Oh, my... a question as old as

SV: 403 Forbidden

2005-01-19 Thread Søren Blidorf
This is the error page part of my web.xml: error-code500/error-code location/internalError.jsp/location /error-page error-page error-code404/error-code location/notFoundError.jsp/location /error-page error-page error-code403/error-code

Problems with IIS+TOMCAT5.5.4

2005-01-19 Thread fan lianjie
Right now our sites use the isapi_redirect.dll to redirect to Tomcat 5.5.4. and are having very erratic inetinfo.exe CPU usage sometimesresulting in the process going to 99% and becoming unresponsive, requiring a reboot. Has anyone else had any problems like this? Any help will be greatly.