looking to migrate Java projects from tomcat 9 to tomcat 8.5 (downgrade) - tomcat8

I am looking to use an earlier version of tomcat for my project to comply with AWS supported system. So my project is using tomcat 9 and works fine. I successfully installed tomcat 8.5 on my computer and when I try to 'run on server' with eclipse I get an error.
The server cannot be started because one or more of the ports are invalid. Open the server editor and correct the invalid ports.

Related

IBM MobileFirst Platform 7.1 - No runtime environment deployed in this server

I have installed IBM Mobile First Server on a VM. As a part of Mobile First installation, I installed Application Center, IBM DB2 , WAS Liberty Core as well and Mobile First Studio on my local machine. I am able to view the Mobile First console on http://localhost:9083/console and providing the required credentials.I uploaded a war file by using the Server Configuration Tool. Restarted Application Server. Tried with different war files.
My issue is when I open my mobile first console I'm getting
No runtime environment deployed in this server
Here you can find my messages.log and server.xml files https://www.dropbox.com/s/ftb3bb71wyuarrl/share.zip?dl=0
You've changed the following:
<httpEndpoint id="defaultHttpEndpoint"
httpPort="9083"
httpsPort="9446" host="*" >
But kept this:
<jndiEntry jndiName="ibm.worklight.admin.jmx.port" value='"9443"'/>
And in the log, it mentions:
[9/24/15 8:29:06:429 CDT] 0000005b
com.worklight.common.util.jmx.LibertyRuntimeMBeanHandler I
Impossible to establish a REST connection to :
service:jmx:rest://localhost:9443/IBMJMXConnectorREST
In your previous question on the same topic it was identified that you have some VM network problems with the ports 9080 and 9443. So, try changing "9443" to align with the actual HTTPS port you're using, 9446.

Worklight Server 6.2 Context not found

I am trying to install and configure Worklight application center on liberty profile.
I have installed the worklight 6.2 using the installation manager. Along the installation process i have installed the appcenter as well.
The installation was successful. But when i try to access the console it giving me "Context root not found".
Also I have checked the server.xml of the liberty server. It contains the appcenterconsole.war and the applicationcenter.war mapped.
Does anyone experience this problem as well?
This might be the same problem as mentioned here: Worklight Development Server does not start
Please make sure you use Oracle Java, not IBM Java!

How to set up IBM work light server on my machine

Hello Folks,
We are recently working on IBM worklight and what we want to try is:
We have two machine, one we want to set as server and other one is for my developer to build the app.
Currently we have installed Apache Tomcat server on the machine which we want to make as server. We even have IBM Worklight installed on it. Now What I want to achieve is to deploy the app from other machine to this server. But I am not able to set up the things properly.
Things done so far:
Installed Apache Tomcat server software on a machine (server)
Installed IBM Installation Manager
I am not getting how will I set up the Worklight Server on this machine. Can anyone provide some information?
You cannot directly deploy from Worklight Studio (the Eclipse plug-in) to a remote Worklight Server.
The steps you need to take are:
Setup your application for a remote server, via the Build Settings and Deploy Target window
Build the app
Take the .wlapp/.adapter file and deploy it to the remote Worklight Server via it's Worklight Console
If you have done any server-related changes (authenticationConfig.xml, Java code, ...) you will need to first deploy the project's .war file to the application server that hosts the remote Worklight Server, and then the .wlapp.

IntelliJ and Local Tomcat: Mandatory?

Is it mandatory to have a local Tomcat Server in order to configure an Application Server in IntelliJ IDEA? My ultimate goal is to deploy to my remote Tomcat instance ONLY, without any local configurations.
Many thanks!
Tomcat Application server is used as a Provided dependency to get code completion and compilation of your code that utilizes JSPs and Servlets.
Remote debug configuration needs Tomcat Application server to know the target server version and uses local server libraries to perform connection and deployment.
So, yes, it's mandatory to have a local copy installed to use Tomcat Remote debug configuration.
If you are going to debug only plain Java code without JPS, use the plain Remote debug configuration like for normal applications, it doesn't require local application server installation.

How to profile application running in Tomcat 6 on Solaris 10 Sparc Server?

My J2EE based application running in Tomcat 6 on Solaris 10 sparc server is very very slow.
It works fine on Linux servers. I am using flex as web front end to my application.
I need to know how can I configure and run it using any java profiler on Sun Solaris server.
visualvm doesn't work remotely.
I used JProfiler. Not completely solved this problem using it (As mentioned in my comments , there seemed to be more of an Solaris installation ), But it was helpful.