|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Error using Weblogic 10.0 with cargo maven 2 pluginHi all,
I am trying to use Cargo Maven 2 plugin with Weblogic 10.0 which is installed on my system at 'D:\java\bea\wlserver_10.0' . I receive this error message - 'There's no registered configuration for the parameters (container [id = [weblogic10x], type = [local]], configuration type [existing])' This is the plugin code that I am using in my pom.xml : ----------------------------------------------------------------------------------------------------- <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>0.3</version> <executions> <execution> <id>start-container</id> <phase>pre-integration-test</phase> <goals> <goal>start</goal> </goals> </execution> <execution> <id>stop-container</id> <phase>post-integration-test</phase> <goals> <goal>stop</goal> </goals> </execution> </executions> <configuration> <wait>false</wait> <timeout>20000</timeout> <container> <containerId>weblogic10x</containerId> <home>D:/java/bea/wlserver_10.0</home> <log>${project.build.directory}/cargo.log</log> <output>${project.build.directory}/output.log</output> <type>local</type> <dependencies> <dependency> <location>D:/java/bea/wlserver_10.0/server/lib/weblogic.jar</location> </dependency> </dependencies> </container> <configuration> <type>existing</type> <!--home>D:/java/bea/user_projects/domains/mydomain</home--> <!--home>D:/java/bea/wlserver_10.0</home--> <properties> <!-- This is my domain name located at 'D:\java\bea\user_projects\domains\mydomain'--> <cargo.weblogic.domain>mydomain</cargo.weblogic.domain> <!-- This is my weblogic server name located at 'D:\java\bea\user_projects\domains\mydomain\servers\myserver'--> <cargo.weblogic.server>myserver</cargo.weblogic.server> <cargo.weblogic.administrator.user>system</cargo.weblogic.administrator.user> <cargo.weblogic.administrator.password>protojava</cargo.weblogic.administrator.password> <cargo.servlet.port>7001</cargo.servlet.port> </properties> </configuration> <!--configuration--> <deployables> <deployable> <location>${project.build.directory}/AXT-UI.war</location> <!--pingURL>http://localhost:8080/AXT-UI/</pingURL--> <properties> <context>/test</context> </properties> </deployable> </deployables> <dependencies> <dependency> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-core-container-weblogic</artifactId> <version>0.9</version> </dependency> </dependencies> <!--/configuration--> </configuration> </plugin> ----------------------------------------------------------------------------------------------------- But I get this error : -------------------- [INFO] [cargo:start {execution: start-container}] [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Cannot create configuration. There's no registered configuration for the parameters (container [id = [weblogic10x], type = [local]], configuration type [existing]). Actually there are no valid types registered for this configuration. Maybe you've made a mistake spelling it? [INFO] ------------------------------------------------------------------------ [INFO] Trace org.codehaus.cargo.container.ContainerException: Cannot create configuration. There's no registered configuration for the parameters (container [id = [weblogic10x], type = [local]], configuration type [existing]). Actually there are no valid types registered for this configuration. Maybe you've made a mistake spelling it? at org.codehaus.cargo.generic.spi.AbstractGenericHintFactory.createImplementation(AbstractGenericHintFactory.java:143) at org.codehaus.cargo.generic.spi.AbstractIntrospectionGenericHintFactory.createImplementation(AbstractIntrospectionGenericHintFactory.java:86) at org.codehaus.cargo.generic.configuration.DefaultConfigurationFactory.createConfiguration(DefaultConfigurationFactory.java:205) I have tried quite a few settings but couldn't resolve this problem. Can anyone suggest what feature is set incorrectly ? What is the cause for this problem? Regards, Debashree Basu |
|
|
Re: Error using Weblogic 10.0 with cargo maven 2 pluginTry using version 1.0-beta2. There is a march 5 post regarding WL 9.x you can see for more info.
|
| Free embeddable forum powered by Nabble | Forum Help |