[opencms-dev] Installing Opencms 6 on Sybase ASE

João Dias joao.dias at sybase.pt
Tue Dec 27 16:25:16 CET 2005


Hi,

this is giving me quite a fight :). I resolved my last problem (conflicting datatypes) but now I have a new one, that maybe someone can help me with.

When installing I get the following error:

Shutdown completed, total uptime was 00:01:12.
51: Shutting down OpenCms, version 6.0.3 in web application "opencms"
50: 
49: 
48: at org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:201)
47: at org.opencms.setup.CmsSetupWorkplaceImportThread.kill(CmsSetupWorkplaceImportThread.java:118)
46: at org.opencms.main.CmsShell.exit(CmsShell.java:605)
45: java.lang.NullPointerException
44: at org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:186)
43: at org.opencms.main.CmsShell.start(CmsShell.java:663)
42: at org.opencms.main.CmsShell.executeCommands(CmsShell.java:801)
41: at org.opencms.main.CmsShell.printPrompt(CmsShell.java:647)
40: java.lang.NullPointerException
39: ... 11 more
38: at org.opencms.db.generic.CmsUserDriver.readUser(CmsUserDriver.java:1012)
37: at org.opencms.db.generic.CmsUserDriver.internalCreateUser(CmsUserDriver.java:1521)
36: at org.opencms.db.generic.CmsSqlManager.getBytes(CmsSqlManager.java:212)
35: at org.apache.commons.dbcp.DelegatingResultSet.getBytes(DelegatingResultSet.java:252)
34: at org.apache.commons.dbcp.DelegatingResultSet.getBytes(DelegatingResultSet.java:252)
33: at com.sybase.jdbc2.jdbc.SybResultSet.getBytes(SybResultSet.java:385)
32: at com.sybase.jdbc2.jdbc.SybResultSet.getBytes(SybResultSet.java:228)
31: at com.sybase.jdbc2.tds.TdsJdbcInputStream.getBytes(TdsJdbcInputStream.java:707)
30: at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:533)
29: Caused by: java.sql.SQLException: JZ0TE: Attempted conversion between an illegal pair of types. Valid database datatypes are: 'varbinay, long binary, binary, image'
28: ... 8 more
27: at org.opencms.db.generic.CmsUserDriver.init(CmsUserDriver.java:642)
26: at org.opencms.db.generic.CmsUserDriver.fillDefaults(CmsUserDriver.java:1631)
25: at org.opencms.db.generic.CmsUserDriver.importUser(CmsUserDriver.java:577)
24: at org.opencms.db.generic.CmsUserDriver.readUser(CmsUserDriver.java:1023)
23: Caused by: org.opencms.db.CmsDbSqlException: An SQL error occurred when executing the following query: com.sybase.jdbc2.jdbc.SybPreparedStatement at ac4e38. 
22: ... 7 more
21: at org.opencms.db.CmsDriverManager.newDriverInstance(CmsDriverManager.java:4261)
20: at org.opencms.db.generic.CmsUserDriver.init(CmsUserDriver.java:648)
19: Caused by: org.opencms.main.CmsInitException: Critical error during OpenCms initialization: Unable to initialize the user driver. 
18: at org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:155)
17: at org.opencms.main.CmsShell.<init>(CmsShell.java:498)
16: at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1464)
15: at org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:971)
14: at org.opencms.db.CmsSecurityManager.newInstance(CmsSecurityManager.java:161)
13: at org.opencms.db.CmsSecurityManager.init(CmsSecurityManager.java:2670)
12: at org.opencms.db.CmsDriverManager.newInstance(CmsDriverManager.java:518)
11: at org.opencms.db.CmsDriverManager.newDriverInstance(CmsDriverManager.java:4271)
10: org.opencms.main.CmsInitException: Critical error while initializing driver "org.opencms.db.generic.CmsUserDriver".
9: --------------------
8: Giving up, unable to start OpenCms.
7: Critical error during OpenCms initialization: Unable to initialize the user driver. 
6: The following critical error occured:
5: --------------------

Thanks for your help,
Joao Dias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20051227/c32fef5d/attachment.html>


More information about the opencms-dev mailing list