Deploy driver jars to jboss as
------------------------------
Key: JBIDE-1000
URL:
https://jira.jboss.org/jira/browse/JBIDE-1000
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Seam
Affects Versions: 2.0.0.Beta4
Reporter: Max Rydahl Andersen
Assignee: Victor Rubezhny
Priority: Critical
Fix For: 2.0.0.CR1
seam-gen actually copies the jdbc driver jar to jboss as server.
We should provide similar functionallity.
This might be something we should do more isolated than just in the seam wizard.
Something that allow you to right click on a DTP connection and create a -ds.xml
representing this and then make it copy this to the server together with driver jars.
Testcase
-------------
1. EXECUTE: Create JBossAS runtime (will be mentioned as runtime during the test). During
creation select <<JBosssASHome>/server/production/deploy folder as target. New
JBoss AS server will be created as well.
2. EXECUTE: Copy hsqldb.jar from <<JBosssASHome>/server/production/deploy/lib to
temporary folder and rename it to driver.jar
3. EXECUTE: Start new Seam War Project enter 'Project Name' press Next until JSF
Capabilities configuration page. Select Server Supplied JSF Implementation and press Next.
4. EXECUTE: On Seam Facet wizard page fill: Seam Runtime - any exists runtime, Deploy as
-war, Database Type - HSQL, Hibernate Dialect - org.hibernate.dialect.HSQLDialect, Create
new HSQLDB connection profile and use driver.jar from step 2 as jar with driver class.
5. EXECUTE: Press Finish button and wait until wizard is closed.
6. ASSERT: Open <<JBosssASHome>/server/production/deploy/lib folder and check
that driver.jar is there.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: