curl -u admin:admin -F action=start http://localhost:4502/system/console/bundles/$bundle symbolic name
curl -u admin:PASSWORD -F action=install -F bundlestart=start -F bundlestartlevel=20 -F bundlefile=/path/to/jar/file.jar http://HOST:PORT/system/console/bundles
Command to start bundle ...but not working????
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Ankit,
There is '@' missing for bundlefile parameter. Try this
curl -u admin:PASSWORD -F action=install -F bundlestart=start -F bundlestartlevel=20 -F bundlefile=@"/path/to/jar/file.jar" http://HOST:PORT/system/console/bundles
Views
Replies
Total Likes
Hi Ankit,
There is '@' missing for bundlefile parameter. Try this
curl -u admin:PASSWORD -F action=install -F bundlestart=start -F bundlestartlevel=20 -F bundlefile=@"/path/to/jar/file.jar" http://HOST:PORT/system/console/bundles
Views
Replies
Total Likes
intelligrape@intelligrape-Aspire-E5-571:~/Documents/AEM6/crx-quickstart/repository$ curl -u admin:admin -F action=install -F bundlestop=stop -F bundlestartlevel=20 -F bundlefile=@"/apps/geometrixx-commons/install/cq-geometrixx-commons-core-1.1.30.jar" http://localhost:4512/system/console/bundles
curl: (26) couldn't open file "/apps/geometrixx-commons/install/cq-geometrixx-commons-core-1.1.30.jar"
Run this command get the error
i'm able to do the same opertion by using the command
curl -u admin:admin http://localhost:4512/system/console/bundles/226 -F action=stop
Bu get the output {"fragment":false,"stateRaw":4}
but when see the web console osgi for 226 bundle it was stopped
Views
Replies
Total Likes
Is it throwing for any jar file or only this specific jar ?
Views
Replies
Total Likes
For all jar files
curl -u admin:admin -F action=install -F bundlestop=stop -F bundlestartlevel=20 -F bundlefile="/apps/geometrixx-commons/install/cq-geometrixx-commons-core-1.1.30.jar" http://localhost:4512/system/console/bundles
It is not returning any output or error but bundle still in stop state?
curl -u admin:admin http://localhost:4512/system/console/bundles/226 -F action=stop
Bu get the output {"fragment":false,"stateRaw":4}
but when see the web console osgi for 226 bundle it was stopped ????
Views
Replies
Total Likes
I think that is because you are using bundlestop=stop in your command instead try using bundlestart=start
Views
Replies
Total Likes
not working??
curl -u admin:admin http://localhost:4512/system/console/bundles/226 -F action=stop
But get the output {"fragment":false,"stateRaw":4}
why it return false but bundle stopped
but when see the web console osgi for 226 bundle it was stopped ????
Views
Replies
Total Likes
Views
Likes
Replies