embedded@glassfish.java.net

RE: [embedded] Minimum domain.xml for embedded usage?

From: Joey Jarosz <joey_at_cadence.com>
Date: Fri, 8 Jan 2010 16:48:16 -0800

When I substitute your domain.xml file I get the following exceptions. It just seems strange that one would have to include all the extraneous information in one's domain.xml for even a relatively simple configuration.

Ultimately I am just trying to get back to what I had working in v3-prelude which was just a couple of virtual servers with a couple of http listeners on different ports.


------------------
debug:
Jan 8, 2010 4:43:32 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: GlassFish v3 (74b) startup time : Embedded(297ms) startup services(265ms) total(562ms)
Jan 8, 2010 4:43:32 PM com.sun.enterprise.transaction.JavaEETransactionManagerSimplified initDelegates
INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate
Jan 8, 2010 4:43:32 PM AppServerStartup run
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
Jan 8, 2010 4:43:36 PM com.sun.common.util.logging.LoggingConfigImpl openPropFile
INFO: Cannot read logging.properties file.
Jan 8, 2010 4:43:36 PM com.sun.enterprise.web.WebContainer createHosts
INFO: Created virtual server server
Jan 8, 2010 4:43:36 PM com.sun.enterprise.web.WebContainer loadSystemDefaultWebModules
INFO: Virtual server server loaded system default web module
Jan 8, 2010 4:43:37 PM org.apache.catalina.core.ContainerBase startChildren
SEVERE: PWC1240: Container StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[] has not been started
org.apache.catalina.LifecycleException: org.jvnet.hk2.component.ComponentException: Injection failed on private org.glassfish.enterprise.iiop.api.GlassFishORBHelper org.glassfish.enterprise.iiop.api.ORBNamingProxy.orbHelper
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5159)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
        at org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1523)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1190)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:975)
        at org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1523)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1190)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:529)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:946)
        at com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:583)
        at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
        at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
        at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
        at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
        at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
        at org.glassfish.internal.data.EngineInfo.getContainer(EngineInfo.java:78)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.java:716)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:461)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:262)
        at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
        at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:144)
        at GFTest.run(GFTest.java:69)
        at GFTest.main(GFTest.java:90)
Caused by: org.jvnet.hk2.component.ComponentException: Injection failed on private org.glassfish.enterprise.iiop.api.GlassFishORBHelper org.glassfish.enterprise.iiop.api.ORBNamingProxy.orbHelper
        at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:107)
        at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
        at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
        at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
        at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
        at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
        at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:276)
        at java.util.AbstractList$Itr.next(AbstractList.java:345)
        at com.sun.enterprise.naming.impl.NamedNamingObjectManager.checkAndLoadProxies(NamedNamingObjectManager.java:68)
        at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:397)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at com.sun.enterprise.web.WebModuleListener.configureJsp(WebModuleListener.java:299)
        at com.sun.enterprise.web.WebModuleListener.lifecycleEvent(WebModuleListener.java:150)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5151)
        ... 25 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
        at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.checkORBInitialPort(GlassFishORBManager.java:699)
        at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.initProperties(GlassFishORBManager.java:330)
        at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.<init>(GlassFishORBManager.java:248)
        at org.glassfish.enterprise.iiop.impl.GlassFishORBFactoryImpl.postConstruct(GlassFishORBFactoryImpl.java:68)
        at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
        at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
        at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
        at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
        at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
        at org.jvnet.hk2.component.Habitat.getByContract(Habitat.java:594)
        at org.glassfish.enterprise.iiop.api.GlassFishORBHelper.postConstruct(GlassFishORBHelper.java:88)
        at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
        at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
        at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
        at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
        at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
        at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:600)
        at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:581)
        at com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:149)
        at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:81)
        ... 43 more
