-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Len,
Len Popp wrote:
| Have you set cookies="false" in the app's declaration?
| That'd do it.
That wouldn't explain why Tomcat is adding the cookie to the response,
but the cookie isn't making it across the wire.
Tim, can you tell us a little more
Have you set cookies="false" in the app's declaration? That'd do it.
What happens if you put a trivial test.jsp in webapps/ROOT and request
http://www.yourserver.com/test.jsp? By default a JSP will create a
session and you should get a JSESSIONID cookie.
--
Len
On Tue, Apr 22, 2008 at 7:28 PM,
Tim
try
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletResponse
html
Encodes the specified URL by including the session ID in it, or,
if encoding is not needed, returns the URL unchanged.
The implementation of this method includes the logic to determine whether
the session ID n
Hello there - newbie question. I'm developing a browser-based application. I i)
copy the war file to the webapps/ directory, ii) startup tomcat and iii) send
an http request from Firefox.
In my handling servlet, if a session doesn't exist for this client, then I
create one (via request.getSess
configure in versoin 1.1.12 is broken. See:
http://marc.info/?t=120171192500012&r=1&w=2
Regards,
Rainer
Andrew Miehs schrieb:
Dear List,
has anyone else tried to compile apr and the native tomcat libraries on
etch?
debian40-64:/usr/local/src/tomcat-native-1.1.12-src/jni/native#
./configu
I recently attempted to upgrade our sites from tomcat 5.5.17, and at
some point the behavior of request.getUserPrincipal() changed so it
now returns null for all URLs except those declared to require
authentication. (Actually, it seems like the behavior was changed
long before 5.5.17, but regresse
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Farhan,
mfs wrote:
| Actually i need to provide my own session timeOut/expiry
implementation and
| i was wondering what would be the easiest way to achieve this, i am using
| tomcat for development but oc4j for production, and i was wondering if
| so
Dikan Xing wrote:
When two (almost) concurrent requests to the SAME servlet occurs (for example,I
type the same url in two individual browser window), I find that Tomcat seems
not to work on the second request until the first is done.
Are the two browser windows truly individual, or could the
Thank you very much :). Deploying the application as ROOT.war solved all
my problems ;) and in fact my parameters in the context.xml were
useless.
Am Montag, den 21.04.2008, 08:19 -0500 schrieb Caldarale, Charles R:
> > From: Felix Schumacher [mailto:[EMAIL PROTECTED]
> > Subject: Re: Problem wi
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: NotSerializableException: StandardSessionFacade
>
> That's the weirdest stack trace I've ever see. readObject calls
> something that throws a WriteAbortedException? Totally weird.
We already discussed that, back at the beginnin
murthy gandikota wrote:
David kerber <[EMAIL PROTECTED]> wrote:
Just a SWAG: Maybe the traffic slows down so much that the database (if
there is one) is timing out connections and dumping stuff from its
cache, so that when people do hit it, the db has to create a new
connection and read
Alan Chaney wrote:
Correct me if I am wrong but you want to have a
> level of configuration which is more than just
> appearance.
It's mostly for appearance but that also ties in
with functionality. For example, if a page displays
the preferences that a user can change, a skin
author can change
Guys,
Guys
Actually i need to provide my own session timeOut/expiry implementation and
i was wondering what would be the easiest way to achieve this, i am using
tomcat for development but oc4j for production, and i was wondering if
somehow i can hook in my implementation into various servlet con
David kerber <[EMAIL PROTECTED]> wrote:
>Just a SWAG: Maybe the traffic slows down so much that the database (if
>there is one) is timing out connections and dumping stuff from its
>cache, so that when people do hit it, the db has to create a new
>connection and read lots of stuff from dis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Massimo,
MassimoH wrote:
|
| Christopher Schultz-2 wrote:
|> This shouldn't be a fatal error. All Tomcat versions I have used will
|> simply give-up restoring sessions and continue starting up.
|>
|> The OP didn't post the entire stack trace, so it's
Rajeev Angal wrote:
You indiated earlier on this thread that a "patch for 6.0.16" is being
worked on to fix the v1 cookies issue - any idea when it will be released?
There has been some discussion of this on the dev list. No specific
timetable as yet.
Also would appreciate if I can get a bugz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andy,
Andy Clark wrote:
| I want Jasper to look for JSP and Tag files in a
| specific location (e.g. based on a request param);
| and then fall back to a default location if the
| file is not found. This would be extremely useful
| for skinning a web
Christopher Schultz-2 wrote:
>
> This shouldn't be a fatal error. All Tomcat versions I have used will
> simply give-up restoring sessions and continue starting up.
>
> The OP didn't post the entire stack trace, so it's tough to tell what's
> really going on. Massimo, can you re-post the stack
Hi Mark :
You indiated earlier on this thread that a "patch for 6.0.16" is being
worked on to fix the v1 cookies issue - any idea when it will be
released?
Also would appreciate if I can get a bugzila number to track it - I
can seem to find it as I searched the bug list.
thanks,
-rajeev
I figured out how to get the isapi_redirect.dll to work on 64-bit windows
systems.
The key to this was once the correct source code was downloaded from
Jakarta, it had to be compiled using Visual Studios 2008 C++ build
environment. This is (in my experience) a very finicky *.dll that had to be
co
Andy
I've followed this thread with a some interest because it ties up with
some things I've done in the past. I think you are trying to use a
technology in an inappropriate way to solve the wrong problem.
Correct me if I am wrong but you want to have a level of configuration
which is more t
Lucas wrote:
To answer the original question, there is a
> mechanism that Tomcat provides to handle the
> specific thing you want to achieve. The solution
> is very Tomcat specific, so I do not really
> recommend it, anyhow, if you really _need_to_have
> _this_ then the way to achieve it is th
Hassan wrote:
I think that this is a non-starter because the app
is already written (quite nicely, I might add) in
straight JSPs.
If it's already "quite nicely" written, why doesn't
> it do what you want? :-)
Excellent point! But ultimately there are limitations
in the extensibility of th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matteo,
matteof wrote:
| I'm currently working on a project that uses a specific oracle driver
| version put in common/lib and it cannot be changed at the moment.
| The problem is that i have to deploy another application on production
| server which
DIGLLOYD INC wrote:
Is the realm the specified in the in
web.xml? (eg "Tomcat Manager Application")
Yes.
(link above) suggest "localhost:80" might be the realm, but that makes
no sense to me, as this would tie it to a specific port.
That is the default you get if you don't specify one.
The
murthy gandikota wrote:
Peter Crowther <[EMAIL PROTECTED]> wrote:> From: murthy gandikota
[mailto:[EMAIL PROTECTED]
We have a website based on embedded Tomcat with Jboss 4.0.2.
We noticed that every weekend the Tomcat becomes sluggish.
Backups? Congestion on the network due to a s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I'm asking the Tomcat community this because everyone always surprises
me with their wide customer experiences.
I need to get new SSL certs for a domain name switch we're doing, soon.
VeriSign's SGC/EV SSL certs are ridiculously expensive and s
> From: hezjing [mailto:[EMAIL PROTECTED]
> Subject: Re: Directories in Tomcat 5.5\temp
>
> Yes, I'm using antiResourceLocking as shown in Tomcat
> 5.5\webapps\myapp\META-INF
Unless you really, really need that, I'd turn it off.
> I stopped Tomcat service normally (using Monitor Tomcat).
I do
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stephanie,
Stephanie Wullbieter wrote:
| -Xmx768m
| -verbose:gc
Do you see GC activity in stdout? You should be able to get some heap
metrics easily by looking at that. What does the heap use curve look like?
| total used f
> From: murthy gandikota [mailto:[EMAIL PROTECTED]
> Peter Crowther <[EMAIL PROTECTED]> wrote:>
> From: murthy gandikota [mailto:[EMAIL PROTECTED]
> > We have a website based on embedded Tomcat with Jboss 4.0.2.
> > We noticed that every weekend the Tomcat becomes sluggish.
[...]
> There is n
> We have a website based on embedded Tomcat with Jboss 4.0.2. We noticed that
> every weekend the Tomcat becomes sluggish. I mean there are no errors like
> HTTP404. The website simply hangs. We theorized that JVM is busy with garbage
> collection. Is that realistic? Does anyone have any other
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
|> From: Pop Olimpiu [mailto:[EMAIL PROTECTED]
|> Subject: hs_err_pidPID.log reading
|>
|> After following the error logs I found an hs_err_pidPID.log
|> which seams to show me what is the problem
|
| This is a
Yes, I'm using antiResourceLocking as shown in Tomcat 5.5\webapps\myapp\META-INF
I stopped Tomcat service normally (using Monitor Tomcat).
The following are the steps I performed,
1) Stopped Tomcat 5.5 service.
2) Delete all files in Tomcat 5.5\temp\.
3) Started Tomcat 5.5 service.
4) Tomcat
Peter Crowther <[EMAIL PROTECTED]> wrote:> From: murthy gandikota
[mailto:[EMAIL PROTECTED]
> We have a website based on embedded Tomcat with Jboss 4.0.2.
> We noticed that every weekend the Tomcat becomes sluggish.
Backups? Congestion on the network due to a site that's only accessed heavi
Hello
I am trying to use a JAASRealm for authentication. I have set up the Realm
and it is authenticating with a WebLogic instance and returns a user back
(WLSUserImpl) with their groups (if any WLSGroupImpl). I have a custom
verison of the WebLogic provided UsernamePasswordLoginModule which do
I've read this doc:
http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#Digested%20Passwords
But I cannot get it to authenticate.
I'm putting the digested password for myusers into tomcat-users.xml as
directed.
One problem is that it's not at all clear what the realm is--
Is the realm
BeasC wrote:
My intent is to have an Apache + JK + Tomcat server that uses apache only to
service static web content and and sends all dynamic content to Tomcat (so
that it handles all the JSP). I downloaded and installed Apache 2.2, Tomcat
6.0, and J2SE 1.5 (Becuase j2se 1.6 was buggy and giv
> From: BeasC [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat is not rendering JSP content on Port 80
>
> My intent is to have an Apache + JK + Tomcat server that uses
> apache only to service static web content and and sends all
> dynamic content to Tomcat (so that it handles all the JSP).
If
Christopher Schultz wrote:
Yes, using DataSourceRealm is the preferred configuration.
Thank you for confirming that :)
[...] By the way, there's no reason not
to upgrade to the most recent Connector/J, either.
Sorry.. are you referring to the mysql-connector JAR file? In my
troubleshoot
> From: hezjing [mailto:[EMAIL PROTECTED]
> Subject: Re: Directories in Tomcat 5.5\temp
>
> When I look further into these directories, they contain the same (and
> only) JAR files of my web application,
> e.g. Tomcat 5.5\temp\0-myapp\WEB-INF\lib\*.jar
> Tomcat 5.5\temp\1-myapp\WEB-INF\lib\*.jar
hezjing wrote:
Hi Chuck
Hmmm ... I don't think my web application is explicitly writting
anything into the directory
When I look further into these directories, they contain the same (and
only) JAR files of my web application,
e.g. Tomcat 5.5\temp\0-myapp\WEB-INF\lib\*.jar
Tomcat 5.5\temp\1-mya
I *think* the antiResourceLocking in tomcat may cause this if configured
in your element. Those with better knowledge might want
to comment further. Last I know the webapp is copied/expanded to either
temp or work when it's enabled.
--David
hezjing wrote:
Hi Chuck
Hmmm ... I don't think
My intent is to have an Apache + JK + Tomcat server that uses apache only to
service static web content and and sends all dynamic content to Tomcat (so
that it handles all the JSP). I downloaded and installed Apache 2.2, Tomcat
6.0, and J2SE 1.5 (Becuase j2se 1.6 was buggy and giving problems).
Hi Chuck
Hmmm ... I don't think my web application is explicitly writting
anything into the directory.
When I look further into these directories, they contain the same (and
only) JAR files of my web application,
e.g. Tomcat 5.5\temp\0-myapp\WEB-INF\lib\*.jar
Tomcat 5.5\temp\1-myapp\WEB-INF\lib\*
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dikan
Dikan Xing wrote:
| When two (almost) concurrent requests to the SAME servlet occurs (for
| example, I type the same url in two individual browser window), I
| find that Tomcat seems not to work on the second request until the
| first is done.
> From: hezjing [mailto:[EMAIL PROTECTED]
> Subject: Directories in Tomcat 5.5\temp
>
> Can anyone explaines why these directories are created?
Your webapps are creating them.
> and why these directories are not being clean-up by Tomcat?
Tomcat merely provides the workspace for the webapps; us
> From: murthy gandikota [mailto:[EMAIL PROTECTED]
> We have a website based on embedded Tomcat with Jboss 4.0.2.
> We noticed that every weekend the Tomcat becomes sluggish.
Backups? Congestion on the network due to a site that's only accessed heavily
at weekends?
> We theorized that JVM is bu
We have a website based on embedded Tomcat with Jboss 4.0.2. We noticed that
every weekend the Tomcat becomes sluggish. I mean there are no errors like
HTTP404. The website simply hangs. We theorized that JVM is busy with garbage
collection. Is that realistic? Does anyone have any other suggesti
Dear List,
has anyone else tried to compile apr and the native tomcat libraries
on etch?
debian40-64:/usr/local/src/tomcat-native-1.1.12-src/jni/native# ./
configure --with-apr=/usr/local/apr --with-java-home=/usr/local/java
I get loads of messages including
./configure: line 5472: JAVA_H
Hi
I'm developing and testing application (Tomcat 5.5\webapps\myapp)
using Tomcat 5.5 on Windows XP.
After some times, I notice that there are directories created in Tomcat 5.5\temp
1-myapp, 2-myapp, 3-myapp and etc.
These directories are there even after I restarted Tomcat.
Can anyone explaine
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zach,
Zach Cox wrote:
| That's what I was afraid of - that Request class is huge (2600+ lines) and
| has lots of fields (50+) some of which are private. So if I create a
| Request subclass that accepts another Request in the constructor,
there are
|
THanks a ton... had set a very cache for my DB and thts what was causing the
problems now everythig seems fine :)
On Mon, Apr 21, 2008 at 9:12 PM, Hassan Schroeder <
[EMAIL PROTECTED]> wrote:
> On Mon, Apr 21, 2008 at 7:54 AM, Parag Dhanuka <[EMAIL PROTECTED]>
> wrote:
> > I am using an apache se
That's what I was afraid of - that Request class is huge (2600+ lines) and
has lots of fields (50+) some of which are private. So if I create a
Request subclass that accepts another Request in the constructor, there are
2 options:
1) initialize as many of the superclass's fields of the new instan
> From: Pop Olimpiu [mailto:[EMAIL PROTECTED]
> Subject: hs_err_pidPID.log reading
>
> After following the error logs I found an hs_err_pidPID.log
> which seams to show me what is the problem
This is a JVM, not Tomcat, problem. I would try moving to the latest
version of 1.6 and see if the
Hi everyone,
I want monitoring Tomcat applications below webapps. So I am using JMX
for to do this. Exactly I am interested in the timing for every process,
so I am using this
http://localhost:port/manager/jmxproxy/?query=RequestProcessor for
extract what I want, I am monitoring /processingTi
Hi to all,
I'm currently working on a project that uses a specific oracle driver
version put in common/lib and it cannot be changed at the moment.
The problem is that i have to deploy another application on production
server which datasource (defined in META-INF/context.xml) doesn't fit very
well
Probably the answer is just in jTDS FAQ in http://jtds.sourceforge.net/faq.html
Check the answer to "What is the URL format used by jTDS?"
My .2
E-
On 4/22/08, Alexander Diedler <[EMAIL PROTECTED]> wrote:
> No, the Services on the same Port and same IP.
> SQL Server allow up to 99 Instances on on
No, the Services on the same Port and same IP.
SQL Server allow up to 99 Instances on one machine. Only the Instance Name is
important to identify the correct Instance. But how I can Access a SQL Server
by Instance with Tomcat?
Alex
From: David Smith [mailto
Ok... how do you get two services on the same port? Are they bound to
different IPs? They can't both respond on the same address and port.
--David
Alexander Diedler wrote:
Hello,
We have installed a SQL 2000 and SQL 2005 Server Express on the same server and
same Port (1433)
Now we have no
Stephanie Wullbieter schrieb:
Dear list members,
a tomcat machine has a problem because java eats the memory up. Here some data:
1.555.828 KiB host RAM
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03,
Hello,
We have installed a SQL 2000 and SQL 2005 Server Express on the same server and
same Port (1433)
Now we have no chance to tell the Tomcat in Conf Directory, which SQL Server
Version and Database has to be choosen for the Application.
I know, that there are Instance Names like 127.0.0.1\sql
> From: Stephanie Wullbieter [mailto:[EMAIL PROTECTED]
> SUSE LINUX Enterprise Server 9 (i586)
> Linux-Kernel 2.6.5-7
man strace
man ltrace
Good luck! I'd use strace as it gives you more information, but ltrace may be
a faster way of finding open/close mismatches. Annoyingly, you'll have to
s
Thank You for the tip!
The OS is
SUSE LINUX Enterprise Server 9 (i586)
Linux-Kernel 2.6.5-7
> Can you monitor the system calls made by the application over a period of
> time, looking for systematic mismatches between resources that are opened
> and resources that are closed? I'm not sure which v
Found this:
How do I rotate catalina.out?
http://www.apache-korea.org/tomcat/faq/misc.html#catalina.out
--
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
-
To s
On Tue, Apr 22, 2008 at 10:59 AM, Indu biju <[EMAIL PROTECTED]> wrote:
> Dear All,
>
> I am trying to install SSL certificate for Tomcat
>
> i bought SSL cert from GeoTrust and configured the domain with https://
>
> But when i try to make a payment with bank, the call returns error. I
> contacte
> From: Stephanie Wullbieter [mailto:[EMAIL PROTECTED]
> a tomcat machine has a problem because java eats the memory
> up. Here some data:
>
> 1.555.828 KiB host RAM
>
> java version "1.4.2_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
> Java HotSpot(TM) Client VM (bui
Dear list members,
a tomcat machine has a problem because java eats the memory up. Here some data:
1.555.828 KiB host RAM
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
Tomcat Version 4.1.
67 matches
Mail list logo