Which server GGTS used for grails project deploy? - grails

GGTS having VMWare vFabric TcServer. But I want to deploy my project
on JBoss.
I'm able to add new JBoss.x AS and JBoss.x Enterprise Servers in GGTS but meanwhile if I try to deploy my application on Jboss I have an error alert message "there are no resources that can be added or removed from the server".
Same application I can deploy on default "VMWare vFabric TcServer" Server.

Related

Visual Studio Team Services error: "The target of the specified cmdlet cannot be a Windows client-based operating system."

When I try to deploy my artifact on IIS, I am getting the error as shown in the below screenshot. Any help will be greatly appreciated.
The "IIS Web App Management" screenshot is shown below:
The error message is pretty clear: You can't use it to install IIS on a client OS (such as Windows 10). You have to use a server OS (such as Windows Server).
There's nothing you can do about it other than to use a server OS or use an alternate tool to deploy.
Using Windows Remote Management (WinRM), connect to the host
machine(s) where IIS or SQL Server is installed, and manage the Web
application or deploy the SQL Server Database as described below:
Create a new website or update an existing website using AppCmd.exe.
Create a new application pool or update an existing application pool using AppCmd.exe.
Deploy a Web Application to the IIS Server using Web Deploy.
Deploy a SQL Server Database using DACPAC and SqlPackage.exe.
Your log mentioned the task was installing IIS, and it seemed the tasking was installing IIS on a windows client OS. You need to check your target machine to see whether it has IIS installed.

Spring security not working with Grails project on JBoss Application Server

I have a big(multiple custom plugin based) Grails project, which runs perfectly fine on Tomcat server.
Now for a new customer we need to deploy it on JBoss Application server. It seems to deploy fine without any error but when I try to login on the first page which is implemented using Spring Security plugin. It does not log me in. I have tried going to a valid URL to check if its a problem of redirecting but it is not the case.
Please note it is not showing any error on the log. And since it is not properly executable in development environment so each time I need to build a WAR file to test it.
Grails version: 2.4.4
Spring security version: ':spring-security-core:2.0-RC4'
JBoss version: wildfly-9.0.2.Final
I tried some setups, and they all worked as a simple new project.
I used grails 2.4.4 and spring-security 2.0-RC4.
Here are a few things you could try:
Use latest spring-security version 2.0.0
compile "org.grails.plugins:spring-security-core:2.0.0"
Add jboss plugin and generate deployment xmls (this is needed for grails 2.5.4)
build ':jbossas:1.0'
$grails generate-boss-deploy 6
Create a brand new Wildfly install and deploy your app.
I can only think about a infrastructure problem, since I got no problem with the same setup. I running on Mac, with java 8 and Wildfly 9.0.2 final. Tested grails 2.4.4 and 2.5.4, spring security 2.0-RC4 and 2.0.0.
Best,
Eder

Deployed application not showing up in websphere application server 8.5 after successful deployment using Jenkins

I am using websphere deployer plugin to deploy application to my local WAS server. Jenkins gives a success message after deployment but the deployed application is not present on the server.
Can anyone suggest how to deal with this. I did this deployment for tomcat and that works fine for me but on WAS server it seems like file not getting correct path. I am new to WAS server. Need suggestions.

How to configure cloud9 to run a grails application?

I installed gvm and grails on the C9 environment. Everything seems ok.
I run the app using this command :
grails -Dgrails.server.host=$IP -Dgrails.server.port.https=$PORT -Dapp.context=/ run-app -https
It looks like the server is launched, no error message.
But the app isn't accessible on the app-username.c9.io url
Has anyone managed to run a grails app on Cloud9 ?

grails Two application deploy on tomcat Server heapSpace issue

I have two grails(2.1.1) project deploy on the one tomcat(7.0.39).
I deployed a project on tomcat server, its worked but when i deployed other project on same tomcat , its generates heap Space error and and stop the tomcat server.
I have some idea to ignore this error by setting JAVA_OPTS. But I didn't have any rights to access Tomcat/bin directory.

Resources