Reputation: 1
Can any one help me how to install worklight server with tomcat.I am using worklight 5.0.5
. I installed worklight server
with tomcat
. when i am trying to open worklight
console i am getting error like "Requested resource not found".
Hello all,
publicWorkLightProtocol=http
# For default port leave empty
publicWorkLightPort=7000
publicWorkLightContext=/worklight
This is where tomcat was running.
/worklight None specified Worklight false 0
Stop Reload Undeploy ![enter image description here][2]
Upvotes: 0
Views: 1282
Reputation: 44516
You really do need to specify which Worklight edition you are using (Enterprise, Developer?).
if you choose to not-use the IBM Installation Manager and you have the Enterprise edition then you also have the Worklight Java EE .jar file.
These instructions are only for the Worklight Server for the sake of simplifying matters for now:
http://localhost:8080/yourContext/console
If you are using the IBM Installation Manager:
You are now basically done. Do the same as steps 4 to 6 for your own project. Note that the IM installs a default Worklight .war file, you may want to delete or undeploy it before putting yours. (when creating your own .war, make sure to set the port to 9080 this time).
Upvotes: 0
Reputation: 761
You'll need to provide some more information, such as the steps you took to install it, url you are trying to reach, etc.
A couple of things that you may look at:
EDIT after question changes:
I am pretty sure your issue is the port. The standard Tomcat port is 8080, I believe WL automatically sets port 9080 (See Tomcat Default Port
I would either change the Tomcat port (How To Change Tomcat Default Port ?)
Or change the WL port, I believe this is done here:
/opt/IBM/Worklight/WorklightServer/WEB-INF/classes/conf/worklight.properties
If this is the first time you'll be going into the WEB-INF
folder, you'll need to open up the worklight.war
file.
Upvotes: 0
Reputation: 401
Also, if you are deploying on a remote server (Tomcat, Liberty, or WebSphere) you must have either the Worklight Consumer or Enterprise (paid) editions. The free Developer Edition only runs within eclipse. If you have one of the paid editions, you might want to consider getting help from the support portal: http://www-947.ibm.com/support/entry/portal/overview
Upvotes: 1
Reputation: 107
If you are not sure that you followed all required steps of the installation procedure, please consider reading through following documents:
There is a whole section about deploying Worklight on Tomcat.
Upvotes: 1