Thank you William for going above and beyond the call of duty! -Greg
On Mon, Jul 13, 2015 at 9:32 PM, William Markito <[email protected]> wrote: > We just did a hangout session and everything is working fine on Darshan's > environment. Not sure what was it though, since we have not actually > changed anything. > > We pretty much went through the whole Geode in 5 minutes exercise, > starting locator/server and compiling the HelloWorld class. > > Everything working fine. > > As asked by Darshan's, here are some pointers to examples and apps: > > https://github.com/ashvina/teeny > https://github.com/Pivotal-Open-Source-Hub/ > > https://wmarkito.wordpress.com/2014/04/22/gemfire-functions-with-java-8-and-nashorn/ > > https://wmarkito.wordpress.com/2015/01/04/integrating-gemfire-systems-over-wan-using-rest/ > > There is definitely more out there, but it's probably best if you try it > out and if you have problems just send a message to this mailing list. > Most of the material related to GemFire would apply to Geode with very few > exceptions. :) > > Good luck. > > > > On Mon, Jul 13, 2015 at 9:01 PM, darshan hs <[email protected]> wrote: > >> /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/lib >> >> Coparts-MacBook-Pro-4:lib hasudhakar$ ls -lrt >> >> drwxrwxr-x 6 root wheel 204 Sep 12 2014 visualvm >> >> -rw-rw-r-- 1 root wheel 4573 Mar 9 19:47 packager.jar >> >> -rw-rw-r-- 1 root wheel 36037 Mar 9 19:47 javafx-mx.jar >> >> -rw-rw-r-- 1 root wheel 1079733 Mar 9 19:47 ant-javafx.jar >> >> -rw-rw-r-- 1 root wheel 2268284 Apr 10 13:12 sa-jdi.jar >> >> -rw-rw-r-- 1 root wheel 640 Apr 10 13:12 orb.idl >> >> -rw-rw-r-- 1 root wheel 407735 Apr 10 13:12 jconsole.jar >> >> -rw-rw-r-- 1 root wheel 18432 Apr 10 13:12 ir.idl >> >> -rw-rw-r-- 1 root wheel 163021 Apr 10 13:12 dt.jar >> >> -rw-rw-r-- 1 root wheel 17761441 Apr 10 13:12 ct.sym >> >> -rw-rw-r-- 1 root wheel 18215783 Apr 10 13:12 tools.jar >> >> drwxrwxr-x 12 root wheel 408 Apr 10 13:14 missioncontrol >> >> On Mon, Jul 13, 2015 at 10:57 PM, William Markito <[email protected]> >> wrote: >> >>> I'm also following your JIRA issue and it does seems like you have >>> something else going on with your environment. >>> >>> Can you please paste the content (list files) in >>> /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/lib ? >>> >>> >>> >>> >>> On Mon, Jul 13, 2015 at 8:35 PM, darshan hs <[email protected]> wrote: >>> >>>> java version "1.8.0_45" >>>> Java(TM) SE Runtime Environment (build 1.8.0_45-b14) >>>> Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) >>>> >>>> I had used earlier 1.7.75,even then i got the same error >>>> >>>> On Jul 13, 2015, at 10:28 PM, William Markito <[email protected]> >>>> wrote: >>>> >>>> Can you post the result of: >>>> >>>> java -version >>>> >>>> Sent from my iPhone >>>> >>>> On Jul 13, 2015, at 8:10 PM, darshan hs <[email protected]> wrote: >>>> >>>> Tried those fixes,Yet i am getting the following error >>>> >>>> gfsh>start locator --name=locator >>>> --J=-Dgemfire.test.ProcessControllerFactory.DisableAttachApi=true >>>> Starting a GemFire Locator in >>>> /Users/hasudhakar/Desktop/node/Geode/incubator-geode/gemfire-assembly/build/install/apache-geode/locator... >>>> An error occurred while attempting to start a Locator in >>>> /Users/hasudhakar/Desktop/node/Geode/incubator-geode/gemfire-assembly/build/install/apache-geode/locator >>>> on 192.168.0.5[10334]: >>>> sun.tools.attach.MacosxVirtualMachine.isLinuxThreads()Z >>>> >>>> On Jul 13, 2015, at 9:51 PM, William Markito <[email protected]> >>>> wrote: >>>> >>>> If you have Oracle JDK already installed, here is an example of how you >>>> could set it up: >>>> >>>> *# Java 8* >>>> export JAVA_HOME=`/usr/libexec/java_home -v1.8` >>>> >>>> *# Java 7* >>>> export JAVA_HOME=`/usr/libexec/java_home -v1.7` >>>> >>>> # PATH >>>> export PATH=$JAVA_HOME/bin:$PATH >>>> >>>> On Mon, Jul 13, 2015 at 7:44 PM, William Markito <[email protected]> >>>> wrote: >>>> >>>>> It seems like it's using the Apple JVM, not Oracle. Please fix the >>>>> JAVA_HOME and the java binaries on path it will work. >>>>> >>>>> An easier way to do it is to download and install latest JDK 8 from >>>>> Oracle >>>>> <http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html> >>>>> (Look for jdk-8u45-macosx-x64.dmg file) >>>>> >>>>> >>>>> On Mon, Jul 13, 2015 at 7:28 PM, Kirk Lund <[email protected]> wrote: >>>>> >>>>>> The start/status/stop commands attempt to use the Attach API if it's >>>>>> found. The latter is true if the JVM can classload >>>>>> com.sun.tools.attach.VirtualMachine. >>>>>> >>>>>> I suspect that your JVM found com.sun.tools.attach.VirtualMachine but >>>>>> cannot find sun.tools.attach.MacosxVirtualMachine which is surprising. >>>>>> Makes me wonder if your environment is somehow pointed at a tools.jar >>>>>> from >>>>>> a non-Mac OS such as linux. >>>>>> >>>>>> Hopefully someone more familiar with Mac OS X will weigh in on this. >>>>>> In the meantime, check your JRE and classpath. Make sure you're using a >>>>>> Mac >>>>>> OS X JRE and not including an outside tools.jar. >>>>>> >>>>>> If you cannot correct the problem any other way, you can try setting >>>>>> this system property: >>>>>> >>>>>> -Dgemfire.test.ProcessControllerFactory.DisableAttachApi=true >>>>>> >>>>>> That system property would need to be set in the gfsh JVM and also >>>>>> passed into each start/status/stop command that you launch from gfsh. >>>>>> >>>>>> 1) gfsh script >>>>>> >>>>>> Edit the "gfsh" script to add >>>>>> -Dgemfire.test.ProcessControllerFactory.DisableAttachApi=true to the last >>>>>> next to last line. >>>>>> >>>>>> 2) start commands >>>>>> >>>>>> Add the following argument to any start/status/stop command within >>>>>> gfsh: >>>>>> >>>>>> --J=-Dgemfire.test.ProcessControllerFactory.DisableAttachApi=true >>>>>> >>>>>> -Kirk >>>>>> >>>>>> >>>>>> On Mon, Jul 13, 2015 at 6:34 PM, darshan hs <[email protected]> wrote: >>>>>> >>>>>>> Locator issues >>>>>>> gfsh>start locator --name=locator >>>>>>> Starting a GemFire Locator in >>>>>>> /Users/hasudhakar/Desktop/node/Geode/incubator-geode/gemfire-assembly/build/install/apache-geode/locator... >>>>>>> An error occurred while attempting to start a Locator in >>>>>>> /Users/hasudhakar/Desktop/node/Geode/incubator-geode/gemfire-assembly/build/install/apache-geode/locator >>>>>>> on 192.168.0.5[10334]: Could not initialize class >>>>>>> sun.tools.attach.MacosxVirtualMachine >>>>>>> >>>>>>> Server Issues >>>>>>> gfsh>start server --name=server >>>>>>> Starting a GemFire Server in >>>>>>> /Users/hasudhakar/Desktop/node/Geode/incubator-geode/gemfire-assembly/build/install/apache-geode/server... >>>>>>> An error occurred while attempting to start a GemFire Cache Server: >>>>>>> Could not initialize class sun.tools.attach.MacosxVirtualMachine >>>>>>> >>>>>>> Hence the region issue >>>>>>> gfsh>create region --name=region --type=REPLICATE >>>>>>> "create region" is not available. Reason: Requires connection. >>>>>>> >>>>>>> Kindly help me resolve these >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> William Markito Oliveira >>>>> Enterprise Architect >>>>> -- For questions about Apache Geode, please write to >>>>> *[email protected] >>>>> <[email protected]>* >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> >>>> William Markito Oliveira >>>> Enterprise Architect >>>> -- For questions about Apache Geode, please write to >>>> *[email protected] >>>> <[email protected]>* >>>> >>>> >>>> >>>> >>>> >>> >>> >>> -- >>> >>> William Markito Oliveira >>> Enterprise Architect >>> -- For questions about Apache Geode, please write to >>> *[email protected] >>> <[email protected]>* >>> >>> >>> >> > > > -- > > William Markito Oliveira > Enterprise Architect > -- For questions about Apache Geode, please write to > *[email protected] > <[email protected]>* > > > -- Greg Chase Director of Big Data Communities http://www.pivotal.io/big-data Pivotal Software http://www.pivotal.io/ 650-215-0477 @GregChase Blog: http://geekmarketing.biz/
