Re: error while shutting down tomcat

2012-08-17 Thread Ijlal EL HAZITI
Good evening Ognjen I understand that it's an access to mysql problem. So I gave the user sakai all permissions required, and re-verified the file catalina.properties (where I should put mysql username and the password) but in vain. I still have the same error. I appreciate anu suggestions. Regar

Re: Tomcat 7.0.29 vs. Groovy with Java 7

2012-08-17 Thread Konstantin Kolinko
2012/8/18 Jess Holle : > Until it is updated, Tomcat's annotation scanning will be broken for some > Java 7 byte code. That's not really a tenable state long term. > I have filed an issue, as this really needs to be addressed before Tomcat 8 is released. https://issues.apache.org/bugzilla/show_b

RE: tomcat and DB oracle problem - only in higher versions

2012-08-17 Thread Jeffrey Janner
Yes, you really want ot match the OJDBC version to the Java version. The trailing number tells you what Java version the library was compiled under. From experience, ojdbc14 works just fine with Java5, but not Java6. Java6 really wants the ojdbc6 library, but you need to be careful about the ve

Re: help using JspC from the command line in 7

2012-08-17 Thread Konstantin Kolinko
2012/8/18 Aryeh Friedman : > -- Forwarded message -- > From: Aryeh Friedman > Date: Fri, Aug 17, 2012 at 5:33 PM > Subject: help using JspC from the command line in 7 > To: tomcat-u...@tomcat.apache.org > > > I have figured out most of how to compile JSP from the command line > but

Fwd: Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled

2012-08-17 Thread Christovam Paynes Silva
-- Forwarded message -- From: Christovam Paynes Silva Date: 2012/8/17 Subject: Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled To: users-h...@tomcat.apache.org Hello Guys, I'm using an Ubuntu 11.10 - 64 bits and a tomcat 7.0.27 with jd

Fwd: help using JspC from the command line in 7

2012-08-17 Thread Aryeh Friedman
-- Forwarded message -- From: Aryeh Friedman Date: Fri, Aug 17, 2012 at 5:33 PM Subject: help using JspC from the command line in 7 To: tomcat-u...@tomcat.apache.org I have figured out most of how to compile JSP from the command line but I am now stuck on this: % java -cp /usr/

Re: Tomcat 7.0.29 vs. Groovy with Java 7

2012-08-17 Thread Jess Holle
On 8/17/2012 3:18 PM, Konstantin Kolinko wrote: 2012/8/16 Jess Holle : It appears that when one installs the groovy-all-2.0.1-indy.jar in a Tomcat web app, BCEL chokes on the Java 7 specific byte-code therein ala org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag i

Re: Tomcat 7.0.29 vs. Groovy with Java 7

2012-08-17 Thread Konstantin Kolinko
2012/8/16 Jess Holle : > It appears that when one installs the groovy-all-2.0.1-indy.jar in a Tomcat > web app, BCEL chokes on the Java 7 specific byte-code therein ala > >org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte > tag in constant pool: 15 > at > org.apac

Re: Problem with uploading large files

2012-08-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sahana, On 8/17/12 8:33 AM, Sahana Voleti wrote: > I am trying to upload really large files (size about 10GB) using > the Apache commons upload. I have followed the steps properly, > increased the java heap size and the maxPostSize in tomcat (I am >

Re: org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8043]]

2012-08-17 Thread Matt Quackenbush
Thank you for the reply, Konstantin. I am not yet sure what precisely caused the problem, but I just now replaced my WEB-INF with a fresh one, and the issue vanished. If/when I am able to determine the cause, I will post back. Thanks again for taking the time to read and reply! On Fri, Aug 17, 2

Re: org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8043]]

2012-08-17 Thread Konstantin Kolinko
2012/8/17 Matt Quackenbush : > > OS: XUbuntu 12.04, 64-bit > Tomcat: 7.0.26.0 (private instance installation: > https://help.ubuntu.com/12.04/serverguide/tomcat.html) > JVM: Sun 1.6.0_32-b05 > > org.apache.catalina.startup.Catalina start > SEVERE: Catalina.start: > org.apache.catalina.Lifecycle

RE: tomcat and DB oracle problem - only in higher versions

2012-08-17 Thread Propes, Barry L
Yes, I believe you do. I had to change to that -- odbc6 -- upon moving to JDK 1.6. Which I swore I had or needed to do when moving from Tomcat 4.1.3, but maybe I don't recall that part correctly. -Original Message- From: Busfy,Peter [mailto:peter.bu...@drei.com] Sent: Friday, August 17

Re: Problem with uploading large files

2012-08-17 Thread Sahana Voleti
Its NTFS drive Cosio Also thanks Kolinko. I shall try and let you know. On Fri, Aug 17, 2012 at 7:30 PM, Cosio, Raul wrote: > I wonder if you are downloading to a FAT formattted drive which has a > limit of 4GB per file. > > -Original Message- > From: Konstantin Kolinko [mailto:knst.koli.

RE: Problem with uploading large files

2012-08-17 Thread Cosio, Raul
I wonder if you are downloading to a FAT formattted drive which has a limit of 4GB per file. -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Viernes, 17 de Agosto de 2012 08:56 a.m. To: Tomcat Users List Subject: Re: Problem with uploading large files

Re: Problem with uploading large files

2012-08-17 Thread Konstantin Kolinko
2012/8/17 Sahana Voleti : > Konstantin Kolinko, > You mentioned the following in your mail: > "You can add the following: "%{content-length}i" to your Access Log > Valve configuration to log the Content-Length header of the incoming > request." > Can you elaborate as to how to make this change. 1.

Re: hostConfigClass attribute

2012-08-17 Thread Konstantin Kolinko
2012/8/16 Schulz-Hildebrandt, Ole : > Hi, > > I'm working with tomcat 7.0.29. In tomcat 5.x.x it was possible to use a > custom HostConfig class by setting the hostConfigClass attribute at a > element in the server.xml. This allowed to customize the order webapps were > started, to avoid deploy

Re: Problem with uploading large files

2012-08-17 Thread Sahana Voleti
Konstantin Kolinko, You mentioned the following in your mail: "You can add the following: "%{content-length}i" to your Access Log Valve configuration to log the Content-Length header of the incoming request." Can you elaborate as to how to make this change. Regards, Sahana On Fri, Aug 17, 2012 at

Re: Problem with uploading large files

2012-08-17 Thread Sahana Voleti
Ognjen Blagojevic , Konstantin Kolinko, By unsuccessful I mean that the file fails to upload. Following the Apache commons upload guidelines, the data first comes in chunks into a temp directory and after all the data is collected there it saves it in the permanent directory. In my case, data comes

Re: required web applications which run on tomcat

2012-08-17 Thread Daniel Mikusa
On Aug 17, 2012, at 9:01 AM, Daniel Mikusa wrote: > On Aug 17, 2012, at 8:55 AM, Ragini wrote: > >> Hi all, >> >> I am looking for some web applications which run on tomcat. I need them >> to do some experiments for my research. I would like to do some attacks, >> try to do some malicious behavi

Re: required web applications which run on tomcat

2012-08-17 Thread Daniel Mikusa
On Aug 17, 2012, at 8:55 AM, Ragini wrote: > Hi all, > > I am looking for some web applications which run on tomcat. I need them > to do some experiments for my research. I would like to do some attacks, > try to do some malicious behavior etc. Absolutely with no intention to > harm people ! jus

Fwd: required web applications which run on tomcat

2012-08-17 Thread Ragini
Hi all, I am looking for some web applications which run on tomcat. I need them to do some experiments for my research. I would like to do some attacks, try to do some malicious behavior etc. Absolutely with no intention to harm people ! just for my research work. Could some body please mail me

Re: Problem with uploading large files

2012-08-17 Thread Konstantin Kolinko
2012/8/17 Sahana Voleti : > Hello list, > > I am trying to upload really large files (size about 10GB) using > the Apache commons upload. I have followed the steps properly, increased > the java heap size and the maxPostSize in tomcat (I am using tomcat version > 7.0.29). Also I am using Wind

Re: Problem with uploading large files

2012-08-17 Thread Ognjen Blagojevic
Sahana, On 17.8.2012 14:33, Sahana Voleti wrote: I am trying to upload really large files (size about 10GB) using the Apache commons upload. I have followed the steps properly, increased the java heap size and the maxPostSize in tomcat (I am using tomcat version 7.0.29). Also I am using W

Problem with uploading large files

2012-08-17 Thread Sahana Voleti
Hello list, I am trying to upload really large files (size about 10GB) using the Apache commons upload. I have followed the steps properly, increased the java heap size and the maxPostSize in tomcat (I am using tomcat version 7.0.29). Also I am using Windows XP , 2GB RAM machine. Here is wha

Re: tomcat and DB oracle problem - only in higher versions

2012-08-17 Thread Konstantin Kolinko
2012/8/17 Busfy,Peter : > Hi again, > > so I try ojdbc6.jar (version 11.2.0.3.0) with tomcat 6.0.35 and the same > problem. > With version 6.0.26 is everything fine. > 6.0.26 and 6.0.35 include different versions of Apache Commons DBCP library (http://commons.apache.org/dbcp/). You may look into

Re: error while shutting down tomcat

2012-08-17 Thread Ognjen Blagojevic
Ijal, On 17.8.2012 1:18, Ijlal EL HAZITI wrote: Well, I have a full access to the server, Here is the logs file, hope it helps. Great, now take a look at your log files, and try to understand what they are trying to tell you. Hint: "Access denied for user 'sa'@'localhost' (using password: N

RE: tomcat and DB oracle problem - only in higher versions

2012-08-17 Thread Busfy,Peter
Hello, here is my Resource I tried also accessToUnderlyingConnectionAllowed="true" but with no effect. It doesn't work. The same problem. It seems to me like some "bug" in Tomcat not in Spring, but who knows. Peter Busfy 3 Portal Hutchison 3G Austria GmbH Gasometer C Guglgasse 12/10/3 1110

RE: tomcat and DB oracle problem - only in higher versions

2012-08-17 Thread Busfy,Peter
Yes we use hibernate 3.2 and org.hibernate.dialect.Oracle10gDialect, because there is no dialect for Oracle 11. And ojdbc4.jar is on classpath. No problem for tomcat 6.0.26 :-) Peter Busfy 3 Portal Hutchison 3G Austria GmbH Gasometer C Guglgasse 12/10/3 1110 Vienna Mobil: +43-660-7313346 mailto

AW: hostConfigClass attribute

2012-08-17 Thread Schulz-Hildebrandt, Ole
Hi Mark, thanks for your reply. I'm now using a custom Host implementation. Instead of adding the hostConfigClass attribute etc. I overwrote addLifecycleListener (replacing the default HostConfig by my custom HostConfig) so I am also no longer dependent on this hostConfigClass rule. Best regar

RE: tomcat and DB oracle problem - only in higher versions

2012-08-17 Thread Busfy,Peter
No there is no reference for DBCP in jar neither in xml files. Peter Busfy 3 Portal Hutchison 3G Austria GmbH Gasometer C Guglgasse 12/10/3 1110 Vienna Mobil: +43-660-7313346 mailto:peter.bu...@drei.com http://www.drei.at -Original Message- From: Propes, Barry L [mailto:barry.l.pro..

RE: tomcat and DB oracle problem - only in higher versions

2012-08-17 Thread Busfy,Peter
Hi again, so I try ojdbc6.jar (version 11.2.0.3.0) with tomcat 6.0.35 and the same problem. With version 6.0.26 is everything fine. Peter Busfy 3 Portal   Hutchison 3G Austria GmbH Gasometer C Guglgasse 12/10/3 1110 Vienna Mobil: +43-660-7313346 mailto:peter.bu...@drei.com http://www.drei.at

RE: tomcat and DB oracle problem - only in higher versions

2012-08-17 Thread Busfy,Peter
Hello Chris, so we running from Eclipse on Tomcat. In Tomcat server.xml we specify datasource: And here is main database configuration xml: java:comp/env/jdbc/someName

RE: tomcat and DB oracle problem - only in higher versions

2012-08-17 Thread Busfy,Peter
Hi Jeffrey, actually we use ojdbc14.jar. And it is version 10.2.0.2.0. Maybe I should really try ojdbc6.jar because ojdbc4.jar is for jdk4. I will try it and let you know. Peter Busfy 3 Portal   Hutchison 3G Austria GmbH Gasometer C Guglgasse 12/10/3 1110 Vienna Mobil: +43-660-7313346 mailto:pet