jwordpressA new release of JWordPress, now updated to the latest wordpress version 4.4.1.

You’re seeing in action now, this blog works on it. You can update an existing installation, wordpress will tell you have to upgrade the database with a single click on a button. Everything works for me.

As always you can download the jwordpress.war or create your project based on it

15 Responses to “JWORDPRESS 4.4.1

  • Craig List
    2 years ago

    Many thanks for putting this together!

    Just to add to your collection of outstanding issues, when selecting Search Console from the menu of the Yoast SEO v3.0.7 plugin in WordPress, there is the following exception:
    java.lang.NullPointerException at com.caucho.quercus.expr.ThisFieldExpr.init(ThisFieldExpr.java:89) at com.caucho.quercus.expr.ThisFieldExpr.eval(ThisFieldExpr.java:106)

    A second try yields a bit more info about the source of the exception:
    …\apache-tomcat-8.0.30\webapps\blog\wp-content\plugins\wordpress-seo\admin\google_search_console\class-gsc.php:103: Fatal Error: Method call ‘get_client’ is not allowed for a null value.

    • Thanks for the report, seems a problem while evaluating a php expression, I’ll try to look at it.

  • Craig List
    2 years ago

    Also, the Social settings of the Yoast SEO plugin are not saved in the database, even though the plugin confirms they were successfully saved and there is no error indication.

  • I downloaded the jwordpress 4.4.1 and trying to install in local tomcat 7 on MAC with JDK8. I am not able to make connection to local mysql database. I tried localhost, localhost:3307, and with correct credentials. I have verified that credentials works by connecting with mysqlWorkbench. Also If I deploy a wordpress with MAMP and connect to same database, it works. I don’t see any error logs too. Any idea what could be the issue?

    • The jdbc drivers needs to be installed in the /lib folder of tomcat. After that all the applications (jwordpress included) can use it for the connection to the database. Did you have the mysql-jdbc jar in place? You can download it from a maven repository or from the mysql website.

      • l-1.zip…" rel="nofollow">https://downloads.wordpress.org/release/wordpress-4.4.2-partial-1.zip…

        Unpacking the update…

        The package could not be installed.: PCLZIP_ERR_READ_OPEN_FAIL (-2) : Unable to open archive ‘/usr/local/apache-tomcat-7.0.65/webapps/jwordpress-4.4.1/WEB-INF/tmp/wordpress-4.4.2-partial-1-26VliV.tmp’ in rb mode

        Installation Failed

        • Yes it’s a known problem. The php implementation of the function used for the downloads it’s still incomplete. For this reason even the plugin installation/updates needs to be done manually.
          You can wait for the next jwordpress release or do it yourself unpacking the updated wordpress files in the expanded jwordpress folder in tomcat.

          • Manik
            2 years ago

            Ok, I did install plugins and upgrades manually. Thanks.

  • Did anyone try using WP Rest API with this? I installed plugin but getting resource not available errors on the api. Similar setup on normal wordpress is working.

  • Any one able to use this with WP Rest API? I am getting 404 errors for API.

  • Heya,

    This works really really well!
    However, I broke WordPress on my Tomcat after the latest WordPress update. Most things work normallly after the update but the Plugin page (and plugins in general I assume) is broken.
    curl seems to be the problem again…
    Did you have any luck with wordpress 4.5 / 4.6?


  • Tried upgrading to WordPress 4.7 and running into several issues. Where is the best place to file bugs?

    1) wp-content/themes/twentyseventeen/template-parts/header/site-branding.php:30: Fatal Error: ‘twentyseventeen_is_frontpage’ is an unknown function.

    Appears to be a searchpath problem as the function does exist in wp-content/themes/twentyseventeen/inc/template-functions.php

    2) wp-includes/Requests/Transport/cURL.php:181: Warning: Callable: ” is not a valid callable argument [curl_setopt]

    May be related to the download implementation. However, I don’t recall actively requesting a download/update.

    It would be great to get support for WordPress 4.7.

    • Sorry for the response time, and thank’s for testing with 4.7. I don’t had much time to work on jwordpress, but I would like to continue supporting it.

      It’s quite challenging here because the problems are the foundations:
      1. PHP is a mess
      2. Quercus seems unmaintained (the svn repo is now not accessible, but there’s hope https://github.com/mdaniel/svn-caucho-com-resin)

      So I hope to integrate the latest commits from github in the “mavenized” quercus repo and then test with the new version of WordPress.

Trackbacks & Pings

Leave a Reply

Your email address will not be published. Required fields are marked *