« Return to Thread: Cannot create configuration / spelling mistake, etc.

Re: Cannot create configuration / spelling mistake, etc.

by Matt Wringe :: Rate this Message:

Reply to Author | View in Thread


On Thu, 2009-03-05 at 12:55 -0500, Davis Ford wrote:

> Hi, I'm trying to use cargo-maven2-plugin with weblogic9x.  If I try
> to issue any cargo goal, it issues this:
>
> org.codehaus.cargo.container.ContainerException: Cannot create
> configuration. There's no registered configuration for the parameters
> (container [id = [weblogic9x], type = [installed]], configuration type
> [existing]). Actually there are no valid types registered for this
> configuration. Maybe you've made a mistake spelling it?
>
> I've checked and re-checked the containerId, and I don't see any error
> there.  The plugin definition is below -- any ideas?
>
> <plugin>
> <groupId>org.codehaus.cargo</groupId>
> <artifactId>cargo-maven2-plugin</artifactId>
> <version>0.3</version>
try changing the version to 1.0-beta-2 and let us know if that works.
using the 0.3 version of the maven2 plugin will bring in an older
version of Cargo which may not have weblogic9x support.

> <configuration>
> <wait>false</wait>
> <container>
> <containerId>weblogic9x</containerId>
> <type>installed</type>
> <home>C:/bea/weblogic92</home>
> <log>${project.build.directory}/cargo.log
> </log>
> <output>${project.build.directory}/output.log
> </output>
> </container>
> <configuration>
> <type>existing</type>
> <home>C:/bea815/user_projects/domains/drm
> </home>
> <properties>
> <cargo.weblogic.server>admin</cargo.weblogic.server>
> <cargo.weblogic.administrator.user>weblogic
> </cargo.weblogic.administrator.user>
> <cargo.weblogic.administrator.password>weblogic
> </cargo.weblogic.administrator.password>
> <cargo.servlet.port>9010</cargo.servlet.port>
> <cargo.logging>medium</cargo.logging>
> <cargo.protocol>http</cargo.protocol>
> </properties>
> </configuration>
> <deployables>
> <deployable>
> <groupId>com.mycompany</groupId>
> <artifactId>drm-webapp</artifactId>
> <type>war</type>
> <location>target/drm.war</location>
> <pingURL></pingURL>
> </deployable>
> </deployables>
> <dependencies>
> <dependency>
> <groupId>org.codehaus.cargo</groupId>
> <artifactId>cargo-core-container-weblogic</artifactId>
> <version>1.0-beta-2</version>
> </dependency>
> </dependencies>
> </configuration>
> </plugin>
>


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

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Cannot create configuration / spelling mistake, etc.