ibm mobilefirst - Worklight connection issue when migrating from development environment to dev/test environment -


i coming across urgent issue when doing migration development environment dev/test environment. error

the server unable process request application. please try again later.

note: dev environment ready (worklight console , application center). can access them via 2 urls of ...:9080/worklight/console/ , ...:9080/applicationcenter/applications/applications.html

i saw "help-ibm worklight" doc , followed steps list, didn't work.

the steps i've taken:

  1. change application-descriptor.xml's worklightserverrooturl to: http://www.test.com:9080/worklight
  2. change worklight.properties:
publicworklighthostname=www.test.com # http or https publicworklightprotocol = http # default port leave empty publicworklightport=9080 publicworklightcontext=/worklight 

followed by:

  1. build , deploy
  2. rename mytest.war file worklight.war (i saw .war file named "worklight.war" had been deployed, used worklight console, think.)

when access url "www.test.com:9080/worklight/apps/services/api/ismd/android/" directly, error:

authenticationcontext.getorcreateauthenticationcontext()

any help?

you did not mention in steps whether or not have re-deployed .war file. did not mention application server running on in dev/test environment.

the war file more worklight console; contains worklight.properties , authenticationconfig.xml among other artifacts; must re-deploy .war file in application server changes take place.

in addition, this apar suggests configuration issue when such error logged. try re-deployment first.


Comments

Popular posts from this blog

asp.net mvc 3 - Using mvc3, I need to add a username/password to the sql connection string at runtime -

kineticjs - draw multiple lines and delete individual line -

thumbnails - jQuery image rotate on hover -