Re: port 8009 security (ajp13)

2003-08-18 Thread Bill Barker
Well, you have, like two options (that you would already know about if you
had bothered to RTFM ;-).
1) In server.xml set the 'address=localhost' parameter on the Connector.
2) In jk2.properties set 'channelSocket.address=localhost'

"yo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi, everyone
>
> I have a question about port 8009.
> I'm using Tomcat 4.1.27, Apache 2.0.47, mod_jk2/2.0.3-dev.
>
> When Tomcat starts, Tomcat says,
> "INFO: JK2: ajp13 listening on /0.0.0.0:8009".
> (This message is in catalina.out)
>
> How do you control access to port 8009 ?
> I guess I have to do something for the Tomcat security...
> but can't find any configurations about that in server.xml.
>
> Any help is highly appreciated.
>
> thanks and regards
>
> --
> yo




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



Re: JSP Custom tag and XML/XSL transformation

2003-08-18 Thread Dave Butler
Not exactly but in JSP 1.2

 
   


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



Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread westj
I will be out of the office starting  08/18/2003 and will not return until
08/26/2003.




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



Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread westj
I will be out of the office starting  08/18/2003 and will not return until
08/26/2003.




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



Jasper2 ant task questions

2003-08-18 Thread Johann Uhrmann
Hello,

there a some strange phenomena in my build with the jasper2 ant task.
The following snippet is used to compile the JavaServer Pages:















   





Well, those phenomena occur:

- The task class cannot be found. Running ant with -verbose shows that
  the class javax.servlet.ServletContext cannot be found.
  The strange thing is that "jasper2" contains the path to servlet.jar
  and putting the very same jar file on the CLASSPATH environment fixes
  the problem.
- During the jasper2 run, the class
  org.apache.struts.util.PropertyMessageResourcesFactory
  cannot be found. However, the according jar file is on
  "jasper2.classpath".
  Adding the contents of "jasper2.classpath" to the CLASSPATH
  environment variable fixes the problem again.
It seems like not all jar files on "jasper2" and "jasper2.classpath" are
inspected by the class loader. Is there a size limit for the classpath
in ant/jasper2 or even jdk1.4.1?
The class pathes are quite huge (approx. 4kByte).

Does the order of the jar files matter?

Can someone give me a hint how to run this without changing the
CLASSPATH environment every time?
Thank You very much,

Johann Uhrmann

P.S.:
Can jasper2 be told to skip certain jsp files. Those used for static 
includes result in broken java-classes (classes that cannot be compiled).

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


Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread westj
I will be out of the office starting  08/18/2003 and will not return until
08/26/2003.




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



Allowing 'manager' access to just one webapp

2003-08-18 Thread Simon Brooke
Hi

I'm trying to find a solution which allows a particular user to use the 
manager webapp to reload, start or stop just one particular webapp which 
they're responsible for, without being able to affect other webapps on the 
same tomcat instance. Can this be done and if so how?

Tomcat 4.1.12, if this helps.

Cheers

Simon 

-- 
[EMAIL PROTECTED] (Simon Brooke) http://www.jasmine.org.uk/~simon/

;; in faecibus sapiens rheum propagabit


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



Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread westj
I will be out of the office starting  08/18/2003 and will not return until
08/26/2003.




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



Problem with Tag files in Tomcat 5.0.7

2003-08-18 Thread thanuj kumar
Hi
 
 There is a problem in running JSP2 examples for Tag files. I just removed the Servlet 
mapping generated by JSPC from the web.xml for jsp-examples context and started to 
access directly JSP files.
 
 
 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: Unable to compile class for JSP  
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:561) 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:300) 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)   
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)



root cause 
java.lang.IllegalArgumentException: -52 
org.apache.jasper.compiler.SmapStratum$LineInfo.setOutputLineIncrement(SmapStratum.java:124)
org.apache.jasper.compiler.SmapStratum.optimizeLineSection(SmapStratum.java:221)   
 org.apache.jasper.compiler.SmapUtil.evaluateNodes(SmapUtil.java:490)
org.apache.jasper.compiler.SmapUtil.generateSmap(SmapUtil.java:123) 
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:301) 
org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)  
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)  
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:555) 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:300) 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)   
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)



note The full stack trace of the root cause is available in the Tomcat logs.

-
Apache Tomcat/5.0.7


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

RE: JNDI DataSource Realm

2003-08-18 Thread Scott Stewart
Where is your JDBC driver .jar file located?  It should be in
/common/lib.  Also, how are you instantiating your DataSource
object within your code?

Thanks,

Scott Stewart
[Manager, Software Development]
[EMAIL PROTECTED]

ClearSky Mobile Media, Inc.
56 E. Pine St. Suite 200
Orlando, FL 32801
USA



-Original Message-
From: Madere, Colin [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 15, 2003 3:44 PM
To: 'Tomcat Users List'
Subject: RE: JNDI DataSource Realm


Ok, so changing the "dataSourceName" attribute in the Realm config (as you
suggest which contradicts the HOWTO) to the short name I've given my
resource makes the Realm auth work with the globally defined datasource.
Yay!

However, when trying to connect to the datasource (moved the "jdbc/Auth"
resource from  tag to  tag), my
servlet application still gives the same "Name jdbc is not bound in this
Context" error.

You mention not having to put a  in the context specific
web.xml file, and I assume your suggestion to put  tag in the
Context (in my case putting it in the  tag so it works, or
should, for all autodeployed contexts) is what you mean removes the need for
the those aforementioned entries.  However, it doesn't appear to work (as it
_does_ work when I move the whole / tags into the
 tag.  Don't want to do this as I will have multiple virtual
hosts using the same resource...)

Doubt it's of importance, but adding the  you suggest is not
necessary produces the elusive "Cannot load JDBC driver class 'null'" error,
which I believe is unrelated.

Any more ideas why my app would not see the global resource as defined below
as a global resource and then resource-linked in the default context?

-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 13, 2003 5:27 PM
To: 'Tomcat Users List'
Subject: RE: JNDI DataSource Realm


I posted this awhile back (for MySQL), but here it is again.  Also, when you
define your DataSource in this manner, you do not need the 
node in your context-specific web.xml files.


The global DataSource definition











username




password




driverClassName
com.mysql.jdbc.Driver



url
jdbc:mysql://:3306/?autoReconnect=true



removeAbandoned
true



removeAbandonedTimeout
60



logAbandoned
true



maxActive
200



maxIdle
3



maxWait
100







Realm definition using global DataSource





Context reference to global DataSource
--


  

Hope this helps!!

Thanks,

Scott Stewart
[Manager, Software Development]
[EMAIL PROTECTED]

ClearSky Mobile Media, Inc.
56 E. Pine St. Suite 200
Orlando, FL 32801
USA



-Original Message-
From: Madere, Colin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 13, 2003 5:17 PM
To: 'Tomcat Users List'
Subject: JNDI DataSource Realm


Tomcat 4.1.27
PostgreSQL 7.3.4
pg73jdbc3.jar

Trying to use JNDI as a Realm source for both auth and data access for a
whole server, therefore trying as a GlobalNamingContext attribute.  No love.

* Set up as a JDBC Realm, auth works.
* Set up Datasource as JNDI Resource within , data access
works.

Move  and params to  and I get the "Name jdbc
is not bound in this Context" error.  Saw lots of refs to this error via
Google, but none relevant AFAICT.  (Do I look up resources in the global
context differently?  If so doesn't that kind of break the idea of it being
an abstractly defined data source?)

Anyone successfully using  for DataSources? Using these
components (Tomcat 4.1.x, postgreSQL)?

Change Realm from JDBC to DataSourceRealm and auth does not work (or report
any errors in logs).

server.xml (with DataSourceRealm commented out)



  
  

  
  

  

  
  











  
  

  
  

  

  
  



 

Re: port 8009 security (ajp13)

2003-08-18 Thread yo
Eric,

Thank you for the reply.

"Eric J. Pinnell" <[EMAIL PROTECTED]> wrote:

> Hi,
>
> Firewalls.  In a single box setup you would have a firewall that would
> only allow access to port 80.  Apache would get the request and forward it
> back to itself on port 8009.  This would be "behind" the firewall so you
> couldn't access port 8009 directly.
>
> In a N-tier setup there would be a firewall between the apache server and
> the tomcat server.  You can control access to port 8009 from the firewall.
>
> -e

My Apache and Tomcat, they are working on the single host,
so I think have to use a firewall.

I can use a SunScreen 3.2 for the firewall because my OS
is a Solaris 9, so I am going to try to use it first.
Then I will try to use a N-tier if can't use it.

Thanks again.

--
yo


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



Re: RE: urgent

2003-08-18 Thread shaman jain
hi friends,
this is the problem i am facing
C:\tomcat\work\Standalone\localhost\callreg\passcall_jsp.java:58: 
package callreg does not exist
  callreg.URLBean db = null;
An error occurred at line: 2 in the jsp file: /passcall.jsp
Generated servlet error:
C:\tomcat\work\Standalone\localhost\callreg\passcall_jsp.java:60: 
package callreg does not exist
db = (callreg.URLBean) pageContext.getAttribute("db", 
PageContext.APPLICATION_SCOPE);
An error occurred at line: 2 in the jsp file: /passcall.jsp
Generated servlet error:
C:\tomcat\work\Standalone\localhost\callreg\passcall_jsp.java:63: 
package callreg does not exist
db = (callreg.URLBean) 
java.beans.Beans.instantiate(this.getClass().getClassLoader(), 
"callreg.URLBean");

and my dir structure is:
c:/tomcat/webapps/callreg/web-inf/calsses/callreg/URLBean.class
c:/tomcat/webapps/callreg/web-inf/lib/tds.jar
and i am includeing jsp as


and connecting as
Class.forName(db.getDriver());
Connection 
con=DriverManager.getConnection(db.getUrl(),db.getUser(),db.getPassword());
pls help me out
its urgent
thanx in advance
Shaman



___
Meet your old school or college friends from
1 Million + database...
Click here to reunite www.batchmates.com/rediff.asp


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


Re: RE: urgent

2003-08-18 Thread pete . storey
Perhaps this is just mis-typing in the email but you directory for the 
classes has been spelt "calsses" - could be the problem if you mean that?





"shaman  jain" <[EMAIL PROTECTED]>
18/08/2003 12:02
Please respond to "Tomcat Users List"
 
To: "Stuart MacPherson" <[EMAIL PROTECTED]>
cc: [EMAIL PROTECTED]
Subject:Re: RE: urgent


hi friends,
this is the problem i am facing
C:\tomcat\work\Standalone\localhost\callreg\passcall_jsp.java:58: 
package callreg does not exist
   callreg.URLBean db = null;
An error occurred at line: 2 in the jsp file: /passcall.jsp
Generated servlet error:
C:\tomcat\work\Standalone\localhost\callreg\passcall_jsp.java:60: 
package callreg does not exist
 db = (callreg.URLBean) pageContext.getAttribute("db", 
PageContext.APPLICATION_SCOPE);
An error occurred at line: 2 in the jsp file: /passcall.jsp
Generated servlet error:
C:\tomcat\work\Standalone\localhost\callreg\passcall_jsp.java:63: 
package callreg does not exist
 db = (callreg.URLBean) 
java.beans.Beans.instantiate(this.getClass().getClassLoader(), 
"callreg.URLBean");

and my dir structure is:
c:/tomcat/webapps/callreg/web-inf/calsses/callreg/URLBean.class
c:/tomcat/webapps/callreg/web-inf/lib/tds.jar

and i am includeing jsp as


and connecting as
Class.forName(db.getDriver());
Connection 
con=DriverManager.getConnection(db.getUrl(),db.getUser(),db.getPassword());
pls help me out
its urgent
thanx in advance
Shaman



___
Meet your old school or college friends from
1 Million + database...
Click here to reunite www.batchmates.com/rediff.asp



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




Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread westj
I will be out of the office starting  08/18/2003 and will not return until
08/26/2003.




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



RE: Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread Stuart MacPherson
This will happen 50 times a day until 26th august...

Ahh





-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 18 August 2003 11:47
To: Tomcat Users List
Subject: Jan West/US/AM/TSA is out of the office.

I will be out of the office starting  08/18/2003 and will not return until
08/26/2003.




-
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: Trouble with Apache 1.3.28/Tomcat 4.124/mod_jk 1.24

2003-08-18 Thread John Turner
No, that's not the answer.

Ajp13Connector is always disabled by default in Tomcat 4.1.x. 
CoyoteConnector on port 8009 is enabled by default.

John

Cristopher Daniluk wrote:
Uhm...



And I didn't touch the Connector Classname entry in server.xml:


 shortly thereafter.

That's a comment, so you have that Ajp13Connector commented out at the
moment :)
Try removing the  from around the Connector tag and restart
Jakarta.
-
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: Trouble with Apache 1.3.28/Tomcat 4.124/mod_jk 1.24

2003-08-18 Thread John Turner
Your mod_jk config is screwed up.

First, move all of the global stuff (JkWorkersFile, etc, basically 
everything BUT JkMount) ABOVE all VirtualHost blocks in httpd.conf.

Second, in EACH VirtualHost block that may have requests to send to 
Tomcat, put the required JkMount statements.

The error message is 100% descriptive and 100% correct...mod_jk cannot 
map your request to a worker because you have no workers specified for 
your VirtualHost.

John

Henry Kwan wrote:

Hi, I'm trying to setup a Apache/Tomcat test server and am having some 
problems.  Apache works fine on port 80 and Tomcat works fine on 8080 but I 
can't get mod_jk to connect them.  I'm running Solaris 8 SPARC and I 
compiled Apache from source, grabbed the Tomcat binary, and compiled mod_jk 
from source.

Here's what I have in my httpd.conf:

LoadModule jk_module libexec/mod_jk.so
...
 
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /opt/tomcat/jakarta-tomcat/webapps
ServerName tomcat.xxx.com
DirectoryIndex index.htm index.html

Options Indexes FollowSymLinks
AllowOverride All

ErrorLog /export/home/httpd/logs/tomcat_error
CustomLog /export/home/httpd/logs/tomcat_access common


   JkWorkersFile "/opt/tomcat/jakarta-tomcat/conf/workers.properties"
   JkLogFile "/opt/tomcat/jakarta-tomcat/logs/mod_jk.log"

   JkLogLevel debug

   JkAutoAlias /opt/tomcat/jakarta-tomcat/webapps
   JkMount /*.jsp ajp13
   JkMount /*/servlet/ ajp13
   JkMount /examples ajp13
   JkMount /examples/* ajp13

I have this workers.properties setup:

worker.list=testWorker
worker.testWorker.port=8009
worker.testWorker.host=localhost
worker.testWorker.type=ajp13
And I didn't touch the Connector Classname entry in server.xml:



Re: About server.xml

2003-08-18 Thread John Turner
RTFM

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/index.html

Any further questions, please post to the list.  Be as specific as possible.

John

Alexander Vavilin wrote:

Hello all,

I am new to Tomcat, so can anybody explain or advice an article about
this elements. Specially I cant understand the meaning of elements:
, , , , ,
, .
Thanks in advance.


 reloadable="true" crossContext="true">
  
 prefix="localhost_examples_log." suffix=".txt"
  timestamp="true"/>
  
 home="com.wombat.empl.EmployeeRecordHome"
   remote="com.wombat.empl.EmployeeRecord"/>
  
  value="15"/>
  
 override="false"/>
  
type="javax.sql.DataSource"/>
  
usersa
password
driverClassName
  org.hsql.jdbcDriver
driverName
  jdbc:HypersonicSQL:database
  
  
type="javax.mail.Session"/>
  

  mail.smtp.host
  localhost

  
  
type="java.lang.Integer"/>




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


Re: Running servlet via SSL???

2003-08-18 Thread John Turner
You will configure Apache to handle SSL.  You will configure Apache to 
load mod_jk as a DSO.  You will configure your SSL virtual host in 
httpd.conf to forward JSP and servlet requests to Tomcat via the AJP 
connector which, in a default Tomcat install, is enabled by default on 
port 8009.  This is all covered extensively in the documentation and the 
archives, it comes up frequently.

John

Carlos Oliva wrote:

Thank you very much for your reponse.  Probably we will want to take
advantage of Apache SSL and configure it to relay requests to Tomcat
instead of using Tomcat as "stand-alone".  To do this, do I just need to
configure Apache and add the appropriate mappings or must I also install
the mod_jk (Apache 1.3 and Tomcat 4.0.x)?
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2003 1:24 PM
To: Tomcat Users List
Subject: Re: Running servlet via SSL???

Carlos Oliva wrote:


However, I see the welcome screen of Tomcat if I use http://:8080 
but not if I use https::8080 or any other combination of ports and


http or https.  Furthermore, servlets run via http://:8080/ , 
but not https://... Or http://:8443/...


If anything, it would be https://...:8443


From this, I am concluding that Apache is set to run with http or 

https,
that Tomcat is configured as "stand alone" -- not via ssl.


Right, but Tomcat's SSL status is irrelevant if you're using Apache and
a connector.  Apache and Tomcat do not "speak" SSL when communicating
with each other.  If you're using SSL with Apache + Tomcat, the only SSL
configuration is done on the Apache side.  You have to remember to add
the appropriate URI mappings for your connector to the SSL virtual host
in httpd.conf.

So, since I have JDK1.4.x installed,  I am assuming that I just need 
to create the right certificates and configure the server.xml file for


tomcat to enable Tomcat to work with ssl in stand alone mode.  Right?


Right, but again, this is not needed if you have Apache set to do SSL,
unless you want to do testing using Tomcat alone.
Tomcat SSL HOWTO:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html
John





-
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: A good book about Tomcat

2003-08-18 Thread John Turner
As far as I know it is still there, run by Wiley.

John

epyonne wrote:

I miss the Programmers to Programmers (P2P) that Wrox used to have.  I sure
hope Wiley or Apress will carry on.
- Original Message -
From: "John Turner" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, August 14, 2003 02:57 PM
Subject: Re: A good book about Tomcat


The company is.  Others have bought up the intellectual property
(copyrights and such).  Most of the assets were bought by Wiley and
Apress.

John



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


Re: Tomcat MultiHosting problems

2003-08-18 Thread John Turner
appBase != docBase

Right now your Context is using the same value for its docBase as your 
Host is using for its appBase.  Your docBase cannot be your appBase, not 
to mention that your Context is using a path of "/webapps" which could 
cause all sorts of weird problems.

Set appBase = /home/www/vhostxx/html/webapps but then set docBase = 
"myApp" or something like that (it is automatically relative to the 
appBase).

Then your Context would look something like this:



Then the URL would be:

http://www.www.domain_vhostxx.at:8080/file.jsp

So you want:

appBase: /home/www/vhostxx/html/webapps
docBase: /home/www/vhostxx/html/webapps/myApp
JSP: /home/www/vhostxx/html/webapps/myApp/my.jsp
WEB-INF: /home/www/vhostxx/html/webapps/myApp/WEB-INF
John

Robert Zöhrer @ pronet.at wrote:

Hi all,

I've great problems with Tomcat and setting up a context in a 2nd
(virtual) host:
my environmemt:

OS: Redhat Linux
Platform: Intel x86
TC version: 4.1

tomcat4.conf:
--- cut -
CATALINA_HOME="/var/tomcat4"
JASPER_HOME="/var/tomcat4"
CATALINA_TMPDIR="/var/tomcat4/temp"
 cut -
1) There is a dir called /home/www/vhostxx/html/webapps for the
vhost-files. There User uploaded her Apps via FTP. There are just a
few jsp-files and a WEB-INF-subdir with a standard web.xml.
Permissions:

drwxrwxrwx2 vhostxx_user   ftponly  4096 Aug 12 14:03 webapps

2) Host and Context are defined in server.xml (see below)

But when i define the Context (shown below) with den Admin Panel, I
get this error from the Logger:
2003-08-15 14:27:21 StandardContext[/webapps]: Resources start failed:
java.lang.IllegalArgumentException: Document base
/home/www/vhostxx/html/webapps does not exist or is not a
readable directory
and

2003-08-15 14:27:21 StandardContext[/webapps]: Context startup failed
due to previous errors
2003-08-15 14:27:21 StandardContext[/webapps]: Exception during
cleanup after start failed
:(

3) When I try http://www.www.domain_vhostxx.at:8080/webapps/file.jsp

I also get

HTTP Status 404 - /webapps/file.jsp
type Status report
message /webapps/file.jsp
description The requested resource (/webapps/file.jsp) is not available.
Of course, this is, because "Context startup failed" .. but why is
this so? TC has also add a work-dir for this host and context but the
context-working-dir is empty :(
There are no basicly problems, because the Admin Panel (localhost,
context: /admin) works fine.
Is it a problem, when appBase, docBase are outside $CATALINA_HOME?

Are there spezial permission needs for the appBase, docBase dirs? But
now there are permissions to ALL with
drwxrwxrwx2 vhostxx_user   ftponly  4096 Aug 12 14:03 webapps

Is there anything that I don't know?

I'ld be very very glad if anybody has an idea, because I've studied
the docs for days and can't see a mistake in my config?
Thanks a lot Robert


From server.xml:
# Standard Localhost with Admin & Manager Context ###



  


  


# my new Host ###


  domain_vhostxx.at


  


-
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 servlet via SSL???

2003-08-18 Thread Carlos Oliva
Thank you John,
We are on the right track now.  We found the documentation about JK and
mod_jk

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 8:16 AM
To: Tomcat Users List
Subject: Re: Running servlet via SSL???



You will configure Apache to handle SSL.  You will configure Apache to 
load mod_jk as a DSO.  You will configure your SSL virtual host in 
httpd.conf to forward JSP and servlet requests to Tomcat via the AJP 
connector which, in a default Tomcat install, is enabled by default on 
port 8009.  This is all covered extensively in the documentation and the

archives, it comes up frequently.

John

Carlos Oliva wrote:

> Thank you very much for your reponse.  Probably we will want to take 
> advantage of Apache SSL and configure it to relay requests to Tomcat 
> instead of using Tomcat as "stand-alone".  To do this, do I just need 
> to configure Apache and add the appropriate mappings or must I also 
> install the mod_jk (Apache 1.3 and Tomcat 4.0.x)?
> 
> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 14, 2003 1:24 PM
> To: Tomcat Users List
> Subject: Re: Running servlet via SSL???
> 
> 
> Carlos Oliva wrote:
> 
> 
>>However, I see the welcome screen of Tomcat if I use http://:8080
>>but not if I use https::8080 or any other combination of ports and
> 
> 
>>http or https.  Furthermore, servlets run via http://:8080/ ,
>>but not https://... Or http://:8443/...
> 
> 
> If anything, it would be https://...:8443
> 
> 
>>>From this, I am concluding that Apache is set to run with http or
>>
>>>https,
>>
>>that Tomcat is configured as "stand alone" -- not via ssl.
> 
> 
> Right, but Tomcat's SSL status is irrelevant if you're using Apache 
> and a connector.  Apache and Tomcat do not "speak" SSL when 
> communicating with each other.  If you're using SSL with Apache + 
> Tomcat, the only SSL configuration is done on the Apache side.  You 
> have to remember to add the appropriate URI mappings for your 
> connector to the SSL virtual host in httpd.conf.
> 
> 
>>So, since I have JDK1.4.x installed,  I am assuming that I just need
>>to create the right certificates and configure the server.xml file for
> 
> 
>>tomcat to enable Tomcat to work with ssl in stand alone mode.  Right?
> 
> 
> Right, but again, this is not needed if you have Apache set to do SSL,

> unless you want to do testing using Tomcat alone.
> 
> Tomcat SSL HOWTO: 
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html
> 
> John
> 
> 
> 
> 
> 
> 
> -
> 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: Servlets from public_html?

2003-08-18 Thread John Turner
Dir structure?  Error message?  URL that you're trying to use?

Remember that the Invoker servlet is disabled by default, if you've just 
dumped your servlet into a directory and expect to call it by its name, 
it won't work.  You have to map it in your web.xml file, as enabling the 
Invoker is a security risk.

I'm no developer, but if my memory is correct, your dir structure should 
be something like this:

~jblanco/public_html/myApp
~jblanco/public_html/myApp/WEB-INF
~jblanco/public_html/myApp/WEB-INF/web.xml
~jblanco/public_html/myApp/WEB-INF/lib
~jblanco/public_html/myApp/WEB-INF/classes
~jblanco/public_html/myApp/WEB-INF/classes/yourServlet
Then in web.xml:


yourServlet
yourServlet
classes.yourServlet


yourServlet
/yourServlet

Then you would call it like:

http://www.your-host.com/myApp/yourServlet

More on the Invoker:

http://jakarta.apache.org/tomcat/faq/misc.html#invoker

More on arranging your files and directories:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html

John

John Blanco wrote:

I'm having trouble finding information on this...so 
here's a last stab. I've got everything set up to host 
files out of my ~jblanco/public_html.  However, when I 
put a Web application in my public_html/ I can't 
access the Servlet.  I can access HTML just fine but I 
can't access my servlets.  The same structure in 
Tomncat's webapps works just fine, so I know the 
structure is right.

Can anyone help?  Let me know what info you might be 
looking for...this is terribly frusterating.



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


RE: exception.getMessage()

2003-08-18 Thread Shapira, Yoav

Howdy,
Read the spec: SRV.9.9.1.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: James Michelich [mailto:[EMAIL PROTECTED]
>Sent: Friday, August 15, 2003 10:37 PM
>To: [EMAIL PROTECTED]
>Subject: exception.getMessage()
>
>Hello,
>
>I'm having a problem with 'exception.getMessage()' - whenever I throw
>an IOException with a message (i.e. throw new IOException("error") ),
>my error jsp page displays nothing.
>
>I have the java.io.IOException mapped in web.xml to a jsp error page.
>
>Thanks,
>
>James
>
>-
>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]



RE: Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread pete . storey
If you look in the help for the list:

To stop subscription for this address, mail:
<[EMAIL PROTECTED]>

In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

It will, of course, reply automatically and voila!
Pete





"Stuart MacPherson" <[EMAIL PROTECTED]>
18/08/2003 12:59
Please respond to "Tomcat Users List"
 
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
cc: 
Subject:RE: Jan West/US/AM/TSA is out of the office.


This will happen 50 times a day until 26th august...

Ahh





-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 18 August 2003 11:47
To: Tomcat Users List
Subject: Jan West/US/AM/TSA is out of the office.

I will be out of the office starting  08/18/2003 and will not return until
08/26/2003.




-
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 4.1.24 12 minute startup

2003-08-18 Thread Shapira, Yoav

Howdy,
Can you repeat your experiment with a profiler to see where CPU time is
spent?  That would be very helpful..

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Loren Hall [mailto:[EMAIL PROTECTED]
>Sent: Sunday, August 17, 2003 11:27 PM
>To: Tomcat Users List
>Subject: Tomcat 4.1.24 12 minute startup
>
>
>
>Just recently I'm finding each time i start tomcat 4.1.24 it takes
longer
>and longer to start.
>
>It starts fast, but after a few stop/starts it 'spins' with CPU usage
at
>99%.  First for like 90seconds then for a couple minutes, the example
below
>shows it took 12 minutes to start. I have no clue what it's trying to
do,
>and have found no info in the logs to account for this.  I have no
reason
>to
>believe it relates to my app at all, and everything works fine when it
>eventually starts.
>
>The 'spin' happens just after printing the last servletMapping info for
my
>app and before the Protocol is declared started.
>
>Any thoughts are appreciated.
>
>   -STARTUP OUTPUT---
>
>Aug 17, 2003 7:47:19 PM org.apache.coyote.http11.Http11Protocol init
>INFO: Initializing Coyote HTTP/1.1 on port 8080
>Starting service Tomcat-Standalone
>Apache Tomcat/4.1.24
>register('-//Apache Software Foundation//DTD Struts Configuration
1.0//EN',
>'jar
>:file:/C:/home/insitesw/tomcat/build/webapps/insite/WEB-
>INF/lib/struts.jar!/
>org/
>apache/struts/resources/struts-config_1_0.dtd'
>register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN',
>'jar:file:/C:
>/home/insitesw/tomcat/build/webapps/insite/WEB-
>INF/lib/struts.jar!/org/apach
>e/st
>ruts/resources/web-app_2_2.dtd'
>register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN',
>'jar:file:/C:
>/home/insitesw/tomcat/build/webapps/insite/WEB-
>INF/lib/struts.jar!/org/apach
>e/st
>ruts/resources/web-app_2_3.dtd'
>resolveEntity('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN',
>'http://
>java.sun.com/j2ee/dtds/web-app_2_2.dtd')
> Resolving to alternate DTD
>'jar:file:/C:/home/insitesw/tomcat/build/webapps/ins
>ite/WEB-INF/lib/struts.jar!/org/apache/struts/resources/web-app_2_2.dtd
'
>Call
>Insites.theSystem.Facilitator.addServletMapping(action/java.lang.String
,*.d
>o/java.lang.String)
>register('-//Apache Software Foundation//DTD Struts Configuration
1.0//EN',
>'jar
>:file:/C:/home/insitesw/tomcat/build/webapps/insite/WEB-
>INF/lib/struts.jar!/
>org/
>apache/struts/resources/struts-config_1_0.dtd'
>register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN',
>'jar:file:/C:
>/home/insitesw/tomcat/build/webapps/insite/WEB-
>INF/lib/struts.jar!/org/apach
>e/st
>ruts/resources/web-app_2_2.dtd'
>register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN',
>'jar:file:/C:
>/home/insitesw/tomcat/build/webapps/insite/WEB-
>INF/lib/struts.jar!/org/apach
>e/st
>ruts/resources/web-app_2_3.dtd'
>resolveEntity('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN',
>'http://
>java.sun.com/j2ee/dtds/web-app_2_2.dtd')
> Resolving to alternate DTD
>'jar:file:/C:/home/insitesw/tomcat/build/webapps/ins
>ite/WEB-INF/lib/struts.jar!/org/apache/struts/resources/web-app_2_2.dtd
'
>Call
>Insites.theSystem.Facilitator.addServletMapping(action/java.lang.String
,*.d
>o/java.lang.String)
>
>
>[SPINS]
>
>
>Aug 17, 2003 7:59:46 PM org.apache.coyote.http11.Http11Protocol start
>INFO: Starting Coyote HTTP/1.1 on port 8080
>
>
>Loren Hall
>
>
>
>-
>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]



SSL and tomcat behind apache

2003-08-18 Thread Bradberry, Rick
Hi all,
 
Question about running SSL through apache and using tomcat
for jsp. In the tomcat documentation it says that tomcat only needs
to be configured if it is running stand alone. I'm using apache 2 with
openssl
for the front end.
 
Here's my problem:
 
when I go to the https server (apache) the lock icon turns on in IE, but
as soon as I hit a jsp page the lock icon turns off. With Mozilla it shows a

lock with a red line through it. 
 
Did I miss something in the setup documentation?
 
Rick


Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread westj
I will be out of the office starting  08/18/2003 and will not return until
08/26/2003.




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



stdout/stderr file size control??

2003-08-18 Thread Dave Radcliff
Are there parameters that can be set to either control the size of these
files (logging options- verbose, standard, info, etc) or to simply shut
logging off?

Thank you,
Dave Radcliff
Verizon, Network Integration Corp.
614-801-0572
[EMAIL PROTECTED] 

 


RE: [ANNOUNCE] Maven Tomcat Deployment Plugin

2003-08-18 Thread Shapira, Yoav

Howdy,
Cool -- thanks ;)  I'm a growing fan of Maven and been meaning
to write something like this myself...

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Nathan Coast [mailto:[EMAIL PROTECTED]
>Sent: Monday, August 18, 2003 8:46 AM
>To: tomcat user; Maven Users
>Subject: [ANNOUNCE] Maven Tomcat Deployment Plugin
>
>Hi,
>
>I'm pleased to announce a new Maven plugin to deploy web applications
>within Tomcat.
>
>http://www.codeczar.com/products/tomcat
>
>This plugin deploys web-applications built with maven into Tomcat using
>the catalina-ant tasks which come with tomcat distributions.
>
>Cheers
>Nathan
>
>
>-
>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]



Re: Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread Rick Roberts
He just got a special filter -> trash until 26Aug03

You may want to do the same.

Stuart MacPherson wrote:
This will happen 50 times a day until 26th august...

Ahh


--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
* http://www.ait-web.com  *
***
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: SSL and tomcat behind apache

2003-08-18 Thread Stuart Stephen
Which connector are you using to link tomcat to apache?

-Original Message-
From: Bradberry, Rick [mailto:[EMAIL PROTECTED]
Sent: 18 August 2003 13:47
To: 'Tomcat Users List'
Subject: SSL and tomcat behind apache


Hi all,

Question about running SSL through apache and using tomcat
for jsp. In the tomcat documentation it says that tomcat only needs
to be configured if it is running stand alone. I'm using apache 2 with
openssl
for the front end.

Here's my problem:

when I go to the https server (apache) the lock icon turns on in IE, but
as soon as I hit a jsp page the lock icon turns off. With Mozilla it shows a

lock with a red line through it.

Did I miss something in the setup documentation?

Rick



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



RE: Tomcat and Static Variables

2003-08-18 Thread Shapira, Yoav

Howdy,

>   It claims that aliases (I may be wrong on this, it's
>hard to decipher the difference between JWS and Tomcat
>lingo) will create different instances to the target
>Servlet, but static variables are recognized.  So
>access to one servlet instance might result in:

The servlet container may (and tomcat does last I checked) create one
instance of a (non-SingleThreadModel) servlet for every  tag in
web.xml.  So just have two  tags with different 
but same  in your web.xml.  You don't need two contexts
for this.

>   The question is how I can replicate the above behavior
>so static variables are spanned across more than one
>instance?  Can anyone point me at a Tomcat scoping
>document?

The tomcat scoping document is the Servlet Specification more or less ;)
For things that are left up to the container implementation, you'll need
to ask or better yet, read the code.

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]



RE: SSL and tomcat behind apache

2003-08-18 Thread Bradberry, Rick

the setup is
Apache 2
tomcat 4.1.27
mod_jk2 connectors 4.1.27

Rick

-Original Message-
From: Stuart Stephen [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 8:51 AM
To: Tomcat Users List
Subject: RE: SSL and tomcat behind apache


Which connector are you using to link tomcat to apache?

-Original Message-
From: Bradberry, Rick [mailto:[EMAIL PROTECTED]
Sent: 18 August 2003 13:47
To: 'Tomcat Users List'
Subject: SSL and tomcat behind apache


Hi all,

Question about running SSL through apache and using tomcat
for jsp. In the tomcat documentation it says that tomcat only needs
to be configured if it is running stand alone. I'm using apache 2 with
openssl
for the front end.

Here's my problem:

when I go to the https server (apache) the lock icon turns on in IE, but
as soon as I hit a jsp page the lock icon turns off. With Mozilla it shows a

lock with a red line through it.

Did I miss something in the setup documentation?

Rick



-
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: SSL and tomcat behind apache

2003-08-18 Thread Stuart Stephen
In your httpd.conf or ssl.conf in the virtual hosts, this should be where
the connectors are mounted.

Also, in the server.xml make sure that your using the
"org.apache.coyote.tomcat4.CoyoteConnector" on port 8443, scheme="https" and
secure="true"

-Original Message-
From: Bradberry, Rick [mailto:[EMAIL PROTECTED]
Sent: 18 August 2003 13:56
To: 'Tomcat Users List'
Subject: RE: SSL and tomcat behind apache



the setup is
Apache 2
tomcat 4.1.27
mod_jk2 connectors 4.1.27

Rick

-Original Message-
From: Stuart Stephen [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 8:51 AM
To: Tomcat Users List
Subject: RE: SSL and tomcat behind apache


Which connector are you using to link tomcat to apache?

-Original Message-
From: Bradberry, Rick [mailto:[EMAIL PROTECTED]
Sent: 18 August 2003 13:47
To: 'Tomcat Users List'
Subject: SSL and tomcat behind apache


Hi all,

Question about running SSL through apache and using tomcat
for jsp. In the tomcat documentation it says that tomcat only needs
to be configured if it is running stand alone. I'm using apache 2 with
openssl
for the front end.

Here's my problem:

when I go to the https server (apache) the lock icon turns on in IE, but
as soon as I hit a jsp page the lock icon turns off. With Mozilla it shows a

lock with a red line through it.

Did I miss something in the setup documentation?

Rick



-
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: How To Build mod_jk?????

2003-08-18 Thread Stuart Stephen
Bongrip,

I had the same problem, the files were supposed to be made in the
jk/build/jk2/apache2/.libs/ directory, but I never found them.

Eventually I reverted back to mod_jk which i built into apache.

Stuart

-Original Message-
From: Bongrip [mailto:[EMAIL PROTECTED]
Sent: 17 August 2003 17:20
To: Tomcat Users List
Subject: Re: How To Build mod_jk?


Eric J. Pinnell wrote:
> Hi,
>
> I don't use ant.  I use make.  It appears that you are trying to build
> JK2.
>
> In the native2 directory:
>
> ./configure --with-apxs2=/path/to/apache/bin/apxs
> make
>

>

Yes, that was exactly what I was trying. configure and make both
complete fine, however I never get the 2 resulting .so files anywhere in
the filesystem.

???

-CC


-
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: SSL and tomcat behind apache

2003-08-18 Thread Bradberry, Rick
Thanks for the response,

I added scheme and secure to the Connector with the same results.
not sure what you mean by mounting the connector in httpd.conf or ssl.conf.

here is my connector definition in tomcat/conf/server.xml


in apache2/conf/httpd.conf
I have:
LoadModule jk2_module modules/mod_jk2.so

SSL works within apache.

What about the workers.properties or the jk2.properties? any changes
needed here?

Rick


-Original Message-
From: Stuart Stephen [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 9:09 AM
To: Tomcat Users List
Subject: RE: SSL and tomcat behind apache


In your httpd.conf or ssl.conf in the virtual hosts, this should be where
the connectors are mounted.

Also, in the server.xml make sure that your using the
"org.apache.coyote.tomcat4.CoyoteConnector" on port 8443, scheme="https" and
secure="true"

-Original Message-
From: Bradberry, Rick [mailto:[EMAIL PROTECTED]
Sent: 18 August 2003 13:56
To: 'Tomcat Users List'
Subject: RE: SSL and tomcat behind apache



the setup is
Apache 2
tomcat 4.1.27
mod_jk2 connectors 4.1.27

Rick

-Original Message-
From: Stuart Stephen [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 8:51 AM
To: Tomcat Users List
Subject: RE: SSL and tomcat behind apache


Which connector are you using to link tomcat to apache?

-Original Message-
From: Bradberry, Rick [mailto:[EMAIL PROTECTED]
Sent: 18 August 2003 13:47
To: 'Tomcat Users List'
Subject: SSL and tomcat behind apache


Hi all,

Question about running SSL through apache and using tomcat
for jsp. In the tomcat documentation it says that tomcat only needs
to be configured if it is running stand alone. I'm using apache 2 with
openssl
for the front end.

Here's my problem:

when I go to the https server (apache) the lock icon turns on in IE, but
as soon as I hit a jsp page the lock icon turns off. With Mozilla it shows a

lock with a red line through it.

Did I miss something in the setup documentation?

Rick



-
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: stdout/stderr file size control??

2003-08-18 Thread Halstead, Chris
You can always redirect them to /dev/null (or nul on Windows), but that's probably not 
really what you want.  I've handled this in the past by writing a small piece of code 
that redirects sysout/err to a controlled output stream that starts a new log at 
midnight.  See java.lang.System.setErr and java.lang.System.setOut.

-chris

> 
> Are there parameters that can be set to either control the 
> size of these
> files (logging options- verbose, standard, info, etc) or to 
> simply shut
> logging off?
> 
> Thank you,
> Dave Radcliff
> Verizon, Network Integration Corp.
> 614-801-0572
> [EMAIL PROTECTED] 
> 

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



Avoiding tomcat crashes or do auto restarts?

2003-08-18 Thread Steinar Bang
Platform: Intel PIII, RedHat 8,
  IBMJava2-SDK-1.3.1-3.0,
  tomcat4-4.1.18-full.1jpp

We have found that if we push the server too hard, the Java VM running
tomcat crashes.  I'm assuming it's running out of memory, or file
descriptors, or somesuch.

Does anyone have a solution to this type of problem?  Config
parameters that can be tuned?  A watchdog process that will restart
the Java VM if it crashes (ie. something like the apache httpd does)?

A temporary problem caused by a restart is acceptable.
Flatlining due to a VM crash isn't.


- Steinar


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



RE: stdout/stderr file size control??

2003-08-18 Thread Shapira, Yoav

Howdy,
Adding swallowOutput=true to your context definition also achieves
something similar: tomcat will redirect stdout/stderr to the context
log, which tomcat also rotates nightly.  Furthermore, many elements in
server.xml and the main web.xml support debug/verbosity levels which you
can tune down.  And finally, tomcat uses commons-logging for
stdout/stderr so you can configure that ad nauseam.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Halstead, Chris [mailto:[EMAIL PROTECTED]
>Sent: Monday, August 18, 2003 9:28 AM
>To: Tomcat Users List
>Subject: RE: stdout/stderr file size control??
>
>You can always redirect them to /dev/null (or nul on Windows), but
that's
>probably not really what you want.  I've handled this in the past by
>writing a small piece of code that redirects sysout/err to a controlled
>output stream that starts a new log at midnight.  See
>java.lang.System.setErr and java.lang.System.setOut.
>
>-chris
>
>>
>> Are there parameters that can be set to either control the
>> size of these
>> files (logging options- verbose, standard, info, etc) or to
>> simply shut
>> logging off?
>>
>> Thank you,
>> Dave Radcliff
>> Verizon, Network Integration Corp.
>> 614-801-0572
>> [EMAIL PROTECTED]
>>
>
>-
>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]



RE: Avoiding tomcat crashes or do auto restarts?

2003-08-18 Thread Stuart Stephen
http://www.mail-archive.com/[EMAIL PROTECTED]/msg07206.html

This maybe of help. Increasing the Memory allocated to the Java VM when it
runs Tomcat is probably the solution.

-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Steinar Bang
Sent: 18 August 2003 14:33
To: [EMAIL PROTECTED]
Subject: Avoiding tomcat crashes or do auto restarts?


Platform: Intel PIII, RedHat 8,
  IBMJava2-SDK-1.3.1-3.0,
  tomcat4-4.1.18-full.1jpp

We have found that if we push the server too hard, the Java VM running
tomcat crashes.  I'm assuming it's running out of memory, or file
descriptors, or somesuch.

Does anyone have a solution to this type of problem?  Config
parameters that can be tuned?  A watchdog process that will restart
the Java VM if it crashes (ie. something like the apache httpd does)?

A temporary problem caused by a restart is acceptable.
Flatlining due to a VM crash isn't.


- Steinar


-
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: Avoiding tomcat crashes or do auto restarts?

2003-08-18 Thread Stuart Stephen
If you run "java -X" you should get a list of memory orientated options. 

-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Steinar Bang
Sent: 18 August 2003 14:33
To: [EMAIL PROTECTED]
Subject: Avoiding tomcat crashes or do auto restarts?


Platform: Intel PIII, RedHat 8,
  IBMJava2-SDK-1.3.1-3.0,
  tomcat4-4.1.18-full.1jpp

We have found that if we push the server too hard, the Java VM running
tomcat crashes.  I'm assuming it's running out of memory, or file
descriptors, or somesuch.

Does anyone have a solution to this type of problem?  Config
parameters that can be tuned?  A watchdog process that will restart
the Java VM if it crashes (ie. something like the apache httpd does)?

A temporary problem caused by a restart is acceptable.
Flatlining due to a VM crash isn't.


- Steinar


-
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]



Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread westj
I will be out of the office starting  08/18/2003 and will not return until
08/26/2003.




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



RE: Session Security

2003-08-18 Thread Mike Curwen
> Also, could someone listening in to the net traffic grab the session
> id and then use it?
> 
> Thanks,
> Todd
> 
 
Better yet, if you're not using SSL, they can grab the plaintext HTML
that goes back and forth between teacher and server.  They see
everything the teacher sees.


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



RE: stdout/stderr file size control??

2003-08-18 Thread Halstead, Chris
There you go...you learn something new every day ;-)  Thanks for the commons-logging 
tip Yoav.

-chris

> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 18, 2003 9:39 AM
> To: Tomcat Users List
> Subject: RE: stdout/stderr file size control??
> 
> 
> 
> Howdy,
> Adding swallowOutput=true to your context definition also achieves
> something similar: tomcat will redirect stdout/stderr to the context
> log, which tomcat also rotates nightly.  Furthermore, many elements in
> server.xml and the main web.xml support debug/verbosity 
> levels which you
> can tune down.  And finally, tomcat uses commons-logging for
> stdout/stderr so you can configure that ad nauseam.
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> >-Original Message-
> >From: Halstead, Chris [mailto:[EMAIL PROTECTED]
> >Sent: Monday, August 18, 2003 9:28 AM
> >To: Tomcat Users List
> >Subject: RE: stdout/stderr file size control??
> >
> >You can always redirect them to /dev/null (or nul on Windows), but
> that's
> >probably not really what you want.  I've handled this in the past by
> >writing a small piece of code that redirects sysout/err to a 
> controlled
> >output stream that starts a new log at midnight.  See
> >java.lang.System.setErr and java.lang.System.setOut.
> >
> >-chris
> >
> >>
> >> Are there parameters that can be set to either control the
> >> size of these
> >> files (logging options- verbose, standard, info, etc) or to
> >> simply shut
> >> logging off?
> >>
> >> Thank you,
> >> Dave Radcliff
> >> Verizon, Network Integration Corp.
> >> 614-801-0572
> >> [EMAIL PROTECTED]
> >>
> >
> >-
> >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: Avoiding tomcat crashes or do auto restarts?

2003-08-18 Thread Shapira, Yoav

Howdy,

>We have found that if we push the server too hard, the Java VM running
>tomcat crashes.  I'm assuming it's running out of memory, or file
>descriptors, or somesuch.

You can take one of two approaches, or even both together:
- Write a little program that watches tomcat's PID (tomcat can write out
its PID to a file you designate when it starts up, see
$CATALINA_HOME/bin/catalina.sh for instructions), and if the PID is
unavailable for a few seconds restarts tomcat.

- Actually figure out when and why you're crashing, and tune your app
and the server to handle that load.  Increase memory and file
descriptors as needed, figure out what your max capacity is on your
current hardware, etc, ie actually do the work instead of covering
everything with the above band-aid.

>A temporary problem caused by a restart is acceptable.
>Flatlining due to a VM crash isn't.

I agree ;)  I always tell my engineers, however, that an improperly
benchmarked system is unacceptable as well, so that wouldn't even make
it to production without a clear specification of its max load and
required hardware/software configuration to support that load.

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]



War Development w/ JNDI Datasources

2003-08-18 Thread Hookom, Jacob
Hi All,

We are currently developing an application and using CVS to manage our
source code.  Our goal is to be able to pull down the project off of CVS and
with a single Ant target, get the application up and running on a local
install of Tomcat.

The problem that has risen is that our DataSources are specified in JNDI
(the server.xml in the {CATALINA_HOME}/conf) and is not something that we
can feasibly park in CVS.

Is there a way to get the DataSources specified without modifying the
server.xml? Or, should we be making an ANT target that loads a second
instance of tomcat using a project specific server.xml, much like what
Cactus describes?

Many Thanks,
Jacob

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



Re: AD authentication if exact jndi context not known

2003-08-18 Thread carel-j rischmuller
Hi

I've managed to solve this problem by adding the attribute:
referrals="follow" to the  element in the server.xml file.

Hope this will help somebody else one day.

Regards
Carel-J

On Tue, 12 Aug 2003 21:18:59 +0200 carel-j rischmuller
([EMAIL PROTECTED]) wrote:

>Good day.
>
>I've succeeded in setting  up the JNDIRealm to connect and
>authenticate to AD (Active Directory) if the exact context (tree
path)
>to the user element is known. I just set the userBase to that exact
>context. E.g. userBase="ou=Office1,dc=Company,dc=net"
>
>However, I'm having trouble setting up JNDIRealm to connect to AD
*IF*
>you don't know the exact context to a user element, but need to
search
>through a couple of subtrees to locate it.
>
>Thus, the system need to authenticate users that could be under any
>subtree laying below "dc=Company,dc=net"
>
>I thought that I'd just specify the userBase in the JNDIRealm as:
>userBase="dc=Company,dc=net" but this generate the exception:
>javax.naming.PartialResultException: Unprocessed Continuation
>Reference(s); remaining name 'dc=Company,dc=net'
>
>It seems, the way to do multiple subtree searches in JNDI is by means
>of "Referrals".
>(http://java.sun.com/products/jndi/tutorial/ldap/referral/jndi.html)
>but this does not work for AD. In AD you use a "Global Catalog" to do
>subtree (forest) searches.
>
>Now the question: Does anybody know if you can do "Global Catalog"
>searches via JNDI? And if not, is there another way to solve this
>problem?
>
>Thanks in advance
>carel-j
>
>
>-
>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: Avoiding tomcat crashes or do auto restarts?

2003-08-18 Thread Ralph Einfeldt
- To tune some parameters you must investigate what causes 
  the failure. Otherwise you will waste your time
  optimizing the wrong options. (If you look close enough
  at the complete system, there are several dozen of 
  options where you can tune: io settings of the os, 
  memory settings, bios settings, tcp/ip settings,
  java vm settings, tomcat settings, db settings)
  Most of te option depend on your application an the 
  type of load it has to handle.

- To do a restart on a VM crash is a good idea anyway.
  A good starting point could be:
http://linux.oreillynet.com/pub/a/linux/2002/05/09/sysadminguide.html
http://cr.yp.to/daemontools/faq/create.html#why
  (Although they don't talk about tomcat)

> -Original Message-
> From: Steinar Bang [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 18, 2003 3:33 PM
> To: [EMAIL PROTECTED]
> Subject: Avoiding tomcat crashes or do auto restarts?
> 
> Platform: Intel PIII, RedHat 8,
> IBMJava2-SDK-1.3.1-3.0,
> tomcat4-4.1.18-full.1jpp
> 
> We have found that if we push the server too hard, the Java VM running
> tomcat crashes.  I'm assuming it's running out of memory, or file
> descriptors, or somesuch.
> 
> Does anyone have a solution to this type of problem?  Config
> parameters that can be tuned?  A watchdog process that will restart
> the Java VM if it crashes (ie. something like the apache httpd does)?
> 

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



RE: War Development w/ JNDI Datasources

2003-08-18 Thread Shapira, Yoav

Howdy,
One idea that leaps to mind is to have ant tokens in your server.xml and
values for those tokens in your build.properties file.  Have ant copy
the master server.xml to your local install and fill in the tokens for
your JNDI datasources.

The cactus approach is similar to this and not too bad either.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
>Sent: Monday, August 18, 2003 9:47 AM
>To: [EMAIL PROTECTED]
>Subject: War Development w/ JNDI Datasources
>
>Hi All,
>
>We are currently developing an application and using CVS to manage our
>source code.  Our goal is to be able to pull down the project off of
CVS
>and
>with a single Ant target, get the application up and running on a local
>install of Tomcat.
>
>The problem that has risen is that our DataSources are specified in
JNDI
>(the server.xml in the {CATALINA_HOME}/conf) and is not something that
we
>can feasibly park in CVS.
>
>Is there a way to get the DataSources specified without modifying the
>server.xml? Or, should we be making an ANT target that loads a second
>instance of tomcat using a project specific server.xml, much like what
>Cactus describes?
>
>Many Thanks,
>Jacob
>
>-
>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]



Tomcat largefile option in web.xml

2003-08-18 Thread Giorgio Ponza
Hi all !
I have a question about the largefile in the default web.xml
I've set the value of largefile to TRUE, but i can't see any 
differences, temp files, etc.
There are some FAQ for this option?
Tx

Giorgio Ponza



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


Re: I have a problem!!!

2003-08-18 Thread Jean-Francois Arcand
Send an email to [EMAIL PROTECTED]

-- Jeanfrancois

RobDel wrote:

Good morning,

I need know if can use tomcat to inegration between Java e Flash using Flash Remoting 
MX with JavaBean.
Sorry by my english, but i am brazilian.
Bye
Robson Del Angelo
 



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


UserDatabase implementations

2003-08-18 Thread Bill Schneider
Are there plans to have JDBC or JDNI/LDAP implementations of 
org.apache.catalina.UserDatabase?

This would be very useful, as webapps often have to perform actions 
beyond what J2EE APIs provide (get all users in group, get all groups, 
add users/groups/membership).  The advantages would be twofold: you 
would only have to configure your user store once in server.xml; and if 
you change between XML, JDBC or LDAP user stores at the server level, 
you don't have to touch your application-level configuration.

Or am I misreading the whole purpose of J2EE container authentication? 
Should J2EE authentication be reserved for server administration-level 
applications like the manager, and should we use a different system for 
application-level access and authentication altogether?

--
Bill Schneider
Software Architect
Vecna Technologies, Inc.
5004 Lehigh Road, Suite B
College Park, MD 20740
[EMAIL PROTECTED]
t: 301-864-7594
f: 301-699-3180


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


maxThreads

2003-08-18 Thread Geralyn M Hollerman
I am getting this message in my catalina.out file: "SEVERE: All threads
are busy, waiting. Please increase maxThreads or check the servlet
status500 500"; I have no idea why all threads would be busy and
waiting. 

In the standard distribution of Tomcat 4.1.24, the value of maxThreads
is 75; this number (in the  element would cause Tomcat to
"shut down" after a couple of hours on my moderately busy server. It was
suggested to me that I raise this value, but all it appears to have done
is delay the inevitable stopping of Tomcat once all the threads were
busy and waiting; but I thought that Tomcat recycled threads, no? What
are the threads waiting for to tell them to stop waiting? How can I get
them to "move on"?

Thanks!
-- 
Lynn Hollerman.

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



RE: I have a problem!!!

2003-08-18 Thread Hookom, Jacob
There are a couple of books out there from Macromedia on application
development with Flash MX.  Most of the integration that can occur with J2EE
is via RPC with SOAP/Web Services.  It's VERY new and so I would recommend
finding a book from Macromedia on it.

-Jacob

-Original Message-
From: Jean-Francois Arcand [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 9:01 AM
To: Tomcat Users List
Subject: Re: I have a problem!!!

Send an email to [EMAIL PROTECTED]

-- Jeanfrancois

RobDel wrote:

>Good morning,
>
>I need know if can use tomcat to inegration between Java e Flash using
Flash Remoting MX with JavaBean.
>Sorry by my english, but i am brazilian.
>
>Bye
>Robson Del Angelo
>
>  
>


-
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: UserDatabase implementations

2003-08-18 Thread Hookom, Jacob
The documentation on Tomcat's web site describes how to do this:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html

In my experience, the authentication provided here is very simple where the
only assumption is that there is a username (principal) and that username
has a list of roles defined as strings.

For application development, the user object has many more properties than
just a name and a set of roles.  Therefore, login operations are handled by
your own code.

-Jacob

-Original Message-
From: Bill Schneider [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 9:30 AM
To: [EMAIL PROTECTED]
Subject: UserDatabase implementations

Are there plans to have JDBC or JDNI/LDAP implementations of 
org.apache.catalina.UserDatabase?

This would be very useful, as webapps often have to perform actions 
beyond what J2EE APIs provide (get all users in group, get all groups, 
add users/groups/membership).  The advantages would be twofold: you 
would only have to configure your user store once in server.xml; and if 
you change between XML, JDBC or LDAP user stores at the server level, 
you don't have to touch your application-level configuration.

Or am I misreading the whole purpose of J2EE container authentication? 
Should J2EE authentication be reserved for server administration-level 
applications like the manager, and should we use a different system for 
application-level access and authentication altogether?

-- 
Bill Schneider
Software Architect

Vecna Technologies, Inc.
5004 Lehigh Road, Suite B
College Park, MD 20740
[EMAIL PROTECTED]
t: 301-864-7594
f: 301-699-3180



-
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: maxThreads

2003-08-18 Thread Halstead, Chris
The first thing you need is a thread dump of the Tomcat process at the time you are 
experiencing all threads busy.  You are 100% correct in your assumption that raising 
maxThreads will just delay the inevitable.  Once you have a thread dump you can 
investigate what section of code has all of your threads blocked.  Until then it's all 
just speculation...

-chris

> -Original Message-
> From: Geralyn M Hollerman [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 18, 2003 10:42 AM
> To: Tomcat Users List
> Subject: maxThreads
> 
> 
> I am getting this message in my catalina.out file: "SEVERE: 
> All threads
> are busy, waiting. Please increase maxThreads or check the servlet
> status500 500"; I have no idea why all threads would be busy and
> waiting. 
> 
> In the standard distribution of Tomcat 4.1.24, the value of maxThreads
> is 75; this number (in the  element would cause Tomcat to
> "shut down" after a couple of hours on my moderately busy 
> server. It was
> suggested to me that I raise this value, but all it appears 
> to have done
> is delay the inevitable stopping of Tomcat once all the threads were
> busy and waiting; but I thought that Tomcat recycled threads, no? What
> are the threads waiting for to tell them to stop waiting? How 
> can I get
> them to "move on"?
> 
> Thanks!
> -- 
> Lynn Hollerman.
> 
> -
> 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]



accessing jsp on tomcat

2003-08-18 Thread Viswanatha Rao
I have installed Tomcat 4.1. I configured the server.xml and added a
Context as follows:
 


 
I restarted Tomcat. I copied snoop.jsp from the examples dir in my
application directory c:\webdev
When I access it with http://localhost:8080/mycode/snoop.jsp I get
exception:
 
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac]
C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\snoop_
jsp.java:59: package util does not exist
[javac]  out.print(util.HTMLFilter.filter(request.getPathInfo())); 
[javac]^
[javac]
C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\snoop_
jsp.java:62: package util does not exist
[javac]
out.print(util.HTMLFilter.filter(request.getQueryString())); 
[javac]^
[javac]
C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\snoop_
jsp.java:92: package util does not exist
[javac]
out.print(util.HTMLFilter.filter(request.getHeader("User-Agent"))); 
[javac]^
[javac] 3 errors
 
 
Can anyone help?
 
 


Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread westj
I will be out of the office starting  08/18/2003 and will not return until
08/26/2003.




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



RE: accessing jsp on tomcat

2003-08-18 Thread Shapira, Yoav

Howdy,

>I have installed Tomcat 4.1. I configured the server.xml and added a
>Context as follows:
>
>isWARExpanded="true" isWARValidated="false"
>isInvokerEnabled="true"
>isWorkDirPersistent="false" debug="0"
>reloadable="true" >
>

Where did you get the idea the above attribute names mean anything?
Specifically the ones that start with "is" and the
defaultSessionTimeout?

>C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\snoop
_
>jsp.java:59: package util does not exist
>[javac]  out.print(util.HTMLFilter.filter(request.getPathInfo()));

Make sure you have this class (util.HTMLFilter) under WEB-INF/classes of
your context, or in a jar under WEB-INF/lib or your context, as
snoop.jsp requires this class.

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]



Re: maxThreads

2003-08-18 Thread Ben Ricker
Running against a database? Are you pooling the connections? We hit
maxthreads when either the DB is messed up (i.e., someone locks a table)
or before, when the programmers forgot to run socket_close() on the DB
connection, thereby returning it to the pool. 

HTH,

Ben Ricker

On Mon, 2003-08-18 at 09:42, Geralyn M Hollerman wrote:
> I am getting this message in my catalina.out file: "SEVERE: All threads
> are busy, waiting. Please increase maxThreads or check the servlet
> status500 500"; I have no idea why all threads would be busy and
> waiting. 
> 
> In the standard distribution of Tomcat 4.1.24, the value of maxThreads
> is 75; this number (in the  element would cause Tomcat to
> "shut down" after a couple of hours on my moderately busy server. It was
> suggested to me that I raise this value, but all it appears to have done
> is delay the inevitable stopping of Tomcat once all the threads were
> busy and waiting; but I thought that Tomcat recycled threads, no? What
> are the threads waiting for to tell them to stop waiting? How can I get
> them to "move on"?
> 
> Thanks!


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



Re: Session Security

2003-08-18 Thread G. Wade Johnson
I would avoid basing security on IP address, in addition to the spoofing
attack already mentioned, some proxy servers and cache engines replace
the source IP address when they pass the request to your server.

Under these circumstances, everyone seems to come from the same IP
address.

As recommended, a good book (or expert) on security is a requirement for
looking at these kinds of problems. There is almost always more to it
than you think.

G. Wade

Sjoerd van Leent wrote:
> 
> An easy workaround is to save the client IP-address in the session, and
> look each page if this IP-address is the address the client has. It's
> not waterproof, but it makes it far more difficult (ensure that a good
> router is available)
> 
> Sjoerd van Leent
> 
> -Original Message-
> From: Richard Dunn [mailto:[EMAIL PROTECTED]
> Sent: zondag 17 augustus 2003 21:02
> To: Tomcat Users List
> Subject: Re: Session Security
> 
> On Sunday 17 August 2003 12:44, Todd O'Bryan wrote:
> > Is there any block against someone stealing someone else's session id
> > and using it for nefarious purposes? In other words, if I write a
> grade
> > book program, could a sharp student write down the session id from a
> > web address (if cookies are off) or look in the teacher's cookie file,
> > and then go to a computer in the library and use the same session id
> to
> > connect to the grade book page before the teacher logs out?
> >
> > Does the session id check itself against the issuing computer's IP
> > address or anything to prevent such a thing from happening? I realize
> > it's a stretch that someone might leave their computer unattended long
> > enough for such a thing to happen, but I just want to be sure. Also,
> > could someone listening in to the net traffic grab the session id and
> > then use it?
> >
> > Thanks,
> > Todd
> 
> I am not a security expert, but if someone with my limited knowledge on
> security can use a tool like tcpdump and do some of what your saying
> (and I
> have), a nefarious type whose primary interest is doing this type of
> thing
> certainly can.
> 
> The number of possible exploits are endless, but for a start I would
> suggest
> using SSL to encrypt the login info and data going over the wire. There
> are
> things you can do programatically to check for the computer's IP, but
> this
> can also be spoofed by someone with even a little knowledge.
> 
> I would recommend getting a good book on security. There are things you
> can do
> at the system admin level to decrease the chance of a security breach,
> but
> you also have to put the right stuff in your programs. Holes on either
> one
> can negate the other.
> 
> -
> 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: War Development w/ JNDI Datasources

2003-08-18 Thread Jacob Kjome
You can always specify it in a separate context configuration file.  Keep 
the server.xml generic and put application specifics in context 
configuration files.

Jake

At 08:47 AM 8/18/2003 -0500, you wrote:
Hi All,

We are currently developing an application and using CVS to manage our
source code.  Our goal is to be able to pull down the project off of CVS and
with a single Ant target, get the application up and running on a local
install of Tomcat.
The problem that has risen is that our DataSources are specified in JNDI
(the server.xml in the {CATALINA_HOME}/conf) and is not something that we
can feasibly park in CVS.
Is there a way to get the DataSources specified without modifying the
server.xml? Or, should we be making an ANT target that loads a second
instance of tomcat using a project specific server.xml, much like what
Cactus describes?
Many Thanks,
Jacob
-
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: Session Security

2003-08-18 Thread G. Wade Johnson
In a previous life, I used a similar technique and was defeated when
the network guys put a cache engine in front of our servers. Then, all
requests came from the same IP address. This sort of thing can happen
based on other priorities in the organization and break your best
solutions.

The main thing with security is to determine who the threat is and how
difficult you want to make bypassing your security. In many cases, the
added expense (in time and money) is not worth the slim chance that
you are trying to eliminate. I don't know if that is the case for you,
but it's worth some review before trying to build a security system.

For the most bang for the buck, only allow access to the admin portions
through SSL. This encrypts the cookie along with the rest of the
request. The only thing you'd have left to worry about is physical
security of the system.

G. Wade

Sjoerd van Leent wrote:
> 
> Here is a question to do the same without cookies, so storing something
> in a cookie just won't work at al. I know that an IP address is not the
> best solution at all, but when you're using an internal network, it will
> work. I agree that using an IP address is by far not the best solution,
> but the odds are low...
> 
> Sjoerd
> 
> -Original Message-
> From: Mike Cherichetti (Renegade Internet)
> [mailto:[EMAIL PROTECTED]
> Sent: zondag 17 augustus 2003 22:29
> To: Tomcat Users List
> Subject: RE: Session Security
> 
> Todd,
> 
> Putting the IP address of the user in the session won't work too well.
> An
> AOL user for example may have a different IP address every time they
> send in
> a request.  And, it's  obviously possible for someone to spoof an IP
> address.
> 
> The best solution I've found to prevent sessions from being stolen is to
> use
> a one time access token.  The token, which I usually create by doing
> MD5(ip
> + timestamp + random #), gets stored in a cookie and in the session
> itself.
> So, say a user logs in, they get a token and when they come back with
> their
> next request they send in that token.  Your authentication logic checks
> the
> token in the cookie against the token in the session and handles
> accepting
> or denying the request.  When the response is processed, you give them a
> new
> token and continue this cycle for all requests to follow.
> 
> Now, lets say someone manages to steal the session.  That person is
> going to
> get a different token than the legitimate user that's logged in
> currently
> has.  So, when the legitimate user sends in their next request with a
> wrong
> token, you should catch that the session has been compromised and
> invalidate
> it immediately.  This will result in the malicious user being kicked
> out.
> 
> Still, this isn't a perfect solution because most users forget to
> logout.
> Using a low timeout value for the session is the only way I know of to
> deal
> with this scenario.  You could run your application under HTTPS instead
> of
> HTTP too if that's an option :)
> 
> Hope that helps,
> Mike
> 
> -Original Message-
> From: Todd O'Bryan [mailto:[EMAIL PROTECTED]
> Sent: Sunday, August 17, 2003 2:45 PM
> To: [EMAIL PROTECTED]
> Subject: Session Security
> 
> Is there any block against someone stealing someone else's session id
> and using it for nefarious purposes? In other words, if I write a grade
> book program, could a sharp student write down the session id from a
> web address (if cookies are off) or look in the teacher's cookie file,
> and then go to a computer in the library and use the same session id to
> connect to the grade book page before the teacher logs out?
> 
> Does the session id check itself against the issuing computer's IP
> address or anything to prevent such a thing from happening? I realize
> it's a stretch that someone might leave their computer unattended long
> enough for such a thing to happen, but I just want to be sure. Also,
> could someone listening in to the net traffic grab the session id and
> then use it?
> 
> Thanks,
> Todd
> 
> -
> 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]



[OT] free pure java sql database implementation with jdbc driver

2003-08-18 Thread Jens Skripczynski
hi,

i'm looking for a database with these features:
- works with j2se 1.3 and 1.4.x
- works both with linux and Windows 
(so os dependend libs are bad like with sqlite)
- can be used embeded 
(so no additional server setup)
- transactions would be great
- can be integrated in a tomcat application 
(which is hopefully easy if it is pure java).

I have found:
- Mckoi SQL (http://mckoi.com/database/index.html)
- hsqldb(http://hsqldb.sourceforge.net/) 
- sqlite(c++ with jdbc)

I tried to search the archive for more but did not get a usefull result.

questions:
- Has anyone got any experience with the databases above ?
  (stability, reliability, limitations)

- or uses another one ?

- What is the advantage of jdbc v.3.0 over 2.0  ?

Ciao

Jens Skripczynski
-- 
E-Mail: skripi-lists(at)myrealbox(dot)com

Ein Tag ohne Laecheln ist ein verlorener Tag.
-- Charlie Chaplin


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



RE: War Development w/ JNDI Datasources

2003-08-18 Thread Pitre, Russell
Which file is this?  I'd like to read up on it

"put application specifics in context configuration files."



Russ



-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 10:40 AM
To: Tomcat Users List
Subject: Re: War Development w/ JNDI Datasources



You can always specify it in a separate context configuration file.
Keep 
the server.xml generic and put application specifics in context 
configuration files.

Jake

At 08:47 AM 8/18/2003 -0500, you wrote:
>Hi All,
>
>We are currently developing an application and using CVS to manage our 
>source code.  Our goal is to be able to pull down the project off of 
>CVS and with a single Ant target, get the application up and running on

>a local install of Tomcat.
>
>The problem that has risen is that our DataSources are specified in 
>JNDI (the server.xml in the {CATALINA_HOME}/conf) and is not something 
>that we can feasibly park in CVS.
>
>Is there a way to get the DataSources specified without modifying the 
>server.xml? Or, should we be making an ANT target that loads a second 
>instance of tomcat using a project specific server.xml, much like what 
>Cactus describes?
>
>Many Thanks,
>Jacob
>
>-
>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]



Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread westj
I will be out of the office starting  08/18/2003 and will not return until
08/26/2003.




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



RE: War Development w/ JNDI Datasources

2003-08-18 Thread Shapira, Yoav

Howdy,
If you're packing a war, it's META-INF/context.xml.  Or you can put
.xml in $CATALINA_HOME/webapps as the manager and admin webapps
do.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Pitre, Russell [mailto:[EMAIL PROTECTED]
>Sent: Monday, August 18, 2003 12:47 PM
>To: Tomcat Users List
>Subject: RE: War Development w/ JNDI Datasources
>
>Which file is this?  I'd like to read up on it
>
>"put application specifics in context configuration files."
>
>
>
>Russ
>
>
>
>-Original Message-
>From: Jacob Kjome [mailto:[EMAIL PROTECTED]
>Sent: Monday, August 18, 2003 10:40 AM
>To: Tomcat Users List
>Subject: Re: War Development w/ JNDI Datasources
>
>
>
>You can always specify it in a separate context configuration file.
>Keep
>the server.xml generic and put application specifics in context
>configuration files.
>
>Jake
>
>At 08:47 AM 8/18/2003 -0500, you wrote:
>>Hi All,
>>
>>We are currently developing an application and using CVS to manage our
>>source code.  Our goal is to be able to pull down the project off of
>>CVS and with a single Ant target, get the application up and running
on
>
>>a local install of Tomcat.
>>
>>The problem that has risen is that our DataSources are specified in
>>JNDI (the server.xml in the {CATALINA_HOME}/conf) and is not something
>>that we can feasibly park in CVS.
>>
>>Is there a way to get the DataSources specified without modifying the
>>server.xml? Or, should we be making an ANT target that loads a second
>>instance of tomcat using a project specific server.xml, much like what
>>Cactus describes?
>>
>>Many Thanks,
>>Jacob
>>
>>-
>>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]




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]



Re: War Development w/ JNDI Datasources

2003-08-18 Thread John Turner
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html

Anything in  can go in a file outside server.xml, in 
the Host's appBase.  Tomcat will pick it up automatically.

You name the file app.xml, so if your webapp is myApp, you would put a 
file called myApp.xml in the Host's appBase, and the contents of that 
file would be the Context element.

The admin and manager Contexts/apps use this method, so every Tomcat 
install has an example.

John

Pitre, Russell wrote:
Which file is this?  I'd like to read up on it

"put application specifics in context configuration files."



Russ



-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 10:40 AM
To: Tomcat Users List
Subject: Re: War Development w/ JNDI Datasources



You can always specify it in a separate context configuration file.
Keep 
the server.xml generic and put application specifics in context 
configuration files.

Jake

At 08:47 AM 8/18/2003 -0500, you wrote:

Hi All,

We are currently developing an application and using CVS to manage our 
source code.  Our goal is to be able to pull down the project off of 
CVS and with a single Ant target, get the application up and running on


a local install of Tomcat.

The problem that has risen is that our DataSources are specified in 
JNDI (the server.xml in the {CATALINA_HOME}/conf) and is not something 
that we can feasibly park in CVS.

Is there a way to get the DataSources specified without modifying the 
server.xml? Or, should we be making an ANT target that loads a second 
instance of tomcat using a project specific server.xml, much like what 
Cactus describes?

Many Thanks,
Jacob
-
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]


Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread westj
I will be out of the office starting  08/18/2003 and will not return until
08/26/2003.




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



RE: [OT] free pure java sql database implementation with jdbc driver

2003-08-18 Thread Ralph Einfeldt
One free to add: 

http://www.simpledb.org/ (A spin off of instantdb)

As you didn't listed 'free/open source' in your requirements:

http://www.solidtech.com/products/products.html
http://www.pointbase.com/node.shtml?navHier=Products/PointBase+Embedded&CF=products/embedded.html
http://www-3.ibm.com/software/data/cloudscape/

Havn't woked with any of them lately. (Some tries with instandb 
and with cloudscape 2 years ago)

Most of the them didn't even meet our requirements in the paper.
So we didn't have to look if the papers have to do anything with 
reality. (This may have changed, as I didn't very close at those 
products the last year)

> -Original Message-
> From: Jens Skripczynski [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 18, 2003 6:27 PM
> To: Tomcat Users List
> Subject: [OT] free pure java sql database implementation with jdbc
> driver
> 
> - works with j2se 1.3 and 1.4.x
> - works both with linux and Windows 
> (so os dependend libs are bad like with sqlite)
> - can be used embeded 
> (so no additional server setup)
> - transactions would be great
> - can be integrated in a tomcat application 
> (which is hopefully easy if it is pure java).
> 
> I have found:
> - Mckoi SQL (http://mckoi.com/database/index.html)
> - hsqldb(http://hsqldb.sourceforge.net/) 
> - sqlite(c++ with jdbc)
> 

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



Should I use JK if I'm just using servlets?

2003-08-18 Thread Daniel

Hi,

Back in the days of Tomcat 3, it was recommended that for real-world applications we 
should use mod_jk and access Tomcat through Apache, because Apache is more robust, 
configurable, secure, etc.

Is this still necessary with Tomcat 4.1, if I am ONLY running a servlet on Tomcat 
(i.e. no static web content)? Will running Tomcat on top of Apache improve 
reliability, or protect me from hacker attacks, Tomcat security holes, etc.?

Thanks,
Daniel

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!

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



RE: War Development w/ JNDI Datasources

2003-08-18 Thread Pitre, Russell
Ah cool.didn't realize that.nicethats good to know.



Thanx Guys




-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 12:50 PM
To: Tomcat Users List
Subject: Re: War Development w/ JNDI Datasources



http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html

Anything in  can go in a file outside server.xml, in 
the Host's appBase.  Tomcat will pick it up automatically.

You name the file app.xml, so if your webapp is myApp, you would put a 
file called myApp.xml in the Host's appBase, and the contents of that 
file would be the Context element.

The admin and manager Contexts/apps use this method, so every Tomcat 
install has an example.

John

Pitre, Russell wrote:
> Which file is this?  I'd like to read up on it
> 
> "put application specifics in context configuration files."
> 
> 
> 
> Russ
> 
> 
> 
> -Original Message-
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 18, 2003 10:40 AM
> To: Tomcat Users List
> Subject: Re: War Development w/ JNDI Datasources
> 
> 
> 
> You can always specify it in a separate context configuration file. 
> Keep the server.xml generic and put application specifics in context
> configuration files.
> 
> Jake
> 
> At 08:47 AM 8/18/2003 -0500, you wrote:
> 
>>Hi All,
>>
>>We are currently developing an application and using CVS to manage our
>>source code.  Our goal is to be able to pull down the project off of 
>>CVS and with a single Ant target, get the application up and running
on
> 
> 
>>a local install of Tomcat.
>>
>>The problem that has risen is that our DataSources are specified in
>>JNDI (the server.xml in the {CATALINA_HOME}/conf) and is not something

>>that we can feasibly park in CVS.
>>
>>Is there a way to get the DataSources specified without modifying the
>>server.xml? Or, should we be making an ANT target that loads a second 
>>instance of tomcat using a project specific server.xml, much like what

>>Cactus describes?
>>
>>Many Thanks,
>>Jacob
>>
>>-
>>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: accessing jsp on tomcat

2003-08-18 Thread Viswanatha Rao
I run into errors when I access the request object from a jsp located in
a standalone application

org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac]
C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\hello_
jsp.java:10: cannot resolve symbol
[javac] symbol  : variable request 
[javac] location: class org.apache.jsp.hello_jsp
[javac]  String firstname = request.getParameter("firstname");
[javac] ^
[javac]
C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\hello_
jsp.java:11: cannot resolve symbol
[javac] symbol  : variable request 
[javac] location: class org.apache.jsp.hello_jsp
[javac] String lastname = request.getParameter("lastname"); 
[javac]   ^
[javac] 2 errors

It is as if it does not know the path to the HttpRequest object. How can
I set this path?

Thanks for your help.



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



RE: accessing jsp on tomcat

2003-08-18 Thread Shapira, Yoav

Howdy,
Post your JSP code.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Viswanatha Rao [mailto:[EMAIL PROTECTED]
>Sent: Monday, August 18, 2003 12:57 PM
>To: 'Tomcat Users List'
>Subject: RE: accessing jsp on tomcat
>
>I run into errors when I access the request object from a jsp located
in
>a standalone application
>
>org.apache.jasper.JasperException: Unable to compile class for JSP
>An error occurred at line: -1 in the jsp file: null
>Generated servlet error:
>[javac] Since fork is true, ignoring compiler setting.
>[javac] Compiling 1 source file
>[javac] Since fork is true, ignoring compiler setting.
>[javac]
>C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\hello
_
>jsp.java:10: cannot resolve symbol
>[javac] symbol  : variable request
>[javac] location: class org.apache.jsp.hello_jsp
>[javac]  String firstname = request.getParameter("firstname");
>[javac] ^
>[javac]
>C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\hello
_
>jsp.java:11: cannot resolve symbol
>[javac] symbol  : variable request
>[javac] location: class org.apache.jsp.hello_jsp
>[javac] String lastname = request.getParameter("lastname");
>[javac]   ^
>[javac] 2 errors
>
>It is as if it does not know the path to the HttpRequest object. How
can
>I set this path?
>
>Thanks for your help.
>
>
>
>-
>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]



Re: Should I use JK if I'm just using servlets?

2003-08-18 Thread John Turner
There is no magic silver bullet that can protect you.

Basically, if you take proper steps to secure your Tomcat installation, 
 Tomcat can handle your web application's load, and you don't need any 
of Apache's features, then you don't need Apache.

At the risk of self-promoting, you might want to check out the "Apache 
Tomcat Security Handbook" from Wrox Press.  Nothing is ever 100% secure, 
but it will take you pretty far.

John

Daniel wrote:

Hi,

Back in the days of Tomcat 3, it was recommended that for real-world applications we should use mod_jk and access Tomcat through Apache, because Apache is more robust, configurable, secure, etc.

Is this still necessary with Tomcat 4.1, if I am ONLY running a servlet on Tomcat (i.e. no static web content)? Will running Tomcat on top of Apache improve reliability, or protect me from hacker attacks, Tomcat security holes, etc.?

Thanks,
Daniel
___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
-
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: accessing jsp on tomcat

2003-08-18 Thread Viswanatha Rao
1. I access jsp as
http://localhost:8080/mycode/hello.jsp?firstname=viswa&lastname=rao

2. I have jsp code in my application c:\webdev\hello.jsp. 
In my server.xml file I have the context definition 
 

3. hello.jsp code is as follows:



Untitled Document
<%! String firstname = request.getParameter("firstname");
String lastname = request.getParameter("lastname"); %>
Welcome <%=firstname + " " + lastname%>




4. The errors generated are:

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac]
C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\hello_
jsp.java:10: cannot resolve symbol
[javac] symbol  : variable request 
[javac] location: class org.apache.jsp.hello_jsp
[javac]  String firstname = request.getParameter("firstname");
[javac] ^
[javac]
C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\hello_
jsp.java:11: cannot resolve symbol
[javac] symbol  : variable request 
[javac] location: class org.apache.jsp.hello_jsp
[javac] String lastname = request.getParameter("lastname"); 
[javac]   ^
[javac] 2 errors










-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 12:04 PM
To: Tomcat Users List
Subject: RE: accessing jsp on tomcat


Howdy,
Post your JSP code.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Viswanatha Rao [mailto:[EMAIL PROTECTED]
>Sent: Monday, August 18, 2003 12:57 PM
>To: 'Tomcat Users List'
>Subject: RE: accessing jsp on tomcat
>
>I run into errors when I access the request object from a jsp located
in
>a standalone application
>
>org.apache.jasper.JasperException: Unable to compile class for JSP
>An error occurred at line: -1 in the jsp file: null
>Generated servlet error:
>[javac] Since fork is true, ignoring compiler setting.
>[javac] Compiling 1 source file
>[javac] Since fork is true, ignoring compiler setting.
>[javac]
>C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\hello
_
>jsp.java:10: cannot resolve symbol
>[javac] symbol  : variable request
>[javac] location: class org.apache.jsp.hello_jsp
>[javac]  String firstname = request.getParameter("firstname");
>[javac] ^
>[javac]
>C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\hello
_
>jsp.java:11: cannot resolve symbol
>[javac] symbol  : variable request
>[javac] location: class org.apache.jsp.hello_jsp
>[javac] String lastname = request.getParameter("lastname");
>[javac]   ^
>[javac] 2 errors
>
>It is as if it does not know the path to the HttpRequest object. How
can
>I set this path?
>
>Thanks for your help.
>
>
>
>-
>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: [OT] free pure java sql database implementation with jdbc driver

2003-08-18 Thread Jean-Francois Arcand
I think pointbase has all what you want (that's the one shipped with 
J2EE 1.4 beta 2 sdk) and as far as I know, it's a pure java 
implemenation (but unfortunaly not open-source).

-- Jeanfrancois

Ralph Einfeldt wrote:

One free to add: 

http://www.simpledb.org/ (A spin off of instantdb)

As you didn't listed 'free/open source' in your requirements:

http://www.solidtech.com/products/products.html
http://www.pointbase.com/node.shtml?navHier=Products/PointBase+Embedded&CF=products/embedded.html
http://www-3.ibm.com/software/data/cloudscape/
Havn't woked with any of them lately. (Some tries with instandb 
and with cloudscape 2 years ago)

Most of the them didn't even meet our requirements in the paper.
So we didn't have to look if the papers have to do anything with 
reality. (This may have changed, as I didn't very close at those 
products the last year)

 

-Original Message-
From: Jens Skripczynski [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 6:27 PM
To: Tomcat Users List
Subject: [OT] free pure java sql database implementation with jdbc
driver
- works with j2se 1.3 and 1.4.x
- works both with linux and Windows 
   (so os dependend libs are bad like with sqlite)
- can be used embeded 
   (so no additional server setup)
- transactions would be great
- can be integrated in a tomcat application 
   (which is hopefully easy if it is pure java).

I have found:
- Mckoi SQL (http://mckoi.com/database/index.html)
- hsqldb(http://hsqldb.sourceforge.net/) 
- sqlite(c++ with jdbc)

   

-
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 MultiHosting problems

2003-08-18 Thread "Robert Zöhrer @ pronet.at"
8/18/2003 2:25 PM John Turner:
> appBase != docBase
> 
> Right now your Context is using the same value for its docBase as your 
> Host is using for its appBase.  Your docBase cannot be your appBase, not 
> to mention that your Context is using a path of "/webapps" which could 
> cause all sorts of weird problems.
> 
> Set appBase = /home/www/vhostxx/html/webapps but then set docBase = 
> "myApp" or something like that (it is automatically relative to the 
> appBase).

Thanks 4 answer John

We don't use appBase = docBasethe and the term "webapps" as path- or
dir-name any longer .. but another mistake was definititly the
ownership of the appBase-dir .. the user "tomcat4" was not in the same
group as the owner of appBase.

drwxr-xr-x3 web10ftponly  4096 Aug 18 15:08 appbase_dir

Now the user "tomcat" is in ftponly group too .. and "he" got the dir now.

But now I've some very hard troubles with a test.jsp file, which works
in one host, but in 3 others (with exactly the same seetings) it
doesn't :( .. and I've no idea, why :(

test.jsp:

<% for (int i=0; i < 10; i++) { %>
zeile <%= i %> 
<% } %>


At http://webteam.at:8080/tomcat/test.jsp it works

docBase:

drwxr-xr-x2 web156   ftponly  4096 Aug 18 16:09 tomcat

and the file:

-rwxrwxrwx1 web156   ftponly64 Aug 16 18:32 test.jsp

but at

http://pronet.at:8080/tomcat/test.jsp  I get an error, as seen in the
browser

docBase in this case .. same permissions:

drwxr-xr-x2 web10ftponly  4096 Aug 18 18:37 tomcat

File:

-rwxrwxrwx1 web10ftponly64 Aug 18 16:01 test.jsp

There is another host I've tried with different directory names .. but
allways the same error:

AppBase: /home/www/web200/html/servlet

docBase: myapp

http://eko-immobilien.at:8080/myapp/test.jsp

I can't see any differences between all these hosts and context
settings .. but the jsp only works with
http://webteam.at:8080/tomcat/test.jsp.

Another "crazy" thing: At the admin panel I can see further hosts and
contexts, which are NOT in the actual server.xml .. and if I want to
delete them, I get an error.

I'm very despairing  .. so if anybody could help me ..

Many, many Thanks
Robert


server.xml:



  
  
  




  
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
  
  
pathname
conf/tomcat-users.xml
  


  
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
  
  
pathname
conf/tomcat-users2.xml
  

  
  

  


  


  



  
  

  


  
  
  
  
  
  
  
  
  
  

  password
  


  url
  jdbc:HypersonicSQL:database


  driverClassName
  org.hsql.jdbcDriver


  username
  sa

  
  

  mail.smtp.host
  localhost

  
  


  


  
  


  
  



  
  
  

  






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



Re:maxThreads

2003-08-18 Thread Geralyn M Hollerman
Halstead, Chris wrote:

> The first thing you need is a thread dump of the Tomcat process at the time you are 
> experiencing > all threads busy.  You are 100% correct in your assumption that 
> raising maxThreads will just  > delay the inevitable.  Once you have a thread 
> dump you can investigate what section of code has  > all of your threads blocked.  
> Until then it's all just speculation...

Thank you! I'll try that! I did that once before, when I was testing
things..."kill -3 " was it? (I'm on a Solaris box) I *hope* I wrote
that down!

-- 
Lynn Hollerman.

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



Re: Tomcat MultiHosting problems

2003-08-18 Thread John Turner
Have you used separate appBases for each host?

What are the error messages?

What are the log contents when the URL does not work?

John

Robert Zöhrer @ pronet.at wrote:

8/18/2003 2:25 PM John Turner:

appBase != docBase

Right now your Context is using the same value for its docBase as your 
Host is using for its appBase.  Your docBase cannot be your appBase, not 
to mention that your Context is using a path of "/webapps" which could 
cause all sorts of weird problems.

Set appBase = /home/www/vhostxx/html/webapps but then set docBase = 
"myApp" or something like that (it is automatically relative to the 
appBase).


Thanks 4 answer John

We don't use appBase = docBasethe and the term "webapps" as path- or
dir-name any longer .. but another mistake was definititly the
ownership of the appBase-dir .. the user "tomcat4" was not in the same
group as the owner of appBase.
drwxr-xr-x3 web10ftponly  4096 Aug 18 15:08 appbase_dir

Now the user "tomcat" is in ftponly group too .. and "he" got the dir now.

But now I've some very hard troubles with a test.jsp file, which works
in one host, but in 3 others (with exactly the same seetings) it
doesn't :( .. and I've no idea, why :(
test.jsp:

<% for (int i=0; i < 10; i++) { %>
zeile <%= i %> 
<% } %>

At http://webteam.at:8080/tomcat/test.jsp it works

docBase:

drwxr-xr-x2 web156   ftponly  4096 Aug 18 16:09 tomcat

and the file:

-rwxrwxrwx1 web156   ftponly64 Aug 16 18:32 test.jsp

but at

http://pronet.at:8080/tomcat/test.jsp  I get an error, as seen in the
browser
docBase in this case .. same permissions:

drwxr-xr-x2 web10ftponly  4096 Aug 18 18:37 tomcat

File:

-rwxrwxrwx1 web10ftponly64 Aug 18 16:01 test.jsp

There is another host I've tried with different directory names .. but
allways the same error:
AppBase: /home/www/web200/html/servlet

docBase: myapp

http://eko-immobilien.at:8080/myapp/test.jsp

I can't see any differences between all these hosts and context
settings .. but the jsp only works with
http://webteam.at:8080/tomcat/test.jsp.
Another "crazy" thing: At the admin panel I can see further hosts and
contexts, which are NOT in the actual server.xml .. and if I want to
delete them, I get an error.
I'm very despairing  .. so if anybody could help me ..

Many, many Thanks
Robert


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


Re: maxThreads

2003-08-18 Thread Geralyn M Hollerman
Ben Ricker wrote:
 
> Running against a database? Are you pooling the connections? We hit
> maxthreads when either the DB is messed up (i.e., someone locks a table)
> or before, when the programmers forgot to run socket_close() on the DB
> connection, thereby returning it to the pool.

Why, yes I am going against a database - we could never get Tomcat
connection pooling working right with it, so we went with just internal
(Ingres db) connection pooling. I don't know a whole lot about that, as
that's not the primary app I work on - it's kind of been just "there",
if you know what I mean, but now that you mention it, I think someone
might be able to lock a table - I'll have to look into that. Forgive me
for showing my ignorance, but is socket_close() a Java routine? I don't
think I've seen that before - we probably call it something different.
Is it anything like invalidating a session?

-- 
Lynn Hollerman.

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



Re: accessing jsp on tomcat

2003-08-18 Thread Jon Wingfield
That '!' in your code is very important. Remove it. Read Section 
JSP.2.11 of the JSP spec to see why you need to remove it ;)

HTH,

Jon

Viswanatha Rao wrote:

1. I access jsp as
http://localhost:8080/mycode/hello.jsp?firstname=viswa&lastname=rao
2. I have jsp code in my application c:\webdev\hello.jsp. 
In my server.xml file I have the context definition 





3. hello.jsp code is as follows:



Untitled Document
<%! String firstname = request.getParameter("firstname");
String lastname = request.getParameter("lastname"); %>
Welcome <%=firstname + " " + lastname%>


4. The errors generated are:

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac]
C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\hello_
jsp.java:10: cannot resolve symbol
[javac] symbol  : variable request 
[javac] location: class org.apache.jsp.hello_jsp
[javac]  String firstname = request.getParameter("firstname");
[javac] ^
[javac]
C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\hello_
jsp.java:11: cannot resolve symbol
[javac] symbol  : variable request 
[javac] location: class org.apache.jsp.hello_jsp
[javac] String lastname = request.getParameter("lastname"); 
[javac]   ^
[javac] 2 errors









-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 12:04 PM
To: Tomcat Users List
Subject: RE: accessing jsp on tomcat

Howdy,
Post your JSP code.
Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Viswanatha Rao [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 12:57 PM
To: 'Tomcat Users List'
Subject: RE: accessing jsp on tomcat
I run into errors when I access the request object from a jsp located
in

a standalone application

org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
  [javac] Since fork is true, ignoring compiler setting.
  [javac] Compiling 1 source file
  [javac] Since fork is true, ignoring compiler setting.
  [javac]
C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\hello
_

jsp.java:10: cannot resolve symbol
  [javac] symbol  : variable request
  [javac] location: class org.apache.jsp.hello_jsp
  [javac]  String firstname = request.getParameter("firstname");
  [javac] ^
  [javac]
C:\jakarta\jakarta-tomcat-4.1.24\work\Standalone\localhost\mycode\hello
_

jsp.java:11: cannot resolve symbol
  [javac] symbol  : variable request
  [javac] location: class org.apache.jsp.hello_jsp
  [javac] String lastname = request.getParameter("lastname");
  [javac]   ^
  [javac] 2 errors
It is as if it does not know the path to the HttpRequest object. How
can

I set this path?

Thanks for your help.



-
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]


JSP Compilation failure

2003-08-18 Thread Reinhold Gruber
Hi!

In my configuration (Win 200K, jdk1.4.1_03, Tomcat 4.1.24) Tomcat is not able to 
compile Java-Source code generated from JSPs, if
The path to the source-files contains whitespaces like "Program Files". How can I 
solve this!

Thanks in advance
Reinhold

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



RE: JSP Compilation failure

2003-08-18 Thread Mike Curwen
Wherever you define CATALINA_HOME and JAVA_HOME , enclose the paths in
double quotes.
 
Or, install Tomcat in a path with no long file names (spaces).

> -Original Message-
> From: Reinhold Gruber [mailto:[EMAIL PROTECTED] 
> Sent: Monday, August 18, 2003 12:55 PM
> To: [EMAIL PROTECTED]
> Subject: JSP Compilation failure
> 
> 
> Hi!
> 
> In my configuration (Win 200K, jdk1.4.1_03, Tomcat 4.1.24) 
> Tomcat is not able to compile Java-Source code generated from 
> JSPs, if The path to the source-files contains whitespaces 
> like "Program Files". How can I solve this!
> 
> Thanks in advance
> Reinhold
> 
> -
> 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 MultiHosting problems

2003-08-18 Thread "Robert Zöhrer @ pronet.at"
Am 8/18/2003 7:48 PM meinte John Turner folgendes:
> Have you used separate appBases for each host?

yes .. separate appBases, docBases .. but the same settings, the same
TC instance

> 
> What are the error messages?

at website and logfile the same message:

HTTP Status 500

javax.servlet.ServletException: org/apache/jasper/runtime/HttpJspBase
at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown
Source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown
Source)
at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown
Source)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown
Source)
at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:534)


root cause

java.lang.NoClassDefFoundError: org/apache/jasper/runtime/HttpJspBase
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.lang.ClassLoader.defineClass(ClassLoader.java:448)
at org.apache.jasper.servlet.JasperLoader.loadClass(Unknown Source)
at org.apache.jasper.servlet.JasperLoader.loadClass(Unknown Source)
at org.apache.jasper.JspCompilationContext.load(Unknown Source)
at org.apache.jasper.servlet.JspServletWrapper.getServlet(Unknown Source)
at org.apache.jasper.compiler.Compiler.isOutDated(Unknown Source)
at org.apache.jasper.compiler.Compiler.isOutDated(Unknown Source)
at org.apache.jasper.JspCompilationContext.compile(Unknown Source)
at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown
Source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown
Source)
at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContext.invoke(U

Re: maxThreads

2003-08-18 Thread Ben Ricker
On Mon, 2003-08-18 at 12:50, Geralyn M Hollerman wrote:
> Ben Ricker wrote:
>  
> > Running against a database? Are you pooling the connections? We hit
> > maxthreads when either the DB is messed up (i.e., someone locks a table)
> > or before, when the programmers forgot to run socket_close() on the DB
> > connection, thereby returning it to the pool.
> 
> Why, yes I am going against a database - we could never get Tomcat
> connection pooling working right with it, so we went with just internal
> (Ingres db) connection pooling. I don't know a whole lot about that, as
> that's not the primary app I work on - it's kind of been just "there",
> if you know what I mean, but now that you mention it, I think someone
> might be able to lock a table - I'll have to look into that. Forgive me
> for showing my ignorance, but is socket_close() a Java routine? I don't
> think I've seen that before - we probably call it something different.
> Is it anything like invalidating a session?

socket_close() is a Unix system call...just a bit of jargon on the admin
side. I myself am not a programmer, so I do not know what the exact
method in Java is. 

An easy way to figure out if it is database connections not being closed
is to check the connections from the Tomcat server to the database (if
you are admin) or, if you have the access, check the jdbc (or odbc)
connections used on the database. There should not be more then 10; we
run a DB pool of 10 to handle roughly 100k hits per day. We run an
almost 100% dynamic site and those 10 connections handle the load
admirably. If the number of DB connections grows, we know that either
our load has grown all of a sudden or there is a DB issue. 98% of the
time, it is a DB issue. We have gotten rid of the socket closure issue
as the developers jobs were on the line after they audited the socket
closures that caused a few production outages.

HTH,

Ben Ricker 


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



RE: JSP Compilation failure

2003-08-18 Thread Reinhold Gruber
I enclosed CATALINA_HOME and JAVA_HOME with double quotes. Did not help. I think the 
problem is
That docBase must not contain whitespaces. But I have no choice. I'm using Eclipse 
with the Sysdeo Tomcat-plugin
And the Project-Name contains whitespaces (and no way to change this). But it worked 
with tomcat 3.2.3 and Tomcat 4.0
Maybe Ant is the reason because tomcat 4.1.24 is using it for compilation.


 -Original Message-
From:   Mike Curwen [mailto:[EMAIL PROTECTED] 
Sent:   Monday, August 18, 2003 20:01
To: 'Tomcat Users List'
Subject:RE: JSP Compilation failure

Wherever you define CATALINA_HOME and JAVA_HOME , enclose the paths in
double quotes.
 
Or, install Tomcat in a path with no long file names (spaces).

> -Original Message-
> From: Reinhold Gruber [mailto:[EMAIL PROTECTED] 
> Sent: Monday, August 18, 2003 12:55 PM
> To: [EMAIL PROTECTED]
> Subject: JSP Compilation failure
> 
> 
> Hi!
> 
> In my configuration (Win 200K, jdk1.4.1_03, Tomcat 4.1.24) 
> Tomcat is not able to compile Java-Source code generated from 
> JSPs, if The path to the source-files contains whitespaces 
> like "Program Files". How can I solve this!
> 
> Thanks in advance
> Reinhold
> 
> -
> 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: maxThreads

2003-08-18 Thread Halstead, Chris
Yes, on Solaris it's 'kill -3 '.  The thread dump will go to wherever you have 
redirected stdout, catalina.out by default I believe.

-chris


> -Original Message-
> From: Geralyn M Hollerman [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 18, 2003 1:44 PM
> To: [EMAIL PROTECTED]
> Subject: Re:maxThreads
> 
> 
> Halstead, Chris wrote:
> 
> > The first thing you need is a thread dump of the Tomcat 
> process at the time you are experiencing > all threads busy.  
> You are 100% correct in your assumption that raising 
> maxThreads will just  > delay the inevitable.  Once you 
> have a thread dump you can investigate what section of code 
> has  > all of your threads blocked.  Until then it's all just 
> speculation...
> 
> Thank you! I'll try that! I did that once before, when I was testing
> things..."kill -3 " was it? (I'm on a Solaris box) I 
> *hope* I wrote
> that down!
> 
> -- 
> Lynn Hollerman.
> 
> -
> 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]



JSP 2.0 XML Syntax Problem

2003-08-18 Thread Sjoerd van Leent
I am using the JSP 1.2 XML Syntax with the following page:



http://java.sun.com/JSP/Page";
  xmlns:c="http://java.sun.com/jstl/core_rt";
  version="1.2">






http://www.w3.org/1999/xhtml"; xml:lang="en"
lang="en">

Test2




${counter}








Doing this I get the following Tomcat/SAX error:

java.lang.NullPointerException

org.apache.jasper.compiler.PageInfo.popPrefixMapping(PageInfo.java:339)

org.apache.jasper.compiler.JspDocumentParser.endPrefixMapping(JspDocumen
tParser.java:574)

org.apache.xerces.parsers.AbstractSAXParser.endNamespaceMapping(Unknown
Source)
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)

org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(Unknown
Source)
org.apache.xerces.impl.XMLNamespaceBinder.endElement(Unknown
Source)

org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk
nown Source)

org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)

org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
javax.xml.parsers.SAXParser.parse(Unknown Source)

org.apache.jasper.compiler.JspDocumentParser.parse(JspDocumentParser.jav
a:195)

org.apache.jasper.compiler.ParserController.parse(ParserController.java:
223)

org.apache.jasper.compiler.ParserController.parse(ParserController.java:
146)

org.apache.jasper.compiler.ParserController.parse(ParserController.java:
132)

org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:245)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:555)

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

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

I need to use the core library, web.xml is filled correctly, I have
tested it with a old JSP syntax version. I think the problem is in the
xmlns:c="...", however, this should be good according to the JSP 1.2 XML
Syntax reference, so what am I doing wrong?

Please help,
Sjoerd van Leent



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



Re: Trouble with Apache 1.3.28/Tomcat 4.124/mod_jk 1.24

2003-08-18 Thread Henry Kwan
Hi Cris,

Thanks.  Between your and John's tips (thanks John!), I seem to have resolve 
the config problems.  It looks like it's up and running now.

One last question.  I seem to be getting a lot of these messages in the 
log.  Is it anything to worry about?  Do I have the JkAutoAlias command in 
the wrong place?

Thanks again.

---snip---

[Mon Aug 18 11:50:01 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Mon Aug 18 11:50:01 2003]  [jk_uri_worker_map.c (477)]: Attempting to map 
URI '/index.html'
[Mon Aug 18 11:50:01 2003]  [jk_uri_worker_map.c (599)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Mon Aug 18 11:50:01 2003]  [mod_jk.c (1846)]: mod_jk::jk_translate, check 
alias_dir: /opt/tomcat/jakarta-tomcat/webapps
[Mon Aug 18 11:50:01 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Mon Aug 18 11:50:01 2003]  [jk_uri_worker_map.c (477)]: Attempting to map 
URI '/index.html'
[Mon Aug 18 11:50:01 2003]  [jk_uri_worker_map.c (599)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Mon Aug 18 11:50:01 2003]  [mod_jk.c (1846)]: mod_jk::jk_translate, check 
alias_dir: /opt/tomcat/jakarta-tomcat/webapps


> 
> Sorry, I forgot to mention in my first post:
> 
>JkMount /*.jsp ajp13
>JkMount /*/servlet/ ajp13
>JkMount /examples ajp13
>JkMount /examples/* ajp13
> 
> Where you have ajp13, mod_jk is expecting the name of the worker - in
> this case testWorker. Try:
> 
>JkMount /*.jsp testWorker
>JkMount /*/servlet/ testWorker
>JkMount /examples testWorker
>JkMount /examples/* testWorker
> 
> Cris
> 
> -Original Message-
> From: Henry Kwan [mailto:[EMAIL PROTECTED] 
> Sent: Friday, August 15, 2003 6:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Trouble with Apache 1.3.28/Tomcat 4.124/mod_jk 1.24
> 
> 
> > 
> > Notice the  shortly thereafter.
> > 
> > That's a comment, so you have that Ajp13Connector commented out at the
> 
> > moment :)
> > 
> > Try removing the  from around the Connector tag and 
> > restart Jakarta.
> > 
> 
> Hi.  Thanks for pointing that out.  I didn't notice that before.  I
> removed 
> that comment and commented out the CoyoteConnector entry.
> 
> Unfortunately, the error message seems to be the same:
> 
> [Fri Aug 15 14:57:45 2003]  [jk_uri_worker_map.c (477)]: Attempting to
> map 
> URI '/examples/jsp/index.html'
> [Fri Aug 15 14:57:45 2003]  [jk_uri_worker_map.c (502)]: 
> jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -> 
> /examples/
> [Fri Aug 15 14:57:45 2003]  [jk_worker.c (132)]: Into
> wc_get_worker_for_name 
> ajp13
> [Fri Aug 15 14:57:45 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
> 
> done did not found a worker
> 
> There is something listening at 8009 (since I can telnet to it) and I 
> noticed this entry earlier in the log:
> 
> [Fri Aug 15 14:57:35 2003]  [jk_worker.c (88)]: Into wc_open [Fri Aug 15
> 14:57:35 2003]  [jk_worker.c (222)]: Into build_worker_map, 
> creating 1 workers
> [Fri Aug 15 14:57:35 2003]  [jk_worker.c (228)]: build_worker_map,
> creating 
> worker testWorker
> [Fri Aug 15 14:57:35 2003]  [jk_worker.c (148)]: Into wc_create_worker
> [Fri Aug 15 14:57:35 2003]  [jk_worker.c (162)]: wc_create_worker, about
> to 
> create instance testWorker of ajp13
> [Fri Aug 15 14:57:35 2003]  [jk_ajp13_worker.c (108)]: Into 
> ajp13_worker_factory
> [Fri Aug 15 14:57:35 2003]  [jk_worker.c (171)]: wc_create_worker, about
> to 
> validate and init testWorker
> [Fri Aug 15 14:57:35 2003]  [jk_ajp_common.c (1343)]: Into 
> jk_worker_t::validate
> [Fri Aug 15 14:57:35 2003]  [jk_ajp_common.c (1364)]: In 
> jk_worker_t::validate for worker testWorker contact is localhost:8009
> [Fri Aug 15 14:57:35 2003]  [jk_ajp_common.c (1397)]: Into
> jk_worker_t::init [Fri Aug 15 14:57:35 2003]  [jk_ajp_common.c (1421)]:
> In jk_worker_t::init, 
> setting socket timeout to 0
> [Fri Aug 15 14:57:35 2003]  [jk_worker.c (187)]: wc_create_worker, done
> [Fri Aug 15 14:57:35 2003]  [jk_worker.c (238)]: build_worker_map,
> removing 
> old testWorker worker 
> [Fri Aug 15 14:57:35 2003]  [jk_worker.c (250)]: build_worker_map, done
> [Fri Aug 15 14:57:35 2003]  [jk_worker.c (111)]: wc_open, done 1
> 
> 
> -
> 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]



Admin Application wont start on Tomcat 4.1.24 w/ JDK 1.4.1_03

2003-08-18 Thread David Kramer
I just compiled Tomcat from source and was able to get everything working
except the Admin application.  I found the following error posted on the net
and attempted the response(added ApplicationResource.properties to my
WEB-INF/classes dir), but it still had not affect.  I even tried removing
the   entry in my header.jsp and still no luck.  Any one have
any idea whats going on?

org.apache.jasper.JasperException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
54)
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(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:551)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
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.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
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:594)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:392)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:619)
at java.lang.Thread.run(Thread.java:536)
root cause 
javax.servlet.ServletException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:533)
at org.apache.jsp.login_jsp._jspService(login_jsp.java:192)
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.java:2
10)
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(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:

Re: Admin Application wont start on Tomcat 4.1.24 w/ JDK 1.4.1_03

2003-08-18 Thread VijayaLakshmi Seshadri
Hai
I have installed Tomcat 4.0.1 in my machine and i have
Apache 2.0
Now when iam trying to integrate the both 
by downloading mod_webapp.so ,apache is not starting 
It gives following error
undefined symbol -as_pstrdup

can kindly anybody help me figuring out the problem
viji
 --- David Kramer <[EMAIL PROTECTED]> wrote: > I
just compiled Tomcat from source and was able to
> get everything working
> except the Admin application.  I found the following
> error posted on the net
> and attempted the response(added
> ApplicationResource.properties to my
> WEB-INF/classes dir), but it still had not affect. 
> I even tried removing
> the   entry in my header.jsp and
> still no luck.  Any one have
> any idea whats going on?
> 
> org.apache.jasper.JasperException: Cannot find
> message resources under key
> org.apache.struts.action.MESSAGE
>   at
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
> 54)
>   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(Application
> FilterChain.java:247)
>   at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)
>   at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:256)
>   at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
>   at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>   at
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:191)
>   at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
>   at
>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
> .java:551)
>   at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
>   at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>   at
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
>   at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
> )
>   at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
>   at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
> java:171)
>   at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
>   at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
> )
>   at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
>   at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>   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.invok
> eNext(StandardPipeline.java:643)
>   at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>   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:594)
>   at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:392)
>   at
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
>   at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:619)
>   at java.lang.Thread.run(Thread.java:536)
> root cause 
> javax.servlet.ServletException: Cannot find message
> resources under key
> org.apache.struts.action.MESSAGE
>   at
>
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
> l.java:533)
>   at
>
org.apache.jsp.login_jsp._jspService(login_jsp.java:192)
>   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.java:2
> 10)
>   at
>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
>   at
>
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>   at

RE: Admin Application wont start on Tomcat 4.1.24 w/ JDK 1.4.1_03

2003-08-18 Thread David Kramer
Im not really sure why you replied to my posting with an issue.  But I
recommend re-submitting your error to the list with its own subject title.

Thanks,

DK

> -Original Message-
> From: VijayaLakshmi Seshadri [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 18, 2003 12:09 PM
> To: Tomcat Users List
> Subject: Re: Admin Application wont start on Tomcat 4.1.24 w/ JDK
> 1.4.1_03
> 
> 
> Hai
> I have installed Tomcat 4.0.1 in my machine and i have
> Apache 2.0
> Now when iam trying to integrate the both 
> by downloading mod_webapp.so ,apache is not starting 
> It gives following error
> undefined symbol -as_pstrdup
> 
> can kindly anybody help me figuring out the problem
> viji
>  --- David Kramer <[EMAIL PROTECTED]> wrote: > I
> just compiled Tomcat from source and was able to
> > get everything working
> > except the Admin application.  I found the following
> > error posted on the net
> > and attempted the response(added
> > ApplicationResource.properties to my
> > WEB-INF/classes dir), but it still had not affect. 
> > I even tried removing
> > the   entry in my header.jsp and
> > still no luck.  Any one have
> > any idea whats going on?
> > 
> > org.apache.jasper.JasperException: Cannot find
> > message resources under key
> > org.apache.struts.action.MESSAGE
> > at
> >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> Wrapper.java:2
> > 54)
> > 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.internalDoFilt
> er(Application
> > FilterChain.java:247)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterCh
> > ain.java:193)
> > at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.ja
> > va:256)
> > at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:643)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
> > at
> >
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.ja
> > va:191)
> > at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:643)
> > at
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Aut
> henticatorBase
> > .java:551)
> > at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:641)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
> > at
> >
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> >
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2415)
> > at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180
> > )
> > at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:643)
> > at
> >
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.
> > java:171)
> > at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:641)
> > at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:172
> > )
> > at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:641)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
> > at
> >
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java
> > :174)
> > at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:643)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
> > 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(Http11Process
> or.java:594)
> > at
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> r.processConne
> > ction(Http11Protocol.java:392)
> > at
> >
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:565)
> > at
> >
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.jav
> > a:619)
> > at java.lang.Thread.run(Thread.java:536)
> > root cause 
> >

Problem with context.xml and deploying

2003-08-18 Thread Allan Schweitz
Hi,

I have currently written an application which I deploy using the manager
app. I have split up the server.xml into an application specific
context.xml file and a more generic server.xml file. In the server.xml I
have specified a connector for https (SSL) and in there I have specified
some properties of which one is the keystorePass property. When I deploy
my application Tomcat rewrites the server.xml but forgets to rewrite the
keystorePass property. As a result tomcat fails to start again when I
try to restart it and I have to overwrite the rewritten server.xml every
time I restart Tomcat.

To me this looks and sounds like a bug, but I might have missed
something. Can anyone help me out here?

Thanks in advance,

Allan


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



jsp accessing bean errors - need help

2003-08-18 Thread Viswanatha Rao
I have a login.jsp that dumps user input into hello1.jsp
 
hello1.jsp performs a useBean and does set and get properties on a Bean
LoginBean. The LoginBean is compiled and located in
WEB-INF/classes/login dir. 
 
Hello1.jsp contents are:
 

<%@ page session="false"%>



Welcome: 


 
I get following errors:
server encountered an internal error () that prevented it from
fulfilling this request.
exception 
org.apache.jasper.JasperException: login.LoginBean
at
org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.jav
a:183)
at
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.jav
a:692)
at
org.apache.jasper.compiler.Node$GetProperty.accept(Node.java:552)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028)
at
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:1070)
at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:1076)
at org.apache.jasper.compiler.Node$Root.accept(Node.java:232)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028)
at
org.apache.jasper.compiler.Generator.generate(Generator.java:1917)
at
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:242)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:473)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:190)
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 
java.lang.ClassNotFoundException: login.LoginBean
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1443)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1289)
at
org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.jav
a:181)
at
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.jav
a:692)
at
org.apache.jasper.compiler.Node$GetProp

Problem in intergrating Tomcat and Apache

2003-08-18 Thread VijayaLakshmi Seshadri
Hai
I have installed Tomcat 4.0.1 in my machine and i have
Apache 2.0.Now when iam trying to integrate the both 
by downloading mod_webapp.so ,apache is not starting 
It gives following error
"undefined symbol -as_pstrdup"

can kindly anybody help me figuring out the problem
viji
 


Yahoo! India Promos: Win TVs, Bikes, DVD players & more!
Go to http://in.promos.yahoo.com

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



maxProcessors problem

2003-08-18 Thread Mike Cherichetti \(Renegade Internet\)
First off, I'm using RedHat Linux 7.3, IBM JDK 1.4.1, and Tomcat 4.1.24 on
an IBM xSeries with Dual Xeon 2 GHz processors, 2 GB RAM, and SCSI disks.
I'm trying to get Tomcat to handle a lot of traffic (4-5 million hits per
day) and bumping up against a problem I for life of me can't figure out.
So, I'm hoping someone else on this list has run into this problem and can
help me out!

Basically, I can't set maxProcessors higher than 384.  If I do, Tomcat ends
up choking (it doesn't crash, it just stops creating more request
processors) and I get the following in catalina.out:

Aug 18, 2003 5:05:02 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 80
Aug 18, 2003 5:05:05 AM
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
SEVERE: Caught exception executing
[EMAIL PROTECTED], terminating thread
java.lang.OutOfMemoryError: JVMCI015:OutOfMemoryError, cannot create anymore
threads due to memory or resource constraints
at java.lang.Thread.start(Native Method)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.(ThreadPool.
java:582)
at
org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:460)
at
org.apache.tomcat.util.threads.ThreadPool.runIt(ThreadPool.java:293)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:536)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:619)
at java.lang.Thread.run(Thread.java:568)

Now, I know that the JVM has plenty of memory left that it can be allocated
and the system has plenty of free memory, so I'm not sure it's really a
memory issue.  As I said, Tomcat still runs and the memory allocated to the
JVM increases, it just doesn't have nearly enough request processors created
at the point this error happens to deal with all of the traffic.  I've tried
playing around with ulimit settings, but those didn't have any impact.  I've
also tried the Sun JVM and it did the same thing.

Has anyone run into this problem or something like it before?

Any help would be greatly appreciated!

Thanks,
Mike




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



writing to catalina.log

2003-08-18 Thread achana
Hi, all.
Currently, our output to catalina.log is programmatically controlled,
when we want to change the logged events and content, we have to modify
the java code and javac it again.
Is there anyway to work around this, not having to recompile?
TIA :-)

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



Jasper2: Can't load class for custom tag library

2003-08-18 Thread Jason Axtell
Hi folks,

I have a web app that deploys and runs just fine under Tomcat 4.1.x with
JSPs being compiled on-the-fly. Now, I'm trying to precompile my JSPs using
jasper2 in Ant. I added a jspc target to my build.xml based on the example
at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html.
Unfortunately, each time I run Ant, I'm getting the following error message:

 [jasper2] Error in class org.apache.jasper.JspC
 [jasper2] BUILD FAILED: file:C:/java/MeSA2/build.xml:306:
org.apache.jasper.JasperException: /applicantMstp.jsp(32,0)
/applicantInfo.jspf(21,1) Unable to load class cityStateCountry

cityStateCountry is the name of one of my custom JSP tags.
applicantInfo.jspf is a file statically included in applicantMstp.jsp. 

Here's the relevant portion of build.xml:

 

   


   
 
   

   
 
   


   
 
   


   
 
   
 

   

 

 


 




   

Here's a snippet of applicantInfo.jspf:

<%@ taglib uri="/WEB-INF/mesa-tags.tld" prefix="mesa" %>

.
.
.



Here's part of mesa-tags.tld:


cityStateCountry

edu.stanford.irt.mesa.web.CityStateCountryTag
JSP


And here's a bit of web.xml:

  
/WEB-INF/mesa-tags.tld
/WEB-INF/mesa-tags.tld
  

You'll just have to take my word for it that all of the files are in the
usual places and CityStateCountryTag.class is in the classpath named
"jspc.classpath". Also, please ignore for the time being that I'm not really
taking advantage of web.xml's ability to map the physical locations of TLD
files to logical ones (unless of course you think this may be part of the
problem).

My guess is that I'm not using the jasper2 task correctly in my build.xml. I
haven't been able to find any useful documentation for this task except for
the example I mentioned above, and this didn't explain what any of the
task's attributes did. So, I had to guess. 

So, my main question is: 

- Do you know what the cause of my error message is? 

Secondary questions are: 

- Do you know where I can get some good documentation for the jasper2 task? 

- What is the difference between jasper2 and jspc tags? I've just been
assuming that jasper2 is newer and better, but I'd love to find a document
that explains the actual differences, if any, between these two Ant tasks.

Thanks for any help you may be able to offer,

Jason Axtell


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



  1   2   >