Hey Bill, I recently installed Jackrabbit 1.3.3 from scratch, but I didn't build from Maven. I used the 1.0 files posted in the first hops tutorial, then replaced the jackrabbit-1.0 jar file with the latest jackrabbit-jcr-commons, jackrabbit-core, jackrabbit-api and jackrabbit-text-extractors. I also replaced lucene-1.4.3.jar with lucene-core-2.0.0.jar, and replaced derby-10.1.3.1.jar with derby-10.3.1.4.jar. After doing so, I was able to run the example and see output after adding the jars to the classpath.
Do you see any exceptions printing out to a console? Have you tried modifying the example to catch exceptions that you can print out? Hope this helps. Bill-123 wrote: > > Hi folks, > > After some Maven fun, I've got Jackrabbit built and was experimenting > with FirstHop.java. It compiles fine once classpaths are set right.. > but no "logged in" output is generated. > > So that leads me to two basic questions: > > 1) Should this sample work all by itself? > 2) If yes, what are some common failure causes I could dig into? > > Originally I'd thought maybe the example needed a pre-config'd > repository to attach to. But the code explanation seems to indicate > it's fully standalone, "hello world" style. > > If it is standalone and should be working I'm happy to dig, read and > experiment, but it would be extremely useful to get some pointers as > to what potential points of failure to look into first. System and > version specifics are: > > - Jackrabbit 1.3.3 > - Built with Maven 2.1(due to JCR-1192 (javacc\fulltext issue)) > - JDK 1.6.0_33 > - Windows XP > > Thanks, > -Bill > > -- View this message in context: http://www.nabble.com/Quick-clarification-on-FirstHop-example--tf4729159.html#a13525031 Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
