One solution is to use the Xvfb (virtual X frame buffer) to avoid having
to run a full blown X server on your box.
On Fri, 4 May 2001, Michael Weissenbacher wrote:
i'm having big problems with graphics dynamically created with tomcat on
linux. on windows, the servlet works fine, on linux i
Try something like -green (as opposed to -native) as the first command
line argument. This is how it works on the bd jdk 1.17 at least. If not,
have a look at the $JAVA_HOME/bin/java wrapper, it should have details in
there, and probably a way to change the default threading model.
Like you,
The logs just go to stdout as normal. Assuming you're using a Unix
variant, when you run startup.sh from a console, the stdout output goes to
the console window by default. If you log out then you'll lose any further
output, but Tomcat will continue as normal.
I redirect stdout and stderr to
And another, we're serving up 5000 pages per day from our application
(April stats), Tomcat has never crashed, and has run for well over a month
without hitch (restarting Tomcat only necessary when the application gets
updated). RH Linux 6, Tomcat 3.2.1, Apache 1.3.9, Sun JDK 1.2
Kevin
On Wed,
If you're using a differenct machine to edit the JSP files, check that the
clocks are synchronised, this is a common problem...
On Fri, 6 Apr 2001, Joseph A. Noble wrote:
How do I get tomcat to re-compile a JSP page? I've successfully loaded
a JSP page and it runs fine. I made a slight
If you're running Tomcat standalone, try changing the port value to 443
rather than 8443 (and make sure any firewalls are configured to allow this
protocol) (or of course append :8443 to your https request).
Kevin
On Tue, 3 Apr 2001, Alex Colic wrote:
I have been trying to set up tomcat to
On Tue, 3 Apr 2001 [EMAIL PROTECTED] wrote:
The other thing is the security. I would like to restrict the access to ONE
of the two servlets to a couple of IP addresses. Does Tomcat offer a
possibility for that ? I saw that by modifying the tomcat.policy file I can do IP
filtering, but that
If Tomcat core dumps, it could be a bug in the JVM. Since you're running
Java code, and there's no way that Java code can legally cause a core
dump, then you should look to upgrade your JVM. Also, if you're using an
SMP box, then make sure that the JVM you're using is compatible.
Kevin
On Fri,
ate a bean with:
%@ import="/webapps/myapp/WEB-INF/classes/com/mydomain/TimeBean.class"
%
LMK
-Original Message-
From: Kevin Sangeelee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 12:38 PM
To: '[EMAIL PROTECTED]'
Subject: Re: BY ANY BEANS NECESSARY!
On Wed, 28 Mar 2001, Arif Tayebali wrote:
Does anyone know where to place JavaBeans in Tomcat??
And how do I reference these Beans from JSP pages??
And are these beans are to be saved as .class files??
Make sure your beans are in a package, and that they are instantiated on
the JSP page
I have had this problem before, caused by the fact that loadable module
support wasn't compiled by default by RedHat's build of Apache (!!)
This meant that the LoadModule directive didn't exist as far as my
(default) version of httpd was concerned. The solution was to rebuild
apache with the
1 and have hacked my smb.conf to pieces.. kinda
the best part about using samba is seeing ^M all over the place when you use
vi
but yeah I'll try that net command.. learn something new everyday...
-ryan
- Original Message -
From: "Kevin Sangeelee" [EMAIL PROTECTED]
On Fri, 23 Mar 2001, Jason wrote:
I run the tomcat using startup.sh using the user "root". It runs
fine. If I run it using the same startup.sh but using the user "nobody"
instead, then I will get ".jsp file: file not found" when running
few sample programs. E.g. the "INCLUDE"
On Thu, 22 Mar 2001, Ryan wrote:
I don't know if this has been covered in the recent postings, but I've had
similar problems in the past which were due to the fact that my samba
configuration defines timestamps on files to be that of the client writing
the file. This means that if your PC is
This is true, but it's possible to configure samba to cooperate nicely
with it's native file system. I'm not at work at the moment so I can't
check my files, but I think that rummaging around the docs on pessimistic
locking gets you close to the issues. I'm currently running samba/tomcat
on a
from the above email, I just Guess perhaps there is Also
a "real-world Maximum length of POST"(from your email,
it is 2048 ?) is it right?
I don't think this is the case. A file-upload using multi-part form data
uses POST, and the limits have to be imposed by the servlet (or whatever)
on a Unix system?
Kevin Sangeelee
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
academic (IMHO).
I don't think though that anyone would question the statement that Apache
as native code will always perform better than a JVM server. But if Tomcat
suits your needs (as it often does mine), who cares? Better keeping things
simple.
Kevin Sangeelee
p.s. make sure, esp. if you run
coding any directory path info.
I've used the following in the past, where s is a ServletConfig object
ServletContext sc = s.getServletContext();
String fullPath = sc.getRealPath("") + "WEB-INF/myfiles/xyz.dat"
Kevin Sangeelee
On Tue, 13 Feb 2001, Randy Layman wrote:
You could suck in all of the resultset into some data holding object
(List of basically C-style structs) and store this in the session. Then use
a current page variable to select the correct rows. This would probably
waste lots of memory but
On Mon, 5 Feb 2001, Carlos wrote:
can anybody say me how limit the tomcat process number to 15 in a linux?
in my linux tehere are a lot of threads
thanks
Carlos
The processes you see are in fact just threads, and are apparently just an
annoying side-effect of the (current?) Linux threads
You could execute some simple SQL and catch any exceptions to test the
connection and re-establish it if necessary. There's also an isClosed()
method of Connection which the docs say will test to see if a connection
is closed.
Theres some stuff in javax.sql (jdbc extensions) that provide
On Fri, 2 Feb 2001, Carlos wrote:
in jsp how i get the date for print in web in the format XX-XX-XX?
java.util.Calendar - but *please* - this is not a Tomcat or even JSP
issue.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
I noticed that while you set TOMCAT_HOME, you didn't set JAVA_HOME. Could
it be that Tomcat is using the wring JVM (i.e. kaffe that's installed by
some distributions)?
On Thu, 1 Feb 2001, Brett Perkes wrote:
I can start Tomcat from the command line and it continues to run great, even
runs my
On Thu, 1 Feb 2001, Randy Layman wrote:
(Although I would also be suprised if a Microsoft operating system
could count to 72 million ;) )
In fact, it can - this is precisely the number of NO-OP instructions it
executes while 'Writing unsaved data to disk'.
Sorry folks! I couldn't
The tags you describe below look almost exactly the same as those I
created myself just today, and it works OK.
Where is the 404 being generated? Are you using Apache and mod_jk? If
so, is the invalid path that you're providing one that would normally be
handled by Apache (i.e. Apache generates
26 matches
Mail list logo