0

When I try and deploy to my AI into a local liberty Eclipse informs me that I don't have servlet 3.0 installed.

My liberty installation is:- Launching server1 (WebSphere Application Server 8.5.5.6/wlp-1.0.9.cl50620150610- 1749) on Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_45-b15 (en_GB)

and it contains servlet 3.1

Even after installing the servlet 3.0 feature, it still says I need to install the feature

Jonathan
  • 31
  • 1

2 Answers2

1

Here's some troubleshooting suggestions specific to your scenario.

If you're having issues with your own Liberty install, you can try using the one that ships with the Code Rally install (it's automatically included when you install using the Installation Manager install). You can find it under the Code Rally install dir, for example, on my Windows machine the Liberty install dir is: C:\Program Files\IBM\CodeRally\wlp

As of July 2015, the Code Rally 1.4 install includes the Liberty 2015.5.0.0 beta, which does includes the servlet-3.0 feature by default.

I would also suggest creating a new workspace for Code Rally, rather than reusing an old workspace. This way you can ensure that there are not any old servers/runtimes defined (either Servers in the Servers view, or Runtimes defined under Preferences > Server > Runtime Environments). Code Rally should work with an existing workspace, but using a new workspace helps rule out these types of issues.

Ensure that you have the correct Liberty server defined in the Servers view, such that the 'WebSphere Application Server Liberty Profile at localhost' entry should be the only one listed. Note that you may also see Web Preview Server in the Servers view list; it can't hurt to remove this.

Finally, Code Rally Agents have a target Liberty server defined in their vehicle info. Right click on your vehicle in the Vehicles tab, and select Edit. Ensure that the "Liberty Server:" combo box is pointing to the correct server.

0

Thank you Jonathan for your help. The extra step I needed to do, was delete the contents of the c:\users\bondj\user.coderally directory - and then reinstall.

Jonathan
  • 31
  • 1