Glassfish 3.1
Is anybody aware if the 3.1 version available? Or what is the release status?
On the oracle site only 3.0.1 is provided for download.
No, it is not available yet and the current release date, like many official Java products at the moment, is "when its done".
You could download a nightly build if you want to experiment:
http://dlc.sun.com.edgesuite.net/glassfish/v3.1/nightly/
This website seems to hold a sort of roadmap for Glassfish.
http://swik.net/GlassFish+roadmap
Seems that it is still in milestone releases, which would indicate the final will still be a little while away. With the Oracle/Sun takeover, many releases have been delayed (including the eagerly awaited Java 7...)
Similar Messages
-
Install glassfish tools in Luna M7
Hi all
I installed the latest eclipse Luna milestone and tried to install glassfish tools for eclipse but it failed due to a "missing dependency"
> Cannot complete the install because one or more required items could not be found.
Software being installed: GlassFish Tools 6.5.0.201405081811 (oracle.eclipse.tools.glassfish.feature.group 6.5.0.201405081811)
Missing requirement: GlassFish Tools 6.5.0.201405081811 (oracle.eclipse.tools.glassfish 6.5.0.201405081811) requires 'bundle org.apache.ant [1.8.4,1.9.0)' but it could not be found
Cannot satisfy dependency:
From: GlassFish Tools 6.5.0.201405081811 (oracle.eclipse.tools.glassfish.feature.group 6.5.0.201405081811)
To: oracle.eclipse.tools.glassfish [6.5.0.201405081811]
Asked at eclipse here : Eclipse Community Forums: Web Tools Project (WTP) » can't install latest glassfish tools on luna m7
Apparently the issue is that Luna comes with ant 1.9.2
Any workarounds ? Any plans for an update ?
ThanksYou are referencing Kepler repository when installing into Luna. You need to use the following URL instead:
http://download.oracle.com/otn_software/oepe/luna/ -
Calling Glassfish jdbc Datasorce in EJB 3.0 with @Resource annotation.
I tried EJB 3.0 with netbeans and glassfish and "{color:#ff0000}+_ORACLE_+{color}". I wanted to link the oracle database to GLASSFISH server and I followed the instructions.After I clicked 'ping' button, it displayed as *{color:#339966}'PING SUCCEED".{color}*
But I couldn't call my datasource from the eje stateless session bean with @Resource annotation.It resulted a dependency injection exception. Can some one tell me how to do this properly.
{color:#ff0000}Thanks in Advance!!!!{color}Frank, yes, I can modify if it is necessary the datasource but, how can I say in the xxxx-jdbc.xml not to use JTA transactions when this data source is called inside a ejb 3.0 method?
I'm using Jdev11g and the integrated Web Logic Server.
Thank's -
Fail to deploy opensso.war on glassfish
Hi
I download glassfish-v3,opensso.war,opensso.jar ..
install glassfish and start the server
copy opensso.jar to glassfish\lib ( is it necessary?)
I want to deploy opensso.war on glassfish,I use the command line:
asadmin deploy --path c:\opensso\opensso.war
It show the message:
SUCCESS : Application opensso deployed successfully
and under the directory glassfish\domains\domain1\applications has the opensso directory.
but when I brow : http://localhost:8080/opensso or /amserver ,It prompt 404 error.
the glassfish server logs show:
[#|2007-08-14T00:40:33.453+0800|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-3;|Using default-web.xml C:\usr\glassfish\config\..\domains\domain1\config\default-web.xml|#]
[#|2007-08-14T00:40:33.625+0800|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-3;|Created HTTP listener http-listener-1|#]
[#|2007-08-14T00:40:33.625+0800|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-3;|Created HTTP listener http-listener-2|#]
[#|2007-08-14T00:40:33.640+0800|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-3;|Created virtual server server|#]
[#|2007-08-14T00:40:33.656+0800|INFO|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=Thread-3;|Created virtual server __asadmin|#]
[#|2007-08-14T00:40:39.343+0800|INFO|GlassFish10.0|org.apache.catalina.loader.WebappLoader|_ThreadID=11;_ThreadName=Thread-3;|Unknown loader [email protected] class com.sun.enterprise.glassfish.bootstrap.MaskingClassLoader|#]
[#|2007-08-14T00:40:39.750+0800|INFO|GlassFish10.0|org.apache.catalina.realm.JAASRealm|_ThreadID=11;_ThreadName=Thread-3;|Setting JAAS app name com.sun.appserv|#]
[#|2007-08-14T00:40:40.437+0800|INFO|GlassFish10.0|org.apache.catalina.session.ManagerBase|_ThreadID=11;_ThreadName=Thread-3;|PWC2763: Manager has already been started|#]
[#|2007-08-14T00:40:40.796+0800|INFO|GlassFish10.0|javax.enterprise.system.tools.deployment|_ThreadID=11;_ThreadName=Thread-3;|Deployed web module StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[opensso] to virtual server server|#]
[#|2007-08-14T00:40:40.828+0800|INFO|GlassFish10.0|javax.enterprise.system.tools.deployment|_ThreadID=11;_ThreadName=Thread-3;|Registered adapter org.apache.coyote.tomcat5.CoyoteAdapter@17b4703 for web endpoint /opensso at port 8080|#]
[#|2007-08-14T00:40:40.843+0800|INFO|GlassFish10.0|javax.enterprise.system.tools.deployment|_ThreadID=11;_ThreadName=Thread-3;|Registered adapter org.apache.coyote.tomcat5.CoyoteAdapter@73305c for web endpoint /opensso at port 8181|#]
[#|2007-08-14T00:40:40.875+0800|INFO|GlassFish10.0|javax.enterprise.system.tools.deployment|_ThreadID=11;_ThreadName=Thread-3;|opensso web application loaded in 7485 ms|#]
[#|2007-08-14T00:40:58.765+0800|INFO|GlassFish10.0|null|_ThreadID=12;_ThreadName=Thread-3;|No adapter registered for : /amserver|#]
who can point error in my deploying steps.o I'm sorry ,I move the glassfish to other directory
so the problem is resolved
by the way ,how can I delete my posted message? -
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) -
Migrating from Glassfish to Weblogic
Hello,
We have a java project (EJB 3) that we deploy in glassfish. With new changes to company's infrastructure, glassfish is not available and I need to deploy the EAR files to Weblogic 10.3.0. We build the ear file using maven and get any required dependencies, however as expected, I have started running into issues. I have a stacktrace below here but does anyone have a suggestion for me as to how to get this done?
Unable to access the selected application.
Exception in AppMerge flows' progression
Exception in AppMerge flows' progression
[J2EE:160161]Error while parsing the Application descriptors for mi-connector.ear: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND problem: cvc-attribute.4: The value '6' does not equal the fixed value '5' of attribute 'version':<null> at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:234) at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:221) at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:146) at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306) at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788) at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409) at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759) at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768) at weblogic.application.ApplicationDescriptor.getApplicationDescriptor(ApplicationDescriptor.java:311) at weblogic.application.compiler.CompilerCtx.setApplicationDescriptor(CompilerCtx.java:138) at weblogic.application.compiler.AppcUtils.setDDs(AppcUtils.java:142) at weblogic.application.compiler.flow.DescriptorParsingFlow.compile(DescriptorParsingFlow.java:57) at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96) at weblogic.application.compiler.ReadOnlyEarMerger.merge(ReadOnlyEarMerger.java:49) at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:94) at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:47) at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96) at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:157) at weblogic.utils.compiler.Tool.run(Tool.java:158) at weblogic.utils.compiler.Tool.run(Tool.java:115) at weblogic.application.compiler.AppMerge.merge(AppMerge.java:169) at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:88) at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:63) at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:181) at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createLazyDeployableObject(WebLogicDeployableObjectFactoryImpl.java:156) at weblogic.deploy.api.tools.SessionHelper.inspect(SessionHelper.java:661) at com.bea.console.actions.app.install.Flow$2.execute(Flow.java:463) at com.bea.console.utils.DeploymentUtils.runDeploymentAction(DeploymentUtils.java:4625) at com.bea.console.actions.app.install.Flow.appSelected(Flow.java:461) 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 org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870) at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809) at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478) at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306) at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336) at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64) at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:184) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116) at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:255) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853) at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631) at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158) at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:256) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:133) at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142) at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:106) at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167) at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225) at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352) at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199) at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:54) at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) .You are trying to deploy a Java EE 6 application to a Java EE 5 Application Server.
Weblogic is still not a certified Java EE 6 Application Server.
http://en.wikipedia.org/wiki/Java_Platform,_Enterprise_Edition#Java_EE_6_certified
Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question. -
Eclipse web project using Glassfish 4.1 can not load some libraries in modules directory
We installed latest "Glassfish Tools for Luna" (updated on 2 October 2013) and created a new Eclipse dynamic web project using Glassfish 4.1. When try to annotate a class with "javax.enterprise.context.ApplicationScoped", it complains as "ApplicationScoped cannot be resolved to a type" although imported as "import javax.enterprise.context.ApplicationScoped".
Checking "glassfish-4.1/glassfish/modules/" directory and there is cdi-api.jar that contains ApplicationScoped class. But when checking from the project libraries in the eclipse, couldnt see such a jar.
My configuration:
Eclipse 4.4
Glassfish runtime java development kit : java 1.8.0_20
Project java development kit : java 1.8.0_20
Project compiler level : 1.8
Project facets : Dynamic web module 3.1, Java 1.8, Glassfish Web Extensions 4.0, Javascript 1.0
How to solve this issue?
Thanks.There are 274 jars in the Glassfish 4.0 modules directory, whereas there are 282 jars in the Glassfish 4.1 modules directory. So it is not only cdi-api.jar. Moreover there are some libraries, the names of which have been changed.
Why not simply importing all libraries in the modules directory to Eclipse, like Tomcat plugin does for tomcat/lib directory? So when manually deploying a library(jar) to modules directory Eclipse will discover it automatically.
Thanks. -
[Solved]Glassfish's updatetool
Hello,
I can't run updatetool, because I am missing some 32 bit libraries, but IDK what libraries I'm exactly missing. Could anyone help?
[cybuch@MedeiS bin]$ sh updatetool
WX import error. Verify the WX widgets are in the PYTHONPATH.
The following can be reported to GlassFish Update Tool 2.3.5 Development Team <[email protected]>.
Traceback (innermost last):
File "/home/cybuch/glassfish/updatetool/vendor-packages/updatetool/common/boot.py", line 283, in init_app_locale
import wx
File "wx/__init__.py", line 45, in ?
File "wx/_core.py", line 4, in ?
ImportError: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
There was an error running
/home/cybuch/glassfish/updatetool/bin/../../pkg/python2.4-minimal/bin/python
You are running on a 64 bit Linux distribution and the 32 bit Linux
compatibility libraries do not appear to be installed. In order to use
the Update Center tools you must install the 32 bit compatibility libraries.
On Ubuntu (and possibly other Debian based systems) please install the
ia32-libs package. On RedHat 4 (and other RPM based systems), you may
need to add multiple 'compat' runtime library packages. Please see the
Update Center Release Notes for more information
Solution:
Install every package from ImportError. There will be one package that's missing, I've forgotten which one is it, but google about it - you'll have to create a symlink to analogic package.
Last edited by cybuch (2012-10-02 20:00:06)In my case I also use
RuntimeMaxUse=50M
However my file sizes do seem approximately in step with what is expected from du -sh
$ sudo journalctl --disk-usage
Journals take up 768.0K on disk.
$ du -sh /var/log/journal
780K /var/log/journal
Mind you I recently removed the journal directory to clean out coredumps by stopping the systemd-journald service and then doing the following before rebooting
# rm -fr /var/log/journal
# mkdir /var/log/journal
The files look sensible since doing that. I have had the journal files corrupted at various times when there has been a system hang and this is easily seen if the journal is verified with
# journalctl --verify
Unless the above shows pass on all files I remove the journal directory entirely to clean it up as I believe that systemd can't clean up corrupted binary journal files.
Maybe the journal disk usage excludes things like coredumps?
Last edited by mcloaked (2013-11-04 19:50:43) -
Hi,
ich want to learn WS in Java. I've looked at Glassfish Project. Since a few days i try to understand all the things but its a little bit complicated. Can somebody answer me a few question.
- Glassfisch Project ist only the application server?
- Does Glassfish contiain all the libraries that i need to implement WS? So i mean JAXB, JAX-WS ... or do i need to install this libraries separately?
- What exactly do metro? Contain metro package all the libraries needed to implement WS? Or ist Metro only to realize securiyt, transaction ...?
I read the Java EE 5 (Web Services) Tutorial .. but it doesnt work.
I've installed the following components.
- Glassfish v2ur2 (127.1.0.0:8080 works)
- then i've installed metro like on https://metro.dev.java.net/1.2/docs/install.html
then i run the example "modify-marshal". I run "ant runapp" but get the error: ...\build.xml:14: taskdef class com.sun.tools.xjc.XJCTask cannot be found
why do i get this error. Do i need othe libraries? JAXB? or it is in the metro-Package?
Thank you for your help
javas80Hello,
I am also newcomer but maybe I can try to answer some of your question:
- Glassfisch Project ist only the application server?
No, there are more:
http://en.wikipedia.org/wiki/Comparison_of_application_servers
- Does Glassfish contiain all the libraries that i need to implement WS? So i mean JAXB, JAX-WS ... or do i need to install this libraries separately?
I have installed only Glassfish.
- What exactly do metro? Contain metro package all the libraries needed to implement WS? Or ist Metro only to realize securiyt, transaction ...?
http://en.wikipedia.org/wiki/Glassfish_Metro
https://metro.dev.java.net/discover/
I read the Java EE 5 (Web Services) Tutorial .. but it doesnt work.
To run Java EE 5 Web Services examples you can download them as a Java EE Tutorial Bundle:
http://java.sun.com/javaee/5/docs/tutorial/doc/gexaj.html#gexba
http://java.sun.com/javaee/5/docs/tutorial/information/download.html
Well but to run the examples you have to configure some files within the Bundle, usually xml files.
If you want to learn WS maybe this article can help you.
It helped me very well.
http://java.sun.com/developer/EJTechTips/2005/tt1220.html#1
Regards,
Miro -
GlassFish v2.1.1 and adf demo
Hello,
I'm trying to deploy the rich client component runtime demo(see this) on "Sun GlassFish Enterprise Server v2.1.1". This is a clean install, i havn't deployed anything else. When i drop rcf-dvt-demo.war and surf to http://localhost:8080/rcf-dvt-demo/ i get http status 503. I have tried to google but with no luck..
My logs says:
[#|2010-04-10T20:00:17.972+0200|SEVERE|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=Timer-9;/C:/Sun/SDK/domains/domain1/autodeploy/rcf-dvt-demo.war;_RequestID=bacf3ad7-227b-4135-a059-145209b455fe;|"DPL8004: file open failure; file = /C:/Sun/SDK/domains/domain1/autodeploy/rcf-dvt-demo.war"|#]
[#|2010-04-10T20:00:17.988+0200|INFO|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=Timer-9;|[AutoDeploy] The copy operation for C:\Sun\SDK\domains\domain1\autodeploy\rcf-dvt-demo.war into the auto-deploy directory may still be in progress or the file may be corrupt; will retry periodically until at least Sat Apr 10 20:00:47 CEST 2010|#]
[#|2010-04-10T20:00:19.972+0200|SEVERE|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=Timer-9;/C:/Sun/SDK/domains/domain1/autodeploy/rcf-dvt-demo.war;_RequestID=bacf3ad7-227b-4135-a059-145209b455fe;|"DPL8004: file open failure; file = /C:/Sun/SDK/domains/domain1/autodeploy/rcf-dvt-demo.war"|#]
[#|2010-04-10T20:00:21.972+0200|INFO|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=Timer-9;|[AutoDeploy] Selecting file C:\Sun\SDK\domains\domain1\autodeploy\rcf-dvt-demo.war for autodeployment.|#]
[#|2010-04-10T20:00:48.925+0200|SEVERE|sun-appserver2.1|org.apache.jasper.servlet.JspServlet|_ThreadID=18;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=88635a24-548b-47de-a8a6-c0b35438ee8e;|PWC6117: File "C:\Sun\SDK\domains\domain1\docroot\rcf-dvt-demo\faces\index.jspx" not found|#]
[#|2010-04-10T20:00:52.706+0200|WARNING|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=Timer-9;_RequestID=bacf3ad7-227b-4135-a059-145209b455fe;|Error in annotation processing: java.lang.NoClassDefFoundError: weblogic/servlet/http/AbstractAsyncServlet|#]
[#|2010-04-10T20:00:53.253+0200|INFO|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=Timer-9;|deployed with moduleid = rcf-dvt-demo|#]
[#|2010-04-10T20:00:54.534+0200|INFO|sun-appserver2.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=17;_ThreadName=Timer-9;/rcf-dvt-demo;|Initializing Mojarra (1.2_13-b01-FCS) for context '/rcf-dvt-demo'|#]
[#|2010-04-10T20:00:54.800+0200|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=17;_ThreadName=Timer-9;_RequestID=bacf3ad7-227b-4135-a059-145209b455fe;|WebModule[/rcf-dvt-demo]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! This parser does not support specification "null" version "null"
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:215)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:196)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4655)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5364)
at com.sun.enterprise.web.WebModule.start(WebModule.java:345)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:986)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:970)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1649)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1254)
at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:1005)
at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:992)
at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:470)
at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)
at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:280)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:298)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:584)
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.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:390)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:373)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:170)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:583)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:564)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:495)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:270)
at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
at javax.xml.parsers.DocumentBuilderFactory.setSchema(DocumentBuilderFactory.java:561)
at com.sun.faces.config.ConfigManager$ParseTask.getBuilderForSchema(ConfigManager.java:522)
at com.sun.faces.config.ConfigManager$ParseTask.getDocument(ConfigManager.java:455)
at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:416)
at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:373)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
|#]
[#|2010-04-10T20:00:54.925+0200|SEVERE|sun-appserver2.1|org.apache.catalina.core.StandardContext|_ThreadID=17;_ThreadName=Timer-9;_RequestID=bacf3ad7-227b-4135-a059-145209b455fe;|PWC1306: Startup of context /rcf-dvt-demo failed due to previous errors|#]
[#|2010-04-10T20:00:55.675+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=19;_ThreadName=pool-7-thread-4;_RequestID=2bc4c823-f1c0-45e5-969b-f3f22885822d;|
XML-22000: (Fatal Error) Error while parsing XSL file (null).
|#]
[#|2010-04-10T20:00:55.691+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=20;_ThreadName=pool-7-thread-1;_RequestID=cfc7e4d3-aeab-474f-8df9-2f1b6d83cc4a;|
XML-22000: (Fatal Error) Error while parsing XSL file (null).
|#]
[#|2010-04-10T20:00:55.691+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=21;_ThreadName=pool-7-thread-2;_RequestID=496239eb-bb33-45c9-acc7-220f68657421;|
XML-22000: (Fatal Error) Error while parsing XSL file (null).
|#]
[#|2010-04-10T20:00:55.691+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=22;_ThreadName=pool-7-thread-3;_RequestID=9e58c64e-e9ef-445f-b1b3-d51e7278b14f;|
XML-22000: (Fatal Error) Error while parsing XSL file (null).
|#]
[#|2010-04-10T20:00:55.691+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=23;_ThreadName=pool-7-thread-5;_RequestID=be2009eb-605f-4137-9fe6-99a7142bcc67;|
XML-22000: (Fatal Error) Error while parsing XSL file (null).
|#]
[#|2010-04-10T20:00:55.753+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=17;_ThreadName=Timer-9;|
classLoader = WebappClassLoader
delegate: true
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
EJBClassLoader :
urlSet = []
doneCalled = false
Parent -> java.net.URLClassLoader@1370b82
|#]
[#|2010-04-10T20:00:55.769+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=17;_ThreadName=Timer-9;|
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@ac6572|#]
[#|2010-04-10T20:00:55.800+0200|INFO|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=Timer-9;|[AutoDeploy] Successfully autodeployed : C:\Sun\SDK\domains\domain1\autodeploy\rcf-dvt-demo.war.|#]The demo you loaded is for Weblogic server, not for glassfish. You can't just deploy the demo and run it.
I'm not even sure it has been done jet, but may be someone has successfully done it.
Have you searched (google) for a solution?
Timo -
Unable to create GlassFish server on Luna
Hi all,
I'm experiencing the same problem than here https://www.eclipse.org/forums/index.php/t/821156/, but according to the comments that was already fixed.
This is what I'm trying:
Install the Glassfish Tools from the Marketplace
In the Servers view, right click > New > Server > GlassFish 4 > Next
The page called "Define GlassFish runtime properties" is empty except for the words "Internal error" (see attached image).
Is the "GlassFish Tools for Luna" entry on Eclipse Marketplace working? or is there any other way to install the GlassFish tools?
Thanks!When you use "GlassFish Tools for Luna" entry on Eclipse Marketplace, you should see two features displayed. Did you install both of them? If you don't install "Oracle Java EE Tools", you will hit the error that you are describing.
-
Problems starting GlassFish via GlassFish Tools
Hi everyone,
I am experiencing problems in starting a GlassFish Server (Open Source Edition 4.1 (build 13)) via GlassFish Tools in Eclipse Luna on my MacBook (OS X Yosemite) as described in these postings. The server is stuck at 69 % on starting up until a TimeoutException appears.
The problem can be solved though by going back to an older version of GlassFish tools (it seems 7.3.2.20141114 is the last version which is working for me).
On my Windows PC no such problems occur, even when running GlassFish tools in the latest version.
Is anyone experiencing similar issues and might provide a hint to fix this?
I really appreciate any help in this matter .
Thanks,
ErunHi Erun
I have exactly the same configuration and exactly same problem. Do you still remember how did you solve this problem?
kind regards
Aliye -
Unable to install glassfish server in eclipse.
I'm using WinXP SP3
Oracle Enterprise Pack for Eclipse (12.1.1.0.1)
Downloaded the oepe-indigo-win32.zip from http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/oepe-12111-1560492.html
On the Servers tab, right click New > Server then I choose GlassFish Server Open Source Edition 3 (Java EE 6) at localhost next in the Application Server Directory: i put C:/glassfish and click Install Server
I get this message Missing classpath entry: c:\glassfish\glassfishv3\glassfish\modules\glassfish.jarin the Application Server Directory: i put C:/glassfish and click Install Server
But, is GlassFish installed in the c:/glassfish server? If not, install GlassFish before creating a server instance. -
I am running Groovy/Grails Tool Suite™ eclipse distribution on a mac os x.
when I try to install GlassFish Tools for Luna | Eclipse Plugins, Bundles and Products - Eclipse Marketplace
it throws the following error below.
Any suggestions?
Thanks
An error occurred while collecting items to be installed
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.application.common.services_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.application.common.services_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.common_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.common_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.common.doc_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.common.doc_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.common.services_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.common.services_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.common.services.ui_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.common.services.ui_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.common.templating_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.common.templating_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.common.ui_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.common.ui_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.common.upgrade_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.common.upgrade_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.envcheck_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.envcheck_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.glassfish_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.glassfish_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/features/oracle.eclipse.tools.glassfish_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/features/oracle.eclipse.tools.glassfish_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.glassfish.ui_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.glassfish.ui_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.javaee_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.javaee_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.javaee.doc_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.javaee.doc_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/features/oracle.eclipse.tools.javaee_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/features/oracle.eclipse.tools.javaee_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.jaxrs_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.jaxrs_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.jaxrs.ui_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.jaxrs.ui_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.jaxrs.v11_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.jaxrs.v11_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/features/oracle.eclipse.tools.patches_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/features/oracle.eclipse.tools.patches_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.common.services_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.common.services_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.doc_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.doc_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.html_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.html_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.html.ui_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.html.ui_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.javawebapp_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.javawebapp_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.jsf_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.jsf_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.jsf.facelet_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.jsf.facelet_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.jsf.ui_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.jsf.ui_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.jsp_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.jsp_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.jsp.ui_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.jsp.ui_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.jstl_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.jstl_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.jstl.ui_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.jstl.ui_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.struts_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.struts_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.struts.ui_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.struts.ui_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.trinidad_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.trinidad_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.trinidad.ui_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.trinidad.ui_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.ui_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.webtier.ui_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.xml.edit.ui_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.xml.edit.ui_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.xml.model_7.2.1.201407111426.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/oracle.eclipse.tools.xml.model_7.2.1.201407111426.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/features/org.eclipse.sapphire_0.7.4.201406171836.jar.
http://download.oracle.com/otn_software/oepe/luna/features/org.eclipse.sapphire_0.7.4.201406171836.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/org.eclipse.sapphire.java_0.7.4.201406171836.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/org.eclipse.sapphire.java_0.7.4.201406171836.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/features/org.eclipse.sapphire.java_0.7.4.201406171836.jar.
http://download.oracle.com/otn_software/oepe/luna/features/org.eclipse.sapphire.java_0.7.4.201406171836.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/org.eclipse.sapphire.java.jdt_0.7.4.201406171836.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/org.eclipse.sapphire.java.jdt_0.7.4.201406171836.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/features/org.eclipse.sapphire.java.jdt_0.7.4.201406171836.jar.
http://download.oracle.com/otn_software/oepe/luna/features/org.eclipse.sapphire.java.jdt_0.7.4.201406171836.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/org.eclipse.sapphire.java.jdt.ui_0.7.4.201406171836.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/org.eclipse.sapphire.java.jdt.ui_0.7.4.201406171836.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/features/org.eclipse.sapphire.modeling.xml_0.7.4.201406171836.jar.
http://download.oracle.com/otn_software/oepe/luna/features/org.eclipse.sapphire.modeling.xml_0.7.4.201406171836.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/org.eclipse.sapphire.osgi_0.7.4.201406171836.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/org.eclipse.sapphire.osgi_0.7.4.201406171836.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/features/org.eclipse.sapphire.osgi_0.7.4.201406171836.jar.
http://download.oracle.com/otn_software/oepe/luna/features/org.eclipse.sapphire.osgi_0.7.4.201406171836.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/org.eclipse.sapphire.osgi.fragment_0.7.4.201406171836.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/org.eclipse.sapphire.osgi.fragment_0.7.4.201406171836.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/features/org.eclipse.sapphire.platform_0.7.4.201406171836.jar.
http://download.oracle.com/otn_software/oepe/luna/features/org.eclipse.sapphire.platform_0.7.4.201406171836.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/org.eclipse.sapphire.ui_0.7.4.201406171836.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/org.eclipse.sapphire.ui_0.7.4.201406171836.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/features/org.eclipse.sapphire.ui_0.7.4.201406171836.jar.
http://download.oracle.com/otn_software/oepe/luna/features/org.eclipse.sapphire.ui_0.7.4.201406171836.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/org.eclipse.sapphire.ui.swt.xml.editor_0.7.4.201406171836.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/org.eclipse.sapphire.ui.swt.xml.editor_0.7.4.201406171836.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/features/org.eclipse.sapphire.ui.swt.xml.editor_0.7.4.201406171836.jar.
http://download.oracle.com/otn_software/oepe/luna/features/org.eclipse.sapphire.ui.swt.xml.editor_0.7.4.201406171836.jar
Artifact not found: http://download.oracle.com/otn_software/oepe/luna/plugins/org.eclipse.sapphire.workspace.ui_0.7.4.201406171836.jar.
http://download.oracle.com/otn_software/oepe/luna/plugins/org.eclipse.sapphire.workspace.ui_0.7.4.201406171836.jarCould you see if you can access the following two URLs on your system? The expected behavior is 404/not-found, but you are somehow trying to install based on metadata from the previous release, which was found in these two files.
http://download.oracle.com/otn_software/oepe/luna/content.jar
http://download.oracle.com/otn_software/oepe/luna/artifacts.jar -
Issue JDBC connection pool with Glassfish 3.1.2.2 and Oracle XE 11gR2
Hello,
I am experiencing an issue with pinging a JDBC connection Pool.
I installed the following without any warnings or errors:
Operating System: Oracle Enterprise Linux 5
Oracle XE 11gR2 (11.2.0.2.0) database
Glassfish 3.1.2.2
I will refer to the steps I did after the installations
1) In the .profile file of the OS I add the following:
JRE_HOME=/usr/java/jre1.6.0_31; export JRE_HOME
JAVA_HOME=/usr/java/jdk1.6.0_31; export JAVA_HOME
GLASSFISH_DIR=/u01/glassfish3
GLASSFISH_HOME=/u01/glassfish3/glassfish
DERBY_HOME=$GLASSFISH_DIR/javadb
OPEN_MQ_HOME=$GLASSFISH_DIR/mq
PATH=:$JAVA_HOME/bin:$JRE_HOME/bin:$PATH:$HOME/bin:$GLASSFISH_HOME/bin:$DERBY_HOME/bin:$OPEN_MQ_HOME/bin
export GLASSFISH_HOME
export DERBY_HOME
export OPEN_MQ_HOME
export PATH
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/xe/lib; export LD_LIBRARY_PATH
. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh
2) I copied the ojdbc6.jar to the $GLASSFISH_HOME/domains/domain1/lib
3) I login to the Glassfish admin console and created a new JDBC Connection Pool.
Pool Name: ds_orasys
Resource Type: javax.sql.DataSource
Datasource Classname: oracle.jdbc.pool.OracleDataSource
User: [myschema]
Password: [myschema password]
URL: jdbc:oracle:thin:@localhost:1521:xe
When I ping the connection pool I get the following message in the server log:
[#|2012-10-23T12:14:37.069+0300|WARNING|glassfish3.1.2|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.service|_ThreadID=22;_ThreadName=Thread-2;|RAR8054: Exception while creating an unpooled [test] connection for pool [ ds_orasys ], Connection could not be allocated because: Invalid Oracle URL specified|#]
[#|2012-10-23T12:14:37.071+0300|SEVERE|glassfish3.1.2|org.glassfish.admingui|_ThreadID=19;_ThreadName=Thread-2;|RestResponse.getResponse() gives FAILURE. endpoint = 'http://212.205.62.217:4848/management/domain/resources/ping-connection-pool.json'; attrs = '{id=ds_orasys}'|#]
I tried to use different jar files. I used ojdbc6dms.jar and ojdbc14.jar.
I also copied the jar files in the $GLASSFISH_HOME/domains/domain1/lib/ext directory as some people suggested. Still no luck. I keep getting the same error messages in the server.log
Can anybody help me out or point me to the right direction.
Thank you in advanceThe error is in the URL. It was in front of my eyes and I couldn't see the error. I skipped the ':' before the '@' when I created the pool. It is working fine now.
-
Coherence*Web on GlassFish Server Issues
Hi!
We are using Coherence 3.7.1.8 in our application in GlassFish 3.1.2 both as application cache and for storing session data (Coherence*Web) so it can be shared between multiple EARs and App server instances. Session data sharing between EARs in the same container works fine, but when we try to share session data between application server instances the server stops responding and has to be restarted. The only thing we get on the log is this exception:
#|SEVERE|oracle-glassfish3.1.2|com.tangosol.coherence.servlet.ParallelReapTask|_ThreadID=169;_ThreadName=Thread-2;|An exception was thrown while reaping a session.
com.tangosol.coherence.servlet.commonj.WorkException: Work Failed.
at com.tangosol.coherence.servlet.commonj.impl.WorkItemImpl.run(WorkItemImpl.java:167)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassCastException: com.tangosol.coherence.servlet.SplittableHolder cannot be cast to com.tangosol.coherence.servlet.AttributeHolder
at com.tangosol.coherence.servlet.AbstractHttpSessionModel.readAttributes(AbstractHttpSessionModel.java:1815)
at com.tangosol.coherence.servlet.AbstractHttpSessionModel.readExternal(AbstractHttpSessionModel.java:1735)
at com.tangosol.util.ExternalizableHelper.readExternalizableLite(ExternalizableHelper.java:2042)
at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2346)
at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2747)
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:263)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ConverterFromBinary.convert(PartitionedCache.CDB:4)
at com.tangosol.util.ConverterCollections$ConverterMap.get(ConverterCollections.java:1656)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.get(PartitionedCache.CDB:1)
at com.tangosol.coherence.component.util.SafeNamedCache.get(SafeNamedCache.CDB:1)
at com.tangosol.net.cache.CachingMap.get(CachingMap.java:491)
at com.tangosol.coherence.servlet.DefaultCacheDelegator.getModel(DefaultCacheDelegator.java:122)
at com.tangosol.coherence.servlet.AbstractHttpSessionCollection.getModel(AbstractHttpSessionCollection.java:2288)
at com.tangosol.coherence.servlet.AbstractReapTask.checkAndInvalidate(AbstractReapTask.java:140)
at com.tangosol.coherence.servlet.ParallelReapTask$ReapWork.run(ParallelReapTask.java:89)
at com.tangosol.coherence.servlet.commonj.impl.WorkItemImpl.run(WorkItemImpl.java:164)
... 3 more
We tried to restrict the shared session data by implementing a custom SessionDistributionController, but according to the documentation, this feature requires coherence-sticky-sessions optimization to be enabled and this last one requires coherence-session-member-locking to be enabled. This led us to the following error:
#|SEVERE|oracle-glassfish3.1.2|org.apache.catalina.connector.CoyoteAdapter|_ThreadID=202;_ThreadName=Thread-2;|PWC3989: An exception or error occurred in the container during the request processing
java.lang.IllegalStateException: attempt to exit session VhSnfqkcwAza when it was not owned
at com.tangosol.coherence.servlet.AbstractHttpSessionCollection.exit(AbstractHttpSessionCollection.java:799)
at com.tangosol.coherence.servlet.AbstractHttpSessionCollection.exit(AbstractHttpSessionCollection.java:696)
at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSessionManager.exit(CoherenceWebSessionManager.java:536)
at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSession.unlockForeground(CoherenceWebSession.java:451)
at org.apache.catalina.connector.Request.unlockSession(Request.java:4222)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:342)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:722)
We want to know if we are missing something in our configuration. We are using com.tangosol.coherence.servlet.AbstractHttpSessionCollection$GlobalScopeController. The session-cache-config.xml file has only this item added:
<replicated-scheme>
<scheme-name>default-replicated</scheme-name>
<service-name>ReplicatedCache</service-name>
<backing-map-scheme>
<class-scheme>
<scheme-ref>default-backing-map</scheme-ref>
</class-scheme>
</backing-map-scheme>
</replicated-scheme>
<class-scheme>
<scheme-name>default-backing-map</scheme-name>
<class-name>com.tangosol.util.SafeHashMap</class-name>
</class-scheme>
Any help or light would be greatly appreciated. Thanks in advance.Depending on the version of WebLogic (which unfortunately I cannot remember off of the top of my head), you don't have to use the installer, because WebLogic has added built-in Coherence*Web support. Have you checked the WebLogic documentation for using Coherence*Web?
Peace,
Cameron Purdy | Oracle Coherence
http://coherence.oracle.com/
Maybe you are looking for
-
hi Could u please help me with the problem that I have with starting up my macbook pro?
-
Problem with GetCustomListTemplates
Hi I have a Problem with the follwoing part of code: SPListTemplateCollection listTemplates = siteCollection.GetCustomListTemplates(web); SPListTemplate myTemplate = listTemplates[curItemTemplate]; it is showing only in listTemplates
-
Newbie problems, Tomcat 4.1 not seeing package
Hello, New to the whole jsp development scene and I seem to be tripping up on the first hurdle. Any one with a few minutes and some patience to point me in the right direction would be greatly rewarded in the afterlife : ) I have created 2 class file
-
how and the hell do you cancel this crap?
-
During a recent test MAC users identified the following issues: Required signatures, dates, text ended up on the signed result in the wrong location Some required entries did not appear anywhere on the signed result. Initials were displaced upwards o