FHIR Chat · First Build · hapi

Stream: hapi

Topic: First Build


view this post on Zulip Gary Teichrow (Feb 08 2017 at 03:53):

W00t! Got trunk to build! very nice. Only issue I had (other than fumbling with NetBeans and my Maven setup) was getting artifact hapi-fhir-base-example-embedded-ws to build. For some reason I was not able to find:

view this post on Zulip Gary Teichrow (Feb 08 2017 at 03:53):

    <dependency>
        <groupId>ca.uhn.hapi.fhir</groupId>
        <artifactId>hapi-fhir-structures-dstu2</artifactId>
        <version>2.1-SNAPSHOT</version>
    </dependency>

view this post on Zulip Gary Teichrow (Feb 08 2017 at 03:54):

Changed it to 2.1 and it built ok and I moved on

view this post on Zulip Gary Teichrow (Feb 08 2017 at 03:55):

anywho, very nice it builds.

view this post on Zulip Gary Teichrow (Feb 08 2017 at 03:55):

On to getting one of the servers running and monkeying with the client a bit.

view this post on Zulip Gary Teichrow (Feb 08 2017 at 04:24):

FWIW, when deploying HAPI FHIR JPA Server - Example to Glassfish 4.1 (vs JBoss), you'll need to create a glassfish-web.xml like so:

view this post on Zulip Gary Teichrow (Feb 08 2017 at 04:24):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN" "http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd">
<glassfish-web-app error-url="">
<class-loader delegate="false"/>
<jsp-config>
<property name="keepgenerated" value="true">
<description>Keep a copy of the generated servlet class' java code.</description>
</property>
</jsp-config>
</glassfish-web-app>

view this post on Zulip Gary Teichrow (Feb 08 2017 at 04:25):

This will handle some default jars GF loads (log4j primarily) and let the project handle it with it's bundled jars... the project uses jboss logging I think... Anyways, seems happy now.

view this post on Zulip James Agnew (Feb 09 2017 at 00:36):

Super cool, glad it worked!

FYI HAPI 2.2 is out, so you might want to upgrade before you get too far. There are a few big bugfixes in 2.2. Either way, awesome stuff.

view this post on Zulip Gary Teichrow (Feb 11 2017 at 02:18):

Hi @James Agnew. Yeah, so far so good. Pretty sweet from everything I've seen so far but just tinkering for now. I'm currently working with trunk so I'll stick with that for a bit until/if I need something more stable. Just trying to get the lay of the land mainly.


Last updated: Apr 12 2022 at 19:14 UTC