Re: catalina.sh on os x

2006-02-02 Thread rrshwrk
Hi all I am a newbie to tomcat. I installed jarkarta tomcat 5.5.9 with fedoracore3 OS. I already have j2sdk1.5.2 installed on it. I downloaded and configured tomcat from http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat5.5-files/jakarta-= tomcat-5.5.9-preconfigured.zip

catalina.sh on os x

2006-02-02 Thread Patrick Lacson
Hi all. I've been trying to get tomcat 5.5.9 to run on Mac OS 10.4.4 and when I run the stock catalina.sh script this is what I get. $ sh catalina.sh : command not found4: 'atalina.sh: line 48: syntax error near unexpected token `in 'atalina.sh: line 48: `case "`uname`" in I then modify the cata

Strange problem with tomcat Please help

2006-02-02 Thread rrshwrk
Hi all I am a newbie to tomcat. I installed jarkarta tomcat 5.5.9 with fedoracore3 OS. I already have j2sdk1.5.2 installed on it. I downloaded and configured tomcat from http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat5.5-files/jakarta-= tomcat-5.5.9-preconfigured.zip

Strange problem with tomcat Please help

2006-02-02 Thread rrshwrk
Hi all I am a newbie to tomcat. I installed jarkarta tomcat 5.5.9 with fedoracore3 OS. I already have j2sdk1.5.2 installed on it. I downloaded and configured tomcat from http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat5.5-files/jakarta-= tomcat-5.5.9-preconfigured.zip

Re: Strange problem with tomcat Please help

2006-02-02 Thread rrshwrk
Hi all I am a newbie to tomcat. I installed jarkarta tomcat 5.5.9 with fedoracore3 OS. I already have j2sdk1.5.2 installed on it. I downloaded and configured tomcat from http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat5.5-files/jakarta-= tomcat-5.5.9-preconfigured.zip

problem on tomcat 5.5.7 with JSF

2006-02-02 Thread Kannan Shastri
Hi All, I am facing a very peculiar issue. This is not a tomcat issue as such, but if somebody has faced it before, i could use the help.I am using JSF 1.1with j2sdk1.4.2_10 and Tomcat 5.5.7. JSF Expression language is giving me some puzzling errors if I say value="#{varList.AInfo.BInfo.someName}

Re: Re: How to identify version of a running Tomcat and similar trivia

2006-02-02 Thread Bill Barker
Yes, TC stands for TomCat. Well, this confirms that the version is one of 3.3.0, 3.3.1, or 3.3.1a. Most likely the later (since most people upgraded to that). You can find out for sure which by doing a HEAD request to anything but a JSP page: It will be in the 'Server:' header. There isn't m

Re: Best practice for Capturing JSP Errors

2006-02-02 Thread Glen Mazza
Mott Leroy wrote: I am on Tomcat 5.0.x I am familiar with a couple ways to capture errors that occur on the JSP side. One way is to use the error page tag: <%@ page errorPage="MyErrorPage.jsp" %> Chapter 10 on exception handling, Beginning JavaServer Pages (Wrox Books, 2005), I think wou

Solution: File encoding not getting set (using JVM option in service.bat)

2006-02-02 Thread Sriram Subramanian
Hi Mark, and others, So I did find a way to set the encoding for the JVM (and hence Tomcat 5.5 which uses this jvm and runs as a windows service). Just add another update statement in service.bat: //US//SelectFederation ++JvmOptions "-Dfile.encoding=UTF-8" Regards, Sriram --- Mark Thomas <[EMAI

Re: Tomcat 4.1.31 & IBM JDK & JSSE crash

2006-02-02 Thread Bill Barker
"Mike Sabroff" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The error is for com.ibm.jsse.bd not com.sun.jsse or whatever. Youneed > IBM's jsse it appears > Yup. Ditch the Sun jar, and specify algorithm="IbmX509" on the . > > Philippe Couas wrote: >> >> Hi, >> >> I use an Tom

Re: how to use datasource in a non-tomcat project?

2006-02-02 Thread Rick Col
Thanks, Mark: Basic datasource is a good resource. This is really pointing me to the right direction. --- Mark Shifman <[EMAIL PROTECTED]> wrote: > You can use jakarta commons dbcp > http://jakarta.apache.org/commons/dbcp/. > There is a basic datasource and examples on how to > create it. > mas

Re: how to use datasource in a non-tomcat project?

2006-02-02 Thread Mark Shifman
You can use jakarta commons dbcp http://jakarta.apache.org/commons/dbcp/. There is a basic datasource and examples on how to create it. mas Rick Col wrote: Hi, guys: I am stuck here with this problem. I created a Java project on Eclipse, the reason is I have to use my own framework that won't

RE: Port 8443 won't become active

2006-02-02 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: Port 8443 won't become active > > when I had this problem it was caused by the presence of a > file named "tcnative-1.dll" in the ~/Tomcat 5.5/bin > directory. When I removed that .dll file, everything worked > as described i

how to use datasource in a non-tomcat project?

2006-02-02 Thread Rick Col
Hi, guys: I am stuck here with this problem. I created a Java project on Eclipse, the reason is I have to use my own framework that won't fit into a Tomcat project. But we are using Tomcat to run our application. Now I have to create datasource for Hibernate to use. If this is a tomcat project, I

Re: Port 8443 won't become active

2006-02-02 Thread TonyCoco
Hi Jeff, when I had this problem it was caused by the presence of a file named "tcnative-1.dll" in the ~/Tomcat 5.5/bin directory. When I removed that .dll file, everything worked as described in the Tomcat documentation for SSL. --Tony C. -- Original message

Re: File encoding not getting set (using JVM option in service.bat)

2006-02-02 Thread Mark Thomas
Sriram Subramanian wrote: > Mark, I see your point related to file encoding > changes working on select OS/JVM combinations, why is > probably why setting LANG=en_US.UTF-8 in catalina.sh > does the trick on Unix. There's got to be some > workaround for Windows. > My aim is to force Tomcat to use UT

Re: File encoding not getting set (using JVM option in service.bat)

2006-02-02 Thread Sriram Subramanian
Mark, I see your point related to file encoding changes working on select OS/JVM combinations, why is probably why setting LANG=en_US.UTF-8 in catalina.sh does the trick on Unix. There's got to be some workaround for Windows. My aim is to force Tomcat to use UTF-8. We have a EAR that is deployed on

Re: File encoding not getting set (using JVM option in service.bat)

2006-02-02 Thread Mark Thomas
Sriram Subramanian wrote: > Hi, > > I am installing Tomcat 5.5.9 as a windows service > using the service.bat script. I need to set the jvm > file encoding to UTF-8, which I did using the > following syntax - > === > "%EXECUTABLE%" //IS//%SERVICE_NAME% --JavaHome > %JAVA_HOME% --StartPath %CA

File encoding not getting set (using JVM option in service.bat)

2006-02-02 Thread Sriram Subramanian
Hi, I am installing Tomcat 5.5.9 as a windows service using the service.bat script. I need to set the jvm file encoding to UTF-8, which I did using the following syntax - === "%EXECUTABLE%" //IS//%SERVICE_NAME% --JavaHome %JAVA_HOME% --StartPath %CATALINA_HOME% --Startup auto --JvmOptions -Df

Best practice for Capturing JSP Errors

2006-02-02 Thread Mott Leroy
I am on Tomcat 5.0.x I am familiar with a couple ways to capture errors that occur on the JSP side. One way is to use the error page tag: <%@ page errorPage="MyErrorPage.jsp" %> And another is to define the error page in your web.xml: 500 /myPage.jsp I've inherited a vast

Re: Servlet filter on j_security_check

2006-02-02 Thread Frank W. Zammetti
Interesting. Thanks for that info! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Thu, February 2, 2006 3:04 pm, Tim Funk said: > If you want to be spec compliant. There is a bugzill

Re: Tomcat 4.1.31 & IBM JDK & JSSE crash

2006-02-02 Thread Mike Sabroff
The error is for com.ibm.jsse.bd not com.sun.jsse or whatever. Youneed IBM's jsse it appears Philippe Couas wrote: Hi, I use an Tomcat 4.1.31 wit IBM JDK 1.4.1 and i want Implement JSSE on my Tomcat I have add Sun jsse.jar on $JAVA_HOME/jre/lib/ext but i have following error, where is my mis

Re: Servlet filter on j_security_check

2006-02-02 Thread Tim Funk
If you want to be spec compliant. There is a bugzilla entry with respect to this and confirmation by the expert group that Tomcat's behavior is correct. -Tim Frank W. Zammetti wrote: Well, there you go Martin :) Tim, is this something peculiar to Tomcat that doesn't allow it? As I mentioned

Re: Betr.: Re: The Future of Tomcat

2006-02-02 Thread Matthew Whisenhunt
I downloaded java script and installed on my apache server thats running on my operating system. Oh, yes my OS is linux. My problem is that my girlfriend is being so random. tee hee hee thats my favorite. Dang random people -Matt David Smith wrote: JavaScript is a confection of Netscape.

Re: Servlet filter on j_security_check

2006-02-02 Thread Frank W. Zammetti
Well, there you go Martin :) Tim, is this something peculiar to Tomcat that doesn't allow it? As I mentioned in my previous post, I in fact do this in an app running on Websphere. Or, maybe its a case of Websphere letting me do something it really shouldn't? -- Frank W. Zammetti Founder and Ch

Re: Servlet filter on j_security_check

2006-02-02 Thread Frank W. Zammetti
Yes, it is generically possible... I have the following mapping in one of my apps: InitialLoginFilter /j_security_check This runs on Websphere though, so maybe there is some limitation with Tomcat. In general though, it appears it is possible. One suggestion: change to a servlet m

RE: SSL on Virtual Hosts

2006-02-02 Thread George Sexton
SSL requires a dedicated Connector bound to a dedicated IP address to work. This is because the certificate exchange takes place before the HTTP request transmits the desired HOST name. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message-

Re: Servlet filter on j_security_check

2006-02-02 Thread Tim Funk
You can't install a filter on j_security_check -Tim Martin Dubuc wrote: I am using form based authentication in my application. I would like to know if it is possible to install a Servlet filter on j_security_check. I have tried to install one, but it never gets invoked. Here is my fi

SSL on Virtual Hosts

2006-02-02 Thread Antonio W. Lagnada
Hi All, As far as I know there's only one place to set the keystore in tomcat ( server.xml). Will tomcat support https on virtual domains? If I have placed "www.host1.com" and "www.host2.com" on my keystore, will tomcat map the correct domain entry? Right now I think the first entry gets

Servlet filter on j_security_check

2006-02-02 Thread Martin Dubuc
I am using form based authentication in my application. I would like to know if it is possible to install a Servlet filter on j_security_check. I have tried to install one, but it never gets invoked. Here is my filter definition in application web.xml: LoginFilter

RE: APR in Tomcat 5.5

2006-02-02 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Antonio W. Lagnada > Subject: Re: APR in Tomcat 5.5 > > Thanks. I'm assuming I need to append it to LD_LIBRARY_PATH as such: > LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/apr If you already have something in that environment v

Re: Tomcat and client certificates

2006-02-02 Thread Mark Thomas
Markus wrote: > Ok, when I set clientAuth to "want" the "Exception getting SSL Cert" > goes away. (Wtf is this documented?). But I still get the 403 - Access > denied error. If you specify a user-data-constraint, you don't need to specify clientAuth in the connector. > As username I used exactly t

Re: APR in Tomcat 5.5

2006-02-02 Thread Antonio W. Lagnada
Thanks. I'm assuming I need to append it to LD_LIBRARY_PATH as such: LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/apr What about in WindowsXP? Do the dlls just need to be in C:\Windows\system32? On 2/2/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: Caldarale, Charles R [mailto

RE: Port 8443 won't become active

2006-02-02 Thread Jeffery G. Summers
When we contracted our upgrades the consultant installed version 1.4.2 but when I just ran "java -version" the box tells me that 1.3.1 is the one running in memory! I've never stopped/started java, etc. and I plan on making the consultant finish the job on this...but, if I want to try it does anyo

Re: Betr.: Re: The Future of Tomcat

2006-02-02 Thread David Smith
JavaScript is a confection of Netscape. They named it JavaScript to capitalize on all the press surrounding Java at the time- with Sun's blessing of course. Just in case the consumer wasn't confused enough :-) --David Darren Hall wrote: Those evil people at Sun with their weird and often dif

RE: Port 8443 won't become active

2006-02-02 Thread Jeffery G. Summers
We're using version 1.4.2. When we used SunONE (iPlanet) we had 1.3.1 and that old directory still exists (/usr/java131). I think the old directory can be blown away since we have everything we need with /usr/java14 and have removed the apps that had to use the previous version. -Original

RE: Tomcat under IIS using isapi_redirect.dll

2006-02-02 Thread Earnie Dyke
In your definition add the attriute: debug="6" This will turn on debugging on the Tomcat side. You should see message in your Tomcat log then. Can you connect to the app by going straight at Tomcat? Earnie! -Original Message- From: Richard Burman [mailto:[EMAIL PROTECTED] Sent: Thursd

Re: the best way to distribute Tomcat with my web-application

2006-02-02 Thread Felipe Gaúcho
great it means tomcat really dont't need any installer.. that windows intaller is just a "windows-like" manner to get tomcat working... great.. On 2/2/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: Felipe Gaúcho [mailto:[EMAIL PROTECTED] > > Subject: Re: the best way to distri

Tomcat 4.1.31 & IBM JDK & JSSE crash

2006-02-02 Thread Philippe Couas
Hi, I use an Tomcat 4.1.31 wit IBM JDK 1.4.1 and i want Implement JSSE on my Tomcat I have add Sun jsse.jar on $JAVA_HOME/jre/lib/ext but i have following error, where is my mistake ?? Regards Philippe - Root Cause - java.security.NoSuchAlgorithmException: Class com.ibm.jsse.bd configu

RE: the best way to distribute Tomcat with my web-application

2006-02-02 Thread Caldarale, Charles R
> From: Felipe Gaúcho [mailto:[EMAIL PROTECTED] > Subject: Re: the best way to distribute Tomcat with my web-application > > tomcat runs whithout installation under windows ? i.e., can I > simply unzip a tomcat version and run it through command line? Yes, if you start with the .zip version fro

Re: the best way to distribute Tomcat with my web-application

2006-02-02 Thread Vinu Varghese
Hi Sure u can , just look at scripts in bin folder of a normal tomcat package (not the installer for windows) startup.bat -> for starting shutdown.bat -> for stopping - Regards Vinu Felipe Gaúcho wrote: my question is: tomcat runs whithout installation under windows ? i.e., can I

RE: Port 8443 won't become active

2006-02-02 Thread Jeffery G. Summers
Yes, I can almost recite it by rote ;-). -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 12:24 PM To: Tomcat Users List Subject: RE: Port 8443 won't become active > From: Jeffery G. Summers [mailto:[EMAIL PROTECTED] > Subject:

RE: Port 8443 won't become active

2006-02-02 Thread Peter Crowther
> From: Jeffery G. Summers [mailto:[EMAIL PROTECTED] > Our webserver is an IBM P615C AIX 5.2 box. Whose JVM and what version? - Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: the best way to distribute Tomcat with my web-application

2006-02-02 Thread Felipe Gaúcho
my question is: tomcat runs whithout installation under windows ? i.e., can I simply unzip a tomcat version and run it through command line? On 2/2/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > > why not simply take the tomcat download (normal version), unpack it, > put your webapp into it, pac

RE: Port 8443 won't become active

2006-02-02 Thread Caldarale, Charles R
> From: Jeffery G. Summers [mailto:[EMAIL PROTECTED] > Subject: Port 8443 won't become active > > Our webserver is an IBM P615C AIX 5.2 box. I have attempted > the following to enable port 8443: > > 1) keytool -genkey -alias tomcat -keyalg RSA > 2) Edited server.xml and uncommented the port

RE: APR in Tomcat 5.5

2006-02-02 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Subject: RE: APR in Tomcat 5.5 > > None, assuming the APR native library is installed in the > proper place. Should have mentioned that the proper place is normally specified by the LD_LIBRARY_PATH environment variable or the java.library

Port 8443 won't become active

2006-02-02 Thread Jeffery G. Summers
Hello! I'm brand-new to Tomcat and am under the gun to learn it quickly. The short story: My University hired our Software Vendor to upgrade our administrative web software. We also hired them to move us from iPlanet to Jakarta Tomcat 5.0.28. Currently we can access our web software on port 80.

RE: APR in Tomcat 5.5

2006-02-02 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Antonio W. Lagnada > Subject: APR in Tomcat 5.5 > > Once I have apr installed, what is the configuration change > that I need to do to let tomcat know to use apr? None, assuming the APR native library is installed in the proper

mod_jk problem on solaris 10

2006-02-02 Thread Ran Li
Hello all, I did searchs on the net but still could not find a clear solution, os: solaris 10 java: 1.3.1.11 apache: 1.3.29 when trying to build jakarta-tomcat-connectors-1.2.15, got following error messages during the make Making all in apache-1.3 make: Fatal error in reader: Makefile, line

RE: Tomcat under IIS using isapi_redirect.dll

2006-02-02 Thread Richard Burman
Yeah, I had to change the port because something else on my machine is holding port 8009, but I've changed it in both the worker.properties and the server.xml so it should work? I've just modified the ports back to the normal 8009 and got it all running but I'm still seeing the same problem. I un

RE: Tomcat under IIS using isapi_redirect.dll

2006-02-02 Thread Earnie Dyke
Is the port 8019 correct. Usually Tomcat AJP connector is listening on 8009. >From the log snippet, it is finding a worker based on the URI. Earnie! -Original Message- From: Richard Burman [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 11:38 AM To: Tomcat Users List Subject

RE: Betr.: Re: The Future of Tomcat

2006-02-02 Thread Darren Hall
Those evil people at Sun with their weird and often difficult to use "javascript"!! *shakes fist* Now ECMAScript THAT'S a different story... =P -Original Message- From: Roel De Nijs [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 10:52 AM To: users@tomcat.apache.org Subj

Re :automating use of webXmlFragment result - how to do?

2006-02-02 Thread Bob_Savard
Using the Jasper2 task and pointing it to my web.xml, the generated fragment is automatically merged into the right spot of web.xml. Here's how I specify the Jasper2 task. You'll obviously have to set your attributes according to your setup. The two key attributes are webxmlfragment and addwebxm

APR in Tomcat 5.5

2006-02-02 Thread Antonio W. Lagnada
Hi All, Once I have apr installed, what is the configuration change that I need to do to let tomcat know to use apr? Thanks

RE: Tomcat under IIS using isapi_redirect.dll

2006-02-02 Thread Richard Burman
worker.properties worker.list=NetSearchWorker worker.NetSearchWorker.port=8019 worker.NetSearchWorker.host=localhost worker.NetSearchWorker.type=ajp13 uriworkermap.properties /NetSearch/*=NetSearchWorker /NetSearch/*.jsp=NetSearchWorker /NetSearch/servlet/*=NetSearchWorker -Original Messag

Re: Betr.: Re: The Future of Tomcat

2006-02-02 Thread David Kerber
Roel De Nijs wrote: or they think coffee and/or island :-) [EMAIL PROTECTED] 2/02/2006 16:50:03 >>> True, but the HTTP server is still what most people think of when they hear the name "Apache". Probably same people, that think of Applets or Javascript when they hear the wo

Re: the best way to distribute Tomcat with my web-application

2006-02-02 Thread Leon Rosenberg
why not simply take the tomcat download (normal version), unpack it, put your webapp into it, pack it and offer for download for the client? On 2/2/06, Felipe Gaúcho <[EMAIL PROTECTED]> wrote: > Dear friends, > > I have the following goal: > > create a pack containing my web-application and also a

RE: Tomcat under IIS using isapi_redirect.dll

2006-02-02 Thread Earnie Dyke
The two lines are informational. It tells you that it matched the URI with a worker. Can you post your workers and uriworkers properties files? Earnie! -Original Message- From: Richard Burman [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 10:49 AM To: Tomcat Users List Subje

RE: Tomcat under IIS using isapi_redirect.dll

2006-02-02 Thread BLACKWELL, CRISS
Does your application require to add "or" to the end of the isapi_redirect.dll so it is isapi_redirector.dll? My application specifically required me to do so or it would not work. Criss Blackwell Enterprise Services Highline Community College 2400 S. 240th St. M/S 26-1 Des Moines, WA 98198-

Betr.: Re: The Future of Tomcat

2006-02-02 Thread Roel De Nijs
or they think coffee and/or island :-) >>> [EMAIL PROTECTED] 2/02/2006 16:50:03 >>> > True, but the HTTP server is still what most people think of when they > hear the name "Apache". Probably same people, that think of Applets or Javascript when they hear the word "Java"? > > Dave Leon :-) ---

how to propagate an exception from JAAS to JSP page, and a workaround

2006-02-02 Thread Milan Mrdjen
Hi folks, I'm using Tomcat and CMA with JAAS. In my application there are several possible reason why a user can not login (wrong password, user expired, user locked, etc) and I need to present a message with the information to user on the JSP page. So I need to propagate the exception from the JA

Re: The Future of Tomcat

2006-02-02 Thread Leon Rosenberg
> True, but the HTTP server is still what most people think of when they > hear the name "Apache". Probably same people, that think of Applets or Javascript when they hear the word "Java"? > > Dave Leon :-) - To unsubscribe, e-

RE: Tomcat under IIS using isapi_redirect.dll

2006-02-02 Thread Richard Burman
Hmm... No, that's not it. Still getting exactly the same error. Where exactly is this 'The specified module could not be found' coming from? Is it the redirector that is failing or is Tomcat somehow giving an incorrect response? Are these two lines an error or informational? [Thu Feb 02 15:40:31

RE: Tomcat under IIS using isapi_redirect.dll

2006-02-02 Thread Earnie Dyke
That could do it. Earnie! -Original Message- From: Richard Burman [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 10:38 AM To: Tomcat Users List Subject: RE: Tomcat under IIS using isapi_redirect.dll D'oh!! It's okay, I've just spotted the problem. I had put 'workers.propert

RE: Tomcat under IIS using isapi_redirect.dll

2006-02-02 Thread Richard Burman
D'oh!! It's okay, I've just spotted the problem. I had put 'workers.properties' in the registry, not 'worker.properties'. I suspect it will work now. Thanks for looking, anyway! Cheers, Richard. -Original Message- From: Richard Burman [mailto:[EMAIL PROTECTED] Sent: 02 February 2006 15:

RE: Tomcat under IIS using isapi_redirect.dll

2006-02-02 Thread Richard Burman
They are both running on the same machine and it doesn't have a firewall installed. Here is a more extensive snippet from the log file: [Thu Feb 02 11:57:38 2006] [5684:1588] [debug] jk_shm.c (134): Initialized shared memory size=67584 free=65536 addr=0xfe [Thu Feb 02 11:57:38 2006] [5684:158

RE: Tomcat under IIS using isapi_redirect.dll

2006-02-02 Thread Earnie Dyke
Richard, Is that all there is in the log? You may want to change to log level in the redirector to trace to get more info. Our biggest problem was with the firewall. IIS runs on one side and JBoss/Tomcat on the other. Earnie! -Original Message- From: Richard Burman [mailto:[EMAIL PROT

Tomcat under IIS using isapi_redirect.dll

2006-02-02 Thread Richard Burman
Hi all, I'm having a little trouble getting tomcat to work in conjunction with IIS. I have followed the instructions to the letter but to no avail. When I check in the IIS properties, the filter has a green arrow so the isapi portion seems to be okay. When I try to take a look at something that

the best way to distribute Tomcat with my web-application

2006-02-02 Thread Felipe Gaúcho
Dear friends, I have the following goal: create a pack containing my web-application and also a runnable Tomcat server. the cliente should be able to run my application whithout any previously installed Tomcat server... just download my product and start it through some line command or shell scr

Re: The Future of Tomcat

2006-02-02 Thread David Kerber
Tim Funk wrote: Apache is a legal entity which is composed of many developers who work on a variety of software projects in a variety of programming languages. Some projects are related to one another, others are not. Apache != httpd. httpd was the first Apache project. True, but the HTTP s

Re: The Future of Tomcat

2006-02-02 Thread Tim Funk
Apache is a legal entity which is composed of many developers who work on a variety of software projects in a variety of programming languages. Some projects are related to one another, others are not. Apache != httpd. httpd was the first Apache project. -Tim David Kerber wrote: Apache and T

Re: The Future of Tomcat

2006-02-02 Thread David Kerber
Tim Funk wrote: Sweet sweet flame fodder. Tomcat is as alive as the community of developers that are willing to work on it (like any open source project). I guess you could consider it flame fuel, but it's also a legitimate question, IMO. Your answer below looks good to me. Tomcat did t

RE: The Future of Tomcat

2006-02-02 Thread Earnie Dyke
Not to mention the fact that JBoss uses Tomcat as its JSP engine. Tomcat is not going away any time soon. Earnie! -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 8:10 AM To: Tomcat Users List Subject: Re: The Future of Tomcat Roel De Ni

Re: The Future of Tomcat

2006-02-02 Thread David Kerber
Roel De Nijs wrote: Hi, I heard that resources, updates, development and support of tomcat are slightly disappearing. MAny people are looking for alternatives (e.g. JBoss). Even Microsoft and HP are cooperating with JBoss very closely. As far as i know Tomcat is the most used app server, so

Re: The Future of Tomcat

2006-02-02 Thread Tim Funk
Sweet sweet flame fodder. Tomcat is as alive as the community of developers that are willing to work on it (like any open source project). Tomcat did take a hit with respect to Sun moving resources to Glassfish. But in general, servlet containers are fairly "mature" and boring and somewhat sta

Re: BUG TOMCAT 4.1.31 Stack Trace

2006-02-02 Thread Tim Funk
Its a database error [ ORA-01722: invalid number] coming from oracle. Looks like your trying do shove a nonnumber into a fields which is a number. This is a developer coding error. (not tomcat) -Tim Markus kalle wrote: that's the stack trace i get when i try the mentioned code. regards, mar

The Future of Tomcat

2006-02-02 Thread Roel De Nijs
Hi, I heard that resources, updates, development and support of tomcat are slightly disappearing. MAny people are looking for alternatives (e.g. JBoss). Even Microsoft and HP are cooperating with JBoss very closely. As far as i know Tomcat is the most used app server, so it will take lots of t

RE: Catalina.out gets to big-> Server crashes

2006-02-02 Thread Ralph.Grothe
Ugh, reiserfs is a journalling filesystem and should have no problems with files larger than 2 GB. To be on the safe side you could however check here for all things reiserfs (got the URL from the manpage of mkreiserfs) http://www.namesys.com/ We also happen to have a SEL9 box running. There I c

RE: BUG TOMCAT 4.1.31 Stack Trace

2006-02-02 Thread Markus kalle
that's the stack trace i get when i try the mentioned code. regards, markus //-- 2006-02-02 13:41:33 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception javax.servlet.ServletException: ORA-01722: invalid number at org.apache.jasper.runt

RE: Betr.: RE: Memory Management between different webapps

2006-02-02 Thread Caldarale, Charles R
> From: Roel De Nijs [mailto:[EMAIL PROTECTED] > Subject: Betr.: RE: Memory Management between different webapps > > The problem we are confronted with: all our web-apps are > running fine in our test-environment, even if workload is > simulated to be very high. If we go to production environme

Custom Authenticator in tomcat 4 ?

2006-02-02 Thread Andreas Rehn
Hi, Is it possible to have a custom Authenticator in tomcat 4.1? I can't find any information about it, only for 5x. I have tried configuring a WEB-INF/context.xml with a valve referencing my authenticator class, works well in tomcat 5.5, but not in 4.1 (which is currently the version we are ru

Tomcat 5.5.15 unable to find the Apache Portable Runtime library, Solaris 10.

2006-02-02 Thread Dumortier
Hi all, On Solaris 10, I am using Tomcat 5.5.15. I downloaded apr-1.2.2 and produced the libtcnative-1.so which has been placed in /usr/local/apr/lib. I have also added to CATALINA_OPTS the instruction: -Djava.library.path=/usr/local/apr/lib setenv CATALINA_OPTS '-Xms256m -Xmx512m -Djava.l

Re: Custom Authenticator

2006-02-02 Thread David Smith
Have You thought about a request filter? All it has to do is watch for authenticated sessions that are missing some critical session attributes. Fill in the missing info as needed. -David Arash Bijanzadeh wrote: Hi, I need to implement my custom authenticator to do some extra comfig i user se

Re: Betr.: RE: Memory Management between different webapps

2006-02-02 Thread David Smith
Obviously something is different. Given tomcat and the web-app are the same, I would guess environmental differences exist between test and production. Do both have the same set of services? Same OS? OOM errors can also indicate a lack of system resources such as file handles. Just throwing ou

Custom Authenticator

2006-02-02 Thread Arash Bijanzadeh
Hi, I need to implement my custom authenticator to do some extra comfig i user session beside the authentication. How can I achive this? Is there a way to do authentication besides rigid j_check_security? -- from debian manifesto: Debian Linux is a brand-new kind of Linux distribution. Rather than

RE: Catalina.out gets to big-> Server crashes

2006-02-02 Thread Tim Lucia
Which are you using? Log4j already has a RollingFileAppender (size or date based, your choice) which rolls logs automatically. Or, you can use logrotate on linux. http://logging.apache.org/log4j/docs/api/org/apache/log4j/DailyRollingFileAp pender.html http://logging.apache.org/log4j/docs/api/org

RE: tomcat + postgres

2006-02-02 Thread Tim Lucia
Close() on a pooled connection is almost certainly releasing it, rather then actually closing it (it would depend on the pooling implementation.) org.apache.commons.dbcp.PoolableConnection, for example, has a "reallyClose()" method which closes the underlying connection. The probably registers

Re: Catalina.out gets to big-> Server crashes

2006-02-02 Thread Boris Unckel
> sorry, I just clean forgot to tell the version its 5.5.9. > > I discovered the tomcat-juli.jar in the bin directory > so I suppose its in use. Although I never used it so far. > > So the idea is to switch x4juli.jar and I get the same functionality > as in log4J? That's great because I'm using

Re: How to identify version of a running Tomcat and similar trivia

2006-02-02 Thread Tim Funk
This has been fixed in the tomcat 5.0.X line months ago with the inclusion of the version.bat and version.sh scripts. (Which call "catalina.sh version"). We can't help it if OS vendors repackage tomcat and omit those files. -Tim [EMAIL PROTECTED] wrote: Hi Tim, yes, at least the later Tomcat

RE: Catalina.out gets to big-> Server crashes

2006-02-02 Thread Peter . Neu
Hello Ralph, well it's SUSE ES 9. The filesystem is Reiserfs. The system was set up recently. The server got multiple processors. But I can't tell you more cause I don't have access to it again until monday. cheers, Pete --- Ursprüngliche Nachricht --- > Von: <[EMAIL PROTECTED]> > An: > Betref

automating use of webXmlFragment result - how to do?

2006-02-02 Thread Terence M. Bandoian
Hi- If you're using Ant, you might try adding a concat task to combine generated_web.xml with predefined header and footer files. -Terence M. Bandoian >> Subject: >> automating use of webXmlFragment result - how to do? >> From: >> "Olinga K. Abbott" <[EMAIL PROTECTED]> >> Date: >> Wed, 1 Feb 200

Re: tomcat + postgres

2006-02-02 Thread Matthew Whisenhunt
Thanks Tim, I have yet to post an intelligent question. You answered my real question though. Just for good measure I'll mention the book was O'Reilly's Java Enterprise Best Practices... ah and the _interface_ was javax.sql.ConnnectionPoolDataSource . Yeah, weird in the example they actually in

RE: Catalina.out gets to big-> Server crashes

2006-02-02 Thread Ralph.Grothe
Good Morning Pete, although I have no Tomcat knowledge whatsoever (only subscribed to the list in order to learn more and seek for an answer to my trivia questions) the fact that your Tomcat crashes when a logfile reached the 2 GB boundary in my opinion has nothing to do with Tomcat but rather the

Betr.: RE: Memory Management between different webapps

2006-02-02 Thread Roel De Nijs
The problem we are confronted with: all our web-apps are running fine in our test-environment, even if workload is simulated to be very high. If we go to production environment (which is an exact copy of the test-environment) then tomcat gives OOME, sometimes 3-4 times a day. And it looks to be

Re: Tomcat and client certificates

2006-02-02 Thread Markus
Ok, when I set clientAuth to "want" the "Exception getting SSL Cert" goes away. (Wtf is this documented?). But I still get the 403 - Access denied error. Here is how I added the users certificate to my realm: web.xml: /html/*

Re: Catalina.out gets to big-> Server crashes

2006-02-02 Thread Peter . Neu
Hello, sorry, I just clean forgot to tell the version its 5.5.9. I discovered the tomcat-juli.jar in the bin directory so I suppose its in use. Although I never used it so far. So the idea is to switch x4juli.jar and I get the same functionality as in log4J? That's great because I'm using it to

Re: Catalina.out gets to big-> Server crashes

2006-02-02 Thread Boris Unckel
Good Morning, > Does anyone know how configure tomcat so that catalina.out only get a size > of 100 MB and then replaces it by a new empty catalina.out? The old one > should be saved under a different name. > There is information missing: Which Tomcat Version? Which logging API is in use? Assum

RE: How to identify version of a running Tomcat and similar trivia

2006-02-02 Thread Ralph.Grothe
Hi Tim, yes, at least the later Tomcat release of HP has such a ServerInfo.properties method # find /opt/hpws/tomcat -type f -name catalina.jar|xargs -n1 jar tf|grep -F ServerInfo.properties org/apache/catalina/util/ServerInfo.properties # cd /tmp # find /opt/hpws/tomcat -type f -name catalina.

Catalina.out gets to big-> Server crashes

2006-02-02 Thread Peter . Neu
Hello, I got this problem that the catalina.out file gets to big. It grows to a size of approx. 2 gig and then tomcat just crashes. Does anyone know how configure tomcat so that catalina.out only get a size of 100 MB and then replaces it by a new empty catalina.out? The old one should be saved u

RE: Memory Management between different webapps

2006-02-02 Thread Peter Crowther
> From: Roel De Nijs [mailto:[EMAIL PROTECTED] > I have a tomcat with ± 10 web-applications. Is there a > maximum or some guidance in the number of web-apps you can > put in one instance of Tomcat? Tomcat itself uses relatively little memory per-webapp (a few megabytes, depending on version).

  1   2   >