Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 50299 invoked from network); 5 Feb 2004 18:27:33 -0000 Received: from unknown (HELO smtpout.wamu.net) (63.92.194.5) by daedalus.apache.org with SMTP; 5 Feb 2004 18:27:33 -0000 Received: from twmuds008-smtprelay01 (twmuds008-smtprelay01 [32.85.29.195]) by smtpout.wamu.net (8.12.4/8.12.4) with ESMTP id i15ILXYw000816 for ; Thu, 5 Feb 2004 10:24:21 -0800 (PST) Received: from exisea012.us.wamu.net (localhost [127.0.0.1]) by twmuds008-smtprelay01.wamu.net (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) with ESMTP id <0HSM00K6YJ0LOB@twmuds008-smtprelay01.wamu.net> for cactus-user@jakarta.apache.org; Thu, 05 Feb 2004 10:22:08 -0800 (PST) Received: from EXMSEA005.us.wamu.net ([10.144.81.24]) by exisea012.us.wamu.net with Microsoft SMTPSVC(5.0.2195.6713); Thu, 05 Feb 2004 10:22:05 -0800 Date: Thu, 05 Feb 2004 10:22:05 -0800 From: "Karr, David" Subject: RE: 1.5 servlet sample doesn't connect to server with weblogic8.1.2 To: Cactus Users List Message-id: <0C260F619E428642BFA6380177C3ADF3A3FA7C@exmsea005.us.wamu.net> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-class: urn:content-classes:message Thread-topic: 1.5 servlet sample doesn't connect to server with weblogic8.1.2 Thread-index: AcPrbjFvI48vi5UERYKRaJVl1jg3uwApHm5g X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 05 Feb 2004 18:22:05.0585 (UTC) FILETIME=[F552C810:01C3EC14] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm still experimenting with this. I found one thing that makes the sample work, but I don't know why. It's funny how often something you do to just get easier access to debugging information actually fixes or changes the problem you're trying to track. I found that if I add a "tmpdir" property, to override the default of the "system temporary directory", I could change how this behaves. If I set this to "c:/tmp", then the test works every time. I tried variations of this, like deleting the "weblogic.xml" and "testdomain" directory before running the test, but that doesn't cause it to break. I tried a different variation by setting up a "target/container" directory, so the entire container directory is local to the target, and setting the "tmpdir" to that, but that produced the same result as not having "tmpdir" at all, it just fails to connect to the server. Can anyone see any other variations that would produce useful test data? -----Original Message----- From: Karr, David Sent: Wednesday, February 04, 2004 2:28 PM To: cactus-user@jakarta.apache.org Subject: 1.5 servlet sample doesn't connect to server with weblogic8.1.2 I took the 1.5 distribution out of the box, commented in the setting of "cactus.home.weblogic7x" in "build.properties" and set the value to the path to my weblogic81 (8.1.2) directory, and then ran "ant" in "samples/servlet". It eventually failed with the output contained in the first block following this. I don't know what "debug" mode is. I noticed there's a "debug" property in the "build.xml", but that was already on. I also included the "weblogic7x.out" file, in the second block (although I elided some of the stack trace entries to slightly reduce the size of this note). --------------- test: ----------------------------------------------------------------- Running tests against WebLogic 7.x ----------------------------------------------------------------- Deleting 80 files from c:\DOCUME~1\u166705\LOCALS~1\Temp\cactus\weblogic7x Deleted 44 directories from c:\DOCUME~1\u166705\LOCALS~1\Temp\cactus\weblogic7x Building jar: c:\DOCUME~1\u166705\LOCALS~1\Temp\cactus\weblogic7x\testdomain\applicati ons\cactus-sample-servlet-cactified.war BUILD FAILED file:c:/jakarta/jakarta-cactus-13-1.5/samples/servlet/build.xml:319: Failed to start the container after more than [180000] ms. Trying to connect to the [http://localhost:8080/cactus-sample-servlet-cactified/ServletRedirector ?Cactus_Service=RUN_TEST] test URL yielded a [-1] error code. Please run in debug mode for more details about the error. --------------- --------------------- (FileOutputStream.java:179) at java.io.FileOutputStream.(FileOutputStream.java:131) at weblogic.utils.jars.JarUtils.unpackJar(JarUtils.java:96) at weblogic.utils.jars.JarUtils.unpackRemoteJar(JarUtils.java:155) at weblogic.management.deploy.slave.SlaveDeployer$Application.explode(Slave Deployer.java:2979) > (FileOutputStream.java:179) at java.io.FileOutputStream.(FileOutputStream.java:131) at weblogic.utils.jars.JarUtils.unpackJar(JarUtils.java:96) at weblogic.utils.jars.JarUtils.unpackRemoteJar(JarUtils.java:155) at weblogic.management.deploy.slave.SlaveDeployer$Application.explode(Slave Deployer.java:2979) --------------- nested within: ------------------ weblogic.management.ManagementException: - with nested exception: [weblogic.management.DeploymentException: [Deployer:149225]Unable to unpack the application _appsdir_cactus-sample-servlet-cactified_war to the file .\testserver\stage\_appsdir_cactus-sample-servlet-cactified_war\cactus-s ample-servlet-cactified.war. java.io.FileNotFoundException: .\testserver\stage\_appsdir_cactus-sample-servlet-cactified_war\cactus-s ample-servlet-cactified.war\WEB-INF\classes\org\apache\cactus\sample\uni t\TestServerSideExceptions$SerializableException.class (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:179) at java.io.FileOutputStream.(FileOutputStream.java:131) at weblogic.utils.jars.JarUtils.unpackJar(JarUtils.java:96) at weblogic.utils.jars.JarUtils.unpackRemoteJar(JarUtils.java:155) at weblogic.management.deploy.slave.SlaveDeployer$Application.explode(Slave Deployer.java:2979) > --------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: cactus-user-help@jakarta.apache.org