Re: Two inhibiting problems in developement with tomcat 4

2002-12-15 Thread Lukas Österreicher

 I don't know for sure about your first problem since I haven't played
 with auto load extensivly since tomcat 3x.  I believe however that there
 is a switch somewhere in server.xml...
 
 As for your other problem:
 If you compile your classes without the debugging information, the JVM
 can't tell you what line number exceptions are thrown.  The only reason
 I can think of that TC 4.1.12 wouldn't show you the line numbers would
 be because either your classes, or the classes TC uses were compiled
 without debugging options.  Obviously, this is done to increase runtime
 speed.
 
 Randy

Maybe I can find that switch somewhere.

As to the other problem I'm still wondering. I have the standard binary
distribution of tc 4.1.12 and all other sources in the exception do show
line numbers, only my own don't.
Will you believe me it's tomcat itself somehow if I copy those classes
used on tomcat 3 which do show line numbers to my tomcat 4 install and
there suddenly they aren't shown?
Maybe theres some configuration about this too.

Lukas

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




ClassCastException when using BasicDataSource

2002-12-15 Thread Tuncay Baskan (nternet Grubu)
I'm trying to use a JNDI name for a JDBC resource. Configuration is
as follows:

Tomcat 4.0.3
DBCP 1.0

In the server.xml, I have the following DefaultContext entry. (It must be
DefaultContext because there are 3 other webapps that use the same database)

DefaultContext
Resource auth=Container name=jdbc/eproject
type=javax.sql.DataSource/
  
ResourceParams name=jdbc/eproject
parameter
  namefactory/name
  valueorg.apache.commons.dbcp.BasicDataSourceFactory/value/parameter
parameter
  namevalidationQuery/name  
  valueselect * from groups/value/parameter
parameter
  namemaxWait/name  
  value1/value/parameter
parameter
  namemaxActive/name
  value100/value/parameter
parameter
  nameusername/name
  valueusername/value/parameter
parameter
  namepassword/name 
  valuepassword/value/parameter
parameter
  nameurl/name
  valuejdbc:mysql://quantranet:3306/eproject?autoReconnet=true/value
/parameter
parameter
  namedriverClassName/name  
  valueorg.gjt.mm.mysql.Driver/value/parameter
parameter
  namemaxIdle/name
  value30/value/parameter
/ResourceParams
/DefaultContext

And in the web.xml:

resource-ref id=ResourceRef_1039888737098
  descriptionnone/description
  res-ref-namejdbc/eproject/res-ref-name
  res-typejavax.sql.DataSource/res-type
  res-authContainer/res-auth
/resource-ref

I think there isn't a problem with JNDI. jndiContext.lookup() calls
successfully return an object. It returns the correct object, which is
BasicDataSource (a class that implements javax.sql.DataSource).

I re-evaluated the code, so jndi.lookup() returns an object that has the 
name org.apache.commons.dbcp.BasicDataSource which implements the 
javax.sql.DataSource interface. But... I don't know how, I'm getting
a ClassCastException when I cast it to DataSource to get a connection!
(btw, returned object is not an instanceof javax.sql.DataSource,
but getClass().getInterfaces() has javax.sql.DataSource)

initContext = new InitialContext();
envContext  = (Context)initContext.lookup(java:/comp/env);
DataSource ds = (DataSource)envContext.lookup(jdbc/eproject);

or,

initContext = new InitialContext();
envContext  = (DataSource)initContext.lookup
(java:/comp/env/jdbc/eproject);

fails on the lines which I'm trying to cast DataSource.

So, how can it be? I really appreciate the one who can tell me why!

PS: commons-collections, commons-dbcp, commons-pool is in 
%CATALINA_HOME%\common\lib along with mysql-connector and they are in .jar
format as described in JNDI-Resources HOWTO.

/tb.



AccessControlException/introspection

2002-12-15 Thread Bertrand Fontaine
Hello,

I am getting the following stack trace:

java.security.AccessControlException: access denied 
(java.lang.RuntimePermission accessDeclaredMembers)
...

I have added the following to tomcat.policy in the hope to sort out the 
problem due to the use of introspection by one of the libraries used by a 
servlet I wrote:

grant {
   permission java.lang.RuntimePermission accessDeclaredMembers;
};

Even after restarting Tomcat, I still have the stack trace. I am running 
Tomcat 3.2.3 with a JRE 1.3.1 on a SUN Cobalt Raq4 server.

Any idea? Thank you,

Bertrand






_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


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



RE: ClassCastException when using BasicDataSource

2002-12-15 Thread Tuncay Baskan (nternet Grubu)

 -Original Message-
 From: Tuncay Baskan (nternet Grubu)
 [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, December 15, 2002 2:18 PM
 To: Tomcat Users List (E-mail)
 Subject: ClassCastException when using BasicDataSource
 
 
 I'm trying to use a JNDI name for a JDBC resource. Configuration is
 as follows:
 
 Tomcat 4.0.3
 DBCP 1.0
 
 In the server.xml, I have the following DefaultContext entry. 
 (It must be
 DefaultContext because there are 3 other webapps that use the 
 same database)
 
 DefaultContext
 Resource auth=Container name=jdbc/eproject
 type=javax.sql.DataSource/
   
 ResourceParams name=jdbc/eproject
 parameter
   namefactory/name
   
 valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
 /parameter
 parameter
   namevalidationQuery/name  
   valueselect * from groups/value/parameter
 parameter
   namemaxWait/name  
   value1/value/parameter
 parameter
   namemaxActive/name
   value100/value/parameter
 parameter
   nameusername/name
   valueusername/value/parameter
 parameter
   namepassword/name 
   valuepassword/value/parameter
 parameter
   nameurl/name
   
 valuejdbc:mysql://quantranet:3306/eproject?autoReconnet=true/value
 /parameter
 parameter
   namedriverClassName/name  
   valueorg.gjt.mm.mysql.Driver/value/parameter
 parameter
   namemaxIdle/name
   value30/value/parameter
 /ResourceParams
 /DefaultContext
 
 And in the web.xml:
 
 resource-ref id=ResourceRef_1039888737098
   descriptionnone/description
   res-ref-namejdbc/eproject/res-ref-name
   res-typejavax.sql.DataSource/res-type
   res-authContainer/res-auth
 /resource-ref
 
 I think there isn't a problem with JNDI. jndiContext.lookup() calls
 successfully return an object. It returns the correct 
 object, which is
 BasicDataSource (a class that implements javax.sql.DataSource).
 
 I re-evaluated the code, so jndi.lookup() returns an object 
 that has the 
 name org.apache.commons.dbcp.BasicDataSource which implements the 
 javax.sql.DataSource interface. But... I don't know how, I'm getting
 a ClassCastException when I cast it to DataSource to get a connection!
 (btw, returned object is not an instanceof javax.sql.DataSource,
 but getClass().getInterfaces() has javax.sql.DataSource)
 
 initContext = new InitialContext();
 envContext  = (Context)initContext.lookup(java:/comp/env);
 DataSource ds = (DataSource)envContext.lookup(jdbc/eproject);
 
 or,
 
 initContext = new InitialContext();
 envContext  = (DataSource)initContext.lookup
 (java:/comp/env/jdbc/eproject);
 
 fails on the lines which I'm trying to cast DataSource.
 
 So, how can it be? I really appreciate the one who can tell me why!
 
 PS: commons-collections, commons-dbcp, commons-pool is in 
 %CATALINA_HOME%\common\lib along with mysql-connector and 
 they are in .jar
 format as described in JNDI-Resources HOWTO.
 
 /tb.
 

Hmm.. I wasted one day to solve this problem. Actually, nothing solved,
at least problem went away after upgrading to tomcat-4.0.6. I still wonder
what caused to give ClassCastException.

/tb.



RE: Almost there...Updated Apach-Tomcat with mod_jk .. please help!

2002-12-15 Thread Milt Epstein
On Sun, 15 Dec 2002, Denise Mangano wrote:

 At first I thought it might be a permission problem, so I changed
 permissions to 775 on workers.properties and still no good.  NOW my
 Apache won't work.  I am getting an error message saying that Apache
 could not bind to port 443, that the port is already in use.
 Figuring on the problem being Tomcat, I uninstalled Tomcat, and I am
 still getting the error message and I can't bring up my website?!
 Desperately need to solve that cause my website, HAS to be up.  Can
 someone tell me how to check what else is binding to port 443?

443 is the default SSL (https) port, so most likely it is Apache that
is using it.  You probably already have it running, and need to
restart it (i.e. stop it then start it, as opposed to just starting
it).  Not sure about the other stuff.


 As far as why the jk2.properties, I have no idea!  But I can say
 this, it looks like when I built mod_jk it uses a java file called
 ApacheConfig.  This file has code that points to a different
 location for mod_jk is installed then where it actually is on my
 system.  Is it possible that I need to modify this ApacheConfig file
 before I build or are my configuration settings supposed to override
 that.  (In my error log below you can see that it still looks for
 mod_jk.so in libexec/ even though I changed that location in my
 tomcat config files... That still doesn't explain why even though
 its looking in the right place for my workers.properties file, it
 says the file is not there).

 Right now my first problem is more pressing...

 THanks!
 Denise


 -Original Message-
 From: Milt Epstein
 To: Tomcat Users List
 Sent: 12/14/2002 11:00 AM
 Subject: Re:  Almost there...Updated Apach-Tomcat with mod_jk

 On Sat, 14 Dec 2002, Denise Mangano wrote:

  I also found this in my cataline.out log.
  INFO: Loading registry information
  Dec 13, 2002 4:29:37 PM org.apache.commons.modeler.Registry
 getRegistry
  INFO: Creating new Registry instance
  Dec 13, 2002 4:29:38 PM org.apache.commons.modeler.Registry getServer
  INFO: Creating MBeanServer
  Dec 13, 2002 4:29:39 PM org.apache.coyote.http11.Http11Protocol init
  INFO: Initializing Coyote HTTP/1.1 on port 8080
  mod_jk location: libexec/mod_jk.so
  Make sure it is installed corectly or  set the config location
  Using ApacheConfig modJk=PATH_TO_MOD_JK.SO_OR_DLL /
  Can't find workers.properties at
  /usr/local/jakarta-tomcat-4.1.17/conf/jk/workers.properties
  Please install it in the default location or  set the config location
  Using ApacheConfig workersConfig=FULL_PATH /
  Starting service Tomcat-Standalone
  Apache Tomcat/4.1.17
  Dec 13, 2002 4:29:44 PM org.apache.coyote.http11.Http11Protocol start
  INFO: Starting Coyote HTTP/1.1 on port 8080
  Dec 13, 2002 4:29:44 PM org.apache.jk.common.ChannelSocket init
  INFO: JK2: ajp13 listening on /0.0.0.0:8009
  Dec 13, 2002 4:29:44 PM org.apache.jk.server.JkMain start
  INFO: Jk running ID=0 time=2/46
  config=/usr/local/jakarta-tomcat-4.1.17/conf/jk2.properties
 
  It gives me an error that it can't find workers.properties, but it is
 in
  fact there...

 What is the ownership/permissions on it?  In particular, is it
 readable by the user Tomcat is running as?

 Also, if you're using mod_jk, why all that stuff about jk2?


  -Original Message-
  From: Denise Mangano
  To: '[EMAIL PROTECTED]'
  Sent: 12/13/2002 10:36 PM
  Subject: Almost there...Updated Apach-Tomcat with mod_jk
 
  Here is an update.  I managed to get passed the configure fail I was
  getting, and got through the build of mod_jk.  I followed everything
 to
  the T, and I am back to the almost the same boat that I was in
  yesterday.
 
  Before mod_jk setup I could access http://localhost:8080 as well as
  http://localhost.  Both apache and Tomacat were working fine.
 Yesterday
 
  after mod_jk install Tomcat stopped working.  This time, after second
  try, I can still access both.  However, even though I installed mod_jk
 I
 
  need to input the :8080.
 
  I restarted apache, and found the following error:
 
  [Fri Dec 13 21:37:08 2002] [error] Error while opening the workers, jk
  will not work
  [Fri Dec 13 21:37:12 2002] [error] (2)No such file or directory: Error
  while opening the workers, jk will not work
 
  Which file is trying to access the workers.properties file that I
  created?  I searched the server.xml, the httpd.conf, and the
 mod_jk.conf
 
  files and could find nothing that called for it
 
  As you can see I cannot access the files without using the port :8080
  attached to the end of localhost - if I try to it is still looking in
 my
 
  Apache web directory...
 
  [Fri Dec 13 22:04:59 2002] [error] [client 216.164.30.185] File does
 not
 
  exist: /var/www/html/examples/jsp/num/numguess.jsp
 
  Any thoughts?  I can post my files, if anyone is willing to take a
 look
  at it...
 
  Thanks.
  Denise
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, 

Re: ClassCastException when using BasicDataSource

2002-12-15 Thread Jacob Kjome

Unless you modifed things to use DBCP instead of Tyrex, Tomcat-4.0.3 is set 
up to use Tyrex.  You can save yourself a lot of headache and simply 
upgrade to Tomcat-4.1.12.  It officially uses DBCP instead of Tyrex for 
JNDI DataSource config and you won't be lost in the dark ages with a 
codebase that isn't being maintained other than security bugfixes.

Jake

At 02:18 PM 12/15/2002 +0200, you wrote:
I'm trying to use a JNDI name for a JDBC resource. Configuration is
as follows:

Tomcat 4.0.3
DBCP 1.0

In the server.xml, I have the following DefaultContext entry. (It must be
DefaultContext because there are 3 other webapps that use the same database)

DefaultContext
Resource auth=Container name=jdbc/eproject
type=javax.sql.DataSource/

ResourceParams name=jdbc/eproject
parameter
  namefactory/name
  valueorg.apache.commons.dbcp.BasicDataSourceFactory/value/parameter
parameter
  namevalidationQuery/name
  valueselect * from groups/value/parameter
parameter
  namemaxWait/name
  value1/value/parameter
parameter
  namemaxActive/name
  value100/value/parameter
parameter
  nameusername/name
  valueusername/value/parameter
parameter
  namepassword/name
  valuepassword/value/parameter
parameter
  nameurl/name
  valuejdbc:mysql://quantranet:3306/eproject?autoReconnet=true/value
/parameter
parameter
  namedriverClassName/name
  valueorg.gjt.mm.mysql.Driver/value/parameter
parameter
  namemaxIdle/name
  value30/value/parameter
/ResourceParams
/DefaultContext

And in the web.xml:

resource-ref id=ResourceRef_1039888737098
  descriptionnone/description
  res-ref-namejdbc/eproject/res-ref-name
  res-typejavax.sql.DataSource/res-type
  res-authContainer/res-auth
/resource-ref

I think there isn't a problem with JNDI. jndiContext.lookup() calls
successfully return an object. It returns the correct object, which is
BasicDataSource (a class that implements javax.sql.DataSource).

I re-evaluated the code, so jndi.lookup() returns an object that has the
name org.apache.commons.dbcp.BasicDataSource which implements the
javax.sql.DataSource interface. But... I don't know how, I'm getting
a ClassCastException when I cast it to DataSource to get a connection!
(btw, returned object is not an instanceof javax.sql.DataSource,
but getClass().getInterfaces() has javax.sql.DataSource)

initContext = new InitialContext();
envContext  = (Context)initContext.lookup(java:/comp/env);
DataSource ds = (DataSource)envContext.lookup(jdbc/eproject);

or,

initContext = new InitialContext();
envContext  = (DataSource)initContext.lookup
(java:/comp/env/jdbc/eproject);

fails on the lines which I'm trying to cast DataSource.

So, how can it be? I really appreciate the one who can tell me why!

PS: commons-collections, commons-dbcp, commons-pool is in
%CATALINA_HOME%\common\lib along with mysql-connector and they are in .jar
format as described in JNDI-Resources HOWTO.

/tb.



Cannot load JDBC driver class 'null'

2002-12-15 Thread Chandolu, Yuva
Hi,

I get the error org.apache.jasper.JasperException: Cannot load JDBC driver
class 'null'.
What is this and how can I proceed from here? I have Tomcat 4.1.12, JDK1.4.1
installed and have DBCP 1.0, Pool 1.0, Collections 2.0, and Oracle's jdbc
driver classes12.jar(classes12.zip renamed to .jar) in commons\lib folder. I
tried removing javax.sql.* stuff from Oracle jdbc driver it did not work. I
have also tried re-creating the classes12.jar from classes12.zip - no luck.
Please some one help me.

Thanks
Yuva



Tomcat 4.1? Apache? Cocoon?

2002-12-15 Thread J. Norment
At the risk of this being off-topic, I'll keep this short:
I've seen articles mentioning Tomcat running with Apache (and the occasional mention 
of cocoon)..
What would be the purpose of running Tomcat with Apache (and cocoon)?
(I'm looking for a real high-level kind of answer)
If this is off-topic, please direct me to the appropriate group to ask these general 
kinds of questions.

Thanks.


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




Sharing Session data between two instances?

2002-12-15 Thread Prashanth Pushpagiri
Hi

I am trying to setup tomcat 4.1.12 on two servers so
that an incoming request can be handled by either one
of the servers. What I would like to do is share
session details between the two instances. Is this
possible?

Thanks
Prashanth

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




Re: Precomplie Jsps

2002-12-15 Thread Billy Ng
Hi Carl

Thanks for your sample.  I tried it, it throws me exception with

  [jasperc] java.lang.ArrayIndexOutOfBoundsException: 98
  [jasperc] at org.apache.jasper.JspC.locateUriRoot(JspC.java:616)
  [jasperc] at org.apache.jasper.JspC.execute(JspC.java:747)
  [jasperc] at org.apache.jasper.JspC.main(JspC.java:810)
  [jasperc] Exception in thread main


Do yuo know what is wrong?

Billy Ng

- Original Message -
From: Carl Trusiak [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, December 14, 2002 5:49 AM
Subject: Re: Precomplie Jsps


 If you are using Ant, there is an Optional task which
 ships with it.  I use it on my project and it works
 great.  I have Tomcat 4.1.12 and Ant 1.5.1

 The Relavent portions are:
taskdef name=jspc
 classname=org.apache.tools.ant.taskdefs.optional.jsp.JspC/

!-- create reusable classpath --
path id=1
   pathelement
 location=${project.home}/webapp/WEB-INF/classes /
   pathelement
 location=${project.home}/pittjugtest /
   fileset dir=${project.home}/lib
   include name=**/*.jar /
   /fileset
   fileset dir=${tomcat.home}/common/lib
 include name=*.jar /
   /fileset
/path

!-- Jspc --
target name=buildJSP depends=cleanJSPBuildDir,
 createJSPBuildDir
jspc srcdir=${project.home}
 destdir=${project.home}/gensrc verbose=9
   classpath refid=1/
  include name=**/*.jsp /
/jspc
/target

!-- cleanJSPBuildDirectory --
target name=cleanJSPBuildDir
  delete includeEmptyDirs=true quiet=false
 failonerror=false
fileset dir=${project.home}/gensrc /
  /delete
/target

!-- createJSPBuildDir --
target name=createJSPBuildDir
  mkdir dir=${project.home}/gensrc/
/target


 You can also exclude files that are fragments that
 will not complile properly on thier own.

 I haven't tried to use the compiled classes with
 Tomcat but, I think if you set your TragetDirectory to
 ${TOMCAT_HOME}/${WORK_DIRECTORY}/${WEBAPP_NAME} it
 should use these.

 Work directory is how your tomcat names the work
 directory.  On my machine, I'm running as standalone
 and localhost so it is standalone/localhost  Check to
 see what it is on yours.

 See the JspC task under optional tasks
 http://jakarta.apache.org/ant/manual/index.html

 Carl

 --- Billy Ng [EMAIL PROTECTED] wrote:
  Hi folks,
 
  Would any body please tell me how to pre-compile jsp
  files.  Any websites with step by step instruction
  will help too.
 
  Thanks in advance!
 
  Billy Ng
 


 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com

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



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




Re: Precompiling same name jsps

2002-12-15 Thread Billy Ng
Hi Scott, I still cannot precompile my jsp files.  Attached is my jspc
portion.  It throws me exception and fails.  If you could, would you please
shared your build.xml with me.

Thanks!

Billy Ng

  [jasperc] java.lang.ArrayIndexOutOfBoundsException: 98
  [jasperc] at org.apache.jasper.JspC.locateUriRoot(JspC.java:616)
  [jasperc] at org.apache.jasper.JspC.execute(JspC.java:747)
  [jasperc] at org.apache.jasper.JspC.main(JspC.java:810)
  [jasperc] Exception in thread main


  !-- compile the java file to the deploying build directory --
  target name=compile depends=copy
   javac destdir=${build.classes} debug=on
src path=${src} /
classpath refid=app.classpath /
   /javac
  /target

  !-- create reusable classpath --
  taskdef name=jspc
classname=org.apache.tools.ant.taskdefs.optional.jsp.JspC/
   path id=1
pathelement location=${build.webinf}/classes /
 fileset dir=${build.classes}
  include name=**/*.java /
 /fileset
 fileset dir=${lib}
  include name=**/*.jar /
 /fileset
 fileset dir=${tomcat.bin}
  include name=*.jar /
 /fileset
 fileset dir=${tomcat}/server/lib
  include name=*.jar /
 /fileset
 fileset dir=${tomcat}/common/lib
  include name=*.jar /
 /fileset
 fileset dir=/java/lib
  include name=*.jar /
 /fileset
   /path

   !-- cleanJSPBuildDirectory --
   target name=cleanJSPBuildDir
 delete includeEmptyDirs=true quiet=false failonerror=false
   fileset dir=gensrc /
 /delete
   /target

   !-- createJSPBuildDir --
   target name=createJSPBuildDir
 mkdir dir=gensrc /
   /target

   !-- Jspc --
   target name=buildJSP depends=cleanJSPBuildDir, createJSPBuildDir
   jspc srcdir=${ui} destdir=gensrc
  classpath refid=1/
 include name=**/*.jsp /
   /jspc
   /target




- Original Message -
From: Scott Edwards [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 13, 2002 3:40 PM
Subject: Precompiling same name jsps


 We have successfully compiled our jsp pages into java files. However, in
 several cases we have jsp pages in different directories with the same
name.
 When we run the jspc task from within Ant 1.5.1, it does not append the
 directory path to the package name. As such, javac throws exceptions
 regarding duplicate classnames when we try to compile the java files into
 class files.

 Outside of renaming the jsp files, has anyone encountered this issue and
 have a solution? Or are we just missing something.

 Thanks in advance for any assistance,

 -Scott


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



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




Re: Tomcat 4.1? Apache? Cocoon?

2002-12-15 Thread Steven J. Owens
On Sun, Dec 15, 2002 at 12:30:49PM -0600, J. Norment wrote:
 At the risk of this being off-topic, I'll keep this short:

 I've seen articles mentioning Tomcat running with Apache (and the
 occasional mention of cocoon)..

 What would be the purpose of running Tomcat with Apache (and cocoon)?

 First, bear in mind that you have Apache the web server and
Apache the project (which is responsible for maintaining and
developing Apache the server).  The Apache project further has a
sub-project, Jakarta, for doing java stuff.  Tomcat is a specific
application in the Jakarta project, a java servlet engine.  It is not
uncommon to see people use the phrase Apache Tomcat, when referring
to Tomcat, and not at all meaning to refer to the Apache web server.

 In the cases where they are in fact referring to both the Apache
web server and the Tomcat servlet engine...

 In a nutshell, Apache gives very high performance for serving
static content.  Tomcat is a java servlet engine, an application that
runs a framework for developing complex web-based applications.  It's
fairly common to run Apache paired with Tomcat; the Apache server
handles most requests and farms out requests for dynamic content to
the Tomcat server.

 Cocoon is a framework (also from the Jakarta Project) for
producing dynamic content via XML and XSLT.  I haven't worked with
Cocoon, but from my understanding the basic gist is keeping your data
in XML (or in some format that can quickly and easily produce an XML
version) and then delivering it, massaging it and personalizing it via
XSLT.  This is aimed at sites where the emphasis is on content
delivery, i.e. Wired, or Salon, for example, might find Cocoon very
useful.  Other sites might find it somewhat useful, depending on how
well Cocoon matches their needs.
 
 Cocoon is written in java, so you need a java servlet engine (in
the open source world there's Tomcat, Jetty, Gnu Paperclips, in the
proprietary world there's Resin, IPlanet, JRun, etc) to run it in.

Steven J. Owens
[EMAIL PROTECTED]

I'm going to make broad, sweeping generalizations and strong,
 declarative statements, because otherwise I'll be here all night and
 this document will be four times longer and much less fun to read.
 Take it all with a grain of salt. - Me at http://darksleep.com


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




[BUG] AJP connector with specific adress

2002-12-15 Thread Sven Köhler
Hi!

using TomCat 4.1.12 i created a new AJP connector listening on port 8009 
and IP-adress 127.0.0.1 and delted the old Connector that was listening 
on 0.0.0.0:8009 (BTW: why i can't i simply change it? why must i create 
a new Connector to enter an IP?)

After restarting Tomcat,  Tomcat doesn't listen on port 8009 anymore! 
and there's no error-message in the logs.

This is wrong.
Tomcat does start, and it does listen on 8009, but it doesn't bind to 
the specific IP that is shown in the Administrator.
It binds to any interface!

It would be nice to be abled to bind the AJP-connector to a specific IP, 
so i wouldn't need to protect it anymore with a firewall etc.




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



RE: Almost there...Updated Apach-Tomcat with mod_jk .. please he lp!

2002-12-15 Thread Denise Mangano
Jake,

Thanks for supplying me with that info.  I will certainly refer to it, when
I set up Tomcat again.  However, first I need to get Apache back up and
running.  I know this is slightly off topic, but can you tell me how to
check what else is trying to access port 443.  Someone suggested that
multiple instances of Apache may be running, but I do not know how to check
this.  Nothing else should be accessing this port.  I ran netstat and
couldn't believe the stuff that was in it - I have no idea what it is...  It
wasn't there a week ago.  I tried to attach a file with the netstat output
but get an error message so I will paste below.  I am trying desperately to
avoid having to reinstall Apache, because of a third party connector that a
rep came out to install and connect to Apache.

Thanks for looking :)
Denise

netstat output:

Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address   Foreign Address State

tcp0256 192.168.254.87:ssh  192.168.253.5:3082
ESTABLISHED 
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags   Type   State I-Node Path
unix  10 [ ] DGRAM929/dev/log
unix  3  [ ] STREAM CONNECTED 131905 
unix  3  [ ] STREAM CONNECTED 131904 
unix  3  [ ] STREAM CONNECTED 131903 
unix  3  [ ] STREAM CONNECTED 131902 
unix  3  [ ] STREAM CONNECTED 2032   /tmp/.famnz0vAN
unix  3  [ ] STREAM CONNECTED 2031   
unix  3  [ ] STREAM CONNECTED 2021
/tmp/orbit-root/orb-2142838061391085347
unix  3  [ ] STREAM CONNECTED 2020   
unix  3  [ ] STREAM CONNECTED 2016
/tmp/orbit-root/orb-2142838061391085347
unix  3  [ ] STREAM CONNECTED 2014   
unix  3  [ ] STREAM CONNECTED 2011
/tmp/orbit-root/orb-536138017165394400
unix  3  [ ] STREAM CONNECTED 2009   
unix  3  [ ] STREAM CONNECTED 2008
/tmp/orbit-root/orb-2137805962362223141
unix  3  [ ] STREAM CONNECTED 2006   
unix  3  [ ] STREAM CONNECTED 2005
/tmp/orbit-root/orb-12404596331839261261
unix  3  [ ] STREAM CONNECTED 2004   
unix  3  [ ] STREAM CONNECTED 2001
/tmp/orbit-root/orb-1562563961725753451
unix  3  [ ] STREAM CONNECTED 2000   
unix  3  [ ] STREAM CONNECTED 1999
/tmp/orbit-root/orb-12404596331839261261
unix  3  [ ] STREAM CONNECTED 1997   
unix  3  [ ] STREAM CONNECTED 1993
/tmp/orbit-root/orb-1562563961725753451
unix  3  [ ] STREAM CONNECTED 1992   
unix  3  [ ] STREAM CONNECTED 1983   /tmp/.X11-unix/X0
unix  3  [ ] STREAM CONNECTED 1982   
unix  3  [ ] STREAM CONNECTED 1975   /tmp/.X11-unix/X0
unix  3  [ ] STREAM CONNECTED 1974   
unix  3  [ ] STREAM CONNECTED 1941
/tmp/orbit-root/orb-18063637581552786418
unix  3  [ ] STREAM CONNECTED 1940   
unix  3  [ ] STREAM CONNECTED 1925
/tmp/orbit-root/orb-4728988062064810212
unix  3  [ ] STREAM CONNECTED 1920   
unix  2  [ ] DGRAM1909   
unix  3  [ ] STREAM CONNECTED 1894   /tmp/.ICE-unix/1049
unix  3  [ ] STREAM CONNECTED 1893   
unix  3  [ ] STREAM CONNECTED 1890   /tmp/.X11-unix/X0
unix  3  [ ] STREAM CONNECTED 1889   
unix  3  [ ] STREAM CONNECTED 1885
/tmp/orbit-root/orb-1562563961725753451
unix  3  [ ] STREAM CONNECTED 1884   
unix  3  [ ] STREAM CONNECTED 1874
/tmp/orbit-root/orb-1562563961725753451
unix  3  [ ] STREAM CONNECTED 1872   
unix  3  [ ] STREAM CONNECTED 1866   /tmp/.X11-unix/X0
unix  3  [ ] STREAM CONNECTED 1865   
unix  2  [ ] DGRAM1864   
unix  3  [ ] STREAM CONNECTED 1853   /tmp/.ICE-unix/1049
unix  3  [ ] STREAM CONNECTED 1852   
unix  3  [ ] STREAM CONNECTED 1849   /tmp/.X11-unix/X0
unix  3  [ ] STREAM CONNECTED 1848   
unix  3  [ ] STREAM CONNECTED 1839   /tmp/.ICE-unix/1049
unix  3  [ ] STREAM CONNECTED 1838   
unix  3  [ ] STREAM CONNECTED 1835   /tmp/.X11-unix/X0
unix  3  [ ] STREAM CONNECTED 1834   
unix  3  [ ] STREAM CONNECTED 1769   /tmp/.ICE-unix/1049
unix  3  [ ] STREAM CONNECTED 1768   
unix  3  [ ] STREAM CONNECTED 1690   /tmp/.X11-unix/X0
unix  3  [ ] STREAM CONNECTED 1689   
unix  

RE: Almost there...Updated Apach-Tomcat with mod_jk .. please he lp!

2002-12-15 Thread micael


At 03:38 PM 12/15/2002 -0500, you wrote:

Jake,

Thanks for supplying me with that info.  I will certainly refer to it, when
I set up Tomcat again.  However, first I need to get Apache back up and
running.  I know this is slightly off topic, but can you tell me how to
check what else is trying to access port 443.


Not sure what you meant by trying to access but that would not be the 
problem, if you mean that literally.  Rather, the problem is that some 
application is listening at port 443.  You have something that is listening 
at port 443 for others to access.  So, you should have a server set to 
listen at 443.


Micael

---

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



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



Tomcat 4.1 and Virtual Domains

2002-12-15 Thread J. Norment
I have looked high and low to try to avoid posting yet *another* question on how to 
set up Tomcat with virtual domains, however, I have not been able to find what I've 
been looking for.  I have Tomcat 4.1 set up and have followed the FAQ at 
http://www.galatea.com/flashguides/virtual-hosting-tomcat.xml , but can only get the 
default index.jsp to display with www.domain0.com and www.domain1.com ... what might I 
be doing wrong?

Thanks.


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




JAVA_HOME on Mac OS X?

2002-12-15 Thread Robert Leach
Hi,

I tried running the startup.sh script for tomcat and it says I need a 
value for the JAVA_HOME environment variable.

I assumed that since I installed the developer package that came with 
Mac OS X 10.2 that I would have it, but after doing this search:

	find / -name jdk* -print

and getting no results, I started searching for the JDK online to 
download it.  Sun's website however doesn't appear to have one for Mac. 
 I also tried searching apple's website to no avail.  Google was just 
as helpful.

I'm at a loss.  I've been searching for hours and I just can't find it. 
 What am I missing here?  This should be simple.

Thanks,
Rob


* Yoda: *sigh* Always with you, what cannot be done. *



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



Re: JAVA_HOME on Mac OS X?

2002-12-15 Thread Paul DuBois
At 15:05 -0700 12/15/02, Robert Leach wrote:

Hi,

I tried running the startup.sh script for tomcat and it says I need 
a value for the JAVA_HOME environment variable.

I assumed that since I installed the developer package that came 
with Mac OS X 10.2 that I would have it, but after doing this search:

	find / -name jdk* -print

and getting no results, I started searching for the JDK online to 
download it.  Sun's website however doesn't appear to have one for 
Mac.  I also tried searching apple's website to no avail.  Google 
was just as helpful.

I'm at a loss.  I've been searching for hours and I just can't find 
it.  What am I missing here?  This should be simple.

Try:

/System/Library/Frameworks/JavaVM.framework/Home



Thanks,
Rob


* Yoda: *sigh* Always with you, what cannot be done. *




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




RE: Almost there...Updated Apach-Tomcat with mod_jk .. please he lp!

2002-12-15 Thread Denise Mangano
Sorry, I thought I posted the exact message I was getting. It says [Sun Dec
15 00:42:27 2002] [crit] (98)Address already in use: make_sock: could not
bind to port 443.  I am trying to figure out what else is listening to that
port but with Tomcat uninstalled there shouldn't be any other.  Someone
suggested multiple instances of Apache running, but I do not know how to
check this.  When I try to stop the httpd service it fails, and there is no
entry in the error_log...

Denise

-Original Message-
From: micael
To: Tomcat Users List
Sent: 12/15/2002 3:59 PM
Subject: RE: Almost there...Updated Apach-Tomcat with mod_jk  .. please he
lp!



At 03:38 PM 12/15/2002 -0500, you wrote:
Jake,

Thanks for supplying me with that info.  I will certainly refer to it,
when
I set up Tomcat again.  However, first I need to get Apache back up and
running.  I know this is slightly off topic, but can you tell me how to
check what else is trying to access port 443.

Not sure what you meant by trying to access but that would not be the 
problem, if you mean that literally.  Rather, the problem is that some 
application is listening at port 443.  You have something that is
listening 
at port 443 for others to access.  So, you should have a server set to 
listen at 443.


Micael

---

This electronic mail  transmission and any accompanying documents
contain 
information belonging to the sender which may be confidential and
legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent
as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of
the 
information contained in this transmission is strictly prohibited.  If
you 
have received this transmission in error, please delete the message.
Thank 
you  



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

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




RE: Almost there...Updated Apach-Tomcat with mod_jk .. please he lp!

2002-12-15 Thread Milt Epstein
On Sun, 15 Dec 2002, Denise Mangano wrote:

 Sorry, I thought I posted the exact message I was getting. It says
 [Sun Dec 15 00:42:27 2002] [crit] (98)Address already in use:
 make_sock: could not bind to port 443.  I am trying to figure out
 what else is listening to that port but with Tomcat uninstalled
 there shouldn't be any other.  Someone suggested multiple instances
 of Apache running, but I do not know how to check this.  When I try
 to stop the httpd service it fails, and there is no entry in the
 error_log...

Run ps, from that you'll be able to tell if Apache is already running.
You might need to check the man page to see what options you need to
use.  That you can't successfully stop the httpd service (i.e. apache)
is an indication that that is the problem.  What error message to you
get when you try to stop it.  Do you have the appropriate permissions
to do that?


 -Original Message-
 From: micael
 To: Tomcat Users List
 Sent: 12/15/2002 3:59 PM
 Subject: RE: Almost there...Updated Apach-Tomcat with mod_jk  .. please he
 lp!



 At 03:38 PM 12/15/2002 -0500, you wrote:
 Jake,
 
 Thanks for supplying me with that info.  I will certainly refer to it,
 when
 I set up Tomcat again.  However, first I need to get Apache back up and
 running.  I know this is slightly off topic, but can you tell me how to
 check what else is trying to access port 443.

 Not sure what you meant by trying to access but that would not be the
 problem, if you mean that literally.  Rather, the problem is that some
 application is listening at port 443.  You have something that is
 listening
 at port 443 for others to access.  So, you should have a server set to
 listen at 443.


 Micael

 ---

 This electronic mail  transmission and any accompanying documents
 contain
 information belonging to the sender which may be confidential and
 legally
 privileged.  This information is intended only for the use of the
 individual or entity to whom this electronic mail transmission was sent
 as
 indicated above. If you are not the intended recipient, any disclosure,
 copying, distribution, or action taken in reliance on the contents of
 the
 information contained in this transmission is strictly prohibited.  If
 you
 have received this transmission in error, please delete the message.
 Thank
 you



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

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


Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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




RE: Almost there...Updated Apach-Tomcat with mod_jk .. please he lp!

2002-12-15 Thread Denise Mangano
I do have appropriate permissions, as I have been able to stop it before.
There is no error message being logged when I try to stop it.

I ran ps -A which listed all processes.  httpd (apache) was not one of them.
I am assuming PID means Port ID(?), and neither 443 nor 80 was listed...
This is all very strange and I am starting to sense that I will have to
reinstall Apache...

-Original Message-
From: Milt Epstein
To: Tomcat Users List
Sent: 12/15/2002 5:44 PM
Subject: RE: Almost there...Updated Apach-Tomcat with mod_jk  .. please he
lp!

On Sun, 15 Dec 2002, Denise Mangano wrote:

 Sorry, I thought I posted the exact message I was getting. It says
 [Sun Dec 15 00:42:27 2002] [crit] (98)Address already in use:
 make_sock: could not bind to port 443.  I am trying to figure out
 what else is listening to that port but with Tomcat uninstalled
 there shouldn't be any other.  Someone suggested multiple instances
 of Apache running, but I do not know how to check this.  When I try
 to stop the httpd service it fails, and there is no entry in the
 error_log...

Run ps, from that you'll be able to tell if Apache is already running.
You might need to check the man page to see what options you need to
use.  That you can't successfully stop the httpd service (i.e. apache)
is an indication that that is the problem.  What error message to you
get when you try to stop it.  Do you have the appropriate permissions
to do that?


 -Original Message-
 From: micael
 To: Tomcat Users List
 Sent: 12/15/2002 3:59 PM
 Subject: RE: Almost there...Updated Apach-Tomcat with mod_jk  ..
please he
 lp!



 At 03:38 PM 12/15/2002 -0500, you wrote:
 Jake,
 
 Thanks for supplying me with that info.  I will certainly refer to
it,
 when
 I set up Tomcat again.  However, first I need to get Apache back up
and
 running.  I know this is slightly off topic, but can you tell me how
to
 check what else is trying to access port 443.

 Not sure what you meant by trying to access but that would not be
the
 problem, if you mean that literally.  Rather, the problem is that some
 application is listening at port 443.  You have something that is
 listening
 at port 443 for others to access.  So, you should have a server set to
 listen at 443.


 Micael

 ---

 This electronic mail  transmission and any accompanying documents
 contain
 information belonging to the sender which may be confidential and
 legally
 privileged.  This information is intended only for the use of the
 individual or entity to whom this electronic mail transmission was
sent
 as
 indicated above. If you are not the intended recipient, any
disclosure,
 copying, distribution, or action taken in reliance on the contents of
 the
 information contained in this transmission is strictly prohibited.  If
 you
 have received this transmission in error, please delete the message.
 Thank
 you



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

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


Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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

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




Re: Almost there...Updated Apach-Tomcat with mod_jk .. please he lp!

2002-12-15 Thread Rafael Angarita
 I ran ps -A which listed all processes.  httpd (apache) was not one of
them.
 I am assuming PID means Port ID(?), and neither 443 nor 80 was listed...
 This is all very strange and I am starting to sense that I will have to
 reinstall Apache...

PID is process id.
Denise, if you are under Solaris try lsof (I'm not sure if the sources
are available to compile it under another platform)

Run:
# lsof -i -n -C | grep 443
it should returns the process that is using the port 443
(use -C option if you are under Solaris 5.8)



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




RE: Almost there...Updated Apach-Tomcat with mod_jk .. please he lp!

2002-12-15 Thread Denise Mangano
Sorry, meant to respond to that before... I am not under Solaris, I am using
Redhat 7.3.  I rebooted the server, and now it shows one instance of
httpd... I still cannot pull up my site, but I think I may know why, but
won't be able to check until I get into the office in the morning.

Thanks to you and everyone else for their help.  This is truly turning out
to be a great learning experience.  I'm sure I will be writing again soon,
when I try this whole mod_jk stuff again :)

-Original Message-
From: Rafael Angarita
To: Tomcat Users List
Sent: 12/15/2002 6:54 PM
Subject: Re: Almost there...Updated Apach-Tomcat with mod_jk  .. please he
lp!

 I ran ps -A which listed all processes.  httpd (apache) was not one of
them.
 I am assuming PID means Port ID(?), and neither 443 nor 80 was
listed...
 This is all very strange and I am starting to sense that I will have
to
 reinstall Apache...

PID is process id.
Denise, if you are under Solaris try lsof (I'm not sure if the
sources
are available to compile it under another platform)

Run:
# lsof -i -n -C | grep 443
it should returns the process that is using the port 443
(use -C option if you are under Solaris 5.8)



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

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




context.xml inside war and outside

2002-12-15 Thread Anthony Ikeda
I have moved my Context declarations from the server.xml file to a
META-INF/context.xml file in my war file.

When I copy my war to the webapp folder and start tomcat I get the following
error:
(my caught exception)
SEVERE: Big problem connecting to the database.
java.sql.SQLException: Cannot load JDBC driver class 'null'
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.jav
a:529)
at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:3
12)
at
org.ikeda.reality.servlets.admin.StartupServlet.init(StartupServlet.java:141
)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:92
4)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3341)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3534)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
21)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:257)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:502)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:410)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
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(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

This occurs on start up after:
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12

If I place the context.xml file (renamed to the name of my app +.xml) and
place the war in the webapp folder I get the following error:
16/12/2002 11:04:11 org.apache.commons.digester.Digester endElement
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:228)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
at
org.apache.commons.digester.Digester.endElement(Digester.java:1036)
at
org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.jav
a:579)
at
org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java
:646)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.
java:1972)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:8
78)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDo
cumentFragmentScannerImpl.java:1144)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocu
mentFragmentScannerImpl.java:987)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(XMLDocumentFragmentScannerImpl.java:1445
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
ntFragmentScannerImpl.java:333)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at

Re: JAVA_HOME on Mac OS X?

2002-12-15 Thread Robert Leach
Thanks.  I'm now facing another problem.  Here's what happens now:

	[dantooine:Internet/jakarta-tomcat-4.1.12/bin] robleach% ./startup.sh
	Using CATALINA_BASE:   
/Users/robleach/Applications/Internet/jakarta-tomcat-4.1.12
	Using CATALINA_HOME:   
/Users/robleach/Applications/Internet/jakarta-tomcat-4.1.12
	Using CATALINA_TMPDIR: 
/Users/robleach/Applications/Internet/jakarta-tomcat-4.1.12/temp
	Using JAVA_HOME:   /Library/Java/Home

Then when I type either localhost:8080 or 127.0.0.1:8080 or my IP 
address:8080, I get this messge:

	Cannot Load Address

	Temporarily unable to connect: Connection refused

After these attempts, I tried shutting down Tomcat and got a connection 
refused message:

[dantooine:Internet/jakarta-tomcat-4.1.12/bin] robleach% ./shutdown.sh
Using CATALINA_BASE:   
/Users/robleach/Applications/Internet/jakarta-tomcat-4.1.12
Using CATALINA_HOME:   
/Users/robleach/Applications/Internet/jakarta-tomcat-4.1.12
Using CATALINA_TMPDIR: 
/Users/robleach/Applications/Internet/jakarta-tomcat-4.1.12/temp
Using JAVA_HOME:   /Library/Java/Home
Catalina.stop: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
at java.net.Socket.init(Socket.java:268)
at java.net.Socket.init(Socket.java:95)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:579)
at 
org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
at 
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at 
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

What do you think's going on?  I even tried forwarding port 8080 
requests on my router to my computer.  I'm not 100% sure Tomcat was 
actually running.  is there a way I can test that?

Thanks,
Rob

On Sunday, December 15, 2002, at 03:28  PM, Paul DuBois wrote:

At 15:05 -0700 12/15/02, Robert Leach wrote:

Hi,

I tried running the startup.sh script for tomcat and it says I need a 
value for the JAVA_HOME environment variable.

I assumed that since I installed the developer package that came with 
Mac OS X 10.2 that I would have it, but after doing this search:

	find / -name jdk* -print

and getting no results, I started searching for the JDK online to 
download it.  Sun's website however doesn't appear to have one for 
Mac.  I also tried searching apple's website to no avail.  Google was 
just as helpful.

I'm at a loss.  I've been searching for hours and I just can't find 
it.  What am I missing here?  This should be simple.

Try:

/System/Library/Frameworks/JavaVM.framework/Home



Thanks,
Rob


* Yoda: *sigh* Always with you, what cannot be done. *




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



* Yoda: *sigh* Always with you, what cannot be done. *



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




Re: context.xml inside war and outside

2002-12-15 Thread Craig R. McClanahan


On Mon, 16 Dec 2002, Anthony Ikeda wrote:

 Date: Mon, 16 Dec 2002 11:08:51 +1100
 From: Anthony Ikeda [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: context.xml inside war and outside

 I have moved my Context declarations from the server.xml file to a
 META-INF/context.xml file in my war file.

IIRC, that will only work if you use the deploy command of the manager
webapp to deploy the app.  It's not recognized by the auto-deploy of WAR
files in the webapps directory, or for contexts installed with the
install command.

Craig


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




Re: AccessControlException/introspection

2002-12-15 Thread Jeanfrancois Arcand
Hi,

even if I'm not an expert with Tomcat 3.2.3, can you post the entire 
stack trace (so I will be able to locate the problem inside the Tomcat 
code).

-- Jeanfrancois

Bertrand Fontaine wrote:

Hello,

I am getting the following stack trace:

java.security.AccessControlException: access denied 
(java.lang.RuntimePermission accessDeclaredMembers)
...

I have added the following to tomcat.policy in the hope to sort out 
the problem due to the use of introspection by one of the libraries 
used by a servlet I wrote:

grant {
   permission java.lang.RuntimePermission accessDeclaredMembers;
};

Even after restarting Tomcat, I still have the stack trace. I am 
running Tomcat 3.2.3 with a JRE 1.3.1 on a SUN Cobalt Raq4 server.

Any idea? Thank you,

Bertrand






_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


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




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




Connection pooling with sql server

2002-12-15 Thread Ashruf Hussain
Hi all,

I am new user of tomcat 4.1, using jdbc driver from datadirect to connect to
sqlserver database. 
I am able to get normal individual connections without pooling. 
Now, I want to get connections from connection pool. 
I tried with all my efforts (followed pooling documentation) to get
connection pooling done with sql server, but tomcat hangs up at start up.

Anybody who has done it all, pls help.

Thanks in advance,

Ashruf

---
Regards, 
Mohammed Ashruf Hussain
Software Engineer.
Virtusa, Corp. (formerly erunway)
Work 040 23414200 ext(303)
www.virtusa.com 



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




Simultaneous request from same IP

2002-12-15 Thread Chris Bick
Hello,  
Has anyone seen two requests from the same IP hitting a
servlet at approximately the time result in the same query string and
headers?
 
I can reproduce this every time.  Make two requests from one machine
that hits my servlet at approximately the same time.   Both
HttpServletRequest objects contain query string and header information
of the first request in.  If the IPs are different everything works
properly.
 
Thanks,
-cb



Re: Connection pooling with sql server

2002-12-15 Thread Peng Tuck Kwok
I've never managed to get tomcat to hang on a mis-configured db-pool, 
just got it to throw exceptions. Post your server.xml and web.xml and 
let the mailling list have a look. Your jsp or servlet if you are using 
any would be helpful.

Ashruf Hussain wrote:
Hi all,

I am new user of tomcat 4.1, using jdbc driver from datadirect to connect to
sqlserver database. 
I am able to get normal individual connections without pooling. 
Now, I want to get connections from connection pool. 
I tried with all my efforts (followed pooling documentation) to get
connection pooling done with sql server, but tomcat hangs up at start up.

Anybody who has done it all, pls help.

Thanks in advance,

Ashruf

---
Regards, 
Mohammed Ashruf Hussain
Software Engineer.
Virtusa, Corp. (formerly erunway)
Work 040 23414200 ext(303)
www.virtusa.com 



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





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




Re: context.xml inside war and outside

2002-12-15 Thread Anthony Ikeda
Thanks for clearing that up Craig, however I still have problems with the
unpackwars attrbiute.

If I put my Context details in the server.xml file and leave the un-exploded
war file in web apps, Tomcat starts up but throws an exception:
java.lang.IllegalArgumentException: Document base
K:\Extensions\jakarta-tomcat-4.1.12\webapps\reality does not exist or is not
a readable directory
at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:19
3)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3397)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

And I have to explode the war manually before I start the server.

Why

My context:
Context path=/reality docBase=reality debug=5 reloadable=true
crossContext=true...

My Host tag is as such:
Host name=localhost debug=0 appBase=webapps unpackWARs=true
autoDeploy=true

I've tried setting the docBase to the war file, but the war isn't exploded
and it runs off the war file directly. This means, an XML file I use for
config in my WEB-INF folder is inaccessible. (Unless I move this now to the
classes folder and load it through a classloader, which means I can't edit
it, etc, etc...). I know, I know I shouldn't be writing to the web app but I
need to ;-)

If all comes to worse, I just move my config to the database instead.

Cheers,
Anthony

- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, December 16, 2002 12:01 PM
Subject: Re: context.xml inside war and outside




 On Mon, 16 Dec 2002, Anthony Ikeda wrote:

  Date: Mon, 16 Dec 2002 11:08:51 +1100
  From: Anthony Ikeda [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: context.xml inside war and outside
 
  I have moved my Context declarations from the server.xml file to a
  META-INF/context.xml file in my war file.

 IIRC, that will only work if you use the deploy command of the manager
 webapp to deploy the app.  It's not recognized by the auto-deploy of WAR
 files in the webapps directory, or for contexts installed with the
 install command.

 Craig


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







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




Re: Simultaneous request from same IP

2002-12-15 Thread Craig R. McClanahan


On Sun, 15 Dec 2002, Chris Bick wrote:

 Date: Sun, 15 Dec 2002 22:05:45 -0500
 From: Chris Bick [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Simultaneous request from same IP

 Hello,
 Has anyone seen two requests from the same IP hitting a
 servlet at approximately the time result in the same query string and
 headers?

 I can reproduce this every time.  Make two requests from one machine
 that hits my servlet at approximately the same time.   Both
 HttpServletRequest objects contain query string and header information
 of the first request in.  If the IPs are different everything works
 properly.


This seems *much* more likely to be a thread-safety problem in your user
code than a bug in Tomcat.  For example, using instance variables in your
servlet to store per-request state information is pretty much guaranteed
to have difficulties.

The only way to know for sure would be for you to post a bug report
(http://nagoya.apache.org/bugzilla/) with a reproducible test case, so
that Tomcat developers can see what you are seeing.

 Thanks,
 -cb


Craig



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




Re: context.xml inside war and outside

2002-12-15 Thread Craig R. McClanahan


On Mon, 16 Dec 2002, Anthony Ikeda wrote:

 Date: Mon, 16 Dec 2002 14:16:58 +1100
 From: Anthony Ikeda [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: context.xml inside war and outside

 Thanks for clearing that up Craig, however I still have problems with the
 unpackwars attrbiute.


I'm not a fan of unpackWARs under any circumstances (if you're installing
WARs you should let Tomcat run from the WAR directly; otherwise you should
be installing an unpacked directory already), but we're stuck with it for
backwards compatibility :-(.

 If I put my Context details in the server.xml file and leave the un-exploded
 war file in web apps, Tomcat starts up but throws an exception:
 java.lang.IllegalArgumentException: Document base
 K:\Extensions\jakarta-tomcat-4.1.12\webapps\reality does not exist or is not
 a readable directory
 at
 org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:19
 3)
 at
 org.apache.catalina.core.StandardContext.start(StandardContext.java:3397)
 at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
 at
 org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
 at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
 at
 org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
 at
 org.apache.catalina.core.StandardService.start(StandardService.java:497)
 at
 org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
 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(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

 And I have to explode the war manually before I start the server.

 Why

 My context:
 Context path=/reality docBase=reality debug=5 reloadable=true
 crossContext=true...

 My Host tag is as such:
 Host name=localhost debug=0 appBase=webapps unpackWARs=true
 autoDeploy=true

 I've tried setting the docBase to the war file, but the war isn't exploded
 and it runs off the war file directly. This means, an XML file I use for
 config in my WEB-INF folder is inaccessible. (Unless I move this now to the
 classes folder and load it through a classloader, which means I can't edit
 it, etc, etc...). I know, I know I shouldn't be writing to the web app but I
 need to ;-)


I didn't know you could use a WAR file in webapps and a Context
element at the same time.  If that's what you want, it sounds like time
for a bug report:  http://nagoya.apache.org/bugzilla/.

 If all comes to worse, I just move my config to the database instead.


Why don't you just stick the context.xml file into webapps instead?  It
will still get auto-deployed, and the docBase there can point wherever
you've go the actual webapp.

 Cheers,
 Anthony

Craig



 - Original Message -
 From: Craig R. McClanahan [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, December 16, 2002 12:01 PM
 Subject: Re: context.xml inside war and outside


 
 
  On Mon, 16 Dec 2002, Anthony Ikeda wrote:
 
   Date: Mon, 16 Dec 2002 11:08:51 +1100
   From: Anthony Ikeda [EMAIL PROTECTED]
   Reply-To: Tomcat Users List [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Subject: context.xml inside war and outside
  
   I have moved my Context declarations from the server.xml file to a
   META-INF/context.xml file in my war file.
 
  IIRC, that will only work if you use the deploy command of the manager
  webapp to deploy the app.  It's not recognized by the auto-deploy of WAR
  files in the webapps directory, or for contexts installed with the
  install command.
 
  Craig
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 




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




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




switching from mod_jk to mod_jk2

2002-12-15 Thread Debra Mendelson, CCE
I am using httpd 2.0.43 and tomcat 4.1.12

I have been using mod_jk and would like to move to mod_jk2

in mod_jk I added the following directives to point apache to my
application:
JkWorkersFile /myapp/conf/workers.properties
JkLogFile  /myapp/logs/jk.log
JkLogLevel warn
JkMount /servlet/* trueoutcomes30

From the documentation I have read I assume that the content in
workers.properties changes and many downloads offer a sample jk2.properties
file.

My question is if the JkWorkersFile directive does not exist in httpd.conf,
than how do I tell apache where my jk2.properties file is?


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




Re: Two inhibiting problems in developement with tomcat 4

2002-12-15 Thread Tomcat User
Lukas Österreicher wrote:


Maybe I can find that switch somewhere.

As to the other problem I'm still wondering. I have the standard binary
distribution of tc 4.1.12 and all other sources in the exception do show
line numbers, only my own don't.
Will you believe me it's tomcat itself somehow if I copy those classes
used on tomcat 3 which do show line numbers to my tomcat 4 install and
there suddenly they aren't shown?
Maybe theres some configuration about this too.

Lukas

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

 

Does reloading work if you have the reloadable=true attribute within 
your context tag?  (The context tag will be in your server.xml looking 
something like this.)
Context path= docBase=ROOT debug=0 reloadable=false 
crossContext=false /
From my understanding, servlets should automatically reload if that 
flag is set to true.

I'm pretty sure there is not a config in tomcat explicitly for not 
printing line numbers when the jvm dumps stacks.  (Can anyone confirm 
this?)  I do know that TC does print the line numbers though if you 
compile with debug info.  I do this all the time, and have verified that 
it works under 4.1.12.  However I can't be 100% sure that this is the 
only mitigating factor, only say - 90% sure since I don't know that part 
of the catalina code base very well yet.

Randy


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



where do i find the jar to be downloaded

2002-12-15 Thread Santosh Kulkarni
Which jar contains the following packages:
1. org.apache.tomcat.core.* 
2. org.apache.tomcat.util.*
3. org.apache.tomcat.session.*
and from where do i download it ? I searched on the
jakarta's Tomcat page but couldn't find it. I'm using
tomcat 4.0.3.
TIA
Santosh

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




Re: where do i find the jar to be downloaded

2002-12-15 Thread Peng Tuck Kwok
Hmm, the jar files can be found with your copy of tomcat.
Look under $CATALINA_HOME\server\lib or if you have the source
you could build it yourself.

Santosh Kulkarni wrote:

Which jar contains the following packages:
1. org.apache.tomcat.core.* 
2. org.apache.tomcat.util.*
3. org.apache.tomcat.session.*
and from where do i download it ? I searched on the
jakarta's Tomcat page but couldn't find it. I'm using
tomcat 4.0.3.
TIA
Santosh

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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





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




Re: where do i find the jar to be downloaded

2002-12-15 Thread Bill Barker
Those packages are from Tomcat 3.2.x.  You won't find them in 4.0.3
anywhere.  In 4.1.x, there is the org.apache.tomcat.util.*, but it is so
heavily changed from 3.2.x that I doubt that you would be able to use it
without re-writing your code.

You'll basically have to do a re-write of your custom code to make it work
with Tomcat 4.

Santosh Kulkarni [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Which jar contains the following packages:
 1. org.apache.tomcat.core.*
 2. org.apache.tomcat.util.*
 3. org.apache.tomcat.session.*
 and from where do i download it ? I searched on the
 jakarta's Tomcat page but couldn't find it. I'm using
 tomcat 4.0.3.
 TIA
 Santosh

 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com





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