AW: [DEBIAN, TOMCAT4 & MOD_PROXY]

2002-08-15 Thread Ralph Einfeldt
You can just use the mod_jk from Tomcat 3.3. for tomcat 4. > -Ursprüngliche Nachricht- > Von: Ángel Carrasco [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 16. August 2002 00:18 > An: Tomcat List > Betreff: [DEBIAN, TOMCAT4 & MOD_PROXY] > > I use debian 3.0 (woody) and I install tomcat4

Re: Can't find the filter class :(

2002-08-15 Thread Josh
Never mind, i just reefed it out of a package and it works. -Josh "Rimmer, real dumplings, proper dumplings when they're properly cooked to perfection, proper dumplings, should not bounce." - Original Message - From: "Josh" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED

RE: Post 4.1.8 install

2002-08-15 Thread Robert Dunn
Hi Robert, I did install the J2EE SDK and the PATH environment variable includes the java home path - also put in the BIN directory as well. Checked for typo's and didn't find any. Are there any other things to check for? Thanks for your help, Rob. -Original Message- From: Robert L Sowd

Re: Checking Tomcat's Memory

2002-08-15 Thread David Kavanagh
Kris is right. These parameters ought to be tweaked for servers with decent amounts of memory installed. On another project our company is working on, we had a machine with 8G (a Sun 4-way server). We were able to set up to 3G on JDK1.3.1. To documentation I found indicated using ISM, about 3.

Can't find the filter class :(

2002-08-15 Thread Josh
I've got this in my web.xml file: protectedFilter au.com.multemedia.wf.misc.ProtectedFilter protectedFilter /protected/* I get a classnotfoundexecption in the logs, althought the class file is there... Is there something wrong with my syntax? -Josh "Rimmer, real dumplings, pro

RE: Post 4.1.8 install

2002-08-15 Thread Robert Dunn
Hi Jake, I installed version 1.3.1, JDK (J2EE). I added the JDK_HOME environment variable and added the path to the "PATH" environment variable. Still same problem - did a reboot - to make sure all changes were applied. Any other ideas. Thanks for your help. -Original Message- From: Jac

tomcat + apache

2002-08-15 Thread non sense
Hi, i'm new on this, i just installed tomcat, 4.1.9 and it worked ok (stand alone). But i cant make it work with apache, i have already read this list archives and the "little" documentation that comes with tomcat and it seems that im doing everything like it should be, but when i test it, it say

Connection pools mystery

2002-08-15 Thread Howard Miller
Hi, I am new(ish) to struts and have been looking at connection pools, JNDI, Common et al. Very confused! The HOWTOs that come with (at leat) 4.1.9 give a good description of how to implement this but describe putting all the settings in server.xml!! That seems like a really bad design decisi

Re: Apache+tomcat configuration

2002-08-15 Thread Christoph Fischer
Hi, take a look at this page: http://www.ubeans.com/tomcat/ it's all in there. Chris Alarcon, Fabio wrote: >Hi guys >Is there a page or an archive list where I can found in order to run apache >together with Tomcat? >I know some of you has already configured sucessfuly > >Thanks in advance f

Re: Post 4.1.8 install

2002-08-15 Thread Robert L Sowders
You did put the J2SDK on too didn't you? If you did then check your environment variables for tomcat and java also make sure your PATH includes java home. Might want to put java's bin dir in their too. If you already have them set look twice for typos. rls "Robert Dunn" <[EMAIL PROTECTE

Re: Action before doGet / doPost??

2002-08-15 Thread Nikola Milutinovic
> I am using tomcat's session object, but i store a magic string in the > session that i need to decode to see if it's a valid magic string and > populate a LoginSession object if they're logged in... i was just hoping to > do it without having some code at the top of every page, but it's not

Re: Action before doGet / doPost??

2002-08-15 Thread Josh
Hmm cheers, I'll check it out -Josh "Rimmer, real dumplings, proper dumplings when they're properly cooked to perfection, proper dumplings, should not bounce." - Original Message - From: "Jacob Kjome" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, August

Re: Post 4.1.8 install

2002-08-15 Thread Jacob Kjome
ah, did you install the JDK (if so, which version?) and provide the %JDK_HOME% system variable? Also, if you did this, did you add JDK_HOME/bin to the beginning of your system PATH variable? Jake At 02:16 PM 8/16/2002 +1000, you wrote: >Only recently joined the list and was unsure whether any

Re: Action before doGet / doPost??

2002-08-15 Thread Jacob Kjome
Have you thought about using a Filter? filters can do pre and post processing on requests/responses and you can map it to any set of servlets or jsp's you want meaning that all your logic is in a single place and none of the servlets/jsp's even know it is there so you don't even have to accou

RE: where can i download request taglib

2002-08-15 Thread Galbayar
simple taglib example extract this webapps directory -Original Message- From: Mark Goking [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 2:12 PM To: Tomcat Users List Subject: where can i download request taglib anyone know the link to download the request taglib ? this is t

Re: Action before doGet / doPost??

2002-08-15 Thread Josh
I am using tomcat's session object, but i store a magic string in the session that i need to decode to see if it's a valid magic string and populate a LoginSession object if they're logged in... i was just hoping to do it without having some code at the top of every page, but it's not looking too

Re: Action before doGet / doPost??

2002-08-15 Thread Nikola Milutinovic
> Hi, > I'm wondering if there's a way to get some code called before > doGet/doPost? I want to build a superclass for my JSP pages that checks for > some login stuff and redirects if it's not found, without having to put the > detect code in every page. That is a job for Servlet Contai

where can i download request taglib

2002-08-15 Thread Mark Goking
anyone know the link to download the request taglib ? this is the main page that i went to but i couldnt find a download link within this page http://jakarta.apache.org/taglibs/doc/request-doc/request-1.0/index.html#javadocs mark --- Outgoing mail is certified Virus Free. Checked by AVG anti

?? JSP and request.getPathInfo() in Tomcat ??

2002-08-15 Thread Tony LaPaso
Hi all, I was hoping someone could explain something. I'm not sure if this is a Tomcat issue or a JSP issue. I'm using Tomcat v4.1.8 on Win 2k. It seems I cannot obtain the "extra path" information at the end of a URL from within a JSP. But, if I run the servlet that was generated from the JSP,

Post 4.1.8 install

2002-08-15 Thread Robert Dunn
Only recently joined the list and was unsure whether anyone saw my orginal message. I installed the latest version of Tomcat 4.1.8 (on a WinXP machine), and after it installed I went to http://localhost:8080/ and it came up with the error: HTTP Status 500 - --

Reuse IIS SSL certificate and private key

2002-08-15 Thread Jeffrey Yip
I am switching from using IIS web server with SSL to Tomcat. Could I reuse the SSL certificate and private key stored in IIS and import it to the Tomcat's keystore? If so, how to do it? -- To unsubscribe, e-mail: For additional commands, e-mail:

Root Context Problem

2002-08-15 Thread Taral Shah
Hi, I have posted this sort of problem before but didnt get any answer. Now I have found the root casue for my problem, I request you all to please guide me. I am having a particular client requirement where he send the url as shown below: http:///cgi/tjs/myexe.exe?abc Now I am able to redirect

?? JSP and request.getPathInfo() in Tomcat ??

2002-08-15 Thread Tony LaPaso
Hi all, I was hoping someone could explain something. I'm not sure if this is a Tomcat issue or a JSP issue. I'm using Tomcat v4.1.8 on Win 2k. It seems I cannot obtain the "extra path" information at the end of a URL from within a JSP. But, if I run the servlet that was generated from the JSP,

Action before doGet / doPost??

2002-08-15 Thread Josh
Hi, I'm wondering if there's a way to get some code called before doGet/doPost? I want to build a superclass for my JSP pages that checks for some login stuff and redirects if it's not found, without having to put the detect code in every page. -Josh "Rimmer, real dumplings, proper dumplings

RE: Still can't get Apache to forward to Tomcat

2002-08-15 Thread Milt Epstein
On Thu, 15 Aug 2002, Robert L Sowders wrote: > The reference to "21000" is not a reference to a port, I believe > it's an error condition from tomcat when it can't find all of it's > vm. > > You have to use mod_jk2, the port is referenced in the > jk2.properties file and all the mount points are

RE: Still can't get Apache to forward to Tomcat

2002-08-15 Thread Robert L Sowders
The reference to "21000" is not a reference to a port, I believe it's an error condition from tomcat when it can't find all of it's vm. You have to use mod_jk2, the port is referenced in the jk2.properties file and all the mount points are referenced in the workers2.properties file along with

Re: Still can't get Apache to forward to Tomcat

2002-08-15 Thread Robert L Sowders
Try this one, it works for me. ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.8_JSDK1.4.doc rls "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]> 08/15/2002 01:27 PM Please respond to "Tomcat Users List" To: <[EMAIL PROTECTED]> cc: Subject:Still

Re: Checking Tomcat's Memory

2002-08-15 Thread Kris Schneider
Sun's 1.4 server (not client) JVM can use a 4GB heap on a 64-bit SPARC box. Otherwise, I think you're pretty much stuck at 2GB. How much physical memory and swap space is installed? How much is actually available for allocation to the JVM when Tomcat gets kicked off? I also tend to adjust some of

RE: Still can't get Apache to forward to Tomcat

2002-08-15 Thread Milt Epstein
On Thu, 15 Aug 2002, Koes, Derrick wrote: > If using mod_jk, where is the port specified on the Apache side? In the workers.properties file (there's only one properties file in mod_jk, from the below it looks like there are two for mod_jk2, and I didn't know which one has the port info). Just l

RE: Checking Tomcat's Memory

2002-08-15 Thread Sexton, George
I really doubt it. I seem to recall that for Windows 32 bit applications the maximum address space of an application is 2GB. I would try reducing the second parameter to below 2GB and see what happens. I'm sure Sun has some boxes that could do this... -Original Message- From: Marinko, Je

Re: Testing session time-out behaviour

2002-08-15 Thread JEWeaver
> You can forcibly eliminate any sessions saved by the previous shutdown by > deleting the "SESSIONS.ser" file in the work directory for your webapp. Thanks, Craig. Deleting this file between a stop and start application url request from the test client did the trick - finally able to simulate

Re: Getting mod_webapp - should I give up?

2002-08-15 Thread Adrian
The best way I`ve seen to do it is still http://pubbitch.org/jboss.html , I`ve built it on FreeBSD , Linux etc. If you use the ./configure --with-apxs=/usr/local/apache2/bin/apxs it builds just fine with make. - Original Message - From: "Murray Cumming" <[EMAIL PROTECTED]> To: "Murray Cumm

[DEBIAN, TOMCAT4 & MOD_PROXY]

2002-08-15 Thread Ángel Carrasco
Hi all, I use debian 3.0 (woody) and I install tomcat4 and tomcat4-webapps in this system. I has installed apache 1.3.26 (the debian package) too. I can only integrate apache and tomcat with mod_proxy. I cannot mod_jk because is tomcat4 and I dont know how make works mod_webapp in debian. And

RE: OutOfMemory Error

2002-08-15 Thread Marinko, Jeff
Because you are not indicating what .class file you want to run... Try: java -Xms128m -Xmx256 YourJavaClassHere That should do it -Original Message- From: Patrick Codere [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 3:02 PM To: 'Tomcat Users List' Subject: RE: OutOfMem

RE: OutOfMemory Error

2002-08-15 Thread Hardt, Shannon
you must also specify something to execute :) example: java -Xmx128m -Xmx256m com.mycompany.HelloWorld Shannon -Original Message- From: Patrick Codere [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 5:02 PM To: 'Tomcat Users List' Subject: RE: OutOfMemory Error Can someo

RE: OutOfMemory Error

2002-08-15 Thread Patrick Codere
Can someone tell me why when i go on the command prompt and write java -Xms128m -Xmx256m I get the Usage: java [-options] list Thanks. -Original Message- From: Patrick Codere [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 4:24 PM To: 'Tomcat Users List' Subject: RE: OutO

Re: Testing session time-out behaviour

2002-08-15 Thread Craig R. McClanahan
On Thu, 15 Aug 2002 [EMAIL PROTECTED] wrote: > Date: Thu, 15 Aug 2002 14:07:13 -0500 > From: [EMAIL PROTECTED] > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Testing session time-out behaviour > > > Hi, > > I have a web app with some spe

Re: WebApp ADMIN + TomCat 4.1.9

2002-08-15 Thread Craig R. McClanahan
On Thu, 15 Aug 2002, Luiz Ricardo wrote: > Date: Thu, 15 Aug 2002 15:58:18 -0300 > From: Luiz Ricardo <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat-User List <[EMAIL PROTECTED]> > Subject: WebApp ADMIN + TomCat 4.1.9 > > Hi, > > I am trying to run the webapp

Trying to work with JDBC OCI

2002-08-15 Thread Nagpal, Vikas
Hi Everybody, Thanks guys our code worked. We just changed the entry to the database name and all the things worked: Connection myConn = DriverManager.getConnection("jdbc:oracle:thin:@:1521:", "", ""); where to the oracle Thanks, With regards, Vikas nagpal. -- To unsubscribe, e-mail:

RE: Checking Tomcat's Memory

2002-08-15 Thread Marinko, Jeff
Ah, there it is! So I would add additional "JVM Option Number X" with the -server, -Xms, -Xmx parameters and change "JVM Option Count" to account for this. I've managed to change the VM heap size through editing the catalina.bat script, however I get the following: Error occurred during initial

RE: Still can't get Apache to forward to Tomcat

2002-08-15 Thread Short, Dave
Are you using mod_jk2? -Original Message- From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] Sent: August 15, 2002 1:27 PM To: [EMAIL PROTECTED] Subject: Still can't get Apache to forward to Tomcat I've been trying all day (installed from blank hard drive twice) and I can't get Ap

RE: Newbie questions

2002-08-15 Thread Saravanan Bellan
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/web.xml.txt Also look at http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html for other information. > -Original Message- > From: Jim Marnell [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 15, 2002 12:23 PM > To: T

RE: Still can't get Apache to forward to Tomcat

2002-08-15 Thread Koes, Derrick
If using mod_jk, where is the port specified on the Apache side? -Original Message- From: Milt Epstein [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 4:51 PM To: Tomcat Users List Subject: Re: Still can't get Apache to forward to Tomcat On Thu, 15 Aug 2002, Kenny G. Dubuiss

Re: Still can't get Apache to forward to Tomcat

2002-08-15 Thread Milt Epstein
On Thu, 15 Aug 2002, Kenny G. Dubuisson, Jr. wrote: > I've been trying all day (installed from blank hard drive twice) and > I can't get Apache to forward requests to Tomcat. I'm testing this > by trying to access http://localhost/examples. It should be > forwarding to http://localhost:8080/exa

Still can't get Apache to forward to Tomcat

2002-08-15 Thread Kenny G. Dubuisson, Jr.
I've been trying all day (installed from blank hard drive twice) and I can't get Apache to forward requests to Tomcat. I'm testing this by trying to access http://localhost/examples. It should be forwarding to http://localhost:8080/examples (Tomcat's examples). I've found the following two entr

FW: Newbie questions

2002-08-15 Thread Saravanan Bellan
-Original Message- From: Saravanan Bellan Sent: Thursday, August 15, 2002 12:48 PM To: 'Tomcat Users List' Subject: RE: Newbie questions http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/web.xml.txt Also look at http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html f

RE: Checking Tomcat's Memory

2002-08-15 Thread Sexton, George
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\\Parameter s -Original Message- From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] Sent: 15 August, 2002 1:59 PM To: 'Tomcat Users List' Subject: RE: Checking Tomcat's Memory Thanks for the idea, but there isn't a key/directory for HKEY_L

RE: OutOfMemory Error

2002-08-15 Thread Patrick Codere
Thanks a lot, Still, I really feel stupid here, but I tried java -Xms128m -Xmx256m on the command prompt and get the Usage: java [-options] list Thanks -Original Message- From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 4:07 PM To: 'Tomcat Users Li

RE: OutOfMemory Error

2002-08-15 Thread Marinko, Jeff
To answer your first question, I'm assuming you only have so much memory, so if you keep allocating memory, you'll eventually run out and then you'll have problems. As long as the JVM can reclaim memory, you should be alright. For your second question, it should look something like this: JAVA -X

OutOfMemory Error

2002-08-15 Thread Patrick Codere
Hi, outofmemory problem crashes my Standalone Tomcat Server(NT 4, Tomcat 4.03). large images on the site. From reading on subject, seems I have to increase the JVM heap size. Question? I created a jsp page that shows me the Total memory and Free memory on the site. The free mem

RE: Checking Tomcat's Memory

2002-08-15 Thread Marinko, Jeff
Thanks for the idea, but there isn't a key/directory for HKEY_LOCAL_MACHINE\Service in either WinNT4 or Win2K registry. Not sure what the guy was talking about given the registry path does not exist... -Original Message- From: Hardt, Shannon [mailto:[EMAIL PROTECTED]] Sent: Thursday, Aug

RE: Checking Tomcat's Memory

2002-08-15 Thread Hardt, Shannon
Disclaimer: I am not running Tomcat as a service, so I can't confirm that this works. >From the mailing list archive at: http://mikal.org/interests/java/tomcat/archive/view?mesg=57410 For Tomcat on NT as a service, you can set the -Xms and -Xmx in the registry. Its HKEY_LOCAL_MACHINE\S

RE: Checking Tomcat's Memory

2002-08-15 Thread Etienne, Ingo (Goetzfried AG)
Hi, if you are using jk_nt_service.exe try to modify this property in %CATALINA_HOME%\conf\jk\wrapper.properties: wrapper.cmd_line=$(wrapper.javabin) -Xrs -Djava.security.policy=="$(wrapper.tomcat_policy)" -Dtomcat.home="$(wrapper.tomcat_home)" -classpath $(wrapper.class_path) $(wrapper.startup_

WebApp ADMIN + TomCat 4.1.9

2002-08-15 Thread Luiz Ricardo
Hi, I am trying to run the webapp admin from Tomcat 4.1.9 and I am catching the following exception. Does anybody know why this is happening? I am using a Windows ME + J2SDK 1.4.0 + Tomcat 4.1.9-LE. The exception is at attachment. Luiz Ricardo 2002-08-15 15:40:02 WebappLoader[/admin]: Deploy

RE: Checking Tomcat's Memory

2002-08-15 Thread Shapira, Yoav
Hi, On unix, we put our CATALINA_OPTS settings in $CATALINA_HOME/bin/catalina.sh. Are you running tomcat as a service on NT or from the command line? If you're running from the command line, can you do echo %CATALINA_OPTS% before starting tomcat and verify the values are set correctly? Regard

RE: Checking Tomcat's Memory

2002-08-15 Thread Marinko, Jeff
Alright, new environment variable... CATALINA_OPTS=-server -Xms1024m -Xmx3072m Should give me a range of 1-3 gigs. When I restart Tomcat, however, this doesn't appear to affect anything. I'm running a simple memory servlet, as suggested by Yoav Shapira, to simply create a whole bunch of memory

RE: Newbie questions

2002-08-15 Thread Turner, John
Did you add a Context entry in server.xml for jimbo? Basically, wherever you see entries in server.xml for "examples", you need to do the same thing for "jimbo", then restart tomcat. You can also put your servlet into the examples directory, with the example servlets, and see if you can call it

RE: Newbie questions

2002-08-15 Thread Shapira, Yoav
Hi, I assume your servlet is called Form1? >http://localhost:8080/jimbo/Form1";> >Also, do I need any special apache modules for tomcat? You need a connector installed between them e.g. mod_jk or mod_webapp. Check out the docs at, for example, http://jakarta.apache.org/tomcat/tomcat-4.0-doc/co

Newbie questions

2002-08-15 Thread Jim Marnell
I'm having problems running a servlet. I've installed tomcat 4.0.4, apache 2 & jdk 1.4 on redhat 7.2. I put html file with the following into apache's htdocs directory http://localhost:8080/jimbo/Form1";> I then created a directory in $tomcat_home/webapps called jimbo. Within directory jimb

Tomcat clustering ?

2002-08-15 Thread Bing Zhang
Couple short questions about Apache/Tomcat clustering here: 1. From which version of Tomcat, it starts to support Clustering or maybe even failover ?? 2. Is that version stable or qualified for production quality release ?? What's the latest version of tomcat stably provides Clustering potenti

RE: can't find mod_jk.conf

2002-08-15 Thread Turner, John
The only thing you need in your httpd.conf, if you are using Tomcat's "autogen" function for mod_jk.conf, is this line: Include /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf I'm not sure what platform you are using, but I posted a howto for apache 1.3.26 + tomcat 4.0.4 + mod_jk here: ht

RE: Checking Tomcat's Memory

2002-08-15 Thread Marinko, Jeff
g isn't valid!?!? Grr... I got that information off of this mailing list, someone was using a similar configuration option that had "g" for gigabytes... Anyways, thanks! -Original Message- From: Sexton, George [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 10:51 AM To: Tomca

RE: Checking Tomcat's Memory

2002-08-15 Thread Sexton, George
You might also want to try the -Xincgc Enable the incremental garbage collector. The incremental garbage collector, which is off by default, will eliminate occasional garbage-collection pauses during program execution. However, it can lead to a roughly 10% decrease in overall GC performance. sw

RE: Checking Tomcat's Memory

2002-08-15 Thread Marinko, Jeff
I was using requests as in "total requests". I'm not talking about requests per second or transactions per second (TPS), I'm talking about the total number of requests over time (such as 20,000 requests, at any speed really). -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTE

RE: Checking Tomcat's Memory

2002-08-15 Thread Sexton, George
g doesn't seem to be a valid memory increment. From the sun web site: -Xmsn Specify the initial size, in bytes, of the memory allocation pool. This value must be a multiple of 1024 greater than 1MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default valu

RE: Checking Tomcat's Memory

2002-08-15 Thread Shapira, Yoav
Hi, I've been following your thread a bit loosely, so I may have misunderstood something. >My problem is still the same, after so many requests (and thus some amount >of information stored in memory), Tomcat starts to use up a whole lot of >CPU time. I think I hit the memory limit (as I get out

RE: Checking Tomcat's Memory

2002-08-15 Thread Marinko, Jeff
Heh, the answer to that is "kind of". I can actually do roughly 250 TPS (at least according to a tool I'm using) for about 10-20 thousand requests, but I think this memory problem is giving me trouble after that. I thought it was a connections problem (I was getting connection errors from the to

RE: Checking Tomcat's Memory

2002-08-15 Thread Sexton, George
So, did you get past to your 200 TPS limit goal? -Original Message- From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] Sent: 15 August, 2002 10:49 AM To: Tomcat Users List Subject: Checking Tomcat's Memory Greetings! I'm running Tomcat 4.0.4 (w/ JDK 1.4, WinNT/2K) and would like to know ho

Re: Enterprise Java Beans (EJB)

2002-08-15 Thread Ned Wolpert
> However if you find EJB's slow and not scalable, than you would > implement DAO another way. But since you would pull out Enity beans out, > than there is not much reason to keep Session beans. You could just put > regular form bean or java bean in session in some cases and get rid of > EJB se

RE: Tomcat 3.3.1

2002-08-15 Thread Larry Isaacs
It would seem that the JSPs are being handled as static files and not being handled by the JspInterceptor. I would recommend doublechecking how you have configured your Tomcat and use log output (set non-zero debug levels as needed) to see why it is behaving the way it is. Cheers, Larry > -

RE: Checking Tomcat's Memory

2002-08-15 Thread Shapira, Yoav
Hi, >CATALINA_OPTS=-server -Xms1g -Xmx3g > >and from reading previous e-mails on this list, this should set the JVM min >and max heap size, yet how can I verify this? That's the correct way to set them. Here's a simple way to verify things, as I inherently distrust Windows performance monitor

Re: Enterprise Java Beans (EJB)

2002-08-15 Thread V. Cekvenich
Ned Wolpert wrote: > Correct me if I'm wrong, but its still only the persistance side, right? > Or would use use it to replace session beans? I can see it replacing > Entity beans, and the DAO layer uses entity beans; then your session > beans would talk to the DAO layer which did all (only?) pe

Re: can't find mod_jk.conf

2002-08-15 Thread Scott Adamson
Ok, here is what I have done : - compiled apache_1.3.19 with DSO support (./configure --prefix=/usr/local/apache2 --enable-module=rewrite --enable-sh ared=rewrite ) - added the following to httpd.conf: # # Load mod_jk # LoadModule jk_module libexec/mod_jk-3.3-ap13-noeapi.so #

Re: Enterprise Java Beans (EJB)

2002-08-15 Thread Ned Wolpert
Correct me if I'm wrong, but its still only the persistance side, right? Or would use use it to replace session beans? I can see it replacing Entity beans, and the DAO layer uses entity beans; then your session beans would talk to the DAO layer which did all (only?) persistance. So, it doesn't

RE: Solaris startup.sh error! 'The JAVA_HOME environment variable is not defined properly'

2002-08-15 Thread Brian Bernardo
Set the JAVA_HOME variable in the catalina.sh file. That is where it goes. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 2:13 PM To: [EMAIL PROTECTED] Subject: Solaris startup.sh error! 'The JAVA_HOME environment variable

Checking Tomcat's Memory

2002-08-15 Thread Marinko, Jeff
Greetings! I'm running Tomcat 4.0.4 (w/ JDK 1.4, WinNT/2K) and would like to know how to check Tomcat's memory settings. I've defined an environment variable (in Windows) like so: CATALINA_OPTS=-server -Xms1g -Xmx3g and from reading previous e-mails on this list, this should set the JVM min an

RE: Enterprise Java Beans (EJB)

2002-08-15 Thread TOMITA_ALEX_NONLILLY
Thanks for the information !!... John Naldoza <[EMAIL PROTECTED]> 14/08/2002 10:20 p.m. Please respond to Tomcat Users List To: Tomcat Users List <[EMAIL PROTECTED]> cc: Subject:RE: Enterprise Java Beans (EJB) Hi, Perhaps you may want to look into

RE: Oracle classes not found

2002-08-15 Thread Shapira, Yoav
Hi, Rename it to classes12.jar. ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] >Sent: Thursday, August 15, 2002 11:58 AM >To: [EMAIL PROTECTED] >Subject: Oracle classes not found > >I now have Apache/Tomcat/JSDK u

RE: Oracle classes not found

2002-08-15 Thread Mike Jackson
That application doesn't run through tomcat so you'll need to specify the location of the oracle jar (or zip) file in your classpath when you try to compile or run the application. --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message- > From: Kenny G. Dubuisson, Jr. [mailto

RE: Oracle classes not found

2002-08-15 Thread Turner, John
Rename the file, change the .zip extension to .jar (JAR format is ZIP format, but tomcat won't recognize .zip). John Turner [EMAIL PROTECTED] -Original Message- From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 11:58 AM To: [EMAIL PROTECTED] Subje

global errorpage?

2002-08-15 Thread Power-Netz \(Schwarz\)
Hi, which was the server.xml or apps-??.xml option to set an errorpage i.e. for page not found errors .. ??? TC 3.3.2 thx Ihr Support-Team >>> POWER-NETZ® Full-Service-Provider <<< Online-Support: Support: 0190 - 15 11 15 (EUR 0,62/Min) http://Support.Power-Netz.de (kostenlos)

Oracle classes not found

2002-08-15 Thread Kenny G. Dubuisson, Jr.
I now have Apache/Tomcat/JSDK up and running and I've copied Oracle's "classes12.zip" into Tomcat's "common/lib" directory. I'm performing a test from an Oracle book and the compiler/code can't find the Oracle classes. The code I'm running (saved in a file named "TestJdbc.java") is: package jdbc

RE: Getting mod_webapp - should I give up?

2002-08-15 Thread Murray Cumming
So, I'll forget about mod_webapp because no one knows how to build it and the people who built it once say that it doesn't work well anyway. So, I'll try mod_jk, though I'm concerned that it's marked as deprecated in the apache bugzilla. Now, I just need a URL of some instructions for building m

RE: Errors Compiling a JSP

2002-08-15 Thread Sharples, Brian
The first time I took the bang out, I got an internal server error. This time it worked like a charm. I must have done something else the first time I tested that. Anyway, it is working fine now. Thanks to everyone for all the help. I was unaware that the request object reference only existed

RE: Apache not automatically starting Tomcat

2002-08-15 Thread Short, Dave
Not sure if these will work for 4.0.4... -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: August 15, 2002 8:51 AM To: Tomcat Users List Subject: RE: Apache not automatically starting Tomcat Hi, I am running tomcat4.0.4 and apache2.0.39 on windows2000 and using

Re: Enterprise Java Beans (EJB)

2002-08-15 Thread V. Cekvenich
Very good Jacob RowSet is an interface (that extends Resulset). And suns RowSet implementation does not have source code. That is why I had Keve and a few other people write an open source implementation of RowSet. That's right. Open Source RowSet. It fixes all the bugs and did I say yo

RE: Apache not automatically starting Tomcat

2002-08-15 Thread Ashish Kulkarni
Hi, I am running tomcat4.0.4 and apache2.0.39 on windows2000 and using mod_jk to connect them, right now everything is working fine, but is it possible to configure apache to start tomcat, if yes how and where can i find the required worker2.properties and jk2.properties file for windows2000 Ashi

AW: Errors Compiling a JSP

2002-08-15 Thread Ralph Einfeldt
I don't believe that, there are always error messages in log files. look at them. - Have you looked at the genarated servlet ? - Check colorValues for null before derefencing it. - Check colorValues.length before accessing an index. - This is not the right forum to learn java. > -Ursprüng

RE: Creating a Certificate Signing Request

2002-08-15 Thread Gabe Sanchez
Thanks for the information Mr. Turner Gabe Sanchez -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 11:39 AM To: 'Tomcat Users List' Subject: RE: Creating a Certificate Signing Request No, it has nothing to do with the OS. It's web serv

RE: AW: Errors Compiling a JSP

2002-08-15 Thread Sharples, Brian
The URL I am sending from myFlag.html is: http://localhost:8080/myJSPs/Hour10/myFlag.jsp?country=venezuela&colors=yell ow&colors=blue&colors=red -Original Message- From: Capr1ce [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 11:41 AM To: Tomcat Users List Subject: Re: AW: Err

RE: Errors Compiling a JSP

2002-08-15 Thread Durham David Cntr 805CSS/SCBE
Remove the bang. It's that simple. The request object reference does not exist outside of doService. If you don't believe me go to the $CATALINA_HOME\work directory and look at the generated servlet. > -Original Message- > From: Capr1ce [mailto:[EMAIL PROTECTED]] > Sent: Thursday

RE: Enterprise Java Beans (EJB)

2002-08-15 Thread Jacob Hookom
| -Original Message- | From: V. Cekvenich [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 15, 2002 10:28 AM | To: Tomcat Users List | Subject: Re: Enterprise Java Beans (EJB) | | No | Here is what: | Bean (formBean in Struts for example) delegate to DAO for CRUD | (Insert,Read,

RE: Errors Compiling a JSP

2002-08-15 Thread Sharples, Brian
If I get rid of the bang I get another internal error with no other information. -Original Message- From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 11:29 AM To: Tomcat Users List Subject: RE: Errors Compiling a JSP get rid of that bang. Th

RE: Errors Compiling a JSP

2002-08-15 Thread Sharples, Brian
This is the first time colorValues array is used. I am sending it three request parameters as 'colors' from myFlag.html: Link Invoking a JSP with parameters Invoke myFlag.jsp -Original Message- From: Capr1ce [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 11:33 AM

Using the new Tomcat Admin Page in Tomcat 4.1.x

2002-08-15 Thread Samuel Cheung
Hi, I am using log4j in my servlet. log4j has JMX interface to change its parameters at run-time. Could someone please tell me if I can use the new Tomcat Admin Page in Tomcat 4.1.x to change the log4j parameters? Thanks. Sam -- To unsubscribe, e-mail: For additio

Re: AW: Errors Compiling a JSP

2002-08-15 Thread Capr1ce
If that is all the code you have, I assume you have a NullPointerException, which means that one of the variables you are trying to use is null. ie. probably never set. If that code you gave was in a file called 'test.jsp', add parameters onto the end of it when you call it in your browser lik

RE: Creating a Certificate Signing Request

2002-08-15 Thread Turner, John
No, it has nothing to do with the OS. It's web server dependent (as the Verisign documents explain), not OS dependent. In Mr. Sanchez's scenario, his web server is tomcat, not any of the web servers that Verisign has listed at that URL, which is exactly his question: If tomcat is the web serve

Help: Authentication: Use Tomcat and Apache

2002-08-15 Thread Kevin Andryc
So I tried this and it still doesn't work. Here is how I have it set up: Server.xml: workers.properties: worker.list=ajp13, test worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 worker.test.port=8011 worker.test.host=localhost worker.test.t

AW: Errors Compiling a JSP

2002-08-15 Thread Ralph Einfeldt
There should be more information available in one of the logs. Some background: The JSP is compiled to a servlet. With <%! %> you define members or methods for the class or instance. With <% %> you fill the body of a method, all implicit variables (like request) are local to this method. Have

RE: Errors Compiling a JSP

2002-08-15 Thread Capr1ce
>> Are you actually setting the colorValues array up anywhere before it gets to this piece of code? Actually that was a stupid thing to say. You should be setting a at least 3 request parameters as 'colors' before you call this code. At 04:30 PM 15/08/2002 +0100, you wrote: >Is there a more

  1   2   >