Hello guys,
There's a couple of files which are used to making their nest in my Tomcat
work directory. That's definitely not a problem for me but I was just
wondering what they are for.
The first one, session.ser is used according to the doc, to store the
session between shutdowns. Fine. But rega
> From: Chad Lung [mailto:[EMAIL PROTECTED]
> Coming from ASP.NET experience I know that using
> static variables with IIS they are held in the app domain and
> the app domain
> can be reloaded by IIS for a number of reasons (config files
> changed, files
> changed, etc.) This kinda makes using
Are you saying you tried what I suggested, or that you have already
tried it? It seems like the problem is a caching issue to me.
What URL are you trying to access to trigger the login - you're not
accessing the login.jsp directly are you? (I have to ask...)
In the second instance the brow
Add a validationQuery attribute to your definition with
a very basic query like "select 1". That'll test your connections on
borrow and re-create them as necessary.
--David
Alper Sarı wrote:
Dear All,
We have configured a portal system on Linux. In our system we uses
connection pooling to
No. Tomcat will create a directory either in webapps or in the work
directory depending on settings, but it will expand the war file
regardless. You wouldn't want tomcat to attempt to run your webapp
archived anyway -- performance would suffer horribly.
--David
Angelo Chen wrote:
Hi,
Can
Hi,
I have two kinds of data needed in my application:
1. data needed by the program like some parameters not accessible by the
user.
2. temporary data generated by the program to be accessible by the user,
example: some jpeg files that are generated to be referred to by IMG tags in
a page.
wh
Pierre Goupil wrote:
> Can anyone give me a clue, please ?
Have you tried searching the source code for "tldCache.ser"?
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
David Smith wrote:
> No. Tomcat will create a directory either in webapps or in the work
> directory depending on settings, but it will expand the war file
> regardless.
Not always the case. This only happens if unpackWARs on the host is
set to true (the default)
Mark
-
But doesn't that still unpack the wars to the work directory or
something similar? I was under the impression it always unpacked the
wars for performance reasons -- just not always in the webapps directory.
--David
Mark Thomas wrote:
David Smith wrote:
No. Tomcat will create a director
hi guys,
We have two application running on the same tomcat instance /app1 and
/app2. We need to run app2 from app1. Trying to do so calling /app2
directly results in a call to host/app1/app2. Is there a way to find the
FQDN of the current virtual server so that we can call server/app2
di
Actually no. But that's an idea, indeed. I work with mostly free software &
still don't have the reflex to browse the source... Will do that !
Cheers,
Pierre
2007/9/5, Mark Thomas <[EMAIL PROTECTED]>:
>
> Pierre Goupil wrote:
> > Can anyone give me a clue, please ?
>
> Have you tried searching
Hi All!!
I am new to Tomcat. Can someone tell me what is new in Tomcat 6.0 compared
to the last version.
Thanks in advance
Regards
Ashish
Might give you some ideas...
http://tomcat.apache.org/whichversion.html
On 9/5/07, Ashish Jain <[EMAIL PROTECTED]> wrote:
> Hi All!!
>
> I am new to Tomcat. Can someone tell me what is new in Tomcat 6.0 compared
> to the last version.
>
> Thanks in advance
>
> Regards
> Ashish
>
--
It implements the latest Servlet and JSP specifications (2.5 & 2.1 vs 2.4 &
2.0), and also has memory optimizations, advanced IO and refactored
clustering.
http://tomcat.apache.org/whichversion.html#Apache%20Tomcat%206.x
On 9/5/07, Ashish Jain <[EMAIL PROTECTED]> wrote:
>
> Hi All!!
>
> I am new
New Rev4 of the unusual POJO application server for Tomcat.
Have been working very hard on it, its hot... enjoy!
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
> New Rev4 of the unusual POJO application server for Tomcat.
> Have been working very hard on it, its hot... enjoy!
>
Help a lot if I gave you the site address, hey ;)
http://coolharbor.100free.com/index.htm
-
To start a new topi
hi guys,
We have two application running on the same tomcat instance /app1 and
/app2. We need to run app2 from app1. Trying to do so calling /app2
directly results in a call to host/app1/app2. Is there a way to find the
FQDN of the current virtual server so that we can call server/app2
di
Hi,
My server runs only tomcat 5.5, and my app needs to copy some jpeg files to
a temporary directory so that the generated page can refer to them like:
http://mydomain.com/temp/J12345.jpg";, now how to map a directory
in the file system to http:/mydomain.com/temp? Thanks.
A.C.
--
View this me
hi, everyone
I meet a problem about programmic login. I setup a tomcat server,
and deploy two WAR files (applications) on it. One of the application
A is protected by server authentication, and the other application B
is not. I want to setup a scenario : when user navigates the
application B, he
Hi Guys,
I'm trying to access psql from Tomcat5. I have the correct driver
because my command-lind test program works fine. So I copied the
driver into /usr/share/tomcat5/common/lib, like the documentation
says. Then I kept getting
Error occurred: org.postgresql.util.PSQLException: Somet
Can you post the complete stack trace of your error? That would be
extremely helpful in diagnosing the problem.
---David
Chris Baty wrote:
Hi Guys,
I'm trying to access psql from Tomcat5. I have the correct driver
because my command-lind test program works fine. So I copied the
driver
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html
See section about single-sign. This share credential between webapps.
Note: it's not a "programamtic". It just let all your application share
a same authentification token. Once you authenticate using J2EE
compliant method in application X,
Hi David,
The only trace that I can find is the Catalina log:
Error occurred: org.postgresql.util.PSQLException: Something unusual
has occured to cause the driver to fail. Please report this exception.
This comes right from my catch routine and is what I would expect.
Thanks.
Chris
-
How do you log the event? Most logging frameworks support log.error(
String message, Exception e ), which would provide the complete stack
and root cause in the log file.
--David
Chris Baty wrote:
Hi David,
The only trace that I can find is the Catalina log:
Error occurred: org.postgresql
I'm not sure. The code looks like:
try {
con =
DriverManager.getConnection("jdbc:postgresql:test","batymohn","bcl122");
out.println("Conection made");
} catch (Exception ex) {
System.out.println("Error occurred: " + ex);
out.println("NO Connection made");
}
When it throws this exception i
On 9/5/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
> My server runs only tomcat 5.5, and my app needs to copy some jpeg files to
> a temporary directory so that the generated page can refer to them like:
> http://mydomain.com/temp/J12345.jpg";, now how to map a directory
> in the file system to ht
> From: Chris Baty [mailto:[EMAIL PROTECTED]
> System.out.println("Error occurred: " + ex);
Chris, you might want to learn how to use any of the Java logging
frameworks - as I eventually realised, they make your life a lot easier
once you get your head round them. In the meantime, at least als
On 9/5/07, Angel Sotirov <[EMAIL PROTECTED]> wrote:
> Is there a way to find the FQDN of the current virtual server
How about ServletRequest.getServerName() ? :-)
--
Hassan Schroeder [EMAIL PROTECTED]
Hi,
I have already enabled the SSO function in server.xml. It could be
promoted the challenge once when I visit the first webapp and without
login to all the webapps in the host. But I do not want any login form
promoted to users. So my point is, how do I write code in a jsp or
servlet to auto
- Original Message -
From: "Angel Sotirov" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, September 05, 2007 4:23 PM
Subject: tomcat 6 application intercommunication
hi guys,
We have two application running on the same tomcat instance /app1 and
/app2. We need to ru
Hi Hassan,
The servlet mapped directory sounds interesting, can you give me some more
info about that?
Thanks,
A.C.
Hassan Schroeder-2 wrote:
>
> On 9/5/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> You could use a symlink, or you could use a servlet mapped to /temp/*
>
> HTH,
> --
> Hass
On 9/5/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
> The servlet mapped directory sounds interesting, can you give me some more
> info about that?
Not much to say; your servlet would take the pathInfo part of the
URL and read that image out of the filesystem.
The path to your external temp direct
Pease add a ex.printStackTrace() call to your exception catch block,
and then post the results. That will give more information as to what
went wrong.
You may need to take this question to the postgres mailing lists.
Dan
On 9/5/07, Chris Baty <[EMAIL PROTECTED]> wrote:
> I'm not sure. The code
We are deploying a newer version of a web app to run in the same Tomcat
instance (1.4.31) as the existing version. On our development servers,
winXP, if the new version encounters a startup problem the production
app will start and only the new version will fail.
On the production server, wh
Everything is possible, but unlikely. Please try running server stack
trace from
http://tmitevski.users.mcs2.netarray.com/stacktrace/app/launch.jnlp to
get a thread dump. It will show the list of threads and what locks they
have acquired and what locks they are waiting for.
- Alexey.
Wm.A.St
I have a tomcat application that has server side includes embedded in the JSP
pages. For example the application called MyApp has references in the JSP
pages to a /ssi folder/page. So, for example, in index.jsp there could be a
reference to /ssi/header.html. Now what I wish it was doing was refere
Thanks Alexey. Unfortunately, the server in question is not ours and we
do not even have log in on it, so any kind of sane analysis is probably
out of the question.
All we can do is try deploying another version with changes that will
either fix the problem (we hope) or yield some more informat
There can be a simple problem with locking - see
http://tomcat.apache.org/faq/windows.html#lock . On Linux the files are
usually not locked, so you can get "class not found exception" when a
jar file is replaced with a new one.
Ask administrators to get the stack trace (and check if CPU is at
If you look at the c:import tag of the standard tag library, you'll find
what you want.
http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html
--David
thoalex wrote:
I have a tomcat application that has server side includes embedded in the JSP
pages. For example the application called
Hi,
Am not sure to understand what you want to do. You want to login user
without requiring it, ever, to authenticate? That seems to me quite
paradoxal. Maybe you should explain a bit more what you try to achieve...
朱全鑫 a écrit :
> Hi,
>
> I have already enabled the SSO function in server.xml
David Smith wrote:
> But doesn't that still unpack the wars to the work directory or
> something similar? I was under the impression it always unpacked the
> wars for performance reasons -- just not always in the webapps directory.
I'd need to check the code but AFAIR it only does that it you use
Okay, I have the following structure.
$CATLINA-HOME\webapps\a_subfolder\my_root\
Within my_root there are a number of subfolders that contain various
applications i.e. login, admin, reports and my WEB-INF.
The first thing I need to make sure of is that I am using the correct
terminology
On 9/5/07, Mike Cronin <[EMAIL PROTECTED]> wrote:
> $CATLINA-HOME\webapps\a_subfolder\my_root\
> Within my_root there are a number of subfolders that contain various
> applications i.e. login, admin, reports and my WEB-INF.
1) defining Contexts within server.xml is discouraged,
2) appBase and do
I have a webapp that maintains many concurrent comet connections.
Transmissions between the client and server are small and infrequent.
I'm trying to lessen the memory usage by playing with buffer
configurations.
To test various configurations, I wrote a client that opens 2000
connections to a c
Thanks for the reply Hassan.
I definitely want this set up correctly, and I do intend to move the
elements out of the server.xml, but I have not been able to
successfully do so as none of the applications want to load from the
context.xml.
Mike
Fax.com
"The New Way To Fax!"
www.fax.com
Confid
On 9/5/07, Mike Cronin <[EMAIL PROTECTED]> wrote:
> I definitely want this set up correctly, and I do intend to move the
> elements out of the server.xml, but I have not been able to
> successfully do so as none of the applications want to load from the
> context.xml.
That's suspicious in and of
We'll do. Thanks.
Fax.com
"The New Way To Fax!"
www.fax.com
Confidential: This electronic message and all contents contain information
from Fax.com, Inc. which may be privileged, confidential or otherwise
protected from disclosure. The information is intended to be for the
addressee(s) only. If
Is there any way that users/administrators can be notified automatically
(via email) when the server certificate has expired?
Regards,
Andrew
hi,David,
My aim is that tomcat could authenticate users without promoting
any login form. I give out the userID and password in the servlet
code. when users navagate the servlet page, they would login to tomcat
as that userID identity.
Thanks a lot!
Zhu quanxin
2007/9/6, David Delbecq
the only data you risk to lose is from maxHttpHeaderSize, if you reduce
that, and the HTTP request is larger than that, you'll end up with a
garbled request
everything else should be good to run around with
Filip
Peter Warren wrote:
I have a webapp that maintains many concurrent comet connect
I started from a clean install and continue to encounter the issue where my
JSP pages are not exposed to the session variables being set from within my
servlets. I believe that my element is set up correctly as I can get
to all of my site content as desired.
Have you experienced this? Your input
Andrew Friebel wrote:
> Is there any way that users/administrators can be notified automatically
> (via email) when the server certificate has expired?
http://www.google.com/search?hl=en&q=cron&btnG=Google+Search
BTW, you probably want to be notified *before* it expires.
Mark
-
Mike Cronin wrote:
> I started from a clean install and continue to encounter the issue where my
> JSP pages are not exposed to the session variables being set from within my
> servlets. I believe that my element is set up correctly as I can get
> to all of my site content as desired.
What values
Thanks again P,
Yeah I actually already had the meta tags at the top, and modified everything
to match your example exactly. I also tried using separate login and error
pages with no noticeable difference.
Here are the http responses to the member page GET. I'm not well versed in this
stuff,
I think this feature is very basic. Everything should have a programmatic way.
zhu quanxin <[EMAIL PROTECTED]> wrote: hi,David,
My aim is that tomcat could authenticate users without promoting
any login form. I give out the userID and password in the servlet
code. when users navagate the servlet
I had attached web.xml with th previous mail. Nevertheless, I am
attaching source code of listener and the web.xml file.
Grateful if you can spot and informme of errors.
Thanks
ASW
On Tue, 2007-09-04 at 16:38 -0400, Christopher Schultz wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
Hi,
In my servlet, I set the response code to 500, like this:
response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
Why tomcat attached this in my http response? And how can I disable it?
Thank you.
Apache Tomcat/4.1.36 - Error
report