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

Re: Cannot create configuration / spelling mistake, etc.

by Davis Ford-2 :: Rate this Message:

Reply to Author | View in Thread

Hi Matt -- that works.  cargo:deploy with no problems.  Starting the
war fails, but I'm 100% sure the issue is with the war itself.  Thanks
for your help.

Davis

On Thu, Mar 5, 2009 at 1:29 PM, Matt Wringe <mwringe@...> wrote:

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



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

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