AW: Apache Tomcat Filter

2002-06-21 Thread Ralph Einfeldt
If apache serves the static resources you can't protect them by a Filter-Servlet. The requests never reach your servlet. AFAIK in a future version of mod_webapp it will be possible to define security contraints on the tomcat side which will be honored by the connector. (Currently it's not

AW: JasperException: Unable to compile class for JSP

2002-06-21 Thread Ralph Einfeldt
Your error message sounds as if pageContext.handlePageException() is is defined to accept just an Instance of Exception not Throwable. That could be caused be a jar file that contains an older version of the jsdk. (servlet.jar, ...) Have a look at your jar files that are used for your tomcat.

jsp compiler error

2002-06-21 Thread Halil AKINCI
Hi all, I installed my computer (windows 98) jdk1.3 and Apache Tomcat 4.0, than I started Tomcat 4.0 and it is running now. I typed http://localhost:8080/ my browser and accessed tomcat index file. I can run servlet examples but when I want to run JSP examples I receive following error

Catalina.start: LifecycleException:

2002-06-21 Thread Gita
Hello! I have installed new version of tomcat 4.0.4, which i want working with j2sdk1.4.0. There for i added two jars wich is important for that in classpathes ojdbc14.jar and nls_charset12.jar. My server.xml looks like that: Realm className=org.apache.catalina.realm.MemoryRealm /

Re: webapp coredump

2002-06-21 Thread Sebastien Reboux
Thanks for your reply, I do want to integrate both servers as my company believes that Apache http server is better than Tomcat's, and we want to use apaches's mod_ssl and user access mechanism, As 'standalone' I was just trying to explain that Tomcat worked perfectly on its own. Now it works,

Re: Catalina.start: LifecycleException:

2002-06-21 Thread Ravishankar S
hi Gita, AFAIK the type 4 driver for oracle is called classes112.zip...u have to put this zip file in tomcat home\lib...if it is still unable to find the driver...then rename it as classes112.jar or simply unzip the zip file to classes.. HTH, ravi - Original Message - From: Gita

Re: Segmentation Fault/Document Contains No Data...

2002-06-21 Thread Sebastien Reboux
Hi, I've spent the last two days having the same troubles, and all I could do is get rid of 4.0.3 an go back to the 4.0.1 binary version ; I compiled the 4.0.1 mod_webapp and it now works like a charm. See Re: webapp coredump a few posts upper. Good luck, Seb. On 20 Jun 2002, Keith Pemberton

AW: Catalina.start: LifecycleException:

2002-06-21 Thread Ralph Einfeldt
Shouldn't it be oracle.jdbc.driver.OracleDriver instead of oracle.jdbc.OracleDriver ? -Ursprüngliche Nachricht- Von: Gita [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 21. Juni 2002 09:30 An: Tomcat Users List Betreff: Catalina.start: LifecycleException:

SV: set content type to text/pdf

2002-06-21 Thread hermod . opstvedt
Hi Install Acrobat Reader - That will do the trick. Currently you have no association with the .pdf extension. Hermod -Opprinnelig melding- Fra: Alex [mailto:[EMAIL PROTECTED]] Sendt: 21. juni 2002 09:37 Til: [EMAIL PROTECTED] Emne: set content type to text/pdf I have a servlet that

RE: set content type to text/pdf

2002-06-21 Thread Dennis van den Berg
Hi, I think when you make the request go to Tiparire.pdf it should open in your browser. It somehow also has something to do with the extension. Dennis. -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: vrijdag 21 juni 2002 9:37 To: [EMAIL PROTECTED] Subject: set content

Re: tomcat crash

2002-06-21 Thread Guillaume Mignot
hello thats tomcat 3.3.1 from freebsd ports with apache i think it comes from the JVM ? Bye - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 20, 2002 5:59 PM Subject: RE: tomcat crash Howdy, Did you build tomcat

Re: set content type to text/pdf

2002-06-21 Thread Liam Morley
right. Mozilla and other such browsers listen to the mime type, but IE (living in a microsoft world where everything is done via file extensions) is famous for relying on the extension rather than the mime type. Liam Morley Dennis van den Berg wrote: Hi, I think when you make the request

Re: AW: Catalina.start: LifecycleException:

2002-06-21 Thread Gita
Hi, no. in new version there are oracle.jdbc.OracleDriver... There were written: Your code should use the package oracle.jdbc instead of the package oracle.jdbc.driver used in earlier versions of Oracle. Use of the package oracle.jdbc.driver is now deprecated, but will be supported for

AW: set content type to text/pdf

2002-06-21 Thread Ralph Einfeldt
MS IE has sometimes his own opinion what to open and ignores the content type. The safest way to convince IE to open PDF is to set the content type to load the file from a url that has the extension .pdf. Additional hint: Make shure that your servlet supports Byte range requests (HTTP

Changing the JVM

2002-06-21 Thread Guillaume Mignot
Hello after all my segmentation violation probleme i think i had better to change my JVM. But, if i install it in aother directory than the first, the only things to do are to change the env PATH en JAVA_HOME? Or do i have to work in tomcat conf files also? Tomcat 3.3.1 with Apache on

AW: AW: Catalina.start: LifecycleException:

2002-06-21 Thread Ralph Einfeldt
Looks like I'm a bit outdated. Sorry. -Ursprüngliche Nachricht- Von: Gita [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 21. Juni 2002 09:53 An: Tomcat Users List Betreff: Re: AW: Catalina.start: LifecycleException: no. in new version there are oracle.jdbc.OracleDriver... -- To

AW: set content type to text/pdf

2002-06-21 Thread Ralph Einfeldt
Sorry a little typo: The safest way to convince IE to open PDF is to set the content type and to load the file from a url that has the ^ extension .pdf. -Ursprüngliche Nachricht- Von: Ralph Einfeldt Gesendet: Freitag, 21. Juni 2002 09:44 An: Tomcat Users List

Re: AW: set content type to text/pdf

2002-06-21 Thread Alex
Hello Ralph, I can't point my browser to a location that ends with .pdf, because i have to point it to my servlet, for ex: document.location.href=/servlet/Tiparire Is there any trick to do this ? Alex. Friday, June 21, 2002, 10:44:00 AM, you wrote: RE MS

Re[2]: Catalina.start: LifecycleException:

2002-06-21 Thread Gita
Hi, I have classes111.jar and this is not working. Where can i get classes112.jar? (New JDBC supporting only jar files and will not accept zips.) Gita RS hi Gita, RS AFAIK the type 4 driver for oracle is called classes112.zip...u have to put RS this zip file in tomcat home\lib...if it is

Re: AW: set content type to text/pdf

2002-06-21 Thread Liam Morley
I'm sure there's a better way, but in case there's not, there's always mod_rewrite. You could rewrite the url so that /(*).pdf goes to /$1. Liam Morley Alex wrote: Hello Ralph, I can't point my browser to a location that ends with .pdf, because i have to point it to my servlet,

hi all

2002-06-21 Thread Yenny/LKUNotes
hi all, i'm new user to tomcat, as i'm planning to use tomcat for my school project, i kinda having some difficulties in runnin the tomcat 4.0 servlet/jsp container. a warning cannot find the file '-Djava.endorsed.dirs=' (or one of its components). Make sure the path and filename are correct

RE: AW: set content type to text/pdf

2002-06-21 Thread Dennis van den Berg
You could also map your servlet to the pattern *.pdf Dennis. -Original Message- From: Liam Morley [mailto:[EMAIL PROTECTED]] Sent: vrijdag 21 juni 2002 9:57 To: Tomcat Users List Subject: Re: AW: set content type to text/pdf I'm sure there's a better way, but in case there's not,

AW: AW: set content type to text/pdf

2002-06-21 Thread Ralph Einfeldt
It's possible to configure tomcat to let you request /servlet/Tiparire/text.pdf and to get /servlet/Tiparire executed. I haven't tried by now to do something like that so can't give you much more help. Maybe something like this should do the trick: servlet-mapping

Re: AW: AW: set content type to text/pdf

2002-06-21 Thread Alex
Hello Ralph, I've modified web.xml from ROOT\WEB-INF, and i've added something like this: servlet-mapping servlet-nameTiparire/servlet-name url-patternTiparire.pdf/url-pattern /servlet-mapping My servlet is called Tiparire.class and is

AW: AW: AW: set content type to text/pdf

2002-06-21 Thread Ralph Einfeldt
This was posted some hours ago to an error that looks similar to yours: This error is caused by a problem in the web.xml file and the full error can be seen in the webapp loader log files. If you have not overridden this with a Logger tag, then the file will be named catalina_somedate.log in

Re: AW: AW: set content type to text/pdf

2002-06-21 Thread Liam Morley
You might need to declare the servlet from within a servlet element like this as well: |servlet-mapping servlet-nameTiparire/servlet-name url-patternTiparire.pdf/url-pattern /servlet-mapping servlet servlet-nameTiparire/servlet-name servlet-classTiparire/servlet-class /servlet |

Re[2]: AW: AW: set content type to text/pdf

2002-06-21 Thread Alex
Hello Liam, I've inserted into the web.xml file these lines: servlet-mapping servlet-nameTiparire/servlet-name url-patternTiparire.pdf/url-pattern /servlet-mapping servlet servlet-nameTiparire/servlet-name

Re: Re[2]: AW: AW: set content type to text/pdf

2002-06-21 Thread Constantin Wolber
Freitag, 21. Juni 2002 11:10 schrieb Alex: Tiparire.class is not part of any package. Tomcat starts ok, but, when i'm trying to access the location servlet/Tiparire.pdf, it says: Hi, cause your using a servlet Mapping and your servlet is in the ROOT Context you have to

'charSet' property JDBC-Driver

2002-06-21 Thread Günter Kukies
Hi, is it possible to set the 'charSet' property of the JDBC-Driver via Context-Resource in the server.xml? If not, any solution for setting 'charSet'?? Example: Resource name=jdbc/db auth=Container type=javax.sql.DataSource / ResourceParams name=jdbc/db

path info for servlets and JSPs

2002-06-21 Thread cbarnes
In web.xml I have added a servlet mapping so that the servlet can take extra path information as follows: servlet-mapping servlet-namemyservlet/servlet-name url-pattern/myservlet/*/url-pattern /servlet-mapping Is it possible to do something similar with JSPs - and if so how and

timestamps in jakarta log file

2002-06-21 Thread frederik . de . backer
Hello, Is there a way to include timestamp information in the catalina.out logfile of jakarta tomcat. Is it a setting in the server.xml file?? Thanks a lot, Frederik De Backer. DISCLAIMER This e-mail and any attachments thereto may contain information which is confidential and/or

RE: set content type to text/pdf

2002-06-21 Thread Jim Urban
Alex, Instead of httpservletresponse.setContentType(text/pdf); try httpservletresponse.setContentType(application/pdf); Jim Urban - [EMAIL PROTECTED] Park City Solutions Inc. Clinical Connectivity Suite Product Manager Suite 295 500 Park Blvd. Itasca, IL 60143 Voice: (630) 250-3045 x106 Fax:

Multiple App deployment

2002-06-21 Thread Chen, Dean (Zhun)
Hi, I have a simple question regarding where to put files for deployment of multiple applications that will share common files. Currently, I have root --commons css images jsp --images --jsp --WEB-INF This is good because you can package all these up into a WAR file and everything

RE: mod_jk for Windows

2002-06-21 Thread Turner, John
I have apache 1.3 and tomcat working successfully with mod_jk on Windows 2000 Pro. I follwed the instructions at this location: http://www.galatea.com/flashguides/apache-tomcat-4-win32.xml John Turner [EMAIL PROTECTED] http://www.aas.com -Original Message- From: Koes, Derrick

RE: Using JkMount with mod_jk question...

2002-06-21 Thread Turner, John
Thanks for the reply, I think. The configurations I have have been working since tomcat 3.1. They work on tomcat 4 with mod_jk. I see no reason to change them, especially considering the amount of time I wasted trying to get mod_webapp to work, and the amount of posts to this list from people

RE: mod_jk and mod_jk2 HELP

2002-06-21 Thread Turner, John
OK, thanks. That's what I was asking...it wasn't clear to me from your posts how apache knew to pick up workers2.properties, and I have no experience with mod_jk2 (and no desire to try until things settle down quite a bit). John Turner [EMAIL PROTECTED] http://www.aas.com -Original

RE: MOD_JK Problem ?

2002-06-21 Thread Turner, John
According to this thread, there seems to be a problem with mod_jk and the latest apache (2.0.39): http://mailman.real-time.com/pipermail/tomcat-users/2002-June/069534.html John Turner [EMAIL PROTECTED] http://www.aas.com -Original Message- From: Jerry Jalenak [mailto:[EMAIL

Re: path info for servlets and JSPs

2002-06-21 Thread Brendan . Richards
I don't know if you can do exactly what you want but an alternative could be to url-encode the path in the request as a variable for example: http://server/application/mypage.jsp?path =%2fextra%2fpath%2finfo (I think %2f = / but please check!) Brendan

RE: MOD_JK Problem ?

2002-06-21 Thread Jerry Jalenak
Sounds like I need to back off from 4.1.3beta and go back to the last 4.0.x build. Thanks! Jerry Jalenak -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 7:58 AM To: 'Tomcat Users List' Subject: RE: MOD_JK Problem ? According to this

RE: mod_jk for Windows

2002-06-21 Thread Charles Sanders
I have the following working together with mod_jk: Apache 1.3.24 Tomcat 3.2.3 Apache 1.3.24 Tomcat 4.0.1 Apache 1.3.26 Tomcat 4.0.1 I also used the following setup processes: http://www.galatea.com/flashguides/apache-tomcat-win32.xml

Re: AW: AW: set content type to text/pdf

2002-06-21 Thread Ben Walding
Digging back into the dark cavern that is trying to get IE to work with a spec complying application (from which I have emerged and no longer care about)... I believe you might be able to go http://server:8080/servlet/pdfservlet?thisisnotanarg.pdf This may confuse IE into giving you

Re: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-21 Thread William Au
So how is the performance of Tomcat 4.1.3 comparing to 4.0? Bill Shapira, Yoav wrote: Howdy, I know you already solved the problem (was userid). As an aside, it's a bad idea to unpack 3rd party jars. You probably want to rename classes12.zip to classes12.jar so tomcat will pick it up.

jk_nt_service error

2002-06-21 Thread Yu Ye Zhou
I'm trying to run tomcat as service I edit the wrapper.properties files according to my set up. When I try to run jk_nt_service -i tomcat -a wrapper.properties, I get the following error: Asked (and given) winsock 1.1 OpenSCManager failed - Access is denied. I'm using j2sdk1.4.0 instead

Re: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-21 Thread Remy Maucherat
Victor Popiol wrote: I installed Tomcat 4.1.3 beta. Took a while to configure because the hidden issue with the user vs username parameter in the datasource definition. After it has been running for a day, it died. Looking at the logs I found the following: java.lang.OutOfMemoryError

Process java Size

2002-06-21 Thread Guillaume Mignot
Hello When i launch Tomcat 3.3.1 the process size is 557M how can i reduce that? JDK 1.3.1 Tomcat 3.3.1 with apache Txs

application deployment

2002-06-21 Thread Halil AKINCI
Hi, This is mine work environment; CPU: Intel Pentium II 400 MHz OS: Windows 98 Container: Apache tomcat 4.0 Java environment: jdk1.3 First I created a directory (called Vt) into the tomcat's webapps directory, than wrote my servlet and compiled it (webappsVtweb-infclassesVTServlet.java). I

Re: Process java Size

2002-06-21 Thread chad kellerman
Edit the tomcat_home/bin/catalina.sh file. Put something like this in it under CATALINA_OPTS CATALINA_OPTS=$CATALINA_OPTS $JPDA_OPTS -Xmx64m -Xms32m This will allow the jvm to use a maximum of 64 meg of memory. and a minimum of 32. You can change this to fit your needs. I am assuming you

RE: application deployment

2002-06-21 Thread Anoop Kumar V
u said u created ur web.xml.. but u need to place it in web-inf directory and not in th e Vt folder. This shd work. regds, anoop -Original Message- From: Halil AKINCI [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 7:20 PM To: Tomcat Users List; jakarta-tomcat yahoo groups

Re: application deployment

2002-06-21 Thread Halil AKINCI
Ahh.. I wrote wrong! I created it in web-inf directory. - Original Message - From: Anoop Kumar V [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, June 21, 2002 5:00 PM Subject: RE: application deployment u said u created ur web.xml.. but u need to place it in

space in tomcat_home directory

2002-06-21 Thread Yu Ye Zhou
My tomcat is install under windows directory as follow: c:\Program Files\apache tomcat 4.0 I have spaces in the directory. How can the wrappers.properties file recognizes the spaces in the directory? I have cygwin in my computer, when I cd to a windows directory, I use \ to escape the spaces.

RE: space in tomcat_home directory

2002-06-21 Thread Anoop Kumar V
u can use Progra~1 instead of Program Files ( tilde and 1) Alternatively try enclosing the whole path in quotes.. i hvnt tried this. Anoop Kumar V. -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 7:41 PM To: Tomcat Users List Subject: space

mod_jk /examples/* works but /servlet/* doesn't

2002-06-21 Thread Avnish Pundir
Hi Everyone, Recently I have connected apache with tomcat using mod_jk. In my httpd.conf file I am giving this directive. JkMount /examples/* ajp13 It works perfectly fine but problem is it forwards all requests to apache. I want static requests to be handled by Apache. As per documentation only

RE: Using JkMount with mod_jk question...

2002-06-21 Thread Sean M Alderman
Thanks for the clarification John and Milt, I appreciate it. I am kind of curious though about the configuration of index.jsp on the apache side of things If I use a JkMount /*.jsp ajp13 directive will any jsp file in the Apache DocumentRoot be handled by Tomcat? Or does this just mean

Re: mod_jk /examples/* works but /servlet/* doesn't

2002-06-21 Thread Brendan . Richards
I don't know if this will work or not... but have you tried: JkMount /servlet/** ajp13 If it works, let me know... Brendan Hi Everyone, Recently I have connected apache with tomcat using mod_jk. In my httpd.conf file I am giving this directive.

RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-21 Thread Victor Popiol
Orders of magnitude better. -Original Message- From: William Au [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 9:38 AM To: Tomcat Users List Subject: Re: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta So how is the performance of Tomcat 4.1.3 comparing to 4.0? Bill

Re: mod_jk /examples/* works but /servlet/* doesn't

2002-06-21 Thread Brendan . Richards
Or perhaps it would be even better to try: JkMount /*/servlet/* ajp13 or: JkMount **/servlet/* ajp13 Brendan I don't know if this will work or not... but have you tried: JkMount /servlet/** ajp13 If it works, let me know... Brendan

RE: mod_jk /examples/* works but /servlet/* doesn't

2002-06-21 Thread Turner, John
Does your tomcat configuration (server.xml, web.xml) match your apache configuration? Does tomcat know about /servlet and what to do with it? You have to configure both sides. Tomcat has configuration entries for /examples by default. John Turner [EMAIL PROTECTED] http://www.aas.com

RE: application deployment

2002-06-21 Thread Anoop Kumar V
hi i simualted the same in my tomcat, and it works fine. but u can try one thing. remove the servletcontext in ur server.xml. this shd be auto loadable... and that works for me too. If that doesnt work try removing the closing slash at the end of ur entry in the file. That ends with /Context.

RE: Using JkMount with mod_jk question...

2002-06-21 Thread Turner, John
Sure, /*.jsp will send JSP files to tomcat. But apache doesn't know that index.jsp is a home page unless you tell it so in httpd.conf: Directory /web/test/jsp Options Indexes FollowSymLinks DirectoryIndex index.html index.htm index.jsp /Directory John Turner [EMAIL PROTECTED]

COM Possible?

2002-06-21 Thread Steven Sporen
Accessing COM object on windows. Simple question - with Tomcat can a programmer access COM controls on a windows platform? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: COM Possible?

2002-06-21 Thread Anoop Kumar V
i know using java u can..guess u will hv to tweak tomcat to do such a thing. Anoop Kumar V. -Original Message- From: Steven Sporen [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 8:00 PM To: Tomcat Users List Subject: COM Possible? Accessing COM object on windows. Simple

Re: COM Possible?

2002-06-21 Thread Dennis Muhlestein
Use JNI, then from C++ you can do whatever you want. On Fri, 2002-06-21 at 08:29, Steven Sporen wrote: Accessing COM object on windows. Simple question - with Tomcat can a programmer access COM controls on a windows platform? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL

RE: hi all

2002-06-21 Thread Shapira, Yoav
Howdy, Since you're just starting it out, it may be a better idea to download the binaries ;) Download, explode the tar, run the examples, get comfortable with the configuration, and then maybe start modifying tomcat? ;) Yoav Shapira Millennium ChemInformatics -Original Message- From:

Re: mod_jk /examples/* works but /servlet/* doesn't

2002-06-21 Thread Avnish Pundir
Hi Brendan, with JkMount /*/servlet/* ajp13, debug files shows following lines. And maps root (/) to tomcat which is not what I want :( [jk_uri_worker_map.c (256)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /.jsp=ajp13 was added [jk_uri_worker_map.c (267)]: Into

RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-21 Thread Shapira, Yoav
Howdy, You're getting that because you need more memory - java by default will run A good start now that you have something running (at least up to the point it crashes with the OutOfMemory error) would be to 1) Set -Xmx at something much higher than you should need, e.g. -Xmx2048m 2) Run your

RE: jk_nt_service error

2002-06-21 Thread Cox, Charlie
check NT permissions on jk_nt_service.exe. Sevices run as user 'System', not as the logged in user. Charlie -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 9:42 AM To: Tomcat Users List Subject: jk_nt_service error I'm trying to run

Re: path info for servlets and JSPs

2002-06-21 Thread Milt Epstein
On Fri, 21 Jun 2002, cbarnes wrote: In web.xml I have added a servlet mapping so that the servlet can take extra path information as follows: servlet-mapping servlet-namemyservlet/servlet-name url-pattern/myservlet/*/url-pattern /servlet-mapping Is it possible to do

Re: mod_jk /examples/* works but /servlet/* doesn't

2002-06-21 Thread Brendan . Richards
Hi Avnish, To be honest, I've always just set a line in the httpd.conf for each webapp / context deployed. All the documentation/examples i've seen show a JKMount being used for each context. I generally don't need more than one or two webapps on each server so it's not usually a problem

Session, SSL redirect , no Cookies

2002-06-21 Thread Peter Balmforth
I'm trying to use SSL for a login form and then redirect from https: to http: once I have passed my password. The rest of the site will be less secure but will not suffer the overhead of SSL. Everything seems to work fine when cookies are enabled but when I rely only on URL rewriting my

Re: war file deploys but can't reach any urls

2002-06-21 Thread Matt Vanderveer
On Thu, 2002-06-20 at 16:00, Koes, Derrick wrote: I dropped my war file in the webapps directory in a tomcat 4.0.4 install. I started tomcat, and a directory is created with the contents of my war file. However, I cannot hit the expected url with any success. I always get a

Re: mod_jk /examples/* works but /servlet/* doesn't

2002-06-21 Thread Avnish Pundir
Brendan, Thanks extending your help. I can go with individual deployment, not a big problem (but still is a problem isn't it). But just want to know when this isn't supported than why the hell so many sites (I have seen more than 4-5 sites, one site setup J2EE on windows and use ONLY these two

RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-21 Thread Victor Popiol
More details: Server Compaq Single Processor 512 MB RAM Windows 2K Tomcat - Tomcat 4.1.3 Beta, binary distribution running as a service and using Tomcat 4.0's isapi_redirector.dll to interface with IIS - Using Ajp3Processor with IIS - Runs as an NT Service - JVM parametes: -Xrs -Xincgc

RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-21 Thread Shapira, Yoav
Hi, Did you try profiling with and without the incremental garbage collector? (-Xincgc) I'd be very interested in the comparison. Yoav Shapira Millennium ChemInformatics -Original Message- From: Victor Popiol [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 11:44 AM To: Tomcat

RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-21 Thread Reynir Hübner
I had the same problem, increased memory up to 512 and got rid of it. But it seemd kind of obvious to me that tomcat 4.1.3 was taking way more memory than 4.0.3, for example an application that normally takes 40 - 60 mb was taking 400mb of memory under load, and it did not seem to release the

RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-21 Thread Victor Popiol
It also helped us when we increased the memory. Right now, we have scheduled a daily service restart (this is in production :-( ). I'll be looking forward to your feedback regarding 4.1.5 Regards Victor -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: Friday,

Re: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-21 Thread Remy Maucherat
Victor Popiol wrote: It also helped us when we increased the memory. Right now, we have scheduled a daily service restart (this is in production :-( ). I'll be looking forward to your feedback regarding 4.1.5 Since apparently you are not using many static pages, this would seem to rule out

Distribution Policy? Where did the RPMs go?

2002-06-21 Thread Eddie Bush
Note: This is a slightly reworded posting from yesterday. I got no response, and really wanted one. I'm reposting because I'm assuming nobody that knew saw it - and that it's so far down in the stack now they will not see it. Hi - just curious if there would be no more RPM distributions past

RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-21 Thread Victor Popiol
My initial suspition was Jasper. But there have been less and less JSP compilations after the site was deployed. One thing I wanted to try, to rule out Jasper, was to precompile all the JSP's. But I can't figure out how to do that. I guess I'll have to write an ant build file using the jsp

Socket Exception with Standard Wrapper Valve

2002-06-21 Thread Davids,Bradley
I'm hoping someone out there can give me a hand with this one as I'm new to the Tomcat world. I'm trying to run servlets using Tomcat 4.0.4 with IIS. Examples all run with no trouble, but when trying to call a servlet using the new virtual directory I've created returns the following error:

RE: Distribution Policy? Where did the RPMs go?

2002-06-21 Thread Jason Corley
Don't take me as a definitive source as I'm not a commiter (or even a developer) but I believe there is work to make the RPMs for tomcat4 more FHS compliant. There is also some debate as to how FHS compliance should be achieved (proper directory structure, symlinking in post-install, etc.).

Re[2]: mod_jk /examples/* works but /servlet/* doesn't

2002-06-21 Thread Jacob Kjome
Hello Avnish, here's the scoop. For each context you want to map from Apache to Tomcat, do the following (examples based on the Win32 platform): First, the common stuff at the top of the mod_jk.conf file (Note that you would put the following info in the mod_jk.conf which would be included at

RE: JasperException: Unable to compile class for JSP

2002-06-21 Thread Pearsall, Kyle
Thank you for your reply. I am using Tomcat 4.0.4 with JDK 1.3.1. They were both clean installs. Does Tomcat 4.0.4 have any issues with this JDK? Should I upgrade to JDK 1.4? I will look into this further. Kyle -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]

RE: Distribution Policy? Where did the RPMs go?

2002-06-21 Thread GOMEZ Henri
Don't take me as a definitive source as I'm not a commiter (or even a developer) but I believe there is work to make the RPMs for tomcat4 more FHS compliant. There is also some debate as to how FHS compliance should be achieved (proper directory structure, symlinking in post-install, etc.).

4.1.3 Beta mod_jk2 ALMOST working

2002-06-21 Thread Douglas, Rory
Title: 4.1.3 Beta mod_jk2 ALMOST working Hi there I'm trying Apache 2.0.39 and Tomcat 4.1.3 Beta on a Win2K machine with mod_jk2 nightly binary. I'm doing all my configuration through workers2.properties (copied from jtc-src in the 4.1.3 download). My Coyote JK2 connector is on the default

Re: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-21 Thread Remy Maucherat
Victor Popiol wrote: My initial suspition was Jasper. But there have been less and less JSP compilations after the site was deployed. One thing I wanted to try, to rule out Jasper, was to precompile all the JSP's. But I can't figure out how to do that. I guess I'll have to write an ant

RE: 4.1.3 Beta mod_jk2 ALMOST working

2002-06-21 Thread Turner, John
According to this thread, there seems to be a problem with mod_jk and the latest apache (2.0.39): http://mailman.real-time.com/pipermail/tomcat-users/2002-June/069534.html John Turner [EMAIL PROTECTED] http://www.aas.com -Original Message- From: Douglas, Rory [mailto:[EMAIL

RE: Using JkMount with mod_jk question...

2002-06-21 Thread Milt Epstein
On Fri, 21 Jun 2002, Turner, John wrote: Thanks for the reply, I think. The configurations I have have been working since tomcat 3.1. They work on tomcat 4 with mod_jk. I see no reason to change them, especially considering the amount of time I wasted trying to get mod_webapp to work,

Re: minimal config files for mod_jk2 request....

2002-06-21 Thread Jacob Kjome
Ok, I've seen others clamoring for this in other messages. Surely there is someone out there who has successfully gotten mod_jk2 to work for them. All I ask for is a sample configuration example with *all* files required. I just did this for another person on the list having trouble with

Re[2]: 4.1.3 Beta mod_jk2 ALMOST working

2002-06-21 Thread Jacob Kjome
Hello John, That isn't an issue anymore. The nightly binaries were rebuilt. However, that only includes mod_jk2, not mod_jk. The fact that Rory got Apache running at all means he was using a binary compatible with Apache 2.0.39. Now if someone can provide a configuration example for how

RE: Using JkMount with mod_jk question...

2002-06-21 Thread Milt Epstein
On Fri, 21 Jun 2002, Turner, John wrote: Sure, /*.jsp will send JSP files to tomcat. But apache doesn't know that index.jsp is a home page unless you tell it so in httpd.conf: Directory /web/test/jsp Options Indexes FollowSymLinks DirectoryIndex index.html index.htm index.jsp

RE: Re[2]: 4.1.3 Beta mod_jk2 ALMOST working

2002-06-21 Thread Turner, John
Thanks... I never saw a post on the list that specifically said the problem was solved. Perhaps I missed it. John Turner [EMAIL PROTECTED] http://www.aas.com -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 1:04 PM To: Tomcat Users List

RE: 4.1.3 Beta mod_jk2 ALMOST working

2002-06-21 Thread Short, Dave
I've encountered error 61 when tomcat wasn't given enough time to initialize prior to starting Apache (Apache 2.0.36 Tomcat 4.0.3). Can you please provide your mod_jk.conf, workers2.properties and any other required mod_jk2 files? -Original Message- From: Douglas, Rory [mailto:[EMAIL

Book recommendation

2002-06-21 Thread mls
Any recommendation for a good book that covers Tomcat and other related open source technologies? More from an application developers point of view as to how various components fit together rather than sysadmin details or exhaustive details about any one particular thing (say JBoss, Servlet

RE: Book recommendation

2002-06-21 Thread Geoff Peters
I've got the James Goodwill book - it is good for a beginner to Tomcat and servlet / jsp technology, very easy to follow and well written - but not a lot of detail on specific tweaking / configuration issues. There is a new Tomcat book being published this month or next month (can't remember)

RE: jk_nt_service error

2002-06-21 Thread Yu Ye Zhou
Thanks. That is the problem. --- Cox, Charlie [EMAIL PROTECTED] wrote: check NT permissions on jk_nt_service.exe. Sevices run as user 'System', not as the logged in user. Charlie -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002

Re: Distribution Policy? Where did the RPMs go?

2002-06-21 Thread Eddie Bush
Thank you for the update =) I'm guessing the 4.1.x series won't start having RPM builds until they reach a full release - is that assumpiton correct? Thanks! Eddie - Original Message - From: GOMEZ Henri [EMAIL PROTECTED] To: Jason Corley [EMAIL PROTECTED]; Tomcat Users List [EMAIL

manager reload command?

2002-06-21 Thread Cory Casler
Does the reload command for the tomcat 4.0.1 manager application not work? If I make a change to a *.war file and issue the command: http://(server):(port)/manager/reload?path=/(context) I get the OK - Reloaded application at context path /ccdb response but it does not realy reload the app.

Re: Book recommendation

2002-06-21 Thread Cindy Ballreich
I can't speak to the others, but I really didn't like JSP, Servlets, and Mysql. It reads nicely, but the examples are full of really basic errors. Be sure to check out the reader reviews on Amazon for any book you're interested in. They can be very helpful. At 10:26 AM 6/21/02 -0700, [EMAIL

(Tomcat 4.0.4) and (Forte4 with Tomcat 4.0.1) and Struts

2002-06-21 Thread Jeff_Mychasiw
Sorry for the simple questions: Correct me if I am wrong, but I am under the impression that If I develop a simple web app in Forte, I should be able to drop it into a similar version of standalone tomcat and have it run. In fact I would like to place my working web app directory under

Re: Book recommendation

2002-06-21 Thread Carl Bacher
There's one coming out soon - hopefully. Developer's Guide to Tomcat 4 by Alex Garrett Jeff Kean and published by Manning It's due out in October. (It was due out in June when I ordered it about a month ago). Cindy Ballreich wrote: I can't speak to the others, but I really didn't like

  1   2   >