Bug 780368 (SOA-2777)

Summary: It's not possible to deploy single file (*.xml) virtual database through web admin console
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Robert Balent <rbalent>
Component: EDSAssignee: Van Halbert <vhalbert>
Status: CLOSED DEFERRED QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.1.0.ER7CC: mvecera
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2777
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-07 16:18:48 UTC Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
weather-vdb.xml
none
weather-ds.xml none

Description Robert Balent 2011-01-14 16:45:29 UTC
Workaround Description: To deploy a dynamic -vdb.xml file, copy it to the deploy folder.
project_key: SOA

There are two ways how create virtual database. You can deploy *.vdb file which is basically zip archive with changed extension, or deploy just vdb.xml file. The second way doesn't work through soa admin console web interface.

Error message:
Failed to create Resource weather-vdb.xml - cause: Incorrect extension specified on filename

How to reproduce:
In soa web interface log in to Admin Console, than open "Virtual Database (VDB)s" link, than click "Add a new resource" button, and try to upload weather-vdb.xml which is attached.

Workaround:
Just copy weather-vdb.xml to the deploy folder.


weather-vdb.xml and weather-ds.xml which is required if you want to deploy vdb in active state are attached.

Comment 1 Robert Balent 2011-01-14 16:45:50 UTC
Attachment: Added: weather-vdb.xml
Attachment: Added: weather-ds.xml


Comment 2 Van Halbert 2011-01-14 17:00:39 UTC
This was the way the admin console plugin was coded for this release and is expected behavior.   This enhancement will be posted to Teiid.

Comment 3 Van Halbert 2011-01-14 17:00:39 UTC
Release Notes Docs Status: Added: Documented as Known Issue
Workaround Description: Added: To deploy a dynamic -vdb.xml file, copy it to the deploy folder.


Comment 4 Van Halbert 2011-01-14 17:51:06 UTC
Link: Added: This issue Cloned to SOA-2779


Comment 5 Van Halbert 2011-01-17 16:41:36 UTC
Release Notes Text: Added: A user will not be able to deploy a Teiid dynamic vdb file (-vdb.xml) using JON / JOPR.     I currently only supports deploying a .vdb file.   The only current way to deploy the dynamic vdb is to copy the file to the <serverinstall>/server/<profile>/deploy   directory.


Comment 6 Van Halbert 2011-01-17 16:43:35 UTC
Release Notes Text: Removed: A user will not be able to deploy a Teiid dynamic vdb file (-vdb.xml) using JON / JOPR.     I currently only supports deploying a .vdb file.   The only current way to deploy the dynamic vdb is to copy the file to the <serverinstall>/server/<profile>/deploy   directory. Added: A user will not be able to deploy a Teiid dynamic vdb file (-vdb.xml) using JON / JOPR.     It currently only supports deploying a .vdb file.   The only current way to deploy the dynamic vdb is to copy the file to the <serverinstall>/server/<profile>/deploy   directory.