-
1. Re: GateIn On Glassfish
gebi Jan 5, 2011 6:59 AM (in response to gebi)Hi,
No ideas:( Since GateIn is J2EE Compiliant, i think this schould work. Even if this doesn't work please let me know?
Thank you again.
-
2. GateIn On Glassfish
gebi Jan 16, 2011 12:28 PM (in response to gebi)Hi,
i have now deployed gatein on glassfish, all the webmodules and the starter are up and running.
but when i try localhost:8080/portal i can see nothing and exception is thrown.
the glassfish console output loks like this:
Domain domain1 is ready to receive client requests. Additional services are being started in background.
Domain [domain1] is running [Sun GlassFish Enterprise Server v2.1.1 ((v2.1 Patch06)(9.1_02 Patch12)) (build b31g-fcs)] with its configuration and logs at: [/home/gebi/Downloads/glassfish/domains].
Admin Console is available at [http://localhost:4848].
Use the same port [4848] for "asadmin" commands.
User web applications are available at these URLs:
[http://localhost:8080 https://localhost:8181 ].
Following web-contexts are available:
[/web1 /__wstx-services eXoResources portal dashboard exoadmin eXoGadgets eXoGadgetServer rest web wsrp-producer wsrp-admin-gui ].
Standard JMX Clients (like JConsole) can connect to JMXServiceURL:
[service:jmx:rmi:///jndi/rmi://babylon:8686/jmxrmi] for domain management purposes.
Domain listens on at least following ports for connections:
[8080 8181 4848 3700 3820 3920 8686 ].
Domain does not support application server clusters and other standalone instances.
i can see all the resources when i launch the web modules, but "rest" module throws the following exception
16.01.2011 18:17:43 com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
INFO:
/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../bin/java
-Dcom.sun.aas.instanceRoot=/home/gebi/Downloads/glassfish/domains/domain1
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=
-Dcom.sun.aas.ServerClassPath=
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.excludesList=admin-cli.jar,appserv-upgrade.jar,sun-appserv-ant.jar
-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
-Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar
-Dcom.sun.aas.classloader.serverClassPath.ee=/lib/hadbjdbc4.jar,/home/gebi/Downloads/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,/lib/dbstate.jar,/lib/hadbm.jar,/lib/hadbmgt.jar,/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.serverClassPath=/home/gebi/Downloads/glassfish/lib/install/applications/jmsra/imqjmsra.jar,/home/gebi/Downloads/glassfish/imq/lib/jaxm-api.jar,/home/gebi/Downloads/glassfish/imq/lib/fscontext.jar,/home/gebi/Downloads/glassfish/imq/lib/imqbroker.jar,/home/gebi/Downloads/glassfish/imq/lib/imqjmx.jar,/home/gebi/Downloads/glassfish/lib/ant/lib/ant.jar,/home/gebi/Downloads/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,jesmf-plugin.jar,/lib/dbstate.jar,/lib/hadbjdbc4.jar,jgroups-all.jar,/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,/home/gebi/Downloads/glassfish/imq/lib/jaxm-api.jar,/home/gebi/Downloads/glassfish/imq/lib/fscontext.jar,/home/gebi/Downloads/glassfish/imq/lib/imqbroker.jar,/home/gebi/Downloads/glassfish/imq/lib/imqjmx.jar,/home/gebi/Downloads/glassfish/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,/home/gebi/Downloads/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,/home/gebi/Downloads/glassfish/updatecenter/lib/updatecenter.jar,/home/gebi/Downloads/glassfish/jbi/lib/jbi.jar,/home/gebi/Downloads/glassfish/imq/lib/imqjmx.jar,/home/gebi/Downloads/glassfish/lib/ant/lib/ant.jar,dbschema.jar
-Dcom.sun.aas.configName=server-config
-Dcom.sun.aas.configRoot=/home/gebi/Downloads/glassfish/config
-Dcom.sun.aas.defaultLogFile=/home/gebi/Downloads/glassfish/domains/domain1/logs/server.log
-Dcom.sun.aas.domainName=domain1
-Dcom.sun.aas.installRoot=/home/gebi/Downloads/glassfish
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Dcom.sun.updatecenter.home=/home/gebi/Downloads/glassfish/updatecenter
-Ddomain.name=domain1
-Dexo.conf.dir.name=/config/gatein
-Djava.endorsed.dirs=/home/gebi/Downloads/glassfish/lib/endorsed
-Djava.ext.dirs=/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../lib/ext:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../jre/lib/ext:/home/gebi/Downloads/glassfish/domains/domain1/lib/ext:/home/gebi/Downloads/glassfish/javadb/lib
-Djava.library.path=/home/gebi/Downloads/glassfish/lib:/home/gebi/Downloads/glassfish/lib:/home/gebi/Downloads/glassfish/lib
-Djava.security.auth.login.config=/home/gebi/Downloads/glassfish/domains/domain1/config/login.conf
-Djava.security.policy=/home/gebi/Downloads/glassfish/domains/domain1/config/server.policy
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Djavax.net.ssl.keyStore=/home/gebi/Downloads/glassfish/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=/home/gebi/Downloads/glassfish/domains/domain1/config/cacerts.jks
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djmx.invoke.getters=true
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
-client
-XX:+UnlockDiagnosticVMOptions
-XX:MaxPermSize=192m
-Xmx512m
-XX:NewRatio=2
-XX:+LogVMOutput
-XX:LogFile=/home/gebi/Downloads/glassfish/domains/domain1/logs/jvm.log
-cp
/home/gebi/Downloads/glassfish/lib/jhall.jar:/home/gebi/Downloads/glassfish/lib/appserv-launch.jar
com.sun.enterprise.server.PELaunch
start
[#|2011-01-16T18:17:43.378+0100|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting Sun GlassFish Enterprise Server v2.1.1 ((v2.1 Patch06)(9.1_02 Patch12)) (build b31g-fcs) ...|#]
[#|2011-01-16T18:17:43.974+0100|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java HotSpot(TM) Client VM;1.6.0_22;Sun Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0_22] from [Sun Microsystems Inc.]|#]
[#|2011-01-16T18:17:44.013+0100|INFO|sun-appserver2.1|javax.enterprise.system.core.security|_ThreadID=11;_ThreadName=pool-1-thread-3;|SEC1002: Security Manager is OFF.|#]
[#|2011-01-16T18:17:44.099+0100|INFO|sun-appserver2.1|javax.enterprise.resource.jms|_ThreadID=12;_ThreadName=pool-1-thread-1;|Using MQ RA for Broker lifecycle control|#]
[#|2011-01-16T18:17:45.357+0100|SEVERE|sun-appserver2.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;[
[#|2011-01-16T18:17:45.394+0100|INFO|sun-appserver2.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;com.sun.enterprise.security.provider.PolicyWrapper;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
[#|2011-01-16T18:17:45.715+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;server;|WEB0114: SSO is disabled in virtual server [server]|#]
[#|2011-01-16T18:17:45.813+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;__asadmin;|WEB0114: SSO is disabled in virtual server [__asadmin]|#]
[#|2011-01-16T18:17:47.367+0100|INFO|sun-appserver2.1|javax.enterprise.system.core.transaction|_ThreadID=10;_ThreadName=main;3700;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]
[#|2011-01-16T18:17:47.584+0100|INFO|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079: Initialization of AMX MBeans started|#]
[#|2011-01-16T18:17:47.773+0100|INFO|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=13;_ThreadName=Thread-14;service:jmx:rmi:///jndi/rmi://babylon:8686/jmxrmi;|ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://babylon:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors|#]
[#|2011-01-16T18:17:47.773+0100|INFO|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=13;_ThreadName=Thread-14;true;|ADM1506: Status of Standard JMX Connector: Active = [true]|#]
[#|2011-01-16T18:17:48.206+0100|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=10;_ThreadName=main;|JMS Service Connection URL is :mq://babylon:7676/|#]
[#|2011-01-16T18:17:48.258+0100|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_RA1101: Using old JMSRA DIRECT mode|#]
[#|2011-01-16T18:17:48.263+0100|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_RA1101: SJSMQ JMS Resource Adapter starting...|#]
[#|2011-01-16T18:17:48.296+0100|INFO|sun-appserver2.1|javax.jms.connection|_ThreadID=10;_ThreadName=main;|new broker instance constructed ...|#]
[#|2011-01-16T18:17:48.337+0100|INFO|sun-appserver2.1|javax.jms.connection|_ThreadID=10;_ThreadName=main;|Client runtime Starting embedd broker, direct mode enabled=true|#]
[#|2011-01-16T18:17:49.035+0100|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_EB1101: stateChanged:READY : Broker has been started|#]
[#|2011-01-16T18:17:49.037+0100|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_RA1101: SJSMQ JMSRA Started:RADIRECT|#]
[#|2011-01-16T18:17:49.729+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=10;_ThreadName=main;jdbc/__TimerPool;|EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]|#]
[#|2011-01-16T18:17:49.729+0100|INFO|sun-appserver2.1|javax.enterprise.system.core.classloading|_ThreadID=10;_ThreadName=main;__ejb_container_timer_app;|LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!|#]
[#|2011-01-16T18:17:50.498+0100|INFO|sun-appserver2.1|javax.enterprise.system.core.classloading|_ThreadID=10;_ThreadName=main;MEjbApp;|LDR5010: All ejb(s) of [MEjbApp] loaded successfully!|#]
[#|2011-01-16T18:17:50.517+0100|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;_RequestID=377758ee-344a-49c1-9542-8de3d5070780;|Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=01eXoResources,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.|#]
[#|2011-01-16T18:17:50.557+0100|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;_RequestID=377758ee-344a-49c1-9542-8de3d5070780;|Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=02portal,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.|#]
[#|2011-01-16T18:17:50.564+0100|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;_RequestID=377758ee-344a-49c1-9542-8de3d5070780;|Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=dashboard,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.|#]
[#|2011-01-16T18:17:50.573+0100|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;_RequestID=377758ee-344a-49c1-9542-8de3d5070780;|Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=exoadmin,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.|#]
[#|2011-01-16T18:17:50.581+0100|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;_RequestID=377758ee-344a-49c1-9542-8de3d5070780;|Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=eXoGadgets,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.|#]
[#|2011-01-16T18:17:50.592+0100|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;_RequestID=377758ee-344a-49c1-9542-8de3d5070780;|Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=eXoGadgetServer,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.|#]
[#|2011-01-16T18:17:50.601+0100|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;_RequestID=377758ee-344a-49c1-9542-8de3d5070780;|Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=rest,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.|#]
[#|2011-01-16T18:17:50.628+0100|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;_RequestID=377758ee-344a-49c1-9542-8de3d5070780;|Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=web,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.|#]
[#|2011-01-16T18:17:50.640+0100|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;_RequestID=377758ee-344a-49c1-9542-8de3d5070780;|Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=wsrp-producer,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.|#]
[#|2011-01-16T18:17:50.648+0100|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;_RequestID=377758ee-344a-49c1-9542-8de3d5070780;|Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=wsrp-admin-gui,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.|#]
[#|2011-01-16T18:17:50.687+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;Sun GlassFish Enterprise Server v2.1.1;|WEB0302: Starting Sun GlassFish Enterprise Server v2.1.1|#]
[#|2011-01-16T18:17:50.716+0100|INFO|sun-appserver2.1|com.sun.jbi.framework|_ThreadID=14;_ThreadName=pool-1-thread-9;|JBIFW0010: JBI-Framework zur Annahme von Anfragen bereit.|#]
[#|2011-01-16T18:17:51.027+0100|INFO|sun-appserver2.1|org.apache.catalina.loader.WebappLoader|_ThreadID=15;_ThreadName=pool-1-thread-8;|Dual registration of jndi stream handler: factory already defined|#]
[#|2011-01-16T18:17:51.028+0100|INFO|sun-appserver2.1|org.apache.catalina.loader.WebappLoader|_ThreadID=14;_ThreadName=pool-1-thread-9;|Dual registration of jndi stream handler: factory already defined|#]
[#|2011-01-16T18:17:51.028+0100|INFO|sun-appserver2.1|org.apache.catalina.loader.WebappLoader|_ThreadID=16;_ThreadName=pool-1-thread-4;|Dual registration of jndi stream handler: factory already defined|#]
[#|2011-01-16T18:17:51.561+0100|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=14;_ThreadName=pool-1-thread-9;_RequestID=c6854c08-86ec-48e1-9747-759bf1257836;|SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".|#]
[#|2011-01-16T18:17:51.595+0100|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=14;_ThreadName=pool-1-thread-9;_RequestID=c6854c08-86ec-48e1-9747-759bf1257836;|
SLF4J: Defaulting to no-operation (NOP) logger implementation|#]
[#|2011-01-16T18:17:51.596+0100|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=14;_ThreadName=pool-1-thread-9;_RequestID=c6854c08-86ec-48e1-9747-759bf1257836;|
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.|#]
[#|2011-01-16T18:17:52.059+0100|INFO|sun-appserver2.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=17;_ThreadName=pool-1-thread-6;/wsrp-admin-gui;|Initializing Mojarra (1.2_13-b01-FCS) for context '/wsrp-admin-gui'|#]
[#|2011-01-16T18:17:54.685+0100|INFO|sun-appserver2.1|org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider|_ThreadID=18;_ThreadName=pool-1-thread-2;|Creating cache named expressions|#]
[#|2011-01-16T18:17:54.730+0100|INFO|sun-appserver2.1|org.apache.shindig.config.JsonContainerConfig|_ThreadID=18;_ThreadName=pool-1-thread-2;|Loading resources from: containers/default/container.js|#]
[#|2011-01-16T18:17:54.730+0100|INFO|sun-appserver2.1|org.apache.shindig.config.JsonContainerConfig|_ThreadID=18;_ThreadName=pool-1-thread-2;|Reading container config: containers/default/container.js|#]
[#|2011-01-16T18:17:55.102+0100|INFO|sun-appserver2.1|org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider|_ThreadID=18;_ThreadName=pool-1-thread-2;|Creating cache named httpResponses|#]
[#|2011-01-16T18:17:55.111+0100|INFO|sun-appserver2.1|org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider|_ThreadID=18;_ThreadName=pool-1-thread-2;|Creating cache named invalidatedUsers|#]
[#|2011-01-16T18:17:55.123+0100|INFO|sun-appserver2.1|org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider|_ThreadID=18;_ThreadName=pool-1-thread-2;|Creating cache named gadgetSpecs|#]
[#|2011-01-16T18:17:55.147+0100|INFO|sun-appserver2.1|org.apache.shindig.gadgets|_ThreadID=18;_ThreadName=pool-1-thread-2;|Loading resources from: features/features.txt|#]
[#|2011-01-16T18:17:55.161+0100|INFO|sun-appserver2.1|org.apache.shindig.common.xml.XmlUtil|_ThreadID=18;_ThreadName=pool-1-thread-2;|Not using secure XML processing.|#]
[#|2011-01-16T18:17:55.163+0100|INFO|sun-appserver2.1|org.apache.shindig.common.xml.XmlUtil|_ThreadID=18;_ThreadName=pool-1-thread-2;|Reusing document builders|#]
[#|2011-01-16T18:17:55.163+0100|INFO|sun-appserver2.1|org.apache.shindig.common.xml.XmlUtil|_ThreadID=18;_ThreadName=pool-1-thread-2;|Created a new document builder|#]
[#|2011-01-16T18:17:55.169+0100|WARNING|sun-appserver2.1|org.apache.shindig.gadgets|_ThreadID=18;_ThreadName=pool-1-thread-2;_RequestID=8f2af13d-5d9d-42b7-9b68-204c367c38d1;|Could not find resource: com/google/caja/plugin/domita-minified.opt.js-Can not locate resource: com/google/caja/plugin/domita-minified.opt.js|#]
[#|2011-01-16T18:17:55.173+0100|WARNING|sun-appserver2.1|org.apache.shindig.gadgets|_ThreadID=18;_ThreadName=pool-1-thread-2;_RequestID=8f2af13d-5d9d-42b7-9b68-204c367c38d1;|Could not find resource: features/caja/caja.opt.js-Can not locate resource: features/caja/caja.opt.js|#]
[#|2011-01-16T18:17:55.174+0100|WARNING|sun-appserver2.1|org.apache.shindig.gadgets|_ThreadID=18;_ThreadName=pool-1-thread-2;_RequestID=8f2af13d-5d9d-42b7-9b68-204c367c38d1;|Could not find resource: com/google/caja/plugin/valija.co.opt.js-Can not locate resource: com/google/caja/plugin/valija.co.opt.js|#]
[#|2011-01-16T18:17:55.181+0100|WARNING|sun-appserver2.1|org.apache.shindig.gadgets|_ThreadID=18;_ThreadName=pool-1-thread-2;_RequestID=8f2af13d-5d9d-42b7-9b68-204c367c38d1;|Could not find resource: com/google/caja/plugin/html-sanitizer-minified.opt.js-Can not locate resource: com/google/caja/plugin/html-sanitizer-minified.opt.js|#]
[#|2011-01-16T18:17:55.324+0100|INFO|sun-appserver2.1|org.apache.shindig.gadgets.oauth.OAuthModule|_ThreadID=18;_ThreadName=pool-1-thread-2;|Using random key for OAuth client-side state encryption|#]
[#|2011-01-16T18:17:55.327+0100|INFO|sun-appserver2.1|org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider|_ThreadID=18;_ThreadName=pool-1-thread-2;|Creating cache named messageBundles|#]
[#|2011-01-16T18:17:55.337+0100|INFO|sun-appserver2.1|org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider|_ThreadID=18;_ThreadName=pool-1-thread-2;|Creating cache named parsedDocuments|#]
[#|2011-01-16T18:17:55.337+0100|INFO|sun-appserver2.1|org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider|_ThreadID=18;_ThreadName=pool-1-thread-2;|Creating cache named parsedFragments|#]
[#|2011-01-16T18:17:55.734+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=pool-1-thread-3;|(jmx.PlatformMBeanServerRegistration 71 ) JBossCache MBeans were successfully registered to the platform mbean server.
|#]
[#|2011-01-16T18:17:55.740+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=pool-1-thread-3;|(factories.ComponentRegistry 782 ) JBoss Cache version: JBossCache 'Malagueta' 3.2.4.GA
|#]
[#|2011-01-16T18:17:55.845+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=pool-1-thread-3;|(jmx.PlatformMBeanServerRegistration 71 ) JBossCache MBeans were successfully registered to the platform mbean server.
|#]
[#|2011-01-16T18:17:55.845+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=pool-1-thread-3;|(factories.ComponentRegistry 782 ) JBoss Cache version: JBossCache 'Malagueta' 3.2.4.GA
|#]
[#|2011-01-16T18:17:56.485+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;Sun GlassFish Enterprise Server v2.1.1;8080;|WEB0712: Starting Sun GlassFish Enterprise Server v2.1.1 HTTP/1.1 on 8080|#]
[#|2011-01-16T18:17:56.552+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;Sun GlassFish Enterprise Server v2.1.1;8181;|WEB0712: Starting Sun GlassFish Enterprise Server v2.1.1 HTTP/1.1 on 8181|#]
[#|2011-01-16T18:17:56.578+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;Sun GlassFish Enterprise Server v2.1.1;4848;|WEB0712: Starting Sun GlassFish Enterprise Server v2.1.1 HTTP/1.1 on 4848|#]
[#|2011-01-16T18:17:56.656+0100|INFO|sun-appserver2.1|javax.enterprise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|SMGT0007: Self Management Rules service is enabled|#]
[#|2011-01-16T18:17:56.682+0100|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application server startup complete.|#]
[#|2011-01-16T18:25:30.802+0100|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=19;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=869bd11a-a95f-4191-aeec-9bde21fd7dfd;|StandardWrapperValve[RestServer]: PWC1406: Servlet.service() for servlet RestServer threw exception
java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.services.database.HibernateService type=org.exoplatform.services.database.impl.HibernateServiceImpl found at jndi:/server/portal/WEB-INF/conf/organization/idm-configuration.xml
at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:131)
at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
at org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:400)
at org.exoplatform.container.ConcurrentPicoContainer.getComponentInstancesOfType(ConcurrentPicoContainer.java:350)
at org.exoplatform.container.CachingContainer.getComponentInstancesOfType(CachingContainer.java:111)
at org.exoplatform.container.component.RequestLifeCycleStack.begin(RequestLifeCycleStack.java:66)
at org.exoplatform.container.component.RequestLifeCycle.begin(RequestLifeCycle.java:107)
at org.exoplatform.container.component.RequestLifeCycle.begin(RequestLifeCycle.java:141)
at org.exoplatform.services.rest.servlet.RestServlet.onService(RestServlet.java:70)
at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.exoplatform.services.rest.servlet.RestEncodingFilter.doFilter(RestEncodingFilter.java:58)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:382)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:321)
at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:94)
... 49 more
Caused by: java.lang.ClassCastException: com.sun.enterprise.naming.SerialContext cannot be cast to javax.sql.DataSource
at org.exoplatform.services.database.impl.HibernateServiceImpl.<init>(HibernateServiceImpl.java:134)
... 55 more
|#]
i hope some one can help.
-
3. GateIn On Glassfish
julien_viet Jan 17, 2011 2:22 AM (in response to gebi)Hi Gebeyehu,
there are several things to make GateIn works on Glassfish. To me the first step is to make the WCI component of GateIn to work with Glassfish. The WCI is a low level component but it is very important for the portability of GateIn to other app servers. When WCI tests pass, it means that GateIn is able to deploy and work with the servlet container (request dispatch and now security).
Initially this component supported Tomcat 5+6 and JBoss AS 4.2+5.1. Recently, work was done to support Tomcat 7 and Jetty 6.1. Making GlassFish work with WCI not be too difficult as GF is a Tomcat fork (like JBoss AS is). If you are interested you can have a look at WCI trunk http://anonsvn.jboss.org/repos/gatein/components/wci/trunk/ .
That being said, GateIn could work fine right now on GF, but without WCI tested we cannot be certain. I see that the problem you are hitting seems to be related to the datasource found by Hiberate in JNDI, for some reason it seems not properly configured and Hibernate obtains a context instead of the Datasource. So you should check the datasource deployment in JNDI.
-
4. GateIn On Glassfish
gebi Jan 19, 2011 6:50 AM (in response to julien_viet)Hi Julien, thanks for responce,
it seems the configuration is not read at all. i have set the java_opts -Dexo.conf.dir.name=gatein but this changes nothing. Before i start to test WCI, i just wanted to know if gatein can work on glassfish (almost) out of the box but i get no way to tell gatein where to get the configuration file.
-
5. GateIn On Glassfish
gebi Jan 22, 2011 9:56 PM (in response to gebi)Hi,
i have now deployed gatein on glassfish, and every thing seems to be OK.
When i try localhost:8080/portal i am redirected to http://localhost:8080/portal/public/classic/ and that is the correct.
But the browser cannot desplay the Portlets and portlet not found exception is thrown.
"This portlet encountered an error and could not be displayed"
5xthe log
org.exoplatform.services.portletcontainer.PortletContainerException: org.gatein.pc.api.NoSuchPortletException: No such portlet /web.BreadcumbsPortlet
at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:313)
at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:62)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)No such portlet /web.HomePagePortlet etc.........
can some one help?