Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set app to listen on different context then root / #60

Open
Jan-Marcek opened this issue Aug 14, 2015 · 7 comments
Open

set app to listen on different context then root / #60

Jan-Marcek opened this issue Aug 14, 2015 · 7 comments

Comments

@Jan-Marcek
Copy link

Hi there,

How can I easily run ldvmi on url path http://localhost:9000/ldvmi ?

According https://www.playframework.com/documentation/1.2.7/configuration I should set http.path but it seems it is ignored. Could you help me?

I installed ldvmi from debian package.

Regards,
Jan

@jirihelmich
Copy link
Member

Hi, even if you succeed setting this parameter (could you provide more details - are you adding it into config file, or passing as a JVM param?), I'm not sure that all parts of the app are ready to not to run on /.

Btw. relevant docs is at https://www.playframework.com/documentation/1.3.x/configuration (notice the version in the URL).

@Jan-Marcek
Copy link
Author

Hi,
I added -Dhttp.path=/ldvmi/ to /etc/default/ldvmi.
I could see that it was used as JAVA_OPT paramater in ps ax | grep ldvmi

@jirihelmich
Copy link
Member

That seems to be fine. As this setting has no effect for WAR packages, I'm not sure it works for Debian packages. Try running the app manually first.

@jirihelmich
Copy link
Member

No feedback, closing.

@Jan-Marcek
Copy link
Author

hm, why there should be difference between non-debian version debian version? Debian package is just way how to put LDVMI in to your OS.
Have you ever tried to run app in a different context?

@jirihelmich
Copy link
Member

No, I haven't. There was no need for that, it's not designed while keeping
that in mind and it's not necessary for what we need.
Mon, 19 Oct 2015 v 12:29 odesílatel Jan Marcek [email protected]
napsal:

hm, why there should be difference between non-debian version debian
version? Debian package is just way how to put LDVMI in to your OS.

Have you ever tried to run app in a different context?


Reply to this email directly or view it on GitHub
#60 (comment).

@jirihelmich
Copy link
Member

As it seems that it's not just a nice to have feature for the ODN integration, reopening.

@jirihelmich jirihelmich reopened this Oct 20, 2015
jirihelmich pushed a commit that referenced this issue Oct 20, 2015
@jirihelmich jirihelmich added this to the Comsode review milestone Oct 21, 2015
@jirihelmich jirihelmich removed this from the Comsode review milestone Feb 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants