users@glassfish.java.net

Re: Embedding Glassfish in Apache Karaf

From: Sahoo <sanjeeb.sahoo_at_oracle.com>
Date: Fri, 03 Feb 2012 11:37:24 +0530

Jim,

As I replied to your comment in my blog, I do feel
javax.annotation.ManagedBean.class not found problem is to do with the
way karaf configures system bundle to export this package. From the
output below:
karaf_at_root> exports | grep javax.annotation
      0 javax.annotation; version=1.1.0
      0 javax.annotation.processing; version=1.1.0
    372 javax.annotation.security; version=1.1.0
    372 javax.annotation.sql; version=1.1.0

it is clear that javax.annotation package version 1.1.0 is exported by
system bundle (bundle 0) which is getting its content from JDK. I don't
see any endorsed javax.annotation classes in karaf's endorsed directory.
JDK 1.6 does not include javax.annotation version 1.1.0. 1.1.0 is part
of Java EE distributions. Do the following to see it yourself:

javap javax.annotation.ManagedBean
javap -classpath glassfish/modules/endorsed/javax.annotation.jar
javax.annotation.ManagedBean

So, please update karaf/etc/jre.properties to export javax.annotation
with a version less than 1.1.0 to get rid of this classloading problem.

Now the next problem about logging. I noticed that because of the way
GFFileHandler is written, it gets NPE when manager.getProperty() returns
null. I have included Naman, who handles logging to help you get past
this problem.

/ LogManager manager = LogManager.getLogManager();
         String cname = getClass().getName();
         String filename =
TranslatedConfigView.getTranslatedValue(manager.getProperty(cname +
".file")).toString();
/
Thanks,
Sahoo

On Thursday 02 February 2012 10:14 PM, jlgreene2_at_aep.com wrote:
> I haven't really posted to one of these mailing lists before. I'll
> apologize in advance if this is difficult to follow. Because I have a
> ton of stack traces included in this message, I've compiled them at
> the bottom of the email and labelled them (i.e. Figure 1, Figure 2),
> and am referencing the Figure numbers in the description of my
> problem. If this is too painful to follow, please feel free to
> admonish me appropriately.
>
> I am wondering if anyone has had any success in embedding Glassfish
> within a running instance of Apache Karaf? I have tried two separate
> methods for doing the installation, including:
>
> - The directions found at
> http://weblogs.java.net/blog/ss141213/archive/2010/02/14/how-embed-glassfish-existing-osgi-runtime?force=415
>
> - I have also tried manually installing the glassfish.jar file into
> Karaf, which in turn automatically installs all of the Glassfish
> dependencies when the bundle is started.
>
> When I install Glassfish into Karaf, I see the error displayed in
> Figure 1. Truth be told, this particular error doesn't concern me
> very much, and I don't believe is contributing to my issue.
>
> In either case, after doing the installation, I can successfully
> navigate to the http://localhost:8080 <http://localhost:8080/>page for
> Glassfish. But, when I attempt to navigate to the Administration
> Console at http://localhost:4848 <http://localhost:4848/>, the console
> never loads. The initial messages that indicate the console is being
> loaded are displayed, but the administration console is never actually
> shown. When I look at the Karaf logs, I see the errors displayed in
> Figure 2.
>
> I am at a loss to explain the NullPointerExceptions being reported
> related to the logging classes. I have attempted to investigate the
> latter ClassNotFoundException involving the
> javax.annotation.ManagedBean. After running an exports command in
> Karaf against all of the running bundles, I can see that the Core OSGI
> bundle packaged with Karaf exports javax.annotation v1.1.0.
>
> karaf_at_root> exports | grep javax.annotation
> 0 javax.annotation; version=1.1.0
> 0 javax.annotation.processing; version=1.1.0
> 372 javax.annotation.security; version=1.1.0
> 372 javax.annotation.sql; version=1.1.0
>
> Its strange, because some aspects of the server are definitely
> running. I can successfully navigate to the REST services implemented
> by the administration console at
> http://localhost:4848/management/domain, and can execute these
> services successfully to query information about the running Glassfish
> instance.
>
> My configuration is:
> Intel Processor, running Windows 7
> Apache Karaf v2.2.5 (currently running Felix, but I have also tried
> the same processes using Equinox)
> Oracle JDK 1.7.0_02
> Glassfish v3.1.1
>
> I have also attempted this same operation on my Macbook, with
> identical results.
>
> If anyone has any idea what might be happening here, I'd really
> appreciate the help.
>
> Regards,
> Jim
>
> Figure 1 - After Installing the Glassfish Bundles into Karaf
> ===========================================================
> Provisioning options are
> {glassfish.osgi.auto.start=file:/c:/javadev/server/appserver/glassfish/glassfish-3.1.1/glassfish/modules/endorsed/
> file:/c:/javadev/server/appserver/glassfish/glassfish-3.1.1/glassfish/modules/osgi-adapter.jar
> file:/c:/javadev/server/appserver/glassfish/glassfish-3.1.1/glassfish/modules/osgi-resource-locator.jar
> file:/c:/javadev/server/appserver/glassfish/glassfish-3.1.1/glassfish/modules/org.apache.felix.configadmin.jar
> file:/c:/javadev/server/appserver/glassfish/glassfish-3.1.1/glassfish/modules/org.apache.felix.fileinstall.jar
> file:/c:/javadev/server/appserver/glassfish/glassfish-3.1.1/glassfish/modules/autostart/
> ,
> glassfish.osgi.auto.install=file:/c:/javadev/server/appserver/glassfish/glassfish-3.1.1/glassfish/modules/endorsed/
> file:/c:/javadev/server/appserver/glassfish/glassfish-3.1.1/glassfish/modules/
> file:/c:/javadev/server/appserver/glassfish/glassfish-3.1.1/glassfish/modules/autostart/
> }
> karaf_at_root> log:display
> 2012-02-02 10:59:43,637 | INFO | rint Extender: 3 |
> BlueprintContainerImpl | container.BlueprintContainerImpl
> 305 | 9 - org.apache.aries.blueprint -
> 0.3.1 | Bundle org.apache.karaf.management.mbeans.system is waiting
> for dependencies [(objectClass=javax.management.MBeanServer)]
> 2012-02-02 10:59:43,652 | INFO | rint Extender: 3 |
> BlueprintContainerImpl | container.BlueprintContainerImpl
> 305 | 9 - org.apache.aries.blueprint -
> 0.3.1 | Bundle org.apache.karaf.management.mbeans.bundles is waiting
> for dependencies [(objectClass=javax.management.MBeanServer)]
> 2012-02-02 10:59:43,652 | INFO | rint Extender: 3 |
> BlueprintContainerImpl | container.BlueprintContainerImpl
> 305 | 9 - org.apache.aries.blueprint -
> 0.3.1 | Bundle org.apache.karaf.management.mbeans.services is waiting
> for dependencies [(objectClass=javax.management.MBeanServer)]
> 2012-02-02 10:59:43,652 | INFO | rint Extender: 3 |
> BlueprintContainerImpl | container.BlueprintContainerImpl
> 305 | 9 - org.apache.aries.blueprint -
> 0.3.1 | Bundle org.apache.karaf.management.mbeans.config is waiting
> for dependencies [(objectClass=javax.management.MBeanServer)]
> 2012-02-02 10:59:43,652 | INFO | rint Extender: 3 |
> BlueprintContainerImpl | container.BlueprintContainerImpl
> 305 | 9 - org.apache.aries.blueprint -
> 0.3.1 | Bundle org.apache.karaf.management.mbeans.log is waiting for
> dependencies [(objectClass=javax.management.MBeanServer)]
> 2012-02-02 10:59:43,652 | INFO | rint Extender: 3 |
> BlueprintContainerImpl | container.BlueprintContainerImpl
> 305 | 9 - org.apache.aries.blueprint -
> 0.3.1 | Bundle org.apache.karaf.management.mbeans.packages is waiting
> for dependencies [(objectClass=javax.management.MBeanServer)]
> 2012-02-02 10:59:43,668 | INFO | rint Extender: 3 |
> BlueprintContainerImpl | container.BlueprintContainerImpl
> 305 | 9 - org.apache.aries.blueprint -
> 0.3.1 | Bundle org.apache.karaf.management.mbeans.dev is waiting for
> dependencies [(objectClass=javax.management.MBeanServer)]
> 2012-02-02 10:59:44,775 | INFO | JMX OSGi Agent | jmx
> | ? ? | 24 -
> org.apache.aries.jmx - 0.3.
> 0 | Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer
> com.sun.jmx.mbeanserver.JmxMBeanServer_at_44548719 with name
> osgi.core:type=framework,version=1.5
> 2012-02-02 10:59:44,775 | INFO | JMX OSGi Agent | jmx
> | ? ? | 24 -
> org.apache.aries.jmx - 0.3.
> 0 | Registering org.osgi.jmx.framework.ServiceStateMBean to
> MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer_at_44548719 with name
> osgi.core:type=serviceState,version=1.5
> 2012-02-02 10:59:44,775 | INFO | JMX OSGi Agent | jmx
> | ? ? | 24 -
> org.apache.aries.jmx - 0.3.
> 0 | Registering org.osgi.jmx.framework.BundleStateMBean to MBeanServer
> com.sun.jmx.mbeanserver.JmxMBeanServer_at_44548719 with name
> osgi.core:type=bundleState,version=1.5
> 2012-02-02 10:59:44,775 | INFO | JMX OSGi Agent | jmx
> | ? ? | 24 -
> org.apache.aries.jmx - 0.3.
> 0 | Registering org.osgi.jmx.framework.PackageStateMBean to
> MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer_at_44548719 with name
> osgi.core:type=packageState,version=1.5
> 2012-02-02 10:59:44,775 | INFO | JMX OSGi Agent | jmx
> | ? ? | 24 -
> org.apache.aries.jmx - 0.3.
> 0 | Registering org.osgi.jmx.service.cm.ConfigurationAdminMBean to
> MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer_at_44548719 with name
> osgi.compendium:service
> =cm,version=1.3
> 2012-02-02 11:00:33,363 | WARN | l Console Thread | osgi
> | bootstrap.osgi.BundleProvisioner 463 | - - |
> Failed to install file:
> /c:/javadev/server/appserver/glassfish/glassfish-3.1.1/glassfish/modules/org.apache.felix.fileinstall.jar
>
> org.osgi.framework.BundleException: Bundle symbolic name and version
> are not unique: org.apache.felix.fileinstall:3.1.10
> at
> org.apache.felix.framework.BundleImpl.createModule(BundleImpl.java:1184)[org.apache.felix.framework-3.0.9.jar:]
> at
> org.apache.felix.framework.BundleImpl.<init>(BundleImpl.java:79)[org.apache.felix.framework-3.0.9.jar:]
> at
> org.apache.felix.framework.Felix.installBundle(Felix.java:2535)[org.apache.felix.framework-3.0.9.jar:]
> at
> org.apache.felix.framework.Felix.installBundle(Felix.java:2443)[org.apache.felix.framework-3.0.9.jar:]
> at
> org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:129)[org.apache.felix.framework-3.0.9.jar:]
> at
> com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.install(BundleProvisioner.java:446)[371:org.glassfish.core.glassfish:3.1.1]
> at
> com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.installBundles(BundleProvisioner.java:208)[371:org.glassfish.core.glassfish:3.1.1]
> at
> com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntimeBuilder.provisionBundles(EmbeddedOSGiGlassFishRuntimeBuilder.java:94)[371:org
> .glassfish.core.glassfish:3.1.1]
> at
> com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntimeBuilder.build(EmbeddedOSGiGlassFishRuntimeBuilder.java:75)[371:org.glassfish.
> core.glassfish:3.1.1]
> at
> org.glassfish.embeddable.GlassFishRuntime._bootstrap(GlassFishRuntime.java:157)[371:org.glassfish.core.glassfish:3.1.1]
> at
> org.glassfish.embeddable.GlassFishRuntime.bootstrap(GlassFishRuntime.java:110)[371:org.glassfish.core.glassfish:3.1.1]
> at
> com.sun.enterprise.glassfish.bootstrap.osgi.GlassFishMainActivator.start(GlassFishMainActivator.java:110)[371:org.glassfish.core.glassfish:3.1.1]
> at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)[org.apache.felix.framework-3.0.9.jar:]
> at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1842)[org.apache.felix.framework-3.0.9.jar:]
> at
> org.apache.felix.framework.Felix.startBundle(Felix.java:1759)[org.apache.felix.framework-3.0.9.jar:]
> at
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:918)[org.apache.felix.framework-3.0.9.jar:]
> at
> sahoo.embeddedgf.GFActivator.startBundles(GFActivator.java:171)[370:sahoo.embeddedgf:1.0.0.SNAPSHOT]
> at
> sahoo.embeddedgf.GFActivator.start(GFActivator.java:86)[370:sahoo.embeddedgf:1.0.0.SNAPSHOT]
> at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)[org.apache.felix.framework-3.0.9.jar:]
> at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1842)[org.apache.felix.framework-3.0.9.jar:]
> at
> org.apache.felix.framework.Felix.startBundle(Felix.java:1759)[org.apache.felix.framework-3.0.9.jar:]
> at
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:918)[org.apache.felix.framework-3.0.9.jar:]
> at
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)[org.apache.felix.framework-3.0.9.jar:]
> at
> org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:30)[28:org.apache.karaf.shell.osgi:2.2.5]
> at
> org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:37)[28:org.apache.karaf.shell.osgi:2.2.5]
> at
> org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[14:org.apache.karaf.shell.console:2.2.5]
> at
> org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[14:org.apache.karaf.shell.console:2.2.5]
> at
> org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[14:org.apache.karaf.shell.console:2.2.5]
> at
> org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[14:org.apache.karaf.shell.console:2.2.5]
> at
> org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[14:org.apache.karaf.shell.console:2.2.5]
> at
> org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[14:org.apache.karaf.shell.console:2.2.5]
> at
> org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[14:org.apache.karaf.shell.console:2.2.5]
> at
> org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[14:org.apache.karaf.shell.console:2.2.5]
> at
> org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[14:org.apache.karaf.shell.console:2.2.5]
> at
> org.apache.karaf.shell.console.jline.Console.run(Console.java:221)[14:org.apache.karaf.shell.console:2.2.5]
> at java.lang.Thread.run(Thread.java:722)[:1.7.0_02]
> 2012-02-02 11:00:35,095 | WARN | l Console Thread | jmx
> | ? ? | 24 -
> org.apache.aries.jmx - 0.3.0 | Detected secondary ServiceReference for
> [Configuration Admin Service Specification 1.2 Implementation] with
> service.id [184] Only 1 instance will be JMX managed
> 2012-02-02 11:00:35,111 | WARN | l Console Thread | osgi
> | bootstrap.osgi.BundleProvisioner 223 | - - | Can
> not start bundle
> file:/c:/javadev/server/appserver/glassfish/glassfish-3.1.1/glassfish/modules/org.apache.felix.fileinstall.jar
> because it is not contained in the list of installed bundles
> 2012-02-02 11:00:36,047 | INFO | l Console Thread |
> BackingStoreFactoryRegistry | .spi.BackingStoreFactoryRegistry
> 87 | - - | Registered
> org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for
> persistence-type = replicated in BackingStoreFactoryRegistry
> 2012-02-02 11:00:36,296 | INFO | kernel-thread(1) | impl
> | 3.services.impl.GrizzlyProxy$2$1 307 | - - |
> Grizzly Framework 1.9.36 started in: 31ms - bound to [0.0.0.0:7676]
> 2012-02-02 11:00:36,296 | INFO | kernel-thread(1) | impl
> | 3.services.impl.GrizzlyProxy$2$1 307 | - - |
> Grizzly Framework 1.9.36 started in: 78ms - bound to [0.0.0.0:8080]
> 2012-02-02 11:00:36,296 | INFO | kernel-thread(1) | impl
> | 3.services.impl.GrizzlyProxy$2$1 307 | - - |
> Grizzly Framework 1.9.36 started in: 62ms - bound to [0.0.0.0:8181]
> 2012-02-02 11:00:36,312 | INFO | kernel-thread(1) | impl
> | 3.services.impl.GrizzlyProxy$2$1 307 | - - |
> Grizzly Framework 1.9.36 started in: 63ms - bound to [0.0.0.0:3700]
> 2012-02-02 11:00:36,312 | INFO | kernel-thread(1) | impl
> | 3.services.impl.GrizzlyProxy$2$1 307 | - - |
> Grizzly Framework 1.9.36 started in: 63ms - bound to [0.0.0.0:4848]
> 2012-02-02 11:00:36,312 | INFO | l Console Thread | adapter
> | dmin.adapter.AdminConsoleAdapter 501 | - - | The
> Admin Console is already installed, but not yet loaded.
> 2012-02-02 11:00:36,359 | INFO | l Console Thread | server
> | prise.v3.server.AppServerStartup 277 | - - |
> GlassFish Server Open Source Edition 3.1.1 (12) startup time :
> GenericOSGi (437ms), startup services(531ms), total(968ms)
> 2012-02-02 11:00:36,686 | INFO | Thread-30 | server
> | rvice$JMXConnectorsStarterThread 254 | - - |
> JMXStartupService: Started JMXConnector, JMXService URL =
> service:jmx:rmi://...
>
>
> Figure 2 - Karaf Log after attempting to navigate to the Glassfish
> Administration Console @ http://localhost:4848 <http://localhost:4848/>
> ===========================================================
> 2012-02-02 11:19:33,342 | INFO | ead-pool-4848(1) | Version
> | hibernate.validator.util.Version 56 | 393 -
> org.glassfish.hk2.external
> .bean-validator - 1.1.6 | Hibernate Validator 4.1.0.Final
> 2012-02-02 11:19:33,342 | INFO | ead-pool-4848(1) |
> DefaultTraversableResolver | olver.DefaultTraversableResolver
> 81 | 393 - org.glassfish.hk2.external
> .bean-validator - 1.1.6 | Instantiated an instance of
> org.hibernate.validator.engine.resolver.JPATraversableResolver.
> 2012-02-02 11:19:33,776 | INFO | kernel-thread(1) | impl
> | 3.services.impl.GrizzlyProxy$2$1 307 | - - |
> Grizzly Framework 1.9.3
> 6 started in: 15ms - bound to [0.0.0.0:8080]
> 2012-02-02 11:19:33,979 | INFO | kernel-thread(1) | impl
> | 3.services.impl.GrizzlyProxy$2$1 307 | - - |
> Grizzly Framework 1.9.3
> 6 started in: 16ms - bound to [0.0.0.0:8181]
> 2012-02-02 11:19:34,119 | INFO | Thread-48 | adapter
> | dmin.adapter.AdminConsoleAdapter 501 | - - | The
> Admin Console is al
> ready installed, but not yet loaded.
> 2012-02-02 11:19:34,119 | INFO | Thread-48 | adapter
> | dmin.adapter.AdminConsoleAdapter 501 | - - | The
> Admin Console is st
> arting. Please wait.
> 2012-02-02 11:19:34,385 | ERROR | ead-pool-4848(2) | rest
> | prise.v3.admin.CommandRunnerImpl 152 | - - |
> Cannot instantiate _get
> -log-file
> org.jvnet.hk2.component.ComponentException: injection failed on
> com.sun.enterprise.server.logging.commands.InstanceGetLogFileCommand.gf with
> class com.sun.enterprise.server.logging.GFFileHandler
> at
> org.jvnet.hk2.component.InjectionManager.error_injectionException(InjectionManager.java:277)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:163)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:126)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:796)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.getModel(CommandRunnerImpl.java:150)[594:org.glassfish.core.kernel:3.1.1]
> at
> org.glassfish.admin.rest.generator.ResourcesGeneratorBase.commandIsPresent(ResourcesGeneratorBase.java:315)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.generator.ResourcesGeneratorBase.generateCommandResources(ResourcesGeneratorBase.java:296)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.generator.ResourcesGeneratorBase.generateSingle(ResourcesGeneratorBase.java:100)[634:org.glassfish.admin.rest-service:3.1.1]
>
> at
> org.glassfish.admin.rest.LazyJerseyInit.generateASM(LazyJerseyInit.java:311)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.LazyJerseyInit.getResourcesConfigForManagement(LazyJerseyInit.java:255)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestManagementAdapter.getResourcesConfig(RestManagementAdapter.java:62)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestAdapter.exposeContext(RestAdapter.java:455)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:177)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)[534:com.sun.grizzly.utils:1.9.36]
> at
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)[594:org.glassfish.core.kernel:3.1.1]
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)[594:org.glassfish.core.kernel:3.1.1]
> at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.ContextTask.run(ContextTask.java:71)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)[534:com.sun.grizzly.utils:1.9.36]
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)[534:com.sun.grizzly.utils:1.9.36]
> at java.lang.Thread.run(Thread.java:722)[:1.7.0_02]
> Caused by: java.lang.NullPointerException
> at
> com.sun.enterprise.server.logging.GFFileHandler.postConstruct(GFFileHandler.java:159)[602:org.glassfish.core.logging:3.1.1]
> at
> com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getBy(Habitat.java:1048)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getByType(Habitat.java:1029)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.InjectInjectionResolver.getComponentInjectValue(InjectInjectionResolver.java:159)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.InjectInjectionResolver.getValue(InjectInjectionResolver.java:90)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:141)[391:com.sun.enterprise.auto-depends:1.1.6]
> ... 33 more
> 2012-02-02 11:19:34,728 | INFO | Thread-48 | web
> | .sun.enterprise.web.WebContainer 875 | - - |
> WEB0169: Created HTTP listener [http-listener-1] on host/port
> [0.0.0.0:8080]
> 2012-02-02 11:19:34,743 | INFO | Thread-48 | web
> | .sun.enterprise.web.WebContainer 875 | - - |
> WEB0169: Created HTTP listener [http-listener-2] on host/port
> [0.0.0.0:8181]
> 2012-02-02 11:19:34,743 | INFO | Thread-48 | web
> | .sun.enterprise.web.WebContainer 875 | - - |
> WEB0169: Created HTTP listener [admin-listener] on host/port
> [0.0.0.0:4848]
> 2012-02-02 11:19:34,775 | INFO | Thread-48 | web
> | .sun.enterprise.web.WebContainer 1144 | - - |
> WEB0171: Created virtual server [server]
> 2012-02-02 11:19:34,775 | INFO | Thread-48 | web
> | .sun.enterprise.web.WebContainer 1144 | - - |
> WEB0171: Created virtual server [__asadmin]
> 2012-02-02 11:19:34,993 | ERROR | Thread-48 | server
> | org.glassfish.api.ActionReport 112 | - - |
> Exception while deploying the app [__admingui]
> 2012-02-02 11:19:34,993 | ERROR | Thread-48 | server
> | e.v3.server.ApplicationLifecycle 479 | - - |
> injection failed on class
> com.sun.enterprise.deployment.archivist.WebArchivist from 490.0
> java.lang.LinkageError: injection failed on class
> com.sun.enterprise.deployment.archivist.WebArchivist from 490.0
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:254)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:126)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getBy(Habitat.java:1048)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getByType(Habitat.java:1029)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:779)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.enterprise.web.WebContainer.loadSystemDefaultWebModules(WebContainer.java:1422)
> at
> com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:573)
> at
> com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.glassfish.internal.data.EngineInfo.getContainer(EngineInfo.java:93)[543:org.glassfish.common.internal-api:3.1.1]
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.java:957)[594:org.glassfish.core.kernel:3.1.1]
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:667)[594:org.glassfish.core.kernel:3.1.1]
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)[594:org.glassfish.core.kernel:3.1.1]
> at
> com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:375)[594:org.glassfish.core.kernel:3.1.1]
> at
> com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:210)[594:org.glassfish.core.kernel:3.1.1]
> at
> com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:108)[594:org.glassfish.core.kernel:3.1.1]
> Caused by: java.lang.NoClassDefFoundError: javax/annotation/ManagedBean
> at
> com.sun.enterprise.deployment.annotation.handlers.ManagedBeanHandler.getAnnotationType(ManagedBeanHandler.java:75)
> at
> org.glassfish.apf.impl.AnnotationProcessorImpl.pushAnnotationHandler(AnnotationProcessorImpl.java:399)
> at
> com.sun.enterprise.deployment.annotation.factory.SJSASFactory.postConstruct(SJSASFactory.java:91)
> at
> com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getBy(Habitat.java:1048)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getByType(Habitat.java:1029)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.InjectInjectionResolver.getComponentInjectValue(InjectInjectionResolver.java:159)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.InjectInjectionResolver.getValue(InjectInjectionResolver.java:90)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:141)[391:com.sun.enterprise.auto-depends:1.1.6]
> ... 24 more
> Caused by: java.lang.ClassNotFoundException: javax.annotation.ManagedBean
> at
> java.net.URLClassLoader$1.run(URLClassLoader.java:366)[:1.7.0_02]
> at
> java.net.URLClassLoader$1.run(URLClassLoader.java:355)[:1.7.0_02]
> at java.security.AccessController.doPrivileged(Native
> Method)[:1.7.0_02]
> at
> java.net.URLClassLoader.findClass(URLClassLoader.java:354)[:1.7.0_02]
> at
> java.lang.ClassLoader.loadClass(ClassLoader.java:423)[:1.7.0_02]
> at
> java.lang.ClassLoader.loadClass(ClassLoader.java:356)[:1.7.0_02]
> at
> org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:697)[org.apache.felix.framework-3.0.9.j
> ar:]
> at
> org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99)[org.apache.felix.framework-3.0.9.jar:]
> at
> org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1390)[org.apache.felix.framework-3.0.9.jar:]
> at
> org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:722)[org.apache.felix.framework-3.0.9.jar:]
> at
> org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)[org.apache.felix.framework-3.0.9.jar:]
> at
> org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)[org.apache.felix.framework-3.0.9.jar:]
> at
> java.lang.ClassLoader.loadClass(ClassLoader.java:356)[:1.7.0_02]
> ... 38 more
> 2012-02-02 11:19:35,071 | ERROR | ead-pool-4848(2) | rest
> | prise.v3.admin.CommandRunnerImpl 152 | - - |
> Cannot instantiate rota
> te-log
> org.jvnet.hk2.component.ComponentException: injection failed on
> com.sun.enterprise.server.logging.commands.RotateLog.gf with class
> com.sun.enterprise.server.log
> ging.GFFileHandler
> at
> org.jvnet.hk2.component.InjectionManager.error_injectionException(InjectionManager.java:277)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:163)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:126)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:796)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.getModel(CommandRunnerImpl.java:150)[594:org.glassfish.core.kernel:3.1.1]
> at
> org.glassfish.admin.rest.generator.ResourcesGeneratorBase.commandIsPresent(ResourcesGeneratorBase.java:315)[634:org.glassfish.admin.rest-service:3.1.
> 1]
> at
> org.glassfish.admin.rest.generator.ResourcesGeneratorBase.generateCommandResources(ResourcesGeneratorBase.java:296)[634:org.glassfish.admin.rest-serv
> ice:3.1.1]
> at
> org.glassfish.admin.rest.generator.ResourcesGeneratorBase.generateSingle(ResourcesGeneratorBase.java:100)[634:org.glassfish.admin.rest-service:3.1.1]
>
> at
> org.glassfish.admin.rest.LazyJerseyInit.generateASM(LazyJerseyInit.java:311)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.LazyJerseyInit.getResourcesConfigForManagement(LazyJerseyInit.java:255)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestManagementAdapter.getResourcesConfig(RestManagementAdapter.java:62)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestAdapter.exposeContext(RestAdapter.java:455)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:177)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)[534:com.sun.grizzly.utils:1.9.36]
> at
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)[594:org.glassfish.core.kernel:3.1.1]
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)[594:org.glassfish.core.kernel:3.1.1]
> at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.ContextTask.run(ContextTask.java:71)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)[534:com.sun.grizzly.utils:1.9.36]
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)[534:com.sun.grizzly.utils:1.9.36]
> at java.lang.Thread.run(Thread.java:722)[:1.7.0_02]
> Caused by: java.lang.NullPointerException
> at
> com.sun.enterprise.server.logging.GFFileHandler.postConstruct(GFFileHandler.java:159)[602:org.glassfish.core.logging:3.1.1]
> at
> com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getBy(Habitat.java:1048)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getByType(Habitat.java:1029)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.InjectInjectionResolver.getComponentInjectValue(InjectInjectionResolver.java:159)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.InjectInjectionResolver.getValue(InjectInjectionResolver.java:90)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:141)[391:com.sun.enterprise.auto-depends:1.1.6]
> ... 33 more
> 2012-02-02 11:19:35,071 | ERROR | Thread-48 | server
> | .server.ApplicationLoaderService 383 | - - |
> Exception while deploying the app [__admingui]
> 2012-02-02 11:19:35,071 | INFO | Thread-48 | adapter
> | dmin.adapter.AdminConsoleAdapter 501 | - - | The
> Admin Console application is loaded.
> 2012-02-02 11:19:35,087 | ERROR | ead-pool-4848(2) | rest
> | prise.v3.admin.CommandRunnerImpl 152 | - - |
> Cannot instantiate _get-log-file
> org.jvnet.hk2.component.ComponentException: injection failed on
> com.sun.enterprise.server.logging.commands.InstanceGetLogFileCommand.gf with
> class com.sun.enter
> prise.server.logging.GFFileHandler
> at
> org.jvnet.hk2.component.InjectionManager.error_injectionException(InjectionManager.java:277)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:163)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:126)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:796)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.getModel(CommandRunnerImpl.java:150)[594:org.glassfish.core.kernel:3.1.1]
> at
> org.glassfish.admin.rest.ResourceUtil.commandIsPresent(ResourceUtil.java:453)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.generator.ASMClassWriter.createGetCommandResourcePaths(ASMClassWriter.java:144)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.generator.ResourcesGeneratorBase.generateCommandResources(ResourcesGeneratorBase.java:309)[634:org.glassfish.admin.rest-serv
> ice:3.1.1]
> at
> org.glassfish.admin.rest.generator.ResourcesGeneratorBase.generateSingle(ResourcesGeneratorBase.java:100)[634:org.glassfish.admin.rest-service:3.1.1]
>
> at
> org.glassfish.admin.rest.LazyJerseyInit.generateASM(LazyJerseyInit.java:311)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.LazyJerseyInit.getResourcesConfigForManagement(LazyJerseyInit.java:255)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestManagementAdapter.getResourcesConfig(RestManagementAdapter.java:62)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestAdapter.exposeContext(RestAdapter.java:455)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:177)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)[534:com.sun.grizzly.utils:1.9.36]
> at
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)[594:org.glassfish.core.kernel:3.1.1]
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)[594:org.glassfish.core.kernel:3.1.1]
> at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.ContextTask.run(ContextTask.java:71)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)[534:com.sun.grizzly.utils:1.9.36]
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)[534:com.sun.grizzly.utils:1.9.36]
> at java.lang.Thread.run(Thread.java:722)[:1.7.0_02]
> Caused by: java.lang.NullPointerException
> at
> com.sun.enterprise.server.logging.GFFileHandler.postConstruct(GFFileHandler.java:159)[602:org.glassfish.core.logging:3.1.1]
> at
> com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getBy(Habitat.java:1048)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getByType(Habitat.java:1029)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.InjectInjectionResolver.getComponentInjectValue(InjectInjectionResolver.java:159)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.InjectInjectionResolver.getValue(InjectInjectionResolver.java:90)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:141)[391:com.sun.enterprise.auto-depends:1.1.6]
> ... 34 more
> 2012-02-02 11:19:35,118 | ERROR | ead-pool-4848(2) | rest
> | prise.v3.admin.CommandRunnerImpl 152 | - - |
> Cannot instantiate rotate-log
> org.jvnet.hk2.component.ComponentException: injection failed on
> com.sun.enterprise.server.logging.commands.RotateLog.gf with class
> com.sun.enterprise.server.log
> ging.GFFileHandler
> at
> org.jvnet.hk2.component.InjectionManager.error_injectionException(InjectionManager.java:277)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:163)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:126)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:796)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.getModel(CommandRunnerImpl.java:150)[594:org.glassfish.core.kernel:3.1.1]
> at
> org.glassfish.admin.rest.ResourceUtil.commandIsPresent(ResourceUtil.java:453)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.generator.ASMClassWriter.createGetCommandResourcePaths(ASMClassWriter.java:144)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.generator.ResourcesGeneratorBase.generateCommandResources(ResourcesGeneratorBase.java:309)[634:org.glassfish.admin.rest-serv
> ice:3.1.1]
> at
> org.glassfish.admin.rest.generator.ResourcesGeneratorBase.generateSingle(ResourcesGeneratorBase.java:100)[634:org.glassfish.admin.rest-service:3.1.1]
>
> at
> org.glassfish.admin.rest.LazyJerseyInit.generateASM(LazyJerseyInit.java:311)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.LazyJerseyInit.getResourcesConfigForManagement(LazyJerseyInit.java:255)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestManagementAdapter.getResourcesConfig(RestManagementAdapter.java:62)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestAdapter.exposeContext(RestAdapter.java:455)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:177)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)[534:com.sun.grizzly.utils:1.9.36]
> at
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)[594:org.glassfish.core.kernel:3.1.1]
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)[594:org.glassfish.core.kernel:3.1.1]
> at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.ContextTask.run(ContextTask.java:71)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)[534:com.sun.grizzly.utils:1.9.36]
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)[534:com.sun.grizzly.utils:1.9.36]
> at java.lang.Thread.run(Thread.java:722)[:1.7.0_02]
> Caused by: java.lang.NullPointerException
> at
> com.sun.enterprise.server.logging.GFFileHandler.postConstruct(GFFileHandler.java:159)[602:org.glassfish.core.logging:3.1.1]
> at
> com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getBy(Habitat.java:1048)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getByType(Habitat.java:1029)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.InjectInjectionResolver.getComponentInjectValue(InjectInjectionResolver.java:159)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.InjectInjectionResolver.getValue(InjectInjectionResolver.java:90)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:141)[391:com.sun.enterprise.auto-depends:1.1.6]
> ... 34 more
> 2012-02-02 11:19:35,118 | ERROR | ead-pool-4848(2) | rest
> | prise.v3.admin.CommandRunnerImpl 152 | - - |
> Cannot instantiate _get-log-file
> org.jvnet.hk2.component.ComponentException: injection failed on
> com.sun.enterprise.server.logging.commands.InstanceGetLogFileCommand.gf with
> class com.sun.enterprise.server.logging.GFFileHandler
> at
> org.jvnet.hk2.component.InjectionManager.error_injectionException(InjectionManager.java:277)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:163)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:126)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:796)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.getModel(CommandRunnerImpl.java:150)[594:org.glassfish.core.kernel:3.1.1]
> at
> org.glassfish.admin.rest.ResourceUtil.commandIsPresent(ResourceUtil.java:453)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.generator.ASMClassWriter.createGetCommandResourcePaths(ASMClassWriter.java:152)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.generator.ResourcesGeneratorBase.generateCommandResources(ResourcesGeneratorBase.java:309)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.generator.ResourcesGeneratorBase.generateSingle(ResourcesGeneratorBase.java:100)[634:org.glassfish.admin.rest-service:3.1.1]
>
> at
> org.glassfish.admin.rest.LazyJerseyInit.generateASM(LazyJerseyInit.java:311)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.LazyJerseyInit.getResourcesConfigForManagement(LazyJerseyInit.java:255)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestManagementAdapter.getResourcesConfig(RestManagementAdapter.java:62)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestAdapter.exposeContext(RestAdapter.java:455)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:177)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)[534:com.sun.grizzly.utils:1.9.36]
> at
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)[594:org.glassfish.core.kernel:3.1.1]
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)[594:org.glassfish.core.kernel:3.1.1]
> at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.ContextTask.run(ContextTask.java:71)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)[534:com.sun.grizzly.utils:1.9.36]
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)[534:com.sun.grizzly.utils:1.9.36]
> at java.lang.Thread.run(Thread.java:722)[:1.7.0_02]
> Caused by: java.lang.NullPointerException
> at
> com.sun.enterprise.server.logging.GFFileHandler.postConstruct(GFFileHandler.java:159)[602:org.glassfish.core.logging:3.1.1]
> at
> com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getBy(Habitat.java:1048)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getByType(Habitat.java:1029)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.InjectInjectionResolver.getComponentInjectValue(InjectInjectionResolver.java:159)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.InjectInjectionResolver.getValue(InjectInjectionResolver.java:90)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:141)[391:com.sun.enterprise.auto-depends:1.1.6]
> ... 34 more
> 2012-02-02 11:19:35,149 | ERROR | ead-pool-4848(2) | rest
> | prise.v3.admin.CommandRunnerImpl 152 | - - |
> Cannot instantiate rota
> te-log
> org.jvnet.hk2.component.ComponentException: injection failed on
> com.sun.enterprise.server.logging.commands.RotateLog.gf with class
> com.sun.enterprise.server.log
> ging.GFFileHandler
> at
> org.jvnet.hk2.component.InjectionManager.error_injectionException(InjectionManager.java:277)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:163)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:126)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:796)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.getModel(CommandRunnerImpl.java:150)[594:org.glassfish.core.kernel:3.1.1]
> at
> org.glassfish.admin.rest.ResourceUtil.commandIsPresent(ResourceUtil.java:453)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.generator.ASMClassWriter.createGetCommandResourcePaths(ASMClassWriter.java:152)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.generator.ResourcesGeneratorBase.generateCommandResources(ResourcesGeneratorBase.java:309)[634:org.glassfish.admin.rest-serv
> ice:3.1.1]
> at
> org.glassfish.admin.rest.generator.ResourcesGeneratorBase.generateSingle(ResourcesGeneratorBase.java:100)[634:org.glassfish.admin.rest-service:3.1.1]
>
> at
> org.glassfish.admin.rest.LazyJerseyInit.generateASM(LazyJerseyInit.java:311)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.LazyJerseyInit.getResourcesConfigForManagement(LazyJerseyInit.java:255)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestManagementAdapter.getResourcesConfig(RestManagementAdapter.java:62)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestAdapter.exposeContext(RestAdapter.java:455)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:177)[634:org.glassfish.admin.rest-service:3.1.1]
> at
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)[534:com.sun.grizzly.utils:1.9.36]
> at
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)[594:org.glassfish.core.kernel:3.1.1]
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)[594:org.glassfish.core.kernel:3.1.1]
> at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)[530:com.sun.grizzly.http:1.9.36]
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.ContextTask.run(ContextTask.java:71)[528:com.sun.grizzly.framework:1.9.36]
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)[534:com.sun.grizzly.utils:1.9.36]
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)[534:com.sun.grizzly.utils:1.9.36]
> at java.lang.Thread.run(Thread.java:722)[:1.7.0_02]
> Caused by: java.lang.NullPointerException
> at
> com.sun.enterprise.server.logging.GFFileHandler.postConstruct(GFFileHandler.java:159)[602:org.glassfish.core.logging:3.1.1]
> at
> com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getBy(Habitat.java:1048)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.Habitat.getByType(Habitat.java:1029)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.InjectInjectionResolver.getComponentInjectValue(InjectInjectionResolver.java:159)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> com.sun.hk2.component.InjectInjectionResolver.getValue(InjectInjectionResolver.java:90)[391:com.sun.enterprise.auto-depends:1.1.6]
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:141)[391:com.sun.enterprise.auto-depends:1.1.6]
> ... 34 more
> 2012-02-02 11:19:42,949 | INFO | ead-pool-4848(2) |
> WebApplicationImpl | l.application.WebApplicationImpl
> 791 | - - | Initiating Jersey appli
> cation, version 'Jersey: 1.8 06/24/2011 12:17 PM'
>
>
>