Date: Thu, 8 May 2014 15:30:20 +0200 From: horst leitenmueller <horst.leitenmueller@liwest.at> To: Alexander Yerenkow <yerenkow@gmail.com> Cc: Ports FreeBSD <freebsd-ports@freebsd.org> Subject: Re: Java wildfly port Message-ID: <E58840F0-16AD-4BAC-A0D0-4077B3C52D61@liwest.at> In-Reply-To: <CAPJF9wk=xOJnZJyifieaVSCTRMGJ5JrjBuLqFdq=8hGdV9ZTYA@mail.gmail.com> References: <CAPJF9wmqF_p=KYMPecfjS9JRdLSxP58oY3ARZ2djMaey2oci4Q@mail.gmail.com> <6B2116F3-83DB-455D-88A0-18072E5AD490@liwest.at> <CAPJF9wk=xOJnZJyifieaVSCTRMGJ5JrjBuLqFdq=8hGdV9ZTYA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Alexander, works for standalone now :-) INFO: > Which is best way to detect first-start? i meant for startup: make install ; THEN chown ; and the start via rc.d i would add just the information for the add-user script and the management access; if somebody enables i think it=92s the risk = of the admin of the system =97=97=97=97 if you want to access the management console you need additional the arg = -bmanagement=3DIP_to_which_the_9990_Port_is_bound additional you have to create a admin user via = /usr/local/wildfly-8.0.0/bin/add-user.sh =97=97=97=97 problem is still if you would add a domain then you have again problems = with the directory rights, but at the moment = /usr/local/etc/rc.d/wildfly80=20 is only starting standalone.sh if you would add the following then all parts would be covered DOMAIN = and STANDALONE... default DOMAIN directory /usr/local/wildfly-8.0.0/domain/data=20 in /usr/local/etc/rc.d/wildfly80 # wildfly80_startup (str): Set to "DOMAIN" to enable domain or = "STANDALONE" which is default chown -R ${wildfly80_user}:${wildfly80_group} ${WILDFLY_HOME}/domain echo "Starting wildfly80. <"${wildfly80_startup}">" wildfly80_startup=3D"${wildfly80_startup:-"STANDALONE=94}" if [ ${wildfly80_startup} =3D=3D "DOMAIN" ] then daemon -u ${wildfly80_user} ${WILDFLY_HOME}/bin/domain.sh = ${wildfly80_args} >> ${wildfly80_log_stdout} 2>> ${wildfly80_log_stderr} else daemon -u ${wildfly80_user} ${WILDFLY_HOME}/bin/standalone.sh = ${wildfly80_args} >> ${wildfly80_log_stdout} 2>> ${wildfly80_log_stderr} fi br horst On 08 May 2014, at 10:44, Alexander Yerenkow <yerenkow@gmail.com> wrote: > I updated archive (with tweaks from both Kurt and Horst). >=20 > https://home.gits.kiev.ua/wildfly80.tar.bz2 >=20 >=20 >=20 > 2014-05-08 10:13 GMT+03:00 horst leitenmueller < > horst.leitenmueller@liwest.at>: >=20 >> Hi Alexander, >>=20 >> first thank=92s for your work >>=20 >> i have tested installation on 9.2-RELEASE with openjdk version = "1.7.0_25" >>=20 >> ERROR: >> java.lang.IllegalArgumentException: Failed to instantiate class >> "org.jboss.logmanager.handlers.PeriodicRotatingFileHandler" for = handler >> "FILE" >>=20 >>=20 >> Caused by: java.io.FileNotFoundException: >> /usr/local/wildfly-8.0.0.Final/standalone/log/server.log (No such = file or >> directory) >>=20 >>=20 >> =3D> log directory in standalone is missing cause by following = problem >>=20 >> chown -R www:www /usr/local/wildfly-8.0.0.Final >> is missing >>=20 >> if changed before first start; installation works like charm >>=20 >=20 > Which is best way to detect first-start? > I placed chown (but only of standalone subdir) in _start section, = should > work. >=20 >=20 >>=20 >>=20 >> INFO: >> not 100% correct (see also >> https://docs.jboss.org/author/display/WFLY8/Command+line+parameters) >>=20 >> i testet both constellations of binding both where working >>=20 >> -Djboss.bind.address=3D >>=20 >> and >>=20 >> -b IP_to_bind_to >>=20 >> as rc.conf _args >>=20 >=20 > Oh, great, they returned '-b' back :) > Updated info to this simpler form. >=20 >=20 >> NTH: >>=20 >=20 >> - info about wildfly80_enable=3D=93YES=94 to put to rc.conf >>=20 >> - some info on how to enable the administration console because at = the >> moment only localhost ist enabled=85. >> i will write something together... >>=20 > I think it's more about their documentation, default setup is = localhost due > to security, if you need to change this, you should > have deep knowledge how and why. >=20 >=20 >>=20 >> deployment i have not testet but i think when rights of the = directories >> are working=85 the rest should also >>=20 >=20 >>=20 >> br horst >>=20 >=20 > Thanks! >=20 >>=20 >> On 24 Apr 2014, at 19:48, Alexander Yerenkow <yerenkow@gmail.com> = wrote: >>=20 >> Could anyone take a PR 188339 ? >> Thanks. >>=20 >> -- >> Regards, >> Alexander Yerenkow >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to = "freebsd-ports-unsubscribe@freebsd.org" >>=20 >>=20 >>=20 >=20 >=20 > --=20 > Regards, > Alexander Yerenkow > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to = "freebsd-ports-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E58840F0-16AD-4BAC-A0D0-4077B3C52D61>