Closed schuemie closed 9 years ago
I had to modify to work with V4. The default version on github is designed for V5 vocab. On Jan 11, 2015 9:30 PM, "Martijn Schuemie" notifications@github.com wrote:
I get this error
javax.servlet.ServletException: java.lang.RuntimeException: org.postgresql.util.PSQLException: ERROR: relation "concept" does not exist Position: 83 org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:397) org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:381) org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:344) org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
when using URL
http://localhost:8080/WebAPI/vocabulary/concept/0
Here's the content of my web.xml:
<?xml version="1.0" encoding="UTF-8"?>
database.driver org.postgresql.Driver database.url jdbc:postgresql://localhost/hku?user=vocabuser&password=secret database.dialect postgresql database.cdm.schema vocabulary database.results.schema vocabulary Jersey Web Application org.glassfish.jersey.servlet.ServletContainer jersey.config.server.provider.packages org.ohdsi.webapi 1 Jersey Web Application /* So far I've just uploaded the vocabulary tables (V4) in the vocabulary schema. Using PosgreSQL, Java 1.7, Apache + Tomcat 7.
Reply to this email directly or view it on GitHub https://github.com/OHDSI/WebAPI/issues/2.
No luck, same problem when using vocab V5.
Never mind. Somehow the WAR file didn't rebuild completely. Removed project from Eclipse, reverted all changes, re-imported and rebuilt, and now it's working.
I get this error
when using URL
Here's the content of my web.xml:
So far I've just uploaded the vocabulary tables (V4) in the vocabulary schema. Using PosgreSQL, Java 1.7, Apache + Tomcat 7.