Re: Reflection for custom taglibs killing performance...

2005-04-18 Thread Dakota Jack
Why would you have to have an entirely new reflection for more than
one database call?  That sound like a design SNAFU to me.  Looks to me
like you should be having one use of reflection instead of 1000.

Jack

On 4/17/05, Kevin Burton [EMAIL PROTECTED] wrote:
 Dakota Jack wrote:
 
 1000 on a page?  Really?  That seems very odd to me given my
 experience.  What would a page like that look like?  Do you have
 examples?
 
 
 So psuedo code...
 
 - get a list of objects from your DB..  Say 500
 - for each object
tag A
tag B
tag C
fn:length
 
 And  so forth... Thats 2000 reflection calls and about 500ms.  REALLY
 slow.  Horribly slow in fact :-/
 
 Kevin
 
 --
 
 Use Rojo (RSS/Atom aggregator)! - visit http://rojo.com.
 See irc.freenode.net #rojo if you want to chat.
 
 Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html
 
Kevin A. Burton, Location - San Francisco, CA
   AIM/YIM - sfburtonator,  Web - http://peerfear.org/
 GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
You can lead a horse to water but you cannot make it float on its back.
~Dakota Jack~

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



Custom Realm development: can't locate javax.management package

2005-04-18 Thread alebu
Hi, I was trying to develop my own Realm extending
org.apache.catalina.realm.RealmBase
but in Eclipse I got this error:
   The type javax.management.MBeanRegistration cannot be resolved.
   It is indirectly referenced from required .class files MyRealmBase.java.

I can't find jar file where this package is specified, but I not using
Tomcat sources, I just pointing
compiler to required jar files. And because this package is in javax
tree, then it should be somewhere in classpath I can't find it :(

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



RE: Custom Realm development: can't locate javax.management package

2005-04-18 Thread Guy Katz
its a jmx class.
probably in jmx.jar

-Original Message-
From: alebu [mailto:[EMAIL PROTECTED]
Sent: Monday, April 18, 2005 9:46 AM
To: tomcat-user@jakarta.apache.org
Subject: Custom Realm development: can't locate javax.management package


Hi, I was trying to develop my own Realm extending
org.apache.catalina.realm.RealmBase
but in Eclipse I got this error:
   The type javax.management.MBeanRegistration cannot be resolved.
   It is indirectly referenced from required .class files MyRealmBase.java.

I can't find jar file where this package is specified, but I not using
Tomcat sources, I just pointing
compiler to required jar files. And because this package is in javax
tree, then it should be somewhere in classpath I can't find it :(

-
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: Custom Realm development: can't locate javax.management package

2005-04-18 Thread howarddy3
I'll look again, but I didn't see a jmx.jar earlier


 -- Original message --
From: Guy Katz [EMAIL PROTECTED]
 its a jmx class.
 probably in jmx.jar
 
 -Original Message-
 From: alebu [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 18, 2005 9:46 AM
 To: tomcat-user@jakarta.apache.org
 Subject: Custom Realm development: can't locate javax.management package
 
 
 Hi, I was trying to develop my own Realm extending
 org.apache.catalina.realm.RealmBase
 but in Eclipse I got this error:
The type javax.management.MBeanRegistration cannot be resolved.
It is indirectly referenced from required .class files MyRealmBase.java.
 
 I can't find jar file where this package is specified, but I not using
 Tomcat sources, I just pointing
 compiler to required jar files. And because this package is in javax
 tree, then it should be somewhere in classpath I can't find it :(
 
 -
 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: Java class is reloaded automatically?

2005-04-18 Thread Christoph Kutzinski
Hi,
are you debugging Tomcat when this happens? Then this is maybe related 
to class hotswapping

Christoph
Kent Tong wrote:
Hi,
I notice that in Tomcat 5.5 changes to my Java class take
effects without reloading the app. The content is not marked
as reloadable. There is no message in the console saying
the app is reloaded. It is like the classloader is loading
the new java class automatically. At the same time I can't 
find any doc describing this behavior. Any idea?

Thanks!
-
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: Custom Realm development: can't locate javax.management package

2005-04-18 Thread Robert F Hall
Should be in ${TOMCAT_HOME}/bin/jmx.jar
[EMAIL PROTECTED] wrote:
I'll look again, but I didn't see a jmx.jar earlier
-- Original message --
From: Guy Katz [EMAIL PROTECTED]
 

its a jmx class.
probably in jmx.jar
-Original Message-
From: alebu [mailto:[EMAIL PROTECTED]
Sent: Monday, April 18, 2005 9:46 AM
To: tomcat-user@jakarta.apache.org
Subject: Custom Realm development: can't locate javax.management package
Hi, I was trying to develop my own Realm extending
org.apache.catalina.realm.RealmBase
but in Eclipse I got this error:
  The type javax.management.MBeanRegistration cannot be resolved.
  It is indirectly referenced from required .class files MyRealmBase.java.
I can't find jar file where this package is specified, but I not using
Tomcat sources, I just pointing
compiler to required jar files. And because this package is in javax
tree, then it should be somewhere in classpath I can't find it :(
-
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: Virtual domain problem

2005-04-18 Thread Raghupathy,Gurumoorthy
Do you use tomcat as standalone ?  
Send me the server.xml 


However try 


Engine defaultHost=www.nacion.com name=Catalina

   Host appBase=webapps name=www.nacion.com debug=0

  Logger className=org.apache.catalina.logger.FileLogger 

 suffix=.txt 

 prefix=localhost_log. 

 timestamp=true/

  Context path= docBase=ROOT debug=0/

   /Host
   Host appBase=webapps2 name=www.revistaperfil.com debug=0

  Logger className=org.apache.catalina.logger.FileLogger 

 suffix=.txt 

 prefix=revistaperfil_log. 

 timestamp=true/

   Context path= docBase=Perfil debug=0/

   /Host

/Engine


Try this and let me know 


Regards
Guru 



-Original Message-
From: Lorenzo Jiménez [mailto:[EMAIL PROTECTED] 
Sent: 16 April 2005 01:35
To: Tomcat Users List
Subject: Virtual domain problem
Importance: High


Hi,

 

I have one domain www.nacion.com http://www.nacion.com/  and another
domain www.revistaperfil.com http://www.revistaperfil.com/ .

Both domains land on the same ip.

 

We want to have the apps of nacion.com in webapps directory, and the apps
from revistaperfil.com in webapps2.

 

In server.xml we have:

 

Engine defaultHost=localhost name=Catalina

   !-- This Host is the default Host --

   Host appBase=webapps name=localhost debug=0

  Logger className=org.apache.catalina.logger.FileLogger 

 suffix=.txt 

 prefix=localhost_log. 

 timestamp=true/

  Context path= docBase=ROOT debug=0/

   /Host

   !-- This Host is the www.revistaperfil.com --

   Host appBase=webapps2  name=www.revistaperfil.com debug=0

  Logger className=org.apache.catalina.logger.FileLogger 

 suffix=.txt 

 prefix=revistaperfil_log. 

 timestamp=true/

   Context path= docBase=Perfil debug=0/

   /Host

   Realm className=org.apache.catalina.realm.UserDatabaseRealm/

/Engine

 

The problem is that when he start Tomcat, when we load www.revistaperfil.com
http://www.revistaperfil.com/  we land in www.nacion.com
http://www.nacion.com/ .

 

How can we configure Tomcat so it can take the correct action depending on
the domain asked?

Do we need to change the context.xml from the webapps also?

 

We don't have Apache installed, only Tomcat 5.

 

Thanks very much,

 

Lorenzo


-

Si usted no es el destinatario indicado en este mensaje o responsable como
persona 
de la entrega del mensaje, no debe copiar o reenviar este mensaje, por favor
notifique 
al correo [EMAIL PROTECTED] Para más referencia sobre términos
importantes 
relacionados a este correo visite
http://www.nacion.com/disclaimer/index_es2.htm

If you are not the addressee indicated in this message (or responsible for
delivery of the 
message to such person), you may not copy or send this message to anyone,
please notify
to [EMAIL PROTECTED] Click here for important additional terms relating
to this e-mail. 
http://www.nacion.com/disclaimer/index_en2.htm

-



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



Re: jsvc.exec error: syscall failed in set_caps

2005-04-18 Thread Georges Roux
Bill Barker a écrit :
Yeah, well, check out 
http://issues.apache.org/bugzilla/show_bug.cgi?id=33154.
 

Well done Bill,
I use last stable 2.6.11 from kernel.org compiled as the debian way 
(initrd and all as module)
and nowI add  the line

modprobe capability
before launching jsvc, in my tomcat init script
and  wait now for the patch to drop the line
It's ok
Thanks a lot Bill
Georges
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Multiple Security Providers with Tomcat

2005-04-18 Thread Tom Bednarz
I have a customer who likes to introduce chipcards with client 
certificates for single-sign-on. I need to add support for that in a 
web-application we provided.

The problem is, that not ALL users of the application may have a 
certificate. So for all not able to present a valid certificate I should 
offer a login screen to authenticate with username / password (which is 
basically the current solution)

Is there any way of configuring multiple security providers in Tomcat 
5.0 and go through them in the authentication process?  If this is 
possible could anybody point me to a configuration exemple?

Many thanks for your help.
Tom
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Running Tomcat on multiple processors on Windows 2003

2005-04-18 Thread Steven Heckler
Hi, All,

 

A client of mine is having trouble getting Tomcat 4.1.27 to make use of
multiple processors on his quad processor system under Windows 2003.  My
questions:

 

1.  What can he do to enable Tomcat to make use of all 4 processors?

2.  If a single instance of Tomcat can't make use of multiple
processors, is it possible to set up multiple Tomcat services, each tied
to a processor [I understand completely how to set up multiple Tomcat
services, I just don't know how to tie them to a specific processor]?

 

Here are my client's answers to my questions regarding his
configuration:

*   Which version of Windows are you running? Windows 2003 
*   Which specific version of Tomcat are you running?  Tomcat 4.1.27
with the -server flag set 
*   Which version of the J2SE SDK are you running Tomcat on top of?
JRE is 1.3.1 
*   Are other applications successfully using the multiple
processors? Yes, Cognos is spawning processes that recognize the
multiple processors 
*   How are you determining that Tomcat is running on only one
processor? When I look in Task Manager, I always see one processor
running at 100%. When I look at the running processes, the java.exe, is
running at 13%. This server has 4 processors, and is using
HyperThreading, so Windows sees 8 processors. 

Does anyone have any suggestions?  Thanks so much for your help.

 

Best regards,

 

Steve

 

Steve Heckler

Accelebrate

http://www.accelebrate.com

 



TC 4.1.26: heap not growing???

2005-04-18 Thread guillaume
Hello Tomcat-oids,

We've been running performance tests against multiple applications on Tomcat 
4.1.26. TC is run as a process on our Linux boxes and as a service on Windows. 
We've tuned heap sizes to -Xms512m -Xmx1024m.

Monitoring the JVM memory usage with a daemon thread calling 
Runtime.getRuntime().freeMemory() / totalMemory() / maxMemory(), we've noticed 
memory was never expanded beyond 512MB. Instead, when we were getting close to 
512MB, we could see the garbage collector kick in. We never got OOM errors.

A workaround solution would be to set min = max = 1024MB. Before we do, I 
wanted to run it by you and ask for comments...

Cheers,
Guillaume

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



Re: Directory listing

2005-04-18 Thread Darryl Wilburn
For Tomcat...

Change the listings parameter in the DefaultServlet
to false.  Don't know for Apache.

Darryl

--- Richard Reyes [EMAIL PROTECTED] wrote:
 What I do is put an access denied index.jsp on every
 subdirectories
 inside the specific webapp folder.
 
 heres my acc. deny index.jsp...
 
 html
 head
 titleAccess Denied/title
 /head
 bodyh1Access Denied/h1/body
 /html
 
 hth.
 richard
 
 On 4/15/05, dummy [EMAIL PROTECTED] wrote:
  
  How can I disable both the apache and tomcat 5.5
 from displaying the
  directory of my web application ?
  
 
 

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



__ 
Do you Yahoo!? 
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide

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



RE: apache + tomcat + JK connector configuration

2005-04-18 Thread Delphine Lê

Bob,
Thank you but Apache doesn't start if I add this line.
The Apache config I have is:

LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel debug
JkMount /examples worker1

It seems to works fine (see the logs in my very first message).
And also, I can see that it automatically creates a mod_jk.conf file in
$TOMCAT_HOME\conf\auto
Regards

-Original Message-
From: Robert Harrison [mailto:[EMAIL PROTECTED] 
Sent: vendredi 15 avril 2005 19:52
To: Tomcat Users List
Subject: Re: apache + tomcat + JK connector configuration

Delphine,
Have you added JkSet config.file ... to your apache config file?

Bob

On 4/14/05, Delphine Lê [EMAIL PROTECTED] wrote:
 I tried this, but it didn't help unfortunately
 Thank you
 
  Are you using load balance in your app?  If not, you probably don't
need
  this line:
 
  worker.worker1.lbfactor=50
 
  Try to use this configuration in the server.xml
 
  Connector className=org.apache.ajp.tomcat4.Ajp13Connector
  port=6969 minProcessors=5 maxProcessors=75
  enableLookups=false acceptCount=10 debug=0/
 
  Hope this helps...
 
 
  -Original Message-
  From: Delphine Lê [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, April 13, 2005 6:41 PM
  To: tomcat-user@jakarta.apache.org
  Subject: RE: apache + tomcat + JK connector configuration
 
 
  thank you, but it's got them:
 
  # Define 1 real worker using ajp13
  worker.list=worker1
  # Set properties for worker1 (ajp13)
  worker.worker1.type=ajp13
  worker.worker1.host=localhost
  worker.worker1.port=6969
  worker.worker1.lbfactor=50
  worker.worker1.cachesize=10
  worker.worker1.cache_timeout=600
  worker.worker1.socket_keepalive=1
  worker.worker1.reclycle_timeout=300
 
 
  Post the workers.properties file.  You probably need to include
these
  lines in that file:
 
  worker.list=worker1
  worker.worker1.port=6969
 
 
 
  -Original Message-
  From: Delphine Lê [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, April 13, 2005 2:01 PM
  To: tomcat-user@jakarta.apache.org
  Subject: apache + tomcat + JK connector configuration
 
 
  Hello,
 
 
 
  Has anyone had any success in configuring Apache (2.0.53) with
Tomcat
  (4.1.29) in Windows XP, using a recent JK connector ?
 
  We have a server running with the JK2 connector and I'm trying to
  replace it with the latest JK connector (JK-1.2.10), the reason
being
  that JK2 is officially unsupported as of 15 Nov 2004 and we're
  experiencing a problem with truncated requests due to this
connector.
 
 
 
  In Apache, I configured a worker called worker1 and I send
everything
  from context /examples to this worker following
  http://jakarta.apache.org/tomcat/connectors-doc/howto/quick.html.
 
  The configuration looks fine, since I can see in the following
lines in
  mod_jk.log:
 
 
 
  [Wed Apr 13 18:49:13 2005] [debug]
  uri_worker_map_add::jk_uri_worker_map.c (269): exact rule
  /examples=worker1 was added
 
  [Wed Apr 13 18:49:13 2005] [debug] build_worker_map::jk_worker.c
(219):
  creating worker worker1
 
  [Wed Apr 13 18:49:13 2005] [debug] wc_create_worker::jk_worker.c
(125):
  about to create instance worker1 of ajp13
 
  [Wed Apr 13 18:49:13 2005] [debug] wc_create_worker::jk_worker.c
(138):
  about to validate and init worker1
 
  [Wed Apr 13 18:49:13 2005] [debug] ajp_validate::jk_ajp_common.c
(1781):
  worker worker1 contact is 'localhost:6969'
 
 
 
  However, if I send a request, it doesn't get through and I get an
error
  message in the browser.
 
  The log shows:
 
  [Wed Apr 13 18:50:16 2005] [info]
  ajp_connect_to_endpoint::jk_ajp_common.c (877): Failed connecting
to
  tomcat. Tomcat is probably not started or is listening on the wrong
  host/port (127.0.0.1:6969). Failed errno = 61
 
  [Wed Apr 13 18:50:16 2005] [info]
ajp_send_request::jk_ajp_common.c
  (1227): Error connecting to the Tomcat process.
 
 
 
  What should I change in Tomcat configuration to have it work with
JK
  instead of JK2 ?
 
  It is of course started and listening on port 6969. The
configuration in
  server.xml looks like this:
 
 
 
  Connector className=org.apache.ajp.tomcat4.Ajp13Connector
 
  port=6969 minProcessors=5 maxProcessors=75
enableLookups=true
  redirectPort=8443 acceptCount=100 debug=0
  connectionTimeout=2 useURIValidationHack=false
  disableUploadTimeout=true/
 
 
 
  Thanks.
 
 
 
 
 
-
  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 

SV: Handling requests for .asp files

2005-04-18 Thread Martin Lidgard
Thanks for the pointers. 
The problem ended up being that the redirect required not only an
HTTP-StatusCode (301 - Moved permanently) but also a
httpServletResponse.setHeader(Location, http://newurl;). Without the
header, Mozilla shows the originally requested page which contains a
redirect javascript, whereas Internet Explorer just shows a generic error
page.

/Martin 

Martin Lidgard
Arkatay Consulting
mail://[EMAIL PROTECTED]
http://www.arkatay.com   

-Ursprungligt meddelande-
Från: QM [mailto:[EMAIL PROTECTED] 
Skickat: den 18 april 2005 03:33
Till: Tomcat Users List
Ämne: Re: Handling requests for .asp files

On Mon, Apr 18, 2005 at 03:03:45AM +0200, Martin Lidgard wrote:
: I am trying to get Tomcat to respond to requests for files with an .asp
: extension in order to let Turbine handle the request and redirect to the
: appropriate Velocity page.
: [snip]
: The problem is that Tomcat does not seem to respond at all to requests for
: urls with .asp as an extension.  The extensions .as and .aspp work
: fine.

How are you mapping the .as and .aspp extensions?  Through a servlet mapping
in yoru webapp's web.xml?

You could also check the global web.xml. That one defines the mapping for
.jsp files; maybe someone at your site put in a mapping for .asp as well...?

Another thought -- do you access Tomcat directly, or do you go through
Apache as an intermediary?


-QM

-- 

software   -- http://www.brandxdev.net/
tech news  -- http://www.RoarNetworX.com/ code scan  --
http://www.JxRef.org/

-
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: Can't get Tomcat to use account other than System

2005-04-18 Thread Darryl Wilburn
Mark,
Does the account you're trying to use have all the
correct user rights (act as part of the operating
system, run as a service, etc.)?

Darryl

--- Mark Leone [EMAIL PROTECTED] wrote:
 I think this is a pretty basic question, but I
 couldn't find an answer 
 in the archives. I've been using Tomcat for a while,
 with Tomcat logging 
 on as the local System account. Now I'd like Tomcat
 to have some 
 additional access rights, so I'm trying to get it to
 log on as a 
 privileged user. I have Tomcat 5.5.8 installed as a
 Service on Windows 
 XP. I launch the Service properties window, go to
 the Log On tab, 
 check the This Account radio button, and then
 enter the account 
 credentials.
 
 The credentials seem to be accepted, but if I close
 the Service 
 properties window and re-launch it, the Log On tab
 has reverted to its 
 default configuration, i.e. Log on as Local System
 Account is enabled 
 instead of the account I specified. And Tomcat
 doesn't have the access 
 rights I'd like it to have, even after restart.
 

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



__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

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



Single sign on not working

2005-04-18 Thread shyam
Hi all,
I have two web applications which use the same JDBCRealm. I have tested
the realm and it works fine. I commented out the single sign on valve in
the server.xml . I tested the links from one application to another. The
protected resources still ask for the login information. It would be
really helpful if someone could help me out with this. I am using tomcat
5.0.29

Thanks
shyam

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



Single sign on problem

2005-04-18 Thread shyam
Hi all,
I have two web applications which use the same JDBCRealm. I have tested
the realm and it works fine. I commented out the single sign on valve in
the server.xml . I tested the links from one application to another. The
protected resources still ask for the login information. It would be
really helpful if someone could help me out with this. I am using tomcat
5.0.29

Thanks
shyam

-


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



Re: Directory listing

2005-04-18 Thread t.n.a.
Darryl Wilburn wrote:
For Tomcat...
Change the listings parameter in the DefaultServlet
to false.  Don't know for Apache.
 

Just wrapped up both problems myself: the listings parameter takes care 
of tomcat, and a .htaccess file takes care of apache:
$ cat .htaccess
Options -Indexes
$
Just place .htaccess in your root dir and you're ok.

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


RE: Virtual domain problem

2005-04-18 Thread Lorenzo Jiménez
Dear Gurumoorthy:

Thank you very much for your help.
It worked at the first try!

Regards,

Lorenzo



-Original Message-
From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED] 
Sent: Lunes, 18 de Abril de 2005 02:07 a.m.
To: 'Tomcat Users List'
Subject: RE: Virtual domain problem

Do you use tomcat as standalone ?  
Send me the server.xml 


However try 


Engine defaultHost=www.nacion.com name=Catalina

   Host appBase=webapps name=www.nacion.com debug=0

  Logger className=org.apache.catalina.logger.FileLogger 

 suffix=.txt 

 prefix=localhost_log. 

 timestamp=true/

  Context path= docBase=ROOT debug=0/

   /Host
   Host appBase=webapps2 name=www.revistaperfil.com debug=0

  Logger className=org.apache.catalina.logger.FileLogger 

 suffix=.txt 

 prefix=revistaperfil_log. 

 timestamp=true/

   Context path= docBase=Perfil debug=0/

   /Host

/Engine


Try this and let me know 


Regards
Guru 



-Original Message-
From: Lorenzo Jiménez [mailto:[EMAIL PROTECTED] 
Sent: 16 April 2005 01:35
To: Tomcat Users List
Subject: Virtual domain problem
Importance: High


Hi,

 

I have one domain www.nacion.com http://www.nacion.com/  and another
domain www.revistaperfil.com http://www.revistaperfil.com/ .

Both domains land on the same ip.

 

We want to have the apps of nacion.com in webapps directory, and the apps
from revistaperfil.com in webapps2.

 

In server.xml we have:

 

Engine defaultHost=localhost name=Catalina

   !-- This Host is the default Host --

   Host appBase=webapps name=localhost debug=0

  Logger className=org.apache.catalina.logger.FileLogger 

 suffix=.txt 

 prefix=localhost_log. 

 timestamp=true/

  Context path= docBase=ROOT debug=0/

   /Host

   !-- This Host is the www.revistaperfil.com --

   Host appBase=webapps2  name=www.revistaperfil.com debug=0

  Logger className=org.apache.catalina.logger.FileLogger 

 suffix=.txt 

 prefix=revistaperfil_log. 

 timestamp=true/

   Context path= docBase=Perfil debug=0/

   /Host

   Realm className=org.apache.catalina.realm.UserDatabaseRealm/

/Engine

 

The problem is that when he start Tomcat, when we load www.revistaperfil.com
http://www.revistaperfil.com/  we land in www.nacion.com
http://www.nacion.com/ .

 

How can we configure Tomcat so it can take the correct action depending on
the domain asked?

Do we need to change the context.xml from the webapps also?

 

We don't have Apache installed, only Tomcat 5.

 

Thanks very much,

 

Lorenzo


-

Si usted no es el destinatario indicado en este mensaje o responsable como
persona 
de la entrega del mensaje, no debe copiar o reenviar este mensaje, por favor
notifique 
al correo [EMAIL PROTECTED] Para más referencia sobre términos
importantes 
relacionados a este correo visite
http://www.nacion.com/disclaimer/index_es2.htm

If you are not the addressee indicated in this message (or responsible for
delivery of the 
message to such person), you may not copy or send this message to anyone,
please notify
to [EMAIL PROTECTED] Click here for important additional terms relating
to this e-mail. 
http://www.nacion.com/disclaimer/index_en2.htm

-



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



Single Sign On Help

2005-04-18 Thread shyam reddy

Hi all,

I have two web applications which use the same JDBCRealm. I have tested the 
realm and it works fine. I commented out the single sign on valve in the 
server.xml . I tested the links from one application to another. The protected 
resources still ask for the login information. It would be really helpful if 
someone could help me out with this. I am using tomcat 5.0.29. I have checked 
my logs and this is the output I am getting :

2005-04-18 10:12:19 SingleSignOn[localhost]:  Checking for SSO cookie
2005-04-18 10:12:19 SingleSignOn[localhost]:  SSO cookie is not present

and this is happening for every request. I checked my broowser settings and it 
allows cookies.

 

Thanks

shyam



Shyam  Gavulla,Software Engineer
www.interviewexchange.com
Boston, MA
USA
phone:617 515 6549






-
Yahoo! Mail Mobile
 Take Yahoo! Mail with you! Check email on your mobile phone.

Re: Single Sign On Help

2005-04-18 Thread Jason Bainbridge
On 4/18/05, shyam reddy [EMAIL PROTECTED] wrote:
 
 Hi all,
 
 I have two web applications which use the same JDBCRealm. I have tested the 
 realm and it works fine. I commented out the single sign on valve in the 
 server.xml . I tested the links from one application to another. The 
 protected resources still ask for the login information. It would be really 
 helpful if someone could help me out with this. I am using tomcat 5.0.29. I 
 have checked my logs and this is the output I am getting :

Why have you sent three emails about the same thing with different
subjects? It isn't going to help you get a response, if you have more
info to add then reply to your own post and keep it within the same
thread that way you're much more likely to get a response.

Regards,
-- 
Jason Bainbridge
http://kde.org - [EMAIL PROTECTED]
Personal Site - http://jasonbainbridge.com

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



Re: Single Sign On Help

2005-04-18 Thread shyam reddy
I am sorri for the 3 messages. I got a response from the first two messages 
that the message was not delivered as I didnt have an account. So I subcribed 
again and sent the email. Sorri for the trouble
shyam

Jason Bainbridge [EMAIL PROTECTED] wrote:
On 4/18/05, shyam reddy wrote:
 
 Hi all,
 
 I have two web applications which use the same JDBCRealm. I have tested the 
 realm and it works fine. I commented out the single sign on valve in the 
 server.xml . I tested the links from one application to another. The 
 protected resources still ask for the login information. It would be really 
 helpful if someone could help me out with this. I am using tomcat 5.0.29. I 
 have checked my logs and this is the output I am getting :

Why have you sent three emails about the same thing with different
subjects? It isn't going to help you get a response, if you have more
info to add then reply to your own post and keep it within the same
thread that way you're much more likely to get a response.

Regards,
-- 
Jason Bainbridge
http://kde.org - [EMAIL PROTECTED]
Personal Site - http://jasonbainbridge.com

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



-
Do you Yahoo!?
 Make Yahoo! your home page   

odd problem when using a build that calls a build w/ the deploy task

2005-04-18 Thread Quinten Verheyen
Hi, ran into something odd:

- buildfile A (build-A.xml) contains deploy task, running the task works w/o 
any problems :

!-- ... --
target name=deploy depends=war
deploy url=${tomcat.manager.url}
username=${tomcat.manager.username}
password=${tomcat.manager.password}
war=${dist.dir}/webapp.war
path=/${name}
update=true /
/target
!-- ... --

Now comes the strange part ...

- buildfile B wants to call A's deploy task, remark : it's located in another 
dir, more specific the dir above, so :

!-- ... --
target name=master
ant antfile=build-A.xml target=all dir=subdir /
/target
!-- ... --

Question : does this work ?
Answer   : Nope, it results in a java.io.FileNotFoundException: dist\webapp.war 
(The system cannot find the path specified)
Question : Why ?
Answer   : Because the deploy task searches for dist in the dir of build B.
Question : Why ?
Answer   : I don't know ... ;-)

It is strange because the deploy task is the only one who has a problem with 
this. In reality build file B is a master build file that calls a 'all' target, 
and buildfile A contains the whole standard deployment shabang - none of them 
fail except this specific task.

I would say it's worth checking out.

Obviously this prob is solved by using an absolute path, but it speaks for 
itself it shouldn't be configured like that.

Any thoughts ?

Kind regards,
Q

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



Virtual domain problem

2005-04-18 Thread Dalton Ames Jr
Create a Host and Alias.  You can do this through teh
Admin tool.  


1.  Create a directory to be the base of the new host:

C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps2

2.  Open Tomcat Admin tool.

3.  expand Service (Catalina)
4.  Click Service (Catalina)

5.  On the right, select Create New Host
6.  Name the host what ever (no spaces)
7.  Provide the base directory:
C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps2

8.  Click Save
9.  Click Commit Changes
10. Log out and log back on.
11. Expand service
12. your new host should appear
13. click you new host

14. On the right, choose Create New Alias

15. Provide the Virtual Host name in the Alias name
box
16. Click Save


My server.xml for that section has:

  Engine defaultHost=localhost name=Catalina
  Host appBase=C:\Program Files\Apache Software
Foundation\Tomcat 5.0\webapps2 name=webfocus2
  Aliashostname2/Alias
  Aliashostname.domain.com/Alias
  /Host



  Subject: Virtual domain problem
 Date: Fri, 15 Apr 2005 18:34:34 -0600
 From: Lorenzo Jiménez [EMAIL PROTECTED]
 To: Tomcat Users List
 tomcat-user@jakarta.apache.org
 
 Hi,
 
  
 
 I have one domain www.nacion.com
 http://www.nacion.com/  and another domain
 www.revistaperfil.com
 http://www.revistaperfil.com/ .
 
 Both domains land on the same ip.
 
  
 
 We want to have the apps of nacion.com in webapps
 directory, and the apps from revistaperfil.com in
 webapps2.
 
  
 
 In server.xml we have:
 
  
 
 Engine defaultHost=localhost name=Catalina
 
!-- This Host is the default Host --
 
Host appBase=webapps name=localhost
 debug=0
 
   Logger
 className=org.apache.catalina.logger.FileLogger 
 
  suffix=.txt 
 
  prefix=localhost_log. 
 
  timestamp=true/
 
   Context path= docBase=ROOT
 debug=0/
 
/Host
 
!-- This Host is the www.revistaperfil.com
 --
 
Host appBase=webapps2 
 name=www.revistaperfil.com debug=0
 
   Logger
 className=org.apache.catalina.logger.FileLogger 
 
  suffix=.txt 
 
  prefix=revistaperfil_log. 
 
  timestamp=true/
 
Context path= docBase=Perfil
 debug=0/
 
/Host
 
Realm

className=org.apache.catalina.realm.UserDatabaseRealm/
 
 /Engine
 
  
 
 The problem is that when he start Tomcat, when we
 load www.revistaperfil.com
 http://www.revistaperfil.com/  we land in
 www.nacion.com http://www.nacion.com/ .
 
  
 
 How can we configure Tomcat so it can take the
 correct action depending on the domain asked?
 
 Do we need to change the context.xml from the
 webapps also?
 
  
 
 We don't have Apache installed, only Tomcat 5.
 
  
 
 Thanks very much,
 
  
 
 Lorenzo
 
 

-
 
 Si usted no es el destinatario indicado en este
 mensaje o responsable como persona 
 de la entrega del mensaje, no debe copiar o reenviar
 este mensaje, por favor notifique 
 al correo [EMAIL PROTECTED] Para más referencia
 sobre términos importantes 
 relacionados a este correo visite
 http://www.nacion.com/disclaimer/index_es2.htm
 
 If you are not the addressee indicated in this
 message (or responsible for delivery of the 
 message to such person), you may not copy or send
 this message to anyone, please notify
 to [EMAIL PROTECTED] Click here for important
 additional terms relating to this e-mail. 
 http://www.nacion.com/disclaimer/index_en2.htm
 

-
 
 
 




__ 
Do you Yahoo!? 
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide

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



user management

2005-04-18 Thread Henrique, Manuel
Hello all,

I try again because it seems that my message wasn't received. I am sorry for
the inconvenience if you have already receive my message.

So here is my problem. I hope someone could help me:

Hello,

I dont know if it's you I need to contact but it make 3 days I am trying to
solve this issue and I cant.

I got an old intranet/resin/struts/java application and I need to migrate it
to Tomcat 5.0/Struts 1.1/java 1.4.2 on a Windows platform (sorry it's not me
who chooses).

My question concern the security.

In the old version I have:

into web.xml:
security-constraint
  constraint
class-namecom.erdv.security.CustomSecurity/class-name
init-param userGroup='administrator'/
  /constraint
  web-resource-collection
 web-resource-nameManager access control
config/web-resource-name
 url-pattern/erdv/feedback_admin/url-pattern
 url-pattern/erdv/feedback_detail/url-pattern
  /web-resource-collection
   /security-constraint

security-constraint
  constraint
class-namecom.erdv.security.CustomSecurity/class-name
init-param userGroup='ods_administrator'/
  /constraint
  web-resource-collection
 web-resource-nameManager access control
config/web-resource-name
 url-pattern/erdv/ods_creatdoc/url-pattern
 url-pattern/erdv/ods_upddoc/url-pattern
 url-pattern/erdv/ods_creatresult/url-pattern
 url-pattern/erdv/ods_updresult/url-pattern
  /web-resource-collection
   /security-constraint

etc...

So when I need to add a file to a userGroup I just need to add the path to
the right block.

Into the CustomSecurity security class (quick summarize):

public class CustomSecurity extends AbstractConstraint {

  public CustomSecurity(){}

public void setUserGroup (String userGroup){
this.userGroup=userGroup;
  }
  
  public boolean isAuthorized(HttpServletRequest request,
HttpServletResponse response,
ServletContext application) throws
ServletException, IOException
  {
 HttpSession userSession = request.getSession();
 String email = request.getHeader(uid);
 String login = (String)userSession.getAttribute(LOGIN);

 String usel = GetFromDatabaseTheUserLevel(login);

 if ( usel == Usergroup){ 
  return true;
}
response.sendError(response.SC_FORBIDDEN);
return false;
}
}


My problems are:

1 - the AbstractConstraint class that extends the CustomSecurity class is a
resin class. So I cant find an equivalent into Tomcat

2 - I try to understand how does it works with the web.xml file. I find lot
of documentation that explains that the security level is managed by the
web.wml, etc... but no one explain how does it works. How the hell it gets
the information from the web.xml? How the userlevals are managed? etc...

3 - How can I do to have with Tomcat a similar way of security management.
What I need is to put into web.xml the paths for userslevel, and check
WITHOUT PROMPTING SOMETHING the user level with his known level into our
database.

I hope you can help me even if my questions seems very easy because I'm a
beginner in Tomcat/Java.

Regards,

Manuel

This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.

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



DBCP inconsistency

2005-04-18 Thread henrik rathje
Hi,
i am using the tomcat 5.0.27 distribution. After several days of uptime 
the DBCP seems to run odd:

org.apache.commons.dbcp.BasicDataSource.getNumActive() == 4
org.apache.commons.dbcp.BasicDataSource.getNumIdle() == 1
org.apache.commons.dbcp.BasicDataSource.getMaxActive() == 10
org.apache.commons.dbcp.BasicDataSource.getMinIdle() == 9
org.apache.commons.dbcp.BasicDataSource.getInitialSize() == 10
in addition i use
parameter
  nameremoveAbandoned/name
  valuetrue/value
/parameter
in my DBCP configuration. The getNumActive() does not drop below four 
for hours - although the traffic on my site is low, and there is not 
more than one dbcp connection used per request.
Anybody knows what is going wrong here?
best regards

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


RE: odd problem when using a build that calls a build w/ the deploy task

2005-04-18 Thread Quinten Verheyen
Found it, the dist.dir property was set to dist, it should have been set to 
${basedir}/dir, all other relative dirs had the latter convention, which 
explains everything.

 -Original Message-
 From: Quinten Verheyen 
 Sent: 18 April 2005 16:43
 To: Tomcat Users List
 Subject: odd problem when using a build that calls a build w/ 
 the deploy
 task
 
 
 Hi, ran into something odd:
 
 - buildfile A (build-A.xml) contains deploy task, running the 
 task works w/o any problems :
 
   !-- ... --
   target name=deploy depends=war
   deploy url=${tomcat.manager.url}
   username=${tomcat.manager.username}
   password=${tomcat.manager.password}
   war=${dist.dir}/webapp.war
   path=/${name}
   update=true /
   /target
   !-- ... --
 
 Now comes the strange part ...
 
 - buildfile B wants to call A's deploy task, remark : it's 
 located in another dir, more specific the dir above, so :
 
   !-- ... --
   target name=master
   ant antfile=build-A.xml target=all dir=subdir /
   /target
   !-- ... --
 
 Question : does this work ?
 Answer   : Nope, it results in a 
 java.io.FileNotFoundException: dist\webapp.war (The system 
 cannot find the path specified)
 Question : Why ?
 Answer   : Because the deploy task searches for dist in the 
 dir of build B.
 Question : Why ?
 Answer   : I don't know ... ;-)
 
 It is strange because the deploy task is the only one who has 
 a problem with this. In reality build file B is a master 
 build file that calls a 'all' target, and buildfile A 
 contains the whole standard deployment shabang - none of 
 them fail except this specific task.
 
 I would say it's worth checking out.
 
 Obviously this prob is solved by using an absolute path, but 
 it speaks for itself it shouldn't be configured like that.
 
 Any thoughts ?
 
 Kind regards,
 Q
 
 -
 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: deploy WAR to /

2005-04-18 Thread Euan Guttridge
I am getting the same problem, also with 5.5.4 + Compat, RH9, J2SDK142.
- I am building the WAR with ANT, scp'ing to to an empty /webapps and
restarting Tomcat. 
- If I copy the ROOT.war to BLAH.war it will expand fine as BLAH, even
root.war to root, just not ROOT.war to ROOT.

Thanks
Euan

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 17 April 2005 02:06
To: Tomcat Users List
Subject: Re: deploy WAR to /


Hi,
16Apr2005 @ 14:11 Drew Jorgenson thusly spake
 I am trying to deploy a war file to tomcat 5.5.4 and naming the war file
 ROOT.war and for some reason it is not getting deployed to / of the
 virtual host that it's being deployed on.
 Any suggestions?

It'd certainly help if you'd post exactly what you've done and how.
The usual way to undertake this is to use ant to build your war file and
copy it
to the webapps directory where tomcat deploys it.

Take a look at the ant manual:
http://www.google.com.au/search?hl=enq=ant+manualbtnG=Google+Searchmeta=

hth,

kind regards,
Luke

-- 
._
:|  .| |.|/.|_
:|__.|_|.|\.|_
:0421 276 282.

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



Set group id using jsvc?

2005-04-18 Thread Nick Johnson
Hello,

I know that jsvc will let you set the user id of the tomcat process,
but will it also let you set the group id of the process?

Nick

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



Tomcat Won't Start When 1024Mb JVM Memory Specified

2005-04-18 Thread Joe Reger, Jr.
 
Hi All!
 
I'm trying to configure Tomcat to use 2.5Gb of memory on Windows 2000 Server
SP4 with Java 1.4.2_04. 
 
To configure memory I'm using Start - Programs - Apache Tomcat 5.0 -
Configure Tomcat - Java Tab.
 
When I set the Maximum Memory Pool to anything greater than 1024Mb the
Tomcat service bombs immediately and gives an error popup (when done from
the Services control panel).  Sorry, I didn't write down the error code.
 
Is there a 1Gb limit on the JVM?  On Tomcat? 
 
Should I configure by editing startup.bat/catalina.bat instead?
 
I'm open to suggestions/workarounds.
 
Thanks,
 
Joe Reger
 
 


JSPc excludes?

2005-04-18 Thread Bill Lynch
Guys,

I've been using the JSPc task (org.apache.jasper.JspC) to compile a set of 
JSPs. So far so good, but I now want to exclude a few of the JSPs from being 
precompiled. Unfortuntely, there's no attribute (that I know of) in the JSPc 
task to do this. Am I missing something here?

Thanks,
--Bill


RE: Set group id using jsvc?

2005-04-18 Thread Neil Upfalow
How can you set that?
Would that allow files created or written to by tomcat to get
permissions I want ? 

We are using servers with the tanuki java service wrapper. Hopefully it
can be done with that the same way...

Thanks a lot.

neil
 

-Original Message-
From: Nick Johnson [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 18, 2005 12:50 PM
To: tomcat-user@jakarta.apache.org
Subject: Set group id using jsvc?

Hello,

I know that jsvc will let you set the user id of the tomcat process,
but will it also let you set the group id of the process?

Nick

-
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 Won't Start When 1024Mb JVM Memory Specified

2005-04-18 Thread Caldarale, Charles R
 From: Joe Reger, Jr. [mailto:[EMAIL PROTECTED] 
 Subject: Tomcat Won't Start When 1024Mb JVM Memory Specified
 
 Is there a 1Gb limit on the JVM?  On Tomcat? 

Not on those, but Windows normally provides only 2GB of virtual space
for each process.  (There's an initialization switch that can change
this to 3GB, but that introduces some other issues.)  Unfortunately,
this space is fragmented, and the JVM heap is allocated in one
contiguous chunk (at least it was in 1.4.1).  I'm a bit surprised you
ran out at 1GB.

 Should I configure by editing startup.bat/catalina.bat instead?

Definitely makes it easier to fiddle with the values until you find the
maxima.  You don't need to start Tomcat to play with -Xmx and the other
heap settings - a simple HelloWorld will suffice.  Always set -Xms and
-Xmx to the same value when you're trying to find the limit.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Need help exporting contexts not under webapps/

2005-04-18 Thread J. Ryan Earl
Hello,

I'm in the process of bringing an in-house application up under Tomcat.
Previously we were using Jetty as the servlet container, but for various
reason I'm trying to get said application running with Tomcat 5.5.9 and Java
1.5.0.

The problem I'm having is that there are two directories with a large amount
of static files (pictures, videos, documents, and other forms of media) that
are mounted outside of the webapps/ home.  Under Jetty, there is a
configuration directive that I can use to export these directories under a
URL path.  I'm trying to do that in Tomcat, and the documentation has been
somewhat confusing.

What I've gathered is that this type of configuration should be put under
${CATALINA_HOME}/conf/context.xml however I have been able to do this
successfully.  I've tried putting the following in context.xml but it gives
me errors:

Context path=/DOCS docBase=/mnt/CMFiles/DOCS
 debug=0
/Context

So my question is, in short, given a directory structure of static files,
how do you get Tomcat to serve said static content off of an arbitrary URI?
Ideas?

Thanks in advance,
-ryan


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



Re: Running Tomcat on multiple processors on Windows 2003

2005-04-18 Thread Chris Hyzer

 
 1.What can he do to enable Tomcat to make use of
 all 4 processors?

I dont know of an answer to that one.  I think it is
impossible unless you have a JVM that will use 4
procs...  Sun doesnt seem to do this.

 
 2.If a single instance of Tomcat can't make use of
 multiple
 processors, is it possible to set up multiple Tomcat
 services, each tied
 to a processor [I understand completely how to set
 up multiple Tomcat
 services, I just don't know how to tie them to a
 specific processor]?

Yes, this is what we do on linux.  Just setup the
services, and let the operating system do the rest. 
Since you have multiple processes, the OS will see
them both being used and put them on separate
processors (well... Linux is smart enough to do it,
who know about Windows.  JK :) )

I believe the reason is that one JDK process is run
and Tomcat is multithreaded.  if you had multiprocess
and you had static variables that you needed one copy
of, you would need RMI or messaging or something and
it would be more complicated.

Actually what we do is we have several apps on one
box, and we put some in one Tomcat instance, and some
in the other.  Works fine.

Chris

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



RE: Running Tomcat on multiple processors on Windows 2003

2005-04-18 Thread Caldarale, Charles R
 From: Chris Hyzer [mailto:[EMAIL PROTECTED] 
 Subject: Re: Running Tomcat on multiple processors on Windows 2003
 
 I dont know of an answer to that one.  I think it is
 impossible unless you have a JVM that will use 4
 procs...  Sun doesnt seem to do this.

Huh?  The Sun 1.3, 1.4, and 5.0 JVMs use all 32 of the CPUs on our
systems quite nicely.  What may be going on is that some administrator
has set Windows' CPU affinity to restrict all threads of a given process
to a single CPU.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Re: Reflection for custom taglibs killing performance...

2005-04-18 Thread Kevin Burton
Dakota Jack wrote:
Why would you have to have an entirely new reflection for more than
one database call?  That sound like a design SNAFU to me.  Looks to me
like you should be having one use of reflection instead of 1000.
 

I don't have to have it.  Tomcat is *doing* it.  Forget the DB. If I 
have a list of 500 items.  And I call 4 taglibs for each item.  This 
yields a HUGE page slowdown.

Very pathetic actually.   I can't believe anyone finds this acceptable.
Kevin
--
Use Rojo (RSS/Atom aggregator)! - visit http://rojo.com. 
See irc.freenode.net #rojo if you want to chat.

Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html
  Kevin A. Burton, Location - San Francisco, CA
 AIM/YIM - sfburtonator,  Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412 

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


Re: Reflection for custom taglibs killing performance...

2005-04-18 Thread Tim Funk
Its not reflection killing you. For example, time this:
%=System.currentTimeMillis()%
c:forEach begin='0' end='${param.iterations}'
  ${more.cowbell}
/c:forEach
%=System.currentTimeMillis()%
Where more is any java object and cowbell is a property (getCowbell()). In 
simple timing trials - even where iterations is greater than 2000 - I get 
subsecond response time.

-Tim
Kevin Burton wrote:
Dakota Jack wrote:
Why would you have to have an entirely new reflection for more than
one database call?  That sound like a design SNAFU to me.  Looks to me
like you should be having one use of reflection instead of 1000.
 

I don't have to have it.  Tomcat is *doing* it.  Forget the DB. If I 
have a list of 500 items.  And I call 4 taglibs for each item.  This 
yields a HUGE page slowdown.

Very pathetic actually.   I can't believe anyone finds this acceptable.
Kevin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Anyone have java beans and servlets working in user directories?

2005-04-18 Thread Steve Ochani
Hello all,

I'm using tomcat 5.5.7 and have configured userconfig in server.xml to look in 
user's 
public_html subdir for jsps etc. Jsp files work in user directories but java 
beans and 
servlets do not.

Does anyone have tomcat working to beans and servlets also work in user's 
public_html subdirectories?
If so I would appreciate some help.

Thanks



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



jk 1.2.10 + apache 1.3 issue

2005-04-18 Thread Guernsey, Byron \(GE Consumer Industrial\)

For a development environment of ours where we aren't yet running apache
2, I had to build jk1 for Solaris and apache 1.3.26.  Everything looked
ok, but none of the workers seem to be loading, not even the jkstatus
worker.  Loading the page returns a 500 error, and the jk log into debug
mode looks something like:

[Mon Apr 18 15:42:29 2005] [7034:] [debug] do_shm_open::jk_shm.c
(240): Truncated shared memory to 308224
[Mon Apr 18 15:42:29 2005] [7034:] [debug] do_shm_open::jk_shm.c
(272): Initialized shared memory size=308224 free=307200
 addr=0xeebf
[Mon Apr 18 15:42:29 2005] [7034:] [debug]
do_shm_open_lock::jk_shm.c (182): Opened shared memory lock
/usr/local/apache/
logs/jk1-ssodev.shm.lock
[Mon Apr 18 15:42:29 2005] [7034:] [debug] jk_init::mod_jk.c (1983):
Initialized shm:/usr/local/apache/logs/jk1-ssodev.sh
m
[Mon Apr 18 15:42:29 2005] [7034:] [debug]
uri_worker_map_open::jk_uri_worker_map.c (324): rule map size is 1
[Mon Apr 18 15:42:29 2005] [7034:] [debug]
uri_worker_map_add::jk_uri_worker_map.c (269): exact rule
/jkstatus/=jkstatus
was added
[Mon Apr 18 15:42:29 2005] [7034:] [debug]
uri_worker_map_open::jk_uri_worker_map.c (341): there are 1 rules
[Mon Apr 18 15:42:29 2005] [7034:] [debug]
build_worker_map::jk_worker.c (219): creating worker jkstatus
[Mon Apr 18 15:42:29 2005] [7034:] [debug]
wc_create_worker::jk_worker.c (125): about to create instance jkstatus
of stat
us
[Mon Apr 18 15:42:29 2005] [7034:] [debug]
wc_create_worker::jk_worker.c (138): about to validate and init jkstatus
[Mon Apr 18 15:42:29 2005] [7034:] [debug]
build_worker_map::jk_worker.c (231): removing old jkstatus worker

[Mon Apr 18 15:42:29 2005] [7034:] [debug]
build_worker_map::jk_worker.c (219): creating worker gealnx26:13633
[Mon Apr 18 15:42:29 2005] [7034:] [error]
wc_create_worker::jk_worker.c (118): NULL factory for ajp13*ajp13
[Mon Apr 18 15:42:29 2005] [7034:] [error]
build_worker_map::jk_worker.c (239): failed to create worker
gealnx26:13633
[Mon Apr 18 15:42:29 2005] [7034:] [debug]
close_workers::jk_worker.c (195): close_workers will destroy worker
jkstatus
...
[Mon Apr 18 15:46:11 2005] [7037:] [debug]
map_uri_to_worker::jk_uri_worker_map.c (455): Attempting to map URI
'/jkstatus
/' from 1 maps
[Mon Apr 18 15:46:11 2005] [7037:] [debug]
map_uri_to_worker::jk_uri_worker_map.c (467): Attempting to map context
URI '/
jkstatus/'
[Mon Apr 18 15:46:11 2005] [7037:] [debug]
map_uri_to_worker::jk_uri_worker_map.c (492): Found an exact match
jkstatus -
 /jkstatus/
[Mon Apr 18 15:46:11 2005] [7037:] [debug]
wc_get_worker_for_name::jk_worker.c (94): did not find a worker jkstatus
[Mon Apr 18 15:46:11 2005] [7037:] [error] jk_handler::mod_jk.c
(1813): Could not init service for worker=jkstatus

I trimmed this log as there are many other workers which are
initialized, tested, and then closed.  Not a single one of them worked.
I configured mod_jk with:

./configure --with-apxs=/usr/local/apache/bin/apxs --enable-EAPI
--enable-prefork

The NULL factory for ajp13*ajp13 looks odd to me...but that seems like
an error create 1 worker and I didn't expect it to cause no workers to
be available.  I don't really want to run this with Apache 1.3 long
term, but I understood it should work...

Thanks,
Byron



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



Trouble with SecurityManager with Tomcat 5.5

2005-04-18 Thread Josef Vosyka
Hi,

I've got 3 exceptions, when I run simple webapp under SecurityManager with 
standard
policy file and:
-IntelliJ 4.5
-JDK 5.0
-Tomcat 5.5

The exceptions are:

SEVERE: Parse error in default web.xml
java.security.AccessControlException: access denied (java.lang.RuntimePermission
accessClassInPackage.org.apache.catalina.core)

SEVERE: Parse error in application web.xml
java.security.AccessControlException: access denied (java.io.FilePermission
D:\usr\tomcat-5.5\common\lib\servlet-api.jar read)

SEVERE: Parse error in default web.xml
java.security.AccessControlException: access denied (java.lang.RuntimePermission
accessClassInPackage.org.apache.catalina.core)


The standard policy file indeed contains the following:

grant codeBase file:${catalina.home}/common/- {
permission java.security.AllPermission;
};

The accessClassInPackage problem disappears when I add this:

permission java.lang.RuntimePermission accessClassInPackage.org.apache;
permission java.lang.RuntimePermission accessClassInPackage.org.apache.*;
permission java.lang.RuntimePermission 
accessClassInPackage.org.apache.catalina;
permission java.lang.RuntimePermission 
accessClassInPackage.org.apache.catalina.*;
permission java.lang.RuntimePermission 
accessClassInPackage.org.apache.catalina.core;
permission java.lang.RuntimePermission 
accessClassInPackage.org.apache.catalina.core.*;


But the FilePermission remains even after adding the explicit and redundant:

grant codeBase file:${catalina.home}/common/lib/- {
permission java.security.AllPermission;
};

or even this:

grant codeBase file:${catalina.home}/common/lib/servlet-api.jar {
permission java.security.AllPermission;
};

I'm really hopeless to locate the cause of the problems. Seems like this should 
work out
of the box.

Any help is appreciated in advance.
Thanks!
--Josef

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



ThreadPool logFull -- BufferedInputStream

2005-04-18 Thread Patty O'Reilly
I haven't heard anything back so I thought I'd rephrase my question.

I'm running tomcat-5.0.30 with apache 2.0.52 and j2sdk1.4.2_04 on
Red Hat AS 3 update 2. I am seeing runaway thread creation where
threads continue to accumulate until they are maxed out.

After doing a thread dump, which I have very little experience
reading, it appears that there may be a socket bug in either Java
or RedHat, but I'm not sure.

Most threads are locked on BufferedInputStream. This is what a typical
thread looks like:

TP-Processor104 daemon prio=1 tid=0x080dc218 nid=0x4c87 runnable [ad1ff000..a$
at java.net.SocketInputStream.socketRead0(Native Method)
   at java.net.SocketInputStream.read(SocketInputStream.java:129)
   at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
   at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
   at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
   - locked 0x339bd098 (a java.io.BufferedInputStream)
   at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:598)
   at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:535)
   at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:6$
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.$
at java.lang.Thread.run(Thread.java:534)

The last thing called appears to be SocketInputStream.socketRead0
(Native Method). The application is a simple jsp using taglibs.

Can anyone shed some light on this. I'm brand new to Tomcat.

Thanks

--patty

On Wed, 13 Apr 2005, Patty O'Reilly wrote:

 Date: Wed, 13 Apr 2005 16:13:40 -0700 (PDT)
 From: Patty O'Reilly [EMAIL PROTECTED]
 Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
 To: tomcat-user@jakarta.apache.org
 Subject: ThreadPool logFull

 Hi,

 I'm running tomcat 5.0.30.

 After running for a week or so the server begins to slow down and
 finally crashes because it is out of threads. I can see the java
 processes accumulating day by day.

 Apr 8, 2005 3:11:16 PM org.apache.tomcat.util.threads.ThreadPool logFull
 SEVERE: All threads (200) are currently busy, waiting. Increase maxThreads 
 (200)
 or check the servlet status

 I'm pretty new to tomcat. Not sure if the error is in my apache
 server's workers.properties, or the tomcat servers server.xml, or

 Can anyone point me in the right direction. This service is lightly
 loaded. 200 threads should be plenty.

 --patty


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



Deploying Sakai 1.5.0 with Tomcat 5.5.7

2005-04-18 Thread Joe Bautista
Hi everyone,

I'm trying to deploy Sakai 1.5.0 with Tomcat 5.5.7. I've received several
emails from people on the sakai user group telling me that Sakai 1.5.0
hasn't been proven to run with Tomcat 5.5.7, but I wanted to learn a little
bit on my own, so I'm trying to make it work.

Part of the sakai build process involves dropping several .xml files into
the TOMCAT_HOME/conf/Catalina/localhost. One of the files,
sakai-dispatch.xml, is supposed to redirect the base path of Tomcat with the
following line:

Context path=/ docBase=f:/usr/local/sakai/sakai-dispatch
crossContext=true

The problem is that when I type in http://localhost:80/; into the URL (my
port is 80 by default, not 8080), nothing comes up. I know that the base
path hasn't been changed to / because the index.html file in
F:/user/local/sakai/sakai-dispatch is supposed to a redirect, but that's not
happening.

My question is this:

What process/program/class is responsible for reading and acting on the
directives in sakai-dispatch.xml? Doesn't it look like this isn't being
done?

Thanks in advance,
Joe Bautista


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



Re: Reflection for custom taglibs killing performance...

2005-04-18 Thread Kevin Burton
Tim Funk wrote:
Its not reflection killing you. For example, time this:
%=System.currentTimeMillis()%
c:forEach begin='0' end='${param.iterations}'
  ${more.cowbell}
/c:forEach
%=System.currentTimeMillis()%
Where more is any java object and cowbell is a property 
(getCowbell()). In simple timing trials - even where iterations is 
greater than 2000 - I get subsecond response time.
I think something else is going on here then.  I actually rewrote the 
above code to use a custom tag which I KNOW is slow in our system and 
even with 1 entries its very fast.

Though when I took our production code and converted it from .tag files 
to jspfs it was 100x faster. 

So the issue is what has changed between the two code bases to make it 
THAT much faster.

Its got to be some caching system or so forth.  Maybe Tomcat can only 
cache so many methods and is recreating them. 

So its clearly not JUST reflected methods its something else on top of 
it

Any other ideas?
Kevin
--
Use Rojo (RSS/Atom aggregator)! - visit http://rojo.com. 
See irc.freenode.net #rojo if you want to chat.

Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html
  Kevin A. Burton, Location - San Francisco, CA
 AIM/YIM - sfburtonator,  Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412 

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


Re: Anyone have java beans and servlets working in user directories?

2005-04-18 Thread Woodchuck
hihi,

is this what you're trying to achieve?

-have all servlets deployed under Tomcat's webapp directory like usual
-but then place modified/customized servlets to user's directories
whenever desired (and this one overrides the webapp one)

woodchuck


--- Steve Ochani [EMAIL PROTECTED] wrote:
 Hello all,
 
 I'm using tomcat 5.5.7 and have configured userconfig in server.xml
 to look in user's 
 public_html subdir for jsps etc. Jsp files work in user directories
 but java beans and 
 servlets do not.
 
 Does anyone have tomcat working to beans and servlets also work in
 user's 
 public_html subdirectories?
 If so I would appreciate some help.
 
 Thanks
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

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



Archive?

2005-04-18 Thread John Najarian
Is there an archive of the questions and replies?  If so where?  What is the 
URL.

Thank you,

John Najarian

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



Re: Archive?

2005-04-18 Thread e
here is one...
http://marc.theaimsgroup.com/?l=tomcat-userr=1w=2

On 4/18/05, John Najarian [EMAIL PROTECTED] wrote:
 Is there an archive of the questions and replies?  If so where?  What is the 
 URL.
 
 Thank you,
 
 John Najarian
 
 -
 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: JSPc excludes?

2005-04-18 Thread Bill Lynch
Guys,

Sorry to ask a redundant question -- I looked on the list archives and found 
my answer:
http://marc.theaimsgroup.com/?l=tomcat-userm=110607458931449w=2

No possiblity of doing excludes.

I'm going to try to hack in this functionality to the
org.apache.jasper.JspCclass but I'm unclear as to how it's working.
First off, the class doesn't
extend org.apache.tools.ant.Task. Anyone know how this class actually works?

Thanks,
--Bill

On 4/18/05, Bill Lynch [EMAIL PROTECTED] wrote:
 
 Guys,
 
 I've been using the JSPc task (org.apache.jasper.JspC) to compile a set of 
 JSPs. So far so good, but I now want to exclude a few of the JSPs from being 
 precompiled. Unfortuntely, there's no attribute (that I know of) in the JSPc 
 task to do this. Am I missing something here?
 
 Thanks,
 --Bill



Re: Anyone have java beans and servlets working in user directories?

2005-04-18 Thread Steve Ochani
Hi,

On 18 Apr 2005 at 14:19, Woodchuck wrote:

 hihi,
 
 is this what you're trying to achieve?
 
 -have all servlets deployed under Tomcat's webapp directory like usual
 -but then place modified/customized servlets to user's directories
 whenever desired (and this one overrides the webapp one)

Not necessarily override just in their home directory. For example I have
http://serveraddress/~steve/webapps/Test.jsp

which works fine
but if the jsp is using a bean or I put a standalone servlet (with the proper 
web.xml 
which has a servlet mapping) the bean or servlet can't be found. However they 
both 
work under the main webapps directory tomcat.



 
 woodchuck
 
 
 --- Steve Ochani [EMAIL PROTECTED] wrote:
  Hello all,
  
  I'm using tomcat 5.5.7 and have configured userconfig in server.xml
  to look in user's 
  public_html subdir for jsps etc. Jsp files work in user directories
  but java beans and 
  servlets do not.
  
  Does anyone have tomcat working to beans and servlets also work in
  user's 
  public_html subdirectories?
  If so I would appreciate some help.
  
  Thanks
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
   
 __ 
 Yahoo! Mail Mobile 
 Take Yahoo! Mail with you! Check email on your mobile phone. 
 http://mobile.yahoo.com/learn/mail 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



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



Re: Reflection for custom taglibs killing performance...

2005-04-18 Thread Tim Funk
To execute a tag file requires creating some new objects which migh have an 
overhead not quite comparable to RequestDispatcher.include()

Thats probably the issue.
-Tim
Kevin Burton wrote:
Tim Funk wrote:
Its not reflection killing you. For example, time this:
%=System.currentTimeMillis()%
c:forEach begin='0' end='${param.iterations}'
  ${more.cowbell}
/c:forEach
%=System.currentTimeMillis()%
Where more is any java object and cowbell is a property 
(getCowbell()). In simple timing trials - even where iterations is 
greater than 2000 - I get subsecond response time.

I think something else is going on here then.  I actually rewrote the 
above code to use a custom tag which I KNOW is slow in our system and 
even with 1 entries its very fast.

Though when I took our production code and converted it from .tag files 
to jspfs it was 100x faster.
So the issue is what has changed between the two code bases to make it 
THAT much faster.

Its got to be some caching system or so forth.  Maybe Tomcat can only 
cache so many methods and is recreating them.
So its clearly not JUST reflected methods its something else on top of 
it

Any other ideas?
Kevin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Deploying Sakai 1.5.0 with Tomcat 5.5.7

2005-04-18 Thread Fritz Schneider
Joe,

Do you also have a deployed application at
TOMCAT_HOME/webapps/sakai-dispatch? If so, what does its web.xml look like?

Fritz

-Original Message-
From: Joe Bautista [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 18, 2005 1:59 PM
To: tomcat-user@jakarta.apache.org
Subject: Deploying Sakai 1.5.0 with Tomcat 5.5.7

Hi everyone,

I'm trying to deploy Sakai 1.5.0 with Tomcat 5.5.7. I've received several
emails from people on the sakai user group telling me that Sakai 1.5.0
hasn't been proven to run with Tomcat 5.5.7, but I wanted to learn a little
bit on my own, so I'm trying to make it work.

Part of the sakai build process involves dropping several .xml files into
the TOMCAT_HOME/conf/Catalina/localhost. One of the files,
sakai-dispatch.xml, is supposed to redirect the base path of Tomcat with the
following line:

Context path=/ docBase=f:/usr/local/sakai/sakai-dispatch
crossContext=true

The problem is that when I type in http://localhost:80/; into the URL (my
port is 80 by default, not 8080), nothing comes up. I know that the base
path hasn't been changed to / because the index.html file in
F:/user/local/sakai/sakai-dispatch is supposed to a redirect, but that's not
happening.

My question is this:

What process/program/class is responsible for reading and acting on the
directives in sakai-dispatch.xml? Doesn't it look like this isn't being
done?

Thanks in advance,
Joe Bautista


-
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: Deploying Sakai 1.5.0 with Tomcat 5.5.7

2005-04-18 Thread Joe Bautista
Fritz,

When you ask whether I also have a deployed application at
TOMCAT_HOME/webapps/sakai-dispatch, I think what you're asking is whether or
not everything looks kosher in that directory. If that's the case, then the
answer is yes. I see the META-INF and WEB-INF directories. WEB-INF\lib has a
jar file called sakai-tunnel-sakai.1.5.0.jar. As far as what the xml file
looks like I've attached it in case you wanted to take a look at the whole
thing, but the pertinent entries in
F:/usr/local/sakai/sakai-dispatch/WEB-INF/web.xml are as follows:

  !-- dispatch for /portal --
  servlet
servlet-name
  dispatch-portal
/servlet-name
servlet-class
  org.sakaiproject.tunnel.TunnelServlet
/servlet-class
init-param
  param-nameredirect-context/param-name
  param-value/sakai-portal/param-value
/init-param
init-param
  param-nameredirect-path/param-name
  param-value/varuna/portal/param-value
/init-param
init-param
  param-namelog/param-name
  param-valuefalse/param-value
/init-param
load-on-startup1/load-on-startup
  /servlet

  ...

  servlet-mapping
servlet-name
  dispatch-portal
/servlet-name
url-pattern
  /portal/*
/url-pattern
  /servlet-mapping


Thanks Fritz,
Joe

-Original Message-
From: Fritz Schneider [mailto:[EMAIL PROTECTED]
Sent: Monday, April 18, 2005 2:11 PM
To: 'Tomcat Users List'
Subject: RE: Deploying Sakai 1.5.0 with Tomcat 5.5.7


Joe,

Do you also have a deployed application at
TOMCAT_HOME/webapps/sakai-dispatch? If so, what does its web.xml look like?

Fritz

-Original Message-
From: Joe Bautista [mailto:[EMAIL PROTECTED]
Sent: Monday, April 18, 2005 1:59 PM
To: tomcat-user@jakarta.apache.org
Subject: Deploying Sakai 1.5.0 with Tomcat 5.5.7

Hi everyone,

I'm trying to deploy Sakai 1.5.0 with Tomcat 5.5.7. I've received several
emails from people on the sakai user group telling me that Sakai 1.5.0
hasn't been proven to run with Tomcat 5.5.7, but I wanted to learn a little
bit on my own, so I'm trying to make it work.

Part of the sakai build process involves dropping several .xml files into
the TOMCAT_HOME/conf/Catalina/localhost. One of the files,
sakai-dispatch.xml, is supposed to redirect the base path of Tomcat with the
following line:

Context path=/ docBase=f:/usr/local/sakai/sakai-dispatch
crossContext=true

The problem is that when I type in http://localhost:80/; into the URL (my
port is 80 by default, not 8080), nothing comes up. I know that the base
path hasn't been changed to / because the index.html file in
F:/user/local/sakai/sakai-dispatch is supposed to a redirect, but that's not
happening.

My question is this:

What process/program/class is responsible for reading and acting on the
directives in sakai-dispatch.xml? Doesn't it look like this isn't being
done?

Thanks in advance,
Joe Bautista


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



What version of Tomcat, Apache to Install

2005-04-18 Thread Daxin Zuo
Hi,
 I need to install Apache, tomcat, and all related software on a UNIX
computer:
MACHTYPE=sparc-sun-solaris2.9

What version of Tomcat, and Apache is the best match? I try to install
Apache 2.0.53. When I compile it, there is only one .so file in the modules
filder. It may be the wrong version.

There is no c compiler found. Should I download gcc-2.8.1 or gcc-3.3.2 for
the compiler?

Thanks.
Daxin


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



RE: What version of Tomcat, Apache to Install

2005-04-18 Thread Caldarale, Charles R
 From: Daxin Zuo [mailto:[EMAIL PROTECTED] 
 Subject: What version of Tomcat, Apache to Install
 
 What version of Tomcat, and Apache is the best match?

Are you sure you really need the additional complexity of Apache httpd
on the same box as Tomcat?  The current level of Tomcat (5.5 series) is
adequte for most web server purposes.

 - Chuck

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



Re: Can't get Tomcat to use account other than System

2005-04-18 Thread Mark Leone
Can you tell me how to check for that? The only options I can find for 
defining account properties are in Control Panel -- Users and 
Administrative Tools -- Computer Management; and neither of those have 
any settings beyond very basic things like Admin vs. limited priviliges.

I played around a bit with the Net Logon service. I specified the 
desired account credentials in the Log On tab of the Service Properties, 
and then when I tried to start the service I got the following error.

Could Not start the Net Logon service on local computer.
Error 1079: The accout specified for this service is different from the 
account specified for other services running in the same process.

Not sure what to make of this, or if I'm barking up the wrong tree. 
Please enlighten me.

Darryl Wilburn wrote:
Mark,
Does the account you're trying to use have all the
correct user rights (act as part of the operating
system, run as a service, etc.)?
Darryl
--- Mark Leone [EMAIL PROTECTED] wrote:
 

I think this is a pretty basic question, but I
couldn't find an answer 
in the archives. I've been using Tomcat for a while,
with Tomcat logging 
on as the local System account. Now I'd like Tomcat
to have some 
additional access rights, so I'm trying to get it to
log on as a 
privileged user. I have Tomcat 5.5.8 installed as a
Service on Windows 
XP. I launch the Service properties window, go to
the Log On tab, 
check the This Account radio button, and then
enter the account 
credentials.

The credentials seem to be accepted, but if I close
the Service 
properties window and re-launch it, the Log On tab
has reverted to its 
default configuration, i.e. Log on as Local System
Account is enabled 
instead of the account I specified. And Tomcat
doesn't have the access 
rights I'd like it to have, even after restart.

   

-
 

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


		
__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

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

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


Re: Reflection for custom taglibs killing performance...

2005-04-18 Thread QM
On Mon, Apr 18, 2005 at 02:19:15PM -0700, Kevin Burton wrote:
: So its clearly not JUST reflected methods its something else on top of 
: it

What does your profiler report?

-QM

-- 

software   -- http://www.brandxdev.net/
tech news  -- http://www.RoarNetworX.com/
code scan  -- http://www.JxRef.org/

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



Re: Set group id using jsvc?

2005-04-18 Thread QM
On Mon, Apr 18, 2005 at 12:50:26PM -0400, Nick Johnson wrote:
: I know that jsvc will let you set the user id of the tomcat process,
: but will it also let you set the group id of the process?

Off the top of my head I don't know; but you can grep the source code
for setgid()  (or even setegid()).  That call sets group membership. 

Do you need jsvc to run Tomcat on a privileged port?  If not, you could
use erni[1] for fine-tuned group membership.

-QM

[1] = http://www.brandxdev.net/erni/index.site


-- 

software   -- http://www.brandxdev.net/
tech news  -- http://www.RoarNetworX.com/
code scan  -- http://www.JxRef.org/

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



Re: Need help exporting contexts not under webapps/

2005-04-18 Thread QM
On Mon, Apr 18, 2005 at 01:16:04PM -0500, J. Ryan Earl wrote:
: So my question is, in short, given a directory structure of static files,
: how do you get Tomcat to serve said static content off of an arbitrary URI?

So, are you trying to
1/ have a Tomcat-run webapp serve content that exists outside of the
context path?

2/ setup the static content as its own webapp (context)?


For #1, the (portable, spec-friendly) way is to write a servlet or
filter to intercept requests for a given URI, open the matching file as
an InputStream, and push the data to the client via the Response
OutputStream.

For #2, I don't remember the exact syntax off the top of my head so I
won't waste your time with something that may not work. =) But it's
definitely possible for a webapp to not exist under the webapps/
directory.

Just make sure said webapp has a WEB-INF directory and a web.xml.  Even
a web.xml of just
web-app/
should do.

-QM

-- 

software   -- http://www.brandxdev.net/
tech news  -- http://www.RoarNetworX.com/
code scan  -- http://www.JxRef.org/

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



RE: Deploying Sakai 1.5.0 with Tomcat 5.5.7

2005-04-18 Thread Fritz Schneider
Joe,

The question also is asking if F:/usr/local is TOMCAT_HOME. I am not sure
that the context.xml is used if there is no directory for the context under
webapps. You quoted me a web.xml from what would appear to be a different
directory.

Fritz

-Original Message-
From: Joe Bautista [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 18, 2005 3:38 PM
To: Tomcat Users List
Subject: RE: Deploying Sakai 1.5.0 with Tomcat 5.5.7

Fritz,

When you ask whether I also have a deployed application at
TOMCAT_HOME/webapps/sakai-dispatch, I think what you're asking is whether or
not everything looks kosher in that directory. If that's the case, then the
answer is yes. I see the META-INF and WEB-INF directories. WEB-INF\lib has a
jar file called sakai-tunnel-sakai.1.5.0.jar. As far as what the xml file
looks like I've attached it in case you wanted to take a look at the whole
thing, but the pertinent entries in
F:/usr/local/sakai/sakai-dispatch/WEB-INF/web.xml are as follows:

  !-- dispatch for /portal --
  servlet
servlet-name
  dispatch-portal
/servlet-name
servlet-class
  org.sakaiproject.tunnel.TunnelServlet
/servlet-class
init-param
  param-nameredirect-context/param-name
  param-value/sakai-portal/param-value
/init-param
init-param
  param-nameredirect-path/param-name
  param-value/varuna/portal/param-value
/init-param
init-param
  param-namelog/param-name
  param-valuefalse/param-value
/init-param
load-on-startup1/load-on-startup
  /servlet

  ...

  servlet-mapping
servlet-name
  dispatch-portal
/servlet-name
url-pattern
  /portal/*
/url-pattern
  /servlet-mapping


Thanks Fritz,
Joe

-Original Message-
From: Fritz Schneider [mailto:[EMAIL PROTECTED]
Sent: Monday, April 18, 2005 2:11 PM
To: 'Tomcat Users List'
Subject: RE: Deploying Sakai 1.5.0 with Tomcat 5.5.7


Joe,

Do you also have a deployed application at
TOMCAT_HOME/webapps/sakai-dispatch? If so, what does its web.xml look like?

Fritz

-Original Message-
From: Joe Bautista [mailto:[EMAIL PROTECTED]
Sent: Monday, April 18, 2005 1:59 PM
To: tomcat-user@jakarta.apache.org
Subject: Deploying Sakai 1.5.0 with Tomcat 5.5.7

Hi everyone,

I'm trying to deploy Sakai 1.5.0 with Tomcat 5.5.7. I've received several
emails from people on the sakai user group telling me that Sakai 1.5.0
hasn't been proven to run with Tomcat 5.5.7, but I wanted to learn a little
bit on my own, so I'm trying to make it work.

Part of the sakai build process involves dropping several .xml files into
the TOMCAT_HOME/conf/Catalina/localhost. One of the files,
sakai-dispatch.xml, is supposed to redirect the base path of Tomcat with the
following line:

Context path=/ docBase=f:/usr/local/sakai/sakai-dispatch
crossContext=true

The problem is that when I type in http://localhost:80/; into the URL (my
port is 80 by default, not 8080), nothing comes up. I know that the base
path hasn't been changed to / because the index.html file in
F:/user/local/sakai/sakai-dispatch is supposed to a redirect, but that's not
happening.

My question is this:

What process/program/class is responsible for reading and acting on the
directives in sakai-dispatch.xml? Doesn't it look like this isn't being
done?

Thanks in advance,
Joe Bautista


-
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: Reflection for custom taglibs killing performance...

2005-04-18 Thread Kevin Burton
QM wrote:
On Mon, Apr 18, 2005 at 02:19:15PM -0700, Kevin Burton wrote:
: So its clearly not JUST reflected methods its something else on top of 
: it

What does your profiler report?
-QM
 

I can't for the life of me figure it out!
It certainly reports that doTag is taking a LOT of time but not WHY its 
taking a lot of time.

Its reporting that reflection is hurting performance but this is only 
about 200ms vs 2500ms for the tag stuff.

So I might have been wrong that Reflection is causing the problem and it 
MIGHT be a problem with the tag constructor or some other issue which is 
causing performance problems.

Are there any options or any other ways to make .tag files which could 
change this behavior?

I'm all ears...
--
Use Rojo (RSS/Atom aggregator)! - visit http://rojo.com. 
See irc.freenode.net #rojo if you want to chat.

Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html
  Kevin A. Burton, Location - San Francisco, CA
 AIM/YIM - sfburtonator,  Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412 

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


Find login information from tomcat security

2005-04-18 Thread Gia Thornton
Hi,
   I am using Form-based tomcat security.  I use a servlet to find login 
information such as the principal name, all the role names for this principal.  
I can use request.getUserPrincipal() from
javax.servlet.http.HttpServletRequest.  Is there anyway I can use 
GenericPrincipal class from package org.apache.catalina.realm of Tomcat in 
servlet?  Thank you for your help.
 
 
regards,




-
Yahoo! Mail Mobile
 Take Yahoo! Mail with you! Check email on your mobile phone.

Re: Set group id using jsvc?

2005-04-18 Thread Parsons Technical Services
Why not make the user that Tomcat runs at a member of the group you need it 
in?

Why do you need to change the group if it is set ahead of time?
Doug
- Original Message - 
From: QM [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, April 18, 2005 9:25 PM
Subject: Re: Set group id using jsvc?


On Mon, Apr 18, 2005 at 12:50:26PM -0400, Nick Johnson wrote:
: I know that jsvc will let you set the user id of the tomcat process,
: but will it also let you set the group id of the process?
Off the top of my head I don't know; but you can grep the source code
for setgid()  (or even setegid()).  That call sets group membership.
Do you need jsvc to run Tomcat on a privileged port?  If not, you could
use erni[1] for fine-tuned group membership.
-QM
[1] = http://www.brandxdev.net/erni/index.site
--
software   -- http://www.brandxdev.net/
tech news  -- http://www.RoarNetworX.com/
code scan  -- http://www.JxRef.org/
-
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: Find login information from tomcat security

2005-04-18 Thread howarddy3
I'm also interested in how to get that principal info and maybe how to 
overwrite or add methods.


 -- Original message --
From: Gia Thornton [EMAIL PROTECTED]
 Hi,
I am using Form-based tomcat security.  I use a servlet to find login 
 information such as the principal name, all the role names for this 
 principal.  
 I can use request.getUserPrincipal() from
 javax.servlet.http.HttpServletRequest.  Is there anyway I can use 
 GenericPrincipal class from package org.apache.catalina.realm of Tomcat in 
 servlet?  Thank you for your help.
  
  
 regards,
 
 
 
   
 -
 Yahoo! Mail Mobile
 Take Yahoo! Mail with you! Check email on your mobile phone.


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



php tomcat solaris 9 configuration

2005-04-18 Thread Edwin Hernandez
Hi all!!
 
I am lost and I need help! I have tomcat running in a Solaris 9 server 
and I need to be able to install and configure PHP and Mysql to run 
with tomcat. Is there a step by step document to do this? 
 
Thanks,
Edwin


-
Do you Yahoo!?
 Plan great trips with Yahoo! Travel: Now over 17,000 guides!

Re: Trouble with SecurityManager with Tomcat 5.5

2005-04-18 Thread howarddy3
Maybe I'm too naive here but what are the file permissions and does your 
windows environment have domain or active directory control???


 -- Original message --
From: Josef Vosyka [EMAIL PROTECTED]
 Hi,
 
 I've got 3 exceptions, when I run simple webapp under SecurityManager with 
 standard
 policy file and:
 -IntelliJ 4.5
 -JDK 5.0
 -Tomcat 5.5
 
 The exceptions are:
 
 SEVERE: Parse error in default web.xml
 java.security.AccessControlException: access denied 
 (java.lang.RuntimePermission
 accessClassInPackage.org.apache.catalina.core)
 
 SEVERE: Parse error in application web.xml
 java.security.AccessControlException: access denied (java.io.FilePermission
 D:\usr\tomcat-5.5\common\lib\servlet-api.jar read)
 
 SEVERE: Parse error in default web.xml
 java.security.AccessControlException: access denied 
 (java.lang.RuntimePermission
 accessClassInPackage.org.apache.catalina.core)
 
 
 The standard policy file indeed contains the following:
 
 grant codeBase file:${catalina.home}/common/- {
 permission java.security.AllPermission;
 };
 
 The accessClassInPackage problem disappears when I add this:
 
 permission java.lang.RuntimePermission accessClassInPackage.org.apache;
 permission java.lang.RuntimePermission accessClassInPackage.org.apache.*;
 permission java.lang.RuntimePermission 
 accessClassInPackage.org.apache.catalina;
 permission java.lang.RuntimePermission 
 accessClassInPackage.org.apache.catalina.*;
 permission java.lang.RuntimePermission 
 accessClassInPackage.org.apache.catalina.core;
 permission java.lang.RuntimePermission 
 accessClassInPackage.org.apache.catalina.core.*;
 
 
 But the FilePermission remains even after adding the explicit and redundant:
 
 grant codeBase file:${catalina.home}/common/lib/- {
 permission java.security.AllPermission;
 };
 
 or even this:
 
 grant codeBase file:${catalina.home}/common/lib/servlet-api.jar {
 permission java.security.AllPermission;
 };
 
 I'm really hopeless to locate the cause of the problems. Seems like this 
 should 
 work out
 of the box.
 
 Any help is appreciated in advance.
 Thanks!
 --Josef
 
 -
 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]



php tomcat solaris 9 configuration

2005-04-18 Thread Edwin Hernandez
Hi all!!

I am lost and I need help! I have tomcat running in a Solaris 9 server 
and I need to be able to install and configure PHP and Mysql to run 
with tomcat. Is there a step by step document to do this? 

Thanks,
Edwin

 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: Reflection for custom taglibs killing performance...

2005-04-18 Thread Dakota Jack
Why don't you break it down and find out where the time is going?

On 4/18/05, Kevin Burton [EMAIL PROTECTED] wrote:
 QM wrote:
 
 On Mon, Apr 18, 2005 at 02:19:15PM -0700, Kevin Burton wrote:
 : So its clearly not JUST reflected methods its something else on top of
 : it
 
 What does your profiler report?
 
 -QM
 
 
 
 I can't for the life of me figure it out!
 
 It certainly reports that doTag is taking a LOT of time but not WHY its
 taking a lot of time.
 
 Its reporting that reflection is hurting performance but this is only
 about 200ms vs 2500ms for the tag stuff.
 
 So I might have been wrong that Reflection is causing the problem and it
 MIGHT be a problem with the tag constructor or some other issue which is
 causing performance problems.
 
 Are there any options or any other ways to make .tag files which could
 change this behavior?
 
 I'm all ears...
 
 --
 
 Use Rojo (RSS/Atom aggregator)! - visit http://rojo.com.
 See irc.freenode.net #rojo if you want to chat.
 
 Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html
 
Kevin A. Burton, Location - San Francisco, CA
   AIM/YIM - sfburtonator,  Web - http://peerfear.org/
 GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
You can lead a horse to water but you cannot make it float on its back.
~Dakota Jack~

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



Re: Reflection for custom taglibs killing performance...

2005-04-18 Thread Kevin Burton
Dakota Jack wrote:
Why don't you break it down and find out where the time is going?
 

So in summary.. now that I'm suspicious that its a tag instantiation 
issue I'm going to load up the webapp with FULL instrumentation... its 
about 8x slower but I think I'll need that level of granularity here.

Anyway... I'm off to Thailand for 2 weeks (*woot!*) and I'll let you 
guys know the status when I get back.

Thanks!
--
Use Rojo (RSS/Atom aggregator)! - visit http://rojo.com. 
See irc.freenode.net #rojo if you want to chat.

Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html
  Kevin A. Burton, Location - San Francisco, CA
 AIM/YIM - sfburtonator,  Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412 

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


Temp File Bloat

2005-04-18 Thread Dakota Jack
I am getting a major build up in my temp directory:

c://application/j2se
c://application/server
c://application/server/webapps/ROOT
c://application/temp

The files being stored there are keeping resources, e.g. thumbnail
images, in the air, making them unavailable for modication.  Can
someone tell me what is up?  Thanks.

Jack


-- 
You can lead a horse to water but you cannot make it float on its back.
~Dakota Jack~

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