Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

v4.1 Instalation errors on CentOS 7, Tomcat8, JDK7

52 views
Skip to first unread message

Ricardo Klein

unread,
May 24, 2016, 3:03:09 PM5/24/16
to jobsworth
Hi there,

I am having trouble installing JobsWorth on CentOS7 with Tomcat 8 and JDK7.

Here are the error log: http://pastebin.com/rUHHVmyy
And configuration files:
/opt/tomcat/webapps/ROOT/WEB-INF/config/context.xml:  http://pastebin.com/XwSgyHGR
/opt/tomcat/webapps/ROOT/WEB-INF/config/database.yml: http://pastebin.com/N3b9d9Zd
/opt/tomcat/webapps/ROOT/WEB-INF/config/database.mysql.yml: http://pastebin.com/2QCJGGb9

Tomcat runs under user tomcat (and it is working fine). All permissions under /opt/tomcat are full to user tomcat.

Is there anything I am doing wrong?


(OK I know that I should not run tomcat8 on java7, but, I can update java with no problems if that is the problem)


Ari Maniatis

unread,
Jun 5, 2016, 9:29:44 PM6/5/16
to jobsworth
Did you try one of that new 5.0 milestones? I think you'll have a much easier time getting that working.

Ari

Ricardo Klein

unread,
Jun 6, 2016, 7:56:55 AM6/6/16
to jobsworth
Hi Ari,

but the 5.0 branch is not alpha/beta?
Is it safe to have this in production?

Aristedes Maniatis

unread,
Jun 6, 2016, 10:11:30 AM6/6/16
to jobs...@googlegroups.com
I have it in production myself. The only known issues are all in github flagged as "regressions".

Ari


On 6/06/2016 9:56pm, Ricardo Klein wrote:
> Hi Ari,
>
> but the 5.0 branch is not alpha/beta?
> Is it safe to have this in production?
>
>
>
>
> On Sunday, June 5, 2016 at 10:29:44 PM UTC-3, Ari Maniatis wrote:
>
> Did you try one of that new 5.0 milestones? I think you'll have a much easier time getting that working.
>
> Ari
>
> On Wednesday, 25 May 2016 05:03:09 UTC+10, Ricardo Klein wrote:
>
> Hi there,
>
> I am having trouble installing JobsWorth on CentOS7 with Tomcat 8 and JDK7.
>
> Here are the error log: http://pastebin.com/rUHHVmyy <http://pastebin.com/rUHHVmyy>
> And configuration files:
> /opt/tomcat/webapps/ROOT/WEB-INF/config/context.xml: http://pastebin.com/XwSgyHGR
> /opt/tomcat/webapps/ROOT/WEB-INF/config/database.yml: http://pastebin.com/N3b9d9Zd <http://pastebin.com/N3b9d9Zd>
> /opt/tomcat/webapps/ROOT/WEB-INF/config/database.mysql.yml: http://pastebin.com/2QCJGGb9
>
> Tomcat runs under user tomcat (and it is working fine). All permissions under /opt/tomcat are full to user tomcat.
>
> Is there anything I am doing wrong?
>
>
> (OK I know that I should not run tomcat8 on java7, but, I can update java with no problems if that is the problem)
>
>
> --
>
> ---
> 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
CEO, ish
https://www.ish.com.au
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

signature.asc

Ricardo Klein

unread,
Jun 6, 2016, 2:04:53 PM6/6/16
to jobsworth
OK, sold.
I will give it a try, any recomendations?

Do I need to run any rails command to fetch deps or just deploy the war and he does all the job?
(because I didnt saw any datailed how-to on the github page, maybe if I get this working I could help and write one)

Ricardo Klein

unread,
Jun 6, 2016, 2:45:15 PM6/6/16
to jobsworth
Ari,

Trying with java8, tomcat8 and MariaDB (defaults from CentOS7).

My configs:
/opt/tomcat/conf/context.xml:  http://pastebin.com/BdAwyGY0

Still get errors: http://pastebin.com/RFuxJBCq


I know that this is something related to database connection, but, I have created the database and the user can connect (granted all privileges on that database to it):
[root@jobsworth tomcat]# mysql -u jobsworth --database jobsworth -pjobsnutec
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 16
Server version: 5.5.47-MariaDB MariaDB Server

Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [jobsworth]> 



can you help me?

Aristedes Maniatis

unread,
Jun 6, 2016, 7:02:07 PM6/6/16
to jobs...@googlegroups.com
On 7/06/2016 4:45am, Ricardo Klein wrote:
> I know that this is something related to database connection, but, I have created the database and the user can connect (granted all privileges on that database to it):
> [root@jobsworth tomcat]# mysql -u jobsworth --database jobsworth -pjobsnutec

I can't see any obvious problems. But is your database listening on localhost or on the default NIC? Do you get any logs on the database server showing the failed connection attempt?

Ari
signature.asc

Ricardo Klein

unread,
Jun 6, 2016, 8:02:10 PM6/6/16
to jobsworth
Ari,

shame on me, it was really a database problem, I mispelled the password.
jobsworth is up and running.

thanks.
Reply all
Reply to author
Forward
0 new messages