[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-861) class not found error javax.interceptor.InvocationContext when running hibernate2 example on head
Michael Yuan (JIRA)
jira-events at lists.jboss.org
Fri Feb 16 14:55:29 EST 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-861?page=comments#action_12353397 ]
Michael Yuan commented on JBSEAM-861:
-------------------------------------
The JPA example has the same issue. It seems that error is thrown when the "new JavaBeanInterceptor" statement in Component.java is called.
protected Object instantiateJavaBean() throws Exception
{
Object bean = getBeanClass().newInstance();
if (interceptionType==InterceptionType.NEVER)
{
initialize(bean);
callPostConstructMethod(bean);
}
else
{
JavaBeanInterceptor interceptor = new JavaBeanInterceptor(bean, this);
bean = wrap(bean, interceptor);
interceptor.postConstruct();
}
return bean;
}
The JavaBeanInterceptor calls RootInterceptor.init() from its constructor. But I do not see anything out of ordinary there ... Is the JavaBeanInterceptor constructor method itself being intercepted?
I checked 1.1.5.GA and it has the exact same code. So, the issue must be somewhere else ...
> class not found error javax.interceptor.InvocationContext when running hibernate2 example on head
> -------------------------------------------------------------------------------------------------
>
> Key: JBSEAM-861
> URL: http://jira.jboss.com/jira/browse/JBSEAM-861
> Project: JBoss Seam
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.1.7.GA
> Reporter: youngm
> Fix For: 1.1.7.GA
>
>
> class not found error javax.interceptor.InvocationContext when running hibernate2 example in jboss.
> The source of the problem appears to be the addition of "new EE5SeamInvocationContext" in RootInterceptor:145.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list