Re: How to create directories unser webapps?

2003-05-30 Thread John Turner
I'm no guru, but I believe the recommended configuration is to set the Context with the appopriate directory as its docBase. A Context's docBase does not have to be under a Host's appBase. John On Fri, 30 May 2003 08:40:31 -0500, Geralyn M Hollerman <[EMAIL PROTECTED]> wrote: John Turner wro

Re: Error 500 - Can't find my classes in WEB-INF/classes

2003-05-30 Thread Rick Roberts
Yea! I put my classes inside of a package within WEB-INF/classes Problem solved. Thanks, -- *** * Rick Roberts* * Advanced Information Technologies, Inc. * *** Tim Funk wrote: See "Don't

Re: How to create directories unser webapps?

2003-05-30 Thread Geralyn M Hollerman
John Turner wrote: > > This only works if you allow symbolic links (not recommended). In recent > versions of Tomcat, you have to explicitly define symbolic links as being > "OK"...they are disabled by default. I didn't realize that...so is there a better (recommended) way to refer to a director

Tomcat 5.0.2 Bug

2003-05-30 Thread Ed Smith
I think there is a bug in Tomcat 5.0.2 (at least under Windows XP) dealing with placing a $ before (at least some) tags. Consider the following JSP: $ In Tomcat 4.1.24, this generates the following HTML (as expected) $foo In Tomcat 5.0.2, it generates $

Re: Need Help in clearing my doubts

2003-05-30 Thread John Turner
Thanks for the kind words. I can tell you that I just tried Apache 2.0.45 (from source), Tomcat 4.1.24, mod_jk 2.0.3 (from source...latest), and Red Hat 9.0, and everything worked fine, with only one snag, but that was a building Apache snag, not a mod_jk snag. I will update my HOWTO soon, but

Re: Multiple instances

2003-05-30 Thread John Turner
On Fri, 30 May 2003 08:12:26 -0400, Lloyd Meinholz <[EMAIL PROTECTED]> wrote: I have a wrapper startup script that changes the value of CATALINA_BASE before it calls the startup.sh script. Just have the right directories and files created in your CATALINA_BASE directory before you call startup.s

Re: Need Help in clearing my doubts

2003-05-30 Thread John Turner
On Fri, 30 May 2003 19:21:55 +0800, Joe <[EMAIL PROTECTED]> wrote: http://www.johnturner.com/howto/rh72-howto.html According to one of the mail which I have received, I saw him putting this in apache : httpd.conf: JkWor

RE: remote restart of server

2003-05-30 Thread Brian Buchanan
If tomcat is running as a service, and you have an administrator account on the machine (It's terribly difficult to give other users access to start/stop services) you can start and stop the service in a number of ways. >From a batch file I use netsvc.exe from the Windows 2000 Server resource Kit

Re: How to create directories unser webapps?

2003-05-30 Thread John Turner
This only works if you allow symbolic links (not recommended). In recent versions of Tomcat, you have to explicitly define symbolic links as being "OK"...they are disabled by default. John On Thu, 29 May 2003 10:32:02 -0500, Geralyn M Hollerman <[EMAIL PROTECTED]> wrote: stephanj wrote: Is i

Re: Need Help in clearing my doubts

2003-05-30 Thread Geralyn M Hollerman
Joe wrote: > According to one of the mail which I have received, I saw him putting > this in apache : httpd.conf: > > > > JkWorkersFile > /home/gmh2441/uPortal/Tomcat_4-0-4/conf/workers.properties > JkLogFile /home/g

Re: Multiple instances

2003-05-30 Thread John Turner
Ditto. John On Thu, 29 May 2003 18:47:31 +0800, Jason Bainbridge <[EMAIL PROTECTED]> wrote: On Thu, 29 May 2003 18:41, Rohit Peyyeti wrote: I need to setup multiple tomcat 4.1.24 instances (for each of my web applications). I did read RUNNING.txt shipped with tomcat distribution -- but was not

Re: Apache2/Tomcat/mod_jk2/ajp13

2003-05-30 Thread Geralyn M Hollerman
At 04:51 PM 5/29/2003 -0700, Vincent J. Buonassisi wrote: >i wish i could better help you but i am having problems as well in trying >to get these components working together. but, i will try to give you >meager comments based on my reading/experience. Thanks! I appreciate it - it seems I have

RE: Multiple instances

2003-05-30 Thread Lloyd Meinholz
I have a wrapper startup script that changes the value of CATALINA_BASE before it calls the startup.sh script. Just have the right directories and files created in your CATALINA_BASE directory before you call startup.sh. There are a couple of problems with this that I've found. You have a lot of j

Re: Multiple instances

2003-05-30 Thread Rohit Peyyeti
What about name attribute in tomcat's tag? Should it be same as Apache's VH's ServerName attribute? Should both be the same? -- my question is: can both exist in parallel without any issues? - Original Message - From: "Bill Barker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Frid

RE: Oracle Type 4 Driver

2003-05-30 Thread Schwartz, David (CHR)
I don't understand. Can you please explain? -Original Message- From: Balaji [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 7:41 AM To: Tomcat Users List Subject: Re: Oracle Type 4 Driver you have to give change the http://java.sun.com/jstl/fmt by the value in uri value in the jsp

Re: Oracle Type 4 Driver

2003-05-30 Thread Balaji
you have to give change the http://java.sun.com/jstl/fmt by the value in uri value in the jsp file. I mean both should match. Balaji - Original Message - From: "Schwartz, David (CHR)" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Friday, May 30, 2003 4:44 PM Su

RE: What is the maximum session handling capability

2003-05-30 Thread Varley, Roger
> It sucks when the answer really is "it depends". What > hardware are you > using? The only want to get a REALLY accurate answer is to > use a stress > testing tool from http://www.opensourcetesting.org/performance.php and > see what happens using your hardware/application set up. Then do som

Need Help in clearing my doubts

2003-05-30 Thread Joe
Hi all, I have a question on running Apache and Tomcat with the use of mod_jk connector. With all the guide I have gathered from the web. Below are my configuration: Red Hat 8.0 Apache 2.0.46 Using Port 80 Tomcat 4.1.24 Using Port 8080 J2SDK 1.4.1 I have no problem running these two application

RE: Oracle Type 4 Driver

2003-05-30 Thread Schwartz, David (CHR)
Thanks for the offer. Here's my web.xml... http://java.sun.com/dtd/web-app_2_3.dtd";> HelloWorld HelloWorld HelloWorld /HelloWorld x x

RE: Tomcat STILL freezing - time to look at another app server?

2003-05-30 Thread Ralph Einfeldt
In this case I don't completly agree with you. Through the implementation of a servlet container you can incluence the behaviour of the gc. It depends on how many objects are created by the different containers to complete the same task and how the lifecycle of the created objects is. Given th

Re: Link issue after change server

2003-05-30 Thread Jason Bainbridge
On Fri, 30 May 2003 17:19, Jason Bainbridge wrote: > Either use an IDE with a search and replace function for multiple files or > if you have Perl and one of the unix shells try the following from the top > level directory: Or even better use this opportunity to make all your links relative, like

Re: Link issue after change server

2003-05-30 Thread Jason Bainbridge
On Fri, 30 May 2003 12:53, Cui Xiaojing-a13339 wrote: > Hello All, > > I need to move much HTML files from one server to another server. But in > these HTML files, there are lot of link with complete path. For example, > using http:///File1/file.html. Due to the two servers have > different , so ne

Re: Tomcat STILL freezing - time to look at another app server?

2003-05-30 Thread Giorgio Ponza
I would try not to use the line Statement addressStatement = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDA TABLE); but only Statement addressStatement = conn.createStatement(); In fact, you don't get a ResultSet from the statement! Second: I would use a prepared state

Re: open source code and IDE

2003-05-30 Thread Jon Wingfield
You could also take a look at JEdit (www.jedit.org). It's a free, open source java ide that has a community writing plug-ins to do most of the things mentioned in previous posts. :) [EMAIL PROTECTED] wrote: thanks for the replies u got me going , although the IDE looks sweet , similar to PHPEdit

Re: remote restart of server

2003-05-30 Thread Jason Bainbridge
On Fri, 30 May 2003 07:41, mde wrote: > Hi all, > This is probably an OS question, not a Tomcat one, but possibly some of > you may have had to do this. I have tomcat 4.1.24 running on a Win2K server > on which I have partial access, meaning that tomcat's base directory has > been shared to me.

RE: Tomcat STILL freezing - time to look at another app server?

2003-05-30 Thread Ralph Einfeldt
There are many possible reasons why tomcat may freeze: - Database - ConnectionPool exhausted Do you use a connection pool ? - Which one ? How is it configured ? - Most connection pools let you configure the behaviour if the the pool is exhausted. To identify the problem y

RE: Multiple instances

2003-05-30 Thread Ralph Einfeldt
Some of our reasons to do this: better separation between the applications: - If one webbapp needs to go down for maintainance, the others can still run. - Better control on the resource usage. As you can't define memory settings on the context level, there is no way to retrict

Re: Antwort: Re: JAAS LoginModule ?

2003-05-30 Thread Bill Barker
"Oliver Wulff" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] com... > > > > > > The problem with filters is: > >>> > The problem is that the security contrains are evaluated before the > filter. So I guess that you may have to implement that what you want to > achive with the constra

Re: response.sendRedirect() and the servlet path?

2003-05-30 Thread Bill Barker
My reading of section 5.3 of the servlet-spec (version=2.3), says that you are wrong. Paths to sendRedirect are normal URL patterns, and are *not* based on the calling Context. "joe user" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, if I have a context path such as /mycontext

Antwort: Re: JAAS LoginModule ?

2003-05-30 Thread Oliver Wulff
The problem with filters is: >>> The problem is that the security contrains are evaluated before the filter. So I guess that you may have to implement that what you want to achive with the constraints on your own. (Or you have to configure apache to do it, and this way omit the constraints fro

Re: JAAS LoginModule ?

2003-05-30 Thread Bill Barker
Nope. Realms and Authenticators are Tomcat-specific. There are reports on this list of people using Filters to do much the same thing (i.e. search the archives). "Eric Chow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How can I do if I want to implmenet an Authenicator that can

Re: Multiple instances

2003-05-30 Thread Bill Barker
It should be a piece of cake. Setup your workers.properties file to define all of your Tomcats, and then within each Apache , define the JkMounts to go to the correct version of Tomcat. "Rohit Peyyeti" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm managing virtualhosts from Ap

Link issue after change server

2003-05-30 Thread Cui Xiaojing-a13339
Hello All, I need to move much HTML files from one server to another server. But in these HTML files, there are lot of link with complete path. For example, using http:///File1/file.html. Due to the two servers have different , so need to change the or change the complete path to relative pat

Re: CoyoteConnector (was Re: Access Log Valve)

2003-05-30 Thread Bill Barker
The j-t-c Releases are very old. There should be another j-t-c release coming out in the next few weeks. In the meantime, the safest bet is to do a CVS checkout (using the coyote_10 tag, to get the stable version), and build-from-source. For any TC 4.1.x, it should be possible to grab the 'tomca

Re: What is the maximum session handling capability

2003-05-30 Thread Bill Barker
For sessions, it really depends on what you do with them. It is very different if you are storing 1MB of data per-session vs. storing 1KB of data per session. For a very crude (and inaccurate, but often times close-enough-for-government-work :) estimate, divide the max memory in the JVM by the es

Re: Example error pages?

2003-05-30 Thread Bill Barker
My own error-pages are designed to hide as much as possible from the end-user (and write to the server-logs if necessary), so I'm not much help here. If you want to print the stack trace, the best I can think of is (for a jsp error-page): <% exception.printStackTrace(out); %> "Wendy Smoak" <[E

response.sendRedirect() and the servlet path?

2003-05-30 Thread joe user
Hi, if I have a context path such as /mycontext and I use response.sendRedirect("/foo.jsp"), the container should translate that into a full url such as http://myserver/mycontext/foo.jsp, instead of http://myserver/foo.jsp. However, it seems that this is not happening. Am I doing something wrong,

Re: A Question about Realm

2003-05-30 Thread Bill Barker
1) Assuming that auth.jsp is configured as your login-page: 2) You can't (portably) get the password. If you have a way to look it up from the userName, then use that. You can get the username from 'request.getRemoteUser()', and can test roles with 'request.isUserInRole(role)'. You can

Re: JAAS LoginModule ?

2003-05-30 Thread Eric Chow
How can I do if I want to implmenet an Authenicator that can use in any other application servers.(JBoss, WebLogic, etc) ? Eric - Original Message - From: "Bill Barker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 30, 2003 11:50 AM Subject: Re: JAAS LoginModule ? > It

Re: JAAS LoginModule ?

2003-05-30 Thread Bill Barker
It really depends on what you need to do. For the simplest case, you implement your own Realm (public class MyRealm implements org.apache.cataliana.Realm), and configure it in server.xml like anyother Realm. In TC 4.x, Realms don't have access to the Request/Response: They just get the login cre

Re: SSL and Non-Browser Traffic

2003-05-30 Thread Bill Barker
It depends on the cert, really. If it is signed by someone already in cacerts (I believe that this means Versign/Thwate, but check the JSSE docs at http://java.sun.com to be certain), then you don't have to put it anywhere. If the signer is trusted, then the certificate is trusted (it's sort of l

A Question about Realm

2003-05-30 Thread martin
Dear all. I am from taiwan,I have some questions in using tomcat. I have configured a realm to protect a web application and set it's web.xml like below. I using a Form(auth.jsp) to authenticate users.I have two questions. 1. What the contents of auth.jsp should be ? What 's the values of action

Precompiled JSP not work if JSP locates under /WEB-INF/

2003-05-30 Thread Eric Chow
Hello, I tried to precompiled all the JSPs before deployment. All worked fine if those JSPs in the context root directory. If some of the JSPs located in the /WEB-INF/?, it not worked. Eric == If you know what you are doing, it is not called RESEARCH! ==

RE: Example error pages?

2003-05-30 Thread Wendy Smoak
Tim wrote: > Here it is inline ... This is also a classic example of > everything ugly jsp ;) (But it works real nice for me) ... I have one of those, too... It's called 'debug.jsp' and it gets <%@ include file="debug.jsp" %>'ed on my tiles layout page so it shows up everywhere. Then when I deplo

JAAS LoginModule ?

2003-05-30 Thread Eric Chow
Hello, In Tomcat, we can use container based authorization. Those username/password information can be place in a XML files or use DBRealm, right ? How can I implement a login module, so that the Web Container will called my module instead of the default login module. For example, the followin

Re: Example error pages?

2003-05-30 Thread Tim Funk
D'oh. Didn't make it. Here it is inline ... This is also a classic example of everything ugly jsp ;) (But it works real nice for me) ... -Tim --start of page-- <%@ page import="java.net.InetAddress" import="java.util.Enumeration" %> <% Cookie[] cookies = request.getCookies(); String

Re: Example error pages?

2003-05-30 Thread Tim Funk
I use this page (hopefully attached) ... Its not pretty but nice for debugging - but its not(and should not be) for production either. For production use - show a "pretty" page and log the rest somewhere. Maybe showing an ID in case someone reports it, then a tech can look at the dump in the l

Problem moving Web service from Jbuilder to Tomcat

2003-05-30 Thread frasse
Hi All I am using JBuilder8.0 and generate a Web service(Axis)from a class. when i run it in JBuilder Axis admin show me that all is ok but when i move my application to a tomcat run in redhat 8.0 with Jvm 1.4 I am geting followin error org.apache.jasper.JasperException: Cannot inherit from fi

Re: error starting apache w/ mod_jk2

2003-05-30 Thread Chong Yu Meng
Peter, Like I said, it was just a theory. :) In any case, I consider the line "mod_jk child init 1 -1" to be an indicator, if you will, that Apache is ready to accept requests that will be routed to Tomcat. Regards, pascal chong Mayne, Peter wrote: > This is significant because I am thinkin

RE: error starting apache w/ mod_jk2

2003-05-30 Thread Mayne, Peter
Title: RE: error starting apache w/ mod_jk2 > This is significant because I am thinking that the phrase > "mod_jk child init 1 -1" actually refers to a one-to-one or > non-load-balanced configuration. In other words, it should > read "mod_jk > child init 1 - 1". An interesting theory, bu

Re: Error-Page configuration problem

