• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Problems while using with JBoss

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm trying to use JForum in conjunction with JBoss 3.2.5. I've war'ed the Jforum-2.1.4 directory to a jforum.war and have placed it in the deploy directory of the default configuration. When I start the server, it's able to deploy the war file and I could also get to the index page of JForum.

Now when I try to install the database configuration for HSQLDB (that comes with JBoss), I am facing probelms. The following is the configuration I'm trying to install.

Database Type: HSQLDB
Connection Type: DataSource
DataSource Name: java:/DefaulDS

I get the error page that says:



I went and put some SOPs in the InstallAction.java file to see if the code is actually trying to use HSQLDB. Below is the log of my SOPs along with the ones that are already there.



If you look at the above log, you will see "Going to create tables..." twice. I'm not sure why this particular method createTables in the InstallAction.java is getting called twice. This is the case with the default installation of jforum code as well. I don't know if this is the one that's causing any issues.

After this I changed the hsqldb_db_struct.dat file comment out all the "DROP..." statements, but it's of no use.

Can someone help me in setting up this correctlly.

Thanks,
Kalyan.
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which hsqldb version your jboss have? Seems a very old, since it does not support "DROP TABLE IF EXISTS'.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry for the late reply. It's Hypersonic 1.7.1.

Please let me know incase you need more information.

Thanks,
Kalyan.
[originally posted on jforum.net by Anonymous]
 
If I'd had more time, I would have written a shorter letter. -T.S. Eliot such a short, tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic