Hi Adam, Trust me, the thing you think is missing isn’t needed. Eclipse builds the project on-the-fly and the collapser copies the classes to collapsed/ on-the-fly. The “artefact” in this case is an “collapsed EAR”, which is the collapsed/ directory. See http://openejb.apache.org/collapsed-ear.html . When you run RunJetty it uses Jetty as the server and OpenEJB becomes the JEE provider because it’s on the classpath. OpenEJB is running “embedded” in Jetty. This makes for a great, responsive development environment.
Later, when you want to run JumpStart outside Eclipse, in a separate app server or a web server with an embedded app server, see http://jumpstart.doublenegative.com.au/jumpstart6.10/tips.html#OTHER_SERVERS . HTH, Geoff > On 27 Oct 2015, at 12:57 am, Adam X <vbgnm3c...@gmail.com> wrote: > > Hi Geoff, > > It seems to me that the documentation on running jumpstart locally > completely misses entire section on setting up and deploying JEE server > such and OpenEJB. All it talks about is downloading OpenEJB but there is > nothing about which build to invoke to build which artifact, and where and > how to deploy it. > > I admit I'm struggling a bit with this non-standard project setup (missing > Maven) but I think I'm getting close :) > > I'm on Linux Mint and yes, using Eclipse (Mars). > > Adam > > On Sun, Oct 25, 2015 at 6:59 AM, Geoff Callender < > geoff.callender.jumpst...@gmail.com> wrote: > >> I’m guessing that you had a hiccup, perhaps permissions problems, along >> the way. Try this: >> >> - Delete directory [openejb]/data/hsqldb. >> - Go back to the step "Start JumpStart”. This step recreates the database >> because of the system property -Dhibernate.hbm2ddl.auto=update . >> - Do the next steps. >> >> I’ll add this info to the instructions. >> >> Geoff >> >>> On 25 Oct 2015, at 10:42 am, Geoff Callender < >> geoff.callender.jumpst...@gmail.com> wrote: >>> >>> Hi Adam, >>> >>> The second issue is because PersonFinderServiceLocal has not been built. >> You’ll find the cause of that early in the log, which will probably be a >> database mapping problem, most likely an inability to map the Person entity >> to the PERSON table. So its cause is probably the same as the first issue. >>> >>> As for the first issue, I’ll get back to you on that after I have >> recreated your situation. What operating system are you on? Linux? Are you >> using Eclipse? >>> >>> Geoff >>> >>>> On 25 Oct 2015, at 1:00 am, Adam X <vbgnm3c...@gmail.com> wrote: >>>> >>>> Hello, >>>> >>>> I am trying to get jumpstart running locally. I got it to the point it >>>> builds and boots without errors, but I have two issues I don't seem to >> be >>>> able to resolve:\ >>>> >>>> * First * >>>> >>>> Populating openejb HSQL database. Executing data_util > >>>> repopulate_database_prompted results in the following error: >>>> >>>> Buildfile: /home/mrazjava/workspace/jumpstart/data_util.xml >>>> check-properties: >>>> interpret-database-type: >>>> gracefully-check-database-available: >>>> gracefully-check-database-available-if-hsqldb-files: >>>> gracefully-check-database-available-if-hsqldb-server: >>>> repopulate-database-prompted: >>>> repopulate-database: >>>> [copy] Copying 1 file to /home/mrazjava/workspace/jumpstart >>>> interpret-database-type: >>>> gracefully-check-database-available: >>>> gracefully-check-database-available-if-hsqldb-files: >>>> gracefully-check-database-available-if-hsqldb-server: >>>> run-prepared-script: >>>> [java] SEVERE SQL Error at >>>> '/home/mrazjava/workspace/jumpstart/null886400076sql' line 7: >>>> [java] "delete from Person" >>>> [java] user lacks privilege or object not found: PERSON >>>> [java] org.hsqldb.cmdline.SqlTool$SqlToolException >>>> >>>> BUILD FAILED >>>> /home/mrazjava/workspace/jumpstart/data_util.xml:47: The following error >>>> occurred while executing this line: >>>> /home/mrazjava/workspace/jumpstart/data_util.xml:58: The following error >>>> occurred while executing this line: >>>> /home/mrazjava/workspace/jumpstart/data_util.xml:62: Java returned: 3 >>>> >>>> Total time: 4 seconds >>>> >>>> Note that the build does see my openejb data directory >>>> (/opt/openejb/apache-openejb-4.5.1/data/hsqldb) because it did create >> these >>>> files: >>>> hsqldb.log >>>> hsqldb.properties >>>> hsqldb.script >>>> >>>> * Second * >>>> >>>> When I navigate to localhost:8080/jumpstart I either expected success >> or a >>>> db related error such as database not found, but instead I'm getting >> jndi >>>> lookup error. There is nothing in the installation manual that covers >> how >>>> to setup JNDI in openejb, so I'm lost here as well. >>>> >>>> Caused by: >> jumpstart.business.commons.exception.SystemUnavailableException: >>>> The system is temporarily unavailable. Symptom: JNDI lookup failed for >>>> "PersonFinderServiceLocal". Is ejb server not started? Has the >>>> ejb.provider property been specified correctly >>>> at >>>> >> jumpstart.business.commons.jndi.JNDIObjectLocator.lookup(JNDIObjectLocator.java:64) >>>> at >>>> >> jumpstart.business.commons.jndi.JNDIObjectLocator.getJNDIObject(JNDIObjectLocator.java:43) >>>> at >>>> >> jumpstart.client.BusinessServicesLocator.getService(BusinessServicesLocator.java:79) >>>> at >>>> >> jumpstart.web.services.EJBAnnotationWorker.transform(EJBAnnotationWorker.java:53) >>>> at $ComponentClassTransformWorker2_dc3341da4a2.transform(Unknown >> Source) >>>> at $ComponentClassTransformWorker2_dc3341da4ad.transform(Unknown >> Source) >>>> at $ComponentClassTransformWorker2_dc3341da4a0.transform(Unknown >> Source) >>>> at >>>> >> org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl$3.run(ComponentInstantiatorSourceImpl.java:326) >>>> at >>>> >> org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:51) >>>> at >>>> >> org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:48) >>>> at >>>> >> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) >>>> ... 122 more >>>> Caused by: javax.naming.NameNotFoundException: Name >>>> "PersonFinderServiceLocal" not found. >>>> at >>>> >> org.apache.openejb.core.ivm.naming.IvmContext.federate(IvmContext.java:197) >>>> at >>>> >> org.apache.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:151) >>>> at >>>> >> org.apache.openejb.core.ivm.naming.ContextWrapper.lookup(ContextWrapper.java:115) >>>> at javax.naming.InitialContext.lookup(InitialContext.java:411) >>>> at >>>> >> jumpstart.business.commons.jndi.JNDIObjectLocator.lookup(JNDIObjectLocator.java:60) >>>> ... 132 more >>>> >>>> Adam >>> >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org