compiling mod_jk 1.2.8 from source on Win32

2005-01-31 Thread Charles Baker
I have visual studio 6 service pack 5 installed. I have the processor packs installed. I have set APACHE1_HOME to my apache_1.3.33 source directory. I have set JAVA_HOME to my JDK directory. APACHE_HOME is set to the apache installation directory. A colleague advised me to change these two lines

RE: Tomcat Webserver

2004-08-04 Thread Charles Baker
Tomcat is capable of server static and dynamic content with out Apache. One of the main benefits to using Apache is to let Apache server the static content and thereby reduce the load on Tomcat. By default, the document roots for your various webapps are in $CATALINA_HOME/webapps/$WEBAPP_NAME . At

RE: Tomcat as Win2k service

2004-08-04 Thread Charles Baker
Uhm, did you read the docs at all? http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html Installation as a service: Tomcat will be installed as a Windows NT/2k/XP service no matter what setting is selected. Using the checkbox on the component page sets the service as auto startup, so that

Windows Service Source Code

2004-08-02 Thread Charles Baker
I wanted to take a look at the source code for tomcat.exe that can be installed as a windows service. I downloaded and looked through the 4.1.30 src distribution and don't see anything. Can someone point me in the right direction? Charles H. Baker O: 864.422.5349 C: 864.201.8456 [EMAIL

logging

2004-07-02 Thread Charles Baker
I'm using tomcat 4.1.30 on Red Hat Linux w/ Sun JDK 1.4.2_03. In catalina.sh one of the other admins has redirected standard out to a log file so that we can capture some info that would ordinarily only be seen at the console. What we would like to do is have the tomcat container itself, not just

RE: export exel stylesheets from jsp

2003-02-06 Thread Charles Baker
--- Barney Hamish [EMAIL PROTECTED] wrote: I assume you mean spreadsheet and not stylesheet... Unless you really need something complicated from excel why don't you just send a csv (comma seperated values) file. Excel can open CSV files like normal excel format spreadsheets. {{SNIP}}

Re: how do I reference a bean that's inside my jsp page?

2003-01-13 Thread Charles Baker
--- Jeff Ousley [EMAIL PROTECTED] wrote: Hello, I cannot seem to get this example below to work under tomcat (I'm using version 4.1.18). I get an error indicating that the class localBean cannot be found such as: java.lang.ClassNotFoundException: localBean at

Re: Perl And Tomcat

2003-01-13 Thread Charles Baker
--- Scott Purcell [EMAIL PROTECTED] wrote: Hello, I have been beating my head on a wall all afternoon, trying to get Perl to work with Tomcat. I can call up the CGIServlet, and it shows that the tomcat side is working. The problem is in the fact that I cannot seem to get a perl cgi to

Re: how do I reference a bean that's inside my jsp page?

2003-01-13 Thread Charles Baker
--- Jeff Ousley [EMAIL PROTECTED] wrote: Charles, The bean is actually on the same page in a declaration block. If I pull the bean out and put it into it's own class file, I can get it to work. I was just trying to get the example from the tutorial to work. It seems to work on the

Re: Debian packages

2003-01-12 Thread Charles Baker
--- Reynir_Hübner [EMAIL PROTECTED] wrote: Has anyone created debian packages of tomcat 4.1.x ? Please inform me of where to find these if there are any available (I've only found some unstable packages). Thanx [EMAIL PROTECTED] That is one of the reasons I upgraded my machine to

Re: iPlanet 6.0 / Tomcat 4.1.18 / W2k

2003-01-09 Thread Charles Baker
--- John P. Dodge [EMAIL PROTECTED] wrote: You are probably going need to compile it yourself from the source. I have compiled it on Solaris and it is pretty simple, but I don't know about Win32. On Thu, 9 Jan 2003, Pipho Matt wrote: We are trying to run Tomcat 4.1.18 as our servlet

Re: How to organize your software in proper version control structure?

2003-01-07 Thread Charles Baker
--- Craig R. McClanahan [EMAIL PROTECTED] wrote: On Tue, 7 Jan 2003, Will Hartung wrote: Date: Tue, 7 Jan 2003 10:05:05 -0800 From: Will Hartung [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: How to organize

Re: Easy question - Java Beans

2003-01-02 Thread Charles Baker
--- Denise Mangano [EMAIL PROTECTED] wrote: Just curious if anyone knows how to use bean properties so that on a retry of a form, the previously selected item in a select list is maintained if validated. For example, for Select Your State. If I select NY, but something else on my form is

Re: Should not be this hard

2002-12-19 Thread Charles Baker
--- Randy Paries [EMAIL PROTECTED] wrote: Hello, me again This should have been so easy (famous last words) I am upgrading from tomcat jakarta-tomcat-4.0.4 to jakarta-tomcat-4.1.17 4.0.4 was working fine. For some reason I can not find my servlets ARG! I believe that the

Re: how many linux processes should tomcat create???

2002-12-05 Thread Charles Baker
--- Brandon Cruz [EMAIL PROTECTED] wrote: Does anyone know how many processes tomcat should create? When I start my server, there are about 525 processes created. The number constantly grows as time goes on, but I think it is related to a database connection being left open. 525 seems

Cannot shutdown Tomcat with GLIBC in unstable

2002-12-04 Thread Charles Baker
I just tried to shutdown Tomcat 4.1.12-2 using Sun JDK 1.3.1_03 on my box running unstable. I got the following undefined symbol message and Tomcat does not shutdown. Does anyone have a suggestion for what I should do other than kill the Tomcat pids? I wonder if I do that will Tomcat be able to

changing root webapp

2002-11-19 Thread Charles Baker
I had successfully changed the root webapp on a tomcat 3.x installation. I upgraded to 4.1.12, but cannot seem to get it regard my webapp as the root webapp. Anyone have a clue or a few pointers? I don't have access to the machine right now, but I can send my server.xml later if need be. =

Re: Is Tomcat a J2EE Container as well??

2002-11-12 Thread Charles Baker
--- Kwok Peng Tuck [EMAIL PROTECTED] wrote: No servlet and jsp only. Nicholas Orr wrote: Just a quick one, Can you run full blown J2EE apps in Tomcat?? If so do you need to do anything special or is it ready to go out of the box?? Nicholas Orr {{SNIP}} Try jboss and tomcat

Re: Profiling with tomcat

2002-10-30 Thread Charles Baker
--- Steinar Bang [EMAIL PROTECTED] wrote: Ralph Einfeldt [EMAIL PROTECTED]: From: Steinar Bang [mailto:sb;dod.no] Is this program available for free download? I was unable to determine from the web pages whether it was a freely downloadable program, or whether it was a

Re: sendRedirect not working correctly

2002-10-04 Thread Charles Baker
--- Jared Reeve [EMAIL PROTECTED] wrote: Using Apache Tomcat/4.1.12 I have my application under the webapps directory. When I do a sendRedirect to /servlet/MyServlet I get an HTTP Status 404 - The requested resource (/servlet/MyServlet) is not available. The correct path should be

modssl apache tomcat and rewrites

2002-08-21 Thread Charles Baker
I found a nice little snippet of code to force certain pages to be served via ssl by applying a rewrite wule to them. What I want is to have apache change http://my.domain.com/form.jsp to https://my.domain.com/form.jsp Here is my rewrite rule that I adapted from the mod_ssl FAQ.

jnar file best practices tomcat 4.x

2002-07-29 Thread Charles Baker
One of the apps I'm working with needs the javax.xml.* packages. I put the needed jars in /path/to/webapps/app/web-inf/lib Is this a good practice? Or should they go in the common/lib or perhaps the JDK's on lib/ext ? If this or a similar topic has been beat to death already just tell me to

RE: jnar file best practices tomcat 4.x

2002-07-29 Thread Charles Baker
--- Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, /path/to/webapps/app/web-inf/lib Is this a good practice? Or should they go in the common/lib or perhaps the JDK's on lib/ext ? If this or a similar topic has been beat to death already just tell me to go read archives and I

RE: tomcat 4.0.4 apache 2.0.39 integration

2002-07-02 Thread Charles Baker
--- Koes, Derrick [EMAIL PROTECTED] wrote: http://www.galatea.com/flashguides/index snip Really nice useful link. Thanks = [EMAIL PROTECTED] Hacking is a Good Thing! See http://www.tuxedo.org/~esr/faqs/hacker-howto.html __ Do You

Re: The best website database!

2002-07-01 Thread Charles Baker
--- Basil Bourque [EMAIL PROTECTED] wrote: SNIP I did not catch the earlier part of this thread, but let me throw in my favorite db: FrontBase http://www.FrontBase.com/ It is native software, but runs on many Unixes, MS Windows, and Mac OS X, with a most excellent GUI admin tool

Re: Book recommendation

2002-06-21 Thread Charles Baker
--- Carl Bacher [EMAIL PROTECTED] wrote: There's one coming out soon - hopefully. Developer's Guide to Tomcat 4 by Alex Garrett Jeff Kean and published by Manning SNIP Cindy Ballreich wrote: I can't speak to the others, but I really didn't like JSP, Servlets, and Mysql. It reads

Re: JavaBeans

2002-05-24 Thread Charles Baker
--- Anibal Constante Brito [EMAIL PROTECTED] wrote: I have the same problem of other, I read a some tutorial too and... public class UserData { String username; String email; int age; public void setUsername( String value ) {... I put in UserData.java and compiled

Re: Servlets

2002-05-24 Thread Charles Baker
--- Anibal Constante Brito [EMAIL PROTECTED] wrote: Hello: I dont understand somthing, I a beginner of Java programming and Tomcat. I read in some tutorial that when a wirte a servlet, just put the .java in \WEB-INF\classes and the tomcat compile this .java in .class, but I tried to do

Re: Some JSP Questions...

2002-05-23 Thread Charles Baker
--- Frederick Aubert [EMAIL PROTECTED] wrote: Hi, I am currently building a Webapp for a project and I came on a couple of questions I didn¹t find any answer to. So if one of you has time to go through them and answer to them I would be thankful. Maybe it would be better to reply to my

Re: I'm getting no responses to my requests for help on this list

2002-05-16 Thread Charles Baker
--- Gary Frick [EMAIL PROTECTED] wrote: Hi All, I've been working day and night trying to get Tomcat started and to get past the HTTP 500 error when trying to invoke the JSP examples. I've been combing the archives, but I'm not seeing any real solutions. What must I do and where

RE: Classpath problems with Tomcat4 and RedHat 7.2

2002-05-07 Thread Charles Baker
--- Jose Ferrer [EMAIL PROTECTED] wrote: Yes, CATALINA_HOME is set to /var/tomcat4 Here is my simple jsp %@ page language=java % %@ page import = java.util.* % %@ page import = java.io.* % %Properties prop =

webmin

2002-05-07 Thread Charles Baker
Does anyone have any experience using the webmin tomcat module w/ tomcat4.x? Does it work at all? = [EMAIL PROTECTED] Hacking is a Good Thing! See http://www.tuxedo.org/~esr/faqs/hacker-howto.html __ Do You Yahoo!? Yahoo! Health - your guide

RE: Unix (Solaris) HTML Editor for Apache and Tomcat, Recommendations?

2002-03-11 Thread Charles Baker
--- Brian Adams [EMAIL PROTECTED] wrote: netbaens! it will do that and more (java) when you are ready for servlets! :) www.netbeans.org -Original Message- From: C Cayetano [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 10, 2002 10:25 PM To: Tomcat Users List Subject: Unix

Re: Sharing a bean between servlet and jsp. Arrggghhhhh

2002-02-11 Thread Charles Baker
Which is first the jsp or the servlet? I don't see any code in your servlet snippet that adds the new instance of the bean to the session. If the bean already exists in the session as created by the jsp, a session.setAttribute(myFormBean, fb) will overwrite the old bean values w/ the new values.

Re: Using a JavaBean from within a servlet

2002-02-10 Thread Charles Baker
--- Dahnke, Eric [EMAIL PROTECTED] wrote: Hello, This is killing me. I've got a form that posts to a servlet. I simply want to get the form variables into a bean's properties. I can find only one reference to what I'm trying to do here. it is a formToBean() method from a FormUtils

Re: Is this a stupid question or something? Why no nibbles?

2002-01-26 Thread Charles Baker
--- Micael Padraig Og mac Grene [EMAIL PROTECTED] wrote: At 01:08 AM 1/25/02 -0800, you wrote: FIRST If I want several development urls, e.g. app1.mycompany.com app2.mycompany.com app3.mycompany.com to be accessed through one registered url, e.g.

Re: URGENT HELP REQUIRED. PLEASE RESPOND IMMEDIATELY

2002-01-16 Thread Charles Baker
--- Ramkumar Menon [EMAIL PROTECTED] wrote: hi, I am getting the following error when I try accessing the database via a datasource . Dude, this is a mostly volunteer mailing list. People help out as they can, not on demand and not for pay. Also, in the USA, email w/ ALL CAPITAL

Re: Commercial Use of Apache

2002-01-08 Thread Charles Baker
You don't have to get permission for anything. Apache and Tomcat are Free Software! http://www.apache.org/LICENSE.txt see also: http://httpd.apache.org/ABOUT_APACHE.html --- Hemant Singh [EMAIL PROTECTED] wrote: Hi All I am working on a project which is to be deployed on Apache-Tomcat

Re: Chaning location of initial web page

2001-10-04 Thread Charles Baker
Well, I hope I'm getting this right. Any directory( or *.war or *.tar.gz or *.jar file) right under webapps that has the proper structure will be automatically loaded as a context. What does your server.xml say about the root, '/', context? What if you change the root directory to another name

How to make Apache's docroot a tomcat webapp?

2001-10-04 Thread Charles Baker
I want apache's docroot to point to a webapp directory containing static content as well as servlets and jsp's. I only have one site on this machine. do i still need to set up a virtual server in httpd.conf like this: VirtualHost 10.0.0.1:80 DocumentRoot /web/host1 ServerName

SSL, Apache and Tomcat

2001-10-04 Thread Charles Baker
I'm setting up apache and tomcat to process some credit card info and other personal data via verisign. For the moment, Apache and tomcat live on the same box. Do I need just one certificate or two? I will read more on apache and ssl, but there isn't much to the tomcat-ssl howto... = -

Re: SV: How to start/stop tomcat from a remote machine???

2001-09-25 Thread Charles Baker
] Ämne: Re: How to start/stop tomcat from a remote machine??? I am currently using windows NT. Could you provide more details on how exactly you do even for Linux or Solaris (and NT if possible) Thanks Sio From: Charles Baker [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED

Re: How can I start/stop tomcat web server from a remote machine???

2001-09-24 Thread Charles Baker
Are you using *nix or NT? On my Linux or Solaris boxes I just ssh in and start/stop whatever I want to. --- Siomara Pantarotto [EMAIL PROTECTED] wrote: Hi all, How can I start/stop tomcat web server from a remote machine??? In other words, how can I run the start/shutdown batch files

webapp directory as apache document root

2001-09-21 Thread Charles Baker
What all needs to be changed to make a webapp's directory be the document root of my apache server? Do I just need to change the docment root entry in httpd.conf? = - [EMAIL PROTECTED] Hacking is a Good Thing! See http://www.tuxedo.org/~esr/faqs/hacker-howto.html

Re: Upgrading tomcat

2001-07-26 Thread Charles Baker
Another question, do apps developed under the 3.2.x ( jsp 1.1/servlet 2.2 ) work well with Tomcat 4.0 and the newer servlet/jsp specs? --- John Hebert [EMAIL PROTECTED] wrote: Tia Haenni wrote: Has anyone gone from 3.2.1 up to 3.3? Does it require a complete uninstall of previous

Re: Basic Help

2001-07-19 Thread Charles Baker
have you tried the url: http://your.machine:8080/examples or http://your.machine:8080/test have you read the User Guide that comes bundled w/ Tomcat or that is available here: http://jakarta.apache.org/tomcat/tomcat-3.2-doc/index.html I'm just guessing from the Ajp12ConnectionHandler on

Re: Basic Help

2001-07-19 Thread Charles Baker
This is my first time doing any of this. I guess first off I need to try to figure how to test tomcat standalone to ensure that it is working properly before I attempt to go any further - Original Message - From: Charles Baker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July

Re: Basic Help

2001-07-19 Thread Charles Baker
This is my first time doing any of this. I guess first off I need to try to figure how to test tomcat standalone to ensure that it is working properly before I attempt to go any further - Original Message - From: Charles Baker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July

Re: Fwd: NoClassDefFound

2001-07-13 Thread Charles Baker
--- John Baker [EMAIL PROTECTED] wrote: On Thursday 12 July 2001 23:04 pm, you wrote: Hi, Weird!!! You can always use the Class class' getInstance(String className) method to get a copy of your class. You mean Class.newInstance(className) ? :-) Well I'd rather know why Tomcat

Re: Fwd: NoClassDefFound

2001-07-13 Thread Charles Baker
Sorry, you're right about that! stop(), suspend(), resume() and countStackFrames() are deprecated. --- John Baker [EMAIL PROTECTED] wrote: On Friday 13 July 2001 12:23 pm, you wrote: --- John Baker [EMAIL PROTECTED] wrote: On Thursday 12 July 2001 23:04 pm, you wrote: MyThread t = new

OT: Example using session bean in servlet like jsp

2001-06-27 Thread Charles Baker
Can anyone point me to an example of using a bean w/ a servlet similar to the way a bean can be used with jsp pages? I'm not ready to implement EJBs or an EJB container yet. = - [EMAIL PROTECTED] Hacking is a Good Thing! See http://www.tuxedo.org/~esr/faqs/hacker-howto.html

Re: web.xml not working

2001-06-26 Thread Charles Baker
Here is a servlet definition from my web.xml file: servlet servlet-name Login /servlet-name servlet-class com.beeslender.servlets.LoginServlet /servlet-class servlet-mapping servlet-name Login

Re: web.xml not working

2001-06-26 Thread Charles Baker
a web.xml file, but the servlet mappings in it aren't working. To clarify, my servlet isn't in a package. - Erin On Tue, 26 Jun 2001, Charles Baker wrote: Here is a servlet definition from my web.xml file: servlet servlet-name Login

Re: web.xml not working

2001-06-26 Thread Charles Baker
On Tue, 26 Jun 2001, Charles Baker wrote: Here is a servlet definition from my web.xml file: servlet servlet-name Login /servlet-name servlet-class com.beeslender.servlets.LoginServlet /servlet-class servlet-mapping

Re: apache tomcat as services under Linux

2001-06-20 Thread Charles Baker
I thought tomcat need to start first? Or is that only when using the generated mod_jk.conf? --- Antoni Reus [EMAIL PROTECTED] wrote: Hi, You should create a script with something like and put it on /etc/rc.d/init.d/ cut here--- #!/bin/sh # Set this as

Re: where is the JSP servlet

2001-06-20 Thread Charles Baker
Look in $TOMCAT_HOME/work/ there should be directories there for different contexts, which contain the generated *.java files as well as the compiled *.class files --- [EMAIL PROTECTED] wrote: I was told that JSP scripts get translated into a servlet, however where do you find it.Where can

Re: RES: stress test

2001-06-11 Thread Charles Baker
Spare-threads are idle threads. We want a few idle threads to quickly answer incoming requests. We don't want too many idle threads, or else we can negatively impact performance. So, we can represent the config below with this pseudo-code in an attempt to make it more clear: // Max spare threads

Re: Newbie Contexts

2001-06-09 Thread Charles Baker
You might want to take a look in the configuration file $TOMCAT_HOME/conf/server.xml at the sections that define the contexts. The path is sort of from the docroot of your websererver like /admin if you want to access the admin context as http://your.domain.com/admin;, the documentation says it

Re: where to find the Free Java TestingTool!!

2001-06-04 Thread Charles Baker
There is also httpunit which tests the website as if it were actually an automated browser...well that might not be the best description. Check the page: http://httpunit.sourceforge.net/ --- Alex Fernández [EMAIL PROTECTED] wrote: Hi Rajesh! Rajesh Chandran M. R. wrote: I want to test

Re: URL encoding and ';' rather than '?'

2001-06-03 Thread Charles Baker
). This has been a bit of a headache for us with JServ (which uses a querystring arg just like JRun) It sounds like the problem here is that the URL you're presenting is not being served by Tomcat and should not be rewritten in the first place. Cheers Dave Charles Baker wrote: Thanks

Re: authentication

2001-06-03 Thread Charles Baker
I searched the list archives and found that there needs to be a user with role=admin like so: user name=admin password=some_hard_password roles=admin / Also, in the server.xml the admin context should have trusted=true and password=some_hard_password, the same as the one in the

URL encoding and ';' rather than '?'

2001-06-02 Thread Charles Baker
I've been browsing the archives but still haven't seen what I'm looking for. Why does Tomcat use ';' rather than '?' when an URL gets encoded? Example: URL = http://my.domain/some_form.htm;; response.sendRedirect(response.encodeRedirectURL(URL)); Yeilds an url like this:

Re: URL encoding and ';' rather than '?'

2001-06-02 Thread Charles Baker
/6503277 On Sat, 2 Jun 2001, Charles Baker wrote: I've been browsing the archives but still haven't seen what I'm looking for. Why does Tomcat use ';' rather than '?' when an URL gets encoded? Example: URL = http://my.domain/some_form.htm;; response.sendRedirect