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


Deploying CM WebClient with Websydian Express for Java


The Websydian Express Proxy for Java (Wxp4J) is an implementation of Websydian Express where all business logic, including Websydian Express system functions, business processes, and CM WebClient functions, run inside of a Java EE-compliant servlet container. In this mode, all Plex functions are generated for the Java platform, and deployed to a web application archive (WAR) file.

back to top

Complete Steps 3 – 11 of Section 4

  1. Create a new Java project.
  2. Import PlexBuild project.
  3. Setup PlexBuild run configuration.
  4. Configure file in PlexBuild project.
  5. Run PlexBuild in Eclipse.
  6. Import WebClient project.
  7. Add WebClientDWA.jar and WxpServletProxy.jar to your WebClient build path/folder.
  8. Configure java project.
  9. Configure
  10. Generate web template.

back to top

Import the Express30.war File

  1. FileImport → Expand Web folder → Select WAR file → Click Next >
  2. Browse to express30.war directory. Click Finish.


back to top


The file is saved in express30/WebContent/WEB-INF.
websydianserver.log.file=, servlet.log.file=, and websydianserver.licensefilepath= should be configured based on your settings.

# -------------------------------------------------------------------------------------------------

websydianserver.log.file=C:/Websydian/Express v3.0 for Java/logs/websydianserver.log

servlet.log.file=C:/Websydian/Express v3.0 for Java/logs/J2eeproxy.log

websydianserver.licensefilepath=C:/Websydian/Express v3.0 for Java/license/license.key


You can find a sample file at the Download section of: CMFirst Software and Documentation

back to top

Add to Express30 Project

Copy to express30/src folder.

back to top


log4j.appender.WebClientServlet.file should be configured based on your settings.

You can find a sample of a websydian file at: CMFirst Software and Documentation

back to top


Make sure you configure the following properties according to your settings.

# Current connection information

Environment.Default.DataSource=jdbc:jtds:sqlserver://localhost:1433/Web sydianExpress30

# Current database connection configuration

Environment.Default.DBCon.WebsydianExpress.Driver=net.sourceforge.jtds. jdbc.Driver

back to top

Configure express30 project.

  1. Add your java project to express30 project.
    Right-click on express30 → Select Properties → Select Deployment Assembly → Click Add → Select Project → Click Next > → Select your java project → Click Finish.

  2. Configure web.xml file under express30/WebContent/WEB-INF. Open your web.xml with text editor and modify it so that it looks like the following.

    WebsydianExpress v3.0 for Java
    WebsydianExpress v3.0 for Java







  3. Copy your images folder to express30/WebContent

back to top

Configure Websydian Express Admin site.

  1. Go to http://localhost:8080/express30/site/basicsite/admin Login as username: WSADMIN and password: ADMIN

  2. Add business process
    Expand Content loaders → Select Business Processes → Click Insert → Enter
    Name: myProgram, Program name:PlexImplementationName, and description – Create default presentation should be checked → Click Insert.

  3. Add the business process to the site structure
    Expand Site structure → Select site structure → Select MENU – Menu Loader → Click Add button → Select Create a new site element and select business process for Type of Site Element → Click Next → Select your business process → Enter Menu item text, alignment, sequence and display in frame (Please refer to Websydian Express help for details) → Select Next → Select the roles that can access the site element → Click Finish.

  4. Add Java Packages.
    Expand Global settings → Select Java Packages → Click Insert → Enter package name → Select Insert.

  5. Set the path for images.
    Expand Template → Select Folders → Click Insert → Enter the fields as follows.

back to top

Run CM WebClient application

Go to http://localhost:8080/express30/site/basicsite
Based on your application setting, you either need to login to run the application or run it anonymously.

back to top

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


Powered by Zendesk