Re: server push with GWT and Tomcat

2007-09-16 Thread Achim Abeling
Hi, I started to implement a solution (I hope so) which is discussed in http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/5e851d1b960e303e Best regards Achim - To start a new topic, e-mail: users@tomcat.a

Re: tomcat incoming requests and thread usage

2007-09-16 Thread Waseem Azhar
How do I take a thread dump ? Are you talking about the heap snapshot/dump ?? Thanks, -Azhar On 9/15/07, Bill Barker <[EMAIL PROTECTED]> wrote: > > "Waseem Azhar" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hi, > > > > Could sombody tell me how tomcat release/reclaim it thr

RE: Changing ROOT context

2007-09-16 Thread Caldarale, Charles R
> From: StrongGorilla [mailto:[EMAIL PROTECTED] > Subject: Re: Changing ROOT context > > I downloaded the Servlet Spec 2.5 pdf, but it says nothing > about "ROOT". Correct; the name ROOT is Tomcat's way of denoting the default context, replacing the older path="" mechanism. - Chuck THIS COM

RE: Changing ROOT context

2007-09-16 Thread Caldarale, Charles R
> From: StrongGorilla [mailto:[EMAIL PROTECTED] > Subject: RE: Changing ROOT context > > Strange that is it possible when I define to context > in server.xml, but not possible when I define it in > conf/catalina/localhost/ROOT.xml I suspect that the webapp was deployed twice, once as the default

Re: Changing ROOT context

2007-09-16 Thread StrongGorilla
Hi David, I downloaded the Servlet Spec 2.5 pdf, but it says nothing about "ROOT". http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html David Smith-2 wrote: > > Have you thought about renaming $CATALINA_HOME/webapps/myroot to > $CATALINA_HOME/webapps/ROOT ? The servlet spec i

RE: Changing ROOT context

2007-09-16 Thread StrongGorilla
Strange that is it possible when I define to context in server.xml, but not possible when I define it in conf/catalina/localhost/ROOT.xml Caldarale, Charles R wrote: > >> From: FastGorilla [mailto:[EMAIL PROTECTED] >> Subject: Changing ROOT context >> >> How can I change ROOT to myroot, and

Re: Changing ROOT context

2007-09-16 Thread StrongGorilla
Yes, I have tried $CATALINA_HOME/conf/catalina/localhost/ROOT.xml Filip Hanik - Dev Lists wrote: > > have you tried to create a file called ROOT.xml in > conf/Catalina/localhost containing your tag? > (of course, remove webapps/ROOT first) > Filip > > FastGorilla wrote: >> Hi, >> >> I have

RE: Case Insensitive Context Path

2007-09-16 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Gunnar Wagenknecht > Subject: Case Insensitive Context Path > > I wonder how to make the context path of a webapp case insensitive? I believe the URI RFC requires that it be case sensitive. You might be able to write a valve for the or that d

Re: Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2007-09-16 Thread David Smith
Tomcat's database pooling implements a slightly refactored version of the Commons DBCP project -- packages were renamed to avoid conflicts should a developer decide to use the Commons DBCP library in their own app. You can find a complete list of possible attributes for the Resource definition

Case Insensitive Context Path

2007-09-16 Thread Gunnar Wagenknecht
Hi, I wonder how to make the context path of a webapp case insensitive? I tried setting the caseSensitive to false. However, that does not seem to affect the webapp context path. This is on a vanilla TC 6.0. I checked the documentation as well as Google but couldn't find the right answer. Any ti

RE: Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2007-09-16 Thread Caldarale, Charles R
> From: Ken Bowen [mailto:[EMAIL PROTECTED] > Subject: Re: Datasource: Cannot load JDBC driver class > 'com.mysql.jdbc.Driver' > > type="javax.sql.DataSource" > maxActive="100" maxIdle="30" maxWait="1" > validationQuery="select 1" >

RE: Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2007-09-16 Thread Caldarale, Charles R
> From: Ken Bowen [mailto:[EMAIL PROTECTED] > Subject: Re: Datasource: Cannot load JDBC driver class > 'com.mysql.jdbc.Driver' > > BUT: It is running and yet my META-INF/context.xml > still contains the path and docBase attributes. In your case, they are probably being ignored, but no one can

Re: Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2007-09-16 Thread Ken Bowen
Chuck, Thanks. As Dave pointed out, my core difficulty was a permissions problem. BUT: It is running and yet my META-INF/context.xml still contains the path and docBase attributes. Where can I read up on what should be in META-INF/context.xml ?? RE: By intercepting and discarding the orig

RE: Changing ROOT context

2007-09-16 Thread Caldarale, Charles R
> From: FastGorilla [mailto:[EMAIL PROTECTED] > Subject: Changing ROOT context > > How can I change ROOT to myroot, and let > http://localhost:8080/test.txt be the url? You can't - the default context must be named ROOT. Just rename your webapp, as others have suggested. - Chuck THIS COMMU

Re: Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2007-09-16 Thread Ken Bowen
David, Bingo! Right on: Changed all permissions (chown -R tomcat myapp), and dropped the mysql jar from WEB-INF/lib, and it all works. Many thanks! I do hate it when I forget simple stuff like permissions. Moving things from Windows to *nix always does that to me. Side note question: Am

Re: Changing ROOT context

2007-09-16 Thread Filip Hanik - Dev Lists
have you tried to create a file called ROOT.xml in conf/Catalina/localhost containing your tag? (of course, remove webapps/ROOT first) Filip FastGorilla wrote: Hi, I have a problem with changing the default ROOT context to something else (myroot). Specs -Windows Vista -Tomcat 6.0.

Re: Changing ROOT context

2007-09-16 Thread David Smith
Have you thought about renaming $CATALINA_HOME/webapps/myroot to $CATALINA_HOME/webapps/ROOT ? The servlet spec is very clear that the ROOT webapp is a special webapp accepting all requests that do not match any other web application context. --David FastGorilla wrote: Hi, I have a problem

Changing ROOT context

2007-09-16 Thread FastGorilla
Hi, I have a problem with changing the default ROOT context to something else (myroot). Specs -Windows Vista -Tomcat 6.0.14 (latest) Problem I want the following directory to be the ROOT context: $CATALINA_HOME/webapps/myroot So that http://localhost/test.txt is directly

RE: Tomcat 6 classloading - problem loading DB drivers for JNDI-listed Datasources with cross-context portlet invocations

2007-09-16 Thread Caldarale, Charles R
> From: Paul ANDERSON [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 6 classloading - problem loading DB > drivers for JNDI-listed Datasources with cross-context > portlet invocations > > Excuse me, $CATALINA_HOME/lib is what I meant. Do you have the same jars in multiple nodes of any given b

RE: Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2007-09-16 Thread Caldarale, Charles R
> From: Ken Bowen [mailto:[EMAIL PROTECTED] > Subject: Datasource: Cannot load JDBC driver class > 'com.mysql.jdbc.Driver' > > MyApp AppListener: ENTER > DAOBaseData: Cannot load JDBC driver class > 'com.mysql.jdbc.Driver' By intercepting and discarding the original except

Re: Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2007-09-16 Thread David Smith
Don't 'copy' the mysql driver from WEB-INF/lib to TOMCAT_HOME/common/lib -- move it. It cannot be in both places at once. Also be sure the permissions are set correctly so tomcat can read the jar and be sure you've restarted tomcat after the move so the classloaders pick it up properly. I ha

Cannot instantiate ModelMBean when starting Tomcat 5.5

2007-09-16 Thread Lorin Sutton
Good day, While trying to get a Tomcat instance started up, I keep getting the stacktrace listed below. Note that this error only occurs when attempting to start the server in $CATALINA_BASE. If I set CATALINA_BASE = CATALINA_HOME, the server starts up fine. Further, the tomcat-users (see below

Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2007-09-16 Thread Ken Bowen
Hello, I'm working on a CENTOS 5 Linux setup. I'm trying to avoid the pre-loaded tomcat which was installed in /usr/share/tomcat5. I downloaded (from apache) and installed tomcat5.5.25 and installed it in /opt/tomcat5. I made sure the existing tomcat is not running and I renamed /usr/share/tom

RE: Tomcat 6 classloading - problem loading DB drivers for JNDI-listed Datasources with cross-context portlet invocations

2007-09-16 Thread Paul ANDERSON
Excuse me, $CATALINA_HOME/lib is what I meant. (Thanks for your interest, Chuck.) - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat 6 classloading - problem loading DB drivers for JNDI-listed Datasources with cross-context portlet invocations

2007-09-16 Thread Caldarale, Charles R
> From: Paul ANDERSON [mailto:[EMAIL PROTECTED] > Subject: Tomcat 6 classloading - problem loading DB drivers > for JNDI-listed Datasources with cross-context portlet invocations > > The driver JAR was in /lib. What do you mean by /lib? If you mean, $CATALINA_HOME/server/lib, that's incorrect

Re: PHP Security Vulnerability???

2007-09-16 Thread Wade Chandler
--- "Arend P. van der Veen" <[EMAIL PROTECTED]> wrote: ... > > >> Hi, > >> > >> This turned out to be a false positive. > >> > >> I use /cgi-bin as a url-pattern for a servlet mapping: > >> > >> > >> ProxyServlet > >> /cgi-bin/* > >> > >> > >> I essentially was se

Re: PHP Security Vulnerability???

2007-09-16 Thread Arend P. van der Veen
Martin Gainty wrote: Good Evening Aren Do you have data on this 'magic_quotes_gpc' vulnerability Thanks for the headsup-- Martin-- - Original Message - From: "Arend P. van der Veen" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, September 14, 2007 11:14 PM Subject: Re: PHP

Re: PHP Security Vulnerability???

2007-09-16 Thread Martin Gainty
Good Evening Aren Do you have data on this 'magic_quotes_gpc' vulnerability Thanks for the headsup-- Martin-- - Original Message - From: "Arend P. van der Veen" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, September 14, 2007 11:14 PM Subject: Re: PHP Security Vulnerability?

Tomcat 6 classloading - problem loading DB drivers for JNDI-listed Datasources with cross-context portlet invocations

2007-09-16 Thread Paul ANDERSON
When doing cross-context invocations of a portlet in Liferay that references container-managed Datasources by JNDI, I get:- Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver' java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver The driver JAR was in /lib. When I