loss of session from http to https

2003-11-01 Thread Peter T. Abplanalp
hi all,

i have a tomcat 4.1.27 instance fronted by an instance of
apache 2.0.40, using jk2.  it is a commerce site and at the
point of credit card information collection goes from http
to https.  the first time a user goes from http to https,
the session information is lost (i.e. the order information)
but if the user uses https from the beginning, eveything is
fine.  the specific error i am seeing is:

org.apache.jk.server.JkCoyoteHandler action
INFO: RESET

i have done some searching on the web for this error but
nothing i have found really helps.  most responses to such
questions say something like, it is just an info type
message and can thus be ignored but the large issue of
session loss isn't addressed.

does anyone have any idea what is going on here or have any
suggestions?

thanks in advance for any and all assistance.

-- 
Peter Abplanalp
PGP: pgp.mit.edu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: apache error?

2002-09-12 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

* On Thu, Sep 12, 2002 at 02:30:39PM -0400, Turner, John wrote:
 
 Please send questions and requests for help to the tomcat-user list.

i think he did but he bcc'ed the list for some reason.  at
least that is what i infer from the headers.

- -- 
Peter Abplanalp
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9gOGMggA8sH0iRXQRAnEcAKCpFkkL83KigleKc2z1ZGu6gZUmAwCdEszE
gFE8xzK1ez+wgntWHMILEs8=
=bnUd
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Apache 2.0.40 with DSO???

2002-09-06 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Sep 06, 2002 at 03:33:54PM -0400, Turner, John wrote:
 
 RTFM

i'm going to second this.  manoj, you need to read the docs
for apache, tomcat and jboss.  you might not think so but it
would be better for you if you understood those products
before you use them.  i think we have tried to be helpfull
here but you can't rely on us.  we may or may not be
available to answer your question in the timeframe you need
it answered.  do youself a favor and follow john's advice.

- -- 
Peter Abplanalp
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9eQdqggA8sH0iRXQRAuA4AKCCuXfdbETXBCcClFIfzfHzsGWU3QCfR/7P
CMPoqf1zHxcKiayxuEs+8bM=
=XnVs
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Apache 2.0.40 - NOT working

2002-09-06 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Sep 06, 2002 at 09:18:23PM +, Manoj Kithany wrote:
 After installation I tried to see if my Web Server is working. So, I tried 
 to execute the following command but there was no reply.
 -
 # ./apachectl start
 #
 -
 I also check on the browser but it showed page not found.

so what?  was the page you are trying to get to there or
not?  if the httpd server was not running you would get a
connection refused message, not page not found.

 When I was using Apache 1.3 previously and executed apachectl start, it 
 displayed the message httpd serevr started. Does this mean my Apache 
 2.0.40 Server installation is not complete?

how should we know?  did you follow the directions?  does ps
- -ef | grep httpd show that there are httpd processes
running?  what do the logs say?  you did check them, didn't
you?

btw - add some sort of linux documentation to the list of
M's that you should FR.

- -- 
Peter Abplanalp
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9eSG8ggA8sH0iRXQRApJiAJ9XiMNkBzPRGDoUW7h+imDDtm9VcwCgnHjH
gKP3wfzQeDKN4xvlhLbMEbA=
=Bng6
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Apache 2.0.40 - NOT working

2002-09-06 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Sep 06, 2002 at 09:51:29PM +, Manoj Kithany wrote:
 I tried to do ps -ef | grep httpd after I execute ./apachectl start but 
 it did'nt show me any process with httpd-that was my concern.

then apache is not running.  what do the logs say?

 Also, I READ ALL the documentation and try it firet before shooting it on 
 to the Message List - I apologize it that is bothering you.

well, once or twice doesn't bother too much but you keep
asking basic questions that aren't even related to tomcat.
anyh...

 On web browser, I tried http://my_ip_address; on which it should show If 
 you see this page it means Apache is working... but to me it says Page 
 cannot be displayed

well, page not found is a little different than what you
are now saying which is page cannot be displayed.  stop
using ie for this stuff or turn off the friendly error
messages.

in any event, we need to see the logs.

- -- 
Peter Abplanalp
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9eScmggA8sH0iRXQRAr85AJ9STPXHOARdN4u+OvXKy883NqWEFQCgmwgs
bzljruGltAxcp33b3/ghHcE=
=ShpT
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Apache 2.0.40 - NOT working

2002-09-06 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Sep 06, 2002 at 11:20:13PM +, Manoj Kithany wrote:
 I tried to check the logs but there were NO log files stored in 
 /usr/local/apache/logs directory. I then checked httpd.conf for entry for 
 Error Logs and it showed:
 --
 ErrorLog /logs/error.log
 CustomLog logs/access_log
 --
 
 but still no log files appear under /logs directory. Even the httpd.pid 
 file is no seen?

time to take a step back.  what /exactly/ have you done.  where
/exactly/ are you putting things?  i seem to recall you were asking
about apache1 and apache2, where /exactly/ did you put each?
basically, on the information i have, i can not help you one iota.
Oh and what /exactly/ are you expecting to happen?

- -- 
Peter Abplanalp
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9eVU+ggA8sH0iRXQRAgzVAJ4iAS30ecmHmX+/EjgBwgGYjajwSgCgmoaz
zctwfqJrfmlSfwcpIsuqhUk=
=x8Bs
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: mod_jk.conf file is not created

2002-09-05 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Sep 05, 2002 at 09:51:15PM +, Manoj Kithany wrote:
 I am using Apache(2.0.40), JBOSS(3.0.3) and Tomcat(4.0.4) on IBM AIX 5.1 
 System.
 
 I also configured Tomcat's server.xml and workers.properties file BUT 
 when I start my JBOSS engine, mod_jk.conf file is NOT created 
 automatically. I refereed the following document to configure that:
 http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html

this is actually a jboss issue.  you need to modify the
tomcat4-service.xml in the deploy directory of whichever
server you are using.  i.e. default or all.

the catalina.home server.xml file is not used.

- -- 
Peter Abplanalp
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9d9K5ggA8sH0iRXQRAjrTAKChu+9vBFm0RBfmSksRcpkhsMBSkwCfft6Z
o/QXeDrlyFdx54Ekvqu6SGw=
=JUZs
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: mod_jk.conf file is not created

2002-09-05 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Sep 05, 2002 at 10:11:08PM +, Manoj Kithany wrote:
 Hi Mr. Peter,

hello.

 Greetings! Thank You for the information.

welcome.

 I tried to include following to tomcat4-service.xml file but in vain
 
 Connector className=org.apache.ajp.tomcat4.Ajp13Connector
 port=8009 minProcessors=5 maxProcessors=75 enableLookups=true 
 acceptCount=10 debug=1 /

all this does is set up the connector to listen on port
8009.  this will not create your apache config for you.  i
don't use the auto config generation so i'm not sure on this
process but i think it involves setting up another connector
or filter or some such called apacheconfig or some such.
i'm sure you can find someting via google.

 THANKS again!

welcome, again.

- -- 
Peter Abplanalp
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9d9hbggA8sH0iRXQRAiHdAKCh/w8isUF3Cufxz6swVOTILOm4RgCgnjj/
953zlTf5tiOM1crOSLk7CgU=
=s5ic
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: configuring 4.0.4 with Apache 2.0.40 (mod_jk)

2002-09-05 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Sep 05, 2002 at 07:11:09PM -0400, Blackmore, John wrote:
 I'm struggling like mad trying to get this to work, and I've had nothing but
 problems. I'm in Solaris 8, Apache 2.0.40, and Tomcat 4.0.4. First, is this
 hopeless? Do I need to up/downgrade something? I'd be grateful for a success
 story at this point, someone that has this environment. 

no.  i doubt it.

 After compiling mod_jk.so (took about 2 days), I added the lines from the
 mod_jk howto to httpd.conf:
 
 LoadModulejk_module  libexec/mod_jk.so
 AddModule mod_jk.c
 JkWorkersFile /usr/local/jakarta-tomcat/conf/workers.properties
 JkLogFile /usr/local/apache/logs/mod_jk.log
 JkLogLevelinfo
 JkLogStampFormat [%a %b %d %H:%M:%S %Y] 
 
 except there is no libexec, so I used lib. I copied the mod_jk.so by hand
 since 'ant install' didn't work. I also changed the dirs to what my dirs
 really are for JkWorkersFile and JkLogFile. I get the following error when
 starting Apache:

spefically where you put the so is not important.  the important thing
is that the path in your httpd.conf file is correct.

 Syntax error on line 232 of /Tools/Apache/conf/httpd.conf:
 Invalid command 'AddModule', perhaps mis-spelled or defined by a module not
 included in the server configuration

apache 2 no longer uses the addmodule syntax.  just remove it.  the
loadmodule is sufficient.

- -- 
Peter Abplanalp
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9d+8XggA8sH0iRXQRAl+EAJ0QB89cTZwgwXUuJ2Ey7jfVVYXXcwCgorty
+HilOOWJBgXnL5cN5a4lmug=
=ReUV
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Strange Error

2002-09-05 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Sep 06, 2002 at 12:17:02PM +1000, Rob Grundel wrote:
 Hi,

hello.

 I am having a very strange error @ the moment where I can access a servlet
 on Tomcat (4.0.4 Standalone on WinNT) by directly typing the address of the
 servlet into a web browser however if I access the servlet as a form
 processor (action on a form) the browser tells me that The page cannot be
 displayed. (standard IE error)

this is not very helpful.  i would suggest you use a browser that
doesn't hide errors.  also, what do the logs say?

stab in the dark:  you defined doget() in your servlet but not
dopost() and your form does a post.  stab #1: if you have defined
dopost() perhaps there is an error in it.  we would have to see your
logs to tell you anything more.

 === 
 This email may be confidential and/or privileged. Only the intended
 recipient may access or use it. 
 We use virus scanning software but exclude all liability for viruses or
 similar in any attachment. 
 Copyright in this email and any document created by Pitt  Sherry Consulting
 Engineers will 
 remain vested in Pitt  Sherry Consulting Engineers and will not transfer to
 you. 
 If you have received this email by mistake, please telephone (613) 6323 1900
 (reverse charges), 
 or forward message to [EMAIL PROTECTED] 
 === 

and after reading that, i don't know if i really want to help you any
more.  this is considered impolite on a mailing list.  perhaps your
employer makes this manditory.  perhaps you should persuade them
otherwise.

- -- 
Peter Abplanalp
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9eBusggA8sH0iRXQRAkcKAJ4/55wjoQx/geyblNhtO11WqlJZiwCfVAaB
c6Z+Z9mxiXhqfLIfc541Vo4=
=bCzU
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Errors for building mod_jk

2002-09-04 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Sep 04, 2002 at 04:46:39PM +, Manoj Kithany wrote:

please do not cross-post to tomcat-user and tomcat-dev although i can
see how you might think this problem could be posted to both.  i would
suggest you try tomcat-user first and then use -dev only if there is
no answer on -user.  thanks.

 I am using APache(1.3) and Tomcat (4.0.4) on IBM AIX (5.1) System.
 I am havin high time in integrating APache and Tomcat. Binary mod_jk is 
 NOT available for IBM AIX System - so I try to build it using following 
 procedure but get ERRORS.
 
 I tried to execute ./buildconf.sh and then execute ./configure without 
 having any problems. But when I execute make I get following Error - 
 wonder why? Can you please look into this problem - would really appreciate 
 your precious time. The Error is:
 --
 # make
 Making all in common
 Target all is up to date.
 Making all in apache-2.0
   /usr/bin/sh ../libtool --mode=compile cc -I/usr/local/apache/include 
 -I/usr/local/apache/srclib/apr/include -I/usr/local/apache
 /os/unix -I/usr/local/apache/srclib/apr-util/include -g -O2 
 -DUSE_APACHE_MD5 -I ../common  -I /usr/java130/include -I /usr/java130/incl
 ude/ -D_REENTRANT -Wall   -c mod_jk.c
 mkdir .libs
 cc -I/usr/local/apache/include -I/usr/local/apache/srclib/apr/include 
 -I/usr/local/apache/os/unix -I/usr/local/apache/srclib/apr-util/i
 nclude -g -O2 -DUSE_APACHE_MD5 -I ../common -I /usr/java130/include -I 
 /usr/java130/include/ -D_REENTRANT -Wall -c mod_jk.c  -DPIC -o .
 libs/mod_jk.lo
 ../libtool[847]: cc:  not found

