framctr commented on issue #857:
URL: 
https://github.com/apache/incubator-eventmesh/issues/857#issuecomment-1123481877

   Thank you for your replies.
   
   > The sh files has been changed, you can use these files under the master 
branch 
https://github.com/apache/incubator-eventmesh/tree/master/eventmesh-examples/bin
   
   > Or you can build the tar files using the source code, by execute `gradlew 
clean jar dist && gradlew installPlugin` and `gradlew tar -x test` then you can 
got the tar.gz file.
   
   Ok I did what you suggested and I used the updated files in `master`.
   
   I noticed that they seem to start, but they are not because of the same 
error. In the following I inserted just the subscriber script:
   ```
   [root@9c6dc5a83917 bin]# ls
   start.sh  stop.sh  tcp_eventmeshmessage_sub.sh  watchdog.sh
   
   [root@9c6dc5a83917 bin]# pwd
   /opt/incubator-eventmesh/dist/bin
   
   [root@9c6dc5a83917 bin]# bash tcp_eventmeshmessage_sub.sh
   tcp_sub_demo use java location= /usr/local/jdk/bin/java
   DEMO_HOME : /opt/incubator-eventmesh/dist, DEMO_LOG_HOME : 
/opt/incubator-eventmesh/dist/logs
   Error: Could not find or load main class 
org.apache.eventmesh.tcp.demo.sub.eventmeshmessage.AsyncSubscribe
   ```
   I'm on docker and I tried both with openjdk-8 and oracle jdk-8.
   
   It seems to me that gradle does not build correctly the examples (it is 
successful, but the shell scripts do not start).
   I could probably be wrong. In that case, can you provide the steps to make 
the demo work? Running examples is not well documented.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to