Re: [Resin-interest] java mysql and utf8

2008-04-07 Thread Mattias Jiderhamn
Try on the database driver in resin.conf /Mattias - Original Message - Subject: [Resin-interest] java mysql and utf8 Date: Sat, 05 Apr 2008 07:57:21 +0200 From: Riccardo Cohen Hello I have a problem to build a full utf-8 application. I made a little sample that displays a list of ite

[Resin-interest] Is resin-3.1.x compatible with jdk 1.6?

2008-04-07 Thread Liao Xuefeng
Is resin-3.1.x compatible with jdk 1.6? thanks! ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest

Re: [Resin-interest] Is resin-3.1.x compatible with jdk 1.6?

2008-04-07 Thread wesley
Yeah - Original Message - From: "Liao Xuefeng" <[EMAIL PROTECTED]> To: Sent: Monday, April 07, 2008 5:20 PM Subject: [Resin-interest] Is resin-3.1.x compatible with jdk 1.6? > Is resin-3.1.x compatible with jdk 1.6? thanks! > > > ___ > resi

Re: [Resin-interest] java mysql and utf8

2008-04-07 Thread Riccardo Cohen
Thanks a lot it works perfectly ! Now that I see it, I admit that I should have read mysql connector docs more carefully. But actually everything is working so nice by defaults in general, and there are so many docs to read... Mattias Jiderhamn wrote: > Try > > on the database driver in re

Re: [Resin-interest] NullPointerException on invoking EntityManager.persist()

2008-04-07 Thread Emil Ong
On Sun, Apr 06, 2008 at 06:37:33PM +0100, Charles Lyons wrote: [snip] > So, is there something obviously wrong with what I'm doing or is this a > bug? If the latter, any idea when there will be a fix? Time permitting, I > can look into a fix myself. It looks like it might be something to do with

Re: [Resin-interest] Memory and slowdown...

2008-04-07 Thread Andrew Fritz
We got heap dump working. Didn't have it enabled in the config... I'm spending some time looking through the profiles and heap dump now to see if I can see anything of interest. Andrew Scott Ferguson wrote: On Apr 2, 2008, at 8:21 AM, Andrew Fritz wrote: Our production server

Re: [Resin-interest] resin-pro-3.1.s080331 / Openx / java.lang.ArrayIndexOutOfBoundsException: 12

2008-04-07 Thread Scott Ferguson
On Apr 6, 2008, at 2:23 PM, Stargazer wrote: > On first installation of openx, either the production version 2.4.4 or > beta 2.5.66, a java.lang.ArrayIndexOutOfBoundsException: 12 is thrown > immediately. It seems at one point Openads worked as there is a > mention > of it here: http://wiki.ca

Re: [Resin-interest] Memory and slowdown...

2008-04-07 Thread Sandeep Ghael
Hi Scott, I work with Andrew and we are still fighting this problem. Thanks for the advice.. we are analyzing the heap dump as you suggest. For added color to the problem, linked is an image of one of our servers load (courtesy of Munin). The other server behaves similarly, but the two do not m

Re: [Resin-interest] NullPointerException on invoking EntityManager.persist()

2008-04-07 Thread Charles Lyons
>Can you try your example on the latest snapshot? It contains a few >Amber fixes. If you're still getting the error in the snapshot, I'll >file it as a bug. I have already tried on the snapshot from 31st March and get exactly the same NPE stack trace as on 3.1.5 open source. If you need any mor

Re: [Resin-interest] Memory and slowdown...

2008-04-07 Thread Andrew Fritz
So after doing some more research, and comparing the profiles of one server (just restarted) to the other server in the loaded state I've got a lead so to speak, but I'm not sure what it means... On the loaded server about 34% of the time is spent in "readNative" compared to 80%+ on the unload

Re: [Resin-interest] Memory and slowdown...

2008-04-07 Thread Scott Ferguson
On Apr 7, 2008, at 9:18 AM, Sandeep Ghael wrote: Hi Scott, I work with Andrew and we are still fighting this problem. Thanks for the advice.. we are analyzing the heap dump as you suggest. For added color to the problem, linked is an image of one of our servers load (courtesy of Munin).

Re: [Resin-interest] resin-pro-3.1.s080331 / Openx / java.lang.ArrayIndexOutOfBoundsException: 12

2008-04-07 Thread Stargazer
Scott Ferguson wrote: > On Apr 6, 2008, at 2:23 PM, Stargazer wrote: > > >> On first installation of openx, either the production version 2.4.4 or >> beta 2.5.66, a java.lang.ArrayIndexOutOfBoundsException: 12 is thrown >> immediately. It seems at one point Openads worked as there is a >> men

Re: [Resin-interest] resin-pro-3.1.s080331 / Openx / java.lang.ArrayIndexOutOfBoundsException: 12

2008-04-07 Thread Stargazer
Stargazer wrote: > Scott Ferguson wrote: > >> On Apr 6, 2008, at 2:23 PM, Stargazer wrote: >> >>> beta 2.5.66, a java.lang.ArrayIndexOutOfBoundsException: 12 is thrown >>> I have more information - I just ran up a Drupal 6.1 installation and saw the same exception, java.lang.ArrayI

Re: [Resin-interest] NullPointerException on invoking EntityManager.persist()

2008-04-07 Thread Charles Lyons
Okay, I have successfully traced the source of this problem. Firstly, I'm using the current MySQL Connector/J 5.1.5 binary. I was using the recommended MySQL driver (as per all the Resin tutorials) which is: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource However, if I change this

Re: [Resin-interest] Memory and slowdown...

2008-04-07 Thread Knut Forkalsrud
On Apr 7, 2008, at 9:18 AM, Sandeep Ghael wrote: -Xdebug In my experience the debug switch sometimes causes the JVM to behave erratically under heavy load. I would get rid of it and try again. -Knut ___ resin-interest mailing list