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.

Similar Messages

  • CLASSPATH for Sun Application Server

    Hello
    I created a JAXRPC Webservice which uses the DataSource class. When I connect to it via my test client I see a NoClassDefFoundException: javax/activation/DataSource. The class is in the activation.jar and I added it everywhere I could (classpass, post and prefix in Webadmin and I set it on the command line). I'm using Sun Solaris 8. The stack trace looks like this:
    java.lang.NoClassDefFoundError: javax/activation/DataSource
    at java.lang.ClassLoader.findBootstrapClass(Native Method)
    at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:709)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:284)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at com.sun.enterprise.util.ConnectorClassLoader.loadClass(ConnectorClassLoader.java:158)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1348)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at com.ascom.srv.web.FileDistributorImpl.getFile(FileDistributorImpl.java:53)
    at com.ascom.srv.web.FileDistributorIF_Tie.invoke_getFile(FileDistributorIF_Tie.java:91)
    at com.ascom.srv.web.FileDistributorIF_Tie.processingHook(FileDistributorIF_Tie.java:183)
    at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:228)
    at com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:316)
    at com.sun.enterprise.webservice.JAXRPCServlet.doPost(JAXRPCServlet.java:49)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:768)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    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:324)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
    at org.apat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:214)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:168)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
    at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)ache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
    at java.lang.Thread.run(Thread.java:534)
    Does any one have an idea what the problem is?
    Thank you very much in advance
    Oliver Jaun

    Thanks. Yes I restarted the application service. I even removed the "ignore environment classpath" from the classpath configuration of appserver and set the classpath on the command line. Without success.
    I will try to use the jwsdp because I found out that wscompile delivered with jwsdp is a newer version than with the one delivered with appserver and I had some weired problems compiling my WSDLs...
    Thanks a lot
    Oliver

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

  • Hardware Sizing for Oracle Application Server and MapViewer

    Hi all,
    I need to develop an application using Oracle Application Server 10g and MapViewer. The applicaction will, basically, do thematic maps based on a search criteria. The estimative is that we will have 25 users simultaneously using it.
    I´d like to have an idea about the hardware to support it.
    Do you know where I can get this information?
    Any documentation can help.
    Regards,
    Luis Augusto

    Hi Luis,
    It may depend on your database size, but I think at least you need to meet the minimum requirements for the Application Server. You can find additional documentation for the AS at http://www.oracle.com/technology/products/ias/index.html.
    However I would suggest some extra memory, and if possible the better CPU that you can get. MapViewer will render the spatial features on the server side, and depending on your database size and number of features returned from the queries, this extra memory will help.
    Joao

  • 10.1.0.5 Patch for Oracle Application Server 10g Release 1

    Hi Guys,
    Does anyone know what is the patch number for 10.1.0.5 Patch for Oracle Application Server 10g Release 1?
    This is a Oracle Application Server and not Oracle Database server.
    I tried searching on Metalink but not able to find it.
    Thanks in advance!
    Avinash.

    10.1.0.5 is not a version number for an OAS. It is only a version number for RDBMS.
    If you are running OAS 10.1.2.x with the Identity Managmenet/SSO (OID Server), & elected to have it install the Metadata Repository database for you, this was a RDBMS release below 10.1.0.5. The OAS patch to 10.1.2.2 or 10.1.2.3 required the RDMBS be updated to 10.1.0.5 first. This is the standard 10.1.0.5 update for your platform.
    use Advanced Search on Metalink
    To find the OAS 10.1.2.2 or 10.1.2.3 patch set, search for Oracle Fusion Middleware Server. Release 10.1.2.2 and 10.1.2.3. Look for the decriptions like "PLACEHOLDER BUG FOR AS/DS 10.1.2.3 PATCHSET RELEASE" OR "PLACEHOLDER BUG FOR AS/DS 10G R2 PATCH SET 2 10.1.2.2"
    To find the RDBMS 10.1.0.5 patch, search for RDBMS Server, Release 10.1.0.5. Look for the Description containing something like "10.1.0.5 PATCH SET FOR ORACLE DATABASE SERVER"
    The patch number is different per platform, so I can't tell you the exact #s without more info (OS)

  • Reports 9i/10g J2EE Thin Client for Websphere Application Server 5.x /6.x

    We are having Reports developed in 6i which needs to be migrated to Reports 9i/10G and we want to deploy these reports in web using Websphere Application Server 5.x /6.x without Oracle iAS.
    Do we have Reports 9i/10g J2EE Thin Client for Websphere Application Server 5.x /6.x and if so please let me know.
    Also if anybody has the configuration details please let me know?
    Thanks in Advance.

    No there is not. I don't think you can use reports services with Websphere - besides as far as I know it is not supported by Oracle (not anywhere in their support matrix).

  • Why is it recommended to have a separate PeopleSoft ID for starting Application Server in PeopleSoft

    HI,
    Why is it recommended to have a separate PeopleSoft ID for starting Application Server in PeopleSoft

    Hello:
    You can put the JS function into the HTML Header section of the Page defintion.
    <script>
    function doDelete(id) {
    $x('P14_DEL_ID').value=id;
    doSubmit('DELETE');
    </script>Define a new page process whose process point is 'On Submit: After Computations and Validations'. For the Process Source specify
    Delete from <table> where key_column=:p14_del_id;Under Conditional Processing select 'Request=Expression 1'. For Expression 1 specify 'DELETE'
    Hope this helps.
    Varad

  • Landscape component for ERP6 Application Server Java

    Hi All,
    I have installed the server using the option as below:
    SAP ERP 6.0 EHP4 Ready - SR1 >> Application Server Java
    The server will be used for ESS/MSS and E-Recruiting usage.
    Question:
    May I know how should I correctly classify it under the "Landscape Components"?
    I have tried categorizing it under "SAP ERP" and marked ECC Server and EP core as relevant. Is that correct?
    I'm a bit confused on the assignment for the Application Server Java.
    Thanks for your advice.
    Thanks,
    KayJay

    Did you register the system in SLD?
    Cause it should automatically choose the right component.

  • Set the default pathname for the application server

    Dear Guru,
    I have encountered an issue in CG3Z and CG3Y
    I am not able to set the default pathname for the application server
    can any one give some guideline how to set the default pathname for the application server.
    Thanks and regards
    Saifur Rahaman

    Hi Saifur,
    There is no such option in CG3Z or CG3Y. If you still want to do it you will have to customize it by copying the program RC1TCG3Z & RC1TCG3Y  to Z & the Function Modules C13Z_FRONT_END_TO_APPL & C13Z_APPL_TO_FRONT_END to Z & also the program LC13ZF01 to Z which runs both of these transactions.
    And finally the data declaration in the program LC13ZF01  as :-
    DATA:      L_FILE_NAME_FTAPPL          LIKE RCGFILETR-FTAPPL value 'you default pathname'
               DATA:      L_FILE_NAME_FTFRONT         LIKE RCGFILETR-FTFRONT value 'you default pathname'.
    Regards
    Abhii

  • Embedded License Resource Kit for Oracle Application Server 10g

    Hi,
    I work for a company and we are an Oracle partner. We would like to deliver our flagship product with Oracle Database and Application Server (10g) embedded.
    According to an Oracle press release back in october 2003, Embedded License Resource Kits for Oracle Database and Oracle Application Server are available through the Oracle Partner Network (http://www.oracle.com/corporate/press/2484668.html)
    I found a kit for Oracle Database through OPN but was not able to find one for Oracle Application Server 10g.
    Does such a kit still exist for Oracle Application Server, and if yes where can I download it?

    Go to MyOracleSupport/Metalink.
    Click patches and Updates on the top left bar. Download the patches.
    Each patch comes with its readme.txt. Do read it. It shows you how to install the patch. it also gives syntax with example for various scenarios of how to install it, or remove a patch either. In most of the patches, Installing a patch again does not hurt your system.
    It's a good practice to keep db inventory clean before attempting to install the patch because otherwise the patch installation will fail.
    hope that helps!
    AMN

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

  • CLASSPATH problem with Application Server 8.2

    Hello everyone.
    i am new to using the App server 8.2 for deploying a web application. we decided to use it because we were having too many problems with Web Server.
    We successfully deployed the application and it runs. however, when accessing a page with database connectivity, we get the following error:
    =================================================
    com.sun.rave.web.ui.appbase.ApplicationException: javax.servlet.ServletException: java.lang.RuntimeException: java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : com.sun.sql.datasource.DriverAdapter
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:316)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.GeneratedMethodAccessor261.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    =================================================
    I don't really know what that means but it looks like i need to set some sort of classpath properties. under web server 6.1, the classpath settings were those of the server's JAR file path.
    i used Studio creator's remote deployment tool to deploy to AppSvr8.2.
    i followed the tutorial step by step.
    can someone please help me

    i did what you suggested and now i get a different error: Connection could not be allocated because: com.sun.sql.jdbc.oracle.OracleDriver
    see page below:
    ================================================
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    com.sun.rave.web.ui.appbase.ApplicationException: javax.servlet.ServletException: java.lang.RuntimeException: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: com.sun.sql.jdbc.oracle.OracleDriver
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:316)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    ================================================
    thank you so much for all your help thus far!!

  • How to edit classpath for Domain Admin Server?

    Hi!
    Please, explain me how can I edit the classpath settings for Domain Admin Server of Sun java Application Server 8.2?
    I need to remove some classpath made by application installer in order to make the application work.
    It is said in documentation that I have to login to DAS first, but I can't see how can I make it through Server's web-interface :(

    Hi Rengasamy,
    If you want to set the CLASSPATH for all the managed Servers available in your Domain then "$DOMAIN_HOME/bin/setDomainEnv.sh" has an Environment variable with name "PRE_CLASSPATH" which is usually preferred for Patches or any JAR which we want to override from the WebLogic's existing classpath.
    But if you don;t want to override WebLogic's default CLASSPATH rather include your Jars in it then please add your JAR filenem including absolute path inside the "POST_CLASSPATH" variable inside "$DOMAIN_HOME/bin/setDomainEnv.sh"
    Apart from this another option will be putting your Jars inside the "$DOMAIN_HOME/lib" directory because The jars located in this directory will be picked up and added dynamically to the end of the server classpath at server startup. The jars will be ordered lexically in the classpath. The domain library directory is one mechanism that can be used for adding application libraries to the server classpath. It is possible to override the $DOMAIN_DIR/lib directory using the -Dweblogic.ext.dirs system property during startup. This property specifies a list of directories to pick up jars from and dynamically append to the end of the server classpath using java.io.File.pathSeparator as the delimiter between path entries.
    If you are starting your Managed Servers using NodeManager then please refer to the following Article.:
    Topic: Nodemanager Based ManagedServers setting MEM_ARGS
    http://middlewaremagic.com/weblogic/?p=780
    Regards
    Ravish Mody

  • How to configure oracle thin drivers for SUN APPLICATION SERVER

    hi all,
    I am working with EJB with oracle as back-end. I wants to know how to configure oracle thin drivers for the SUN APPLICATION SERVER. Please explain me breifly.
    Advanced thanks to all the replies.
    with regards,
    /kumaraswamy.n

    Kumaraswamy,
    Did you try searching the Internet? Here are the results of my Internet search:
    http://tinyurl.com/zo4gk
    And one of the first hits in the list was this:
    Deploying to a Sun Java System Application Server
    Good Luck,
    Avi.

  • 500 Internal Server Error on IBM AIX for Oracle Application Server 10g

    Hi all,
    I have installed Oracle AS 10g on IBM AIX 5.3.After installation everything was working fine.After some time when i was trying to access the emd console for deploying the application it gives me following error:w/o asking for user name(ias_admin) and password.
    500 Internal Server Error
    java.lang.NoClassDefFoundError: oracle/sysman/eml/app/Console     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Class.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplication.java:2283)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpApplication.java:4795)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:568)
    Please help me out...
    Thanks in advance

    Hi,
    I am facing the same problem as well. Below is part
    of error captured from em-application.log:
    08/07/22 17:02:59 Started
    08/07/22 17:03:00 default: jsp: init
    08/07/22 17:03:00 default: Started
    08/07/22 17:03:04 emd: jsp: init
    08/07/22 17:03:04 emd: dynamicImage: init
    08/07/22 17:03:11 emd: Error initializing servlet
    java.lang.InternalError: Can't connect to X11 window
    server using '172.28.8.106:0.0' as the value of the
    DISPLAY variable.
    at
    sun.awt.X11GraphicsEnvironment.initDisplay(Native
    Method)
    at
    sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnv
    ironment.java:175)
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java:180)
    at
    java.awt.GraphicsEnvironment.getLocalGraphicsEnvironme
    nt(GraphicsEnvironment.java:91)
    at
    java.awt.Font.initializeFont(Font.java:333)
    at java.awt.Font.<init>(Font.java:368)
    at
    oracle.sysman.eml.app.Console.<clinit>(Console.java:57
    9)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java(Compiled
    Code))
    at
    com.evermind.server.http.HttpApplication.loadServlet(H
    ttpApplication.java:2283)
    at
    com.evermind.server.http.HttpApplication.findServlet(H
    ttpApplication.java:4795)
    at
    com.evermind.server.http.HttpApplication.initPreloadSe
    rvlets(HttpApplication.java:4889)
    at
    com.evermind.server.http.HttpApplication.initDynamic(H
    ttpApplication.java:1015)
    at
    com.evermind.server.http.HttpApplication.<init>(HttpAp
    plication.java:549)
    at
    com.evermind.server.Application.getHttpApplication(App
    lication.java:890)
    at
    com.evermind.server.http.HttpServer.getHttpApplication
    (HttpServer.java:707)
    at
    com.evermind.server.http.HttpSite.initApplications(Htt
    pSite.java:625)
    at
    com.evermind.server.http.HttpSite.setConfig(HttpSite.j
    ava:278)
    at
    com.evermind.server.http.HttpServer.setSites(HttpServe
    r.java:278)
    at
    com.evermind.server.http.HttpServer.setConfig(HttpServ
    er.java:179)
    at
    com.evermind.server.ApplicationServer.initializeHttp(A
    pplicationServer.java:2394)
    at
    com.evermind.server.ApplicationServer.setConfig(Applic
    ationServer.java:1551)
    at
    com.evermind.server.ApplicationServerLauncher.run(Appl
    icationServerLauncher.java:92)
    at java.lang.Thread.run(Thread.java:568)
    17:03:11 emd: Error preloading servlet
    avax.servlet.ServletException: Error initializing
    servlet
    at
    com.evermind.server.http.HttpApplication.findServlet(H
    ttpApplication.java:4846)
    at
    com.evermind.server.http.HttpApplication.initPreloadSe
    rvlets(HttpApplication.java:4889)
    at
    com.evermind.server.http.HttpApplication.initDynamic(H
    ttpApplication.java:1015)
    at
    com.evermind.server.http.HttpApplication.<init>(HttpAp
    plication.java:549)
    at
    com.evermind.server.Application.getHttpApplication(App
    lication.java:890)
    at
    com.evermind.server.http.HttpServer.getHttpApplication
    (HttpServer.java:707)
    at
    com.evermind.server.http.HttpSite.initApplications(Htt
    pSite.java:625)
    at
    com.evermind.server.http.HttpSite.setConfig(HttpSite.j
    ava:278)
    at
    com.evermind.server.http.HttpServer.setSites(HttpServe
    r.java:278)
    at
    com.evermind.server.http.HttpServer.setConfig(HttpServ
    er.java:179)
    at
    com.evermind.server.ApplicationServer.initializeHttp(A
    pplicationServer.java:2394)
    at
    com.evermind.server.ApplicationServer.setConfig(Applic
    ationServer.java:1551)
    at
    com.evermind.server.ApplicationServerLauncher.run(Appl
    icationServerLauncher.java:92)
    at java.lang.Thread.run(Thread.java:568)
    17:03:11 emd: redirect: init
    8/07/22 17:03:11 emd: Started
    08/07/22 17:03:11 cabo: jsp: init
    08/07/22 17:03:11 cabo: Started
    08/07/22 17:05:28 emd: Error initializing servlet
    java.lang.NoClassDefFoundError:
    oracle/sysman/eml/app/Console
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java(Compiled
    Code))
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpApplication.loadServlet
    Http
    Application.java:2283)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpApplication.findServlet
    Http
    Application.java:4795)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpApplication.getRequestD
    spat
    cher(HttpApplication.java:2821)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpRequestHandler.processR
    ques
    t(HttpRequestHandler.java:680)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpRequestHandler.run(Http
    eque
    stHandler.java:285)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpRequestHandler.run(Http
    eque
    stHandler.java:126)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$M
    Work
    er.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:568)
    17:05:28 emd: Servlet error
    /b]
    Could someone please help me take a look on this?
    Thank you.
    Regards,
    HT
    Hi,
    I have got the solution........
    go through the url:
    http://docs.tpu.ru/docs/oracle/en/oas/10.1.2.0.2/aix.1012/relnotes.1012/relnotes/install.htm
    Read these points:
    Class Not Found Execption: 2.1.25
    After doing all these four steps,restart your application server control.
    Cause of this problem:
    X Virtual Frame Buffer: 2.4.14
    Cheers,

Maybe you are looking for

  • CS4 - No title bar in Windows 7 64 bit

    A couple of weeks ago I installed CS4 64 bit in the 64-bit beta of Windows 7. All I did was open it, look at it, do a bit of minimal adjustment to the Prefs, open a couple of photos and pretend to edit them. I opened it 2 days ago, and it was still f

  • Apex_mail.send, keep sent messages in sent folder.

    Hey guys, I am trying to send email from APEX using apex_mail.send, it works fine but when I am trying to show up them in the sent folder from gmail site of the "FROM" email that I sent the message from, I can't find them there. Can you guys help in

  • How to Put BPEL exercise,in apps.

    Hi, The Sample purchasing application which is given as a BPEL exercise, can we put it in apps appart from puting to local BPEL server.If yes then how to go about it. Thanks

  • How to call Attributes in the routine for transaction data

    Dear Pros, I have a condition that i have an additional Info object to be filled with a value such as i have plant and material in the transaction data, Distributional channal --> attribute of 0plant Zmatentry --> attribute of 0material. I WANT TO CA

  • Unable to resolve 'oracle.j2ee.ws.server.async.DefaultRequestQueue'

    Hi When executing import/export service through FSM we are getting below error on server console. Can someone please help us to resolve this. <Nov 22, 2012 10:25:14 PM IST> <Error> <oracle.j2ee.ws.common.jaxws.JAXWSMessages> <BEA-000000> <[MessageID: