Don't know if it'll help your problem much but try removing the version tag from the cargo plugin declaration. Unless you have a particular reason to use a snapshot version it's generaly best to let maven grab the latest release of a plugin.
amit kumar-18 wrote: > > Hi, > I finally got to see the documentation on how to use cargo ( did not find > an > example for jboss), but when I put the required container configuration ( > the most basic one, just as first to test the start of the server). I am > seeing the below error at console > > [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Server Home Dir: > E:\jobsstest\target\jboss4x > [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Server Home URL: > file:/E:/jobsstest/target/jboss4x/ > [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Server Log Dir: > E:\jobsstest\target\jboss4x\log > [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Server Temp Dir: > E:\jobsstest\target\jboss4x\tmp > [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Root Deployment > Filename: jboss-service.xml > [INFO] [talledLocalContainer] 18:05:53,468 INFO [ServerInfo] Java > version: > 1.5.0_08,Sun Microsystems Inc. > [INFO] [talledLocalContainer] 18:05:53,468 INFO [ServerInfo] Java VM: > Java > HotSpot(TM) Client VM 1.5.0_08-b03,Sun Microsystems Inc. > [INFO] [talledLocalContainer] 18:05:53,468 INFO [ServerInfo] OS-System: > Windows XP 5.1,x86 > [INFO] [talledLocalContainer] 18:05:55,734 INFO [Server] Core system > initialized > [INFO] [talledLocalContainer] 18:06:02,531 INFO [ServiceBindingManager] > Initializing store > [INFO] [talledLocalContainer] 18:06:02,531 INFO [ServiceBindingManager] > Using StoreURL: file:/E:/jobsstest/target/jboss4x/conf/cargo- > > [INFO] [talledLocalContainer] 18:06:04,734 INFO > [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml > [INFO] [talledLocalContainer] 18:06:05,328 WARN [ServiceController] > Problem > starting service jboss:service=Naming > [INFO] [talledLocalContainer] java.lang.NullPointerException > [INFO] [talledLocalContainer] at org.jnp.server.Main.getNamingInstance( > Main.java:301) > [INFO] [talledLocalContainer] at org.jnp.server.Main.initJnpInvoker( > Main.java:354) > [INFO] [talledLocalContainer] at > org.jnp.server.Main.start(Main.java:316) > [INFO] [talledLocalContainer] at > org.jboss.naming.NamingService.startService(NamingService.java:284) > [INFO] [talledLocalContainer] at > org.jboss.system.ServiceMBeanSupport.jbossInternalStart( > ServiceMBeanSupport.java:289) > [INFO] [talledLocalContainer] at > org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle( > ServiceMBeanSupport.java:245). > > > > I am using the below basic configuration my pom.xml > > <build> > <finalName>jobsstest</finalName> > <defaultGoal>package</defaultGoal> > <plugins> > <plugin> > <groupId>org.codehaus.cargo</groupId> > <artifactId>cargo-maven2-plugin</artifactId> > <version>0.3-SNAPSHOT</version> > <configuration> > <container> > <containerId>jboss4x</containerId> > <home>E:/jboss-4.2.0.GA</home> > </container> > </configuration> > </plugin> > </plugins> > </build> > > Any help? > > Amit > > On Jan 17, 2008 5:32 PM, amit kumar <[EMAIL PROTECTED]> wrote: > >> Hi, >> Anyone aware of any online documentation for M2 Cargo plugin for JBoss. I >> tried looking for it ,but in vain. >> If someone has already worked on it, please guide. >> >> I am using maven 2.0.7 >> Windows XP >> JBoss 4.2.0GA >> >> regards, >> Hemant Malik >> > > -- View this message in context: http://www.nabble.com/M2-Cargo-Plugin-tp14917416s177p14921409.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]