Skip to content
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

How to deploy my war file on osv by capstan? #168

Open
cafewang opened this issue May 25, 2017 · 1 comment
Open

How to deploy my war file on osv by capstan? #168

cafewang opened this issue May 25, 2017 · 1 comment

Comments

@cafewang
Copy link

I've written a Capstanfile like:

base: cloudius/osv-tomcat

cmdline: 

build: 

files:
 /usr/tomcat/webapps : ./myProject.war

This is a simple java web project.Put it under path 'tomcat/webapps' will do on my ubuntu system.I don't know what kind of cmdline is needed.Are there any advice on how to deploy war files on osv-tomcat?
THX a lot!

@redblade
Copy link

Hi @cafewang ,
I am trying this project that has Tomcat embedded and in the end produces a war that can be run from command line in the classic way
java -jar myfile.war

Actually I am using this version of capstan and I am experiencing a ClassNotFound exception when I run this in OSv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants