The second issue is now documented as Bug#516684. The testcase
shows an NPE at the start which is yet another class loader problem
related to the fact that the ejb-jar does not have a non-null CodeSource,
and so is logically grouped into the same category of classes as
those loaded from the system classpath for Java2 security reasons, and
this is invalid. I'll file a seperate bug on this and look into that myself.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
----- Original Message -----
From: "David Jencks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 12, 2002 2:19 PM
Subject: Re: [JBoss-dev] Mbean dependancies


> I'll take a look at these.
>
> I think the first will require adding a depends element to jboss.xml which
> will translate into a dependency of the application on the referenced
> mbean.  This will also require making Application into an mbean, which I
> want to do anyway.
>
> btw my change for allowing things to depend on ejbs puts the ejb container
> mbean in the mbean server when it is created, not after it is started.
> Should I make it so invoke and invokeHome throw exceptions if the
Container
> is not started?
>
> david jencks
>

> >
> > 2. Reploying the sar causes a ClassCastException even though the
previous
> > ejb jar and sar are undeployed first. The ServiceLibraries must not be
> > getting cleaned up correctly.
> >
> > +++ testTimings()
> > testTimings failed:
> > java.lang.ClassCastException
> > at
> >
com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemo
> > teObject.java:296)
> > at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
> > at org.jboss.test.perf.test.PerfTest.testTimings(PerfTest.java:94)
> > at org.jboss.test.perf.test.PerfTest.runTests(PerfTest.java:52)
> > at java.lang.reflect.Method.invoke(Native Method)
> > at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> > at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> > at com.sun.jdmk.comm.HtmlInvokePage.buildPage(HtmlInvokePage.java:240)
> > at
> >
com.sun.jdmk.comm.HtmlRequestHandler.processGetRequest(HtmlRequestHandler.ja
> > va:325)
> > at
> >
com.sun.jdmk.comm.HtmlRequestHandler.processRequest(HtmlRequestHandler.java:
> > 152)
> > at
com.sun.jdmk.comm.HtmlRequestHandler.doRun(HtmlRequestHandler.java:79)
> > at com.sun.jdmk.comm.ClientHandler.run(ClientHandler.java:84)
> > at java.lang.Thread.run(Thread.java:484)
> >
> > This code will be checked into the testsuite shortly and I'll file bug
> > reports for
> > these two issues. I haven't tried deploying the code as an ear that
> > includes
> > a sar.



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to