JVM memory allocation

2004-04-01 Thread Li Li
Hi All, I have some problems with my server. I'm using Tomcat 5.0.18 with IIS 5.0 with isapi_redirector2.dll, J2SDK 1.4.2. My server is running on Windows 2000 Server. It has 2 processors and 2GB of memory. My server, crashes very frequently. At that time, Tomcat and IIS service is still

Problem with Tomcat 5.0.19 and JSTL

2004-04-01 Thread Knight, Digby
Hi, I've just installed Netbeans 3.6RC1 which has Tomcat 5.0.19 bundled, and it seems to have a problem with JSTL (error below). I've searched the Web for info, and the only thing I found (2 results in Google) was a suggestion to upgrade Xerces and Xalan, which I've done at the server and webapp

Re: JSP problems

2004-04-01 Thread Dennis Thrysøe
Dennis Thrysøe wrote: Dennis Thrysøe wrote: Nope. Just plain old JSP's in a webapp. Jasper generates servlets and compiles them just fine. But it cannot load them. I get java.lang.ClassNotFoundException: org.apache.jsp.index_jsp I'm still having the problem. Is there anybody out there with a

RE: JVM memory allocation

2004-04-01 Thread STOCKHOLM, Raymond
If tomcat is installed as a service you MUST set the parameters for CATALINA in the service : CATALINA_OPTS=-server -Xms300m -Xmx300m -XX:NewRatio=2 -Xconcurrentio Try a script such as this one (change whatever you need : java_home, catalina_home...) to install your service. This script is for

Re: Of .war and .jar files - and .jsp class files

2004-04-01 Thread Malcolm Warren
Dear QM, Just a footnote to this problem, if you're interested. The difference between Tomcat and Jrun on this problem of packing up the automatcally-generated .class files for .jsps is considerable, and I have to say that in this case Jrun looks more logical. With Tomcat, as you have

JSP forward request parameter and encoding