2003-05-30 Thread Chong Yu Meng
org.apache.jasper.JasperException /error.jsp The exception-type tag did not work for me either, and I'm using servlets (no jsp). Is it disabled ? Regards, pascal chong - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: Example error pages?

2003-05-30 Thread Chong Yu Meng
Wendy Smoak wrote: Would anyone be willing to share a "good" error JSP to be used with the tag in web.xml? What kinds of things do you typically show? Is there a way to capture the stack trace with out showing it to the user? Maybe as an HTML comment below a bunch of 's so they won't see it unl

Re: Error-Page configuration problem

2003-05-30 Thread walkerce
You should check the JSP spec. Translation time errors (like compiling JSPs) are handled outside of the facility. To get around this you should make sure all your pages get compiled when you deploy or pre-compile the JSPs. -Carl - Original Message - From: Joel Lawhead <[EMAIL PROTECT

Example error pages?

2003-05-30 Thread Wendy Smoak
Would anyone be willing to share a "good" error JSP to be used with the tag in web.xml? What kinds of things do you typically show? Is there a way to capture the stack trace with out showing it to the user? Maybe as an HTML comment below a bunch of 's so they won't see it unless they scroll do

Re: error starting apache w/ mod_jk2

2003-05-30 Thread Chong Yu Meng
Hello Vincent, Pascal Chong is me. I use the "pseudonym" for 2 reasons : 1. Most Caucasians have difficulty parsing Chinese names -- they don't know which is my family name and which my given name. This results in some bizarre things like being called Mr Meng, or hey, Yu. Having an English nam

RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module

2003-05-30 Thread Mayne, Peter
Title: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Did you build the ispai redirector yourself? The isapi_redirector2.dll I built it has dependencies on libapr. The missing libapr.dll is what caused the "specified module could not be found" error. Putting the two DLLs in

RE: open source code and IDE

2003-05-30 Thread daniel
thanks for the replies u got me going , although the IDE looks sweet , similar to PHPEdit which i hardly need the code hints for now , but phpedit is open source , i'm not a business, its not for a business its simply to help me learn , i totally hate licencing when u are not going to make any mone

Re: libjkjni.so

2003-05-30 Thread Chong Yu Meng
Vincent J. Buonassisi wrote: INFO: APR not loaded, disabling jni components: java.io.IOException: no jkjni in java.library.path i read someplace that libjkjni.so should be placed in $catalina_home/bin so i put it in there. but, it didn't make a difference. should it be placed somewhere else?

Re: Can't find TomcatStarter

2003-05-30 Thread Chong Yu Meng
Hello Allen : For some reason, the OPT directives in workers2.properties are not read properly. TomcatStarter is in tomcat-jni.jar, and though it is defined in your workers2.properties file, it will not be "seen" by mod_jk2. To get it to work, you need to add tomcat-jni.jar to your CLASSPATH e

Re: Apache2/Tomcat/mod_jk2/ajp13

2003-05-30 Thread Vincent J. Buonassisi
i wish i could better help you but i am having problems as well in trying to get these components working together. but, i will try to give you meager comments based on my reading/experience. one question: were you able to get rid of the mod_jk2 error at startup in apache ([error] mod_jk child

RE: open source code and IDE

2003-05-30 Thread Reena Kawal
Check out IntelliJ Idea - it's got some great support for code completion, refactoring, finding out where methods are used, etc.. Easy to set up remote debugging with Tomcat. Nice little features to help you program (will automatically generate try/catch etc. ) http://www.intellij.com/idea/ne

RE: Error-Page configuration problem

2003-05-30 Thread Wendy Smoak
Joel wrote: > Strangely enough if I remove the exception-type tag and the location tag > Tomcat notifies me that the error-page tag is incomplete and tells me the > valid contents of an error-page tag. But when I try to use it properly Tomcat > acts as if its never heard of the error-page tag.

remote restart of server

2003-05-30 Thread mde
Hi all, This is probably an OS question, not a Tomcat one, but possibly some of you may have had to do this. I have tomcat 4.1.24 running on a Win2K server on which I have partial access, meaning that tomcat's base directory has been shared to me. I have no other access to this computer (no pc an

Re: Tomcat STILL freezing - time to look at another app server?

2003-05-30 Thread Tim Funk
1 problem, and many questions Problem - Concatentation for sql --> very bad Question - why conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE) instead of conn.createStatement() ? What happens if you use conn.createStatement()? Is autocommit off? Does it need to b

Error-Page configuration problem

2003-05-30 Thread Joel Lawhead
I am using Tomcat 4.1.18 behind Apache 2.0.44 with mod_jk on a Win XP Pro machine. I have been developing a JSP application for several months. The application is close to initial release and I decided to add an error-page directive to web.xml to temporarily mask and notify us of any unexpected

RE: Tomcat STILL freezing - time to look at another app server?

2003-05-30 Thread Hunter, Sandra
Okay so just for my own interest (and sanity): here is the place where things are freezing. Can anyone see anything wrong with this? System.out.println ("ADDRESS"); /* add data to the ADDRESS table */ String addressSQL = "INSERT INTO address (str_address_id

RE: Tomcat 4.1.12/18 Startup Delay

2003-05-30 Thread Lopez David E-r9374c
Nikolaos I also have this problem. In my case, apache must only start if the conf/auto/modjk.conf has been written. From the time that startup.sh finishes to when it's safe to start apache is 30 or so seconds. The wait time is variable, so a 30 second sleep in my /etc/init.d reboot script might wo

Re: error starting apache w/ mod_jk2

2003-05-30 Thread Vincent J. Buonassisi
hi, i installed apache 2.0.45 as per your suggestion of using a different one than the one that comes w/ redhat. however, i did read an email sent a couple of days ago by pascal chong where he writes that when his apache2 successfully loaded mod_jk2 he would get the following in the apache e

java.security.PrivilegedActionException on RH 7.2

2003-05-30 Thread Rahul
Hi All, I am running JSP-servlet based web-application on Tomcat 4.1 on RH 7.2 and get "java.security.PrivilegedActionException" when i try to bring up any of the pages on the browser. has any one encountered this and any idea what causes this exception to occur. can it be related to permissions

RE: Alternate password encyption code?

2003-05-30 Thread Jeff Sexton
On Thu, 29 May 2003, Raible, Matt wrote: > Why don't you just have the JDBCRealm do it - add digest="SHA". I need something other than SHA, I need to use my own custom code for an encyrption method of my own that is not provided by JDBCRealm > To programmatically do it using form-based authentic

Re: Error 500 - Can't find my classes in WEB-INF/classes

2003-05-30 Thread Tim Funk
See "Don't use packageless classes and declare all imported classes!" http://tomcatfaq.sourceforge.net/classnotfound.html -Tim Rick Roberts wrote: I have some beans and support classes in WEB-INF/classes. Tomcat 3.2 found them OK. I just got Tomcat 4.1 running but having trouble getting my JS

RE: Alternate password encyption code?

2003-05-30 Thread Raible, Matt
Why don't you just have the JDBCRealm do it - add digest="SHA". To programmatically do it using form-based authentication, I've used a LoginServlet that's mapped to "auth" in my login.jsp's form. In this servlet, I encrypt the password and redirect to "j_security_check" - is that what you're look

RE: Alternate password encyption code?

2003-05-30 Thread Jeff Sexton
On Thu, 29 May 2003, Raible, Matt wrote: > Here's how I do it - and I generally use "SHA" as my algorithm: > Thanks, but my question is really related to the setup - I have the code I want to use for the encyrption, but I'm not sure how to tie it in with the existing JDBCRealm mechanism. How di

RE: Alternate password encyption code?

2003-05-30 Thread Raible, Matt
Here's how I do it - and I generally use "SHA" as my algorithm: /** * Encode a string using algorithm specified in web.xml and return the * resulting encrypted password. If exception, the plain credentials * string is returned * * @param password Password or other cred

Alternate password encyption code?

2003-05-30 Thread Jeff Sexton
I need to use my own bit of java to encrypt passwords for a JDBCRealm. I have no idea what approach is best to take with this, anyone have any suggestions? Thanks Jeff Sexton The ODS Companies [EMAIL PROTECTED] - To unsubsc

Error 500 - Can't find my classes in WEB-INF/classes

2003-05-30 Thread Rick Roberts
I have some beans and support classes in WEB-INF/classes. Tomcat 3.2 found them OK. I just got Tomcat 4.1 running but having trouble getting my JSP pages to find my beans / servlets in WEB-INF/classes. In this case, ConnectionBean.class is in WEB-INF/classes/ but I don't know how to tell Tomcat

Re: ant error compiling native2

2003-05-30 Thread Vincent J. Buonassisi
i was able to build the mod_jk2.so by building it from the jk directory instead of the native2 directory. i did have to make a change to build.xml file because it was building the native directory and i didn't have apache 1.3 installed. i commented out the task to build the native directo

Re: ant error compiling native2

2003-05-30 Thread Benjamin Cox
I wish I could help you :-( In the meantime, does anyone know where I can get a binary version of mod_jk2.so for red hat 7.2, apache 1.3, tomcat 4.1? I have tried a number of times and ways to get Apache and Tomcat talking happily, and all roads seem to end here! Since I can't build the conn

libjkjni.so

2003-05-30 Thread Vincent J. Buonassisi
hi, in the catalina.out file i'm getting the following error: INFO: APR not loaded, disabling jni components: java.io.IOException: no jkjni in java.library.path i'm confused as to why this library is being searched in the java.library.path since this is a .so file. is there another jkjni fil

Setting Tomcat to run as a service with recovery settings to restart if the service stops.

2003-05-30 Thread Mark Andrews
Hello, I am looking into some problems we are having with our current jakarta-tomcat installation running as a service. I need to set the recovers settings for the service when it fails / crashes. I would like to set this at install time. Is there any way that you know of to do this, and or can you

RE: [OT] Oracle Connection Problem Due To Dynamic Port Numbers

2003-05-30 Thread mike jackson
Not always, but generally. Some DBAs may change the port to something else, but 1521 is the default. --mikej -=-- mike jackson [EMAIL PROTECTED] > -Original Message- > From: Brad Rhoads [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 29, 2003 12:01 PM > To: Tomcat Users List > Subjec

[OT] jdbc connections open?

2003-05-30 Thread Timothy Stone
I'm debugging an web app that seems to hang after three to four logins are initiated. One possible item to look at is the number of open connections to the MySQL database. The app was built around a number of Jakarta technologies about 8 months ago. What's the quickest way to check the number o

Re:Anyone knows how to get the stack trace displayed on Tomcat 4.1.24

2003-05-30 Thread Hassan
it is turned on by default on older versions, but since i've started using this, it only prints RESET on all exceptions. A stack trace would be helpful for debugging! Hassan - Original Message - From: "Tim Funk" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thurs

Re: [OT] Oracle Connection Problem Due To Dynamic Port Numbers

2003-05-30 Thread Tim Funk
Nope: url = jdbc:oracle:thin:@aserver:1521:instance -Tim Brad Rhoads wrote: If you use the type 4 driver, then the listener.ora is ignored. Does that mean the requesting port would alway be 1521? Brad Rhoads wrote: Here's a bit from our listener.ora. It appe

RE: [OT] Oracle Connection Problem Due To Dynamic Port Numbers

2003-05-30 Thread Brad Rhoads
>If you use the type 4 driver, then the listener.ora is ignored. Does that mean the requesting port would alway be 1521? Brad Rhoads wrote: > Here's a bit from our listener.ora. It appears that the jdbc driver may be > sending a sequential request number as the port, or something like that. Why

Re: Oracle Type 4 Driver

2003-05-30 Thread David N. Foote
David, I took a look at your web.xml and it looked good. The only other things I can think of that have to be there for this to work are as follows: Your WEB-INF/lib directory has to have these jars from the jakarta-taglibs\standard-1.0.3\lib directory: dom.jar jaxp-api.jarjstl

Apache2/Tomcat/mod_jk2/ajp13

2003-05-30 Thread Geralyn M Hollerman
I want to connect Apache and Tomcat. The versions I have available to me are: Apache 2.0.45 Tomcat 4.0.4 I have tried both mod_jk and mod_jk2 with no success. I have read several FAQs, HOW-TOs and other documents on the Web and read countless messages about doing this. In my server.xml, I am

Multiple instances of tomcat in linux. Newbie question

2003-05-30 Thread Alejandro Arredondo
Hi, I want to make tomcat to work for many users, so each user can have their own developing enviroment. How do install, configure, and run each instance? How can I let them to manage their contexts? Thanks in advance __ Do you Yahoo!? Yahoo! Calendar - Free onlin

Re: Oracle Type 4 Driver - CHANGE TOPIC

2003-05-30 Thread Emerson Cargnin
Jason Bainbridge wrote: On Fri, 30 May 2003 02:47, Schwartz, David (CHR) wrote: David, i have it as the last element, after all others. Any other ideas? I'd love to get it up! Are they within the webapp tag, so before the closing ? Regards, -- Emerson Cargnin Analista de Sitemas Set

RE: Reloading class file without disturbing users?

2003-05-30 Thread Vladimer Shioshvili
that all depends if he has it set to be serialized (by default they are serialized). but there is a chance of disturbing users if something that is stored in the session is not serializable. reloadable will indeed replace old version with new one, servlet once it detects the changes. but using

Re: Oracle Type 4 Driver

2003-05-30 Thread Jason Bainbridge
On Fri, 30 May 2003 02:47, Schwartz, David (CHR) wrote: > David, > i have it as the last element, after all others. > Any other ideas? I'd love to get it up! Are they within the webapp tag, so before the closing ? Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] -

RE: Oracle Type 4 Driver

2003-05-30 Thread Schwartz, David (CHR)
David, i have it as the last element, after all others. Any other ideas? I'd love to get it up! -Original Message- From: David N. Foote [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 2:36 PM To: Tomcat Users List Subject: Re: Oracle Type 4 Driver David, You might be having troub

RE: Tomcat STILL freezing - time to look at another app server?

2003-05-30 Thread Hunter, Sandra
Thanks All! It helps to hear that others have occasionally had this problem. I will look into all your suggestions and see if resolution can be found. Sandra -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 12:44 PM To: 'Tomcat Users List' Sub

Re: Oracle Type 4 Driver

2003-05-30 Thread David N. Foote
David, You might be having trouble with where you inserted the taglib tags in your web.xml. The following fragment from web-app_2_3.dtd is key. notice that taglib tags must occur within the web-app tag, after any icon, display-name, description, distributable, context-param, filter, filter-mapp

RE: CharConversionException: isHexDigit

2003-05-30 Thread Shapira, Yoav
Howdy, Great. Thanks for digging into the code. I will look for that stuff and implement both your and Senor Cox's valve variants. Thanks, Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Bill Barker [mailto:[EMAIL PROTECTED] >Sent: Thursday, May 29, 2003 12:44 AM >

RE: What is the maximum session handling capability

2003-05-30 Thread Kannan Sundararajan
Kevin, The factors, depends on your budget that you like to go with and the number of users you are expecting and the critical factor of your application. It is kind of critical decision for the lifetime of the application for the company. Even the big company for big project use Tomcat, apache

TOMCAT SSL ACTIVE DIRECTORY

2003-05-30 Thread Naga Srinivas
Guys!! Here is a challenge to be resolved. I need to create users from a servlet running on Tomcat in AD. After a big fight and having help from sun forum I could able to write a class which could do the desired task with SSL. When I am using that class and methods from a servlet it started all

RE: Reloading class file without disturbing users?

2003-05-30 Thread Filip Hanik
your sessions will be serialized, saved and when restarted brought back into memory. filip > -Original Message- > From: Michael Muratet [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 29, 2003 11:46 AM > To: [EMAIL PROTECTED] > Subject: Reloading class file without disturbing users? > > >

Reloading class file without disturbing users?

2003-05-30 Thread Michael Muratet
Greetings I haven't found the answer to this in the documentation. I have a jsp that invokes an instance of a java object. I would like to modify the java file and have the change take effect without interrupting any users that are on the system. If use the manager/reload?/path method to reload t

RE: Tomcat 4.1.12/18 Startup Delay

2003-05-30 Thread Shapira, Yoav
Howdy, >Is there any reason why Tomcat 4.1.12 and 4.1.18 (on Solaris 8, Sun E450 >Dual 400MHz 1GB RAM) requires about 10-15 second delay after the startup.sh >script is executed before it can process requests. We have observed the >same situation on other boxes. >Shouldn't startup.sh return *on

  1   2   >