Hi,
please use 5.5.17 and read the tomcat 5.5 cluster docs.
Sorry, but tutorials and real design docs not exists.
Regards
Peter
Am 02.06.2006 um 07:54 schrieb Sandeep Gaikwad:
Hi All,
I am trying to devlop Horizontal clustering for tomcat 5.5.9.
I am new to this field so
I had done through vertical clustering on Single Machine.
Can you suggest me changes required for horizontal clustering across Two
machine?
-Original Message-
From: Peter Rossbach [mailto:[EMAIL PROTECTED]
Sent: Friday, June 02, 2006 11:41 AM
To: Tomcat Users List
Subject: Re: Query
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
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 Maciej,
I'm connecting from Tomcat to ActiveMQ with this configuration:
META-INF/context.xml:
Context
...
Resource
name=jms/ConnectionFactory
auth=Container
type=org.apache.activemq.ActiveMQConnectionFactory
description=JMS
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, 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
Forget to mentioned, I have make sure my Context tag in server.xml have
included the reloadable=true entity
Context path=/project reloadable=true ...
Foong Kim Seong
-Original Message-
From: ks.foong [mailto:[EMAIL PROTECTED]
Sent: Friday, June 02, 2006 4:52 PM
To: 'Tomcat
--- 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
request
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
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
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
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 =
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.
Hi all,
I'm using Tomcat 4.1.31.
I have a war file and I'm using the ant target
deploy to deploy this war. Here is the code
snippet of my build.xml :
property name=tomcat.server.name
value=localhost/
property name=tomcat.server.port value=8080/
property name=tomcat.user.name
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:
Context
...
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
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
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:
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 an
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.
The servers.xml file needs to be configured with the keystore path and
file name.
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8443 minProcessors=5 maxProcessors=75
enableLookups=true
acceptCount=100 debug=0 scheme=https
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
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 you
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.
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
DCTMINFO Documentum Java Method Server
DCTMINFO Docbase Names =
DCTMINFO Host Names =
DCTMINFO IP Addresses =
DCTMINFO Java Method Dir =
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
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 have
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 Host if you
wish. Just configure it on a per host basis
Filip
Edoardo Causarano wrote:
Got it, I was too pedantic in following the
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
DCTMINFO
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
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
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
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:
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 warm
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
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 Java Web
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
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
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
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.
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
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 =
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
Marc Farrow wrote:
auth-contraint/
And there is the problem. An empty auth-constraint allows
unauthenticated access as per SRV.12.8.1
An empty auth-constraint is not the same as an auth-constraint
that specifies no roles and therefore denies access to all as per
SRV.12.8.1.
Mark
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.
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.
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 custom
(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
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
Thanks Mark. I did figure out my configuration problem!
On 6/2/06, Mark Thomas [EMAIL PROTECTED] wrote:
Marc Farrow wrote:
auth-contraint/
And there is the problem. An empty auth-constraint allows
unauthenticated access as per SRV.12.8.1
An empty auth-constraint is not the same as an
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
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
--- 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 find them. I
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.
55 matches
Mail list logo