2004-04-01 Thread Hiroshi Iwatani
In the following JSP page, parameter value is a three Japanese character string: (B (B--- aJsp.jsp (B... (B... (B% (BString destination = "/aServlet"; (B% (Bjsp:forward page="%= destination %" (B jsp:param name="para" value="$B0&2&$h(B" / (B/jsp:forward

Re: Deaktivate Session-Creation/Handling

2004-04-01 Thread Alexander Lazic
Hi and thanx for answer, On Die 30.03.2004 09:11, Shapira, Yoav wrote: Session handling is mandated by the Servlet Specification: tomcat must implement it. You can't deactivate it. Yes thanx but the _developer_ don't now this and therefore we must delete is on request :-((. Yes it's an stoopid

Re: How to get Tomcat 5 back to original state?

2004-04-01 Thread Chong Yu Meng
Hi Josh, Don't start deleting stuff just yet. If you do this: rm -rf conf/Catalina Then your admin and manager applications will definitely not work, because the context fragments for both web applications (and the balancer app) are in conf/Catalina/localhost/. What I *would* do in your

Net Integrator Virus Alert

2004-04-01 Thread Virus Scanner
WARNING: a virus (probably I-Worm.NetSky.q) or suspicious attachment was detected and removed from the following message from [EMAIL PROTECTED] Some of the content may still be readable. ---BeginMessage--- Best wishes, your friend. ---End Message---

Problem getting manager with tomcat 5.0.19

2004-04-01 Thread zze-MORON François FTRD/DMI/REN
I installed tomcat in C:\Apps\tomcat and made changes to manager.xml in C:\Apps\tomcat\conf\Catalina\localhost : Context path=/manager docBase=c:/apps/tomcat/server/webapps/manager debug=0 privileged=true When I try to reach http://localhost:8080/manager I have a 404 error. What's

[OT?] Apache Portable Runtime JK2

2004-04-01 Thread Dale, Matt
Hi, I need to build the JK2 connector on Solaris 9, I know that the APR libraries are needed for building on linux and assume this to also be the case with Solaris. I have downloaded the source of APR from http://apr.apache.org but it states that this is just alpha and not ready for system

RE: [OT?] Apache Portable Runtime JK2

2004-04-01 Thread Andy Eastham
Matt, I built it on Solaris 9. I'd already built and installed apache 2, and all required libraries were then installed. Are you specifically trying to do this without installing Apache2? If not, here's my simple notes: build mod_jk2: download connector src:

RE: [OT?] Apache Portable Runtime JK2

2004-04-01 Thread Dale, Matt
Ah, Thanks a lot, I actually already had apache 2 installed and hadnt realised that the libraries were already there. Feel dumb now. I'll give it a whirl pointing to those libs. Ta Matt -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED] Sent: 01 April 2004 14:11 To:

Tomcat 4.1.x/isapi-redirect 1.2.5/jni

2004-04-01 Thread Ingo Rockel
Hi! Does someone have a working Configuration with Windows/IIS and where the Tomcat 4.1.x is started via jni_connect.dll? I have this config running with Tomcat 3.2.1 and got it running with jk2 and tomcat 4.1.27, but with jk2 I have strange problems concerning put requests (stream gets mixed

OutOfMemoryError - Excessive class loading

2004-04-01 Thread Chandu
Guys, I am getting java.lang.OutOfMemoryError when I start/stop/start/stop... a specific context multiple times. I am using Optimizeit to profile my application. I found multiple class definitions are being held by tomcat of same class. Everytime the context is restarted(using the Manager

Re: OutOfMemoryError - Excessive class loading

2004-04-01 Thread Chandu
Sorry I forgot to mention environment details: WinXP 2000 professional, 256 MB RAM, 384 Page File, MySql 4, Tomcat 4.1.27 - Original Message - From: Chandu To: Tomcat Users List Sent: Thursday, April 01, 2004 6:49 PM Subject: OutOfMemoryError - Excessive class loading

Re: Of .war and .jar files - and .jsp class files

2004-04-01 Thread Niki Ivanchev
Reading http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html I have noticed this quote * *Java location*: The installer will use the registry or the JAVA_HOME environment variable to determine the base path of the JDK or a JRE. If only a JRE (or an incorrect path) is specified,

Réf. : Problem getting manager with tomcat 5.0.19

2004-04-01 Thread ccunin
Try to check your $CATALINA_HOME variable which should be C:\Apps\tomcat and let ../server/webapps/manager The error 404 is something not found. Charles Henri CUNIN Dcouvrez notre site sur le http://www.assu2000.fr - To

RE : Réf. : Problem getting manager with tomcat 5.0.19

2004-04-01 Thread zze-MORON François FTRD/DMI/REN
I found the solution. I had to create a admin user in tomcat-users.xml to have The login page. It's ok now. Thank's. François -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : jeudi 1 avril 2004 15:36 À : Tomcat Users List Objet : Réf. : Problem getting

Tomcat + HP OpenView

2004-04-01 Thread Carl Walker
Hi, Has anyone used Tomcat as an MBean Server for HP OVO? I read in the HP documentation that OVO can manage apps running in an open-source app server with additional configuration. Thanks, Carl - To unsubscribe, e-mail:

RE: Deaktivate Session-Creation/Handling

2004-04-01 Thread Shapira, Yoav
Hi, - Writing an HttpServletRequestWrapper whose getSession methods always return null (or a new empty session, or whatever you need) Yes i have see this option also but i'm not shure where i add it? You would do this: - Write a class that extends HttpServletRequestWrapper, overriding the two

RE: Of .war and .jar files - and .jsp class files

2004-04-01 Thread Shapira, Yoav
Hi, to say that in this case Jrun looks more logical. With Tomcat, as you have explained, in order to get it to work you have to create all the servlet mappings. In order to get what to work? Tomcat will run your JSPs without any mappings in web.xml (except the default JSP servlet of course,

RE: OutOfMemoryError - Excessive class loading

2004-04-01 Thread Shapira, Yoav
Hi, When a context is stopped, does all the resources will be released? This includes stopping of threads if any and unloading of all classes which are loaded during the context lifecycle. No, some resources such as the classloader itself may be retained in memory. A new one will be provided

Re: Installation Help Needed

2004-04-01 Thread FRANCOIS Dufour
read on linux site about opening port :server port on the firwall or change the port in the admin console off tomcatl [EMAIL PROTECTED] administrateur http://entre-nous.qc.tc From: Josh Rehman [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Re: Installation Help Needed

2004-04-01 Thread Stormblade
Back to basics. Is it running? Look at your processes with something like ps -ax As far as I can tell yes. There is a line which I believe indicates it's running but it gets cut off and I don't remember how to make it word wrap. Re-directing it to a file is worse.

Re: Re: Installation Help Needed

2004-04-01 Thread Stormblade
This is almost certainly because you're running a firewall. It's kind of an involved topic, and not one I'm an expert on anyway, so you should check out this: http://www.tldp.org/HOWTO/Firewall-HOWTO.html Thank you for the reply. Yes I am running a firewall but I am familiar with

How does Tomcat manage Form-based authentication?

2004-04-01 Thread Malcolm Warren
With BASIC authorization, which I used to use, the browser was sent an Authorization header. This doesn't happen with FORM-based authorization. I believe Tomcat deals with it all, but how? Anybody know? - To unsubscribe, e-mail:

Re: Re: Installation Help Needed

2004-04-01 Thread Stormblade
Woo almost missed this one cuz it wasn't threaded under the others in my newsreader. Anyway, thanks for the reply. I have opened the port. I have done this for several other applications over the years. Games too so I know what I'm doing in that respect. However, I'm still not sure about

Mapping JK to different context

2004-04-01 Thread Prucha, Brett A
Does anyone know if it is possible to map to different contexts in JK. Specifically I would like: http://localhost/java/ to map to the ROOT context in tomcat or http://localhost/foo/ to map to /bar context I can only find examples to map http://localhost/foo/ to the /foo context

RE: Custom MBeans in Tomcat 5

2004-04-01 Thread Benjamin Armintor
Ahh, this is kind of tricky. Your Mbean may very well be in the Registry, but if you're getting an InstanceNotFoundException, then your asking for an instance of it that's not there (Asking for an Mbean that wasn't registered would just get you a null, I believe). The Mbean is more like a

AGAIN jk2 2.0.4 compile

2004-04-01 Thread Giorgio Ponza
hi all again :D I am trying to build tomcat connector 2.0.4 from source. I've read maby howto etc, but i didn't succeed. I installed apache 2.0.49 with --enable-so option Also tomcat 5.0.19. I am working on RH 9. I installed apr 0.9.4 in /usr/local/apr-0.9.4 and apr-util in

Re: Installation Help Needed

2004-04-01 Thread QM
On Thu, Apr 01, 2004 at 12:16:49AM -0500, Stormblade wrote: : Then I tried to access my box from another machine and there : is no answer. www.mymachinedomain:8080 doesn't even give me the default : page. What's the result of lsof -i -a -u {tomcat user} ? -or better still,

Re: Of .war and .jar files - and .jsp class files

2004-04-01 Thread QM
: The automatically generated .class files in Tomcat are in the : org.apache.jsp package, but the folders /org/apache/jsp aren't there in : the file system, if you see what I mean. It would have been nice if the : package logic had been followed through. ? I'm not sure I follow. I just

Re: How does Tomcat manage Form-based authentication?

2004-04-01 Thread QM
On Thu, Apr 01, 2004 at 04:38:49PM +0200, Malcolm Warren wrote: : With BASIC authorization, which I used to use, the browser was sent an : Authorization header. : : This doesn't happen with FORM-based authorization. : I believe Tomcat deals with it all, but how? Anybody know? Not sure I

Re: Re: Installation Help Needed

2004-04-01 Thread Stormblade
On Thu, Apr 01, 2004 at 12:16:49AM -0500, Stormblade wrote: : Then I tried to access my box from another machine and there : is no answer. www.mymachinedomain:8080 doesn't even give me the default : page. What's the result of lsof -i -a -u {tomcat user} ? -or better

Tomcat 5 Clustering

2004-04-01 Thread armalai
Hi., Environement: Windows 2000, Tomcat 5.X I have Two tomcat instances and i enabled cluster settings in the server.xml. Looks like both instances working well.I can access my application thru the ip and assigend port for individual instances. My question is.. 1.How do i configure my

Re: Re: Installation Help Needed

2004-04-01 Thread QM
On Thu, Apr 01, 2004 at 10:14:52AM -0500, Stormblade wrote: : Forgive me but I'm unfamiliar with that command. I typed it exactly : as you had it above. Copy and paste even. For the archives: lsof is a tool to LiSt Open Files. It lets admins match a port to a process, among other things.

Re: Tomcat5 - MySql5.0.0a - apache2.0 - XP - JNDI connection problems

2004-04-01 Thread Aadi Deshpande
Hi, For your JSTL issue, make sure in your WEB-INF/lib directory you have jstl.jar and standard.jar ( for the apache standard implementation ). otherwise, you will not be able to use JSTL. hth, -a The Gman wrote: I am following:

RE: How does Tomcat manage Form-based authentication?

2004-04-01 Thread Martin Alley
It sends you the html form you specify in the form-login-config section of web.xml See chapter 12 (Security) Appendix A (Deployment Descriptor) of Servlet Spec 2.3 for details. http://java.sun.com/products/servlet/download.html#specs Martin -Original Message- From: Malcolm Warren

Error about ConfigListener.class

2004-04-01 Thread patrick khadra
When I start tomcat 5, I always get this error. I tried to delete the configListener.class of the jsf-ri.jar that i need for my jsf application, but i still get a similar error about the ConfigListener.class and my webapp can't run. What should I do to make my jsf webapp with an Action Listener

RE: Tomcat 5 Clustering

2004-04-01 Thread Filip Hanik \(lists\)
1. http://siag.nu/pen/ (works on both windows and unix, you may need cygwin) 2. http://balance.sourceforge.net (unix only) 3. Apache mod_jk/mod_jk2 with load balancing the TCP based solutions (12) will work faster and are easier to install. mod_jk/2 comes with a different set of features in

Re: Error about ConfigListener.class

2004-04-01 Thread Jeanfrancois Arcand
patrick khadra wrote: When I start tomcat 5, I always get this error. I tried to delete the configListener.class of the jsf-ri.jar that i need for my jsf application, but i still get a similar error about the ConfigListener.class and my webapp can't run. What should I do to make my jsf

RE: AGAIN jk2 2.0.4 compile

2004-04-01 Thread Dale, Matt
I just did this today, look for the apr libs in /usr/local/apache/lib directory and complile with ./configure --with-apxs2=/usr/local/apache/bin/apxs \ --with-apr-lib=/usr/local/apache/lib \ --with-tomcat-41=/usr/local/jakarta-tomcat-5.0.19 \ --with-java-home=/usr/local/j2sdk \ --with-jni

RE: AGAIN jk2 2.0.4 compile

2004-04-01 Thread Dale, Matt
I cut and paste that from the command line, remember to take out the at the beginning of the lines -Original Message- From: Dale, Matt Sent: 01 April 2004 16:48 To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: AGAIN jk2 2.0.4 compile I just did this today, look for the apr libs

Session replication

2004-04-01 Thread Vijay Kandy
Hello, This may seem trivial to most of you but I bet this will help learner like me so heres my question. I use the following method to validate a http session. I have 2 instance of Tomcat 4.1.24 + mod_jk + Apache2 that replicate session in-memory (JavaGroups stuff). After I deliberately

RE: Custom MBeans in Tomcat 5

2004-04-01 Thread Chad Boyd
My MBean is not a Valve or Realm element, so there are no elements in the server.xml file. The only experience I've had with MBeans is on JBoss. With JBoss, all you had to do is drop the packaged MBean and descriptor into the deploy directory and JBoss registered and created an instance of it

RE: Session replication

2004-04-01 Thread Filip Hanik \(lists\)
hi Vijay, sorry to let you know that I don't have bandwidth to support session replication on Tomcat 4 as it was not part of the official release The latest code base is at http://cvs.apache.org/~fhanik/ is that what you are using? Filip -Original Message- From: Vijay Kandy

Re: AGAIN jk2 2.0.4 compile

2004-04-01 Thread Giorgio Ponza
Dale, Matt ha scritto: I just did this today, look for the apr libs in /usr/local/apache/lib directory and complile with ./configure --with-apxs2=/usr/local/apache/bin/apxs \ --with-apr-lib=/usr/local/apache/lib \ --with-tomcat-41=/usr/local/jakarta-tomcat-5.0.19 \

Re: Error about ConfigListener.class

2004-04-01 Thread pkhadra24
I have download the jsf_1-0.zip from java.sun.com and extract it in WEB-INF/lib of my webapp folder. I have build my war file with ant-1.6.1 then copied it to the webapps folder of tomcat-5.0.19. I have the j2sdk1.4.2_03 installed on my machine. When i start tomcat i have this error. -

RE: AGAIN jk2 2.0.4 compile

2004-04-01 Thread Dale, Matt
It seems to think you are using apache 1.3, is the install of apache that you have at /usr/local/apache the version of apache 2 you just built? -Original Message- From: Giorgio Ponza [mailto:[EMAIL PROTECTED] Sent: 01 April 2004 17:02 To: Tomcat Users List Subject: Re: AGAIN jk2 2.0.4

Re: Re: Re: Installation Help Needed

2004-04-01 Thread Stormblade
Back to the original post: {tomcat user} = use the name of the tomcat process owner ;) You could also have run: lsof -i :8080 I should've suggested that instead. Doing that I got this: java19217 root5u IPv4 811539 TCP *:webcache (LISTEN) java19218 root

RE: Apache+Tomcat + MOD_JK on different machine

2004-04-01 Thread Hari Om
Hi Randall, I WOULD LIKE TO THANK YOU. My Apache and Tomcat on different machine are working great now. THANK YOU AGAIN for your time and input. The problem was that in my SERVER.XML File I was referring to LOCALHOST instaed of having of actual HOSTNAME. THANKS AGAIN! HARI OM From:

Catalina startup

2004-04-01 Thread Reis, Tom
I am confused as to which to modify the Catalina.sh or the Catalina.bat. I am running Windows 2000 A/S and I am running the Apache Tomcat as a service. Does it make a difference as to which Catalina file I modify. Thanks.

Apache, Tomcat Web Application

2004-04-01 Thread Hari Om
I have my Apache 2.0.47 and Tomcat 4.1.x on different machines and using MOD_JK to talk to each other. My web server URL is khar.bazee.com and my Web Application name is namaste. On my browser I type http://khar.bazee.com/namaste to access my application and it works just great. However, I

RE: Catalina startup

2004-04-01 Thread Shapira, Yoav
Hi, On Windows, catalina.bat is used for command-line startup. On unix, it's catalina.sh. As a service, neither is used I think. Yoav Shapira Millennium Research Informatics -Original Message- From: Reis, Tom [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 11:08 AM To:

RE: Session replication

2004-04-01 Thread Vijay Kandy
Hi Filip, I am using JavaGroups-2.0.jar...is 2.0 not compatible with Tomcat 4.1.24? Thanks for the good software and the docs (http://www.theserverside.com/articles/article.tss?l=Tomcat) !! Regards, Vijay Kandy -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent:

RE: Apache, Tomcat Web Application

2004-04-01 Thread Shapira, Yoav
Hi, Set your context to have a path of (the empty string). You can do this in server.xml. You might need to modify the mod_jk/apache configuration files, but I don't know how to do that part. Yoav Shapira Millennium Research Informatics -Original Message- From: Hari Om

RE: Catalina startup

2004-04-01 Thread Reis, Tom
Is there a way to pass parameters when it starts up as a service? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 10:13 AM To: Tomcat Users List Subject: RE: Catalina startup Hi, On Windows, catalina.bat is used for command-line startup.

RE: Session replication

2004-04-01 Thread Filip Hanik \(lists\)
it should be compatible, I wrote that article so long ago, that I am not sure what is in that code base anymore :) Filip -Original Message- From: Vijay Kandy [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 10:15 AM To: 'Tomcat Users List' Subject: RE: Session replication Hi

Threads in Tomcat 5

2004-04-01 Thread Angelov, Rossen
Hi, I'm trying to understand how exactly Tomcat 5 is organized to work with threads. Is there any documentation on how the connector is using the threads? What happens in the thread pool, how exactly the are threads picked from the pool and what is their state? And what happens with the released

RE: Catalina startup

2004-04-01 Thread Shapira, Yoav
Hi, Yes, search the list archives. Yoav Shapira Millennium Research Informatics -Original Message- From: Reis, Tom [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 11:24 AM To: 'Tomcat Users List' Subject: RE: Catalina startup Is there a way to pass parameters when it starts

RE: Threads in Tomcat 5

2004-04-01 Thread Shapira, Yoav
Hi, The same thread may be used for the container to handle multiple requests, though of course not concurrently. Any other behavior doesn't scale so it doesn't make sense ;) I suggest you change your login logic. As for docs, what you're really looking for is source code, which is of course

RE: Apache+Tomcat + MOD_JK on different machine

2004-04-01 Thread Randall Svancara
No problem. Good luck. -Original Message- From: Hari Om [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 9:08 AM To: [EMAIL PROTECTED]; Randall Svancara Cc: [EMAIL PROTECTED] Subject: RE: Apache+Tomcat + MOD_JK on different machine Hi Randall, I WOULD LIKE TO THANK YOU. My

Migrating from Tomcat4.1 to Weblogic 8.1

2004-04-01 Thread Apahce Tomact
Hi All, I want to migrate web application which running on Apache 2 and Tomcat4.1.24 to Weblogic8.1. If any have any docs or links regarding migration from Tomcat4 to Weblogic, Please reply . Your help will be greatly appreciated. Regards, Rama Do you Yahoo!? Yahoo! Mail -

Controlling logging level in catalina.out

2004-04-01 Thread Mark Shifman
I googled, looked at the tomcat faq and searched mail archives and couldn't find a reasonable answer (or one that I understand) but I'm sure it must be asked frequently. catalina.out has lots of INFO statements (using tomcat5). How can I control catalina.out logging so it only gets WARN or

Re: service does not start on win2K???

2004-04-01 Thread Emerson Cargnin
I have the same error in a windows machine startup works fine, and hen I had tomcat 4.1, everuthing worked fine too... John MccLain wrote: I am getting could not start the apache tomcat service on local computer error 1053: a service did not respond to the start or control in a timely

RE: service does not start on win2K???

2004-04-01 Thread Chanan Braunstein
I had a problem like that when my settings in registry were wrong (after using the configure Tomcat program). Try: 1) Make sure you set the JAVA_HOME in the environment variables. 2) Make sure that in configure tomcat you have java in the java VM box 3) uncheck Auto check box 4) Make sure that

Re: How to get Tomcat 5 back to original state?

2004-04-01 Thread Emerson Cargnin
Did you enabled clusterization? did you tri to disable this? Josh Rehman wrote: Hi, I'd like to figure out how to finagle Tomcat into a pristine state without having to reinstall binaries. This is because, once again, I've somehow managed to get Tomcat into a wierd state where Manager doesn't

Re: Re: Re: Installation Help Needed

2004-04-01 Thread QM
On Thu, Apr 01, 2004 at 11:07:21AM -0500, Stormblade wrote: : java19217 root5u IPv4 811539 TCP *:webcache (LISTEN) OK, so Tomcat is up and listening. (I'll assume that webcache = 8080; that's for you to confirm.) Next step: from the Tomcat host, try to interact with the port. Use

RE: Controlling logging level in catalina.out

2004-04-01 Thread Shapira, Yoav
Hi, Add a commons-logging configuration file to $CATALINA_HOME/common/classes. In it, specify WARN (or whatever level you want) for the org.apache.catalina packages (or whatever packages you want). http://marc.theaimsgroup.com/?l=tomcat-userm=107380546711794w=2 Yoav Shapira Millennium Research

Re: AGAIN jk2 2.0.4 compile

2004-04-01 Thread Emerson Cargnin
I have apache 1.3, do I have to recompile it to use jk2? Dale, Matt wrote: It seems to think you are using apache 1.3, is the install of apache that you have at /usr/local/apache the version of apache 2 you just built? -Original Message- From: Giorgio Ponza [mailto:[EMAIL PROTECTED]

RE: Custom MBeans in Tomcat 5

2004-04-01 Thread Benjamin Armintor
Hmm... My mbeans were custom server components. While your mbeans are probably registered, I don't think there is any automatic instantiation. Maybe I'm wrong: I'd like to be corrected by anyone else following this thread. Otherwise, I've been looking over the code, and it seems like you'd have

Re: trying to solve mod_jk with tomcat 1.3 mistery....

2004-04-01 Thread David Smith
Did you ever get an answer to this? I had a very similar problem while working with virtual hosts and where to place the different directives in the httpd.conf file. Got it working by placing all but the JkMount directives in the top level of the httpd.conf right after the LoadModules section

Re: service does not start on win2K???

2004-04-01 Thread Emerson Cargnin
Chanan Braunstein wrote: I had a problem like that when my settings in registry were wrong (after using the configure Tomcat program). Try: 1) Make sure you set the JAVA_HOME in the environment variables. ok 2) Make sure that in configure tomcat you have java in the java VM box configure doens't

how can I switch off the debug

2004-04-01 Thread Juan Rafael Maroto Escobar
How can I switch off the debug in Tomcat4? My web.xml is !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app !-- Standard Action Servlet Configuration (with debugging) -- servlet

HELP! [javac] Modern compiler not found

2004-04-01 Thread Tony Nakamura
Hi, (B (BI suddenly began receiving this error when I access some of the jsp pages: (B (B[javac] Modern compiler not found - looking for classic compiler (B (Bafter looking around, I found a few possible work-around, which are (B1) make sure to add Java_Home environmental variable and set

Tomcat as service

2004-04-01 Thread Reis, Tom
I am running Tomcat 4.0.3 on a W2K A/S server as a service. I want to increase the heap size. How do I pass the parameters or which file do I modify to pass the parameters to do this when running Tomcat as a Service. Thanks.

Re: Threads in Tomcat 5

2004-04-01 Thread Peter Lin
why do you want to use a thread to manage authentication? given the requestProcessor threads are reused, it makes no sense to use the thread for the mapping. you're better off just authenticating the first time and setting the HttpSession, rather than look up the thread. I'm probably missing

RE: service does not start on win2K???

2004-04-01 Thread Chanan Braunstein
Instead of configure tomcat you can go to: HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat Service Manager\Tomcat5\Parameters Change java if it says Auto to java. I have no idea what it is supposed to do, but I can tell you when I checked it I got the same problem you got.

RE: AGAIN jk2 2.0.4 compile

2004-04-01 Thread Dale, Matt
I think that using JK2 with apache 1.3 is unsupported and that you should either use the JK connector or upgrade to apache 2. -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: 01 April 2004 18:04 To: Tomcat Users List Subject: Re: AGAIN jk2 2.0.4 compile I have

RE: Threads in Tomcat 5

2004-04-01 Thread Angelov, Rossen
Well, the login requirements are not that simple to explain in few lines. Some pages require authentication some don't, so it won't be appropriate to do this when the HttpSession is first started. ThreadLocal is used to identify the current thread (assuming that's for the current request) to get

Tomcat 4.1Configuration 404 error

2004-04-01 Thread Taj
Iam having problem in setting my application running in Tomcat 4.1 The applications directory is situated at /Tomcat4.1/webapps/ROOT/myapplication This is the only place that my pages are visible to the server. My class files are situated at

Re: Tomcat 4.1Configuration 404 error

2004-04-01 Thread QM
On Thu, Apr 01, 2004 at 11:26:54PM +0530, Taj wrote: : web-app :servlet : servlet-nameGetInput/servlet-name : servlet-classGetInput/servlet-class :/servlet : : Even after all this I get the 404 error: the required source was not found.

Re: Re: Re: Installation Help Needed

2004-04-01 Thread Parsons Technical Services
I know it's simple but have you tried using the IP as in http://xxx.xxx.xxx.xxx:8080 ? Just a thought. Otherwise you might wish to confirm the port is open. No offense but sometimes we get burned by the silly little things. Since you are running from the command line you are starting as root

Re: Error about ConfigListener.class

2004-04-01 Thread Jeanfrancois Arcand
Have you previously run JavaServer Faces applications? If yes, you should remove the web server's cached files before migrating to the new release. So, the cached files in |TOMCAT_HOME/work/Catalina/localhost/jsf-*|. should be removed before restarting the server. I usually remove entire

RE: Threads in Tomcat 5

2004-04-01 Thread Peter Lin
Have you considered using the HttpSession ID as the key for the hashtable instead? I forget if the httpsession id implementation has changed or not. Even though the session ID is not guaranteed to be unique, it practically is unique if user sessions are relatively short and don't last hours

RE: Threads in Tomcat 5

2004-04-01 Thread Peter Lin
hit send too soon. Another approach which I've used and is common is to have the notion of access control privledge like Unix file privledges. Each page has a set privledge level and once the user is authenticated, the page checks the users access level. there are numerous other variations on

Tomcat 4.1.27:NullPointerException in getAttribute CoyoteRequestFacade under moderate server load

2004-04-01 Thread Markus Mayer
Hi all, we are using tomcat 4.1.27 as a servlet container (no jsp's). we used to have all our code in a large servlet which used to be working fine. in order to increase our flexibility we refactored some of our code into several servlet filters which we plugged before the main servlet. this

RE: Threads in Tomcat 5

2004-04-01 Thread Angelov, Rossen
I'll consider the HttpSession as an option and will implement sorting to see if it work for us. I'm not sure what you mean by single-sign-on application but our authentication system uses a eRights, a product of eMETA, to authenticate users and give access only to certain resources (usually

Automatic gzip of tomcat logs in Linux?

2004-04-01 Thread Rhino
Does Tomcat automatically gzip its logs on Linux Mandrake? I noticed something odd in the Tomcat logs recently on our Linux server: apparently, every week (on Saturday), a process is coming along and gzipping all of the files in the logs directory of Tomcat. The system administrator says he

Re: AGAIN jk2 2.0.4 compile

2004-04-01 Thread Emerson Cargnin
I'm trying to use jk 1.2.5 but it doesn't work either this is the log from mod_jk... it finds the mapping, but not the worker... please, this is sttoping me to upgrade to tomcat5. elbassan:/home/emersonc # cat /home/emersonc/jakarta-tomcat-5.0.19_new/logs/mod_jk.log [Thu Apr 01 15:38:50 2004]

DataSourceReal with tomcat

2004-04-01 Thread Dani
Is it possible making a datasourceRealm with tomcat?? How can I do it? I've tried but i couldn't thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Getting all these errors in my mod_jk_4.log

2004-04-01 Thread Randy Paries
hello i have an apache 2.0 and tomcat 4.1.30 and i compiled the mod_jk on my box i have three virtual hosts only one has the (directives) JkMount /*.jsp worker1 JkMount /servlet/* worker1 everytime one of the other sites gets access i get the following entry in the mod_jk.log file

Installation Help Needed (Solved)

2004-04-01 Thread Stormblade
Thank you much for your trouble-shooting help. I was able to get things working thanks to you. In the end it was my firewall script. The port was open as I said, however, I forgot that I had specified a port range for re-direction and yup 8080 was in that range. So I changed it to exclude 8080

Tomcat 5.0.19, IIS, Windows XP

2004-04-01 Thread Jay Rutten
I am having problems getting the examples to work in an out of the box scenario. Here is what I have installed: 1) JSDK 1.4.2_02 (auto-upgraded to 1.4.2_02-b03) with JAVA_HOME set appropriately. 2) Tomcat 5.0.19 installed and running as a service. The only options changed during install were the

SOLUTION: context mapping problem after upgrade from 4.1.29 to 4.1.30

2004-04-01 Thread Jim Hopp
I found the solution to this problem. The symptom was that ALL request URI's were treated as '' under 4.1.30, using the same server.xml file that had worked fine under 4.1.29. The solution was to add 'useURIValidationHack=false' to the each of the Connector statements. Apparently setting this

Re: Automatic gzip of tomcat logs in Linux?

2004-04-01 Thread QM
On Thu, Apr 01, 2004 at 01:33:09PM -0500, Rhino wrote: : It would surprise me if Tomcat is the culprit here since Tomcat 4.1.24 on my : Windows XP doesn't zip its logs but I thought I'd ask anyway. If anyone else : is using Tomcat 4.1.x on Mandrake, maybe you can suggest an alternate cause : for

RE: DataSourceReal with tomcat

2004-04-01 Thread Shapira, Yoav
Hi, See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html#DataSou rceRealm. If you want anyone to help more, be specific about your problems. Yoav Shapira Millennium Research Informatics -Original Message- From: Dani [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01,

Re: Getting all these errors in my mod_jk_4.log

2004-04-01 Thread QM
On Thu, Apr 01, 2004 at 12:46:29PM -0600, Randy Paries wrote: : everytime one of the other sites gets access i get the following entry in : the mod_jk.log file : [Thu Apr 01 12:02:13 2004] [jk_uri_worker_map.c (500)]: Attempting to map : URI '/ldirectordping.html' : [Thu Apr 01 12:02:13 2004]

Re: Re: Re: Re: Installation Help Needed

2004-04-01 Thread Stormblade
No offense but sometimes we get burned by the silly little things. No offense taken. As a programmer I definitely have been bitten by the silly little things often enough that I'll try whatever. Everything seems to point to a firewall/router ACL issue. Are there any devices between the

  1   2   >