« Return to Thread: Re: CACTUS and Weblogic (10)

Re: Re: CACTUS and Weblogic (10)

by Adrian Cole :: Rate this Message:

Reply to Author | View in Thread

Hello.

Based on the below, the user should specify weblogic103x and ensure they are using JDK 6.

Note that latter versions of WebLogic are recent updates, so ensure the version of CARGO is 1.0-SNAPSHOT until we release a new Beta.

Cheers,
-Adrian Cole


On Mon, Feb 16, 2009 at 10:19 AM, Frank Michael <much99@...> wrote:
Hey,

sry for posting to the dev list before, moving it to the user list:

Yes, I know I need cargo and I get the latest cactus released. All classpaths are set up fine (I think) and I'm using your config but I get this error:
org.codehaus.cargo.container.ContainerException: Cannot create configuration. There's no registered configuration for the parameters (container [id = [weblogic10x], type = [installed]], configuration type [standalone]). Actually there are no valid types registered for this configuration. Maybe you've made a mistake spelling it?

I tried lots of different combinations, none of them is working, all of them give the same error, which I can't find too much about neither in google nor on this mailing list.
Also, unfortunatly, if I try to read up on Configurations on the cargo website (http://cargo.codehaus.org/Configuration) I just get the following error:
java.lang.Exception: org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only com.openxource.unity.providers.confluence.ConfluencePageProviderImpl.getPage(ConfluencePageProviderImpl.java:87)
 com.openxource.unity.beans.impl.UnityPageRendererImpl.getFragment(UnityPageRendererImpl.java:359)
 com.openxource.unity.beans.impl.UnityPageRendererImpl.renderPage(UnityPageRendererImpl.java:165)
 com.openxource.unity.servlets.ContentServlet.doGet(ContentServlet.java:101)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:115)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
 com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99)
 com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163)
 com.caucho.server.dispatch.Servletvocation.service(Servletvocation.java:208)
 com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259)
 com.caucho.server.port.TcpConnection.run(TcpConnection.java:363)
 com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
 com.caucho.util.ThreadPool.run(ThreadPool.java:423)
 java.lang.Thread.run(Thread.java:595)

Regards,
Michael
--- Petar Tahchiev <paranoiabla@...> schrieb am Sa, 14.2.2009:

> Von: Petar Tahchiev <paranoiabla@...>
> Betreff: Re: CACTUS and Weblogic (10)
> An: "Cactus Developers List" <cactus-dev@...>, much99@...
> Datum: Samstag, 14. Februar 2009, 21:37
> Hi Frank,
>
> in order to use cactus with WebSphere you need to use Cargo
> (http://cargo.codehaus.org/).
>
> Put this in your containerset:
>
>                               <cargo containerId="weblogic10x"
> output="${logs.dir}/output.log"
> log="${logs.dir}/cargo.log" home="[EXACT
> LOCATION TO YOUR WEBLOGIC
> HOME DIRECTORY]">
>                               <configuration>
>                                               <property name="cargo.servlet.port"
> value="${cargo.servlet.port}"/>
>                                               <property name="cargo.logging"
> value="${cargo.logging}"/>
>                                               <deployable
> type="${cactus.sample.archive.type}"
> file="${cactified.servlet.archive.name}"/>
>                                       </configuration>
>                               </cargo>
>
> and also include the cargo jars in your classpath.
>
> Good luck.
>
> 2009/2/13 Frank Michael <much99@...>:
> > Hey everyone,
> >
> > I'm trying to run cactus on weblogic 10. I tried
> using the generic container as well as the weblogic7x
> container and both give me the same error:
> >  Class org.apache.cactus.integration.ant.ContainerSet
> doesn't support the nested "weblogic7x"
> element.
> > Where, of course, weblogic7x is replaced with the
> "generic" element. Anyone know what might be the
> problem here?
> > My build target looks like this:
> >  <target name="test">
> >  <cactus haltonfailure="yes"
> showoutput="yes" printsummary="on"
> earfile="${temp}/../uep.ear"
> fork="yes">
> >  <cactusproperty server="false"
> propertiesFile="../uepWAR/doc/WEB-INF/classes/log4j.properties"/>
> >  <classpath refid="cactus.classpath"/>
> >        <containerset>
> >                <weblogic7x
> dir="/bea103/wlserver_10.3"
> tmpdir="/temp" port="7001"/>
> >        </containerset>
> >        <test name="uep.test.TestAll"
> outfile="logs/cactus.output">
> >   <formatter type="plain"/>
> >  </test>
> >  </cactus>
> >  </target>
> >
> > Tests from within eclipse or called by URL work just
> fine, it's only the ant task I can't seem to get
> working.
> >
> > Any help is appreciated,
> > Michael
> >
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> cactus-dev-unsubscribe@...
> > For additional commands, e-mail:
> cactus-dev-help@...
> >
> >
>
>
>
> --
> Regards, Petar!
> Karlovo, Bulgaria.
> - - - - - - - -
> | Author @ Manning Publications.
> | Senior Solution Architect @ Unic
> | BGJUG-Bulgarian Java User Group Leader.
> | Apache Maven Developer.
> | Apache Jakarta PMC member.
> | Jakarta Cactus Lead Developer.
> | Codehaus Plexus Developer
> | Blogger: http://weblogs.java.net/blog/paranoiabla/
> - - - - - - - -
> Public PGP Key at:
> https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611
> Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550
> C311 0611




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



 « Return to Thread: Re: CACTUS and Weblogic (10)