Hi All,
I have a web application running.
I want to find the number of users currently logged in.
How do i do this?
I have a session value(userid) for all the users.
Is there a way to count them?
Bopanna
-
To unsubscribe, e-mai
> I believe that I am having the same problem with IBMJava,
Be careful that, according to IBM documentation, 1.4.0 and 1.4.1 do NOT handle the
libpthread so-called optimizations the same way. Please give your version of the Jvm,
thanks.
François.
Hi there,
I'm trying some examples in the book Professional JSP from Wrox. In latter
version of Tomcat (I'm using 4.1.12) several classes or packages are not
available anymore. I downloaded version 3.3.1a and there the class
org.apache.tomcat.request.SecurityCheck is missing. The whole
"org.apache
Hi all,
Is there a way to configure an error page for the full application using
the deployment descriptor?
Thanks
Bopanna
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am using Tomcat 4.1.27 under Linux for a project where the machine is
embedded into a pumping machine, i.e. limited memory and resources.
The 'services' are all identified by sub domains so that you would get a
master domain of the pump site, a sub domain for each pump unit and a
further subd
Excellent news Noam.. Our testing (LD_ASSUME_KERNEL=2.4.1) is in progress
but too early to confirm anything. Another option is to stick with the NTPL,
using an updated glibc.
Check out RH errata ;
"A bug in pthread_cond_wait() which could cause programs hangs in some
cases"
https://rhn.redhat.com
Hi there,
i have only one question,
do you know if the jk2 connector can also be connected with apache 1.3 ?
regards,
tino
-
This mail sent through IMP: http://horde.org/imp/
--
Very interesting bug report
I will currently stick with my current configuration, but if this confirms
to solve the prolem, it could explain some oddities Remy wondered upon
Cheers,
Noam
- Original Message -
From: "Euan Guttridge" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EM
Hello,
I have recently started using the RequestDumperValve with my Tomcat 4.0.4 for windows.
Now when I go to write applications that accept foreign character sets in UTF-8 I find
that they come out as rubbish because they have been translated into ISO-8859-1. When
I add a URLDecoder.decode();
jakarata-tomcat-connectors
-Tim
Ted Weatherly wrote:
I get this compile-time error:
/tmp/jakarta-tomcat/src/catalina/src/share/org/apache/catalina/core/ApplicationFilterConfig.java:79:
package org.apache.tomcat.util.log does not exist
import org.apache.tomcat.util.log.SystemLogHandler;
A JSP page ultimately becomes a java file (then a class). The spec dictates
the java file must somehow implement JspPage. The JSP engine has the job to
create a class which implements JspPage. But you may also choose to have your
JSP page inherit from another class for some reason as long as the
http://jakarta.apache.org/tomcat/faq/misc.html#error
N.B.Bopanna wrote:
Hi all,
Is there a way to configure an error page for the full application using
the deployment descriptor?
Thanks
Bopanna
-
To unsubscribe, e-mail: [EM
Oops. In the panic of thinking it wasn't possible I somehow proved to
myself that it wasn't possible |-(
I inadvertently loaded all the contexts for all the hosts into all the hosts.
I think the previous post is what used to be known as a structured walk
through. So thanks for that all the same
Hi there,
I am using the WebDAV servlet in Tomcat 4.1.24 and have a problem with
the configuration. I only want files and folders at a specified
subfolder "workset" and all its subfolders of the web-app dir to be
WebDAV-enabled. I have used the WebDAV configuration from
tomcat-x/webapps/webdav/WEB
Howdy,
You could use the tomcat manager webapp (read its page). Or you could
write your own session listener which will keep a count of sessions.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: N.B.Bopanna [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, October 21, 2003 2:
Hi All!
I'm having a problem with a particular application that grows and grows
in size until the jvm runs out of memory, and tomcat shuts down. I am
on a box with 1GB of memory and 350MB+ of swap. I have tried various
settings in my catalina.sh, which just seem to make the app crash even
qu
Completely turn off all auto-reload features of tomcat. That helped me.
> -Original Message-
> From: Bill Tantzen [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 21, 2003 9:01 AM
> To: Tomcat Users List
> Subject: application eats up memory
>
>
> Hi All!
>
> I'm having a problem wi
Howdy,
>I'm having a problem with a particular application that grows and grows
>in size until the jvm runs out of memory, and tomcat shuts down. I am
>on a box with 1GB of memory and 350MB+ of swap. I have tried various
>settings in my catalina.sh, which just seem to make the app crash even
>q
On Tuesday, October 21, 2003, at 08:05 AM, Shapira, Yoav wrote:
Howdy,
I'm having a problem with a particular application that grows and
grows
in size until the jvm runs out of memory, and tomcat shuts down. I am
on a box with 1GB of memory and 350MB+ of swap. I have tried various
settings in
Howdy,
>Any recommendations here? They are a little pricy, and I would want to
>make sure I'm getting bang for my $$
I like OptimizeIt, found it WELL worth its price. I think every
developer should have a profiler, be comfortable using it.
>various combinations (and numbers) of the following
Could you separate and send us the suspected code?
Euclides.
-Mensagem original-
De: Bill Tantzen [mailto:[EMAIL PROTECTED]
Enviada em: terca-feira, 21 de outubro de 2003 10:01
Para: Tomcat Users List
Assunto: application eats up memory
Hi All!
I'm having a problem with a particular app
The Oracle Parsers can't handle certain schemas and things either. I've
had them crash and die. I had to even setup an Oracle 9i Server to use
Xerces because the 9i server could not handle some valid schemas I was
parsing.
Wade
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTE
I've also had strange results when using -server with the VM with
different applications. Also, you say you have an application which
eats up memory? Is the application loading when Tomcat starts? Is your
application loading tomcat? How is your application loaded? Is it a
JSP application using
I've thought about doing a session listener for just this purpose... is
there much of an overhead expense associated with this?
I know that this is all going to be relative to the overall system
load/number of users/etc... but generally speaking, is writing a session
listener considered a "good" t
Has anyone tried this new Eclipse plugin for profiling?
http://eclipsecolorer.sourceforge.net/index_profiler.html
I realize that it is still beta, but I was wondering how good it is.
Charlie
> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 21,
--> I've also had strange results when using -server with the VM with
I will avoid this one.
--> different applications. Also, you say you have an application which
--> eats up memory? Is the application loading when Tomcat
--> starts? Is your
It loads with tomcat.
--> application loading t
has anyone used this -- http://www.khelekore.org/jmp/ ?
-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 9:53 AM
To: 'Tomcat Users List'
Subject: Profiler (was: RE: application eats up memory)
Has anyone tried this new Eclipse plugin for pr
Howdy,
It's very low overhead unless you really go out of your way to do
something dumb in your listener. As long as you make sure to properly
dereference sessions when they're destroyed, i.e. don't just listen for
their creation, you don't need to worry about performance impact.
Yoav Shapira
Mi
You may want to change some settings because of that, but mostly just
the paths to directories will be different to where things are located.
Linux paths instead of Windows paths.
Daniel
kgsat wrote:
Hi Gibby,
Thanks for your response.Does the configuration mean that there are changes
in web.
You can have virtual hosts in tomcat. We are doing it, but I will need
to look up the server.xml configuration:
etc...
etc...
etc...
etc...
etc...
It works fine for us.
Daniel Gibby
Andy Hutchinson wrote:
I am using Tomcat 4.1.27 under Lin
It may also be that your environment is set with a LANG or LOCALE that
is throwing java off. You may want to look into that.
Daniel Gibby
Andoni wrote:
Hello,
I have recently started using the RequestDumperValve with my Tomcat 4.0.4 for windows.
Now when I go to write applications that accept
Hi All,
I am trying to work out whether my form submission is sent encrypted in
SSL or not.
If I code my form like this:
https://localhost:8443/sslform";>
will it actually be encrypted?
When I click submit, the browser pops up a certificate dialog box (since
I'm not using verisign) and the
For some reason, a couple times a day, the "Apache Tomcat 4.1" service
crashes under Windows 2000 with no message at all. We have [EMAIL PROTECTED]
configured
to restart after 1 minutes, but I'd still like to know why this happens.
Seems to only happen on our production box, not our test server.
What is being written to the log file?
-Original Message-
From: Ian Hunter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 10:49 AM
To: [EMAIL PROTECTED]
Subject: Windows service crashing
For some reason, a couple times a day, the "Apache Tomcat 4.1" service
crashes under Windo
I've got a database resource declared as part of Tomcat's resource pool
(JNDI?) -- I need a standalone Java app to access it. How do I declare such
a thing in a standalone app?
I realize this is slightly off topic but I figured someone else out there
might try to do the same thing.
Literally, wh
Absolutely nothing -- you only see the new instance starting. That's the
odd thing about it. The only evidence whatsoever that it went down is in
the Windows Event Viewer -- it says "The Apache Tomcat 4.1 service
terminated unexpectedly. It has done this 1 time(so). The following
corrective act
Howdy,
Currently tomcat doesn't have an external JNDI provider, so you can't
really do what you're looking for.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Ian Hunter [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, October 21, 2003 10:50 AM
>To: [EMAIL PROTECTED]
>Subje
Bill,
Java 1.4.0 has a known StringBuffer memory leak.
Java 1.4.0 + XML parsing will "eat" memory because of heavy string
manipulation done in XML parsing (in conjunction with this memory leak of
course).
I would recommend that you at least use 1.4.2 (as we have found other
stability issues with
Hi there!
I couldn't figure out how to restrict Coyote/JK2 AJP 1.3 connector to
the local loopback interface.
Actually, I would expect the default settings in workers.properties
(worker.ajp13.host=localhost) to only bind to the local loopback device,
but a netstat -an indicates:
Proto Recv-Q Send-
I don't follow you -- shouldn't I be able to create an instance of a naming
context and populate it from within my App, then refer back to it? For this
app, I don't mind hard coding the parameters, it's just that I have a class
called DataStore that contains all the access points to the persistenc
All,
I have the following code
rsSN = statement.executeQuery(Query);
while (rsSN.next()){
if (Frame.equals("E")){
rsFrame = statement.executeQuery(QueryFrameE);
if (rsFrame.next()){ js.append(""+
rsFrame.getString("ATTRIBUTE_VALUE") +""); }
} else{
Hello All,
I am pulling my hair on this problem, and since there are many Java experts
on this mailing list, I hope someone can help me on this.
I have a simple servlet that calls a JSP page where the user can enter a
search value. When the user clicks on the submit button, the search value
will
Howdy,
>I don't follow you -- shouldn't I be able to create an instance of a
naming
>context and populate it from within my App, then refer back to it? For
No. You need a JNDI provider to do this. There is a lot going on in
the background when you create naming context and bind into them.
>
A better solution for what you're doing is to leave the button as
type="submit" and remove its onclick event. Instead, add an "onsubmit"
handler to form that calls "return validateForm()" - return false in your
function when validation fails.
HTH,
Matt
-Original Message-
From: epyonne [
Hi,
I think that rsSN is associated with statement, so we you do
'statement.executeQuery()' that invalidates the current ResultSet. Try
using other statement object for the internal querys.
Regards,
___
Manolo.
[EMAIL PROTECTED] wrote:
All,
I have the following code
rsSN = statement
Hi There,
Why dont you change the button back to a submit and then add a
onSubmit='return validation();' to you form ?
Thats what we do
Eg.
function valid () {
if (document.form.val.value.length < 1) {
alert("Please enter a value");
Most likely "document.form1" is not visible in the browser object model.
There are various ways to address the form, but the most portable in this
case is probably "document.forms[0]".
Chris
-Original Message-
From: epyonne [mailto:[EMAIL PROTECTED]
Sent: 21 October 2003 16:35
To: Tomcat
Shouldn't the evaluation statement, i.e. Frame.equals("E"), be outside the
main while loop? When inside a while loop of a ResultSet, you should be
evaluating the value in the ResultSet.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 21, 2003
Hi,
I have a problem working on apache-tomcat SSL.
My set up is using apache server to talk to tomcat using mod_jk.
When I access my site using non SSL, it works and can load up the page.
However, when i use SSL, it gives an 401 exception.
The SSL works if I try https://localhost:443/ on m
Hi,
>From one week i am trying to solve this problem.
Please any one help me.
if i am connection directly its ok. but if i am using
connection pooling this exception is comming.
my connection pooling syntax in server.xml is
-
Hi,
I am running Tomcat 4.1.27 as a Windows service in the Windows XP operating
system. I have a problem accessing network shared drives from within my
servlets and JSP-pages.
For instance, if "S" is a mapped drive pointing to something like a shared
network drive "\\shared_server\shared_driv
Thanks for the reply. But this cannot be true. If I leave the textbox
blank, I got the alert. That means it is "seeing" the document.form1
object. It just does not like the .submit() method which I can't understand
why.
Thanks.
- Original Message -
From: "Walker Chris" <[EMAIL PROTEC
Hello Mr Helpman,
for an amount of time, I try to use IIS to serve my JBOSS/TOMCAT servlet -context. It
is part of a commercial ERP, wich usually works with apache. Even, without any
dedicated webserver, only tomcat/jboss it works ok. I did everything as described in
your good and understandabl
Thank you Matt and Peter for the suggestion. It works!!!
- Original Message -
From: "Peter Guyatt" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 21, 2003 10:42 AM
Subject: RE: JSP question
> Hi There,
>
> Why dont you change the button back to a
Your dll and worker seem well configured from what I can see in the log.
Did you try to access a ressource into the /examples or /admin webapp?
Is this working http://Tomcat-host:Tomcat-port/ROOT/login.html ?
-Original Message-
From: Langenfeld, Jens [mailto:[EMAIL PROTECTED]
Sent: 21 oc
Joeri,
I haven't had to do this with Tomcat yet but am using it in Apache 1.x and 2.x on
Windows 2000. In Apache this works:
# Local Drive (old way)
#Alias /Documents e:/Documents
# Network Share (new way)
Alias /Documents //server/Documents
Couldn't find any documentation on it, but somehow I
Tomcat needs to be logged in as a user with permission to use the S: drive.
You might also need to use UNC paths instead of drive mappings.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 5:31 AM
To: [EMAIL PROTECTED]
Subject: Unable to
Where are your jdbc for sql server jars? Put all
three under /%TOMCAT_HOME%/common/lib.
Also, your factoryClassName should be:
factoryClassName=org.apache.naming.factory.ResourceFactory
I'm currently using connection pooling with sql server
and thats the only things i can see that might cause
y
Hi list,
my application currently uses ONE connection object to communicate with the database.
The connection is set with an initializer servlet (load_on_stratup=0), and all users
use that connection to retrieve data.
Is this the best approach, or should i create a connection per user? Why? Whe
Please use a connection pool. For Instruction:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
and
http://www.mysql.com/articles/connection_pooling_with_connectorj.html
--- Carlos Pereira <[EMAIL PROTECTED]> wrote:
> Hi list,
> my application currently uses ONE
Hi folks,
(B
(BI am currently using apache2.0.40 and tomcat 4.1.27 with jk2 connector for
(Binter communication of apache tomcat servers on linux9.0
(B
(BI have a peculiar problem.
(BWhen i use the host name to get to the head page of the application it takes
(Bme to default page.But when i
> I couldn't figure out how to restrict Coyote/JK2 AJP 1.3 connector to
> the local loopback interface.
> Actually, I would expect the default settings in workers.properties
> (worker.ajp13.host=localhost) to only bind to the local loopback
> device,
You should try the address attribute under th
Hi all,
there have been a nightmare since i ve decided to make TomCat 4.1.18 be a
Windows NT 4.0's Service.First of all, i ve the stuped idea of looking for a
program which could make it for me. So, i found the nightmare main actor
--> tcservcfg and the second one --> windows!!!
Thus, i made the f
Jose,
I spent a long time trying to manually setup Tomcat to run as a service. Finally
ended up re-installing and checking the little checkbox that makes it usable as a
service. It is unchecked by default. Once it is installed, you can change the account
it executes as in the services thingy
Where is this checkbox? How can i reach there? I am talking about TomCat
4.1.18...
-Mensagem original-
De: Goehring, Chuck Mr., RCI - San Diego
[mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de outubro de 2003 14:22
Para: Tomcat Users List
Assunto: RE: Bugs and weakness when Tomcat
Jose,
Uninstall Tomcat.
Start the installer and one of the screens has a list of products (Tomcat, Source etc)
if you scroll down, there is and unchecked item that says to install it as a service.
You must check this one to get it installed. If you are re-installing you also need
to make sure
I just downloaded and installed version 5 and am getting the following error when I
attempt to start it for the first time:
ERROR] Digester - -Begin event threw error java.lang.NoClassDefFoundError: javax/xml/transform/Source
at
org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.exe
Also remember that UNC in java should use forward slash(/) instead of
backward(\). Use this or you'll get funny problems from UNC names and
file access.
Wade
-Original Message-
From: John Corrigan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 12:17 PM
To: Tomcat Users List
S
Thank you, Chuck. I will do it! So, i should keep saved the existing
server.xml and web.xml files before the new installation starts, i guess...
Isnt it?
Euclides
-Mensagem original-
De: Goehring, Chuck Mr., RCI - San Diego
[mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de outubro d
Howdy,
What JDK version are you using? What parsers?
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: David Liles [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, October 21, 2003 2:11 PM
>To: [EMAIL PROTECTED]
>Subject: Tomcat 5 error when starting
>
>I just downloaded and
You can only run one transaction per connection. So if you depend on
rollbacks or things of this nature this will become an issue. Also,
your DBMS may support a limited number of threads per connection. You
should find this out. Also, if you disconnect and reconnect from one
thread and another
Best to use a connection pool. Look at the Data Sources in Tomcat.
Wade
-Original Message-
From: Carlos Pereira [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 12:46 PM
To: Tomcat Users List
Subject: JDBC Connection question
Hi list,
my application currently uses ONE connect
I have j2sdk1.4.2.. as for parsers uh... were would I look for this info?
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tue 10/21/2003 12:44 PM
To: Tomcat Users List
Cc:
Subject: RE: Tomcat 5 error when s
Jose,
Yes. I'd rename the top level dir so you have your servlets, jsps and images saved.
Otherwise, I'd zip it and copy it somewhere.
Chuck
-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 10:45 AM
To: 'Tomc
Also note that you have to adjust the registry key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat
4.1\Parameters\JVM Library -- you have to make sure that's pointing to a
real copy of jvm.dll -- the default is c:\program
files\Java\j2rex.x.x\bin\client\jvm.dll and if that's not
I got a mail loop error??
-Original Message-
From: Goehring, Chuck Mr., RCI - San Diego
Sent: Tuesday, October 21, 2003 10:49 AM
To: 'Jose Euclides da Silva Junior - DATAPREVRJ'; 'Tomcat Users List'
Subject: RE: Bugs and weakness when Tomcat works a NT Service
(tcservcfg)
Jose,
Yes.
Joeri,
I think, a mapped drive can't be used for running as a service. The mappings aren't
seen by services because noone is "logged in" so no login script runs.
Chuck
-Original Message-
From: Wade Chandler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 10:45 AM
To: 'Tom
Howdy,
Since you ask, you probably didn't change the default XML parsers.
The NoClassDefFound error means the version of
javax.xml.transform.Source found by the JVM at runtime is not the same
as that found in compile time. Compile time in this case refers to the
jakarta-commons-modeler component
Just a thought. You can reinstall Tomcat to a different port, with the NT
Service checked. Or better yet, go ahead and install the Tomcat 4.1.2x to a
different port. This is a great opportunity to upgrade. Put some of your
apps there for test runs. If there is no issue, then move everything ov
I want to used tomcat 5 in the embedded "format". Are there any
docs/suggestions/hints to doing this? I especially want the source for
this. Should I just use the standart tomcat 5 source tarball?
thanks.
-
To unsubscribe, e
Howdy,
The docs are in the Embedded class' javadoc:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/ap
ache/catalina/startup/Embedded.html
It's largely the same for tomcat 5 as tomcat 4. There are several
articles, references, etc online for using embedded tomcat 4: google.
I have a question about deserialization in Tomcat 4.1.
I've added the session replication code to server.xml from
http://cvs.apache.org/~fhanik/index.html.
When a session is replicated, when do the session attributes get deserialized on the
second server? Immediately upon replication? Or when i
Yes it can!
Greg
> -Original Message-
> From: Javier Sanchez Monzon [mailto:[EMAIL PROTECTED]
> Sent: 21 October 2003 10:12
> To: Tomcat Users List
> Subject: jk2 connector with apache 1.3 ?
>
>
> Hi there,
>
> i have only one question,
> do you know if the jk2 connector can also be
Hello all,
I haven't had much luck locating any information regarding this. And I am
not even sure if this is a right place for this question.
I am using Tomcat 4.0.6 and when passing a parameter with if
the value of the parameter contains an equal sign ("=") parameter is absent
(or null?) fr
You need to autoconf tools etc.. to make a configure script (it is not there
by default).
I think one of the README's or other files explain this.
Probably best to download a binary from the apache site.
Greg
> -Original Message-
> From: Javier Sanchez Monzon [mailto:[EMAIL PROTECTED]
>
looking at the directory:
http://ftp.epix.net/apache/jakarta/tomcat-5/v5.0.12-beta/bin/
there is more than one binary distribution. You have deployer, embed
and standard.
thank you for the help
Shapira, Yoav wrote:
Howdy,
The docs are in the Embedded class' javadoc:
http://jakarta.apache.org
I will tried it, but i am afraid of unknowed changes done by Tcservcfg on
Windows register.
Since Tomcat isnt running anyway, i will reinstall it to the same port. One
question: Do you know how could i remove the remained Tomcat service?
Euclides.
-Mensagem original-
De: epyonne [mailto:[EM
Howdy,
The standard distribution should be fine.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Mark W. Webb [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, October 21, 2003 2:50 PM
>To: Tomcat Users List
>Subject: Re: embedded tomcat 5
>
>looking at the directory:
>
>http
Jose,
Yes. I'd rename the top level dir so you have your servlets, jsps and images saved.
Otherwise, I'd zip it and copy it somewhere.
Chuck
-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 10:45 AM
To: 'Tomc
Hello,
I have a situation where if a developer owns Tomcat 3 and stops/starts
server the apps on that server all j2ee web-apps run fine. If I as root or
'tomcat_user' or su to developer id stop/start Tomcat 3 then all j2ee
web-apps run except modules that produce .jpegs dynamically. In the latter
c
Shapira, Yoav wrote:
Howdy,
The docs are in the Embedded class' javadoc:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/ap
ache/catalina/startup/Embedded.html
It's largely the same for tomcat 5 as tomcat 4. There are several
articles, references, etc online for using embe
I want to make a servlet which catches all accesses to *.swf files (with a mapping)
and only retrieves them if the permissions for the user allow it.
That can be done simply with:
// check user permissions and redirect to error page if needed
// else:
response.setContentType("application/x-shock
What do you mean the developer owns Tomcat 3? His permissions are the
owner of the tomcat directory or what?
Daniel Gibby
[EMAIL PROTECTED] wrote:
Hello,
I have a situation where if a developer owns Tomcat 3 and stops/starts
server the apps on that server all j2ee web-apps run fine. If I as roo
The main problem with performance comes from your source code. You are
reading 1 byte at a time then writing 1 byte at a time. Use a buffered
input stream, and also use a buffered output stream. Then read and
write a good number of bytes. Maybe use a static section so you can
change the number
Daniel,
Yes, the developer_id is the owner of the Tomcat directory.
Earle
-Original Message-
From: Daniel Gibby [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 3:10 PM
To: Tomcat Users List
Subject: Re: UNIX+Apache+Tomcat Situtation
What do you mean the developer owns Tomcat 3
The Tomcat download site has an executable file which is built with
InstallShield. If you install Tomcat using that executable file, you should
have an Uninstall Tomcat option on your Start|Programs menu. Or you can
always go to the "Add/Remove Programs" to remove it.
Hope this helps.
- Or
could you please give more information on the "JMX way".
thanks
Jean-Francois Arcand wrote:
Shapira, Yoav wrote:
Howdy,
The docs are in the Embedded class' javadoc:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/ap
ache/catalina/startup/Embedded.html
It's largely the s
That's normal. The value was empty if you have a line
http://server/servlet?param1=wade¶m2=&dog=dog
param2 had no value, so does it matter if you find it or not?
public String workingValue(String s)
{
if( s != null )
{
//just return s later.
}
else
Hi,
I'm new to this list and hoping someone can help with the following problem.
We have a JBoss (3.2.1) install w/embedded Tomcat (4.1.24) fronted by
Apache 1.3.27 running on Solaris.
The problem: mod_jk is setting the "Content-Length" header value to 0 for
"Content-Type" of text/html when an HT
This really sounds like it is a unix permissions issue, but it could be
a Security issue with java as well. I don't know as much about the java
Security model, but I can tell you things to check for with unix
permissions:
So if 'developer' is the owner of the tomcat directory, and your webapps
1 - 100 of 122 matches
Mail list logo