Unable to start tomacat....

2008-09-13 Thread Pankaj Jain
I am unable to start the tomcat . Whenever i click on start button it shows me some steps but after that it remain stop. Plz help me

number of worker threads in Tomcat 6

2008-09-13 Thread Madhav
Hi, I want to know the values of maxThreads, minSpareThreads parameters as well as the number of 'available' worker threads inside a servlet in Tomcat 6. I tried googling with -- find worker threads in Tomcat-- and similar phrases but was not able to get the above info. Could anyone help me ? Tha

RE: Question is answered. See Bill Barker-2 answer (update)

2008-09-13 Thread kazukin6
And yes, for us it' not possible to give users to change only parts of jsp's and deny execution of these parts based on some credential assessments executed during some tags kazukin6 wrote: > > Martin, thanks for a guide! I took a look at the Jetspeed (and portlet > specifications too) and it

RE: Question is answered. See Bill Barker-2 answer

2008-09-13 Thread kazukin6
Martin, thanks for a guide! I took a look at the Jetspeed (and portlet specifications too) and it seems pretty intresting. I'll definetely study it. The only thing that scares me that spec-s (http://www.jcp.org/aboutJava/communityprocess/review/jsr168/) wasnt updated since 2003 And yes, you real

RE: JNDI configuration in webapp/META-INF/context.xml

2008-09-13 Thread walterw
Hi, Thanks for your reply, but I am still getting the same error. [code] Caused by: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1150)

RE: Question is answered. See Bill Barker-2 answer

2008-09-13 Thread Martin Gainty
that was a 30 second solution amongst 100 different solutions so maybe you want to categorise the jsps and then enable / disable view/update/delete of the resources in those categories depending on the authenticated credentials of the user for this scenario you might want to look at portals and

Question is answered. See Bill Barker-2 answer

2008-09-13 Thread kazukin6
Hi, Martin Thanks for the answer I see, what you mean, but the problem is slightly different The matter is that our users can change jsp files whatever they like via administrative interface, so we want to restrict the use of scriplets in these jsp's because of possible abuses Bill Barker-2 prov

RE: JNDI configuration in webapp/META-INF/context.xml

2008-09-13 Thread Martin Gainty
Walter: check your META-INF/context.xml attribute useNaming="true" http://tomcat.apache.org/tomcat-5.5-doc/config/context.html HTH Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official b

RE: Disable java code execution <%blabla%> in jsp, but permits tags

2008-09-13 Thread Martin Gainty
use ths struts if tag to conditionally disable the code <%@ taglib prefix="s" uri="/struts-tags"%> Will Not Be Executed http://struts.apache.org/2.0.11.2/docs/if.html datorită struts Martin __ Disclaimer and confidentiality note Everything in

Re: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-13 Thread Johnny Kewl
- Original Message - From: "André Warnier" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Saturday, September 13, 2008 2:01 PM Subject: Re: Migrating to tomcat 6 gives formatted currency amounts problem Johnny Kewl wrote: If you do decide to look at this link... http://java.sun

JNDI configuration in webapp/META-INF/context.xml

2008-09-13 Thread walterw
Hi all, I have tried setting up JNDI for my web application inside the applicaton's WAR file itself to no avail. If I use the same configuration, but put it in my server's context.xml, it works fine. Here is the configuration I am using: [code] WEB-INF/web.xml META-IN

Re: application to windows -> linux

2008-09-13 Thread Johnny Kewl
khaled, Listen... you got to try help us here... How are you deploying it... unpacked, from a war, thru manager Are you dropping the same war into webapps on both systems? And post the actual error logs... Theres a big diff between noclassdef and noclassfound for example... What are you gett

Re: Disable java code execution <%blabla%> in jsp, but permits tags

2008-09-13 Thread kazukin6
We want them to be able to customize information they get from our system by using custom tags H. Hall wrote: > > kazukin6 wrote: >> Plz Help !! >> Is it possible to disable all java code execution within jsp page (by >> security manager or something) >> but allow custom tags to be executed? >>

Re: application to windows -> linux

2008-09-13 Thread khaled
yes my classes are located in WEB-INF/classes folde 2008/9/13 Martin Gainty <[EMAIL PROTECTED]> > > did you verify your classes are located in WEB-INF/classes folder > > e.g. > WEB-INF/classes/projet/Testuser.class > > ? > Martin > __ > Disclaimer and

Re: Disable java code execution <%blabla%> in jsp, but permits tags

2008-09-13 Thread H. Hall
kazukin6 wrote: Plz Help !! Is it possible to disable all java code execution within jsp page (by security manager or something) but allow custom tags to be executed? The problem is that the users can change jsp files, and due to security reasons we can allow them to use only tags Why are u

RE: application to windows -> linux

2008-09-13 Thread Martin Gainty
did you verify your classes are located in WEB-INF/classes folder e.g. WEB-INF/classes/projet/Testuser.class ? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. Th

Re: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-13 Thread André Warnier
Caldarale, Charles R wrote: From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Migrating to tomcat 6 gives formatted currency amounts problem so, Java is still 16-bit Unicode in its char primitive, but you can use ints to hold UTF-16 values using 21-bits? The 21-bit values are re

Re: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-13 Thread André Warnier
Johnny Kewl wrote: If you do decide to look at this link... http://java.sun.com/javase/technologies/core/basic/intl/faq.jsp#core-locale The above link seems to be extremely informative, right on the spot for this thread. Thanks. Among other things, it points out that changing the "default l

Re: application to windows -> linux

2008-09-13 Thread Johnny Kewl
- Original Message - From: "khaled" <[EMAIL PROTECTED]> To: Sent: Saturday, September 13, 2008 9:04 AM Subject: application to windows -> linux Hi , j' have developped a Web JSP application, with tomcat in Windows the application works well, then when i have to test in linux it po

application to windows -> linux

2008-09-13 Thread khaled
Hi , j' have developped a Web JSP application, with tomcat in Windows the application works well, then when i have to test in linux it post error that tomcate does not find my classes in /WEB-INF/classes/projet at : how I can solve this problem thank you !