aspose file tools*
The moose likes JBoss/WildFly and the fly likes Changing the JBoss Portal Database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Changing the JBoss Portal Database" Watch "Changing the JBoss Portal Database" New topic
Author

Changing the JBoss Portal Database

Eugene Abarquez
Ranch Hand

Joined: May 18, 2006
Posts: 211
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.


There's so much to learn in this industry, and not everybody has the necessary interest.
 
Don't get me started about those stupid light bulbs.
 
subject: Changing the JBoss Portal Database