wildfly-8

Wildfly doesn't recognize jboss deployment structure file

杀马特。学长 韩版系。学妹 提交于 2019-12-12 03:09:37
问题 I'm trying to configure Wildfly to use per deployment logging and jackson as provider for json on resteasy but looks like the AS doesn't recognize the file "jboss-deployment-structure.xml". I wanna log the hibernate sql, i already put " <property name="hibernate.show_sql" value="true"/> " in persistence.xml. And for Jackson, i use the following method: @GET @Path("/resumodia") @Produces(MediaType.APPLICATION_JSON) @Consumes("*/*") @GZIP public Response resumoHorariosDoDia() { try { final

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

Failed to process phase PARSE of deployment

旧时模样 提交于 2019-12-12 02:03:33
问题 I am trying to deploy LBatch.war on wildfly-8 by putting the war file in the deployment folder of the server, then in Netbeans I start the server and ends up the following exceptions. 14:39:53,810 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-10) MSC000001: Failed to start service jboss.deployment.unit."LBatch.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."LBatch.war".PARSE: JBAS018733: Failed to process phase PARSE of deployment "LBatch.war" at

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

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>

webservice encryption not working (jbossws-cxf)

荒凉一梦 提交于 2019-12-11 22:23:09
问题 i am trying to get WS-Security encryption working on Wildfly. I read this doc: https://docs.jboss.org/author/display/WFLY8/WS-Security. I want my soap messages to travel encrypted from client to server and vice-versa. I followed the steps for server and client but the message are not encrypted and the server do not complaint about de unencrypted message that it receives. The unique difference with the doc example is that we do not use WSDL contract enforcing(Our wsdl does not include

Cannot deploy Spring boot application to Wildfly 8.2 in eclipse

自作多情 提交于 2019-12-11 12:22:47
问题 I am trying to deploy a spring boot application to Wildfly 8.2 in eclipse. The logs say that the application is deployed, but I don't see the logs of the actual spring boot application starting up and it is unreachable. @PropertySources({@PropertySource("classpath:application.properties"),ignoreResourceNotFound = true)}) @ComponentScan(basePackages = {"com.open"}) @EnableJpaRepositories(basePackages = {"com.open.common.entity"}) @SpringBootApplication public class PfApplication extends

WildFly - EJB invocations from a remote client - Operation failed with status WAITING

Deadly 提交于 2019-12-11 11:29:18
问题 Following is my code to invoke an ejb, but it wait for the connection and get failed. I changed the port to 4447 but no luck. private DataGridService lookupRemoteEJB() throws NamingException { Context context = null; try { Properties clientProperties = new Properties(); clientProperties.put("remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED", "false"); clientProperties.put("remote.connections", "default"); clientProperties.put("remote.connection.default.port", "4447");

Maven build failed for struts2 showcase

久未见 提交于 2019-12-11 07:09:32
问题 Hi I am new to Struts2 and Maven. I read about the struts2-showcase and found the maven repository at http://maven-repository.com maven repository I am using is http://maven-repository.com/artifact/org.apache.struts/struts2-showcase/2.3.16.3 I am trying to create one project using the given pom.xml given in the maven repo. But whenever I run mvn install, its giving build failure. Firstly I was doing this by creating one project using mvn archetype:generate -DgroupId=struts -DartifactId

How to set version to your war in WildFly?

自古美人都是妖i 提交于 2019-12-11 04:00:53
问题 In apache I use, projectname#1.9-Test##1.9-TEST to set version my war. What is the equivalent of that in WildFly? 回答1: Wildfly doesn't have the parallel deployment feature that tomcat has. As far as I know this feature is pretty unique to Tomcat. There is a feature request in the Wildfly Jira for this: https://issues.jboss.org/browse/WFLY-4701 but IMO it is going to be a long time before we see this. It is much harder to implement this feature in a full app server than it is in a servlet