For the past one week I am trying to get my GWT app ported to use
Cloud SQL.
I am getting this error "java.lang.NoClassDefFoundError:
java.lang.management.ManagementFactory is a restricted class."
<persistence-unit name="MyPersistenceUnit">
<provider>org.hibernate.ejb.HibernatePersistence</
provider>
<class>com.ischooljoint.server.dto.SchoolDTO</class>
<properties>
<property name="hibernate.archive.autodetection"
value="class, hbm"/>
<property name="hibernate.show_sql" value="true"/>
<property name="hibernate.connection.driver_class"
value="com.mysql.jdbc.Driver"/>
<property name="hibernate.connection.username"
value="devuser"/>
<property name="hibernate.connection.password"
value="xxxx"/>
<property name="hibernate.connection.url"
value="jdbc:mysql://10.0.0.100/databzz"/>
<property name="hibernate.dialect"
value="org.hibernate.dialect.MySQLDialect"/>
<property name="hibernate.c3p0.min_size" value="5"/>
<property name="hibernate.c3p0.max_size" value="20"/>
<property name="hibernate.c3p0.timeout" value="300"/>
<property name="hibernate.c3p0.max_statements" value="50"/
>
<property name="hibernate.c3p0.idle_test_period"
value="200"/>
</properties>
</persistence-unit>
Can somebody SHED SOME LIGHT pls....
Thanks
Gana
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.