Vincent,
Thanks for the response! My fix was to prepend the following jar to the
classpath when starting weblogic. I found a more lenghty description of the
error in the weblogic log files and did a little googling. Perhaps the
properties pages for the webservers could allow adding additional items to
the classpath? Just a thought.
<pathelement
location="${cactus.weblogic6x.server}/lib/CR064650_CR064449_CR065213_CR06439
1_61sp2.jar"/>
Yes, I am using a recent version of the cactus plugin.
Some things that I've noticed:
1. when the weblogic starts but fails to start the domain, it doesn't shut
down weblogic. I either close eclipse or use the weblogic console to stop
the server. it also doesn't delete the contents in the c:\cactus\temp
folder. i've been manually deleting that stuff when there's trouble.
2. when a test runs, the ouput on the console in eclipse doesn't show error
messages from weblogic. when the tests run, i see something about log4j not
being initialized (i probably need to copy in a log4j.properties file
somehow), but those messages are gone when the test completes.
3. the cactify project adds the cactus jars to the project classpath. it
would be nice if there were an option to put the jars into the project lib
directory. something that's needed for cli ant build/testing.
I'm hoping to be able to use this for non-eclipse cactus testing (via ant
from cli) to integrate the non-eclipse users in our group and to use this
for all our ejb testing. Once again, this cactus really rocks!
~mark
-----Original Message-----
From: Vincent Massol [mailto:[EMAIL PROTECTED]
Sent: Monday, June 23, 2003 12:01 PM
To: 'Cactus Users List'
Subject: RE: more eclipse plugin challenges
Hi Mark,
With a nice comment like the one you put at the end of your email,
you'll always get a fast answer! :-)
First question: Are you using a recent nightly build of the Cactus
plugin for Eclipse? I think you are or you wouldn't have gone that far
but I want to be sure...
To be fair, I haven't tried it yet and not with WL 6, so I can't give an
immediate answer. The other issue is that WL6 is no longer available for
download from the WL web site and thus we have dropped support for it in
the latest version of the Ant integration module (it still appears in
the Cactus Eclipse plugin though because the Eclipse plugin has not yet
moved to the new Ant integration module...).
Thus, if you really want support for WL6, you need to help us debug it!
:-)
If you've done weblogic deployment before, maybe you can look in the tmp
deployment directory where the weblogic setup is done, and verify if it
is correct, and find out why it throws:
[java] <Jun 23, 2003 10:25:53 AM EDT> <Error> <Management> <Error
deploying application .\config\testdomain\applications\test.war:
java.lang.reflect.UndeclaredThrowableException>
Maybe you're using a WL6.1 SP that has changed ways of doing things
since when I coded the config.xml and startup scripts (I was using SP3
at that time)?
Thanks
-Vincent
> -----Original Message-----
> From: Mark Lybarger [mailto:[EMAIL PROTECTED]
> Sent: 23 June 2003 16:47
> To: 'Cactus-User (E-mail)
> Subject: more eclipse plugin challenges
>
> My previous trouble was that I had set the weblogic6x preference for
my
> container to point to c:/bea/wlserver6.1, and it seems the build.xml
for
> weblogic6x expects this to be the base bea directory (c:/bea). I can
now
> attempt to launch a container, but there seems to be trobules
deploying
> the
> war file.
>
>
> cactus.start.weblogic6x:
> [echo] cactus.weblogic6x.server C:\bea\/wlserver6.1
> [java] Starting WebLogic Server ....
> [java] <Jun 23, 2003 10:24:54 AM EDT> <Notice> <Management>
> <Loading
> configuration file .\config\testdomain\config.xml ...>
> [java] <Jun 23, 2003 10:24:57 AM EDT> <Notice>
<WebLogicServer>
> <Starting WebLogic Admin Server "testserver" for domain "testdomain">
> [java] <Jun 23, 2003 10:25:53 AM EDT> <Error> <J2EE> <Error
> deploying application test: Could not load test>
> [java] <Jun 23, 2003 10:25:53 AM EDT> <Error> <Management>
<Error
> deploying application .\config\testdomain\applications\test.war:
> java.lang.reflect.UndeclaredThrowableException>
> [java] <Jun 23, 2003 10:25:53 AM EDT> <Notice> <Management>
> <Application Poller started for development server.>
> [java] <Jun 23, 2003 10:25:53 AM EDT> <Notice>
<WebLogicServer>
> <ListenThread listening on port 8080>
> [java] <Jun 23, 2003 10:25:54 AM EDT> <Error> <HTTP>
> <HttpServer(597366,null default ctx,testserver) found no context for
> "/test/ServletRedirector". This request does not match the context
path
> for
> any installed web applications and there is no default web application
> configured.>
>
> any suggestions would be most appreciated! This email list seems very
> quiet
> such a powerfull testing tool, is there another discussion forum for
> cactus?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.488 / Virus Database: 287 - Release Date: 6/5/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.488 / Virus Database: 287 - Release Date: 6/5/2003
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]