Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » StandardBundleHolder does not have the property 'exportingBundle'
StandardBundleHolder does not have the property 'exportingBundle' [message #633739] Tue, 19 October 2010 08:07 Go to next message
guofeng zhang is currently offline guofeng zhangFriend
Messages: 49
Registered: July 2009
Member
Thing goes well with my work on Virgo web server M6 today. But sudden I got the following error message and some services of my bundles are not published (so my application failed).

I cannot solve it, so I create a new Vigo Web Server in the root directory. Launch it without any problem. Then deploy my bundles to pickup one by one, then go to the Admin Console, I found the messages displayed again in the log file.

How to solve it? Is any cache in my machine cause it?

[2010-10-19 15:54:21.563] http-8080-1 org.springframework.web.servlet.DispatcherServlet FrameworkServlet 'admin': initialization completed in 610 ms
[2010-10-19 15:54:40.035] http-8080-2 System.err Oct 19, 2010 3:54:40 PM org.apache.catalina.core.ApplicationDispatcher invoke
[2010-10-19 15:54:40.035] http-8080-2 System.err SEVERE: Servlet.service() for servlet jsp threw exception
[2010-10-19 15:54:40.035] http-8080-2 System.err javax.el.PropertyNotFoundException: The class 'org.eclipse.virgo.apps.admin.core.state.StandardBundleHolde r' does not have the property 'exportingBundle'.
[2010-10-19 15:54:40.035] http-8080-2 System.err at javax.el.BeanELResolver.getBeanProperty(BeanELResolver.java: 574)
[2010-10-19 15:54:40.035] http-8080-2 System.err at javax.el.BeanELResolver.getValue(BeanELResolver.java:280)
[2010-10-19 15:54:40.035] http-8080-2 System.err at javax.el.CompositeELResolver.getValue(CompositeELResolver.ja va:143)
[2010-10-19 15:54:40.035] http-8080-2 System.err at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
[2010-10-19 15:54:40.035] http-8080-2 System.err at org.apache.el.parser.AstDynamicExpression.getValue(AstDynami cExpression.java:42)
......................
[2010-10-19 15:54:40.035] http-8080-2 System.err at java.lang.Thread.run(Thread.java:619)
[2010-10-19 15:54:40.035] http-8080-2 System.err Oct 19, 2010 3:54:40 PM org.apache.catalina.core.StandardWrapperValve invoke
[2010-10-19 15:54:40.035] http-8080-2 System.err SEVERE: Servlet.service() for servlet admin threw exception
[2010-10-19 15:54:40.035] http-8080-2 System.err javax.el.PropertyNotFoundException: The class 'org.eclipse.virgo.apps.admin.core.state.StandardBundleHolde r' does not have the property 'exportingBundle'.
[2010-10-19 15:54:40.050] http-8080-2 System.err at javax.el.BeanELResolver.getBeanProperty(BeanELResolver.java: 574)
[2010-10-19 15:54:40.050] http-8080-2 System.err at javax.el.BeanELResolver.getValue(BeanELResolver.java:280)
.....................
[2010-10-19 15:54:40.050] http-8080-2 System.err at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin t.java:489)
[2010-10-19 15:54:40.050] http-8080-2 System.err at java.lang.Thread.run(Thread.java:619)
Re: StandardBundleHolder does not have the property 'exportingBundle' [message #633755 is a reply to message #633739] Tue, 19 October 2010 09:48 Go to previous messageGo to next message
guofeng zhang is currently offline guofeng zhangFriend
Messages: 49
Registered: July 2009
Member
The issue might caused by the following line in MANIFEST.MF:
Require-Bundle: org.eclipse.persistence.jpa;bundle-version="2.1.1"

Removing it, Everything works as expected, and also no above error displayed in the log.

But Require-Bundle is a standard header, is it a bug?
Re: StandardBundleHolder does not have the property 'exportingBundle' [message #634165 is a reply to message #633739] Wed, 20 October 2010 16:29 Go to previous messageGo to next message
guofeng zhang is currently offline guofeng zhangFriend
Messages: 49
Registered: July 2009
Member
This issue can be reproduced on Virgo Web Server RC1.

This time, I added:
Require-Bundle: org.eclipse.persistence.jpa;bundle-version="2.1.1"

to a domain bundle, which has only entity classes defined.

After I click "View this bundle artifact" for this bundle on the UI page, the log has the same error message displayed, and the UI page displayed:
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/jsp/state-bundle.jsp at line 188

185: 							<c:set var="provider" value=""/>
186: 						</c:when>
187: 						<c:otherwise>
188: 							<c:set var="provider" value="${require.provider.exportingBundle.bundleId} (${require.provider.exportingBundle.symbolicName} - ${require.provider.exportingBundle.version})"/>
189: 						</c:otherwise>
190: 					</c:choose>
191: 		<!-- ROW COLOURING -->


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1031)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:815)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:717)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause

javax.el.PropertyNotFoundException: The class 'org.eclipse.virgo.apps.admin.core.state.StandardBundleHolder' does not have the property 'exportingBundle'.
	javax.el.BeanELResolver.getBeanProperty(BeanELResolver.java:574)
..................

Re: StandardBundleHolder does not have the property 'exportingBundle' [message #634275 is a reply to message #634165] Thu, 21 October 2010 05:56 Go to previous message
guofeng zhang is currently offline guofeng zhangFriend
Messages: 49
Registered: July 2009
Member
I fired the bug 328312.
Previous Topic:Virgo Release Candidate
Next Topic:Successful completion of Virgo 2.1.0 Release and Graduation Review
Goto Forum:
  


Current Time: Thu Apr 25 06:45:54 GMT 2024

Powered by FUDForum. Page generated in 0.03564 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top