dev@glassfish.java.net

Re: Anyone else try using the admin gui to create a MySQL DataSource in prelude GA

From: Yifeng <Yifeng.Luo_at_Sun.COM>
Date: Thu, 30 Oct 2008 14:09:06 -0700

Lance,

Using b28c, I am not able to reproduce.

Configuration:

server installed on solaris 10 sparc, client browser is mozilla 1.7.12
(the minimum version we support)

-Yifeng

 Lance J. Andersen wrote:

> Just wondering if I am the only person encountering a problem
> creating a MySQL connection pool as I am getting an Exception on
> prelude GA (I am on XP) via the admin gui
>
>
> Via the admin gui, I added the following entries for the Connection pool
>
> Name: Mysql-testdb-pool
> Resource: javax.sql.DataSource
> DataBase Vendor: MySQL
>
> And when I hit the next button, i get the following error
>
>
> Note I do not see this for a JavaDB pool.
>
> -lance
>
>
> HTTP Status 500 -
>
> ------------------------------------------------------------------------
>
> *type* Exception report
>
> *message*
>
> *description*The server encountered an internal error () that
> prevented it from fulfilling this request.
>
> *exception*
>
>javax.servlet.ServletException: java.lang.reflect.InvocationTargetException while attempting to process a 'command' event for 'nextButton'.
>
> *root cause*
>
>java.lang.RuntimeException: java.lang.reflect.InvocationTargetException while attempting to process a 'command' event for 'nextButton'.
>
> *root cause*
>
>java.lang.reflect.InvocationTargetException
>
> *root cause*
>
>java.lang.RuntimeException: java.lang.reflect.InvocationTargetException while attempting to process a 'beforeCreate' event for 'page1'.
>
> *root cause*
>
>java.lang.reflect.InvocationTargetException
>
> *root cause*
>
>java.lang.ClassCastException: java.lang.Boolean cannot be cast to com.sun.appserv.management.config.PropertyConfig
>
> *note* _The full stack traces of the exception and its root causes are
> available in the GlassFish/v3 logs._
>
>