Re: Sending mail with JavaMail

2005-10-07 Thread David Tonhofer, m-plify S.A.
--On Friday, October 07, 2005 1:08 PM +0200 Andrés Reyes <[EMAIL PROTECTED]> wrote: It doesn't work. No way??? Back to basics: find all the places where mail.jar is in this hierarchy of classloaders. Make sure there is only one. Make sure that jaf.jar is at the same level or above it.

Re: Sending mail with JavaMail

2005-10-07 Thread David Tonhofer, m-plify S.A.
Looks like the usual Tomcat classloader hierarchy SNAFU. Try with ONLY in tomcat/common/lib. --On Friday, October 07, 2005 12:04 PM +0200 Andrés Reyes <[EMAIL PROTECTED]> wrote: activation.jar and mail.jar are placed both in /common/lib, and in /WEB-INF/lib (and also in JAVA_HOME/lib) ¿Any

Re: Sending mail with JavaMail

2005-10-07 Thread David Tonhofer, m-plify S.A.
Confirmation: I have them in common/lib, too. If the mail.jar is in common/lib, then the jaf.jar must *also* be in common/lib. --On Friday, October 07, 2005 11:15 AM +0200 Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote: Andrés Reyes wrote: Yes, activation.jar and mail.jar are placed both in /WE

Re: Sending mail with JavaMail

2005-10-07 Thread David Tonhofer, m-plify S.A.
* * Andrés Reyes ( [EMAIL PROTECTED] ) * TCOR Desarrollos y Sistemas, S.L. * Teléfono: 957 76 42 48 * Fax : 957 76 42 49 ***/ ----- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

How to disable the internet DTD lookup in Tomcat ?

2005-09-28 Thread Cels M.
Hi, I've been trying to disable the DVD lookup in Tomcat. Even if this seems to be a common requirement, I was unable to find something related to it in the docs. Does anyone know how to disable it (or create a XML catalog to redirect a public ID to a local one? Thanks in advance,

Re: tomcat-user Digest 11 Sep 2005 15:29:19 -0000 Issue 5872

2005-09-11 Thread Terence M. Bandoian
Hi- You might investigate using the include directive: <%@ include file="..." %> instead of the include action. -Terence M. Bandoian [EMAIL PROTECTED] wrote: >>>Hi, >>> >>>i am using Jasper coming with tomcat 4.1.31 for precompilation of som

Re: Tomcat4 & HTTP response header Cache-control

2005-09-01 Thread Terence M. Bandoian
The following might do the trick: response.setHeader( "Cache-Control", "no-cache" ); -Terence M. Bandoian >> Hello all, >> >> I'm currently having to (still) work on an application which is >> running under Tomcat4 - the suppliers haven'

Re: Can't get ssl redirection to work properly

2005-07-23 Thread Terence M. Bandoian
Hi, You might try including a URL pattern containing only "/" in addition to the "/*" pattern. -Terence M. Bandoian >> Hi again.. I don´t know if this mail reached the mailinglist som I >> just reply to myself to get the attention again ;). >> Is this k

Re: Can't get ssl redirection to work properly

2005-07-22 Thread Terence M. Bandoian
Hi, You might try including a URL pattern containing only "/" in addition to the "/*" pattern. -Terence M. Bandoian >> Hi again.. I don´t know if this mail reached the mailinglist som I >> just reply to myself to get the attention again ;). >> Is this k

RE: Tomcat 5.5 and SQL Server

2005-07-11 Thread Anderson, M. Paul
al Message- From: Anderson, M. Paul [mailto:[EMAIL PROTECTED] Sent: 11 July 2005 16:35 To: Tomcat Users List Subject: Tomcat 5.5 and SQL Server I am running Tomcat 5.5 with SQL Server on a separate machine. I am getting the following error at random times: Java.lang.Exception: java.sql.SQ

Tomcat 5.5 and SQL Server

2005-07-11 Thread Anderson, M. Paul
I am running Tomcat 5.5 with SQL Server on a separate machine. I am getting the following error at random times: Java.lang.Exception: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection rest by peer: socket write error. I have been unable to determine a trigger for this

RE: User authentication using Realms

2005-06-21 Thread Gagnon, Joseph M \(US SSA\)
path you specified? That makes a little more sense with the exception you are seeing. Ok, that's all the shots in the dark I have right now :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, June 20, 2005 9:34 am, Gagnon, Jo

User authentication using Realms

2005-06-20 Thread Gagnon, Joseph M \(US SSA\)
I've finally (with lots of help) figured out how to do form-based user authentication of a simple test JSP webapp. So far, so good ... it seems to be working. However, the "database" is a list of roles and users currently defined in conf/tomcat-users.xml. While this worked fine while I was learn

Re: JSP pre-compile and Apache

2005-06-16 Thread Terence M. Bandoian
Have you granted the site accessClassInPackage runtime permission? -Terence M. Bandoian [EMAIL PROTECTED] > I used to precompile my JSP's (which worked great and > was a big time saver in testing), but since running > Tomcat 4.1.31 together with Apache, all sorts of weird > e

RE: Help/Examples setting up security settings2

2005-06-15 Thread Gagnon, Joseph M \(US SSA\)
ugh I don't think this is the source of your problem, it strikes me as odd to be protecting the root of your webapp when this is where the "unprotected" page are as well (i.e., login.jsp, login_error.html) [Gagnon, Joseph M] What can I say, I don't know much about what I

RE: Help/Examples setting up security settings2

2005-06-15 Thread Gagnon, Joseph M \(US SSA\)
your problem, it strikes me as odd to be protecting the root of your webapp when this is where the "unprotected" page are as well (i.e., login.jsp, login_error.html) [Gagnon, Joseph M] What can I say, I don't know much about what I'm doing. That is a good idea. Didn't think i

RE: Help/Examples setting up security settings

2005-06-15 Thread Gagnon, Joseph M \(US SSA\)
would expect with XML!), but earlier versions had a more restrictive DTD. You should see an error message when you start Tomcat if this is going to be a problem. Just wanted to warn you about it is you see it later. Frank Gagnon, Joseph M (US SSA) wrote: > OK, now I'm more confused. F

RE: Help/Examples setting up security settings

2005-06-14 Thread Gagnon, Joseph M \(US SSA\)
my situation. I've tried to include all pertinent information. If anyone can help me out, I would sure appreciate it. (Thanks again Frank Zammetti for the information you've provided so far.) Thanks, Joe Gagnon -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECT

RE: Help/Examples setting up security settings

2005-06-14 Thread Gagnon, Joseph M \(US SSA\)
spective, and the perspective of what the user sees though, it is correct. I think that's everything. Hope that helps! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, June 13, 2005 1:55 pm, Gagnon, Joseph M \(US SSA\)

Help/Examples setting up security settings

2005-06-13 Thread Gagnon, Joseph M \(US SSA\)
Hello, Does anyone have any examples of how to set up my deployment descriptor (web.xml in Tomcat 5.5.9) to do BASIC authentication (of any of the other methods, for that matter)? I've looked at various sources of information on the web (including some of Sun's sites), but have not yet found good

RE: Problem with security?

2005-06-10 Thread Gagnon, Joseph M \(US SSA\)
key to open the door. You may be encrypted in your transfer over SSL but if you don't have the user log in, you are not secure. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Gagnon, Joseph M (US SSA) [mailto:[EMAIL PROTECTED] Sent: Friday, June 10,

RE: Problem with security?

2005-06-10 Thread Gagnon, Joseph M \(US SSA\)
rface, which is extended in HttpServletRequest. You can call the getRemoteAddr(), getRemoteHost(), etc. methods. You receive null in your getRemoteUser because the user hasn't been 'authenticated' yet. On 10 Jun 2005, Gagnon, Joseph M (US SSA) wrote: > Hello, > > I

Problem with security?

2005-06-10 Thread Gagnon, Joseph M \(US SSA\)
Hello, I'm new to JSP development (and to dynamic web development as a whole) so please bear with me. I'm investigating using JSP/Java for a project at my workplace. My system (test server, if you will) is a PC running Windows XP Pro and I am using Tomcat 5.5.9. I have a situation where I want

RE: Tomcat thread is dying unexpectedly (Tomcat5.0.28, apache2.0.54 and mod_jk 1.2.5 connector on Solaris 8)

2005-06-02 Thread M. Owais Ansari
home/apache2/logs/jk.log /conf/httpd.conf- LoadModule jk_module modules/mod_jk.so JkWorkersFile /export/home/tomcat5/conf/workers.properties JkLogFile /export/home/tomcat5/logs/mod_jk.log JkLogLevel info JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkLogStampFormat &q

Tomcat dying unexpectedly (Tomcat5.0.28, apache2.0.54 and mod_jk 1.2.5 on Solaris 8)

2005-06-02 Thread M. Owais Ansari
--/conf/httpd.conf LoadModule jk_module modules/mod_jk.so JkWorkersFile /export/home/tomcat5/conf/workers.properties JkLogFile /export/home/tomcat5/logs/mod_jk.log JkLogLevel info JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkLogStampFormat "[%

Re: Bug?: JspCompilationContext.createCompiler(JspCompilationContext.java:220)

2005-05-28 Thread Mark M. Egan
I answered my own question. I was not including an important .jar file in the CLASSPATH. At 08:49 PM 5/27/2005, you wrote: I am trying to embed tomcat in an application. I am using Sun Java 1.5 and Tomcat 5.5.9. During the tomcat startup, I receive the following error: SEVERE: Servlet.serv

Bug?: JspCompilationContext.createCompiler(JspCompilationContext.java:220)

2005-05-27 Thread Mark M. Egan
I am trying to embed tomcat in an application. I am using Sun Java 1.5 and Tomcat 5.5.9. During the tomcat startup, I receive the following error: SEVERE: Servlet.service() for servlet jsp threw exception java.lang.NullPointerException at org.apache.jasper.JspCompilationContext.create

Re: database - jdbc setup help

2005-05-12 Thread Terence M. Bandoian
For information about JDBC, you may want to try the Sun JDBC tutorial - http://java.sun.com/docs/books/tutorial/jdbc/ -Terence - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: context.xml created by Ant not discovered by Tomcat

2005-05-06 Thread Hollerman Geralyn M
Matt Galvin <[EMAIL PROTECTED]> wrote: Yes, there is, I usually put them in: $CATALINA_HOME/conf/Catalina/localhost/myapp.xml Could you post the contents of your context file? Maybe something needs to be tweak possibly. Here is context.xml... factoryorg.apache.commons.dbcp.BasicDataSourceFac

context.xml created by Ant not discovered by Tomcat

2005-05-05 Thread Hollerman Geralyn M
I am attempting to get some JDBC parameters passed from Ant to a Tomcat .xml file. The idea is for an Ant target to create a file called context.xml and place it in /webapps//META-INF/ - and THERE IS NO .war FILE INVOLVED. Upon startup, Tomcat will discover the file in that /META-INF directory

Re: Session lost when switching from https to http in Tomcat 5.

2005-04-28 Thread Hollerman Geralyn M
"Anhony" <[EMAIL PROTECTED]> wrote: I am using Tomcat 5.0.28 Users log into my application from https://xxx.com/login.jsp. When submitted, I check for a valid userID/Password, create a session with getSession(), and then save the userID/Password in a session variable. The validated user is then

RE: Default Page Expiration time

2005-04-25 Thread Goldman, Stephen M.
Never mind. I found that if I close the browser and start up a new session the page is update. -Original Message- From: Goldman, Stephen M. [mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 1:51 PM To: 'Tomcat Users List' Subject: Default Page Expiration time Is there a

Default Page Expiration time

2005-04-25 Thread Goldman, Stephen M.
Is there a way to set globally in Tomcat a default page expiration time? I have Macromedia flash files on the server and when one is updated I have to delete the temporary files in Internet Explorer to see the changes. When I look at the cache in IE the expires date says none.

RE: [Pragma] = [No-cache] header added automatically

2005-04-25 Thread Goldman, Stephen M.
zilla/show_bug.cgi?id=28750 See the above link for an explanation, and to configure Tomcat to avoid this M$ "feature", see http://issues.apache.org/bugzilla/show_bug.cgi?id=27122 The problem is that IE interprets the "no-cache" cache control HTTP headers as forbidding the

[Pragma] = [No-cache] header added automatically

2005-04-22 Thread Goldman, Stephen M.
I am running Tomcat 5.5.7 with Apache 2.0.54 and mod_jk 1.2.10 with SSL and am experiencing problems downloading files using IE. Microsoft has a technical bulletin on this issue (Q323308). Microsoft has a registry hack to fix this, but to do this on all of the companies machines is not an option

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
ly make a slight change to the command and specify the current directory as part of the classpath. I am guessing this is the HellowWorld.java servlet example included with Tomcat. javac -classpath .;c:\tomcat\common\lib\servlet.jar HelloWorld.java -Original Message- From: S M [mai

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
at c:/javacode is then that is the place where the source code as .java files reside. "Samara, Fadi N Mr ACSIM/ASPEX" <[EMAIL PROTECTED]> wrote: Classification: UNCLASSIFIED Caveats: NONETry to reboot your machine, then compile again and see what happens.Fadi -Original Messag

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
Maybe it is something with where you're writing to. If it compiled then javac's job is done. Is it a standalone server/PC or networked ? Do you have limited permissions ? Fadi -Original Message- From: S M [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 11:44 AM To:

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
let.jar file exists. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 8:15 AM To: Tomcat Users List Subject: Re: class path (UNCLASSIFIED) Hello, S M wrote: >tried that too... but it can't identify the path. > >C:\javacode>ja

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
t;. But the angle brackets from are not meant to be included. Jay Vertical Technology Group http://www.vtgroup.com/ -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 10:32 AM To: Tomcat Users List Subject: RE: class path (UNCLA

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
tried that... now no errors anyway but there is no class file too??? "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote: > From: S M [mailto:[EMAIL PROTECTED] > Subject: RE: class path (UNCLASSIFIED) > > Now compiling > c:/javacode>javac > -classpath Hello

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
I tried that too.. same problem... anyways.. apart from that going as the suggestion of without spaces directory path... here is the modified thgs CLASSPATH=.;c:\java;c:\tomcat\common\lib\servlet.jar CATALINAHOME=c:\tomcat JAVA_HOME and path remaing the same. Now compiling c:/javacode>javac -cla

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
t; <[EMAIL PROTECTED]> wrote: Classification: UNCLASSIFIED Caveats: NONE Try compiling the class by including the path for servlet.jar in your javac command, if you haven't done that yet. -Original Message- From: S M [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
you compiling your class ? Are you using any IDE (i.e Eclipse, Jdeveloper) ? -Original Message- From: S M [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 10:07 AM To: Tomcat Users List Subject: RE: class path (UNCLASSIFIED) The same as before. -

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
ors - "Samara, Fadi N Mr ACSIM/ASPEX" <[EMAIL PROTECTED]> wrote: Classification: UNCLASSIFIED Caveats: NONE What errors are you getting again ? -Original Message- From: S M [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005

Re: class path

2005-04-13 Thread S M
I have the path =C:\java\bin; when i installed J2sdk1.4.2_06 These being the variables I am still getting that error log where the compiler cannot locate the servlet pakages. Hope you can assit further. Thanks. Jason Bainbridge <[EMAIL PROTECTED]> wrote: On Apr 12, 2005 3:39 PM, S

Re: class path

2005-04-12 Thread S M
actual directory listings of everything you mentioned inlcuding the servlet.jar -Steve O. On 12 Apr 2005 at 21:03, S M wrote: > I have set the class_path as > ".;C:\javacode;%CATALINA_HOME%;%CATALINA_HOME%\common\lib\servlet.jar;%J2EE_HOME%\lib\j2ee.jar;" > where ";C:

RE: class path (UNCLASSIFIED)

2005-04-12 Thread S M
ver you supplied below. Not class_path if you are under WINXP or WIN2K . -Original Message- From: S M [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 4:12 PM To: Tomcat Users List Subject: RE: class path (UNCLASSIFIED) yes it is ".;C:\javacode;%CATALINA_HOME%;%CATALINA_HOME%\c

RE: class path (UNCLASSIFIED)

2005-04-12 Thread S M
will need to have servlet-api.jar in your class path. -Original Message- From: S M [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 4:03 PM To: tomcat-user@jakarta.apache.org Subject: class path Hi all, I am a first time user of Tomcat. I am able to see the Tomcat default page on

RE: class path (UNCLASSIFIED)

2005-04-12 Thread S M
I am using Tomcat 4.1 and that only has servlet.jar "Samara, Fadi N Mr ACSIM/ASPEX" <[EMAIL PROTECTED]> wrote:Classification: UNCLASSIFIED Caveats: NONE You will need to have servlet-api.jar in your class path. -Original Message- From: S M [mailto:[EMAIL PROTECTED

class path

2005-04-12 Thread S M
Hi all, I am a first time user of Tomcat. I am able to see the Tomcat default page on http://localhost:8080/index.jsp Now, I want to compile HelloWorld.java using JDK 1.4, the program does not compile and fails with the following log

JSP compilation errors

2005-04-06 Thread Neuman, Ben J., A&amp;M IRM
I have a web-app (J2EE 1.3, Servlet 2.3, JSP 1.2) that builds and deploys successfully on Tomcat (5.0.28). However, when pre-compiling all JSPs, countless Exceptions are thrown, all of which are of the flavor "cannot be applied to". I realize this must be a classpath problem when compiling, however

Re: Logs : catalina.out

2005-04-05 Thread David Tonhofer, m-plify S.A.
Yes. This is Tomcat's stdout/stderr. You can edit /bin/catalina.sh to set a new path and/or filename. -- David --On Tuesday, April 05, 2005 10:36 AM +0100 Cédric Buschini <[EMAIL PROTECTED]> wrote: Hi, I m running a Tomcat 5 server. It creates log files "catalina.out" store

RE: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-14 Thread David Tonhofer, m-plify S.A.
gt; wrote: Very useful info. Thx. Have you actually tested your configure in tc5.5.7/.8, i.e. Tomcat Manager app deploy/redeploy etc.? -Original Message- From: David Tonhofer, m-plify S.A. [mailto:[EMAIL PROTECTED] Sent: March 10, 2005 5:55 AM To: Tomcat Users List Subject: Re: JDBCRe

RE: Mapping context to root of website

2005-03-10 Thread Anderson, M. Paul
efine each app as the ROOT context for that host. Doug - Original Message - From: "Anderson, M. Paul" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, March 10, 2005 1:53 PM Subject: RE: Mapping context to root of website How would I do this if I

RE: Mapping context to root of website

2005-03-10 Thread Anderson, M. Paul
How would I do this if I am just using Tomcat (no apache, IIS, etc.)??? -Original Message- From: Ronnie Tartar [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 1:50 PM To: Tomcat Users List Subject: RE: Mapping context to root of website Is there a way to do this with jk or jk2?

RE: JDBC Realm by-passing login page using a link

2005-03-10 Thread Anderson, M. Paul
It is my understanding that the JDBC realm will execute prior to any filters or other servlets, so I wouldn't think this would be possible unless you perform your own authentication - possibly in a filter - to do just what you're looking for. -Original Message- From: Fredrik Liden [mailto:

RE: Cannot compile class in WEB-INF/classes

2005-03-10 Thread Anderson, M. Paul
--- "Anderson, M. Paul" <[EMAIL PROTECTED]> wrote: > Did you import javax.servlet.http.* ? > > -Original Message- > From: Rahul Joshi [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 10, 2005 1:19 PM > To: tomcat-user@jakarta.apache.org > Subject: Ca

RE: Cannot compile class in WEB-INF/classes

2005-03-10 Thread Anderson, M. Paul
Did you import javax.servlet.http.* ? -Original Message- From: Rahul Joshi [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 1:19 PM To: tomcat-user@jakarta.apache.org Subject: Cannot compile class in WEB-INF/classes I have a Simple JSP page in my webapps/myappname. I have a util

Limiting number of login attempts

2005-03-10 Thread Anderson, M. Paul
Is there a way to limit the number of login attempts for a user when using a JDBC realm? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: file watcher

2005-03-10 Thread Anderson, M. Paul
What is a "file watcher"? -Original Message- From: deepak suldhal [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 7:41 AM To: Tomcat Users List; Antony Paul Subject: Re: file watcher if you have a file watcher Please email, it will help me a lot. Thanks Antony Paul <[EMAIL

Re: Tomcat 5.5.7. server.xml doc may be buggy...is it bugzilla time?

2005-03-10 Thread David Tonhofer, m-plify S.A.
ataSource.Factory" or through the "factory" attribute. Which is nice. Please stop whining. Should I take this as an offense? I don't whine. I either discuss bugs or use harsh language. But thanks anyway. -- David Tonhofer M-PL

Tomcat 5.5.7. server.xml doc may be buggy...is it bugzilla time?

2005-03-10 Thread David Tonhofer, m-plify S.A.
Hello, Question regarding Tomcat 5.5.7 and the JNDI Datasource: It seems like either the web documentation for Tomcat 5.5 or the implementation is incorrect regarding the use of JNDI Datasources. In this page: the

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-10 Thread David Tonhofer, m-plify S.A.
Juste pour info: I have written up my DataSourceRealm with DBCP that I got working before 02:00 this night (eww) into the DBCP Twiki. Not the best place, but hey, might be useful: Enjoy, -- David --On Wednesday, March 09, 2005 8:40 PM -0800 alexander do

Re: Tomcat 4.1.30 crashing on production site - need help

2005-03-07 Thread David Tonhofer, m-plify S.A.
port file has been saved as hs_err_pid13341.log. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David Tonhofer M-PLIFY S.A. Resp. Informatique 47, av. de la Liberté L-1931 Luxembourg Tel: +352 261846-

JSP/Servlet Mailing List?

2005-03-07 Thread Anderson, M. Paul
Does anyone know of a good JSP/Servlet mailing list/help list that is both active and similar in format to this group? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat at Standalone

2005-03-04 Thread Anderson, M. Paul
This question must have been asked a million times but I can't seem to find any information on it - any advice would be appreciated. I need to stand up a web site that will only serve jsp and servlets. I suspect the number of concurrent users will be no more than 10, but it could possibly grow in

s

2005-03-03 Thread Hollerman Geralyn M
I inherited an application recently that uses Tomcat 5.0.16. I know that previous to Tomcat 5, elements were in Tomcat's server.xml, but with Tomcat 5 it is recommended that elements be in their own .xml files under /conf/Catalina//. In this application, however, there are elements in BOTH p

RE: startup script not working

2005-03-02 Thread David Tonhofer, m-plify S.A.
You need to upgrade to the latest commons-logging. See: You still seem to have logging 1.0.2 =:-o Make sure that you have the packages at the version described in t

RE: startup script not working

2005-03-02 Thread David Tonhofer, m-plify S.A.
Try commenting out the listeners in server.xml: Or upgrade the JMX package --On Wednesday, March 02, 2005 5:22 PM +0100 "Bedrijven.nl" <[EMAIL PROTECTED]> wrote: Caused by: java.lang.NoSuchMethodError: javax.management.ObjectName.quote(Ljava/ lang/String;)Ljava/lang/String; at

Some trouble compiling mod_jk (solved, actually)

2005-03-02 Thread David Tonhofer, m-plify S.A.
quot; Task an appropriate argument, too. But I think not. On to the next problem. -- David Tonhofer M-PLIFY S.A. Resp. Informatique 47, av. de la Liberté L-1931 Luxembourg Tel: +352 261846-52 Fax: +352 261846-46 Mob: +352 021-139031 ---

Security Question

2005-02-24 Thread Paulo César M. Jeveaux
another form to make this? My archive of context is thus: Regards -- /** * @author Paulo César M. Jeveaux * Java Consultant * @version 21.0 * http://www.portaljava.com * @deprecated */ - To unsubscribe, e-mail

Re: Meaning of threads

2005-01-24 Thread Sean M. Duncan
What is the impact of having apache httpd allow keep alive requests when using the AJP connector to tomcat? Does this have any impact on tomcat's thread usage? How well does httpd itself deal with keep alive pipelines under a heavy user load? -Sean On Mon, 2005-01-24 at 16:23 -0600, Filip Hanik

Re: What is it mean that "Java code does not belong in well designed JSP pages"?

2005-01-23 Thread Sean M. Duncan
I work in a shop similar to the one you describe where individuals are forced to fill multiple roles. I'm called upon to implement everything from domain models to navigation menus. However, I find that keeping the Java code that appears in JSP to a minimum helps in this situation as well. Altho

Re: index.jsp: why don't modifications to it show up?

2005-01-17 Thread Sean M. Duncan
I ran into the same issue a while back and found that there is a compiled version of the index.jsp in catalina-root.jar file in the /WEB- INF/lib folder of the root web application. Hope that helps. -Sean On Mon, 2005-01-17 at 20:58 -0800, Kai Utility wrote: > Thanks for your excellent introduct

Re: Help: Context.xml Resource difference between 5.0.x and 5.5.x ?

2005-01-17 Thread Sean M. Duncan
On Mon, 2005-01-17 at 16:57 -0800, TomK wrote: > I'm having trouble moving my webapp from Tomcat 5.0 to 5.5. The dataSource > in Context.xml seems to be the issue. > > According to the 'JNDI how-to' documentation for 5.0 and 5.5, it looks like > the '' tag has been removed from the Context.xml

Re: Java VM Monitor-Debug

2005-01-17 Thread Sean M. Duncan
You need a profiler. I would suggest JProfiler for development monitoring. It's far too intrusive to use on a production system though. On Mon, 2005-01-17 at 19:37 -0500, K. Mike Bradley wrote: > I have a need to look inside a running Java VM for a Tomcat app. > We are having problems with an ap

Re: Tomcat 4 doesn't start http service on Linux?

2005-01-17 Thread Sean M. Duncan
My first suggestion would be to set up Apache httpd as the load balancer using mod_jk. This will give you much more accurate node availability detection. This solution also provides much more flexibility when it comes to using the session tracking API (session affinity, session replication or bot

Re: apache2 + mod_jk + tomcat5.5.4 help

2005-01-17 Thread Sean M. Duncan
Try leaving the className parameter off. I new versions of Tomcat use the CoyoteConnector for AJP communication. The minProcessor and maxProcessor attributes have been deprecated. Use maxThreads, minSpareThreads and maxSpareThreads instead. On Mon, 2005-01-17 at 14:16 -0500, Trung Nguyen wrote:

question

2005-01-14 Thread Hollerman Geralyn M
I was recently given a new application to maitain. It uses Tomcat 5.0.16 and an Oracle database. I have used various versions of Tomcat to work with applications on two other kinds of databases, one of which uses DBCP, so I am somewhat familiar with the needed parameters and went to the Tomcat J

mod_jk error handling question

2004-12-15 Thread Paulsen, Jay M
Environment: Apache 2.0.52 mod_jk 1.2.7-beta-2 Tomcat 5.5.4 I've set up Tomcat with and AJP1.3 Connector to handle requests for web apps from Apache. I'd like to be able to set up an ErrorDocument directive for apache to forward the user to a custom error page when tomcat is unavailable. This pa

What does this mean? (Tomcat manager)

2004-12-13 Thread Hollerman Geralyn M
In using the Tomcat manager app with 5.0.16, we got some odd results when our backend database started acting funny and then crashed; I'm just curious as to whether the results we saw on the Tomcat manager indicate that there's something I should be looking at. Specifically, what I saw was that the

RE: org.apache.catalina.connector.Request

2004-11-30 Thread Anderson, M. Paul
pira.com >-Original Message- >From: Anderson, M. Paul [mailto:[EMAIL PROTECTED] >Sent: Tuesday, November 30, 2004 10:17 AM >To: Tomcat Users List >Subject: RE: org.apache.catalina.connector.Request > >I am creating a custom realm because I want to take advantage of

RE: org.apache.catalina.connector.Request

2004-11-30 Thread Anderson, M. Paul
authentication based on your requirements. Servlet Filters would probably be much easier. As for the java imports, importing a class and importing a source file are 2 totally different actions. -Tim Anderson, M. Paul wrote: > Sorry for another question...I am using Tomcat 4.1 ... Is

RE: org.apache.catalina.connector.Request

2004-11-29 Thread Anderson, M. Paul
. To do this I need access to a Response object but I can't seem to get at this very easily. I find it odd that in Java the imports in a base class do not carry over into a derived class...this is not like c++ as I am use to. -Original Message- From: Anderson, M. Paul [mailto:[EMAIL

RE: org.apache.catalina.connector.Request

2004-11-29 Thread Anderson, M. Paul
Never mind...I realize now it's in Tomcat 5 and I'm still using Tomcat 4. -Original Message- From: Anderson, M. Paul [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 3:12 PM To: Tomcat Users List Subject: org.apache.catalina.connector.Request Can anyone tell me

org.apache.catalina.connector.Request

2004-11-29 Thread Anderson, M. Paul
Can anyone tell me which jar file the "org.apache.catalina.connector.Request" class is in? I can't find it to add it to my project to allow me to compile my custom realm. Thanks a lot!! - To unsubscribe, e-mail: [EMAIL PROTECTE

RE: SocketException

2004-11-12 Thread Hollerman Geralyn M
"Peter Crowther" wrote: SEVERE: Remote Host /xxx.xxx.xxx.xxx SocketException: Invalid argument Hmm. An EINVAL from the socket layer. Are you running UNIX or Windows? Depending on which, I'd get hold of a system call tracer (Unix) or TDImon (Windows), monitor until you got the error, and then loo

SocketException

2004-11-12 Thread Hollerman Geralyn M
As I have mentioned in the past, I am still getting this error in my catalina.out: Nov 12, 2004 5:03:19 AM org.apache.tomcat.util.net.TcpWorkerThread runIt SEVERE: Remote Host /xxx.xxx.xxx.xxx SocketException: Invalid argument This is the complete text of the error - no stack trace, nothing more.I

Return Custom Error Page from Realm

2004-10-29 Thread Anderson, M. Paul
I've created a derived realm that performs a custom authentication scheme. I'd like to be return a custom error page when the user has attempted to login to the system > 3 times and failed. The user will be locked out until a sys admin allows them back in. Since I'm obviously doing the authen

Re: Active connections in db pool

2004-10-29 Thread Hollerman Geralyn M
"Trond G. Ziarkowski" <[EMAIL PROTECTED]> wrote: Is there a way of finding out how many commections which are currently active when using a db connection pool? I got this error message in my logs: "Cannot get a connection, pool exhausted". When I increased the number of mxActive the error messag

Does DIGEST work in Tomcat 4.1.24?

2004-10-27 Thread Anderson, M. Paul
Looking at RealmBase, it doesn't seem as if DIGEST authentication can ever work: public Principal authenticate(String username, String clientDigest, String nOnce, String nc, String cnonce, String qop, String realm, String md5a2) { String md5a1 = getDige

RE: org.apache.catalina.Realm

2004-10-15 Thread Anderson, M. Paul
Thanks again! -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, October 15, 2004 12:02 PM To: Tomcat Users List Subject: RE: org.apache.catalina.Realm Hi, Or follow any of the links that say "CVS Repositories" on the apache.org pages, which will take you her

RE: org.apache.catalina.Realm

2004-10-15 Thread Anderson, M. Paul
Is there somewhere I can find the implementation of the JDBCRealm class? Looking at the Realm "how-to" I don't get a lot of information about sequence of calls, what methods are overridable, etc. Can anyone point me to the implementation of this class? -Original Message- From: Larry Mea

RE: org.apache.catalina.Realm

2004-10-15 Thread Anderson, M. Paul
THANK YOU!~ -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Friday, October 15, 2004 11:30 AM To: [EMAIL PROTECTED] Subject: Re: org.apache.catalina.Realm IIRC, it is in $CATALINA_HOME/server/lib/catalina.jar, and that is where you would put your implementation, t

org.apache.catalina.Realm

2004-10-15 Thread Anderson, M. Paul
Can someone help me get started building my own custom realm? I can't seem to locate which jar file this class is in. Also, once I create the Realm in, say for example, package my.realm.package, where do I place the class files so that the custom realm can be accessed from Tomcat? Thanks! -

RE: Using Digested Passwords and DIGEST Authentication at the sam e time.

2004-10-07 Thread Anderson, M. Paul
As I am knew to Tomcat I will ask you to excuse my ignorance. I have just realized (and I am asking those with the necessary experience to verify this) that when you talk about "DIGEST" authentication there are really two separate and distinct forms of it: 1. Indicate to the BROWSER to digest th

Authentication Mechanisms

2004-10-06 Thread Anderson, M. Paul
What mechanisms do you developers typically use for preventing unauthorized access to a web application? I'm trying to determine the best approach for my web app. Here are the basic guidelines I need to follow: 1. We must limit access to the site to registered users. 2. We currently use BASIC

DIGEST Authentication in Tomcat 4 vs Tomcat 5

2004-10-05 Thread Anderson, M. Paul
Can anyone point me to information concerning whether or not DIGEST authentication works in Tomcat 4 and/or Tomcat 5? I have only found conflicting information on the web as well as in several books. Is there a tutorial out there somewhere that would help me set this up? I have seen comments suc

JAAS and Tomcat

2004-09-21 Thread Hollerman Geralyn M
Question - I have a webapp that does its own authentication. I use Tomcat as my servlet container. If I want to use JAAS for that application, with it doing authentication (and not Tomcat), I don't need to set Tomcat up for JAAS, do I? -- Lynn Hollerman. -

  1   2   3   4   5   6   7   8   >