Yes, the bean deploys and works ok by itself.  it's used by a web application and 
works fine outside of cactus.  when i deploy my cactified war and try to run my test 
is only when i see the error.  we've had an "incident" today where our build folder 
was removed and it's taking some time to get things working again. 

> -----Original Message-----
> From: Vincent Massol [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 12, 2004 3:01 PM
> To: 'Cactus Users List'
> Subject: RE: error testing ejb - wls 8.1
> 
> 
> 
> 
> > -----Original Message-----
> > From: Mark Lybarger [mailto:[EMAIL PROTECTED]
> > Sent: 12 February 2004 20:37
> > To: Cactus Users List
> > Subject: RE: error testing ejb - wls 8.1
> > 
> > But this is the container provided method, no?  My bean class
> > (EventMaintenanceBean) doesn't have this method.  Neither do the
> remote
> > component or home interface.
> 
> Ah! Ok. Does this application deploys fine in WL without the Cactus
> tests? It seems to me the problem is application related. Could you
> attach the weblogic log file showing the error?
> 
> Thanks
> -Vincent
> 
> > 
> > 
> > > -----Original Message-----
> > > From: Vincent Massol [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, February 12, 2004 12:36 PM
> > > To: 'Cactus Users List'
> > > Subject: RE: error testing ejb - wls 8.1
> > >
> > >
> > > Hi Mark,
> > >
> > > It seems there is some error in your code:
> > >
> > > Caused by: java.lang.ArrayIndexOutOfBoundsException: 59
> > > at
> > > com.cbc.isac.ejb20.event.EventMaintenance_dbvlfm_EOImpl_812_WL
> > > Stub.ensur
> > > eInitialized(Unknown Source) at
> > > com.cbc.isac.ejb20.event.EventMaintenance_dbvlfm_EOImpl_812_WL
> > > Stub.<init
> > > >(Unknown Source) ... 48 more
> > >
> > > in your EventMaintenance.ensureInitialized() method.
> > >
> > > Thanks
> > > -Vincent
> > >
> > > > -----Original Message-----
> > > > From: Mark Lybarger [mailto:[EMAIL PROTECTED]
> > > > Sent: 12 February 2004 15:58
> > > > To: 'Cactus-User (E-mail)
> > > > Subject: error testing ejb - wls 8.1
> > > >
> > > > I'm getting an error running cactus tests on wls 8.1.  I'm using
> > > cactus
> > > > 1.6dev-20031023.  I've include my ant task i'm using to run
> > > the test,
> > > and
> > > > the error I'm seeing.  Hopefully, it's just a simple
> > > classpath issue.
> > > Any
> > > > suggestions?  The weblogic.classpath contains all jars in
> > > > weblogic/server/lib folder.  and the other element is my source
> > > classes.
> > > > i'm testing ejb's.   my beans are individually deployed
> applications
> > > (each
> > > > bean has it's own deployable jar file) and is targeted and
> > > deployed to
> > > an
> > > > app server.  my cactified war is deployed to the same app
> container.
> > > >
> > > > ant tasks:
> > > >
> > > >     <cactifywar
> > > >
> > >
> mergewebxml="${base.webapp}/httpUnit/ServletTestRunnerIntegration.xml"
> > > > version="2.3" destfile="${isac.test.war}">
> > > >       <classes dir="${base.webapp.web-inf.classes}"
> > > includes="**/*.class"
> > > > />
> > > >       <lib dir="${base.webapp.web-inf.lib}">
> > > >         <include name="*.jar" />
> > > >       </lib>
> > > >     </cactifywar>
> > > >
> > > >   <target name="test.isac.ejb" depends="init">
> > > >         <!-- make sure prior results are cleaned out -->
> > > >     <mkdir dir="./testResults"/>
> > > >     <delete>
> > > >       <fileset dir="./testResults" includes="**/*"/>
> > > >     </delete>
> > > >
> > > >         <!-- run the tests -->
> > > >     <cactus fork="yes" warfile="${isac.test.war}"
> > > > printsummary="withOutAndErr">
> > > >       <formatter type="xml" />
> > > >       <classpath>
> > > >                 <path refid="weblogic.classpath" />
> > > >         <pathelement 
> location="${base.webapp.web-inf.classes}" />
> > > >       </classpath>
> > > >       <containerset>
> > > >         <generic name="${isac.app.server.name}"
> > > > port="${isac.app.server.port}" />
> > > >       </containerset>
> > > >       <batchtest todir="./testResults">
> > > >         <fileset dir="${base.webapp.web-inf.classes}">
> > > >           <include name="**/ejb20/**/*Test*" />
> > > >           <exclude name="**/EventSubmit*Test.class" />
> > > >           <exclude name="**/ui/*" />
> > > >         </fileset>
> > > >       </batchtest>
> > > >     </cactus>
> > > >
> > > >         <!-- create the results -->
> > > >     <junitreport todir="./testResults">
> > > >       <fileset dir="./testResults" includes="TEST-*.xml" />
> > > >       <report format="frames" todir="./testResults" />
> > > >     </junitreport>
> > > >         <!-- put the testResults into test.war -->
> > > >     <jar update="true" destfile="${isac.test.war}"
> > > > basedir="./testResults"/>
> > > >
> > > >   </target>
> > > >
> > > >
> > > >
> > > > error message:
> > > >
> > > >
> > > > ***** ASSERTION FAILED *****[ Failed to generate class for
> > > > 
> com.cbc.isac.ejb20.event.EventMaintenance_dbvlfm_EOImpl_812_WLStub
> ]
> > > >
> > > > java.lang.reflect.InvocationTargetException
> > > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > > Method)
> > > > at
> > > >
> > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCo
> > > nstructorA
> > > cc
> > > > essorImpl.java:39)
> > > > at
> > > >
> > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Dele
> > > gatingCons
> > > tr
> > > > uctorAccessorImpl.java:27)
> > > > at 
> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> > > > at
> > > >
> > > weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator
> > > .java:805)
> > > > at
> > > >
> > > weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator
> > > .java:790)
> > > > at
> weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
> > > > at
> > > >
> > > weblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(Remot
> > > eObjectRep
> > > la
> > > > cer.java:214)
> > > > at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:142)
> > > > at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
> > > > at
> > > >
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> > > odAccessor
> > > Im
> > > > pl.java:25)
> > > > at
> > > java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.
> > > java:911)
> > > > at
> > > >
> > > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream
> > > .java:1655
> > > )
> > > > at
> > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
> > > > at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
> > > > at
> > > >
> > > weblogic.rmi.internal.CBVInputStream.readObjectInternal(CBVInp
> > > utStream.j
> > > av
> > > > a:67)
> > > > at
> > > weblogic.rmi.internal.CBVInputStream.readObject(CBVInputStream
> > > .java:61)
> > > > at
> > > >
> > > weblogic.rmi.internal.ServerRequest.unmarshalReturn(ServerRequ
> > > est.java:9
> > > 7)
> > > > at
> > > >
> > > weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAware
> > > RemoteRef.
> > > ja
> > > > va:285)
> > > > at
> > > >
> > > weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAware
> > > RemoteRef.
> > > ja
> > > > va:244)
> > > > at
> > > >
> > > com.cbc.isac.ejb20.event.EventMaintenance_dbvlfm_HomeImpl_812_
> > > WLStub.cre
> > > at
> > > > e(Unknown Source)
> > > > at
> > > >
> > > com.cbc.isac.ejb20.event.EventMaintenanceTest.setUp(EventMaint
> > > enanceTest
> > > .j
> > > > ava:49)
> > > > at
> > > >
> > > org.apache.cactus.ServletTestCase.runCactusTest(ServletTestCas
> > > e.java:295
> > > )
> > > > at
> > > 
> org.apache.cactus.ServletTestCase.runBare(ServletTestCase.java:263)
> > > > at
> > > >
> > > org.apache.cactus.server.AbstractWebTestCaller.doTest(Abstract
> > > WebTestCal
> > > le
> > > > r.java:156)
> > > > at
> > > >
> > > org.apache.cactus.server.AbstractWebTestController.handleReque
> > > st_aroundB
> > > od
> > > > y0(AbstractWebTestController.java:130)
> > > > at
> > > >
> > > org.apache.cactus.server.AbstractWebTestController.handleReque
> > > st_aroundB
> > > od
> > > > y1$advice(AbstractWebTestController.java:158)
> > > > at
> > > >
> > > org.apache.cactus.server.AbstractWebTestController.handleReque
> > > st(Abstrac
> > > tW
> > > > ebTestController.java)
> > > > at
> > > >
> > > org.apache.cactus.server.ServletTestRedirector.doPost_aroundBo
> > > dy2(Servle
> > > tT
> > > > estRedirector.java:138)
> > > > at
> > > >
> > > org.apache.cactus.server.ServletTestRedirector.doPost_aroundBo
> > > dy3$advice
> > > (S
> > > > ervletTestRedirector.java:158)
> > > > at
> > > >
> > > org.apache.cactus.server.ServletTestRedirector.doPost(ServletT
> > > estRedirec
> > > to
> > > > r.java)
> > > > at
> > > >
> > > org.apache.cactus.server.ServletTestRedirector.doGet_aroundBod
> > > y0(Servlet
> > > Te
> > > > stRedirector.java:109)
> > > > at
> > > >
> > > org.apache.cactus.server.ServletTestRedirector.doGet_aroundBod
> > > y1$advice(
> > > Se
> > > > rvletTestRedirector.java:158)
> > > > at
> > > >
> > > org.apache.cactus.server.ServletTestRedirector.doGet(ServletTe
> > > stRedirect
> > > or
> > > > .java)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > at
> > > >
> > > weblogic.servlet.internal.ServletStubImpl$ServletInvocationAct
> > > ion.run(Se
> > > rv
> > > > letStubImpl.java:971)
> > > > at
> > > >
> > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle
> > > tStubImpl.
> > > ja
> > > > va:402)
> > > > at
> > > >
> > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle
> > > tStubImpl.
> > > ja
> > > > va:305)
> > > > at
> > > >
> > > weblogic.servlet.internal.WebAppServletContext$ServletInvocati
> > > onAction.r
> > > un
> > > > (WebAppServletContext.java:6354)
> > > > at
> > > >
> > > weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authe
> > > nticatedSu
> > > bj
> > > > ect.java:317)
> > > > at
> > > >
> > > weblogic.security.service.SecurityManager.runAs(SecurityManage
> > > r.java:118
> > > )
> > > > at
> > > >
> > > weblogic.servlet.internal.WebAppServletContext.invokeServlet(W
> > > ebAppServl
> > > et
> > > > Context.java:3635)
> > > > at
> > > >
> > > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRe
> > > questImpl.
> > > ja
> > > > va:2585)
> > > > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
> > > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
> > > > Caused by: java.lang.ArrayIndexOutOfBoundsException: 59
> > > > at
> > > >
> > > com.cbc.isac.ejb20.event.EventMaintenance_dbvlfm_EOImpl_812_WL
> > > Stub.ensur
> > > eI
> > > > nitialized(Unknown Source)
> > > > at
> > > >
> > > com.cbc.isac.ejb20.event.EventMaintenance_dbvlfm_EOImpl_812_WL
> > > Stub.<init
> > > >(
> > > > Unknown Source)
> > > > ... 48 more
> > > > --------------- nested within: ------------------
> > > > weblogic.utils.AssertionError: ***** ASSERTION FAILED
> > > *****[ Failed to
> > > > generate class for
> > > >
> > > 
> com.cbc.isac.ejb20.event.EventMaintenance_dbvlfm_EOImpl_812_WLStub ]
> -
> > > > with nested exception:
> > > > [java.lang.reflect.InvocationTargetException - with target
> > > exception:
> > > > [java.lang.ArrayIndexOutOfBoundsException: 59]]
> > > > at
> > > >
> > > weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator
> > > .java:807)
> > > > at
> > > >
> > > weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator
> > > .java:790)
> > > > at
> weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
> > > > at
> > > >
> > > weblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(Remot
> > > eObjectRep
> > > la
> > > > cer.java:214)
> > > > at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:142)
> > > > at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
> > > > at
> > > >
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> > > odAccessor
> > > Im
> > > > pl.java:25)
> > > > at
> > > java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.
> > > java:911)
> > > > at
> > > >
> > > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream
> > > .java:1655
> > > )
> > > > at
> > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
> > > > at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
> > > > at
> > > >
> > > weblogic.rmi.internal.CBVInputStream.readObjectInternal(CBVInp
> > > utStream.j
> > > av
> > > > a:67)
> > > > at
> > > weblogic.rmi.internal.CBVInputStream.readObject(CBVInputStream
> > > .java:61)
> > > > at
> > > >
> > > weblogic.rmi.internal.ServerRequest.unmarshalReturn(ServerRequ
> > > est.java:9
> > > 7)
> > > > at
> > > >
> > > weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAware
> > > RemoteRef.
> > > ja
> > > > va:285)
> > > > at
> > > >
> > > weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAware
> > > RemoteRef.
> > > ja
> > > > va:244)
> > > > at
> > > >
> > > com.cbc.isac.ejb20.event.EventMaintenance_dbvlfm_HomeImpl_812_
> > > WLStub.cre
> > > at
> > > > e(Unknown Source)
> > > > at
> > > >
> > > com.cbc.isac.ejb20.event.EventMaintenanceTest.setUp(EventMaint
> > > enanceTest
> > > .j
> > > > ava:49)
> > > > at
> > > >
> > > org.apache.cactus.ServletTestCase.runCactusTest(ServletTestCas
> > > e.java:295
> > > )
> > > > at
> > > 
> org.apache.cactus.ServletTestCase.runBare(ServletTestCase.java:263)
> > > > at
> > > >
> > > org.apache.cactus.server.AbstractWebTestCaller.doTest(Abstract
> > > WebTestCal
> > > le
> > > > r.java:156)
> > > > at
> > > >
> > > org.apache.cactus.server.AbstractWebTestController.handleReque
> > > st_aroundB
> > > od
> > > > y0(AbstractWebTestController.java:130)
> > > > at
> > > >
> > > org.apache.cactus.server.AbstractWebTestController.handleReque
> > > st_aroundB
> > > od
> > > > y1$advice(AbstractWebTestController.java:158)
> > > > at
> > > >
> > > org.apache.cactus.server.AbstractWebTestController.handleReque
> > > st(Abstrac
> > > tW
> > > > ebTestController.java)
> > > > at
> > > >
> > > org.apache.cactus.server.ServletTestRedirector.doPost_aroundBo
> > > dy2(Servle
> > > tT
> > > > estRedirector.java:138)
> > > > at
> > > >
> > > org.apache.cactus.server.ServletTestRedirector.doPost_aroundBo
> > > dy3$advice
> > > (S
> > > > ervletTestRedirector.java:158)
> > > > at
> > > >
> > > org.apache.cactus.server.ServletTestRedirector.doPost(ServletT
> > > estRedirec
> > > to
> > > > r.java)
> > > > at
> > > >
> > > org.apache.cactus.server.ServletTestRedirector.doGet_aroundBod
> > > y0(Servlet
> > > Te
> > > > stRedirector.java:109)
> > > > at
> > > >
> > > org.apache.cactus.server.ServletTestRedirector.doGet_aroundBod
> > > y1$advice(
> > > Se
> > > > rvletTestRedirector.java:158)
> > > > at
> > > >
> > > org.apache.cactus.server.ServletTestRedirector.doGet(ServletTe
> > > stRedirect
> > > or
> > > > .java)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > at
> > > >
> > > weblogic.servlet.internal.ServletStubImpl$ServletInvocationAct
> > > ion.run(Se
> > > rv
> > > > letStubImpl.java:971)
> > > > at
> > > >
> > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle
> > > tStubImpl.
> > > ja
> > > > va:402)
> > > > at
> > > >
> > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle
> > > tStubImpl.
> > > ja
> > > > va:305)
> > > > at
> > > >
> > > weblogic.servlet.internal.WebAppServletContext$ServletInvocati
> > > onAction.r
> > > un
> > > > (WebAppServletContext.java:6354)
> > > > at
> > > >
> > > weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authe
> > > nticatedSu
> > > bj
> > > > ect.java:317)
> > > > at
> > > >
> > > weblogic.security.service.SecurityManager.runAs(SecurityManage
> > > r.java:118
> > > )
> > > > at
> > > >
> > > weblogic.servlet.internal.WebAppServletContext.invokeServlet(W
> > > ebAppServl
> > > et
> > > > Context.java:3635)
> > > > at
> > > >
> > > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRe
> > > questImpl.
> > > ja
> > > > va:2585)
> > > > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
> > > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
> > > >
> > > > ---
> > > > Outgoing mail is certified Virus Free.
> > > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > > Version: 6.0.574 / Virus Database: 364 - Release Date: 1/29/2004
> > > >
> > > >
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > >
> > >
> > >
> > > ---
> > > Incoming mail is certified Virus Free.
> > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > Version: 6.0.574 / Virus Database: 364 - Release Date: 1/29/2004
> > >
> > >
> > 
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.574 / Virus Database: 364 - Release Date: 1/29/2004
> > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.574 / Virus Database: 364 - Release Date: 1/29/2004
>  
> 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.574 / Virus Database: 364 - Release Date: 1/29/2004
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to