In-process Tomcat is to have Tomcat running in the same process space as
Apache HTTPD, IIS, or other web server. Since most of the web servers
are implemented in C/C++, you will have to use JNI to integrate with
Java-based Tomcat, and create a mod_tomcat like module for Httpd.
Definitely the
How about packaging the config.xml file within the jar file and import
it to your application via resource stream? See
Class.getResourceAsStream() or ClassLoader.getResourceAsStream() for
more details.
The limitation of this approach is that the configuration parameters
have to be predefined
What are the differences between Tomcat Manager and TomcatProbe?
Thanks!
ND
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, March 06, 2006 7:51 AM
To: users@tomcat.apache.org
Subject: TomcatProbe 1.1 released
Hello guys,
I thought that you might be
You may be interested in the open source product
http://www.opensymphony.com/clickstream/
ND
-Original Message-
From: Tim Lucia [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 7:31 AM
To: 'Tomcat Users List'
Subject: RE: Need help with click streams
Tomcat has an access log
I assume that your web app was dealing with a backend database. In that
case, it is quite possible that your JDBC data source is running out of
connections. So the timeout is not necessarily caused by the servlet,
but by the connection pool. One option is to increase the number of
connections
What do you want to accomplish? SSL is the only (I mean one that is
established) way to ensure a secure session.
ND
-Original Message-
From: Luis Henrique [mailto:[EMAIL PROTECTED]
Sent: Friday, February 17, 2006 10:11 AM
To: users@tomcat.apache.org
Subject: Client Cert
Is there
If you (or someone else) have full control of the database
configuration, not your customers, you may consider using a true JDNI
server. The JNDI implementation provided by Tomcat (or most of the app
servers in the market today) are not true JDNI services, but only a
look-up table, because
In your situation, you probably don't want to mess around with the
HttpSession object. The session object is designed for sharing info
within the same session, not the same user. If sharing info among
multiple sessions is desired, use ServletContext instead. One solution
would be store your
Anonymous authentication is an additional feature that you need to create in
your web application. It doesn't come by default in any app servers. So there
is no need to disable it when configuring Tomcat.
There is a good article in JavaWorld discussing about anonymous authentication
in J2EE.
It looks like a network problem to me. Is there any firewall between
the apache and your tomcat server? Or did your IT dept reconfigure the
network recently?
ND
-Original Message-
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Monday, February 13, 2006 9:27 AM
To: Tomcat Users
You should be able to add the context info in your web.xml file. In
other words, instead of making the JDBC resource available to all web
apps, you make it only to particular applications. If this JDBC
connection is only used by the workflow web app, defining it in web.xml
is actually preferred.
But this still need to add the jdbc config in the server.xml,right?
Can you give me some suggestions?
From: Duan, Nick [EMAIL PROTECTED]
Reply-To: Tomcat Users List users@tomcat.apache.org
To: Tomcat Users List users@tomcat.apache.org
Subject: RE: jdbc context
Date: Mon, 13 Feb 2006 10:11:34 -0500
Sorry for jumping into the discussion. The comment I'd like to make is
that you can't really separate the security realm from authentication.
In other words, a security realm is an integral part of user
authentication. If user authentication is done by apache, the realm
(the term realm is kind
Without knowing the details of your problem (you may want to provide a
stack trace next time), I think the problem is in the java client. Did
you use JSSE to implement the client? The java sockets for accessing
http are not the same as https.
ND
-Original Message-
From: news
Are you using Solaris? Is it possible that your MTU at the OS level
wasn't set to a large number?
ND
-Original Message-
From: James Rome [mailto:[EMAIL PROTECTED]
Sent: Friday, February 03, 2006 9:30 AM
To: Tomcat Users List
Subject: socket read errors
My servlet that verifies
The clientAuth attribute of the connector has to be set to true. Then
you will need a client cert to access resources under /html/*, but not
other pages. See the Tomcat SSL guide on how to create the client cert.
ND
-Original Message-
From: Markus [mailto:[EMAIL PROTECTED]
Sent:
Could you publish the stack trace for this?
ND
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 01, 2006 8:06 AM
To: users@tomcat.apache.org
Subject: BUG in Tomcat 4.3.31 with Oracle 9?
Hi!
I tried the following code from a jsp-page one
Spawning your own threads in a web app is usually not recommended. The
correct way is to create and use a JMS message listener, like in Jakarta
common messenger. http://jakarta.apache.org/commons/sandbox/messenger
I am not sure how easy it is to integrate with Tomcat 5.
ND
-Original
: Application sign-in
I need to call database only whe user login with j_security_check
It's is valid other users have a session in the application but they are
not
authenticated (guest users)
regards
2006/1/27, Duan, Nick [EMAIL PROTECTED]:
One option is to create your own HttpSessionListener
The redirection operator should work, but with one more detail: You
need to modify the catalina.bat file to enable the redirection.
ND
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 24, 2006 10:04 AM
To: Tomcat Users List
Subject:
The initial posting sounds like an EJB question instead of one that is
Tomcat related. Tomcat is considered a web application server and it
uses session objects (HttpSession) to represent user sessions. It
doesn't handle EJBs at this point. Session beans are exclusive terms
for EJB servers
Sourceforge.net may be your answer (search for e-commerce).
The latest spring framework also contains a very simple shopping cart
app called jpetstore as an example. It works well on Tomcat.
http://www.springframework.org.
ND
-Original Message-
From: Kyle [mailto:[EMAIL PROTECTED]
Without knowing how your web.xml file was defined, it seems to me a context
root problem. Sun has its own way to define the path of a context root in its
sun-web.xml file, unlike tomcat which uses the application name as the default
root path. If you use Sun's Studio to package and deploy
Couple of ways you may consider:
- Ask your network administrator to change your DNS mapping or IP
address mapping.
- Use the build-in balancer of tomcat as a proxy to redirect the traffic
(see the load balancer section of tomcat doc).
- Apache or HW load balancer.
ND
-Original Message-
on HttpSession in tomcat is unnecessary.
ND
-Original Message-
From: GB Developer [mailto:[EMAIL PROTECTED]
Sent: Friday, January 06, 2006 6:33 PM
To: 'Tomcat Users List'
Subject: RE: Single Thread is deprecated?
-Original Message-
From: Duan, Nick [mailto:[EMAIL PROTECTED]
Sent: Friday
Tomcat handles user sessions (HttpSession) separately from SSL session.
In other words, JSessionID is being generated independently from SSL.
There is no relationship between an SSL session and the user session at
the application level. You still have to use the same JSessionID
(either
You shouldn't use req.getParameter(..). Instead, use the setAttribute
and getAttribute methods in HttpServletRequest. No need to pack/unpack
JDOM. You can pass an object via request.
ND
-Original Message-
From: Christian Stalp [mailto:[EMAIL PROTECTED]
Sent: Friday, January 06, 2006
Don't forget type casting the object.
ND
-Original Message-
From: Christian Stalp [mailto:[EMAIL PROTECTED]
Sent: Friday, January 06, 2006 10:06 AM
To: Tomcat Users List
Subject: Re: forwarding JDOM-Objects
Duan, Nick wrote:
You shouldn't use req.getParameter(..). Instead, use
By type casting I mean:
Document mydoc = (Document) req.getAttribute(yourobjname);
Viel Glueck!
ND
-Original Message-
From: Christian Stalp [mailto:[EMAIL PROTECTED]
Sent: Friday, January 06, 2006 11:16 AM
To: Tomcat Users List
Subject: Re: forwarding JDOM-Objects
Duan, Nick schrieb
HttpServlet is inherently thread-safe as long as you don't use any
instance and class variables in your code. There is also no need to
sync around the session object, because there is only one servlet that
is active at a time. The only sync you have to do is with app context
objects.
If you
Check catalina.out file under the log dir.
ND
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Sent: Friday, January 06, 2006 9:59 AM
To: users@tomcat.apache.org
Subject: How does Tomcat log by default?
I am playing around with a Hibernate project, and created a war
of
HttpServlet, why bother to sync them?
ND
-Original Message-
From: Michael Echerer [mailto:[EMAIL PROTECTED]
Sent: Friday, January 06, 2006 5:44 PM
To: Tomcat Users List
Subject: Re: Single Thread is deprecated?
Duan, Nick wrote:
HttpServlet is inherently thread-safe as long as you don't
Well, the log msg is complaining about not able to find the worker.
Apparently your tomcat wasn't configured for listening to ajp13 request
from httpd. A connector entry for ajp13 should be added to server.xml
file. At least it was not listed in your email.
!-- Define an AJP 1.3 Connector
and try yours? The same error occured when they
were placed side by side (yours on top).
Thanks for helping.
Luka
- Original Message -
From: Duan, Nick [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, November 30, 2005 3:58 PM
Subject: RE: Problems with Mod JK
Tomcat currently doesn't support cert validation against CRL. You may
want to use Apache's mod_ssl to do the CRL checking. You will have to
use mod_jk to connect Apache web server with tomcat.
SSL is very computational intensive. Use Apache's httpd to do the SSL
work is more efficient than to
You can't do this if both sites are on different machines since tomcat
user ID (defined as a cookie by default), is tied to an url. If both
sites are on different machines, you may have to use url-rewritting for
session tracking instead of using the default cookies.
ND
-Original
and
org.apache.tomcat.util.net.jsse.JSSE15SocketFactory
classes.
- The crlFile property needs to be added inside your
SSL Connector in the server.xml file. The value is the
location of the CRL file on your system.
Regards,
Martin
--- Duan, Nick [EMAIL PROTECTED] wrote:
Tomcat currently
: Certificate Revocation Lists in Tomcat 5.5
Caldarale, Charles R wrote:
From: Duan, Nick [mailto:[EMAIL PROTECTED]
Subject: RE: Certificate Revocation Lists in Tomcat 5.5
Tomcat 5.5 supposed to run on JDK 1.5. Why was it compiled with JDK
1.4?
Because it's supposed to run on JRE 1.4 as well
-Original Message-
From: Cristian [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 1:27 PM
To: Tomcat Users List
Subject: Re: heap size problems (speed) [2]
- Original Message -
From: Duan, Nick [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday
A simple solution would be to have all static pages hosted on an Apache
httpd server in front of tomcat clusters. If you need more performance,
just cluster the httpds. Tomcat is not really designed to server static
pages. Apache httpd can also serve as a LB. In this case, certainly
you have to
21, 2005 11:17 AM
To: 'Tomcat Users List'
Subject: RE: Calling EJBs
Nick (and others),
Do you know which mailing list is for JBoss?
Thank you,
Milan
-Original Message-
From: Duan, Nick [mailto:[EMAIL PROTECTED]
Sent: Monday, November 21, 2005 4:49 PM
To: Tomcat Users List
Subject: RE
I think the standard way for including role in your programming logic
(e.g. if user is of role manager, dispatch the manager.jsp; if user is
an employee, dispatch the employee.jsp, etc), is to use the isUserInRole
method of HttpServletRequest. This solution doesn't depend on which
realm you are
Message-
From: Duan, Nick [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 17, 2005 11:02 AM
To: tomcat-user@jakarta.apache.org
Subject: Session not sticky in 5.5 with load balancer
I am running an Apache httpd server as the load balancer with two tomcat
instances. All servers
Apparently mod_jk does support several load balancing algorithms other
than round-robin. You may want to set the method property of load
balancer to Request or Traffic. See instructions on worker properties
for details.
http://tomcat.apache.org/connectors-doc/config/workers.html
I think this
44 matches
Mail list logo