geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <kevan.mil...@gmail.com>
Subject Re: Creating SQL Server (jTDS) Pool failed
Date Tue, 23 Jun 2009 14:57:16 GMT

On Jun 22, 2009, at 11:55 AM, Florian Schaetz wrote:

> Hi,
>
> I'm using a (locally installed) Geronimo 2.1.4 with a Java JDK  
> 1.6.0.12
> and try to create a new "SQL Server (jTDS)" Pool with the web  
> console (
> Database Pools -> Using the Geronimo database pool wizard). I enter a
> name, choose "SQL Server (jTDS)" and click on the "Next" button - and
> find myself back at the "Database Pools" page, instead at the page  
> where
> I can edit the parameters.
>
> I did add a JTDS driver, both manually within the repository and by
> downloading it via Geronimo web console. Adding a new MySQL pool works
> fine, btw.
>
> There is no message in the console (neither web nor command), just  
> this
> text appears in the log file every time I try to do it:
>
> 2009-06-22 16:28:33,989 INFO  [SupportedModesServiceImpl] Portlet mode
> 'edit' not found for portletId: '/system-database.DBWizard! 
> 1134683811|0'
> 2009-06-22 16:28:33,989 INFO  [SupportedModesServiceImpl] Portlet mode
> 'help' not found for portletId: '/system-database.DBWizard! 
> 1134683811|0'
> 2009-06-22 16:28:34,005 INFO  [SupportedModesServiceImpl] Portlet mode
> 'edit' not found for portletId: '/system-database.RunSQLDS! 
> 1134683811|1'
> 2009-06-22 16:28:34,005 INFO  [XSRFHandler] Updated HTML content with
> XSRF JavaScript for
> requestURI=/console/portal//Services/Database%20Pools/__pm0x3system- 
> database0x2DBWizard!1134683811|0_view/__rp0x3system- 
> database0x2DBWizard!1134683811|0_adapterDisplayName/ 
> TranQL0x8Generic0x8JDBC0x8Resource0x8Adapter/__rp0x3system- 
> database0x2DBWizard!1134683811|0_mode/rdbms
>
> The strange thing is: Another coder, using the same geronimo version  
> (as
> we are working on the same project) has no problems creating a SQL
> Server (jTDS) Pool on his local geronimo.
>
> Has anyone got an idea what I'm doing wrong?

Don't see anything wrong that *you* are doing... ;-)

Those log messages look normal. However, they are generated during the  
"Create Database Pool -- Step 1" page creation -- before you are  
hitting next. What web browser are you using?

Are there any environmental differences between your system and your  
colleague's (who is able to create the pool)? Web Browser, OS, Java  
version, etc.

FYI, here's approximately what you'd see in the log, if the "Next"  
button was working...

2009-06-23 10:50:19,500 INFO  [SupportedModesServiceImpl] Portlet mode  
'edit' not found for portletId: '/system-database.DBWizard!1134683811|0'
2009-06-23 10:50:19,500 INFO  [SupportedModesServiceImpl] Portlet mode  
'help' not found for portletId: '/system-database.DBWizard!1134683811|0'
2009-06-23 10:50:19,514 INFO  [SupportedModesServiceImpl] Portlet mode  
'edit' not found for portletId: '/system-database.RunSQLDS!1134683811|1'
2009-06-23 10:50:19,522 INFO  [XSRFHandler] Updated HTML content with  
XSRF JavaScript for requestURI=/console/portal//Services/Database 
%20Pools/__pm0x3system-database0x2DBWizard!1134683811%7C0_view/ 
__rp0x3system-database0x2DBWizard!1134683811%7C0_mode/rdbms/ 
__rp0x3system-database0x2DBWizard!1134683811%7C0_adapterDisplayName/ 
TranQL0x8Generic0x8JDBC0x8Resource0x8Adapter
2009-06-23 10:55:02,396 INFO  [SupportedModesServiceImpl] Portlet mode  
'edit' not found for portletId: '/system-database.DBWizard!1134683811|0'
2009-06-23 10:55:02,396 INFO  [SupportedModesServiceImpl] Portlet mode  
'help' not found for portletId: '/system-database.DBWizard!1134683811|0'
2009-06-23 10:55:02,417 INFO  [SupportedModesServiceImpl] Portlet mode  
'edit' not found for portletId: '/system-database.RunSQLDS!1134683811|1'
2009-06-23 10:55:02,430 INFO  [XSRFHandler] Updated HTML content with  
XSRF JavaScript for requestURI=/console/portal//Services/Database 
%20Pools/__pm0x3system-database0x2DBWizard!1134683811%7C0_view/ 
__rp0x3system-database0x2DBWizard!1134683811%7C0_name/foo/ 
__rp0x3system-database0x2DBWizard!1134683811%7C0_rarPath/ 
org0x2tranql0x3tranql-connector-ra0x30x3rar/__rp0x3system- 
database0x2DBWizard!1134683811%7C0_mode/params/__rp0x3system- 
database0x2DBWizard!1134683811%7C0_transactionType/LOCAL/__rp0x3system- 
database0x2DBWizard!1134683811%7C0_urlPrototype/jdbc:jtds:sqlserver: 
0x30x3%7BHost%7D:%7BPort%7D;DatabaseName=%7BDatabase%7D/__rp0x3system- 
database0x2DBWizard!1134683811%7C0_dbtype/SQL0x8Server0x8(jTDS)/ 
__rp0x3system-database0x2DBWizard!1134683811%7C0_driverClass/ 
net0x2sourceforge0x2jtds0x2jdbc0x2Driver/__rp0x3system- 
database0x2DBWizard!1134683811%7C0_adapterDisplayName/ 
TranQL0x8Generic0x8JDBC0x8Resource0x8Adapter

--kevan

Mime
View raw message