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
Trying to deploy BIMserver to remote linux server #239
Comments
I have had problems with Tomcat 8, can you try Tomcat 7? Also, what's in the log files? |
I can try tomcat 7 yes, I will give it a go. I have managed to get everything working up until the BIMserver setup page now (I was running out of memory before and had to change the web.xml) however it only works for a bit and if I try and set it up i have a websocket error. Is this the problem you were getting? Log files aren't saying anything I can find... the only thing is a json package isnt being delivered I can see from chromes developer window |
Well the running out of memory was in the log files right? Yes the websocket error probably is being caused by a broken Tomcat8 build, will have a look at that soon. |
Yeah the memory error was in logs, I meant about this websocket error sorry.. Ok I'll try tomcat 7 today. Thanks for your help! |
i am getting the same issue with the websocket with tomcat 7 as well. I'm guessing something within the BIMserver is conflicting with the websocket API that comes with tomcat? Can you shed any light on this? |
Did you use the Tomcat7-specific build? I'll release a working Tomcat8 version today. |
Hey, yeah I used the bimserver build with tomcat7 in the title. I can try with another one? Ideally I want to be using the latest tomcat and bimserver, of course. That is fantastic you're releasing the tomcat8 ver. today :) what sort of time? Should I wait around for it today? |
I've seen you've updated for websockets fix :D - will you be creating a new release compilation today too? or should I clone the repo? |
Still working on it, github seems to have updated their releases API, so can't do an automated build... will be after the weekend I guess... |
ahhh ok that's cool man, thanks for your efforts! I have been persisting with the ubuntu14.04 + tomcat8 + bimserver 1.4.0 builds to try and sort it out. Had a brief bit of luck writing a new ENV for a tomcat classpath but didn't succeed. Currently the only error I'm getting in logs is (hence writing the classpath in): 11-Sep-2015 15:29:29.142 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath maybe this might help? |
You should not have to do anything with ENV, the latest build works with both Tomcat 8 and Tomcat 7.0.47. That's not an error, it says "INFO". |
Is it working on Ubuntu 14.04 ? /opt/tomcat7/conf/server.xml http://pastebin.com/tGkaT1vW /etc/init.d/tomcat7 http://pastebin.com/w5ttwVrx |
It is working on Ubuntu 14.04. Did you have a look at the Tomcat log file? Is it even running? As I told you in another issue you created about the exact same problem, these are all Tomcat related issues, read the documentation/search the internet to get it working. |
I have made a Dockerfile to install the BIMserver inside a docker container which sets everything up for you. |
Nice! |
spin up a new server with ubuntu14.04, then update and install docker with $ curl -sSL https://get.docker.com/ | sh then, with docker installed (check with $ docker ps) run: $ docker run -d either leaving the 'xxx' as is or replace the 'xxx' on the username and password with whatever username and password you want for tomcat (not your IP which is what you've put in) Then in a browser go to: IP:8080/BIMserver and it will load it up. (you will have to wait for 5 mins whilst tomcat installs and deploys itself and bimserver) |
How to remove it completely from the server. i want to install fresh copy of it in my server. |
Remove the .war file. If you defined your BIMserver home directory, also remove that. |
If you have installed it with the dockerfile you can see the docker container and docker image with $ docker ps then remove them with $ docker rm XXXX or $ docker rmi XXXX where XXXX is the container/image see the docker documentation for details |
On Mon, Oct 12, 2015 at 1:48 PM, Connor Alexander
Got it, thank you |
i have install BIMserver on ubuntu 14.04 using tomcat 8 https://bhushanbharat.wordpress.com/2015/10/13/install-bimserver-on-ubuntu-14-04/ |
Cool, thanks, added to the wiki: https://github.com/opensourceBIM/BIMserver/wiki/Install-on-Ubuntu |
Thank you very much Mr. Ruben de Laat. On Sun, Oct 18, 2015 at 12:20 PM, Ruben de Laat notifications@github.com
Bharat Bhushan Rathore |
Hi,
I've been trying to deploy the latest BIMserver 1.4 (final release) to a Digital Ocean box running Ubuntu 14.04 through Tomcat 8. Every time I deploy the war file through tomcat, once it has finished unpacking and deploying I lose the connection to the port and seem to be unable to see either the BIMserver or tomcat splash page. Every time the connection is now refused. All config files in tomcat seem to be pointing correctly and netstat doesn't show anything unusual on the ports...
Has anyone successfully deployed the latest bimserver on the latest tomcat with ubuntu 14.04? Will there be any updates to the wiki or developers guide?
I followed the guide for the older versions of BIMserver and tomcat and even that consistently failed. Help would be appreciated.
The text was updated successfully, but these errors were encountered: