Thank you for being a valued client of CM First Group. If you have any technical issues or concerns, please open a ticket on support.cmfirstgroup.com, email CM First technical support at support@cmfirstgroup.com or call us on our 24/7 customer hotline at +1 (512) 623-7586.

Follow

Troubleshooting

Q: I am not able to connect to AS/400 in CM WebClient or I am getting java.io.UnsupportedEncodingException: Cp037. What should I do?

A: Make sure that your function works in Java Swing. If it is not working in Java Swing, check if your eclipse is using the correct JDK version. You should be using JDK 1.5 or higher.

back to top

Q: What are the steps to run Java Swing in Eclipse?

A: Go to Run → Run Configurations... → Select Java Application → Click New launch configuration.

In the Main tab window, browse and select your java project (the project that has your java source files). For the main class, search for ObRun.ObPanel.ObLaunch and click Apply.

Open Arguments tab window → In the Program arguments field, enter your function entry point in the format of . “Path= “ → Click Apply → Click Run.

For example: WXPCOURSE60.WXuF “Path= “

back to top

Q: What should I do if I am getting a java.lang.NullPointerException when generating the web template?

A: If you are using PlexResource folder to store your Plex .panelresource or .resource files, the PlexResource folder should set as a source folder. To set your PlexResource folder as a source folder:

  1. Right-click on your java project and select Properties.
  2. In the Source tab, click add folder and add the PlexResource folder to the source.

back to top

Q: In CM WebClient v1.4 we have to create a js folder for javascript files. Why there is no js folder in CM WebClient v1.6?

A: In order to ease our customer with the upgrade process, we have included the javascript files in WebClient project.

back to top

Q: How do I check if my projects are published correctly in Tomcat server?

A: Go to / .metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ \WEB-INF\lib

back to top

Q: Some browsers like Firefox and Safari do not set locale correctly. What can I do?

A: Create a page template, for example: locale-page.wcli on your custom template project. In your locale-page.wcli file, it should have something like the following.

/(!djConfig)  locale:'fi-fi',
/(!djConfig)

Above is the example for setting locale in Finnish. Remember to add a new triple in your function to apply the new page template.
myFunction is a FNC ~WebShell                customPage is a FNC ~WebUI
myFunction is a FNC customPage              customPage impl name locale

back to top

Q: Subclipse does not work on WebClientLiveInstall. What should I do?

A: WebClientLiveInstall is not designed for CM WebClient development purpose. If you are setting up CM WebClient development environment, you should build your environment from scratch. Subclipse will work with official eclipse installation.

back to top

Q: What do I do if Eclipse console shows web template generator error like below

”WebClientTestModel.toolbar_ObFnc$toolbar_ObPnl: [Show traceback]WebClientTestModel.toolbar_ObFnc$toolbar_ObPnl.generateTemplate([B, com.adcaustin.util.AFile)” ?

A: You need to install CM WebClient 1.8 project and make sure that you have the same WebClientBuilderPlugin installed in your Eclipse plugin.

back to top

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk