[teiid-issues] [JBoss JIRA] Updated: (TEIID-1042) AdminShell/AdminAPI - deployVDB assumes the -vdb.xml file is in the server's deploy folder

Paul Nittel (JIRA) jira-events at lists.jboss.org
Tue Apr 13 09:22:06 EDT 2010


     [ https://jira.jboss.org/jira/browse/TEIID-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Nittel updated TEIID-1042:
-------------------------------

        Summary: AdminShell/AdminAPI - deployVDB assumes the -vdb.xml file is in the server's deploy folder  (was: AdminShell - deployVDB assumes the -vdb.xml file is in the server's deploy folder)
    Component/s: AdminApi
                     (was: Tools)
    Description: 
I started AdminShell and attempted to deploy a VDB using: deployVDB("/home/pnittel/TeiidGoodies/sakila-vdb.xml");

I received the following exception:
java.io.FileNotFoundException: /home/pnittel/Teiid7m3/jboss-5.1.0.GA/server/default/deploy/home/pnittel/TeiidGoodies/sakila-vdb.xml (No such file or directory)
// Error: // Uncaught Exception: Method Invocation internalAdmin.deployVDB : at Line: 17 : in file: URL: jar:file:/home/pnittel/Teiid7m3/teiid-adminshell-7.0.0-SNAPSHOT/lib/teiid-adminshell-7.0.0-SNAPSHOT.jar!/scripts/adminapi.bsh : internalAdmin .deployVDB ( vdbFile , new FileInputStream ( new File ( vdbFile ) ) ) 

Called from method: deployVDB : at Line: 6 : in file: <unknown file> : deployVDB ( "/home/pnittel/TeiidGoodies/sakila-vdb.xml" ) 
Target exception: java.lang.reflect.UndeclaredThrowableException
Nested: Class: SingleInstanceCommunicationException not found in namespace : at Line: 70 : in file: URL: jar:file:/home/pnittel/Teiid7m3/teiid-adminshell-7.0.0-SNAPSHOT/lib/teiid-adminshell-7.0.0-SNAPSHOT.jar!/scripts/util.bsh : SingleInstanceCommunicationException 

It appears to have erroneously appended my file location to that of the server's deploy folder.

I also tried it from Jopr and received this error:
Failed to create Resource sakila-vdb.xml - cause: Incorrect extension specified on filename [/home/pnittel/Teiid7m3/jboss-5.1.0.GA/server/default/tmp/embjopr/uploads/sakila-vdb.xml] 
Since the error does appear to be different, it may be unrelated, but it's still wrong.

  was:
I started AdminShell and attempted to deploy a VDB using: deployVDB("/home/pnittel/TeiidGoodies/sakila-vdb.xml");

I received the following exception:
java.io.FileNotFoundException: /home/pnittel/Teiid7m3/jboss-5.1.0.GA/server/default/deploy/home/pnittel/TeiidGoodies/sakila-vdb.xml (No such file or directory)
// Error: // Uncaught Exception: Method Invocation internalAdmin.deployVDB : at Line: 17 : in file: URL: jar:file:/home/pnittel/Teiid7m3/teiid-adminshell-7.0.0-SNAPSHOT/lib/teiid-adminshell-7.0.0-SNAPSHOT.jar!/scripts/adminapi.bsh : internalAdmin .deployVDB ( vdbFile , new FileInputStream ( new File ( vdbFile ) ) ) 

Called from method: deployVDB : at Line: 6 : in file: <unknown file> : deployVDB ( "/home/pnittel/TeiidGoodies/sakila-vdb.xml" ) 
Target exception: java.lang.reflect.UndeclaredThrowableException
Nested: Class: SingleInstanceCommunicationException not found in namespace : at Line: 70 : in file: URL: jar:file:/home/pnittel/Teiid7m3/teiid-adminshell-7.0.0-SNAPSHOT/lib/teiid-adminshell-7.0.0-SNAPSHOT.jar!/scripts/util.bsh : SingleInstanceCommunicationException 

It appears to have erroneously appended my file location to that of the server's deploy folder.



> AdminShell/AdminAPI - deployVDB assumes the -vdb.xml file is in the server's deploy folder
> ------------------------------------------------------------------------------------------
>
>                 Key: TEIID-1042
>                 URL: https://jira.jboss.org/jira/browse/TEIID-1042
>             Project: Teiid
>          Issue Type: Bug
>          Components: AdminApi
>    Affects Versions: 7.0
>         Environment: Fedora 12, Java(TM) SE Runtime Environment (build 1.6.0_17-b04), Teiid 7 M3
>            Reporter: Paul Nittel
>            Assignee: Steven Hawkins
>
> I started AdminShell and attempted to deploy a VDB using: deployVDB("/home/pnittel/TeiidGoodies/sakila-vdb.xml");
> I received the following exception:
> java.io.FileNotFoundException: /home/pnittel/Teiid7m3/jboss-5.1.0.GA/server/default/deploy/home/pnittel/TeiidGoodies/sakila-vdb.xml (No such file or directory)
> // Error: // Uncaught Exception: Method Invocation internalAdmin.deployVDB : at Line: 17 : in file: URL: jar:file:/home/pnittel/Teiid7m3/teiid-adminshell-7.0.0-SNAPSHOT/lib/teiid-adminshell-7.0.0-SNAPSHOT.jar!/scripts/adminapi.bsh : internalAdmin .deployVDB ( vdbFile , new FileInputStream ( new File ( vdbFile ) ) ) 
> Called from method: deployVDB : at Line: 6 : in file: <unknown file> : deployVDB ( "/home/pnittel/TeiidGoodies/sakila-vdb.xml" ) 
> Target exception: java.lang.reflect.UndeclaredThrowableException
> Nested: Class: SingleInstanceCommunicationException not found in namespace : at Line: 70 : in file: URL: jar:file:/home/pnittel/Teiid7m3/teiid-adminshell-7.0.0-SNAPSHOT/lib/teiid-adminshell-7.0.0-SNAPSHOT.jar!/scripts/util.bsh : SingleInstanceCommunicationException 
> It appears to have erroneously appended my file location to that of the server's deploy folder.
> I also tried it from Jopr and received this error:
> Failed to create Resource sakila-vdb.xml - cause: Incorrect extension specified on filename [/home/pnittel/Teiid7m3/jboss-5.1.0.GA/server/default/tmp/embjopr/uploads/sakila-vdb.xml] 
> Since the error does appear to be different, it may be unrelated, but it's still wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list