deployment

Grails auto reload functionality in run-app on a custom environment

烂漫一生 提交于 2019-12-18 03:51:42
问题 When running a custom environment with grails via grails -Dgrails.env=custom run-app it appears that the auto reload / hot deploy is turned off, does anyone know how to arbitrarily enable this for any given environment, not just dev, which appears to be the only env where it is actually on by default? 回答1: I resolved this by adding the following to my env(custom in this case) Config.groovy: custom { disable.auto.recompile=false grails.gsp.enable.reload=true } You can also add the -reloading

How to update an assembly for a running c# process (AKA hot deploy)?

荒凉一梦 提交于 2019-12-18 03:22:13
问题 I have a .exe assembly and a set of referenced assemblies that I would like to be able to deploy updated code for. I don't need to actually change the running code, but the next time I launch the executable I would want it to pick up the updated code. Currently when I attempt to copy over the running file I get an error about the .exe being used by another process. To summarize; how can I update the code while the .exe is in use? 回答1: It is easy to do. You can rename the file, Windows has a

There is no “Launch agent via Java Web Start” option in my jenkins when I adding a windows slave node

[亡魂溺海] 提交于 2019-12-18 03:03:53
问题 I have already configured the java enviroment and installtion path 回答1: This is a duplicate question from Server Fault: Answer Here Java Web Start utilizes TCP so it has to be enabled and configured in Jenkins... Login to Jenkins as admin Manage Jenkins > Configure Global Security > TCP port for JNLP agents Do yourself a favor and pick a static port assignment... 回答2: As of Jenkins version 2.176.3, there is option enabled when "Launch agent by connecting it to the master" which is same as

How to Deploy/Publish an ASP.NET website?

萝らか妹 提交于 2019-12-18 02:46:06
问题 Is there any easy way to Deploy/Publish a website written in asp.net ? And what is the difference between deploy and publish ? 回答1: Here is a site that shows different techniques how to accomplish this task. There are many techniques that can be utilized as a deployment strategy for your web application.: Beansoftware How to Deploy ASP.NET Web Application 回答2: Alt + B + H combination (opens publish window for ASP.NET web site / application) is the most simple way to deploy an application to

Fatal: could not read Username for 'https://github.com': No such device or address

与世无争的帅哥 提交于 2019-12-18 01:03:27
问题 I have been deploying my Rails 4 application to Rackspace using github and capistrano for a few weeks now. Everything worked fine until I finally made my repository private. Now, I am receiving the following error after running 'cap deploy': "fatal: could not read Password for 'https://username@github.com': No such device or address" Below is the code from my deploy.rb file set :application, "appname" set :repository, "https://git_username@github.com/git_username/appname.git" set :scm, :git

possible to force a 64-bit JVM to use 32-bit mode via the argument “-d32”?

依然范特西╮ 提交于 2019-12-17 23:38:31
问题 so I have some 3rd party native library that works only in 32 bit JVM across windows,osx,linux and I need to always enforce the java application to run in 32 bit JVM mode. What about if the target system only has 64-bit JVM installed, would it be possible to force it to run the java application in 32 bit mode? 回答1: No. The preconditions that you specified prohibit (okay, I'm precluding the bundle-the-JVM solution and install-the-JVM solution) the application from running in a 32-bit JRE. If

How to deploy Java web application project from Eclipse to live Tomcat server?

徘徊边缘 提交于 2019-12-17 23:29:36
问题 I have developed an web application using HTML, Java Servlet and all. While developing I was using Tomcat to deploy it in order to test it. Now my development is done and I want to make it live. For that we have live server but as I am new to all this I dont know how to deploy my java web application on live server? So please help me if you know to answer? My Project Structure ProjectName ->src ->beanClass ->class1 ->Class2 ->easyServlet ->Servlet1 ->Servlet2 ->Servlet3 ->easyTrans ->Class1 -

Restart WPF application after click-once update (start the new version)

早过忘川 提交于 2019-12-17 22:39:16
问题 How to restart WPF application after it has been updated using click-once, i need to start the new version! 回答1: There are a few ways but most don't work correctly, they end up reopening the old version. It's going to sound crazy that WPF doesn't have a proper way to handle it (#fixwpf), but you'll need to reference System.Windows.Forms.dll and call System.Windows.Forms.Application.Restart(); A quick search found Rob Relyea's post about the same thing (XAML, WPF Microsoft Guy) http:/

Where do I get my actual Azure Website Deployment password?

不想你离开。 提交于 2019-12-17 22:36:01
问题 In Visual studio 2015, when I Publish my Website/Webapp to Azure, I'm able to create a new publishing profile automatically (by entering my personal Azure account credentials), this creates the .pubxml and .pubxml.user files. The deployment username is of the form " $websiteName " and the password is represented by a long series of bullet points. The .pubxml.user file contains the actual password, which is encrypted such that only my Visual Studio can read it, by decrypting it with my local

Getting HTTP 500 when running servlet in Jetty

这一生的挚爱 提交于 2019-12-17 22:28:12
问题 I have a servlet that was running fine until a few days ago. But the only thing that I've changed is the nexus repo I'm using for maven. I'm running the servlet via mvn jetty:run But when I try to access the site instead of seeing the home page, I see: HTTP ERROR 500 Problem accessing /. Reason: jregex/Pattern I can access other url's fine such as /favicon.ico. But I can't find anything on this jregex/Pattern error and it doesn't look like the jregex library is being used in the code at all.