RE: R: JSTL Question

2005-08-09 Thread Mike Jackson
Look for mod_jk, it's a module that plugs into apache to talk between apache
and tomcat for those requests that are mapped to tomcat.  But quite frankly
I'd look at using squid as a reverse proxy rather than bothering with
setting up apache and tomcat.  Squid has the added benefit of allowing you
to setup rules for what types of page requests are allowed which has the
effect of giving you a content filtering firewall in front of the web
server.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


 -Original Message-
 From: Tom Spence [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, August 09, 2005 8:51 AM
 To: Tomcat Users List
 Subject: Re: R: JSTL Question
 
 
 
 Hi,
 
 I plan to use TOMCAT 5.5.9 for http server but my supervisor 
 wants me to use HTTP Server.
 
 I am done for set up with HTTP Server so how can HTTP Server 
 redirect to TOMCAT?
 
 I apprecaite your assist...
 
 Tom
 



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



RE: development environment

2005-04-22 Thread Mike Jackson
Laptop 
P4 2.0GHZ / 1 GB 
Windows XP Pro (sp2)
Eclipse 3.x
1600x1200

Desktop
AMD64 3200+ / 1 GB
Windows XP Pro (sp2)
Eclipse 3.x
1600x1200

Alternate Desktop
Ultra Sparc 3 1GHZ / 1.5 GB
Solaris 10
Eclipse 3.x
1600x1200

--mikej
-=-
mike jackson
[EMAIL PROTECTED]



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



RE: book for servlet programming

2005-03-17 Thread Mike Jackson
I like the WROX book JSP 2nd Edition.  It's not purely a servlet book but it
covers just about everything you might want to do.  Namely filters,
servlets, JSPs, MVC frameworks, XML/XSLT, custom tags and tag libraries,
JDBC, and EJB.  It's a little old so it doesn't cover some other important
things, but it's a good solid starter book in my opinion.

And if you don't need it anymore it works good for crushing small objects.
:)

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


 -Original Message-
 From: brian [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 17, 2005 4:25 PM
 To: tomcat list
 Subject: book for servlet programming
 
 
 I need a book for servlet programming- 
  there are some good reviews for the Jason (O'Reilly) book.
 and also for Goodwill's Servlet programming.
 
 Please let me know your experiences about a good book to for 
 servlet programming. (shall be using Tomcat primarily)
 
 references to some tutorials with tomcat/servlet programming examples
 
 Thanks
 
 
   
 __ 
 Do you Yahoo!? 
 Yahoo! Small Business - Try our new resources site! 
 http://smallbusiness.yahoo.com/resources/ 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



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



filters

2005-02-15 Thread Mike Jackson
I'm trying to wite a filter that will process a request after anything else
in the chain has finished (ie post process).  My goal is to process static
content within the web app to update the context name within absolute paths
(javascript or css files).  I have implemented a response wrapper and put
breakpoints on both the getOutputStream and getPrintWriter but neither seems
to be called.  Does Tomcat do something special when is serves static
content that would prevent the filter from intercepting the access?  Can I
even put a filter on static content?  Is there a better way I should be
trying to do this?

--mikej
-=-
mike jackson
[EMAIL PROTECTED]



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



Getting the classpath

2005-01-20 Thread Mike Jackson
How can I get the current classpath at runtime as seen by any class in a
particular context?  I know I can run System.getProperty( java.class.path
), but that seems to just show me the classpath at startup of tomcat rather
than for objects within the webapp.  

--mikej
-=-
mike jackson
[EMAIL PROTECTED]



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



RE: Getting the classpath

2005-01-20 Thread Mike Jackson
Crude works for me.  I'm just trying to figure out why jython can't see the
classes that should be in my WEB-INF/classes folder.  Or for that matter to
make sure that folder is in the classpath.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


 -Original Message-
 From: Tim Funk [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, January 20, 2005 10:57 AM
 To: Tomcat Users List
 Subject: Re: Getting the classpath
 
 
 A *crude way* is to get a reference to the current context 
 classloader. If 
 the classloader is a URLClassloader - you can call getURLs() 
 to get the 
 classpath for that loader. Then keep calling 
 classloader.getParent() and keep 
 casting to a URLClassloader until parent is null.
 
 -Tim
 
 Mike Jackson wrote:
 
  How can I get the current classpath at runtime as seen by 
 any class 
  in a particular context?  I know I can run System.getProperty( 
  java.class.path ), but that seems to just show me the 
 classpath at 
  startup of tomcat rather than for objects within the webapp.
   
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



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



RE: [OT] a website run on Tomcat and powered by Struts

2005-01-19 Thread Mike Jackson
You have an extra title/title at the top of the page for some reason.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: t t [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, January 19, 2005 6:59 AM
 To: Tomcat Users List
 Subject: [OT] a website run on Tomcat and powered by Struts
 
 
 Hi, all,
 I just updated www.sportslovers.net using tiles. Take a look. 
 Any comments or suggestions will be appreciated! T.T.
 
 
 
 
   
 -
 Do you Yahoo!?
  Yahoo! Mail - Helps protect you from nasty viruses.
 



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



RE: java.lang.OutOfMemoryError Tomcat4.1.30

2005-01-06 Thread Mike Jackson
Either don't read so large a file into memory (ie read chunks and
process them rather than the entire file) or increase the memory that
Tomcat can use.  You can increase the memory allowed to the VM using
the -X arguements (java -X for help).  The one you'll want is going to
be -Xmx###M where the ### should be the amount of memory you want to
allocate.  Generally for production servers I typically allow tomcat
at least 256 megs of ram using the option -Xmx256M.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: kjiang [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, January 06, 2005 1:19 PM
 To: tomcat-user@jakarta.apache.org
 Subject: java.lang.OutOfMemoryError Tomcat4.1.30
 
 
 Hi
 When tomcat (version 4.1.30) read in a large file, 
 java.lang.OutOfMemoryError occurred, what can I do for this issue.
  
 Thanks
  
 Kelvin jiang
 
 



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



RE: Need Consultant $$ [RE: Oracle 9i client connection to 8i database]

2005-01-05 Thread Mike Jackson
Try the type 4 driver and make sure that you're not NAT'ing the addresses
anywhere.  Oracle doesn't like NATs, you'll need a sqlnet proxy in order for
something like that to work.  I've used Cisco PIX firewalls which have a
sqlnet proxy built in.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


 -Original Message-
 From: Brad Rhoads [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, January 05, 2005 4:09 PM
 To: 'Tomcat Users List'
 Subject: Need Consultant $$ [RE: Oracle 9i client connection 
 to 8i database]
 Importance: High
 
 
  
 Our web app needs to talk to oracle. All is well if the app 
 runs on the db server. But at a client site and on our now on 
 own network, if the app is on a different box, it can't get 
 an oracle connection. It works fine on 2 boxes at other client sites.
 
 A related item seems to be that since the change in our 
 network (we just added a fire wall, the app itself has not 
 changed), we have to change the Net8 configuration to use a 
 service name instead of a sid.
 
 The web app makes a connection using a sid. (I've been 
 looking for way to change our connection to use a service 
 name with no luck so far.)
 
 We've had a similar problem when the app was outside the 
 firewall, the db was behind it, and the firewall didn't allow 
 high-ports through. But in the case of our client and our own 
 case, both machines are behind the firewall.
 
 I currently have the webapp running on the db server, but the 
 client is very unhappy with this and my boss wants me to seek 
 what ever help is necessary to resolve this problem. 
 
 If you think you can help, please reply privately with your 
 rate, availability. I think everything can be done remotely, 
 but it might mean a trip to the client on Monday if we can't 
 work it out by then.
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



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



RE: Tomcat on PDA

2004-11-08 Thread Mike Jackson
The JVMs aren't terribly complete.  The IBM one, for instance, doesn't even
come close to implementing the complete java.net library.  And you have to
be careful with the things that are implemented as they aren't 100% the same
as the standard VM's on other platforms.  I wouldn't expect to be able to
run tomcat, but you should be able to run your own custom built http server
with enough playing around.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Monday, November 08, 2004 10:41 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Tomcat on PDA
 
 
 I don't think you'll find a native build, but you MIGHT be 
 able to get away with emulation... There are one or two x86 
 emulator for PocketPC, at least one of which can run Windows 
 95... If you can get that far, Tomcat MIGHT run in that 
 environment.  Performance would be terrible I'd guess, so 
 it's probably not even worth trying.  Your looking for an 
 ARM-native version that works under PocketPC, and that 
 doesn't exist to my knowledge, partly because there's no 
 ARM-compatible binaries and partly because PocketPC doesn't 
 support most of what Tomcat would need (i.e., JDK or 
 full-fledged JRE... there are some Java runtimes, but I'm not 
 sure how complete they are).
 
 -- 
 Frank W. Zammetti
 Founder and Chief Software Architect
 Omnytex Technologies
 http://www.omnytex.com
 
 On Mon, November 8, 2004 1:14 pm, Suleman Butt said:
  Hi ,
   Is there any tomcat release to be installed on a PDA (HP
  5500) devise with a specs 400mhz processor and 128mb ram. 
 Actually i 
  want to execute a semantic web service on a pda device.
  
  Could anybody help me in suggesting the appropriate set of 
 softwares 
  required.
  
  Regards Suleman.
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 



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



RE:

2004-07-20 Thread Mike Jackson
What are these BMP files coming from this guy?

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


 -Original Message-
 From: Craigmcc [mailto:[EMAIL PROTECTED] 
 Sent: Monday, July 19, 2004 11:33 PM
 To: Tomcat-user
 Subject: Re:
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



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



RE:

2004-07-20 Thread Mike Jackson
There was one a couple of days ago that was key:# but I don't remember
what the number was.  Still the emails are strange, but don't appear to be a
virus that I know about.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


 -Original Message-
 From: Joel [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, July 20, 2004 6:47 PM
 To: Tomcat Users List
 Subject: Re:
 
 
  What are these BMP files coming from this guy?
 
 Well, Craig is not the kind of guy to let a virus run on his 
 machine very long in the first place, and most viruses these 
 days spoof the sender, so it's hard to tell where the 
 compromised machine is.
 
 But, since you ask, I just checked, and the file is only 
 about 3Kb long, so I scanned it with the anti-virus (nothing) 
 and then took a look at it.
 
 (No double-clicking, of course.)
 
 It looks like a number underlined, maybe intended for use as 
 a graphic link.
 
 Craig sure seems to be quiet on the users list these days.
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



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



RE: Apache 1.3 not loading Mod_Jk.so

2004-07-16 Thread Mike Jackson
Did you move the mod_jk.so file into $APACHE_HOME/libexec?  Did the compile
work properly?  Are you sure that the mod_jk.so is really the apache module
and not something else (there's a way to determine this but I can't remember
how)?

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Friday, July 16, 2004 11:26 AM
 To: [EMAIL PROTECTED]
 Subject: RE: Apache 1.3 not loading Mod_Jk.so
 
 
 Anyone have any ideas on this ?
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, July 15, 2004 4:09 PM
 To: [EMAIL PROTECTED]
 Subject: Apache 1.3 not loading Mod_Jk.so
 
 All, 
 
   If anyone can help me I would be forever grateful, I 
 have spent hours on this problem. I am installing Apache 1.3 
 and Tomcat 4.0 on AIX. Apache installs great and tomcat 
 installs great. I am trying to build mod_jk.so from jk-1.2.5. 
 The mod_jk.so builds, but my htttpd.conf and apache fails 
 with the following error:
 
  
 
 Syntax error on line 202 of /usr/local/apache/conf/httpd.conf:
 
 Can't locate API module structure `jk_module' in file
 /usr/local/apache/libexec/mod_jk.so: Function not implemented 
 (jk_module)
 
 /usr/local/apache/bin/apachectl restart: httpd could not be started
 
  
 
  
 
 This is my build method (I have pasted output to be helpful):
 
  
 
 1) gunzip jakarta-tomcat-connectors-jk-1.2.5-src.tar.gz
 
 2) tar -xvf jakarta-tomcat-connectors-jk-1.2.5-src.tar
 
 3) cd 
 /usr/local/tomcat/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native
 
 4) ./buildconf.sh  
 
libtoolize --force --automake --copy
 
aclocal
 
automake -a --foreign -i --copy
 
autoconf
 
 5) ./configure --with-apxs=/usr/local/apache/bin/apxs
 
checking for libtool... /usr/local/bin/libtool
 
need to check for Perl first, apxs depends on it...
 
checking for perl... /usr/bin/perl
 
building connector for apache-1.3
 
checking for target platform... unix
 
no apache given
 
configure: creating ./config.status
 
config.status: creating Makefile
 
config.status: creating apache-1.3/Makefile
 
config.status: creating apache-1.3/Makefile.apxs
 
config.status: creating apache-2.0/Makefile
 
config.status: creating apache-2.0/Makefile.apxs
 
config.status: creating common/Makefile
 
config.status: creating common/list.mk
 
config.status: creating jni/Makefile
 
config.status: executing depfiles commands
 
 6) make
 
cp .libs/mod_jk.lai 
 /usr/local/tomcat/jakarta-tomcat-connectors-jk-
 1.2.5-src/jk/native/apache-1.3/mod_jk.la
 
libtool: install: warning: remember to run `libtool 
 --finish /usr/local/apache/libexec'
 
make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native/apache-1.3'
 
make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native'
 
make[1]: Nothing to be done for `all-am'.
 
make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native'
 
target=all; \
 
list='common apache-1.3'; \
 
for i in $list; do \
 
echo Making $target in $i; \
 
if test $i != .; then \
 
(cd $i  make $target) || exit 1; \
 
fi; \
 
done;
 
Making all in common
 
make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native/common'
 
make[1]: Nothing to be done for `all'.
 
make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native/common'
 
Making all in apache-1.3
 
make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native/apache-1.3'
 
/usr/local/bin/libtool --mode=install cp mod_jk.la 
 `pwd`/mod_jk.so
 
cp .libs/mod_jk.a 
 /usr/local/tomcat/jakarta-tomcat-connectors-jk-
 1.2.5-src/jk/native/apache-1.3/mod_jk.a
 
cp .libs/mod_jk.lai 
 /usr/local/tomcat/jakarta-tomcat-connectors-jk-
 1.2.5-src/jk/native/apache-1.3/mod_jk.la
 
libtool: install: warning: remember to run `libtool 
 --finish /usr/local/apache/libexec'
 
make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native/apache-1.3'  
 
 7) cd apache-1.3
 
 8) ls
 
 .cvsignoreMakefile.apxs Makefile.libdir   mod_jk.a
 mod_jk.exp
 
 .libs Makefile.apxs.in  Makefile.tmpl mod_jk.c
 mod_jk.la
 
 Makefile  Makefile.in   libjk.module  mod_jk.dsp
 mod_jk.lo
 
 9) No mod_jk.so is produced so I manually build the file
 
 10)  /usr/local/apache/bin/apxs -I ../common -I 
 /usr/java14/include -i -a -c mod_jk.c ../common/*.c -o mod_jk.so
 
 gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX 
 -DUSE_EXPAT -I../lib/expat

RE: Clob Problem

2004-07-12 Thread Mike Jackson
Oracle?  If so you have a limit of like 4k if you're using 8i or less.  You
can get it to do more but you have to use oracle driver specific code rather
than just straight JDBC.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


 -Original Message-
 From: Craig Christophersen [mailto:[EMAIL PROTECTED] 
 Sent: Monday, July 12, 2004 11:49 AM
 To: [EMAIL PROTECTED]
 Subject: Clob Problem
 
 
 I am having problems with clobs data being printed out on the 
 front end. I am using BES 5.2.1 which includes TOMCAT 4.0 as 
 its web container. I am able create a DTO and printout the 
 clob data from the middletier through a session facade test 
 client.  The jar file and the delegate are installed 
 correctly. We did a couple of tests which included text data 
 and clob data - this failed at the findByPrimarykey call
 
  try {
 
 int textId = 146;
 
  TrialclobTextDelegate tctd = new TrialclobTextDelegate();
 
 TrialclobTextDto tctdto = 
 tctd.trialclobTextFindByPrimaryKey(textId);
 
 System.out.println(Data =  + tctdto.getData());
 
 System.out.println(Data2k =  + tctdto.getData2k());
 
 System.out.println(Data1k =  + tctdto.getData1k());
 
 System.out.println(Data500 =  + tctdto.getData500());
 
 System.out.println(Datac =  + 
 tctdto.getDataClob());// clob data
 
 } catch (Exception ex) {
 
 ex.getStackTrace();
 
 System.out.println(Exception =  + ex.getMessage());
 
 }
 
  When the DTO fields are created without the clob the above 
 code works just fine. The size of the Data field is 4K. There 
 seems to perhaps be a persistence problem related only to clobs.
 
  Any helpful hints would greatly appreciated.
 
 Craig Christophersen
 (406)496-6421
 [EMAIL PROTECTED]
 



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



RE: serving static content

2004-07-09 Thread Mike Jackson
Have you tried making a symbolic link from /usr/local/watermarks to
$TOMCAT_HOME/webapps/watermarks?

The syntax would be:

ln -s /usr/local/watermarks $TOMCAT_HOME/webapps/watermarks

Also check the manager app, tomcat may not be recognizing things, in which
case you'd not see it in the manager.  Or it might be that tomcat, for
whatever reason, isn't starting the context.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


 -Original Message-
 From: Matthew Hixson [mailto:[EMAIL PROTECTED] 
 Sent: Friday, July 09, 2004 2:48 PM
 To: Tomcat Users List
 Subject: Re: serving static content
 
 
 Under JBoss this file is 
 /usr/local/jboss/server/default/conf/jboss.web/localhost/ 
 watermarks.xml.  I've tried deleting that file and 
 restarting, but it  
 doesn't make a bit of difference.  The content of that file is:
 
 ?xml version='1.0' encoding='utf-8'?
 Context debug=99 docBase=/usr/local/watermarks 
 path=/watermarks  
 reloadable=true
 /Context
 
-M@
 
 On Jul 9, 2004, at 2:12 PM, Jim Cox wrote:
 
  I've had issues in the past with the generated webapp.xml 
 files that 
  Tomcat generates under ${TOMCAT_ROOT}/conf/Catalina/server/, for
  which
  stopping Tomcat, deleting the .xml file, and starting 
 Tomcat seemed to  
  fix.
 
  In your case that file might be:
/usr/local/tomcat/conf/Catalina/localhost/watermarks.xml
 
 
  
  This e-mail and attachments, if any, may contain 
 confidential and/or 
  proprietary information. Please be advised that the 
 unauthorized use 
  or disclosure of the information is strictly prohibited. If 
 you are not
  the
  intended recipient, please notify the sender immediately by reply  
  e-mail and
  delete all copies of this message and attachments. Thank you.
 
 
 
  -Original Message-
  From: Matthew Hixson [mailto:[EMAIL PROTECTED]
  Sent: Fri 09 July 2004 5:09 pm
  To: Tomcat Users List
  Subject: Re: serving static content
 
 
  I actually did try this already.  I have a WEB-INF with a 
 web.xml in 
  it.  The entire web.xml is:
 
  ---
  ?xml version=1.0?
  !DOCTYPE web-app PUBLIC
 -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
 http://java.sun.com/dtd/web-app_2_3.dtd;
 
  web-app
 
  /web-app
  ---
 
  I also made an empty lib directory beneath WEB-INF, but that didn't 
  help matters.
 -M@
 
  On Jul 9, 2004, at 1:58 PM, Jim Cox wrote:
 
  Not sure that you need it, but do you have a WEB-INF directory 
  underneath /usr/local/watermarks (i.e. 
  /usr/local/watermarks/WEB-INF/)? If so, do you
  have a web.xml file in there (even a skeletal one)?
 
  
  This e-mail and attachments, if any, may contain 
 confidential and/or 
  proprietary information. Please be advised that the 
 unauthorized use
  or
  disclosure of the information is strictly prohibited. If 
 you are not
  the
  intended recipient, please notify the sender immediately by reply
  e-mail and
  delete all copies of this message and attachments. Thank you.
 
 
 
  -Original Message-
  From: Matthew Hixson [mailto:[EMAIL PROTECTED]
  Sent: Fri 09 July 2004 4:59 pm
  To: Tomcat Users List
  Subject: Re: serving static content
 
 
Host name=localhost debug=99
  unpackWARs=true autoDeploy=true
  xmlValidation=false xmlNamespaceAware=false
 
  !-- ADD WATERMARKS DIRECTORY --
 Context path=/watermarks appBase=
docBase=/usr/local/watermarks
debug=99 reloadable=true
 /Context
 
 Valve className=org.apache.catalina.valves.AccessLogValve
  prefix=localhost_access_log. suffix=.log
  pattern=common 
  directory=${jboss.server.home.dir}/log
  resolveHosts=false /
 
 /Host
 
 
 
  On Jul 9, 2004, at 1:52 PM, Jim Cox wrote:
 
  What's your Context entry?
 
  
  This e-mail and attachments, if any, may contain 
 confidential and/or 
  proprietary information. Please be advised that the 
 unauthorized use 
  or disclosure of the information is strictly prohibited. 
 If you are 
  not the
  intended recipient, please notify the sender immediately by reply
  e-mail and
  delete all copies of this message and attachments. Thank you.
 
 
 
  -Original Message-
  From: Matthew Hixson [mailto:[EMAIL PROTECTED]
  Sent: Fri 09 July 2004 4:54 pm
  To: Tomcat Users List
  Subject: Re: serving static content
 
 
  I'm trying to serve images from /usr/local/watermarks.  The URL
  should
  be http://mymachine.com/watermarks/.  I've tried adding a 
 Context to
  server.xml, but every time I try to access
  http://mymachine.com/watermarks I get a 404 message:
 
  The requested resource (/watermarks/) is not available.
 
  This is with Tomcat 5.0.26 embedded in JBoss 3.2.4.  There are not
  any
  error messages in any

RE: I've officially decided that JSTL is one of the worst things to ever happen to mankind

2004-07-08 Thread Mike Jackson
You know you could just not write any jsps or servlets and do everything in
filters.  That's my personal preference.  :)

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


-Original Message-
From: Woodchuck [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 08, 2004 11:52 AM
To: Tomcat Users List
Subject: RE: I've officially decided that JSTL is one of the worst things to
ever happen to mankind


i program in ones and zeroes only!! :D

0110110101110111011101010110111101101111011011110010
0001001000100110100100100110010001100010011101101100
0110111001101101000100100111011100100110011001110111
00100111011011010110110101101001011011100110011100100110100101101110
0010011000100110100101101110011101110010000100110011


--- SANTOS, DANIEL (SBCSI) [EMAIL PROTECTED] wrote:
 
 Assembly is impure and bloated by the macro-Assembly to machine code 
 translation.  If you are worth your weight, you can just write it all 
 in hex, and with dipswitches.  DEATH TO ALL KEYBOARD USERS!!!
 
 Daniel




__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

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



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



RE: Apache miss handling jsp files

2004-07-06 Thread Mike Jackson
The mapping for file extensions to tomcat is missing.  Typically this is in
a configuration file, I use mod_jk, so in my case I've got it in a
mod_jk.conf file.  Your webapp's configuration in the file should look
something like this:

Alias /imw /web_app/tomcat/webapps/imw
Directory /web_app/tomcat/webapps/imw
Options Indexes FollowSymLinks
/Directory
JkMount /imw/* ajp13
Location /imw/WEB-INF/
AllowOverride None
deny from all
/Location

This isn't the best example as I've been lazy and told apache to pass all
requests for imw to tomcat for handling, you can change the JkMount line
to specify the file masks for the files to be routed to tomcat.  Typically
you'd want to map all *.jsp, *.do, etc to tomcat.  That'd look something
like this:

JkMount /imw/*.jsp ajp13
JkMount /imw/*.do ajp13

You can have as many JkMount statements as you want (within reason), in most
cases you'll find that you don't need more than 5 or 6.  Generally getting
*.jsp and *.do (assuming you're using struts) should do it.  If you have a
servlet that handles all requests for a given subdirectory you can do that
by just adding the directory after the context and then having * for the
file match.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


-Original Message-
From: James Pohl [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 06, 2004 2:42 PM
To: [EMAIL PROTECTED]
Subject: Apache miss handling jsp files


I have tomcat 4 installed on a RedHat based server.

I have aliases set up for a test domain. 

The site works fine when going to the test domain :8080, but when I try to
go to the site without port :8080 the original tomcat page comes up. So it
seems tomcat is working properly because the 8080 port answers correctly. So
when apache answers it seems to ignore the DocumentRoot's index.jsp and
serves the tomcat page.  If I go to a phpinfo.php page within the
DocumentRoot apache will answer properly.

 Can someone shed some light as to what I'm missing in the server set up.


Thank you in advance for any help you can provide

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



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



RE: when does Tomcat spawn children and/or fork ?

2004-07-06 Thread Mike Jackson
I have a webapp that runs an external process to do some processing.  When
that's running I have an extra tomcat process listed when I do a ps.  It's
not really tomcat, but something about the way that the JVM forks processes
makes it look like it's another tomcat.  When the processes finishes the
extra tomcat goes away and I'm back down to one.  It could be that you've
got something simliar going on in the webapp(s) that you're running.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


-Original Message-
From: Jim Cox [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 06, 2004 2:58 PM
To: 'Tomcat Users List'
Subject: RE: when does Tomcat spawn children and/or fork ?


 : While using Tomcat 5.0.19 on Solaris 8 I occasionally see more than 
 one
 : Tomcat process running (as reported by ps -aef). In each case the
extra
 : process is a child of the original Tomcat process, exists for no 
 more
than a
 : few seconds, seems to cause no trouble, and (troublingly?) leaves no
trace
 : in the log files.

 Since you've ruled out JSP compilation issues, it's time for some 
 detective work: are you able to trace the extra PID?

 In other words, does the process completley disappear, or does it 
 exec() and thus become some other command?
 
 -QM

All indications are that it goes away, apparently within a few seconds.

I agree about the need for detective work, just hoping to discover the
known areas where Tomcat can be expected to spawn new processes (and set up
test cases to examine those first). In the short-term I'll probably add a
log stmt or two directly to startup.sh / catalina.sh to either catch the
invocation or rule that out.

By the way, the only interesting thing I've found so far is that it appears
during periods of heavy load (%CPU-wise). 



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



RE: Getting url which submitted form

2004-06-24 Thread Mike Jackson
Put a hidden field in the form with and identifier that you can use to
determine which form it was that submitted it.  I'd also suggest another
hidden field to store a transaction id field so you can detect if it's a
re-submittal of previously submitted information.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


-Original Message-
From: Mark Thias [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 24, 2004 4:01 PM
To: Tomcat User Group (E-mail)
Subject: Getting url which submitted form



Using Tomcat 5.0.26.

I'm trying to find out the name of the JSP page which submitted a form.

For example, I have a form in MyFirstPage.JSP.

form id=MyFirstPage method=post action=MyNextPage.jsp
 input class=actionButton type=submit name=Submit
value=Continue / /form

Upon clicking submit, a post is submitted to MyNextForm.jsp. Is there a way
to retrieve the name of the submitting JSP page (MyFirstPage.JSP) while
processing the HttpServletRequest parameters inside MyNextForm.jsp.


Thank you,
  Mark Thias



This email may contain confidential and privileged material for the sole use
of the intended recipient. Any review or distribution by others is strictly
prohibited. If you are not the intended recipient please contact the sender
and delete all copies.



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



RE: Where is Digester?

2004-06-10 Thread Mike Jackson
commons-digester-1.5.tar.gz

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


-Original Message-
From: Barnet Wagman [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 10, 2004 10:07 AM
To: [EMAIL PROTECTED]
Subject: Where is Digester?


Could some tell me which jar file contains

org/apache/commons/digester/Digester

and where the path to it gets specified in server.xml (Tomcat 5)?

I've added a second service to my server.xml file (to support a second 
IP address). When Tomcat starts, the second service is throwing a

java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester

(FYI the problem probably has to do with how I specified the Engine and 
Hostname.  On the first service I used 'localhost', in the second I used 
the actual domain name. Tomcat is able to server html from the second, 
so the domain name is correct.)

Thanks,

bw

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



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



RE: Where is Digester?

2004-06-10 Thread Mike Jackson
I didn't read that fully, the file is in ${tomcat_home}/server/lib or at
least it should be.

But it's still commons-digester.jar (I was wrong in the other message,
that was the archive of it).

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


-Original Message-
From: Barnet Wagman [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 10, 2004 10:07 AM
To: [EMAIL PROTECTED]
Subject: Where is Digester?


Could some tell me which jar file contains

org/apache/commons/digester/Digester

and where the path to it gets specified in server.xml (Tomcat 5)?

I've added a second service to my server.xml file (to support a second 
IP address). When Tomcat starts, the second service is throwing a

java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester

(FYI the problem probably has to do with how I specified the Engine and 
Hostname.  On the first service I used 'localhost', in the second I used 
the actual domain name. Tomcat is able to server html from the second, 
so the domain name is correct.)

Thanks,

bw

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



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



struts validator

2004-04-13 Thread mike jackson
I'm using masks to validate some fields using the validator in struts.  But
my masks are getting extremely complex trying to deal with both lower case
and upper case possibilities.  Is there a way to specify that the mask
should be evaluated as case insensitive?

--mikej
-=--
mike jackson
[EMAIL PROTECTED]




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



RE: struts validator

2004-04-13 Thread mike jackson
Yes there is, it works quite nicely I don't really want to re-write it.  I
just want to know if there's a property I can set on the mask or something
to be case insensitive.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: electroteque [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 13, 2004 2:22 PM
 To: Tomcat Users List
 Subject: RE: struts validator
 
 Is there a form validator in struts, is it customizable ? If so maybe
 extend
 the class ?
 
  -Original Message-
  From: mike jackson [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, April 14, 2004 8:17 AM
  To: 'Tomcat Users List'
  Subject: struts validator
 
 
  I'm using masks to validate some fields using the validator in
  struts.  But
  my masks are getting extremely complex trying to deal with both lower
 case
  and upper case possibilities.  Is there a way to specify that the mask
  should be evaluated as case insensitive?
 
  --mikej
  -=--
  mike jackson
  [EMAIL PROTECTED]
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



RE: Protected message

2004-03-31 Thread mike jackson
?

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 31, 2004 2:06 PM
 To: [EMAIL PROTECTED]
 Subject: Protected message
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



RE: The purpose of WEB-INF\classes ?

2004-03-01 Thread mike jackson
The first reason I can think of is configuration files.  I have one
environment on my development box, another on the test deployment box and
yet another on the final production server.  Depending on the box I'm on I'm
going to use different database URLs at a minimum and quite often I'm having
to use different directories for temporary/permanent files depending on
whether I'm on windows or unix.  If I put those configure files into jar
files I'd have to unjar the jars, change the files and then rejar the files
again.  It's much easier to leave those out of the jar files and have them
in the classes folder where you can just go and edit them.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] On Behalf Of George Hester
 Sent: Monday, March 01, 2004 5:46 PM
 To: [EMAIL PROTECTED]
 Subject: The purpose of WEB-INF\classes ?
 
 This is not a question to fix a problem other then one in my head.  I am
 not sure what the difference is putting a jar in a \WEB-INF\lib and
 setting up a \WEB-INF\classes.  Since a jar usually just includes class
 files if we put a jar in the webapp's \WEB-INF\lib what would be the
 purpose of setting the tree of classes expanded in WEB-INF\classes?
 
 Let me give an example.  In Tomcat 4.1.30 there is a server folder.  Under
 this exists webapps.  And then under this are two folders admin and
 manager.  Looking at the admin webapp you will find its WEB-INF and under
 that it has a lib and a classes folder.  The lib folder contains just one
 jar, ie: struts.jar.  But the classes folder contains the tree of what
 looks to me is the structure of a jar ie; org | apache | webapp |
 admin| ...  I am not sure if this is just an expanded struts.jar but it
 looks to be.  If not struts.jar then likely some other jar.
 
 So my question is what is the purpose of having an extracted jar structure
 under a classes folder?  I have made my own webapp but I do not have a
 classes folder under that because I have yet to come across the purpose of
 when it is necessary?  Thanks.
 
 --
 George Hester
 __
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



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



RE: [Fwd: Catalina suspends for no reason?!?]

2004-02-04 Thread mike jackson
Orangevale is fine, my phone is either 916 987 3600 x0 or 916 212 2019.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: Josh Rehman [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, February 04, 2004 1:36 PM
 To: Tomcat Users List
 Subject: Re: [Fwd: Catalina suspends for no reason?!?]
 
 I was under the impression that the start script first checks for
 another Tomcat instance, and bails if it finds one. Is that not true?
 
 Sam Seaver wrote:
  I have discovered something that may be in effect linked to my previous
  email, regard catalina.sh:
 
  I use `catalina.sh stop` and `catalina.sh start -security` to restart
  the tomcat web server.
 
  However, I have come to realise that on occaison, the 'stop' command
  does not work, and when I restart, I thereafter create two copies of the
  original tomcat. this should not be possible because the first tomcat
  should be using the same port, and thus blocking the restart, but
  somehow, the restart does happen??
 
  When I stop the second process, then tomcat officially stops working,
  even though the original process is still runnning.
 
  Has this happened to anyone else?
  Thanks
  Sam Seaver
 
 
   Original Message 
  Subject: Catalina suspends for no reason?!?
  Date: Wed, 04 Feb 2004 10:38:16 -0600
  From: Sam Seaver [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
 
 
 
  I have Catalina Tomcat 4.1.24 connected via jk2 to Httpd 2.0.47 on RH9.
 
  It seems every now and then, tomat just simply hangs.  When I try to
  shutdown the Catalina process via catalina.sh, it doesnt remove the
  process?! So I have to 'kill -15' it, then start up catalina again.
 
  I get very little information as to what happened, but checking jkstatus
  I can see where the requests stopped in the scoreboard. It's hard to
  tell sometimes, because httpd serves up the html pages just fine, but
  its only when I try to access a *.jsp page that i realise catalina is
  hanging again.
 
  The only errors I get are from httpd as listed below:
 
  [Wed Feb 04 09:37:47 2004] [error] msgAjp.receive(): Bad signature 00
  [Wed Feb 04 09:37:47 2004] [error] channelSocket.receive(): Bad header
  [Wed Feb 04 09:37:47 2004] [error] workerEnv.processCallbacks() Error
  reading reply
  [Wed Feb 04 09:37:47 2004] [error] ajp13.service() ajpGetReply
  recoverable error 12
  [Wed Feb 04 09:37:47 2004] [error] channelSocket.open() connect failed
  127.0.0.1:8009 111 Connection refused
  [Wed Feb 04 09:37:47 2004] [error] ajp13.connect() failed
  ajp13:localhost:8009
  [Wed Feb 04 09:37:47 2004] [error] ajp13.service() failed to connect
  endpoint errno=111 Connection refused
 
  all these lines are repeated numerous times but at the exact same time,
  to the second, when i tried accessing the JSP page.
 
  Previously, tomcat would hang on a sunday morning, and I disabled the
  jk2 logging feature and it seems to fix this, but it has now since
  hanged again.
 
  Does anyone have any idea what is happening?
  thanks
  Sam
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 --
 Thanks,
 Josh Rehman
 Citysearch Toolsdev, 3559
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



RE: [Fwd: Catalina suspends for no reason?!?]

2004-02-04 Thread mike jackson
Oops, please ignore...

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: mike jackson [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, February 04, 2004 1:45 PM
 To: 'Tomcat Users List'
 Subject: RE: [Fwd: Catalina suspends for no reason?!?]
 
 Orangevale is fine, my phone is either 916 987 3600 x0 or 916 212 2019.
 
 --mikej
 -=--
 mike jackson
 [EMAIL PROTECTED]
 
 
 
  -Original Message-
  From: Josh Rehman [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, February 04, 2004 1:36 PM
  To: Tomcat Users List
  Subject: Re: [Fwd: Catalina suspends for no reason?!?]
 
  I was under the impression that the start script first checks for
  another Tomcat instance, and bails if it finds one. Is that not true?
 
  Sam Seaver wrote:
   I have discovered something that may be in effect linked to my
 previous
   email, regard catalina.sh:
  
   I use `catalina.sh stop` and `catalina.sh start -security` to restart
   the tomcat web server.
  
   However, I have come to realise that on occaison, the 'stop' command
   does not work, and when I restart, I thereafter create two copies of
 the
   original tomcat. this should not be possible because the first tomcat
   should be using the same port, and thus blocking the restart, but
   somehow, the restart does happen??
  
   When I stop the second process, then tomcat officially stops working,
   even though the original process is still runnning.
  
   Has this happened to anyone else?
   Thanks
   Sam Seaver
  
  
    Original Message 
   Subject: Catalina suspends for no reason?!?
   Date: Wed, 04 Feb 2004 10:38:16 -0600
   From: Sam Seaver [EMAIL PROTECTED]
   Reply-To: Tomcat Users List [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
  
  
  
   I have Catalina Tomcat 4.1.24 connected via jk2 to Httpd 2.0.47 on
RH9.
  
   It seems every now and then, tomat just simply hangs.  When I try to
   shutdown the Catalina process via catalina.sh, it doesnt remove the
   process?! So I have to 'kill -15' it, then start up catalina again.
  
   I get very little information as to what happened, but checking
 jkstatus
   I can see where the requests stopped in the scoreboard. It's hard to
   tell sometimes, because httpd serves up the html pages just fine, but
   its only when I try to access a *.jsp page that i realise catalina is
   hanging again.
  
   The only errors I get are from httpd as listed below:
  
   [Wed Feb 04 09:37:47 2004] [error] msgAjp.receive(): Bad signature 00
   [Wed Feb 04 09:37:47 2004] [error] channelSocket.receive(): Bad header
   [Wed Feb 04 09:37:47 2004] [error] workerEnv.processCallbacks() Error
   reading reply
   [Wed Feb 04 09:37:47 2004] [error] ajp13.service() ajpGetReply
   recoverable error 12
   [Wed Feb 04 09:37:47 2004] [error] channelSocket.open() connect failed
   127.0.0.1:8009 111 Connection refused
   [Wed Feb 04 09:37:47 2004] [error] ajp13.connect() failed
   ajp13:localhost:8009
   [Wed Feb 04 09:37:47 2004] [error] ajp13.service() failed to connect
   endpoint errno=111 Connection refused
  
   all these lines are repeated numerous times but at the exact same
time,
   to the second, when i tried accessing the JSP page.
  
   Previously, tomcat would hang on a sunday morning, and I disabled the
   jk2 logging feature and it seems to fix this, but it has now since
   hanged again.
  
   Does anyone have any idea what is happening?
   thanks
   Sam
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
 
  --
  Thanks,
  Josh Rehman
  Citysearch Toolsdev, 3559
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



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



Recall: [Fwd: Catalina suspends for no reason?!?]

2004-02-04 Thread mike jackson
The sender would like to recall the message, [Fwd: Catalina suspends for no 
reason?!?].
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Benefits of Apache Server

2003-12-16 Thread mike jackson
Two things come to mind:

CGI-BIN support that's easy to setup (I've never gotten them working
in tomcat)

Faster serving of static pages

Perl and PHP support (again this can be done other ways, but it's
easier this way IMHO)

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: Sleeper, Jesse [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, December 16, 2003 2:25 PM
 To: Tomcat Users List
 Subject: Benefits of Apache Server
 
 
 Could someone point me where I might find what real added benefit
 (performance, security or otherwise) that I might recieve by integrating
 Apache with my Tomcat Server?
 
 Thanks,
 
 Jester
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



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



RE: wierd error.....

2003-11-04 Thread mike jackson
Gah, now we get spam on the mailing list.  How lame.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: Tracy Saward [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 04, 2003 2:50 PM
 To: 'Tomcat Users List'
 Subject: RE: wierd error.
 
 Hi,
 
 We are independent consultants currently undertaking a study of
 satisfaction
 among end-users of Open Source Software, notably Tomcat, for a company
 which
 has asked us for recommendations in terms of deploying policy for such
 systems.
 I was hoping to set up a quick (5 minute) telephone interview with
 yourself
 or the appropriate person to discuss your experience with this product to
 date.
 
 Please feel free to telephone me anytime, or reply to this e-mail
 indicating
 an appropriate time/person for me to recall.
 
 Thanks for your gracious attention to this request!
 
 Best regards,
 
 Tracy
 
 
 Tracy Saward
 Fleetward Group
 85 Maskell Street
 St Heliers
 Auckland
 New Zealand
 Tel:   64 9 575 1626
 Fax:   64 9 585 0939
 Mail: [EMAIL PROTECTED]
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, November 05, 2003 10:54 AM
 To: [EMAIL PROTECTED]
 Subject: wierd error.
 
 
 When i have the code below in my web.xml file...
 
 error-page
 error-code404/error-code
 location/file_not_found.jsp/location
 /error-page
 
 I get this error
 
 2003-11-04 16:31:46 ErrorDispatcherValve[localhost]: Exception Processing
 ErrorPage[errorCode=404, location=/file_not_found.jsp]
 java.net.SocketException: Connection reset by peer: socket write error  at
 java.net.SocketOutputStream.socketWrite0(Native Method)  at
 java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
 
 ...
 ...
 
 
 I know the error-page  tag is causing the error because the error is no
 longer present after the tag has been removed..does anyone have any
 ideas.
 
 Russ-
 
 
 
 
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



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



RE: GIF

2003-10-31 Thread mike jackson
It's Unisys' patent on LZW that was the problem, or at least that was my
understanding.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: Pike [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 31, 2003 9:09 AM
 To: Tomcat Users List
 Subject: OT: GIF
 
 Hi
 
  You can generate jpegs and pngs but not gifs because the gif image
  format is
  commercial. I think you must have a license to create gif images.
 
 rumour is the GIF license is free again. Compuserve gave it up. Free
 software
 will (in time) be able to support it again ... if they wish...
 
 I can't really confirm that rumour though. anyone ?
 
 cu
 *pike
 
 =
 Microsoft: HOWTO: Read the Fucking Manual
 
 This article demonstrates how to read the fucking manual
 http://radio.weblogs.com/0001263/junk/Q209354%20-%20HOWTO.html
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



RE: JDBC/classes12.jar

2003-10-23 Thread mike jackson
Just use the current version of the driver, the oracle drivers all seem to
be backwards compatable.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: Steve Harris [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 23, 2003 9:52 AM
 To: [EMAIL PROTECTED]
 Subject: JDBC/classes12.jar
 
 Hi all,
 
 I have a set of applications that work with the Oracle 8.1.6 classes12.jar
 which is in .../common/lib/classes/.  I have one application that needs
 the classes2.jar from an Oracle 9.2 release.  I guess my question is can I
 drop the 9.2 classes12.jar file into a local location for the application
 - like .../app/WEB-INF/classes and will the application then look there
 for
 the .jar first ?
 
 Cheers all - Steve
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



RE: Tomcat mysteriously stops responding...

2003-10-22 Thread mike jackson
When this has happened to me it's usually been the database connection pool
that I'm using.  Or was using.  If it looks like you had a bunch of
connections prior to the restart and very few after then you've found your
culprit.  You database should be able to give you a connection count, but
the way to get it depends on the database so I can't help you there.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: Sonny Sukumar [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 22, 2003 3:25 PM
 To: [EMAIL PROTECTED]
 Subject: Tomcat mysteriously stops responding...
 
 
 Hey guys,
 
 I've had the persistent problem with Tomcat (using
 Cocoon) over some months now where when I go to bed at
 night my Tomcat/Cocoon server is functioning just fine
 and I can access all web pages, both static and
 dynamically generated (from a backend db).
 
 But when I wake up and try to access the pages the
 connection just times out and I get a totally blank
 response.  This doesn't happen every single day, but
 often enough to be annoying.  We're soon going live
 with the site, so this happening **at all** is a scary
 thought.  I can't seem to figure out what the problem
 could be.
 
 I'm fairly sure it's Tomcat because restarting Tomcat
 almost always solves the problem.  I've had this
 problem through all my Tomcat upgrades (4.1.12 all the
 way to 4.1.27 now) and my Cocoon upgrades (from 2.0.x
 all the way until latest 2.1.2).
 
 Has anybody else experienced this?  Any idea what it
 could be?
 
 Thanks!
 
 Sonny
 
 __
 Do you Yahoo!?
 The New Yahoo! Shopping - with improved product search
 http://shopping.yahoo.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



RE: tomcat 3.1.3 - how to define java params?

2003-10-22 Thread mike jackson
You can also use:

THREAD_MODE=green java ..

I'm not sure 100% of the environment variable, but it's something along
those lines, look in the JVM release notes for your platform (I'm assuming
it's a Unix of some flavor, Winders would be different).

Also the - Xmx32m shouldn't have a space in it.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: Volker [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 22, 2003 3:28 PM
 To: Tomcat Users List
 Subject: Re: tomcat 3.1.3 - how to define java params?
 
 Larry Isaacs schrieb:
 
  In Tomcat 4.1.x, both CATALINA_OPTS and JAVA_OPTS do the same thing.
  Settings placed in one would work the same if placed in the other.
  Having the two allows you to be a little more organized by letting
  you separate settings intended for the JVM from settings intended for
  for the server.
 
  In Tomcat 3.3.x, you only have TOMCAT_OPTS, but it does the same
  thing as both of those above.
 
  Cheers,
  Larry
 
 Hi Larry,
 
 thanks for your fast reply. Well I tried TOMCAT_OPTS but it did not work
 with '-green - Xmx32m'. The JDK started in native mode.
 But obviously I made something wrong and will check it out once more!
 
 
 Best regards
 
 Volker
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



RE: Bugs and weakness when Tomcat works a NT Service (tcservcfg)

2003-10-21 Thread mike jackson
Tomcat (as far as I know) doesn't use the registry settings.  The service
side of things probably would, but tomcat should be looking at it's config
files.  

Check your oracle driver version, you want to make sure that you're either
on the current driver for your version of the database, or the latest
driver.  Either or, doesn't matter to much either way.

Another thing I've seen is when working with servlets and dispatching to a
jsp that the url for the dispatch which works on one server may not work on
another.  You could be barking up the wrong tree with the result set, even
though the error says that it's the line with the result set.  I've had a
couple of times where the line number from the error didn't exactly match up
with the line that it should have been.  I usually find that it's helpful to
put in debug output when I'm seriously stumped.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Jose Euclides da Silva Junior - DATAPREVRJ
 [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 21, 2003 12:40 PM
 To: 'Tomcat Users List'; '[EMAIL PROTECTED]';
 '[EMAIL PROTECTED]'
 Subject: RES: Bugs and weakness when Tomcat works a NT Service (tcservcfg)
 
 Dear Chuck and friends,
 here is all steps taken:
 1 - disable old tomcat's service
 2 - download new tomcat 4.1.17
 3 - install it as a NT service
 4 - process of app configuration ( server.xml, web.xml and adding folders
)
 AGAIN, the old big problem still alive: only the static pages are
 availables, so whenever my app tries to use ResultSet, I get that known
 error message:
 
 HTTP Status 500 -
 
 type Exception report
 
 message
 
 description The server encountered an internal error () that prevented
 it from fulfilling this request.
 
 exception
 
 java.lang.NullPointerException
   at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
 
 Really, what is wrong with this procedure? Let me remind you: since i have
 runned  this fucking tcservcfg ( to turn tomcat a service), my app have
 never been running correctly anymore.Probably, some NT internal
 configuration was wrongly mismatched by tcservcfg.
 Any last hint?
 
 -Mensagem original-
 De: Goehring, Chuck Mr., RCI - San Diego
 [mailto:[EMAIL PROTECTED]
 Enviada em: terça-feira, 21 de outubro de 2003 16:00
 Para: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Apache. Org (E-mail)
 Assunto: RES: Bugs and weakness when Tomcat works a NT Service
 (tcservcfg)
 
 
 Jose,
 
 Yes.  I'd rename the top level dir so you have your servlets, jsps and
 images saved.  Otherwise, I'd zip it and copy it somewhere.
 
 Chuck
 
 -Original Message-
 From: Jose Euclides da Silva Junior - DATAPREVRJ
 [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 21, 2003 10:45 AM
 To: 'Tomcat Users List'; Goehring, Chuck Mr., RCI - San Diego
 Subject: RES: Bugs and weakness when Tomcat works a NT Service
 (tcservcfg)
 
 
 Thank you, Chuck. I will do it! So, i should keep saved the existing
 server.xml and web.xml files before the new installation starts, i
guess...
 Isnt it?
 Euclides
 
 -Mensagem original-
 De: Goehring, Chuck Mr., RCI - San Diego
 [mailto:[EMAIL PROTECTED]
 Enviada em: terça-feira, 21 de outubro de 2003 14:37
 Para: Tomcat Users List
 Assunto: RE: Bugs and weakness when Tomcat works a NT Service
 (tcservcfg)
 
 
 Jose,
 
 Uninstall Tomcat.
 Start the installer and one of the screens has a list of products (Tomcat,
 Source etc) if you scroll down, there is and unchecked item that says to
 install it as a service.  You must check this one to get it installed.  If
 you are re-installing you also need to make sure it installs in the same
 directory to prevent other problems.
 
 Once the installer completes you can run it as a service or disable the
 service and use the startup.bat in the bin directory to start it from a
 command prompt.  Sometimes this is desirable when debugging things that go
 wrong at startup.
 
 Chuck
 
 
 -Original Message-
 From: Jose Euclides da Silva Junior - DATAPREVRJ
 [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 21, 2003 10:28 AM
 To: 'Tomcat Users List'; Goehring, Chuck Mr., RCI - San Diego
 Subject: RES: Bugs and weakness when Tomcat works a NT Service
 (tcservcfg)
 
 
 Where is this checkbox? How can i reach there? I am talking about TomCat
 4.1.18...
 
 -Mensagem original-
 De: Goehring, Chuck Mr., RCI - San Diego
 [mailto:[EMAIL PROTECTED]
 Enviada em: terça-feira, 21 de outubro de 2003 14:22
 Para: Tomcat Users List
 Assunto: RE: Bugs and weakness when Tomcat works a NT Service
 (tcservcfg)
 
 
 Jose,
 
 I spent a long time trying to manually setup Tomcat to run as a service.
 Finally ended up re-installing and checking the little checkbox that makes
 it usable as a service.  It is unchecked by default. Once it is installed,
 you can change the account it executes as in the services thingy in
 control
 panel.
 
 Chuck
 
 -Original Message-
 From: Jose Euclides da Silva Junior - DATAPREVRJ
 [mailto

RE: Java/JSP/Servlet Programmer

2003-10-17 Thread mike jackson
Why in you area?  You might have an easier time finding someone to work
remotely.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: Ruben Gamez [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 11:33 AM
 To: [EMAIL PROTECTED]
 Subject: Java/JSP/Servlet Programmer
 
 I'm looking for an experienced JSP/Servlet programmer located in our
 area.  We're located in West Palm Beach, FL.  We've tried posting the
 Job on Monster, and looking for candidates on there, but still cannot
 find someone that can do the job.


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



RE: Java/JSP/Servlet Programmer

2003-10-17 Thread mike jackson
Hmm, I could see where people would have difficulty.  Since the answers are
there's 5 methods and nothing (servlet is an interface).

--mikej
-=--
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Ruben Gamez [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 12:33 PM
 To: Tomcat Users List
 Subject: RE: Java/JSP/Servlet Programmer
 
 Ok... here's two questions...
 
 1. Off the top of your head, what two methods are required in a Servlet?
 What two parameters do they take?
 
 2. What does a Servlet extend?
 
 
 -Original Message-
 From: Mike Curwen [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 4:30 PM
 To: 'Tomcat Users List'
 Subject: RE: Java/JSP/Servlet Programmer
 
 As off-topic as it is, I'm sure lots of us are *real* curious by now
 what an example question would be on your 'simple test'.  :)
 
 
 
  -Original Message-
  From: Ruben Gamez [mailto:[EMAIL PROTECTED]
  Sent: Friday, October 17, 2003 3:23 PM
  To: Tomcat Users List
  Subject: RE: Java/JSP/Servlet Programmer
 
 
  Yes, well, I'm only asking for 1 1/2+ years experience in JSP
   Servlets and I'm still having trouble.  I was asking for
  ColdFusion as well, but I've given up on that.  I'll just
  have to train the new developer on CF later on.
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Friday, October 17, 2003 4:15 PM
  To: Tomcat Users List
  Subject: Re: Java/JSP/Servlet Programmer
 
  I agree. I worked for a place that listed C++ in all there
  job listings,
 
  but there was not one line of C in the whole company. I asked who was
  programming C, but they didn't know what I was talking about. LOL
 
 
  Thank You,
 
  Justin A. Stanczak
  Web Manager
  Shake Learning Resource Center
  Vincennes University
  (812)888-5813
 
 
 
 
  John B. Moore [EMAIL PROTECTED]
  10/17/2003 03:10 PM
  Please respond to Tomcat Users List
 
 
  To: Tomcat Users List [EMAIL PROTECTED]
  cc:
  Subject:Re: Java/JSP/Servlet Programmer
 
 
  Yeah, and those of us that do have the credentials get lost in the
  forest.  (Not to mention the observation that many of these job
  postings want the person to have x years of experience in
  6-7 different
 
  areas, mostly unrelated and the total experience years exceeds most
  normal human's productive lifespans, even accounting for reasonable
  overlap...G)
 
  John..
 
  Hart, Justin wrote:
 
  That's what I've found.  The market is full of tech workers, but that
  doesn't mean that they're a programmer, or as familiar with
  technology X
 
  (for position Y) as they should be.  I went to a job fair a
  couple years
 
  ago for 4 job opennings, 2 for programmers.  2 for techs.
  1000 people
  showed up, and I spoke with only 4-5 that I really thought
  qualified for
 
  the programming jobs or had credentials that showed that they
  qualified
  for the job.
  
  -Original Message-
  From: Ruben Gamez [mailto:[EMAIL PROTECTED]
  Sent: Friday, October 17, 2003 3:57 PM
  To: Tomcat Users List
  Subject: RE: Java/JSP/Servlet Programmer
  
  
  I would think so, but it's true.  I've gotten several people that
  interview well, but none that can pass a couple of simple tests (I
  consider them simple).
  
  -Original Message-
  From: epyonne [mailto:[EMAIL PROTECTED]
  Sent: Friday, October 17, 2003 3:55 PM
  To: Tomcat Users List
  Subject: Re: Java/JSP/Servlet Programmer
  
  Cannot find anyone?!?!?!  It is rather hard to believe based
  on current
  job
  market.
  
  
  - Original Message -
  From: Ruben Gamez [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Friday, October 17, 2003 02:33 PM
  Subject: Java/JSP/Servlet Programmer
  
  
  I'm looking for an experienced JSP/Servlet programmer located in our
  area.  We're located in West Palm Beach, FL.  We've tried posting the
  Job on Monster, and looking for candidates on there, but still cannot
  find someone that can do the job.
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail

RE: Java/JSP/Servlet Programmer [off topic]

2003-10-17 Thread mike jackson
You might have to call rs.next() first before the rs.last().  I know that
prior to getting a ResultSetMetaData object you have to call the rs.next().
Could be the rs.last() requires the same thing (in case there's no records
returned).  But that's just a guess.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: epyonne [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 12:44 PM
 To: Tomcat Users List
 Subject: Re: Java/JSP/Servlet Programmer [off topic]
 
 Pardon me that it is off topics
 
 Speaking about re-usable ResultSet, I am having a little problem with a
 ResultSet and I cannot find the solution.
 
 I have a routine in my servlet to call an Oracle stored procedure, using
 CallableStatement.  Everything works fine.  Then, I want to get the row
 count of the ResultSet.  I can do that by using the rs.last() method.
 However, that requires the ResultSet to be scrollable.  So I change the
 code
 accordingly.  After that, I keep getting the error message of:
 SQLException: Invalid operation of forward only resultset: last
 
 I can't figure out why.  I thought I have defined the ResultSet to be
 scrollable already.  The following is the snippets:
 //code begins--
 DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
 String url = jdbc:oracle:thin:@..;
 conn = DriverManager.getConnection(url,);
 String plsql = begin my stored procedure(?,?,?); end;;
 CallableStatement cs = conn.prepareCall(plsql,
   ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
 cs.registerOutParameter(1, OracleTypes.CURSOR);
 cs.setString(2, InputParam1);
 cs.registerOutParameter(3, Types.INTEGER);
 cs.execute();
 ResultSet rs = null;
 rs = (ResultSet)cs.getObject(1);
 rs.last();
 //code ends
 
 Any help will be very much appreciated.
 
 
 
 - Original Message -
 From: Mike Curwen [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 03:12 PM
 Subject: RE: Java/JSP/Servlet Programmer
 
 
  I would send y'all my resume, but ever since the humiliation of the
  re-usable ResultSet, I'm sure I'm one of those that can't walk yet.   ;)
 
 
 
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
   Sent: Friday, October 17, 2003 3:08 PM
   To: Tomcat Users List
   Subject: RE: Java/JSP/Servlet Programmer
  
  
   I agree. I'm getting funds to hire a new person and I dread it. I've
   screened a lot of people on the last time I hired someone an
   still got a
   lemon. Lot's of people talk to talk, but can't even walk yet.
  
  
   Thank You,
  
   Justin A. Stanczak
   Web Manager
   Shake Learning Resource Center
   Vincennes University
   (812)888-5813
  
  
  
  
   Hart, Justin [EMAIL PROTECTED]
   10/17/2003 03:00 PM
   Please respond to Tomcat Users List
  
  
   To: Tomcat Users List [EMAIL PROTECTED]
   cc:
   Subject:RE: Java/JSP/Servlet Programmer
  
  
   That's what I've found.  The market is full of tech workers, but that
   doesn't mean that they're a programmer, or as familiar with
   technology X
   (for position Y) as they should be.  I went to a job fair a
   couple years
   ago for 4 job opennings, 2 for programmers.  2 for techs.
   1000 people
   showed up, and I spoke with only 4-5 that I really thought
   qualified for
   the programming jobs or had credentials that showed that they
   qualified
   for the job.
  
   -Original Message-
   From: Ruben Gamez [mailto:[EMAIL PROTECTED]
   Sent: Friday, October 17, 2003 3:57 PM
   To: Tomcat Users List
   Subject: RE: Java/JSP/Servlet Programmer
  
  
   I would think so, but it's true.  I've gotten several people
   that interview well, but none that can pass a couple of
   simple tests (I consider them simple).
  
   -Original Message-
   From: epyonne [mailto:[EMAIL PROTECTED]
   Sent: Friday, October 17, 2003 3:55 PM
   To: Tomcat Users List
   Subject: Re: Java/JSP/Servlet Programmer
  
   Cannot find anyone?!?!?!  It is rather hard to believe based
   on current job market.
  
  
   - Original Message -
   From: Ruben Gamez [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Friday, October 17, 2003 02:33 PM
   Subject: Java/JSP/Servlet Programmer
  
  
   I'm looking for an experienced JSP/Servlet programmer located
   in our area.  We're located in West Palm Beach, FL.  We've
   tried posting the Job on Monster, and looking for candidates
   on there, but still cannot find someone that can do the job.
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED

RE: Unable to compile class for JSP?

2003-10-17 Thread mike jackson
Looks to me like it can't find the JSP file that it's trying to compile.
Perhaps something is miss-configured?  Or the file is an empty file?

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: Richardson, Robert [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 1:08 PM
 To: 'Tomcat Users List'
 Subject: Unable to compile class for JSP?
 
 Hi,
 I am a newbie to tomcat(since yesterday).
 I am using Apache Tomcat/4.1.27.
 My DB admin is using Business Object.  When he goes
 to page: server.activision.com:8080/wijsp/viewers/wqy_H/openDocument.jsp
 he gets the report below. Does anyone know what might have caused this
 report?
 
 
 Robert
 
 
 type   Exception report
 
 message
 description The server encountered an internal error () that prevented it
 from fulfilling this request.
 
 exception
 org.apache.jasper.JasperException: Unable to compile class for JSP
 
 An error occurred at line: -1 in the jsp file: null



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



RE: Java/JSP/Servlet Programmer [off topic]

2003-10-17 Thread mike jackson
I didn't think you could do that with stored procedures.  They usually
require an exec/begin/end to operate.  You could probably do that in a
stored procedure however (and have it return the row count).

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 12:54 PM
 To: Tomcat Users List
 Subject: RE: Java/JSP/Servlet Programmer [off topic]
 
 
 Howdy,
 I too don't think ResultSetMetaData has row count.
 
 There's also the hackish but usually OK approach which wraps the SQL
 query in select count(*).  This has the advantage of giving you just the
 row count without the whole (potentially huge) result set.  Something
 like:
 
 int getRowCount(Connection connection, String sql) {
   String countSql = select count(*) from ( + sql + );
   Statement stmt = connection.createStatement();
   ResultSet rs = stmt.executeQuery(countSql);
   rs.next();
   return rs.getInt(1);
 }
 
 Or something like that...
 
 Yoav Shapira
 Millennium ChemInformatics
 
 
 -Original Message-
 From: Hart, Justin [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 4:49 PM
 To: Tomcat Users List
 Subject: RE: Java/JSP/Servlet Programmer [off topic]
 
 I thought that resultsetmetadata had column count, but not row count.
 If
 it has row count, then I am distinctly interested.
 -Original Message-
 From: Brendle, Douglas A. [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 4:45 PM
 To: Tomcat Users List
 Subject: RE: Java/JSP/Servlet Programmer [off topic]
 
 
 Have you tried using ResultetMetaData to get row count BEFORE you
 process the Resultset?
 
 -Original Message-
 From: epyonne [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 3:44 PM
 To: Tomcat Users List
 Subject: Re: Java/JSP/Servlet Programmer [off topic]
 
 
 Pardon me that it is off topics
 
 Speaking about re-usable ResultSet, I am having a little problem with a
 ResultSet and I cannot find the solution.
 
 I have a routine in my servlet to call an Oracle stored procedure,
 using
 CallableStatement.  Everything works fine.  Then, I want to get the row
 count of the ResultSet.  I can do that by using the rs.last() method.
 However, that requires the ResultSet to be scrollable.  So I change the
 code
 accordingly.  After that, I keep getting the error message of:
 SQLException: Invalid operation of forward only resultset: last
 
 I can't figure out why.  I thought I have defined the ResultSet to be
 scrollable already.  The following is the snippets:
 //code begins--
 DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
 String url = jdbc:oracle:thin:@..;
 conn = DriverManager.getConnection(url,);
 String plsql = begin my stored procedure(?,?,?); end;;
 CallableStatement cs = conn.prepareCall(plsql,
   ResultSet.TYPE_SCROLL_INSENSITIVE,
 ResultSet.CONCUR_UPDATABLE);
 cs.registerOutParameter(1, OracleTypes.CURSOR);
 cs.setString(2, InputParam1);
 cs.registerOutParameter(3, Types.INTEGER);
 cs.execute();
 ResultSet rs = null;
 rs = (ResultSet)cs.getObject(1);
 rs.last();
 //code ends
 
 Any help will be very much appreciated.
 
 
 
 - Original Message -
 From: Mike Curwen [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 03:12 PM
 Subject: RE: Java/JSP/Servlet Programmer
 
 
  I would send y'all my resume, but ever since the humiliation of the
  re-usable ResultSet, I'm sure I'm one of those that can't walk yet.
 ;)
 
 
 
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
   Sent: Friday, October 17, 2003 3:08 PM
   To: Tomcat Users List
   Subject: RE: Java/JSP/Servlet Programmer
  
  
   I agree. I'm getting funds to hire a new person and I dread it.
 I've
   screened a lot of people on the last time I hired someone an
   still got a
   lemon. Lot's of people talk to talk, but can't even walk yet.
  
  
   Thank You,
  
   Justin A. Stanczak
   Web Manager
   Shake Learning Resource Center
   Vincennes University
   (812)888-5813
  
  
  
  
   Hart, Justin [EMAIL PROTECTED]
   10/17/2003 03:00 PM
   Please respond to Tomcat Users List
  
  
   To: Tomcat Users List
 [EMAIL PROTECTED]
   cc:
   Subject:RE: Java/JSP/Servlet Programmer
  
  
   That's what I've found.  The market is full of tech workers, but
 that
   doesn't mean that they're a programmer, or as familiar with
   technology X
   (for position Y) as they should be.  I went to a job fair a
   couple years
   ago for 4 job opennings, 2 for programmers.  2 for techs.
   1000 people
   showed up, and I spoke with only 4-5 that I really thought
   qualified for
   the programming jobs or had credentials that showed that they
   qualified
   for the job.
  
   -Original Message-
   From: Ruben Gamez [mailto:[EMAIL PROTECTED]
   Sent: Friday

RE: Java/JSP/Servlet Programmer

2003-10-17 Thread mike jackson
I don't understand the need for the jsp or the bean.  If the page is to do a
post then it'd seem like a straight html page is ok, and since you're not
posting to a jsp it doesn't seem like a bean would be ideal (if the count of
parameters is small, if large then maybe).  

But that's just me.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: Ruben Gamez [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 1:17 PM
 To: Tomcat Users List
 Subject: RE: Java/JSP/Servlet Programmer
 
 Does anyone else think that what I'm asking for is so difficult?
 
 
 -Original Message-
 From: David Rees [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 4:54 PM
 To: Tomcat Users List
 Subject: RE: Java/JSP/Servlet Programmer
 
 On Fri, October 17, 2003 at 1:27 pm, Ruben Gamez sent the following
  The first is a written test which has J2SE, Servlet, and JSP
 questions.
  The second is a programming test, they must write a JSP page that form
  posts to a Servlet, that retrieves ANYTHING from a Bean and outputs it
  in the Servlet.  I have a lab computer set up with everything except
 the
  code.  They must also use notepad to do this.
 
 Wow, sounds like entry level coding to me!  And you're having trouble
 getting people to pass these things?
 
 -Dave
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



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



RE: Unable to compile class for JSP?

2003-10-17 Thread mike jackson
You're running tomcat with the jre then, you need to run it via the jdk.
You might also take this time to upgrade to the latest jdk.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: Richardson, Robert [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 1:42 PM
 To: 'Tomcat Users List'
 Subject: RE: Unable to compile class for JSP?
 
 
 I looked at my localhost_log.2003-10-17.txt and it showed the exception
 below:
 
 Exception   compiling Cannot use classic compiler, as it is not available.
 A common solution is to set the environment variable JAVA_HOME to your jdk
 directory.
 
 
 A find did not anything jdk on my system.
 We have JAVA_HOME set as /usr/java1.2/bin.
 
 Robert
 
 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 2:12 PM
 To: Tomcat Users List
 Subject: RE: Unable to compile class for JSP?
 
 
 
 Howdy,
 Look at the tomcat server log for exceptions.
 
 Activision -- I love your stuff ;) Great games.
 
 Yoav Shapira
 Millennium ChemInformatics
 
 
 -Original Message-
 From: mike jackson [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 5:12 PM
 To: 'Tomcat Users List'
 Subject: RE: Unable to compile class for JSP?
 
 Looks to me like it can't find the JSP file that it's trying to
 compile.
 Perhaps something is miss-configured?  Or the file is an empty file?
 
 --mikej
 -=--
 mike jackson
 [EMAIL PROTECTED]
 
 
 
  -Original Message-
  From: Richardson, Robert [mailto:[EMAIL PROTECTED]
  Sent: Friday, October 17, 2003 1:08 PM
  To: 'Tomcat Users List'
  Subject: Unable to compile class for JSP?
 
  Hi,
  I am a newbie to tomcat(since yesterday).
  I am using Apache Tomcat/4.1.27.
  My DB admin is using Business Object.  When he goes
  to page:
 server.activision.com:8080/wijsp/viewers/wqy_H/openDocument.jsp
  he gets the report below. Does anyone know what might have caused
 this
  report?
 
 
  Robert
 
 
  type   Exception report
 
  message
  description The server encountered an internal error () that
 prevented it
  from fulfilling this request.
 
  exception
  org.apache.jasper.JasperException: Unable to compile class for JSP
 
  An error occurred at line: -1 in the jsp file: null
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 This e-mail, including any attachments, is a confidential business
 communication, and may contain information that is confidential,
 proprietary
 and/or privileged.  This e-mail is intended only for the individual(s) to
 whom it is addressed, and may not be saved, copied, printed, disclosed or
 used by anyone else.  If you are not the(an) intended recipient, please
 immediately delete this e-mail from your computer system and notify the
 sender.  Thank you.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



RE: Struts Configuration

2003-10-10 Thread mike jackson
There's a decent tool available called struts studio.  Google for it and
it'll help you do the configuration.

There's also some plugins for eclipse, easy struts comes to mind.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: Issam Katan [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 10, 2003 12:32 PM
 To: [EMAIL PROTECTED]
 Subject: Struts Configuration
 
 Hallo,
 
 who can one config the struts Framework in the Tomcat ???
 
 thanks
 
 
 
 
 
 
 -
 Gesendet von http://mail.yahoo.de
 Schneller als Mail - der neue Yahoo! Messenger.



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



portals

2003-09-23 Thread mike jackson
Can anyone suggest a good portal framework?  I'm looking to migrate all of
my applications to run within a portal, but I can't decide on one...

--mikej
-=--
mike jackson
[EMAIL PROTECTED]





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



RE: E-Mail to CompuServe Customer Service

2003-08-22 Thread mike jackson
Probably, I've been getting sobig spasm for the last couple of days.  My
guess is that it's someone on the list, although I don't have a clue who.
I've been gettings messages from a machine named hbarton using rr.com as
their ISP.  I've also gotten messages from someone with a machine name of
NANU whose isp is comcast.net.  Both of these machines appear to be
infected with sobig.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Mike Curwen [mailto:[EMAIL PROTECTED]
 Sent: Friday, August 22, 2003 9:33 AM
 To: 'Tomcat Users List'
 Subject: RE: E-Mail to CompuServe Customer Service
 
 Is this
 http://securityresponse.symantec.com/avcenter/venc/data/[EMAIL PROTECTED]
 tml
 
 ??
 
 
 
  -Original Message-
  From: CompuServe Customer Service [mailto:[EMAIL PROTECTED]
  Sent: Friday, August 22, 2003 12:27 PM
  To: Tomcat Users List
  Subject: E-Mail to CompuServe Customer Service
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



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



RE: Using Tomcat and JBoss together

2003-07-31 Thread mike jackson
JBoss is fairly complete J2EE application server.  Tomcat just does the
Servlet/JSP portion of the the J2EE spec.  You can get Jboss with either
Jetty or Tomcat as the Servlet/JSP engine.  Either should be able to be
connected to Apache2 via mod_jk2 as they both support apj13.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: P. Dwayne Miller [mailto:[EMAIL PROTECTED]
 Sent: Thursday, July 31, 2003 9:39 AM
 To: [EMAIL PROTECTED]
 Subject: Using Tomcat and JBoss together
 
 New to the world of Java... I'm confused as to why someone would want to
 run Tomcat and JBoss together.  Don't they do the same thing?
 
 I just recently managed to get Apache 2 and Tomcat working with
 mod_jk2... and then my boss asks me to look into JBoss.  I was expecting
 to find out how to get Apache2 and JBoss working together, not all three.
 
 Really confused... please help.
 
 Dwayne
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



RE: Using Tomcat and JBoss together

2003-07-31 Thread mike jackson
If you're using a lot of static content or cgi-bins or aliased directories
it still makes more sense to use apache front of tomcat/jetty (jboss).

Apache servers static content faster, if the majority of your site is
dynamic then it makes more sense to use tomcat/jetty.  It also makes more
sense to use apache because you can run jboss/tomcat as a non-root user.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: epyonne [mailto:[EMAIL PROTECTED]
 Sent: Thursday, July 31, 2003 12:35 PM
 To: Tomcat Users List
 Subject: Re: Using Tomcat and JBoss together
 
 Tomcat is a servlet container and JBoss is a full fledge J2EE/EJB
 container.
 Having said that, JBoss needs Tomcat (or Jetty) to be complete.
Currently,
 I am using jboss-3.2.1_tomcat-4.1.24 bundle and it is great.  I highly
 recommend you to use JBoss instead of Apache2.
 
 Hope this helps.
 
 
 - Original Message -
 From: P. Dwayne Miller [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, July 31, 2003 12:38 PM
 Subject: Using Tomcat and JBoss together
 
 
  New to the world of Java... I'm confused as to why someone would want to
  run Tomcat and JBoss together.  Don't they do the same thing?
 
  I just recently managed to get Apache 2 and Tomcat working with
  mod_jk2... and then my boss asks me to look into JBoss.  I was expecting
  to find out how to get Apache2 and JBoss working together, not all
three.
 
  Really confused... please help.
 
  Dwayne
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



RE: Threading Question

2003-07-31 Thread mike jackson
You could do something like that, or you could just have the servlet pass
that into the supporting code/beans.  It'd be a lot cleaner and clearer
design wise to just pass the information, either encapsulated into a new
object or just the values you need.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Roggeveen, Brian P [mailto:[EMAIL PROTECTED]
 Sent: Thursday, July 31, 2003 3:53 PM
 To: '[EMAIL PROTECTED]'
 Subject: Threading Question
 
 Hello,
 
 I was wondering if it is safe to assume that when using the multithreaded
 model, a single unique thread will handle each incoming request? In other
 words, does the servlet container implement a thread per connection model
 or
 is there a way to specify this configuration?
 
 The reason I ask is that at any given point within my servlets' supporting
 code/beans, I would like to have access to the HttpSession instance that
 corresponds to the client for whom the current line of code is being
 executed. Another way of looking at the situation would be at any given
 point within my servlets' supporting code/beans, I would like to have
 access
 to the HttpRequest that caused this particular line of code to be
executed.
 In order to accomplish this, I envisioned using a Map that contained
 thread
 keys and HttpSession values. As requests came in, the Map would be updated
 appropriately such that supporting code need only look up an HttpSession
 using the current thread. Maybe I'm making this more complex than it needs
 to be.
 
 Thanks!
 Brian Roggeveen
 EDS - Work Force Management
 Voice: (314) 264-8991
 Fax:(314) 264-8901
 Email: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



RE: OT Unsubscribing

2003-07-08 Thread mike jackson
Yes, committed for life.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 08, 2003 9:36 PM
 To: 'Tomcat Users List'
 Subject: OT Unsubscribing
 
 This is mostly off topic, I have really enjoyed and appreciated all
the
 help
 I have received here but I am off to another project and this list
gets a
 lot of mail.
 I have tried sending an email to the unsubscribe address several
different
 ways and I have tried emailing the help address but I am still
subscribed.
 I
 just can't seem to get out of this? I am committed for life?
 
 Sandra Patricia Hunter
 Systems Development and Web Design
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



RE: JDBC Pooling Clarification

2003-06-27 Thread mike jackson
Personally I've had problems with Oracle's connection pooling (didn't
cleanup the connections before handing them out, the connects were
arriving dirty to begin with).  But, barring those issues, if you use a
generic connection pooling system, rather than the oracle one, it'll
make it easier to move from one database vendor to other in the future.
If you're going to do this you're going to want to find one that returns
native statements rather than wrapped statements, some oracle things
need the native oracle statement, and won't work with a wrapped
connection (the xsql tools come to mind).  Also, you're probably going
to want one that'll tell you what's going on in the pool.  Personally I
use poolman, which is missing the native statements issue, but its easy
to work around it.  Your mileage may vary, batteries not include, some
assembly required.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Gregory, Carlton [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 27, 2003 12:54 PM
 To: 'Tomcat Users List'
 Subject: RE: JDBC Pooling Clarification
 
 thanks Yoav,
 
 Oracle has some good example on there technet.oracle.com site but the
use
 
 OC4J instead of Tomcat.
 
 With the many docs I was coming across on the web it became confusing
as
 to
 what is a MUST and what is a CHOICE.
 
 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 27, 2003 4:44 PM
 To: Tomcat Users List
 Subject: RE: JDBC Pooling Clarification
 
 
 
 Howdy,
 
  Question 1. This package is used REGARDLESS of what database
 you
 are using?
 
 You can configure what package is used by altering the factory setting
 in the ResourceParams section for your data source.
 
  Question 2. If DBCP does not have to be used then I could
use
 Oracles connection pooling AND connection cache?
 
 By definition, yes.
 
  Question 3. Is DBCP apart of JNDI?
 
 No, it's a jakarta-commons project:
 http://jakarta.apache.org/commons/dbcp/
 
  Question 4. Is it possible to have multiple users use the
SAME
 connection pool, and in my respect with Oracle a connection cache?
 
 Why not?  What's the difference between one or N users?  It all comes
 from your servlets anyways.
 
 Yoav Shapira
 
 
 
 This e-mail, including any attachments, is a confidential business
 communication, and may contain information that is confidential,
 proprietary
 and/or privileged.  This e-mail is intended only for the individual(s)
to
 whom it is addressed, and may not be saved, copied, printed, disclosed
or
 used by anyone else.  If you are not the(an) intended recipient,
please
 immediately delete this e-mail from your computer system and notify
the
 sender.  Thank you.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



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



RE: running tomcat offline

2003-06-27 Thread mike jackson
You should be able to use tomcat via localhost.  If that doesn't work
try the address of 127.0.0.1.  

--mikej
-=--
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: P.Ruijters [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 27, 2003 1:03 PM
 To: [EMAIL PROTECTED]
 Subject: running tomcat offline
 
 Hello,
 
 Is it possible to develop servlets in tomcat offline? Currently I do
need
 an internet connection to be able to run my servlets/jsp. Without the
 connection it does not. This is inconvenient if you want to work on
say a
 laptop temporarily not being able to connect to the internet. If it is
 possible to have tomcat run this way what settings should be applied
to
 which files?
 
 Thanks for your time
 
 Pierre



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



RE: Alternatives to DBCP

2003-06-23 Thread mike jackson
Poolman is really good.  It's not in development, but other than not
being able to get native statements back (you can, but you have to get
the native connection and then create the statement from there) it's
really, really great.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: David Rees [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 23, 2003 11:25 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Alternatives to DBCP
 
  Has anyone used any alternatives to the DBCP with Tomcat because it
  seems  to get worse and worse as I use it more.
 
 How about c3p0?
 
 http://sourceforge.net/projects/c3p0
 
 I've used it a bit and it seems to work OK.
 
 -Dave
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



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



RE: Need Help on JDBC Connection

2003-06-04 Thread mike jackson
Those errors are remarkably unhelpful, at least to me.

I don't know that there's enough information there.  Perhaps a snippet
of the page would help.  Specifically the point when you load the driver
class (which I'm assuming is in the jsp, although that's not the best
place for it) and the point when you get the connection from the
database.  

It could be that the error is somewhere else in the page, but that's a
good first point to start looking at.  My guess is that it's probably
the point when you get a connection or perhaps when you're trying to get
a statement.  But that's only a guess.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Joe [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 03, 2003 7:01 PM
 To: 'Tomcat Users List'
 Subject: Need Help on JDBC Connection
 
 Hi all, does anyone knows that's the case of this error:
 
 This happened when I tried to access MySQL Database from remote
client.
 I'm sorry that I miss out some of the important codes previously.
 
 Regards,
 Joe
 
 
 HTTP Status 500 -
 


 
 
 type Exception report
 
 message
 
 description The server encountered an internal error () that prevented
 it from fulfilling this request.
 
 exception
 
 org.apache.jasper.JasperException: com.mysql.jdbc.Driver
   at

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
 va:254)
   at

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
   at
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
 tionFilterChain.java:247)
   at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
 erChain.java:193)
   at

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
 e.java:256)
   at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
 nvokeNext(StandardPipeline.java:643)
   at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
 80)
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
 e.java:191)
   at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
 nvokeNext(StandardPipeline.java:643)
   at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
 80)
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at

org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
 5)
   at

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
 :180)
   at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
 nvokeNext(StandardPipeline.java:643)
   at

org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
 lve.java:171)
   at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
 nvokeNext(StandardPipeline.java:641)
   at

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
 :172)
   at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
 nvokeNext(StandardPipeline.java:641)
   at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
 80)
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
 java:174)
   at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
 nvokeNext(StandardPipeline.java:643)
   at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
 80)
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at

org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
   at

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:59
 4)
   at

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
 onnection(Http11Protocol.java:392)
   at

org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:56
 5)
   at

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
 .java:619)
   at java.lang.Thread.run(Thread.java:536)
 
 
 root cause
 
 javax.servlet.ServletException: com.mysql.jdbc.Driver
   at

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
 tImpl.java:536)
   at org.apache.jsp.dbquery_jsp._jspService(dbquery_jsp.java:112)
   at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
 va:210

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
 Subject: RE: [OT] Oracle Connection Problem Due To Dynamic Port
Numbers
 
 
 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
  isn't it just 1521?
 
 
  listener.log:04-FEB-2002 16:49:30 *
  (CONNECT_DATA=(SID=smoke)(CID=(PROGRAM=)(HOS
  T=__jdbc__)(USER=oracle))) *
  (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.200.11)(PORT=1
  506)) * establish * smoke * 0
  listener.log:04-FEB-2002 16:49:30 *
  (CONNECT_DATA=(SID=smoke)(CID=(PROGRAM=)(HOS
  T=__jdbc__)(USER=oracle))) *
  (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.200.11)(PORT=1
  507)) * establish * smoke * 0
 
  The different port numbers seem to be causing a problem with the
 firewall
 at
  one client site. Any suggestions?
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



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



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

2003-05-29 Thread mike jackson
Oracle listens on one port.  It then tells you to connect to another and
that's where it actually does the work from.  Also, if you're running
through a NAT or a proxy you're not going to be able to talk to Oracle
through it unless you have a SQL*Net proxy built into the NAT box or
proxy (and even then I'm not sure that proxies work anyway).  I'd see if
you can connect using the standard Oracle tools, if you can't get that
setup then you're not going to get JDBC to work.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Brad Rhoads [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, May 28, 2003 2:25 PM
 To: [EMAIL PROTECTED]
 Subject: [OT] Oracle Connection Problem Due To Dynamic Port Numbers
 
 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
 isn't it just 1521?
 
 
 listener.log:04-FEB-2002 16:49:30 *
 (CONNECT_DATA=(SID=smoke)(CID=(PROGRAM=)(HOS
 T=__jdbc__)(USER=oracle))) *
 (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.200.11)(PORT=1
 506)) * establish * smoke * 0
 listener.log:04-FEB-2002 16:49:30 *
 (CONNECT_DATA=(SID=smoke)(CID=(PROGRAM=)(HOS
 T=__jdbc__)(USER=oracle))) *
 (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.200.11)(PORT=1
 507)) * establish * smoke * 0
 
 The different port numbers seem to be causing a problem with the
firewall
 at
 one client site. Any suggestions?
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



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



RE: Going Live

2003-04-03 Thread mike jackson
Personally I've not been happy with the Oracle version of Apache / Java
Servlet / JSP server.  We run Apache w/Tomcat on all web servers,
including those that use Oracle for the backend database.

However all that said, I'd look at making a WAR file and deploying it
that way.  It puts all the files and settings required for the app into
one file.  The container will extract that and build the file system
structures required.  There's much less chance for error.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

-Original Message-
From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 03, 2003 8:46 AM
To: 'Tomcat Users List'
Subject: Going Live

Right now I am just working on development on a stand alone (more or
less)
machine.
Eventually my app will be moved to a corporate web server. Is it
appropriate
to keep Tomcat as my JSP and servlet container? Because we are using
Oracle
we have in place the Oracle Apache server already. How horrific would it
be
to move files to it?
Are there any considerations I need to be aware of in the move?
My intention would be just to copy my files into a new installation of
Tomcat with all the relevant paths, etc.
Is there a good source of info on this subject that I have overlooked?

Sandra Patricia Hunter
Systems Development and Web Design 


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



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



RE: Going Live

2003-04-03 Thread mike jackson
That's true, I had forgotten that.  Too used to tomcat I guess.  

Btw, as an FYI, Oracle's web server is a Apache 1.3.x w/a modified
version of JSERV.  It supports jsp's via a Servlet (I think, not sure),
but it's still using the JSERV level of the APJ protocol.  The biggest
problem is with that protocol, opening and closing sockets as it talks
to the JVM ends up with tons of sockets in a close wait state.  On
Unixware this is a problem.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 03, 2003 8:58 AM
To: Tomcat Users List
Subject: RE: Going Live


Howdy,

one file.  The container will extract that and build the file system
structures required.  There's much less chance for error.

Just one note: the container is not required to do this and may keep
your war file packed.  This is one reasons why you should use
ServletContext's getResource()/getResourceAsStream() instead of pure
File-based APIs in your web applications.

Yoav Shapira
Millennium ChemInformatics



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


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



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



RE: JNDI connection pooling maximum connections exceeded - Tracking?

2003-04-03 Thread mike jackson
I set the upper limit as a soft limit (I'm using poolman, not dbcp).
Since the database doesn't seem to care when I exceed the limit (happens
rarely anyway) it hasn't been an issue as of yet.  

However, my old connection pool did have a hard limit.  What I ended up
doing at that point was blocking the request until a connection was
available.  I had an implementation of a counting semaphore to managing
the connection count.  So, to the user it just looked like the request
was taking a bit longer to process.  I'm typically in and out of the
database fairly quickly, so it didn't seem to be much of an issue.  

Occasionally connections would get lost, which would eventually lock the
pool, so I switched to poolman.  With poolman I can watch the connection
pool metrics, at least to the level of being able to see the total count
and connections in use.  The log will typically tell me when connections
have been lost or closed due to expiring their time to live.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 03, 2003 12:07 PM
To: Tomcat Users List
Subject: JNDI connection pooling maximum connections exceeded -
Tracking?

HI there,

I'd like to know what professional developers do when the maximum number

of connection in a connection pool has been reached.
What should be done with requests that don't get a connection?
Should the max connection set to a very high number hoping that the
number 
of requests served concurrently will be lower? Is it a way to set to -1,

thus no limit is active?

I think no web application wants to print out maximum number of 
connections exceeded. please try again later.
I for myself would prefer to have a debug log or so to track if the
number 
of concurrent connection has some peaks to at least know what the
current 
maximum of concurrent connections is.

I wonder why this is not part of the dbcp.commons package. Shouldn't 
connection tracking become a part of it?

thx alot
Johannes



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



RE: JDBC-ODBC bridge error

2003-04-01 Thread mike jackson
Remember though that Oracle and Access syntax is a little different.  If
most cases it doesn't matter, but sometimes it does.  For instance, if
you're working with dates it's a little different (if you're converting
the date from a SQL date to a text date).

However, that said, here's some things to consider:

1) PreparedStatements seem to be faster for data access when you're
talking to Oracle.  I don't know why this is, but when I switched from
Statements to PreparedStatements my speed went up.  Also with
PreparedStatements you don't have to worry about cleaning the input from
users prior to putting it into the SQL (example you're looking for
'this', the ' is a reserved character).

2) If you're working with Oracle they have a XSQL Servlet in the XDK.
It's faster for accessing the database than anything I've been able to
write.  However that Servlet won't talk to Access.  This is also nice
because you can setup one xsql file to get the data and several xsl
files to format it for display.

3) If your web app is updating tables in Oracle you really ought to use
stored procedures in the database.  Access stored procedures and Oracle
stored procedures aren't the same syntax wise.  And they'll probably act
differently as well.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

-Original Message-
From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2003 2:13 PM
To: 'Tomcat Users List'
Subject: RE: JDBC-ODBC bridge error

Thanks guys! This is what works:
String sqlString = SELECT str_card_fields FROM card_type WHERE
str_card_type='+cardType+';;

Sandra Patricia Hunter
Systems Development and Web Design 
 


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: April 1, 2003 2:06 PM
To: Tomcat Users List
Subject: RE: JDBC-ODBC bridge error


it is just a typo, I think what you want is this

String sqlString = SELECT card_type.str_card_fields FROM card_type
WHERE
(((card_type.str_card_type='+cardType+'));;

cardType, is from you java and is a parameter

Filip

 -Original Message-
 From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 01, 2003 1:54 PM
 To: 'Tomcat Users List'
 Subject: JDBC-ODBC bridge error


 I am using the JDBC-ODBC bridge driver during development because I 
 don't want to load Oracle on my system here and am using Access for 
 now, and will be using Oracle in the final production. I know I know: 
 it isn't good but I
 don't think it is the heart of the problem.
 I don't know if that is the source of the problem but I am getting
this
 error message:
 [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected
1.
 only on one page while the others using the same driver don't produce
that
 error. It may just be an SQL error. Here is the code snippet:

 String cardType = manageData.getCardType();%
 P cardType: %=cardType%/p //this is just a debug line and 
 produces the required value
 %
 String sqlString = SELECT card_type.str_card_fields FROM
card_type
 WHERE (((card_type.str_card_type=cardType));;

 ResultSet rs = statement.executeQuery (sqlString);



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


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



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



RE: Getting pretty far off topic here

2003-04-01 Thread mike jackson
1) Just to be sure, databases or tables?  Or since it's Oracle, do you
mean different Schemas?  If it's different schemas then I'd create
synonyms into a new schema for each of the different data sources
(tables / schemas / databases whatever).

2) Sounds like you need a rule processor.  If it were me I'd look at
what's common between the different card types, and figure out how to
determine which card type you are working with.  Then based on the card
type you have a rules engine, which may or may not load custom code for
that card type.  

Then again this sounds like you have a really elaborate need here, it's
not going to be really easy to point you in a direction unless we have a
better picture of what is going on.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

-Original Message-
From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2003 3:34 PM
To: 'Tomcat Users List'
Subject: Getting pretty far off topic here

I am stumped about how to manage a process.
 
Here is what I need to do:
I have several cards. Each card accesses specific data from the
database.
Each card accesses a different collection of data from different
attributes
of different tables. 
For the user to work with the data (add, update, delete, search) the JSP
file must display the appropriate text boxes and drop down boxes for the
data relevant to that card. This will be different for each card. 

There will be new cards created that will have their own collection of
data.
The number of possible new cards is relatively infinite. That is why I
can't
do a specific JSP file for each card type: the card types that exist now
may
disappear and new ones may appear.

How do I store the names of fields that are relevant to that card so
that I
can access them when I need to display data about that particular card?
How
do I create new files of relevant fields when I create new cards?

I originally stored an SQL string that selects the relevant fields with
the
table that holds other information about the card type. But what do I do
with it then? How do I take that SQL string and turn it into text boxes
and
labels and drop down boxes?

Is there a better way of doing this that someone can think of?

Sandra Patricia Hunter
Systems Development and Web Design 
 


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



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



RE: Getting pretty far off topic here

2003-04-01 Thread mike jackson
That's kind a where I'm going.  I know I could build a system to do
this, regardless of the complexity.  However that said, I don't know
that I want to spend the hours it'll take to understand the problem and
work out a good and workable solution.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2003 4:02 PM
To: Tomcat Users List
Subject: RE: Getting pretty far off topic here

he he he, isn't this what you are getting paid to figure out :)

have a wonderful April fools day

Filip

 -Original Message-
 From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 01, 2003 3:55 PM
 To: 'Tomcat Users List'
 Subject: RE: Getting pretty far off topic here


 Here's some more info:

 One database, several tables (about twenty).

 The tables hold information about someone who uses the card, a
cardholder.

 Each card has a particular type.

 Each card type uses different information, for example one card type
may
 need the cardholder's name and address, while another may only
 need to know
 their number.

 For the user (not to be confused with the cardholder) to use the
 system they
 need to be able to work with each kind of card and ONLY the data that
is
 relevant to that card.

 The user also needs to be able to add new card types that use
particular
 data. This is why I think I need to store the information about
 which fields
 are relevant in a standard way. As new cards are added there needs to
be a
 process in place for storing the information about that card.

 I don't know what a rule processor or a rules engine is.

 My sense is that this is not a really complicated problem just one
that
 needs a fiendishly clever and simple solution. That's all ;).

 Sandra Patricia Hunter
 Systems Development and Web Design



 -Original Message-
 From: mike jackson [mailto:[EMAIL PROTECTED]
 Sent: April 1, 2003 3:42 PM
 To: 'Tomcat Users List'
 Subject: RE: Getting pretty far off topic here


 1) Just to be sure, databases or tables?  Or since it's Oracle,
 do you mean
 different Schemas?  If it's different schemas then I'd create
 synonyms into
 a new schema for each of the different data sources (tables / schemas
/
 databases whatever).

 2) Sounds like you need a rule processor.  If it were me I'd look
 at what's
 common between the different card types, and figure out how to
determine
 which card type you are working with.  Then based on the card
 type you have
 a rules engine, which may or may not load custom code for that
 card type.

 Then again this sounds like you have a really elaborate need
 here, it's not
 going to be really easy to point you in a direction unless we
 have a better
 picture of what is going on.

 --mikej
 -=-
 mike jackson
 [EMAIL PROTECTED]

 -Original Message-
 From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 01, 2003 3:34 PM
 To: 'Tomcat Users List'
 Subject: Getting pretty far off topic here

 I am stumped about how to manage a process.

 Here is what I need to do:
 I have several cards. Each card accesses specific data from the
 database.
 Each card accesses a different collection of data from different
 attributes
 of different tables.
 For the user to work with the data (add, update, delete, search) the
JSP
 file must display the appropriate text boxes and drop down boxes for
the
 data relevant to that card. This will be different for each card.

 There will be new cards created that will have their own
 collection of data.
 The number of possible new cards is relatively infinite. That is
 why I can't
 do a specific JSP file for each card type: the card types that
 exist now may
 disappear and new ones may appear.

 How do I store the names of fields that are relevant to that card
 so that I
 can access them when I need to display data about that particular
 card? How
 do I create new files of relevant fields when I create new cards?

 I originally stored an SQL string that selects the relevant
 fields with the
 table that holds other information about the card type. But what do I
do
 with it then? How do I take that SQL string and turn it into text
 boxes and
 labels and drop down boxes?

 Is there a better way of doing this that someone can think of?

 Sandra Patricia Hunter
 Systems Development and Web Design



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



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


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




-
To unsubscribe, e-mail: [EMAIL

RE: Getting pretty far off topic here

2003-04-01 Thread mike jackson
First things first, you need some standard way to determine the card
type.  

Then you need a configuration file which says do this for this card
type.  

This could be a series of rules to follow, or could be a list of objects
to instantiate to process the card type.  

If it's going to go the object route you probably need to have a set of
interfaces that all different card handlers need to implement, and
possibly a super class of some sort.

Anyway, enjoy working on it.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

-Original Message-
From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2003 3:55 PM
To: 'Tomcat Users List'
Subject: RE: Getting pretty far off topic here

Here's some more info:

One database, several tables (about twenty).

The tables hold information about someone who uses the card, a
cardholder.

Each card has a particular type.

Each card type uses different information, for example one card type may
need the cardholder's name and address, while another may only need to
know
their number.

For the user (not to be confused with the cardholder) to use the system
they
need to be able to work with each kind of card and ONLY the data that is
relevant to that card.

The user also needs to be able to add new card types that use particular
data. This is why I think I need to store the information about which
fields
are relevant in a standard way. As new cards are added there needs to be
a
process in place for storing the information about that card.

I don't know what a rule processor or a rules engine is. 

My sense is that this is not a really complicated problem just one that
needs a fiendishly clever and simple solution. That's all ;).

Sandra Patricia Hunter
Systems Development and Web Design 
 


-Original Message-
From: mike jackson [mailto:[EMAIL PROTECTED] 
Sent: April 1, 2003 3:42 PM
To: 'Tomcat Users List'
Subject: RE: Getting pretty far off topic here


1) Just to be sure, databases or tables?  Or since it's Oracle, do you
mean
different Schemas?  If it's different schemas then I'd create synonyms
into
a new schema for each of the different data sources (tables / schemas /
databases whatever).

2) Sounds like you need a rule processor.  If it were me I'd look at
what's
common between the different card types, and figure out how to determine
which card type you are working with.  Then based on the card type you
have
a rules engine, which may or may not load custom code for that card
type.  

Then again this sounds like you have a really elaborate need here, it's
not
going to be really easy to point you in a direction unless we have a
better
picture of what is going on.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

-Original Message-
From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2003 3:34 PM
To: 'Tomcat Users List'
Subject: Getting pretty far off topic here

I am stumped about how to manage a process.
 
Here is what I need to do:
I have several cards. Each card accesses specific data from the
database.
Each card accesses a different collection of data from different
attributes
of different tables. 
For the user to work with the data (add, update, delete, search) the JSP
file must display the appropriate text boxes and drop down boxes for the
data relevant to that card. This will be different for each card. 

There will be new cards created that will have their own collection of
data.
The number of possible new cards is relatively infinite. That is why I
can't
do a specific JSP file for each card type: the card types that exist now
may
disappear and new ones may appear.

How do I store the names of fields that are relevant to that card so
that I
can access them when I need to display data about that particular card?
How
do I create new files of relevant fields when I create new cards?

I originally stored an SQL string that selects the relevant fields with
the
table that holds other information about the card type. But what do I do
with it then? How do I take that SQL string and turn it into text boxes
and
labels and drop down boxes?

Is there a better way of doing this that someone can think of?

Sandra Patricia Hunter
Systems Development and Web Design 
 


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



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


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



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



RE: Getting pretty far off topic here

2003-04-01 Thread mike jackson
It's that last little bit that's the hard part.  If you can I'd put a
column in the database that id's the card type (assuming you don't have
that already).

Also, remember that reflection is your friend...

Good luck.

--mikej

-Original Message-
From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2003 4:19 PM
To: 'Tomcat Users List'
Subject: RE: Getting pretty far off topic here

Thanks: I think just writing it down, Again, Helps me think it through. 
I've got the main steps you mention Mike, it's just that last little
bit:
what do I do with this now?
I am going to play with string manipulation stuff and see where that
gets
me.

Sandra Patricia Hunter
Systems Development and Web Design 
 


-Original Message-
From: mike jackson [mailto:[EMAIL PROTECTED] 
Sent: April 1, 2003 4:12 PM
To: 'Tomcat Users List'
Subject: RE: Getting pretty far off topic here


First things first, you need some standard way to determine the card
type.  

Then you need a configuration file which says do this for this card
type.  

This could be a series of rules to follow, or could be a list of objects
to
instantiate to process the card type.  

If it's going to go the object route you probably need to have a set of
interfaces that all different card handlers need to implement, and
possibly
a super class of some sort.

Anyway, enjoy working on it.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

-Original Message-
From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2003 3:55 PM
To: 'Tomcat Users List'
Subject: RE: Getting pretty far off topic here

Here's some more info:

One database, several tables (about twenty).

The tables hold information about someone who uses the card, a
cardholder.

Each card has a particular type.

Each card type uses different information, for example one card type may
need the cardholder's name and address, while another may only need to
know
their number.

For the user (not to be confused with the cardholder) to use the system
they
need to be able to work with each kind of card and ONLY the data that is
relevant to that card.

The user also needs to be able to add new card types that use particular
data. This is why I think I need to store the information about which
fields
are relevant in a standard way. As new cards are added there needs to be
a
process in place for storing the information about that card.

I don't know what a rule processor or a rules engine is. 

My sense is that this is not a really complicated problem just one that
needs a fiendishly clever and simple solution. That's all ;).

Sandra Patricia Hunter
Systems Development and Web Design 
 


-Original Message-
From: mike jackson [mailto:[EMAIL PROTECTED] 
Sent: April 1, 2003 3:42 PM
To: 'Tomcat Users List'
Subject: RE: Getting pretty far off topic here


1) Just to be sure, databases or tables?  Or since it's Oracle, do you
mean
different Schemas?  If it's different schemas then I'd create synonyms
into
a new schema for each of the different data sources (tables / schemas /
databases whatever).

2) Sounds like you need a rule processor.  If it were me I'd look at
what's
common between the different card types, and figure out how to determine
which card type you are working with.  Then based on the card type you
have
a rules engine, which may or may not load custom code for that card
type.  

Then again this sounds like you have a really elaborate need here, it's
not
going to be really easy to point you in a direction unless we have a
better
picture of what is going on.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

-Original Message-
From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2003 3:34 PM
To: 'Tomcat Users List'
Subject: Getting pretty far off topic here

I am stumped about how to manage a process.
 
Here is what I need to do:
I have several cards. Each card accesses specific data from the
database.
Each card accesses a different collection of data from different
attributes
of different tables. 
For the user to work with the data (add, update, delete, search) the JSP
file must display the appropriate text boxes and drop down boxes for the
data relevant to that card. This will be different for each card. 

There will be new cards created that will have their own collection of
data.
The number of possible new cards is relatively infinite. That is why I
can't
do a specific JSP file for each card type: the card types that exist now
may
disappear and new ones may appear.

How do I store the names of fields that are relevant to that card so
that I
can access them when I need to display data about that particular card?
How
do I create new files of relevant fields when I create new cards?

I originally stored an SQL string that selects the relevant fields with
the
table that holds other information about the card type. But what do I do
with it then? How do I take that SQL string and turn it into text

RE: Getting pretty far off topic here

2003-04-01 Thread mike jackson
java.lang.reflection... ;)

-Original Message-
From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2003 4:49 PM
To: 'Tomcat Users List'
Subject: RE: Getting pretty far off topic here

Reflection is my friend? You haven't looked in my mirror lately!

Sandra Patricia Hunter
Systems Development and Web Design 
 


-Original Message-
From: mike jackson [mailto:[EMAIL PROTECTED] 
Sent: April 1, 2003 4:38 PM
To: 'Tomcat Users List'
Subject: RE: Getting pretty far off topic here


It's that last little bit that's the hard part.  If you can I'd put a
column
in the database that id's the card type (assuming you don't have that
already).

Also, remember that reflection is your friend...

Good luck.

--mikej

-Original Message-
From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2003 4:19 PM
To: 'Tomcat Users List'
Subject: RE: Getting pretty far off topic here

Thanks: I think just writing it down, Again, Helps me think it through. 
I've got the main steps you mention Mike, it's just that last little
bit:
what do I do with this now?
I am going to play with string manipulation stuff and see where that
gets
me.

Sandra Patricia Hunter
Systems Development and Web Design 
 


-Original Message-
From: mike jackson [mailto:[EMAIL PROTECTED] 
Sent: April 1, 2003 4:12 PM
To: 'Tomcat Users List'
Subject: RE: Getting pretty far off topic here


First things first, you need some standard way to determine the card
type.  

Then you need a configuration file which says do this for this card
type.  

This could be a series of rules to follow, or could be a list of objects
to
instantiate to process the card type.  

If it's going to go the object route you probably need to have a set of
interfaces that all different card handlers need to implement, and
possibly
a super class of some sort.

Anyway, enjoy working on it.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

-Original Message-
From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2003 3:55 PM
To: 'Tomcat Users List'
Subject: RE: Getting pretty far off topic here

Here's some more info:

One database, several tables (about twenty).

The tables hold information about someone who uses the card, a
cardholder.

Each card has a particular type.

Each card type uses different information, for example one card type may
need the cardholder's name and address, while another may only need to
know
their number.

For the user (not to be confused with the cardholder) to use the system
they
need to be able to work with each kind of card and ONLY the data that is
relevant to that card.

The user also needs to be able to add new card types that use particular
data. This is why I think I need to store the information about which
fields
are relevant in a standard way. As new cards are added there needs to be
a
process in place for storing the information about that card.

I don't know what a rule processor or a rules engine is. 

My sense is that this is not a really complicated problem just one that
needs a fiendishly clever and simple solution. That's all ;).

Sandra Patricia Hunter
Systems Development and Web Design 
 


-Original Message-
From: mike jackson [mailto:[EMAIL PROTECTED] 
Sent: April 1, 2003 3:42 PM
To: 'Tomcat Users List'
Subject: RE: Getting pretty far off topic here


1) Just to be sure, databases or tables?  Or since it's Oracle, do you
mean
different Schemas?  If it's different schemas then I'd create synonyms
into
a new schema for each of the different data sources (tables / schemas /
databases whatever).

2) Sounds like you need a rule processor.  If it were me I'd look at
what's
common between the different card types, and figure out how to determine
which card type you are working with.  Then based on the card type you
have
a rules engine, which may or may not load custom code for that card
type.  

Then again this sounds like you have a really elaborate need here, it's
not
going to be really easy to point you in a direction unless we have a
better
picture of what is going on.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

-Original Message-
From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2003 3:34 PM
To: 'Tomcat Users List'
Subject: Getting pretty far off topic here

I am stumped about how to manage a process.
 
Here is what I need to do:
I have several cards. Each card accesses specific data from the
database.
Each card accesses a different collection of data from different
attributes
of different tables. 
For the user to work with the data (add, update, delete, search) the JSP
file must display the appropriate text boxes and drop down boxes for the
data relevant to that card. This will be different for each card. 

There will be new cards created that will have their own collection of
data.
The number of possible new cards is relatively infinite. That is why I
can't
do a specific JSP file

RE: connection pooling saga

2003-03-31 Thread mike jackson
Uh, you don't want to use the Access with Java, at least not unless you
mind rebooting your server on a regular basis.  The JDBC-ODBC bridge has
a memory leak.

And besides I've been hearing that even Microsoft isn't doing anything
with Access (using SQL Server run-time instead).  Also that it might be
going away in one of the next few releases.

But if you have to use Access all you should have to do is change the
JDBC URL.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

-Original Message-
From: JS [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 31, 2003 4:06 PM
To: [EMAIL PROTECTED]
Subject: connection pooling saga

Hello.
Has anyone ever done connection pooling with MS Access and tomcat
4.1.12?
I havent had much luck in trying to find this done anywhere, and much of
the advice is to go with mySQL. Though I am reluctant to due to the lack
of Foreign Key support in mySQL and the fact that I have done alot with
Access.
I have read the DBCP tomcat support docs, but this is only geared
towards
mySQL, does such a thing exist for MS Access?
Advance thanks
JS



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



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



Filter setup problem

2003-03-19 Thread mike jackson
I'm having a problem with the initial parameter options with filters.
My setup is as follows:

I've got a filter that I wrote SecurityFilter.  I setup the web.xml
file to contain:

filter
filter-nameSecurityFilter/filter-name
filter-class
com.cdi.security.http.filters.SecurityFilter
/filter-class
init-param
param-namesecurity_bundle/param-name
param-valueapplication/param-value
/init-param
/filter

Everything looks ok at this point, no problems parsing anything on
startup.  

Ok, in my filter code I've got the following (in the init method):

String bundleName = application;
try {
bundleName = filterConfig.getInitParameter(
BUNDLE_PARAMETER );
}
catch( Exception e ) {
Log.log( Log.WARNING, this, init(), Exception:  + e
);
}

Where BUNDLE_PARAMETER is set to security_bundle.  Again this all
see right, at least I don't see any errors.  However when I go to init I
get a null pointer exception on the attempt to retrieve the
init-parameter.  I've run it through my debugger and it'd definitely
occurring in this try/catch block, but I don't have a clue why.

Does anyone have any idea why?

--mikej
-=-
mike jackson
[EMAIL PROTECTED]




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



RE: Filter setup problem

2003-03-19 Thread mike jackson
Nevermind I found it.  Stupidness strikes again.  

--mikej

-Original Message-
From: mike jackson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 19, 2003 10:24 AM
To: 'Tomcat Users List'
Subject: Filter setup problem

I'm having a problem with the initial parameter options with filters.
My setup is as follows:

I've got a filter that I wrote SecurityFilter.  I setup the web.xml
file to contain:

filter
filter-nameSecurityFilter/filter-name
filter-class
com.cdi.security.http.filters.SecurityFilter
/filter-class
init-param
param-namesecurity_bundle/param-name
param-valueapplication/param-value
/init-param
/filter

Everything looks ok at this point, no problems parsing anything on
startup.  

Ok, in my filter code I've got the following (in the init method):

String bundleName = application;
try {
bundleName = filterConfig.getInitParameter(
BUNDLE_PARAMETER );
}
catch( Exception e ) {
Log.log( Log.WARNING, this, init(), Exception:  + e
);
}

Where BUNDLE_PARAMETER is set to security_bundle.  Again this all
see right, at least I don't see any errors.  However when I go to init I
get a null pointer exception on the attempt to retrieve the
init-parameter.  I've run it through my debugger and it'd definitely
occurring in this try/catch block, but I don't have a clue why.

Does anyone have any idea why?

--mikej
-=-
mike jackson
[EMAIL PROTECTED]




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



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



RE: Get object from session before it expires.

2003-03-17 Thread mike jackson
Value bound and unbound is the way to do this.  I have an object that
creates and destroys temp tables in my database this way.  It's kinda
clunky, but it works.

When the object is unbound (either it is removed from the session or the
session is invalidated) you'll get an event.  As long as you don't
remove the object yourself you ought to be mostly ok.  With tomcat 3.x I
have the issue that sometimes I have to kill -9 tomcat (not often) which
doesn't trigger the value unbound event, but it's mostly ok.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

-Original Message-
From: Alexander Wallace [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 17, 2003 8:23 AM
To: Tomcat Users List
Subject: Get object from session before it expires.

I've been searching and just want to make sure I was told correctly.

I was told in an IRC that there is no way to get an object from a
session 
before it expires. 

I know you can listen for valueUnbound, but that tells me when all
instances 
of a class are being unbound.

I know you can listen to sessionDestroyed and get the session from the 
HttpSessionEvent, but by then the session has already been invalidated
and I 
can't get a hold on a particular object.

What I need is to know before a session is invalidated, so that I can
pull a 
particular instance of a class from the session and update a database
with 
it.

I was told that is not possible... Is this right? Any suggestions?

Thanks in advance!


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



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



RE: Do you run Tomcat with SSL?

2003-03-13 Thread mike jackson
I've always run tomcat as a backend to apache.  Apache may or may not
implement ssl.  That said, every time I've implemented ssl I've done it
at the apache level, never at the tomcat level.  In fact the few times
that I've wanted ssl at the tomcat level (usually because I'm not
running apache) I've ended up setting up apache to run as the front end.

But that's just me.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

-Original Message-
From: Mark Liu [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 13, 2003 6:44 PM
To: Tomcat Users List
Subject: Do you run Tomcat with SSL?

I am able to run Tomcat SSL with the keytool-generated
certificate, but not the certificate my little Java
program generates.

I've been asking this question for a while in this
list.  But it seems nobody has an answer to it.  So
you guys never run Tomcat in SSL mode?  Or you guys
always use the keytool-generated certificate for the SSL?

__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

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



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



OT: RE: Please sign emergency petition to the U.N.

2003-03-10 Thread Mike Jackson
Who are you and why are you sending me this.  I do not agree with this
petition.  I support war with Iraq, whatever it takes.  But that's just my
option.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Wilhelm Colln [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 10, 2003 9:17 AM
 Cc: Francis Stenning; Fransisco Da Rocha; Gigi Buchanan; Gladys Galvez
 Grieve; Glenn Cameron; Gustavo Kahan Novoa; Gustavo Reategui; Hector
 Rospigliosi; Herbert Cayro; Javier Flores; JOSE AGUILAR; José Ignacio
 Mujica Barreda; Jose Luis de Cossio; Klaus Burger / Navinter; kyoko
 tsuru; Lucho Kukurelo; Lucho Salazar; Luis Enrique Colmenares; Mabez;
 Manuel M Gonzalez del Riego; Manuel Tirado; Maria Laura Burga; Marina
 Bezzola; Miguel Miro Quesada; Nunez; Orazio Parodi; Oscar Paredes; Pedro
 Moratones; Percy Krapp; Pierre Zavan; Rafael Ferrero; Rafael Galdos;
 Ricardo Castillo; Rocio De la Romaña; rodolfo escudero; Rolando Noriega;
 ROMERO Miriam CAMISEA; Sol; Villar, Cesar; Walter Gil; Wilhelm Colln;
 William Bugosen; William Flores
 Subject: Please sign emergency petition to the U.N.


 Dear friend, I'm hoping you can join me on an emergency petition
 from citizens around the world to the U.N. Security Council.

 The petition's going to be delivered to the 15 member states
 of the Security Council on MONDAY, MARCH 10.

 If hundreds of thousands of us sign, it could be an enormously
 important and powerful message -- people from all over the world
 joining in a single call for a peaceful solution.

 But we really need everyone who agrees to sign up today.
 You can do so easily and quickly at: http://www.moveon.org/emergency/
 http://www.moveon.org/emergency/

 The stakes couldn't really be much higher.
 A war with Iraq could kill tens of thousands of Iraqi civilians and
 inflame the Middle East.
 According to current plans, it would require an American occupation of
 the country for years to come.
 And it could escalate in ways that are horrifying to imagine.
 We can help to stop this tragedy from unfolding.

 But we need to speak together, and we need to do so now.
 Let's show the Security Council what world citizens think.

 Thank you,
 Wilhelm Cölln




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



RE: Please sign emergency petition to the U.N. [OOOT!]

2003-03-10 Thread Mike Jackson
Sorry, I don't seem to see tomcat instructions anywhere on the site.  What's
the url?

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Jon Roberts [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 10, 2003 10:13 AM
 To: Tomcat Users List
 Subject: Re: Please sign emergency petition to the U.N. [OOOT!]


 Januski, Ken wrote:
  Well really what's more inappropriate?  The first one is just
 misguided, but
  still has no place here. This one has no place anywhere.

 I *completely* agree and hope there is an enforcement mechanism for
 putting violators in their place if they can't respect the topicality of
 the list or basic netiquette.

 People may regard this stance as hypocritical. After all, I posted
 something last week that linked to a page with not only instructions for
   installing my software on Tomcat for review but some of my own
 commentary on the invasion of Iraq. However, in my defense I mentioned
 up front that not everything on the page would be topical up, and it was
 a link: pull not push. It wasn't a ploy, it just happened incidentally
 (a play on words with the .war extension).

 On a related note, if anyone looked at that page and was disturbed by
 the link to the infowars site at the bottom, I'd like to offer my
 explanation:

 http://www.mentata.com/news/af/infowars.htm

 Don't worry: I'm critical, but I'm not totally ungrounded!

 Thanks for the feedback on my installation instructions... to J. Kjome,
 the only person on this list to offer any.

 Jon Roberts
 www.mentata.com

  -Original Message-
  From: Charlie Barker [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 10, 2003 12:48 PM
  To: 'Tomcat Users List'
  Subject: RE: Please sign emergency petition to the U.N.
 
  Suck on my fat one monkey boy!!!





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




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



strangeness

2003-03-10 Thread Mike Jackson
Ok, I have some kind of a strange behavior here.  I have tomcat 4.0.18
running, tied to apache 1.3.27 via mod_jk.  Seems to work fine.  I'm in theh
process of migrating my installed webapps and I run into something strange.
I've got a a servlet (com.cdi.scsd.tty.servlet.XSLTServlet) which is in my
jar file (tty.jar), that jar file is in the webapps WEB-INF/lib folder.
However when I try to access the servlet via
/servlet/com.cdi.scsd.tty.servlet.XSLTServlet I get a 404 error.  I've
unjarred the file to make sure the class is there, and it is.  I've put the
unjarred files in the the WEB-INF/classes folder, still a 404.  I've checked
to be sure I'm not missing a jar file or something from the old install,
which I don't appear to be.  I checked the startup options from the 3.3.1a
version, nothing.  Does anyone have an idea where to look next?

--mikej
-=-
mike jackson
[EMAIL PROTECTED]



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



RE: strangeness

2003-03-10 Thread Mike Jackson
I did that, but it isn't be required if you specify the entire package/class
name.  The mapping from class to servlet by name doesn't work either.  I
probably should have included that in the original post.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Filip Hanik [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 10, 2003 1:55 PM
 To: Tomcat Users List
 Subject: RE: strangeness


 register your servlet in the web.xml file

 Filip

 -Original Message-
 From: Mike Jackson [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 10, 2003 1:50 PM
 To: Tomcat Users List
 Subject: strangeness


 Ok, I have some kind of a strange behavior here.  I have tomcat 4.0.18
 running, tied to apache 1.3.27 via mod_jk.  Seems to work fine.
 I'm in theh
 process of migrating my installed webapps and I run into
 something strange.
 I've got a a servlet (com.cdi.scsd.tty.servlet.XSLTServlet) which is in my
 jar file (tty.jar), that jar file is in the webapps WEB-INF/lib folder.
 However when I try to access the servlet via
 /servlet/com.cdi.scsd.tty.servlet.XSLTServlet I get a 404 error.  I've
 unjarred the file to make sure the class is there, and it is.
 I've put the
 unjarred files in the the WEB-INF/classes folder, still a 404.
 I've checked
 to be sure I'm not missing a jar file or something from the old install,
 which I don't appear to be.  I checked the startup options from the 3.3.1a
 version, nothing.  Does anyone have an idea where to look next?

 --mikej
 -=-
 mike jackson
 [EMAIL PROTECTED]



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


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




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



RE: strangeness

2003-03-10 Thread Mike Jackson
I've got the servlet/ in there, but I don't have a servlet-mapping for
this servlet.  I only have one page that calls it, and it's via request
dispatcher, so the user doesn't see it.  Are you saying that I can't do this
anymore?

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Tam, Michael [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 10, 2003 2:51 PM
 To: 'Tomcat Users List'
 Subject: RE: strangeness


 servlet-invoker has been disabled by default since 4.x.x.  You need to put
 servlet/ and servlet-mapping/ to your web.xml to locate your
 servlet and
 the url-pattern in your liking.

 Cheers,
 Michael

 -Original Message-
 From: Mike Jackson [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 10, 2003 1:50 PM
 To: Tomcat Users List
 Subject: strangeness


 Ok, I have some kind of a strange behavior here.  I have tomcat 4.0.18
 running, tied to apache 1.3.27 via mod_jk.  Seems to work fine.
 I'm in theh
 process of migrating my installed webapps and I run into
 something strange.
 I've got a a servlet (com.cdi.scsd.tty.servlet.XSLTServlet) which is in my
 jar file (tty.jar), that jar file is in the webapps WEB-INF/lib folder.
 However when I try to access the servlet via
 /servlet/com.cdi.scsd.tty.servlet.XSLTServlet I get a 404 error.  I've
 unjarred the file to make sure the class is there, and it is.
 I've put the
 unjarred files in the the WEB-INF/classes folder, still a 404.
 I've checked
 to be sure I'm not missing a jar file or something from the old install,
 which I don't appear to be.  I checked the startup options from the 3.3.1a
 version, nothing.  Does anyone have an idea where to look next?

 --mikej
 -=-
 mike jackson
 [EMAIL PROTECTED]



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

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




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



RE: strangeness

2003-03-10 Thread Mike Jackson
Ok, what do I need to do to re-enable that?  I don't want to rewrite all my
applications.  I'll fix them as I do other updates, but I don't want to fix
them all at once (too much potential for problems).  Or I suppose I could
stay on 3.3.1a, but I'd rather not do that.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Tam, Michael [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 10, 2003 3:29 PM
 To: 'Tomcat Users List'
 Subject: RE: strangeness


 You just can't make calls like   localhost\servlet\myservlet
 any more in
 4.x.x where it is disabled.  Well, unless you change the setting in the
 global web.xml of tomcat.


 -Original Message-
 From: Mike Jackson [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 10, 2003 3:02 PM
 To: Tomcat Users List
 Subject: RE: strangeness


 I've got the servlet/ in there, but I don't have a servlet-mapping for
 this servlet.  I only have one page that calls it, and it's via request
 dispatcher, so the user doesn't see it.  Are you saying that I
 can't do this
 anymore?

 --mikej
 -=-
 mike jackson
 [EMAIL PROTECTED]

  -Original Message-
  From: Tam, Michael [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 10, 2003 2:51 PM
  To: 'Tomcat Users List'
  Subject: RE: strangeness
 
 
  servlet-invoker has been disabled by default since 4.x.x.  You
 need to put
  servlet/ and servlet-mapping/ to your web.xml to locate your
  servlet and
  the url-pattern in your liking.
 
  Cheers,
  Michael
 
  -Original Message-
  From: Mike Jackson [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 10, 2003 1:50 PM
  To: Tomcat Users List
  Subject: strangeness
 
 
  Ok, I have some kind of a strange behavior here.  I have tomcat 4.0.18
  running, tied to apache 1.3.27 via mod_jk.  Seems to work fine.
  I'm in theh
  process of migrating my installed webapps and I run into
  something strange.
  I've got a a servlet (com.cdi.scsd.tty.servlet.XSLTServlet)
 which is in my
  jar file (tty.jar), that jar file is in the webapps WEB-INF/lib folder.
  However when I try to access the servlet via
  /servlet/com.cdi.scsd.tty.servlet.XSLTServlet I get a 404 error.  I've
  unjarred the file to make sure the class is there, and it is.
  I've put the
  unjarred files in the the WEB-INF/classes folder, still a 404.
  I've checked
  to be sure I'm not missing a jar file or something from the old install,
  which I don't appear to be.  I checked the startup options from
 the 3.3.1a
  version, nothing.  Does anyone have an idea where to look next?
 
  --mikej
  -=-
  mike jackson
  [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 



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

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




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



RE: strangeness

2003-03-10 Thread Mike Jackson
BTW, my webapp is tad, so the urls look like /tad/servlet/MyServlet.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Tam, Michael [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 10, 2003 3:29 PM
 To: 'Tomcat Users List'
 Subject: RE: strangeness


 You just can't make calls like   localhost\servlet\myservlet
 any more in
 4.x.x where it is disabled.  Well, unless you change the setting in the
 global web.xml of tomcat.


 -Original Message-
 From: Mike Jackson [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 10, 2003 3:02 PM
 To: Tomcat Users List
 Subject: RE: strangeness


 I've got the servlet/ in there, but I don't have a servlet-mapping for
 this servlet.  I only have one page that calls it, and it's via request
 dispatcher, so the user doesn't see it.  Are you saying that I
 can't do this
 anymore?

 --mikej
 -=-
 mike jackson
 [EMAIL PROTECTED]

  -Original Message-
  From: Tam, Michael [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 10, 2003 2:51 PM
  To: 'Tomcat Users List'
  Subject: RE: strangeness
 
 
  servlet-invoker has been disabled by default since 4.x.x.  You
 need to put
  servlet/ and servlet-mapping/ to your web.xml to locate your
  servlet and
  the url-pattern in your liking.
 
  Cheers,
  Michael
 
  -Original Message-
  From: Mike Jackson [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 10, 2003 1:50 PM
  To: Tomcat Users List
  Subject: strangeness
 
 
  Ok, I have some kind of a strange behavior here.  I have tomcat 4.0.18
  running, tied to apache 1.3.27 via mod_jk.  Seems to work fine.
  I'm in theh
  process of migrating my installed webapps and I run into
  something strange.
  I've got a a servlet (com.cdi.scsd.tty.servlet.XSLTServlet)
 which is in my
  jar file (tty.jar), that jar file is in the webapps WEB-INF/lib folder.
  However when I try to access the servlet via
  /servlet/com.cdi.scsd.tty.servlet.XSLTServlet I get a 404 error.  I've
  unjarred the file to make sure the class is there, and it is.
  I've put the
  unjarred files in the the WEB-INF/classes folder, still a 404.
  I've checked
  to be sure I'm not missing a jar file or something from the old install,
  which I don't appear to be.  I checked the startup options from
 the 3.3.1a
  version, nothing.  Does anyone have an idea where to look next?
 
  --mikej
  -=-
  mike jackson
  [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 



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

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




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



RE: strangeness

2003-03-10 Thread Mike Jackson
I think I'll do the former, and go back and fix my webapps for the future
(one at a time, rather than all at once).  As here's like 10 or 11 different
servlets that I use directly it'll take some time to track down all the
problem spots.  Safer to install the invoker at this time.

Thanks for the assistance (too all of you).

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Tam, Michael [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 10, 2003 3:50 PM
 To: 'Tomcat Users List'
 Subject: RE: strangeness


 two things you can do:

 1) enable the the servlet invoker (probably your immediate solution)
Goto CATALINA_HOME\conf\,  edit web.xml where the invoker was comment
 out.   uncomment it and restart tomcat.
 2) put your servlet-mapping/ entries in your webapp web.xml   [Most
 recommended way to do it]
For example [forgive me if I misname the element names]
servlet
   servlet-nameMyServlet/servlet-name
   servlet-classMyServlet/servlet-name
servlet
..
.. [other servlets]

servlet-mapping
   servlet-nameMyServlet/servlet-name
   url-pattern/servlet/MyServlet/url-patter!--Equvalent to
 calling /localhost/servlet/MyServlet --
/servlet-mapping

 Hope this helps.

 Cheers,
 Michael

 -Original Message-
 From: Mike Jackson [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 10, 2003 3:34 PM
 To: Tomcat Users List
 Subject: RE: strangeness


 BTW, my webapp is tad, so the urls look like /tad/servlet/MyServlet.

 --mikej
 -=-
 mike jackson
 [EMAIL PROTECTED]

  -Original Message-
  From: Tam, Michael [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 10, 2003 3:29 PM
  To: 'Tomcat Users List'
  Subject: RE: strangeness
 
 
  You just can't make calls like   localhost\servlet\myservlet
  any more in
  4.x.x where it is disabled.  Well, unless you change the setting in the
  global web.xml of tomcat.
 
 
  -Original Message-
  From: Mike Jackson [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 10, 2003 3:02 PM
  To: Tomcat Users List
  Subject: RE: strangeness
 
 
  I've got the servlet/ in there, but I don't have a servlet-mapping for
  this servlet.  I only have one page that calls it, and it's via request
  dispatcher, so the user doesn't see it.  Are you saying that I
  can't do this
  anymore?
 
  --mikej
  -=-
  mike jackson
  [EMAIL PROTECTED]
 
   -Original Message-
   From: Tam, Michael [mailto:[EMAIL PROTECTED]
   Sent: Monday, March 10, 2003 2:51 PM
   To: 'Tomcat Users List'
   Subject: RE: strangeness
  
  
   servlet-invoker has been disabled by default since 4.x.x.  You
  need to put
   servlet/ and servlet-mapping/ to your web.xml to locate your
   servlet and
   the url-pattern in your liking.
  
   Cheers,
   Michael
  
   -Original Message-
   From: Mike Jackson [mailto:[EMAIL PROTECTED]
   Sent: Monday, March 10, 2003 1:50 PM
   To: Tomcat Users List
   Subject: strangeness
  
  
   Ok, I have some kind of a strange behavior here.  I have tomcat 4.0.18
   running, tied to apache 1.3.27 via mod_jk.  Seems to work fine.
   I'm in theh
   process of migrating my installed webapps and I run into
   something strange.
   I've got a a servlet (com.cdi.scsd.tty.servlet.XSLTServlet)
  which is in my
   jar file (tty.jar), that jar file is in the webapps
 WEB-INF/lib folder.
   However when I try to access the servlet via
   /servlet/com.cdi.scsd.tty.servlet.XSLTServlet I get a 404 error.  I've
   unjarred the file to make sure the class is there, and it is.
   I've put the
   unjarred files in the the WEB-INF/classes folder, still a 404.
   I've checked
   to be sure I'm not missing a jar file or something from the
 old install,
   which I don't appear to be.  I checked the startup options from
  the 3.3.1a
   version, nothing.  Does anyone have an idea where to look next?
  
   --mikej
   -=-
   mike jackson
   [EMAIL PROTECTED]
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 



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

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

RE: Pre-authorize a link?

2003-03-07 Thread Mike Jackson
Custom tag?  That's how I do about 50% of my security.

--mikej
-=-
mike jackson
[EMAIL PROTECTED] 

 -Original Message-
 From: Doug Redd [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 06, 2003 3:09 PM
 To: Tomcat Users List
 Subject: Pre-authorize a link?
 
 
 Is there any way to make a call such as authorize(user, resource) that
 returns a boolean to indicate if the user is authorized? I am looking
 for a way to programmatically either include or exclude a link on a page
 depending on whether the authenticated user is authorized to access the
 link's destination.
  
 I have a JNDI realm configured and the relevant security-constraint
 entries and they work great when going to the page directly.  However,
 in the page that references the protected page I only want to display
 the link if the user is authorized to view it, so that they won't get
 the 403 - Access to the requested resource has been denied error if
 they click on it.
  
 Does anyone have any ideas on how to do this in Tomcat 4.*?
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



RE: Apache-Sym Link NOT Allowed ???????

2003-03-06 Thread Mike Jackson
I could be mistaken, but I don't think you need the + in front of the
permissions that you're trying to setup.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Manu Kits [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 06, 2003 9:48 AM
 To: [EMAIL PROTECTED]
 Subject: Apache-Sym Link NOT Allowed ???






 Here is the snippet of my HTTPD.CONF file:

 --
 ---
 DocumentRoot /usr/local/apache/htdocs

 Directory /
Options +FollowSymLinks +Indexes
AllowOverride None
 /Directory

 Directory /home/hari
Options +FollowSymLinks +Indexes
Order allow,deny
Allow from all
 /Directory


 Directory /usr/local/apache/htdocs
Options +FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
 /Directory

 UserDir public_html

 Directory /home/*/public_html
