JK2 and IIS configuration

2003-01-16 Thread Dan Tran
Hello, I have spent a the last few days playing with IIS/workers2.properties, and JK2.properties. No luck getting the connector to work. Does any one successfully get this working. Where Do I fine the log file assocation of JK2 ativitity? My system has Tomcat 4.18, JDK1.4.1, W2K Any help

RE: How to configure mod_ssl on rh 7.1 running tomcat

2003-01-16 Thread Vivek Singh
Thanks John, I posted it there. I think I will revert back later with some tomcat specific problems when I am done doing this. Anyways,thanks for the advise. you are one generous guy here.:-) Later Vivek -Original Message- From: Turner, John

Re: JK2 and IIS configuration

2003-01-16 Thread Dan Tran
The log intries for JK2 on IIS is EventViews, and I found this error Error: [jk_shm.c (333)]: shm.init(): No file Any suggestion? I am user JK2 in 2.0.2 directory - Original Message - From: Dan Tran [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 15, 2003 11:59 PM

Servlet channing

2003-01-16 Thread nitin mandolkar
How to achive servlet channing with tomcat which file shall i edit to do servlet channing Servlet channing : out put of 1st servlet send to send 2nd servlet as a input and 2nd servlet out put send as reply to client Catch all the cricket action. Download Yahoo! Score tracker

Re: servlet with Tomcat

2003-01-16 Thread Martin Jacobson
Steve R Burrus wrote: Hi Ralph, whoever the hell you are, or supposed to be! Why do you damned people always have such a holier-than-thou attitude towards people like myself who want nothing more or less than to have our questions answered!!! I'm quite sorry if I didn't seem to ask the questions

please help me by japan

2003-01-16 Thread joo_k_n
hello, (B excuse me (B i install the RedHat linux7.2 full install (by For Server) (B and j2sdk1.4.0 (B and Tomcat4.0.6 (B and mod_webapp-1.0-1.i386.rpm (B and settings as follwing (B -- (B httpd.conf (B DocumentRoot and Directory changed tomcat root (B

Re: JDBC Connection pooling

2003-01-16 Thread Martin Jacobson
Nathan McMinn wrote: When trying to get a connection pool set up, tomcat spits this exception back out. Nowhere in the code do I reference this class. Can anyone point me to a good HOWTO on connection pooling in tomcat 4.0.6? TyrexDataSourceFactory: Cannot create DataSource, Exception

Any data from ORACLE, please help..

2003-01-16 Thread Igor . Kozlov
It cannot be true. I need help! I have Oracle 8.7.1, tomcat 4.0.6, cocoon 2.0.4, windows2000, solaris. If i run tomcat on Oracle Server(win2000), everything works successfully, but if i run Tomcat on another server(windows or solaris), Tomcat dont't get any data from Oracle Server. Why? If i run

Re: Any data from ORACLE, please help..

2003-01-16 Thread Claus Bitten
From: [EMAIL PROTECTED] Subject: Any data from ORACLE, please help.. It cannot be true. I need help! I have Oracle 8.7.1, tomcat 4.0.6, cocoon 2.0.4, windows2000, solaris. If i run tomcat on Oracle Server(win2000), everything works successfully, but if i run Tomcat on another server(windows or

javax.naming.NameNotFoundException: Name java: is not bound in thisContext

2003-01-16 Thread Veniamin Fichin
Hello list! I wrote a message about this problem yesterday, but did not receive any reply. I can accept the fact that nobody faced this problem, but may be somebody have done similar task before, and can share your experience with me and others? Lets describe the problem. I want to

Problem with SecurityManager

2003-01-16 Thread Torsten Fohrer
How do i configure the Security Manager to use different policies for each host/webapp/webapp(libs/classes)? Example: 1. Install a clean Tomcat 4.1.xx 2. Creating a simple jsp page in examples/securityTest.jsp securityTest.jsp --- % secure.secureClass.readPasswd() % ---

Multiple realms for one context

2003-01-16 Thread Matthias Brunner
Hello, is there a way to define multiple realms for one context? Example: I want http://myserver:8080/cocoon/admin to use tomcat-users.xml as realm whereas http://myserver:8080/cocoon/otherdir should use a database. The reason for this is that I do not want people with write access to the

Embedding Tomcat in my Java Application with SSL support ??

2003-01-16 Thread Eric Chow
Hello, I have read the articl in onjava.com, and test the code. It works.( http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html ) But, if I want to support SSL, I just add the following statement. Connector secConnector = embedded.createConnector(null, 443, true);

Re: javax.naming.NameNotFoundException: Name java: is not bound inthis Context

2003-01-16 Thread Veniamin Fichin
Thanks for your reply! See below... Roberts, Eric wrote: Hi, Try this: First define your DataSource resource e.g. Resource name=jdbc/esljsp auth=Container scope=Shareable type=javax.sql.DataSource/ and add the necessary ResourceParams name=jdbc/esljsp and the parameters. then define your

RE: javax.naming.NameNotFoundException: Name java: is not bound in this Context

2003-01-16 Thread Roberts, Eric
Yes, but the resource name is jdbc/esljsp - java:comp/env/jdbc/esljsp would be used in a servlet using JNDI such as: ctx = new InitialContext(); Context envCtx = (Context) ctx.lookup(java:/comp/env/); DataSource ds = (DataSource) envCtx.lookup(/jdbc/esljsp); Regards Eric

Problem with JSTL on W2k

2003-01-16 Thread Holger Brozio
Hello, i have a problem with the JSTL on W2k. If i start tomcat i get the follwoing exception: javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/jaxen-full.jar at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930) at

Re: javax.naming.NameNotFoundException: Name java: is not bound inthis Context

2003-01-16 Thread Veniamin Fichin
Roberts, Eric wrote: Yes, but the resource name is jdbc/esljsp - java:comp/env/jdbc/esljsp would be used in a servlet using JNDI such as: ctx = new InitialContext(); Context envCtx = (Context) ctx.lookup(java:/comp/env/); DataSource ds = (DataSource) envCtx.lookup(/jdbc/esljsp);

sevlet comm using singletons

2003-01-16 Thread Felipe Schnack
Hey all do you believe is safe to use singletons to share data between servlets? Using servletcontext seems just too ugly for me :-) -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis

RE: javax.naming.NameNotFoundException: Name java: is not bound in this Context

2003-01-16 Thread Roberts, Eric
Sorry - missed it earlier - in the Realm definition, I think it should be just resourceName=jdbc/esljsp - not dataSourceName=jdbc/esljsp -Original Message- From: Veniamin Fichin [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 16. Jänner 2003 12:26 To: Tomcat Users List Subject: Re:

tomcat configuration with apache 1.3.27 ssl

2003-01-16 Thread Helene Figueiredo
Hi, Can someone give me an example of tomcat configuration with apache 1.3.27 ssl ? Our apache ssl configuration is ok. Our tomcat configuration without apache ssl is ok. But we're not able to integrate both. Thanks. ___ Helene FIGUEIREDO CRIP Universite Joseph

memory problem

2003-01-16 Thread rf
I get OutofMemory with tomcat 4.0.6 and sun's jdk1.3. From the archives I found this is due to a bug in the sun's jdk 1.3 JVM, and people suggest to upgrade to 1.4 Does IBM's jdk1.3 too gives the same problem or is it only the Sun's? Thanks, Rf __

HTTP Help

2003-01-16 Thread rf
I am studying HTTP, and I have a question with this site http://www.omeda.com/ziff/ewk/ewk.cgi?t=whbackp=hpnav2 Fill the form here and submit. By using the HTTP debugger http://reitshamer.com/source/hds.html I found that IE sends two requests when this form is submitted. First, without the Submit

Re: javax.naming.NameNotFoundException: Name java: is not bound inthis Context

2003-01-16 Thread Veniamin Fichin
Roberts, Eric wrote: Sorry - missed it earlier - in the Realm definition, I think it should be just resourceName=jdbc/esljsp - not dataSourceName=jdbc/esljsp That's odd. There is no resourceName attribute in DataSourceRealm documentation. I looked at the source of it and saw

RE: javax.naming.NameNotFoundException: Name java: is not bound in this Context

2003-01-16 Thread Roberts, Eric
All I know is that if you read the server.xml which comes with TC, that is what is there!! -Original Message- From: Veniamin Fichin [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 16. Jänner 2003 13:33 To: Tomcat Users List Subject: Re: javax.naming.NameNotFoundException: Name java: is not

RE: IO Exception: Connection reset by peer: socket write error

2003-01-16 Thread Turner, John
Sounds like some sort of timeout or firewall blocking to me. If it works fine when both nodes are on a local network or subnet, but not when they are remote, something in-between is causing problems, or one or the other nodes is not set to wait long enough for delays caused by intervening

RE: WARP (Apache-Tomcat)

2003-01-16 Thread Turner, John
Going forward, it looks like WARP will not be supported. There's a good chance that Tomcat 5 or future versions won't be backwards compatible. If that's the case, the long-term solution would be to use JK or JK2. Otherwise, you'll just have to go through this process again. WARP will probably

RE: Tomcat on windows platform?

2003-01-16 Thread Turner, John
Don't forget the licensing and mandatory upgrade costs and fees. John -Original Message- From: Robert L Sowders [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 6:57 PM To: Tomcat Users List Subject: Re: Tomcat on windows platform? Take it from someone who knows,

RE: tomcat configuration with apache 1.3.27 ssl

2003-01-16 Thread Turner, John
Please be more specific. What problems are you experiencing? What connector are you using? What is your configuration, operating system, JDK version, etc. etc.? John -Original Message- From: Helene Figueiredo [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 6:57 AM

RE: HTTP Help

2003-01-16 Thread Turner, John
This is a mailing list for Tomcat related questions. You might be better off asking your question on a HTTP protocol mailing list, or a Microsoft IE users mailing list. John -Original Message- From: rf [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 7:26 AM To: [EMAIL

JSP fine but no Java.

2003-01-16 Thread Andoni
Hello, I am having a really annoying problem that I hope somebody can help me with. My tomcat will run .jsp files fine and process them perfectly but will not even consider using a .class file. My app has jsps with javabeans linked in through tags in the .jsp files. In fact any java code in

RE: javax.naming.NameNotFoundException: Name java: is not bound in this Context

2003-01-16 Thread Roberts, Eric
Just some other things which may help: I define my Realm datasource in the GlobalNamingResource element of server.xml and this is where the parameters are also defined. Any Context requiring authentication is defined with privileged=true. My Realm is defined within the Engine element - as the

RE: javax.naming.NameNotFoundException: Name java: is not bound in this Context

2003-01-16 Thread Roberts, Eric
I am using 4.1.18 also - but upgraded from 4.1.12 -Original Message- From: Veniamin Fichin [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 16. Jänner 2003 14:03 To: Tomcat Users List Subject: Re: javax.naming.NameNotFoundException: Name java: is not bound in this Context Roberts, Eric

RE: JSP fine but no Java.

2003-01-16 Thread Collins, Jim
Tomcat can't serve a .class file in the same way it could a .html or .jsp. -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: 16 January 2003 13:12 To: Tomcat Users List Subject: JSP fine but no Java. Hello, I am having a really annoying problem that I hope

Re: JSP fine but no Java.

2003-01-16 Thread Andoni
I realise a .class file cannot be served to a browser etc. but why can it not be used by my application. It works most of the time, unfortunately I have just changed something in the config and now it's not working - Original Message - From: Collins, Jim [EMAIL PROTECTED] To: 'Tomcat

RE: JSP fine but no Java.

2003-01-16 Thread Barney Hamish
Are the class files you're trying to use in your /WEB-INF/classes/ directory or in a jar in your /WEB-INF/lib/ directory? Have you tried using the jsp:useBean tag? -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 2:12 PM To: Tomcat Users List

Re: memory problem

2003-01-16 Thread Kristján Bjarni Guðmundsson
I wouldn't upgrade to SUN 1.4, it has the same but different problem: http://developer.java.sun.com/developer/bugParade/bugs/4724129.html rf [EMAIL PROTECTED] wrote on 16.01.2003 12:14:48: I get OutofMemory with tomcat 4.0.6 and sun's jdk1.3. From the archives I found this is due to a bug in

Re: JSP fine but no Java.

2003-01-16 Thread Andoni
The classfiles are in the right place. That tag is what's being used. Andoni. - Original Message - From: Barney Hamish [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, January 16, 2003 1:20 PM Subject: RE: JSP fine but no Java. Are the class files you're

RE: JSP fine but no Java.

2003-01-16 Thread Prashanth Gane
put all u r class files inside a package and try it...u will get it.. -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 6:42 PM To: Tomcat Users List Subject: JSP fine but no Java. Hello, I am having a really annoying problem that I hope

RE: JSP fine but no Java.

2003-01-16 Thread Barney Hamish
What is the actual error message being displayed? Can you send an example of the the jsp:useBean tag you're using and then the use of that bean? It's hard to diagnose the problem without more specific information. Hamish -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent:

Re: javax.naming.NameNotFoundException: Name java: is not bound inthis Context

2003-01-16 Thread Veniamin Fichin
Roberts, Eric wrote: Just some other things which may help: I define my Realm datasource in the GlobalNamingResource element of server.xml and this is where the parameters are also defined. Any Context requiring authentication is defined with privileged=true. My Realm is defined within the

RE: Jk2 application questions

2003-01-16 Thread Kemp Randy-W18971
Do you mean in the Tomcat docs (concerning the Redhat configuration)? If now, then which website? -Original Message- From: Robert L Sowders [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 5:27 PM To: Tomcat Users List Subject: Re: Jk2 application questions Try this from

Problems using Tomcat 4.1.12-LE-jdk14 HTTPServlet.log(java.lang.String)

2003-01-16 Thread Thomas B. Holdren
Greetings, I have scoured the web/mailing lists all day and have had no luck with this. I have a singular servlet in a test context that runs fine until I put in an HTTPServlet.log(java.lang.String) statement in the servlet's init() method. I just want to log a string when the servlet init()'s.

RE: Urgent: Tomcat dies with socket exceptions !

2003-01-16 Thread Sylvain Beaumont
Hi Yoav, there is no root stack trace. Here is the whole trace: 2003-01-15 10:32:07 StandardWrapperValve[default]: Servlet.service() for servlet default threw exception java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native

Re: JSP fine but no Java.

2003-01-16 Thread Andoni
Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it

AXIS-and Sevlets

2003-01-16 Thread Ghershony, Arie
Hi, I created a service and a client java programs, then Deployed descriptor to let the Axis know that the java program is a valid web service: I create file name Order.wsdd and place it in the current directory: deployment xmlns=http://xml.apache.org/axis/wsdd/;

Re: mod_jk apache2 tomcat4.1.8

2003-01-16 Thread Bill
Lajos Hmmm...could you explain this more thoroughly? The virtual hosts you mention are defined in the mod_jk.conf file. I dont understand how I could removed that include. It is also the only place that has JkMount directives... You also mention I dont need it since I have my own LoadModule

RE: JSP fine but no Java.

2003-01-16 Thread Barney Hamish
Try recompiling your classes, deleting the work directory and restarting tomcat. -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 3:05 PM To: Tomcat Users List Subject: Re: JSP fine but no Java. Apache Tomcat/4.0.4 - HTTP Status 500 -

org.apache.naming.factory.BeanFactory bugs (and fixes)

2003-01-16 Thread Hansen, Richard
In trying to define my own JNDI resources using BeanFactory I came across a number of bugs. Bugs: 1) The howto examples used the newer resource-env-ref inplace of resource-ref. Problem is that BeanFactory does not work with resource-env-ref. It just returns null. 2) BeanFactory checks for

Re: JDBC Connection pooling

2003-01-16 Thread Nathan McMinn
He he, I'd love to move to 4.1.18, but I get the most bizzare problems when I try to do it. see http://www.experts-exchange.com/Web/Web_Languages/JSP/Q_20456477.html for details if you are interested. --Nathan McMinn Nathan McMinn wrote: When trying to get a connection pool set up, tomcat

Cannot run JSPs with Tomcat 4.0.6

2003-01-16 Thread Al Cam
Hi everyone! I installed the Tomcat 4.0.6 on my Unix Server, with J2SE 1.3.0. My servlets works fine (with JDBC connection). But with JSPs the server sends me the error shown lines below. I have the jasper_compiler.jar on my CLASSPATH, but that doesn't work. Any ideas? ==

RE: Multiple serlvet contexts being created instead of 1

2003-01-16 Thread Cox, Charlie
it will create one context for each context in server.xml. So if you have it defined under 'Standalone' and also under 'Warp', then you will have mutiple instances, but if you only use Warp, then it will only use one of those instances. Also note that it autoloads any context located under your

RE: Cannot run JSPs with Tomcat 4.0.6

2003-01-16 Thread Turner, John
Try putting the JAR in $CATALINA_HOME/common/lib, it might even be there already. Tomcat doesn't do much with CLASSPATH. John -Original Message- From: Al Cam [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:41 AM To: [EMAIL PROTECTED] Subject: Cannot run JSPs with

RE: tomcat configuration with apache 1.3.27 ssl

2003-01-16 Thread Helene Figueiredo
We are trying to configure tomcat on : operating system : linux redhat 7.3 JDK : j2sdk1.4.1_01 OpenSSL : openssl-0.9.6g Apache : apache 1.3.27+SSL Tomcat : Tomcat 4.1.18 we have generate a certificate with openssl we have configure apache with a basic : ./configure, make, make install we have

tomcat 4.06

2003-01-16 Thread Andrea Cristofanini
what is this error? what i have to do for fix it? how i can use jikes to compile this?? javax.servlet.ServletException: (class: org/apache/jsp/QqcPage$jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Illegal target

Tomcat behavior

2003-01-16 Thread Mohbe, Sameer
Hi Folks , I have a question Folks : Does Tomcat Processes become 0 at some point if Web Application is not accessed for a while. What has happened is twice in our environment that on a Weekend Morning around 2:00 AM Tomcat Processes became 0 and they later increased to 36 processes .I

Application manager : reload a WAR

2003-01-16 Thread Elisabeth Julg
It's possible to reload a application with the application manager when it was delpoyed by a War file ? When I do it, I have a error : ECHEC - Rechargement non supporté par le WAR déployé au chemin . The configuration in server.xml is : Context path=/ademisdev

Help: Red Hat Apache-Tomcat

2003-01-16 Thread Jim Wright
Hi, It took me some time to work out that I should not try and use mod_webapp - according to: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg81036.html (Hope that helps future lurkers.) My main problem now is that Apache 2.0.40 does not like mod_jk2-2.0.42.so. It says: httpd:

configuring tomcat/apache using loadbalancing for ajp

2003-01-16 Thread Scott Burns
I am curious if this setup looks correct. I am confused about using the alias directive. If you have multiple workers how can you specify more than one alias with the same fakename? Do I need to use them. do I need to explicitly use them for the JkMount directives? thanks Scott

Applet with a War

2003-01-16 Thread Elisabeth Julg
Hello list, In my application, I use an applet. The class corresponding at my applet is in jar file located in WEB-INF\lib. When I deploy this application as a directory, it works fine, by if a use a war file, it doesn't work. The class isn't found ! Why ? Thanks for your help, Elisabeth

mod_jk2/unixsocket: can't create apr

2003-01-16 Thread Matt Sales
Hello, I'm having the same problem as a thread that was running in mid-november, but there was never a resolution posted. I'm trying to use unixsockets with mod_jk2 (TC 4.1.18/Apache 2.0.40, RH 7.2). I've tried putting log4j.jar into TC_HOME/common/lib, puting the libapr.so libjkjni.so into

RE: IO Exception: Connection reset by peer: socket write error

2003-01-16 Thread Lior Shliechkorn
Thanks John. That sounds like the most likely scenario. Turner, John [EMAIL PROTECTED] wrote: Sounds like some sort of timeout or firewall blocking to me. If it works fine when both nodes are on a local network or subnet, but not when they are remote, something in-between is causing

RE: Help: Red Hat Apache-Tomcat

2003-01-16 Thread Turner, John
Apache modules can be Apache-version sensitive. There have been security updates to Apache since .40. RedHat should have .43 available as an RPM. If not, you should find one somewhere else. Upgrading Apache will take care of the compatibility issue. Regarding your question about

RE: tomcat 4.06

2003-01-16 Thread Shapira, Yoav
Hi, Make sure you only have one server.jar throughout your tomcat installation: in the tomcat common directory. And it should be the servlet.jar (v2.3) that ships with tomcat. Do not have any servlet distributions under your webapps directories... Yoav Shapira Millennium ChemInformatics

RE: Cannot run JSPs with Tomcat 4.0.6

2003-01-16 Thread Al Cam
I did so, but it's the same. Now, I've been looking inside the jasper-compiler.jar, and cannot find the JspRuntimeContext.class Is there some other version of jasper? or the problem is other stuff? From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat

Good directions here...

2003-01-16 Thread Robert Keddie
http://support.esri.com/search/KbDocument.asp?dbid=22586 For installing 4.0.5 on IIS 5.0 Robert Keddie web development Marion County, FL -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Stop a web application

2003-01-16 Thread Asaf Birenzvieg
Hi All, We are using Apache Tomcat 4.0.5 and we would like to use the 'hot deployment' feature of the Manager web application. Two Questions: 1.Does someone know what is happening with current threads requests while stopping (using the Manager) a web application? Are those requests lost? Or the

RE: mod_jk2/unixsocket: can't create apr

2003-01-16 Thread Brzezinski, Paul J
A work-around was to put all the jar files in TC_HOME/server/lib into TC_HOME/common/lib. This overrides/breaks/defeats the hierarchy of class loaders, but it does allow you to get around the java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at

RE: mod_jk2/unixsocket: can't create apr

2003-01-16 Thread Faine, Mark
I had this problem and realized I had mistakenly commented out the AJP 1.3 connector on port 8009 in server.xml Thanks, -Mark -Original Message- From: Brzezinski, Paul J [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:52 AM To: Tomcat Users List Subject: RE:

maxProcessors upper limit

2003-01-16 Thread rikenatwork
Hi, Is there any upper limit for maxProcessors for Tomcat connectors? Or had anyone stress test a proper limit for maxProcessors, for best performance of Tomcat? Thanks a lot for your replies in advance!! Ri __ The NEW Netscape

Re: mod_jk apache2 tomcat4.1.8

2003-01-16 Thread Bill
Well I seem to have gotten this to work...I think. Now the page renders but takes FOREVER to do soit took the same webapp 330.98s to render using a lan connection while it takes less than 2s to render the live version over the Internet. I knew using mod_jk would be slower, but is it really

RE: mod_jk2/unixsocket: can't create apr

2003-01-16 Thread Brzezinski, Paul J
Mark, Were you getting the ClassNotFound exception? Didn't think you were. Hopefully that really was the root-cause of your problem and the problems with the Class Loader hierarchy have been resolved in 4.1.18. Paul : -Original Message- : From: Faine, Mark [mailto:[EMAIL PROTECTED]]

ajp timeout why, what and when?

2003-01-16 Thread M
Hi, I was thinking about turning off the timeout for the ajp connector. Before I do so I thought I should ask: Is there any reason why there is a timeout set by default and set very low? connectionTimeout=2 Though now I look its changed in the distribution in 4.1.12 it was 2 (20 seconds)

RE: mod_jk apache2 tomcat4.1.8

2003-01-16 Thread Turner, John
There's definitely something else going on. We have a live application, Struts-based, using mod_jk that renders instantaneously (or no different than anything else), for users as far away as Korea. John -Original Message- From: Bill [mailto:[EMAIL PROTECTED]] Sent: Thursday, January

Tomcat 4.0.x JDBC connection pooling

2003-01-16 Thread Luca Cremonini
I'm using JDBC connection with Tomcat 4.0 as shown in Tomcat4.0 online documentation (http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html): --- // Obtain our environment naming context Context initCtx = new InitialContext();

Re: mod_jk apache2 tomcat4.1.8

2003-01-16 Thread Nathan McMinn
Bill, I've done the same search for some tomcat-specific tuning tips, to no avail. I'll wager that alot of the folks on this list could use that. If you come up with anything, please share. Thanks, Nathan McMinn - Original Message - From: Bill [EMAIL PROTECTED] To: Tomcat Users List

Re: Help: Red Hat Apache-Tomcat

2003-01-16 Thread Jim Wright
Hi, Turner, John wrote: Apache modules can be Apache-version sensitive. There have been security updates to Apache since .40. RedHat should have .43 available as an RPM. If not, you should find one somewhere else. Upgrading Apache will take care of the compatibility issue.

Re: mod_jk2/unixsocket: can't create apr

2003-01-16 Thread Paul Gregoire
Just a quick question related to this thread.. does Apache 2.0.43 have to be compiled with APR to get Jk2 to work? - Original Message - From: Brzezinski, Paul J [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, January 16, 2003 8:07 AM Subject: RE:

RE: maxProcessors upper limit

2003-01-16 Thread Shapira, Yoav
Howdy, The value of maxProcessors that's best for you is determined by your own applications and traffic profile. There's no such thing is a general best setting. The best you can do it determine what your traffic profile is, including peak and peak concurrent accesses, and see how many request

RE: mod_jk apache2 tomcat4.1.8

2003-01-16 Thread Turner, John
Check the list for yesterday or Tuesday. Remy is co-authoring, along with Peter Lin, a book on that exact subject, not that I think it is the problem in Bill's case. Remy also posted a chapter from the book to the list for review. John -Original Message- From: Nathan McMinn

RE: Tomcat 4.0.x JDBC connection pooling

2003-01-16 Thread Roberts, Eric
Hi Luca, The pool is established in the definition of the resource jdbc/EmployeeDB - where things like MaxActive, MinIdle and other parameters determine how the pool behaves. At startup the pool will connect the MinIdle connections to the DB - a new connection will then only be established if

vulnerabilites in 3.2.3

2003-01-16 Thread Anil Garg
hi. I am looking if tomacat 3.2.3 has any known vulnerablites? Can someone tell me what are those or tell me some hyper link which tells this. thanx and regards anil -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: mod_jk2/unixsocket: can't create apr

2003-01-16 Thread Brzezinski, Paul J
Um, I didn't think you could compile apache 2.0.x without using APR. In any case, I do believe that you need libapr*.so. : -Original Message- : From: Paul Gregoire [mailto:[EMAIL PROTECTED]] : Sent: Thursday, January 16, 2003 11:32 AM : To: Tomcat Users List : Subject: Re:

configure CoyoteConnector with mod_jk in tomcat 4.1.x

2003-01-16 Thread Pedro Salazar
Greetings, I would like to use the CoyoteConnector rather than the Ajp13Connector since I'm using tomcat 4.1(.17) and the listener org.apache.catalina.mbeans.GlobalResourcesLifecycleListener (to have a global database resource) is incompatible with Ajp13Connector (plus the Ajp13Connector will be

RE: (simple?) servlet context problem

2003-01-16 Thread Noel J. Bergman
Did you try http://localhost:8080/greeting/GreetingServlet as the URL? Does anyone know how /servlet/ got into the response URL? What is the value in the FORM tag's ACTION attribute? --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: configure CoyoteConnector with mod_jk in tomcat 4.1.x

2003-01-16 Thread Turner, John
Hello - There's no need for jk2.properties with mod_jk. The connector used on the Tomcat side doesn't affect the configuration needed for the Apache module. If you are using mod_jk and not mod_jk2, the only configuration file you need is workers.properties, and that is regardless of using

Re: [ot?] Frontpage extensions for tomcat or related items

2003-01-16 Thread Ken Anderson
Jason Pyeron wrote: I think the parts people use have to do with the navigation widgets. All those useless directories that are created, etc. I guess thats the stuff I am looking for. -jason I don't think anyone has put any effort into an open source replacement for FP. The Mozilla editor

RE: Tomcat 4.0.x JDBC connection pooling

2003-01-16 Thread Luca Cremonini
Thanks Eric! But with Tomcat 4.0.x I don't have things like MaxActive, MinIdle and other parameters... 4.0 documentation doesn't tell anything about this. It seems to me that I have to migrate to 4.1.x to use the pool and such parameters. Am I right? L.C.

Jasper vs Jasper2

2003-01-16 Thread Will Hartung
Hi all, Just for clarity, if you will. I hear references to jasper and jasper2 vis-a-vis the JSP compiler/subsystem within Tomcat. I see commits against a jasper2 section when browsing tomcat-dev. My question is which jasper is in the current 4.1.x release? How are they different? Is it

Tomcat in Server Mode

2003-01-16 Thread Hari Venkatesan
I changed the following settings in setclasspath.bat to start tomcat server in Server Mode. Set _RUNJAVA=%JAVA_HOME%\bin\java -server Set _RUNJAVA=%JAVA_HOME%\bin\javaw -server Set _RUNJAVA=%JAVA_HOME%\bin\jdb -server I have also changed JAVA_HOME/jre/lib/jvm.cfg to put -server at the top of

Cannot send cookies between webapps on Tomcat 4.1.12

2003-01-16 Thread joel . dewitt
I am running two webapps on Apache Tomcat/4.1.12, on Win2000, port 8080. One is called partners the other buildings. I can reach partners through URL: http://mymachine.ny.mycompany.com:8080/partners;, buildings through URL: http://mymachine.ny.mycompany.com:8080/buildings;. Partners creates a

security holes in tomcat 3.2.3

2003-01-16 Thread Anil Garg
hi, Are there any known security holes in tomcat 3.2.3 ? thanx and regards anil -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: security holes in tomcat 3.2.3

2003-01-16 Thread sean . gilligan
Any ideas why this might happen when I try to run xsl-examples as downloaded with tomcat I type http://localhost/xsl-examples/jsp/Apply.jsp and get teh following error type Exception report message description The server encountered an internal error () that prevented it from fulfilling

Test servlet won't run - help?

2003-01-16 Thread Mark
Hi, I'm trying to run a simple Hello world servlet called myAppServlet. I'm using Windows XP, Tomcat 4.1, and j2sdk 1.4.1. The servlet WILL run when I put it in webapps/examples/WEB-INF/classes. I can run it with the browser address, http://localhost:8080/examples/servlet/myAppServlet

Virtual directories

2003-01-16 Thread Reynir Hübner
Is there any way of specifying virtual directories in a host in tomcat with out using contexts ? I'm trying to define a folder with in my webapplication that is shared between web-apps, and I need requests to this folder to go through a request filter in the root-context, the filter

Re: mod_jk2/unixsocket: can't create apr

2003-01-16 Thread Matt Sales
Thanks, everyone, for your responses... However, after moving all the jars into common/lib, I still get the same problem same error. It just doesn't make sense...! Am I missing something?? - Original Message - From: Brzezinski, Paul J [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Tomcat behavior

2003-01-16 Thread Jason Pyeron
for example on red hat 7.x, the log rotate script does HUP apache. you may have things like that going on. but you give us no system info. -jason On Thu, 16 Jan 2003, Mohbe, Sameer wrote: Hi Folks , I have a question Folks : Does Tomcat Processes become 0 at some point if Web

Re: Test servlet won't run - help?

2003-01-16 Thread Erik Price
Try it from http://localhost:8080/myApp/myAppServlet That might work -- your URL-mapping doesn't say to look for servlet/myAppServlet. Erik Mark wrote: Hi, I'm trying to run a simple Hello world servlet called myAppServlet. I'm using Windows XP, Tomcat 4.1, and j2sdk 1.4.1. The servlet

RE: configure CoyoteConnector with mod_jk in tomcat 4.1.x

2003-01-16 Thread Turner, John
I can't explain those log messages. I do know that mod_jk uses a single file called workers.properties. I believe, if you use the JkWorkersFile command in httpd.conf, that you can tell mod_jk to use any file you like, like my.properties. So, if you want to use jk2.properties, you probably can.

RE: Test servlet won't run - help?

2003-01-16 Thread Turner, John
Do you have a Context defined in server.xml for /myApp? Check server.xml for /examples to see what one looks like. Or, check the docs for Context, there is a way to auto-deploy Contexts so you don't have to edit server.xml directly. John -Original Message- From: Mark [mailto:[EMAIL

Re: Test servlet won't run - help?

2003-01-16 Thread Mark
Wow, thanks for the timely response. That was right on the money. I love you guys. Thanks Erik. I will be unsubscribing now. Thanks again. Mark Steere [EMAIL PROTECTED] Try it from http://localhost:8080/myApp/myAppServlet That might work -- your URL-mapping doesn't say to look for

  1   2   >