jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hu, Quentin" <Quentin...@ccra-adrc.gc.ca>
Subject EJB sampe failed for 1.6Dev
Date Mon, 23 Feb 2004 21:43:30 GMT
Sir,
I am running the EJB sample provided by 1.6Dev over Weblogic 7.0SP2.
Got the following errors. Can you please give me a hint?

<snip>===================================================================>

'C:\apache\cactus\jakarta-cactus-13-1.6dev20040214\lib\j2ee.jar;C:\apache\ca
ctus\jakarta-cactus-13-1.6dev20040214\lib\cl
over.jar;C:\apache\cactus\jakarta-cactus-13-1.6dev20040214\samples\ejb\targe
t\classes\java;C:\apache\cactus\jakarta-cact
us-13-1.6dev20040214\samples\ejb\target\classes\cactus;C:\apache\cactus\jaka
rta-cactus-13-1.6dev20040214\lib\junit-3.8.1
.jar;C:\apache\ant16\lib\ant.jar;C:\apache\ant16\lib\optional.jar;C:\apache\
cactus\jakarta-cactus-13-1.6dev20040214\lib\
aspectjrt-1.1.1.jar;C:\apache\cactus\jakarta-cactus-13-1.6dev20040214\lib\ca
ctus-1.6dev20040214.jar;C:\apache\cactus\jak
arta-cactus-13-1.6dev20040214\lib\cactus-ant-1.6dev20040214.jar;C:\apache\ca
ctus\jakarta-cactus-13-1.6dev20040214\lib\co
mmons-logging-1.0.3.jar;C:\apache\cactus\jakarta-cactus-13-1.6dev20040214\li
b\commons-httpclient-2.0-rc2.jar'
'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner'
'org.apache.cactus.sample.ejb.TestConverterEJB'
'filtertrace=true'
'haltOnError=false'
'haltOnFailure=false'
'showoutput=false'
'formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultForm
atter'
'formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormat
ter,C:\apache\cactus\jakarta-cactus-13-1.6de
v20040214\samples\ejb\target\test-reports\weblogic7x\TEST-org.apache.cactus.
sample.ejb.TestConverterEJB.xml'
'propsfile=C:\apache\cactus\jakarta-cactus-13-1.6dev20040214\samples\ejb\jun
it1736024300.properties'

The ' characters around the executable and arguments are
not part of the command.

   [cactus] Testsuite: org.apache.cactus.sample.ejb.TestConverterEJB
   [cactus] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.552 sec

   [cactus] Testcase:
testConvert(org.apache.cactus.sample.ejb.TestConverterEJB):       Caused an
ERROR
   [cactus] Unable to resolve 'Converter' Resolved: ''
Unresolved:'Converter'
   [cactus] javax.naming.NameNotFoundException: Unable to resolve
'Converter' Resolved: '' Unresolved:'Converter' ; rema
ining name 'Converter'
   [cactus]     at
weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
   [cactus]     at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:263)
   [cactus]     at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:230)
   [cactus]     at
weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown Source)
   [cactus]     at
weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:337)
   [cactus]     at
weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)
   [cactus]     at
javax.naming.InitialContext.lookup(InitialContext.java:350)
   [cactus]     at
org.apache.cactus.sample.ejb.TestConverterEJB.setUp(Unknown Source)
   [cactus]     at
org.apache.cactus.AbstractCactusTestCase.runBareServer(AbstractCactusTestCas
e.java:145)
   [cactus]     at
org.apache.cactus.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.
java:122)
   [cactus]     at
org.apache.cactus.server.AbstractWebTestController.handleRequest_aroundBody0
(AbstractWebTestControlle
r.java:93)
   [cactus]     at
org.apache.cactus.server.AbstractWebTestController.handleRequest_aroundBody1
$advice(AbstractWebTestCo
ntroller.java:124)
   [cactus]     at
org.apache.cactus.server.AbstractWebTestController.handleRequest(AbstractWeb
TestController.java)
   [cactus]     at
org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTes
tRedirector.java:101)
   [cactus]     at
org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(Ser
vletTestRedirector.java:1
24)
   [cactus]     at
org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.
java)
   [cactus]     at
org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletTest
Redirector.java:72)
   [cactus]     at
org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(Serv
letTestRedirector.java:12
4)
   [cactus]     at
org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.j
ava)
   [cactus]     at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
   [cactus]     at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   [cactus]     at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1058)
   [cactus]     at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:401)
   [cactus]     at
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:20)
   [cactus]     at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
   [cactus]     at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:
5451)
   [cactus]     at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:780)
   [cactus]     at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3105)
   [cactus]     at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2588)
   [cactus]     at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
   [cactus]     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)


   [cactus] TEST org.apache.cactus.sample.ejb.TestConverterEJB FAILED
Setting project property: tests.failed -> true
   [cactus] Shutting down container
Finding class org.apache.cactus.integration.ant.container.ContainerRunner$2
Class org.apache.cactus.integration.ant.container.ContainerRunner$2 loaded
from ant loader
   +Task: java
dropping C:\bea7sp2\weblogic700\server\lib\weblogic_sp.jar from path as it
doesn't exist
dropping C:\bea7sp2\weblogic700\server\lib\weblogic_sp.jar from path as it
doesn't exist
   [cactus] Executing 'C:\jdk131\jre\bin\java.exe' with arguments:
   [cactus] '-classpath'
   [cactus] 'C:\bea7sp2\weblogic700\server\lib\weblogic.jar'
   [cactus] 'weblogic.Admin'
   [cactus] '-url'
   [cactus] 't3://localhost:7001'
   [cactus] '-username'
   [cactus] 'weblogic'
   [cactus] '-password'
   [cactus] 'weblogic'
   [cactus] 'SHUTDOWN'
   [cactus]
   [cactus] The ' characters around the executable and arguments are
   [cactus] not part of the command.
dropping C:\bea7sp2\weblogic700\server\lib\weblogic_sp.jar from path as it
doesn't exist
dropping C:\bea7sp2\weblogic700\server\lib\weblogic_sp.jar from path as it
doesn't exist
Execute:Java13CommandLauncher: Executing 'C:\jdk131\jre\bin\java.exe' with
arguments:
'-classpath'
'C:\bea7sp2\weblogic700\server\lib\weblogic.jar'
'weblogic.Admin'
'-url'
't3://localhost:7001'
'-username'
'weblogic'
'-password'
'weblogic'
'SHUTDOWN'

The ' characters around the executable and arguments are
not part of the command.

   [cactus] Failed to connect to
http://localhost:7001/cactus-sample-ejb/ServletRedirector?Cactus_Service=RUN
_TEST (Serv
er returned HTTP response code: 503 for URL:
http://localhost:7001/cactus-sample-ejb/ServletRedirector?Cactus_Service=RU
N_TEST)
   [cactus] Server "testserver" failed to shutdown successfully ...
   [cactus] Java Result: 1
   [cactus] Server stopped!
   [cactus] Container shut down
fileset: Setup scanner in dir
C:\apache\cactus\jakarta-cactus-13-1.6dev20040214\samples\ejb\target\test-re
ports\weblogic
7x with patternSet{ includes: [TEST-*.xml] excludes: [] }
[junitreport] Parsing file:
'C:\apache\cactus\jakarta-cactus-13-1.6dev20040214\samples\ejb\target\test-r
eports\weblogic7
x\TEST-org.apache.cactus.sample.ejb.TestConverterEJB.xml'

BUILD FAILED
file:///C:/apache/cactus/jakarta-cactus-13-1.6dev20040214/samples/ejb/build.
xml:315: Could not find xalan2 nor xalan1 in
 the classpath. Check http://xml.apache.org/xalan-j/
        at
org.apache.tools.ant.taskdefs.optional.junit.XalanExecutor.newInstance(Xalan
Executor.java:114)
        at
org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.transform(
AggregateTransformer.java:182)
        at
org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.execute(XML
ResultAggregator.java:172)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1331)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1275)
        at org.apache.tools.ant.Main.runBuild(Main.java:614)
        at org.apache.tools.ant.Main.start(Main.java:197)
        at org.apache.tools.ant.Main.main(Main.java:235)

Thanks in advance,
Quentin



Mime
View raw message