jboss remote make web service w/ jboss developer - linux

I have JBoss server on linux and I want to connect remotely from another computer to the web service, but jboss shows me alert:
Error: Could not load class [org.gama.tutorial.ws.ImplServico]. Did you specify a valid --classpath?
Please help me with a guide

Related

WebSphere Application Server, IIS Web Server - Propogation of web server plugin to WebServer nodes when application is redeployed

My question is if 'propogation' of web plugin's xml file to Web Server nodes is necessary when an application is re-deployed in Websphere.
We have webservers infront of our application servers. During environment setup, our Web Admin manually generated web server plugin xml(from WAS console) and copied to web server nodes to establish communication between IIS and WebSphere. But it was a one-time job and we do not care about replacing it on web servers anymore when we redeploy the application for our releases.(And there is no way that plugin xml is automatically copied over as our web server configuration does not reflect actual web server nodes!)
It would be great to hear about standard practice, and how rest of you are doing it.
Any inputs are greatly appreciated!

Allow remote web server administration of Azure server core VM

I am trying to configure a server code 2016 VM on Azure to allow access from IIS on a remote server (outside of Azure) - I have been following documentation from here and here.
When I try to connect to the Azure servercore server from IIS (File, Connect to a Server, provide server name/port and credentials), I am getting the following error:
"Could not connect to the specified computer.
Details: Unable to connect to the remote server"
I have added the firewall rule as noted in the steps I have been following with no success. I believe that this may be a security group issue, but web searching has drawn a blank - I have not been able to find anything on connecting IIS to a VM on Azure in order to allow web server administration.
Any help would be much appreciated, preferably in simple steps - I'm a programmer who has had a devops task dropped on him, and as such have minimal understanding of Azure's mechanics and terminology!
Thanks!
So the error was due to the misconfigured NSG. Need to open up port 8172.

Web Deploy unable to validate connection

I am trying to learn how to setup Web Deploy functionality on both sides Server and host/client computer. Created a Windows Server 2012 Web Server in Hyper-V and able to access default web page in host/client computer. On server installed Web Maintenance Service, Web Deploy 3.5 and performed all the required steps e.g. "Configure Web Deploy Publishing" and added Administrator to IIS Manager Permission for the website in IIS. I disabled Firewall totally to make it work for the first time.
On client computer I created a dummy MVC Application in Visual Studio and trying to create publish profile for this app. As soon as I hit the Validate Connection I got the option to receive and save the security certificate from server but after that in gives me following warning (snapshot):
Tried doing all the steps all over but no luck.
I am open to all feedback. Thanks in advance.
Found the solution. Instead of adding publish information manually, I am suppose to use publishsetting file generated in server through "Configure Web Deploy Publishing" feature of IIS. Server address ends with file name which ends with .axd

How to: Run Liferay based Web portals in IBM Bluemix

I am running some Liferay applications in my organization using the liferay enterprise edition. How can I move these applications to IBM Blumix. If it is possible how are the liferay enterprise licenses managed in Bluemix?
Websphere Full/Liberty profile as Application Server for Liferay
according to what I found on Liferay documentation/user guide, Liferay is supported on Websphere 8.5 and this guide
https://www.liferay.com/documentation/liferay-portal/6.2/user-guide/-/ai/installing-liferay-on-websphere-8-5-liferay-portal-6-2-user-guide-15--3
explain how to proceed.
In the same guide I find that
Please also note that the WebSphere Application Liberty Profile is not supported by Liferay.
so, to give a complete answer to what you are looking for:
you cannot make Liferay running on a Bluemix Liberty Runtime (because of the missing support for Liberty WAS profile)
you could create a Bluemix Docker container or Bluemix Virtual Machine running Websphere 8.5 Full Profile and deploy Liferay on it
About Docker container, you could find some guides on the network, one of them is the following
https://www.ibm.com/developerworks/community/blogs/devTips/entry/running_websphere_on_docker_container?lang=en
About Bluemix VM, being an openStack VM I suppose you should go on in the same way of installing WebSphere on a local VM.
Tomcat as Application Server for Liferay
Liferay is fully supported on Tomcat Application Server, which is available on Bluemix Cloud Saas on the Bluemix Runtime using the following buildpack java_buildpack with
cf push [app-name] -b java_buildpack
This buildpack provides openJDK and Tomcat as Application server
Obviously creating a Bluemix Docker Container or a VM running Tomcat as Application Server will allow to deploy Liferay on this Application Server as usual.

Cannot Connect to Windows Azure VM (Server 2012 R2) Web Deploy Service

I can't seem to be able to deploy a site to a windows server 2012 r2 running IIS and Web Deploy in Azure VM. I have verified that the port is open, the credentials are correct and the site name as well. I tried using http: and https: also tried using msdeploy.axd end point and the MSDEPLOYAGENTSERVICE one nothing. Check is the services are running and if I can connect to the machine which at can on port 80 to the default site. Tried connecting from multiple connections I get the same result...
Could not connect to the remote computer ("<computer name>.cloudapp.net"). On the remote computer make sure that Web Deploy is installed and that the required process ("Web Deployment Agent Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE. Unable to connect to the remote server.
After dealing with this for about an hour now, I figured out how to fix this on my Azure Virtual Machine.
First the obvious
Check that port 8172 (if you're using default settings) is open in your firewall
Check that the processes MsDepSvc and WMSVC are running.
Check that the site name is correct.
Management Service
In ISS, at the root level of the server, check your settings under Management Service.
It should have Enable Remote Connections checked:
Did you download the full package
This was the one that got me, I hadn't installed everything.
On the bottom of the WebDeploy page: http://www.iis.net/downloads/microsoft/web-deploy
You can download the full package, and then just install everything.
You don't mention if you have an endpoint configured for your Azure VM. If not, make sure you create an endpoint with a private port of 8172.
EDIT: Here is a troubleshooting guide for web deploy that includes the error message you've encountered. Additionally, from my own experience I have managed to mistype the site name and not install .NET and seeing similar errors.
Helpful but in the end in our case it was TLS mismatch. Check both machines can do TLS 1.2 if you are forcing it. Have put more detail here https://fuseit.zendesk.com/hc/en-us/articles/360000328595. Cheers

Resources