wildfly

java.sql.SQLException: Invalid column index in wildfly

为君一笑 提交于 2019-12-12 02:42:39
问题 I upgraded jboss 7 to wildfly 10 but there is a strange error which I couldn't understand why The exception: Caused by: java.sql.SQLException: Invalid column index at oracle.jdbc.driver.OraclePreparedStatement.setLongInternal(OraclePreparedStatement.java:4901) at oracle.jdbc.driver.OraclePreparedStatement.setLong(OraclePreparedStatement.java:4888) at oracle.jdbc.driver.OraclePreparedStatementWrapper.setLong(OraclePreparedStatementWrapper.java:206) at com.mchange.v2.c3p0.impl

Wildfly 8 : Not able to deploy Jolokia running at different port w.r.t other applications under same IP

老子叫甜甜 提交于 2019-12-12 02:39:38
问题 To start with this not a Jolokia issue, but something related to Wildfly. I want one of my applications (Jolokia) in wildfly to listen to a different port from the rest of the applications (listening at default port). Following these two (here and here), I have done the following : 1. Added jboss-web.xml under WEB-INF directory for the jolokia war (in addition to the web.xml located at the same location) : <?xml version="1.0" encoding="UTF-8"?> <jboss-web xmlns="http://www.jboss.com/xml/ns

Wildfly clustering with VirtualBox

北城以北 提交于 2019-12-12 01:55:38
问题 I am using VirtualBox on a WINDOWS7 as host of two DEBIAN7.7 guests, deb1 and deb2 . Each guest can comunicate with the other one. Using one guest browser I can see the Wildfly istance welcome page that's running on the other guest. I run each istance in standalone-ha mode, network interfaces have mutlicast enabled, I can see on Wildfly node named srv1 that the two istances build a cluster: ... ...ISPN000094: Received new cluster view: [srv2/web|3] (2) [srv2/web, srv1/web] where srv1 and srv2

Upgrade JSF / Mojarra in JBoss AS / EAP / WildFly

半城伤御伤魂 提交于 2019-12-12 00:36:23
问题 How do I upgrade Mojarra in JBoss server and tell it use the given Mojarra 2.x JARs instead of JBoss own jboss-jsf-api_2.1_spec-2.0.1.Final.jar as indicated in startup log? If that's relevant, I am currently using JBoss AS 7.1. 回答1: The below procedure applies to JBoss AS 7.2+ , JBoss EAP 6.1+ , and JBoss WildFly 8+ and assumes that you've full control over the server installation and configuration. This upgrades the server-wide default JSF version: Download the individual Mojarra API and

Create datasource and deploy application

元气小坏坏 提交于 2019-12-11 23:16:10
问题 I have a maven project which creates a war file and this should be deployed to a bundled wildfly server via wildfly:run . That works so far, but I need to create a datasource before deploying. I have tried to bind the add-resource goal to different phases like deploy, install or package. None of them worked. What is wrong? An idea would be to use the wildfly:start attach an execution to add the datasource and deploy the application, but I don't know how. <groupId>org.wildfly.plugins</groupId>

How to add more jax-rs components to the application?

梦想与她 提交于 2019-12-11 20:40:56
问题 I want to add a @Provider ContainerRequestFilter to my web project which is already defined in another project on which my current project has dependency on. So, all the providers of that project are available to this project. Both wars are packaged as ear and deployed to wildfly. But since, context-roots are different for both the web projects (or both are different web applications), the @Provider is only working for the jax-rs resources in the first project. So, I want to manually add the

Use infinispan 7 for wildfly 8.1.0

╄→гoц情女王★ 提交于 2019-12-11 19:55:45
问题 in Wildfly 8.1.0, infinispan 6.0.2.Final is integrated, but I want to use newer version of Infinispan, 7.0.0.final, how can I configure wildfly or my pom.xml/jboss-deployment-structure.xml to use external infinispan 7.0.0.Final, not its own infinispan (6.0.2.Final). Thank you. 回答1: Create w JBOSS Module for Infinispan 7. Go to: %WILDFLY_HOME%\modules\system\layers\base\org\infinispan\ and copy the \main folder and rename it to for example \version7 . Inside this folder delete the infinispan 6

Is there a Java 1.7 compatible Artemis JMS client?

笑着哭i 提交于 2019-12-11 19:28:38
问题 Is it possible to get (or build) an equivalent of artemis-jms-client-all-2.x.0.jar compatible with Java 1.7? I need it because Weblogic SOA 10.x doesn't support Java 1.8, and I would like to connect it to ActiveMQ Artemis. 回答1: The ActiveMQ Artemis JMS client (and many of its dependencies) use language features from Java 1.8 so there is no 2.x release which is compatible with Java 1.7. It is theoretically possible to use a 1.4 or earlier release with a current 2.x broker, but that was before

Drool with Wildfly is not responding under Load

℡╲_俬逩灬. 提交于 2019-12-11 19:07:41
问题 I have set up Drool rule Engine 7.15 with Wildfly 15.0(jboss) server version. Normally it works fine. But when the Load is more to the rule Engine i.e more request concurrently come. It stops responding until the rule is deployed again. This could be the issue with the container of wildfly. Can any one help inthis regard. -ram 回答1: Dear Anton Giertli, I am using 'wildfly-17.0.0.Final' server and deployed 'kie-server-7.17.0.0.war' along with this my application code as 'kie-builder.war' also

wildfly quickstarts fail to deploy

夙愿已清 提交于 2019-12-11 19:06:30
问题 Some wildfly quickstart modules fail to deploy with numerous errors This is a followup on wildfly quickstart fails from the offset i asked earlier. The problem i had identified with the some modules was the inconsistency of the parent and child poms, once i solved that i tried to deploy the modules as the github page explains, but i got deployment errors( mostly ClassNotFoundException exceptions) for the following modules: carmart carmart-tx cmt deltaspike ejb-security-interceptors ejb