Jan 8, 2010 4:43:37 PM com.sun.enterprise.security.SecurityLifecycle <init>
INFO: security.secmgroff
Jan 8, 2010 4:43:37 PM com.sun.enterprise.security.ssl.SSLUtils checkCertificateDates
SEVERE: java_security.expired_certificate
Jan 8, 2010 4:43:37 PM com.sun.enterprise.security.SecurityLifecycle onInitialization
INFO: Security startup service called
Jan 8, 2010 4:43:37 PM com.sun.enterprise.security.PolicyLoader loadPolicy
INFO: policy.loading
Jan 8, 2010 4:43:37 PM com.sun.enterprise.security.auth.realm.RealmConfig createRealms
SEVERE: realmconfig.nogood
Jan 8, 2010 4:43:37 PM com.sun.enterprise.security.SecurityLifecycle onInitialization
INFO: Security service(s) started successfully....
classLoader = WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7_at_ee1aa2
Jan 8, 2010 4:43:38 PM org.apache.catalina.core.ContainerBase addChildInternal
SEVERE: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: org.jvnet.hk2.component.ComponentException: Injection failed on private org.glassfish.enterprise.iiop.api.GlassFishORBHelper org.glassfish.enterprise.iiop.api.ORBNamingProxy.orbHelper
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5159)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1933)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
        at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
        at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
        at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
        at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
        at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
        at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:144)
        at GFTest.run(GFTest.java:69)
        at GFTest.main(GFTest.java:90)
Caused by: org.jvnet.hk2.component.ComponentException: Injection failed on private org.glassfish.enterprise.iiop.api.GlassFishORBHelper org.glassfish.enterprise.iiop.api.ORBNamingProxy.orbHelper
        at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:107)
        at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
        at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
        at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
        at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
        at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
        at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:276)
        at java.util.AbstractList$Itr.next(AbstractList.java:345)
        at com.sun.enterprise.naming.impl.NamedNamingObjectManager.checkAndLoadProxies(NamedNamingObjectManager.java:68)
        at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:397)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at com.sun.enterprise.web.WebModuleListener.configureJsp(WebModuleListener.java:299)
        at com.sun.enterprise.web.WebModuleListener.lifecycleEvent(WebModuleListener.java:150)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5151)
        ... 15 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
        at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.checkORBInitialPort(GlassFishORBManager.java:699)
        at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.initProperties(GlassFishORBManager.java:330)
        at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.<init>(GlassFishORBManager.java:248)
        at org.glassfish.enterprise.iiop.impl.GlassFishORBFactoryImpl.postConstruct(GlassFishORBFactoryImpl.java:68)
        at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
        at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
        at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
        at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
        at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
        at org.jvnet.hk2.component.Habitat.getByContract(Habitat.java:594)
        at org.glassfish.enterprise.iiop.api.GlassFishORBHelper.postConstruct(GlassFishORBHelper.java:88)
        at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
        at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
        at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
        at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
        at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
        at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:600)
        at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:581)
        at com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:149)
        at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:81)
        ... 33 more
Jan 8, 2010 4:43:38 PM com.sun.enterprise.web.WebApplication start
WARNING: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.jvnet.hk2.component.ComponentException: Injection failed on private org.glassfish.enterprise.iiop.api.GlassFishORBHelper org.glassfish.enterprise.iiop.api.ORBNamingProxy.orbHelper
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.jvnet.hk2.component.ComponentException: Injection failed on private org.glassfish.enterprise.iiop.api.GlassFishORBHelper org.glassfish.enterprise.iiop.api.ORBNamingProxy.orbHelper
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:932)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1933)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
        at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
        at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
        at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
        at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
        at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
        at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:144)
        at GFTest.run(GFTest.java:69)
        at GFTest.main(GFTest.java:90)
Jan 8, 2010 4:43:38 PM org.glassfish.api.ActionReport failure
SEVERE: Exception while invoking class com.sun.enterprise.web.WebApplication start method
java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.jvnet.hk2.component.ComponentException: Injection failed on private org.glassfish.enterprise.iiop.api.GlassFishORBHelper org.glassfish.enterprise.iiop.api.ORBNamingProxy.orbHelper
        at com.sun.enterprise.web.WebApplication.start(WebApplication.java:117)
        at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
        at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
        at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
        at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
        at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:144)
        at GFTest.run(GFTest.java:69)
        at GFTest.main(GFTest.java:90)
Jan 8, 2010 4:43:38 PM org.glassfish.api.ActionReport failure
SEVERE: Exception while loading the app
java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.jvnet.hk2.component.ComponentException: Injection failed on private org.glassfish.enterprise.iiop.api.GlassFishORBHelper org.glassfish.enterprise.iiop.api.ORBNamingProxy.orbHelper
        at com.sun.enterprise.web.WebApplication.start(WebApplication.java:117)
        at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
classLoader = WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7_at_ee1aa2
        at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
Press Enter to stop server
        at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
        at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
        at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:144)
        at GFTest.run(GFTest.java:69)
        at GFTest.main(GFTest.java:90)

