> I need to find out where the session cookie is located on a Windows client
> running Internet Explorer. I have searched in all of the usual directories
> and can not find it. Internet Explorer is set-up to accept all cookies and
> my app is not rewriting URLs. I want to corrupt the cookie in orde
Romain Quilici wrote:
> However, Tomcat creates automatically a directory under webapps to
> contain war file contents, so I am wondering if Tomcat is using the
> newly generated directory to load the application(1st case) or
> the war file (2nd case).
If unpackWARs is true then the WAR is unpacke
Hi,
Most of j2ee application servers (tomcat, jboss) when a war or ear
file is deployed. It will generate a folder which contains the same
file structure (web application format) as which is in the war or ear
file.
A war is considered as a file but not a path. So if Tomcat only reads
war but not
Hi all,
I know that this question has been asked many times, but still something
not clear for me.
When an application is deployed as a war file, (as mentioned in the
javadoc, or in several messages), context.getRealPath() will return null.
However, Tomcat creates automatically a directory under
I need to find out where the session cookie is located on a Windows client
running Internet Explorer. I have searched in all of the usual directories
and can not find it. Internet Explorer is set-up to accept all cookies and
my app is not rewriting URLs. I want to corrupt the cookie in order to deb
Lars Nielsen Lind wrote:
I also now have tried to move the file kontakt.jsp with:
<%@ page language="java" contentType="text/html;charset=ISO-8859-1"
pageEncoding="ISO-8859-1" import="java.sql.*, java.io.*, java.util.*,
internet.database.*, internet.log.*" %>
<%
internet.database.SimpleUseO
Gregor Schneider wrote:
> Any suggestions higly appreciated!
Subclassing o.a.c.authenticator.FormAuthenticator? You would need to
modify Authenticators.properties which resides in catalina.jar
-
To start a new topic, e-mail: use
Robert S. Harper
Information Access Technology, Inc.
-Original Message-
From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 08, 2006 3:25 PM
To: Tomcat Users List
Subject: Re: User database and user attributes
[snip]
Use some kind of a database related realm:
* h
Hello,
Are there any text books / reference information about Tomcat on the maket
that are considered to be the must haves ??? Years ago, I owned James Goodwills
book and that was great, however that is old information now days.
In particular, what I am looking for is a systematic ap
Robert Harper wrote:
I am using the Tomcat user database to hold information for users.
What I need to do is retrieve the group a user is in from the
database. My problem comes when I have a servlet add a new user,
assign it to a roll and a group, then try to access the user from
another ser
I just checked - it's copied exactly. Sometimes I
drop characters when copying from emacs to Firefox.
Please see the following link under Mandatory
Directives
http://tomcat.apache.org/connectors-doc/config/workers.html
Also, LoadModule must be used in the server config and
not in the VirtualHos
YES!
That was it. The following *MUST* be declared outside the
directive:
LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel debug
As soon as they were moved outside the Directive the mod_jk.log
file has this allo
In looking at your config, I see that the word "type" is spelled "typw" Was
this copied directly from your actual config file?
worker.worker1.typw=ajp13
Just wondering . . .
Mark Eggers <[EMAIL PROTECTED]> wrote:
I just finally moved over to mod_jk from mod_jk2.
Since this is a develo
could it be that the loading of the module and the related configuration
?must? be outside of the section ?
LoadModule jk_module modules/mod_jk.so
kWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel debug
--
View this message in context:
http://www.nabble.com/Connec
I just finally moved over to mod_jk from mod_jk2.
Since this is a development environment on
Windows/2000 Professional, I didn't have the pressure
to move.
Anyway, here's my environment:
Windows/2000 Professional
Apache 2.054 (will upgrade one of these days)
Tomcat 5.5.17
JDK 1.5.0_06-b05
Since
The server still fails with, "Internal Server Error"
(Note: I tested if Apache was even looking for the conf/workers.properties by
changing its name. When the file did not exist(conf/workersA.properties),
Apache would not start. When the file was there (conf/workers.properties)
Apache star
Lars Nielsen Lind skrev:
David Smith skrev:
Lars Nielsen Lind wrote:
David Smith skrev:
Usually you'd know it if it was. By default it isn't and has to be
explicitly turned on. See
http://tomcat.apache.org/tomcat-5.5-doc/security-manager-howto.html
for more information.
Here's a quic
David Smith skrev:
Lars Nielsen Lind wrote:
David Smith skrev:
Usually you'd know it if it was. By default it isn't and has to be
explicitly turned on. See
http://tomcat.apache.org/tomcat-5.5-doc/security-manager-howto.html
for more information.
Here's a quick and dirty test -- insert
What happens when you drop the full paths in favor of relative paths to
the Apache directory as in:
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /www/sandbox
ServerName dummy-host.example.com
ErrorLog logs/172.27.224.236.error.log
CustomLog logs/172.27.224.236.access.log common
LoadModule jk_modul
Hi:
These following issues are observed with mod_jk 1.2.18 on Linux and Solaris
8 with apache 1.3.27 and 2.2.2 (4 combinations).
issue 1:
With mod_jk 1.2.15 i set my jk log level:
JkLogFile logs/mod_jk.log
#JkLogLevel info
JkRequestLogFormat "%w %V %U %s %T %B %H %m"
Whil
I am using the Tomcat user database to hold information for
users. What I need to do is retrieve the group a user is in from the database.
My problem comes when I have a servlet add a new user, assign it to a roll and
a group, then try to access the user from another servlet running in the
Lars Nielsen Lind wrote:
David Smith skrev:
Usually you'd know it if it was. By default it isn't and has to be
explicitly turned on. See
http://tomcat.apache.org/tomcat-5.5-doc/security-manager-howto.html
for more information.
Here's a quick and dirty test -- insert a scriptlet in your
Yes, I am able to access all web apps that are using ajp13.
The only one that does not work is the "/MGGWebApp" which uses worker1
The ajp13 is configured in the server.xml file. That is the only reference to
it.
David Smith <[EMAIL PROTECTED]> wrote:
I meant in this snippet of your Apac
David Smith skrev:
Usually you'd know it if it was. By default it isn't and has to be
explicitly turned on. See
http://tomcat.apache.org/tomcat-5.5-doc/security-manager-howto.html
for more information.
Here's a quick and dirty test -- insert a scriptlet in your jsp code
something like:
<
Not a big deal. The tomcat 3.3 docs are very old and may not be
maintained as they should. The tomcat connectors documentation at
http://tomcat.apache.org/connectors-doc/howto/apache.html show that
mod_jk.so is the name for it on both linux/unix and Windows.
--David
Sharma, Siddharth wrote:
I meant in this snippet of your Apache httpd.conf, you have:
JkMount /axis ajp13
JkMount /axis/* ajp13
JkMount /servlets-examples ajp13
JkMount /servlets-examples/* ajp13
JkMount /jsp-examples ajp13
JkMount /jsp-examples/* ajp13
JkMount /MGGWebApp worker1
JkMount /MGGWebApp/* worker1
Where we s
Yes, the ajp13 connector is working great. It is configured in server.xml as:
Is this what your were looking for ? ? ?
David Smith <[EMAIL PROTECTED]> wrote:
Past thread have effectively said use the .so with Apache even though
you might be on Windows. In reality I would think the
Hmm. Interesting. My bad. Maybe the web page is not updated.
I was only going by
http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html#s61
which states:
linux/i386 Contains mod_jk.so for Apache 1.3 for the standard API as well as
EAPI and mod_jk.so for Apache 2.0
netware/i386 Contains the
Past thread have effectively said use the .so with Apache even though
you might be on Windows. In reality I would think the error would be
much different if Apache couldn't load mod_jk.so.
Your Apache config mentions use of a worker named ajp13. Is that one
working, and if so, where is it co
I used the .so file from the following link:
http://apache.seekmeup.com/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.18/
where there are no .DLL files only .so files. Also, there are several .so
files in my apache/modules directory.
"Sharma, Siddharth" <[EMAIL PROTECTED]> wrote:
Usually you'd know it if it was. By default it isn't and has to be
explicitly turned on. See
http://tomcat.apache.org/tomcat-5.5-doc/security-manager-howto.html for
more information.
Here's a quick and dirty test -- insert a scriptlet in your jsp code
something like:
<%
internet.database
> LoadModule jk_module "C:/Program Files/Apache
> Group/Apache2/modules/mod_jk.so"
Since you have windows, shouldn't the mod_jk load library be a dll rather
than so?
I believe you have referenced the incorrect mod_jk.
-Original Message-
From: M. Goodell [mailto:[EMAIL PROTECTED]
Sen
I am unable to get the tomcat connectors to work after spending hours
reading docs and scouring google in search of answers.
I have seen the problem I am having posted all over the web but there
are no solutions to it that I have seen.
Here is the summary of the problem:
Componen
David Smith skrev:
This may be something for a bugzilla report, but I looked at the
source of org.apache.jasper.compiler.Generator. The real exception
generated is eaten in favor of the very unhelpful message you received.
The possible original exceptions may have been one of:
java.lang.Class
On Jul 28, 2006, at 11:22 AM, Maurice Yarrow wrote:
Hello Raju
Try OpenEJB, which can be run in both tomcat-embedded mode
(drop their openejb_loader .war into tomcat/webapps) and
also a detached server mode.
http://openejb.codehaus.org/download.html
This is an open-source product, and they h
Rainer Jung-3 wrote:
>
> What do you mean by "losing sessions"? I expect you mean users work in a
> session and then they send a request and get a response indicating, that
> the requested session has not been found?
>
> Thats exactly what I meant.
>
> If so:
>
> - does it happen in times,
> I don't have any other versions of Tomcat running - I do have Apache
> 2.2 running in the background, though. I'll give the compatibility
> package a shot (we have to use the JDK 1.4 because we're using a
> third-party ECM suite that needs that particular version). I assume I
> can't install bo
Hi list,
imagine a framed web-application: After session-timeout, the user clicks on
a link in an outer frame which has the inner frame as it's target.
What happens? j_security_check is called, login-page displayed,
authorization performed and saved url is requested. Unfortunately, your
framed vi
I don't have any other versions of Tomcat running - I do have Apache 2.2
running in the background, though. I'll give the compatibility package
a shot (we have to use the JDK 1.4 because we're using a third-party ECM
suite that needs that particular version). I assume I can't install
both on the
Thanks Subir ,
I didn't find the jspc.sh script in tomcat5.5.17..Could you please point me
to that location?
Thanks in advance
Regards
Raju
On 8/5/06, Subir Sengupta <[EMAIL PROTECTED]> wrote:
Use the jspc.sh script to precompile your jsp's.
-Original Message-
From: Sameer Acharya [
Hey everyone...
Quick question that will probably take 5 seconds to answer... I'm using
the following configuration:
- Tomcat 5.5
- MyEclilpse 5.0 (Eclipse 3.2)
- J2sdk1.4.2_12
I set MyEclipse to point at the 1.4 version of the JDK (the only one on
my system
Artur wrote:
Hello,
We have environment with Apache (2.2.0) + Tomcat (5.5.17) connected via
mod_jk (1.2.18). Further tomcat makes some queries to databese through
Tuxedo services (BEA).
Everything works fine until heavy load when something stops responding
(Service not available).
We think it is
Hello,
We have environment with Apache (2.2.0) + Tomcat (5.5.17) connected via
mod_jk (1.2.18). Further tomcat makes some queries to databese through
Tuxedo services (BEA).
Everything works fine until heavy load when something stops responding
(Service not available).
We think it is tomcat or mod
jeusdi wrote:
If there is no choice can I use mod_jk in Apache2? I say it because I
perform "aptitude install mod_jk" in my ubuntu Brezzy and it downloads
apache1.3, but I want use Apache2 with mod_jk. Can I use mod_jk with
Apache2?
Uaaah. mod_jk 1.2 works with Apache 1.3, 2.0 and 2.2. The diff
mmm, but if I configure workers2.properties to show me the ROOT Tomcat web
application it show me index.jsp correctly!!
If there is no choice can I use mod_jk in Apache2? I say it because I
perform "aptitude install mod_jk" in my ubuntu Brezzy and it downloads
apache1.3, but I want use Apache2 wi
This may be something for a bugzilla report, but I looked at the source
of org.apache.jasper.compiler.Generator. The real exception generated
is eaten in favor of the very unhelpful message you received.
The possible original exceptions may have been one of:
java.lang.ClassNotFoundException
use [EMAIL PROTECTED] to get more informations
ahmed qaoud wrote:
I sent many emails to [EMAIL PROTECTED] to
unsubscribe me and i still receive emails from you . Please
unsubscribe me or tell me how can i unsubscribe.
color=#99>Assalam Alaykum
color=#00>
Kind Regards
Ahmed
AL
hotmail is probably eating your unsubscribe request replies.
this is a common issue.
configure your hotmail account to accept all mail, or at least to not
auto-delete the junkmail.
you'll probably find the unsubscribe confirmation in your junkmail next
time you try.
ahmed qaoud wrote:
>
>
Peter Crowther wrote:
From: David Kerber [mailto:[EMAIL PROTECTED]
Do you think
it be more efficient to scan the string once and grab the
field values as I get to each field marker?
Yes.
Yes, the machine is cpu-bound.
My 768k data line will spike the cpu to 100% and hold it
above
Pid wrote:
David Kerber wrote:
Pid wrote:
here's another obvious question:
if you're in a servlet, and you're getting an & separated string from
somewhere, where is the "somewhere" that you're getting it from?
does the servlet activate and collection the data somehow, or does the
da
On 8/8/06, Le Nguyen-Thinh <[EMAIL PROTECTED]> wrote:
My JSP contains a piece of code which calls a tag from the taglib above:
What in the world is that supposed to be referring to?
java.lang.NumberFormatException: For input string: "${0}"
Try:
(assuming MAX is actually set somewhere
I sent many emails to [EMAIL PROTECTED] to unsubscribe
me and i still receive emails from you . Please unsubscribe me or tell me
how can i unsubscribe.
Assalam
Alaykum
color=#00>
Kind
Regards
Ahmed
AL-Qaoud
--
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Please read
> http://www.javaranch.com/newsletter/200401/IntroToCodeCoverage.html
> paying particular attention to race conditions, deadly
> embraces and basic coverage of Functions
Martin, I'm confused - could you just outline how code coverage
Mohan2005 wrote:
On the 'P' option which was recommended by Mladen Turk some time ago when we
had issues (share memory locking) with a older version of mod_jk ( <1.2.15),
we have left it as it is.
There definitely were issues concerning optimistic locking around
1.2.15, but we expect them to b
Good Morning --
Please read
http://www.javaranch.com/newsletter/200401/IntroToCodeCoverage.html
paying particular attention to race conditions, deadly embraces and basic
coverage of Functions
For the first iteration I would strongly urge you to use JCoverage
http://cms.jcoverage.com/
If you have
jk2 has been deprecated quite some time ago. You might find some help
for it on this list, but you should seriously consider migrating to
mod_jk. The module mod_jk (*not* mod_jk2) is still being actively
developed and most features of mod_jk2 have been backported to mod_jk in
the meantime.
I'
jk2.conf -->
JkSet config.file "/etc/apache2/properties/workers2.properties"
httpd.conf -->
ServerName 192.168.1.2
NameVirtualHost 192.168.1.2:80
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /usr/local/tomcat/webapps/ecommerce
ErrorLog /usr/local/tomcat/webapps/ecommerc
Lars Nielsen Lind wrote:
> Here is the error-report shown in the browser:
The stack trace suggests the class cannot be instantiated. Hmm. Odd.
Can you create a simple test case that reproduces this? You won't be
able to post a war to the list so feel free to send it to me directly.
Mark
---
Thanks all for your advice.
My web.xml has an entry:
!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd";>
which, I think, caused the error.
I have inserted the line:
<%@ page ... isELIgnored="false" %>
as Pid sugges
Typical cause is a config error in your mod_jk setup or your jsp file
located in the wrong place. Please post details of your Apache, mod_jk,
and tomcat setups for a more helpful answer.
--David
jeusdi wrote:
Hello, I've configured Apache Web Server with mod_jk2 to communicate it with
Apach
That's because you are setting up Apache to view your ecommerce site as
the root, but tomcat is still using the ROOT webapp as the root. Dump
the ROOT webapp, rename ecommerce to ROOT and reconfigure Apache to your
webapp (now named ROOT).
--David
jeusdi wrote:
Helo World, I'm trying confi
One other possibility -- which servlet spec version do you have
specified in your web.xml? If web.xml declares an older version of the
servlet spec, these ${} expressions may not be available.
--David
Pid wrote:
which version of tomcat are you using?
is Expression Language enabled? as it l
which version of tomcat are you using?
is Expression Language enabled? as it looks like it's passing the ${0}
variable as a string rather than evaluating it.
Try setting the following attribute in your JSP 'page' directive.
<%@ page ... isELIgnored="false" %>
Le Nguyen-Thinh wrote:
> Dear frie
[EMAIL PROTECTED] wrote:
> The web.xml is configured in the following way to allow "all
> authenticated" user to do stuff. (To my knwoledge the * means all
> authenticated users, in my case users belonging to role1)
The "*" role does not mean all authenticated users. It means all users
with one or
Dear friends,
I have a JSP which uses following taglibs:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"; %>
My JSP contains a piece of code which calls a tag from the taglib above:
Helo World, I'm trying configured my apache to communicate with Tomcat. Mmm,
I've created a aweb application contained in webapps tomcat directory. This
application is named ecommerce. So in my httpd.conf file I put this:
ServerName 192.168.1.2
NameVirtualHost 192.168.1.2:80
ServerAdmi
I am also looking for a solution to do OCSP from within Tomcat. Can
someone please tell if this is at all possible.
thanks
-Original Message-
From: Velpi [mailto:[EMAIL PROTECTED]
Sent: maandag 31 juli 2006 10:33
To: Tomcat Users List
Subject: Re: Tomcat and OCSP
> Does the new support
All:
I am writing an Application which is using client-cert as an
authentication process. I successfully configured Tomcat to use SSL and
ask for the certificate and everything works. However I still have one
problem.
In order for the the security to work I have to add the DN of the
certificate
> From: David Kerber [mailto:[EMAIL PROTECTED]
> Do you think
> it be more efficient to scan the string once and grab the
> field values as I get to each field marker?
Yes.
> Yes, the machine is cpu-bound.
> My 768k data line will spike the cpu to 100% and hold it
> above 95% until
> the t
Le Nguyen-Thinh wrote:
> I use following taglibs in my JSP:
>
> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"; %>
> <%@ taglib prefix="ora" uri="orataglib" %>
> Could you help me please, how to configure/
David Kerber wrote:
> Pid wrote:
>
>> here's another obvious question:
>>
>> if you're in a servlet, and you're getting an & separated string from
>> somewhere, where is the "somewhere" that you're getting it from?
>>
>> does the servlet activate and collection the data somehow, or does the
>> da
Hello, I've configured Apache Web Server with mod_jk2 to communicate it with
Apache Tomcat 5.5. Mmm, I've created a Web Application with one JSP
(index.JSP) and one Servlet (it is performed form JSP).
All is ok, but when I access to my web Application the result is the code of
my JSP instead a si
Hello:
Thanks for those explainations.
We will have to look further on the behavior of that server3_1 node.
On the 'P' option which was recommended by Mladen Turk some time ago when we
had issues (share memory locking) with a older version of mod_jk ( <1.2.15),
we have left it as it is.
But if
Mark Thomas skrev:
Lars Nielsen Lind wrote:
All my webapps and contents (including WEB-INF and components) are
copied from an existing running solution with no problems.
Anyone that know how to solve this?
Is there a more complete stack trace and/or exception in the logs?
Mark
I use following taglibs in my JSP:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"; %>
<%@ taglib prefix="ora" uri="orataglib" %>
Could you help me please, how to configure/ specify the taglibs we want
to use?
Hi,
Mohan2005 schrieb:
> Hello
>
> Thaks. We will enable loggin to find this, but since its a production setup
> will it affect performance ?
The numbers suggest, that you've got
210.000 * 12(instances) / 21 (days) = 120.000 requests/day
So depending on the time distribution, this should boild
76 matches
Mail list logo