AllowOverride FileInfo AuthConfig Limit
Options +FollowSymLinks +Indexes
Limit GET POST OPTIONS PROPFIND
Order allow,deny
Allow from all
/Limit
LimitExcept GET POST OPTIONS PROPFIND
Order deny,allow
Deny from all
/LimitExcept
 /Directory


 --
 ---

 I have a UNIX SYSTEM USER 'hari' whose HOME dir is /home/hari.
 I have also CREATED SYMBOLIC LINK of /home/hari in
 /usr/local/apache/htdocs/hari

 What I need is that when I type www.hostname.com/hari/index.html,
 it should
 DISPLAY page from /home/hari/public_html/index.html


 When I do this I get following message:
 --
 --
 Forbidden
 You don't have permission to access /hari/index.html on this server.

 Additionally, a 404 Not Found error was encountered while trying
 to use an
 ErrorDocument to handle the request.
 --
 --

 My ERROR_LOG file shows following:
 --
 --
 [Wed Mar  5 14:38:33 2003] [notice] Accept mutex: pthread
 (Default: pthread)
 [Wed Mar  5 14:38:42 2003] [error] Symbolic link not allowed:
 /usr/local/apache/htdocs/hari/
 [Wed Mar  5 14:38:42 2003] [error] File does not exist:
 /usr/local/apache/htdocs/error_doc.html
 --
 --

 I tried adding Alias /hari /home/hari/public_html but still NOT
 working

 Later I tried following (ls command for file, and sym link)

 --
 --
 root#ls -ld /home/hari/public_html /home/hari
 /usr/local/apache2003/htdocs/hari
 drwxr-xr-x   4 hari staff   512 Aug 20 2002  /home/hari
 drwxr-xr-x   2 root system  512 Mar 05 11:50
 /home/hari/public_html
 lrwxrwxrwx   1 root system   25 Mar 05 13:34
 /usr/local/apache2003/htdocs/hari - /home/hari/public_html
 root#
 --
 --

 As seen above, home/hari is (home) directory owned by user 'hari'
 and group
 'staff'. I guess that could be one of the reasone it is NOT
 working...but I
 cannot change the owner of directory /home/kithany to ROOT becos
 it is owned
 by USER hari.

 Any information on this is appreciated.


 Any suggestions is welcome.

 THANKS!


 _
 MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
 http://join.msn.com/?page=features/virus


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




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



RE: response.sendRedirect( .. )

2003-03-05 Thread Mike Jackson
I have 3 machines that I support with broken browsers that don't follow
redirects immediately.  In fact if the page includes any content, any at
all, the ignore the redirect.  I'm not 100% sure, but I even thing they
ignore meta tag redirects.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Geoff Coffey [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2003 7:39 AM
 To: Tomcat Users List
 Subject: Re: response.sendRedirect( .. )


 On Wednesday, March 5, 2003, at 08:32  AM, Tim Funk wrote:

  I paraphrase as its nice to present some body content in your page
  since browsers/agents do have the option of displaying/parsing the
  body for some context before following the redirect.

 I stand corrected on that point, although I've never followed this
 guidance in 8 years, and I've never seen a user agent that didn't
 follow redirects immediately. I've also never seen anyone else do this.
 But none-the-less, it would be wrong, then, for redirect to abort the
 response.

 Thanks again, tim.

 Geoff


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




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



RE: remember password HOW-TO?

2003-03-05 Thread Mike Jackson
You can write your own security.  It's really not that hard, you setup a
servlet or something that intercepts all page requests and validates the
user.  If they don't have permission, or aren't logged in you display a
login screen.  If they are you give them access.  If you want persistant
logins, you need to probably use a cookie (persistant cookie, not a
non-persistant one).

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: David Reed [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2003 2:10 PM
 To: Tomcat Users List
 Subject: Re: remember password HOW-TO?


 Thanks Will,  So what are my alternatives to container
 based authentication?

 --- Will Hartung [EMAIL PROTECTED] wrote:
   From: David Reed [EMAIL PROTECTED]
   Sent: Wednesday, March 05, 2003 1:46 PM
   Subject: remember password HOW-TO?
 
   I am a relative newbie to servlet programming and
  I'm
   not really sure how to best solve a problem I am
   having.  I am trying to implement a save my
  password
   feature on my web site.  I am using Tomcat 4.1.18.
   I
   am using form-based authentication and I am using
  the
   Tomcat provided userdatabase to store my
  usernames,
   passwords and roles.
 
  If you're using container based authentication
  (which you are), then you can
  not implement a remember me facility within the
  Servlet API, there's
  simply no mechanism for it exposed by the container.
 
  Of course, you're welcome to beat on Tomcat itself
  to provide this
  non-portable functionality, but there's no way to do
  it solely within your
  web app.
 
  The only other solution is to implement all security
  using standard
  mechanisms with Servlets et al, but that's a big
  wheel to re carve out of
  stone.
 
  Regards,
 
  Will Hartung
  ([EMAIL PROTECTED])
 
 
 
 
 
 -
  To unsubscribe, e-mail:
  [EMAIL PROTECTED]
  For additional commands, e-mail:
  [EMAIL PROTECTED]
 


 __
 Do you Yahoo!?
 Yahoo! Tax Center - forms, calculators, tips, more
 http://taxes.yahoo.com/

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




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



RE: Trying to Install JAVA 4.1 to run Webgate Anywhere

2003-03-05 Thread Mike Jackson
You're running a version of the jre it looks like, you need the jdk.

--mikej
-=-
mike jackson
[EMAIL PROTECTED] 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2003 2:52 PM
 To: [EMAIL PROTECTED]
 Subject: Trying to Install JAVA 4.1 to run Webgate Anywhere
 
 
 first time user  and I can't seem to get a runtime of Java 4.1  to run.
 
 on start up I get the following message inside the black box:
 The JAVA_HOME environment variable is not defined correctly
 
 The path I have set for JAVA_HOME is:
 C:\Program Files\Java\j2re1.4.1_01
 
 In addition I get an error message superimposed that reads:
 
 cannot find the file '-Djava.endorsed.dirs=' or one of its components
 
 
 
 
 
  
 
 Larry Fisher
 KnowledgeArc, in Tucson
 http://www.KnowledgeArc.com
 [EMAIL PROTECTED]
 Phone: 520 747 0664
 Cell:  520 241 7355


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



RE: Still a problem with tomcat-apache integration

2003-03-05 Thread Mike Jackson
Try going directly to tomcat, if that works then try the connector.  If you
can view the page from tomcat directly, but not from apache, then it's
something to do with the connector.  If you can't view the page from tomcat
directly, well, it's a tomcat problem (or a page problem).

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Simone Chiaretta [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2003 3:26 PM
 To: Tomcat User List
 Subject: Still a problem with tomcat-apache integration


 Dear All,
 please don't shoot me, but I've a problem making tomcat serve jsp for
 apache.
 My configuration is:
 red hat 8.0
 apache 2.0.44
 tomcat 4.1.18
 jk_mod for 2.0.43

 I followed the step by step guide provided by john turner on his
 site but I
 still have problem
 first I see that he references sometimes jk_mod.so while other
 jk_mod.2.0.43.so... so, to avoid problems I made a symbolic link to have
 both the file names.

 The problems I have are the following two:
 1) when I access the site from another client I get apache error
 404 saying
 that /examples does not exist
 2) but when I access the site from the localhost with lynx I got the right
 redirection, but when I try to access a jsp file I get a 500
 internal error
 but don't get the details of the error... just a 500 error from apache

 Can you please help me solve this boring problem I hoped that
 following
 the great john howto I could have go the site up and running with no
 problem.. but I was wrong. :-(

 thank you
 Simone

 -
 Simone Chiaretta
 www.piyosailing.com/S
 Any sufficiently advanced technology is indistinguishable from magic


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




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



RE: Still a problem with tomcat-apache integration

2003-03-05 Thread Mike Jackson
Take a look at your mod_jk.log and see if there's anything in there that
points anywhere, the next step after that would probably be to post your
workers.properties and mod_jk.conf files.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Simone Chiaretta [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2003 3:55 PM
 To: Tomcat Users List
 Subject: R: Still a problem with tomcat-apache integration


 I can access the pages directly with tomcat... it's the first thing I've
 done... even before trying the connector

 Simo


  -Messaggio originale-
  Da: Mike Jackson [mailto:[EMAIL PROTECTED]
  Inviato: giovedì 6 marzo 2003 0.29
  A: Tomcat Users List
  Oggetto: RE: Still a problem with tomcat-apache integration
 
 
  Try going directly to tomcat, if that works then try the
  connector.  If you
  can view the page from tomcat directly, but not from apache, then it's
  something to do with the connector.  If you can't view the page
  from tomcat
  directly, well, it's a tomcat problem (or a page problem).
 
  --mikej
  -=-
  mike jackson
  [EMAIL PROTECTED]
 
   -Original Message-
   From: Simone Chiaretta [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, March 05, 2003 3:26 PM
   To: Tomcat User List
   Subject: Still a problem with tomcat-apache integration
  
  
   Dear All,
   please don't shoot me, but I've a problem making tomcat serve jsp for
   apache.
   My configuration is:
   red hat 8.0
   apache 2.0.44
   tomcat 4.1.18
   jk_mod for 2.0.43
  
   I followed the step by step guide provided by john turner on his
   site but I
   still have problem
   first I see that he references sometimes jk_mod.so while other
   jk_mod.2.0.43.so... so, to avoid problems I made a symbolic
 link to have
   both the file names.
  
   The problems I have are the following two:
   1) when I access the site from another client I get apache error
   404 saying
   that /examples does not exist
   2) but when I access the site from the localhost with lynx I
  got the right
   redirection, but when I try to access a jsp file I get a 500
   internal error
   but don't get the details of the error... just a 500 error from apache
  
   Can you please help me solve this boring problem I hoped that
   following
   the great john howto I could have go the site up and running with no
   problem.. but I was wrong. :-(
  
   thank you
   Simone
  
   -
   Simone Chiaretta
   www.piyosailing.com/S
   Any sufficiently advanced technology is indistinguishable from magic
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


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




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



RE: Still a problem with tomcat-apache integration

2003-03-05 Thread Mike Jackson
Hmm, that looks ok so far.

BTW, I don't read Italian, is there a version of that rc land sailer page in
English?

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Simone Chiaretta [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2003 4:06 PM
 To: Tomcat Users List
 Subject: R: Still a problem with tomcat-apache integration


 I'm from Italy and now I'm not at work
 I'll check them tomorrow at work
 Thank you for now

 anyway the workers contains this

 # BEGIN workers.properties
 worker.list=ajp13
 worker.ajp13.port=8009
 worker.ajp13.host=localhost
 worker.ajp13.type=ajp13
 # END workers.properties

 Simone

  -Messaggio originale-
  Da: Mike Jackson [mailto:[EMAIL PROTECTED]
  Inviato: giovedì 6 marzo 2003 0.57
  A: Tomcat Users List
  Oggetto: RE: Still a problem with tomcat-apache integration
 
 
  Take a look at your mod_jk.log and see if there's anything in there that
  points anywhere, the next step after that would probably be to post your
  workers.properties and mod_jk.conf files.
 
  --mikej
  -=-
  mike jackson
  [EMAIL PROTECTED]
 
   -Original Message-
   From: Simone Chiaretta [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, March 05, 2003 3:55 PM
   To: Tomcat Users List
   Subject: R: Still a problem with tomcat-apache integration
  
  
   I can access the pages directly with tomcat... it's the first
 thing I've
   done... even before trying the connector
  
   Simo
  
  
-Messaggio originale-
Da: Mike Jackson [mailto:[EMAIL PROTECTED]
Inviato: giovedì 6 marzo 2003 0.29
A: Tomcat Users List
Oggetto: RE: Still a problem with tomcat-apache integration
   
   
Try going directly to tomcat, if that works then try the
connector.  If you
can view the page from tomcat directly, but not from
 apache, then it's
something to do with the connector.  If you can't view the page
from tomcat
directly, well, it's a tomcat problem (or a page problem).
   
--mikej
-=-
mike jackson
[EMAIL PROTECTED]
   
 -Original Message-
 From: Simone Chiaretta [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2003 3:26 PM
 To: Tomcat User List
 Subject: Still a problem with tomcat-apache integration


 Dear All,
 please don't shoot me, but I've a problem making tomcat
  serve jsp for
 apache.
 My configuration is:
 red hat 8.0
 apache 2.0.44
 tomcat 4.1.18
 jk_mod for 2.0.43

 I followed the step by step guide provided by john turner on his
 site but I
 still have problem
 first I see that he references sometimes jk_mod.so while other
 jk_mod.2.0.43.so... so, to avoid problems I made a symbolic
   link to have
 both the file names.

 The problems I have are the following two:
 1) when I access the site from another client I get apache error
 404 saying
 that /examples does not exist
 2) but when I access the site from the localhost with lynx I
got the right
 redirection, but when I try to access a jsp file I get a 500
 internal error
 but don't get the details of the error... just a 500 error
  from apache

 Can you please help me solve this boring problem I hoped that
 following
 the great john howto I could have go the site up and
 running with no
 problem.. but I was wrong. :-(

 thank you
 Simone

 -
 Simone Chiaretta
 www.piyosailing.com/S
 Any sufficiently advanced technology is indistinguishable
 from magic



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

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


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




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



RE: Tomcat error

2003-03-04 Thread Mike Jackson
Since you're using the legacy apj13 code you need to comment out the jmx
stuff from the server.xml file.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Adam Denenberg [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 04, 2003 9:32 AM
 To: Tomcat Users List
 Subject: Tomcat error


 Has anyone seen this error before and know what it means?

  thanks
 Adam

 INFO: Initializing Coyote HTTP/1.1 on port 8080
 ServerLifecycleListener: createMBeans: MBeanException
 java.lang.Exception: ManagedBean is not found with Ajp13Connector
 at
 org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:224)
 at
 org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Se
 rverLifecy
 cleListe
 ner.java:369)
 at
 org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Se
 rverLifecy
 cleListe
 ner.java:777)
 at
 org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Se
 rverLifecy
 cleListe
 ner.java:751)
 at
 org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Se
 rverLifecy
 cleListe
 ner.java:339)
 at
 org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(
 ServerLife
 cycleLis
 tener.java:206)
 at
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifec
 ycleSuppor
 t.java:1
 66)
 at
 org.apache.catalina.core.StandardServer.start(StandardServer.java:2182)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
 pl.java:39
 )
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
 cessorImpl
 .java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
 Starting service Tomcat-Standalone


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




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



RE: forwarding from Tomcat to Apache

2003-03-04 Thread Mike Jackson
Drop the paridon.homedns.org, assuming login.html is the base htdocs
directory you ought to be fine.  The second solution would be to add
http://; in front of the paridon.homedns.org.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Todd Paridon [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 04, 2003 9:36 AM
 To: [EMAIL PROTECTED]
 Subject: forwarding from Tomcat to Apache


 Background: I am using Apache 2.0.43, Tomcat 4.1.18 with mod_jk as the
 connector.

 I am using a servlet to check a users response to a retry/cancel
 operation.  If it is a retry I want to go back to a static page being
 served by Apache, if it is cancel I want to access another page being
 served by Tomcat.  The second part works fine, but when I try to
 redirect back to Apache (using
 response.sendRedirect(paridon.homedns.org/login.html) ) the url it
 uses is :
 http://paridon.homedns.org/ParidonWeb/servlet/paridon.homedns.org/
 login.html
 When I use response.sendRedirect(login.html) it responds:
 http://paridon.homedns.org/ParidonWeb/servlet/ParidonWeb/servlet/L
 oginFailed?OK=Retry
 Neither of which is there... It should be just:
 http://paridon.homedns.org/login.html
 Is this a setup problem?  Does anyone know what the proper way to do
 this or a workaround?

 Thanks in advance.
 Todd Paridon



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




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



RE: Oracle JDBC, what do do?

2003-03-04 Thread Mike Jackson
If you're on jdk1.4 you want to be using ojdbc14.jar.  Also, if you're using
classes12.jar you need to also have nls_charset12.jar as well.  Most of the
time you can live without it, but depending on how the database is setup you
may need it.  Better to have it than to be looking for it.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 04, 2003 12:53 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Oracle JDBC, what do do?


 Got it.  Thanks very much.

 Bao-Ha Dam Bui
 [EMAIL PROTECTED]
 St. Jude Medical, Inc
 651.765.1018


 -Original Message-
 From: Tam, Michael [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 04, 2003 2:47 PM
 To: 'Tomcat Users List'
 Subject: RE: Oracle JDBC, what do do?

 Depends which Oracle version you're running.
 For 8i,  I believe you have to get class12.zip and rename it as jar file.
 For 9i, I forgot the name of the file but it should work the same
 way as 8i
 which you need to rename it to jar.

 Hope this help.

 Michael

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 04, 2003 12:40 PM
 To: [EMAIL PROTECTED]
 Subject: Oracle JDBC, what do do?


 Hi all,

 I am trying to connect to Oracle.  What do I need to do to get
 tomcat to see
 the zip files that contain the driver?

 I am running Tomcat 4.1.2 on Win2k.

 Thanks very much.

 Bao-Ha Dam Bui




 *
 This communication may contain information that is proprietary,
 privileged,
 confidential or legally exempt from disclosure.  If you are not a named
 addressee, you are notified that you are not authorized to read, print,
 retain, copy or disseminate this communication without the consent of the
 sender and that doing so may be unlawful. If you have received this
 communication in error, please notify the sender via return e-mail and
 delete it from your computer. Thank you. St. Jude Medical, Inc.
 *

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


 *
 This communication may contain information that is proprietary,
 privileged,
 confidential or legally exempt from disclosure.  If you are not a named
 addressee, you are notified that you are not authorized to read, print,
 retain, copy or disseminate this communication without the consent of the
 sender and that doing so may be unlawful. If you have received this
 communication in error, please notify the sender via return e-mail and
 delete it from your computer. Thank you. St. Jude Medical, Inc.
 *




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



RE: Oracle JDBC, what do do?

2003-03-04 Thread Mike Jackson
Here's the meaning...

[EMAIL PROTECTED]:~ oerr ora 00600
00600, 0, internal error code, arguments: [%s], [%s], [%s], [%s], [%s],
[%s], [%s], [%s]
// *Cause:  This is the generic internal error number for Oracle program
// exceptions.  This indicates that a process has encountered an
// exceptional condition.
// *Action: Report as a bug - the first argument is the internal error
number

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 04, 2003 2:54 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Oracle JDBC, what do do?


 Using the oracle8i driver, I got the connection but then get the
 ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0],
 [], [], [],
 [], [], [] error when trying to execute any query.

 The same code runs fine in my IDE (IBM Visual Age).

 Any idea?  I have both the classes12.zip and the nls_charset12.zip.

 Thanks very much.

 Bao-Ha Dam Bui
 [EMAIL PROTECTED]
 St. Jude Medical, Inc
 651.765.1018


 -Original Message-
 From: Mike Jackson [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 04, 2003 4:49 PM
 To: Tomcat Users List
 Subject: RE: Oracle JDBC, what do do?

 If you're on jdk1.4 you want to be using ojdbc14.jar.  Also, if
 you're using
 classes12.jar you need to also have nls_charset12.jar as well.
 Most of the
 time you can live without it, but depending on how the database
 is setup you
 may need it.  Better to have it than to be looking for it.

 --mikej
 -=-
 mike jackson
 [EMAIL PROTECTED]

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, March 04, 2003 12:53 PM
  To: [EMAIL PROTECTED]
  Subject: RE: Oracle JDBC, what do do?
 
 
  Got it.  Thanks very much.
 
  Bao-Ha Dam Bui
  [EMAIL PROTECTED]
  St. Jude Medical, Inc
  651.765.1018
 
 
  -Original Message-
  From: Tam, Michael [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, March 04, 2003 2:47 PM
  To: 'Tomcat Users List'
  Subject: RE: Oracle JDBC, what do do?
 
  Depends which Oracle version you're running.
  For 8i,  I believe you have to get class12.zip and rename it as
 jar file.
  For 9i, I forgot the name of the file but it should work the same
  way as 8i
  which you need to rename it to jar.
 
  Hope this help.
 
  Michael
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, March 04, 2003 12:40 PM
  To: [EMAIL PROTECTED]
  Subject: Oracle JDBC, what do do?
 
 
  Hi all,
 
  I am trying to connect to Oracle.  What do I need to do to get
  tomcat to see
  the zip files that contain the driver?
 
  I am running Tomcat 4.1.2 on Win2k.
 
  Thanks very much.
 
  Bao-Ha Dam Bui
 
 
 
 
  *
  This communication may contain information that is proprietary,
  privileged,
  confidential or legally exempt from disclosure.  If you are not a named
  addressee, you are notified that you are not authorized to read, print,
  retain, copy or disseminate this communication without the
 consent of the
  sender and that doing so may be unlawful. If you have received this
  communication in error, please notify the sender via return e-mail and
  delete it from your computer. Thank you. St. Jude Medical, Inc.
  *
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  *
  This communication may contain information that is proprietary,
  privileged,
  confidential or legally exempt from disclosure.  If you are not a named
  addressee, you are notified that you are not authorized to read, print,
  retain, copy or disseminate this communication without the
 consent of the
  sender and that doing so may be unlawful. If you have received this
  communication in error, please notify the sender via return e-mail and
  delete it from your computer. Thank you. St. Jude Medical, Inc.
  *
 



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


 *
 This communication may contain information that is proprietary,
 privileged,
 confidential or legally exempt from disclosure.  If you are not a named
 addressee, you are notified that you are not authorized to read, print,
 retain, copy or disseminate this communication without the consent of the
 sender and that doing so may be unlawful. If you have received this
 communication in error, please notify the sender via return e-mail and
 delete it from your computer. Thank you. St. Jude Medical, Inc.
 *




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



RE: JDBC connectivityfor ORACLE !!!

2003-03-03 Thread Mike Jackson
XP is different.  Usually under windows the install is alot smoother than
under the flavors of unix I have available.  All I can really say is good
luck, can't help you further.  After you get it installed I might be able to
offer further advice.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Swapneel Dange [mailto:[EMAIL PROTECTED]
 Sent: Saturday, March 01, 2003 8:03 PM
 To: [EMAIL PROTECTED]
 Subject: RE: JDBC connectivityfor ORACLE !!!


 hey MIKE !

 may be this is a DUMB QUESTION but all this procedure for installation
 remains tha same irrespective of the fact that i am trying to implement
 ORACLE under XP. right ?

 Swapneel Dange
 505-642-4126
 http://www.cs.nmsu.edu/~sdange







 From: Mike Jackson [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: RE: JDBC connectivityfor ORACLE !!!
 Date: Thu, 27 Feb 2003 08:56:19 -0800
 
 Also, http://www.orafaq.com is extremely helpful for answering questions.
 
 --mikej
 -=-
 mike jackson
 [EMAIL PROTECTED]
 
   -Original Message-
   From: Mike Jackson [mailto:[EMAIL PROTECTED]
   Sent: Thursday, February 27, 2003 8:53 AM
   To: Tomcat Users List
   Subject: RE: JDBC connectivityfor ORACLE !!!
  
  
   To Install Oracle:
  
 Create three groups, sysdba, sysoper, oinstall
  
 Create an oracle user, default group oinstall, member of
   sysdba and
   sysoper
  
 Setup environment variables for ORACLE_HOME, and ORACLE_SID
  
 Change the PATH to include $ORACLE_HOME/bin
  
 Get the CDROMS
  
 Mount the CDROMS
  
 cd /where the cdrom is mounted
  
 As the oracle user ./runInstaller.sh
  
 For the most part follow the instructions, but do not, and
   I repeat do not
   let it to the copy the inital database, in fact when you get the
 option
   have it install the software only.
  
 After oracle is installed run dbca
  
 Create the initial database, take the option that creates a database
   without using a template
  
   As for JDBC drivers, I've never had a problem with the oracle drivers,
   except in their JDBC2.0 connection pooling, so as long as you use
 another
   connection pool I'd use the standard ones.
  
   --mikej
   -=-
   mike jackson
   [EMAIL PROTECTED]
  
-Original Message-
From: Swapneel Dange [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 9:50 PM
To: [EMAIL PROTECTED]
Subject: JDBC connectivityfor ORACLE !!!
   
   
hi MIKE, PENG , CHONG !!
   
guys, there seems to be a problem here for me with the database
implementation. After all the discussion i was all set to
   implemenent the
database as a FILESYSTEM only but my BOSS insists that
 ORACLE shoudl
 be
implemented. Can somebody of u enlighten me with the SITES and
README files
about impplementing ORACLE under TOMCAT umbrella and what
 could be the
DRIVERS i need to know before i plunge into the deep sea of ORACLE
implementation. some of the drivers suggested are the ones made
by DATATAKE,
JBOSS (i guess, i may be wrong)or the default drivers which come
up with the
ORACLE.
   
Comments are really awaited !
   
Swapneel Dange
505-642-4126
http://www.cs.nmsu.edu/~sdange
   
   
   
   
   
   
   
   
   
   
   
   
From: Mike Jackson [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: JDBC  ORACLE implementation !
Date: Tue, 25 Feb 2003 09:20:31 -0800

SQLPlus is part of oracle.  You can't do sqlplus without oracle.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

  -Original Message-
  From: Swapneel Dange [mailto:[EMAIL PROTECTED]
  Sent: Monday, February 24, 2003 11:20 PM
  To: [EMAIL PROTECTED]
  Subject: Re: JDBC  ORACLE implementation !
 
 
  hey CHONG , PENG !
 
  i think i have really given up the idea of putting up
 ORACKLE for
 my
  support. after all this discussion, i just think that there i
sno urgent
  need for me to take up a HUMONGOUS taks of using ORACLE and i
  guess i will
  IMPLEMENT the SQLPLUS or the FILESYSTEM as my
 alternatives to the
  DATABASE
  application.
 
  but in the end i would really like to know as to
 between SQLPLUS
 or
  FILESYSTEM, which will be convinient for me to HANDLE string
stripping ,
  string comparison and all that stuff ! ( BTW, i have really
 started
  implementing the FILESYSTEM to a good level )
 
  do commment about this !
 
  Swapneel Dange
  505-642-4126
  http://www.cs.nmsu.edu/~sdange
 
 
 
 
 
 
 
 
  From: Chong Yu Meng [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Subject: Re: JDBC  ORACLE implementation !
  Date

RE: Mime-Type

2003-03-03 Thread Mike Jackson
Uh, mime-type doesn't have anything to do with a file extension.  If I have
a tiff image it doesn't matter what the extension is, it's still a tiff
file.  Determining mime-type based based on file extensions is a windows
stupidism.  Now, I'll admit there are certian conventions, but you can't
100% count on them.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Hostmaster of the day [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 03, 2003 8:25 AM
 To: [EMAIL PROTECTED]
 Subject: RE: Mime-Type


 Ladies and Gentleman,

 .jsp (e.g. index.jsp) is indeed a MIME type.

 Apache will know this MIME type by the following
 code if you are using mod_jk as module:

 JkMount /*.jsp ajp13

 --Dave



 
  Howdy,
  Typically, text/html as that's what the browser sees.
 
  However, in a JSP (since it's really a servlet), you can set the
  response content type to whatever you want, e.g. gzip or
  application/ms-excel.
 
  Yoav Shapira
  Millennium ChemInformatics
 
 
  -Original Message-
  From: Anthony Smith [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 03, 2003 10:36 AM
  To: Tomcat Users List
  Subject: Mime-Type
  
  I did not know where ask to else this question.
  
  Is there a mime-type for a jsp? If so, what is it?
  
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
  This e-mail, including any attachments, is a confidential business
 communication, and may contain information that is confidential,
 proprietary and/or privileged.  This e-mail is intended only for the
 individual(s) to whom it is addressed, and may not be saved, copied,
 printed, disclosed or used by anyone else.  If you are not the(an)
 intended recipient, please immediately delete this e-mail from your
 computer system and notify the sender.  Thank you.
 
 
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


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




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



RE: Simple Question

2003-03-03 Thread Mike Jackson
The web.xml is only read when the server is restarted.  The browser has
nothing to do with it.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Swapneel Dange [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 03, 2003 8:51 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Simple Question


 even if u dont restart the SERVER again, the moment u open the
 new browser
 the web.xml should be read again.
 But at time if this doens work then its better to RESTART the
 server. After
 that the new web.xml will be read for sure. Are u sure that ur
 mapping for
 the servlets and all that stuff is right inside the web.xml ? u
 may want to
 check that once more.



 Swapneel Dange
 505-642-4126
 http://www.cs.nmsu.edu/~sdange





 From: Vy Ho [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Simple Question
 Date: Sun, 02 Mar 2003 23:29:23 -0500
 
 
 I have a very simple question, and if you are a bit experienced
 in tomcat,
 you probably would know.  I would really appreciate any links,
 hints, tips
 or advices.
 
 The question is this, if I change an application deployment file
 (web.xml),
 and then use the tomcat manager to restart the application (through the
 web), would the change in the web.xml file be used?  Is the
 restart as of
 the above action is the same as a restart of the tomcat server
 (application) itself (that is to stop and start the whole server)?
 
 If the above does not work (I tried to restart, and it says restart
 successfully, but the xml file does not seem to be read), then
 how to I do
 this without actually restart the server?
 
 Thank you very much again for any help.
 
 VD
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 _
 Tired of spam? Get advanced junk mail protection with MSN 8.
 http://join.msn.com/?page=features/junkmail


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




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



RE: Simple Question

2003-03-03 Thread Mike Jackson


 I have a very simple question, and if you are a bit experienced in
 tomcat, you probably would know.  I would really appreciate any links,
 hints, tips or advices.

 The question is this, if I change an application deployment file
 (web.xml), and then use the tomcat manager to restart the application
 (through the web), would the change in the web.xml file be used?  Is the
 restart as of the above action is the same as a restart of the tomcat
 server (application) itself (that is to stop and start the whole server)?

If you use the manager it will be re-read.  Or if you restart the server it
will be re-read.

 If the above does not work (I tried to restart, and it says restart
 successfully, but the xml file does not seem to be read), then how to I
 do this without actually restart the server?

If it doesn't work you might want to make sure you saved the changes.

 Thank you very much again for any help.

 VD

--mikej
-=-
mike jackson
[EMAIL PROTECTED]



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



RE: Mime-Type

2003-03-03 Thread Mike Jackson
petPeeveAlert

I'm not going to argue with you, but a file without an extension will still
have a mime-type.  And a file extension doesn't 100% guarantee that the
particular file is what you expect.  File extensions are a convenience,
nothing more.  It's only because some companies (Microsoft) blindly expect
the mime-type to be determined by the file extension that we're having this
discussion.  And this short sitedness is not limited to just Microsoft, but
I blame them it popping up in other people's code.  Tomcat's own mime-type
determination code, ServletContext.getMimetype(), is based on the same short
sightedness, at least with version 4.1.12.

/petPeeveAlert

And yes, JkMount /*.jsp ajp13 is not a mime-type, its a mod_jk setup
directive.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Hostmaster of the day [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 03, 2003 9:42 AM
 To: [EMAIL PROTECTED]
 Subject: RE: Mime-Type


 Mime Type Overview

 Mime types tell browsers how to handle specific extensions. Most Mime
 types are set globally on the server. For example, the text/html Mime
 type equates to htm, html, and shtml extensions on most servers, and
 this tells your browser to interpret all files with those extensions
 as HTML files. You can alter or add new Mime types specifically for
 your site (note that you can not alter the global Mime type values,
 only add to them). Mime types are often used to handle new
 technologies as they appear. When WAP technology first appeared
 no-one had these extensions set up on their server. With Mime types,
 however, you could have set it up yourself and begun serving WAP
 pages immediately.

 Warning: Make sure you check the list of pre-existing Mime types
 before adding new ones. Check with your hosting administrator before
 adding a Mime type, as they can easily alter the correct functioning
 of your web site.

 Note: People often get confused as to the difference between Mime
 types and Apache handlers. Basically, Mime types tell your browser
 how to handle files, while Apache handlers tell the server how to
 handle files.

 JkMount /*.jsp ajp13 is an Apache handler not a MIME type. Isn't it.


  Uh, mime-type doesn't have anything to do with a file extension.
 If I have
  a tiff image it doesn't matter what the extension is, it's still a
 tiff
  file.  Determining mime-type based based on file extensions is a
 windows
  stupidism.  Now, I'll admit there are certian conventions, but you
 can't
  100% count on them.
 
  --mikej
  -=-
  mike jackson
  [EMAIL PROTECTED]
 
   -Original Message-
   From: Hostmaster of the day [mailto:[EMAIL PROTECTED]
   Sent: Monday, March 03, 2003 8:25 AM
   To: [EMAIL PROTECTED]
   Subject: RE: Mime-Type
  
  
   Ladies and Gentleman,
  
   .jsp (e.g. index.jsp) is indeed a MIME type.
  
   Apache will know this MIME type by the following
   code if you are using mod_jk as module:
  
   JkMount /*.jsp ajp13
  
   --Dave
  
  
  
   
Howdy,
Typically, text/html as that's what the browser sees.
   
However, in a JSP (since it's really a servlet), you can set the
response content type to whatever you want, e.g. gzip or
application/ms-excel.
   
Yoav Shapira
Millennium ChemInformatics
   
   
-Original Message-
From: Anthony Smith [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 10:36 AM
To: Tomcat Users List
Subject: Mime-Type

I did not know where ask to else this question.

Is there a mime-type for a jsp? If so, what is it?

   
  
 -
To unsubscribe, e-mail:
 [EMAIL PROTECTED]
For additional commands, e-mail:
   [EMAIL PROTECTED]
   
   
   
   
This e-mail, including any attachments, is a confidential
 business
   communication, and may contain information that is confidential,
   proprietary and/or privileged.  This e-mail is intended only for
 the
   individual(s) to whom it is addressed, and may not be saved,
 copied,
   printed, disclosed or used by anyone else.  If you are not the(an)
   intended recipient, please immediately delete this e-mail from
 your
   computer system and notify the sender.  Thank you.
   
   
   
  
 -
To unsubscribe, e-mail:
 [EMAIL PROTECTED]
For additional commands, e-mail:
 [EMAIL PROTECTED]
   
  
  
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail:
 [EMAIL PROTECTED]
  
 
 
 
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


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

RE: Mime-Type

2003-03-03 Thread Mike Jackson

 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 03, 2003 9:49 AM
 To: Tomcat Users List
 Subject: RE: Mime-Type
 
 

snip

 As Mr. Jackson said, it can be dangerous to rely on specific mime-type

snip

You're making me feel old here, stop that. :)

--mikej
-=-
mike jackson
[EMAIL PROTECTED] 




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



RE: Tomcat as Linux Service

2003-03-03 Thread Mike Jackson
nohup $TOMCAT_HOME/bin/startup.sh 

--mikej
-=-
mike jackson
[EMAIL PROTECTED] 

 -Original Message-
 From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 03, 2003 10:11 AM
 To: Tomcat
 Subject: Tomcat as Linux Service
 
 
 Tomcat List,
 Does anyone know how to get Tomcat to be a service on a
 Linux Box?  Thanks,
  
 Jeremy Whitlock --- MCP/MCSA
 IT Manager for Star Precision, Inc.
 Phone:  (970) 535-4795
 Metro:  (303) 926-0559
 Fax:  (970) 535-0780
 Metro Fax:  (303) 926-0559
 http://www.starprecision.com 
  
 


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



RE: Tomcat as Linux Service

2003-03-03 Thread Mike Jackson
Or did you want it to start automatically on startup?  That'd be something
like this:

#!/bin/sh
case $1 in
start)
nohup $TOMCAT_HOME/bin/startup.sh
;;
stop)
$TOMCAT_HOME/bin/shutdown.sh
;;
esac

put it into a file, chmod 0755 the file, and then put symbolic links in the
run levels you want it to run at.  If you want it to be started then make
the link S99file, to stop it's K00file.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 03, 2003 10:11 AM
 To: Tomcat
 Subject: Tomcat as Linux Service


 Tomcat List,
 Does anyone know how to get Tomcat to be a service on a
 Linux Box?  Thanks,

 Jeremy Whitlock --- MCP/MCSA
 IT Manager for Star Precision, Inc.
 Phone:  (970) 535-4795
 Metro:  (303) 926-0559
 Fax:  (970) 535-0780
 Metro Fax:  (303) 926-0559
 http://www.starprecision.com





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



RE: Apache 1.3.27 + mod_jk 1.2.2 + tomcat 4..1.18

2003-03-03 Thread Mike Jackson
What platform?  I'm on unixware...

--mikej
-=-
mike jackson
[EMAIL PROTECTED] 

 -Original Message-
 From: Adam Denenberg [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 03, 2003 11:02 AM
 To: Tomcat Users List
 Subject: Apache 1.3.27 + mod_jk 1.2.2 + tomcat 4..1.18
 
 
 Anyone have a working config for this combo?
 
  Trying to resolve my did not found worker error from mod_jk
 
  adam
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



RE: Apache 1.3.27 + mod_jk 1.2.2 + tomcat 4..1.18

2003-03-03 Thread Mike Jackson
Here's my file:

workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/java
ps=/
worker.list=ajp12, ajp13
worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12
worker.ajp12.lbfactor=1
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp12, ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)classes
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jaxp.jar
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)parser.jar
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jasper.jar
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)servlet.jar
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)webserver.jar
worker.inprocess.class_path=$(workers.java_home)$(ps)lib$(ps)tools.jar
worker.inprocess.cmd_line=-config
worker.inprocess.cmd_line=$(workers.tomcat_home)/conf/jni_server.xml
worker.inprocess.cmd_line=-home
worker.inprocess.cmd_line=$(workers.tomcat_home)
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(p
s)jvm.dll
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)inprocess.stderr
worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home)

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Adam Denenberg [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 03, 2003 11:19 AM
 To: Tomcat Users List
 Subject: Re: Apache 1.3.27 + mod_jk 1.2.2 + tomcat 4..1.18


 I have tried on both linux and solaris and still recive this same did not
 found worker error from mod_jk and have no idea why.  I am just wondering
 if it has to do with a version issue.

  Any unix platform will do.

 Adam

 On 3/3/03 2:13 PM, Mike Jackson [EMAIL PROTECTED] wrote:

  What platform?  I'm on unixware...
 
  --mikej
  -=-
  mike jackson
  [EMAIL PROTECTED]
 
  -Original Message-
  From: Adam Denenberg [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 03, 2003 11:02 AM
  To: Tomcat Users List
  Subject: Apache 1.3.27 + mod_jk 1.2.2 + tomcat 4..1.18
 
 
  Anyone have a working config for this combo?
 
   Trying to resolve my did not found worker error from mod_jk
 
   adam
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


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




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



RE: Tomcat Manager

2003-03-03 Thread Mike Jackson
If you changed it so that tomcat responses to port 80, then you'll have to
change the manager port as well.  It's just another webapplication to tomcat
after all.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Brewer, Michael [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 03, 2003 1:13 PM
 To: [EMAIL PROTECTED]
 Subject: Tomcat Manager


 I just installed Tomcat on my Windows 2000 box. I'm an extreme newbie. I
 was trying to get Tomcat to respond to requests on port 80 from Tomcat
 Admin, and I think I may have messed up Tomcat Manager.

 When I go to http://127.0.0.1:8080/manager/
 http://127.0.0.1:8080/manager/  I get FAIL - Unknown command /.
 However, going to http://127.0.0.1:8080/manager/html/list
 http://127.0.0.1:8080/manager/html/list  gives me the Manager screen.

 Has anyone seen this before?




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



  1   2   3   4   >