I might be asking a trivial question but here it goes ...
I specified more then one database using Jboss 3.2.2, let's say a modified sybase-ds.xml in my server/default/deploy directory, which gets loaded just fine during a JBoss startup.
Now I have few CMP beans described in ejb-jar.xml and they're working nicely with Hypersonic (default db)...
What would be the best way to configure those beans to use jdbc/Sybase database instead of default, preferrably without using Jboss speciffic configuration files (application should remain portable if possible).
There's no portable way to configure this.
You need to modify either jbosscmp-jdbc.xml file of your beans or the standardjbosscmp-jdbc.xml file.