Antwort: Re: Antwort: RE: Antwort: RE: Antwort: RE: user principal, realm

2003-04-03 Thread Oliver Wulff
I have to overwrite the getUserPrincipal in this valve. I tried the following: public void invoke(Request request, Response response, ValveContext context) throws IOException, ServletException { logger.info("invoke>>"); HttpRequestWrapper wrapper = new HttpRequestWrapper (

Re: Character encoding for form submissions

2003-04-03 Thread Mariusz Wiktorczyk
Olny filter can help you. But remember: from api - setCharacterEncoding public void setCharacterEncoding(java.lang.String env) throws java.io.UnsupportedEncodingException Overrides the name of the character encoding used in the body of this

RE: Using the ServerFactory

2003-04-03 Thread Balaji
Oh well, I was going through the classloader - How tos section. I ahve this following clarification. Sorry for my burst of mails though. When I place my J2SE application Jar files under server/Lib ( these classes try to use the ServerFactory and other server classes, let us assume), my J2SE app

RE: Tomcat session

2003-04-03 Thread Filip Hanik
not sure, check the spec, but if it did work that way, your server would have a memory leak :) Filip > -Original Message- > From: Lee Peik Feng [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 10:16 PM > To: Tomcat Users List > Subject: Tomcat session > > > Hi, > in web.xml

Re: Custom Policy file

2003-04-03 Thread Maksimenko Alexander
Hi > >How can I populate my policy permissions in web environment? > > Stick the policy file in $JAVA_HOME/jre/security is the easiest option. > > One alternative is to find a container, if there is any, that supports > per-webapp policy files. I'm not personally aware of any such > container. >

Tomcat session

2003-04-03 Thread Lee Peik Feng
Hi, in web.xml 30 Could I set the value to -1 so that the session timeout is unlimited as long as tomcat alive? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

RE: monitoring web apps

2003-04-03 Thread johannes . fiala
Hi Yoav, oops. I didn't line out that this kind of memory tracking is for testing locally with my dev environment to see how tomcat does when handling 100.000 records of a ResultSet or so... and when memory does show up again. Thanks for the link, I'll investigate it later... Is the JVMPI pow

RE: Disabling redirect to admin

2003-04-03 Thread Andrew Zeon
Yep, what you've said is definitely correct. However, right now my problem is that I've been put on a project which has already been made to redirect to http://localhost:8080/admin/adminlistcompanies.jsp. We use Action classes which redirect to URLs listed in a properties file. This properties file

RE: JNDI connection pooling maximum connections exceeded - Tracking?

2003-04-03 Thread johannes . fiala
Hi Mike It seems poolman is currently considerably exceeding the functionality of dbcp. Can you post a link where I can find it? Is it in general preferable to use poolman instead of dbcp as dbcp provides only a small set of functionality for production sites? thx alot Johannes "mike jacks

Re: Disabling redirect to admin

2003-04-03 Thread Jacob Kjome
This is the very reason why ROOT is not a good idea to use for your context. If you want a default context, just add an index.html to the ROOT context to redirect to the context you want people to be at. For instance: http://localhost:8080/ redirects to... http://localhost:8080/mycontext/ W

RE: Disabling redirect to admin

2003-04-03 Thread Filip Hanik
I believe you can comment out the security stuff in /admin/WEB-INF/web.xml that is protecting that link, then change the adminlistcompanies.jsp to do the redirect. in any case, taking away the security restrictions on admin, is at your own risk Filip > -Original Message- > From: Andrew Z

Disabling redirect to admin

2003-04-03 Thread Andrew Zeon
Hi, I've got a link in my web site which goes to http://localhost:8080/admin/adminlistcompanies.jsp. Everytime I click on this link, it goes to the Tomcat web server administration tool login page. Is there a way I can disable this so that it goes to the correct URL? All my files are in webapps/

RE: Using the ServerFactory

2003-04-03 Thread Filip Hanik
nothing but the online documentation that comes with Tomcat, If you want to access the server or any other class from /server/lib/* just take a look at the "manager" webapp, and then of course you have the source code. and yes, tomcat ships with documentation, some on how the classloaders work Fil

RE: Using the ServerFactory

2003-04-03 Thread Balaji
Hi, Thanks. But for the problem mentioned below, if the classloader is responsible, where can I find the details about the classloader architecture and the implementation of Tomcat.? Are there any documents about this? Regards Bala At 09:05 PM 4/3/2003 -0800, you wrote: yes, using JMX is the c

RE: Using the ServerFactory

2003-04-03 Thread Filip Hanik
yes, using JMX is the correct way to go. Tomcat 5 will include stats through JMX Filip > -Original Message- > From: Balaji [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 9:05 PM > To: Tomcat Users List > Subject: RE: Using the ServerFactory > > > No. It is for an intranet pur

RE: Using the ServerFactory

2003-04-03 Thread Balaji
No. It is for an intranet purpose and I do not foresee it in the immediate plans. Given this, is there an solution to the said problem? Thanks Bala At 09:01 AM 4/3/2003 -0500, you wrote: Howdy, Do you have any interest at all in your webapp being portable to other containers? Yoav Shapira Mille

RE: What s the minimum system resources needed for tomcat

2003-04-03 Thread Filip Hanik
you're fine, tomcat has a pretty small footprint. Filip > -Original Message- > From: anto paul [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 8:20 PM > To: tomcat mail list > Subject: What s the minimum system resources needed for tomcat > > > Hi, > I want to know the m

What s the minimum system resources needed for tomcat

2003-04-03 Thread anto paul
Hi, I want to know the minimum configuration to run Tomcat 4.1.18 on a win2k server.We are using this server as a development server. And there are only three developers accessing the server. The same machine is also used as the print server. The machine is a P4 with 512 MB RAM. -

RE: 3 Service's and the using the manager app - just curious

2003-04-03 Thread Nicholas Orr
Umm can't you send pictures or something? Try again, if it is not there then you can go http://www20.brinkster.com/nigorr/tc/structure.html Nick -Original Message- From: Nicholas Orr [mailto:[EMAIL PROTECTED] Sent: Friday, 4 April 2003 1:48 PM To: 'Tomcat Mailing List' Subject: 3 Servic

Re: Tomcat 4.1 slower than Tomcat 3.3

2003-04-03 Thread Bill Barker
The main overhead is with keeping track of and processing Filters (which don't exist in Servlet-2.2). TC 3.3.x also has some optimizations based on the fact that it is illegal to wrap the Request/Response objects in Servlet-2.2. Of course, Servlet-2.3 encourages wrapping the Request/Response :-).

3 Service's and the using the manager app - just curious

2003-04-03 Thread Nicholas Orr
Hi, I have setup my TC/Apache environment finally, It is a bit over the top but good enough for what I want it to do, which is good. *See attached file for structure* These are all setup through Apache using reverse proxy, with named virtual hosts, all works great, took me about 4hrs (solid wit

Re: Tomcat 4.1 slower than Tomcat 3.3

2003-04-03 Thread Bill Barker
I didn't include Coyote, since Coyote is available for 3.3.x. It ships with 3.3.2-dev (aka nightly), but you can plug the jars into any 3.3.x version. And, yes, using Coyote for TC3.3.x stand-alone is much faster than using the Http10Connector that ships with 3.3.1(a). "Shapira, Yoav" <[EMAIL PR

Re: Virtual host and context

2003-04-03 Thread Greg Speechley
I have set up a virtual host so that when you browse http://virtual.host.com it goes to index.html in test dir by putting host info in server.xml and a context.xml in WEB-INF/META-INF. However this only works when I create the war and drop it into webapps and tomcat unpacks it. What I would like i

Re: Antwort: RE: Antwort: RE: Antwort: RE: user principal, realm

2003-04-03 Thread Bill Barker
It's Tomcat-specific (and, so, non-portable to other servlet containers), but yes, Valves are called before Authenticators. "Ralph Einfeldt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >From the code in catalina/src/share/org/apache/catalina/authenticator/BasicAuthenticator.java

DataSource in Tomcat for MS SQL server

2003-04-03 Thread Alexey Tyurin
I configured my Tomcat server (4.1.24, jdk1.3.1_02/j2sdk1.4.0_01, Win2000 Professional) as it was described in section "MySQL DBCP Example" of jndi-datasource-examples-howto.html file from Tomcat documentation. Everything works. Then I repeated the same with JDBC driver for MS SQL server. I

Re: Character encoding for form submissions

2003-04-03 Thread Morris Jones
I've solved part of the puzzle. Character transcoding is NOT performed for forms that are enctype="multipart/form-data". Does anyone know if this is The Way It Is, or does Tomcat offer any character transcoding for multipart form data? Mojo On Thu, 3 Apr 2003, Morris Jones wrote: > I've been

Apache-2.0.43 + Tomcat-4.1.12 + MOD_JK2 -- Problem while redirecting from one jsp to another

2003-04-03 Thread Sushil Jadhav
Hi, (B (BI have a following scenario. (B (BI am using apache tomcat combination with mod_jk2. (BIt works fine when I access it with IP address and port no. in URL (B(e.g. . (B (BBut when I access the same jsp with host name in URL (B(e.g.

Another question on url rewriting

2003-04-03 Thread Louis Lau
Hi there, Also, say if i want traffic to www.abc.com be forward to my tomcat server 192.168.111.111:8080 through firewall, but after the page is redirected, the broswer will show the url as www.abc.com instead of 192.168.111.111:8080. how can i force every url retrieved from my tomcat server will

Configure error page

2003-04-03 Thread Louis Lau
Hi, I would like to configure the error page so that for any 404 error, the page will be redirected to somewhere. I have tried to put 404 /redirect.jsp but from catalina.out, it seems that tomcat can not found redirect.jsp. so where would tomcat find the error page? Thanks. Louis --

Tomcat 4.1 + Apache 2 + mod_jk2 inprocess woes

2003-04-03 Thread Ken M
Greetings everyone. I've exhaustively searched the archives for a success story I can build on, but in vain. I've been beating my head against mod_jk2 for over 2 days now, and I keep getting SO close but not quite far enough. If you've had similar experiences but got beyond it - please read o

RE: Test Application with out restart Tomcat

2003-04-03 Thread Tam, Michael
I believe there is an attribute call 'reloadable' for the element in server.xml. Set it to true for your webapp context and the webapp's servlets will reload when there are changes to them. Regards, Michael -Original Message- From: Srinivasu Gandu [mailto:[EMAIL PROTECTED] Sent: Thursda

Q: ava.lang.NoClassDefFoundError: com/sun/corba/se/internal/io/lang/Comparable

2003-04-03 Thread Michael Young
Hello Tomcat gurus, I just downloaded Tomcat 4.1.24 and JDK 1.4.1_02, and I put some jaxp.jar, xalan.jar and xerces.jar in the common/endorsed directory to overwrite JDK 1.4's internal jar files. I am trying to load a class in my own jar file using the following codes: /*

Test Application with out restart Tomcat

2003-04-03 Thread Srinivasu Gandu
What needs to be done if don't have to restart the server every time we make change to the servlet. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Can't access my servlet

2003-04-03 Thread Lori Bishop
Yes - I have another servlet in this same application and in order to access that one I had to add another entry into the web.xml file. New web.xml looks like this: TestServlet TestServlet CalendarData CalendarData TestServlet

RE: help on mod_jk

2003-04-03 Thread Filip Hanik
looks like you are trying to use the mod_jk compiled for Apache 1.3 with Apache 2.0 could that be it? I can only take from your path /usr/local/apache2 that it is an apache 2.0 instance filip > -Original Message- > From: Paul Hsu [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003

RE: web.xml problem

2003-04-03 Thread paul niemandt
n/p: glad to be of help. On Fri, 2003-04-04 at 01:15, Srinivasu Gandu wrote: > Hi Paul, > I am mistaken.. I gave the lower case (Web-inf) directory... it's my fault.. > because I am in win98.. confuse in the directory letters.. thanks for the > help .. Srini. > > -Original Message- > From

RE: web.xml problem

2003-04-03 Thread Srinivasu Gandu
Hi Paul, I am mistaken.. I gave the lower case (Web-inf) directory... it's my fault.. because I am in win98.. confuse in the directory letters.. thanks for the help .. Srini. -Original Message- From: paul niemandt [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 6:56 PM To: Tomcat

RE: web.xml problem

2003-04-03 Thread Srinivasu Gandu
Paul, I have the web.xml file in the WEB-INF directory..Is there anything problem with my java I am using j2sdk1.4.1_01.. seems to be when I give "javac" on the command line I am getting bad command.. "java" is giving list of commands.. am I missing something in J2sdk -Original Message- F

RE: 2 Quick Questions: DBCP - ValidationQuery && server.xml - Con text -cachingAllowed

2003-04-03 Thread Nicholas Orr
Thanks again, much appricated Nihcolas Orr -Original Message- From: Halstead, Chris [mailto:[EMAIL PROTECTED] Sent: Friday, 4 April 2003 8:31 AM To: Tomcat Users List Subject: RE: 2 Quick Questions: DBCP - ValidationQuery && server.xml - Context -cachingAllowed RE: validationQuery:

help on mod_jk

2003-04-03 Thread Paul Hsu
Hi, I try to install mod_jk with apache, but I always have problem with jk_mod. I install tomcat-4.0.6 and download mod_jk2-1.3-eapi.so into modules directory. Then I append one line " LoadModule jk_module modules/mod_jk2-1.3-eapi.so" at the end of httpd.conf file, I run "apachectl configtest",

Re: web.xml problem

2003-04-03 Thread paul niemandt
Hi Srini: You most probably don't have the web.xml file in the correct directory. It needs to be under the WEB-INF directory of your web application. ie. $CATALINA_HOME/webapps/YourWebApp/WEB-INF/web.xml regards, Paul On Fri, 2003-04-04 at 00:47, Srinivasu Gandu wrote: > Hi, I am using tomcat4

RE: Character encoding for form submissions

2003-04-03 Thread Morris Jones
Thanks Chakradhar, but that's where I got the filter to do setCharacterEncoding(). I thought with that set Tomcat would convert the strings to Unicode before setting them in my form beans, but it doesn't. Like I said, I see the filter being called, and no different behavior. Mojo On Fri, 4 Apr 2

Re: DriverManager.getConnection("jdbc:jtds:sqlserver://127.0.0.1:1443/Services".....Failured... Please, help me!

2003-04-03 Thread Kwok Peng Tuck
Check and see if the password and username is correct for the database you setup. Victor Gonzalez wrote: The message is... java.sql.SQLException: Connection refused: connect at net.sourceforge.jtds.jdbc.TdsConnection.allocateTds(Unknown Source) at net.sourceforge.jtds.jdbc.TdsConn

web.xml problem

2003-04-03 Thread Srinivasu Gandu
Hi, I am using tomcat4.1.18 and trying to run a web application.. I am getting the error. "Missing application web.xml, using defaults only" when I looked into the server log file. Because of this I am unable to access my servlet (getting 404).. here is my web.xml file http://java.sun.com/dtd/

RE: JNDI connection pooling maximum connections exceeded - Tracking?

2003-04-03 Thread mike jackson
I set the upper limit as a soft limit (I'm using poolman, not dbcp). Since the database doesn't seem to care when I exceed the limit (happens rarely anyway) it hasn't been an issue as of yet. However, my old connection pool did have a hard limit. What I ended up doing at that point was blocking

RE: Character encoding for form submissions

2003-04-03 Thread Chakradhar Tallam
have a look at this http://www.anassina.com/struts/i18n/i18n.html -Original Message- From: Morris Jones [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 9:42 AM To: [EMAIL PROTECTED] Subject: Character encoding for form submissions I've been researching this for a while. I'm usin

jasper/jspc nullpointer errors when precompiling thru ant. REPOST

2003-04-03 Thread Hammad Sophie
I posted a few days ago but no response. Would really appreciate a reply. Thanks. Hammad. Hi. My project has jsps, some of which use jstl/jakarta taglibs. I use ant to pre-compile/compile my jsps manually. All jsps which dont use taglibs still precompile/compile happily. However jsps with jstl/

Character encoding for form submissions

2003-04-03 Thread Morris Jones
I've been researching this for a while. I'm using Tomcat 4.1.18, and struts 1.0.2. My app is successfully handling Unicode characters -- in all the actions, stored in the database, displayed on the HTML pages, using charset=UTF-8. But the only way I can find to get form data into Unicode in my f

Re: Error Message Question

2003-04-03 Thread Jon Wynacht
Thanks Yoav but it's still throwing the error. I even went so far as to make empty methods in the class that causes the problem. Is there any relation to this error and errors thrown by j_security_check? Jon On Thursday, April 3, 2003, at 12:17 PM, Shapira, Yoav wrote: Howdy, Look for infini

Re: user clicks submit but nothing happens

2003-04-03 Thread Vladimer Shioshvili
are you using get or post method for the form? explorer can't handle large headers with get method and submit doesn't do anything... At 05:31 PM 4/3/2003, you wrote: Newbe question: I am trouble shooting a problem we had with our server. The problem seemed simple; when the use clicks, a submit b

user clicks submit but nothing happens

2003-04-03 Thread Garrett Steed
Newbe question: I am trouble shooting a problem we had with our server. The problem seemed simple; when the use clicks, a submit button, JavaScript will check the data in the form, then call the document.form1.submit(). The form action then sends the data to the servlet. Normally the servlet wou

RE: 2 Quick Questions: DBCP - ValidationQuery && server.xml - Context -cachingAllowed

2003-04-03 Thread Halstead, Chris
RE: validationQuery: If you specify a validationQuery in a DBCP configuration the pool will automatically apply that validation query to connections before handing them to application code (testOnBorrow becomes implicitly true). If the validation query fails, the connection will be dropped fr

RE: 2 Quick Questions: DBCP - ValidationQuery && server.xml - Context -cachingAllowed

2003-04-03 Thread Shapira, Yoav
Howdy, >1. What does the ValidationQuery* parameter actually do in DBCP? I would assume (too lazy to check) it's a sanity check SQL query allowing the pool to validate the state of a connection before handing it to a client or after receiving it back from a client and before returning it to the

org/apache/jk/common/ChannelSocket.processConnection INFO: connection timeout rached.

2003-04-03 Thread Victor Gonzalez
Hi guys, Well, I will go to here point (alone, culeros!) but, I don't know which parameter respect the timeout is necessary modify, if anyone is very gentle to tell me, I will be very thankful, and I promise a cool bear. Regards, I have... W2k Tomcat 4.1.18 IIS 5.0 SQL Server Tomcat - SQL Serv

Taglib troubles with 4.1.24

2003-04-03 Thread Ian Zabel
I'm trying to code up some enhancements to my tag library, and I've just switched to Tomcat 4.1.24. I have a String defined in a base class which is appended to by many methods in the tag. For instance: public abstract class TagBase extends TagSupport { private String attributes; public

error while adding connector in admintool

2003-04-03 Thread Mark W. Webb
I get the following error message when I try and add an AJP connector using the admin tool. HTTP Status 400 - Invalid path /connector/AddConnector was requested type Status report message Invalid path /connector/AddConnector was requested description The request sent by the client was syntactical

2 Quick Questions: DBCP - ValidationQuery && server.xml - Context -cachingAllowed

2003-04-03 Thread Nicholas Orr
Hello, Just two quick questions 1. What does the ValidationQuery* parameter actually do in DBCP? 2. In server.xml, what does the cachingAllowed^ property of Context do? Thanks, Nicholas Orr *I looked in the TC 4.1.24 doc but it was not there, then went to dbcp website and I didn't know where

RE: monitoring web apps

2003-04-03 Thread Shapira, Yoav
Howdy, >I usually track the memory consumption of each request using a debug info >which prints the free memory available. > >Runtime r = Runtime.getRuntime(); >long freeMem = r.freeMemory(); >System.out.println("free memory: " + freeMem); So this tells you the free memory when the request came

RE: partially updating a WAR file using manager app??

2003-04-03 Thread Craig R. McClanahan
On Thu, 3 Apr 2003 [EMAIL PROTECTED] wrote: > Date: Thu, 3 Apr 2003 22:15:10 +0200 > From: [EMAIL PROTECTED] > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: partially updating a WAR file using manager app?? > > Hi Yoav/Craig, > > I'll

RE: Can't access my servlet

2003-04-03 Thread Shapira, Yoav
Howdy, It's good practice. Your alternative is to enable the invoker servlet, which you can do by commenting in its servlet-mapping element in $CATALINA_HOME/conf/web.xml. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: JS [mailto:[EMAIL PROTECTED] >Sent: Thursday, A

Re: Can't access my servlet

2003-04-03 Thread JS
Hi there, I was just wondering, does this action have to be performeed with all servlets produced?? Thanks > Many thanks!!! I added this entry to the web.xml > >TestServlet >/TestServlet > > and was able to access it with this url: > http://localhost:8080/stcecilia/TestSer

Re: Tomcat RMI and Eclipse

2003-04-03 Thread Marc Chamberlin
Well as promised, am reporting back. Christian was right and installing Tomcat into a directory with no spaces embedded in the path names fixes the RMI problem. I noted in bugzilla that this problem has already been reported, (Bug #4543) and was resolved with the solution that it is not going to

Taglib troubles with 4.1.24

2003-04-03 Thread Zabel, Ian
I'm trying to code up some enhancements to my tag library, and I've just switched to Tomcat 4.1.24. I have a String defined in a base class which is appended to by many methods in the tag. For instance: public abstract class TagBase extends TagSupport { private String attributes; public

RE: monitoring web apps

2003-04-03 Thread Steve Harris
Have you looked at using the -Xincgc On Thu, 3 Apr 2003 [EMAIL PROTECTED] wrote: > Hi there, > > I usually track the memory consumption of each request using a debug info > which prints the free memory available. > > Runtime r = Runtime.getRuntime(); > long freeMem = r.freeMemory(); > System.out

RE: Tomcat unstable - Dr. Watson. Why?

2003-04-03 Thread Iain Sanderson
Thanks Chuck, Our tape backup is a tape robot on a SAN storage network. All very Kosher in a controlled environment / high-powered room etc so I would be surprised if that was it. I like the idea of changing our backup routines. The thing that confuses me though is this - why does enabling In

RE: Tomcat unstable - Dr. Watson. Why?

2003-04-03 Thread Goehring, Chuck Mr., RCI - San Diego
Iain, Might also be that your tape drive draws so much current, it "browns out" the system. I've seen this before. A huge power supply might be in order. Also, there is a nasty memory leak in j2sdk 1.4.1 that is not entirely cured by doing c/l args such as -Xxms256m -Xxmx256m. This bug is no

RE: partially updating a WAR file using manager app??

2003-04-03 Thread johannes . fiala
Hi Yoav/Craig, I'll take a look at the entry points you gave me - maybe I'll find my way through them. Of course I'll keep you posted if I get useful results... However, I still think it's a fundamental lack of the WAR approach not being able to incrementally add functionality. I originally com

RE: monitoring web apps

2003-04-03 Thread johannes . fiala
Hi there, I usually track the memory consumption of each request using a debug info which prints the free memory available. Runtime r = Runtime.getRuntime(); long freeMem = r.freeMemory(); System.out.println("free memory: " + freeMem); I think packaging this into a memory tracking module for al

JNDI connection pooling maximum connections exceeded - Tracking?

2003-04-03 Thread johannes . fiala
HI there, I'd like to know what professional developers do when the maximum number of connection in a connection pool has been reached. What should be done with requests that don't get a connection? Should the max connection set to a very high number hoping that the number of requests served con

RE: Tomcat unstable - Dr. Watson. Why?

2003-04-03 Thread Iain Sanderson
Is that it? Surely this is a Tomcat issue. Something is causing Tomcat to crash in a Windows environmment, as you say, without it affecting the JVM. Is it just a Windows issue? My other services don't crash. Surely there must be something else I can do apart from change operating systems? Ia

RE: Tomcat unstable - Dr. Watson. Why?

2003-04-03 Thread Goehring, Chuck Mr., RCI - San Diego
Iain, Most backup software I've seen does so much I/O, anything else running will be so severely starved for CPU it may confuse itself to death. Backup software does this on purpose to get the process over with as quick as possible. So, it may not affect an idle server process, but trying to

Re: Serious problem with the mod_jk: j_security_check

2003-04-03 Thread John Turner
Did you add the appropriate role and a user account with that role to CATALINA_HOME/conf/tomcat-users.xml? John On Thu, 3 Apr 2003 17:15:29 +, Wagner Sales <[EMAIL PROTECTED]> wrote: Hi! I have a serious problem with the mod_jk (JK, not JK2). When I try to access the admin tool of tomc

RE: Can't run Tomcat index.jsp in 4.1.24

2003-04-03 Thread HAMILTON, DALE K (SBCSI)
Yes. Are there major changes? I did a diff with the new sample server.xml and only noticed where I configured ports different and added an application entry. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 2:21 PM To: Tomcat Users List Sub

RE: Can't run Tomcat index.jsp in 4.1.24

2003-04-03 Thread Shapira, Yoav
Howdy, So you're trying to run tomcat version 4.1.24 with the server.xml file from tomcat version 4.1.12? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: HAMILTON, DALE K (SBCSI) [mailto:[EMAIL PROTECTED] >Sent: Thursday, April 03, 2003 3:19 PM >To: '[EMAIL PROTECTED]

Can't run Tomcat index.jsp in 4.1.24

2003-04-03 Thread HAMILTON, DALE K (SBCSI)
I just installed apache 2.0.43 and tomcat 4.1.24. On the apache side static pages and servlets are fine. >From the Tomcat port I can run a static page from ROOT but not the default index.jsp. I get the following error. org.apache.jasper.JasperException: Unable to compile class for JSP I have in

RE: Error Message Question

2003-04-03 Thread Shapira, Yoav
Howdy, Look for infinite recursion in your code, or an infinite loop with some variable added to the stack at each iteration. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Jon Wynacht [mailto:[EMAIL PROTECTED] >Sent: Thursday, April 03, 2003 3:12 PM >To: [EMAIL PROT

RE: newbie (about "http serving" and "security")

2003-04-03 Thread Shapira, Yoav
Howdy, >1) TomCat can be installed on a server as standalone (for example at port >8080) or inside (like a plugin) apache http web server (port 80). Is there >any major differences between standalone and plugin installation? Yes, major differences. You have to install the front-end, e.g. apache

Error Message Question

2003-04-03 Thread Jon Wynacht
Hi, I was wondering if anybody on this list has come across this error when working with the webapp in Tomcat: http://www.objectevolution.com/error.html Since it doesn't refer to any of my code I'm kind of stumped as to how to begin debugging. Any pointers? Thanks, Jon -

newbie (about "http serving" and "security")

2003-04-03 Thread kurtc
hello, i wanted to know: 1) TomCat can be installed on a server as standalone (for example at port 8080) or inside (like a plugin) apache http web server (port 80). Is there any major differences between standalone and plugin installation? 2) can TomCat serves "html files" besides Java Servlets?

Re: SSL problem

2003-04-03 Thread Daniel Hallmark
It sounds to me like you are trying to generate a ney key pair with keytool and then use your existing certificate with that key pair. Based on my understanding of the certificate process, that won't work. Here is a very simplified view of what happens when you create a cert. 1. You (or your webs

RE: Tomcat unstable - Dr. Watson. Why?

2003-04-03 Thread Shapira, Yoav
Howdy, Can't help you much more, as it seems a Windows issue. I've managed to avoid running servers on windows machines so far and I don't plan to start soon ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Iain Sanderson [mailto:[EMAIL PROTECTED] >Sent: Thursday,

RE: Tomcat unstable - Dr. Watson. Why?

2003-04-03 Thread Iain Sanderson
Hi, So if my JVM doesn't crash, but the Windows NT service that runs Tomcat does, what can I do? What are the implications of what you just wrote? Stout.log and sterr.log are blameless, by the way. I guess I could run Tomcat from the command line, and not as a service, but I think I've tried

RE: monitoring web apps

2003-04-03 Thread Shapira, Yoav
Howdy, The JVM itself (so tomcat as well) can't track memory usage or CPU usage "per webapp" as webapp is not a unit of execution in the JVM. Using a profiler and some load/stress tests, you can profile one application at a time to discern its resource consumption and behavior under stress. But

Re: monitoring web apps

2003-04-03 Thread Tim Funk
Apart from a profiling tool, not really. The manager app will tell you how many sessions exist per webapp. -Tim Steve Harris wrote: Hi all, I run a few apps under tomcat 4 and I'm wondering if there are any tools for monitoring what each app is doing - memory usage, cpu utilization etc ? I use

Re: Apache 2.0.45 + Tomcat 4.1.24 + mod_jk(2)

2003-04-03 Thread John Turner
I'm pretty sure .44 and .45 are module-compatible with .43. John On Thu, 3 Apr 2003 10:53:52 -0800 (PST), Mark Eggers <[EMAIL PROTECTED]> wrote: Trev, I don't know about Apache 2.0.45, since the mod_jk2 binaries say for use with 2.0.43 only (at least the Windows ones do). I do have 2.0.43 and

monitoring web apps

2003-04-03 Thread Steve Harris
Hi all, I run a few apps under tomcat 4 and I'm wondering if there are any tools for monitoring what each app is doing - memory usage, cpu utilization etc ? I use the manager for monitoring numbers of users, stopping/starting etc but I'm looking for something that geives me more insight. Cheers

RE: Using older Xerces JAR

2003-04-03 Thread Shapira, Yoav
Howdy, FYI, we use a newer version of xerces than what's included with tomcat, we put it in WEB-INF/lib, and it gets loaded for us. Older, I've never tried. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Thursday, A

Re: DriverManager.getConnection("jdbc:jtds:sqlserver://127.0.0.1:1443/Services"..... Failured... Please, help me!

2003-04-03 Thread bahbahbooie
Are you providing a user name and password? I am not familiar with this driver, but with the IBM DB2 driver a property of prompt=false is also needed. At 12:40 PM 4/3/2003 -0600, Victor Gonzalez wrote: The message is... java.sql.SQLException: Connection refused: connect at net.sourceforg

Serious problem with the mod_jk: j_security_check

2003-04-03 Thread Wagner Sales
Hi! I have a serious problem with the mod_jk (JK, not JK2). When I try to access the admin tool of tomcat, I receive the HTTP 403 error. Permission denied. My mod_jk.conf have the entry JkMount /admin/j_security_check ajp13, like explained in tomcat how to. I´m using the following versions:

Re: SSL problem

2003-04-03 Thread Giulia Hill
Jan, No, I haven't got anywhere yet with this. I have taken a look at the suggested pkcs12 http://www.openssl.org/docs/apps/pkcs12.html but that hasn't broght me that much further. I'll let you know if I find a solution, and, please, do likewise - surely I wouldn't to buy a new certificate. Giu

Re: Using older Xerces JAR

2003-04-03 Thread bahbahbooie
I see that Tomcat has it's own Xerces JAR files (xercesImpl.jar and xmlParserAPIs.jar) in the $CATALINA_HOME/common/endorsed directory. It does not seem like a good idea to *replace* those files with my own. The documentation at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.h

Re: not serving jsps without query string

2003-04-03 Thread Reinhard Moosauer
Hi, looks like a cache problem. Try "delete temp internet files" and insert resonse.setHeader("expires",0); in all your JSPs Also check setting of IE for caching (should be "automatic") regards Reinhard Am Donnerstag, 3. April 2003 15:09 schrieb Warren Sweetman: > runing tomcat 4.1.18 > > isapi_

RE: Tomcat 4.1 slower than Tomcat 3.3

2003-04-03 Thread Chris Agmen-Smith
Hello, Thanks for all the great feedback so far. Firstly, Bill Barker writes that: >For non-JSP sites that don't require Servlet-2.3 features, >it is very hard to beat TC3.3 for performance. Oh dear! We use Velocity, not JSP. What are the additional overheads in the Servlet 2.3 spec? Secondly,

HTTP user authentication

2003-04-03 Thread Gabor 'Morc' Kormos
Hi Everybody, Can anyone tell me how could I set up Tomcat (any version) to do the same kind of user authenticate that you can do with Apache's .htaccess/.htpasswd? I tried to find info about it, but the docs seem to focus on the servlet container/JSP and not on static HTML page serving.

How to compare tc4.1 and tc3.3. Was: Tomcat 4.1 slower than Tomcat 3.3

2003-04-03 Thread Reinhard Moosauer
Hi, Am Mittwoch, 2. April 2003 18:30 schrieb Chris Agmen-Smith: > Is Tomcat 4 slower than Tomcat 3? > For me, it is faster, see below. > I've recently tried to port my Tomcat 3.3 webapp to Tomcat 4.1. It's the > same webapp, the config files are as similar as I can make them, we're > using the s

RE: Tomcat unstable - Dr. Watson. Why?

2003-04-03 Thread Shapira, Yoav
Howdy, No. I meant the hs_err_[pid] file, which is created by the HotSpot JVM automatically when it crashes. It's not the same as the stdout/stderr logs. If the file is not there, that's a good thing, it means your JVM did not crash. Yoav Shapira Millennium ChemInformatics >-Original Mes

RE: Tomcat unstable - Dr. Watson. Why?

2003-04-03 Thread Iain Sanderson
Hi, regarding >hs_err_..etc I couldn't find a file named anything like this on my server. I do have stout.log and sterr.log , set in the registry for the JVM for Tomcat service startup. Is this what you mean? Iain "Shapira, Yoav" <[EMAIL PROTECTED]> 04/03/2003 01:16 PM Please respond

Re: Apache 2.0.45 + Tomcat 4.1.24 + mod_jk(2)

2003-04-03 Thread Mark Eggers
Trev, I don't know about Apache 2.0.45, since the mod_jk2 binaries say for use with 2.0.43 only (at least the Windows ones do). I do have 2.0.43 and Tomcat 4.1.24 working via mod_jk2 on my Windows/2000 Pro machine though. I'm thinking it's most likely an Apache/mod_jk2.{dll|so} issue. What do t

RE: Tomcat unstable - Dr. Watson. Why?

2003-04-03 Thread Iain Sanderson
Thanks, >Is DBCP or something else doing keep-alive / sanity checks on the DB connections? Or other keep-alive / ping type activity to the DB server? If so, these checks could be hanging, or just spinning in a deadlock, if the DB server is too busy to respond. There are no other keep-alive check

DriverManager.getConnection("jdbc:jtds:sqlserver://127.0.0.1:1443/Services"..... Failured... Please, help me!

2003-04-03 Thread Victor Gonzalez
The message is... java.sql.SQLException: Connection refused: connect at net.sourceforge.jtds.jdbc.TdsConnection.allocateTds(Unknown Source) at net.sourceforge.jtds.jdbc.TdsConnection.(Unknown Source) at net.sourceforge.jtds.jdbc.Driver.connect(Unknown Source) at jav

  1   2   >