RE: jk2.properties

2004-06-06 Thread Martinelli Paolo A.
Nice try, but unfortunately does not work... ;o)

What I want to do is to use the mx4j features implemented in Tomcat to collect 
statistical information and I need to move the jk2.properties file for a security 
issue.

By the way this is not my only problem, for example: the mx4j functionality embedded 
in Tomcat will start up an internal rmiregistry service at port 1099 (that seems not 
to be configurable).  This also means that the server running Tomcat cannot have a 
separate rmiregistry server running on port 1099.

I spent some time looking on the web for information on this topic, but I got the 
impression that the not so many people are interested in it or, may be, that this 
technology is still too young.

Any suggestion is wellcome.

Bye,

Paolo Martinelli
IrisCube Reply S.p.A.

-Original Message-
From: news on behalf of Bill Barker
Sent: Sun 6/6/2004 07:56
To: [EMAIL PROTECTED]
Subject: Re: jk2.properties
 
I've never tried it, but you should be able to set
jkHome=/path/to/new/home on the Connector element to have Tomcat look for
/path/to/new/home/conf/jk2.properties.

Of course, Tomcat will also use this as the base for any other relative file
references (e.g. the unix-socket file).

Martinelli Paolo A. [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all,

I need to move the jk2.properties file from the standard location, does
anyone knows how to do it???

Thanks,

Paolo Martinelli
IrisCube Reply S.p.A.




-
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: mod_jk2 connector

2004-06-06 Thread Ricky
Hi,
Thanks for replay.

I already comment all and the error disappear from Catalina.out
But still can not integrated apache 2 with tomcat 5.

Any ideas why?

Are there any other ways to connect tomcat 5 with apache 2?

Best Regards,

Ricky

-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED] 
Sent: Saturday, June 05, 2004 7:56 PM
To: Tomcat Users List
Subject: Re: mod_jk2 connector

Try commenting everything out in jk2.props, should get you connector 
working even if the jni stuff takes more work afterwards.

Mark

