• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Changing the JBoss Portal Database

 
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic