-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't deploy "Hello world" in wso2ei #551
Comments
@antonioluzzi AFAIK you can't deploy a standalone MSF4J application in WSO2 EI. MSF4J has another mode called deployable-jar mode. If you want to deploy an MSF4K microservice, you have to use that mode. |
The fat version works fine, instead deployable version no :-( ubuntu18@ubuntu18-VirtualBox:/sviluppo/msf4j/samples/stockquote/deployable-jar$ mvn install |
@antonioluzzi This is a checkstyle error. Can you try disabling checkstyle and build |
thanks to help me. |
@antonioluzzi You can put all your dependencies in the pom.xml including relevant msf4j dependencies |
Pardon me, but I don't understand. |
Can you suggest to me an example of a deployable project where I can import spring? |
I have tried to install "Hello world" from https://github.com/wso2/msf4j/tree/master/samples/helloworld in wso2ei, but the server return to me the following execption cause missing the Manifest entry 'microservices' :
[2018-10-25 11:17:31,513] ERROR {org.wso2.carbon.deployment.engine.internal.DeploymentEngine} - Error while deploying artifacts org.wso2.carbon.deployment.engine.exception.CarbonDeploymentException: Error while processing the artifact: /usr/lib/wso2/wso2ei/6.4.0/wso2/msf4j/deployment/microservices/helloworld-2.6.5-SNAPSHOT.jar
at org.wso2.msf4j.internal.deployer.MicroservicesDeployer.deploy(MicroservicesDeployer.java:98)
at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.lambda$deployArtifacts$0(DeploymentEngine.java:266)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.deployArtifacts(DeploymentEngine.java:257)
at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.sweep(RepositoryScanner.java:110)
at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.scan(RepositoryScanner.java:68)
at org.wso2.carbon.deployment.engine.internal.SchedulerTask.run(SchedulerTask.java:43)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.wso2.msf4j.internal.deployer.MicroserviceDeploymentException: Manifest entry 'microservices' not found: /usr/lib/wso2/wso2ei/6.4.0/wso2/msf4j/deployment/microservices/original-helloworld-2.6.5-SNAPSHOT.jar
at org.wso2.msf4j.internal.deployer.MicroserviceDeploymentUtils.readManifestEntry(MicroserviceDeploymentUtils.java:107)
at org.wso2.msf4j.internal.deployer.MicroserviceDeploymentUtils.getRourceInstances(MicroserviceDeploymentUtils.java:51)
at org.wso2.msf4j.internal.deployer.MicroservicesDeployer.deploy(MicroservicesDeployer.java:96)
... 13 more
Can you help me?
Regards
Antonio
The text was updated successfully, but these errors were encountered: