Re: [Resin-interest] NPE at com.caucho.quercus.lib.db.JdbcConnectionResource$TableKey.equals(JdbcConnectionResource.java:933)

2008-01-13 Thread Emil Ong
On Sat, Jan 12, 2008 at 11:49:27AM +, Stargazer wrote:
 This seems to be fixed in Snapshot s080111 - great! The only problem 
 with it right now is the enourmous amount of logging caused by just 
 navigating the site, it seems each page visit generates screenfulls of 
 PHP traffic (logging? compilation?) in the resin log. Is this easy to 
 disable? Heres what the start looks like:
 
 12-Jan-2008 11:40:45 RESIN 3.1.4 
 a:4:{s:8:col_info;a:4:{i:0;O:8:stdClass:13:{s:8:not_null;i:1;s:11:primary_key;i:0;s:8:unsigned;i:0;s:4:blob;i:0
 ;s:10:unique_key;i:0;s:3:def;s:0:;s:4:name;s:8:var_name;s:4:type;s:6:string;s:7:numeric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s:10:
 max_length;i:0;s:5:table;s:12:pligg_config;}i:1;O:8:stdClass:13:{s:8:not_null;i:1;s:11:primary_key;i:0;s:8:unsigned;i:0;s:4:blob;i:0;s:10:u

Looks like some debugging statements slipped into the snapshot.  There's
likely to be another snapshot before the next release, which is about
4 weeks away.  They should be gone in that one.  You could also try to
grab the code from SVN and compile it yourself in a couple of days, but
it might not be as stable as the snapshot (which also has not undergone
our full release QA).

Thanks for letting us know that it's working for you!

Best,
Emil



Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:[EMAIL PROTECTED]

Caucho: Reliable Open Source
-- Resin: application server
-- Quercus: PHP in Java
-- Hessian Web Services


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] NPE at com.caucho.quercus.lib.db.JdbcConnectionResource$TableKey.equals(JdbcConnectionResource.java:933)

2008-01-12 Thread Stargazer
Emil Ong wrote:
 On Tue, Jan 01, 2008 at 02:51:37PM +, Stargazer wrote:
   
 Following 
 http://www.caucho.com/resin-3.1/doc/quercus-list-of-applications.xtp#pligg 
 (note the first line is wrong, it should be web-app 
 xmlns=http://caucho.com/ns/resin;) with resin 3.1.4a (on XP) and you get


   500 Servlet Exception

 ||

 java.lang.NullPointerException
  at 
 com.caucho.quercus.lib.db.JdbcConnectionResource$TableKey.equals(JdbcConnectionResource.java:933)
  at com.caucho.util.LruCache.get(LruCache.java:174)
  at 
 com.caucho.quercus.lib.db.JdbcConnectionResource.getTableMetaData(JdbcConnectionResource.java:461)
  at 
 com.caucho.quercus.lib.db.MysqlModule.mysql_fetch_field(MysqlModule.java:358)
 

 That looks like a bug.  I filed it here:
  
 http://bugs.caucho.com/view.php?id=2283

 I've also fixed the namespace issue in the docs.

 Thanks for the report!
 Emil
   
This seems to be fixed in Snapshot s080111 - great! The only problem 
with it right now is the enourmous amount of logging caused by just 
navigating the site, it seems each page visit generates screenfulls of 
PHP traffic (logging? compilation?) in the resin log. Is this easy to 
disable? Heres what the start looks like:

12-Jan-2008 11:40:45 RESIN 3.1.4 
a:4:{s:8:col_info;a:4:{i:0;O:8:stdClass:13:{s:8:not_null;i:1;s:11:primary_key;i:0;s:8:unsigned;i:0;s:4:blob;i:0
;s:10:unique_key;i:0;s:3:def;s:0:;s:4:name;s:8:var_name;s:4:type;s:6:string;s:7:numeric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s:10:
max_length;i:0;s:5:table;s:12:pligg_config;}i:1;O:8:stdClass:13:{s:8:not_null;i:1;s:11:primary_key;i:0;s:8:unsigned;i:0;s:4:blob;i:0;s:10:u


 

 Emil Ong
 Chief Evangelist
 Caucho Technology, Inc.
 Tel. (858) 456-0300
 mailto:[EMAIL PROTECTED]

 Caucho: Reliable Open Source
 -- Resin: application server
 -- Quercus: PHP in Java
 -- Hessian Web Services


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



   




___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] NPE at com.caucho.quercus.lib.db.JdbcConnectionResource$TableKey.equals(JdbcConnectionResource.java:933)

2008-01-02 Thread Emil Ong
On Tue, Jan 01, 2008 at 02:51:37PM +, Stargazer wrote:
 Following 
 http://www.caucho.com/resin-3.1/doc/quercus-list-of-applications.xtp#pligg 
 (note the first line is wrong, it should be web-app 
 xmlns=http://caucho.com/ns/resin;) with resin 3.1.4a (on XP) and you get
 
 
   500 Servlet Exception
 
 ||
 
 java.lang.NullPointerException
   at 
 com.caucho.quercus.lib.db.JdbcConnectionResource$TableKey.equals(JdbcConnectionResource.java:933)
   at com.caucho.util.LruCache.get(LruCache.java:174)
   at 
 com.caucho.quercus.lib.db.JdbcConnectionResource.getTableMetaData(JdbcConnectionResource.java:461)
   at 
 com.caucho.quercus.lib.db.MysqlModule.mysql_fetch_field(MysqlModule.java:358)

That looks like a bug.  I filed it here:
 
http://bugs.caucho.com/view.php?id=2283

I've also fixed the namespace issue in the docs.

Thanks for the report!
Emil



Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:[EMAIL PROTECTED]

Caucho: Reliable Open Source
-- Resin: application server
-- Quercus: PHP in Java
-- Hessian Web Services


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] NPE at com.caucho.quercus.lib.db.JdbcConnectionResource$TableKey.equals(JdbcConnectionResource.java:933)

2008-01-01 Thread Stargazer
Stargazer wrote:
 Following 
 http://www.caucho.com/resin-3.1/doc/quercus-list-of-applications.xtp#pligg 
   
I ought to add that I'm sure its not  my setup as the instructions for 
MediaWiki on that page work perfectly. Also, the Pligg setup page does 
seem to work and the npe only appears once the main app starts.




___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest