Pass parameter to the JVM at startup

2005-05-05 Thread =?iso-8859-1?Q?Ac=E1cio_Furtado_Costa?=
Hi ALL, Does anyone know how to pass one parameter by Tomcat 5.0.28 to the starts JVM? I need to pass the "- server" parameter to the JVM (SUN 1.4.2) but I don´t know where I put this to call JVM. Thanks Acacio Furtado Costa Pesquisa e Tecnologia GIA - Magnesita S/A * [EMA

Tomcat server memory optimization

2005-05-04 Thread =?iso-8859-1?Q?Ac=E1cio_Furtado_Costa?=
I read an article about "Considering the server VM". In this article I realize the JVM (Sun´s) actually contains different VM inside the binary that´s executed to start up Java applications: the Client and The Server VM. The server VM trades priorities for emphasis on greater scalability for

RE: Tomcat 3.3 Startup error

2001-11-15 Thread Sean M McGrath/AC/VCU
I'm a Windows user, but I would expect you could do something like: /usr/java130/bin/jar -tf /usr/local/jakarta/jakarta-tomcat-3.3/lib/tomcat.jar and maybe just: jar -tf /usr/local/jakarta/jakarta-tomcat-3.3/lib/tomcat.jar Larry > -----Original Message- > From: Sean M McGra

RE: Tomcat 3.3 Startup error

2001-11-15 Thread Sean M McGrath/AC/VCU
appears to be in the classpath. Can you display the tomcat.jar's contents with the jar program to see if it might be corrupt? Larry > -Original Message- > From: Sean M McGrath/AC/VCU [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 15, 2001 4:33 PM > To: [EMAIL PROT

Tomcat 3.3 Startup error

2001-11-15 Thread Sean M McGrath/AC/VCU
Please assist with correcting the following tomcat startup error ... # startup.sh Using classpath: ./../lib/tomcat.jar Using JAVA_HOME: /usr/java130 Using TOMCAT_HOME: /usr/local/jakarta/jakarta-tomcat-3.3 # Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tomcat/s t

mod_jk as static module

2001-06-21 Thread Sean M McGrath/AC/VCU
Can mod_jk be compiled as static module as opposed to Shared Object in Apache? My platform AIX 4.3.3 Apache 1.3.12 Tomcat 3.2.2

Re: Best IDE for Servlet Development?

2001-04-29 Thread AC
I'm using Visual Age 4 java v. 3-5 and it seems to me very good for develobing and debugging... ac At 11.22 29/04/2001 -0700, you wrote: >huh? I used Visual Cafe 4.0 for a long time, doing servlet 2.2 stuff...when >you say it didn't support the latest servlet api what do you

Re: freeBSD

2001-04-21 Thread AC
I'm using tomcat on freeBSD with jdk 1.8 native with TYA jit, another one with jdk 1.2 native, still another one with linux-jdk 1.2 and I've tested linux jdk1.3 (classic mode only) in my test machine. No problem till now on all the server. Even the jakarta.apache.org site is running freeBSD!!

Re: TOMCAT 3.2.1 and mod_jserv for FreeBSD

2001-04-18 Thread AC
At 12.16 18/04/2001 +0200, you wrote: >Hi ! > >I´m a new user of the TOMCAT 3.2.1 system and >I´ve some problems: > >first: > >I run it on an FreeBSD 4.2 release with >Apache/1.3.12 OpenSSL/0.9.5a (Unix) installed and in use. >As a stand alone system TOMCAT will start but >when i try to compile t

alias servlet in Tomcat

2001-02-28 Thread AC
Hi, I am using Tomcat 3.1 and I need to shorten URL such that if I type in , it will get to the login servlet page. Basically, I have a servlet like com.abc.login and I was able to alias it to but I can't figure out a way to alias it further

Re: help building mod_jk

2001-02-27 Thread AC
this is an old problem. You should look first to the mailing list database! however I wonder why this bug still exist! This is an old response. --- I'm not sure where is the error in the makefile because I'm not a shell expert, but I solve the problem launching by myself apxs. The location of th

Re: ISP with tomcat

2001-02-07 Thread AC
If you need I can host you in my server ... Which kind of applications do you want to run? andrea At 06.56 07/02/2001 -0800, you wrote: >Does any one know a ISP with tomcat on it?? > > > >= >If your into Body For Life, check out >http://clubs.yahoo.com/clubs/bodyforlifestatenislandny > >__

Reloadable not working

2001-02-02 Thread AC
Hi, just a simple question.. I spend some times trying to disable the reloadable flax in my context. The server.xml configuration is: (I'm using virtual hosting) In this manner nothing happens. If you read the remarks on server.xml you notice that if you

Re: loading mod_jk.so, undefined symbol: map_name_at

2001-01-28 Thread AC
I found this error several times in ths mailing list You should find the answer... However this is one for freebsd I'm not sure where is the error in the makefile because I'm not a shell expert, but I solve the problem launching by myself apxs. The location of the apxs is (in my confi

Re: 100$ + free dinner in Italy for whom answers this one

2001-01-18 Thread AC
// Properties props = System.getProperties(); props.put("mail.smtp.host", getMailSMTPServer()); // Get a Session object javax.mail.Session mailSession = javax.mail.Session.getDefaultInstance(props, null); where getMailSMTPServer() method is somethin

RE: Samba expert

2000-12-15 Thread AC
http://www.samba.org/ andrea At 10.38 15/12/2000 +, you wrote: >The only documentation I had was the smb.conf file, wich explains what >command does what. One thing to check is whether or not you need to use >encrypted or plain-text passwords. Different versions of Windows may treat >encrypt

Re: Multi part stream error with 3.2 final - Any solutions?

2000-12-12 Thread AC
t; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 12, 2000 9:55 AM Subject: RE: Multipart and mod_jk It's a known bug in ajp13. I'll try to fix before 3.2.1 ;-) "Pour la plupart des hommes, se corriger consiste à changer de défauts." -- Voltai

RE: Multipart and mod_jk

2000-12-12 Thread AC
Is this a bug on ajp13 or on O'Reilly package?? andrea At 09.48 12/12/2000 +0800, you wrote: >Use mod_jk with AJP12 (not AJP13) will work > >Kenneth Kwan > > -Original Message- > From: AC [mailto:[EMAIL PROTECTED]] > Sent: Tuesday,

Multipart and mod_jk

2000-12-11 Thread AC
I've got a servlet that use the O'Reilly package to manage multipart request. If I use mod_jserv everything works fine. Once I use mod_jk the same servlet fails!!! Any solutions?? andrea

Re: Forward problems servlet to JSP in 3.2

2000-12-11 Thread AC
You should use servlet mapping. If you have http://myhost/myjsp.jsp the servlet that call your jsp should be mapped as http://myhost/myservlet . In this way all the relative links are still good. An additional hint.. if you map your servlet with an extension, for instance myservlet.Svlt and

Re: logs

2000-12-11 Thread AC
At 09.19 11/12/2000 +0100, you wrote: >i have the tomcat only working, without apache (in linux). You should not.. andrea

Re: Servlet Mapping

2000-12-11 Thread AC
I use this configuration... ... JkMount /tf/*.jsp ajp13 JkMount /tf/*.Svlt ajp13 ... where tf is the name of my webapp. I use for each servlet the servlet mapping config in web.xml. I've found a great performance improvement using this configuration!! andrea At 20.51 11/12/2000 +0800, you

RE: Tomcat Unix autostart

2000-12-11 Thread AC
the problem. First apache then >tomcat or vice versa, makes no difference. >Apache starting with the boot-script works fine. > >Regards, >Mario Beekwilder >CMG - TP Maastricht > > >-Original Message- >From: AC [mailto:[EMAIL PROTECTED]] >Sent: maandag 11 december

Re: Tomcat Unix autostart

2000-12-10 Thread AC
Tomcat should start after Apache during reboot. Also remember to set your classpath in the startup script. andrea At 08.44 11/12/2000 +0100, you wrote: >Hi, >I'm trying to start Tomcat whith rebooting a Unix machine. >Tomcat seems to start for a moment and then dissappears. >I have a startup s

RE: $20 bucks to the 1st person who actually solves my problem!!! - WE HAVE A WINNER!!!

2000-12-08 Thread NESTORS Andris (AC-Creation)
So it was nothing to do with caching ? # -Original Message- # From: Adress, David S. [mailto:[EMAIL PROTECTED]] # Sent: Friday, December 08, 2000 3:09 PM # To: '[EMAIL PROTECTED]' # Subject: FW: $20 bucks to the 1st person who actually solves my # problem!!! - WE HAVE A WINNER!!! # # #

RE: Tomcat on Linux

2000-12-07 Thread NESTORS Andris (AC-Creation)
Ports numbered below 1024 are "special". You can only use them as root. # -Original Message- # From: Kevin Jones [mailto:[EMAIL PROTECTED]] # Sent: Wednesday, December 06, 2000 7:15 PM # To: Tomcat-User # Subject: Tomcat on Linux # # # From a Linux newbie! # # What's the best way of

RE: SeedGenerator thread generated an exception

2000-12-06 Thread NESTORS Andris (AC-Creation)
Hmmm. To answer my own posting, use Sun JDK 1.3.0 and the problem goes away. # -Original Message- # From: NESTORS Andris (AC-Creation) # Sent: Tuesday, December 05, 2000 6:02 PM # To: '[EMAIL PROTECTED]' # Subject: SeedGenerator thread generated an exception # # Hi

Re: Problem compiling mod_jk.so

2000-12-06 Thread AC
This is the response I already posted to a tomcat-user with the same problem.. I thought the problem was only on FreeBsd!! Which is the os you use? --- I'm not sure where is the error in the makefile because I'm not a shell expert, but I solve

RE: FW: Tomcat, JSP and Cache

2000-12-06 Thread NESTORS Andris (AC-Creation)
Try this. (Its also explained in the archives, I'm sure) <% response.setDateHeader ("Expires", 0); %> You need to put it at the top of the page, as you would expect, and ALSO at the the bottom of the page, to get around a bug in some browsers e.g. MS Internet Explorer. e.g.

RE: VAJ and Tomcat 3.2

2000-12-06 Thread AC
At the IBM site you can find 2 classes to start and stop tomcat inside VAJ. If you can't find it I can send it to you directly andrea At 09.42 06/12/2000 +0100, you wrote: >-Message d'origine- >De : Rick Goeltz [mailto:[EMAIL PROTECTED]] >Envoyé : mardi 5 décembre 2000 19:07 >À : [EM

SeedGenerator thread generated an exception

2000-12-05 Thread NESTORS Andris (AC-Creation)
Hi I've just upgraded from Tomcat 3.1 to Tomcat 3.2. Now, my previously working apps are giving me the following error whenever they encounter a JSP: java.lang.InternalError: internal error: SeedGenerator thread generated an exception As a test, I tried some of the examples that come with Tomc

Re: fdatasync and mod_jk + freebsd...

2000-12-04 Thread AC
I've got Freebsd 4.1.1-STABLE with jdk 1.2 beta and it works fine. You should use the freebsd makefile to compile the mod_jk even if there is also a problem with it; you have to add ./jk/*.c at the end of the apxs command. from jk_util.c: #ifndef WIN32 #ifndef FREEBSD #ifndef NETWARE

Freebsd and mod_jk

2000-11-30 Thread AC
I've just downloaded the 3.2 release on my Frebse 4.1 and I was trying to use the mod_jk insetad mod_jserv. After following the instructions I've compiled with the Freebsd Makefile and include in my http.conf th Load module directive. This is the response I get apachectl configtest Syntax erro

Re: tomcat/freeBSD - mod_jk

2000-11-29 Thread AC
I'm running Tomcat 3.2b6 on a FreeBsd 4.1.1-STABLE with both Jdk 1.8, Jdk 1.2 Linux and native Jdk 1.2 Beta. I did some test with velometer and the response are quite good with all the versions. The fastest was the Linux version (!) but now I'm stressing the native 1.2 to check if is stable eno