Skip to main content
artiem51422106
Known Participant
May 10, 2018
Question

New Install of Coldfusion 2016 Startup Issue XPathFactory

  • May 10, 2018
  • 1 reply
  • 2146 views

Hello all

I have installed Coldfusion 2016 on Ubuntu and I am seeing this in the logs:

Error [localhost-startStop-1] - XPathFactory#newInstance() failed to create an XPathFactory for the default object model:

http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException:

javax.xml.xpath.XPathFactoryConfigurationException: java.util.ServiceConfigurationError: javax.xml.xpath.XPathFactory:

jar:file:/opt/coldfusion2016/cfusion/bin/../lib/saxon9he.jar!/META-INF/services/javax.xml.xpath.XPathFactory:2: Illegal configuration-file syntax

Anyone see this?

Also, maybe related, but I also cannot update (CF Update 6) the server using the CF Admin: seeing this in the logs:

[cfthread-1] - Installing update, Update-File: /opt/coldfusion2016/cfusion/hf-updates/hotfix-006-308055.jar Update-Level: 06

[cfthread-1] - Install Error -  =======================================================  Installer User Interface Mode Not Supported  Unable to load and to prepare the installer in console or silent mode.  =======================================================

any help would be very appreciated

thanks in advanced

    This topic has been closed for replies.

    1 reply

    Priyank Shrivastava.
    Community Manager
    Community Manager
    May 10, 2018

    Hi,

    Could you please let me know if you are getting this after you installed the ColdFusion or while installing it. please share the install log here.

    Thanks,

    Priyank Shrivastava

    Thanks,Priyank Shrivastava
    artiem51422106
    Known Participant
    May 10, 2018

    This is happening after installation. The site that is hosted on this CF2016 (standard) works (mostly) fine by the way. Do you want the entire install log? it pretty big - i quickly looked thru it - it all says "SUCCESSFUL"

    artiem51422106
    Known Participant
    May 11, 2018

    Artiem, I still would wonder if you are having errors with the update process, since things (with the xpath error) started happening after you tried update 6 the first time. (And to be clear, you did not need to do 4 and 5. CF updates are cumulative. It does say that but it seems it’s easily missed.)

    You also say that you tried applying the 4 and 5 and got “the same error”, and also after doing the CLI approach. But which is the “same error”? Do you mean that during the startup of CF, as reflected in the coldfusion-out.log you are tailing?

    Finally, you have not told us whether you looked at the install log for the updates, as I suggested. I’m curious about the case of your install of update 6 (your point 2), or of 4 and 5 (your point 6) or your CLI attempt (your point 7). The answer may be there.

    Indeed, did you check out the blog post I shared, which elaborates on all this? It may simply be that you are having the very sort of error I outline there, from your first attempt at update 6 to the later ones of 4 and 5, and the CLI one. And I outline there a few possible explanations and solutions.

    And one in fact is to do the CLI installer. In that you tried that, had you made sure that CF and related CF services were stopped? Do check all your Linux services to see which may be related to CF, like the “coldfusion 2016 add-on service”. One of the common problems I identify in the blog post is that if the installer (UI or CLI) does not stop the CF instances, then when it tries to update files they may be locked. The install log would show that, but it can be a needle in a haystack.

    Again, the first thing to look at is the install log for the update (shown only after the update completes or fails), and to look for that same table of successes and errors as exists in the CF install log. If you see it has any errors at all, that’s your problem, and you have to solve that.

    If that’s the situation, and yet you may still struggle after reading my blog post (or perhaps if you feel you don’t care to wade through it), I will say that I am available to help you with this on a consulting basis, working entirely remotely (without you needing to give me remote access to your server, but instead working via a shared desktop solution). I also have no minimum, and I have a satisfaction guarantee so you won’t pay for time you don’t find valuable. For more, see http://www.carehart.org/consulting.

    Sorry for the seeming sales pitch there, but if you’re in need and don’t want to wait for back and forths with folks here, I’m just saying that’s an option. I have helped hundreds of shops resolve CF update problems, and the blog post shares the lessons learned.

    /charlie


    Charlie

    when I say "same error" i mean this error:

    May 11, 2018 11:16:51 AM Information [cfthread-2] - Install Error -  =======================================================  Installer User Interface Mode Not Supported  Unable to load and to prepare the installer in console or silent mode.  =======================================================

    I have tried update 4, 5 and 6 both in the CLI and CF Admin. in all cases I receive the above error in the coldfusion-out.log

    yes, I have checked out that blog post. I had already tried upgrading all 3 updates (4,5,6) in both methods (CLI,Admin) with both CF services started and not running. used ps aux and saw no CF services running (as far as I know) - i also shutdown mysql. all led to the same error (above)

    I will go through your blog post more carefully as well

    thanks