This week's giveaway is in the Testing forum.
We're giving away four copies of TDD for a Shopping Website LiveProject and have Steven Solomon on-line!
See this thread for details.
Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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.
 
I've been selected to go to the moon! All thanks to this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic