Systemd unit for Glassfish v4 server

Hi all!
Im trying to set up sytemd unit for glassfish4 web server but I am ending up in failed satate..
Here's what I got:
cat /usr/lib/systemd/system/glassfish.service
[Unit]
Description=GlassFish Server
[Service]
ExecStart=/home/pian/glassfish4/bin/asadmin start-domain
ExecStop=/home/pian/glassfish4/bin/asadmin stop-domain
ExecReload=/home/pian/glassfish4/bin/asadmin restart-domain
Type=forking
TimeoutSec=15min
[Install]
WantedBy=multi-user.target
#systemctl status glassfish.service
* glassfish.service - GlassFish Server
Loaded: loaded (/usr/lib/systemd/system/glassfish.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2015-03-22 14:54:34 UTC; 10min ago
Process: 142 ExecStart=/home/pian/glassfish4/bin/asadmin start-domain (code=exited, status=1/FAILURE)
Mar 22 14:43:32 alarmpi systemd[1]: Starting GlassFish Server...
Mar 22 14:54:34 alarmpi asadmin[142]: Waiting for domain1 to start ................................................................................................................................................
Mar 22 14:54:34 alarmpi asadmin[142]: serverNoStart
Mar 22 14:54:34 alarmpi asadmin[142]: Command start-domain failed.
Mar 22 14:54:34 alarmpi systemd[1]: glassfish.service: control process exited, code=exited status=1
Mar 22 14:54:34 alarmpi systemd[1]: Failed to start GlassFish Server.
Mar 22 14:54:34 alarmpi systemd[1]: Unit glassfish.service entered failed state.
Mar 22 14:54:34 alarmpi systemd[1]: glassfish.service failed.
glassfish's log file
[2015-03-22T15:08:25.078+0000] [] [INFO] [NCLS-GFLAUNCHER-00005] [javax.enterprise.launcher] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1427036905078] [levelValue: 800] [[
JVM invocation command line:
/usr/lib/jvm/java-8-openjdk/bin/java
-cp
/home/pian/glassfish4/glassfish/modules/glassfish.jar
-XX:+UnlockDiagnosticVMOptions
-XX:NewRatio=2
-XX:MaxPermSize=192m
-Xmx512m
-client
-javaagent:/home/pian/glassfish4/glassfish/lib/monitor/flashlight-agent.jar
-Djavax.xml.accessExternalSchema=all
-Djavax.net.ssl.trustStore=/home/pian/glassfish4/glassfish/domains/domain1/config/cacerts.jks
-Djdk.corba.allowOutputStreamSubclass=true
-Dfelix.fileinstall.dir=/home/pian/glassfish4/glassfish/modules/autostart/
-Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall
-Dcom.sun.aas.installRoot=/home/pian/glassfish4/glassfish
-Dfelix.fileinstall.poll=5000
-Djava.endorsed.dirs=/home/pian/glassfish4/glassfish/modules/endorsed:/home/pian/glassfish4/glassfish/lib/endorsed
-Djava.security.policy=/home/pian/glassfish4/glassfish/domains/domain1/config/server.policy
-Dosgi.shell.telnet.maxconn=1
-Dfelix.fileinstall.bundles.startTransient=true
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dfelix.fileinstall.log.level=2
-Djavax.net.ssl.keyStore=/home/pian/glassfish4/glassfish/domains/domain1/config/keystore.jks
-Djava.security.auth.login.config=/home/pian/glassfish4/glassfish/domains/domain1/config/login.conf
-Dfelix.fileinstall.disableConfigSave=false
-Dfelix.fileinstall.bundles.new.start=true
-Dcom.sun.aas.instanceRoot=/home/pian/glassfish4/glassfish/domains/domain1
-Dosgi.shell.telnet.port=6666
-Dgosh.args=--nointeractive
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
-Dosgi.shell.telnet.ip=127.0.0.1
-DANTLR_USE_DIRECT_CLASS_LOADING=true
-Djava.awt.headless=true
-Dcom.ctc.wstx.returnNullForDefaultNamespace=true
-Djava.ext.dirs=/usr/lib/jvm/java-8-openjdk/lib/ext:/usr/lib/jvm/java-8-openjdk/jre/lib/ext:/home/pian/glassfish4/glassfish/domains/domain1/lib/ext
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djava.library.path=/home/pian/glassfish4/glassfish/lib:/usr/java/packages/lib/arm:/lib:/usr/lib
com.sun.enterprise.glassfish.bootstrap.ASMain
-upgrade
false
-domaindir
/home/pian/glassfish4/glassfish/domains/domain1
-read-stdin
true
-asadmin-args
--host,,,localhost,,,--port,,,4848,,,--secure=false,,,--terse=false,,,--echo=false,,,--interactive=false,,,start-domain,,,--verbose=false,,,--watchdog=false,,,--debug=false,,,--domaindir,,,/home/pian/glassfish4/glassfish/domains,,,domain1
-domainname
domain1
-instancename
server
-type
DAS
-verbose
false
-asadmin-classpath
/home/pian/glassfish4/glassfish/lib/client/appserver-cli.jar
-debug
false
-asadmin-classname
com.sun.enterprise.admin.cli.AdminMain]]
[2015-03-22T15:10:49.758+0000] [glassfish 4.1] [INFO] [NCLS-LOGGING-00009] [javax.enterprise.logging] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037049758] [levelValue: 800] [[
Running GlassFish Version: GlassFish Server Open Source Edition 4.1 (build 13)]]
[2015-03-22T15:10:49.826+0000] [glassfish 4.1] [INFO] [NCLS-LOGGING-00010] [javax.enterprise.logging] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037049826] [levelValue: 800] [[
Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter]]
[2015-03-22T15:10:58.384+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=12 _ThreadName=RunLevelControllerThread-1427037040685] [timeMillis: 1427037058384] [levelValue: 800] [[
Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]
[2015-03-22T15:10:58.495+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=12 _ThreadName=RunLevelControllerThread-1427037040685] [timeMillis: 1427037058495] [levelValue: 800] [[
Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]
[2015-03-22T15:10:59.986+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=12 _ThreadName=RunLevelControllerThread-1427037040685] [timeMillis: 1427037059986] [levelValue: 800] [[
Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.]]
[2015-03-22T15:11:19.304+0000] [glassfish 4.1] [INFO] [SEC-SVCS-00100] [javax.enterprise.security.services] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1427037041041] [timeMillis: 1427037079304] [levelValue: 800] [[
Authorization Service has successfully initialized.]]
[2015-03-22T15:11:34.956+0000] [glassfish 4.1] [INFO] [] [org.glassfish.ha.store.spi.BackingStoreFactoryRegistry] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1427037041041] [timeMillis: 1427037094956] [levelValue: 800] [[
Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry]]
[2015-03-22T15:11:35.020+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=14 _ThreadName=RunLevelControllerThread-1427037041032] [timeMillis: 1427037095020] [levelValue: 800] [[
Grizzly Framework 2.3.15 started in: 1,051ms - bound to [/0.0.0.0:8080]]]
[2015-03-22T15:11:42.794+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=14 _ThreadName=RunLevelControllerThread-1427037041032] [timeMillis: 1427037102794] [levelValue: 800] [[
Grizzly Framework 2.3.15 started in: 60ms - bound to [/0.0.0.0:8181]]]
[2015-03-22T15:11:49.478+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=14 _ThreadName=RunLevelControllerThread-1427037041032] [timeMillis: 1427037109478] [levelValue: 800] [[
Grizzly Framework 2.3.15 started in: 50ms - bound to [/0.0.0.0:4848]]]
[2015-03-22T15:11:53.456+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=14 _ThreadName=RunLevelControllerThread-1427037041032] [timeMillis: 1427037113456] [levelValue: 800] [[
Grizzly Framework 2.3.15 started in: 12ms - bound to [/0.0.0.0:3700]]]
[2015-03-22T15:14:14.999+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037254999] [levelValue: 800] [[
visiting unvisited references]]
[2015-03-22T15:15:00.827+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01002] [javax.enterprise.system.core.security] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037300827] [levelValue: 800] [[
Java security manager is disabled.]]
[2015-03-22T15:15:00.842+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01010] [javax.enterprise.system.core.security] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037300842] [levelValue: 800] [[
Entering Security Startup Service.]]
[2015-03-22T15:15:01.135+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01143] [javax.enterprise.system.core.security] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037301135] [levelValue: 800] [[
Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.]]
[2015-03-22T15:15:07.477+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01011] [javax.enterprise.system.core.security] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037307477] [levelValue: 800] [[
Security Service(s) started successfully.]]
[2015-03-22T15:15:35.705+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00198] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037335705] [levelValue: 800] [[
Created HTTP listener http-listener-1 on host/port 0.0.0.0:8080]]
[2015-03-22T15:15:36.235+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00198] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037336235] [levelValue: 800] [[
Created HTTP listener http-listener-2 on host/port 0.0.0.0:8181]]
[2015-03-22T15:15:36.542+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00198] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037336542] [levelValue: 800] [[
Created HTTP listener admin-listener on host/port 0.0.0.0:4848]]
[2015-03-22T15:15:37.531+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00200] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037337531] [levelValue: 800] [[
Created virtual server server]]
[2015-03-22T15:15:37.794+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00200] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037337794] [levelValue: 800] [[
Created virtual server __asadmin]]
[2015-03-22T15:15:47.942+0000] [glassfish 4.1] [INFO] [AS-WEB-CORE-00306] [javax.enterprise.web.core] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037347942] [levelValue: 800] [[
Setting JAAS app name glassfish-web]]
[2015-03-22T15:15:47.965+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00201] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037347965] [levelValue: 800] [[
Virtual server server loaded default web module ]]
[2015-03-22T15:16:31.619+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037391619] [levelValue: 800] [[
visiting unvisited references]]
[2015-03-22T15:16:32.504+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037392504] [levelValue: 800] [[
visiting unvisited references]]
[2015-03-22T15:16:32.624+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037392624] [levelValue: 800] [[
visiting unvisited references]]
[2015-03-22T15:16:32.740+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037392740] [levelValue: 800] [[
visiting unvisited references]]
[2015-03-22T15:16:32.856+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037392856] [levelValue: 800] [[
visiting unvisited references]]
[2015-03-22T15:16:32.975+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037392975] [levelValue: 800] [[
visiting unvisited references]]
[2015-03-22T15:16:33.092+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037393092] [levelValue: 800] [[
visiting unvisited references]]
[2015-03-22T15:16:33.212+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037393212] [levelValue: 800] [[
visiting unvisited references]]
when starting Glassfish from terminal with asadmin start-domain I get this:
$ ./asadmin start-domain
Waiting for domain1 to start ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
serverNoStart
Command start-domain failed.
and this gets logged:
[2015-03-22T15:39:24.132+0000] [] [INFO] [NCLS-GFLAUNCHER-00005] [javax.enterprise.launcher] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1427038764132] [levelValue: 800] [[
JVM invocation command line:
/usr/lib/jvm/java-8-openjdk/bin/java
-cp
/home/pian/glassfish4/glassfish/modules/glassfish.jar
-XX:+UnlockDiagnosticVMOptions
-XX:NewRatio=2
-XX:MaxPermSize=192m
-Xmx512m
-client
-javaagent:/home/pian/glassfish4/glassfish/lib/monitor/flashlight-agent.jar
-Djavax.xml.accessExternalSchema=all
-Djavax.net.ssl.trustStore=/home/pian/glassfish4/glassfish/domains/domain1/config/cacerts.jks
-Djdk.corba.allowOutputStreamSubclass=true
-Dfelix.fileinstall.dir=/home/pian/glassfish4/glassfish/modules/autostart/
-Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall
-Dcom.sun.aas.installRoot=/home/pian/glassfish4/glassfish
-Dfelix.fileinstall.poll=5000
-Djava.endorsed.dirs=/home/pian/glassfish4/glassfish/modules/endorsed:/home/pian/glassfish4/glassfish/lib/endorsed
-Djava.security.policy=/home/pian/glassfish4/glassfish/domains/domain1/config/server.policy
-Dosgi.shell.telnet.maxconn=1
-Dfelix.fileinstall.bundles.startTransient=true
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dfelix.fileinstall.log.level=2
-Djavax.net.ssl.keyStore=/home/pian/glassfish4/glassfish/domains/domain1/config/keystore.jks
-Djava.security.auth.login.config=/home/pian/glassfish4/glassfish/domains/domain1/config/login.conf
-Dfelix.fileinstall.disableConfigSave=false
-Dfelix.fileinstall.bundles.new.start=true
-Dcom.sun.aas.instanceRoot=/home/pian/glassfish4/glassfish/domains/domain1
-Dosgi.shell.telnet.port=6666
-Dgosh.args=--nointeractive
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
-Dosgi.shell.telnet.ip=127.0.0.1
-DANTLR_USE_DIRECT_CLASS_LOADING=true
-Djava.awt.headless=true
-Dcom.ctc.wstx.returnNullForDefaultNamespace=true
-Djava.ext.dirs=/usr/lib/jvm/java-8-openjdk/lib/ext:/usr/lib/jvm/java-8-openjdk/jre/lib/ext:/home/pian/glassfish4/glassfish/domains/domain1/lib/ext
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djava.library.path=/home/pian/glassfish4/glassfish/lib:/usr/java/packages/lib/arm:/lib:/usr/lib
com.sun.enterprise.glassfish.bootstrap.ASMain
-upgrade
false
-domaindir
/home/pian/glassfish4/glassfish/domains/domain1
-read-stdin
true
-asadmin-args
--host,,,localhost,,,--port,,,4848,,,--secure=false,,,--terse=false,,,--echo=false,,,--interactive=true,,,start-domain,,,--verbose=false,,,--watchdog=false,,,--debug=false,,,--domaindir,,,/home/pian/glassfish4/glassfish/domains,,,domain1
-domainname
domain1
-instancename
server
-type
DAS
-verbose
false
-asadmin-classpath
/home/pian/glassfish4/glassfish/lib/client/appserver-cli.jar
-debug
false
-asadmin-classname
com.sun.enterprise.admin.cli.AdminMain]]
[2015-03-22T15:41:45.525+0000] [glassfish 4.1] [INFO] [NCLS-LOGGING-00009] [javax.enterprise.logging] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427038905525] [levelValue: 800] [[
Running GlassFish Version: GlassFish Server Open Source Edition 4.1 (build 13)]]
[2015-03-22T15:41:45.598+0000] [glassfish 4.1] [INFO] [NCLS-LOGGING-00010] [javax.enterprise.logging] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427038905598] [levelValue: 800] [[
Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter]]
[2015-03-22T15:41:54.578+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1427038896771] [timeMillis: 1427038914578] [levelValue: 800] [[
Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]
[2015-03-22T15:41:54.690+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1427038896771] [timeMillis: 1427038914690] [levelValue: 800] [[
Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]
[2015-03-22T15:41:56.229+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1427038896771] [timeMillis: 1427038916229] [levelValue: 800] [[
Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.]]
[2015-03-22T15:42:16.455+0000] [glassfish 4.1] [INFO] [SEC-SVCS-00100] [javax.enterprise.security.services] [tid: _ThreadID=12 _ThreadName=RunLevelControllerThread-1427038896420] [timeMillis: 1427038936455] [levelValue: 800] [[
Authorization Service has successfully initialized.]]
[2015-03-22T15:42:25.582+0000] [glassfish 4.1] [INFO] [] [org.glassfish.ha.store.spi.BackingStoreFactoryRegistry] [tid: _ThreadID=12 _ThreadName=RunLevelControllerThread-1427038896420] [timeMillis: 1427038945582] [levelValue: 800] [[
Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry]]
[2015-03-22T15:42:43.272+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=14 _ThreadName=RunLevelControllerThread-1427038896756] [timeMillis: 1427038963272] [levelValue: 800] [[
Grizzly Framework 2.3.15 started in: 1,079ms - bound to [/0.0.0.0:8080]]]
[2015-03-22T15:42:49.658+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=14 _ThreadName=RunLevelControllerThread-1427038896756] [timeMillis: 1427038969658] [levelValue: 800] [[
Grizzly Framework 2.3.15 started in: 62ms - bound to [/0.0.0.0:8181]]]
[2015-03-22T15:42:54.264+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=14 _ThreadName=RunLevelControllerThread-1427038896756] [timeMillis: 1427038974264] [levelValue: 800] [[
Grizzly Framework 2.3.15 started in: 41ms - bound to [/0.0.0.0:4848]]]
[2015-03-22T15:42:58.446+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=14 _ThreadName=RunLevelControllerThread-1427038896756] [timeMillis: 1427038978446] [levelValue: 800] [[
Grizzly Framework 2.3.15 started in: 12ms - bound to [/0.0.0.0:3700]]]
[2015-03-22T15:45:23.078+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039123078] [levelValue: 800] [[
visiting unvisited references]]
[2015-03-22T15:46:06.032+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01002] [javax.enterprise.system.core.security] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039166032] [levelValue: 800] [[
Java security manager is disabled.]]
[2015-03-22T15:46:06.048+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01010] [javax.enterprise.system.core.security] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039166048] [levelValue: 800] [[
Entering Security Startup Service.]]
[2015-03-22T15:46:06.359+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01143] [javax.enterprise.system.core.security] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039166359] [levelValue: 800] [[
Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.]]
[2015-03-22T15:46:12.625+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01011] [javax.enterprise.system.core.security] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039172625] [levelValue: 800] [[
Security Service(s) started successfully.]]
[2015-03-22T15:46:40.575+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00198] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039200575] [levelValue: 800] [[
Created HTTP listener http-listener-1 on host/port 0.0.0.0:8080]]
[2015-03-22T15:46:41.137+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00198] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039201137] [levelValue: 800] [[
Created HTTP listener http-listener-2 on host/port 0.0.0.0:8181]]
[2015-03-22T15:46:41.462+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00198] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039201462] [levelValue: 800] [[
Created HTTP listener admin-listener on host/port 0.0.0.0:4848]]
[2015-03-22T15:46:42.503+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00200] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039202503] [levelValue: 800] [[
Created virtual server server]]
[2015-03-22T15:46:42.788+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00200] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039202788] [levelValue: 800] [[
Created virtual server __asadmin]]
[2015-03-22T15:46:52.796+0000] [glassfish 4.1] [INFO] [AS-WEB-CORE-00306] [javax.enterprise.web.core] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039212796] [levelValue: 800] [[
Setting JAAS app name glassfish-web]]
[2015-03-22T15:46:52.815+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00201] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039212815] [levelValue: 800] [[
Virtual server server loaded default web module ]]
[2015-03-22T15:47:35.172+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039255172] [levelValue: 800] [[
visiting unvisited references]]
[2015-03-22T15:47:36.122+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039256122] [levelValue: 800] [[
visiting unvisited references]]
[2015-03-22T15:47:36.245+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039256245] [levelValue: 800] [[
visiting unvisited references]]
[2015-03-22T15:47:36.369+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039256369] [levelValue: 800] [[
visiting unvisited references]]
[2015-03-22T15:47:36.493+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039256493] [levelValue: 800] [[
visiting unvisited references]]
[2015-03-22T15:47:36.619+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039256619] [levelValue: 800] [[
visiting unvisited references]]
[2015-03-22T15:47:36.741+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039256741] [levelValue: 800] [[
visiting unvisited references]]
[2015-03-22T15:47:36.871+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039256871] [levelValue: 800] [[
visiting unvisited references]]
[2015-03-22T15:49:33.162+0000] [glassfish 4.1] [INFO] [] [org.glassfish.jersey.server.ApplicationHandler] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039373162] [levelValue: 800] [[
Initiating Jersey application, version Jersey: 2.10.4 2014-08-08 15:09:00...]]
[2015-03-22T15:50:26.435+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00172] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039426435] [levelValue: 800] [[
Loading application [service] at [/service]]]
[2015-03-22T15:50:26.502+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00022] [javax.enterprise.system.core] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039426502] [levelValue: 800] [[
Loading application service done in 486,416 ms]]
[2015-03-22T15:50:26.554+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00017] [javax.enterprise.system.core] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1427039426554] [levelValue: 800] [[
GlassFish Server Open Source Edition 4.1 (13) startup time : Felix (127,555ms), startup services(530,277ms), total(657,832ms)]]
[2015-03-22T15:50:51.956+0000] [glassfish 4.1] [INFO] [NCLS-JMX-00024] [javax.enterprise.system.jmx] [tid: _ThreadID=59 _ThreadName=Thread-19] [timeMillis: 1427039451956] [levelValue: 800] [[
Creating a SecureRMIServerSocketFactory @ 0.0.0.0 with ssl config = GlassFishConfigBean.org.glassfish.grizzly.config.dom.Ssl]]
[2015-03-22T15:50:52.232+0000] [glassfish 4.1] [WARNING] [NCLS-JMX-00020] [javax.enterprise.system.jmx] [tid: _ThreadID=59 _ThreadName=Thread-19] [timeMillis: 1427039452232] [levelValue: 900] [[
All SSL cipher suites disabled for network-listener(s). Using SSL implementation specific defaults]]
[2015-03-22T15:50:52.223+0000] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=59 _ThreadName=Thread-8] [timeMillis: 1427039452223] [levelValue: 800] [[
SSLParams =org.glassfish.admin.mbeanserver.ssl.SSLParams@1a7d45]]
[2015-03-22T15:50:53.861+0000] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=59 _ThreadName=Thread-8] [timeMillis: 1427039453861] [levelValue: 800] [[
SSLParams =org.glassfish.admin.mbeanserver.ssl.SSLParams@1a7d45]]
[2015-03-22T15:50:53.870+0000] [glassfish 4.1] [WARNING] [NCLS-JMX-00020] [javax.enterprise.system.jmx] [tid: _ThreadID=59 _ThreadName=Thread-19] [timeMillis: 1427039453870] [levelValue: 900] [[
All SSL cipher suites disabled for network-listener(s). Using SSL implementation specific defaults]]
right now, glassfish is started, but when accessing deployed application's URL (it's REST web service) I get resource not available.
after a while sevice get's available and this is appended into the log:
[2015-03-22T15:51:01.140+0000] [glassfish 4.1] [INFO] [NCLS-JMX-00025] [javax.enterprise.system.jmx] [tid: _ThreadID=59 _ThreadName=Thread-19] [timeMillis: 1427039461140] [levelValue: 800] [[
SSLServerSocket /0.0.0.0:8686 and [SSL: ServerSocket[addr=/0.0.0.0,localport=8686]] created]]
[2015-03-22T15:51:08.236+0000] [glassfish 4.1] [INFO] [NCLS-BOOTSTRAP-00027] [javax.enterprise.bootstrap] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1427039468236] [levelValue: 800] [[
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@5a060f as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@ec523c.]]
[2015-03-22T15:52:03.697+0000] [glassfish 4.1] [INFO] [NCLS-JMX-00005] [javax.enterprise.system.jmx] [tid: _ThreadID=59 _ThreadName=Thread-19] [timeMillis: 1427039523697] [levelValue: 800] [[
JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://alarmpi:8686/jndi/rmi://alarmpi:8686/jmxrmi]]
[2015-03-22T15:53:19.225+0000] [glassfish 4.1] [INFO] [] [org.hibernate.validator.internal.util.Version] [tid: _ThreadID=25 _ThreadName=http-listener-1(4)] [timeMillis: 1427039599225] [levelValue: 800] [[
HV000001: Hibernate Validator 5.0.0.Final]]
[2015-03-22T15:53:30.219+0000] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1427039610219] [levelValue: 800] [[
[EL Info]: 2015-03-22 15:53:30.062--ServerSession(32742320)--EclipseLink, version: Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd]]
[2015-03-22T15:53:34.081+0000] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1427039614081] [levelValue: 800] [[
[EL Info]: connection: 2015-03-22 15:53:34.067--ServerSession(32742320)--file:/home/pian/glassfish4/glassfish/domains/domain1/applications/service/WEB-INF/classes/_serviceUnit login successful]]
So can you, please, help me understand what is happening and what I need to do to correctly start glassfish's domain with deployed application in it via systemd?
Thank you!
Last edited by greengold (2015-03-22 16:10:33)

I suggest you create a dedicated user for your calibre service and not run it as root (User=, Group=). I'm not so sure running that code mess as root.
Edit: Or if you want the server to run only when your user is logged in, then create it in the systemd user session.
Last edited by progandy (2015-01-18 23:56:03)

Similar Messages

  • Classpath for GlassFish Application Server

    Hi everyone,
    Iam learning EJB. My IDE is eclipse and Application Server is GlassFish Enterprise Server 2.1.
    While coding EJB using eclipse,iam not getting the pop-ups for using EJB namespaces.
    What settings do i need to do in the IDE to code for EJB?.

    I found the answer. Its a simple thing. i just downloaded the ejb.jar file and added to the classpath.

  • NSS FIPS 140-2 encryption for Glassfish App Server on Windows

    We would like to configure Java such that our web service communications will be encrypted in a manner that is FIPS 140-2 compliant.
    I see here that Sun has achieved success in compliance testing in conjunction with the NSS libraries from Mozilla:
    http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/1401val2007.htm#814
    I found Andrea's excellent blog which took me through steps in setting up the ..\jre\lib\security\java.security file and in setting up the nss.cfg file:
    http://blogs.sun.com/andreas/entry/elliptic_curve_cryptography_in_java
    However, when I go to the download of Mozilla \ NSS the latest releases only provide the C code tar bundles. The latest release that provided the binaries for Windows was 3.11 and that was for Windows NT.
    ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_11_RTM/
    I was therefore hoping that someone might have a step-by-step such that I could create these binaries for Windows XP and Windows Vista. Or even better someone might know of a site where I could download them.
    Other information: Our installation of Glassfish also has Metro installed.
    Thanks for any help or advice.

    Again you are a winner!
    I found certutil and modutil under C:\Mozilla\nss-3.12.4-with-nspr-4.8\mozilla\dist\WINNT5.1_DBG.OBJ\bin and the -N -d . was exactly what I needed.
    I found this blog: http://blogs.sun.com/arnabold/entry/jks_nss_and_glassfish It is a little dated but I need to somehow get Glassfish start-up to recognize my keystore as FIPS.
    The error that I am seeing when I attempt to start GlassfishV2.1 from Netbeans is:
    CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0_13] from [Sun Microsystems Inc.]
    Using MQ RA for Broker lifecycle control
    SEC1002: Security Manager is OFF.
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
    Caused by: java.lang.ExceptionInInitializerError
    at com.sun.enterprise.security.SecurityLifecycle.onInitialization(SecurityLifecycle.java:101)
    at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:262)
    at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:103)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:399)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
    ... 5 more
    Caused by: java.lang.IllegalStateException: java.security.KeyStoreException: FIPS mode: KeyStore must be from provider SunPKCS11-NSS
    at com.sun.enterprise.security.SSLUtils.<clinit>(SSLUtils.java:128)
    ... 10 more
    Caused by: java.security.KeyStoreException: FIPS mode: KeyStore must be from provider SunPKCS11-NSS
    at com.sun.net.ssl.internal.ssl.KeyManagerFactoryImpl$SunX509.engineInit(KeyManagerFactoryImpl.java:44)
    at javax.net.ssl.KeyManagerFactory.init(KeyManagerFactory.java:239)
    at com.sun.enterprise.security.SSLUtils.initKeyManagers(SSLUtils.java:320)
    at com.sun.enterprise.security.SSLUtils.<clinit>(SSLUtils.java:106)
    ... 10 more
    I am hoping perhaps someone can tell me how to overcome this one, or point me to a blog that would provide instructions.
    Thanks again for your help.

  • Problem creating a new Glassfish 4 server with Oracle Tools for Kepler

    Hello,
    I installed Oracle Tools for Kepler with no problem. But when I want to create a new server and fill in the directory to the server (which is valid, C:/glassfish4/glassfish), nothing happens. I can only click 'back' or 'cancel'.
    There is no error message.
    Is this a bug in Eclipse or Oracle Tools, or do I do something wrong ?
    Thanks in advance for help.

    Hi,
    Could you let us know where you installed the GlassFish tools plugins from ?
    Glassfish 4 support in OEPE has been available since Glassfish was released in June. But it looks like a bug may have been introduced in the latest build  available on  http://download.java.net/glassfish/ which does not exist in the version available at http://download.oracle.com/otn_software/oepe/12.1.2.1/kepler/repository
    The workaround on the version you are running is to enter a dummy password value and this should allow you to create the Glassfish 4 server.
    I will be filing a bug to track this issue
    thanks
    Raj

  • [SOLVED] systemd user unit for lsyncd

    After following the the systemd/User - Basic setup wiki article I have successfully setup user services for systemd.  I've also setup a systemd user "unit" to run lsyncd.  The user unit appears to start successfully based on the unit status shown below.  Only problem is lsyncd isn't running and I'm not seeing any relevant errors or info with journalctl.  If I run the script defined in ExecStart on the command line lsyncd starts as expected.  Any ideas or pointers?
    OUTPUT from "systemctl --user lsyncd.service":
    lsyncd.service - lsyncd
    Loaded: loaded (/home/maseone/.config/systemd/user/lsyncd.service; enabled)
    Active: inactive (dead) since Thu 2014-08-28 18:14:50 PDT; 21min ago
    Process: 630 ExecStart=/home/maseone/.lsyncd/start_lsyncd_simple.sh (code=exited, status=0/SUCCESS)
    Main PID: 630 (code=exited, status=0/SUCCESS)
    Aug 28 18:14:50 archie230x systemd[610]: Starting lsyncd...
    Aug 28 18:14:50 archie230x systemd[610]: Started lsyncd.
    UNIT for lsyncd:
    [Unit]
    Description=lsyncd
    [Service]
    ExecStart=/home/maseone/.lsyncd/start_lsyncd_simple.sh
    [Install]
    WantedBy=default.target
    SCRIPT defined in ExecStart:
    #! /bin/sh
    /bin/lsyncd -log all /home/maseone/.lsyncd/lsyncd.lua
    Last edited by maseone (2014-08-29 04:07:58)

    firecat53 wrote:
    Try changing the service type to forking instead of simple. Or look for an lsycd option that keeps it running in the foreground.
    Scott
    Thanks for the pointer, it worked!  After reading in detail the different types available "forking" does seem the most appropriate type for a daemon written as lsyncd.  I believe using an lsyncd option named "detach" would have worked with the "simple" type but forking seemd more appropriate in my case.
    Also as an update to my original post I have completely removed the use of the shell script and am now calling lsyncd directly in my defined systemd unit.  Also using the %h variable for the home directory now.
    REVISED unit file:
    [Unit]
    Description=lsyncd
    [Service]
    Type=forking
    ExecStart=/bin/lsyncd -log scarce %h/.lsyncd/lsyncd.lua
    [Install]
    WantedBy=default.target

  • Dbus[359]: [system] Activation via systemd failed for unit 'dbus-org.b

    from  journalctl -b, I get some warning messages like this.
    Oct 26 12:52:48 myhost dbus-daemon[359]: dbus[359]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
    Oct 26 12:52:48 myhost dbus[359]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
    Oct 26 12:52:48 myhost dbus-daemon[359]: dbus[359]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.
    Oct 26 12:52:48 myhost dbus[359]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service fail
    Oct 26 12:52:48 myhost pulseaudio[1234]: [pulseaudio] bluetooth-util.c: org.bluez.Manager.ListAdapters() failed: org.freedesktop.systemd1.Lo
    Oct 26 12:52:49 myhost rtkit-daemon[1235]: Successfully made thread 1260 of process 1260 (/usr/bin/pulseaudio) owned by '1000' high priority
    Oct 26 12:52:49 myhost rtkit-daemon[1235]: Supervising 2 threads of 2 processes of 1 users.
    Oct 26 12:52:49 myhost pulseaudio[1260]: [pulseaudio] pid.c: Daemon already running.
    I want to disalbe bluez.service,but failed,
    #systemctl disable dbus-org.bluez.service
    Failed to issue method call: No such file or directory
    I have no bluetooth device in my laptop, how to resolve this porblem?
    Thanks in advance.
    Last edited by eastpeace (2012-10-26 06:12:53)

    AND additional information
    # systemctl status dbus-org.bluez.service
    dbus-org.bluez.service
          Loaded: error (Reason: No such file or directory)
          Active: inactive (dead)

  • Plugin for Glassfish server 3.1

    Hi all,
    We are using oracle glass fish server 3.1.
    IS there any plugin for monitoring glassfish server by cloud control 12c.
    regards,
    Utp

    Hi Utp,
    Currently, our monitoring capabilities for Glassfish are limited to JVM diagnostics.
    That is a separate standalone console, so only in the sense that our goal for management usually incorporates all aspects from monitoring and diagnostics to lifecycle management within EMCC.
    Best Regards,
    Venkat

  • Azure - Glassfish web server

    Is Azure going to support Glassfish web server in the future ?

    Hi greener2014,
    In terms stricly related to support, please be informed that you can install Glassfish on your own on any Azure VM configuration supporting Glassfish just like you would on your own on-premises machine. So the answer is yet.
    In terms of using Glassfish more like a SaaS (for example, Azure Websites) rather than use it like an IaaS, there's no current preview of a Glassfish service running as a service and neither is there any support for pure Java apps on Azure WebSites, from
    what I know. So the answer would be, not yet. What you could do is post a request to have it supported just like you would directly on uservoice:
    http://feedback.azure.com/forums/34192--general-feedback
    Should the community desire such a feature, you'll probably get supported by the rest of Java devs and the team will surely look into it.
    Good luck!
    Alex

  • Systems and platforms: Windows for GlassFish Mobility Platform 1.1

    Hi all,
    I'm new to sun glassfish mobility and wanted to try out the solution. I have a small company for J2ME based hadheld application development. Please help me with below questions.
    - As per Sun GlassFish Mobility Platform technical spec below, for operating systems and platforms i have Windows, but it says development only. What does it mean? Is it that i can not run the Sun "GlassFish Mobility Platform 1.1" in windows system?
    Please suggest.
    Platforms and Requirements
    Operating Systems and Platforms      
    Solaris 10 Operating System
    Red Hat Enterprise Linux 4 and 5
    * Windows (development only)*
    Application Server      
    Sun GlassFish Enterprise Server 2.1
    Client Platform      
    Java Platform, Mobile Edition (Java ME)
    CDC 1.1.2, CLDC 1.1, MIDP 2.0
    Development Kit      
    J2SE 5.0 and JDK 6
    Synchronization Databases      
    MySQL
    * Oracle 9/10

    This means that we don't support deployments of the gateway server on the Windows OS in a production environment.
    The platform deploys and runs fine on Windows, we have systems running the platform on NT, XP and Vista and we support development of Mobility Platform applications on Windows.
    -Hans

  • Setting up a Windows Service for Glassfish v3

    Hello all,
    I have installed Glassfish v3 on our server, but it seems to close down once in a while and does not start up automatically since it is not installed as a service.
    This is the command I try:
    C:\Sun\SDK\lib\appservService.exe "C:\glassfishv3\glassfish\bin\asadmin.bat --user admin start-domain domain1" "C:\glassfishv3\glassfish\bin\asadmin.bat stop-domain domain1\"" start=auto
    I have tried it with various \ and " added here and there. sc.exe always displays its syntax.
    The last I have gotten the following error:
    "errorprinter The service process can not connect to the service controller"
    As you see my appservService.exe and glassfish are in different directories. This is because I had installed the SDK for glassfish v2 and am trying to reuse it as you see.
    Any help would be greatly appreciated.

    I think your problem is something very common, you need to leave a space between start= and auto (Example: start= auto)
    Here is how I create my services, part of a batch file that creates the Domains.
    sc.exe create SunJavaSystemAppDomain1 binPath= "C:\Sun\sdk\lib\appservService.exe \"C:\glassfishv3\glassfish\bin\asadmin.bat start-domain domain1\" \"C:\glassfishv3\glassfish\bin\asadmin.bat stop-domain domain1\ "" start= auto
    sc.exe description SunJavaSystemAppDomain1 "Sun Application Server for Domain1"
    sc.exe start SunJavaSystemAppDomain1

  • Create ADF applications for GlassFish runtime not possible?

    I am running Eclipse with OEPE 12.1.1.2 and want to build an ADF Essentials application for GlassFish.
    I have GlassFish installed into Eclipse (GlassFish Server Open Source Edition 3 (Java EE 6)) and running.
    I have installed ADF Essentials as instructed in FMW Admin Guide 11.1.2.3 appendix C (copied jars to lib directory of domain, set JVM parameters).
    Now when I try to create an ADF Application in Eclipse, I cannot create a GlassFish target runtime. The only options I see are WebLogic 10.3.4, 10.3.5 and 10.3.6.
    The "Download additional server adapters" link doesn't give me any GlassFish options.
    How do I set up a GlassFish ADF Essentials runtime environment in Eclipse? Any pointers appreciated.
    Best regards
    Sten Vesterli
    Edited by: Sten Vesterli on Feb 24, 2013 2:51 PM

    The version of OEPE you are using supports ADF 11g applications that can be deplyed to Weblogic Server. It doesn't support deployment of ADF applications to GlassFish and also doen't support the ADF Essentials version of ADF. These are planned for an upcoming release of OEPE.
    Is the ADF application you would like to build/deploy a pure ADF Faces application or does it include ADF TaskFlow, ADF DataControls and ADF Binding?
    -Raghu

  • [SOLVED] Network Manager systemd unit fails after update

    EDIT: Reinstalling libnm-glib resolved this issue
    After updating to the latest version of NetworkManager (networkmanager-0.9.8.10-3), the systemd unit fails to start. It works fine after downgrading back to the previous version though (networkmanager-0.9.8.10-1). I'm not sure if this is a bug or an error on my end; since the previous package works I've just dowgraded for the time being.  For the update that doesn't work, here is the output of "systemctl status" and the systemd journal:
    >>sudo systemctl daemon-reload
    >> sudo systemctl status NetworkManager
    ● NetworkManager.service - Network Manager
    Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled)
    Active: failed (Result: exit-code) since Wed 2014-06-11 15:28:25 EDT; 10s ago
    Process: 24073 ExecStart=/usr/bin/NetworkManager --no-daemon (code=exited, status=127)
    Main PID: 24073 (code=exited, status=127)
    Jun 11 15:28:25 kyle systemd[1]: NetworkManager.service: main process exited, code=exited, status=127/n/a
    Jun 11 15:28:25 kyle systemd[1]: Failed to start Network Manager.
    Jun 11 15:28:25 kyle systemd[1]: Unit NetworkManager.service entered failed state.
    >> journalctl -xn
    -- Logs begin at Tue 2014-06-10 12:47:19 EDT, end at Wed 2014-06-11 15:28:36 EDT. --
    Jun 11 15:28:25 kyle sudo[24070]: pam_unix(sudo:session): session opened for user root by kyle(uid=0)
    Jun 11 15:28:25 kyle systemd[1]: Starting Network Manager...
    -- Subject: Unit NetworkManager.service has begun with start-up
    -- Defined-By: systemd
    -- Support: [url]http://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
    -- Unit NetworkManager.service has begun starting up.
    Jun 11 15:28:25 kyle systemd[1]: NetworkManager.service: main process exited, code=exited, status=127/n/a
    Jun 11 15:28:25 kyle systemd[1]: Failed to start Network Manager.
    -- Subject: Unit NetworkManager.service has failed
    -- Defined-By: systemd
    -- Support: [url]http://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
    -- Unit NetworkManager.service has failed.
    -- The result is failed.
    Jun 11 15:28:25 kyle systemd[1]: Unit NetworkManager.service entered failed state.
    Jun 11 15:28:25 kyle sudo[24070]: pam_unix(sudo:session): session closed for user root
    Jun 11 15:28:28 kyle dbus[489]: [system] Failed to activate service 'org.freedesktop.nm_dispatcher': timed out
    Jun 11 15:28:36 kyle sudo[24075]: kyle : TTY=pts/2 ; PWD=/var/cache/pacman/pkg ; USER=root ; COMMAND=/usr/bin/systemctl status NetworkManager
    Jun 11 15:28:36 kyle sudo[24075]: pam_unix(sudo:session): session opened for user root by kyle(uid=0)
    Jun 11 15:28:36 kyle sudo[24075]: pam_unix(sudo:session): session closed for user root
    Last edited by T0k3n (2014-07-03 15:18:01)

    Check the changes:
    https://projects.archlinux.org/svntogit … e192881dc5
    https://projects.archlinux.org/svntogit … ee906b6c44
    When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode
    like this
    It makes the code more readable and - in case of longer listings - more convenient to scroll through.

  • Ninit Boot Preparation Automation and Systemd Unit File Converter

    I figured I should try to learn more about init systems and started looking at ninit (AUR entry). Now, I know there's other init systems like ignite, runit, OpenRC, etc., but I haven't gotten around to trying those yet. Furthermore, I also looked at ninit's little brother minit and really liked it, but it didn't have all of the features I was looking for before starting to experiment.
    So during my experiments in my virtual machine (I discovered that my classes were not as fast paced as I thought they would be, except for the labs), I decided that I should write up a basic boot-up, some sample daemons, and a script to convert systemd units to other services for other files. Both still largely in the works, but the boot prep stuff DOES work. A few other things were taken into consideration, such as not having to copy one's /etc/modules-load.d/'s contents into some other file because the stuff at the end of the udev prep stage will read those in and killing off all the daemons configured in daemons/depends before bringing down the system (note: I haven't checked to see if it's intelligent to try backtracking the dependencies of those stopped daemons to make sure any daemons brought in with deps are down).
    I don't think I've got the clock-related preparation set up right just yet or some of the other boot stages that I haven't considered (eg: raids, volume groups, etc), but other than that, it should be usable. If anyone wants to do further testing with the unit converter script or the ninit stuff, do let me know. The unit converter script only converts Service files for now, and some of the additional details about services files haven't been considered yet. I do plan on expanding the unit file converter to other init systems once I get the nitpicks with ninit sorted out so people who want to move away from systemd have plenty of choices with less typing.
    For an example of what you'd get (sans the Compiz 0.9.X testing stuff) with this setup, here's what the nsvc -L command'll put out:
    Last edited by ShadowKyogre (2014-02-26 07:03:02)

    Ok i solved in the easiest way, reading better the wiki, obviously -.- .
    archwiki wrote:The user will be logged out when X is killed. In order to avoid this, remove the exec part from the script.
    EDIT: so, i set up my new bash_profile according to this:
    . $HOME/.bashrc
    if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
    startx
    #logout
    fi
    then change
    Restart=no
    in
    Restart=always
    Perfect!
    I'd like only to know how can i achieve this: i want that if it is my first login, i'm autologged in, but if that's not my first login, i'd like to have autologin stopped.
    Is there a way? The only i came up with is something like: wrote 1 to a file during first login, and then check that file during later logins. If there's a 1, then do not autologin, else autologin...but it is so stupid idea!
    Last edited by nierro (2012-07-19 19:04:55)

  • Timing issues with systemd units auto-updating rEFInd on ESP

    Aim: I wanted to use systemd to auto-update the following files and directories in EFI/arch_refind/:
    drivers_x64/ext4_x64.efi fonts/ icons/ refind_x64.efi
    Initially, I tried to do this with a single .path and .service pair but although it worked initially, I had problems with things respawning too quickly. As a result I ended up with nothingness on the ESP. I figured that the problem might be that because I had different changed-path conditions in the .path file, the .service file was getting run multiple times as pacman updated the refind package. In an attempt to address this, I split the files into four pairs with each one handling a specific change.
    For updating the .efi itself:
    # /etc/systemd/system/refind-update-efi.path
    [Unit]
    Description=Copy rEFInd EFI to UEFISYS Partition
    [Path]
    PathChanged=/usr/lib/refind/refind_x64.efi
    [Install]
    WantedBy=multi-user.target
    and:
    # /etc/systemd/system/refind-update-efi.service
    [Unit]
    Description=Copy rEFInd EFI to UEFISYS Partition
    [Service]
    Type=oneshot
    ExecStart=/usr/bin/cp -f /usr/lib/refind/refind_x64.efi /boot/efi/EFI/arch_refind/refind_x64.efi
    For updating the file system driver:
    # /etc/systemd/system/refind-update-ext4.path
    [Unit]
    Description=Copy rEFInd ext4 driver to UEFISYS Partition
    [Path]
    PathChanged=/usr/lib/refind/drivers_x64/ext4_x64.efi
    [Install]
    WantedBy=multi-user.target
    and:
    # /etc/systemd/system/refind-update-ext4.service
    [Unit]
    Description=Copy rEFInd ext4 driver to UEFISYS Partition
    [Service]
    Type=oneshot
    ExecStart=/usr/bin/mkdir -p /boot/efi/EFI/arch_refind/drivers_x64
    ExecStart=/usr/bin/cp -f /usr/lib/refind/drivers_x64/ext4_x64.efi /boot/efi/EFI/arch_refind/drivers_x64/ext4_x64.efi
    For the fonts directory:
    # /etc/systemd/system/refind-update-fonts.path
    [Unit]
    Description=Copy rEFInd fonts to UEFISYS Partition
    [Path]
    PathChanged=/usr/share/refind/fonts
    [Install]
    WantedBy=multi-user.target
    and:
    # /etc/systemd/system/refind-update-fonts.service
    [Unit]
    Description=Copy rEFInd fonts to UEFISYS Partition
    [Service]
    Type=oneshot
    ExecStart=/usr/bin/rm -rf /boot/efi/EFI/arch_refind/fonts
    ExecStart=/usr/bin/cp -pr /usr/share/refind/fonts /boot/efi/EFI/arch_refind/fonts
    For the icons directory:
    # /etc/systemd/system/refind-update-icons.path
    [Unit]
    Description=Copy rEFInd icons to UEFISYS Partition
    [Path]
    PathChanged=/usr/share/refind/icons
    [Install]
    WantedBy=multi-user.target
    and:
    # /etc/systemd/system/refind-update-icons.service
    [Unit]
    Description=Copy rEFInd icons to UEFISYS Partition
    [Service]
    Type=oneshot
    ExecStart=/usr/bin/rm -rf /boot/efi/EFI/arch_refind/icons
    ExecStart=/usr/bin/cp -pr /usr/share/refind/icons /boot/efi/EFI/arch_refind/icons
    However, I am still getting errors:
    Gor 09 01:40:58 MyComputer systemd[1]: Stopping Copy rEFInd fonts to UEFISYS Partition.
    Gor 09 01:42:25 MyComputer systemd[1]: Starting Copy rEFInd fonts to UEFISYS Partition.
    Gor 09 02:25:21 MyComputer systemd[1]: Stopping Copy rEFInd fonts to UEFISYS Partition.
    Gor 09 02:25:21 MyComputer systemd[1]: Stopped Copy rEFInd fonts to UEFISYS Partition.
    Gor 09 02:25:21 MyComputer systemd[1]: Stopping Copy rEFInd ext4 driver to UEFISYS Partition.
    Gor 09 02:25:21 MyComputer systemd[1]: Stopped Copy rEFInd ext4 driver to UEFISYS Partition.
    Gor 09 02:25:21 MyComputer systemd[1]: Stopping Copy rEFInd EFI to UEFISYS Partition.
    Gor 09 02:25:21 MyComputer systemd[1]: Stopped Copy rEFInd EFI to UEFISYS Partition.
    Gor 09 02:25:21 MyComputer systemd[1]: Stopping Copy rEFInd icons to UEFISYS Partition.
    Gor 09 02:25:21 MyComputer systemd[1]: Stopped Copy rEFInd icons to UEFISYS Partition.
    Gor 09 02:26:13 MyComputer systemd[1]: Starting Copy rEFInd fonts to UEFISYS Partition.
    Gor 09 02:29:47 MyComputer systemd[1]: Stopping Copy rEFInd fonts to UEFISYS Partition.
    Gor 09 02:29:47 MyComputer systemd[1]: Stopped Copy rEFInd fonts to UEFISYS Partition.
    Gor 09 02:29:47 MyComputer systemd[1]: Stopping Copy rEFInd ext4 driver to UEFISYS Partition.
    Gor 09 02:29:47 MyComputer systemd[1]: Stopped Copy rEFInd ext4 driver to UEFISYS Partition.
    Gor 09 02:29:47 MyComputer systemd[1]: Stopping Copy rEFInd EFI to UEFISYS Partition.
    Gor 09 02:29:47 MyComputer systemd[1]: Stopped Copy rEFInd EFI to UEFISYS Partition.
    Gor 09 02:29:47 MyComputer systemd[1]: Stopping Copy rEFInd icons to UEFISYS Partition.
    Gor 09 02:29:47 MyComputer systemd[1]: Stopped Copy rEFInd icons to UEFISYS Partition.
    <refind is upgraded at 22:24 according to pacman's log>
    Gor 09 22:24:47 MyComputer systemd[1]: Starting Copy rEFInd icons to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd fonts to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: Started Copy rEFInd icons to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd EFI to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd ext4 driver to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: Started Copy rEFInd fonts to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer cp[13179]: /usr/bin/cp: cannot stat ‘/usr/lib/refind/drivers_x64/ext4_x64.efi’: No such file or directory
    Gor 09 22:24:48 MyComputer cp[13174]: /usr/bin/cp: cannot stat ‘/usr/lib/refind/refind_x64.efi’: No such file or directory
    Gor 09 22:24:48 MyComputer systemd[1]: refind-update-efi.service: main process exited, code=exited, status=1/FAILURE
    Gor 09 22:24:48 MyComputer systemd[1]: Failed to start Copy rEFInd EFI to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer systemd[1]: Unit refind-update-efi.service entered failed state.
    Gor 09 22:24:48 MyComputer systemd[1]: refind-update-ext4.service: main process exited, code=exited, status=1/FAILURE
    Gor 09 22:24:48 MyComputer systemd[1]: Failed to start Copy rEFInd ext4 driver to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer systemd[1]: Unit refind-update-ext4.service entered failed state.
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd EFI to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: Started Copy rEFInd EFI to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd ext4 driver to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: Started Copy rEFInd ext4 driver to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd icons to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: Started Copy rEFInd icons to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd icons to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: Started Copy rEFInd icons to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd icons to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: Started Copy rEFInd icons to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd icons to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: Started Copy rEFInd icons to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd icons to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: refind-update-icons.service start request repeated too quickly, refusing to start.
    Gor 09 22:24:48 MyComputer systemd[1]: Failed to start Copy rEFInd icons to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer systemd[1]: Unit refind-update-icons.service entered failed state.
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd icons to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: refind-update-icons.service start request repeated too quickly, refusing to start.
    Gor 09 22:24:48 MyComputer systemd[1]: Failed to start Copy rEFInd icons to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd icons to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: refind-update-icons.service start request repeated too quickly, refusing to start.
    Gor 09 22:24:48 MyComputer systemd[1]: Failed to start Copy rEFInd icons to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd icons to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: refind-update-icons.service start request repeated too quickly, refusing to start.
    Gor 09 22:24:48 MyComputer systemd[1]: Failed to start Copy rEFInd icons to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd icons to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: refind-update-icons.service start request repeated too quickly, refusing to start.
    Gor 09 22:24:48 MyComputer systemd[1]: Failed to start Copy rEFInd icons to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd icons to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: refind-update-icons.service start request repeated too quickly, refusing to start.
    Gor 09 22:24:48 MyComputer systemd[1]: Failed to start Copy rEFInd icons to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd icons to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: refind-update-icons.service start request repeated too quickly, refusing to start.
    Gor 09 22:24:48 MyComputer systemd[1]: Failed to start Copy rEFInd icons to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd icons to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: refind-update-icons.service start request repeated too quickly, refusing to start.
    Gor 09 22:24:48 MyComputer systemd[1]: Failed to start Copy rEFInd icons to UEFISYS Partition.
    Gor 09 22:24:48 MyComputer systemd[1]: Starting Copy rEFInd fonts to UEFISYS Partition...
    Gor 09 22:24:48 MyComputer systemd[1]: Started Copy rEFInd fonts to UEFISYS Partition.
    <reboot to test kernel>
    Gor 10 00:05:41 MyComputer systemd[1]: Stopping Copy rEFInd fonts to UEFISYS Partition.
    Gor 10 00:05:41 MyComputer systemd[1]: Stopped Copy rEFInd fonts to UEFISYS Partition.
    Gor 10 00:05:41 MyComputer systemd[1]: Stopping Copy rEFInd ext4 driver to UEFISYS Partition.
    Gor 10 00:05:41 MyComputer systemd[1]: Stopped Copy rEFInd ext4 driver to UEFISYS Partition.
    Gor 10 00:05:41 MyComputer systemd[1]: Stopping Copy rEFInd EFI to UEFISYS Partition.
    Gor 10 00:05:41 MyComputer systemd[1]: Stopped Copy rEFInd EFI to UEFISYS Partition.
    Gor 10 00:05:41 MyComputer systemd[1]: Stopping Copy rEFInd icons to UEFISYS Partition.
    Gor 10 00:05:41 MyComputer systemd[1]: Stopped Copy rEFInd icons to UEFISYS Partition.
    Gor 10 00:07:22 MyComputer systemd[1]: Starting Copy rEFInd fonts to UEFISYS Partition.
    It seems that systemd is too quick. It notices that something has changed e.g. that /usr/lib/refind/refind_x64.efi has been removed, triggers the service and then finds there is no /usr/lib/refind/refind_x64.efi to copy because the new version has not yet been installed. In the case of the .efi files, the service always seems to somehow manage to get everything into place but in the case of the fonts and icons (icons shown above), it often does not.
    I'm not sure why this happens because I based this on the service file I found the wiki for keeping the kernel and initramfs synced to the ESP. So I would think it should work for at least the single file cases, if not the directories. Indeed my EFI update service syncs the kernel and initramfsx2 to the ESP flawlessly (up to now) even though the .path unit for that includes 3 triggering conditions and the .service and .path files are set up just the same.
    I've read the manual pages for systemd.{path,service,unit} and couldn't see anything obviously helpful although I'm curious about timer units so I looked at the information on those but I guess they are for rather more sophisticated services than mine. I also looked at the wiki for systemd but it does not say anything about this kind of issue.
    Intuitively, I wondered if there is not a clean way of telling systemd to wait until changes to the path have completed before running the service. Obviously I can think of ways to force the service to wait just by using sleep or something but I am sure that that is not the correct way to do it. So I'm pretty sure there is something wrong about the way I've set these up but I am just not seeing what it is. Any hints would be appreciated!

    I have actually modified the refind path/service units somewhat, but it still works flawlessly for me. I usually wait for 2-5 min after pkg updates so that all the changes are synced to EFISYS before I reboot. There are the ones I use currently:
    refind-efi_copy.path
    [Unit]
    Description=Copy rEFInd files to EFI System Partition
    [Path]
    PathChanged=/usr/lib/refind/refind_x64.efi
    PathChanged=/usr/lib/refind/drivers_x64/ext4_x64.efi
    PathChanged=/usr/lib/refind/drivers_x64/btrfs_x64.efi
    PathChanged=/usr/lib/refind/drivers_x64/reiserfs_x64.efi
    PathChanged=/usr/lib/refind/drivers_x64/iso9660_x64.efi
    PathChanged=/usr/lib/refind/drivers_x64/hfs_x64.efi
    PathChanged=/mnt/Source_Codes_Partition/Source_Codes/My_Files/Bootloader_Config_Files/refind_uefi/refind_uefi.conf
    PathChanged=/mnt/Source_Codes_Partition/Source_Codes/My_Files/Bootloader_Config_Files/refind_uefi/refind_uefi_linux.conf
    PathChanged=/mnt/Source_Codes_Partition/Source_Codes/My_Files/Bootloader_Config_Files/refind_uefi/refind_uefi_linux_boot.conf
    PathChanged=/mnt/Source_Codes_Partition/Source_Codes/My_Files/Bootloader_Config_Files/refind_uefi/refind_uefi_archboot.conf
    Unit=refind-efi_copy.service
    [Install]
    WantedBy=multi-user.target
    refind-efi_copy.service
    [Unit]
    Description=Copy rEFInd files to EFI System Partition
    # Requires=efisys.mount
    [Service]
    Type=oneshot
    ExecStart=/usr/bin/cp -f /usr/lib/refind/refind_x64.efi /efisys/EFI/refind/refind_x64.efi
    ExecStart=/usr/bin/sbsign --key /efisys/EFI/tools/efitools/db.key --cert /efisys/EFI/tools/efitools/db.crt --output /efisys/EFI/refind/refind_x64.efi /usr/lib/refind/refind_x64.efi
    ExecStart=/usr/bin/cp -f /usr/lib/refind/drivers_x64/ext4_x64.efi /efisys/EFI/tools/drivers_x64/ext4_x64.efi
    ExecStart=/usr/bin/sbsign --key /efisys/EFI/tools/efitools/db.key --cert /efisys/EFI/tools/efitools/db.crt --output /efisys/EFI/tools/drivers_x64/ext4_x64.efi /usr/lib/refind/drivers_x64/ext4_x64.efi
    ExecStart=/usr/bin/cp -f /usr/lib/refind/drivers_x64/btrfs_x64.efi /efisys/EFI/tools/drivers_x64/btrfs_x64.efi
    ExecStart=/usr/bin/sbsign --key /efisys/EFI/tools/efitools/db.key --cert /efisys/EFI/tools/efitools/db.crt --output /efisys/EFI/tools/drivers_x64/btrfs_x64.efi /usr/lib/refind/drivers_x64/btrfs_x64.efi
    ExecStart=/usr/bin/cp -f /usr/lib/refind/drivers_x64/reiserfs_x64.efi /efisys/EFI/tools/drivers_x64/reiserfs_x64.efi
    ExecStart=/usr/bin/sbsign --key /efisys/EFI/tools/efitools/db.key --cert /efisys/EFI/tools/efitools/db.crt --output /efisys/EFI/tools/drivers_x64/reiserfs_x64.efi /usr/lib/refind/drivers_x64/reiserfs_x64.efi
    ExecStart=/usr/bin/cp -f /usr/lib/refind/drivers_x64/iso9660_x64.efi /efisys/EFI/tools/drivers_x64/iso9660_x64.efi
    ExecStart=/usr/bin/sbsign --key /efisys/EFI/tools/efitools/db.key --cert /efisys/EFI/tools/efitools/db.crt --output /efisys/EFI/tools/drivers_x64/iso9660_x64.efi /usr/lib/refind/drivers_x64/iso9660_x64.efi
    ExecStart=/usr/bin/cp -f /usr/lib/refind/drivers_x64/hfs_x64.efi /efisys/EFI/tools/drivers_x64/hfs_x64.efi
    ExecStart=/usr/bin/sbsign --key /efisys/EFI/tools/efitools/db.key --cert /efisys/EFI/tools/efitools/db.crt --output /efisys/EFI/tools/drivers_x64/hfs_x64.efi /usr/lib/refind/drivers_x64/hfs_x64.efi
    ExecStart=/usr/bin/cp -f /mnt/Source_Codes_Partition/Source_Codes/My_Files/Bootloader_Config_Files/refind_uefi/refind_uefi.conf /efisys/EFI/refind/refind.conf
    ExecStart=/usr/bin/cp -f /mnt/Source_Codes_Partition/Source_Codes/My_Files/Bootloader_Config_Files/refind_uefi/refind_uefi.conf /efisys/EFI/boot/refind.conf
    ExecStart=/usr/bin/cp -f /mnt/Source_Codes_Partition/Source_Codes/My_Files/Bootloader_Config_Files/refind_uefi/refind_uefi_linux.conf /efisys/EFI/arch/core/refind_linux.conf
    ExecStart=/usr/bin/cp -f /mnt/Source_Codes_Partition/Source_Codes/My_Files/Bootloader_Config_Files/refind_uefi/refind_uefi_linux.conf /efisys/EFI/arch/mainline/refind_linux.conf
    ExecStart=/usr/bin/cp -f /mnt/Source_Codes_Partition/Source_Codes/My_Files/Bootloader_Config_Files/refind_uefi/refind_uefi_linux_boot.conf /boot/refind_linux.conf
    ExecStart=/usr/bin/rm -rf /efisys/EFI/refind/icons
    ExecStart=/usr/bin/cp -rf /usr/share/refind/icons /efisys/EFI/refind/icons
    ExecStart=/usr/bin/rm -rf /efisys/EFI/refind/fonts
    ExecStart=/usr/bin/cp -rf /usr/share/refind/fonts /efisys/EFI/refind/fonts
    Last edited by the.ridikulus.rat (2013-07-11 15:16:18)

  • A way to deploy an application to the Glassfish Application Server?

    Hi, there
    My question is: Is there a way to deploy a JEE 5 application to the Glassfish Application Server (Sun Application Server 9)?
    The fact is that I am developing a JEE5 Application with Eclipse 3.2M6 and as Application Server I am using the Sun´s Glassfish Ap Server. I Would like to migrate to JDeveloper so as to using all the tools JDeveloper offers for JSF Development, that are not offered by eclipse; but I do not want to change the application server because I like glassfish very much.
    I also ask you, please send any answer to this subject to my own email.
    Thanks in advance for your collaboration
    Alvaro E Martinez M
    [email protected]

    You can package standard EAR and WAR file in JDeveloper, and then use the glassfish utilities or an Ant script to deploy those.

Maybe you are looking for

  • Search in ical?

    i believe i am supposed to be able to do a search within applications including ical. but i can't find a way to make the search field come up in ical. and, in the system wide search, i only get one or two ical things....any idea?

  • How  to  get the FIRST DAY OF THE CURRENT MONTH

    how to get the FIRST DAY OF THE CURRENT MONTH in oracle 9i. plzzzzz send immedaily.advance thanks

  • Joining out-of-order tracks in iTunes

    Is there some way to rip CD's by joining tracks out of the order in which they appear on iTunes?  A lot of times, particularly with classical music I'd like to be able to do that.  All help  appreciated.

  • How to shutdown and start agent in ODI 11g in Linux Environment

    Hi Experts, Pls any one can help me on "How to shutdown and start agent in ODI 11g in Linux Environment" and where can I find Agent.sh and Agentshutdown.sh files location in ODI 11g and parallely how can I find Odiparameter.sh file location Thanks in

  • Length of numeric string

    When generating an accountId - I append a numeric onto the end of a derived string. I need to determine the overall length of the accountId because I have a size limit. However, when I try to get the length of a numeric string (like "17") I get 0 - s