Leon Rosenberg ha scritto:
Hmm... instead of using a 3-liner I'm supposed to plug in a whole
container, even a lightweight one? What will come next? Installing
Jboss for config-file-reading?
You know; i really liked singleton when I used to be a Swing programmer.
But it raises a serious
I like to define a HOST which is bound to one of my webapplications.
I have the following directory structure:
$CATALINA_HOME/webapps/app1
$CATALINA_HOME/webapps/app2
$CATALINA_HOME/webapps/app3
server.xml:
Engine
defaultHost=localhost
name=Catalina
Realm
Hello everyone,
Watching the mod_jk logs I saw this:
--
[Tue May 02 16:34:28 2006] [jk_ajp_common.c (1146)]: ERROR sending
data to client. Connection aborted or network problems
[Tue May 02 16:34:28 2006] [jk_ajp_common.c (1462)]: ERROR: Client
connection aborted or network problems
Hi, I am a total newbie, so in advance I would like to apologise for my
(dumb) questions.
I am trying to install Tomcat (version 5.5.17) on SLES9 for the first
time. Is there an installation guide I can follow that will help me
with the installation and setup ?
I know nothing about Tomcat, and
Dirk Moolman wrote:
I am trying to install Tomcat (version 5.5.17) on SLES9 for the first
time. Is there an installation guide I can follow that will help me
with the installation and setup ?
I know nothing about Tomcat, and have to learn it from scratch. I have
downloaded the binaries,
Use
URL url = ServletContext.getResource(path)
Where path is relative to the web root. Then you can open the URL and see the
last modified date and reload if it changed with
ServletContext.getResourceAsStream(path) (or by opening the URL)
-TIm
Chris Ward wrote:
Thanks Filip,
I
A strange problem occured to me. This is a part of my httpd.conf:
VirtualHost *:81
ServerName hamsun
RewriteEngine on
RewriteRule ^/victoria - [L,PT]
RewriteRule (.*) /victoria$1 [L,PT]
JkMount/* hamsunworker
/VirtualHost
It actually works in the
But I think Tomcat doesn't need JDK. Instead, it needs a JRE to
which JAVA_HOME, if specified, is pointing. OTOH, from 1.4.? in windows
platform, JAVA_HOME is no more declared as environment variable but is
read from registry, as stated by Marc.
Marc Farrow wrote:
Also, depending on the
I have Tomcat working with FORM and BASIC authentication. All is OK for
this 2 modes.
When i try with DIGEST and insert digest=MD5 in the JAAS realm i have
the error copied in attach.
IS Digest supported with JAAS in this Tomcat version ??? What can i do ?
Is it a bug ? or a configuration pb ??
Multiple connectors is designed for allowing different protocols to access
tomcat, for instance AJP 1.2, AJP1.3, HTTP, HTTPS, etc.
Having multiple services is designed so that you can create multiple
separate instances of tomcat within itself without the overhead of having to
reload the extra
If I have IIS and Tomcat on 2 seperate Windows servers - What must I install on
the IIS server? Do I ONLY need the redirector2.dll, workers2.properties,
uriworkermap.properties, registry changes, and virtual directory?..or must I
also install an instance of the Tomcat application on the IIS
Do you have an Apache up front as a reverse proxy?
If so, you could make a separate mapping there...
Andrew
On 03/05/2006, at 6:12 PM, Dong, Roland wrote:
Is there a way to have web access to /WEB-INF? I want to have this
capability to access a directory under /WEB-INF by URL. Is there a
Hi, once again, I'm out of luck with my network quieries,
I'll never get it right, when it comes to asking the right
questions (in Google) ...
I wanted to search the mail lists, but how? The search
goes to google ...
I'm running tomcat5.0 on FC4 (linux) with java 1.5 (from SUN).
I'm trying to
Hi Everybody,
I need small help from you. I have a website, which run on Apache server. My
webpages all are build only using Html and Javascript. I did n't used any
Dynamic pages. Here i want to track down the visitors who are visiting my
site(i want there IP), how can i do this. I also want to
Dirk Moolman wrote:
I am trying to install Tomcat (version 5.5.17) on SLES9 for the first
time. Is there an installation guide I can follow that will help me
with the installation and setup ?
I know nothing about Tomcat, and have to learn it from scratch. I have
downloaded the binaries,
From: balaraju mandala [mailto:[EMAIL PROTECTED]
I need small help from you. I have a website, which run on
Apache server.
You're not running Tomcat; this is not the list to ask. Ask on an
Apache-related list. Be prepared for a considerable amount of
server-side coding.
-
From: balaraju mandala [mailto:[EMAIL PROTECTED]
I need small help from you. I have a website, which run on Apache
server. My
webpages all are build only using Html and Javascript. I did n't
used any
Dynamic pages. Here i want to track down the visitors who are
visiting my
site(i want
/var/log/httpd/access_log
Find a log analyzer log Webalizer to give you the statistics you are looking
for.
Chris Berthold
IT Systems Analyst
Commercial Refrigerator Door Company
941 . 371 . 8110 x 205
-Original Message-
From: balaraju mandala [mailto:[EMAIL PROTECTED]
Sent: Thursday,
Robert Frank wrote:
I'm trying to set up the standalone server such that users can
install and deply webapplications in their home directory (this
is for a lab).
Heh... Container stability during development for a single user is hard
enough than to have to worry about what your other lab
I'm using the single signon authenticator for cross-web-app authentication.
For logoff, I was simply killing the session. But that only kills the one
session where the call was made. How do I log a user off of all logged on
sessions?
Thanks.
Answering my own question, and asking another:
I have this line in finally{} of Servlet.processRequest():
response.flushBuffer(); //if response.getWriter() was never called, then
this method call will result in NPE.
Is this proper behavior or should I file a bug report?
Nikita Tovstoles
Hello all,
I am fighting the whole day log against Tomcat 4.1 and can't get it
started.
I'm running a debian system Kernel 2.4.27-2-686-smp sarge on an Intel
Dual Xeon. Tomcat is needed as basis for the Installation of OpenNMS, so
I followed the the installation manual of OpenNMS at
Dirk Moolman wrote:
When I start Tomcat, it seems to start, but then it dies again. I get the
following message in the catalina log file:
This release of Apache Tomcat was packaged to run on J2SE 5.0
or later. It can be run on earlier JVMs by downloading and
installing a compatibility
You might try writing some script they can use that will create a
symlink in the webapps directory to their home directory:
#!/bin/csh
# do whatever needed to write to directory and read or prompt for user
directory
# maybe some other logging or setup ???
cd /usr/local/tomcat/webapps
#create
If on mod_jk in his case:
JkMount /* worker name
would cover all applications regardless of how many apps he had on there.
And in the case of virtual host names you could do a set of wild card hosts
to simplify the process in apache.
In DNS you would have *.tomcat.mydomain.com point to the
Nikita,
I'm not sure if your code lines are just written request but they are really
response like in your final email, but here goes.
I haven't written servlets themselves in a really long time. Too much time
wasted redoing all the fancy stuff things like Spring and Struts already do
for me.
Eww Eww even better idea. Add on mod_rewrite and you solution could be as
simple as adding the symlinks like Mike was talking about.
VirtualHost IP Address:80
ServerName www.tomcat.mydomain.com
ServerAlias *.tomcat.mydomain.com
DocumentRoot /www/tomcat.mydomain.com/html
Hi you smart people:
I have:
- One server running Tomcat 5.5 over Windows.
- Two IP addresses.
- Two domains, one for each IP address.
- Two SSL certificates one for each domain.
Goal: Intall two SSL certificates in the same server, but working for two
different IP addresses and domains.
I
I read somewhere that if response.getWriter().checkError() returns true
servlet should terminate. Do you think terminate means simply
return or actually Servlet.destroy()?
thanks
-nikita
-
To unsubscribe, e-mail: [EMAIL
On 5/4/06, Jorge Isaac Martínez Hatch [EMAIL PROTECTED] wrote:
- Two IP addresses.
- Two domains, one for each IP address.
- Two SSL certificates one for each domain.
Goal: Intall two SSL certificates in the same server, but working for two
different IP addresses and domains.
I tried to
I would have to think it would set the the http status to 500 and then
return. Servlet.destroy() is called when the container decides that servlet
object should be unloaded.
Chris Berthold
IT Systems Analyst
Commercial Refrigerator Door Company
941 . 371 . 8110 x 205
-Original Message-
Multiple IP addresses is a must to have multiple certificates. I only have
one SSL certificate setup so I'm going based on theory here. My summation
of what you would need to do is setup two HTTPS connectors with IP based
hosting turned on. Each keystore needs to be separate. Don't forget to do
Ok I checked a little further into it because I honestly couldn't remember
what it was supposed to do. A PrintWriter that is being used by a servlet to
send character data never throws any exceptions. The checkError() method is
supposed to flush the remaining output and if there was a problem
I think the easiest way is to throw away the packages and download and
install a CLEAN jdk from sun and a tar.gz-iped tomcat version from
tomcat.apache.org.
I also use debian (etch) and everything java-related in debian
packages is simply sick :-)
regards
Leon
P.S. Of course you could try
We have 2 applications installed inside the same Tomcat 5.0 instance
app1 and app2. URL app1.url.com is for app1 and app2.url.com is for
app2. Both URLs have the same ip address but still hit port 80. The
maxThreads for the connector is set to 100.
The problem we are experiencing is that app2
On 04 May 2006, Ken Dombeck said:
We have 2 applications installed inside the same Tomcat 5.0 instance
app1 and app2. URL app1.url.com is for app1 and app2.url.com is for
app2. Both URLs have the same ip address but still hit port 80. The
maxThreads for the connector is set to 100.
The
Leon Rosenberg schrieb:
I think the easiest way is to throw away the packages and download and
install a CLEAN jdk from sun and a tar.gz-iped tomcat version from
tomcat.apache.org.
I also use debian (etch) and everything java-related in debian
packages is simply sick :-)
regards
Leon
P.S.
On 5/4/06, Ken Dombeck [EMAIL PROTECTED] wrote:
Thanks.
The problem with this solution is that the end user will then see the
SC_SERVICE_UNAVAILABLE error. The desired behavior is for the users
request to wait until a thread is freed up to process their request.
Is there way to do that?
Not
Hi,
I've just installed the latest version of Tomcat in Windows XP and I'm
trying to enable CGI's.
I've followed the instructions in the documentation ad done the following:
- Renamed servlets-cgi.renametojar to servlets-cgi.jar
- Uncommented the references to CGi in conf/web.xml both servlet
Is anybody running TC 5.5.17 on Fedora 5? I'm having problems with selinux.
If I turn selinux off, everything's fine. Does anybody know how to disable it
specifically for Tomcat or Java? I'm getting messages like the following.
It's some kind of execmem test which I don't know how to turn
Hi,
Problem solved I thought I was using the latest version but I wasn't
5.5.17 is now the latest, and I was using 5.5.16.
With version 5.5.17 the problem doesn't exist.
Pedro Silva
Problem
Hi,
I've just installed the latest version of Tomcat in Windows XP and I'm
trying to enable CGI's.
Min,
You commited what is known as thread stealing. Read the FAQs. When you
want to submit a new question/topic then send a clean email to
users@tomcat.apache.org and DO NOT REPLY to someone else's post.
On 5/4/06, Min Huang [EMAIL PROTECTED] wrote:
I've been stumped on a (what seems to
Hello,
Can anyone tell me if Tomcat 5+ supports the /3GB switch on windows server
2003 and if the /PAE is supported?
Thanks,
Brian
EMC² - Documentum: The Leader in Enterprise Content Management
Brian Guy
Architect
Phone:
281.645.6720
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Thank you and sorry for wrong posting.
Hi all
I'm not sure if this is realy the right user list for it but I try it.
My Problem is that I use connection pooling with tomcat 5.0 and a oracle
database. My Problem is now I got the error message maximum open cursors
exceeded after a while. So I checked this and actually I always close
Hi all
I am running tomcat 4.* on solaris 10
Same setup is on RHEL 4
I have tesed jsp program on Linux
In that i am opening applet window with some pictures
Same progarm i am not able to run on Solaris 10
on olaris i am getting following error
Please help me
Thanks in advancd
exception
Most probably this is the problem with your database
jobs or stored procedures, which are leaving the
cursors around before exiting.
As I know, there is no such flag to say to tomcat.
Another thing is, whether you are trying with load
test, then that may be resonable. In that case, you
can
47 matches
Mail list logo