On 5 Jun 2004, at 12:23, Ricky wrote:

 Hi All,

 I have difficulty to make mod_jk2 connector to work. :-(

 I try to use Unix Channel from this tutorial :
 http://cymulacrum.net/writings/tomcat5/c840.html

 The problems are:

 -  Can not generated jk2.shm  jk2.socket

 -  Error in Catalina.out

 INFO: APR not loaded, disabling jni components: java.io.IOException:
 java.lang.UnsatisfiedLinkError: /usr/lib/apache2/jkjni.so:
 /usr/lib/apache2/jkjni.so: undefined symbol: apr_md5_final



 Here are my configurations:



 Jk2.properties

 handler.list=apr,request,channelUnix

 channelUnix.file=/var/cache/tomcat5/work/jk2.socket

 serverRoot=/etc/httpd/2.0

 apr.NativeSo=/etc/httpd/2.0/modules/jkjni.so



 workers2.properties

 [shm]

 info=Scoreboard. Requried for reconfiguration and status with
 multiprocess servers.

 file=/usr/share/tomcat5/logs/jk2.shm

 size=1048576

 debug=0

 disabled=0



  [channel.un:/usr/share/tomcat5/work/jk2.socket]

 tomcatId=localhost:8009

 debug=0



  [ajp13:/var/cache/tomcat5/work/jk2.socket]

 channel=channel.un:/usr/share/tomcat5/work/jk2.socket



  [uri:/jkstatus/*]

 group=status:status



 [status:status]

 info=Status worker, displays runtime information



 [uri:/examples/*]



 [uri:/MyFirst/*]



 [uri:/jkstatus/*]

 info=The Tomcat /jkstatus handler

 group=status:



 [uri:/ROOT/*]



 [uri:/tomcat-docs/*]



 [uri:/manager/*]







 Any help would be appreciated, thank you very much.



 Best Regards,



 Ricky Ign

 Virtual Map (www.virtual-map.com)







 CONFIDENTIALITY STATEMENT:

 This email and any attachment herein contains strictly confidential 
 information. The same are intended only for the named Recipient(s) as 
 above mentioned . In the event you are not named as a Recipient, we 
 ask that you inform us of this immediately. Do not disseminate 
 anything herein and please delete this message and any attachment in 
 its entirety from any system you may have control over.




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






CONFIDENTIALITY STATEMENT:

This email and any attachment herein contains strictly confidential information. The 
same are intended only for the named Recipient(s) as above mentioned . In the event 
you are not named as a Recipient, we ask that you inform us of this immediately. Do 
not disseminate anything herein and please delete this message and any attachment in 
its entirety from any system you may have control over.




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



Re: Test

2004-06-06 Thread Reynir Þór Hübner
we´re seeing this one.
hope it helps
-reynir
stella luna wrote:
is anyone seeing my posts? just want to be sure...i keep getting 
something that it is being bounced back

-
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: Re: Tomcat 4.1.30 HTTP-HTTPS redirect problem (second attempt)

2004-06-06 Thread Ryan Stewart
Ah, thanks! I'll have to go with option 2 as I'm pretty well tied to Tomcat 4 and I 
have to develop toward IE.

-Original Message-
From: Bill Barker[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Sat Jun 05 21:47:40 PDT 2004
Subject: Re: Tomcat 4.1.30 HTTP-HTTPS redirect problem (second attempt)

This is a pretty well known bug in MSIE.  The short version is that that TC
4.1.x sends two redirects to get you to the login page, and MSIE gets
confused.  The options to get around this are:
1) Don't use MSIE.
2) Use the default SSL port (e.g. 443).
3) Use TC 5.0.x instead of TC 4.1.x.

Ryan Stewart [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 I posted a question about this about a week ago, but haven't seen any
reply.

 I've set up Tomcat 4.1.30 for secure access via SSL. Unsecure port is
8080, secure port is 8081. I use Tomcat for J2EE application development,
and the problem is related to that. Using basic authentication, things work
fine. When I move from an unsecure to a secure area of my application, the
dialog box pops up and upon entering the correct user/password, I'm
redirected to the secure port. However, if I change to form based
authentication, when trying to send me to the login form, it sends me to the
unsecure port using https. In other words:
 https://localhost:8080/secureApp/login.jsp

 It should be sending me to 8081. Any clue why this would happen? Snippets
from my connectors in server.xml are below. If you need other info, just
ask.

 Connector className=org.apache.coyote.tomcat4.CoyoteConnector ...
 port=8080 ... redirectPort=8081 scheme=http secure=false ...
   Factory
 className=org.apache.catalina.net.DefaultServerSocketFactory/
 /Connector
 Connector className=org.apache.coyote.tomcat4.CoyoteConnector ...
 port=8009 ... redirectPort=8081 scheme=http secure=false ... 
   Factory
 className=org.apache.catalina.net.DefaultServerSocketFactory/
 /Connector
 Connector className=org.apache.catalina.connector.http.HttpConnector
 port=8081 ... scheme=https secure=true
   Factory className=org.apache.catalina.net.SSLServerSocketFactory
 clientAuth=false keystoreFile=.keystore protocol=TLS/
 /Connector


___
Check-out GO.com
GO get your free GO E-Mail account with expanded storage of 6 MB!
http://mail.go.com



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



Tomcat MaxThreads and sessions

2004-06-06 Thread ariel

Hi All,
I wonder if someone can help me:
I am using Apache 2.0.49 with AJP connector (mod_jk)  to Tomcat 5.0.19.
on a Red Hat Linux 8.0 3.2-7 Server.
This server serves ten thousands of users.
Lately (after upgrading to tomcat 5) I experience a strange problem: My 
server stops to respond to requests for approx. 10 minutes and than 
comes back to life.
I also got this message in the mod_jk log file: [jk_ajp_common.c 
(1303)]: ERROR: Client connection aborted or network problems
and in the Apache error log I found out this message: server reached 
MaxClients setting, consider raising the MaxClients setting.

I increased the MaxClients amount in the Apache configuration file and 
I wonder if I also need to increase the amount of threads handled by the 
AJP connector as well (seems that the MaxThreads attribute is not 
needed by the AJP connector )?

Is there a configuration of the amount of threads handled by the tomcat 
server because it seems to me that the tomcat server stops responding 
after reaching it max amount of threads and only after a timeout when 
the threads are released it goes back to life.

Also another question is if there is a limitation to the amount of 
sessions that the tomcat handles ?

Thanks in Advance,

Ariel Pessah
Project Manager
RD Team
MailVision LTD.

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


RFC and j_security_checks

2004-06-06 Thread Ben Bookey

Dear List,

Q.1 We implement the integrated security model inside our app context
[defined in server.xml ].


Realm className=org.apache.catalina.realm.JDBCRealm debug=99
driverName=oracle.jdbc.driver.OracleDriver
connectionURL=jdbc:oracle:thin:@   100.100.100.60:1521:ingeo
connectionName=ingeonew connectionPassword=ingeonew userTable=users
userNameCol=user_name userCredCol=user_pass userRoleTable=user_roles
roleNameCol=role_name /

When Tomcat 4.1.27 has been started and I goto the site, I get sometime
http://myapp/j_security_check in the navigation bar of my browser, and then
we  get a 500 error I believe (might even be 404). Could anyone explain what
could be going on ?


Q.2  We have inside our WEB-INF\classes directory a com.ourapp.appname with
all our database classes.

 When I copy the app, from our development windows machine on to the
linux server, and start tomcat there, it compiles the jsp files and
 servlets but not the java files inside the WEB-INF\classes DIR.

 How can I force Tomcat to compile all the contents of the WEB-INF dir
including the java classes we have written.


Q.3  I am actually amazed (and impressed) that the windows compiled classes,
work on the linux machine!! My understanding is that the compiled
 byte-code is operating system dependent. i.e. our windows .class files
should not be able to work on linux ? or am I imagining it ?

 I understood that write-once and run-anywhere meant that the java
files still needed to be recompiled ??



Q.4 I recently had a reply´to a question(in the Apache FileUpload commons
mailing list!) that the file name passed from a browser uploading to
a server is not set by any standard and he mentioned the RFC (after I
googled, I guess means Request for Change).

Who is actually responsible for determining the HTTP standard itself, is
there an org called
RFC or is it a mechanism of the WC3 ?


Looking forward to any replies.

regards,

BB








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



Re: HTTP header for dynamic pdf and IE6

2004-06-06 Thread Dean A. Hoover
Mark Lowe wrote:
I've seen this before ;o)
Try appending .pdf to the actual request.
/myapp/pdfgen.do;iehack=.pdf 
That's not what seems to matter. If I change
Content-Type from attachment to inline, the document
opens OK in Acrobat Reader but the Open/Save dialog
does not come up. As I stated in my email, the developers
of Yahoo mail have somehow pulled off a hack that works
as expected, I just can't seem to figure out how to replicate
it.

I've seen this used in teh xplanner project.
Mark
On 5 Jun 2004, at 11:52, Dean A. Hoover wrote:
I have a java web application that allows
an end-user in their browser to download
a file, which happens to be bytes stored
in a database.
In experimenting with how to do this, I have
this snippet of code in my servlet:
   AttachmentListItem attachment =
EmailSQL.getAttachmentListItem(connection, 3, 1);
   response.setContentType(attachment.getContentType());
   byte[] data =
EmailSQL.getAttachmentBytes(connection, 3, 1);
   response.setContentLength(data.length);
   response.setHeader(Content-Disposition,
attachment; filename=\ + attachment.getFileName() + 
\);
   ServletOutputStream out = response.getOutputStream();
   out.write(data);
   out.flush();
   out.close();

To test this out, I hit the link in my IE browser which brings up
a dialog box allowing me to Open or Save the file. If I save
the file, it does the right thing. If I press the open button, Acrobat
Reader opens up and then errors out with an alert box:
There was an error opening the document. The file does not exist.
I have a yahoo email account that I tried a test on. I sent an email
message with the same pdf file attached to that account. I wanted to
see if yahoo figured out how to make this work. They did! (but I can't
figure out how to replicate)
Their header looks like this:
Date: Thu, 03 Jun 2004 15:37:58 GMT
P3P: policyref=http://p3p.yahoo.com/w3c/p3p.xml;, CP=CAO DSP COR CUR
ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi
PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV
Content-Disposition: attachment; filename=reference.pdf
Connection: close
Transfer-Encoding: chunked
Content-Type: application/pdf; filename=foo.bar
.s4g--v=1
There is also some other stuff I am seeing just after the header: 
.s4g-v=1
which looks something like a query string, but I'm not sure.

My header looks like this:
HTTP/1.1 200 OK
Date: Thu, 03 Jun 2004 15:35:15 GMT
Server: Apache/2.0.40 (Red Hat Linux) mod_perl/1.99_07-dev Perl/v5.8.0
mod_jk/1.2.5 PHP/4.2.2 mod_python/3.0.1 Python/2.2.2 mod_ssl/2.0.40
OpenSSL/0.9.7a
Set-Cookie: JSESSIONID=DD3D0938B780EEBEBDC1B558CCBAD095; Path=/
Pragma: No-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Disposition: attachment; filename=reference.pdf
Content-Length: 214982
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: application/pdf;charset=UTF-8
Does anyone know how to work around this problem? I suppose
there are actually 2 parts to this:
1) What is the magic in the HTTP header that allows this to work?
2) How can one create such a header in java?
Thanks.
Dean Hoover

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


The mystery of the vanishing window - solved

2004-06-06 Thread sowmya
Hi all,

I solved the problem.  There was a ; in my JAVA_HOME
variable !! No idea how that managed to get there..but
thanks for your help everyone. 

I redirected the startup.bat file messages to another
file like Oswald mentioned - which had the message
about JAVA_HOME being not defined. So thanks a million
Oswald!!

Sowmya.




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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



Re: RFC and j_security_checks

2004-06-06 Thread Victor R. Cardona
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ben Bookey wrote:
| Q.3  I am actually amazed (and impressed) that the windows compiled
classes,
| work on the linux machine!! My understanding is that the compiled
|  byte-code is operating system dependent. i.e. our windows .class
files
| should not be able to work on linux ? or am I imagining it ?
|
|  I understood that write-once and run-anywhere meant that the java
| files still needed to be recompiled ??
The bytecode is OS independent. You don't need to recompile from source
to run on a different platform, because the Java Runtime reads and
executes the bytecode. So as long as you have a JRE on a platform, you
should be able to use .class files that were compiled on another
platform without any problems.
| Q.4 I recently had a reply´to a question(in the Apache FileUpload commons
| mailing list!) that the file name passed from a browser uploading to
| a server is not set by any standard and he mentioned the RFC (after I
| googled, I guess means Request for Change).
|
| Who is actually responsible for determining the HTTP standard
itself, is
| there an org called
| RFC or is it a mechanism of the WC3 ?
HTTP is an IETF standard, although W3C did do a lot of work on it. Check
~ their respective Websites for more details.
Victor
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAw02v8MW+BaXrmuERAqCjAJsG+DC/y2R1md46gzJVpPT/hhPEngCdHCiQ
QDoSz5q7ZSnMsfcv8d/XHk8=
=sS5L
-END PGP SIGNATURE-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


MOD_JK2 and Tomcat start page

2004-06-06 Thread stella luna
How to i get the default tomcat index.jsp page to appear using mod_jk2?
I got the examples to work, but mapping a uri to the ROOT does not do 
much for me.

I guess my ultimate goal is to be able to use the manager and admin 
tools.

Anyone have anythoughts on this?
TDG
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Disable session serialization?

2004-06-06 Thread Barnet Wagman
Thanks.  An example of  the Manager .../ element was not included in 
the sample server.xml in Tomcat 5.0.19

FYI (and for the archives) in Tomcat 5 (which I think has slightly 
different parameters than Tomcat 4), the following seems to work 
(although it's hard to test):

   Manager classname=org.apache.catalina.session.StandardManager
distributable=false
pathname=/dev/null /
I put it in the Host ... element (the Tomcat documentation was a bit 
opaque on this) and that seems to work.

bw
Tim Funk wrote:
(I have not tested this, but try)
Manager pathname=/dev/null/
Or the example server.xml in tomcat4.1 has this:
  Manager 
className=org.apache.catalina.session.PersistentManager
  debug=0
  saveOnRestart=true
  maxActiveSessions=-1
  minIdleSwap=-1
  maxIdleSwap=-1
  maxIdleBackup=-1
Store 
className=org.apache.catalina.session.FileStore/
  /Manager

Change saveOnRestart=true to saveOnRestart=false
-Tim
Barnet Wagman wrote:
Is there an example of Manager element anywhere on the web?
(Neither the Tomcat documentation nor the sample server.xml that 
comes with Tomcat has an example as far as I can tell)

Thanks
Tim Funk wrote:
http://jakarta.apache.org/tomcat/faq/misc.html#persist
-Tim
Barnet Wagman wrote:
Is it possible to disable session serialization?  If so how is it 
done,
and is it bad idea? Is this documented  anywhere?

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


Very sporatic problem of OLD value request.getQueryString()

2004-06-06 Thread Barnet Wagman
I've run into a /very/ sporatic problem and was wondering if anyone has 
had a similar problem (Tomcat 5.0.19).

I have a servlet that reads the query string from HttpServletRequest 
(ie. HttpServletRequest.getQueryString()).  Occasionally it seems to get 
an old version.  This only occurs at the beginning of a new session and 
only happens once per session.  After the first error, everything seems 
ok.  However, it does not occur at the beginning of every session.  Most 
of the time it doesn't happen.  Whether or not Tomcat has just been 
restarted does not seem to matter.

I've tested this servlet with the same version of Tomcat on two systems, 
a SuSE 9.1 system with Java build 1.4.2-b2 and a Redhat 9.0 system 
(which has slower hardware) with Java build 1.4.2_02-b03.  The error 
only occurs on the Redhat system.  I am /not/ suggesting that the 
problem has anything to do with Redhat (that seems extraordinarily 
unlikely) or the different Java builds (which also seems extraordinarily 
unlikely).

If you've had a similar experience or any thoughts about what might be 
going on, please let me know.

Thanks,
bw
PS I have session serialization turned off.


Problems with InitialContext and threads

2004-06-06 Thread Tim de Boer
Hi All

I have a problem with my Tomcat 4.1.24 installation which I'm hoping someone may have 
an answer for. I have a little quartz scheduler running in Tomcat which I start with a 
servlet (previously started with a listener but switched to servlet in the hope it 
might fix things - both ways produced the same error).

When I start Tomcat up in my development mode which has the configuration shown below 
all works fine. When I start up in production mode however there seems to be problems 
with *some* Quartz scheduler threads picking up the initialContext???

I have a little utility for printing out the name tree and the output varies between 
quartz threads??

Here is an example of the output
==

DEBUG[DefaultQuartzScheduler_Worker-4] HibernateUtils:79 - Beginning transaction
ERROR[DefaultQuartzScheduler_Worker-2] TomcatUtils:46 - 
javax.naming.NameNotFoundException: Name java: is not bound in this Context
DEBUG[DefaultQuartzScheduler_Worker-6] TomcatUtils:42 -  
PRINTING NAME TREE

 FINISHED PRINTING NAME TREE
DEBUG[DefaultQuartzScheduler_Worker-7] HibernateUtils:79 - Beginning transaction
DEBUG[DefaultQuartzScheduler_Worker-2] HibernateUtils:79 - Beginning transaction
DEBUG[DefaultQuartzScheduler_Worker-8] HibernateUtils:79 - Beginning transaction
DEBUG[DefaultQuartzScheduler_Worker-5] HibernateUtils:79 - Beginning transaction
ERROR[DefaultQuartzScheduler_Worker-9] TomcatUtils:40 - 
javax.naming.NameNotFoundException: Name java: is not bound in this Context
DEBUG[DefaultQuartzScheduler_Worker-9] HibernateUtils:79 - Beginning transaction
Sending Mail!
Sending Mail!
Sending Mail!
Sending Mail!
DEBUG[DefaultQuartzScheduler_Worker-1] TomcatUtils:48 -  
PRINTING NAME TREE

 FINISHED PRINTING NAME TREE
DEBUG[DefaultQuartzScheduler_Worker-6] HibernateUtils:79 - Beginning transaction
Sending Mail!
DEBUG[DefaultQuartzScheduler_Worker-0] TomcatUtils:42 -  
PRINTING NAME TREE

 FINISHED PRINTING NAME TREE
Sending Mail!
Sending Mail!
DEBUG[DefaultQuartzScheduler_Worker-2] TomcatUtils:42 -  
PRINTING NAME TREE
-comp
--UserTransaction
Couldn't traverse any part of name java:/comp/\UserTransaction: Name is not bound to a 
Context
--env
---jdbc
ln
Couldn't traverse any part of name java:/comp//env//jdbc/\ln: Name is not bound to a 
Context
--Resources
---WEB-INF
classes
(..and so on)


Here is my production config...
==

Server port=8005 shutdown=SHUTDOWN debug=0
!--  Listener className=org.apache.catalina.mbeans.ServerLifecycleListener 
debug=0/
  Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener 
debug=0/--

  Service name=Tomcat-Standalone

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=80 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=100 debug=0 connectionTimeout=2
   useURIValidationHack=false disableUploadTimeout=true /

Engine name=Standalone defaultHost=localhost debug=0
Host name=localhost debug=0 unpackWARs=false
Logger className=org.apache.catalina.logger.FileLogger
 directory=..\logs  prefix=tomcat_ suffix=.log
timestamp=true/
Context 
path=/ln 
docBase=LuckyNumbers 
debug=10

Resource name=jdbc/ln scope=Shareable type=javax.sql.DataSource/
ResourceParams name=jdbc/ln
parameter
namefactory/name
valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
/parameter
!-- DBCP database connection settings --
parameter
nameurl/name
valuejdbc:hsqldb:hsql://localhost/value
/parameter
parameter
namedriverClassName/name
valueorg.hsqldb.jdbcDriver/value
/parameter
parameter
nameusername/name
valuesa/value
/parameter
parameter
namepassword/name
value/value
/parameter
!-- DBCP connection pooling options --
parameter
namemaxWait/name
value3000/value
/parameter
parameter
namemaxIdle/name
value100/value
/parameter
parameter
namemaxActive/name
value10/value
/parameter
/ResourceParams
   /Context
/Host

/Engine
  /Service
/Server

Here is my development config...
==
Server port=8005 shutdown=SHUTDOWN debug=0
!--  Listener 

Katja Handtusch/268/DCAG/DCX ist außer Haus.

2004-06-06 Thread katja.handtusch




Ich werde ab  07.06.2004 nicht im Büro sein. Ich kehre zurück am
18.06.2004.

Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.
Bei dringenden Angelegenheiten wenden Sie sich bitte an meine Vertretung
Alexandra Pürschel (Tel.: 5463).


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



Re: Using EL

2004-06-06 Thread Keith Hankin
According to the spec, this is only true for Servlet 2.3 and earlier... 2.4
should, by default, automatically support ${var} anywhere in the page.

- Original Message -
From: Ariel Valentin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, June 06, 2004 7:10 AM
Subject: Re: Using EL


 I believe one must use the out tag to be able to display EL values c:out
 value=${var} /

 Mr. Ariel S. Valentin
 mailto: [EMAIL PROTECTED]




 From: Mark Lowe [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: Using EL
 Date: Sat, 5 Jun 2004 14:38:49 +0200
 
 I still use the 2.3 spec for my web.xml but i think you need something
like
 this to activate it
 
 
 jsp-config
  url-pattern*.jsp/url-pattern
  el-ignoredfalse/el-ignored
 /jsp-config
 
 The dtd should be able to show you where it should go (i.e in what
order).
 
 
 
 On 5 Jun 2004, at 14:22, Keith Hankin wrote:
 
 Sorry, copy error. I *did* specify [EMAIL PROTECTED] isELIgnored=false %
 That is why I got the error message I did.
 
 - Original Message -
 From: Mark Lowe [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Saturday, June 05, 2004 5:29 PM
 Subject: Re: Using EL
 
 
 Try
 
 %@ page isELIgnored=false %
 
 not
 
 % page isELIgnored=false %
 
 The tlds are in the jar files no need to have the tld's like
 traditional taglibs
 
 The below in your jsp should do the job.
 %@ page isELIgnored=false %
 %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c %
 c:set var=test value=Mellow world!! /
 ${test}
 
 
 HTH Mark
 
 On 5 Jun 2004, at 12:47, Keith Hankin wrote:
 
 I have a very simple JSP page that attempts to output the value of a
 variable using EL ${var} notation. However, it is just printing the
 ${var} literally. I am using Tomcat 5.0.19, and according to the JSP
 spec,
 since this supports 2.4 servlet spec, it should support EL by default.
 Anyhow, I tried adding:
  % page isELIgnored=false %
 to the beginning of the page, but then I get the following error:
 
 According to TLD or attribute directive in tag file, attribute
 value
 does not accept expressions.
 
 However, I do not have any TLD or tag file for this JSP file.
 
 
 
 -
 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]
 

 _
 Getting married? Find great tips, tools and the latest trends at MSN Life
 Events. http://lifeevents.msn.com/category.aspx?cid=married


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



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



Re: Where to put tld files for jarred custom taglibs?

2004-06-06 Thread Keith Hankin
The manifest doesnt' really have anything in it. Just the default manifest
that is created from jarring with ant task. Should it have anything special
for this to work?

- Original Message -
From: Ariel Valentin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, June 06, 2004 7:14 AM
Subject: Re: Where to put tld files for jarred custom taglibs?


 Keith,
 Have you tried unpacking the jar and see if everything is packed in the
 correct directory structure and that the Manifest file has the correct
info?

 Mr. Ariel S. Valentin
 mailto: [EMAIL PROTECTED]




 From: Keith Hankin [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: Where to put tld files for jarred custom taglibs?
 Date: Sat, 5 Jun 2004 17:59:38 +0530
 
 I read the article, did what it said exactly, but it *still* doesn't
work.
 It keeps complaining that it cannot find taglib.tld, but my tld file
 is not named taglib.tld. I even sent the author of that article an email
 but he didn't respond.
 
 - Original Message -
 From: M.Hockings [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, June 01, 2004 5:40 PM
 Subject: Re: Where to put tld files for jarred custom taglibs?
 
 
   STOCKHOLM, Raymond wrote:
How did you locate your tld in your JSP ?
   
something like this ?
%@ taglib uri=/WEB-INF/tld/form-tags.tld prefix=ftags %
   
-Message d'origine-
De : Keith Hankin [mailto:[EMAIL PROTECTED]
Envoyé : mardi 1 juin 2004 08:31
À : [EMAIL PROTECTED]
Objet : Where to put tld files for jarred custom taglibs?
   
   
I have created a custom taglib, extending TagSupport. I have
packaged
 the
class files into a jar. I have also added the tld file to this jar.
I
 then
place this jar file in my war file under WEB-INF/lib. However, no
 matter
where I place the tld file in the jar, it seems that Tomcat is
unable
 to
find it. I have read the documentation, which is as clear as mud on
 this
issue.
  
  
   Here is an article that you might find informative..
  
  

http://www.ibm.com/developerworks/java/library/j-jsp09023.html?ca=dgr-jw17j
-
 jsp09023
  
   Mike
  
  
   -
   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]
 

 _
 Check out the coupons and bargains on MSN Offers!
http://youroffers.msn.com


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



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