Thank you both for the very comprehensible explanation.
So I followed the steps awarnier suggested:
(0) stopped banging the head and had a good cup of coffee =)
1. Looked at the event logs ==> found nothing
2. Checked the option 'Interact with desktop' with the local system user ==>
my batch f
I've been looking for a way to modify my request header. I found that
implementing javax.servlet.Filter is the way to go. However, I noticed that
once after I got my Filter implementation working, my Valve is no longer
reached (I created my own Valve subclassing
org.apache.catalina.valves.ValveBase
Thanks for the tips. Very helpful.
>> I also get the warning when trying to use keepAliveTimeout.
>> Is this property available for the nio connector?
>
> No; it's only listed under the older connector (the one labeled "Standard
> Implementation" that then somewhat ambiguously refers to HTTP).
"Filip Hanik - Dev Lists" wrote in message
news:49937f4b.9050...@hanik.com...
> sure turn on
>
> org.apache.catalina.ha.level = FINE
> org.apache.catalina.tribes.level = FINE
>
> in logging.properties
>
> however, regular membership discovery over multicast show up even without
> these entries
>
> From: Peter Warren [mailto:tomcat.subscript...@gmail.com]
> Subject: nio connector configuration
I can't answer your real questions, but here's a bit for your minor ones.
> the acceptorThreadPriority and pollerThreadPriority are
> set using ints because I get the following warnings in the
> cat
Looking for nio configuration tips for 6.0.18...
I have an ajax app that uses a single socket connection for sending
standard http requests and receiving responses, and another socket
connection to listen via comet for messages pushed out by the server.
A comet timeout is generated every 50 second
> CLIENT_DISCONNECT is only used a subtype of ERROR
> and that happens when the socket is closed from the client side
When a client disconnects (i.e. socket is closed from the client
side), I see an END event on both Windows and Ubuntu. I expected an
ERROR event with a subtype of CLIENT_DISCONNEC
Peter Warren wrote:
How do I distinguish between a comet END event generated due to a
client disconnect and an end event generated for some other reason?
I'm using tomcat 6.0.18 with the nio connector. On both windows xp
sp3 and ubuntu 8.10, I'm seeing END events generated when a client
disconn
> From: AdamSives [mailto:a.si...@unsw.edu.au]
> Subject: Tomcat installation for Flyswatter
> I'm getting stuck with the Tomcat part...
Care to tell us what version of Tomcat you're using? While you're at it, tell
us what JRE/JDK you're using, and what platform you're running on.
Before attem
sure turn on
org.apache.catalina.ha.level = FINE
org.apache.catalina.tribes.level = FINE
in logging.properties
however, regular membership discovery over multicast show up even
without these entries
did you mark your webapp
Filip
Eric B. wrote:
"Filip Hanik - Dev Lists" wrote in message
> From: john.c.cartwri...@noaa.gov [mailto:john.c.cartwri...@noaa.gov]
> Subject: strange problem w/ connection pool and Oracle
>
> Cause: java.lang.ClassCastException: oracle.sql.STRUCT cannot
> be cast to oracle.sql.STRUCT
This is a classic symptom of having a class file loaded by two different
monesseldeur wrote:
[...]
Ok, stop banging your head for a moment, get a cup of coffee, relax, and
let's do this systematically. The wisdom is in the lotus.
I am no great Tomcat expert, but there are some practical things I know
about running services under Windows.
First, have a look at t
Hello All,
I'm having a rather strange problem using Oracle-specific types obtained
from a connection pool defined my my context.xml. I'm reading the
ResultSet w/ getObject, but then when I try to cast the Object to the
correct type, I see:
Cause: java.lang.ClassCastException: oracle.sql.STRUCT
My company needs to have a good look at this as a way of tracking our project
issues and problems etc!
I'm trying to install flyswatter as a means of doing so, but I'm getting
stuck with the Tomcat part... the instructions say
--"Add the following line to the configuration file within the
node:"
> From: monesseldeur [mailto:raymondesseld...@gmail.com]
> Subject: Re: Problems with Tomcat as service on Windows Server 2003
>
> I use a local admin or even a domain admin. Both have print
> priveleges.
But they may not have network access privilege.
> And they both certainly can run batch-file
I use a local admin or even a domain admin. Both have print priveleges.
And they both certainly can run batch-files to start eg. the calculator.
Christopher Schultz-2 wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> monesseldeur,
>
> On 2/11/2009 4:58 PM, monesseldeur wrote:
>
I use a local admin or even a domain admin. Both have print priveleges.
And they both certainly can run batch-files to start eg. the calculator.
Christopher Schultz-2 wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> monesseldeur,
>
> On 2/11/2009 4:58 PM, monesseldeur wrote:
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
monesseldeur,
On 2/11/2009 4:58 PM, monesseldeur wrote:
> I made a small Java web-application which prints pdf-files - on-demand - on
> the server.
>
> Everything went well on my dev environment, but not when I deployed the
> application on the Tomca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Carol,
On 2/11/2009 12:23 PM, Carol Cheung wrote:
> I'm trying to user UrlRewrite for the following task:
Note that this is technically off-topic. UrlRewrite is often recommended
by users of this list, but nor supported by them. That's what the autho
Hi all,
I made a small Java web-application which prints pdf-files - on-demand - on
the server.
Everything went well on my dev environment, but not when I deployed the
application on the Tomcat server in production.
The Tomcat server is started as a service on a Windows 2003 Server. I was
unabl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gregor,
On 2/11/2009 12:13 PM, Gregor Schneider wrote:
> I very well know this, however, SecurityFilter for me (or our specific
> situation here) has a showstopper since it does not support Tomcat's
> SingleSignOn-feature, if I'm not mistaken.
> If I
Many thanks for your detailed reply.
I looked further at the bug numbers you posted... a couple seem significant
and happen to be patched on my test server (137111-07).
In a couple of my test runs with "AcceptMutex pthread" trailed the tests
with sysvsem, but not conclusively. However, contrary t
How do I distinguish between a comet END event generated due to a
client disconnect and an end event generated for some other reason?
I'm using tomcat 6.0.18 with the nio connector. On both windows xp
sp3 and ubuntu 8.10, I'm seeing END events generated when a client
disconnects and for other sit
Using my special powers of internetelepathy, I will guess the code
contents of your page and diagnose the problem...
Ommm
[there will be a short delay while this occurs]
p
Jonathan Mast wrote:
> Here's my setup:
> Java 1.4.2
> Tomcat 5.5.17
> Windows XP
> I'm developing in NetBeans 6.5 (
I'm trying to user UrlRewrite for the following task:
If the user types http://localhost.whatever.com:8080/first/
I want the url redirected to
http://localhost.whatever.com:8080/second/here/user/index.jsp,
but the url that the user sees is still
http://localhost.whatever.com:8080/first/
When I g
Here's my setup:
Java 1.4.2
Tomcat 5.5.17
Windows XP
I'm developing in NetBeans 6.5 (which is invoking Tomcat)
The page just reads from a database and stuffs the results into a table.
I noticed that the page was taking forever to load, so i placed logging
statements in it, at the beginning of the
Chris,
On Wed, Feb 11, 2009 at 5:52 PM, Christopher Schultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Note that securityfilter implements the feature you describe, though it
> is separate from Tomcat's container-managed authentication and
> authorization. It is also implemented
Christopher Schultz wrote:
> Mark,
>
> On 2/11/2009 11:15 AM, Mark Thomas wrote:
>> In this case your classes are pinned into memory by the following reference
>> chain:
>
>> DriverManager > JDBC driver > webapp classloader > webapp classes
>
>> Since you created this by calling DriverManager.r
I see the PersistenceManager + Filestore/JDBCStore as an option but I see
certain places that PersistenceManager is experimental and does not keep
sessions completely up to date.
I am fairly new to Tomcat, most of my past experience with sessions has
been
with PHP sessions and normally we would
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 2/11/2009 11:15 AM, Mark Thomas wrote:
> In this case your classes are pinned into memory by the following reference
> chain:
>
> DriverManager > JDBC driver > webapp classloader > webapp classes
>
> Since you created this by calling Drive
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gregor,
On 2/11/2009 10:17 AM, Gregor Schneider wrote:
> I'll be on the Hackation during the ApacheConEurope in March and will
> provide a small piece of code there, whis is basically a LoginValve
> doing the following:
>
> - You can customize the ur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marko,
On 2/11/2009 10:15 AM, Marko Sacher wrote:
> It is working now!
>
> The problem is solved for me but I think it is still a good idea to make FF3
> accept the certificates I posted before with DSA signature.
Please stick with the bugzilla bug;
>> also, what could mean that it doesn't work, would be that multicast is
>> not working for you, and you need to enable multicast.
>
> I've ensured that multicast is enabled. I've added the multicast route to
> the routing tables. I've even checked my multicast route between 2
> machines by p
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stanimir,
On 2/11/2009 10:10 AM, Stanimir Komitov wrote:
> when the application is restarted, the session scoped beans are
> serialized on stop and restored on requesting the same session after
> start, but when the class is deserialized, transient fi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
On 2/11/2009 10:40 AM, lynckmeister wrote:
> SessionScope.get(String, ObjectFactory) line: 90
> DefaultListableBeanFactory(AbstractBeanFactory).doGetBean(String, Class,
> Object[], boolean) line: 298
> DefaultListableBeanFactory(AbstractBeanF
On Wed, Feb 11, 2009 at 4:43 PM, lynckmeister wrote:
>
> Hi Gregor,
>
> I didnt get it. Your writing a peace of code wich lets me custmize the url
> or page wich is called if a sessiontimeout occurs?
>
Nope.
What the Valve does, ist the following:
If a session times out, usually nothing is happe
Chuck, Mark,
Many thanks to both.
I'll give it a try.
Btw, I'm quite sure the problem is located in the weblogic.jar library,
as 2 other developers (working on different projects) already told me
some similar problems with their app being reloaded.
Anyway, time will tell.
Cheers,
Pieter
On We
You need to run the setup script tomcat6-instance-create to
create an instance of Tomcat that you can administer and run.
Lex Man wrote:
>
> I have installed tomcat 6 through the Ubuntu synaptic package manager but
> I am having trouble setting it up.
>
> Using the line:
>
> sudo /usr/share/
Damn Chuck, good catch.
On Wed, 2009-02-11 at 09:52 -0600, Caldarale, Charles R wrote:
> > From: Gustaf Cele [mailto:gustaf.c...@webstep.se]
> > Subject: TC6 gives ArrayIndexOutOfBoundsException when
> > writing large headers
> >
> > ALLVARLIG: An exception or error occurred in the container
> > d
Pieter Temmerman wrote:
> Is there any documentation I can read to understand this process better,
> or do I rather have to digg into the source code to get a better picture
> of all these Tomcat internals?
> I'm very interested in understanding how all this works, because at the
> end of the day,
> From: Pieter Temmerman [mailto:ptemmerman@sadiel.es]
> Subject: Re: Weblogic library and Tomcat
>
> But why aren't my classes unloaded when I undeploy a webapp?
Because something at a higher level in the classloader hierarchy is hanging on
to a reference to your webapp's classes (or classlo
Hi Mark,
> You are on the right track with a profiler. I use (and highly recommend)
> YourKit. I get a free copy as an Apache developer for investigating Tomcat
> related issues but it is reasonably priced and I have bought several copies
> for
> different projects over the years. It usually retu
> From: Gustaf Cele [mailto:gustaf.c...@webstep.se]
> Subject: TC6 gives ArrayIndexOutOfBoundsException when
> writing large headers
>
> ALLVARLIG: An exception or error occurred in the container
> during the request processing
> java.lang.ArrayIndexOutOfBoundsException: 8192
You need to enlarge t
Hi Gregor,
I didnt get it. Your writing a peace of code wich lets me custmize the url
or page wich is called if a sessiontimeout occurs?
that would be interessting, but I cant believe that there is no common way
to handle such a problem ...
what do i afford to use it? I need to recompile the to
>Can you give me more of the stack trace?
Sure, here we go :
SNUserSessionUtil.SNUserSingletonInit() line: 53
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not
available [native method]
NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
DelegatingMethodAccessorI
Thanks André.
Let's say I'm a quick learner :-)
On Wed, 2009-02-11 at 13:35 +0100, André Warnier wrote:
> Pieter Temmerman wrote:
> [...]
>
> Hear, hear.
> Nothing to do with the problem at hand, and I cannot help with that, but
> I believe this to be sufficiently remarkable as a post, to be si
"Filip Hanik - Dev Lists" wrote in message
news:499242de.2090...@hanik.com...
> log looks good, the warning could be that you are using an old
> configuration option
> take a look at
>
> http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html
>
> also, what could mean that it doesn't work, wo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
On 2/11/2009 9:32 AM, lynckmeister wrote:
>> Exactly where?
>
> Im writing this in a Sigelton bean wich is initialized via spring with the
> postconstruct
> paramenter. it seems that this is to late, what do you suggest ? maybe a
> special fi
I've run into an error which may be either a bug or the result of a
misconfiguration. When I try to set a large cookie, I get the following
error:
2009-feb-11 15:56:00 org.apache.catalina.connector.CoyoteAdapter service
ALLVARLIG: An exception or error occurred in the container during the
requ
To the OP:
If you can hold it for a while:
I'll be on the Hackation during the ApacheConEurope in March and will
provide a small piece of code there, whis is basically a LoginValve
doing the following:
- You can customize the url Tomcat shall call if authentication times out
- Since a valve can
It is working now!
The first problem seems to be that FF3 has a problem with DSA signature:
https://bugzilla.mozilla.org/show_bug.cgi?id=452712
The second problem was that my installed Java JRE had a keytool which was not
able to combine the option -keyalg RSA and -sigalg SHA1withRSA correctly. I
Ok, I`m using jsf and have managed beans with session scope and
properties other managed beans. Most of them have application scoped
beans references as properties, which makes connection to DB...and...
these fields are defined as transient to prevent serialization.
eg.
class TestBean implements S
dear christoph, hope that this is not private now , i was sure, that i sent
the last one also to the list... anyway ...
again thanks for you help ...
i copied now all the gode as desired and hope that this will help ;)
>ou won't really be able to tell if the user is "coming" from the logi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marko,
On 2/11/2009 3:54 AM, Marko Sacher wrote:
> I think I have the following problem:
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=441321
>
> I made a report there.
Excellent. Please followup with them (there's already a question about
your
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michel,
On 2/11/2009 7:35 AM, michel wrote:
> The only other problem I see is that JK has to look at different ports
> before it binds to anything but I assume that it just means it takes a
> bit longer to start but that's all.
No. JK doesn't look at
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yuval,
On 2/11/2009 1:56 AM, Yuval Perlov wrote:
> What leads me to believe this is unrelated to my application code is
> that restarting apache makes the problem go away.
So, when your site goes crazy, a simple httpd-bounce does the trick? No
Tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sudip,
On 2/11/2009 12:21 AM, sudip pattanayak wrote:
> Actually our design structure is such that we allow just one session
> for any user.
I understand.
> So when if a user is logged in any other system or he has not logged
> off the previous inst
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
Please keep all discussions on the list.
On 2/11/2009 8:08 AM, lync...@gmx.de wrote:
> First, I did what you suggested and set a Key value pair in the
> session map. in the login phase im trying to read this value to see
> if the user is comin
Hi.
This is not a critic/complaint, more of a question/suggestion to whoever
is in charge of this.
Is there a particular reason why the Tomcat 5/6 Windows version does
come in two separate packages (a zip and a service installer) ?
Since they are destined both for Windows, could not both be p
Pieter Temmerman wrote:
> First of all, I'm not sure how I can figure out where the references to
> the prior instances are being maintained, and secondly, I don't know how
> to clean them up (both are closely related if you ask me :-) )
You are on the right track with a profiler. I use (and high
you'd write it yourself
for example, configure CATALINA_HOME, CATALINA_BASE, TOMCAT_USER and
CATALINA_PID and to start you would do
start() {
isrunning
if [ $? -eq 0 ];
then
echo "Tomcat is already running: PID=$PID"
return 1
fi
if [ -f $CATALINA_BASE/b
Pieter Temmerman wrote:
[...]
Hear, hear.
Nothing to do with the problem at hand, and I cannot help with that, but
I believe this to be sufficiently remarkable as a post, to be singled out :
- it is polite
- it is to the point
- it provides all the necessary information (platform, Tomcat versi
Chris,
I removed "address" and changed back to (and will fix the security problem
here)
""
The only other problem I see is that JK has to look at different ports
before it binds to anything but I assume that it just means it takes a bit
longer to start but that's all. I am starting to unde
Filip,
I've got a basic implementation of this. Since I didn't want to change
Tomcat code, this is not the most elegant design.
Here's what I've done:
I created a ManualFailoverManager class, which extends StandardManager. This
is a copy of the BackupManager, with these changes:
1) In the req
Hello List,
A colleague of mine is having an issue with his application deployed in
a Tomcat 5.5.27 (jdk1.5.0_15) on a Debian Linux.
The application makes a connection to service running on a WebLogic
server. Therefor, he needs to include the weblogic.jar library in his
application.
When redeplo
Thank you Chris for your answer,
I think I have the following problem:
https://bugzilla.mozilla.org/show_bug.cgi?id=441321
I made a report there.
> Marko,
>
> On 2/10/2009 9:53 AM, Marko Sacher wrote:
> > I have a problem with a certificate from a CA. The certificate of the CA
> > is included b
Hello,
in my tomcat logs (6.0.18) I can see the exception as shown below.
Anyone having an idea?
Some background:
I have custom 'file_not_found.html' which is stored in WEB-INF dir.
At the end of my my web.xml I have somethin like this
404
/file_not_found.html
Looks that this is
67 matches
Mail list logo