-----Original Message-----
From: Siraj.Ghaffar_at_Sun.COM [mailto:Siraj.Ghaffar_at_Sun.COM]
Sent: Friday, January 08, 2010 7:12 AM
To: embedded_at_glassfish.dev.java.net
Cc: Prashanth Abbagani
Subject: Re: [embedded] Minimum domain.xml for embedded usage?


Attached is a smaller domain.xml with which I can start the embedded
server and deploy a simple web app. You see the Flashlight exceptions
because of the absence of monitoring service element. Prashant, is it
mandatory to have the monitoring service element?




Joey Jarosz wrote:
>
> Am struggling with moving from v3-prelude embedded to the v3 embedded.
> My application currently uses the domain.xml listed below just fine in
> v3-prelude by generates a plethora of errors (listed below the
> domain.xml) depending on however I try to tweak it to get it to work.
>
>
>
> What is the minimum I can get away with?
>
> I cannot use the built-in domain.xml file since it is way overkill
> with too many ports involved (that we are not using)
>
>
>
>
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?><domain
> application-root="${com.sun.aas.instanceRoot}"
> log-root="${com.sun.aas.instanceRoot}/../logs" version="10.0">
>
> <system-applications/>
>
> <applications/>
>
> <resources/>
>
>
>
> <servers>
>
> <server config-ref="server-config" name="server"/>
>
> </servers>
>
>
>
> <configs>
>
> <config name="server-config">
>
> <http-service>
>
> <http-listener address="0.0.0.0"
> default-virtual-server="vserver-secure" id="http-listener-1"
> port="${com.cadence.ccps.http_listener_port}" server-name=""/>
>
>
>
> <http-listener address="0.0.0.0"
> default-virtual-server="vserver-secure" id="http-listener-2"
> port="${com.cadence.ccps.http_ssl_listener_port}"
> security-enabled="true" server-name="">
>
> <ssl cert-nickname="cadence" ssl3-enabled="true"/>
>
> </http-listener>
>
>
>
> <virtual-server
> http-listeners="http-listener-1,http-listener-2" id="vserver-secure">
>
> <property name="docroot"
> value="${com.sun.aas.instanceRoot}/docroot"/>
>
> <property name="accesslog"
> value="${com.sun.aas.instanceRoot}/../logs/access"/>
>
> <property name="sso-enabled" value="false"/>
>
> </virtual-server>
>
>
>
> <request-processing initial-thread-count="5" thread-count="40"
> thread-increment="5"/>
>
> <keep-alive max-connections="0"/>
>
>
>
> <connection-pool/>
>
>
>
> <http-protocol default-response-type="text/plain;
> charset=iso-8859-1" forced-response-type="text/plain;
> charset=iso-8859-1"/>
>
> <http-file-cache file-caching-enabled="true"
> globally-enabled="true"/>
>
>
>
> <property name="use-nio-direct-buffer" value="false"/>
>
> <property name="accessLoggingEnabled" value="true"/>
>
>
>
> <access-log rotation-interval-in-minutes="1440"
> rotation-suffix="yyyy-MM-dd"/>
>
> </http-service>
>
>
>
> <!--
>
> The transaction-service element exists simply to avoid an
> exception in a piece of
>
> functionality that we do not use. See issue #106 in the
> Embedded project for more details.
>
> -->
>
> <transaction-service
> tx-log-dir="${com.sun.aas.instanceRoot}/../logs"/>
>
>
>
> <java-config>
>
>
> <jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/../etc/server.policy</jvm-options>
>
>
> <jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/../etc/keystore.jks</jvm-options>
>
>
> <jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/../etc/cacerts.jks</jvm-options>
>
>
> <jvm-options>-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}</jvm-options>
>
> </java-config>
>
>
>
> </config>
>
> </configs>
>
> </domain>
>
>
>
> debug:
>
> Jan 7, 2010 3:51:24 PM org.jvnet.hk2.component.InjectionManager inject
>
> INFO: Cannot inject
> com.sun.enterprise.config.serverbeans.MonitoringService
> org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.monitoringServiceConfig
> in componentClass Modifiers
> Field Value
>
>
>
> FlashlightProbeProviderFactory (package)
> monitoringServiceConfig <null>
>
> FlashlightProbeProviderFactory (package)
> ppem <null>
>
> FlashlightProbeProviderFactory (package)
> habitat <null>
>
> FlashlightProbeProviderFactory private
> listeners []
>
> FlashlightProbeProviderFactory private static final
> allProbeProviders []
>
> FlashlightProbeProviderFactory private static final
> logger com.sun.logging.LogDomains$1_at_adae91
>
> FlashlightProbeProviderFactory private static final
> rb java.util.PropertyResourceBundle_at_9fe84e
>
> FlashlightProbeProviderFactory private final
> primTypes {short=short, char=char, byte=byte, int=int,
> void=void, boolean=boolean, double=double, long=long, float=float}
>
>
>
> org.jvnet.hk2.component.UnsatisfiedDepedencyException: Unsatisfied
> dependency exception : protected
> org.glassfish.flashlight.provider.ProbeProviderFactory
> org.glassfish.admin.monitor.MonitoringBootstrap.probeProviderFactory
>
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:102)
>
> at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
>
> at
> com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
>
> at java.security.AccessController.doPrivileged(Native Method)
>
> at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
>
> at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
>
> at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
>
> at
> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>
> at
> com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:212)
>
> at
> com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:128)
>
> at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)
>
> at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
>
> at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:310)
>
> at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:303)
>
> at
> com.sun.enterprise.glassfish.bootstrap.ASEmbedded.run(ASEmbedded.java:101)
>
> at
> com.sun.enterprise.glassfish.bootstrap.AbstractMain.start(AbstractMain.java:78)
>
> at org.glassfish.api.embedded.Server.<init>(Server.java:288)
>
> at org.glassfish.api.embedded.Server.<init>(Server.java:61)
>
> at
> org.glassfish.api.embedded.Server$Builder.build(Server.java:158)
>
> at
> org.glassfish.api.embedded.Server$Builder.build(Server.java:140)
>
> at GFTest.run(GFTest.java:51)
>
> at GFTest.main(GFTest.java:90)
>
> Caused by: org.jvnet.hk2.component.UnsatisfiedDepedencyException:
> Unsatisfied dependency exception :
> com.sun.enterprise.config.serverbeans.MonitoringService
> org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.monitoringServiceConfig
>
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:102)
>
> at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
>
> at
> com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
>
> at java.security.AccessController.doPrivileged(Native Method)
>
> at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
>
> at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
>
> at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
>
> at
> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>
> at org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:359)
>
> at
> com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:144)
>
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:81)
>
> ... 22 more
>
> Caused by: org.jvnet.hk2.component.UnsatisfiedDepedencyException:
> Unsatisfied dependency exception :
> com.sun.enterprise.config.serverbeans.MonitoringService
> org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.monitoringServiceConfig
>
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:97)
>
> ... 33 more
>
> Jan 7, 2010 3:51:24 PM org.jvnet.hk2.component.InjectionManager inject
>
> INFO: Cannot inject com.sun.enterprise.config.serverbeans.DasConfig
> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.config in
> componentorg.glassfish.kernel.embedded.EmbeddedDeployerImpl_at_1c794cc
>
> Unsatisfied dependency exception :
> com.sun.enterprise.config.serverbeans.DasConfig
> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.config
>
> org.jvnet.hk2.component.UnsatisfiedDepedencyException: Unsatisfied
> dependency exception : com.sun.enterprise.config.serverbeans.DasConfig
> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.config
>
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:102)
>
> at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
>
> at
> com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
>
> at java.security.AccessController.doPrivileged(Native Method)
>
> at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
>
> at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
>
> at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
>
> at
> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>
> Press Enter to stop server
>
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>
> at org.jvnet.hk2.component.Habitat.getByContract(Habitat.java:594)
>
> at org.glassfish.api.embedded.Server.getDeployer(Server.java:631)
>
> at GFTest.run(GFTest.java:66)
>
> at GFTest.main(GFTest.java:90)
>
> Caused by: org.jvnet.hk2.component.UnsatisfiedDepedencyException:
> Unsatisfied dependency exception :
> com.sun.enterprise.config.serverbeans.DasConfig
> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.config
>
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:97)
>
> ... 12 more
>
>
>
> --------------------------------------------
> Joey Jarosz
>
> Senior Architect
>
> //Chip Planning Solutions//
>
> **/Cadence Design Systems, Inc./***/
> /*(408) 914-6269
>
>
> /*/Need some IP? Check out /*//*/www.chipestimate.com/*/
> <http://www.chipestimate.com>
>
>
>