我想在我的应用程序中使用JSF 2.3,但WildFly使用2.2 JAR变体.
甲骨文在这里说https://javaserverfaces.java.net/2.3/download.html,不会发布2.3 2 JAR变种.
我可以重新启动运行以下 Java 代码的整个 WildFly 服务器。但我只想重新加载一个名为“test.war”的部署。怎么可能呢?
public void flushall() throws IOException {
    Runtime.getRuntime().exec(
        "cmd /c start C:\\wildfly\\bin\\jboss-cli.bat --connect /subsystem=datasources/data-source=FirebirdPool/:flush-all-connection-in-pool "
    );
}
我正在尝试在 ubuntu 18.04 中安装 firebird 2.5.8,但没有成功\n手册第 6 条中说
\n\nSuperServer only installs a /etc/rc.d/init.d/firebird server start script. \n\nClassic server installs a /etc/xinetd.d/firebird start script or, for older inetd systems, adds an entry to the /etc/inetd file \n但在我运行 install.sh 后并没有发生这种情况,它只创建 opt/firebird 文件,安装后也不启动服务。
\n\n\n\n同样在https://firebirdsql.org/manual/ubusetup.html中它说:\napt-get install firebird2.5-superclassic
\n\n但它在终端上打印:
\n\nE: Imposs\xc3\xadvel encontrar o pacote firebird2.5-superclassic \nE: Couldn\'t find any package by glob \'firebird2.5-superclassic\' \nE: N\xc3\xa3o foi poss\xc3\xadvel encontrar o pacote atrav\xc3\xa9s da express\xc3\xa3o regular \'firebird2.5-superclassic\' …我想在JSF顶部使用PrimeFaces组件选中一些复选框中的所有复选框.
我的代码是这样的:
<h:panelGrid columns="2" style="margin-bottom:10px" cellpadding="5">
    <p:outputLabel value="Confere:" style="font-weight:bold!important" />
    <p:selectManyCheckbox
        value="#{funcionarioBean.funcionario.permissaoConfere.stringArray}">
        <f:selectItem itemLabel="Consulta" itemValue="C" />
        <f:selectItem itemLabel="Edição" itemValue="E" />
        <f:selectItem itemLabel="Deleção" itemValue="D" />
        <f:selectItem itemLabel="Inclusão" itemValue="I" />
        <f:selectItem itemLabel="Relatório" itemValue="R" />
        <f:selectItem itemLabel="Check All"/>
    </p:selectManyCheckbox>
</h:panelGrid>
<h:panelGrid columns="2" style="margin-bottom:10px" cellpadding="5">
    <p:outputLabel value="Visitante:" style="font-weight:bold!important" />
    <p:selectManyCheckbox
        value="#{funcionarioBean.funcionario.permissaoVisitante.stringArray}">
        <f:selectItem itemLabel="Consulta" itemValue="C" />
        <f:selectItem itemLabel="Edição" itemValue="E" />
        <f:selectItem itemLabel="Deleção" itemValue="D" />
        <f:selectItem itemLabel="Inclusão" itemValue="I" />
        <f:selectItem itemLabel="Relatório" itemValue="R" />
        <f:selectItem itemLabel="Check All"/>
    </p:selectManyCheckbox>
</h:panelGrid>
<h:panelGrid columns="2" style="margin-bottom:10px" cellpadding="5">
    <p:outputLabel value="Ocorrências:" style="font-weight:bold!important" /> …