RE: new web application - inconsistent resource not found

2003-01-16 Thread Wendy Smoak
Steven wrote: > What I have is a couple of jsp files and a couple of > servlets. I put them in the examples directory, the > jsp in the top level, and the servlets in the > web-inf/classes directory. I do not edit the web.xml > in this directory, and the application works. WEB-INF should be capi

Help With Tomcat Database Connection Configuration

2003-01-16 Thread Ravi Rangaswamy
Hi, I am running a UDDI registry (CATALINA_HOME/web-apps/juddi) from inside Tomcat. Now I want to run the registry with Oracle. So, I created a JDBC datasource in Tomcat. To do this, I followed these steps. 1. I added the segment in CATALINA_HOME/conf/server.xml inside the element.

error starting tomcat

2003-01-16 Thread Dongmei Zuo
Hi, I just installed Tomcat 4.1.18 on my Window 2000. When I start to run the Tomcat, I got the following error: Jan 16, 2003 5:13:09 PM org.apache.commons.digester.Digester error SEVERE: Parse Error at line 233 column 45: Element type "TR" must be declared. org.xml.sax.SAXParseException: Eleme

How to: run Tomcat as a Windows service

2003-01-16 Thread david boyer
This topic comes up regulary and I know first hand that getting Tomcat to run as a Windows service can be a headache-especially if you want to run multiple instances with different configurations and security policies. To simplify this, I wrote a Visual Basic utilty that tackles this. It's avai

Re: Building Mod_jk on Redhat 7.2

2003-01-16 Thread Stephen Carville
That worked, thanks! On Thursday 16 January 2003 01:46 pm, Turner, John wrote: > My advice: don't even deal with ant. > > CONNECTOR_HOME = place where you put connector source > > - cd CONNECTOR_HOME/jk/native. Be sure to READ the file named > BUILDING. - run the buildconf script: ./buildconf.sh

Re: Building Mod_jk on Redhat 7.2

2003-01-16 Thread Stephen Carville
On Thursday 16 January 2003 01:54 pm, Will Hartung wrote: > > From: "Stephen Carville" <[EMAIL PROTECTED]> > > Sent: Thursday, January 16, 2003 1:41 PM > > Subject: Building Mod_jk on Redhat 7.2 > > > > > > I am trying to build mod_jk for Apache 1.3.X running on Redhat > > 7.2. I downloaded the sou

Re: new web application - inconsistent resource not found

2003-01-16 Thread steven melendez
Thanks for responding. I can add a bit of detail. What I have is a couple of jsp files and a couple of servlets. I put them in the examples directory, the jsp in the top level, and the servlets in the web-inf/classes directory. I do not edit the web.xml in this directory, and the application wo

RE: Require a secure connection

2003-01-16 Thread Andy Eastham
try: if (!request.isSecure()) { // abort code here } You can put this in a superclass of all your secure servlets if you like. Andy > -Original Message- > From: neal [mailto:[EMAIL PROTECTED]] > Sent: 16 January 2003 22:09 > To: Tomcat Users List > Subject: Require a secure conn

Uneven load balancing

2003-01-16 Thread Schnitzer, Jeff
We're seeing very uneven loadbalancing in our cluster of four tomcat instances; it looks like #1 gets about 75% of the traffic. Does anyone have any idea why this might be happening? Our environment: 2 Apache 1.3.27 instances running mod_jk (all worker lbfactors set to 100) 4 JBoss-3.0.3_Tomcat-

CPU and Tomcat 4.1 problems

2003-01-16 Thread [EMAIL PROTECTED]
Hello, I have created a web application with Struts 1.0. I use Tomcat 4.1.12 to run it. Lots of times, the CPU reach 90%, I can't do anything and I need to stop the Tomcat service. I don't understand what is the problem. Could you help me ? My Computer runs with : Windows 2000 Server 5

CPU and Tomcat 4.1 problems

2003-01-16 Thread [EMAIL PROTECTED]
Hello, I have created a web application with Struts 1.0. I use Tomcat 4.1.12 to run it. Lots of times, the CPU reach 90%, I can't do anything and I need to stop the Tomcat service. I don't understand what is the problem. Could you help me ? My Computer runs with : Windows 2000 Server 5

Require a secure connection

2003-01-16 Thread neal
Does anyone know how to *require* that a page be accessed only via a secure connection? For instance, I *can* request a secure connection to a page by going to "https://"; and the url ... but how do I prevent a user from going to "http://"; to request that same page? Would this be a proxy thing o

Re: new web application - inconsistent resource not found

2003-01-16 Thread Will Hartung
> From: "steven melendez" <[EMAIL PROTECTED]> > Sent: Thursday, January 16, 2003 1:15 PM > Subject: new web application - inconsistent resource not found > I am not using server.xml to set up new contexts - > simply creating a new directory in webapps. I am > finding this a bit frustrating, as I

Re: Building Mod_jk on Redhat 7.2

2003-01-16 Thread Will Hartung
> From: "Stephen Carville" <[EMAIL PROTECTED]> > Sent: Thursday, January 16, 2003 1:41 PM > Subject: Building Mod_jk on Redhat 7.2 > I am trying to build mod_jk for Apache 1.3.X running on Redhat 7.2. > I downloaded the source, read README.txt set the path to tomcat and > apache in build.properti

Re: new web application - inconsistent resource not found

2003-01-16 Thread Wilson Snook
I am having what appears to be a very similar problem. What I have gleaned from reading here is that if your application uses servelets, appropriate tags in the web.xml file in your 'webapps' directory might solve your problem. Something along the lines of: - yourServlet /servlet/*

RE: Building Mod_jk on Redhat 7.2

2003-01-16 Thread Turner, John
My advice: don't even deal with ant. CONNECTOR_HOME = place where you put connector source - cd CONNECTOR_HOME/jk/native. Be sure to READ the file named BUILDING. - run the buildconf script: ./buildconf.sh - you may see some error messages about aclocal and autom4te...these can be ignored. -

Building Mod_jk on Redhat 7.2

2003-01-16 Thread Stephen Carville
I am trying to build mod_jk for Apache 1.3.X running on Redhat 7.2. I downloaded the source, read README.txt set the path to tomcat and apache in build.properties, typed 'ant', and I am rewarded with: Buildfile: build.xml detect: [echo] jakarta-tomcat-connectors BUILD F

"connection timeout reached"

2003-01-16 Thread Nick Wesselman
I'm seeing a lot of messages like this in my catalina.out with TC 4.1.18. Jan 16, 2003 3:20:40 PM org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached Jan 16, 2003 3:20:40 PM org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached J

new web application - inconsistent resource not found

2003-01-16 Thread steven melendez
Hi all, I'm using tomcat 4.1.18 on windows 98, and am having problems setting up new web applications. There doesn't seem to be anything wrong with the web applications as I can always get them to work in the examples directory, but sometimes I get a resource not found error message when trying t

Re: Question about context-param

2003-01-16 Thread Mike Roest
Shapira, Yoav wrote: Howdy, Ok that worked great. I don't get the exceptions anymore but for some reason it's not pulling the params from the web.xml. Any Ideas? If the code below is taken from a servlet, then this.getInitParameter() will look for an init-parameter element inside the eleme

RE: Question about context-param

2003-01-16 Thread Shapira, Yoav
Howdy, >Ok that worked great. I don't get the exceptions anymore but for some >reason it's not pulling the >params from the web.xml. Any Ideas? If the code below is taken from a servlet, then this.getInitParameter() will look for an init-parameter element inside the element. To get a context pa

RE: adding a symbolic link in default path

2003-01-16 Thread Turner, John
Cool. Glad you got it working. John > -Original Message- > From: Randolph Jones [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 11:33 AM > To: [EMAIL PROTECTED] > Subject: RE: adding a symbolic link in default path > > > * > * > > What version of Tomcat? allowLinking

RE: adding a symbolic link in default path

2003-01-16 Thread Randolph Jones
* * What version of Tomcat? allowLinking only works, as far as I know, in 4.1.15 and higher. John Hi John: Thanks for your reply. I am using 4.1.18LE. I am brand new at this and did not have the context setup right or a directory in webapps. It is running now. Now to start on jdbc access from

Re: Question about context-param

2003-01-16 Thread Mike Roest
Shapira, Yoav wrote: Howdy, Sorry 2 different Contexts, and my brain was all messed up. When I'm refering to my Context Constructor it's actually the main servlet constructor (which in our app is PolarisContext). Which extends HttpServlet. OK, that makes a bit more sense. Although a s

RE: Servlet channing

2003-01-16 Thread Jacob Hookom
Comments below: | -Original Message- | From: Reynir Hübner [mailto:[EMAIL PROTECTED]] | Sent: Thursday, January 16, 2003 2:04 PM | To: Tomcat Users List | Subject: RE: Servlet channing | | I can of course only answer this for my self, but the main reason is | Struts is an implementation o

RE: configure CoyoteConnector with mod_jk in tomcat 4.1.x

2003-01-16 Thread Turner, John
1 - you can go either way. On my systems, there are separate Tomcats, each with one Connector. Others do it differently. John > -Original Message- > From: Pedro Salazar [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 3:18 PM > To: Tomcat Users List > Subject: RE: configu

RE: Redirecting verbosegc to a file [Off-TOPIC]

2003-01-16 Thread Hari Venkatesan
Thanks. Sure will append OFF-TOPIC. I am using jdk1.3.1. in W2k. Will try to find out how to redirect the same Hari -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 3:18 PM To: Tomcat Users List Subject: RE: Redirecting verbosegc to a fil

RE: Simulating a browser session

2003-01-16 Thread Jason Pyeron
cURL can be obtained from http://curl.haxx.se/ for windows, cygwin, linux, etc. -jason On Thu, 16 Jan 2003, Brandon Cruz wrote: Jason, Thanks for the info. What exactly is this cURL program? Is it something I can run from a linux command line or a program I can download? Anyway, I really a

RE: Redirecting verbosegc to a file

2003-01-16 Thread Shapira, Yoav
Hi, For JDK 1.4, try the -Xloggc: option. For older JDKs, use native platform redirection if available or some other system that'll swallow System.out. In the future, if you're posting non-tomcat questions to the tomcat list at all, please add [OFF-TOPIC] to the subject. Thanks, Yoav Shapira Mi

RE: Simulating a browser session

2003-01-16 Thread Will Sargent
You could try using the HTTPClient library: http://www.innovation.ch/java/HTTPClient/ or you can try using HTTPUnit: http://httpunit.sourceforge.net/ Will. > -Original Message- > From: Jason Pyeron [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 10:30 AM > To: [EMAIL PROTEC

RE: configure CoyoteConnector with mod_jk in tomcat 4.1.x

2003-01-16 Thread Pedro Salazar
OK, I wasn't clear about the workers.properties. I was thinking that it was also used by tomcat. I thought that I could configure several workers by in configuration file that a tomcat would create on initialization. Workers to me were processes: 2 workers for apj13, more 2 for apj14, But, wo

RE: Question about context-param

2003-01-16 Thread Shapira, Yoav
Howdy, >Sorry 2 different Contexts, and my brain was all messed up. When I'm >refering to my Context >Constructor it's actually the main servlet constructor (which in our app is >PolarisContext). Which >extends HttpServlet. OK, that makes a bit more sense. Although a similar argument applies.

Re: Simulating a browser session

2003-01-16 Thread Will Hartung
> From: "Brandon Cruz" <[EMAIL PROTECTED]> > Sent: Thursday, January 16, 2003 11:52 AM > Subject: RE: Simulating a browser session > Thanks for the info. What exactly is this cURL program? Is it something I > can run from a linux command line or a program I can download? Anyway, I > really app

Redirecting verbosegc to a file

2003-01-16 Thread Hari Venkatesan
Is there a way to redirect -verbose:gc from displaying in console to a log file? Hari

Re: Question about context-param

2003-01-16 Thread Mike Roest
Sorry 2 different Contexts, and my brain was all messed up. When I'm refering to my Context Constructor it's actually the main servlet constructor (which in our app is PolarisContext). Which extends HttpServlet. Sorry for the confusion Shapira, Yoav wrote: Howdy, Your context constructor? Wha

Re: Simulating a browser session

2003-01-16 Thread Michael Della Bitta
Brandon: curl is a command line utility similar to wget (which you probably already have). it's available for download on sourceforge.net. Michael Della Bitta Columbia University -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Servlet channing

2003-01-16 Thread Reynir Hübner
I can of course only answer this for my self, but the main reason is Struts is an implementation of a specific pattern. When I started writing J2EE applications some time ago, struts was not fully grown. I had a pattern in my mind that I wanted to have an implementation of. The main thing in thi

RE: configure CoyoteConnector with mod_jk in tomcat 4.1.x

2003-01-16 Thread Turner, John
Thanks for the clarification. John > -Original Message- > From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 2:55 PM > To: 'Tomcat Users List' > Subject: RE: configure CoyoteConnector with mod_jk in tomcat 4.1.x > > > If I understand cor

Re[2]: Servlet channing

2003-01-16 Thread Jacob Kjome
Hello Nitin, Not sure what the original email said, but Barracuda's event model allows for an event hierarchy. Basically, your events can inherit from other events. When the child event is called, the parent event is the fired and then it goes down the inheritance chain until it reaches the orig

RE: configure CoyoteConnector with mod_jk in tomcat 4.1.x

2003-01-16 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
If I understand correctly, the CoyoteConnector was specifically written to take advantage of the features that exist within mod_jk2. As a result it loads a file JK2.properties. However since jk2 and jk both use ajp to talk to Tomcat, the default configuration jk2.properties with everything commen

RE: Simulating a browser session

2003-01-16 Thread Brandon Cruz
Jason, Thanks for the info. What exactly is this cURL program? Is it something I can run from a linux command line or a program I can download? Anyway, I really appreciate the info! Brandon -Original Message- From: Jason Pyeron [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 20

Memory problem

2003-01-16 Thread Zeina Aoun
Hello, I had to integrate Tomcat with IIS for a bank. It has been working well since recently, a problem appears with the memory used by the "inetinfo" process. In fact, the size of the memory used by the inetinfo process (which I can visualize in the task manager) increases continuously and af

RE: Servlet channing

2003-01-16 Thread Jacob Hookom
Instead of chaining servlets, why not look at filters, whose specific purpose is to work on a chain. There is even some talk of switching struts over from a servlet to a filter in a later release. Jacob | -Original Message- | From: Reynir Hübner [mailto:[EMAIL PROTECTED]] | Sent: Thursda

Re: run tomcat 4.1 as service in Win 2K/XP

2003-01-16 Thread Larry Meadors
I just set up 4.1.18 as a service on win2k this morning. The batch file is below. The section that begins with "set createCmd=" should all be one line. Not sure how that will format with this email client. Anyway, you can probably carve out a similar script that will work for you. To remove, I j

Re: Applet with a War

2003-01-16 Thread Jacob Kjome
Hello Elisabeth, I guess I'm surprised an applet (running in the browser, right?) works at all if the jar containing the applet is in WEB-INF/lib. The browser has no access to that. It needs to exist in a public area; the same area where you put your html, jsp, image, and other web-accessible fi

RE: configure CoyoteConnector with mod_jk in tomcat 4.1.x

2003-01-16 Thread Turner, John
Sorry, I'm just not clear what you are asking. Mod_jk uses workers.properties for information on how to reach Tomcat. That's all...that file is not used by CoyoteConnector in any way. Regarding mod_jk2, anything I could tell you would be a guess, as I do not use JK2. Unless you have a JkMount

RE: Servlet channing

2003-01-16 Thread Reynir Hübner
Some people would recommend to you that you look into struts, which is an web-application framework. Servlet chaining in it's most simple way is a servlet that forwards the request to another servlet. This can be achived by using the RequestDispatcher, be aware that using the RequestDispatcher

RE: mod_jk2/unixsocket: can't create apr

2003-01-16 Thread Brzezinski, Paul J
In my environment, I have libjkjni.so in $APACHE_HOME/lib (named jkjni.so -- minus the "lib") -- and I'm using Apache 2.0.40 as well. Jkjni.so isn't in any other dir (under $TOMCAT_HOME)... That probably won't help you, but give it a try? : -Original Message- : From: Matt Sales [mail

RE: run tomcat 4.1 as service in Win 2K/XP

2003-01-16 Thread Tam, Michael
Thank you John. I am not familiar the "service" business but, according to the link you gave me, it seems to me that tomcat has already include the exe for running as service. I wonder why the service setup is not in the installation section of the tomcat document (If I did not miss reading the d

Tomcat 4.0.6 - Access Violation with complex jasper-compiled JSPs

2003-01-16 Thread David Martinez
Environment: Win2K Java 2 build 1.4.1-b21. Also tried IBM JDK 1.3. JBoss w/Tomcat 4.0.6, jasper compiled application. Struts and custom tag libraries. Problem (short): EXCEPTION_ACCESS_VIOLATION when loading JSP (isolated to native code getDeclaredConstructors0()) Problem description: Jasper ge

RE: configure CoyoteConnector with mod_jk in tomcat 4.1.x

2003-01-16 Thread Pedro Salazar
1- About the Apache, I have no doubts that the mod_jk uses the file defined in JkWorkersFile directive. But, is that clear that Tomcat (4.1.x), I mean the CoyoteConnector, uses only and just only the workers.properties inside $TOMCAT_HOME/conf/? Or could it be in another place? I heard something ab

RE: run tomcat 4.1 as service in Win 2K/XP

2003-01-16 Thread Turner, John
This might help: http://www.mattkelli.com/tech/tomcat/ntservice.htm John > -Original Message- > From: Tam, Michael [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 2:13 PM > To: Tomcat UserList (E-mail) > Subject: run tomcat 4.1 as service in Win 2K/XP > > > Hi all, > >

RE: Simulating a browser session

2003-01-16 Thread Turner, John
Nice. Someone at Jakarta needs to work on their search engine placement. ;) John > -Original Message- > From: Tim Funk [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 2:08 PM > To: Tomcat Users List > Subject: Re: Simulating a browser session > > > I like this HttpClient

run tomcat 4.1 as service in Win 2K/XP

2003-01-16 Thread Tam, Michael
Hi all, I am running tomcat 4.1.12-LE and 4.1.18-LE on Win 2k and XP respectively with jdk1.4.1. I downloaded the zip format of the binary and now I would like to run tomcat as a service. How do I set this up? I realize I can reinstall Tomcat through the exe version but I wonder if there is a

Re: Simulating a browser session

2003-01-16 Thread Tim Funk
I like this HttpClient instead ... http://jakarta.apache.org/commons/httpclient/index.html -Tim Turner, John wrote: This might be of interest: http://www.innovation.ch/java/HTTPClient/ John -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16

RE: mod_jk apache2 tomcat4.1.8

2003-01-16 Thread Turner, John
here's the info: http://marc.theaimsgroup.com/?l=tomcat-user&m=104254235126023&w=2 John > -Original Message- > From: Nathan McMinn [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 2:02 PM > To: Tomcat Users List > Subject: Re: mod_jk apache2 tomcat4.1.8 > > > Thanks! Any

Re: Simulating a browser session

2003-01-16 Thread Jason Pyeron
Brandon, 9 times out of 10 it is my cookie, or ssl, or other non-complient logic in my code, but otherwise, this may be you, ... 1 times out of 10 when I have trouble interacting with a webapplication, it is caused by the useragent setting i pass. My steps to diagnose my problems are: 1: Try

RE: Simulating a browser session

2003-01-16 Thread Turner, John
This might be of interest: http://www.innovation.ch/java/HTTPClient/ John > -Original Message- > From: Brandon Cruz [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 1:24 PM > To: Tomcat Users List > Subject: Simulating a browser session > > > > Does anyone have familiar

Re: mod_jk apache2 tomcat4.1.8

2003-01-16 Thread Nathan McMinn
Thanks! Any word on a release date for the book? - Original Message - From: "Turner, John" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 10:31 AM Subject: RE: mod_jk apache2 tomcat4.1.8 > > Check the list for yesterday or Tuesday. Rem

Re: Simulating a browser session

2003-01-16 Thread Will Hartung
> From: "Brandon Cruz" <[EMAIL PROTECTED]> > Sent: Thursday, January 16, 2003 10:23 AM > Subject: Simulating a browser session > Does anyone have familiarity with using JAVA to simulate a browser session > and navigate multiple pages in a https based web application, storing > session cookies, do

RE: Question about context-param

2003-01-16 Thread Shapira, Yoav
Howdy, Your context constructor? What's that? Last I checked, javax.servlet.ServletContext was an interface, and the container provides an implementation. If you want to tie into the context lifecycle, which is a very valid design, use a ServletContextListener implementation. The context para

RE: is there a list for jsp / tag development?

2003-01-16 Thread Tim Moore
To answer your original question, look at the BeanUtils package in Jakarta Commons. http://jakarta.apache.org/commons/beanutils.html In particular, BeanUtils.populate(Object, Map) -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-4

Question about context-param

2003-01-16 Thread Mike Roest
Hi all, I'm trying to initialize a few parameters from my web.xml to be available to my context. I'm just wondering when they become available. As I'm attempting to access them during my Context constructor and I'm getting to following exception trace. (This call was just trying to get the n

jk_ajp_common.c errors - issues with mod_jk receiving messages from tomcat

2003-01-16 Thread Harippriya Sivapatham
Hi everyone, We are using Tomcat 3.2.3 and Apache 2.0.43 on Linux. I downloaded and installed mod_jk-2.0.43.so and everything seemed to work fine (atleast on IE). However, when I looked at the mod_jk log and i saw the following errors: [Thu Jan 16 12:23:49 2003] [jk_ajp_common.c

Re: RE: mod_jk apache2 tomcat4.1.8

2003-01-16 Thread jmong
Hi there, Please check to see if you have excessive debugging turned on (in server.xml) and check your disk i/o (vmstat or some other tools), check to make sure that you're work directory (and your tomcat directory) are not NFS mounted or in a shared volume somewhere. Also pheck the hops betwe

Re: Servlet channing

2003-01-16 Thread Craig R. McClanahan
On Thu, 16 Jan 2003, nitin mandolkar wrote: > Date: Thu, 16 Jan 2003 05:45:12 + (GMT) > From: nitin mandolkar <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Servlet channing > > > How to achive servlet channing with tomcat Servlet ch

Re: is there a list for jsp / tag development?

2003-01-16 Thread Bill
Jason If you dont mind waiting till mebbe tomorrowI used to have a list of links for developing tags as well as some good forum sites for obtaining help. I'll see if I can locate them. There is also a taglibs mailing list available from the jakarta mailing lists page. -b On Thu, 2003-01-16

Re: mod_jk apache2 tomcat4.1.8

2003-01-16 Thread Bill
Lajos Oh...I thought you might have misread that post. :) I really dont know why everything suddenly started working. I only made one change that I remember, i turned debugging on in the connector definition in server.xml. It is entirely possible that I actually had it working for a bit and did

Simulating a browser session

2003-01-16 Thread Brandon Cruz
Does anyone have familiarity with using JAVA to simulate a browser session and navigate multiple pages in a https based web application, storing session cookies, doing form posts, etc.? We are trying to do an https post, but the application is acting as if the parameters are never passed. We hav

RE: memory problem

2003-01-16 Thread Turoff, Steve
I get the same problem with tomat 4.1 and IBM jdk1.3. Yesterday I upgraded to IBM jdk1.4. Haven't experienced an OutOfMemory yet, but it's still a little too early to tell. I'll keep you updated. Steve > -Original Message- > From: Kristján Bjarni Guðmundsson [mailto:[EMAIL PROTECTED]] >

Re: Classes not being found in app's WEB-INF directory.

2003-01-16 Thread Lior Shliechkorn
I had a bunch of problems with that until I packaged the classes and then it had no problem finding the class files. Give that a try. Hope it helps "Lott, Carey" <[EMAIL PROTECTED]> wrote:Hi, I am running tomcat4.0.4 as a standalone on Solaris 7. Simple servlets that don't need any custom built

Classes not being found in app's WEB-INF directory.

2003-01-16 Thread Lott, Carey
Hi, I am running tomcat4.0.4 as a standalone on Solaris 7. Simple servlets that don't need any custom built classes run fine within the $CATALINA_HOME/webapps/esd/WEB-INF/classes directory. However, servlets that are dependent on other custom classes will not run when all of the needed classes ar

Re: mod_jk2/unixsocket: can't create apr

2003-01-16 Thread Matt Sales
Paul, I'm using RedHat 7.2 Tomcat 4.1.18 Apache 2.0.40 libjkjni.so is located in $CATALINA_HOME/server and pointed to in the jk2.properties file:apr.NativeSo=$CATALINA_HOME/server - Original Message - From: "Brzezinski, Paul J" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECT

Re: tomcat configuration with apache 1.3.27 ssl

2003-01-16 Thread Lajos Moczar
Helene - Are you trying to access Tomcat via Apache SSL or TomcatSSL directly? There is a difference. If you are 'hiding' Tomcat behind ApacheSSL, you obviously need to use a connector like mod_jk and then define the JkMounts in the SSL virtual host in httpd.conf. If this doesn't help, try pos

is there a list for jsp / tag development?

2003-01-16 Thread Jason Pyeron
I am trying to get this answered, I guess I dont know where to ask. -jason On Wed, 15 Jan 2003, Jason Pyeron wrote: To those who like to deal with tags, I have some JSP code that gets stamped allover every day, it requires tweaking in each situation, hence it is error prone. We decided to make

RE: mod_jk2/unixsocket: can't create apr

2003-01-16 Thread Faine, Mark
No my main problem was different but socket related. I have seen that exact error message before though, in the course of working out the problems with my own install. -Mark -Original Message- From: Brzezinski, Paul J [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 10:08 AM

Re: Apache 2.0.43 and Mod_jk (where is a compatible pre-compiledmod_jk for this version of apache)?

2003-01-16 Thread Lajos Moczar
Jim - Did you try http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2/bin/? There are some for 2.0.43 there. Lajos [EMAIL PROTECTED] wrote: Is there a precompiled mod_jk for Apache 2_0_43? or better yet where can I get the source for mod_jk that will compile the modu

RE: Test servlet won't run - help?

2003-01-16 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
As a side note. The reason it may have originally worked in the examples webapp is that the default servlet mapping is explicitly defined. For all other web apps it is disabled. If you place invoker /servlet/* in the web.xml file you should not need to include serv

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" cre

Re: mod_jk apache2 tomcat4.1.8

2003-01-16 Thread Lajos Moczar
Bill - I read your original email again this morning, and I see I mis-understoond. I thought you had all those JkMount's in httpd.conf - I didn't see the "mod_jk.conf" comment. What did you do to get it to work? For your performance problem, I'd guess it has something to do with your network -

Apache 2.0.43 and Mod_jk (where is a compatible pre-compiled mod_jk for this version of apache)?

2003-01-16 Thread [EMAIL PROTECTED]
Is there a precompiled mod_jk for Apache 2_0_43? or better yet where can I get the source for mod_jk that will compile the module for Apache 2_0_43 I get this error: httpd httpd: module "mod_jk.c" is not compatible with this version of Apache (found 20020628, need 20020903). Please contact the v

RE: mod_jk2/unixsocket: can't create apr

2003-01-16 Thread Brzezinski, Paul J
: -Original Message- : From: Matt Sales [mailto:[EMAIL PROTECTED]] : Sent: Thursday, January 16, 2003 12:46 PM : To: Tomcat Users List : Subject: Re: mod_jk2/unixsocket: can't create apr : : : Thanks, everyone, for your responses... : : However, after moving all the jars into comm

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 > s

Test servlet won't run - correction

2003-01-16 Thread Mark
Hi, A correction to my previous post: My test servlet WILL run on my web hosting provider's computer. I just needed to stop and restart Tomcat on their server. However, I still need help getting Tomcat to run properly on my computer. Stopping and restarting Tomcat doesn't help and neither do

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:[EMAI

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 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: 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 Application

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" <[EM

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 authentica

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 Howe

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 this

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: For additional commands, e-mail:

RE: configure CoyoteConnector with mod_jk in tomcat 4.1.x

2003-01-16 Thread Pedro Salazar
Greetings, John, if what you said is right why is that happens: 1)when my tomcat starts, it logs a message saying the configuration is the jk.properties: 25984 [main] INFO http11.Http11Protocol - Starting Coyote HTTP/1.1 on port 8080 26167 [main] INFO common.ChannelSocket - JK2: ajp13 listening

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" cre

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

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 worth

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.

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 (com

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 Ajp13C

  1   2   >