deployment

Linking subreports in iReport so they also work in Jasper server

夙愿已清 提交于 2020-01-10 08:30:07
问题 Using iReport v4.0.1 with Jasperserver v4.1.0 I'm trying to find a syntax for linking subreports to the main report that lets me test it in iReport then deploy to the server through the repository browser. The default syntax for sub-reports in iReport for the subreport expression is something like $P{SUBREPORT_DIR} + "mySubReport.jasper" When you deploy this from iReport it's smart enough to pick this up and suggest changing it to "repo:mySubReport.jrxml" and to then deploy all subreports to

How do you use pip, virtualenv and Fabric to handle deployment?

心不动则不痛 提交于 2020-01-10 06:13:06
问题 What are your settings, your tricks, and above all, your workflow? These tools are great but there are still no best practices attached to their usage, so I don't know what is the most efficient way to use them. Do you use pip bundles or always download? Do you set up Apache/Cherokee/MySQL by hand or do you have a script for that? Do you put everything in virtualenv and use --no-site-packages ? Do you use one virtualenv for several projects? What do you use Fabric for (which part of your

Glassfish unable to deploy at root because default-web-module is declared

荒凉一梦 提交于 2020-01-10 05:57:28
问题 While trying to deploy to Glassfish Server Open Source Edition 3.1.2.2 (build 5) from both Netbeans and Admin Console the following message is thrown. Eventhough the Applications section of the Admin Console has no deployed applications. I have tried restarting the domain without success. Exception while loading the app : java.lang.Exception: WEB0145: Unable to deploy web module [*module name*] at root context of virtual server [server], because this virtual server declares a default-web

Capistrano 3 change ssh_options inside task

戏子无情 提交于 2020-01-10 03:03:26
问题 I trying to run capistrano v.3 task in same stage with diferent ssh_options. my production.rb say: set :stage, :production set :user, 'deploy' set :ssh_options, { user: 'deploy' } With this configuration capistrano connect with user deploy which is correct for the rest of taks. But I need connect it for one specific task with an_other_user wich is well configured in server. Then my recipe say: ... tasks with original user ... task :my_task_with_an_other_user do set :user, 'an_other_user' set

Tomcat: remote programmatic deploy?

霸气de小男生 提交于 2020-01-10 02:08:11
问题 I'd like to deploy to Tomcat programatically remotely, What are my options? I know about /manager/deploy. Is it possible over JMX? Even an MBean not comming with Tomcat is okay. Edit: It seems that deploying using /manager/deploy doesn't work - if I do POST request with multipart format containing a file, the servlet returns 405 Method not allowed. Also, the 6.0.32 code of the servlet doesn't seem to implement remote deployment - am I wrong? How to do that? Thanks. 回答1: Since I found this via

Tomcat: remote programmatic deploy?

♀尐吖头ヾ 提交于 2020-01-10 02:07:12
问题 I'd like to deploy to Tomcat programatically remotely, What are my options? I know about /manager/deploy. Is it possible over JMX? Even an MBean not comming with Tomcat is okay. Edit: It seems that deploying using /manager/deploy doesn't work - if I do POST request with multipart format containing a file, the servlet returns 405 Method not allowed. Also, the 6.0.32 code of the servlet doesn't seem to implement remote deployment - am I wrong? How to do that? Thanks. 回答1: Since I found this via

ActionCable on AWS: Error during WebSocket handshake: Unexpected response code: 404

狂风中的少年 提交于 2020-01-09 10:08:45
问题 We are attempting to deploy DHH's simple Rails 5 chat example to a single, self contained EC2 instance on AWS. Code is available here: https://github.com/HectorPerez/chat-in-rails5 We used Elastic Beanstalk to spin up a single instance thus: eb create dev-env -p “64bit Amazon Linux 2015.09 v2.0.4 running Ruby 2.2 (Puma)” –single -i t2.micro --envvars SECRET_KEY_BASE=g5dh9cg614a37d4bdece9126b42d50d0ab8b2fc785daa1e0dac0383d6387f36b This is a minimal installation, so there is no Elasticache, and

ActionCable on AWS: Error during WebSocket handshake: Unexpected response code: 404

别等时光非礼了梦想. 提交于 2020-01-09 10:08:44
问题 We are attempting to deploy DHH's simple Rails 5 chat example to a single, self contained EC2 instance on AWS. Code is available here: https://github.com/HectorPerez/chat-in-rails5 We used Elastic Beanstalk to spin up a single instance thus: eb create dev-env -p “64bit Amazon Linux 2015.09 v2.0.4 running Ruby 2.2 (Puma)” –single -i t2.micro --envvars SECRET_KEY_BASE=g5dh9cg614a37d4bdece9126b42d50d0ab8b2fc785daa1e0dac0383d6387f36b This is a minimal installation, so there is no Elasticache, and

Angular app has to clear cache after new deployment

ε祈祈猫儿з 提交于 2020-01-09 07:50:53
问题 We have an Angular 6 application. It’s served on Nginx. And SSL is on. When we deploy new codes, most of new features work fine but not for some changes. For example, if the front-end developers update the service connection and deploy it, users have to open incognito window or clear cache to see the new feature. What type of changes are not updated automatically? Why are they different from others? What’s the common solution to avoid the issue? 回答1: The problem is When a static file gets

Angular app has to clear cache after new deployment

孤者浪人 提交于 2020-01-09 07:50:08
问题 We have an Angular 6 application. It’s served on Nginx. And SSL is on. When we deploy new codes, most of new features work fine but not for some changes. For example, if the front-end developers update the service connection and deploy it, users have to open incognito window or clear cache to see the new feature. What type of changes are not updated automatically? Why are they different from others? What’s the common solution to avoid the issue? 回答1: The problem is When a static file gets