Bu mail GESNET sunucusu tarafindan virus kontrolunden gecirilmistir.
On Mon, 6 Sep 2004 09:12:51 +0300, muhammed soyer [EMAIL PROTECTED] wrote:
My servlets are using the ds without a problem ..But I have some classes which are
POJO classes to make my job easier whie accessing the DB ..these classes couldnt
use my JDBC definition ..As I guess its from context
Yoav, thanks for your understanding. I've just read the 2.4 spec regarding this and
cannot any big clarifications. Can you point me to the chapter where you found it.
I find this issue logged as bug #30344. It's exactly what I mean. But IMO this not
described in the spec, neither 2.3 nor 2.4.
Yes they are in my web-inf/classes directory .I use them to do my db jobs
..from jsp pages ..
these classes access db .so I want to make them use Tomcats conneciton
pooling machanism .
I can do this from servlets ..
-ms
- Original Message -
From: Peng Tuck Kwok [EMAIL PROTECTED]
To:
For my web applications(servlets) I add the following lines in the
webapp.xml .For my classes what should I do ..These classes is not directly
called from the browser .My JSP files use them ..
ResourceLink name=jdbc/gp type=javax.sql.DataSource global=jdbc/gp/
Resource type=javax.sql.DataSource
Dear TC profis, (allistair and Nikola)
I have had this problem for a week (aaahhh!), and would really appreciate
ANY help or pointers to what I may be doing wrong.
When I post a value from a form from either Netscape 6.0 or IE 6.0, and do
a system.out.println in my test
servlet there is
Hi,
I'm just switching my servlets to read files using URLs rather
than fully qualified filenames - which is fine - but I can't figure
out how to get the files last modified value. I can get a
lastModified
header value from the connection but I'm not reading HTML files (if this
makes any
On Mon Sep 06 00:40:14 CEST 2004 Matt Robinson [EMAIL PROTECTED] wrote:
Steffen,
Many thanks for the response. The reason we stuck with
3.2.4 was because of stability. However, as we have
become more successful our systems have been receiving
heavier loads and thus, the Threadpool exhausted
On Mon Sep 06 00:40:14 CEST 2004 Matt Robinson [EMAIL PROTECTED] wrote:
Steffen,
Many thanks for the response. The reason we stuck with
3.2.4 was because of stability. However, as we have
become more successful our systems have been receiving
heavier loads and thus, the Threadpool exhausted
I use commons-logging api for two reasons (I am affraid that one of them
better than the other):
- because I reuse classes that use it.
- because the people from whom I learned to program Java2EE use it.
Thanks for the reference; it is really interesting.
-Mensaje original-
De: Jacob
I believe you also need an entry in your web.xml file that looks something
like this (obviously changed for your DB settings).
resource-ref
descriptionpostgreSQL Datasource/description
res-ref-namejdbc/postgres/res-ref-name
res-typejavax.sql.DataSource/res-type
Hello
Where is this context.xml file .should I create a file in web-inf
directory named context.xml .
I put a ResourceLink line in my webapp.xml files which is at
jakarta-tomcat-5.0.28/conf/Catalina/localhost
-ms
- Original Message -
From: Keith Bottner [EMAIL PROTECTED]
To:
The context.xml file is under your WebRoot/META-INF directory. When you
application is deployed it gets copied to the conf/Catalina/[host name]/
directory then renamed to be the same as your web application. (Which BTW,
if it is NOT being copied could also be part of the problem). 5.0.27 has a
Hi Ben,
OK, here is my setup. Can you do the same for yours considering the various layers I
have drawn below. You did not mention in your post if you are using the request filter
servlet to ensure request encoding is set to utf-8. Remember, Tomcat defaults to
ISO-8859-1 for inbound requests.
Bu mail GESNET sunucusu tarafindan virus kontrolunden gecirilmistir.
- Original Message -
From: muhammed soyer [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, September 06, 2004 7:53 AM
Subject: logging something to catalina.out
Hello,
How can I write something to the logfile . I should study log4j in a
few days ..
But if
Rhino wrote:
If I'm not mistaken, all you need is:
System.out.println(I should study log4j in a few days...).
Try replacing 'out' with 'err', then it should work... ;-)
Christian
--
Gre aus Europas grtem Greetings from Europe's largest
Urban Sprawl (DUDOMA -- Duisburg Dortmund
Adding to this, you could also supply a context.xml seperately with
the war file when you deploy the app, this is optional.
On Mon, 6 Sep 2004 06:07:18 -0500, Keith Bottner [EMAIL PROTECTED] wrote:
The context.xml file is under your WebRoot/META-INF directory. When you
application is deployed
When I call response.sendRedirect with a relative url in https,
the redirect is sent to not https but http.
In http, the redirect is correctly sent to http.
And also, if I use an absolute url with https:// in sendRedirect,
the redirect works fine.
This is what I'm running:
- Redhat Linux 9
-
Hi,
I just downloaded version 5.5. I'm interested in having several instances of
the server running on the same Windows machine (different ports, obviously).
Is this possible? Where can I find the documentation for doing so? In case
it is not possible (with a single installation), is it possible
:)
I was thinking that my class is jumping inthe catch block ..So I have tried
these in the catch block and couldnt get it written ..
As always the error is in the place where I am not looking for it :)
Thanks for your answers
-ms
- Original Message -
From: Rhino [EMAIL PROTECTED]
To:
hi.
i have two classes:
MyClass and test.MyClass (they are totally the same and one of them is
a member of package test)
i use them as tagclasses (taglib.tld):
?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE taglib
PUBLIC -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN
Assuming you are using 1.4 or higher your classes have to be in packages -
see for instance this thread
http://forum.java.sun.com/thread.jsp?thread=536889forum=33message=2596508
/Thomas
[EMAIL PROTECTED]
06-09-2004 15:24
Besvar venligst til Tomcat Users List
Til:[EMAIL
hi (again).
Assuming you are using 1.4 or higher your classes have to be in packages
-
see for instance this thread
http://forum.java.sun.com/thread.jsp?thread=536889forum=33message=2596508
/Thomas
you're right thomas, i am using 1.4,
but do know the reason, why sun (or whoever)
Hi Allistair,
I am using win2k and your filter with it set to UTF-8 encoding. Indeed I
have not been able to set JVM [file.encoding = utf-8]in the catalina.bat yet
(my catalina.out doesnt look like your catlina.bat example
that you gave me before!). I am going to continue trying setting the
- Original Message -
From: Christian Fritze [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, September 06, 2004 8:18 AM
Subject: Re: logging something to catalina.out
Rhino wrote:
If I'm not mistaken, all you need is:
System.out.println(I should study
Ben Bookey wrote:
Hi ,
You meta element:
META NAME=GENERATOR CONTENT=test page for encoding
http-equiv=Content-Type content=text/html charset='utf-8'
seems wrong. You kind of have two content attributes, but still looks wrong. Can you
try:
meta http-equiv=Content-Type content=text/html;
Hi all,
I've some trouble running a web application that use JNI to access a dll.
The os is windows 2000/XP and I'm running Tomcat 5.0.26 (tried also with 27
and 28).
I've done the following step:
- put my dll in the %ApacheInstallDir%/common/lib
- started Tomcat service
- open the first page of
Yes. The easiest way is to make multiple copies of the dist in different
directries and make sure server.xml soes not have any overlapping ports.
So ...
- get it working
- copy the distribution to a new dir
- Change the ports,addresses, dirs as needed
-Tim
Freddy Villalba wrote:
Hi,
I just
Without packages you will soon have a myriad of classes and have no clue
as to which depends on which, nor how they relate. Further visibility and
accessibility of methods etc. take advantage of packages. Im sure there
are many more advantages but this is just my 5 cents...
/Thomas
[EMAIL
On Mon, 6 Sep 2004 15:04:57 +0200, Freddy Villalba
[EMAIL PROTECTED] wrote:
Hi,
I just downloaded version 5.5. I'm interested in having several instances of
the server running on the same Windows machine (different ports, obviously).
Is this possible? Where can I find the documentation for
I just installed Tomcat 5.5.0 on Windows XP Professional SP2. I have an
existing application that worked under Tomcat 4.x. It consists of a
servlet in a jar file located here:
\tomcat\common\lib\myservlet.jar
That jar contains a servlet mapped to, for example:
servlet-mapping
You could try importing java.sql.Connection (not javax.sql.Connection).
Maybe this would help.
Regards,
Andy
-Original Message-
From: Sexy Prague
To: [EMAIL PROTECTED]
Sent: 05/09/2004 18:12
Subject: Connection class unknown...
Hello everybody,
I've got a problem with creating
Thanks, Tim.
Just one more question... if I copy the dist files, how am I supposed to
configure the CATALINA_HOME and CATALINA_BASE variables for each copy???
(it's unique, so it can't be valid for all the copies I configure, am I
right?)
I really appreciate your help.
Cheers.
-Mensaje
On Mon, Sep 06, 2004 at 06:25:01PM +0200, Freddy Villalba wrote:
: Just one more question... if I copy the dist files, how am I supposed to
: configure the CATALINA_HOME and CATALINA_BASE variables for each copy???
: (it's unique, so it can't be valid for all the copies I configure, am I
: right?)
Oh, and I'm using JDK 1.5 RC.
Garret
Garret Wilson wrote:
I just installed Tomcat 5.5.0 on Windows XP Professional SP2. I have an
existing application that worked under Tomcat 4.x. It consists of a
servlet in a jar file located here:
\tomcat\common\lib\myservlet.jar
That jar contains a servlet
Yes, QM. You are absolutely right. If I use different copies of the files, I
can start them in different environments with a .bat and that would isolate
the local value for each one. Right?
However, is it possible to have multiple instances run as separate Windows
services (so I am able to
Hello,
I have an application which authorize themselves, but now I would like
to
have tomcat knowing the user name for using WEB statistic tools. Did
someone manage to get back user credentials to tomcat from inside an
existing application?
Thank you in advance
Harald
Hi all...
I am preparing a new production web sever configured with Apache 2
serving static content and Tomcat 5.0.27 serving dynamic content via
TCP JK2 connector.
In Tomcat, I am trying to configure one database Resource element for
various Context, so I decide to configure one Resource
Hello all,
I don't understand how to use the tomcat 5.x basic authentification with IIS (ajp13) :
it works when using tomcat alone, but with IIS the answer is always 401.1 Not
authorized. It seems like IIS don't let Tomcat manage the authentification ? I've
read somewhere in this list that it
What do I have misconfigured to cause this security violation? I am
using -security to start a security manager and the page is https secure.
Using TC 5.0.27 on Redhat Linux, I received the following error in
catalina.out:
StandardClassLoader: Security Violation, attempt to use Restricted
Different class loader. The JSP's are running in a class-loader with the
application, while the common/lib jars are in a different class-loader where
the WEB-INF/classes are not part of the search path.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
Hello,
I'm new to Tomcat and need a help. I'd like to use my own classes in my JSPs,
but I can not reach them from my JSPs. I added them (already compiled .class
files) into WEB-INF/classes directory of my war file, but the JSP doesn't
work. It shows the message of unknown class. How to use
Peter Jarunek wrote:
Hello,
I'm new to Tomcat and need a help. I'd like to use my own classes in my JSPs,
but I can not reach them from my JSPs. I added them (already compiled .class
files) into WEB-INF/classes directory of my war file, but the JSP doesn't
work. It shows the message of unknown
try restarting tomcat
Peter Jarunek escribi:
Hello,
I'm new to Tomcat and need a help. I'd like to use my own classes in my JSPs,
but I can not reach them from my JSPs. I added them (already compiled .class
files) into WEB-INF/classes directory of my war file, but the JSP doesn't
work. It shows
Have you registered your servlets via the web.xml?
Sjoerd van Leent wrote:
Peter Jarunek wrote:
Hello,
I'm new to Tomcat and need a help. I'd like to use my own classes in
my JSPs, but I can not reach them from my JSPs. I added them (already
compiled .class files) into WEB-INF/classes directory
George,
George Sexton wrote:
Different class loader. The JSP's are running in a class-loader with the
application, while the common/lib jars are in a different class-loader where
the WEB-INF/classes are not part of the search path.
Then what's the solution? I've tried moving the jar from
On Mon, Sep 06, 2004 at 01:45:27PM -0700, Garret Wilson wrote:
: Different class loader. The JSP's are running in a class-loader with the
: application, while the common/lib jars are in a different class-loader
: where
: the WEB-INF/classes are not part of the search path.
:
: Then what's the
QM wrote:
: Then what's the solution? I've tried moving the jar from common/lib to
: WEB-INF/lib, but that didn't help. Unjarring the files into
: WEB-INF/classes didn't work, either.
When you say the jar, you mean the jar containing my servlet
classes, correct?
Right.
That should work. You
Hi all...
Can anyone tell me about a succeeding experience ResourceLinking
inside a Context element a Resource element contained in a
GlobalNamingResources element?
Please, I don't really know how to do it on Tomcat 5 and can´t find it
on the Internet...
(For more information about the problem
On Mon, Sep 06, 2004 at 02:55:13PM -0700, Garret Wilson wrote:
: I'll try that---it wouldn't cache a jar, would it?
Maybe, maybe not. I see from your first message that you're running
Tomcat 5.5, which is technically in alpha state. If you're trying it
out to report issues to the developers,
QM wrote:
On Mon, Sep 06, 2004 at 02:55:13PM -0700, Garret Wilson wrote:
: I was planning on using the same set of libraries for multiple web
: apps---the jar in question had more than just servlets for a single web app.
There's no need to do this, really. Webapps are supposed to be
Yes I meant 4.1.30. My fupah. Yes 30 not 3.
Sorry.
Cary
SH Solutions [EMAIL PROTECTED] wrote:
HI
Got Jakarta 4.1.3 installed from fresh copy that I got from the jakarta
site.
You are joking?
4.1.30 is current. I hope, you ment 4.1.30 and not 4.1.3...
Regards,
steffen
Ronald,
The exact error message is ThreadPool: Pool exhausted
with 100 threads, so I assume we have 100 threads
running -- once this error message appears Tomcat
stops responding until it is restarted. Is there a
simple way to check # of threads in use by Tomcat at
any given time?
We are running
Hi,
I'm upgrading our tag library to Tomcat 5 and having problems. Note that
they were written back in JSP 1.1 and haven't changed for a few years.
The problem looks like the tags are being cached and the setParent isn't
being called for each new reuse. As a result the wrong tag is
55 matches
Mail list logo