GMOD/jbrowse — Issue #15: Problem with dataRoot property in mixed environments (tomcat/apache)
Author: jbrowsetix
Created: 2012-01-25 19:38:17+00:00
State: open

Hi,

I’m integrating JBrowse inside a Grails application. I keep JBrowse *.js,*.css,images,... inside
the web-app and left the static JSON content in an apache server.

The Grails controller generates the trackInfo.json and refSeq.js files and the html page that
shows the browser object. To make it work together I have to use the dataRoot property and modify
the urls of the {seq}/{track}/trackData.json files, for instance:
* urlTemplate in a trackData file: ’hg18//tracks/chr1/refGene//lazyfeatures-{chunk}.json’
* dataRoot: ’http://localhost/jbrowse_data/’
* browserRoot: ’http://localhost:8080/myApp/jbrowse/’

with this settings the browsers doesn’t shows the track contents (the track appears but not its content)

Could be the port an issue?
In any place of the program the urls are not builded concatenating dataRoot with the relative urls?

[original LH ticket](http://jbrowse.lighthouseapp.com/projects/23792/tickets/74)

This ticket has 0 attachment(s).