Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Installation on Openshift

50 views
Skip to first unread message

ray

unread,
Oct 9, 2015, 5:46:49 AM10/9/15
to jobsworth
Hi everyone I am trying to install jobsworth on openshift, everything works, the WAR gets deployed , a mysql db is present and connected, but still I get following error msg:

no such file to load -- /localhost/WEB-INF/config/environment.rb from org/jruby/RubyKernel.java:1091:in `load' from file:/var/lib/openshift/561698f27628e19f88000041/jbossews/work/Catalina/localhost/_/WEB-INF/lib/gems-gems-jruby-rack-1.1.18-lib-jruby-rack-1.1.18.jar!/jruby/rack/rails/environment2.rb:25:in `load_environment' from file:/var/lib/openshift/561698f27628e19f88000041/jbossews/work/Catalina/localhost/_/WEB-INF/lib/gems-gems-jruby-rack-1.1.18-lib-jruby-rack-1.1.18.jar!/jruby/rack/rails_booter.rb:83:in `load_environment' from <script>:1:in `(root)'

May it be that there are some ruby packages missing in the war file?

Aristedes Maniatis

unread,
Oct 9, 2015, 5:57:35 AM10/9/15
to jobs...@googlegroups.com
Are you running 4.1b1?

Ari

On 9/10/2015 8:46pm, ray wrote:
> Hi everyone I am trying to install jobsworth on openshift, everything works, the WAR gets deployed , a mysql db is present and connected, but still I get following error msg:
>
> |
> nosuch file to load --/localhost/WEB-INF/config/environment.rb fromorg/jruby/RubyKernel.java:1091:in`load' from file:/var/lib/openshift/561698f27628e19f88000041/jbossews/work/Catalina/localhost/_/WEB-INF/lib/gems-gems-jruby-rack-1.1.18-lib-jruby-rack-1.1.18.jar!/jruby/rack/rails/environment2.rb:25:in `load_environment' from file:/var/lib/openshift/561698f27628e19f88000041/jbossews/work/Catalina/localhost/_/WEB-INF/lib/gems-gems-jruby-rack-1.1.18-lib-jruby-rack-1.1.18.jar!/jruby/rack/rails_booter.rb:83:in `load_environment'from<script>:1:in`(root)'
> |
>
> May it be that there are some ruby packages missing in the war file?
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "jobsworth" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jobsworth+...@googlegroups.com <mailto:jobsworth+...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

--
-------------------------->
Aristedes Maniatis
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001 fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

signature.asc

Rainer Lissewski

unread,
Oct 9, 2015, 6:09:12 AM10/9/15
to jobs...@googlegroups.com
I tried 4.1b1 , it did deploy, but then didnt even show the below error,
just blank screen.

The below error msg is from deployment of 4.0.1

Aristedes Maniatis

unread,
Oct 9, 2015, 6:17:26 AM10/9/15
to jobs...@googlegroups.com
4.0.1 had some oddities in the packaging. I recommend 4.1b1.

I'm running 4.1b1 in production right now (but under tomcat), so I think this is a configuration issue. Let's see if we can identify the problem. Do you get any logs during the deployment process?

With a free tier, openshift might be a good way for us to host a demo, so let's see if we can get it working. Vikrant, any ideas?

Ari
signature.asc

Rainer Lissewski

unread,
Oct 9, 2015, 7:50:30 AM10/9/15
to jobs...@googlegroups.com
Hi I tried 41b1 on openshift with tomcat7, it deployed without any
suspicious log messages.
But no result showing when calling from browser

Vikrant Chaudhary

unread,
Oct 13, 2015, 1:38:44 AM10/13/15
to jobs...@googlegroups.com
Yes, deploying on OpenShift can be a good alternative.
I think that going forward, we should rather publish a Docker image instead of .war file and that should help avoid lots of installation issues.


__

Vikrant Chaudhary
(Managing Director)
http://webstream.io
+91 9901 656064



To unsubscribe from this group and stop receiving emails from it, send an email to jobsworth+...@googlegroups.com.

Aristedes Maniatis

unread,
Oct 13, 2015, 1:49:56 AM10/13/15
to jobs...@googlegroups.com
On 13/10/2015 4:38pm, Vikrant Chaudhary wrote:
> Yes, deploying on OpenShift can be a good alternative.
> I think that going forward, we should rather publish a Docker image instead of .war file and that should help avoid lots of installation issues.

Perhaps. But docker is much more limited in where you can deploy. For now, let's update our instructions for what is needed to get it to work on openshift.

Ari
signature.asc

ray

unread,
Nov 9, 2015, 5:22:21 AM11/9/15
to jobsworth
HI Vikrant, I just added a comment to your related stackoverflow question : http://stackoverflow.com/questions/33328812/openshift-removes-all-files-from-the-war-file-except-web-inf-lib

Vikrant Chaudhary

unread,
Nov 9, 2015, 12:46:04 PM11/9/15
to jobs...@googlegroups.com
Thanks. I'll give this a try.

Ángel F

unread,
Nov 10, 2015, 5:45:47 AM11/10/15
to jobs...@googlegroups.com

This could make me jump on the ship again.
Great news.

Thank you!

Vikrant Chaudhary

unread,
Nov 17, 2015, 2:59:33 AM11/17/15
to jobs...@googlegroups.com
I've forwarded the question to their mailing list - http://lists.openshift.redhat.com/openshiftmm/listinfo/users

ray

unread,
Mar 25, 2016, 11:14:45 AM3/25/16
to jobsworth
HAs this been solved yet? would be real great..

Aristedes Maniatis

unread,
Mar 26, 2016, 8:36:22 PM3/26/16
to jobs...@googlegroups.com
On 26/03/2016 2:14am, ray wrote:
> HAs this been solved yet? would be real great..

No. But if there is anyone here with experience of openshift who could help... unfortunately my developer was unable to solve the problems with deploying on that platform.

Ari


--
-------------------------->
Aristedes Maniatis
CEO, ish
https://www.ish.com.au
signature.asc
Reply all
Reply to author
Forward
0 new messages