-
1. Re: Unable to resolve cache-container cluster.
tcunning Feb 2, 2016 6:13 PM (in response to salvuzzo)Hi salvuzzo,
I'm not quite sure what is going on here - can you attach a reproducable project (click "Use advanced editor", you should see an "Attach" link at the bottom).
Also, what version of EAP / SwitchYard are you using?
-
2. Re: Unable to resolve cache-container cluster.
salvuzzo Feb 2, 2016 6:28 PM (in response to tcunning)ehm sorry tom, instead of attaching the file I created a new discussion with the attachment. The link is: https://developer.jboss.org/wiki/Switchyard-helloworld-demorar
-
3. Re: Unable to resolve cache-container cluster.
tcunning Feb 3, 2016 3:16 AM (in response to salvuzzo)Salvuzzo,
What version of EAP / SwitchYard are you using?
-
4. Re: Unable to resolve cache-container cluster.
tcunning Feb 3, 2016 4:33 AM (in response to tcunning)Salvuzzo,
I tried to use your example with WildFly 8.1 / SwitchYard 2.0.0.Final and the JAR (not sure why it is labeled a .rar) seems to be corrupted :
laptop:test cunningt$ jar tvf ../switchyard-helloworld-demo.rar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:215)
at java.util.zip.ZipFile.<init>(ZipFile.java:145)
at java.util.zip.ZipFile.<init>(ZipFile.java:116)
at sun.tools.jar.Main.list(Main.java:1004)
at sun.tools.jar.Main.run(Main.java:245)
at sun.tools.jar.Main.main(Main.java:1177)
Could you try reposting it as a JAR?
-
5. Re: Unable to resolve cache-container cluster.
salvuzzo Feb 3, 2016 4:58 AM (in response to tcunning)sure, I published rar so you can see the source code, now public the jar .http://xenoriss.altervista.org/switchyard-helloworld-demo-0.0.1-SNAPSHOT.jar
-
6. Re: Unable to resolve cache-container cluster.
tcunning Feb 4, 2016 3:17 AM (in response to salvuzzo)Salvuzzo,
The xerces errors in the log are likely something like this :
https://issues.apache.org/jira/browse/RAT-158
where xerces is complaining about properties it doesn't know about when we use a fairly new JVM.
The cache error is likely that you're using standalone.xml - if you do need to use clustering, you should use standalone-ha.xml :
bin% ./standalone.sh --server-config=standalone-ha.xml
-
7. Re: Unable to resolve cache-container cluster.
salvuzzo Feb 4, 2016 10:53 AM (in response to tcunning) -
8. Re: Unable to resolve cache-container cluster.
tcunning Feb 4, 2016 3:42 PM (in response to salvuzzo)Salvuzzo,
Did you use "standalone-ha.xml" (your last post says -he.xml, which wouldn't be correct)?
I'm not able to reproduce this - any further details you could give me to try to reproduce it would help.
-
9. Re: Unable to resolve cache-container cluster.
salvuzzo Feb 4, 2016 4:51 PM (in response to tcunning)Hi Tom,
I'm sorry , i have used -ha.xml . When deploy my project into wildfly 8.1 and i go to the console wildfly in "manage deployment" when click in the name of the project deployed, tell me "Unknown deployment type: switchtyard". My project results deployed. It's normal that in messages of wildfly tells me : "Unknow deployment" ?I think there is something wrong.
-
10. Re: Unable to resolve cache-container cluster.
salvuzzo Feb 4, 2016 4:59 PM (in response to salvuzzo)could be why i have agai the error: WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.' ?But I think this should not affect
-
11. Re: Unable to resolve cache-container cluster.
tcunning Feb 4, 2016 5:38 PM (in response to salvuzzo)No, that's a xerces error which shouldn't affect anything. You should still be able to deploy manually or using the jboss maven plugin.
If you can file a JIRA on the console error here :
https://issues.jboss.org/secure/Dashboard.jspa
we'll investigate it for our next release.
-
12. Re: Unable to resolve cache-container cluster.
salvuzzo Feb 5, 2016 5:55 AM (in response to tcunning)Ok thansk tom.
Last question, but for switchyard-2.0.0.Final-WildFly, what is the version perfect for application server wildfly ? 8.0 ? so i try to install switchyard with the version wildfly head
Thanks
-
13. Re: Unable to resolve cache-container cluster.
tcunning Feb 5, 2016 1:12 PM (in response to salvuzzo)For SwitchYard 2.0.0, the version we tested against was WildFly 8.1.0.Final.
-
14. Re: Unable to resolve cache-container cluster.
salvuzzo Feb 6, 2016 6:45 AM (in response to tcunning)Then i do not know.Exists a wildfly 8.1 already configured with SwitchYard 2.0.0? In this way i'm sure of configuration . Thanks