Although possible it has several drawbacks.
- Singletons that are just a class will never
be garbage collected. Instance singletons can
be, as soon as there is no reference to it.
- If you want to pass that singleton around, you loose
typesafty. (The singleton is just instance of
Not sure this is a STRUTS question, but I am using
STRUTS to implement this application and there might
be somethign going on there that I am not aware of.
This is what I am using:
Struts 1.1b, Tomcat 4.1, J2SDK1.4.1.
I have my jsp's installed under WEB-INF\jsp and my
application is placed in a
That would depend on if the constructor actually *does* something.
If it needs to set up a connection pool, parse an XML configuration file, or
whatever, then you have the choice of,
- doing this once, reliably, in the constructor, or
- making sure that every single last static method checks to
Boris Folgmann wrote:
Ryan Cornia wrote:
Anyone using JNDI datasources that reconnect in case of a lost link to
the DB server?
Any examples? I'm using the I-net driver for Oracle
Interesting question. In fact I have the same problem, using DBCP and
PostgreSQL. I looked trough the Javadocs
-Ursprungliche Nachricht-
Von: Henning Heil [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 28. Januar 2003 21:50
An: Tomcat Users List
Betreff: [OT] jspMyAdmin
Good evening!
(or good-whatever daytime you may have :-))
I just found an older version (0.6) of this tiny little
Hi there,
I've asked some question before regarding remote debugging of JSPs with
tomcat4. Since nobody has responded yet, I'll give it another try. Can
anybody please tell me how they debug JSPs with tomcat4?
Regards,
Ron
I use Netbeans. You can get it at www.netbeans.org.
NetBeans (current Version 3.4.1) use the integratet tomcat4.0.4 but I read
somewhere
that you can also debug remote.
Dietmar
Ron van Pol [EMAIL PROTECTED] am 29.01.2003 11:24:30
Bitte antworten an Tomcat Users List [EMAIL PROTECTED]
On Wed, Jan 29, 2003 at 11:24:30AM +0100, Ron van Pol wrote:
I've asked some question before regarding remote debugging of JSPs
with tomcat4. Since nobody has responded yet, I'll give it another
try. Can anybody please tell me how they debug JSPs with tomcat4?
With great care and
Hi guys,
I've gotten help from John Turner on this problem of mine (where
/manager works, and /admin gives me a 404.
The error logs have this output:
- Root Cause -
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
Nikola Milutinovic wrote:
I believe that if you set up connection verification query in your DataSource
definition in server.xml it will reconnect. Haven't tried it, though.
Do you know that it was made for this purpose or are you simpley guessing
from the Javavdoc?
Klavs,
From the error message, it sounds like:
/opt/jakarta/tomcat/webapps/../server/webapps/admin/WEB-INF/lib/struts.jar
cannot be created, probably because the directory structure required isn't
there.
If you canonicalise the path, you end up with the following:
Just a thought. Have you set your CATALINA_TMPDIR environment variable?
Its default value is $CATALINA_BASE/temp which doesn't exist by default ;)
klavs klavsen wrote:
Hi guys,
I've gotten help from John Turner on this problem of mine (where
/manager works, and /admin gives me a 404.
The error
On Wed, 2003-01-29 at 12:34, Daniel Brown wrote:
Klavs,
From the error message, it sounds like:
/opt/jakarta/tomcat/webapps/../server/webapps/admin/WEB-INF/lib/struts.jar
cannot be created, probably because the directory structure required isn't
there.
If you canonicalise the path,
On Wed, 2003-01-29 at 12:41, Jon Wingfield wrote:
Just a thought. Have you set your CATALINA_TMPDIR environment variable?
Its default value is $CATALINA_BASE/temp which doesn't exist by default ;)
And a VERY GOOD thought at that :)
That was the problem. Perhaps you should think about making
hi!
i'm using the jasper engine within the jetty server where i have a webapp including
servlets and JSP. this usually works just fine. now i changed my app to be deployed
via web start and created a custom classloader. the way my app is startet can be
described like this:
1) extract/copy jar
hi:
how to define a JAVA_HOME environment variable in which the path of my JDK must be set.
thankx
-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
use the command at command prompt
set JAVA_HOME=the path of your jdk
gautam
At 12:19 AM 1/29/03 -0800, you wrote:
hi:
how to define a JAVA_HOME environment variable in which the path of my JDK
must be set.
thankx
-
Do you Yahoo!?
Yahoo! Mail Plus -
Craig R. McClanahan wrote:
On 28 Jan 2003, Felipe Schnack wrote:
Date: 28 Jan 2003 19:26:27 -0200
From: Felipe Schnack [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: servlets
So if I have just one servlet and
Is there something that I need to add to web.xml file so that I could get
the line number of a JSP when an exception gets thrown?
Currently, when a NullPointerException is thrown, it gives me only the line
number in the translated .java file.
Nandyal
- Original Message -
From: Nandyal
Mike Jackson wrote:
The difference is that if you use a singleton there's one instance. If
everything
is static then you only have one copy. Usually when you use a singleton
it's to
control access to some resource, the intent is that you use the singleton
and some
synchronized calls (note I
It may differ from one Operational System to another...
If you're using Unix (bash) for example it is:
export JAVA_HOME=path
[]'s
Tiago.
-Mensagem original-
De: gautamjha [mailto:[EMAIL PROTECTED]]
Enviada em: quarta-feira, 29 de janeiro de 2003 09:51
Para: Tomcat Users List
Assunto:
Go to Tomcat's work directory. Drill down within that directory until you
find that java file. All JSPs are converted to .java files, then compiled
into servlets by Tomcat (or rather, Jasper). Open up the java file in an
editor, go to that line number.
John
-Original Message-
Hi,
In Tomcat4, I can not get the right context of other webapp from my app. My
app is set as the doc root. For example I have configuration like
Context path= docBase=MyApp debug=0 reloadable=true
crossContext=true/
Context path=/OtherApp docBase=OtherApp debug=0 reloadable=true
Thanks John, I have done that. I think, my question was not clear. In
Weblogic, you could set the following tags:
jsp-descriptor
jsp-param
param-namedebug/param-name
param-valuetrue/param-value
/jsp-param
/jsp-descriptor
in web.xml file to get the line
Hi list!
My platform is HPUX 11.0, Tomcat 3.3.1, Apache 1.3.19
The command I'm using to compile is:
apxs -I$JAVA_HOME/include -I$JAVA_HOME/include/hpux -I../jk -o mod_jk.so -c *.c
../common/*.c
The error msg I've got is:
gcc -DHPUX11 -DMOD_SSL=208103 -I/usr/local/php-4.0.6
Don't know. Check the web.xml DTD, that will tell you exactly what is
allowed and what isn't.
John
-Original Message-
From: Nandyal [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 8:18 AM
To: Tomcat Users List
Subject: Re: How do I get the line number in a JSP .
Hi,
To set an application to be in the root context, use:
Context path= docBase=ROOT debug=0 reloadable=true
crossContext=true/
BTW: I don't know if you can nest Contexts.
Cheers,
János
| -Original Message-
| From: Peng Annie / FINLAND [mailto:[EMAIL PROTECTED]]
| Sent: Wednesday,
Tomcat cannot do this at this point. It would be an enhancment to
Jasper. Patches are greatly welcome to implement this.
-Tim
Nandyal wrote:
Thanks John, I have done that. I think, my question was not clear. In
Weblogic, you could set the following tags:
jsp-descriptor
jsp-param
I am a bit confused about creating packages for
javabeans. I am working thru a book titled JSP
Weekend Crash Course which mentions nothing about
compiling the bean into a package or using an include
statement in the JSP page. Is the book incorrect or is
this also a viable solution.
--- Wilson
Thank you Tim and John for your replies.
Nandyal
- Original Message -
From: Tim Funk [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, January 29, 2003 6:28 AM
Subject: Re: How do I get the line number in a JSP .
Tomcat cannot do this at this point. It
Hi ,
The following method in screen class returns the data without any problem if
the database used is Oracle 8i and when I change the database to mysql the
method returns null value.
private Vector getPatientRegnData(){
try
{
String strPin=1;
String strEncNo=1;
Criteria criteria =
Hi,
Is it possible to integrate tomcat (web
server)and weblogic (App server)..if so how it is possible?..
Any help would be appreciated
thanks,
Ramkumar
Weblogic and Tomcat do the same thing! They are both java servlet
containers... It might make sense to integrate Tomcat with Apache or
Weblogic with Tomcat but _not_ weblogic and Tomcat.
-Original Message-
From: Ramkumar Krishnan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05,
Percival Bragg wrote:
I am a bit confused about creating packages for
javabeans. I am working thru a book titled JSP
Weekend Crash Course which mentions nothing about
compiling the bean into a package or using an include
statement in the JSP page. Is the book incorrect or is
this also a viable
Thaks for your help on this problem.
--- Erik Price [EMAIL PROTECTED] wrote:
Percival Bragg wrote:
I am a bit confused about creating packages for
javabeans. I am working thru a book titled JSP
Weekend Crash Course which mentions nothing about
compiling the bean into a package or
I've tried adding the following and I still have the same problem as Ryan.
parameter
namevalidationQuery/name
valueSELECT 1 FROM DUAL/value
/parameter
When I check my 4.1.18 Tomcat server every morning I get:
WARN [Ajp13Processor[11009][7]]
Howdy,
Thanks Yoav. My problem is that I want to minimize the downtime in the
production system. I can try it in our test server and come up with the
fastest way to do it. There are many dependencies to start fresh,
including conf files, IIS redirector, etc.
Do everything on your production
mmmh, Peter, copied the files to common/lib and restarted tomcat, the
error still remains:
org.apache.jasper.JasperException: /myadmin/jspmyadmin/index.jsp(16,0) This absolute uri (http://jakarta.apache.org/taglibs/i18n-1.0) cannot be resolved in either web.xml or the jar files deployed with
Hi,
In Tomcat4, I can not get the right context of other webapp from my app. My
app is set as the doc root. For example I have configuration like
Context path= docBase=MyApp debug=0 reloadable=true
crossContext=true/
Context path=/OtherApp docBase=OtherApp debug=0 reloadable=true
Have you tried Yoav's suggestion from yesterday?
There's no need to keep posting this. We get it.
John
-Original Message-
From: Peng Annie / FINLAND [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 9:18 AM
To: '[EMAIL PROTECTED]'
Subject: Can anyone help? Context
Hello list,
I just installed Tomcat4 as RPM on Redhat 8 with apache2 installed.
I have configured my workers.properties, setup JAVA_HOME, CATALINA_HOME
On trying to start tomcat4 the logfile /var/tomcat4/logs/catalina.out
shows:
ERROR reading /var/tomcat4/conf/server.xml
At Line 96
Are you positive JAVA_HOME and CATALINA_HOME are set? I don't use RPMs, but
I think that in this case the RPM sets up a user specifically for Tomcat
(tomcat4?). JAVA_HOME and CATALINA_HOME either need to be set for that user
and not you, or for all users.
John
-Original Message-
This solution seems to work great for me. After adding this and
re-booting the database server, it re-connected and worked great
automatically
Thanks a ton Nix.
Ryan
[EMAIL PROTECTED] 01/29/03 07:11AM
I've tried adding the following and I still have the same problem as
Ryan.
That's what I meant. I just wrote it confusiingly mixing directory
structure ( / ) with periods ( . ). Sorry for the confusion.
Jake
At 07:08 AM 1/29/2003 +, you wrote:
So, instead of WEB-INF/classes/MyBean, it would be something like
WEB-INF/classes/com.mypackage.MyBean
What works
John wrote:
There's no need to mirror content in two directories, nor is there
any need to point Tomcat at Apache's content root. You can just
make Apache's doc root the same as Tomcat's Context root and the
issue goes away. Or, just put your JSP and servlets in Tomcat's doc
root and leave it
I notice that tomcat 4.1.x explicitly sets $JAVA_HOME/lib/tools.jar and the
bootstrap.jar file to the classpath, but that seems it. It overwrites any
other classpath settings that may be part of the system. How does the
compiler know to search for things like $JAVA_HOME/jre/lib/rt.jar? Are
Thanks! Looks interesting. I've not tested it yet. BUT i'm using the
exception option in the struts-config.xml to show via html:errors/ some
relevant exceptions to the user (and mail them to me --as bugs?--). so who
will catch the exceptions? j4l, the strut's ExceptionHandler or both?
spying
How Tomcat finds classes:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
John
-Original Message-
From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 10:25 AM
To: Tomcat Users List
Subject: How does Tomcat set the classpath???
Ahh I see why you were asking me via email.
No I have the keystore file specified. The self-gen
keystore works fine with Tomcat but the purchases SSL
that I've added to the keystore via the keytool docs
does not work. The logs show that Tomcat accepts the
SSL configuration but when I hit it from
I'm developing on Tomcat 4.1.12 and have not been able to get session to timeout
anywhere near where I set them. Tomcat seems to completely ignore what's in web.xml's
session-config. I saw a post that suggested adding defaultSessionTimeOut=10 to
the Context in server.xml and at least this value
hello all
I want to use SAXON XML parser in my WEB app. I put saxon.jar and saxon-jdom.jar in
web-inf/lib
of my web app. Now Tomcat doesnt work at all, it throws at startup:
[ERROR] Digester - -Digester.getParser:
javax.xml.parsers.ParserConfigurationException:
AElfred parser is
Jacob Kjome wrote:
Hello Mehdi,
If you are using DBCP connection pooling, your driver *must* exist in
CATALINA_HOME/common/lib. This is because the DBCP libraries exist in
common/lib and the fact that classes from common/lib do not have
access to the child classloader in WEB-INF/lib.
I have a static method that starts a thread with a class that does some
clean-up tasks.
public static void init(){
Thread t = new Thread( new ClearUserHashMapClient() );
t.start();
}//init
How can I configure my webapp to call this init() method when I deploy my
war file on Tomcat.
Hi,
If I set my maxProcessors sufficiently low (say 5), then run a script from
another machine that floods Tomcat with requests for a given JSP, eventually
Tomcat stops accepting socket connections at all.
Ok, that's to be expected when every processor thread is busy. BUT, when the
flood stops,
No, I mean the docBase attribute of Context can be the same as Apache's
DocumentRoot. That way, all of your content is in one location. The
requests will still be handled appropriately by Apache and Tomcat based on
JkMount/JkUriSet.
John
-Original Message-
From: Mark O'Neil
Hi John,
Here the beginning of my startup-script:
# Source function library.
. /etc/rc.d/init.d/functions
# Setup JAVA_HOME to your JDK home dir
export JAVA_HOME=/usr/java/current
#export TOMCAT_HOME=/home/tomcat4
export PATH=$PATH:/usr/java/current/bin
export TOMCAT_HOME=/var/tomcat4
export
org.apache.jasper.JasperException:
/myadmin/jspmyadmin/index.jsp(16,0) This absolute uri
(http://jakarta.apache.org/taglibs/i18n-1.0) cannot be resolved
in either web.xml or the jar files deployed with this application
at
Howdy,
Implement a javax.servlet.ServletContextListener, and call that init
method in the listener's contextInitialized() event. Don't forget to
put the listener in your webapp's web.xml file.
public static void init(){
Thread t = new Thread( new ClearUserHashMapClient() );
t.start();
I know that this topic has been covered over and over... I went to the
archives but didn't find a solution to my problem.
I downloaded and installed (on Solaris 8 box) jakarta-tomcat-4.1.18.
Unzipped the file (I don't have GNU Tar installed on this machine to get the
tar version, and my company
If you create that as a servlet, you can set the startup to 1 which will call it each
time the webserver starts.
Is that what you are looking for?
servlet
servlet-nameservletname/servlet-name
servlet-classcom.skp.someclass/servlet-class
Erik,
a.f.a.i.k. the driver has to be added to the classpath (I did it like
that and it works fine.)
rgds,
Henning
Erik Price wrote:
Jacob Kjome wrote:
Hello Mehdi,
If you are using DBCP connection pooling, your driver *must* exist in
CATALINA_HOME/common/lib. This is because the DBCP
hello all
We have finished a large project which was based on Tomcat and Struts farmework.
Now our client wants to use SSL.
Our architecture is as follows:
Client-ssl content-Apache (MOD_SLL) -unencrypted content- Tomcat
We use Tomcat 4.1.18 (have tried also 4.0) and Apache HTTP
Hello Erik,
If you aren't using DBCP, then you can ignore all the stuff about the
driver needing to be in common/lib. The only reason it needs to be
there is for DBCP to have access to the driver.
As far as why, after a restart, it doesn't work in either place, I
have no idea. Sounds like an
Looks OK to me. Like I said, I don't use the RPMs, my point is just that
binary installs of Tomcat and the RPM install typically work out of the
box. If they don't, it's usually related to permissions or invalid/missing
environment variable settings.
What happens if you run a command like
Hello Màris,
That particular quote that you mention below (from the Tomcat docs)
needs to be rewritten. You can't override endorsed packages from
within the WEB-INF/lib. It violates the Sun classloading spec and
ever since Tomcat-4.0.2, Tomcat enforces this.
For evidence of this, see...
John,
According to this document, bootstrap.jar contains the basic runtime classes
provided by the Java Virtual Machine. That does not seem correct. In Sun's
JDK, rt.jar contains most of the basic runtime classes. How does that get
loaded? Does the VM take care of this on it's own somehow?
I
Hi
I am using tomcat 4.0.1 in redhat linux 7.2. This server is behind the firewall. And
my database is DB2 on an AS400 machine which is outside
the firewall. The firewall rule allow any connection from and to
both the servers.
Still i get some database connection dropped. Did any one came
Make sure you have the JDK and not the JRE, if you have the JRE you need
the tools.jar from the JDK, if you have the JDK and still get the
problem make sure tomcats classpath can see tools.jar.
John
-Original Message-
From: Marcelino Cruz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
Maris -
I have done this on several occasions with mod_jk without any problem. I
can't compare it to mod_proxy, since I rarely use it, but I suggest you
try mod_jk.
Regards,
Lajos
Mris Orbidns wrote:
hello all
We have finished a large project which was based on Tomcat and Struts farmework.
Mike Kay, the creator of Saxon, says:
This problem is caused by the fact that you have made AElfred the
default XML parser. Tomcat needs a validating parser for its own use,
and AElfred isn't a validating parser. You can usually solve the problem
by changing the order of things on the
Hi all,
I get this strange error message:
[Fatal Error] :-1:-1: Premature end of file.
when dragging or creating folders into my webfolder.
This happens with my own webdav module (I finally manged to extract
webdav from Tomcat 4), as well as with the original Tomcat 4
installation. The only
-Original Message-
From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
According to this document, bootstrap.jar contains the basic
runtime classes
provided by the Java Virtual Machine. That does not seem
correct. In Sun's
JDK, rt.jar contains most of the basic runtime classes. How
Will it work for 24 hours is the question... ;) If it does, maybe I should
change to a different Oracle JDBC Driver. Do you have any timeout
limitations set on the connecting user? We do, and I'm wondering if that's
causing my problems.
Thanks,
Matt
-Original Message-
From: Ryan
Hi Lajos,
Which is your platform ?
Thanks,
Ing. Gustavo A. Edelstein
Tech. Mgr.
Equiplus S.A.
www.equiplus.com
- Original Message -
From: Lajos [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, January 29, 2003 1:26 PM
Subject: Re: Tomcat and Apache+SSL
I am using tomcat 4.1.18 in mandrake linux 8.2.
My database is a DB2 on an AS400 machine,but i cant
login in the as400. I put the jt400.jar in
TOMCAT_HOME=/commom/lib, my aplication to make a test
is in /webapps inside the TOMCAT_HOME,i use this
driverClassName
we have Tomcat and Apache on different hosts.
Do we need to install Tomcat on Apache's host too ?
Apache HTTP server needs config file workers.properties.
It has a property Tomcat_home which points to Tomcat installation.
Maris
-Original Message-
From: Lajos [mailto:[EMAIL
I'm not the expert (that would be Craig or someone else with his level of
knowledge and experience...Craig wrote the document), but I think you are
confusing the Bootstrap ClassLoader with bootstrap.jar.
Bootstrap - This class loader contains the basic runtime classes provided
by the Java
has anyone come across an implementation of a realm for Tomcat which
authenticates users against the operating system's logins/passwords?
thanks in anticipation
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I've done it on Linux, Solaris and Windows. I have various guides on my
site, www.galatea.com/flashguides, that detail my experiences. The
biggest problem I've had was in some Tomcat 4.0.x versions that didn't
correctly support authentication over SSL using mod_jk. But that seems
to be cleared
Try to put the jt400.jar in /lib dir. it works for me.
Best of luck
Perumal.
x x [EMAIL PROTECTED] wrote:
I am using tomcat 4.1.18 in mandrake linux 8.2.
My database is a DB2 on an AS400 machine,but i cant
login in the as400. I put the jt400.jar in
TOMCAT_HOME=/commom/lib, my aplication to
I don't have any timeout settings set. I'm also not using the driver
from Oracle. I'm using a third party driver from inetsoftware.de. If
it's not working in 24 hours, I'll let your know.
Ryan
[EMAIL PROTECTED] 01/29/03 09:43AM
Will it work for 24 hours is the question... ;) If it does, maybe
Actually, I think you can dispense with the workers.tomcat_home setting.
Just place workers.properties somewhere where httpd.conf can access it.
Regards,
Lajos
Mris Orbidns wrote:
we have Tomcat and Apache on different hosts.
Do we need to install Tomcat on Apache's host too ?
Apache HTTP
Jacob Kjome wrote:
Hello Erik,
If you aren't using DBCP, then you can ignore all the stuff about the
driver needing to be in common/lib. The only reason it needs to be
there is for DBCP to have access to the driver.
As far as why, after a restart, it doesn't work in either place, I
have no
Thanks for your promptly answer, Lajos. I've red those guides but my problem
is compiling mod_jk in HPUX 11.00
Best regards,
Ing. Gustavo A. Edelstein
Tech. Mgr.
Equiplus S.A.
www.equiplus.com
- Original Message -
From: Lajos [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent:
Power-Netz (Schwarz) wrote:
org.apache.jasper.JasperException:
/myadmin/jspmyadmin/index.jsp(16,0) This absolute uri
(http://jakarta.apache.org/taglibs/i18n-1.0) cannot be resolved
in either web.xml or the jar files deployed with this application
at
Ouch, sorry. I don't have access to HPUX otherwise I'd build some
binaries ;)
Lajos
Ing. Gustavo Edelstein wrote:
Thanks for your promptly answer, Lajos. I've red those guides but my problem
is compiling mod_jk in HPUX 11.00
Best regards,
Ing. Gustavo A. Edelstein
Tech. Mgr.
Equiplus S.A.
Thanks for the info, that would seem to make sense. The real reson for this
problem is that I'm trying to figure out why the necessary classes in the
IBM JDK don't get loaded. I'm assuming the Bootstrap classloader calls jar
files by name and doesn't know the names of the jar files in the IBM
thank you
yes I managed to get SAXON XSLT engine to work with Tomcat's XERCES parser.
Changed classname in file javax.xml.parsers.SAXParserFactory in saxon.jar
Maris Orbidans
-Original Message-
From: Mitchell, Edmund [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003
TC 4.1.18, Coyote JK over AJP13 w/ mod_jk. We're seeing a message like
this in our logs for virtually every request:
Jan 29, 2003 11:34:40 AM org.apache.jk.common.ChannelSocket
processConnection
SEVERE: Error, processing connection
java.net.SocketException: Socket closed
at
I have the JDK.
In $CATALINA_HOME/bin (I understand this replaces $TOMCAT_HOME in the newer
versions of Tomcat?) there is a startup.sh that calls catalina.sh that in
turn calls setclasspath.sh. setclasspath.sh was asking for a $BASEDIR
variable that I set to be equal to $CATALINA_HOME. Now, my
I'm pretty sure there are people using Tomcat with other JVM's besides
Sun's.
John
-Original Message-
From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 12:31 PM
To: Tomcat Users List
Subject: RE: How does Tomcat set the classpath???
Thanks for
I would like to rotate the tomcat logs hourly. If it works anything like
apache, I can't just grab the log file, as I also have to get apache to
close all its files and reopen them. Is there a way I could do that from
the command line without stopping and restarting the service?
Thanks for your
Here is a contrary point of view.
They have nothing close to the same level of functionality. Tomcat is a JSP
and servlet container. Weblogic can do these things, but it is also an EJB
container, RMI server, insert list of features here.
In some cases it makes sense to integrate tomcat with
If you have the JDK and Tomcat 4.1.18, you don't have to do any of that.
All you need to do is set JAVA_HOME, and CATALINA_HOME. You shouldn't have
to edit any startup scripts whatsoever, nor do you need to set a CLASSPATH
environment variable.
For the exact steps needed to install Tomcat, see
I put the tools.jar in my webserver/common/lib
-Original Message-
From: Marcelino Cruz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 12:46 PM
To: Tomcat Users List
Subject: Re: JSP Compilation Error
I have the JDK.
In $CATALINA_HOME/bin (I understand this
Is there a jikes build supporting -encoding for windows available?
Timo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
SRV.9.1 of Servlet Spec 2.3 says:
A web application is rooted at a specific path within a web server. ... A
servlet container can establish rules for automatic generation of web
applications. For example, a ~user mapping could be used to map a web
application based at /home/user/public_html/.
Howdy,
One way to do this would be to define a Host per student with the
appBase at the student's public_html (or webapps, or whatever)
directory?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003
One way to do this would be to define a Host per student with the
appBase at the student's public_html (or webapps, or whatever)
directory?
Thanks! I neglected to mention that Apache is also involved, so that may
complicate the issue.
--
Wendy
Hi,
What Henning did OK, I have the driver in my ..server/lib and works
also.
Tony
On Wednesday, Jan 29, 2003, at 17:02 Europe/Berlin, Henning Heil wrote:
Erik,
a.f.a.i.k. the driver has to be added to the classpath (I did it like
that and it works fine.)
rgds,
Henning
Erik Price wrote:
1 - 100 of 182 matches
Mail list logo