Hi Vincent!

Vincent Massol wrote:
> That's great to hear ! I'll put you as volunteer on the todo page (will do
> tonight). Thanks for that.

Do you think the approach is the right one? I mean, using mock-objects
as another container?

> Regarding Cactus installation, the easiest to start with is simply to try
> with the sample application first :
> - download the packaged Ant first and install it per the instructions on the
> web site
> - unzip the Cactus distribution, go into the sample\build directory and run
> "ant usage"

That's what I'm trying to do, but with no luck. Neither Tomcat 3.3 (with
a custom server.xml) nor Weblogic 5.1 (sp 9 I should add) do the tests.

Tomcat seems to start OK but shows no messages.

Weblogic spits out the following error:

     [java] lun jul 02 10:44:48 CEST 2001:<E> <HTTP> Error reading Web
applicati
on 'out/test/weblogic51/testinstance/test'
     [java] java.net.NoRouteToHostException: Operation timed out: no
further inf
ormation
     [java]     at java.net.PlainSocketImpl.socketConnect(Native Method)
     [java]     at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
     [java]     at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav
a:125)
     [java]     at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
     [java]     at java.net.Socket.<init>(Socket.java:273)
     [java]     at java.net.Socket.<init>(Socket.java:100)
     [java]     at
sun.net.NetworkClient.doConnect(NetworkClient.java:50)
     [java]     at
sun.net.www.http.HttpClient.openServer(HttpClient.java:331)
     [java]     at
sun.net.www.http.HttpClient.openServer(HttpClient.java:517)
     [java]     at
sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
     [java]     at
sun.net.www.http.HttpClient.<init>(HttpClient.java:277)
     [java]     at sun.net.www.http.HttpClient.New(HttpClient.java:289)
     [java]     at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLCo
nnection.java:379)
     [java]     at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Ht
tpURLConnection.java:472)
     [java]     at
com.sun.xml.parser.Resolver.createInputSource(Resolver.java:2
53)
     [java]     at
com.sun.xml.parser.ExternalEntity.getInputSource(ExternalEnti
ty.java:49)
     [java]     at
com.sun.xml.parser.Parser.pushReader(Parser.java:2748)
     [java]     at
com.sun.xml.parser.Parser.externalParameterEntity(Parser.java
:2500)
     [java]     at
com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1136)
     [java]     at
com.sun.xml.parser.Parser.parseInternal(Parser.java:480)
     [java]     at com.sun.xml.parser.Parser.parse(Parser.java:283)
     [java]     at
weblogic.xml.dom.SunDOMParser.getDocument(SunDOMParser.java:6
9)
     [java]     at
weblogic.xml.dom.DOMParser.getDocument(DOMParser.java:81)
     [java]     at
weblogic.servlet.internal.dd.DescriptorLoader.<init>(Descript
orLoader.java:214)
     [java]     at
weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:64
8)
     [java]     at
weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.ja
va:625)
     [java]     at
weblogic.t3.srvr.HttpServer.start(HttpServer.java:442)
     [java]     at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1302)
     [java]     at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
     [java]     at java.lang.reflect.Method.invoke(Native Method)
     [java]     at
weblogic.Server.startServerDynamically(Server.java:99)
     [java]     at weblogic.Server.main(Server.java:65)
     [java]     at weblogic.Server.main(Server.java:55)
     [java]
     [java] lun jul 02 10:44:48 CEST 2001:<E> <HTTP> Error creating
servlet cont
ext for Web application 'out/test/weblogic51/testinstance/test'
     [java] java.lang.NullPointerException
     [java]     at
weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.ja
va:626)
     [java]     at
weblogic.t3.srvr.HttpServer.start(HttpServer.java:442)
     [java]     at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1302)
     [java]     at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
     [java]     at java.lang.reflect.Method.invoke(Native Method)
     [java]     at
weblogic.Server.startServerDynamically(Server.java:99)
     [java]     at weblogic.Server.main(Server.java:65)
     [java]     at weblogic.Server.main(Server.java:55)
     [java]
     [java] lun jul 02 10:44:49 CEST 2001:<I> <ZAC> ZAC ACLs initialized
     [java] lun jul 02 10:44:49 CEST 2001:<I> <ZAC> ZAC packages stored
in local
 directory exports
     [java] lun jul 02 10:44:49 CEST 2001:<I> <ListenThread> Listening
on port:
8080
     [java] lun jul 02 10:44:49 CEST 2001:<I> <ListenThread> Adding
address: 127
.0.0.1/127.0.0.1 to licensed client list
     [java] lun jul 02 10:44:50 CEST 2001:<I> <WebLogicServer> WebLogic
Server s
tarted

Un saludo,

Alex.

> 
> Cheers,
> Vincent

Reply via email to