I want to know how to control the length of time that an ssl connection
timesout and a user needs to login again. Right now its too short and I
can't find anything in the server.xml ssl connector node that seems to
change that. I'm using tomcat 5.5 with the latest jsse.
-
--- Andi Heusser <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> I have a web application where I need to load some
> 3rd party libraries DLLs)
> and I would like to have these DLLs in a
> subdirectory in my app
> (webapps/MyApp/WEB-INF/lib). However when I try to
> do a 'loadLibrary' it
> fails to f
Hi,
I have a web application where I need to load some 3rd party libraries DLLs)
and I would like to have these DLLs in a subdirectory in my app
(webapps/MyApp/WEB-INF/lib). However when I try to do a 'loadLibrary' it
fails to find them. I then noticed that the 'Tomcat/bin' directory is in
this
I may be wrong about this, but I thought that it was expressly forbidden
by the servlet spec to be able to get arbitrary sessions. That is, even
if you store the session ID in some table, you wouldn't be able to get
any session other than that associated with the current request.
Now, that re
Thanks Mark. I did figure out my configuration problem!
On 6/2/06, Mark Thomas <[EMAIL PROTECTED]> wrote:
Marc Farrow wrote:
>
And there is the problem. An empty allows
unauthenticated access as per SRV.12.8.1
An empty is not the same as an
that specifies no roles and therefore denies a
On Fri, Jun 02, 2006 at 11:15:03AM +0200, Carlos Alonso Vega wrote:
> Bob,
>
> Thanks for the reply. My problem is that the session info I need is not
> of the session that makes the request. I need to check other sessions in
> the same context. I can use the request because it is in the same
(My opinion)
The servlet spec really only works for http based things. Trying to fit
anything else in will morph into a ainful kludge.
There are other apache projects out there such as avalon (or whatever
subprojects it broke into) which is probably more suited to this task.
-Tim
Juergen Weber
Leo Donahue - PLANDEVX wrote:
> I still don't understand what a jkmanager is or does or why it allows
> you to do this:
jkmanager is part of isapi.dll
It intercepts requests to /jkmanager before they get to Tomcat and
responds to them.
> I know that whatever jkmanager is, it is located in a cust
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread. Thi
Marc Bächinger wrote:
> hi
>
> I had the same problem and i was near to a nervous breakdown as I noticed
> that
> encription was requested and tomcat expected encripted passwords
This is not the case by default.
Mark
-
To sta
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread. Thi
Marc Farrow wrote:
>
And there is the problem. An empty allows
unauthenticated access as per SRV.12.8.1
An empty is not the same as an
that specifies no roles and therefore denies access to all as per
SRV.12.8.1.
Mark
-
T
I hope to run the tomcat 5.0 with JRockit 5.0 R26.3.on a linux machine
and installed JRockit in the root directory
(/root/jrockit-R26-3.0-jdk1.5.0_06)
The following is the environment variables which I set:**
export JAVA_HOME=/root/jrockit-R26-3.0-jdk1.5.0_06
export JAVA_HOME
PATH=$JAVA_HOME/bin:
Carlos,
The javadoc indicates that the methods are deprecated,
but it looks like you could use:
HttpSession mySess = request.getSession();
// getSessionContext() is deprecated
HttpSessionContext sessCtx =
mySess.getSessionContext();
// getSession(String) is deprecated
HttpSession otherSess =
se
After reading this article:
http://tomcat.apache.org/connectors-doc/howto/workers.html
I still don't understand what a jkmanager is or does or why it allows
you to do this:
http://localhost/jkmanager
and get some kind of page describing what appears to be load balancing
upon a default insta
On reading more in the release notes
(http://tomcat.apache.org/tomcat-5.5-doc/RELEASE-NOTES.txt), I figured
I'd give the shared/lib idea a try. I found that just by moving the
BouncyCastle JCE jar into shared/lib and out of the WEB-INF/lib of the
various webapps, all seems to work okay.
Note
I have quite a similar problem as the original poster.
I'd like to write a router for CORBA messages that
should listen on a socket and forward the messages to
JMS. Same as the OP I would like to host the code in
Tomcat, to avoid having to handle all the threading
and socket issues and still more
Leon Rosenberg wrote:
On 6/2/06, Bill Barker <[EMAIL PROTECTED]> wrote:
TC 3.3.x had an optional module to do this. It never got ported.
I generally agree with most of the people that say that this is the
least of
your problems. If you are usings a self-signed cert, then you are just
getti
Jim Jagielski wrote:
Web Servers are web servers primarily, focused on
HTTP, compliance, speed and capability. Use the
right tool for the right job :)
Agreed.
If you only need a web server, use a web server.
I think that the question is not whether to replace
the web server, but whether the w
On 6/2/06, Jim Jagielski <[EMAIL PROTECTED]> wrote:
IMO, if you need to move out of "pure Java" in your Java Web
Server to get acceptable performance, then why use it in
the first place? Plus, if you are "concerned" about the
security of Apache (cause it's nasty C) and therefore
want to use a Jav
We're running tomcat in standalone mode as a windows service. Every
once and a while tomcat crashes with no logs or errors. Just not
running anymore. The windows event log just says "service terminated
unexpectedly". The tomcat service can be restarted without problems.
We haven't been able to det
IMO, if you need to move out of "pure Java" in your Java Web
Server to get acceptable performance, then why use it in
the first place? Plus, if you are "concerned" about the
security of Apache (cause it's nasty C) and therefore
want to use a Java Web Server, then using JNI means
you've left that w
Hello everybody,
I don't know if this post would be considered off-topic, or maybe I
should cross-post it since it's about Axis and Tomcat.
I'm trying to use Web service in Tomcat, ie with Axis. I've read
and followed the install guide and user guide:
http://ws.apache.org/axis/java/in
Hmm... I'll check. Thanks
e
2006/5/26, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> I have a problem with some tomcat servers that regularly start thowing
> exceptions about too many open files (the stacktrace is in a network
socket
> aperture). One solution is increasing the ulimit but would dis
If I understand correctly, you are describing moving a src file
(ProfileServlet.java) under project/WEB-INF/src in your production Tomcat
webapps directory. I know that am not sure why you believe that Tomcat will
automatically compile your servlet source (I believe it will for a .jsp
file)
The co
I want to make my own implementation of
org.apache.catalina.servlets.WebdavServlet. I first wanted to make a
test by copying the contents of this class to a new class. Now there's a
strange phenomenon: the ProxyDirContext
resources cannot be retrieved. It is retrieved from the contextAttribute
"or
the user that the tomcat VM runs as, needs to have write permissions to
the following file mentioned below
Filip
bhavik shah wrote:
Hi I have tomcat 4.1.27 server.
when ever i start the tomcat i saw a message below
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
Documentum Java Me
Hi Ed, no you are right, the appBase was a change from 5.0 to 5.5, that
requirement used to be the opposite.
You can have a cluster and a farm deployer for each if you
wish. Just configure it on a per host basis
Filip
Edoardo Causarano wrote:
Got it, I was too pedantic in following the docum
It means that you have something specified to write/read a log file and you
do not have permission to do that. Check your permissions on the directory
or file for:
java.io.FileNotFoundException:/log/fdk_server.log (Permission denied)
On 6/2/06, bhavik shah <[EMAIL PROTECTED]> wrote:
Hi I hav
Peter is correct, first read the docs, then you'll know more and have
more info to ask the right questions
Filip
Sandeep Gaikwad wrote:
I had done through vertical clustering on Single Machine.
Can you suggest me changes required for horizontal clustering across Two
machine?
-Original Me
Hi I have tomcat 4.1.27 server.
when ever i start the tomcat i saw a message below
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
Documentum Java Method Server
Docbase Names =
Host Names =
IP Addresses =
Java Method Dir = /java_methods
DoMethod
CLASSPATH=$CLAS
I'm getting the error that says "cannot communicate securely because they
have no common encryption algorithms.
--
View this message in context:
http://www.nabble.com/SSL-Setup-t1710991.html#a4680316
Sent from the Tomcat - User forum at Nabble.com.
--
Peter Lin wrote:
> I'm gonna say that's quite a bit of myth here. If SSL is important, get a
> cheap SSL enabled router. Doing software SSL is waste of CPU power and
> impacts the server's stability. Anyone that has a lot of HTTPS traffic
> shouldn't be using software SSL in my bias opinion. If y
On 6/2/06, Stefan Baramov <[EMAIL PROTECTED]> wrote:
Hi everyone:
Tomcat 5.5.17 for Windows (distribution apache-tomcat-5.5.17.exe) comes
with a DLL file called tcnative-1.dll. According to the Tomcat
documentation this is a native extension based on the APR and Open SSL
projects. However, the
The servers.xml file needs to be configured with the keystore path and
file name.
-Original Message-
From: AJ Jonen [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 01, 2006 3:12 PM
To: Tomcat Users List
Subject: tomcat ssl not working
My tomcat server is not responding
Hi everyone:
Tomcat 5.5.17 for Windows (distribution apache-tomcat-5.5.17.exe) comes
with a DLL file called tcnative-1.dll. According to the Tomcat
documentation this is a native extension based on the APR and Open SSL
projects. However, the extension causes the JVM to crashes qutie often.
I think it's because that you just enabled the "Auto Build" feature of
eclipse, so every time you changed your java source, eclipse built it
for you, and tomcat saw the class files changed and then reloaded that
context. But when you metioned "for my production", I guess that
machine do not have a
I finally got it to recognize the keystore and its able to get in. I still
have clientauth="false". I had to add in ciphers also. I'm not getting any
errors. But when I go to view the page, it won't come up. Is there
anything else that I missed? Thanks.
--
View this message in context:
http
I remember something about a reloadable parameter in the Server.xml (in a
tag above context either host or engine I think) that has that attribute as
well. Unless the "override" attribute is included, the attribute in the
context tag is not applied. I may be chasing the wrong horse, but it
somewh
Hello,
I have an application that uses tomcat 5.0.19. At one point in my
application, the user has the possibility to click on a certain link in
order to download a file.
Once the file is downloaded, I would like the application to go to a certain
jsp page is there a way to configure tomcat to
Hi,
sorry, I forgot to note, that the resources in the context.xml and
web.xml files are replacements for the jndi.properties. I'm using
Tomcat's build-in JNDI.
It looks like you're using one Queue with the name listenerDestination.
So, try the following:
META-INF/context.xml:
...
Hi all,
I'm using Tomcat 4.1.31.
I have a war file and I'm using the ant target
"" to deploy this war. Here is the code
snippet of my build.xml :
http://${tomcat.server.name}:${tomcat.server.port}/manager"/>
But when I call this target, I'm getting
On 6/2/06, Bill Barker <[EMAIL PROTECTED]> wrote:
TC 3.3.x had an optional module to do this. It never got ported.
I generally agree with most of the people that say that this is the least of
your problems. If you are usings a self-signed cert, then you are just
getting what you deserve. Othe
Hadraba Petr napisał(a):
Hi Maciej,
I'm connecting from Tomcat to ActiveMQ with this configuration:
Thx, but how it corresponds to my jndi.properties file?
How should I form my configuration files (context.xml, web.xml)?
jndi.properties:
---
java.naming.factory.initial =
org.activ
TC 3.3.x had an optional module to do this. It never got ported.
I generally agree with most of the people that say that this is the least of
your problems. If you are usings a self-signed cert, then you are just
getting what you deserve. Otherwise, you simply contact the CA and revoke
the c
Bob,
Thanks for the reply. My problem is that the session info I need is not
of the session that makes the request. I need to check other sessions in
the same context. I can use the request because it is in the same
context, so the manager is the same.
This servlet is called internally from
No. Place your patches in the classes folder.
-Tim
exquisitus wrote:
I have a special question related to the classloader of Tomcat. If I put
two jar files in the same directory (myJar.jar and myJarPatch.jar) where
the second jar is a patch, that contains only a part of classes (let's
say a s
--- Carlos Alonso Vega <[EMAIL PROTECTED]> wrote:
>
> I am trying to obtain data about a session inside a
> servlet, the code
> seems to be simple as
>
> localSession =
> Ctx.getManager().findSession(sessionId);
>
> My problem is that I do not know how to obtain the
> Ctx object from a
> requ
Forget to mentioned, I have make sure my tag in server.xml have
included the reloadable="true" entity
Foong Kim Seong
-Original Message-
From: ks.foong [mailto:[EMAIL PROTECTED]
Sent: Friday, June 02, 2006 4:52 PM
To: 'Tomcat Users List'
Subject: Auto Reload Features by Tomcat
Hi, I
Hi, I notice that starting from Tomcat 5 onwards; we can enjoy the benefit
of the "Auto-reload" features of it.
I personally have tried it with my Eclipse development. Each time I have
changed any servlet coding, the eclipse (or more specific, Tomcat) able to
detect the changes and Reload for i
I am trying to obtain data about a session inside a servlet, the code
seems to be simple as
localSession = Ctx.getManager().findSession(sessionId);
My problem is that I do not know how to obtain the Ctx object from a
request (HttpServletRequest)
Thanks in advance
---
Hi Maciej,
I'm connecting from Tomcat to ActiveMQ with this configuration:
META-INF/context.xml:
...
...
WEB-INF/web.xml:
...
jms/ConnectionFactory
javax.jms.ConnectionFactory
jms/Test
javax.jms.Queue
...
Hope, it hel
What is your problem?
Your nodes can find the others? Check your network allow Mutlicast
and TCP traffic
Regards
Peter
Am 02.06.2006 um 08:22 schrieb Sandeep Gaikwad:
I had done through vertical clustering on Single Machine.
Can you suggest me changes required for horizontal clustering
Hi,
i develope my web application using ActiveMQ and run it under Apache
Tomcat 5. There is a problem - the 'jndi.properties' file seems to be
invisible, although it is placed on class path.
Has anybody met such a problem?
Maciej
54 matches
Mail list logo