-
1. Re: Error at deploy Webservice Rest.
rareddy Apr 9, 2012 2:28 PM (in response to luizcf14)Luiz,
I believe Teiid Designer generated WAR files need JBoss-CXF needs to be installed. Have you installed this in your JBoss AS 5.1.0?
Ramesh.. -
2. Re: Error at deploy Webservice Rest.
tejones Apr 10, 2012 1:42 PM (in response to luizcf14)Luis,
JBoss-CXF is not required for the generated REST war, only the JBossWS-CXF war. There should be more information regarding the error (above what you have pasted). Can you please paste the log in pastebin: http://pastebin.com/ and add the link to this thread?
Thanks,
Ted
-
3. Re: Error at deploy Webservice Rest.
luizcf14 Apr 16, 2012 2:41 PM (in response to tejones)Sorry for Delay, I've try deploy in JBoss AS with JBoss-CXF, I'm don't have JBossWS-CXF war.
As requested there is a link to the error: http://pastebin.com/xXMja0wR.
Thanks for All, this is very important .
-
4. Re: Error at deploy Webservice Rest.
tejones Apr 16, 2012 2:53 PM (in response to luizcf14)Luis,
Thanks for posting that error... there should still be something more specific further up in the log though. Can you find that and post. Also, if you could attach your generated war that would help us too.
Thanks,
Ted
-
5. Re: Error at deploy Webservice Rest.
luizcf14 Apr 16, 2012 3:40 PM (in response to tejones)Ted,
Thanks for Help , i'm send war file in attach, and this server.log: http://pastebin.com/NnD6twke
Thanks friend.
-
6. Re: Error at deploy Webservice Rest.
luizcf14 Apr 16, 2012 3:43 PM (in response to luizcf14)WAR RestEasy : http://www.4shared.com/file/wbAZDcit/VDB.html
-
7. Re: Error at deploy Webservice Rest.
tejones Apr 16, 2012 9:19 PM (in response to luizcf14)Luiz,
The issue is the java files in your war are not compiling. There was an issue where compile errors were not displaying that has been resolved for Teiid Designer 7.6. I believe the cause of the compile errors were corrected also. What version of Designer are you running?
Thanks,
Ted
-
8. Re: Error at deploy Webservice Rest.
luizcf14 Apr 16, 2012 5:06 PM (in response to tejones)Ted,
I'm using Teiid Designer 7.6 and Teid Server 7.7
Thanks
-
9. Re: Error at deploy Webservice Rest.
tejones Apr 16, 2012 9:19 PM (in response to luizcf14)Luiz,
Are you using a JRE vs a JDK? You should get a warning when you generate the war if a JRE is being picked up. The warning will still let you choose to generate the war, it just won't compile the java files.
Can you please attach your model project set also?
Thanks,
Ted
-
10. Re: Error at deploy Webservice Rest.
luizcf14 Apr 17, 2012 12:37 PM (in response to tejones)Ted,
I'm using JDK 1.7.0_03 X64, my model project : http://www.4shared.com/rar/KwW14V2P/TeiidVDB.html.
Thanks for Help,
Luiz Cortinhas
-
11. Re: Error at deploy Webservice Rest.
tejones Apr 17, 2012 3:44 PM (in response to luizcf14)Luis,
That model project ony has one file with it (vdb.xml). To export your model project set select the project in the Model Explorer then select File->Export->Teiid Designer->Model Project Set.
I tested REST war generation using JDK 1.7 (since I had not used anything beyond 1.6 for Designer) thinking that may be the difference, but it worked fine. There must be something unique about your project. Once I get that I can track down the issue.
Thanks,
Ted
-
12. Re: Error at deploy Webservice Rest.
luizcf14 Apr 18, 2012 4:24 PM (in response to tejones)Ted,
Try this: http://www.4shared.com/zip/xeTxPBmM/TeiidVDB.html is a Model Project Set.
Thanks for you Help.
Luiz Cortinhas
-
13. Re: Error at deploy Webservice Rest.
tejones Apr 18, 2012 5:10 PM (in response to luizcf14)Luiz,
Thanks for the model project set. I was able to generate the REST war successfully after importing it into a Designer 7.6 instance. My guess is that your Designer instance is using a JRE and not a JDK. Even though your eclipse install may have a JDK defined, you may have to explicitly tell it to use the JDK. One way to do that is to add the following to your eclipse.ini in the openFile section:
-vm
/{path_to_your_jdk}/bin
Give that a shot and let me know how it goes.
On another topic, (assuming the JRE is the problem) you should receive a warning prior to the generation that you are using a JRE. Are you seeing that?
Thanks,
Ted
-
14. Re: Error at deploy Webservice Rest.
luizcf14 Apr 25, 2012 1:12 PM (in response to tejones)Ted sorry for the delay in responding, I had other emergency activities, but returning to the subject I tested the configuration that you step to me and nothing has changed, I believe that there is failure of the network installation REST, or perhaps errors in JBoss.
As I am installing:
1 - Generate rest.war;
2 - Open the panel as administrator of JBoss;
3 - Click on the tab-web applications (war) -> add new resource -> select the file: rest.war (in my case).
After the third step that the error occurs:
Failed to create Resource rest.war - cause: java.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): *** deployments IN ERROR: Name -> error vfsfile :/ teiid/Teiid77/server/default/deploy/rest.war / -> org.jboss.deployers.spi.DeploymentException: URL file :/ teiid/Teiid77/server/default/deploy/rest.war / deployment failed deployments iN eRROR: Deployment "vfsfile :/ teiid/Teiid77/server/default/deploy/rest.war /" is in error due to the Following reason (s): org.jboss.deployers.spi.DeploymentException: URL file :/ teiid/Teiid77/server/default/deploy/rest.war / deployment failed -> org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): *** deployments IN ERROR: Name -> Error vfsfile :/ teiid/Teiid77/server/default/deploy/rest.war / -> org.jboss.deployers.spi.DeploymentException: teiid/Teiid77/server/default/deploy/rest.war URL file :/ / deployment failed deployments iN eRROR: Deployment "vfsfile :/ teiid/Teiid77/server/default/deploy/rest.war /" is in error due to the Following reason (s): org.jboss.deployers.spi.DeploymentException: URL file teiid/Teiid77/server/default/deploy/rest.war :/ / deployment failedAtt:Luiz Cortinhas F. N