Use SingleSignOn Valve
Peter
Mathew Joseph schrieb:
Hi,
My web application consists of 2 webapps. And these are internally invoking each other.
Or the user itself can make calls to any of these webapps using the common menu page.
Now, when i try to logout (session.invalidate()), its
On 12/8/05, Vijay Babu <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Thanks for your suggestions. But unfortunately none of them worked.
>
> Actually the application sets the Locale based on browser settings. So
> the response encoding is set to the appropriate Locate that is set in the
> browser with
Hi,
Thanks for your suggestions. But unfortunately none of them worked.
Actually the application sets the Locale based on browser settings. So the
response encoding is set to the appropriate Locate that is set in the
browser with Tomcat 4. But its always set to ISO-8859-1 with Tomcat 5 and
t
Hi,
My web application consists of 2 webapps. And these are internally invoking
each other.
Or the user itself can make calls to any of these webapps using the common menu
page.
Now, when i try to logout (session.invalidate()), its not logging off from both
webapp sessions.
Is there any way
> From: Leif Mortenson [mailto:[EMAIL PROTECTED]
> Subject: Mapping a war to a context located in a subdirectory.
>
> Is there a way to map a web application's context
> directory to be located in a directory that is not
> a direct child of the root.
Not quite sure what you mean by "root", but
*sigh* it just had to be something simple, didn't it? Even right in front
of me with the
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html page that
someone suggested earlier. I put freemarker in the tomcat/shared/lib
directory and all is well. I am having serious issues grasping t
Sorry if this is a simple question. Is there a way to map a web
application's
context directory to be located in a directory that is not a direct
child of the
root.
For example, I would like to map my web app to be:
/R1234/myapp/
Then if possible, map another web app to:
/R1234/myappadmin/
or eve
Mario,
Have you recently installed ver 5.5.12 and created symlinks to
"jakarta-tomcat"? If not your script needs to be edited to reflect the
new directory structure -
CATALINA_HOME=/usr/local/apache-tomcat-5.5.12
DAEMON_HOME=/usr/local/apache-tomcat-5.5.12/bin
Otherwise, just strip the /bin o
Thanks for your help. I resolved this. The version of apxs that Plesk
had installed was for Apache 1.3. I downloaded the httpd-devel package
for 2.0.51 and was able to get this working.
Mladen Turk wrote:
Robert Palmer wrote:
I'm running 2.0.51 of Apache. I build mod_jk with --with-apxs. ??
BINGO!
freemarker.jar does not belong in the system classloader. It belongs in
WEB-INF/lib.
[ Quick rule of thumb - putting a lib in java/lib/ext will cause problems 99%
of the time. ]
-Tim
John Poley wrote:
And as for me, since we seem to be having similar issues, I cut out eclipse
Which tomcat version?
On Wed, 2005-12-07 at 12:35 +, Mário Gamito wrote:
> Hi,
>
> I'm trying to start Tomcat as a linux daemon at server boot, but i don't
> have jsvc (although i've installed package admin), like explained in
> Tomcat's page.
>
> An year ago or so, i had this ctl script tha
And as for me, since we seem to be having similar issues, I cut out eclipse
all together, worried that somehow it was cause some kind of issue. I have
a .war file that was was exported by a colleague who is running the same
.war within tomcat and having no trouble at all with it. I copy that .wa
Peter,
Thank for the info. Previously I was having problems with inconsistent
classes when we do some patches on the deployed application on Tomcat.
Somehow the changes made to the jsp files were inconsistent with the parsed
results displayed over the browsers. Is there another way of dealing wi
All:
I'm noticing something else strange. I'm attempting to bring up a web
application using the Security Manager. I have the following coming up
in my catalina.out log:
access: access denied (java.lang.RuntimePermission getClassLoader)
Yet, I have the following in my catalina.policy file:
Has anyone else tried to use the connection pool in Tomcat with the below
parameters..
removeAbandonedTRUE
removeAbandonedTimeout10
logAbandonedTRUE
I can see that when I first issue a connect I get below, and I can use that
datasource. But according to the commons-dbcp
Thanks Mark.
Besides that, I used wrong property. Right statement should be:
&useUnicode=true&characterEncoding=charset
Now server.xml is ok but I'm still getting strange characters when retrieving
text from database.
I changed characterEncoding property to several differe
Mieke Banderas wrote:
Mike Sabroff suggested:
Cloudscape
is it faster than Apache Derby in your experience?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The IBM
> I want only the login in ssl and rest in non-ssl.So from the welcome page
> when somebody clicks login goes to login page.The login is
> in ssl/https mode and after that remaining pages should be in
> non-ssl(http)mode.
>
> I am able to switch from http to https but unable to switch from htt
I personally have not changed any classpath settings. The classes are build
using Eclipse SDK Version 3.1.1 with
the Tomcat plugin from sysdeo (3.1.0.beta).
I have noticed that the NoClassDefFoundError occurs on specific pages but
only the first time
the pages are loaded, everything else within th
All:
I have discovered the following in catalina.out:
policy: reading
file:/opt/tomcat/v5.5.12/logcom.dev.ctc.com/conf/catalina.policy
policy: Adding policy entry:
policy: signedBy null
policy: codeBase file:/usr/java/jdk1.5.0_04/jre/lib/-
policy: (java.security.AllPermission )
policy:
p
Tony wrote:
> Has the webdav servlet been updated to allow the dav files to be placed
> outside of the servlet context?
>
> For example I would like to specify the DAV files be placed on /space/dav.
>
> There was a thread on this about a year ago but i'm not sure if there was
> ever closure.
The
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
tvrtko stosic wrote:
> I use connection pooling with Tomcat 5.5.4. Corresponding entry in
> server.xml looks like this:
>
> crossContext="true">
> maxActive="100" maxIdle="30" maxWait="1" username="user" password="java"
> driverClassName="co
I can try tuning this on the servers. But as I told in my first email, this
wierd problem started happening only after migrating to Tomcat 5.5. So if these
were to create a problem, I should have faced it in 4.0.6 also - Right.
..Raj
On Thu, 08 Dec 2005 Mladen Turk wrote :
>Raja Neravati wrote
Yes, now it works. Thanks a lot.
regards, anne
-Ursprungliche Nachricht-
Von: Carl Olivier [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 7. Dezember 2005 19:35
An: 'Tomcat Users List'
Betreff: RE: Howto delete a file with a servlet???
Hi.
Solution 2 - 1 is not a great idea!
Also, try
I quickly looked at my Tomcat 4.0.6 settings. It was also having AJP 1.3
connector only. Please have a look at this: -
***
Tomcat 4.0.6
***
Please let me know if I am missing anything.
Thanks & Regards,
..Raj
On Wed, 07 Dec 2005 Duan,Nick wrote :
This is my first post to the list...
I've to check if the security settings of Tomcat server, kind of a security
audit...
Can anyone please tell me where should I start?
How do I analyse the configuration file?
Is there a security check list ?
Please fell free to send me any documentation that
Hi.
Solution 2 - 1 is not a great idea!
Also, try something like:
String fileName = request.getParameter("Id") + ".xml"; File toDel = new
File("c:\\", fileName); //get some info out.println("File exists:" +
toDel.exists()); out.println("File is readOnly: " + !toDel.canWrite()); If
(toDel.exists(
Raja Neravati wrote:
worker.worker1.recycle_timeout=60
Remove this directive.
worker.worker1.retries=3
minSpareThreads="100" maxThreads="300" maxSpareThreads="80" acceptCount="60"
debug="0" connectionTimeout="-1" />
maxThreads should be equal to MaxClients in httpd.conf. If it's smaller
Well, the problem seems to be that you were using AJP 1.2 on the apache
site whereas tomcat was configured with AJP 1.3 (default for 5.5).
Interim solution: reconfigure tomcat to use AJP 1.2.
Best solution: Upgrade Apache to version 2 and AJP to 1.3.
ND
-Original Message-
From: Raja Ne
Hi All,
We have a production server with 2 Apache in Front-End and one Tomcat as
Application server
setup with sticky sessions and a firewall in between. Apache communicates with
Tomcat over
8009 port. My application is using JDK 1.4.2_01 and its a struts based
application.
We have been us
Hello,
> -Ursprüngliche Nachricht-
> Von: Anne Milbert [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 7. Dezember 2005 17:13
> An: Tomcat Users List
> Betreff: Howto delete a file with a servlet???
>
> Hi anyone,
>
> I'd like to delete a file with a servlet. I tried it with the
> dele
> From: Carl Olivier [mailto:[EMAIL PROTECTED]
[...]
> if (!toDel.delete()) {
> Thread.sleep(1000); //try get around file lock/release
> issue? (? Stab in the dark maybe!)
[...]
Heh. Is someone working on Windows here? There's a known issue that
the JVM holds onto file handl
Hi.
Solution 2 - 1 is not a great idea!
Also, try something like:
String fileName = request.getParameter("Id") + ".xml";
File toDel = new File("c:\\", fileName);
//get some info
out.println("File exists:" + toDel.exists());
out.println("File is readOnly: " + !toDel.canWrite());
If (toDel.exists(
El mié, 07-12-2005 a las 17:13 +0100, Anne Milbert escribió:
> Hi anyone,
>
> I'd like to delete a file with a servlet. I tried it with the delete()
> function and with the runtime.exec() function. What am I doing wrong?
>
> Here's my code:
> Solution 1:
> [...]
> String cmd = "del C:\\" + reques
Hi anyone,
I'd like to delete a file with a servlet. I tried it with the delete()
function and with the runtime.exec() function. What am I doing wrong?
Here's my code:
Solution 1:
[...]
String cmd = "del C:\\" + request.getParameter("Id") + "-" + eleno + ".xml";
Runtime runtime = Runtime.getRunti
Mario,
Your CATALINA_HOME and DAEMON_HOME should be pointing to
/usr/local/jakarta-tomcat not the bin subdirectory.
That should help - Richard
-Original Message-
From: Mário Gamito [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 07, 2005 5:36 AM
To: users@tomcat.apache.org
Subject:
I'm running Tomcat 5.5.9 connected to IIS 5.1 with the
isapi_redirect.dll using AJP/1.3. I am trying to enable Integrated
Windows Authentication in IIS and have Tomcat access the username of
the remote user.
I've tried:
---server.xml---
and:
---server.xml---
and:
---server.xml---
---j
> From: Seak, Teng-Fong [mailto:[EMAIL PROTECTED]
> Subject: Re: What's the difference between .zip and .exe from
> download site?
>
> I only knew that those batches/scripts are mostly for startup and
> shutdown tomcat. Which files could help debugging easier?
Frequently, there's output
Can u tell me please if you've happened to use Apache2.0 with Tomcat 5.5.12
on Redhat Linux 7 using mod_jk ?
-Mukesh
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Sam Lee
Sent: Wednesday, December 07, 2005 7:23 PM
To: users@tomcat.apache.org
Subject: Tomcat with Apa
Anyone tried the newest apache 2.2.0 with tomcat using jk?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas Strauß wrote:
> This worker-thread can easily serialize all incoming requests in a working
> queue (database- or file-based) and your servlet just pushes a job into the
> working queue for the thread.
That is my basic plan is to have one th
You could send your tomcat init script, it would give me
more info about what could be wrong.
It looks like something is missing on the classpath.
One thing you could try. Don't copy jsvc and
use it directly from where it was build.
We had errors when running it by using a symlink to the original
Good Morning Karthik
Some webdav information is available at
https://ssl.madison.com:8443/webdav/index.html
HTH.
Martin
- Original Message -
From: "Karthik" <[EMAIL PROTECTED]>
To: "TOMCAT"
Sent: Wednesday, December 07, 2005 8:05 AM
Subject: USAGE OF WEBDAV
Hi form
Cam some b
Hi,
Ok, jsvc is in $CATALINA_HOME/bin
Now, i run the ctl and get this error:
---
[EMAIL PROTECTED] init.d]# ./tomcat start
Unable to redirect to /usr/local/apache-tomcat-5.5.12/bin/logs/catalina.out
[EMAIL PROTECTED] init.d]# 07/12/2005 13:20:58 6860 jsvc.exec
Exactly! I've used the zip version once or twice and I found the
exe version a much better one. And that's why I wonder what "debugging
easiness" one could help with the scripts.
Karthik wrote:
Hi
The exe version installs a auto service automatically on windows system during
intallat
Hi,
If I understood you correctly, the problem you are trying to solve should
better be solved by a worker-thread-singleton that is started for example by
your servlet's init() method.
This worker-thread can easily serialize all incoming requests in a working
queue (database- or file-based) an
Hi form
Cam some body give me a simple step by step usage process of "WEBDAV"
application present in tomcat.zip
Please
with regards
Karthik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
Hi,
It's in $CATALINA_HOME/bin/jsvc-src.tar.gz you need to
unpack it and compile it yourself.
See the tomcat/startup documentation for more details.
Regards,
Mirek
On 12/7/05, Mário Gamito <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to start Tomcat as a linux daemon at server boot, but i don't
> ...and that servlet-api.jar from tomcat is in the path.
You wouldn't happen to be messing with the classpath at all would you?
That will cause headaches. Best advise is to leave the classpath alone
and let tomcat's classloader hierarchy handle finding classes.
Thought 2: Tell me more abou
Hi,
I'm trying to start Tomcat as a linux daemon at server boot, but i don't
have jsvc (although i've installed package admin), like explained in
Tomcat's page.
An year ago or so, i had this ctl script that worked, but now again, i
don't have jsvc.
Any help would be apreciated.
Warm Regards,
Má
No. Connection.close only returns the connection to the pool so it can
be used by another request.
--David
pc leung wrote:
Will a Connection.close() close a connection
and decrease the number of connections in connection pool?
Connection con = null;
try {
ds = (DataSource)myContext.lookup
Hi.
I would suggest settings some JVM memory switches, for example:
-XX:+UseParallelGC (you have multiple processors?)
-XX:+DisableExplicitGC (in case code is calling System.gc())
-Xss128k(Small native thread stack size mem
allocations)
Also - you will notic
Folks,
We have been facing issues with an application that has been good and working
hard for almost a month without any issues. Its just that we get an OutofMemory
error and the JVM dies! Below are the errors that I have seen so far:
1. Exception java.lang.OutOfMemoryError: requested 512000 b
Hi
The exe version installs a auto service automatically on windows system
during intallation
but the zip version does not
may be this would help u
with regards
Karthik
-Original Message-
From: Seak, Teng-Fong [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 07, 2005 4:33 PM
Hi all,
How can I find out what directory Tomcat was installed to,
so that I can navigate its directories ?
Do I have to check environment variables ?
thx
fred
--
F.Baube
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAI
Hey,
I did exactly the same. Looks good, nothing to add.
Mirek
On 12/7/05, Edmon Begoli <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>
> I recently walked few people through the process of compiling the most
> recent mod_jk on RedHat 4. Process required few steps that required some
> digging,
> so I do
Hey,
the current FarmWarDeployer is only support development.
Active redeployment inside a cluster is very dangerous. You can have
problemes with different versions of classes or the classloader not free
all classes. My strategie is:
setup a new catalina.base.
Start the new generation s
Caldarale, Charles R wrote:
From: David Chen [mailto:[EMAIL PROTECTED]
Subject: What's the difference between .zip and .exe from
download site?
So, then what is that .zip download for? In which scenarios
we should use .zip instead of .exe to install TomCat on
Windows system?
First o
Well,
We were using our own connection pool and first thing, which came into
my mind was exactly this. So we changed it to tomcat's connection
pooling (DataSource in JNDI) and the result was the same bad.
Besides, in the jvm stack trace (I missplaced it, but I will send here a new
one when I have a
Hi friends,
First, thanks to warren.
In my case workers.properties file is on
Tomcat side, not on apache side. Its in /usr/local/tomcat-5/conf/jk. And I've
followed the instructions.
I am giving my entire configuration
/usr/local/tomcat-5/conf/jk/workers.prope
Hello,
I'm using Tomcat 5.5 on wich I deploy a web application with ant using:
where install.home/component.name-component.version is a local directory wich
contains a typical structure with JSP's and a WEB-INF
directory wich includes lib and classes directories.
I get
Hello,
I'm using Tomcat 5.5 on wich I deploy a web application with ant using:
where install.home/component.name-component.version is a local directory wich
contains a typical structure with JSP's and a WEB-INF
directory wich includes lib and classes directories.
I get
Hi ...
Thanks for your hint, but I think this also didn't work for us ...
You wrote like there could be a problem with the jdbc driver.
Could you explain that in more detail?
Do you use a connection pool? If yes, which one?
Currently, we are using a connection pool which has been made from us
Strangely it is working now without any changes, perhaps there was some
old process blocking the port.
Thomas
Thomas Hartwig wrote:
Hello,
I try to use the APR (1.2.2) in conjunction with tomcat 5.5.12 and
tomcat-native-1.1.0. All works fine except one thing: I can only use it
with root pri
64 matches
Mail list logo