Hi-
Are both users accessing the web application from the same computer?
-Terence M. Bandoian
[EMAIL PROTECTED]
> Hi:
>
> Thanks David, Chris and Martin for the responses. I appreciate them.
May be I didn't explain the
situation properly in my posting. I will try to explain better -
>
> The app
Ben, what is it exactly that you see, does it continue to use a different
dB?
Or perhaps it doesnt pick up a table modification?
- Original Message -
From: "Ben Stringer" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 28, 2007 2:06 AM
Subject: Clean webapp redeploy with tomcat down
the same browser (in FireFox) and Ctrl-N from IE??
That means that you are using the same session
So you can't avoid overwriting the last session,i think.
You can open a new browser window to avoid overwriting session.
On Wed, 27 Jun 2007 5:31:19 -0700
<[EMAIL PROTECTED]> wrote:
> Hi:
>
I installed tomcat6 binary on my computer and failed to work. Then I removed it
and installed tomcat 6.exe for windows and also failed to work because the
service failed to start. Then I re-installed the binary and worked but I am
more interested in the automatic restart of the service. what can
Does anybody know where I can get a Portlet Container for Tomcat 6.0.13, so
that when developing portlets in Netbeans 6 I can deploy/run them on Tomcat
6.0.13.
regards,
Steve Morris
IT Security Access Management
Technology Risk and Security
Technology Australia
National Australia Bank
Phone: +61
I have run this through the Struts mailing lists and am hoping for a
change/solution. Without digging through the servlet spec myself can I ask if
the Tomcat implementation is the expected behavior (i.e. no processing of
filters on container managed authentication redirects)? Or is it just not
Hi,
Noticed that the mod_jk.so binary for Linux is version 1.2.0 and not 1.2.1?
I've downloaded it from the download page
http://apache.leakage.org/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.21/
Checked the version using "strings mod_jk.so"
If I'm wrong, please correct me?
Thanks.
--
Hi:
Thanks David, Chris and Martin for the responses. I appreciate them. May be I
didn't explain the situation properly in my posting. I will try to explain
better -
The application has pretty decent authentication mechanism that differentiates
between users, roles and permissions etc. What t
Hey everybody,
I'm a new user on this list, and I have a doubt about how to use the new
Advanced IO technology implemented on Tomcat 6.
I saw the example on site, but I'm getting problems to build a client for
access the event manager.
Can anyone give an trick about how to develop that? or even
In several of the fields of the database the information is not entered
until a later time and thus the field is null. If you look at actual data
the value is null. When returned the data either is "null" or is not
compatible with the data needed back. I am using the data in several areas.
If I
On 6/27/07, Brantley Hobbs <[EMAIL PROTECTED]> wrote:
I'd assume that for optimal performance you'd want to redirect to
another machine, but there's nothing enforcing this. If you're using
Apache or IIS as a localhost front-end, you could redirect to a URI
that's being served by the web server.
Hi all,
I am running tomcat 5.5 on linux (RHEL 4), IBM JDK 1.4.2 SR7, and see an
unusual behaviour that I am hoping is due to a gap in my knowledge.
When redeploying webapps, I have preferred a procedure where tomcat is
stopped, all database, LDAP connections from the app are observed to
have clo
Using a single copy would save memory, but not a very large amount
compared to the size of 15 typical webapps. More significant are the
convenience factors:
Using a single shared copy of the lib is good if the webapps are all
related and you need to make sure they're all using the same version
of
I am trying to test the connection to an oracle DB from Java on Tomcat 5.5.
The subject is the error I am receiving.
I am developing using JS Creator 2. When testing the app work fine. But when
it is deployed on our web server the error occurs.
Any help, suggestions, example would be great.
> From: Victor Huang [mailto:[EMAIL PROTECTED]
> Subject: RE: Can Tomcat access JSP pages out of tomcat folder?
>
>
> crossContext="true"/>
As stated before, remove the path attribute - it's not allowed unless
the element is in server.xml, which no one should be doing
anymore. If you want a
I should say "an actual redirect response code could confuse a browser".
B.
Brantley Hobbs wrote:
You know, I hadn't given it a lot of thought to be honest.
I think that for accuracy's sake it should probably be a 500 error (I
assume that 503 is a server busy error or something; don't know it
Hi Chuck,
I'm able to call jsps out of Tomcat following the instruction given. Thanks!
However, I now have another problem - see I have set two Contexts in tomcat
called: Context1, Context2. I even setup crossContext to "true"
Test1.jsp and Test3.jsp is under Context1
Test2.jsp is under C
You know, I hadn't given it a lot of thought to be honest.
I think that for accuracy's sake it should probably be a 500 error (I
assume that 503 is a server busy error or something; don't know it off
the top of my head). An actual redirect error could confuse a browser.
I'd assume that for o
seems to be an encoding/decoding issue where IE stores filenames as UTF-8
and tomcat references using ISO-8859-1
fileName = URLEncoder.encode("manual.pdf", "UTF-8");
http://mail-archives.apache.org/mod_mbox/tomcat-users/200504.mbox/[EMAIL
PROTECTED]
M--
This email message and any files transmit
| From: Brantley Hobbs [mailto:[EMAIL PROTECTED]
| Sent: Wednesday, 27 June, 2007 12:37
|
| This approach seems to work well (at least until the box staggers to a
| halt simply issuing redirects).
Just out of curiosity, do you think it would help in those situations to
issue a 503 instead of a 30
All, I'm not sure if I should post this question to the Tomcat or
Commons List server so please let me know if posting it to Tomcat is
Incorrect.
Anyways, I am running Tomcat 5.5.23 and a Standalone Java application
using Common HttpClient to access Webdav resources under Tomcat. When I
updated th
Well, the reason is, that I need to run some tasks that have to be
executed on each node once within the cluster. So each node must be able
to identify these tasks that still need to be executed on this node. So
in my solution the server node gets its id and checks which was the last
task it ha
- Original Message -
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, June 27, 2007 8:53 PM
Subject: RE: Where to find session cookies
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Subject: Re: Where to find session cookies
True, although I d
> From: Johnny Kewl [mailto:[EMAIL PROTECTED]
> Subject: Re: Where to find session cookies
>
> True, although I dont know how to make Tomcat do that, nor do
> I think it should be done, they must expire, or else with time
> his Tomcat will run out of memory.
???
Why do you think Tomcat will ru
> What is recommended for monitoring Tomcat? Or is there anything built
in
> that can help monitoring the performance and the state of the thread
> pools?
For general purpose use jconsole.exe from SUN's JDK.
> More specifically, I'm trying to find a way to time how long it take
> from the moment
Guys, just want to tell you about something I see happening on the Netbeans
user group.
People complain that Tomcats logs dont work, or that Tomcats setting are not
being picked up, its broken.
Whats actually happening is that in NB6, Tomcat is not present at all, and even
when it is on the mac
True, although I dont know how to make Tomcat do that, nor do I think it
should be done, they must expire, or else with time his Tomcat will run out
of memory.
- Original Message -
From: "Nelson, Tracy M." <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, June 27, 2007 7:2
Clinton,
I implemented this as a filter/listener combination.
The listener tracks session initialized events and increments an atomic
Integer (decrementing it at session destroyed), saving it as a context
attribute.
The filter uses the following logic:
1. If we're less than or equal to the
| From: lightbulb432 [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, 26 June, 2007 14:13
|
| How can I configure Tomcat to use permanent cookies as opposed to
session
| cookies? One of the reasons I'd like to know is to see the behavior of
| method isNew() of HttpSession, which I can do if I'm able to
| From: Parham, Clinton [mailto:[EMAIL PROTECTED]
| Sent: Wednesday, 27 June, 2007 08:41
|
| How do I keep my web application responsive for users already half way
| through an enrollment process when traffic volume is high?
I'd recommend setting a "registration-in-progress" session cookie.
Then,
moskito.anotheria.net
and you are probably interested in the RequestURIFilter
http://moskito.anotheria.net/moskitodemo/mui/mskShowProducer?pProducerId=RequestURIFilter
regards
Leon
On 6/27/07, Angelov, Rossen <[EMAIL PROTECTED]> wrote:
What is recommended for monitoring Tomcat? Or is there an
YES good one and I found it now in MC4J as well... its under
Domains->J2EEServer->J2EEApplication->WebModule->(host/name of
servlet)->start property
Bob, I have no idea why the mapping is so different to JConsole in MC4J
its not even under the MBean section.
Compared with Chucks fi
What is recommended for monitoring Tomcat? Or is there anything built in
that can help monitoring the performance and the state of the thread
pools?
More specifically, I'm trying to find a way to time how long it take
from the moment a request was received and when the response was
returned.
Than
Hi there..
I have 15 apps on my Tomcat. Five of them require library abc.jar
(~1,5MB). From the resources point of view (mem, cpu) is it better to
make abc.jar visible globaly to all applications (place it in
$CATALINA_HOME/common/lib) or copy to WEB-INF/lib of all five dependent
applications
Actually, in my case, stopping a Host should work since I only have one app
assigned to each Host:
With my code I successfully stop the 'myapp' 'Host', thus killing the
'myapp' Context. But calling start() don't do jack. :(
But I t
> From: Johnny Kewl [mailto:[EMAIL PROTECTED]
> Subject: Re: Programmatically stop/start context (webapp)
>
> What we actually need is the context with those operations,
> and there doesnt seem to be one.
Try using the MBeans tab of JConsole. You can find the
elements under Catalina -> WebMod
Nice Bob I actually think you have cracked the JMX client stuff
I dont think that is the right operation, it does work, but if you
stop/start the whole host, every webapp on the host will stop and start.
What we actually need is the context with those operations, and there doesnt
seem
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
Paul Hammes wrote:
> i have to unzip a jar, contained in a war file. This jar file is
> contained in the web-inf/lib directory. There are several images in
> this jar and i want to unzip it to tomcat/webapp directory so the
> browser can access
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Clinton,
Parham, Clinton wrote:
> How do I keep my web application responsive for users already half way
> through an enrollment process when traffic volume is high?
Depending on how far you want to go, you might be able to use one server
to accept c
Hi,
i have to unzip a jar, contained in a war file. This jar file is contained in
the web-inf/lib directory. There are several images in this jar and i want to
unzip it to tomcat/webapp directory so the browser can access the images
directly. The process of unzipping should be triggerd by the a
Tomcat Experts:
How do I keep my web application responsive for users already half way
through an enrollment process when traffic volume is high?
Here's the scenario: I have a set of 5 web pages that users must work
through to successfully enroll themselves. Assume the server can handle
250 concu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vasu,
[EMAIL PROTECTED] wrote:
> Since we are using Session Attributes to keep track of User
> Information - this gets mangled when we try to login to application
> from the same browser (in FireFox) and Ctrl-N from IE (in other words
> the person who
Hi
Here is an update on my progress with this problem.
Using IIS V6.0 with JK 1.2.23 and Tomcat 6.0.13, I can confirm my servlet
can now receive an X509Certificate attribute!
I had two configuration problems:
1. I had not enabled "Require client certificate" flag on the IIS folder I
was using
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tolou,
Tolou Taherinia wrote:
> Any idea on which version of Unix(red hat, suse, fedora, etc) will
> work better with mono?
None of those listed GNU/Linux distributions are Unix. You should check
the Mono project to see what does and does not work we
With the exception of DB access since mod_aspdotnet is discontinued there's
no ability to tie the systems together ?
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have rece
One possibility is to check for a pre-existing open login on login. If
one is detected, return an error something to the effect of "please log
off first". Offer a log-off button/link that invalidates the session
and returns the user to a welcome page. Maintaining both logins is
trickier and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jon,
Jon Wilmoth wrote:
> Unfortunately it looks like the Struts 2 architectural change is the
> culprit after all.
That's an interesting side-effect of switching from a servlet to a filter.
> This is a major bummer to say the least. I'm not sure
Hi Liz,
I think you have to get it back using something like this
Context initCtx = new InitialContext();
Context envCtx = (Context ) initCtx.lookup("java:comp/env");
String myString = (DataSource) envCtx.lookup("env/NameOfString");
The above is a guess you will need to read up on JNDI resou
Hi:
We have an Enterprise application that uses sessions to keep track of User
Information (name, role, dept). This information is used against the user when
logging out, checking credentials and displaying user information. Since we are
using Session Attributes to keep track of User Informatio
Hi,
[... consecutively restart tomcat ...]
> The only two solutions I found were:
> 1) wait some time the try again...
> 2) change ecah time the port
In my ears it looks like you do not "unbind" the port.
I know, ist typical for Windows, when you kill a process,
which uses a port in an unclean wa
I'm trying to get auto-configure to work for my single Tomcat process
running on the same machine as Apache. According to the instructions at
http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html
the mod_jk.conf-auto file can only be created with Tomcat 5.x. Does
that mean the fu
Hi all,
I'm configuring a JNDI Realm with LDAP in Tomcat 5.5. The authentication
process works fine but when Tomcat tries to check role this fails and it
returns me a HTTP 403 page.
Tomcat log is:
DEBUG http-6060-Processor25
org.apache.catalina.authenticator.AuthenticatorBase - Calling
authent
Thank you I will have a look at it.
-Original Message-
From: David Delbecq [mailto:[EMAIL PROTECTED]
Sent: miércoles, 27 de junio de 2007 12:44
To: Tomcat Users List
Subject: Re: How to read environment entry?
Read doc on environment entries in tomcat context documentation:
http://tom
Well, I've made some progress.
Basically, you follow all the steps to get Tomcat to load JMX support,
essentially editing your catalina.sh.
Then you connect to Tomcat's JMX MBean server, choose a domain, choose an
MBean, choose an Operation, and execute it. The following code, mostly
pilfered, d
If I have understand your problem is : you receive a lot of null value
afther a query but you don't except them.
The problem could be in your if statement .
((String[])queryResults.elementAt(r))[c]).equalsIgnoreCase("null"))
you compare a String vector with a String because you have upacsted to
Hello,
I wonder if anybody can help, we have an application set up as follows:
The front end web services are on a web server running appache
and tomcat.
The back end web services are on an oracle application server.
War files are deployed through tomcat manager and oracle enter
Read doc on environment entries in tomcat context documentation:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
En l'instant précis du 27/06/07 12:28, Bachler, Elisabeth (Elisabeth)
s'exprimait en ces termes:
> Hi,
> I have an application and I need to specify a string (that will be
Interesting question... I dont know if there is a property one can call.
I had a similar need behind a JK load balancing scheme, what I did was just
generate a unique ID when each cluster webapp starts up, something like the
MS GUID idea.
No pre-configuration required.
I think it would be very
Hi,
I have an application and I need to specify a string (that will be
different in each site), so the header I am using in each jsp page will
be able to read it and show it. I could do it using web.xml but I
was wondering if it was possible to do it using, in the Tomcat server
tool (context (a
Hello,
i run an application within a tomcat cluster. Now I need a unique key
for each server node for the application. My first solution was a
property file within the war file. But this is not so handy on
deployment cycles.
Is there a better way to place a unique identify for each cluster n
Hi all,
I know there are other threads about this problem, but no one ever said the
solution!
I hope to find more accurate help because this problem is very tedious.
In particular, I have the exception (see the end of post) when I start
consecutively tomcat Embedded, for example:
- start tomcat
Hello,
With OpenSuse (at least since 10.1), you've got a Mono runtime which you can
choose to install during distro's own installation. But I don't think that
is the real concern, since an installer is provided for all distros. But it
looks like the most supported one (by Mono project itself) is
Any idea on which version of Unix(red hat, suse, fedora, etc) will work better
with mono?
Thanks
Jacob Rhoden <[EMAIL PROTECTED]> wrote:
Tolou Taherinia wrote:
> I have found mod_aspdotnet a loadable Apache 2 module for serving ASP.NET
> content using the Microsoft ASP.NET hosting and Mi
Any idea on which version of Unix(red hat, suse, fedora, etc) will work better
mono?
Thanks
Jacob Rhoden <[EMAIL PROTECTED]> wrote:
Tolou Taherinia wrote:
> I have found mod_aspdotnet a loadable Apache 2 module for serving ASP.NET
> content using the Microsoft ASP.NET hosting and Microso
Hi,
I'm trying to use IIS v5.00.3700.1000 with Tomcat 5.5.17
using isapi_redirect 1.2.23 and AJP13. But in the end I always
see an error page from tomcat:
"
HTTP Status 404 - /jakarta/isapi_redirect.dll
...
The requested resource (/jakarta/isapi_redirect.dll) is not available
...
Apache Tomca
Hi LightBulb,
I think you missing a concept somewhere...
A typically setup for a servlet that wants to use a cookie is like this
HttpSession session = request.getSession(true); //Make a
session if one does not exist
String SomeAttributeISet =
session.getAttribute("SomeA
Tolou Taherinia wrote:
I have found mod_aspdotnet a loadable Apache 2 module for serving ASP.NET
content using the Microsoft ASP.NET hosting and Microsoft .NET runtime within
the Apache HTTP Server process. Is mono a better solution?
The first hit on a google search says mod_aspdotnet is d
67 matches
Mail list logo