History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CARGO-250
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Vincent Massol
Reporter: Kumar Gopalani
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Cargo

Maven 1 plugin jar missing plugin.jelly file

Created: 17/Jan/06 06:36 AM   Updated: 30/Mar/06 04:25 AM
Component/s: Maven1
Affects Version/s: 0.7
Fix Version/s: 0.7

Time Tracking:
Not Specified

File Attachments: 1. Text File log.txt (15 kb)

Environment: maven 1, jboss 3.2.7, cargo 0.7,

Tested on JDKs: 1.4.2_08


 Description  « Hide
I am unable to start the jboss container. Could someone please help.

I had added following to the project.properties file
cargo.containers=jboss
cargo.container.jboss.containerId=jboss3x
cargo.container.jboss.home=c:/MIDCJ2EEDS/jboss
cargo.container.jboss.config.type=standalone
cargo.container.jboss.config.dir=c:/MIDCJ2EEDS/jboss/server/default/conf
cargo.container.jboss.config.standalone.servlet.port=8080
cargo.container.jboss.config.standalone.logging=high

the error log is -
C:\MIDCJ2EEDS\workspace\BankApplication>maven -e cargo:start
__ __

\/ __ Apache_ ___
  \/ / ` \ V / -) ' \ ~ intelligent projects ~
_   _,_ _/___ _ _ v. 1.0.2

Plugin cache will be regenerated
org.apache.maven.MavenException: Error reading plugin script
at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.j
ava:181)
at org.apache.maven.plugin.PluginManager.loadUncachedPlugins(PluginManag
er.java:239)
at org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:3
04)
at org.apache.maven.MavenSession.initializePluginManager(MavenSession.ja
va:204)
at org.apache.maven.MavenSession.initialize(MavenSession.java:171)
at org.apache.maven.cli.App.doMain(App.java:475)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
— Nested Exception —
java.io.FileNotFoundException: C:\Documents and Settings\pmishra\.maven\cache\ca
rgo-maven-plugin-0.7\plugin.jelly (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.j
ava:177)
at org.apache.maven.plugin.PluginManager.loadUncachedPlugins(PluginManag
er.java:239)
at org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:3
04)
at org.apache.maven.MavenSession.initializePluginManager(MavenSession.ja
va:204)
at org.apache.maven.MavenSession.initialize(MavenSession.java:171)
at org.apache.maven.cli.App.doMain(App.java:475)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)

If you require additional info, please advice.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Vincent Massol - 17/Jan/06 07:15 AM
Hi Kumar,

This is strange. It looks as if the plugin is not correctly installed:

> java.io.FileNotFoundException: C:\Documents and Settings\pmishra\.maven\cache\cargo-maven-plugin-0.7\plugin.jelly (The system cannot find the file specified)

This seems to indicate that the plugin.jelly files cannot be found. Could you check it's there.

Also could you run with the debug flag (-X ) and attach the result?

Thanks

PS: I think using the cargo mailing list would be better to discuss this. This is not yet a confirmed bug. it could simply be an error on your setup


Kumar Gopalani - 18/Jan/06 12:33 AM
hi there,

thanks for your suggestion. I will post this issue with the user group as-well.

Meanwhile, I am copying below the contents with debug flag. You are right - it does not find the plugin.jelly file. Even if I manually download the plugin and install it, it does not hv the plugin.jelly file. I am using 0.7 version.
this seems vague to me. I must be missing something basic.

thanks -Kumar


Kumar Gopalani - 18/Jan/06 12:41 AM
hi there,

thanks for your suggestion. I will post this issue with the user group as-well.

Meanwhile, I am attaching a file to this issue showing the contents with debug flag. You are right - it does not find the plugin.jelly file. Even if I manually download the plugin and install it, it does not hv the plugin.jelly file. I am using 0.7 version.
this seems vague to me. I must be missing something basic.

thanks -Kumar


Vincent Massol - 18/Jan/06 02:19 AM
Hi Kumar,

I've confirmed this is real bug. Apparently we've had an issue when creating the plugin package as it's missing plugin.jelly...

I'll redo the packging and re-release v0.7 of the plugin. Sorry for the trouble. I'll let you know once it's there.

Thanks


Vincent Massol - 18/Jan/06 02:50 AM
Fixed. I've redeployed the plugin on http://cargo.codehaus.org/dist2/org/codehaus/cargo/cargo-maven-plugin/0.7/cargo-maven-plugin-0.7.jar (clear your browser cache before downloading it again). The plugin will be on ibiblio in a few hours.

Thanks and sorry for the trouble.


Vincent Massol - 18/Jan/06 02:56 AM
Reopen to change summary to better reflect the issue

Vincent Massol - 18/Jan/06 02:58 AM
Changed summary to better reflect the issue

Kumar Gopalani - 18/Jan/06 06:17 AM
thanks Vincent. This seems to be working....however inspite of a successful build message, I do not get anything on the browser on http://localhost:8080/

the properties that I use are -
cargo.containers=jboss
cargo.container.jboss.containerId=jboss3x
cargo.container.jboss.home=c:/MIDCJ2EEDS/jboss
cargo.container.jboss.config.type=standalone
cargo.container.jboss.config.dir=${maven.build.dir}/myTomcat/config
cargo.container.jboss.config.standalone.servlet.port=8280
cargo.container.jboss.config.standalone.logging=high

the log generated is -
C:\MIDCJ2EEDS\workspace\BankApplication>maven cargo:start
__ __

\/ __ Apache_ ___
  \/ / ` \ V / -) ' \ ~ intelligent projects ~
_   _,_ _/___ _ _ v. 1.0.2

build:start:

cargo:start:
[echo] ========
[echo] == Cargo initialization ...
[echo] == done.
[echo] ========
[echo] ========
[echo] == Loading configuration for container "jboss"...
[echo] == Container Type : jboss3x
[echo] == Configuration Type : standalone
[echo] == Configuration for container "jboss" loaded.
[echo] ========
[echo] == Starting container "jboss"...
[echo] == Container "jboss" started.
BUILD SUCCESSFUL
Total time: 29 seconds
Finished at: Wed Jan 18 17:38:10 GMT+05:30 2006


Arnaud Heritier - 18/Jan/06 06:40 AM
This is not related to this problem.
you must use the goal cargo:startAndWait
Please open a new issue if you have another problem.

Vincent Massol - 18/Jan/06 06:44 AM
No please don't open any new issue!

As I've told you if you have questions please use the mailing list.

Thanks