NEWBIE question: JAAS- versus JDBC- versus MemoryRealms

2004-03-23 Thread Leonard Wolters
Hi, I've got a question concerning the different REALM available for Tomcat 5.x. The main (basic) question is that I want to secure my context annex websites / jsp pages. I have some experience with JAAS (JBOSS) and was investigating the possibility to use / implement JAAS for Tomcat. After some

Re: HELP!

2004-03-23 Thread Bill Barker
Well, this is really more of a mod_joke question than a Tomcat 3 question (seeing that Ms Clark seems to have Apache and Tomcat talking already :). With as little as I know about the configuration, it looks like you want to add something like: JkMount /*.bar ajp13 The usual reason to get

RE: caching static objects

2004-03-23 Thread Ronald Wildenberg
We are running Tomcat-standalone and are having some caching issues. It appears to be a browser issue, but there's got to be some workaround. We've got the headers set to pragma nocache, but it continues to cache objects, such as charts that are created dynamically. I suppose this wouldn't

RE: Tomcat windows service

2004-03-23 Thread Andi Reinbrech
You need to set the ImagePath variable in the service parameters and re-install the service. -Original Message- From: John MccLain [mailto:[EMAIL PROTECTED] Sent: 23 March 2004 03:06 AM To: Tomcat user list Subject: Tomcat windows service How do I set the classpath for Tomcat when it

Re: Context mapping and war

2004-03-23 Thread Martin Monsorno
Jesse Vitrone [EMAIL PROTECTED] writes: So in TC5, the conext is part of the war file, and I don't need to do anything separate? All that info can be in the war file? In TC5, you can define the context in a special file in conf/Catalina/localhost/webapp.xml. With this, everything works as

Tomcat dies with no error.

2004-03-23 Thread Adam Brundrett
We are using Tomcat 4.1.29 on a Solaris 9 x86 web server (dual 3GHz Zeons) with 2gb RAM. Twice now Tomcat, which has been happily running under light load (only a couple of users currently) has simply stopped. One second it is working, the next it is not. No crashes, no error messages, no

AW: Tomcat dies with no error.

2004-03-23 Thread Nitschke Michael
This looks like there is somewhere an System.exit() hidden in your code. -Ursprüngliche Nachricht- Von: Adam Brundrett [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 23. März 2004 10:18 An: [EMAIL PROTECTED] Betreff: Tomcat dies with no error. We are using Tomcat 4.1.29 on a Solaris 9

AW: NEWBIE question: JAAS- versus JDBC- versus MemoryRealms

2004-03-23 Thread Marco Pöhler
Hi Leonard, this works for me: Context path= docBase=/home/user1/trustedfeed debug=0 ResourceLink name=jdbc/db global=jdbc/db type=javax.sql.DataSource / Realm className=org.apache.catalina.realm.DataSourceRealm debug=99 dataSourceName=jdbc/db userTable=users

AW: java.lang.OutOfMemoryError

2004-03-23 Thread Marco Pöhler
Hi Neal, I increased the JVM Memory with -Xmx300m - that seem to work. I checked the heap status using the manager application and the memory usage after 2 days is now up to 90 MB. But the growth has stopped. That seem to work. Thanks ! Marco --- http://www.lenses-price-comparison.com

RE: Tomcat and Apache on diff m/c's

2004-03-23 Thread Dale, Matt
Are you trying to perhaps use JNI to connect them? Thats the only thing I can think of. -Original Message- From: Steven Perry [mailto:[EMAIL PROTECTED] Sent: 23 March 2004 06:16 To: [EMAIL PROTECTED] Subject: Tomcat and Apache on diff m/c's Hello all, I've successfully configured and

RE: NEWBIE question: JAAS- versus JDBC- versus MemoryRealms

2004-03-23 Thread Leonard Wolters
Thanks marco, However, can I also set this datasource for the Engine element ? (I thought I read something about a bug, although I'm not quite sure). Then, after I specified this new datasource in the either context or engine element, how do i confiugre the UserDatabase in the JNDI lookup ? For

Re: AW: Tomcat dies with no error.

2004-03-23 Thread Adam Brundrett
Cheers michael, We have had a look at the servlets and there is nothing evident. We have also tried duplicating what happened according to the user log entries that get written and what the user told us he was up to when it happenedwith no luck in duplicating the problem. Nitschke

RE: NEWBIE question: JAAS- versus JDBC- versus MemoryRealms

2004-03-23 Thread Marco Pöhler
Hi, How does the GlobalNamingResources relate to the REALM specified in the engine element ? Can someone tell me if the UserBase as specified in the GlobalNamingResources is being used by for the JSP security stuff ? (for example the /webapps/jsp-examples/security/protected/login.jsp) In

Primo Censimento della Musica Italiana

2004-03-23 Thread [EMAIL PROTECTED]
Grazie per aver scritto a [EMAIL PROTECTED], il tuo messaggio è giunto a destinazione! Approfittiamo per informarti che è nato all'indirizzo www.censimentomusica.it un nuovo progetto a carattere nazionale: Il I° Censimento Italiano della Musica . Se non l'hai già fatto ti preghiamo di

Re: Primo Censimento della Musica Italiana

2004-03-23 Thread Adam Buglass
Que ? On Tue, 2004-03-23 at 10:51, [EMAIL PROTECTED] wrote: Grazie per aver scritto a [EMAIL PROTECTED], il tuo messaggio giunto a destinazione! Approfittiamo per informarti che nato all'indirizzo www.censimentomusica.it un nuovo progetto a carattere nazionale: Il I Censimento

Re: NEWBIE question: JAAS- versus JDBC- versus MemoryRealms

2004-03-23 Thread Adam Hardy
Leonard, I went the other way. I wrote a login module for tomcat's JAAS implementation and recently found it relatively easy to adapt it to JBoss. However I see you're going down the JDBC route. Adam On 03/23/2004 09:22 AM Leonard Wolters wrote: Hi, I've got a question concerning the

Help,error while trying to integrate apache and tomcat with jni

2004-03-23 Thread Zheng Neil
I tried hard these days to make tomcat and apache work together with jni but only to find these in the [apache_home_dir]/logs/error_log * error_log * [Tue Mar 23 08:37:46 2004] [notice] Apache/2.0.49 (Unix) mod_jk2/2.0.2 configure d -- resuming normal operations [Tue Mar 23

workers.properties and virtual hosts

2004-03-23 Thread Michael Kastner
Hello, I've searched the archives and docs, but so far haven't found any hints on this topic: I am trying to install tomcat5 with apache 1.3 using the mod_jk connector. On my test system I've got several virtual hosts. Do I have to create a separate worker for each virtual host? E.g.:

Re: Configuration Help

2004-03-23 Thread Adrian Lanning
Hi Dave, Did you ever solve this problem? Actually, 400 error is malformed syntax. Basically doesn't tell us much in this situation besides configuration screwed up. I don't use IIS so don't know how to from first-hand experience. Searching turns up stuff on connecting using jk rather than jk2.

Re: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-23 Thread Mark Shifman
Shapira, Yoav wrote: Hi, I don't see any session.cer file anywhere. $CATALINA_HOME/work, or anywhere along the path work/Catalina/localhost/chartms Whoa ;) Tomcat must be reading and deserializing the sessions from somewhere, no? Do you have a custom session manager (Manager element in

Re: Login by parameters (no prompts)

2004-03-23 Thread Adrian Lanning
Hi Jonathan, Did you solve your problem? Earlier you asked if you could send two requests, one to log in and another to download the stuff. You absolutely can as this is how browsers work. You just need to keep the session id that tomcat sends back in the header once you log in and resend it in

Re: Struts 1.1 +Tomcat 4.0.4 -- RequestProcessor - Exception

2004-03-23 Thread Adrian Lanning
Hi, You might have more luck with this in the struts-user mailing list. Are you using a custom request processor? If so did you extend org.apache.struts.action.RequestProcessor or org.apache.struts.tiles.TilesRequestProcessor? Adrian - Original Message - From: Namasivayam, Sudhakar

RE: Tomcat Deployment with JBuilder

2004-03-23 Thread LILES, DAVID (CONTRACTOR)
Have you tried using Ant? That way you can build your web app the way you like... -Original Message- From: Kayley Ma [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:51 PM To: Tomcat Users List Subject: Tomcat Deployment with JBuilder Hi, Just wondering if there are any tips

RE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-23 Thread Shapira, Yoav
Hi, No I am using the default out-of-the-box manager. It worried me that I didn't see Session.ser (or whatever) anywhere which is what made me think I somehow farkled the permissions. I mispelled the file name, it's sessions.ser as others have pointed out. (Don't delete .cer files if you have

RE: AW: Tomcat dies with no error.

2004-03-23 Thread Shapira, Yoav
Hi, Are there core or hs_err_pid ( being the process ID) files around your tomcat installation? Yoav Shapira Millennium Research Informatics -Original Message- From: Adam Brundrett [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 5:17 AM To: Tomcat Users List Subject:

RE: Broken Pipe (continued) - Thread Dump Results

2004-03-23 Thread Shapira, Yoav
Hola, I did a thread dump (SIG-QUIT) on both the JRun and Tomcat environments during the refresh button load test and the differences are significant. The differences in internal thread management between any two servers are likely to be significant. Tomcat: Java CPU% exceeds 80%. Site

RE: Configuration Help

2004-03-23 Thread LILES, DAVID (CONTRACTOR)
Thanks for the links below. I've been looking at anything I can find and as far as I can tell, I have IIS configured to support Tomcat. The following link serves the web app I'm trying to configure, but it only serves it from the ip address and not the URL

Re: Configuration Help

2004-03-23 Thread Zheng Neil
Hi, I got the same problem when i config the iis6 with tomcat5 using mod_jk2,but i can't remember how it happened. However, i do remember i followed the instructions on the following page,and the problem was solved. http://virtualict.net/support/kb/iis6-Tomcat5-JK2.html From: Adrian Lanning

Re: Tomcat Deployment with JBuilder

2004-03-23 Thread k2ma
I'm a newbie so I don't know ant at all is there a way i can do in from the automatic generate and build in JBuilder? thanks, ~Kayley~ - Original Message - From: LILES, DAVID (CONTRACTOR) [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 9:01

RE: Tomcat Deployment with JBuilder

2004-03-23 Thread LILES, DAVID (CONTRACTOR)
You can build your WAR file in JBuilder. Verify your web app structure in JBuilder by viewing the properties and make sure you're getting everything you want. As for Ant, it isn't as difficult as you might think and once you start using it you might actually prefer it over the IDE build

Re: workers.properties and virtual hosts

2004-03-23 Thread staf wagemakers
On Tue, Mar 23, 2004 at 02:01:34PM +0100, Michael Kastner wrote: I am trying to install tomcat5 with apache 1.3 using the mod_jk connector. On my test system I've got several virtual hosts. Do I have to create a separate worker for each virtual host? E.g.: worker.list= worker1,

Re: Configuration Help

2004-03-23 Thread Adrian Lanning
Hmm, Do you have Tomcat set up to listen on port 80? (you shouldn't) Can you get to your webapp correctly using localhost? Try setting up a test host in your server.xml file with name=www.example.com and then edit your hosts file to point 127.0.0.1 to www.example.com. Then try connecting to

RE: caching static objects

2004-03-23 Thread Shapira, Yoav
Howdy, We are running Tomcat-standalone and are having some caching issues. It appears to be a browser issue, but there's got to be some workaround. We've got the headers set to pragma nocache, but it continues to cache objects, such as charts that are created dynamically. I suppose this

RE: Dump of Beans in catalina.out

2004-03-23 Thread Shapira, Yoav
Howdy, Recently I have been seeing what appears to be a dump of the active Javabeans in my catalina.out log file. There is not apparent error listed with the information but after the dump happens, the application is either very sluggish or doesn't respond at all. Tomcat isn't just going to

Re: workers.properties and virtual hosts

2004-03-23 Thread Adrian Lanning
JK tut: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html As staf pointed out you can use the same worker. Use localhost. Adrian - Original Message - From: staf wagemakers [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 9:28 AM Subject: Re:

RE: HELP!

2004-03-23 Thread Shapira, Yoav
Well, this is really more of a mod_joke question than a Tomcat 3 question mod_joke - ROFL ;) Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is

RE: Tomcat documentation in book format (in contrast to the myriad files in a Web documentation)

2004-03-23 Thread Shapira, Yoav
Hi, You know, that would make for an EXCELLENT ant task or maven plugin. Feel like writing it? ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Rudolf Nottrott [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 5:57 PM To: Tomcat Users List Subject: Tomcat

RE: Configuration Help

2004-03-23 Thread LILES, DAVID (CONTRACTOR)
The server.xml file is using the default port settings (8080 and 8009) and instead of localhost or 127.0.0.1, I'm using the server's ip address. Even though this is a web server, should I have the server.xml file configured to use localhost instead of the server's ip address? -Original

RE: webapp inaccessible - SEVERE error in catalina.out

2004-03-23 Thread Shapira, Yoav
Hi, 5.0.16 was the first stable 5.x version, so any version you use before that is likely to have issues and be less supported. This particular error, I haven't seen before. Yoav Shapira Millennium Research Informatics -Original Message- From: lists [mailto:[EMAIL PROTECTED] Sent:

RE: where is setUserPrincipal() ?

2004-03-23 Thread Shapira, Yoav
Howdy, HttpRequest is a tomcat-specific class, unlike HttpServletRequest. I know the names are similar, but be careful not to confuse them. HttpServletRequest does not include setUserPrincipal in its interface. You can use a custom HttpServletRequestWrapper in combination with a filter to

Re: Configuration Help

2004-03-23 Thread Adrian Lanning
As I understand it, you should not be using the IP address in server.xml except to limit the connector to a specific IP address if you don't want Tomcat to answer requests for other IPs. In production you can use localhost for a host and use your domain as an alias. Or you can get rid of

Apache+Tomcat + MOD_JK on different machine

2004-03-23 Thread Hari Om
SUBJECT: Apache+Tomcat + MOD_JK on different machine I am using Apache 2.0.47 and Tomcat 4.1.27 on my SuSE Linux. I had configured my mod_jk and it works just great! (My Web and App Server were on same box) Now I have a Web Server and App Server on a different box and was wondering what

major tomcat problem with hyperthreaded processor

2004-03-23 Thread Daniil Sosonkin
Hi, I'm hoping I'm posting to the right place since I'm in a bit of troubles. So here is the problem. I've downloaded latest Tomcat (4.1.30) and installed it on Mandrake Linux 9.2 to run under JDK 1.4 (1.4.2_04-b05). It runs nicely; starts fine; loads my hosts; starts applications; connects to

Re: workers.properties and virtual hosts

2004-03-23 Thread Michael Kastner
Thanks Adrian, that's very kind. Of cource, I had checked the documentation before I posted my initial question. It doesn't say anything about virtual hosts. Thanks for your reply Michael Kastner Adrian Lanning schrieb: JK tut:

RE: major tomcat problem with hyperthreaded processor

2004-03-23 Thread Shapira, Yoav
Hi, Search the list archives ;) It has to do with your threading library most likely, and you can get around this by setting LD_ASSUME_KERNEL to a lower version. Yoav Shapira Millennium Research Informatics -Original Message- From: Daniil Sosonkin [mailto:[EMAIL PROTECTED] Sent:

What are you using for Failover Notification? (mod_jk)

2004-03-23 Thread Clute, Andrew
It seems to me the one large missing component of the mod_jk* connectors is notification of a failover -- either via email, pager, etc. I am sure there are people that are using mod_jk in production with a cluster and have a solution for being notified with a Tomcat instances goes down, via

Re: workers.properties and virtual hosts

2004-03-23 Thread Michael Kastner
Hello Staf, thanks for your reply. Yes indeed, I mean virtual name hosts. I am wondering, why there is no example in the mod_jk doc but in the mod_jk2 doc. What do you mean with similar? What exactly is the difference? Sincerely Michael Kastner staf wagemakers schrieb: On Tue, Mar 23, 2004

RE: Apache+Tomcat + MOD_JK on different machine

2004-03-23 Thread Randall Svancara
I would leave your httpd.conf file the same as you have it shown below. I would also confirm in you logs that everything is working ok. However, Apache should not even startup if the included configuration file, mod_jk.conf is not present. -- httpd.conf (on Web

RE: Which Engine is Which

2004-03-23 Thread Schalk
Hi there This is probably something I should know but, for clarification, is the engine that processes jsp's different to the one that processes servlets? Also what is the name of the engine that processes JSP's and, if different, the name of the engine that processes servlets. Thanks!

Re: major tomcat problem with hyperthreaded processor

2004-03-23 Thread Daniil Sosonkin
Hi, Thank you for reply. I did some googling around and added LD_ASSUME_KERNEL=2.2.5 to catalina.sh and yet there is still that same problem. I've decided to do `catalina.sh run` and at this moment still waiting for it to shutdown: [EMAIL PROTECTED] bin]# ./catalina.sh run Using CATALINA_BASE:

Re: What are you using for Failover Notification? (mod_jk)

2004-03-23 Thread David Rees
Clute, Andrew wrote, On 3/23/2004 7:02 AM: It seems to me the one large missing component of the mod_jk* connectors is notification of a failover -- either via email, pager, etc. I am sure there are people that are using mod_jk in production with a cluster and have a solution for being notified

RE: Which Engine is Which

2004-03-23 Thread Shapira, Yoav
Hi, This is probably something I should know but, for clarification, is the engine that processes jsp's different to the one that processes servlets? Also what is the name of the engine that processes JSP's and, if different, the name of the engine that processes servlets. I thought I just

Re: Which Engine is Which

2004-03-23 Thread Adrian Lanning
Hi, Let's define some terminology so we don't confuse ourselves. Engine - when talking about Tomcat engine means engine as per tomcat's configuration file. Servlet - programs that process / handle requests. The program (servlet) that processes jsps is a servlet just like any custom servlet you

Re: workers.properties and virtual hosts

2004-03-23 Thread staf wagemakers
On Tue, Mar 23, 2004 at 04:14:56PM +0100, Michael Kastner wrote: Depends on what you mean by virtualhosts, if you have one tomcat server with several virtualnamehosts it's possible to do it with one ajp connector. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html

Is it possible to auto generation the mod_jk conf in Tomcat 5.1.19?

2004-03-23 Thread Galam
Hi, Is it possible to auto generation the mod_jk conf in Tomcat 5.1.19? I knows how to do that in Tomcat 3.x and Tomcat 4.x, but I don't see it in the Tomcat5.x's documentation. Thanks! Galam Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time.

Re: workers.properties and virtual hosts

2004-03-23 Thread Michael Kastner
Hello Staf, thanks for the reply. I wasn't explicit when I was asking about the differences. I need to know what the differences in the workers.properties file are regarding the virtual name hosts and whether each virtual host requires a separate worker. If not so, how would I assign several

RE: Apache+Tomcat + MOD_JK on different machine

2004-03-23 Thread Hari Om
Thanks Randall for your reply... appreciate that! My MOD_JK.CONF file is AUTOGENERATED on my AppServer. I start my App Server FIRST which AUTOGENERATES mod_jk.conf file. So, how can I reference this file on my HTTPD.CONF (Include conf/mod_jk.conf) - which is indeed located on a different

Re: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-23 Thread Mark Shifman
Shapira, Yoav wrote: Hi, No I am using the default out-of-the-box manager. It worried me that I didn't see Session.ser (or whatever) anywhere which is what made me think I somehow farkled the permissions. I mispelled the file name, it's sessions.ser as others have pointed out. (Don't

Ajp13Connector Versus

2004-03-23 Thread Galam
Connector in Tomcat5.x --- Service name= Tomcat-Apache13 !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className= org.apache.coyote.tomcat5.CoyoteConnector port= 8009 minProcessors= 5 maxProcessors= 150 enableLookups= true

Can I use Ajp13Connector instead of CoyoteConnector in Tomcat5.x?

2004-03-23 Thread Galam
Hi, Can I use the Ajp13Connector instead of the CoyoteConnector in Tomcat5.x? I know the Ajp13Connector is available in Tomcat4, but I don't see any example of using it in Tomcat5. Is it discontinued and no longer supported? Below is two Connector samples from 4.x and 5.x. Connector

Re: Apache+Tomcat + MOD_JK on different machine

2004-03-23 Thread Henry Martin
On Tuesday, March 23, 2004, at 09:55 AM, Hari Om wrote: My MOD_JK.CONF file is AUTOGENERATED on my AppServer. I start my App Server FIRST which AUTOGENERATES mod_jk.conf file. So, how can I reference this file on my HTTPD.CONF (Include conf/mod_jk.conf) - which is indeed located on a different

RE: Apache+Tomcat + MOD_JK on different machine

2004-03-23 Thread Randall Svancara
Your workers.properties should be on your webserver where apache is located. I typically place the workers.properties in the same directory where httpd.conf is located. workers.properties is needed for mod_jk so it makes sense that it needs to be in the same machine where mod_jk and apache

screen template '/Home.vm' not found!!

2004-03-23 Thread Inandjo Taurel
hi all, i have been having this error for the past week and any modifications on my side on the TurbineResources.properties file hasn't given out any concrete result. I am using tomcat 4.0, along with turbine 2.1 and velocity, on a unix machine! What could be other causes to the screen

FileNotFoundException - how is /work/Catalina/localhost dir created

2004-03-23 Thread todd runstein
I've deployed 2 war files to $TOMCAT_HOME/webapps. The first is working fine. The second appears to not compile the jsps. This nonworking application is deployed on another system, and it works there. It requires ssl, which I've got up and running on both systems using a self-cert (I can hit

RE: Which Engine is Which

2004-03-23 Thread Schalk
Thanks Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.com This message contains information that is

ClassNotFoundException implementing new WebappLoader

2004-03-23 Thread Setera, Craig
Hello, I'm trying to implement and register a new WebappLoader implementation with Tomcat 5.0.19. I've created a subclass of the standard WebappLoader class. In addition, I have added the Loader element to my Context element with my new class name specified. When starting the server, I get

AJP13 errors with Tomcat

2004-03-23 Thread Reis, Tom
I am running Tomcat version 4.0.4 with IIS 5.0 with tha AJP13 connector. I am receiving the following message in the error log and was trying to understand what it means I would appreciate any help. Thanks. [Mon Mar 22 22:43:52 2004] [jk_ajp13_worker.c (381)]: Error

Error Tomcat

2004-03-23 Thread Aquison - A. Angeloni Cia Ltda.
Hi all I have a Sun Box with Solaris 8, Progress 91D08, Tomcat 4.1 and a Java aplication. I'm try using Tomcat with Java instaled from progress, but de Tomcat not running with is java instalation. Using the Java Instalation 1.4.2 (Sun), Tomcat running perfectly. # Environment

RE: tomcat certificate

2004-03-23 Thread Idoia Murua Belacortu
I have configured the files as you said in the e-mail, but when I start Tomcat I get the following error in catalina.out file: Exception creating UserDatabase MBeans for UserDatabase javax.management.MalformedObjectNameException: Invalid character '=' in value part of property And it is

Re: error running JSP Config on tomcat examples - tomcat 5.0.19

2004-03-23 Thread Erin O'Neill
Thanks for your input. I've already checked what version of java I've got: $JAVA_HOME/bin/java -version java version 1.4.2_03 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02) Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode) My first impulse was that I was missing

RE: ClassNotFoundException implementing new WebappLoader

2004-03-23 Thread Shapira, Yoav
Hi, Hmm... I'd guess it should go in the same repository as the normal WebappLoader, which is $CATALINA_HOME/server/lib. $CATALINA_HOME/server/classes should be functionally equivalent for unpacked classes, so it's strange you get the CNFE when you put your loader there. Try packaging your

RE: Tomcat documentation in book format (in contrast to the myriad files in a Web documentation)

2004-03-23 Thread Rudolf Nottrott
I'm not really sure what this involves. It didn't occur to me that documentation might be written as an Ant task. What would be the benefits of that? Any examples of that kind of thing somebody else might have done for other documentation? Rudolf At 09:40 AM 3/23/2004 -0500, you wrote:

RE: Tomcat documentation in book format (in contrast to the myriad files in a Web documentation)

2004-03-23 Thread Shapira, Yoav
Hi, I suppose some background information is in order. All of tomcat's documentation (and a vast majority of Apache documentation in general, so this will have wide applicability) is in XML format. Much of that for tomcat is visible at

Re: Tomcat documentation in book format (in contrast to the myriad files in a Web documentation)

2004-03-23 Thread Chong Yu Meng
I use Docbook to write my documentation, and the same docbook XML file can be used to generate a single PDF document. Problem is, when you use it to generate HTML, the filenames are sometimes randomly generated. This can play havoc on search engines, like Google, because the location can

Tomcat 3.x mailing list

2004-03-23 Thread Akash Jauhar
Shapira Can you please let me know what is the tomcat 3.x mailing list. Our application currently uses tomcat 3.x and I wanted to be a part of that list so that I cud get better answers to issues that we face with tomcat 3.x. Would appreciate if you cud let me know the tomcat 3.x mailing list

RE: Tomcat 3.x mailing list

2004-03-23 Thread Shapira, Yoav
Hi, This is it. Yoav Shapira Millennium Research Informatics -Original Message- From: Akash Jauhar [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 12:49 PM To: Tomcat Users List Subject: Tomcat 3.x mailing list Shapira Can you please let me know what is the tomcat 3.x mailing

tomcat 3.3.1 takes a high time for Minor GC

2004-03-23 Thread Akash Jauhar
Hi All Cisco CNAMS application runs on the following platform OS: Solaris 9 Webserver: Apache 1.3.27 JDK: JDK 1.4.2 build 28 Servlet Engine: tomcat 3.3.1a We are noticing some weird GC behaviour when the tomcat does Minor GC. I am pasting some garbage collection logs below 231867.984: [GC

catalina-ant task (deploy) question

2004-03-23 Thread Brice Ruth
I was reading up on the context.xml file yesterday in the Tomcat-5.0 documentation on the main Jakarta Tomcat site and came across the information that the context.xml file can be placed in conf/Catalina/localhost -OR- it can be placed in the META-INF directory of your web-app. Now, when I

Re: AJP13 errors with Tomcat

2004-03-23 Thread E Cunningham
The error is basically stating that IIS can not write to the AJP13 socket. This is probably a result of a configuration problem. --- Reis, Tom [EMAIL PROTECTED] wrote: I am running Tomcat version 4.0.4 with IIS 5.0 with tha AJP13 connector. I am receiving the following message in the

Re: workers.properties and virtual hosts

2004-03-23 Thread staf wagemakers
staf wagemakers schrieb: It has been a while since I've setup apache with tomcat virtual hosting, so I dont know it by heart. Basically you've to define the hosts in the server.xml as describes in the howto and configure jk1 as usual. Add the JkMounts within the virtualhosts in apache's

RE: ClassNotFoundException implementing new WebappLoader

2004-03-23 Thread Setera, Craig
Yoav, I didn't even think to try using a jar file because it should have been the same. But, it turns out that a jar file works in this case for some reason. Thanks for the tip. Craig -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 23, 2004

Re: error running JSP Config on tomcat examples - tomcat 5.0.19

2004-03-23 Thread todd runstein
Erin, Thank you! Your post looks a lot like mine, which gave me an idea. The Unable to compile class for JSP has only shown up for me in version 5.0.19. I switched to tomcat 5.0.16 and the problem is gone. Trying switching to a different version of tomcat and see if the problem disappears for

Re: FileNotFoundException - how is /work/Catalina/localhost dir created

2004-03-23 Thread todd runstein
I've switched to version 5.0.16 and the problem went away. Could this be an issue with 5.0.19? --- todd runstein [EMAIL PROTECTED] wrote: I've deployed 2 war files to $TOMCAT_HOME/webapps. The first is working fine. The second appears to not compile the jsps. This nonworking

Re: error running JSP Config on tomcat examples - tomcat 5.0.19

2004-03-23 Thread Erin O'Neill
I found out what my configuration error was! I'm sending it to this list so if another newbie has problems they might google out this answer! :) (I really hate it when someone just replies to the list -- oh never mind I got it! and then doesn't give the answer!) I found this link:

Loading JDBC driver with jdbc.drivers property

2004-03-23 Thread RobWunderlich
With Tomcat 4 or 5, with JDK 1.4, I cannot load my JDBC drive from a *.jar in shared\lib, unless that driver has already been loaded by a webapp class using Class.forName(). I normally use the system property jdbc.drivers=xxx mechanism to allow java.sql.DriverManager to load the driver. For

RE: AJP13 errors with Tomcat

2004-03-23 Thread Reis, Tom
I guess my problem is I don't know exactly what to configure. Is there any documentation or anything on this. -Original Message- From: E Cunningham [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 12:06 PM To: Tomcat Users List Subject: Re: AJP13 errors with Tomcat The error is

Tomcat's default web.xml

2004-03-23 Thread Schalk
Hi there Can anyone point to a place where I can see the basic layout of the Tomcat web.xml. The located at TOMCAT_HOME/conf/web.xml Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding

RE: Tomcat's default web.xml

2004-03-23 Thread Schalk
The reason I ask this is, I am very comfortable with the web.xml structure and use it on a daily basis but, I am currently developing a site for a client hosted by a third party and there seems to be a problem with processing JSP's. When you click on a link to a JSP page, it start to load in the

Simulation of POST HTTP (I can not use a GET)

2004-03-23 Thread Narciso Rodrigues
Hi there... I see your post on TomCat User List If you mean simulate a POST HTTP operation, that's significantly more complicated so I won't go into it unless that's what you really want. Yoav Shapira And i need help on this I'm trying to do a post from a servlet to another servlet

RE: Simulation of POST HTTP (I can not use a GET)

2004-03-23 Thread Shapira, Yoav
Howdy, The servlet that make de POST have this code { String event; event = request.getParameter(event-source); URL url = new URL( http, localhost, , /servletDEST); URLConnection connection = url.openConnection();

RE: tomcat certificate

2004-03-23 Thread Mark Thomas
Which version of tomact are you using? Mark -Original Message- From: Idoia Murua Belacortu [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 5:00 PM To: Tomcat Users List Subject: RE: tomcat certificate I have configured the files as you said in the e-mail, but when I

RE: Loading JDBC driver with jdbc.drivers property

2004-03-23 Thread FRANCOIS Dufour
wel sory for my bad english simply copy mysql-connector-java-3.0.10-stable-bin available from mysql download page under your comon/lib folder and under you app/lib folder your config file should look like this DRIVERcom.mysql.jdbc.Driver/DRIVER URLjdbc:mysql://localhost:port/database/URL

RE: tomcat 3.3.1 takes a high time for Minor GC

2004-03-23 Thread Larry Isaacs
I'm not a GC expert, so please note that the following speculation is based upon memories of some GC document I read a while back. I vaguely recall that GC performance drops if the survivor space fills up while collecting the young generation. I think the result is that what might have been

form-based authentication question

2004-03-23 Thread Koes, Derrick
Using Tomcat 4.1.X, I'm attempting to switch a web app from basic auth to form-based. I'm having difficulty in one area. After creating the new form and posting to j_security_check, I wish to GET my welcome page. It appears to be doing this from the URL in the address bar, but the page looks

RE: form-based authentication question

2004-03-23 Thread Koes, Derrick
It may be good for someone to answer this, but I figured out my problem. I accidentally used the login page name where the welcome page name should have been in the servlet configuration. Cockpit error. -Original Message- From: Koes, Derrick Sent: Tuesday, March 23, 2004 2:49 PM

default Locale, how to set or change

2004-03-23 Thread Paul
how does the default Locale get set in Java 1.4 / Tomcat 4.x? having an issue with real numbers displaying with commas instead of period for decimal separator. currently have en_CA locale, but want en_US locale. -paul.

Re: ClassNotFoundException implementing new WebappLoader

2004-03-23 Thread Antonio Fiol Bonnín
Did you have your class in .../server/classes/com/spss/catalina/loader or directly in .../server/classes ? If it was the former, it would probably be interesting to file a bug on that. Antonio Fiol Setera, Craig wrote: Yoav, I didn't even think to try using a jar file because it should have

RE: tomcat 3.3.1 takes a high time for Minor GC

2004-03-23 Thread Akash Jauhar
Larry Thanks for the note. A few questions A) my understanding of GC makes me think that no garbage can be generated when young generation is being collected. As mentioned that for young generation we use the default stop the world collector. When that happens all other application threads stop.

Fw: default Locale, how to set or change

2004-03-23 Thread Paul
it is alright, found answer myself, as follows: forced the locale setting for Tomcat/Java by adding following lines to the file named, workers2.properties OPT=-Duser.language=en OPT=-Duser.region=US - Original Message - From: Paul To: Tomcat Users List Sent: Tuesday, March 23, 2004

JK2 Connections from Apache2 URL Rewriting

2004-03-23 Thread Peter Johnson
I have been reading through http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/ and other sources via google trying to work out the best way of mapping live URLs to specific webapps. e.g. Map www.mydomain.com/myshortcut - www.domain.com/mywebapp/subpath/url My environment is Apache2 mod_jk2

  1   2   >