-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Can we deploy a custom war file into tomcat which is in che container #3588
Comments
@codergabs do you want to hot deploy your custom war on the go? |
@eivanstov |
@eivantsov |
sshd isn't running in che-server container. Can you elaborate on what you are trying to achieve? Perhaps what you are looking for is a development mode for Eclipse Che. In this mode, your local binaries get mounted into che-server container, and all changes you do locally will take effect in a container as well. |
@eivantsov 2017-01-04 08:22:51,752[ina-startStop-1] [ERROR] [o.a.c.core.ContainerBase 917] - A child container failed during start |
@eivantsov , |
Yes, that is correct. |
@eivantsov @TylerJewell Surprisingly one of my war file is giving following exception on deployment Caused by: java.util.zip.ZipException: error in opening zip file It is extracting on some other tomcat, but failing in the tomcat in che container, |
@codergabs it'd be great to know when this exception occurs, what custom war you are trying to deploy, share code etc. Without this info there's little we can suggest. |
@eivantsov I have put the war file into webapps, when I am restarting che server, my expectation is Sharing code will be little difficult for me. the same custom war is getting deployed at other tomcat. regards, |
@codergabs does switching off auto deploy, then copying war and restarting Tomcat help? |
@eivantsov |
Does 'chmod +r' make any difference? Also, if you deploy it with a clean Tomcat, does it throw the same exception? |
@eivantsov |
Can you share the war itself? It does look like permissions issue. |
I'd try to play with permissions for parent directories as well. |
@eivantsov |
@codergabs should I close the issue? |
@eivantsov But I am intermittently getting the ZipException issue, not only in my installation , Probably if I remove the extracted folder from /webapps and then restart the che tomcat You may look into this for the product improvement perspective. Thank You for your help. |
[Short description of problem here]
I want to deploy some custom war file into tomcat which is in che container.
I don't see any ssh port enabled there, Is there any way to configure some port and make
the war file transfer possible into the home/user/che/tomcat/webapps/
My expectation is my custom war to co exist with
ROOT.war
dashboard.war
swagger.war
wsmaster.war
And I could see the username for che container is root,
what is it's default password
Che version: 5.0.0-M8
OS and version: Windows 7
The text was updated successfully, but these errors were encountered: