Re: libraries mixed-up
by Carlo de Wolf
Put them in a separate project, so we can binary import them both in AS
4.x and AS 5.x. I've got a mavenized ejb3x in AS trunk/projects.
Carlo
On Fri, 2007-02-23 at 09:10 -0500, Bill Burke wrote:
> ejb3x should really be a javaee5.jar
>
> that includes all the new javaee5 interfaces, etc.
>
>
>
> Dimitris Andreadis wrote:
> > I see a mix-up in our libraries, that leads to classloading errors in
> > the testsuites (see in
> > the bottom):
> >
> > - sun-servlet in thirdparty was v2.4, although jboss-web comes with it's
> > own servlet-api
> > jars at v2.5. I changed thirdparty to v2.5, too
> >
> > - jboss-ejb3x in deploy/ejb3.deployer/ should really be in
> > server/xxx/lib, right? (I have
> > moved it).
> >
> > - jboss-ejb3x and jboss-web.deployer/annotations-api.jar contain *some*
> > duplicates (I think
> > this causes the classloading errors). Unless we are going to create a
> > new shared module, I
> > believe we need to add the missing source code in our ejb3x module and
> > not deploy
> > annotations-api.jar
> >
> > - server-api.jar, jsp-api.jar, el-api.jar. We could have only one copy
> > of them in the
> > server/xxx/lib directory, and not have it also tin the
> > jboss-web.deployer/ dir
> >
> > Comments/Suggestions?
> >
> >
> >
> > 06:43:05,648 INFO [TomcatDeployer] deploy, ctxPath=/,
> > warUrl=.../deploy/jboss-web.deployer/ROOT.war/
> > 06:43:06,847 ERROR [Registry] Null component
> > jboss.web:type=JspMonitor,name=jsp,WebModule=//localhost/,J2EEApplication=none,J2EEServer=none
> >
> > 06:43:06,848 ERROR [BaseModelMBean] Exception invoking method addChild
> > java.lang.NoClassDefFoundError: javax/annotation/security/DeclareRoles
> > at
> > org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:244)
> >
> > at
> > org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73)
> >
> > at
> > org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56)
> >
> > at
> > org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:297)
> >
> > at
> > org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1064)
> > at
> > org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
> >
> > at
> > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
> >
> > at
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4263)
> > at
> > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
> >
> > at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
> > at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
> > at
> > jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
> >
> > Source)
> > at
> > java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
> >
> > Source)
> > at
> > org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
> >
> > at
> > org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
> > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> > at
> > org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
> > at
> > jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
> >
> > Source)
> > at
> > java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
> >
> > Source)
> > at
> > org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
> >
> > at
> > org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
> > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> > at
> > org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
> >
> > at
> > org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
> >
> > at
> > org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:372)
> > at org.jboss.web.WebModule.startModule(WebModule.java:83)
> > 06:43:06,981 ERROR [BaseModelMBean] Exception invoking method init
> > javax.management.RuntimeErrorException: Error invoking method addChild
> > at
> > org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:308)
> >
> > at
> > org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
> > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> > at
> > org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
> > at
> > jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
> >
> > Source)
> > at
> > java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
> >
> > Source)
> > at
> > org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
> >
> > at
> > org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
> > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> > at
> > org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
> >
> > at
> > org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
> >
> > at
> > org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:372)
> > at org.jboss.web.WebModule.startModule(WebModule.java:83)
> > at org.jboss.web.WebModule.startService(WebModule.java:61)
> > at
> > org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
> >
> > at
> > org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
> >
> > at
> > jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
> >
> > Source)
> > at
> > java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
> >
> > Source)
> > at
> > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
> >
> > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> > at
> > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> >
> > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> > at
> > org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
> >
> > at $Proxy0.start()V(Unknown Source)
> > at org.jboss.system.ServiceController.start(ServiceController.java:417)
> > Caused by: java.lang.NoClassDefFoundError:
> > javax/annotation/security/DeclareRoles
> > at
> > org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:244)
> >
> > at
> > org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73)
> >
> > at
> > org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56)
> >
> > at
> > org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:297)
> >
> > at
> > org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1064)
> > at
> > org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
> >
> > at
> > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
> >
> > at
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4263)
> > at
> > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
> >
> > at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
> > at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
> > at
> > jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
> >
> > Source)
> > at
> > java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
> >
> > Source)
> > at
> > org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
> >
> > at
> > org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
> > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> > at
> > org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
> > at
> > jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
> >
> > Source)
> > at
> > java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
> >
> > Source)
> > at
> > org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
> >
> > at
> > org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
> > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> > at
> > org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
> >
> > at
> > org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
> >
> > at
> > org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:372)
> > at org.jboss.web.WebModule.startModule(WebModule.java:83)
> >
>
17 years, 9 months
jaxen in AS
by Thomas Diesler
I see that jaxen.jar is not included in AS50. Therefore the current
jbpem-bpel.sar (1.1.0-Beta4) which also does not include jaxen anymore
but depends on it does not run in AS50
What other component uses jaxen? If there is none, then jbpem-bpel.sar
should include jaxen.jar
More generally, I suggest we radically remove all thirdparty jars that
are not referenced from component-info.xml and make it a requirement
that a component declares its dependencies. This should avoid the
problem of carrying over stale thirdparty jars that nobody knows what
they are used for.
In other words, to answer the question: What component uses jar X? I
only need to scan the component-info.xml(s) for X
cheers
-thomas
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
Web Service Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
17 years, 10 months
About to tag 4.2.0.CR1
by Dimitris Andreadis
I think we are ready to tag 4.2.0.CR1. Is there anyone still working on Branch_4_2 ?
The testsuites are as good as they can get; we have mostly transient and a couple of other
failures that need further investigation, but we can do this right after the release.
The only think left for me is to create the release notes, so I can either tag now and
re-rag the notes tomorrow (just a file) before the distro is released, or wait for another
testsuite cycle and do the tagging tomorrow.
What do you think?
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Dimitris Andreadis
JBoss AS, Project Lead
JBoss, a Division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
17 years, 10 months