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.

Similar Messages

  • Lync FIPS 140-2 encryption for Data in Transit Certificate?

    I work for an organization that has deployed Lync 2013 throughout the enterprise. 
    We have no need for “Data at Rest” encryption on the servers or clients at this time, but we do have a customer requirement for FIPS 140-2 encryption for “Data in Transit”?  Does Lync provide data in transit encryption utilizing one of the National
    Institute of Standards and Technology (NIST) approved modules by default? If so, have all the traffic types been “Certified” compliant (i.e. Server-to-Server, Client-to-Server, IM, Audio, Video, Desktop Sharing, web conferencing, etc…)? 
    I’ve read all the technet articles and looked at the following links, but it is not clear to me. 
    I cannot find the certification number and certificate for the FIPS 140-2 validation for Lync's encryption module on either the Microsoft or NIST websites.
    http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140val-all.htm
    https://technet.microsoft.com/en-us/library/security/cc750357.aspx

    Lync Server 2013 and Microsoft Exchange Server 2010 Service Pack 1 (SP1) operate with support for Federal Information Processing Standard (FIPS) 140-2 algorithms if the Windows Server 2008 R2 operating systems
    are configured to use the FIPS 140-2 algorithms for system cryptography. To implement
    FIPS support, you must configure each server running Lync Server 2013 to support it. For details about
    FIPS-compliant algorithms and how to implement
    FIPS support, see Microsoft Knowledge Base article 811833, "System cryptography: Use
    FIPS compliant algorithms for encryption, hashing, and signing security setting in Windows XP and in later versions of Windows at
    <linktext xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">http://go.microsoft.com/fwlink/p/?linkid=3052&kbid=811833</linktext>. For details about
    FIPS 140-2 support and limitations in Exchange 2010, see "Exchange 2010 SP1 and Support for
    FIPS Compliant Algorithms" at
    <linktext xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">http://go.microsoft.com/fwlink/p/?linkId=205335</linktext>.
    For More information on FIPS in Lync server 2013 
    http://technet.microsoft.com/en-us/library/jj205114.aspx 
    http://technet.microsoft.com/en-us/library/jj205084.aspx 
    Please remember, if you see a post that helped you please click ;Vote As Helpful" and if it answered your question please click "Mark As Answer" Regards Edwin Anthony Joseph

  • FIPS 140-2 encryption for Acrobat 9 Pro on Mac?

    I wonder if anyone can help? I need to send documents using the FIPS 140-2 standard. Is this possible on Mac I read somewhere that it isn't!! I don't want to buy another piece of software (i.e. PGP). Any suggestions? Needs to be fairly step by step help.
    Many thanks.
    RuralTim

    FIPS for Acrobat is indeed a Windows only feature.
    see page 112 of this pdf: http://www.adobe.com/support/downloads/detail.jsp?ftpID=3993&promoid=DTEHS
    Can only suggest to setup a vm image of windows and download a trial of either Acrobat Pro 9 or APEX for inwdows and do it there.

  • Why we need SSL Certificates for configuring App Server in Sharepoint

    Hi Support,
    We are planning to have a separate server for Apps, while configuring the server its asking for certificate. The main scenario is while configuring server inside the same firewall why we need SSL for configuring.
    Could you please let me know the reason why we need SSL for configuring App Server.
    Thanks in Advance,
    Regards,
    Pradeep

    Hi  Pradeep,
    SSL (Secure Sockets Layer) is a transaction security standard that provides encrypted protection between browsers and App Servers. When SSL is enabled for an App Server, browsers communicate with the App
    Server by means of an HTTPS connection, which is HTTP over an encrypted Secure Sockets Layer. HTTPS connections are widely used by banks and web vendors for secure transactions over the web.
    Secure Sockets Layer  is a requirement for web applications that are deployed in scenarios that support server-to-server authentication and app authentication. This is such a scenario. As a prerequisite
    for configuring Task Synchronization, the computer that is running SharePoint Server must have SSL configured.
    Reference:
    http://blogs.technet.com/b/speschka/archive/2012/09/03/planning-the-infrastructure-required-for-the-new-app-model-in-sharepoint-2013.aspx
    http://corypeters.net/2013/03/ssl-and-sharepoint-2013/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Is soap provider agent only available for Sun app server 9.1?

    See the blue print on securing web services with soap provider agent. Is this agent embedded within the J2EE agent for sun app server 9.1? Is the same "soap provider agent" available for websphere 6.x or iis server?
    Thanks

    the agentadmin --install script does not seem to add all the required things to the server-classpath in the domain.xml
    mine now looks like this:
    /opt/j2ee_agents/appserver_v9_agent/lib/agent.jar
    /opt/j2ee_agents/appserver_v9_agent/locale
    /opt/j2ee_agents/appserver_v9_agent/Agent_001/config
    /opt/j2ee_agents/appserver_v9_agent/lib/amclientsdk.jar
    /opt/j2ee_agents/appserver_v9_agent/lib/fmclientsdk.jar
    /opt/j2ee_agents/appserver_v9_agent/lib/opensso-installtools.jar
    /opt/j2ee_agents/appserver_v9_agent/lib/opensso-installtools-launcher.jar
    AND, I've added a system property:
    -Dcom.sun.identity.agents.config.location=/opt/j2ee_agents/appserver_v9_agent/Agent_001/config/AMAgent.properties
    I now at least get a different error:
    Servlet.service() for servlet jsp threw exception
    java.lang.ExceptionInInitializerError
         at com.sun.identity.agents.filter.URLPolicyTaskHandler.initialize(URLPolicyTaskHandler.java:63)
    com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2114)
    Caused by: java.lang.RuntimeException: Exception caught in AmWebPolicyManager initializer: Unable to load IAmWebPolicy: com.sun.identity.agents.policy.AmWebPolicy
         at com.sun.identity.agents.policy.AmWebPolicyManager.<clinit>(AmWebPolicyManager.java:135)
         ... 24 more

  • ILOM and FIPS 140-2 encryption

    Is it possible to configure Sun Integrated Lights Out Manager v3 to use encryption algorithms that are certified as FIPS 140-2 compliant?

    FIPS for Acrobat is indeed a Windows only feature.
    see page 112 of this pdf: http://www.adobe.com/support/downloads/detail.jsp?ftpID=3993&promoid=DTEHS
    Can only suggest to setup a vm image of windows and download a trial of either Acrobat Pro 9 or APEX for inwdows and do it there.

  • 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)

  • Data transport encryption  between Database - Apps Server

    Hi
    We have 10g R2 database on Linux
    and would like to setup a basic encryption for data transport between Database and Apps Server.
    On searching, i found a couple of SQL ENCRYPTION parameters to be placed in SQLNET.ORA , which am not sure off.
    Could anyone suggest as how should i be doing this setup?
    Do i also need to be doing changes at the Apps Server side?

    Check the Advanced Security Guide, specifically
    http://download-east.oracle.com/docs/cd/B19306_01/network.102/b14268/asopart2.htm#sthref141
    Note that Advanced Security is a separate licensed option.

  • Generated WSDL Issue - Glassfish App Server

    Hi,
    I am at a loss as to how to modify the generated WSDL and associated schema for a webservice I am deploying to Glassfish V2 Milestone 4 - Build 33. I'm using EJB 3.0 and the entity beans I developed have one to many and many to one references to each other:
    An OverrideVersion contains a reference to the OverrideRequest it belongs to. There can be numerous OverrideVersions. I've tested the database code extensively and there is no problem performing saves and retrieves. The following is taken from the OverrideVersion class:
    @ManyToOne
    @JoinColumn(name="request", referencedColumnName="pricingRef")
    private OverrideRequest request;and this is from the OverrideRequest class:
    @OneToMany(mappedBy="request", cascade=CascadeType.ALL,
              fetch = FetchType.EAGER)
    private Set<OverrideVersion> overrideVersionCollection;The problem is that if I leave the app server to generate the WSDL these references are generated, which I don't want - I only want the Verson to reference :
    <xs:complexType name="overrideVersion">
      <xs:sequence>
        <xs:element name="request" type="tns:overrideRequest" minOccurs="0"/>
      </xs:sequence>
    </xs:complexType>and<xs:complexType name="overrideRequest">
      <xs:sequence>
        <xs:element name="overrideVersionCollection" type="tns:overrideVersion" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
    </xs:complexType>I need to be able to change the WSDL as I am getting the following error on retrieves:
    com.sun.istack.SAXException2: A cycle is detected in the object graph. This will cause infinitely deep XML:I followed the advice in http://forum.java.sun.com/thread.jspa?threadID=725485&messageID=4184020
    "For now, the way is to do this manually : stop the app server, edit the as_install_dir/domains/domain1/generated/xml/j2ee-{apps|modules}/{your-app}/{META|WEB}-INF/wsdl/XXXXX.wsdl, and restart the app server"
    but no matter what I do the changes I make to the generated WSDL and schema files aren't refelected in the actual WSDL at the ?WSDL address.
    So I decided to take the generated WSDL file, modify it (remove the cyclic references), and drop it in my applications META-INF/wsdl directory (along with the previously generated schema) and specify the @WebService wsdlLocation attribute in my stateless session bean:
    @WebService(serviceName="PricingService",
              portName="PricingServicePort",
              wsdlLocation="META-INF/wsdl/PricingService.wsdl")But after deployment I try to access the WSDL (at the same address as the previous generated WSDL http://localhost:8080/PricingService/PricingService?wsdl) and get a plain white HTML page with: Invalid wsdl request http://localhost:8080/PricingService/PricingServiceI haven't been able to come up with a solution to this problem either.
    This is doing my head in so any help would be greatly appreciated.
    Thanks.

    Hi Arvind,
    First thing u shud do is..for invoking a webservice through XI do not import all the WSDLs ....Import only the WSDL under the porttypes....
    Port types defines the interface in XI...Once u import them....Then check the msg type.....As per u info u shud see them as
    getAuthorizationIn_doc---request
    getAuthorizationOut_doc---Response..
    If u want something more plz ask
    Regards,
    AshwinM
    Note:- Reward If helpful

  • Best place for an app server?

    Hi all,
    A rather generic question.
    If you had only two server machines, one for your
    database server and one for your web server.
    Where would you place your app server?
    In the same machine as the web server or in the same machine as the database server?
    What factors would influence your decision?
    Thanks for any answers
    Nikos

    Hi sagar,
    According to your description, my understanding is that you want to learn about SharePoint hosted app and provider hosted app.
    SharePoint-hosted apps, or apps where all components are hosted on either an on-premises or Office 365 SharePoint farm. SharePoint-hosted apps are installed on a SharePoint 2013 website, called the host web. They have their resources hosted on an isolated
    subsite of a host web, called the app web. The SharePoint-hosted app can only be developed with JavaScript Client Object Mode and HTML.
    Provider-hosted apps for SharePoint include components that are deployed and hosted outside the SharePoint farm. They are installed to the host web, but their remote components are hosted on another server.SharePoint Provider hosted app can be developed
    with .NET Managed Client Object Model.
    Here is a detailed article for your reference:
    Choose patterns for developing and hosting your app for SharePoint
    Here are some detailed code demo for your reference:
    How to: Create a basic SharePoint-hosted app
    How to: Create a basic provider-hosted app for SharePoint
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • 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.

  • Hostname for Jdeveloper app server connection

    Hi,
    First, I know this is a pretty simple question, so please take it easy on me ;-)
    I installed eBS successfully on a Windows XP laptop and am trying to set up a JDeveloper application server connection so I can do some OAF development work. Should I choose Oracle Application Server 10g or Standalone OC4J? How do I figure out my hostname and port number?
    I've set up the database connection ok, but I'm pretty new to working on the application server side.
    Many thanks.
    Message was edited by:
    tonto

    for the prot if you mean the ebs it depent on the port pool u choose during the installation for ex.
    port pool 0 ---> http port is 8000 and database port is 1521
    port pool 1 --->http port is 8001 and database port is 1522 ...etc
    you should connect to ebs using
    http://yourservername.domianname:port
    for the application server if you installed 11i ebs then the applicaiton server version is 1.0.2.2.2
    fadi hasweh
    http://oracle-magic.blogspot.com/
    Oracle is not Magic, it just takes years of experience

  • EM logon fails for Oracle App Server (10.1.3.1.0)

    I am trying to logon to the Enterprise Manger 10g Grid Control.
    My OS is HP-UX 11.11
    I am receiving Invalid/Password. I have change this password twice and still receiving the error.
    Does anyone know what's going on with this Application?
    Please Help!

    Hi..
    I am changing the account for oc4jadmin
    I changed it in system-jazn-data.xml file. Restarted
    the processes and have'nt been able to login..
    Any ideas?Looks like it's related to application server and nothing to do with grid control. Think you should post your question in the Application Server Forum...
    I've done instatallations of OAS and never had to change password for oc4jadmin. There is an account ias_admin that you set the password to..can you log on with that account?

  • -debug  or -verbose mode for Oracle9is app server

    I am running Oracle9is Enterprise server. How do I set Debug or Verbose mode to see server stack. I tried DCMCTL utility with >dcmctl start -v -d
    but it didn't give me server stack. Any ideas?
    Thanks Denis

              Just looked in the server log file and found bridge debug messages :)
              (I was just watching the console)
              Hope I'm not filling this group with noise.
              Jeremy.
              

  • Writing error file from app server to windows serevr in background job

    Hi Gurus!
    I have a program that runs in the background and updates or uploads or inserts the tables with data in background and generates an error log . I would like to write this file on the windows serevr from the application serevr during the run of the program itself automatically. I tried running several jobs with my program but its not writing to the windows serevr , it writes on the application and then stops . Is theer a fault in my coding above.
    form write_err_file .
      IF v_zss = 1.
        case p_as.
          when 'X'.                      "X is application server
            case sy-sysid.
              when 'DEV' or 'SBX'.
                ltp_dir = '\\nal.local\application\SAP\ERP\ZWELL\wmigdc\error_log\uwi_error'.
                concatenate ltp_dir sy-datum '.txt' into ltp_dir.
              when 'QAT'.
                ltp_dir = '\\nal.local\application\SAP\ERP\ZWELL\wmigdc\error_log\uwi_error'.
                concatenate ltp_dir sy-datum '.txt' into ltp_dir.
              when 'PRD'.
                ltp_dir =  '\\nal.local\application\SAP\ERP\ZWELL\wmigdc\error_log\uwi_error'.
                concatenate ltp_dir sy-datum '.txt' into ltp_dir.
            endcase.
            open dataset p_err2 for  output in text mode encoding default message ltp_mess.
            if sy-subrc = 0.
              loop at t_err into s_dls.
                transfer s_dls to p_err2.
                if sy-subrc ne 0.
                  message i010(ad) with p_err2 'Download Failed'.
                endif.
              endloop.
              close dataset p_err2.
            else.
              message i010(ad) with p_err2 'dataset could not be found'.
              sy-subrc = -1.             "Maintain error condition
            endif.
            open dataset p_err2 for input in text mode encoding default message ltp_mess.
            if sy-subrc = 0.
              do.
                read dataset p_err2 into fs.
                if sy-subrc = 0.
                  append fs to itab.
                else.
                  exit.
                endif.
              enddo.
              close dataset p_err2.
            endif.
            OPEN DATASET ltp_dir FOR OUTPUT IN TEXT MODE ENCODING DEFAULT MESSAGE ltp_mess.
            if sy-subrc = 0.
              loop at itab into fs.
                transfer fs to ltp_dir.
              endloop.
              close dataset ltp_dir.
            else.
              message i010(ad) with ltp_dir 'dataset could not be found'.
              sy-subrc = -1.             "Maintain error condition
            endif.
    Please advice.
    Regards

    There are lot of posts on the same issue: [please check this|https://www.sdn.sap.com/irj/scn/advancedsearch?query=localfilesbackground&cat=sdn_all]

Maybe you are looking for