-
May 28th, 2008, 07:33 AM
#1
error starting web application
I don't quite understand where the cause is for a deployment error. It says it's a problem calling "onStarted()" but... I have no idea how to resolve this, because I don't know what I'm looking for. The platform trace log - in addition to being frickin' HUGE - has the same information, as for the specific exception trace. (I can provide more of the log if necessary.)
[2008-05-28 10:27:42.060] fs-watcher <SPDE0010I> Deployment of 'webapp.war' version '0' completed.
[2008-05-28 10:27:51.122] osgi-console <SPSC1000I> Creating web application '/techarbor'.
[2008-05-28 10:27:51.138] async-delivery-thread-8 <SPSC1001I> Starting web application '/ta'.
[2008-05-28 10:27:51.685] async-delivery-thread-8 <SPSC1005E> Failed to start web application '/ta': consult the Platform trace.log for further details.
[2008-05-28 10:27:51.700] async-delivery-thread-8 <SPSC1002I> Removing web application '/ta'.
[2008-05-28 10:27:51.716] async-delivery-thread-8 <SPDE0025E> Exception after module 'file [F: oolsspringsource-ap-1.0.0.beta3workcom.springsource.platform.deployerM odulewebapp.war-0webapp.war]' started.
com.springsource.platform.deployer.core.Deployment Exception: Failed to start web application [/ta] for web bundle [ta_web].
at com.springsource.platform.web.core.WebModulePerson ality.deploy(WebModulePersonality.java:347)
at com.springsource.platform.deployer.core.module.Abs tractModule.deploy(AbstractModule.java:226)
at com.springsource.platform.deployer.core.module.Sta ndardModule.onStarted(StandardModule.java:483)
at com.springsource.platform.deployer.core.module.Dep loyerBundleListener$2$1.run(DeployerBundleListener .java:148)
at com.springsource.platform.concurrent.core.Executor ServiceDelegate$StatisticsGatheringRunnable.run(Ex ecutorServiceDelegate.java:136)
at com.springsource.platform.concurrent.core.Platform ThreadPoolExecutor$1.run(PlatformThreadPoolExecuto r.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
[2008-05-28 10:27:54.950] async-delivery-thread-8 <SPFF0002I> Wrote dump file "F: oolsspringsource-ap-1.0.0.beta3serviceabilitydump2008-05-28_10-27-51.dump"
java.lang.NullPointerException
at com.springsource.platform.deployer.core.module.Sta ndardModule.onStarted(StandardModule.java:495)
at com.springsource.platform.deployer.core.module.Dep loyerBundleListener$2$1.run(DeployerBundleListener .java:148)
at com.springsource.platform.concurrent.core.Executor ServiceDelegate$StatisticsGatheringRunnable.run(Ex ecutorServiceDelegate.java:136)
at com.springsource.platform.concurrent.core.Platform ThreadPoolExecutor$1.run(PlatformThreadPoolExecuto r.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
-
May 28th, 2008, 07:48 AM
#2
error starting web application
Hi Joseph,
There should be an application-specific trace file in a directory named something like PLATFORM_HOME/serviceability/trace/webapp-war-0 that will contain trace specific to your application and its startup. Hopefully there will be something in there that'll help to narrow things down rather than wading through the trace file for the whole Platform.
Cheers,
Andy
-
May 28th, 2008, 08:05 AM
#3
error starting web application
Okay, it's saying it can't convert something:
Cannot resolve reference to bean 'dc1' while setting bean property 'dc'; nested except
ion is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'dc1': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lan
g.String] to required type [java.lang.Class[]] for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [conversion.DateConverter]
From applicationContext.xml:
<bean id="converter" class="beans.impl.HebrewLookup">
<property name="dc" ref="dc1" />
</bean>
From osgi-context.xml:
<reference id="dc1" interface="conversion.DateConverter" />
It knows about both config files, and DateConverter is in an external OSGi bundle (started and running, and imported in MANIFEST.MF.)
-
May 28th, 2008, 08:49 AM
#4
error starting web application
Okay, I got it working - turns out I'm an idiot on more than one plane. No worries.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules