I can get a session to persist but there is a delay. Is there a way of
forcing Tomcat to flush the session to the DB on every change? The goal
is use the DB for session replication rather than multicasting.
Thanks,
Peter Johnson
Peter Johnson wrote:
Hi All,
Does anyone have a working
Hi,
I try to upload a file from an application to another, both using tomcat
4.1.31 and I have the following exception java.net.SocketException : Broken
pipe. This happen when I upload large file, I don't reproduce it when I use
tomcat 5 or JBoss,
can anyone help ?
thank you,
Nicolas
I'm migrating pages that worked in 3.xxx Tomcat up to
Tomcat 4.1.
Thestart of the page is like,
this:
jsp:root
xmlns:xtags=http://jakarta.apache.org/taglibs/xtags-1.0;
Hi!
I must have missed something.
Given scenario:
A linux system running with ISO encoding.
Java and Tomcat configured to use UTF-8 anyway (-Dfile.encoding=UTF-8, etc)
Works like a charm with Java 1.4.1_03
But if I change only the JDK to java 1.4.2_08 it wont work anymore -
means it reads my
Looks like a race condition with JDBCStore.
-Tim
Ayyanar Inbamohan wrote:
This is a production site. We use Tomcat 4.1.
website stops answering requests from time to time
Our website is under very high daily volume. Several
times a week, no
requests are answered.
Here is the log
hi
we did coding in tomcat 5.0 on local machine, it's working fine.
But when we uploaded to a remote site , i.e web server which has tomcat 5.5.9
and giving this error
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
Hi Freddie,
Unfortunately I havent found a solution. If anyone has done Java Embedded
Tomcat using SSL, could they post a simple test program.
-Original Message-
From: Freddie Willis [mailto:[EMAIL PROTECTED]
Sent: 21 June 2005 10:23
To: tomcat-user@jakarta.apache.org
Subject: RE:
Hi,
trying to start tomcat via ./catalina.sh jpda start with all relevant
env-vars set the process terminates and the following is added in the
catalina.out log:
ERROR: JDWP unable to get necessary JVMTI capabilities.
[debugInit.c,L279]
Has anyone ever dealt with this?
Hi -
(using ant to deploy an application for testing purposes)
Is there a way to use the list anttask to put the list of installed
tasks into a property?
That way I could make a very flexible reload target which would check
if the context was already in the list, and if it was then undeploy
Hi.
I want to configure the following:
www.domain.com http://www.domain.com/ port 80 - start page and unsecure
area
www.domain.com http://www.domain.com/ port 443 - redirects to
ssl.domain.com:443
ssl.domain.com port 80 redirects to ssl.domain.com port 443
ssl.domain.com
Hi Tim,
To prevent the Undeploy task failing to stop the process you can wrap it
in a TryCatch task from ant contrib.
Take a look at http://ant-contrib.sourceforge.net/
--
Nicolas
-Original Message-
From: Tim Diggins [mailto:[EMAIL PROTECTED]
Sent: jeudi 23 juin 2005 13:28
To: Tomcat
Hi Lars
You need to use name-based Virtual hosting.
I assume you use apache in front of tomcat.
Docs are available on line at:
http://httpd.apache.org/docs-2.0/vhosts/
Best Regards
Bruno Georges
Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000
Lars
Correction:
Name-based virtual hosting cannot be used with SSL secure servers because
of the nature of the SSL protocol.
You will need to use IP-Based virtual hosting when enabling SSL.
Hope this helps.
Bruno Georges
Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000
Its seems you have correctly defined the datasource,
but it is not linked to your application. In the
server.xml your application should be defined as a
context and in the context you have to specify that
the global resource defined earlier is available to
this application.
Look at resource-ref
Hello everybody.
I have a problem, I am a new user of servlet and this kind of thing.
I have a servlet, AOPServlet, which uses a parameter (country), but I want
to forwards to AOPServlet from other servlet, EditAOPServlet, how could I
forward to AOPServlet and send it the country as a
Well without wishing to sound petty
Your development environment should replicate you server environment as
closely as possible.
Understandably you may develop on windows but run on UNIX but anything else
such as Tomcat, JVM, and any 3rd party Jars should be of the same version.
The problem
+1 on dev matching uat and production environments as closely as possible.
As to the issue:
IIRC the JDTCompiler shipping with 5.5.9 does not support J2SE 5
features in jsp scriptlets. This may be your problem.
Jon
Mark Benussi wrote:
Well without wishing to sound petty
Your
hi, i wonder what tomcats connection pool does when an
org.postgresql.util.PSQLException: An IO erro occured while sending to
the backend - Exception: java.net.SocketException: Broken pipe
exception occurs. will the pool recognize this and get rid of the broken
connection?
thanx,
mischa
Hi Tim,
what you also can do is just checking if the directory of the webapp exists.
So this would be a check on the filesystem and not in Tomcat, but should
work as well.
Cheers
Bernhard
-Ursprüngliche Nachricht-
Von: Tim Diggins [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23.
Dear Tomcat users,
Our setup: cocon 2.1.5.1, tomcat 5.5.4, jdk 1.5.0.
In order to manage much more requests, I have installed three tomcats
connected to one apache via mod_jk's loadbalancer and on each of the
tomcats runs a cocoon.
The problem now is, when I build a session via Firefox,
response.sendRedirect(url_to_AOPServlet?country=xxx)
--- Carlos Bracho [EMAIL PROTECTED] wrote:
Hello everybody.
I have a problem, I am a new user of servlet and
this kind of thing.
I have a servlet, AOPServlet, which uses a parameter
(country), but I want
to forwards to AOPServlet
Ok, I tried the simple hello world jsp, with the same result.
Adding the path to my jars and/or classes lead to the same issue.
I also removed my tomcat 5.5.9 installed from windows installer to use the the
zipped archived (it contain a jspc.bat script) without success.
Another try was to use ant
Found a solution: using filters to block direct access to the Web pages.
-Original Message-
From: Jim Henderson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 22, 2005 8:48 AM
To: Tomcat Users List
Subject: Blocking urls
I am working on porting a WebSphere JSP application to Tomcat.
Hi Jim, I'm looking for a way to do this as well. Can you let me know
how you managed it or point me in the right direction?
Thanks in advance
-Original Message-
From: Jim Henderson [mailto:[EMAIL PROTECTED]
Sent: 23 June 2005 14:49
To: Tomcat Users List
Subject: RE: Blocking urls
http://raibledesigns.com/tomcat/
Do you have jvmRoute=tomcat1 in the Engine tag ?
-Original Message-
From: Ralph Lange [mailto:[EMAIL PROTECTED]
Sent: 23 June 2005 14:41
To: tomcat-user@jakarta.apache.org
Subject: Problem running three tomcats and not having a sticky session
Dear
From: Diarmuid McDonald [mailto:[EMAIL PROTECTED]
Subject: RE: Embedded Tomcat SSL
Unfortunately I havent found a solution. If anyone has done
Java Embedded Tomcat using SSL, could they post a simple test program.
Can't really comment about how it's done, but it is possible, since
JBoss
I am also looking for a way to block access for administrator pages.
Could you fill me in also?
Thanks,
Robyne
-Original Message-
From: Jim Henderson [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 7:49 AM
To: Tomcat Users List
Subject: RE: Blocking urls
Found a solution:
Which file do I change this configuration in?
-Original Message-
From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 22, 2005 11:28 AM
To: 'Tomcat Users List'
Subject: [SPAM] - RE: Move Webapps - Character set not allowed
Change
Host name=localhost debug=0
I found this URL. http://www.asiaosc.org/article_243.html . I'm testing this
now.
From: Bruno Georges [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
CC: Tomcat Users List tomcat-user@jakarta.apache.org
Subject:
Hurrey! I finally succeed to solve my problem. The way is not very orthodox but
at least jsp are turned into servlets.
So I removed the classpath/classpath from the jasper taskdef markup and
added the needed jars at hand into eclipse ant configuration.
For the one interested the concerned jars
Hi there,
I just spent a bit too much time tracking this one down, so I thought I'd share
my results for the next person searching this list.
The symptom
---
Error creating temporary file at
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.
Has tomcat 5.5 change the default response header? In 5.0.28, I was able to
download file from secure site in IE. In 5.5, I got this error message This
file cannot be written to cache although my IE's Don't save encrypt page
to file is deselected.
Regards,
Phillip Qin
Hi,
Can anyone please help me on this session lost issue?
Here is the problem I am getting:
-- If I open a IE 6.0 browser and log into the web site we are developing, I
get into a welcome page with a few of link options. In the login action class,
we set some attributes into the session.
I was finally able to get this working. I'm not sure if it's a bug, but when I
enter in the user
information on the Log On tab of the Tomcat service interface, it doesn't seem
to actually apply
the information to the Windows service. I finally tried entering the same info
into the Windows
On 6/23/05, angelina zh [EMAIL PROTECTED] wrote:
-- If I open a IE 6.0 browser and log into the web site we are developing
How do you log in? Do you navigate to static HTML page, to JSP page,
to Struts login action? Who generates this page or where this page is
being forwarded from?
In the
The JVM parameter file.encoding is only intended to be read only. Some
platforms/JVM versions let you change it but not all.
Mark
Mario Ivankovits wrote:
Hi!
I must have missed something.
Given scenario:
A linux system running with ISO encoding.
Java and Tomcat configured to use UTF-8
Michael,
Thank you so much for your reply. The login page is a JSP page. In the JSP
page, the login form's mothod is post and the action is a struts action.
After login, we did some internal redircts for security checking and then take
the user to the welcome page. The welcome page is
What is the default username/password for Tomcat
Manager? I can not log in to Tomcat Manager. I did not
set my own username/password when I instlled tomcat.
They must be the defualt.
Thanks,
Yahoo! Sports
Rekindle the
Look in tomcat/conf/tomcat-user.xml
-Original Message-
From: Tony Smith [mailto:[EMAIL PROTECTED]
Sent: 23 June 2005 18:45
To: Tomcat Users List
Subject: default username/password for tomcat
What is the default username/password for Tomcat
Manager? I can not log in to Tomcat Manager.
There is a file in TOMCAT_HOME/conf named tomcat-users.xml, edit the file to
look something like this:
?xml version='1.0' encoding='utf-8'?
tomcat-users
role rolename=tomcat/
role rolename=role1/
role rolename=standard/
role rolename=manager/
role rolename=admin/
user username=tomcat
Mark Thomas wrote:
The JVM parameter file.encoding is only intended to be read only. Some
platforms/JVM versions let you change it but not all.
Thanks!
With this backround I googled around and found java might check the
environment variable LC_CTYPE (on linux), I will try this with 1.4.2.
***This is an auto generated mail, to aknowledge the receiept of
your mail***
Hello Tomcat Users List tomcat-user@jakarta.apache.org,
This refers to your mail with subject Re: [OT] encoding differences between
1.4.1 and 1.4.2? receieved on Thu, 23 Jun 2005 18:06:36 GMT
Hi!
I just upgraded from tomcat 4.0.3 to 5.5.9, I put all my librarie in
shared/lib and set correctly the CLASSPATH, but when I try to load the class
oracle.jdbc.driver.OracleDriver
tomcat return this error
ava.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
***This is an auto generated mail, to aknowledge the receiept of
your mail***
Hello Tomcat Users List tomcat-user@jakarta.apache.org,
This refers to your mail with subject Load oracle.jdbc.driver.OracleDriver
class receieved on Thu, 23 Jun 2005 18:08:13 GMT from
Copy oracle driver jar to common/lib
-Original Message-
From: Giacomino Raccuia [mailto:[EMAIL PROTECTED]
Sent: June 23, 2005 2:11 PM
To: Tomcat Users List
Subject: Load oracle.jdbc.driver.OracleDriver class
Hi!
I just upgraded from tomcat 4.0.3 to 5.5.9, I put all my librarie in
***This is an auto generated mail, to aknowledge the receiept of
your mail***
Hello Tomcat Users List tomcat-user@jakarta.apache.org,
This refers to your mail with subject RE: Load oracle.jdbc.driver.OracleDriver
class receieved on Thu, 23 Jun 2005 18:15:03 GMT from
Put the jar in common/lib and don't mess with the classpath. Tomcat's
internal classloaders will take care of finding the jar.
--David
Giacomino Raccuia wrote:
Hi!
I just upgraded from tomcat 4.0.3 to 5.5.9, I put all my librarie in
shared/lib and set correctly the CLASSPATH, but when I
***This is an auto generated mail, to aknowledge the receiept of
your mail***
Hello Tomcat Users List tomcat-user@jakarta.apache.org,
This refers to your mail with subject Re: Load oracle.jdbc.driver.OracleDriver
class receieved on Thu, 23 Jun 2005 18:17:43 GMT from
Hello all,
I'm using Tomcat 5.5.9, apache_2.0.54 and Jakarta Tomcat Connectors
1.2.13 on a red hat enterprise v4 server.
I can't even download a zip file from the web server, it fails after
496ko every time.
In the catalina.out I see
org.apache.jk.common.ChannelSocket processConnection
***This is an auto generated mail, to aknowledge the receiept of
your mail***
Hello tomcat-user@jakarta.apache.org,
This refers to your mail with subject ClientAbortException... Connection reset
after 496ko receieved on Thu, 23 Jun 2005 18:23:16 GMT from Luc Giavelli
I wrote a web app that contains, among others, a JSP page that offers files
for download:
The files are somewhere in the filesystem (e.g. c:/files or /files)
Upon calling the JSP, its code reads the directory of the above dir and
presents each file in it as link.
Everything seems to work except
***This is an auto generated mail, to aknowledge the receiept of
your mail***
Hello Tomcat Users List tomcat-user@jakarta.apache.org,
This refers to your mail with subject Offering files for download receieved
on Thu, 23 Jun 2005 18:39:27 GMT from Matthias Klein [EMAIL
Hello. I have a Tomcat 5.5.8 based web application running an Axis
1.2.0 driven web service. When I run a certain chunk of code doing
XSLT transformations, the code fails with There was an error while
transforming document - java.io.UTFDataFormatException: Invalid byte 1
of 1-byte UTF-8 sequence.
I am attempting to build mod_jk 1.2.13 from source on FreeBSD 5.4
which already has apache-2.1.4 and jakarta-tomcat-5.0.30 build
from source (from the FreeBSD ports tree). I am following the
build instructions at:
http://jakarta.apache.org/tomcat/connectors-doc/install/apache2.html
but I am
I have the following code for an access filter. If I log in with the
role of admin everything works as expected. If I try to log in with
the role of user I immediately get a permissions error that denies access.
I've added ${sessionScope.USER} to the jsp pages as well as adding
entries for
Is it possible to set the domain when JSESSIONID cookies are created?
We have a couple of different subdomains (a.company.com, b.company.com,
c.company.com), and we'd like the session to persist across all of them.
Right now, it looks like if a request comes in to a.company.com, the
JSESSIONID
On Wed, 22 Jun 2005 15:14:14 +0200 (CEST), [EMAIL PROTECTED] wrote:
I answer myself:
Yes, version 4.1.29 still contains the bug. An upgrade to version
4.1.31 solves the problem.
Thnaks for reading.
Zsolt
Hi all,
I have a vendor-supplied application here that is bundled with Microsoft
IIS 5
-Original Message-
From: Scott Waldner [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 4:00 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: Blocking urls
Here is how we solved this problem using filters. This was tested on Tomcat
5.5.9 and WebSphere 6.0.
A 404 error is the
I have been working on getting session replication working for a set of
web applications that use cross context dispatching.
I ran into a problem where the session for the context the request is
being made to is being replicated correctly but the session for the
context(s) being dispatched to
Hi Matthias,
I think people will need a little more information in order to help
you. How exactly are you creating the links right now? What do you
actually want them to look like when served to the user?
By itself Tomcat doesn't allow an app to cough up an arbitrary path in
the filesystem and
None of the links you gave is working. I have a lot of doubts about tomcat
installation. what shall I do..who can help me.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
None of the links you gave is working. I have a lot of doubts about
tomcat installation. what shall I do..who can help me.
justy [EMAIL PROTECTED] wrote:None of the links you gave is working. I have a
lot of doubts about tomcat installation. what shall I do..who can help me.
Hi,
I have a webapp A that uses cross-context to dispatch requests to
webapp B. However, I want users to have to go thru webapp A and the
mapping I set in web.xml. How do I restrict access so only webapp A can
invoke B's servlet but B should be inaccessible to users navigation. Is
there
63 matches
Mail list logo