Hi all, i like to use -server option JVM with jsvc.
If I use -server in CATALINA_OPTS doesn't work, i also use export
JAVA_OPTS=-server in the script but i don't know if this works. It seems
likes works fine, but i don't konw if -server option is working.
Thanks.
Mariano López
Possibly. If I am not mistaken it has to do with the fact that Apache under
windows uses a single worker thread whereas under Linux that is not the
case..
I think Mladen Turk is the authority to speak on that though.
Yiannis
-Original Message-
From: Bill Dudney [mailto:[EMAIL PROTECTED]
Howdy,
I want to confirm if there is a file in a romote machine,
How could I do using Java?
TIA
Regards.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Howdy,
hi,
I want to confirm if there is a file in a romote machine,
How could I do using Java?
what is your context ? if you use tomcat (not uncommon on this mailing
list :))
you may use a servlet to enable your client to ask to do something on the
web server filesystem...
If you use SMB
Hi
Is the tomcat connection pooling reliable.
We are configuring database properties in server.xml and using the
DataSource to lookup the jdbc datasource and get the connection.
If in case the database goes down and later it is up, will the tomcat
recreate the connections in the pool as the
We run several instances of Tomcat to keep users from affecting each other. For
example, since each Tomcat is a different process, if one app loaded in one of the
Tomcat instances has a problem, we can bring that Tomcat instance down w/o affecting
the others. Also, the likelihood that one
Hi,
Currently it seems that sessions are serialised and kept through restarts of Tomcat.
Is there any way to prevent this so that all sessions are wiped when Tomcat is
restarted.
And even better would be to wipe them on a context basis, when a context is reloaded.
Ta
Matt
Any opinions
I'm trying to install tomcat onto a new FreeBSD system but I am getting
an error when I try to start the server. After modifying
setclasspath.sh to output more information and to use classes.zip, I
ran catalina.sh and got the following output:
# ./catalina.sh run
Using CATALINA_BASE:
Bad major version numbers are result of classes compiled on 2 different
version of jdk.
Please upgrade you jvm and then see if it helps (preferable jdk1.4 and
up).
Arnab C
-Original Message-
From: Thomas Cherry [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 5:42 PM
To:
My deployment of tomcat5 and Apache2 on RedHat Enterprise Server is
working fine except for the logging within a context. Logging w/in a
host works fine, setting up a value for access logs works, but I can't
get logging w/in a context to work. All output still goes to
catalina.out which is
Do you know which versions of java are required for each of the
versions of Tomcat (3, 4, 5)? Specifically, which will run under
1.1.8? Upgrading my java is not a trivial task, I will have to compile
my own copy of jdk.
--
It is pointless to resist. - Darth Vader, Sith Lord
On Feb 12, 2004,
Bad major version numbers are result of classes compiled on 2 different
version of jdk.
yes you're
Please upgrade you jvm and then see if it helps (preferable jdk1.4 and
up).
humm I guess that freebsd doesn't have a 1.4 JVM yet...
so I'll suggest to recompile Tomcat on your machine
I've used digest.sh in the past w/ tomcat 4 to generate encrypted
passwords for tomcat-user.xml. Has something changed w.r.t digest? Why
the class not found error for this bundled s/w? Here is the command and
error
[prompt]$ sh digest.sh -a sha password
/www/tomcat/bin/tool-wrapper.sh: line
Hi!
I'm using Jboss 3.2.1 with Tomcat 4.1.24, and Tomcat is running as a
Jboss MBean.
I want to control the number of sessions each application can have. To
do this, I'm trying to store
sessions in a postgresql database, and use the Tomcat PersistentManager
Implementation.
The tomcat
Make sure your DocumentRoot is NOT pointing to the webapps folder of
Tomcat. Set it to any other place you like, but not there ;-)
DocRoot is point to apache2/htdocs
From: Antonio Fiol Bonnín [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
For some reason I need to disable tomcat 4.1 log service. Do everyone
out there try b 4??
Howdy,
Yes, there's an excellent way to do this: documentation. End of
story
That is not the end of story, of course, or else you wouldn't support
META-INF/context.xml.
I personally wish we didn't support it, in fact. I think it's caused
much more confusion than it's worth, and something
Howdy,
There's another reason: if any of the three crashes or is attacked for
whatever reason, the other two don't suffer. That may or may not make
sense for your application.
For example, it's not unusual to have an admin console sit outside your
firewall so that developers/admins can do their
Howdy,
Yup, but at least it stopped itself at 8 (at a glance) tries ;) I kicked if off
yesterday. I'm much more familiar with the list admin functionality following the
past couple of week's email craziness.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Mike
List,
I must be too close to the problem, having a background in managing
Tomcat on Linux, I can't seem to figure out what is so drastically
different about Tomcat on Windows that logging doesn't behave the same.
Specifically:
c:\%tomcat_home%\bin\startup.bat
runs in a separate window
has anyone here tried setting /manager webapp to use DIGEST instead of BASIC?
I just tried it this morning and it didn't work for me.
peter
-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
Howdy,
Currently it seems that sessions are serialised and kept through
restarts
of Tomcat. Is there any way to prevent this so that all sessions are
wiped
when Tomcat is restarted.
And even better would be to wipe them on a context basis, when a
context is
reloaded.
Yes to both:
Does the combo of Tomcat 5, Apache 1.3x, and JK work? I can't get it to
work. If I use the Connector syntax from Tomcat 4 for the ajp13 in
sever.xml, it can't find the class.
I'd prefer this combo because Tomcat 5 offers easy view of treads/jvm
memory, and I'd assume it's got better
http://nagoya.apache.org/wiki/apachewiki.cgi?JMeterLinks
I've posted the final version of the document. thanks to shirley and keith for their
feedback. I fixed an error in the example test plan.
peter lin
-
Do you Yahoo!?
Yahoo! Finance: Get your refund
Okay attempt to access examples is giving me an Apache 500 error page.
Pulled from apache logs ...
12.16.100.100 - - [12/Feb/2004:09:13:34 -0500] GET
/examples/jsp/num/numguess.jsp HTTP/1.1 500 648
12.16.100.100 - - [12/Feb/2004:09:13:36 -0500] GET
/examples/jsp/dates/date.jsp HTTP/1.1 500 648
Howdy,
what is the best way to update (write) a properties file from a servlet
that is somewhere under /WEB-INF/src/. ? Does this work for a
properties file in a WAR file, too?
The servlet specification only leaves you with one standard place to
write files, the directory specified by
Howdy,
Can we use tomcat 4.1 with java version 1.4.2 on production , is there
any
problem in that.
Go for it, we've been doing it for months and months without a problem.
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication, and
may contain
Hi
I'm sorry if I'm asking this in the wrong place, but I'm not sure where my
problem is actually occuring, I thought Tomcat itself might be able to help.
I'm trying to build an app that allows users to upload files to the
webserver.
My problem is I need to prevent them uploading large (more
Hi,
I am tryin to define some custom protocols in a web app.
However I wonder more and more how to get them recognized
As I can't use URL.setURLStreamHandlerFactory (as it has already been called
by tomcat)
And setting the java.protocol.handler.pkgs system property does not seem to
work
(I get
Howdy,
I'm not an expert on fileupload, but did you see the Exercising More
Control section of
http://jakarta.apache.org/commons/fileupload/using.html?
It has a setting to limit the size. I don't know if that takes affect
before/after/during the upload. IIRC (it's been a while), the server
Thanks Apu,
I knw it was going to be something simple and stupid on my part, as these
things are always are. I added the distributable/ to my web.xml and they
are at least trying to replicate the sessions over to each other. Me thinks
a lot of them do not implement the Serializable interface.
Hi Yoav
Thanks for the reply. But yeah, those settings take place after the upload,
they seem to be used for preventing large files being written to disk or
controlling how large a file should be before being stored temporarily to
disk.
Maybe something there's something that could keep track of
hello
sombody could tell mee how to increase memory off the jvm?
got only 7mg left after aplication deployed
tanks
[EMAIL PROTECTED]
administrateur http://entre-nous.qc.tc
_
MSN Search, le moteur de recherche qui pense comme vous
Howdy,
Use the -Xmx java runtime option, set via the JAVA_OPTS environment
variable as defined in $CATALINA_HOME/bin/catalina.sh.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: FRANCOIS Dufour [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 10:55 AM
To:
Anyone know a solution for this, I have been over google and yahoo and found
people with the same issue but no returns to their query about the problem.
Anyone know how to fix, worker.properties seems to be what they asked for,
anywhere else I can look.
dan
From: Didier McGillis [EMAIL
In my opnion, isn´t so necessary to set a inicial memory value to
JVM, because it will take more memory as needed.
--
De: Shapira, Yoav[SMTP:[EMAIL PROTECTED]
Responder:Tomcat Users List
Enviada: quinta-feira, 12 de fevereiro de 2004 12:59
Para: Tomcat
If you don't set enough memory, you will have some day OutOfMemoryException,
that's sure,
or you Garbage Collector will work as mad, and your application will stall.
-Message d'origine-
De : Edson Alves Pereira [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 12 février 2004 18:10
À : 'Tomcat
Howdy,
In my opnion, isn´t so necessary to set a inicial memory value to
JVM, because it will take more memory as needed.
Someone else already corrected the above wrong statement, but I wanted to point out
-Xmx is not the initial size of the heap, it's the maximum size. Setting -Xmx
I worked with IBM MQ Series Workflow and it is great
commercial software. Could you please list Open Source
workflow systems.
Evgeny Gesin
Javadesk
--- Ryan Lissack [EMAIL PROTECTED] wrote:
Hi,
I was wondering whether anyone on the list has
experience with any workflow
engines. There are
Here is a solution. Don't know why this stuff doesn't run correctly
from the start.
To ~/tomat/bin/setclasspath.sh add the following at the top of the file
if [ -z $BASEDIR ]; then
echo Setting BASEDIR to CATALINA_HOME.
export BASEDIR=$CATALINA_HOME
fi
To ~/tomcat/bin/tool-wrapper.sh
Allistair-
How about your jk2.properties file? You have a matching shm in there? I also
recall seeing something funny recently about a size of 100 not working,
but 1048576 does.
Bill
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12,
Got it. There was a configuration error that must have been leftover from
before. Examples is now working through Apache.
From: Didier McGillis [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: 500 Error in examples - wc_get_worker_for_name,
Hello Yoav,
Thanks for your help. I'm going to try to be as explicit as possible.
I use the Smtp server from the place I'm working. Not on my computer, but in
the domain, and I use the Jdk 1.4.2_03, Tomcat 5.0.18 (last version) and I
downloaded the mail.jar and the activation.jar from Sun 4 days
There is nothing in the jk2.properties file. However, your suggestion to change the
SHM value has done the trick!!?
If it works .. :)
Thanks!
-Original Message-
From: Bill Haake [mailto:[EMAIL PROTECTED]
Sent: 12 February 2004 16:27
To: Tomcat Users List
Subject: RE: Error 500 from
Are there any good virtual host examples to look at. Tutorials. I just
need to setup one domain that isnt the default domain and have it use Tomcat
from the root dir.
_
Add photos to your messages with MSN 8. Get 2 months FREE*.
Hi Evgeny,
I worked with IBM MQ Series Workflow and it is great
commercial software. Could you please list Open Source
workflow systems.
Thanks for the response. Below is a list of the open source engines I have
found so far:
OpenFlow
http://www.openflow.it/EN/index_html
Shark
Is there away in http.conf to setup a Virtual Host for a domain and then it
only needs to know where to look for Tomcat
Is that a good way?
From: Didier McGillis [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Virtual Host
Date: Thu, 12 Feb 2004
Thanks Yiannis,
Any idea what the best way to connect the two on unix? I'm happy with
the socket approach but it seems that the JNI connection would perform
better.
Thanks!
-bd-
On Feb 12, 2004, at 2:06 AM, Yiannis Mavroukakis wrote:
Possibly. If I am not mistaken it has to do with the
The webapp I am writing has until today used html pages, JavaScript, and
servlets, but no jsp files.
Now I want to add one, so I placed the file open.jsp in the webapp's
root directory (where the html files are). I thought that's all I
needed to do, but Tomcat chokes when the jsp is
Howdy,
When I launch my class (with a main method) from Jbuilder, it works
well
and
I can send my message. (I put mail.jar and activation.jar in the
jdk/jre/lib/ext dir)
Does your class work if you launch it from the command-line (not from
Jbuilder), and put mail.jar/activation.jar on the
Well, well,
I guess everything was ok with my classpath, mail.jar and others stuffs,
because I found a way to solve the problem, not the way I like, but it
works.
I just uninstalled Tomcat 5.0.18 and installed the version 4.1.29.
I just put mail.jar and activation.jar in my webapp/WEB-INF/lib dir
Yoav's recollection of the spec is correct. There is nothing in the
headers indicating a size. So you need to read in the entire request to
determine you've gone over a limit. And even if you could keep track of
bytes/chunks as they come in... you've still wasted all that bandwidth
up to that
Howdy,
I guess everything was ok with my classpath, mail.jar and others
stuffs,
because I found a way to solve the problem, not the way I like, but it
works.
I just uninstalled Tomcat 5.0.18 and installed the version 4.1.29.
Hmm... That should not matter ;(
Shouldn't be the 5.0.18 better
I'm having some issues gettin tomcat 5.0.18 to work with win2k IIS 5. I've
followed the guides online and have everything apparently set up. Tomcat
works, IIS works, but IIS refuses to load .jsp files as if it can't find
them. Any help is greatly appreciated!
Here is my setup:
Tomcat
Hello,
I am using post method of sending data to servlet from a JSP page. I am unable to get
the data by request.getParameter().
If I am using get method I am able to retrieve data from JSP page
I was just searching on Google. Actually I am using NTLM Authentication in my Login
Servlet. I
: Tomcat chokes when the jsp is requested. I get a 404
: error, the requested resoruce is not available.
:
: What do I need to configure to get Tomcat to serve the jsp?
Chances are it's a permissions issue on the file. (Unless you've
tweaked Tomcat's config, it should already be able to serve
Hello,
I posted a query last week about Tomcat 4.0.6 under OS X hanging, but
haven't seen any response (was: SocketInputStream hanging Tomcat 4.0.6).
Is there anything more I can do ( more information I can provide, for
example ) to illicit feedback from the list or the developer of the code
Howdy,
Have you tried this with a more recent tomcat version?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Chris Rolfe [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 2:01 PM
To: Tomcat
Subject: Re: Tomcat hangs
Hello,
I posted a query last week about
Permissions on the .jsp file are identical to permissions on all of the
html, javascript, and servlet class files in the webapp, all of which
work: -rw--r--r-- owner/group is jford:user (which is the uid under
which tomcat was started).
And I know it will serve .jsp's, the Tomcat example
I work for a company that has developed a Java version of one of their
products. Many of our customers use Tomcat as their application server
and it works wonderfully for that.
Recently, we've started looking hard at aspect oriented programming.
Looking at the practitioner's list of AOP
From the servlet API:
If the parameter data was sent in the request body, such as occurs with an HTTP
POST request, then reading the body directly via getInputStream() or getReader()
can interfere with the execution of this method.
Just wondering if any of the method mentioned above being called
Jerry,
Just for a test, change the file name to end with .txt and see if the page
is displayed.
If it still fails. I would double check the permissions/ownership on that
file.
If it works, then try a restart. After a restart if it still fails, check
your configs
for an entry that might be
Am Donnerstag, 12. Februar 2004 15:51 schrieb Shapira, Yoav:
One possible alternative is to have the properties file outside the
webapp (or better yet, change from properties file to a database?), and
configure the location of the file using one of the above approaches.
That way you can still
You have a space in your JKMount?
/mywebapp/* .jsp ajp13
should be:
/mywebapp/*.jsp ajp13
Also, where does JAVA_HOME point to? If it's only a JRE, your JSP's
won't compile. The example ones may work if they were pre-compiled
(though I'm pretty sure they didn't start doing that until 5.0.x).
You can see how to config multiple vhosts with apache mod_jk and tomcat here
:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html
From: Didier McGillis [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Virtual Host
Date: Thu,
sorry need one for mod_jk 1.2
From: Anthony Gray [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Virtual Host
Date: Fri, 13 Feb 2004 07:03:10 +1000
You can see how to config multiple vhosts with apache mod_jk and tomcat
here :
...and if you're a windowz fanatic, you still have hope. You can
download a copy of touch from:
ftp://ftp.microsoft.com/Services/TechNet/samples/ps/win98/Reskit/FILE/
(TOUCH.EXE, is what you're looking for)
or you could simply install Cygwin, the greatest unix emulator on the
face of this
on 2/12/04 11:17 AM, Shapira, Yoav wrote:
Have you tried this with a more recent tomcat version?
No. I've not been able to isolate the bug well enough to reproduce it, so
there's nothing to test with. I have only observed the vulnerability in our
current production server. I've since disabled
Andreas,
Not sure if you got a response yet. Generally, when I have seen the
error above, it seemed to be coming from the web app saying that it
didn't get the parameters. I am fighting this same error. Strange
enough, though, I had it working as you have yours setup. Another thing
is that
Hi Dwayne,
If I remember from my own experience then mod_jk binaries are only available for
Solaris. Others have tried to use these and got the error that read something like
... encoding not little-endian. To avoid this, get the jk module from source or CSV
that is appropriate for your
Installed tomcat 5 on my linux box and it works no problem stand alone.
However I don't see that the auto/mod_jk.conf directory or file is being
created. Does anyone know if you have to do something special with the
tomcat 5 dist to tell it to create these files?
thanks
-Ryan
John B. Moore [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Ah, further checking on the Sun website indicates that it is:
Apache Tomcat Version 5.0.18
So... why did it not work...
I don't know. Maybe Sun packages Tomcat differently than Apache does. The
class should be in
Can't find an error so far, but
Alex L. wrote:
Workers2.properties file
-
[shm:]
info=Shared memory file. Required for multiprocess servers
file=D:\Program Files\tomcat 5.0\work\jk2.shm
size=1048576
In my setup file path is without quotation marks.
Any Messages in
The online docs are not clear. You can use the JK2/IIS setup provided here
http://www.shiftomat.com/opensource/
Michael
-Ursprüngliche Nachricht-
Von: Alex L. [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 12. Februar 2004 18:43
An: Tomcat Users List
Betreff: Problems getting
74 matches
Mail list logo