Hi,
I am running into a situation when running shutdown.sh fails to shutdown
tomcat on Solaris. The scenario is as follows:
(1) I am running out of my own CATALINA_BASE directory on Solaris.
(2) After starting and running for some time I edit the context xml (I'm
not sure this
Hi everybody,
I'm planning to write my own realm, because the JDBCRealm doesn't suit
me very well. I would like to implement something else which only
needs 3 more lines.
The problem is that I don't know if I have to:
- add this new realm in Tomcat sources (create my own java file)
- then
Thanks Laurent...
I've forgotten to say that in my example
org.toto.ui depends on org.toto.domain and org.toto.common, ie for performing
an action, ui could/will use classes or ressources from domain or common...
ideally I would like to have the same Application name (MyAppli) as root for
hi guys ..
i am confused now.. i need help undeerstanding apache and tomcat ..
what purpose each serve and how to link both them ...
i want to know how to link html and applets in tomcat htdoc folder to jsp
codes in tomcat webapps folder ..
thank you guys..
i am new apache and
No, you have to put each application log4j.xml in each WEB-INF/classes or
WEB-INF/lib (in a jar)
The first time you declare a Logger in your app, log4j.xml is searched in
the ClassLoader; but, I don´t know why (maybe some log4j initialization
static code), some log4j class is loaded by the
Title: Nachricht
Hello,
I want to use Tomcat
together with IIS to let IIS do the Windows based
authentication.
I've managed to
install and configure isapi_redirect-1.2.13, and everything seems to work. When
I call "request.getUserPrincipal()" in my servlet, I get a principal object with
the
We've implemented our own realm. The step's are quite easy:
1) Implement your custom Realm, we subclassed RealmBase.
2) compile your Realm class with catalina.jar in the classpath
3) jar up your Realm class and any helper classes
4) deploy realm jar to server/lib
The only thing you really need
ganesan malairaja writes:
hi guys ..
i am confused now.. i need help undeerstanding apache and tomcat ..
what purpose each serve and how to link both them ...
Apache is a web server - with lots of usage and good experience with in
terms of security facing the internet. You can get
Hi all
I have upgraded my java sdk and jre to j2sdk1.4.2_08 from j2sdk1.4.1_01.
How do I configure Tomcat 4.1.30 so that it runs from the
j2sdk1.4.2_08 instead of the old copy?
Do I have to reinstall Tomcat or is there a configuration that I can change?
I have changed my JAVA_HOME
Thanks.
I was hoping that was not going to be the answer though. I thought about
doing it this way, but wanted to avoid the overhead of managing two
application directories. Maybe it's unavoidable in tomcat.
Jared.
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent:
hi,
iam using tomcat5.0, I have developed a web application on my server and I
want to deny directory listing in tomcat so that if any one types even
http://localhost:8080 it should deny the listings.
I tried by changing in
web.xml listings falselistings tag, but by this method I can prevent
On 7/5/05, vishwam [EMAIL PROTECTED] wrote:
hi,
iam using tomcat5.0, I have developed a web application on my server and I
want to deny directory listing in tomcat so that if any one types even
http://localhost:8080 it should deny the listings.
I tried by changing in
web.xml listings
Change in tomcat\conf\web.xml
servlet
servlet-namedefault/servlet-name
servlet-class
org.apache.catalina.servlets.DefaultServlet
/servlet-class
init-param
param-namedebug/param-name
param-value0/param-value
/init-param
Hi:
I´m working with Tomcat4 and a Connection Pool for accesing MySQL. But,
when I use the following code in a jsp:
%@ page import =java.sql.*, javax.sql.* %
%@ page import =javax.naming.InitialContext, javax.naming.Context %
htmlbody
%
Context mInitCtx = null;
DataSource mDs =
Hi,
we have a new user requriement: to be able to modifiy the application
without affecting user work.
Is there any way to achieve this under tomcat? Currently we're
building war file. Is there any way to replace a class (maybe jsp class)
runtime, without restarting the tomcat?
any information
This is tricky.
Concerning jsp, you can simply replace old jsp with new one, they'll get
recompiled.
But what do you mean by replacing a class without affecting user work? This is
practically impossible to do,
because you can't change the class of an existing instance, all you can do is
load
--- Gal Robert [EMAIL PROTECTED] wrote:
Hi,
we have a new user requriement: to be able to modifiy the application
without affecting user work.
Is there any way to achieve this under tomcat? Currently we're
building war file. Is there any way to replace a class (maybe jsp class)
runtime,
From: Sriram N [mailto:[EMAIL PROTECTED]
--- Gal Robert [EMAIL PROTECTED] wrote:
we have a new user requriement: to be able to modifiy the
application without affecting user work.
That's a very broad requirement, and may not be achievable in its full
form. Does this mean that users must
Hello all,
I need an advice : I have to develop an application which will be called by
other apps in the same server -- all the callers are wep apps stored in a
tomcat instance. This application is not a web app, but it has to access the
same resources (database), so I thought that the easiest
--- Peter Crowther [EMAIL PROTECTED] wrote:
From: Sriram N [mailto:[EMAIL PROTECTED]
--- Gal Robert [EMAIL PROTECTED] wrote:
we have a new user requriement: to be able to modifiy the
application without affecting user work.
snip/
You'll could place the context.xml in either the
I'm using 5.5.9. Do you need to set a session timeout
variable? I imagine I'll run into login timeouts as
well, but my quick signup page seems to work with the
referral for now.
There's also this issue of simple redirects putting
passwords into the log files which is insecure. I'm
looking for
I don't think this is a session issue but I think they
must be inserting something extra rather than username
and password so that they can come to know that the
persons have comed from the login screen
But I can't figure out the way out
As I have done much part of the work in Tomcat 5.5.2
and
You can google for tomcat embedded and should be able to find
examples. Most of the setup for embedded is same as in 4.1 except for
setting some properties...
Sandeep
On 7/2/05, Steffen Heil [EMAIL PROTECTED] wrote:
Hi
Can someone tell me where to find an example with tomcat 5.5 embedded?
I'll give you the user- requirement, to understand better the problem:
pre-defined subsystems or modules should be upgraded or patched without
interfering/interrupting system usage (defined by the supplier).
Often happens, that we must correct a little error in business logic.
In these cases
Hi,
Is there a way to build a webapp so that once deployed when an error is
thrown that the stack trace will include the line in the java code which
caused the error? Instead of (Unknown Source) coming up, have for example
(LoginAction.java:115) as it does with other classes. Anybody know the
Hello All
I am running Apache 2.0.52 with Tomcat 5.5.9. I am running a
virtualhost in this setup (which has protected resources with RSA
ClearTrust). After logging in, the user is forwarded to a legal page
where he/she is prompted to agree to terms and conditions (tc).
However, there is an
Wehn you compile, you have to included debugging information.
This can be done with the javac task in ant (debug=true), or on the
commnad line for javac using the -g option.
Larry
On 7/5/05, Ciaran Hanley [EMAIL PROTECTED] wrote:
Hi,
Is there a way to build a webapp so that once
That easy! Thanks :)
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]
Sent: 05 July 2005 18:24
To: Tomcat Users List
Subject: Re: [OT] Relating source code to class code
Wehn you compile, you have to included debugging information.
This can be done with the javac task
Hi,
We used to use an older version of Tomcat. The old version did not run as a
service. On the old version, we have an Java aplication that needs to
access mapped network drives. With the new Tomcat 5.x, the Tomcat is ran as
a service, and I do not know how to map a network drive in this
hihi all,
i'm having an obscure problem relating to the display of regular plain
.txt files hosted withing Tomcat.
on Tomcat 4.1 links to .txt files would diplay within the browser and
the text files would preserve the text formatting (ie. spaces)
*because* the text file contents would be
should this be: CONCUR_UPDATEABLE?
Sapales wrote:
Hi:
I´m working with Tomcat4 and a Connection Pool for accesing MySQL. But,
when I use the following code in a jsp:
%@ page import =java.sql.*, javax.sql.* %
%@ page import =javax.naming.InitialContext, javax.naming.Context %
htmlbody
%
(i suspect it's the way
Tomcat is telling the browser what type of file it's sending
back... some kind of header info.. but i'm not sure how to go
about debugging this)
thx in advance,
woodchuck
I like using FireFox for debugging this type of thing, and the liveheaders
If I were you I would use UNC paths if possible instead of relying on
mapped drives.
However, having said that, you should be able to setup the service
to run as a particular user. I believe it should be a domain user. Then
log into the server using that domain login and map the drive
This article may help...
http://www.fawcette.com/javapro/2002_09/magazine/columns/proshop/
Gal Robert wrote:
Hi,
we have a new user requriement: to be able to modifiy the application
without affecting user work.
Is there any way to achieve this under tomcat? Currently we're
building war
thanks GB Developer!
i will definitely give this a try!
woodchuck
--- GB Developer [EMAIL PROTECTED] wrote:
(i suspect it's the way
Tomcat is telling the browser what type of file it's sending
back... some kind of header info.. but i'm not sure how to go
about
Having some fun with my current ISP and was wondering if any of you have UK
tomcat recommendations?
My technical needs are pretty small; just tomcat 5.0+ installed with mysql
4.0+ etc.
My main non-technical requirement is a good UK based support, and any
recommendations would be
From: Woodchuck [mailto:[EMAIL PROTECTED]
Subject: obscure tomcat 5.5 text file display bug?
however in Tomcat 5.5 links to the same .txt files would also display
within the browser, but the formatting is stripped because the text
file contents are being displayed in a non-fixed width font
GB Developer,
thanks so much for your suggestion, Live HTTP Headers is awesome!
and my hunch was correct. the problem is Tomcat 5.5 does not produce
any Content-Type information at all when serving back the .txt file.
here is the relevant header info from Tomcat 4.1:
HTTP/1.x 200 OK
Etag:
From: Woodchuck [mailto:[EMAIL PROTECTED]
Subject: RE: obscure tomcat 5.5 text file display bug? [Bugzilla
candidate?]
here is the relevant header info from Tomcat 4.1:
HTTP/1.x 200 OK
Etag: W/1706-1120587147968
Last-Modified: Tue, 05 Jul 2005 18:12:27 GMT
Content-Type: text/plain
Hi,
We have a lot of documents linked using the mapped drive. To switched to
UNC will require me to change all the links.
I had already tried what you suggested 2 weeks ago. It didn't work. It
didn't work even on a clean installation.
The mapped drive seem to work on our production server,
40 matches
Mail list logo