jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <david.k...@wamu.net>
Subject RE: 1.5 servlet sample doesn't connect to server with weblogic8.1.2
Date Thu, 05 Feb 2004 18:22:05 GMT
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.
---------------

---------------------
<Feb 4, 2004 2:11:49 PM PST> <Info> <WebLogicServer> <BEA-000377>
<Starting WebLogic Server with Java HotSpot(TM) Client VM Version
1.4.2_01-b06 from Sun Microsystems Inc.> 
<Feb 4, 2004 2:11:50 PM PST> <Info> <Configuration Management>
<BEA-150016> <This server is being started as the administration
server.> 
<Feb 4, 2004 2:11:50 PM PST> <Info> <Management> <BEA-141107> <Version:
WebLogic Server 8.1 SP2  Fri Dec 5 15:01:51 PST 2003 316284 
WebLogic XMLX Module 8.1 SP2  Fri Dec 5 15:01:51 PST 2003 316284 > 
<Feb 4, 2004 2:11:50 PM PST> <Notice> <Management> <BEA-140005> <Loading
domain configuration from configuration repository at
c:\DOCUME~1\u166705\LOCALS~1\Temp\cactus\weblogic7x\testdomain\.\config.
xml.> 
<Feb 4, 2004 2:11:53 PM PST> <Notice> <Log Management> <BEA-170019>
<The
server log file C:\Documents and Settings\u166705\Local
Settings\Temp\cactus\weblogic7x\testdomain\testserver\testserver.log is
opened. All server side log events will be written to this file.> 
<Feb 4, 2004 2:11:56 PM PST> <Notice> <Security> <BEA-090082> <Security
initializing using security realm myrealm.> 
<Feb 4, 2004 2:11:57 PM PST> <Notice> <WebLogicServer> <BEA-000327>
<Starting WebLogic Admin Server "testserver" for domain "testdomain"> 
<Feb 4, 2004 2:12:02 PM PST> <Warning> <HTTP> <BEA-101296> <Unable
to
load the default compiler class "com.sun.tools.javac.Main". Using the
default javac compiler to compile JSPs.> 
<Feb 4, 2004 2:12:05 PM PST> <Notice> <JTA> <BEA-110025> <Creating
new
transaction log file [.\testserver\./testserver.0000.tlog].> 
<Feb 4, 2004 2:12:05 PM PST> <Notice> <JTA> <BEA-110025> <Creating
new
transaction log file [.\testserver\./testserver.heur.0000.tlog].> 
<Feb 4, 2004 2:12:07 PM PST> <Error> <Deployer> <BEA-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.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(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)
> 
<Feb 4, 2004 2:12:07 PM PST> <Warning> <Deployer> <BEA-149004> <Failures
were detected while initiating Deploy task for application
_appsdir_cactus-sample-servlet-cactified_war.> 
<Feb 4, 2004 2:12:07 PM PST> <Error> <Deployer> <BEA-149201> <Failed
to
complete the deployment task with ID 0 for the application
_appsdir_cactus-sample-servlet-cactified_war.
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.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(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.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(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)
> 
<Feb 4, 2004 2:12:09 PM PST> <Warning> <Management> <BEA-141130> <The
domain configuration version was not set for the domain testdomain that
is being started. (The current server version is 8.1.2.0.)> 
<Feb 4, 2004 2:12:10 PM PST> <Notice> <WebLogicServer> <BEA-000331>
<Started WebLogic Admin Server "testserver" for domain "testdomain"
running in Development Mode> 
<Feb 4, 2004 2:12:10 PM PST> <Notice> <WebLogicServer> <BEA-000360>
<Server started in RUNNING mode> 
<Feb 4, 2004 2:12:10 PM PST> <Warning> <WebLogicServer> <BEA-000372>
<HostName: 0.0.0.0, maps to multiple IP
addresses:10.145.24.70,10.147.128.167> 
<Feb 4, 2004 2:12:10 PM PST> <Notice> <WebLogicServer> <BEA-000355>
<Thread "ListenThread.Default" listening on port 8080, ip address *.*> 
---------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org


Mime
View raw message