Jonathan Eric Miller wrote:
The strange thing is that this page seems to only intermittently be
displayed. i.e. it is catching the case where the session expires, but, in
some cases since I'm using container based security, it is going back to the
login page. Sometimes it goes to this page first,
Try to make kill -QUIT on the tomcat process. This will make a thread dump. Most
probaly the Thread dum will appear in the catalina.out
Check there to see if some of your threads are halting in some point in your code.
Pavle
-Original Message-
From: Antonio Fiol Bonnn [mailto:[EMAIL
I recently downloaded TOMCAT 5 and I read that I am
responsible to verify the integrity of the download
from the mirror using some key or signature. How do I
do that? I am running SuSE linux 9.1.
Please be specific. What key's or signatures or
checksums do I download? Where do I place them?
Is it considered safe to run tomcat as a stand-alone
production server on ports 80 and 443? This requires
tomcat to run as root (or so I have read) and it is
therefore not recommended. Using apache forks child
processes that run as nobody. But I don' want to use
apache. Again, is it safe to
I have a custom taglib class that extends BodyTagSupport. The doStartTag() method
returns EVAL_BODY_BUFFERED. I then have another custom taglib class that is a child of
this tag, which extends TagSupport. In doStartTag(), this method gets the JspWriter
and writes to it, however the output does
What I think you need to consider is the risk of running TC in this manner
dependant on where and what the TC instance is being deployed for.
The risk MAY be acceptable if you are intending on running a TC instance
internally on an intranet or something similar, as then you only have to
worry
I am intending to run in a fully internet exposed
environment and I only have ONE physical machine to
use for deployment. It will be directly connected to
the internet at co-location service provider. So ...
In a conversation from yesterday, it appears another
user had a similar question. How
You've built jk2. that's ok. Your load instruction is not correct.
your httpc.conf contains LoadModule jk_module modules/mod_jk.so
instead ofLoadModule jk2_module modules/mod_jk2.so
The set of instructions I send to you must work.
You are using apache 2 and jk2. And the instructions you set
Hi.
I have problems with mod_jk2 2.0.4 and Fedora Core 2.
I use Jakarta-Tomcat 4.1.30, Apache 2.0.49, OpenSSL 0.9.7d and J2SDK 1.4.2_04. I am
able to execute *.html files from the server - but I cannot execute JSP files.
Previously I have used mod_jk2 2.0.2 and Fedora Core 1. I used to compile
I think the problem is entirely on non-windows platforms. JVM autodetection doesnt
even work unless on windows.
Ta
Matt
-Original Message-
From: Peter Rossbach [mailto:[EMAIL PROTECTED]
Sent: 26 May 2004 20:16
To: Tomcat Users List
Subject: Re: apache2+tomcat5.0.19+mod_jk in-process
Thank you for the answer.
I know about this possibility using filters (and I have done something).
But the original question (and my question) is about simpler way: Is it
possible to globally set (somewhere in JVM or Tomcat configuration)
default character encoding for all created Writers?
I used that example to write my Manager config. However when the manager
is nested inside the host it doesn't look to work since I don't have any
row in my database.
So I nest the manager in a context as below, and I can see my sessions
in the database.
Host name=localhost debug=0
Hi everybody
I want to force my page login via SSL, and i did it with:
security-constraint
web-resource-collection
web-resource-nameSSL/web-resource-name
url-pattern/Comun/LoginUsuario.jsp/url-pattern
/web-resource-collection
user-data-constraint
Hi Lars,
You're lucky ! My FC2 system locks up hard when running any kind of
Java. Complete freeze. I have to reboot the computer using the power
switch because the keyboard doesn't work. Apparently, there is a known
problem with running Java on FC2. See this :
Justin,
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html
and
http://marc.theaimsgroup.com/?l=tomcat-userm=108373546715111w=2
and
http://jakarta.apache.org/commons/daemon/
Use directions from the first two. The third is for description of product.
Doug
www.parsonstechnical.com
-
Mariano,
Two thing come to mind:
1. Why not just leave it in SSL?
2. You have a problem of losing the session. When you move from SSL to NON
SSL page you lose the session and create a new one. This is for security
reasons.
Past that the only thing that come to mind is Single sign on. There
Matt,
Thanks for your help so far. Now i am using Mod_jk2.0.2 + Apache2.0.43
+JBoss3.2.3. It is running perfect.
Now my problem is I will have to use 2 apache servers on 2 different
mechines.
Apach_box_1 has two tomcat/jboss (load balanceing)
Apach_box_2 has two tomcat/jboss (load balanceing)
Matt,
Sorry ignore my last mail. I tried to pin point the problem. But i could
not. In fact, I did not clearly understand following properties when i go
through them deeply.
[lb:lb]
info=Default load balancer.
debug=0
[lb:lb_1]
info=A second load balancer.
debug=0
Can any one explain better
For performance reasons.
I'll take a look at single sign on.
Thanks
Mariano López
-Mensaje original-
De: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 27 de mayo de 2004 13:48
Para: Tomcat Users List; [EMAIL PROTECTED]
Asunto: Re: How to force only page login
The http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html
isn't the way for doing jsvc that I used (it didn't work
right).
You should already have jsvc.tar.gz in the bin dir
for tomcat; unpack it, and follow the instructions
in INSTALL.txt for building jsvc. There's a page for
it at
Hi all, can i know which port is using tomcat in http and https in jsp page
or servlet?
This values are sets in server.xml file in coyote connector port, for
example:
Connector port=8080 maxThreads=150
Connector port=8443 maxTh ... scheme=https
Thanks
Mariano López
Hi,
That solution doesn't pleased me a lot because I want to store the
session for all deployed context. How can I do that ?
Put the Manager inside the Host, not the Context.
I have an other question : should I write something in my servlet to
recover a session for example after a crash or
Hi,
Use HttpServletRequest#getLocalPort.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Mariano [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 8:50 AM
To: 'Tomcat Users List'
Subject: How to know http port and https port on tomcat
Hi all, can i know
Just
% request.getSchem() %
Ron Blom
Mariano [EMAIL PROTECTED]
27-05-2004 14:49
Antwoord a.u.b. aan Tomcat Users List
Aan:'Tomcat Users List' [EMAIL PROTECTED]
cc:
Onderwerp: How to know http port and https port on tomcat
Hi all, can i know which
Hi friends,
Anyone knows how to use two mod_jks (two apache servers)to load balance
Tomcats.
My problem here is if we configure the two mod_jks to loadbalance four
tomcats,
1. Do these two mod_jks know each other? I think, It is important to know
the LOAD kept to one Tomcat by other mod_jk
Hi,
It's not a stupid question and I bet for your one message there are at
least 1 times this should have been asked and wasn't. And 10K is a
conservative estimate, not a typo, given the number of tomcat downloads.
The release manager signs the various distros with his (we haven't had a
Hi,
After using Tomcat4 for a couple of years, we decided to try Tomcat5
for
our
next release. However, we immediately ran into the problem above.
Search as
I may, I have found little discussion of this problem and no way around
it.
Is there some configuration change that can be made to return
didn't read the email telling of the stableness of the 5.0.25... :)
the error is strangem, since it's generated by jasper (JSP engine)
it's trying to pass an throwable where is expected an exception, the
inverse would be ok...
Rajesh_Narayanan wrote:
I tried both... but the result is
Hi,
Look for multiple or conflicting versions of the JSP API on your
classpath. If you have a servlet.jar somewhere other than the ones that
ship with tomcat, remove them.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Joel Shprentz [mailto:[EMAIL PROTECTED]
Hi,
I bet your JSP runtime classpath is messed up. Are you running inside
an IDE?
(All JSPs and JSP tests worked for us before releasing, including the
official Sun JSP TCK -- these are prerequisites for any tomcat release).
Yoav Shapira
Millennium Research Informatics
-Original
Hi,
Good post. I've added it to the FAQ:
http://jakarta.apache.org/tomcat/faq/security.html#jsvcExample.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: RJ [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 8:17 AM
To: Tomcat Users List
Subject: RE:
Hello,
I am trying to use SSL authenitcation with X509 certificates. The certifcates
are not in the Java keystore. I would like to know how to get my certificate
whichi is signed by a specific CA into the keystore and use the https
connector.
I have found some documentation on the web but
RJ wrote:
I'm using the combined log format, and it seems to be OK,
except that on the first hit on my site (to the static
index.html page) the referer field is always -.
Subsequent hits from pages within the site show the correct
referer, but my main interest is that initial one.
Anybody have any
At 12:41 AM 5/27/2004 -0400, you wrote:
A search of the tomcat-user archives suggests that this is a new way
for Tomcat to start poorly on Windows XP.
Below is stdout.log after a clean install of j2sdk-1_4_2_04-windows-i586-p.exe
and jakarta-tomcat-5.0.24.exe on a Windows XP Pro desktop system. I
The only thing you have to do is running the java keytool utily with
following command:
keytool -import -alias tomcat -keystore server.ks -trustcacerts -file
server.crt
This inserts thet server.crt certificate into the keystore that tomcat
uses.
Ron Blom
Julie McCabe [EMAIL
The only thing you have to do is running the java keytool utily with
following command:
keytool -import -alias tomcat -keystore server.ks -trustcacerts -file
server.crt
This inserts thet server.crt certificate into the keystore that tomcat
uses.
Your CA scertificate needs to be in the
Hello,
That solution doesn't pleased me a lot because I want to store the
session for all deployed context. How can I do that ?
Put the Manager inside the Host, not the Context.
I did it in the host but it doesn't seem to work. I don't see any
Session stored in my database.
Do you know
I've been wrestling with this for a few days now. We have an instance of
tomcat v5.0.16 using jdk 1.4.2_02 on a solaris 8 machine (kernel patch
108528-17).
The use of symbolic links by the webapps is turned on in the default
context (I've also tried it in the individual contexts) using:
Hi,
I tried the following command
keytool -import -alias tomcat -keystore server.ks -trustcacerts -file
server.crt
with my certificate and key which are in pem format and it returned
keytool error: java.lang.Exception: Input not an X.509 certificate
I have the CA certifcate stored in my
If you use Internet Explorer you simple go to the Trusted Certificate
Authorties, select the CA certificate and export it to some format.
You should then be able to import it into your trusted keystore.
Ron
Julie McCabe [EMAIL PROTECTED]
27-05-2004 16:21
Antwoord a.u.b. aan Tomcat Users
Hello,
I should have included this in my original mail but I am using Mozilla 1.4.1
on RedHat Linuz 9.0 - any ideas?
Julie.
On Thursday 27 May 2004 15:47, [EMAIL PROTECTED] wrote:
If you use Internet Explorer you simple go to the Trusted Certificate
Authorties, select the CA certificate and
As I've stated in both my previous messages I've tried both and jk1 is
the one I really want to get to work.
On Thu, 2004-05-27 at 01:25, [EMAIL PROTECTED]
wrote:
You've built jk2. that's ok. Your load instruction is not correct.
your httpc.conf contains LoadModule jk_module modules/mod_jk.so
If this is the case, then why not fix the
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html
page to show the correct(updated) information?
Doug
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 9:19
Sorry, I'm not familiar with this environment.
Which CA certificate your server certificate is signed with?
Give me some important attributes.
Perhaps I can send you this certificate as an attachment.
Julie McCabe [EMAIL PROTECTED]
27-05-2004 16:47
Antwoord a.u.b. aan Tomcat Users List
My Apache 2.0.49 can direct JSP to Tomcat 5.0.19, but it cannot direct
Servlet to Tomcat. I can run it on Tomcat:
http://localhost:8008/servlet/myapp/testServlet
But I cannot run it on Apache (port number is 82) like:
http://localhost:82/servlet/myapp/testServlet. The error log says:
File does
Hi,
That'll be done too, but those docs only get updated when we do a new
release, and I didn't want to wait to post the content.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Parsons Technical Services
[mailto:[EMAIL PROTECTED]
Sent: Thursday, May 27, 2004
Hi,
I have a big problem - it is necessary for me to initialize the
context-elements of a host in a specific order. Here is a snip of my
web.xml:
Host name=itv appBase=. autoDeploy=true debug=0
unpackWARs=true xmlNamespaceAware=false mlValidation=false
Context path=
Thanks to all,
I forget to tell you that the HTTP Servlet and its request to URL of another
SW are located on the same host. Maybe I didn't understand quite well some of
your answers but I do believe that for the Server performance it is better to
have one remain connection (socket) to the URL
Hi,
1) You need to set up a URI mapping in your workers2.properties in your apache conf
directory for the servlets to work, its enough to just put yourapp/*, from the sounds
of it you must have yourapp/*.jsp or something like that.
2) You need to set up URL mappings in the applications web.xml
Hi;
I am trying to get Bugzilla to work with Tomcat and have run into a
problem. The latest stable release of Bugzilla (2.16) has implemented
taint checking in all of the CGI perl scripts as a security feature.
When I attempt to access Bugzilla via Tomcat, I get a message in the log
file from
Well 2 days have passed, and the problem seems to have gone away.
Nothing as clever or as exciting as a memory profiler I'm afraid. Those
crazy tomcat developer kids seemed to have nailed the apj coyote stuff
in the 5.24 release.
On 25 May 2004, at 19:52, Mark Lowe wrote:
well time will only
If your client implements keepalives then you can maintain the same socket
connection for many requests.
-Tim
[EMAIL PROTECTED] wrote:
Thanks to all,
I forget to tell you that the HTTP Servlet and its request to URL of another
SW are located on the same host. Maybe I didn't understand quite
Hello,
I find that the number of Sessions displayed by the Manager is
surprisingly high. My application has the session timeout set to 5.
The access_log shows 8 hits in the last five minutes. But, the number
of Sessions is 140.
I'm running Tomcat 5.0.19 on Solaris 5.9. I use two servers
I am confused as to which connector to use for connecting II 6.0 Tomcat
4.1.30. It appears that either the JK 1.2 or the JK 2 will work but I am uncertain. If
someone could clarify the difference between these connectors and which to use I would
greatly appreciate it. Thanks.
Hi-
I have apache and tomcat (running as a Servlet/JSP container) running on
separate servers and I'm using mod_jk to redirect. Apache is all buttoned
up with mod_ssl but I'd like the communication between apache (with
mod_jk) and Tomcat (running as a Servlet/JSP container) to be
Hi,
I am running it from Eclipse. How can i find out if my JSP runtime
classpath is messed up?.. and how can I rectify it??..
Thanks for ur response..
Raj
Hi,
I bet your JSP runtime classpath is messed up. Are you running inside
an IDE?
(All JSPs and JSP tests worked for us before
Thanks a lot bill!!!
Bill Barker wrote:
Emerson Cargnin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm running out of memory with the msg:
...
WARNING: Error registering request
May 25, 2004 5:36:44 PM
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
SEVERE: Caught
AFAIK, most os the attributes used in jk2.properties as related to mod_jk2.
What other attributes can be used to configure later mod_jk?
Thanks
Bill Barker wrote:
Emerson Cargnin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm running out of memory with the msg:
...
WARNING: Error
Greetings.
In the post below - I detail the error I was encountering prior to using
mod_jk2.04 with Tomcat 5.0.19.
After deploying mod_jk2.04 with TC 5.0.19 the problem did not appear again.
Unfortunately the problem is now back (see below for details). It
re-appeared after I upgraded to
How do I get jar files to work?
Learning Tomcat I have a simple HelloServlet class. When compiled and the
class file is inserted into the directory
/opt/tomcat/webapps/test/WEB-INF/classes/example
and the web.xml file given below is placed in
Jk2 is a refactoring of jk. Jk2 uses APR library, and AFAIK, it's easier
to build against apache 2. I tried some days to make jk2 to work,
without too much success. mod_jk is a lot easier. jk2 gives you
statistics of the connector from the apache side.
Emerson
Reis, Tom wrote:
I am
From Javadoc for OutputStreamWriter:
An OutputStreamWriter is a bridge from character streams to byte streams:
Characters written to it are encoded into bytes using a specified charset.
The charset that it uses may be specified by name or may be given
explicitly, or the platform's default charset
Hi Filip,
Thanks for your reply.
I've got pass that point but am now having new problem...(I'm using
OpenJMS)
After successfully creating the connectionFactory and the Connection, I
was prompted the following when Tomcat starts and the OpenJMS server is
alreay up and running:
Hi,
The class itself and web.xml look fine (though we usually tell people to
put servlet-name before url-pattern in the servlet-mapping element, for
backwards compatibility and/or historical reasons). There's no reason
it should work in a jar. Webapps/test/WEB-INF/lib is the right place to
put
Hi,
Try using the TCP factories instead of the RMI ones (they also ship with
open JMS, same jars, it'll just be a tcp://somehost:someport connection
URL).
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Rui Zhang [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 27,
I've used both.. With 4.1 and 5. In fact our staging server uses jk2
and live server jk1.
I would say use 1. Its less bother. Less configuration and I've also
found that jk2 has issues when you want to load balance java content
from static
I've seen loads of examples where the whole webapp is
Thank you for the reply.
I assume that you meant the opposite when you wrote, There's no reason it
should work in a jar, and it SHOULD work in a jar.
When tomcat was installed it inserted a user and a group both named tomcat
on my machine (I'm using Gentoo Linux 2.6.4). However, I changed the
Hi,
Try installing it from the normal distribution at jakarta.apache.org,
not an RPM or another package specific to your system. The normal
distro installation is simple: download and unzip to a directory of your
choice. It doesn't created any new users or groups and doesn't require
special
I thought this was the User list, not the Dev list. As such, why should I be
expected to submit code suggestions or diffs.
I think a patch is in order for the obvious reason that something that
worked fine in Tomcat4 doesn't work in Tomcat5. It's called backwards
compatibility.
Blair
I seem to remember there were problems if you tried to run jk1 with virtual hosts and
also apache https. Does that sound right?
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 10:52 AM
To: Tomcat Users List
Subject: Re: Which connector to use
The errors sttoped, but I still get the following messges in catalina.log
May 27, 2004 1:52:48 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 27, 2004 1:54:02 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 27, 2004 1:55:20 PM
Yoav,
Trying to learn something here. From what I am reading, I can create several
servlets, place them in a jar and put this jar in WEB-INF/lib . Then these
servlets are available in my context? Just add mappings!
That is what I am reading from this thread.
My current understanding is
I noticed that if you have unpackWARs set to false and you update a WAR
file, it doesn't reload it.
According to the Tomcat documentation at the following link, it only does it
for unpacked WAR files. Why?
Yoav:
I would except the machine I am working on is an amd64 Opteron processor and I
doubt that the binaries would work. Gentoo built tomcat from the 5.0.18
source and that what I am working with.
Any way to confirm that tomcat's classpath actually contains the jar file?
-- Michael
Hi,
Is it possible to forward a request from one Tomcat server to another? I
looked at the API's and it seems to say the resource must be located on the
same server and in the same servlet context. I'm needing to have some way
to forward http requests from an external IIS web server to an internal
Hi,
I would except the machine I am working on is an amd64 Opteron
processor
and I
doubt that the binaries would work. Gentoo built tomcat from the
5.0.18
source and that what I am working with.
Why do you doubt they'd work? I'd give them a shot if I were you --
after all, that IS on of the
Hi,
Like HttpServletResponse#sendRedirect? It's not like a forward in that
the client URL changes, but it does pass the request to another server.
Beyond that, you COULD write something that'd wrap the request, invoke
another server to handle it, and stream the response to your own client.
Yoav
Hi,
Because you may have changed the contents of the unpacked directory, and
a redeployment of the WAR (which includes unpacking it) would overwrite
your changes. We'd rather be extra careful and require the user to
explicitly redeploy the app via the manager (or whatever mechanism
he/she wants
Yoav,
So use to doing imports that I didn't think (key words here) about Tomcat
making the servlets available from a jar. Was thinking that it would have to
be imported to be used. Learn something new each day.
Thanks
Wonder if the manifest or index of the jar is not correct? That could cause
Hi,
I thought this was the User list, not the Dev list. As such, why should
I
be
expected to submit code suggestions or diffs.
This IS the user list. Most tomcat users are developers, and as such
the idea of submitting code fixes when they find bugs is not foreign to
them. I didn't say to
Thanks, Yoav.
I will try to write something to wrap the request. The streaming back part
answers my question about how to handle the response.
I could simply use IIS to redirect the original request, but the server
address would be unreachable for the client as only the web server would
have a
Look at JSTL's c:import tag. If you don't do posts (or images) - it might
be enough of a quick kludge.
For example, call this page cowbell.jsp:
--
%@ taglib uri=http://java.sun.com/jstl/core/c.tld; prefix=c %
c:import url=http://otherserver${pageContext.request.requestURI}/
--
Then in web.xml:
Why do you doubt they'd work? I'd give them a shot if I were you --
after all, that IS on of the main points of Java ;)
Oh, I see. It didn't occur to me that Tomcat was itself written in java.
But, of course!
So I downloaded the binaries and used them for the same tests just as you
On Thursday 27 May 2004 11:04 am, Parsons Technical Services wrote:
Wonder if the manifest or index of the jar is not correct? That could cause
problems.
The jar manifest is empty:
Manifest-Version: 1.0
Created-By: 1.4.2-rc1 (Blackdown Java-Linux Team)
I think this is right.
I've been using 4.1.x and 5.0.x for quite some time with the sample
application. This application does a JNDI lookup of a mail session.
This session is configured in my app's context with the following:
Resource name=mail/Session auth=Container
type=javax.mail.Session/
ResourceParams
Hi,
I have no more ideas, but I'm curious as to what JDK you're using.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Michael Labhard [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 2:27 PM
To: Tomcat Users List
Subject: Re: n00b cannot get jar files to
On May 27, 2004, at 10:05 AM, Leonard Sitongia wrote:
But, the number of Sessions is 140.
The number appears to have fluctuations up and down, but the overall
trend is to increase. There are now 170 sessions. Some sessions
apparently expire but others do not, hence the overall increase.
Is
Hi Emerson,
these are non-critical but will stop to occur upon upgrading to 5.0.25.
/Thomas
Emerson Cargnin [EMAIL PROTECTED]
27-05-2004 14:14
Besvar venligst til Tomcat Users List
Til:Tomcat Users List [EMAIL PROTECTED]
cc:
Vedr.: Getting messages: INFO:
Yoav:
As happens the realization of the solution came to me as a result of our
exchanges. I had improperly built the jar file. The servlet was in a
package example but the jar file did not contain a directory example that
contained the class. It just contained the class. What I should have
Hi,
No problem, glad to help -- those little things can be frustrating ;)
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Michael Labhard [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 3:05 PM
To: Tomcat Users List
Subject: Re: n00b cannot get jar files to
Thanks, but, since, I have unpackWARs set to false, I have no unpacked
directory, so, I don't see why that would make a difference.
Jon
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 12:58 PM
Subject: RE:
Hi,
Hmm. I wasn't aware of anything in the naming/JNDI area that changed in
5.0.25 that could cause this. Yet I can reproduce your problem, so it's
clearly not specific to you. You get a javax.naming.NamingException:
Cannot create resource instance exception, right?
Digging a bit deeper, I
Is there any work being done to support MX4J 2.0.x? MX4J's 1.1.1 release is
no longer available from the MX4J web site.
Does anyone have any idea how big of a project this would be? I might be
interested in helping to contribute if it is not too large.
Jimmy
Hi,
After adding some debugging statement to the code (on a local build of
5.0.26 that has no relevant changes):
getting mail session factory.
factory class name = org.apache.naming.factory.MailSessionFactory
java.lang.ClassNotFoundException:
org.apache.naming.factory.MailSessionFactory
Thank for your reply.
Yes, I did it.
in the tomcat\webapps\ROOT\web.xml or tomcat\webapps\ROOT\WEB-INF (not
both):
servlet
servlet-nametest1/test1/servlet-name
servlet-classtest1/test1/servlet-class
/servlet
servlet-mapping
servlet-nametest1/test1/servlet-name
Hi,
It's probably not a huge deal, and it's definitely on the radar screen.
Take a shot at building tomcat with MX4J 2.0 and let us help you if you
run into problems.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Wilson Jimmy - jiwils [mailto:[EMAIL PROTECTED]
Well I have it set up like this, but it isnt working quite right.
Workers2.properties
[shm:]
info=Shared memory file. Required for multiprocess servers
file=C:\Tomcat\work\jk2.shm
size=100
[channel.socket:172.16.10.39:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3
Thanks a lot, Yoav, it works now.
Rui
On Thu, 27 May 2004, Shapira, Yoav wrote:
Hi,
Try using the TCP factories instead of the RMI ones (they also ship with
open JMS, same jars, it'll just be a tcp://somehost:someport connection
URL).
Yoav Shapira
Millennium Research Informatics
Hi everyone,
I'm fairly new to Java and Tomcat. I hope this problem can be easily
explained.
I am using Tomcat 5.0.24.
I have an application, packaged it in a WAR file, and deployed it. This
application has a login page. After logging in, the application redirects
to a page named search.jsp.
I played around with it a little more and noticed that if I close the
browser and reopen the sites, I get different ones working. It appears
that Tomcat is setting a cookie to stick me to a particular worker.
So it appears that this is not the ideal way to have one server, many
sites, each with
1 - 100 of 120 matches
Mail list logo