it seems pretty obvious.  libtool cannot find cc.  do you have a
compiler installed on your box?  what is it?  you can try a couple
things: 1) export CC=/path/to/compiler (for sh); or 2) sym link your
copmiler to cc.  i have had problems with some makefiles trying to
hardcode cc as the compiler a simple ln -s gcc cc worked for me.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9dj41ggA8sH0iRXQRAoUZAKCk8uwd76sKHU887vM7pVkx5SXXKgCdGNOU
ZzPfZHUSjzH0G04Jh5Yb6Qg=
=UBhc
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: mod_jk.c Compilation Errors

2002-09-04 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Sep 04, 2002 at 07:14:27PM +, Manoj Kithany wrote:
 /usr/bin/gcc -DPACKAGE=\mod_jk\ -DVERSION=\1.2.0\ -DHAVE_DLFCN_H=1 -I. 
 -I. -I../common -g -O2 -c mod_jk.c  -DPIC -o .libs/mod_jk.lo
 mod_jk.c:71: ap_config.h: No such file or directory
 mod_jk.c:72: httpd.h: No such file or directory
 mod_jk.c:73: http_config.h: No such file or directory
 mod_jk.c:74: http_request.h: No such file or directory
 mod_jk.c:75: http_core.h: No such file or directory
 mod_jk.c:76: http_protocol.h: No such file or directory
 mod_jk.c:77: http_main.h: No such file or directory
 mod_jk.c:78: http_log.h: No such file or directory
 mod_jk.c:79: util_script.h: No such file or directory
 mod_jk.c:80: util_date.h: No such file or directory
 mod_jk.c:81: http_conf_globals.h: No such file or directory
 In file included from jk_global.h:68,
 from jk_service.h:73,
 from mod_jk.c:97:

two possibilities: 1) you don't have the apache source; or b) you
didn't tell gcc where to find the apache source.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9dlx+ggA8sH0iRXQRAgZCAKCWcH+mEddDR2nFuL96lSuDKOv46gCfQJ0A
T5NtMzUr3nbT1MwCSYFj0NY=
=YZWA
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: How to integrate Apache and Tomcat on Window

2002-08-30 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Aug 30, 2002 at 10:58:43AM -0400, Turner, John wrote:
 
 http://localhost
 
 If you can get the tomcat examples on http://localhost/examples, and they
 work, you have apache and tomcat communicating properly.
 
 As for testing that apache is serving static pages, the easiest test would
 be to shut down tomcat, then make your request and see if it is successful.

you could also just check the tomcat access log when you make a
request for a static page.  it should be silent.  also, the apache log
will tell you if it is forwarding requests to tomcat.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9b4j0ggA8sH0iRXQRAkz6AJ0YzNC8FQ6swngdQIZItAML+ihNDQCeL/fz
1Rs9ywNCoxA9GQIPVFNwcUM=
=cVCp
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Apache and Tomcat

