On Sat, 12 Apr 2008 19:03:25 +0200, [Ricardo Rodriguez] Your EPEC Network ICT Team wrote
Hi,
rssh wrote:
JDK1.4 docs http://java.sun.com/j2se/1.4.2/docs/api/ (see java,sql.types)
JDK1.6 docs http://java.sun.com/javase/6/docs/api/
So, all typoes which exists in J2SE1.6 but not in J2SE1.4 must be commented out.
Done. Build successful. The new .jar in on place, xwiki.cfg modified and XWiki restarted. All seems ok. Thanks!
Now, I've tried by copying and pasting first code snippet in your site to a dummy page here. As JNDI is not set up, I was expecting an error message stating that lack of configuration. But nothing is logged neither to catalina.out nor to xwiki.log.
I've extracted log4j.properties to /xwiki/WEB-INF/classes and added the lines:
## Added by rrodriguez to debug xwikisql XWiki plugin log4j.logger.ua.gradsoft.xwikisql=debug
Could you figure out why I am not getting any error? Thanks once again!
Something really change. let's test all steps. 1. plugin is installed. test page: $plugin = $xwiki.sql plugin is $plugin (page must print something like 'plugin is ua.gradsoft.xwikisql.SqlPluginApi$3333' ) 2. database is retrieved test page: $plugin = $xwiki.sql plugin is $plugin <br> $db = $plugin.getDatabase('myDs'); db is $db (page must print something like 'plugin is ua.gradsoft.xwikisql.SqlPluginApi$3333' db is '$db' (if it was not found) ) and in xwiki.log we will see error message. (also, check, that you have no entry xwikisql.logEnabled=false in you xwiki.cfg ) If not - something very strange, will think about new experiments.
Ricardo
I will test this.
Great! Any new will be welcome.
Cheers,
Ricardo
-- Ricardo RodrŠguez Your EPEC Network ICT Team
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ruslan Shevchenko GradSoft. http://www.gradsoft.ua