-
1. Re: Unable to start Rest Server
nadirx Nov 19, 2012 1:26 AM (in response to sannsims)1 of 1 people found this helpfulThe startServer script is only for hotrod, memcached and websocket servers. The Rest "server" is packaged as a .war file: deploy it to your application server (JBoss, Tomcat, etc) and it should work. The -classes.jar file is for building your own customized War file. An alternative is to use https://github.com/infinispan/jdg/ which provides the Infinispan server endpoints packaged in a container (based on AS7.1.x).
-
2. Re: Unable to start Rest Server
sannsims Nov 20, 2012 2:00 PM (in response to nadirx)Hi Tristan, thanks for your reply and help! I tried the following:
When I ran the .war file, I get the following error in Eclipse until I have to kill the server:
17:39:47,442 ERROR [UDP] failed sending message to cluster (104 bytes): java.lang.Exception: dest=/ff0e:0:0:0:0:0:e406:708:46655 (111 bytes), cause: java.net.BindException
: Cannot assign requested address: Datagram send failed
I also download the JDG, however when I ran the mvn clean package, I get the following error:
[ERROR] Failed to execute goal on project jboss-datagrid-jgroups: Could not resolve dependencies for project com.jboss.datagrid:jboss-datagrid-jgroups:jar:6.1.0-SNAPSHOT: Could not find artifact org.jboss.byteman:byteman-bmunit:jar:2.0.1 in
central (http://repo.maven.apache.org/maven2) -> [Help 1]I'm at a loss how to resolve both of these errors. The second error looks as though a jar is missing from the maven source? How do I resolve these issues?
Thanks!
-
3. Re: Unable to start Rest Server
sannsims Nov 21, 2012 8:14 PM (in response to sannsims)From another post, I found the solution to the "UDP failed sending message to cluster" error. For anyone looking at this post, this URL will help resolve the first error: https://community.jboss.org/message/777772?tstart=0
Thanks!
-
4. Re: Unable to start Rest Server
nadirx Nov 30, 2012 6:04 AM (in response to sannsims)I also download the JDG, however when I ran the mvn clean package, I get the following error:
[ERROR] Failed to execute goal on project jboss-datagrid-jgroups: Could not resolve dependencies for project com.jboss.datagrid:jboss-datagrid-jgroups:jar:6.1.0-SNAPSHOT: Could not find artifact org.jboss.byteman:byteman-bmunit:jar:2.0.1 in
central (http://repo.maven.apache.org/maven2) -> [Help 1]I'm at a loss how to resolve both of these errors. The second error looks as though a jar is missing from the maven source? How do I resolve these issues?
Thanks!
Odd, I just cleaned my maven repo and rebuilt it all with no issues. Can you remove $HOME/.m2/repository/org/jboss/byteman/* and try again ?