Re: [OT] JSP/Servlet Hosting

2004-06-09 Thread Steven J. Owens
On Mon, Jun 07, 2004 at 10:27:33AM +0200, Schalk wrote: > I am getting a little concerned about Java's position as far as a > development language for the web. The reason I say this is because trying to > find good, reliable hosting at a competitive price, by competitive I mean > against the price

RE: switch-off url rewriting

2004-06-09 Thread Ralph Einfeldt
AFAIK there is no way to disable this by configuration. Just an idea: Implement a servlet filter and a custom ResponseWrapper. The ResonseWrapper can have it's own encodeURL that returns the url unmodified. Map that filter to every request. As I havn't tried it I'm not 100% shure... > -O

switch-off url rewriting

2004-06-09 Thread Karin Krause
Hi, I use Tomcat 4.1.27. I try to make sure that session url rewriting is switched off in all cases. As far as I understood even if the context of my web application was configured to use cookies, in the first request from the client the method HttpServletResponse.encodeURL() will generate an URL

Re: 2nd inquiry: how to - programmatically - authenticate oneself as Tomcat manager?

2004-06-09 Thread Bill Barker
1) Assuming boring system encodings, and something to do Base64 encoding: String creds = username+":"+password; String b64creds = Base64Util.encode(creds.getBytes()); tmc.addRequestProperty("Authorization","Basic "+b64creds); 2) Not with Basic. You might be able to rig something with Fo

Deployment Questions

2004-06-09 Thread Vernon
Hi, My first question is how to install an application as a default one and at the same time keep the original context of ROOT. (I think it would be better to have the manager.) My second question is what is the best way to deploy an application on a Linux from the window development environment.

RE: Memory Settings On Tomcat

2004-06-09 Thread Peter Lin
by the way, in case you haven't heard of it, http://mc4j.sourceforge.net/ mc4J can monitor tomcat4 and generate nice graphs. I haven't used it, but it looks nice. peter --- Michael Duffy <[EMAIL PROTECTED]> wrote: > > Hi Peter, > > Hiding in plain sight: > > http://jakarta.apache.org/tomca

Re: Spawn New Thread

2004-06-09 Thread Tim Funk
If the thread is associated with a servlet. It would be best to use the destroy method of the servlet to stop the thread. -Tim Corey Baswell wrote: Hello, I'm trying to figure out what the proper way for spawning a new thread in Tomcat is. I can create a new thread when my servlet is first loa

Apache Tomcat/5.0.19 SSI - not working

2004-06-09 Thread R A
1) Followed Tomcat SSI setup instructios: I renamed the jar file to servlets-ssi.jar Removed comments from SSI section in web.xml 3) Added to index.html under /jsp-examples 4) Copied footer.html to /jsp-examples 5) Retarted Tomcat Brought up /jsp-examples/index.html in browser, but the

Re: Build Problem - jakarta-tomcat-connectors-4.1.30-src

2004-06-09 Thread Evan Read
Hey, Thanks for the pointer. I am on Tru64 which doesn't provide a J2EE but I was able to downloaded the classes anyway and add them to my class path. I am following some instructions for getting the connector working and I am expecting a "jtc.jar" file to be created when running ant in the co

Re: redirectport not redirecting (again!)

2004-06-09 Thread Digby
Aha! I had !! Doh. Knight, Digby wrote: Hi all, I know this has been discussed a thousand times, but I've just tried to set up Https redirection on Tomcat 5.0.19 or 24, and no matter what I do or what instructions I follow, it won't work. Below are snips from my server.xml and applications web.xml

[Announce] New book "Professional Apache Tomcat 5"

2004-06-09 Thread Vivek Chopra
Announcing the release of a new book "Professional Apache Tomcat 5" (Wrox Press) http://www.wrox.com/books/0764559028.shtml This is the second edition of the popular "Professional Apache Tomcat" book. Who is this book for? This book is for system administrators and Java developers with res

Solved: struts or parser change from Tomcat 4.x to 5.x?

2004-06-09 Thread Jason Palmatier
Got it. It seems that for the version of struts that Tomcat 5.0.25 uses you MUST place a slash "/" before the "config" field. An example: action com.ibm.as400ad.webfacing.runtime.controller.struts.WFActionServlet * Here's the important part * config

Re: Spawn New Thread

2004-06-09 Thread Filip Hanik - Dev
Thread t = new Thread(); t.setDaemon(true); t.start(); - Original Message - From: "Corey Baswell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 09, 2004 4:18 PM Subject: Spawn New Thread > Hello, > > I'm trying to figure out what the proper way for spawning a new t

Re: Spawn New Thread

2004-06-09 Thread Filip Hanik - Dev
Thread t = new Thread(); t.setDaemon(true); t.start(); - Original Message - From: "Corey Baswell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 09, 2004 4:18 PM Subject: Spawn New Thread > Hello, > > I'm trying to figure out what the proper way for spawning a new t

RE: Spawn New Thread

2004-06-09 Thread Frank Zammetti
You need to make your thread a daemon thread by calling: myThread.setDaemon(true); That will take care of the shutdown problem. Frank From: "Corey Baswell" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Spawn New Thread Date: Wed, 09 Jun 2004 16

Spawn New Thread

2004-06-09 Thread Corey Baswell
Hello, I'm trying to figure out what the proper way for spawning a new thread in Tomcat is. I can create a new thread when my servlet is first loaded, but it does not get closed down when tomcat does. Is there anyway to register a new thread with Tomcat so that it will get closed when Tomcat go

Alternative to Tomcat's JNDI Implementation

2004-06-09 Thread Sudip Shrestha
First read this trail: http://www.mail-archive.com/[EMAIL PROTECTED]/msg127064.html Current Tomcat JNDI implementation for LDAP authentication with SSL on port 636 does not work...Set the appropriate debug level in the Realm Definition and check your tomcat log to view the exceptions. Here is a

tomcat administration

2004-06-09 Thread Schoudel, Brian
I have what is probably a dumb question but I'm not seeing the solution. On one server it appears the tomcat administration link seems to be open to the world and does not require the admin login. Once in the logoff button doesn't seem to do anything. A different server of the same install sourc

2nd inquiry: how to - programmatically - authenticate oneself as Tomcat manager?

2004-06-09 Thread Jerry Miernik
The question is related to undeploying a webapplication from a Java code. A connection to tomcat manager using URL tomcatMgr = new URL("http://localhost:8080/manager/undeploy?path=/any";); URLConnection tmc = tomcatMgr.openConnection(); results in: java.io.IOExcepti

struts or parser change from Tomcat 4.x to 5.x?

2004-06-09 Thread Jason Palmatier
I have an application that runs fine in Tomcat 4.1.18 but gives me a "Status 503 - Servlet action is currently unavailable" error when I try to run it with Tomcat 5.0.25. The full error from the Tomcat log is below. I checked the struts-user list and tomcat-user list archives and searched on goo

RE: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Matt Smith
Filip, I am using a custom appender for the servlet context, and was not passing the Throwable on down. Once I did this, I am getting a java.io.NotSerializableException... I'll look into what's being added to the session, that is not Serializable. Thanks, m. -Original Message- From: Fi

Re: Performance Tuning Question For Tomcat 4.1.29 On Windows 2000

2004-06-09 Thread Kunthar
Hi all, I am new in community. I'd like to say that it is really good idea to have a book before fight with daily troubles. It has two advantages; 1. You can help by doing this to all developers and volunteers, 2. You have refined ideas to organize logic and understand what exactly happens inside

Connecting Apache and Tomcat on AIX 5.1

2004-06-09 Thread David Goldschmidt
Hello. Has anyone successfully connected Apache 2.0.49 and Tomcat 4.1.30 via mod_jk2.so under AIX 5.1? I've been unable to compile mod_jk2.so, though I've got Apache and Tomcat running in standalone modes. And I see no binaries anywhere on the Web. Any help (or URLs with AIX binaries) would b

RE: Memory Settings On Tomcat

2004-06-09 Thread Michael Duffy
Hi Peter, Hiding in plain sight: http://jakarta.apache.org/tomcat/articles/performance.pdf I apologize for overlooking it for all this time. I'll be sure to go through it right away. Thanks - % --- Peter Lin <[EMAIL PROTECTED]> wrote: > > You might want to look at the VM performance numbe

More JVM Setting Info

2004-06-09 Thread Michael Duffy
Found this: http://java.sun.com/docs/hotspot/gc1.4.2/#4.1.When%20to%20Use%20the%20Throughput%20Collector|outline Maybe if I'd read and think more and post to forums less I'd get somewhere. ;) % __ Do you Yahoo!? Friends. Fun. Try

RE: Memory Settings On Tomcat

2004-06-09 Thread Peter Lin
You might want to look at the VM performance numbers in my Performance article. The link is listed on the tomcat resources page. Generally, tweaking the generations takes time. for something, like XML, tweaking generation ratio doesn't help. peter Michael Duffy <[EMAIL PROTECTED]> wrote

RE: Memory Settings On Tomcat

2004-06-09 Thread Michael Duffy
Hi Yoav, > Yes to 1, and likely yes to 2. Check out the > different garbage > collector implementations, and the directives for > setting old and young > generation sizes. Your case is a classic one for > setting a small old > generation size relative to the young generation > size: maybe even

RE: Performance Tuning Question For Tomcat 4.1.29 On Windows 2000

2004-06-09 Thread Shapira, Yoav
Hi, No problem, it's not a waste of time, if you missed it 1000 others did as well. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Michael Duffy [mailto:[EMAIL PROTECTED] >Sent: Wednesday, June 09, 2004 2:48 PM >To: Tomcat Users List >Subject: RE: Performance Tu

RE: Performance Tuning Question For Tomcat 4.1.29 On Windows 2000

2004-06-09 Thread Michael Duffy
Hi Yoav, Yup, I'm a doofus. ;) I realized after I'd sent this note out that I should look on the Tomcat site for help. I'm making those changes to my web.xml now. Sorry to waste your time, and thanks. - % --- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > > Hi, > Note that these fork and d

RE: Performance Tuning Question For Tomcat 4.1.29 On Windows 2000

2004-06-09 Thread Shapira, Yoav
Hi, Note that these fork and development settings are explicitly covered in the tomcat docs with regards to development versus production configurations. For tomcat 4.1, see http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html. Yoav Shapira Millennium Research Informatics >-Or

Performance Tuning Question For Tomcat 4.1.29 On Windows 2000

2004-06-09 Thread Michael Duffy
That nice performance tuning presentation by Glenn Nielsen has some nice tips that I was unaware of, but there's one that's confusing me. In web.xml, he talks about the servlet fork. This tells Tomcat to compile JSPs in a separate process if set to true. It prevents memory leaks due to javac

RE: Memory Settings On Tomcat

2004-06-09 Thread Shapira, Yoav
Hi, Go to http://localhost:8080/manager/status and take a look. Yoav Shapira Millennium Research Informatics >-Original Message- >From: David Muller [mailto:[EMAIL PROTECTED] >Sent: Wednesday, June 09, 2004 2:27 PM >To: Tomcat Users List >Cc: [EMAIL PROTECTED] >Subject: RE: Memory Setti

RE: Memory Settings On Tomcat

2004-06-09 Thread David Muller
Peter, Do you have more specifics on this? "...TC5 has the new status servlet, which will tell you how much heap is actually in use currently." I've been using the /manager and jmxpoxy app URL's but I can't find anything which has heap info in it. What am I missing? /manager/list /manager/serve

Re: NoClassDefFoundError

2004-06-09 Thread Jacob Kjome
Is your webapp in "ROOT"? That's usually the default application for Tomcat and your own app would be in a named context. Assuming you are doing the latter, and your named context is "mycontext", you'd put it in: $CATALINA_HOME/webapps/mycontext/WEB-INF/lib Jake Quoting "[EMAIL PROTECTED]" <[E

Tomcat Tuning and Troubleshooting

2004-06-09 Thread Michael Duffy
Google found me a fine looking paper on Tomcat tuning and troubleshooting: http://kinetic.more.net/web/javaserver/resources/wpapers/printer/performance.pdf I just started reading it for myself. Anyone familiar with its contents who would like to comment is most welcome. Thanks - %

Re: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Filip Hanik - Dev
duh, didn't read your message all the way through. look in the other log files, it should get logged somewhere. Filip - Original Message - From: "Filip Hanik - Dev" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, June 09, 2004 12:12 P

RE: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Matt Smith
That is what I am wondering about ... I have the level set to debug, but no stack trace is being logged ... I could probably determine the issue if I could see the stack trace. Here is the log with the messages just prior, and the messages just after. There are no more messages from Processor23

Re: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Filip Hanik - Dev
you should also see a stack trace, please post that one to the list, that should give us all the info we need. Most likely is that one of your attributes are not serializable Filip - Original Message - From: "Matt Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June

Servlet ... threw load() exception -> ActionServlet.parseModuleConfigFile

2004-06-09 Thread Jason Palmatier
I have a webapp that runs in Tomcat 4.1.18 fine, but when I load them into Tomcat 5.0.25 I get an "HTTP Status 503 - Servlet action is currently unavailable" error. I get the following error on Tomcat startup in my Tomcat log: 2004-06-08 13:57:08 StandardContext[/balancer]org.apache.webapp.balanc

Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Matt Smith
Any info on the following would be appreciated, cannot see the exception being generated. I have the logging level set to debug. I am using a filter to wrap the session, but I the valve should never see this so I would not expect a ClassCastException. Is there any way to tell the logging in tomc

RE: NoClassDefFoundError

2004-06-09 Thread Jerry Miernik
Try to move that file to $CATALINA_HOME/common/lib -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 11:50 AM To: tomcat-user Subject: NoClassDefFoundError Hi all! I'm new to Tomcat. I have a problem testing my web application (jsp p

NoClassDefFoundError

2004-06-09 Thread [EMAIL PROTECTED]
Hi all! I'm new to Tomcat. I have a problem testing my web application (jsp pages) A page of this application fails with this exception: javax.servlet.ServletException: org/apache/axis/client/Service org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256) javax.servlet.

4.0.29: does JNDIRealm (LDAP) perform authorization right after authentication??

2004-06-09 Thread Sauer, Christian {PGSQ~Basel}
Hello, I have LDAP users that are members of one or more groups and I also have users that aren't members in any group at all. Only users that have successfully authenticated themselves may use my web application. Some other users (e.g. those being member of the admin group) may use additional fun

Getting Host information from within webapp

2004-06-09 Thread Kevin McAllister
Hello, I am using tomcat 4.1.29, and would like to obtain the host name attribute from within my servlet code for the associated context in which I am running. I think I would be able to retrieve this information utilizing the JMX stuff, however, it is not clear to me how I would be able to te

SSL - Page Cannot be displayed (Maybe 2nd post...apologies if it is)

2004-06-09 Thread Lee, Roger (NE)
Greetings all, Background: Server is W2K Adv SP2 with IIS 5.0. JDK 1.3, JSSE extensions are installed. I am having some issues setting up Tomcat to use SSL. I have successfully installed a certificate in the keystore and configured the server.xml file. HTTPS is to listen on port 8443 and HTT

SSL - Page Cannot be displayed

2004-06-09 Thread Lee, Roger (NE)
Greetings all, Background: Server is W2K Adv SP2 with IIS 5.0. JDK 1.3, JSSE extensions are installed. I am having some issues setting up Tomcat to use SSL. I have successfully installed a certificate in the keystore and configured the server.xml file. HTTPS is to listen on port 8443 and HTT

Re: Memory Settings On Tomcat

2004-06-09 Thread Peter Lin
I have it running XP Pro and Win2K3 server without any problems, but that's no gaurantee. I'm only using it for stress testing purposes with simple apps, so it's not like I have a a full blown JSTL or Struts app running on it. I think others on the list can provide better information about

RE: tomcat hangs

2004-06-09 Thread Ryan Lissack
Hi Matt, See this message for the probable solution: http://marc.theaimsgroup.com/?l=tomcat-user&m=108670043100516&w=2 Also see the following messages for further explanations: http://marc.theaimsgroup.com/?l=tomcat-user&w=2&r=1&s=tomcat+jitters%2C+then +hangs+-+please+help&q=b HTH, Ryan. -

Re: unable to connect to mysql db on localhost (mysql not listening!) [OT]

2004-06-09 Thread ilasno
you're absolutely right. thank you for setting a user list newby straight. but just for any other poor soul that might stumble upon this, that was exactly what solved my problem... thanks! [EMAIL PROTECTED] wrote: Although it's quite off topic: In /etc/mysql/my.cnf comment out this line: skip

tomcat hangs

2004-06-09 Thread Matt Tucker
Hello, I know I've seen this issue discussed in a lot of places but I've yet to see a definitive solution. Here's our problem: we are running three instances of tomcat on our server. Two of them are running live webapps for two clients and one is for development. One app has been running for ab

Re: [Fwd: tomcat url rewriting protblem]

2004-06-09 Thread Christophe Andreoli
Hi David, thank you for the answer.I know it's a apche topic. I just thought that tomcat disturs the url rewrite ruling christophe > You do realize this is very off topic as it's an Apache httpd issue, > > not a Tomcat issue. The question would be better asked on an Apache > > web server list

Re: [Fwd: tomcat url rewriting protblem]

2004-06-09 Thread Christophe Andreoli
moreover [R] is not the reason, as [R] is not necessary for the redirecting. It just show in the browser that the url has been redirected christophe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Fwd: Tomcat and IIS 6 - multiple hosted sites

2004-06-09 Thread Jason L. West, Sr.
Does anyone have any kind of insight on this? Thanks for you help in advance. Jason L. West, Sr. Original Message Subject: Tomcat and IIS 6 - multiple hosted sites Date: 06/09/2004, 03:10 From: "Jason L. West, Sr." <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]>

RE: JSP source being shown (not being executed)

2004-06-09 Thread Norris Shelton
This may be the problem with was talked about a while back. Here are the contents of one of the e-mails: From: "Asaf Barkan" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Subject: security hole on windows/ Tomcat with JRE 1.4.2 (b28) Date: Sun, 24 Aug 2003 18:04:2

Re: Memory Settings On Tomcat

2004-06-09 Thread Michael Duffy
One other factor in upgrading to Tomcat 5.0.x: I'm using JSTL for my app, so that will mean a JSTL 1.1 JAR upgrade, too. I haven't tested anything with it yet. % --- Peter Lin <[EMAIL PROTECTED]> wrote: > if you can upgrade to tomcat5, I would recommend it. > the reason I suggest this is T

Re: Memory Settings On Tomcat

2004-06-09 Thread Michael Duffy
Thank you, Peter Lin. I wasn't aware of the new status servlet. I'll look into an upgrade. One question: any problems reported with installing Tomcat 5.0.x as a service on Windoze servers? I believe they switched from Alexandria's JavaService to the new Jakarta Daemon for TC 5.0.x. Is that co

RE: unable to connect to mysql db on localhost (mysql not listening!) [OT]

2004-06-09 Thread Ralph Einfeldt
Although it's quite off topic: In /etc/mysql/my.cnf comment out this line: skip-networking restart mysql > -Original Message- > From: ilasno [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 09, 2004 5:13 PM > To: Tomcat Users List > Subject: Re: unable to connect to mysql db on localh

RE: Memory Settings On Tomcat

2004-06-09 Thread Michael Duffy
Hi Yoav, Just the person I was hoping to hear from! Thanks for responding. > It's not a good idea to set -Xmx to a higher amount > than the amount of > physical RAM: the JVM will thrash once it reaches > much less than 512MB. Oh, my, so -Xmx512m is the best I can do. > Your understanding is g

how to - programmatically - authenticate oneself as Tomcat manager?

2004-06-09 Thread Jerry Miernik
The question is related to undeploying a webapplication from a Java code. A connection to tomcat manager using URL tomcatMgr = new URL("http://localhost:8080/manager/undeploy?path=/any";); URLConnection tmc = tomcatMgr.openConnection(); results in: java.io.IOExcepti

Re: Memory Settings On Tomcat

2004-06-09 Thread Peter Lin
if you can upgrade to tomcat5, I would recommend it. the reason I suggest this is TC5 has the new status servlet, which will tell you how much heap is actually in use currently. the JVM will not release memory back to the OS that is true. in terms of performance the biggest indicator of poo

Re: unable to connect to mysql db on localhost (mysql not listening!)

2004-06-09 Thread ilasno
ok, so first i checked out running processes, and myql was there: 229 mysql /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file ... 234 mysql /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file ... 235 mysql /usr/sbin/mysqld --

RE: Tomcat and JSF

2004-06-09 Thread Shapira, Yoav
Hi, >Will tomcat have own JSF implementation like JSP implementation No more than we have a JMS, JCA, or JavaMail implementation ;) Tomcat implements that Servlet and JSP specs, that's it's purpose ;) There might be an Apache/Jakarta JSF implementation, I don't know, but it won't be part of to

RE: Memory Settings On Tomcat

2004-06-09 Thread Shapira, Yoav
Hi, >I've got Tomcat 4.1.29 installed to run as a service >under JDK 1.4.1_05 on this Windows 2000 server. The >Tomcat memory settings on startup are -Xms64m and >-Xmx1024m. The server has 512MB of physical RAM It's not a good idea to set -Xmx to a higher amount than the amount of physical RAM:

Re: Tomcat and JSF

2004-06-09 Thread Jeanfrancois Arcand
snpe wrote: Is there plan that tomcat support JSF specification ? JSF has been tested on both 4.1.x and 5.x. Just bundle the JSF lib with your war files. -- Jeanfrancois regards Haris Peco - To unsubscribe, e-mail: [EMAIL PRO

Re: Tomcat and JSF

2004-06-09 Thread snpe
I know this , but my question is : Will tomcat have own JSF implementation like JSP implementation regards On Wednesday 09 June 2004 02:01 am, James Black wrote: > You have to add some jar files to your webapp, but JSF will work on Tomcat > 5, I haven't tried it on Tomcat 4 in 8 mths. > > " Work

Memory Settings On Tomcat

2004-06-09 Thread Michael Duffy
I recently had a problem with a Windoze server hanging up due to memory problems. I've got Tomcat 4.1.29 installed to run as a service under JDK 1.4.1_05 on this Windows 2000 server. The Tomcat memory settings on startup are -Xms64m and -Xmx1024m. The server has 512MB of physical RAM installed. Th

Re: Second try: Embedded Tomcat 5.0: servlet mappings added to context after start do not work. Looking for suggestions...

2004-06-09 Thread Jeanfrancois Arcand
[EMAIL PROTECTED] wrote: I have an application which embeds tomcat 4.1.12. It dynamically creates contexts, adding wrappers for servlets, etc. Due to the dynamic nature of this application, it can add and remove servlet mappings after the context has been started (added into a host in the sta

RE: AW: IP Adresses

2004-06-09 Thread Ralph Einfeldt
Is the other web server also tomcat or something else ? > -Original Message- > From: Gunnar Pörschke [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 09, 2004 4:09 PM > To: 'Tomcat Users List' > Subject: AW: AW: IP Adresses > > > Thanks, this time it helps. But Tomcat still blocking all

RE: AW: IP Adresses

2004-06-09 Thread Andy Eastham
Gunnar, You are contacting the developers of Tomcat. I'm not one myself, but I bet some of the people who have put in vast amounts of their own time voluntarily to develop Tomcat would be quite offended by your comment. I also wouldn't be surprised if the reason that you can't run another web se

Re: error starting tomcat

2004-06-09 Thread David Smith
Check your system log files. I'll bet Fedora's doing this via some sort of security cron job. --David Werner van Mook wrote: Nope does not work. Somehow it seems to delete the newly created file. I've also tried to make the normal tomcat-user.xml file tomcat5 accessable. It changes it back to r

RE: jk_nt_service.exe

2004-06-09 Thread Carl Olivier
Hey. I think you should check: http://www.alexandriasc.com/software/JavaService/index.html Regards, Carl -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: 09 June 2004 04:27 PM To: Tomcat Users List Subject: jk_nt_service.exe Is jk_nt_service still available? Do

jk_nt_service.exe

2004-06-09 Thread Ben Souther
Is jk_nt_service still available? Does it work with tomcat 5x? The installer that ships with Tomcat doesn't allow for multiple instances of tomcat as windows services and the service.bat script seems not to be working. Has anyone else been able to install multiple instances of tomcat on a wind

RE: AW: IP Adresses

2004-06-09 Thread Shapira, Yoav
Hi, Tim and I are two of tomcat's developers, and the others watch this list as well. So you've already contacted them. I don't think it's a bug, but if it is then it will be fixed in future versions, sure. Tomcat 6 and 7 are a long way away ;) Tomcat 5.0.27 is next, and within the next few

Re: error starting tomcat

2004-06-09 Thread Werner van Mook
Nope does not work. Somehow it seems to delete the newly created file. I've also tried to make the normal tomcat-user.xml file tomcat5 accessable. It changes it back to root : root Don't when, dont' know why On Jun 9, 2004, at 3:41 PM, Benjamin Armintor wrote: Have you tried copying conf/tomc

AW: AW: IP Adresses

2004-06-09 Thread Gunnar Pörschke
Thanks, this time it helps. But Tomcat still blocking all my ip adresses. I cannot run other web server on the other IP with the port 80 :( Nevertheless I'll find a different solution. How can we contact the developer of tomcat? Maybe it is a bug and will be fixed in version 6 or 7 ;-) Many thank

RE: error starting tomcat

2004-06-09 Thread Benjamin Armintor
Have you tried copying conf/tomcat-users.xml to conf/tomcat-users.xml.new to see if that fixes the problem? The log seems pretty straightforward. If creating the desired file fixes things, then you can just grep for "conf/tomcat-users.xml.new" to find the configuration issue. Benjamin J. Armintor

Re: AW: IP Adresses

2004-06-09 Thread Tim Funk
Then its this FAQ answer: http://jakarta.apache.org/tomcat/faq/connectors.html#bind -Tim Gunnar Pörschke wrote: :-( this is how to configure remote ip adresses. This doesn't help at all... I need to configure the ip adress for my (local) tomcat itself Tomcat currently listen to all incoming co

Re: error starting tomcat

2004-06-09 Thread David Smith
There's probably a reference to it or a reference to a symlink in your server.xml's ... section. Tomcat5 should own this file or be a member of a group that owns it and has read access to it. --David Werner van Mook wrote: It is not complaining about the port number. I've seen the error if you

RE: Advice needed on deploying on Tomcat 5.0.25

2004-06-09 Thread Shapira, Yoav
Hi, A web.xml was a requirement with 4.x in that otherwise it would just use defaults. 5.x is the same way, so while web.xml is not strictly required by tomcat, it is required by the spec and strongly encouraged. 5.x and later versions of 4.x (after 4.1.18) comment out the invoker servlet by def

Re: [Fwd: tomcat url rewriting protblem]

2004-06-09 Thread David Smith
You do realize this is very off topic as it's an Apache httpd issue, not a Tomcat issue. The question would be better asked on an Apache web server list. At anyrate, I think you need to have the proper flags set at the end of the RewriteRule: RewriteEngine On RewriteLog "/logs/rewrite.log" Re

Re: error starting tomcat

2004-06-09 Thread Werner van Mook
It is not complaining about the port number. I've seen the error if your not root. It's not the same. Starting tomcat manual as root gives me the same error. Sorry wrong answer ;-) On Jun 9, 2004, at 2:08 PM, Ben Souther wrote: You need to be root when you start tomcat in order to bind to port 80

Advice needed on deploying on Tomcat 5.0.25

2004-06-09 Thread Edd Dawson
Hi I recently installed Tomcat 5.0.25 on my windows laptop. I did have 4.x installed and i copied over my faithful HelloWorld example from 4.x/webapps directory to my new 5.0.25/webapps directory.. and it doesn't work! I get the following error : HTTP Status 404 - /hello/servlet/HelloWorld --

Re: AW: IP Adresses

2004-06-09 Thread David Smith
Use the address attribute of your connector to make the connector listen on only one IP. --David Gunnar Pörschke wrote: :-( this is how to configure remote ip adresses. This doesn't help at all... I need to configure the ip adress for my (local) tomcat itself Tomcat currently listen to all

AW: IP Adresses

2004-06-09 Thread Gunnar Pörschke
:-( this is how to configure remote ip adresses. This doesn't help at all... I need to configure the ip adress for my (local) tomcat itself Tomcat currently listen to all incoming connections no matter if they come from network interface card 1 or network interface card 2 : Any other sugge

Re: jsp:directive.include behavior

2004-06-09 Thread Robert Koberg
I have the same problem (expanded entities). It works the same in Resin. I posted a question about this a week or so ago. Maybe we should ask on Dev? Is the XML syntax being used? best, -Rob William M. Shubert wrote: Hello, I'm having a little trouble with the way that jsp:directive.include works

RE: IP Adresses

2004-06-09 Thread Shapira, Yoav
Hi, Check out the Remote Address Filter: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Gunnar Pörschke [mailto:[EMAIL PROTECTED] >Sent: Wednesday, June 09, 2004 8:57 AM >To: [EMAIL PROTECTED] >

Re: IP Adresses

2004-06-09 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/security.html#restrict -Tim Gunnar Pörschke wrote: Does anyone know how to configure tomcat to block only one specific Ip adress. I have one PC with two NICs. Tomcat blocks all available ip adress. How can I set a limitation? to anable additionally connectors

RE: How Can I doDefault Context Path

2004-06-09 Thread Shapira, Yoav
Hi, Turn off autoDeploy and liveDeploy, leave just your context declaration. Your context declaration is correct, and that's why tomcat deploys it at path="" as you desire. But it also have autoDeploy, so it discovers ABC.war and deploys it to /ABC automatically. Yoav Shapira Millennium Research

RE: Upgrading tomcat 5 on Windows

2004-06-09 Thread Shapira, Yoav
Hi, Please, never ever install any product on top of another. Install tomcat 5.0.25 to a clean directory, configure it as you need. You can try copying over configuration files if you want, but don't install on top, you risk library mismatch nightmares. Yoav Shapira Millennium Research Informat

RE: Tomcat share web applications

2004-06-09 Thread Shapira, Yoav
Hi, You can redeploy or restart any webapp on tomcat without restarting the server. The concept of dependency does not exist for web applications, as each one is supposed to be seld-contained. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Erwin de Bruijn [mail

IP Adresses

2004-06-09 Thread Gunnar Pörschke
Does anyone know how to configure tomcat to block only one specific Ip adress. I have one PC with two NICs. Tomcat blocks all available ip adress. How can I set a limitation? to anable additionally connectors in tomcats admin interface doesn`t work, either :-( any help apreciated!?! /Gunnar

Vedr.: Re: Upgrading tomcat 5 on Windows

2004-06-09 Thread Thomas Nybro Bolding
Upon uninstalling Tomcat you are prompted whether you want remove any work done. Say no to this and you should be able to install in the same directory keeping your webapps. Not sure about the server.xml, jk2.properties and workers2.properties though (cant remember). Anyway I would like to add R

Re: unable to connect to mysql db on localhost

2004-06-09 Thread David Smith
I think this error message is fairly telling of your problem: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory, cause: java.sql.SQLException: Cannot connect to MySQL server on localhost:3306. Is there a MySQL server running on the machine/port you are trying to

Re: Upgrading tomcat 5 on Windows

2004-06-09 Thread Michiel Toneman
Hi Tim, Without giving any specific advice: Rule 1 of system administration: Always back up configuration files. Michiel Tim Penhey wrote: Hi All, I have Tomcat 5.0.18 running on one machine with a number of configured webapps. If I install the 5.0.25 over the top will all the configuration files s

Re: error starting tomcat

2004-06-09 Thread Ben Souther
You need to be root when you start tomcat in order to bind to port 80 (or any port < 1024). The jsvc will then lower it's user status to tomcat_user ( or whatever user you have configured). On Wednesday 09 June 2004 08:10 am, Werner van Mook wrote: > Hi, > > I have the following error starti

error starting tomcat

2004-06-09 Thread Werner van Mook
Hi, I have the following error starting tomcat and don't know how to solve it. Jun 9, 2004 2:09:24 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Jun 9, 2004 2:09:25 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 3461

RE: [OT] JSP/Servlet Hosting

2004-06-09 Thread Andi Reinbrech
Try www.tektonic.net - I have a VPS there, it's awesome: full root access, 3gb disk space, 50gb transfers, runs java & tomcat & postgresql & squid etc. etc. etc. for $18/mo - they even host your domain name in their dns for free -Original Message- From: Schalk [mailto:[EMAIL PROTECTED] S

Re: Tomcat and JSF

2004-06-09 Thread Mark Lowe
I've got jsf running on tomcat 5 there's not extra config.. Just add the required jars to your webapp's lib directory and configure your web.xml in the appropriate manner. See the example apps bundled with jsf. Just a shame that input type="file" seems to be like getting blood out of a stone

mod_jk2 config file and log file place

2004-06-09 Thread syn uw
Hello, I have just installed the latest version of mod_jk2 with Apache 1.3.29 on Linux and wanted to know how I can specify to mod_jk2 where he should look for the workers2.properties config file and where he should write the jk2.log log file ? I had a look into the documentation but I cannot f

[Fwd: tomcat url rewriting protblem]

2004-06-09 Thread Christophe Andreoli
Original Message Subject: tomcat url rewriting protblem Date: Tue, 08 Jun 2004 15:41:10 +0200 From: Christophe Andreoli <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Organization: Institute of Human Genetics To: Tomcat Users List <[EMAI

  1   2   >