Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Changing the JBoss Portal Database  RSS feed

Eugene Abarquez
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I am trying to switch the database of my JBoss Portal installation to Sybase. I followed the directions in the reference guide, i.e.:

1. Placed the connectors in the "[JBOSS_HOME]\server\default\lib" folder.

2. Added a "portal-sybase-ds.xml" datasource file and placed it in the "deploy" folder. The file is shown below.

3. Removed the "portal-hsqldb-ds.xml" in the "deploy" folder to avoid conflict in the new datasource.

4. Changed the dialect to "<property name="dialect">org.hibernate.dialect.SybaseDialect</property>" of the different "hibernate.cfg.xml" files found in the "jboss-portal.sar" folder to force the DB dialect to Sybase.

When I run the server, the tables are being created accordingly. However, it throws the exception shown below. I also cannot navigate to the portal page. Is there anything I am missing out in the process?

I am using the server that is bundled with the zip file that I downloaded in the JBoss Portal site. Here are my specifications:

JBOSS: jboss-portal-2.6-ALPHA2
OS: Windows XP

Please advise. Thanks in advance.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!