[
https://issues.jboss.org/browse/TEIIDDES-763?page=com.atlassian.jira.plug...
]
Dan Florian resolved TEIIDDES-763.
----------------------------------
Resolution: Done
The preview was failing because the server was throwing an exception when the Preview VDB
for the UDF model was being deployed. Changed preview code to continue with the preview if
an exception occurs but it was a model that was not a dependency.
When project has an unrelated error, cannot preview source model
(which has no errors)
--------------------------------------------------------------------------------------
Key: TEIIDDES-763
URL:
https://issues.jboss.org/browse/TEIIDDES-763
Project: Teiid Designer
Issue Type: Bug
Components: VDB & Execution
Affects Versions: 7.1.1
Reporter: Paul Nittel
Assignee: Dan Florian
Priority: Critical
Fix For: 7.1.1
Attachments: CannotPreview.zip
I have a project which has an error (classnotfounderror on a UDF). This error in no way
should impact the ability to preview data from a physical source model.
From the server:
DEPLOYMENTS IN ERROR:
Deployment
"vfszip:/home/pnittel/SOA51ER5/jboss-soa-p-5/jboss-as/server/default/deploy/PREVIEW_7996dca2-6ba5-4385-9c99-6a071008891e_MyID_idFunction.vdb/"
is in error due to the following reason(s): java.lang.ClassNotFoundException:
userdefinedIDfunctions from
BaseClassLoader@113c116{vfsfile:/home/pnittel/SOA51ER5/jboss-soa-p-5/jboss-as/server/default/deployers/teiid.deployer/}
at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1008)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:954)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:870)
at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
at
org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:326)
at
org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:238)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:930)
at
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
at org.jboss.remoting.Client.invoke(Client.java:2034)
at org.jboss.remoting.Client.invoke(Client.java:877)
at
org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:304)
... 53 more
15:55:07,648 WARN [SECURITY] Processing exception 'VDB
"PREVIEW_7996dca2-6ba5-4385-9c99-6a071008891e_MyID_project" version
"latest" does not exist.' for session null. Exception type
org.teiid.client.security.LogonException thrown from
org.teiid.services.SessionServiceImpl.getActiveVDB(SessionServiceImpl.java:228). Enable
more detailed logging to see the entire stacktrace.
I'll attach the model project set.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira