Re: Sending mail with JavaMail

2005-10-07 Thread David Tonhofer, m-plify S.A.
***/ - 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-52 Fax: +352 261846-46 Mob: +352 021

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

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.
--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.

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 some jsps. It generates empty-element tags where generation

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't yet validated against Tomcat5 and I'm looking at clustering

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 kind of behaviour by tomcat normal

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 kind of behaviour by tomcat normal

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: Tomcat 5.5 and SQL Server

2005-07-11 Thread Anderson, M. Paul
- 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.SQLException

RE: User authentication using Realms

2005-06-21 Thread Gagnon, Joseph M \(US SSA\)
and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, June 20, 2005 9:34 am, Gagnon, Joseph M \(US SSA\) said: 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

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

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 errors occurred. I

RE: Help/Examples setting up security settings

2005-06-15 Thread Gagnon, Joseph M \(US SSA\)
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. First some background (for those of you who haven't seen the entire history). 1.I have defined a role and added myself as a user in that role

RE: Help/Examples setting up security settings2

2005-06-15 Thread Gagnon, Joseph M \(US SSA\)
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 it would matter much for such a simple

RE: Help/Examples setting up security settings2

2005-06-15 Thread Gagnon, Joseph M \(US SSA\)
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'm doing. That is a good idea

RE: Help/Examples setting up security settings

2005-06-14 Thread Gagnon, Joseph M \(US SSA\)
perspective, 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\) said: Hello, Does

RE: Help/Examples setting up security settings

2005-06-14 Thread Gagnon, Joseph M \(US SSA\)
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 PROTECTED] Sent: Tuesday, June 14, 2005 9:39 AM To: Gagnon, Joseph M (US SSA) Cc: Tomcat Users List

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

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: Problem with security?

2005-06-10 Thread Gagnon, Joseph M \(US SSA\)
, 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'm new to JSP development (and to dynamic

RE: Problem with security?

2005-06-10 Thread Gagnon, Joseph M \(US SSA\)
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, 2005 8:43 AM To: Tomcat Users List Subject: RE: Problem

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
/export/home/tomcat5/conf/workers.properties JkLogFile /export/home/tomcat5/logs/mod_jk.log JkLogLevel info JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkLogStampFormat [%a %b %d %H:%M:%S %Y] JkMount /jsp-examples/* exampWorker JkMount /servlets-examples/* exampWorker JkMount

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
info JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkLogStampFormat [%a %b %d %H:%M:%S %Y] JkMount /jsp-examples/* exampWorker JkMount /servlets-examples/* exampWorker JkMount /myWebApp/* exampWorker Please help me to get out from this issue Regards, Muhammad Owais Ansari

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:

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

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/ - http://java.sun.com/docs/books/tutorial/jdbc/ -Terence - To unsubscribe, e-mail: [EMAIL PROTECTED] For

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... Context path=/xx docBase=xx crossContext=true

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 context.xml file. The idea is for an Ant target to create a file called context.xml and place it in catalina_home/webapps/my webapp/META-INF/ - and THERE IS NO .war FILE INVOLVED. Upon startup, Tomcat will discover the file

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: [Pragma] = [No-cache] header added automatically

2005-04-25 Thread Goldman, Stephen M.
/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 temporary caching IE does while

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: 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 way to set

[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

Re: class path

2005-04-13 Thread S M
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 M wrote: sorry

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
- 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 9:47 AM To: Tomcat Users

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
? 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. C:\javacodejavac

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
, Fadi N Mr ACSIM/ASPEX [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

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:/javacodejavac

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:/javacodejavac -classpath HelloWorld.java it said - Access Denied Where

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
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 (UNCLASSIFIED) From: S M [mailto:[EMAIL PROTECTED

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
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:\javacodejavac -classpath 4.1\common\lib HellWorld.java Try use quotes instead

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
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: Tomcat Users List Subject: RE: class path

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
acode 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 Message-From: S M [mailto:[EMAIL

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
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 [mailto:[EMAIL PROTECTED] Sent: Wednesday

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

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] Sent: Tuesday, April

RE: class path (UNCLASSIFIED)

2005-04-12 Thread S M
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 http://localhost:8080/index.jsp Now, I want

RE: class path (UNCLASSIFIED)

2005-04-12 Thread S M
. 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%\common\lib\servlet.jar

Re: class path

2005-04-12 Thread S M
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:\javacode had the source code

Re: Logs : catalina.out

2005-04-05 Thread David Tonhofer, m-plify S.A.
Yes. This is Tomcat's stdout/stderr. You can edit tomcat-distro/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 stored

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

2005-03-14 Thread David Tonhofer, m-plify S.A.
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: JDBCRealm changes from Tomcat

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: http://wiki.apache.org/jakarta-commons/DBCP Enjoy, -- David --On Wednesday, March 09, 2005 8:40 PM -0800 alexander

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: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html the

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.
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-PLIFY S.A. Resp. Informatique 47, av. de la Liberté L-1931 Luxembourg

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

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: 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

RE: Cannot compile class in WEB-INF/classes

2005-03-10 Thread Anderson, M. Paul
: Thursday, March 10, 2005 1:26 PM To: Tomcat Users List Subject: RE: Cannot compile class in WEB-INF/classes Yes, I did. import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; API signature: String expand(HttpServletRequest request) -Rahul. --- Anderson, M

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

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

RE: Mapping context to root of website

2005-03-10 Thread Anderson, M. Paul
app as the ROOT context for that host. Doug - Original Message - From: Anderson, M. Paul [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Thursday, March 10, 2005 1:53 PM Subject: RE: Mapping context to root of website How would I do this if I am just using

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]

Re: Tomcat 4.1.30 crashing on production site - need help

2005-03-07 Thread David Tonhofer, m-plify S.A.
. - 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-52 Fax: +352 261846-46 Mob: +352 021-139031

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

Contexts

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, Context elements were in Tomcat's server.xml, but with Tomcat 5 it is recommended that Context elements be in their own .xml files under /conf/Catalina/host/. In this application, however, there are

Some trouble compiling mod_jk (solved, actually)

2005-03-02 Thread David Tonhofer, m-plify S.A.
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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: startup script not working

2005-03-02 Thread David Tonhofer, m-plify S.A.
Try commenting out the listeners in server.xml: Listener className=org.apache.catalina.mbeans.ServerLifecycleListener / Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener / Listener className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/ Or upgrade

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: http://jakarta.apache.org/commons/logging/api/index.html You still seem to have logging 1.0.2 =:-o http://jakarta.apache.org/commons/logging/commons-logging-1.0.2/docs/api/ Make sure that you have the packages at the version described in the

Security Question

2005-02-24 Thread Paulo César M. Jeveaux
another form to make this? My archive of context is thus: Context path=/system docBase=${catalina.home}/webapps/system debug=0 privileged=true Valve className=org.apache.catalina.valves.RemoteAddrValve allow=172.17.*/ /Context Regards -- /** * @author Paulo César M. Jeveaux

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

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.

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

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

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 app

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 'ResourceParams' tag has been removed from the

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

Context 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

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

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

RE: org.apache.catalina.connector.Request

2004-11-30 Thread Anderson, M. Paul
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 there a way to know which

RE: org.apache.catalina.connector.Request

2004-11-30 Thread Anderson, M. Paul
- 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 Tomcat's implementation to prevent users from accessing some

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

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 which jar

RE: org.apache.catalina.connector.Request

2004-11-29 Thread Anderson, M. Paul
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 PROTECTED] Sent: Monday

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

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 look

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 message of

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

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 =

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: 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,

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

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

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 the

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

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.

Tomcat 4 intergration into iis 5

2004-09-13 Thread M. Dziuba
Hello! I've installed the IIS v.5 and the Apache Tomcat 4.1.27. Now I want to redirect request coming from port 80 (iis) to port 8080 (tomcat). In the docu of tomcat 3 the integration of Tomcat in the IIS Web Server is described

  1   2   3   4   5   6   7   >