davison
Oct 31st, 2008, 06:36 AM
I built the dm server from source. Having extracted the zip file it creates, I get the following output when I attempt to start up:
davisond@davisond-laptop spring-dm $ ./bin/startup.sh
[2008-10-31 10:33:30.622] main <SPKB0001I> Server starting.
[2008-10-31 10:33:31.256] main <SPOF0001I> OSGi telnet console available on port 2401.
[2008-10-31 10:33:33.057] main <SPKB0002E> Start failed:
com.springsource.server.osgi.framework.OsgiFramewo rkException: Failed to start bundle 'com.springsource.javax.servlet.jsp.jstl'
at com.springsource.server.osgi.framework.equinox.Equ inoxBundleInstaller.startBundle(EquinoxBundleInsta ller.java:378)
at com.springsource.server.osgi.framework.equinox.Equ inoxBundleInstaller.doInstallBundle(EquinoxBundleI nstaller.java:123)
at com.springsource.server.osgi.framework.support.Abs tractBundleInstaller.installBundleFromLocation(Abs tractBundleInstaller.java:170)
at com.springsource.server.osgi.framework.support.Abs tractBundleInstaller.installBundleFromDefinition(A bstractBundleInstaller.java:242)
at com.springsource.server.osgi.framework.support.Abs tractBundleInstaller.installBundle(AbstractBundleI nstaller.java:137)
at com.springsource.server.osgi.framework.support.Abs tractBundleInstaller.installBundle(AbstractBundleI nstaller.java:109)
at com.springsource.server.kernel.bootstrap.KernelBoo tstrap.start(KernelBootstrap.java:73)
at com.springsource.server.kernel.bootstrap.Bootstrap .main(Bootstrap.java:73)
Caused by: org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: javax.servlet.jsp; version="[2.1.0,3.0.0)"
at org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:305)
at org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:265)
at org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:257)
at com.springsource.server.osgi.framework.equinox.Equ inoxBundleInstaller.startBundle(EquinoxBundleInsta ller.java:376)
... 7 more
Should the servlet API's be included or am I expected to provide them somehow?
Cheers!
davisond@davisond-laptop spring-dm $ ./bin/startup.sh
[2008-10-31 10:33:30.622] main <SPKB0001I> Server starting.
[2008-10-31 10:33:31.256] main <SPOF0001I> OSGi telnet console available on port 2401.
[2008-10-31 10:33:33.057] main <SPKB0002E> Start failed:
com.springsource.server.osgi.framework.OsgiFramewo rkException: Failed to start bundle 'com.springsource.javax.servlet.jsp.jstl'
at com.springsource.server.osgi.framework.equinox.Equ inoxBundleInstaller.startBundle(EquinoxBundleInsta ller.java:378)
at com.springsource.server.osgi.framework.equinox.Equ inoxBundleInstaller.doInstallBundle(EquinoxBundleI nstaller.java:123)
at com.springsource.server.osgi.framework.support.Abs tractBundleInstaller.installBundleFromLocation(Abs tractBundleInstaller.java:170)
at com.springsource.server.osgi.framework.support.Abs tractBundleInstaller.installBundleFromDefinition(A bstractBundleInstaller.java:242)
at com.springsource.server.osgi.framework.support.Abs tractBundleInstaller.installBundle(AbstractBundleI nstaller.java:137)
at com.springsource.server.osgi.framework.support.Abs tractBundleInstaller.installBundle(AbstractBundleI nstaller.java:109)
at com.springsource.server.kernel.bootstrap.KernelBoo tstrap.start(KernelBootstrap.java:73)
at com.springsource.server.kernel.bootstrap.Bootstrap .main(Bootstrap.java:73)
Caused by: org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: javax.servlet.jsp; version="[2.1.0,3.0.0)"
at org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:305)
at org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:265)
at org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:257)
at com.springsource.server.osgi.framework.equinox.Equ inoxBundleInstaller.startBundle(EquinoxBundleInsta ller.java:376)
... 7 more
Should the servlet API's be included or am I expected to provide them somehow?
Cheers!