|
Re: server.profile incomplete [message #550506 is a reply to message #550494] |
Fri, 30 July 2010 15:11 |
|
Hi,
I'm sorry to hear your having so many problems. I started with a fresh install of Virgo M02 and installed "Apache XML Commons XML-APIs 1.3.4". This went in fine. I then installed the jstl bundle at 1.2.0 and this failed as you described. I then added the missing entries from the profile file, I added them at the end of the system packages section and you need to be careful about the indentations. Restarted the server (with -clean to wipe it's caches) and repeated. This time it worked and it all just installed.
The defect you found has not actually been worked on and it's possible adding those entries to the system packages might cause issues for other people. We would need to investigate properly. Please, raise a bug on bugzilla if you think this is a bug and reference the old one and we will review it.
This is my output from the console.
[2010-07-30 15:57:30.674] start-signalling-1 <DE0005I> Started bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.M02-incubation'.
[2010-07-30 15:57:48.447] http-8080-3 <DE0000I> Installing bundle 'com.springsource.org.apache.xmlcommons' version '1.3.4'.
[2010-07-30 15:57:48.578] http-8080-3 <DE0001I> Installed bundle 'com.springsource.org.apache.xmlcommons' version '1.3.4'.
[2010-07-30 15:57:48.591] http-8080-3 <DE0004I> Starting bundle 'com.springsource.org.apache.xmlcommons' version '1.3.4'.
[2010-07-30 15:57:48.607] start-signalling-1 <DE0005I> Started bundle 'com.springsource.org.apache.xmlcommons' version '1.3.4'.
[2010-07-30 15:57:53.378] http-8080-1 <DE0000I> Installing bundle 'com.springsource.javax.servlet.jsp.jstl' version '1.2.0'.
[2010-07-30 15:57:53.482] http-8080-1 <DE0001I> Installed bundle 'com.springsource.javax.servlet.jsp.jstl' version '1.2.0'.
[2010-07-30 15:57:53.497] http-8080-1 <DE0004I> Starting bundle 'com.springsource.javax.servlet.jsp.jstl' version '1.2.0'.
[2010-07-30 15:57:53.503] start-signalling-1 <DE0005I> Started bundle 'com.springsource.javax.servlet.jsp.jstl' version '1.2.0'.
You shouldn't have a missing constraint for a slf4j impl as it is just provided. Have you made changes to anything else and what version of Virgo/dm server are you using? Is this the xml commons jar you are having problems with in your other forum post?
Chris.
------------------------------------------------
Chris Frost, Twitter @cgfrost
Springsource, a divison of VMware.
|
|
|
Re: server.profile incomplete [message #550512 is a reply to message #550506] |
Fri, 30 July 2010 15:36 |
Anthony Messages: 38 Registered: July 2010 |
Member |
|
|
Many thanks for your reply, the spoons are gently cooling by the side for now.
I've just tried to enter the extra lines into the server.profile as you metioned but I'm still getting the error asking for the slf4j files. I'm guessing I'm adding them incorrectly although they seem congruent.
org.xml.sax,\
org.xml.sax.ext,\
org.xml.sax.helpers,\
com.sun.org.apache.xalan.internal.res,\
com.sun.org.apache.xml.internal.utils,\
com.sun.org.apache.xpath.internal,\
com.sun.org.apache.xpath.internal.jaxp,\
com.sun.org.apache.xpath.internal.objects
org.osgi.framework.bootdelegation = \
com.springsource.osgi.extensions.*,\
com.springsource.osgi.launcher.*,\
com.springsource.kernel.authentication,\
I'm using the dm server 2.0.2.M1 release and I'm also testing in virgo M01,
The problem I was having before with the xmlcommons file was because I was trying to add it into the import bundle of the project as it was the only way how I knew at the time, now that I am using the admin console as well as eclipse things seem to be progressing instead of a dead end. However I feel the road is long......
|
|
|
|
Re: server.profile incomplete [message #550518 is a reply to message #550513] |
Fri, 30 July 2010 15:49 |
|
Hi,
Glad to hear the spoons are down.
I have:
org.xml.sax,\
org.xml.sax.ext,\
org.xml.sax.helpers,\
com.sun.org.apache.xalan.internal.res,\
com.sun.org.apache.xml.internal.utils,\
com.sun.org.apache.xpath.internal,\
com.sun.org.apache.xpath.internal.jaxp,\
com.sun.org.apache.xpath.internal.objects
org.osgi.framework.bootdelegation = \
org.eclipse.virgo.osgi.extensions.*,\
I can't see any differences. I'm using Virgo M02, short of something really major we won't be doing any more releases on the dm Server line. Virgo is the future. Off the top of my head I can't think of any changes that would be affecting this.
How were you deploying things before? If you just put them in the repository they will be available if some other bundle needs it while the pickup dir and the admin console will both actively resolve and install the bundle.
When you get this problem could you use the admin console, osgi state tab to look for anything exporting the org.slf4j.impl package and just sanity check it is actually there, and at the requested version.
Chris.
------------------------------------------------
Chris Frost, Twitter @cgfrost
Springsource, a divison of VMware.
|
|
|
|
|
Re: server.profile incomplete [message #668117 is a reply to message #595941] |
Tue, 03 May 2011 19:50 |
|
had the same issue too...edited java6-server.profile and the issue seemed to be resolved...ran into another issue though but this could be non related to this problem
I was trying to run the jsf-demo I found here:
https://issuetracker.springsource.com/browse/DMS-2874
and I now get this error:
at org.eclipse.virgo.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:131)
at org.eclipse.virgo.kernel.install.artifact.internal.StandardArtifactStateMonitor.onStarted(StandardArtifactStateMonitor.java:247)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:293)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.access$0(AbstractInstallArtifact.java:290)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:228)
at org.eclipse.virgo.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:143)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.eclipse.gemini.web.core.WebApplicationStartFailedException: org.eclipse.gemini.web.core.spi.ServletContainerException: Web application at '/jsf-demo' failed to start. Check the logs for more details.
at org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:108)
at org.eclipse.virgo.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:122)
... 8 common frames omitted
Caused by: org.eclipse.gemini.web.core.spi.ServletContainerException: Web application at '/jsf-demo' failed to start. Check the logs for more details.
at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:123)
at org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:91)
... 9 common frames omitted
Will try my luck in the JSF2 topic on the forums here. grts
|
|
|
Powered by
FUDForum. Page generated in 0.25161 seconds