Hello list -I am new to the list and have a question regarding CLI script import.
I have a JON 3.1.1 running with EAP plugin pack.
I need to import a server side CLI script, a Javascript based script into the content repository in JON.
I went to the Administration tab and created the repository and then went down the page to import the package.
I
selected the a type of "Server-side CLI Script" and clicked on the
UPLOAD FILE button to upload the javascript file. I then clicked on the
Add button on the popped up dialog to select and upload the script from
my hard drive. After the upload, I made sure the Type is still
Server-side CLI Script and clicked on the CREATE PACKAGE button. The
tool tried to upload the script but then displayed the following error
"Failed to create package [deploy-bundle-on-alert.js] in repository.
Cause:
javax.ejb.EJBException:org.rhq.enterprise.server.plugin.pc.content.PackageDetailsValidationException:
The version part of
'[sha256=b97c9b78f3f06aae4bbeeeea28bd63e597b9894ea5098bfe468652195080a715]'
isn't an OSGi version string. ->
org.rhq.enterprise.server.plugin.pc.content.PackageDetailsValidationException:The
version part of
'[sha256=b97c9b78f3f06aae4bbeeeea28bd63e597b9894ea5098bfe468652195080a715]'
isn't an OSGi version string. "
I tried this several times with several new repositories with no success.
My
question is: was I supposed to have version included in the script or a
manifest file associated with the script before loading it?
Any help is greatly appreciated.
I can send the script if that will help.
--
Claudianus
_______________________________________________
rhq-users mailing list
rhq-users@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/rhq-users