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

Cannot create configuration / spelling mistake, etc.

by Davis Ford-2 :: Rate this Message:

Reply to Author | View in Thread

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

--
Zeno Consulting, Inc.
home: http://www.zenoconsulting.biz
blog: http://zenoconsulting.wikidot.com
p: 248.894.4922
f: 313.884.2977

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

    http://xircles.codehaus.org/manage_email


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