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

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: Resource auth=Container driverClassName=oracle.jdbc.OracleDriver maxActive=20 maxIdle=10 maxWait=-1 name=jdbc/someName password=somePassword type=javax.sql.DataSource

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

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

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

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

2012-08-17 Thread Busfy,Peter
Hello, here is my Resource Resource auth=Container driverClassName=oracle.jdbc.OracleDriver maxActive=20 maxIdle=10 maxWait=-1 name=jdbc/someName password=somePassword type=javax.sql.DataSource url=jdbc:oracle:thin:@host:port:dbname username=someUsername/ I tried also

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:

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

2012-08-17 Thread Konstantin Kolinko
2012/8/17 Busfy,Peter peter.bu...@drei.com: 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/).

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

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

Re: Problem with uploading large files

2012-08-17 Thread Konstantin Kolinko
2012/8/17 Sahana Voleti sahanasithmas...@gmail.com: 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).

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

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 ! just for

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 behavior etc.

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

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: hostConfigClass attribute

2012-08-17 Thread Konstantin Kolinko
2012/8/16 Schulz-Hildebrandt, Ole ole.schulz-hildebra...@ppimedia.de: 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 Host element in the server.xml. This allowed to customize the order

Re: Problem with uploading large files

2012-08-17 Thread Konstantin Kolinko
2012/8/17 Sahana Voleti sahanasithmas...@gmail.com: 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

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 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 jose_raul_co...@merck.comwrote: I wonder if you are downloading to a FAT formattted drive which has a limit of 4GB per file. -Original Message- From: Konstantin

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

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

2012-08-17 Thread Konstantin Kolinko
2012/8/17 Matt Quackenbush quackfu...@gmail.com: 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:

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,

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: Tomcat 7.0.29 vs. Groovy with Java 7

2012-08-17 Thread Konstantin Kolinko
2012/8/16 Jess Holle je...@ptc.com: 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

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 je...@ptc.com: 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:

Fwd: help using JspC from the command line in 7

2012-08-17 Thread Aryeh Friedman
-- Forwarded message -- From: Aryeh Friedman aryeh.fried...@gmail.com 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

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 christova...@gmail.com 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

Re: help using JspC from the command line in 7

2012-08-17 Thread Konstantin Kolinko
2012/8/18 Aryeh Friedman aryeh.fried...@gmail.com: -- Forwarded message -- From: Aryeh Friedman aryeh.fried...@gmail.com 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

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

Re: Tomcat 7.0.29 vs. Groovy with Java 7

2012-08-17 Thread Konstantin Kolinko
2012/8/18 Jess Holle je...@ptc.com: 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.

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.