I need some best practices advice regarding the use of Log4J, Commons
Logging, Tomcat 5.0.x, Digester, multiple third party support
applications (such as Jakarta Struts, Hibernate 3
(http://www.hibernate.org), Spring Framework
(http://www.springframework.org), and others.
For the past 2 years,
Ive also read somewhere that mod_jk2 isnt suitable for multiple jvm hosting.
mod_jk2 is so devious, it isn't suitable for torturing your worst enemy.
I don't want too much of my geekdom to show, but this bad boy is
going to be one of the horrendous programs uploaded to the Monolith in
3001 whe
[EMAIL PROTECTED] wrote:
How many instances are your running? 1 or multiple? dealing with one is
very easy.
If by instances, do you mean root processes- then 1 of each.
I am running multiple connector threads for httpd and java, but
everything is running on the same machine.
This should be a ver
Running Red Hat Fed Core 2, Apache 2.0.51, Tomcat 5.0.x.
I'm trying to configure Apache and Tomcat like I have countless times
before. The only mod_jk source or binary I can find is for Apache
2.0.50. If I try to use it with 2.0.51 it's a no-go.
Since the documentation on mod_jk2 is horrendous
Unfortunately, the does not catch return code. I
already have one java.lang.Exception
which is a good umbrella for all exception an alike. However, it does
not catch 404, for example.
Try this in your web.xml
400
/400.jsp
401 and 403 ar
Yes, Yoav, everything you wrote is correct. I have read all those
things, and the source is being created *for those files that do not
have dependencies with my other java source.*
In short, I was wondering why the older JSP Java generation in ANT
didn't need those class dependencies, but the
On old Tomcat 4 projects, the Manager used Ant to generate Java source
from my JSPs, which could then be compiled directly with my other Java
source, and all was good. The Manager saw that it was good, and it was
good.
In the great migration to Tomcat 5, the Ant script proclaimed:
"this task d
I'm looking for a clarification on the functionality of the Session
Replication within Tomcat 5.
Is the only data replicated across servers that which is placed in the
HttpSession? In other words, is any data placed within the ServletContext
(application layer) object replicated?
Thanks
Congratulations to all those involved. This is a huge release, in my book.
Lukas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ou will be notified when an attribute is
> removed and you will be able to access its value.
>
> Yoav Shapira
> Millennium ChemInformatics
>
>
> >-Original Message-
> >From: Lukas Bradley [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, November 26, 2003 1:
All,
When I attempt to access the HttpSession object within the
sessionDestroyed(), I get the following error.
DEBUG [StandardManager[]] (SessionListener.java:40) - sessionDestroyed()
StandardManager[] Session event listener threw exception
java.lang.IllegalStateException: getAttribute: Session a
-- the memory/CPU reported by each thread is actually shared among all
threads. -A]
"Lukas Bradley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> What determines the number of Java procs running catalina upon startup?
> The OS is Debian Linux, and it's
What determines the number of Java procs running catalina upon startup?
The OS is Debian Linux, and it's Tomcat 4.1.
If you look closely below, between ids 268 and 317 was full of java
instances. That's 49 java instances running the bootstrap. What would make
this happen? Is this normal? Is th
A good guess, and only if the JSSE functions REQUIRED 1.3. But I'm trying
to access the JSSE classes included with 1.4.
Lukas
"Yuriy Stul" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> May be problem is that Tomcat 4.1.27 was compiled under Java 1.4... and
> JSSE under Java 1.3
I'm having a strange problem with Tomcat and
javax.net.ssl.HttpsURLConnection. I'm using Tomcat 4.1.27, JDK 1.4.1_04,
and the jsse.jar containing the javax.net.ssl and other fine classes.
I've read about certain bugs located here
http://java.sun.com/j2se/1.4.2/docs/guide/security/jsse/JSSERefGuid
You're a rock star, Tim. Thanks.
Lukas
"Tim Funk" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> All the detail you need ...
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16001
>
> -Tim
>
> Lukas Bradley wrote:
>
> > Wha
What is the lifecycle of custom tags? Are tag objects reused throughout a
page? It seems as if my tags are not always being created. They are not
*always* reused however.
Lukas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
> Is there a corresponding method within the Tomcat 4.1 framework? I would
> like to determine a file's MIME type as specified within the web.xml
> document.
I'm an idiot, please don't bombard me
Servlet Context
java.lang.String getMimeType(java.lang.String file)
Retu
In Tomcat 5.0 beta, there is a class MimeMap offering the following method:
public String getContentType(String extn) {...}
Is there a corresponding method within the Tomcat 4.1 framework? I would
like to determine a file's MIME type as specified within the web.xml
document.
Thanks
Lukas
> AFAIK, no such benchmarks have been made.
> Once tomcat loads a servlet, it is loaded. Tomcat currently does not
unload
> servlets due to lack of use.
Is this the case with Tomcat 5?
Lukas
-
To unsubscribe, e-mail: [EMAIL P
All,
Where can I get a description of how Tomcat handles a Servlet lifecycle from
init() to removal from memory? I'm interested in how long a Servlet is held
in memory, and how long it remains inactive before it is removed from the
Servlet pool.
Also, are there performance statistics of the maxi
I'm attempting to use a combination of an error-page for 401 codes and BASIC
authentication. My version is Tomcat 4.1.27 on Windows XP.
Without the error-page, the authentication works fine. A username/password
dialog is presented when attempting to enter the /sponsor, /webmaster, or
/admin dire
In Bugzilla with a really bad hack fix. I'm trying to reopen the ticket.
http://nagoya.apache.org/bugzilla/buglist.cgi?email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue
> > Because then ANYONE with a user account could bind a service to those
> > ports.
> ... unless there are proper access privileges on ports as on files.
> I consider the start-as-root pattern as a hack (not a bad one though ;-)
I was going to let a sleeping dog lie, but that's exactly what I thi
Yes, but is this a Java problem, or is this an OS related problem/feature?
IMHO, since UNIX/LINUX is doing the restricting of port traffic, the problem
resides with the OS, not with Java. Adding an API to shift the native
security model is out of scope.
Why don't particular flavors of the OS all
"Then, the declarations and mappings for the servlets which were generated
during the precompilation must be added to the web application deployment
descriptor. Insert the ${webapp.path}/WEB-INF/generated_web.xml at the right
place inside the ${webapp.path}/WEB-INF/web.xml file. Restart the web
ap
B-INF/lib/struts.jar
/WEB-INF/lib/xalan.jar
Log4J is being loaded by a plugin detailed in Stuts.
Lukas
"Jacob Kjome" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Quoting Lukas Bradley <[EMAIL PROTECTED]>:
>
> > > Does Tomcat 4.1.24 initialize a
> Does Tomcat 4.1.24 initialize a Log4J instance? It seems as if something
is
> stepping on my Log4J properties, and I don't know where it is. The first
> thing my application does is start the plugin, but here is my log:
It's actually Commons Digester. When I set it to a DEBUG level, it goes
C
Does Tomcat 4.1.24 initialize a Log4J instance? It seems as if something is
stepping on my Log4J properties, and I don't know where it is. The first
thing my application does is start the plugin, but here is my log:
WebappLoader[]: Deploy JAR /WEB-INF/lib/xerces.jar to
c:\dev\myapp\html\WEB-INF\
> You place the class files in /WEB-INF/classes, then hand-code servlet
mappings in web.xml pointing from each xxx.jsp name to the corresponding
class.
This seems pretty convoluted. How does Tomcat handle the mappings? Is
there not an automatic way to do this?
Lukas
Double part question:
First, when I pre-compile JSPs, what directory are the JSP class files
placed? In WEB-INF/jsp or WEB-INF/classes?
Second, without the actual JSP on the server, can the files be reached as
normally? Will //localhost/myfile.jsp still map correctly to the class in
Tomcat?
Th
I think the problem is much simpler. Sounds like a JSP is attempting to
access something (like myHashMap.get(null) ) and the NPE is being thrown up
to Tomcat.
How about some code? This only happening in one spot?
Lukas
"Eric J. Pinnell" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTE
When deploying a WAR file, is it possible to have Tomcat automatically
compile all the included JSP files?
Lukas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> > Does Tomcat support the web.xml DTD web-app/error-page option? It
> > is parsed in the org.apache.catalina.startup.WebRuleSet, but I've
> > never seen any documentation on it.
> http://jakarta.apache.org/tomcat/faq/misc.html#error
Thanks for the quick response, Jason. I apologize for not se
Does Tomcat support the web.xml DTD web-app/error-page option? It is parsed
in the org.apache.catalina.startup.WebRuleSet, but I've never seen any
documentation on it.
Anything out there?
Lukas
-
To unsubscribe, e-mail: [EMA
For non-browser based traffic, like foreign applications that POST to a
Servlet over HTTPS, where do I place the trusted client certificate? Since
there is no user-based authentication acceptance window, it seems our
connections are failing.
The end user has sent me the certificate, I just don't
36 matches
Mail list logo