You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by "Karr, David" <Da...@wamu.net> on 2004/02/04 23:28:20 UTC

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 *.*> 
---------------------

RE: 1.5 servlet sample doesn't connect to server with weblogic8.1.2

Posted by Vincent Massol <vm...@pivolis.com>.
Hi David,

I have never tried Cactus with WL 8.x and it is not officially
supported. Are you sure it's supposed to work in exactly the same way as
WL 7.x, which is the supported version when you use the <weblogic7x>
nested element?

If not, I'm sure some little tweakings will make it work. It would be
great if you can find out what is the problem and submit a patch to make
cactus work for WL 8.1! :-)

Thanks
-Vincent

> -----Original Message-----
> From: Karr, David [mailto:David.Karr@wamu.net]
> Sent: 04 February 2004 23:28
> 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