2002-08-30 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Aug 30, 2002 at 11:28:15AM -0400, Turner, John wrote:
 
 There is quite a bit of documentation, especially in the list archives.
 
 First, which platform are you on?
 
 Second, what connector do you want to use?  There are three: mod_jk,
 mod_webapp, and mod_jk2.  Most people seem to be using mod_jk, it's the
 oldest and is, in my experience, the most stable.
 
 Yes, you need to change httpd.conf to integrate tomcat with Apache...what
 changes specifically can't be determined until you decide which connector
 you want.  JSPs and Servlets need to be in Tomcat's workspace, not Apache's.
 The normal procedure is to map particular URLs, like /*.jsp in httpd.conf
 to a particular connector, which will send those requests to Tomcat for
 processing.

you are a saint, john.  it seems you answer this question at least
once a week and at most 3 times a day.  do you have some sort of
autoresponder?  message or body contains mod_jk - send form email.

:-)

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9b5IsggA8sH0iRXQRAkxPAKC0neaeMaifrbASYrH674bjgaDcDQCgrTBC
ncjOBY2BBZ8MHwvL1/9a/LI=
=TVos
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Simple WAR files

2002-08-30 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, Aug 31, 2002 at 01:28:16AM +1000, James wrote:
 Hi,
 
 I have read the documentation for writing web applications and distributing
 them in WAR files, but now I am just more confused than ever. I'm looking
 for a simple step by step tutorial on making WAR archives and making them
 redistributable.
 
 I know this so far:
 - Directory structure; WEB-INF, WEB-INF/classes, etc and what they are used
 for

do you also know about the web.xml that is supposed to go into
web-inf?

 So now I need to know, what are the basic steps to make a very simple,
 almost HelloWord.war type of application? How do I write an application
 descriptor, and what do I do with it to make an application WAR file? What
 are all the references to asking an administrator to assign a context path?
 (I have no administrator, only my home computer and myself!)

let's say you are working in ~/src/myapp which contains the dir
structure you describe above.  all you need to do is execute the
following command in ~/src/myapp:

  jar cvf myapp.war *

then proceed to copy the war file to however many tomcats you want.
that's it in its simplest form.

if you then want to do some neater stuff, you need to look into how
the web.xml file is structured.  it basically defines your web app and
what happens where.  it is really beyond the scope of a single email.
creating the war file is always the same.

 Thanks,

welcome.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9b5NTggA8sH0iRXQRArVaAKCRlTJBYAidxf3fmHS4z95KQQBAIwCcDCGk
n0vaUtmoJNZYWPPJjI76jbY=
=oJfH
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Simple WAR files

2002-08-30 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Aug 30, 2002 at 11:41:19AM -0400, Wagoner, Mark wrote:
 I would use an IDE like Netbeans or Forte to get started.  It will do most
 of this for you, including packaging the entire app into a WAR file.

no offense but i recommend /not/ doing this.  the ide's do a lot of
stuff behind the scenes that you may not understand.  if you really
want to understand the process, do it manually.  once you can do
simple things manually, you can switch to an ide because you now know
what the ide is doing under the covers.

 Once you go through the process within the IDE it starts to make much more
 sense.

once you start creating large complicated applications, ide's make
sense because they take some of the manual labor out of the process.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9b5QbggA8sH0iRXQRApgqAJ9ZZQX3XaRO7QJFEZ0GRnsidiOKBgCeJXZv
MX2oP1nBGhQVcZC4oWi493Y=
=MmIF
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Apache and Tomcat

2002-08-30 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Aug 30, 2002 at 11:45:51AM -0400, Turner, John wrote:
 
 Nope, just trying to pay it forward.  I've gotten countless amounts of help
 from mailing lists in the past, and have been using open source software
 since the earliest, but have never really been in a position to devote time
 and effort to contributing what I can.

well, i have to say i was in your camp.  i am also on the qmail list
and that list is brutal on the newbies.  they are big on rtfm over
there and based on what i see here, i am begining to agree with them
although i think they could be a little more friendly about it.
basically, it boils down to the biblical principal of giving someone a
fish or teach them to fish for themselves.  perhaps we should be
telling these people how to find solutions to their problems instead
of spoon feeding them the answer every time.  for example, if they
were to search the archives for this topic, they would find your
numerous responses to the posts and hopefully not add one more post to
the archives.

just a thought. :-)

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9b5YKggA8sH0iRXQRAkddAKCLfz/auJiEgIzFTbuDCmjAloPRXQCeOyFD
ri5yag8ziFrdfyiq3D8T/MI=
=MFQA
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Apache and Tomcat

2002-08-30 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Aug 30, 2002 at 12:01:17PM -0400, Turner, John wrote:
 
 Agreed.  I am actually in the process of creating an FAQ, and hopefully
 others will contribute to it as time goes on.  Hopefully we can all someday
 just point them there.

very good.  i'd be happy to contribute if you want some help.  you'll
have to give me some direction though.  i have no idea what you may or
may not have in there.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9b5d6ggA8sH0iRXQRAstZAJsEL1gU2PZG7r4s4JVvndiF1m9BGgCfYKJ1
GHKkbNEhuIdR3rG85tz1jzQ=
=tuC7
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Processor Availability

2002-08-30 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Aug 30, 2002 at 09:02:30AM -0700, Randall R Schulz wrote:
 CTRL-D doesn't send a signal on any OS I've ever worked with, including 
 Windows.

you mean signal in the real sense, right?  because in the general
sense on any unix system, ctrl-d will send an eof to a process.  while
this isn't a true signal, something does happen.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9b5fsggA8sH0iRXQRAp+4AKCxk+u1YIviM3hbziP5Pl7RVqLT/QCfTDVy
pG5v7UI4kRDMUfboHoIfDzo=
=Z4MD
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Simple WAR files

2002-08-30 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, Aug 31, 2002 at 02:06:07AM +1000, James wrote:
 Thanks Peter. Now that I know how to make WAR files, is there a tutorial on
 writing the bits and pieces of web.xml?

well, there are many.  you can go through the tutorials at
java.sun.com or you can get some book or other.  i believe there are
also some details in the tomcat documentation.  if i'm wrong, the
tomcat docs will probably point you in the right direction.

 Also... I see this is a popular question, (I was also going to ask) where is
 mod_jk in binary for Win32? Do you have one in a package with docs that you
 can send me? :-) Sorry! I can't see how to get it.

very popular.  almost to the point of being annoying, but that is
another thread.  :-)  if you look through the messages for today, i
believe john turner posted a link to win32 binaries.  he also has a
howto that he posts about once a day.  i think he's already posted it
today.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9b5ztggA8sH0iRXQRAvACAJ9oxtA03q7tOjOi3KOfw9T6n1NNDACdEPWz
RcsEWqvEJ792xpnqfF69L3Y=
=4p7A
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: mod_jk2 - error on tomcat4.0.4 side?

2002-08-30 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Aug 30, 2002 at 01:43:43PM -0700, Ray Madigan wrote:
 I have made the same set of modifications and followed the advice on the
 site you reference.  I get the same catalina.out error messages.
 
 If anyone has this working, has looked at the recommendation on the site,
 some assistance would be appreciated.

i used those directions and everything is working fine.  are you
/sure/ you copied the libjkjni.so from the correct location to the
correct location?  in particular make absolutly certain that you
followed step 9b and that what should have happened did in fact
happen.  for example, go to tomcat home/lib and verify that
libjkjni.so is there.  you may also want to go so far as to diff it
with what you find in jtc home/jk/build/jk2/jni.

forgive me for asking but did you just copt and paste from the
browser?  if you did that is your problem.  ${jtc.home} and
${catalina.home} are symbolic unless you defined them in your
environment.  again, forgive me for asking, just trying to cover the
bases.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9b+K9ggA8sH0iRXQRAp+XAJ9HthhJIqywHL+sPN/CeFuagY5YWQCglMs3
jX+1QohFcvguTeOkVEeA2Bg=
=kL76
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: mod_jk2 - error on tomcat4.0.4 side?

2002-08-30 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Aug 30, 2002 at 02:50:39PM -0700, Ray Madigan wrote:
 Peter - thanks for your help on this issue.

welcome.

well, this is gonna be like trying to find a needle in a haystack.
let's try this, remove all tomcat and apache logs, start tomcat,
wait 30 seconds, start apache, wait 30 seconds and send me (let's take
that one off list) the tomcat and apache logs.

if we find the answer, we can post that to the list.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9b+4YggA8sH0iRXQRApzYAJ9HCFTnJeF8W6ampkbSk9dyNvlrJgCeKhMC
fNvirAHwopXZhjBR2dehJ1c=
=dpjw
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: HELP! 3 days and still no go with Apache2 and TomCat 4.0.4

2002-08-30 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

please have your mua wrap lines at 72-80 cols.  thanks.

On Fri, Aug 30, 2002 at 07:04:38PM -0400, Dennis Megarry wrote:
 I've been reading everything I can get my browser pointed at
 and I must say, there is an extreme lack of documentation on
 Apache2  Tomcat..  (or google can not find it)

follow the directions at http://www.pubbitch.org/jboss/mod_jk2.html
they are quite good.  one thing to note, you have to make sure that
both the httpd and tomcat user have access to the socket file.

 Any time I try a mod_jk directive  (JkMount, JkLogLevel, etc..)
 I get an Invalid Command trying to start apache..  None of the
 mod_jk directives are available but yet, the logs show everything
 is fine..   I've tried everything I could think of or find...  This
 mail list is my last resort..

the directives don't work with jk2.  it uses the jk2.properties and
workers2 files.

 Clueless - Dennis

now hopefully, cluefull.  :-)

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9b//TggA8sH0iRXQRAibMAJ4lM+7mgCglsd4mmVdSeKm6mDROeQCgrhkc
TNEHLX4rxaaQqnG9ji5dUKg=
=ZPn7
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Database write delay?!?!?!?

2002-08-29 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Aug 30, 2002 at 09:15:48AM +1000, Josh G wrote:
 On Fri, 30 Aug 2002 8:47 am, Mike Jackson wrote:
 
  Are you using the JDBC-ODBC bridge?  If so then I'd not worry about
  the delayed writes, I'd worry about restarting your app often
  (daily/weekly), and your database engine for that matter.
 
 
 Feel like explaining that one? Is there a bug in the bridge? Or are you just 
 giving me the tired old it's on windows so reboot it twice a day speech?

tired?  i don't think that is tired.  it still makes me chuckle;
although, i've heard that M$ has doubled their mean time to failure so
i suppose the updated version is to reboot once a day.  ;-)

donning flame retardant suit

as an side and on a totally different note:  does outlook express
handle threading while outlook does not?  how is that possible?  i ask
because it is annoying to me to be unable to thread some of the
messages on this list.  i like to have all my related emails together.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9bqycggA8sH0iRXQRAkwRAJ4m7HWAuUKuyVA9RtwJNynrfJNn4gCfUE/R
v6ClcIeP9wYKvlmYcR+hDGw=
=xs8x
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Database write delay?!?!?!?

2002-08-29 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Aug 30, 2002 at 09:32:49AM +1000, Josh G wrote:
 On Fri, 30 Aug 2002 9:22 am, Peter T. Abplanalp wrote:
 
  tired?  i don't think that is tired.  it still makes me chuckle;
  although, i've heard that M$ has doubled their mean time to failure so
  i suppose the updated version is to reboot once a day.  ;-)
 
 Oh crap. My XP box at home stays up for weeks at a time, i only reboot when 
 i'm messing with stuff and need to install a new/updated driver... 

pouring gasoline on the fire

i once saw a funny signature once:

- 
|  Your mouse has moved.   |
|  Windows must be restarted for the change to |
|  take effect.|
|  Reboot now? |
|[OK]  |
- 

 Nah, OE doesn't thread... But Kmail threads nicely :-)

then is it the other way around?  Outlook threads but OE doesn't?  it
seems that some with the windows type attribution are threaded but
others aren't.

yes, kmail works nicely.  so does mutt.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9brFNggA8sH0iRXQRAvxaAJ4qSgy2GPSDR5ZHq5kNj5V75fXSTgCfUhg2
7t7wb2pOJ7627QLgKqK8lxY=
=fHs/
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: mod_jk

2002-08-27 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 27, 2002 at 02:50:59PM -0700, Short, Dave wrote:
 I've been looking for the Win32 mod_jk2 binary for Apache 2.0.40 for two
 weeks now.  I've logged a bug request in Bugzilla, asked here multiple times
 and still no response.  Maybe the keeper of the mod_jk and mod_jk2 software
 is on vacation or asleep...

i don't think it is the developers' job to create binaries for every
os under the sun.  when i needed a binary, i downloaded the source and
compiled it.  you can too.  ok, those of you who have windows and no
compiler are out of luck but the redhat poster doesn't really have an
excuse.  if i have time tonight, perhaps i can copmile mod_jk for
redhat 7.3.  i happen to be using mod_jk2 so didn't compile mod_jk.

the developers donate their time to creating a useful tool that is
free.  perhaps if you volunteer to pay them some money, they would
provide binaries for you.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9a/jjggA8sH0iRXQRAqV7AKCfd/s1i5R5sH/HKmp41pL3emVfogCcCEfv
yO+P2Ywhow2XYGhsqPmxt5Q=
=F3+/
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: mod_jk

2002-08-27 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 27, 2002 at 06:17:40PM -0400, Short, Dave wrote:
 Not asking for every OS under the sun, just Win32 - which is a fairly common
 OS...  I would gladly download, compile and post the source for Win32

well for you win32 is not every os under the sun because that is what
you choose to use.  others might have a different point of view.  plus
if we wanted the developers to compile the code for every os that
anyone on the list uses, well, that could be a big job.

 mod_k2.  Last time I tried, my compiler complained about missing .h files.
 If you wouldn't mind telling me where ALL required files reside, I would be
 happy to help out.

which .h files did the compiler complain about?

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9a/42ggA8sH0iRXQRAvNeAJ9GW43lwZNIaFPyhNuUkPmYrm4QAgCgt1t+
56p/HxP6GPtp68DvhdaIrCk=
=M6d+
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: mod_jk

2002-08-27 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

re your question about where i got the source: i got the source from
cvs.  look at http://jakarta.apache.org/site/cvsindex.html.  there are
instructions there for checking out modules.  i don't know but there
is probably a cvs client for win32.

On Tue, Aug 27, 2002 at 06:58:08PM -0400, Short, Dave wrote:
 Here a list of .h files called from the jk_apache2.h, which is called from
 mod_jk2.c.  I found the jk_*.h files but not the others.  
 
 #include apu_compat.h
 #include ap_config.h
 #include apr_lib.h
 #include apr_date.h
 #include apr_strings.h
 #include apr_pools.h
 #include apr_tables.h
 #include apr_hash.h

 #include httpd.h
 #include http_config.h
 #include http_request.h
 #include http_core.h
 #include http_protocol.h
 #include http_main.h
 #include http_log.h

these are apache2 includes.  look for them in $APACHE_HOME/include.

 #include jk_global.h
 #include jk_map.h
 #include jk_pool.h
 #include jk_env.h
 #include jk_service.h
 #include jk_worker.h
 #include jk_workerEnv.h
 #include jk_uriMap.h
 #include jk_requtil.h

i think i understand that you found these in jk2.

 Also, mod_jk2.c calls two additional .h files (scoreboard.h, util_script.h)
 that I can't seem to find...

these are also in $APACHE_HOME/include

 Is all this stuff bundled somewhere?  Am I looking in the right place?  

yes, mostly in the apache server.  aparantly not.  ;-)

i used the instructions at http://www.pubbitch.org/jboss/mod_jk2.html
in order to compile jk2.  granted the instructions are for linux, i
think the steps would be the same for windows.  give them a try.
thanks to Simon Stewart for wading through it and putting it up for
others to use.

good luck.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9bAjwggA8sH0iRXQRAmJ2AJ9gGxfxLyUFUyOAv/6XofmBEUfkMACdFuAl
jwFx3sNw9f5YNkkg0mqmzrw=
=Um23
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tomcat Installation on linux

2002-08-26 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 26, 2002 at 11:23:16AM -0400, khozaima shakir wrote:
 Hi Randall,
 Sorry, guess the way i typed was misleading, i typed just
 shutdown.sh at command prompt.
 The directory that I was in when I type in startup.sh or shutdown.sh is 
 user/userName/jakarta-tomcat-4.0.4/bin
 The output i get on shutdown is --  Segmentation fault

please execute the following in user/userName/jakarta-tomcat-4.0.4/bin
and post it to the list:

  sh -x ./shutdown.sh  shutdown.txt

the command will create a file shutdown.txt which you can post.  this
will give us an idea of where the seg fault is happening.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9ak3kggA8sH0iRXQRAsWRAKCEY9kcw+0Z5hp0JHQJogUS0Y7fCgCeKB19
ig4T5NBEsdnRqZYSXX68hDQ=
=c+G2
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tomcat Installation on linux

2002-08-26 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 26, 2002 at 09:07:31AM -0700, Randall R Schulz wrote:
 Hi,

hello.

 sh -x shutdown.sh  shutdown.txt 21
 
 The real point is to include the standard error in the output captured in 
 shutdown.txt

good point.

 And really, a .txt suffix? Yuck!

well, i wanted to make sure our windows listeners where able to open
it without having to do some open with rigamaroll if they were so
inclined.  personally, i don't use an os that makes me put extensions
on things so that it knows how to open them.  my os assumes i know
what i am doing and lets me open things any way i want.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9alO9ggA8sH0iRXQRAmEPAJ4+1lGkbkOELcS6HpaD13+Qupx+JQCeLV2/
bffV6TxM26YUNoKD+Stg168=
=XuOI
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: list volume

2002-08-22 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Aug 21, 2002 at 09:00:24PM -0700, Craig R. McClanahan wrote:

 Sort-by-thread is the only way to deal with high-volume mailing lists.
 However, I don't consider it a valid reason to use Outlook (can you spell
 security sinkhole?).

outlook is also not rfc compliant.  one fun thing about this is you
can make outlook say bad things about itself.  ;-)

 Fortunately, most modern mail readers can sort in threaded order for you.

not outlook.  that's one thing that makes this list a pain for me.
half of it comes up threaded and the other half (those messages from
outlook users) is not.  this is because outlook does not set the
threading headers like in-reply-to and references.  it is much easier
to scan through a high volume list when, as you say, you can place
all related messages together.  sadly, this doesn't happen here.

if anyone cares, my setup is to have procmail neatly file evey message
in its folder.  i then tell mutt about all the folders and have mutt
thread the messages.  i also use spamassassin to bounce spam.  i
really like my setup; however, i run on linux which with its many
tools makes this sort of thing much easier.  i've heard that cygwin
makes windows more versitile, fwiw.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9ZP2EggA8sH0iRXQRAl+wAJ9INQMI+MNY3/EpYBBqrfUJDCjNUACdGIN4
LWyomLiaggODnAVcU5Ej6bg=
=4/0N
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: problems with Connections

2002-08-21 Thread Peter T. Abplanalp

On Wed, Aug 21, 2002 at 03:28:09PM -0300, Christian J. Dechery wrote:
 already tried that... didn't work... as a matter of fact, the pool
 had no effect on the problem, it stayed the same...

re: using connection pooling

did you get the connection from the pool or did you use the driver
manager to create one yourself?

-- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu



msg63380/pgp0.pgp
Description: PGP signature


Re: Where to locate class files

2002-08-21 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Aug 21, 2002 at 04:40:30PM -0600, Barry Martin wrote:
 I am developing an order form to run on Tomcat. The book I have says to
 store the class files in tomcat-install\webapps\root\web-inf\classes
 directory. The html file is located in the root directory and runs fine but
 when calling the jsp the error is:Class org.apache.jsp.Spud not found.  Is
 this the correct directory to store class files? Any ideas appreciated.

yes, app specific classes should be in WEB-INF/classes.  from the
error it looks like tomcat can't find the class.  perhaps you
didn't make WEB-INF uppercase.  perhaps you put your class in a
package and didn't import it in the jsp or servlet.  perhaps you
didn't restart tomcat after adding the class to that directory.  if
you provide a little more information, we would be able to help you
more.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9ZBfCggA8sH0iRXQRAjfBAKC3DdCIU1uRbI99Q/H50KeWOYpNugCeOSfR
q8PPVeHwfSe7wfK6OlPqtEo=
=mJBg
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Where to locate class files

2002-08-21 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Aug 21, 2002 at 05:00:08PM -0600, Barry Martin wrote:
 Thanks Peter,

welcome.

 The WEB-INF directory is in uppercase. I have tried restarting tomcat. This
 is in a testing environment with tomcat running standalone on a win2k box.
 The version of tomcat is 4.0.1. For the class file in question I simply
 typed the java code in notepad and saved the .java to \classes and then
 compiled from the command prompt which saved the .class file in the same
 directory. It compiled fine.

well, it seems you've done everything according to the law.  forgive
me for asking but you did name the class Spud and put it in Spud.java,
right?  can you post the code that calls Spud and the code for Spud?

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9ZBx8ggA8sH0iRXQRAkNWAJ0QM/vCHa8oKSoglc29mHTu++3DTwCfR8ta
2n4EbkNtX6LmI6HtMKFy5Ws=
=eWDw
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Module mod_jk

2002-08-20 Thread Peter T. Abplanalp

On Mon, Aug 19, 2002 at 08:50:18PM -0300, Alvaro Mota wrote:
 Hi
 
 i get errors when add module mod_jk in apache 1.3.6.
 
 when i execute ./apachectl configtest
 Syntax error on line 318 of /usr/local/apache/conf/httpd.conf:
 Invalid command 'JkMount', perhaps mis-spelled or defined by a module 
 not included in the server configuration

this looks like something i've seen when playing around mod_jk2.
are you sure you are using mod_jk and not mod_jk2?

-- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu



msg63190/pgp0.pgp
Description: PGP signature


Re: pleeeese...

2002-08-19 Thread Peter T. Abplanalp

On Mon, Aug 19, 2002 at 02:18:04PM -0300, Felipe Schnack wrote:
   Anyone here can help me with my connectionpool (tomcat4+pgsql)
 problem? I'm stuck!

you're kidding, right?  how is anyone supposed to help you based on
the information you've given?  what is the error you are getting?
where are you getting it from?  are you using connection pooling?  if
so, which implementation?  etc. etc. etc.

-- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu



msg63092/pgp0.pgp
Description: PGP signature


Re: Tomcat/Cocoon space errors

2002-08-19 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 19, 2002 at 03:36:42PM -0400, Julie Jordan wrote:
 Hi all,
 
 I am new to Apache/Tomcat and finally got it all loaded and working. When I
 get into the Cocoon pages I start throwing errors as follows. Not sure what
 configurations I need to change. Not sure why it isn't compiling the
 sitmap??
 
 Am running on Unix:
 
 Apache 1.3.9, JSDK2.0, mod_jk, Tomcat 3.3.1, Cocoon 2.0.3
 
 Here is my Error.log file:
 
 ERROR (2002-08-16) 15:35.25:890 [core.manager]
 (/cocoon/documents/index.html)
 
 Thread-14/Handler: Error compiling sitemap
 
 java.io.IOException: No space left on device

what does 'df -kl' on the system running tomcat show?


- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9YUqiggA8sH0iRXQRAnhsAJ4pfL+unWUlVdbauRHPuCbaeMVS+QCfQXTg
7tcdVzoKYw1L9BcfVfaAGcw=
=uJ0s
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tomcat/Cocoon space errors

2002-08-19 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 19, 2002 at 03:50:26PM -0400, Julie Jordan wrote:
 df -kl returns the following:
 filesystem  kbytes   used avail
 capacity  mounted on
 /dev/root   2097152  2097152  0100%
 /

your root partition is full.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9YUzmggA8sH0iRXQRAi2TAKCIzWa/4zlIjDZcK/DCQf4hxHEChQCeLLcu
EoN+gUr+PB+SwuRZqzEJmlg=
=3YR9
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: SSL Connection Tomcat and Apache

2002-08-13 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 -Original Message-
 From: Wills, Mike N. (TC) [mailto:[EMAIL PROTECTED]]
 Sent: Monday, August 12, 2002 4:38 PM
 To: 'Tomcat Users List'
 Subject: RE: SSL Connection Tomcat and Apache
 
 
 What about the transmittions between Apache and Tomcat? I realize if they
 are on the same machine it isn't a problem, but what about if it is on a
 different machine? 

On Tue, Aug 13, 2002 at 11:27:21AM -0400, Pooleery, Manoj wrote:
 i have it working on different machines.  Tomcat on one machine and apache
 on another.  SSL will work irrespective of the machines, as long as both of
 the machines can see each other.(i mean on the same network).

i'm not sure this answers the question.  i am also interested in this.
let me draw a picture:


client - talks on 443 ssl to - apache - talks ??? on port 8009 - tomcat

the problem being that if the webser gets encrypted stuff and then
passes it to tomcat in the clear, someone could get the unencrypted
info from the second conversation.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9WTV2ggA8sH0iRXQRAkilAKCKx8C0vWcqoumcfNTvzDuJlxIq1gCgrgmG
d2jhrrg8fU6GXKVNuL2osnk=
=v/fr
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: JDBC MySQL again

2002-08-12 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 12, 2002 at 05:14:46PM +0200, Jan Willem Penterman wrote:
 SQLException: Cannot connect to MySQL server on localhost:3306. Is there
 a MySQL server running on the machine/port you are trying to connect to?
 (java.net.ConnectException)

generally, if you see this problem, your driver is loaded correctly;
however, it is unable to connect to your mysql server.  i would test
this by trying to telnet to port 3306 on localhost and see if you get
a connection.  if you don't, you need to make sure your mysql is
allowing connections over tcp/ip which, if i'm not mistaken, debian
has turned off by default.  look in the /etc/my.cnf or maybe
/etc/mysql/my.cnf or some such for a skip-networking flag and comment
it out if necessary.  restart mysql, try the telnet again.  if it
works, restart tomcat and see if your app works.

another thing to check is if you have some sort of firewall software
enabled that is blocking that particular port.

hth,

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9V9W0ggA8sH0iRXQRAnQcAJ9dEA9G4+Fw3QT7j2IbNeV3h1eEDwCcDcvo
q5X51xanggB0ECObZIx+n2Q=
=e9ia
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: JDBC MySQL again

2002-08-12 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 12, 2002 at 06:57:09PM +0200, Jan Willem Penterman wrote:
  generally, if you see this problem, your driver is loaded 
  correctly; however, it is unable to connect to your mysql 
  server.  i would test this by trying to telnet to port 3306 
  on localhost and see if you get a connection.  if you don't, 
  you need to make sure your mysql is allowing connections over 
  tcp/ip which, if i'm not mistaken, debian has turned off by 
  default.  look in the /etc/my.cnf or maybe /etc/mysql/my.cnf 
  or some such for a skip-networking flag and comment it out if 
  necessary.  restart mysql, try the telnet again.  if it 
  works, restart tomcat and see if your app works.
  
 Very good! You're the 'winner' with the right answer! I was thinking my

yay!  do i get a medal or something?  ;-)

 mysqld setup was ok, since it worked flawlessly with PHP. I guess PHP
 and MySQL have some sort of secret 'marriage', and don't connect over
 TCP/IP? 

probably.

 [off-topic]
 Is that also the reason that php:mysql seems about twice as fast in
 executing queries in comparison to jdbc:mysql? I tested this on my
 Windows machine.
 [/off-topic]

yes.  domain sockets leave out the whole tcp/ip stack and are much
faster.

 However, now I get the following exception: 
 SQLException: Invalid authorization specification: Access denied for
 user: 'root@barrie' (Using password: YES)
 
 My guess is that I have to config mysqld in a way that it accepts this
 user (of which I'm pretty sure it has the correct login and password)
 from 'barrie' instead of 'localhost' (barrie and localhost essentially
 are the same Debian box). But that's not a question to ask to this
 list...

since we're here...

yes, the problem is that when you connect using the mysql tool on the
command line, the client thinks it is localhost; however, java passes
the host name over the connection and thus you must allow the root
user to connect to mysql from that host even thought they are
esentially the same.

as root:

use mysql;
grant all privileges on db.object(s) to root@barrie
identified by 'some_password' [with grant option];
flush privileges;

minor nit - i wouldn't use the root user for these connections.  if
the password is somehow compromised, your *entire* server is
compromised.  if, however, you set up different users for each
database only that particular database will be compromised.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9V+r/ggA8sH0iRXQRAiEYAJ0fDrn34VaWmFMGXIFqMjzRQH5I6wCguCkx
ldddPETeicqjMdQfm5ZgChc=
=0/8l
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: JDBC MySQL again

2002-08-12 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 12, 2002 at 07:45:03PM +0200, Jan Willem Penterman wrote:
 Yes you get a medal. Only thing is that it is so incredibly heavy that I
 can't send it by mail. You have to come pick it up at our office in
 Amsterdam :P

next time i'm in europe, i'll stop by and pick them up.

 Why on earth they invented JDBC for then? I am really dissappointed by
 the lack of performance compared to PHP. The processing of query results
 in Java is even worse (about 10 times slower). 

well, how do propose to get results if your database server isn't on
the same box as your webserver?  ;-)

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9V/aXggA8sH0iRXQRAjPcAJ4yXUPW6542kd1jylikkRj4ohfEKQCgoS+/
Jk5bE6T/ZRLYOLeymzqTOD8=
=DTUQ
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




tomcat 4.0.3/apache2/mod_jk2 help

2002-07-31 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi all, i have (more or less) gotten apache2 to front for my tomcat
4.0.3 using mod_jk2.  however, i have 2 name based virtual hosts and
apache2 asks tomcat for things in both domains.  i would like to
restrict this to one domain.  i have tried to put jkmount and jk2mount
directives in my httpd.conf but apache2 complains that these are
unknown directives.  i also tried to add a domain in my
workers2.properties a la [uri:domain1.com/*.jsp] but this also
doesn't seem to work.

i also a couple question, if someone has the time to answer it:

1) how does apache2 know where to find the apache side config for
mod_jk2?  i only have a LoadModule jk2_module modules/mod_jk2.so
directive and that is it.

i'd be happy to provide any config type info anybody needs to help.

thanks!

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9SCmhggA8sH0iRXQRAq8RAKCc+22SbsZ8n19ZOeFAMefzuPYF2QCeMGjl
skQ2heBCQ4QJXDZTLSRCFz8=
=rR7h
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




mod_jk v. mod_webapp v. ???

2002-07-03 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi all.  i've gone through the list archives and googled for mod_jk
and mod_webapp documentation and found that little exists but i did
find some; however, i didn't find what i was looking for, namely why
should one choose mod_jk over mod_webapp or vice versa?  perhaps there
is no difference.  i did read something about mod_webapp just passing
*all* requests for certain patterns to tomcat but i could not find if
mod_jk behaved differently or not.

actually, one more things comes to mind.  is coyote a replacement/new
name for mod_jk or is it a distinct connector?

thanks,

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9I2X3ggA8sH0iRXQRAlNEAJ9IK4nNNyV4SVqmWqVFvtDssnQg2ACfTjlA
PdSmyO5fTvPRDbJ8uh9+qMs=
=gtth
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]