Re: tomcat with jcaptcha

2008-07-06 Thread WILLIAMer
Sorry my english is poor. I use the version 5.5.20. and i add one line like under let the "eCom" becomes root in tomcat/conf/server.xml "" before tag markt-2 wrote: > > WILLIAMer wrote: >> Sorry i forget to write down the environment. >> The application used by tomcat version 5.5 and LINUX. >

RE: tomcat with jcaptcha

2008-07-06 Thread WILLIAMer
I trace the jcaptcha code. Jcaptcha set a parameter name "captchaId" in session when this servlet use(when link to login.page). And when user submit the form.Its will get "captchaId" from session. Then compare the two "captchaId". So i system out the "captchaId", and see whats wrong. when i link

RE: tomcat 6 and docBase problem

2008-07-06 Thread Angelo Chen
hi, Thanks for the response, i did not set 'allowLinking', but the app still runs ok, the only problem is the error in Error starting static Resources. I updated context.xml to be like this : the error still there, forgive my ignorance, what's the use of Document base really? Thanks, Angel

Re: tomcat with jcaptcha

2008-07-06 Thread Mark Thomas
WILLIAMer wrote: Sorry i forget to write down the environment. The application used by tomcat version 5.5 and LINUX. There are currently 27 different 5.5.x versions. Knowing which one you are using would help. You still haven't told us how you made "eCom" the 'default' webapp. Mark -

RE: tomcat with jcaptcha

2008-07-06 Thread WILLIAMer
Sorry i forget to write down the environment. The application used by tomcat version 5.5 and LINUX. Caldarale, Charles R wrote: > >> From: WILLIAMer [mailto:[EMAIL PROTECTED] >> Subject: tomcat with jcaptcha >> >> I have an application named "eCom" unnder the tomcat/webapps and using >> jcatpch

RE: tomcat with jcaptcha

2008-07-06 Thread Caldarale, Charles R
> From: WILLIAMer [mailto:[EMAIL PROTECTED] > Subject: tomcat with jcaptcha > > I have an application named "eCom" unnder the tomcat/webapps and using > jcatpcha with the login page. > I set the eCom becomes the root dir(path) with the server.xml. Probably a fatal mistake, but since you didn't bot

RE: tomcat 6 and docBase problem

2008-07-06 Thread Caldarale, Charles R
> From: Angelo Chen [mailto:[EMAIL PROTECTED] > Subject: tomcat 6 and docBase problem > > java.lang.IllegalArgumentException: Document base > /usr/local/apache-tomcat-6.0.16/webapps/abc does not > exist or is not a readable directory at > org.apache.naming.resources.FileDirContext.setDocBase(FileDi

tomcat with jcaptcha

2008-07-06 Thread WILLIAMer
Hi! all, I have an application named "eCom" unnder the tomcat/webapps and using jcatpcha with the login page. I set the eCom becomes the root dir(path) with the server.xml. So, http://myDomain/ will equal http://myDomain/eCom/. And its seems ok and work with every page. But there is an error when

tomcat 6 and docBase problem

2008-07-06 Thread Angelo Chen
Hi, I try to use the virtual hosting of Tomcat 6, it's working, but always has this Document base complain in the log, any idea how to fix this? here is server.xml then I created a link: ln -s /home/abc /usr/local/apache-tomcat-6.0.16/abcapps here is the warning from the log: java.lang.Il

Re: [6.0.16] JNDI, MSSQL, context.xml, server.xml, web.xml, common/lib, DataSources, exceptions, configuration hell, vague tutorials, hidden documentation, lions, tigers, bears, oh my...

2008-07-06 Thread J Ilari Moilanen
You have already solved the problems you had but just one more thing to add. You had problems with different Tomcat version but from the quote below I see that you also had problems with different MS sql Server versions as well... For example I have these setting in production use for SQL server 20

Re: Access Local File System

2008-07-06 Thread Johnny Kewl
- Original Message - From: "bperquku" <[EMAIL PROTECTED]> To: Sent: Sunday, July 06, 2008 7:32 PM Subject: Re: Access Local File System Thank you all of you, I currently using JBuilder 2007, i cannot find conf/Catalina/. I don't know how to configure that file. Thnx a lot ...

Re: configuring tomcat6.0.16 for MS Access

2008-07-06 Thread T . K . Thiyagarajan
Thanks to Johny Kewl his suggestion 'making the datasource as System data source' while configuring MS-Windows ODBC administration works perfectly. Earlier I configured my databse file as User data source. Now every thing works perfectly for me without doing any thing in 'conext'. Thanks again Joh

Re: Bean in session scope

2008-07-06 Thread Johnny Kewl
- Original Message - From: "Axel Leucht" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, July 06, 2008 6:05 PM Subject: Bean in session scope I'm currently operating an Apache webserver 2.2.4 in front of an Apache tomcat 6.0.16. Both are working together via mod_proxy. I'

Re: Access Local File System

2008-07-06 Thread bperquku
Thank you all of you, I currently using JBuilder 2007, i cannot find conf/Catalina/. I don't know how to configure that file. Thnx a lot -- View this message in context: http://www.nabble.com/Access-Local-File-System-tp18296333p18304395.html Sent from the Tomcat - User mailing list archive

Re: [6.0.16] JNDI, MSSQL, context.xml, server.xml, web.xml, common/lib, DataSources, exceptions, configuration hell, vague tutorials, hidden documentation, lions, tigers, bears, oh my...

2008-07-06 Thread Johnny Kewl
Thanks Jason... Did you know that its sitting right there inside you tomcats help files... http://localhost:8080/docs/jndi-datasource-examples-howto.html ;) When you type... http://localhost:8080 it will give you the intro page, worth a few clicks ;) --- - Original Messa

RE: [6.0.16] JNDI, MSSQL, context.xml, server.xml, web.xml, common/lib, DataSources, exceptions, configuration hell, vague tutorials, hidden documentation, lions, tigers, bears, oh my...

2008-07-06 Thread Caldarale, Charles R
> From: Jason Cipriani [mailto:[EMAIL PROTECTED] > Subject: Re: [6.0.16] JNDI, MSSQL, context.xml, server.xml, > web.xml, common/lib, DataSources, exceptions, configuration > hell, vague tutorials, hidden documentation, lions, tigers, > bears, oh my... > > Thanks again for pointing that out, and so

Re: [6.0.16] JNDI, MSSQL, context.xml, server.xml, web.xml, common/lib, DataSources, exceptions, configuration hell, vague tutorials, hidden documentation, lions, tigers, bears, oh my...

2008-07-06 Thread Jason Cipriani
On Sun, Jul 6, 2008 at 11:04 AM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: >> From: Jason Cipriani [mailto:[EMAIL PROTECTED] >> Subject: [6.0.16] JNDI, MSSQL, context.xml, server.xml, >> web.xml, common/lib, DataSources, exceptions, configuration >> hell, vague tutorials, hidden documentation

Bean in session scope

2008-07-06 Thread Axel Leucht
I'm currently operating an Apache webserver 2.2.4 in front of an Apache tomcat 6.0.16. Both are working together via mod_proxy. I'm trying to execute the NumberGuess sample provided with tomcat via the webserver. I can access the webapp successfully. The jsp page declares a bean in session scop

RE: [6.0.16] JNDI, MSSQL, context.xml, server.xml, web.xml, common/lib, DataSources, exceptions, configuration hell, vague tutorials, hidden documentation, lions, tigers, bears, oh my...

2008-07-06 Thread Caldarale, Charles R
> From: Jason Cipriani [mailto:[EMAIL PROTECTED] > Subject: [6.0.16] JNDI, MSSQL, context.xml, server.xml, > web.xml, common/lib, DataSources, exceptions, configuration > hell, vague tutorials, hidden documentation, lions, tigers, > bears, oh my... > > http://tomcat.apache.org/tomcat-5.5-doc/jndi-d

Re: Access Local File System

2008-07-06 Thread Johnny Kewl
- Original Message - From: "Paolo Niccolò Giubelli" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, July 06, 2008 10:10 AM Subject: Re: Access Local File System It's very similar to the situation I described few days ago, so I quote what Caldarale told me: It's not real

Re: Access Local File System

2008-07-06 Thread Paolo Niccolò Giubelli
It's very similar to the situation I described few days ago, so I quote what Caldarale told me: It's not really difficult. Define a element for an additional webapp that targets the external directory via a docBase attribute, and place that element in conf/Catalina/[host]/[newAppName].xml; u