wildfly-8

WSDL based webservices on Wildfly

↘锁芯ラ 提交于 2019-12-02 17:21:56
问题 I am trying to create a simple WSDL based webservice to be deployed on Wildfly using Apache CXF. I tried the standard web.xml, cxf-servlet.xml configurations with the wsdl file but the server gave me the following error Apache CXF library (cxf-api-2.7.3.jar) detected in ws endpoint deployment; either provide a proper deployment replacing embedded libraries with container module dependencies or disable the webservices subsystem for the current deployment adding a proper jboss-deployment

Running Liquibase with CDI on Wildfly 8

血红的双手。 提交于 2019-12-02 08:54:55
问题 I am trying to run Liquibase scripts using CDI on WildFly 8.1.0.Final and I am getting this error: Unsatisfied dependencies for type ResourceAccessor with qualifiers @LiquibaseType My POM has these dependencies: <dependencies> <dependency> <groupId>org.liquibase</groupId> <artifactId>liquibase-core</artifactId> <version>3.3.0</version> </dependency> <dependency> <groupId>org.liquibase</groupId> <artifactId>liquibase-cdi</artifactId> <version>3.3.0</version> </dependency> <dependency> <groupId

WSDL based webservices on Wildfly

人走茶凉 提交于 2019-12-02 07:58:41
I am trying to create a simple WSDL based webservice to be deployed on Wildfly using Apache CXF. I tried the standard web.xml, cxf-servlet.xml configurations with the wsdl file but the server gave me the following error Apache CXF library (cxf-api-2.7.3.jar) detected in ws endpoint deployment; either provide a proper deployment replacing embedded libraries with container module dependencies or disable the webservices subsystem for the current deployment adding a proper jboss-deployment-structure.xml I am using Maven for my build and deploy process. On reading further I realize that Wildfly

Standalone example on jberet (jsr352)

巧了我就是萌 提交于 2019-12-02 06:53:02
问题 Is there anyway to use jberet as standalone module to execute Batch Jobs? All the time getting samples on using along with WildFly. Surprised to see it looks for container to load implementations while trying some samples. Any insights on why/why not would be helpful 回答1: Here is a tutorial how to use jberet in a standalone application: http://www.mastertheboss.com/batch-api/running-batch-jobs-in-j2se-applications You'll need to include various jboss dependencies for it to work. Furthermore

Running Liquibase with CDI on Wildfly 8

此生再无相见时 提交于 2019-12-02 06:28:21
I am trying to run Liquibase scripts using CDI on WildFly 8.1.0.Final and I am getting this error: Unsatisfied dependencies for type ResourceAccessor with qualifiers @LiquibaseType My POM has these dependencies: <dependencies> <dependency> <groupId>org.liquibase</groupId> <artifactId>liquibase-core</artifactId> <version>3.3.0</version> </dependency> <dependency> <groupId>org.liquibase</groupId> <artifactId>liquibase-cdi</artifactId> <version>3.3.0</version> </dependency> <dependency> <groupId>com.mattbertolini</groupId> <artifactId>liquibase-slf4j</artifactId> <version>1.2.1</version> <

UserTransaction: javax.naming.NameNotFoundException after Migration to WildFly 8.2.0 and Java 8

爷,独闯天下 提交于 2019-12-02 05:39:12
After migrating to Java 8 and WildFly 8.2.0 I get this error on every Transaction UserTransaction: javax.naming.NameNotFoundException: UserTransaction [Root exception is java.lang.IllegalStateException: JBAS014237: Only session and message-driven beans with bean-managed transaction demarcation are allowed to access UserTransaction] at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:140) at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:81) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:202) at org.jboss.as.naming

Standalone example on jberet (jsr352)

僤鯓⒐⒋嵵緔 提交于 2019-12-02 04:06:16
Is there anyway to use jberet as standalone module to execute Batch Jobs? All the time getting samples on using along with WildFly. Surprised to see it looks for container to load implementations while trying some samples. Any insights on why/why not would be helpful kaape Here is a tutorial how to use jberet in a standalone application: http://www.mastertheboss.com/batch-api/running-batch-jobs-in-j2se-applications You'll need to include various jboss dependencies for it to work. Furthermore you need to configure jberet with a separate jberet.properties. I've build a (hopefully) minimal

Wildfly to Wildfly EJB client without remote-outbound-connections

我的未来我决定 提交于 2019-12-01 13:31:38
I'd like to be able to have two Wildfly (or JBoss 7) instances where one of the servers talks to EJBs on the other server. The tricky part is that according to documentation , remote-outbound-connections with outbound-socket-bindings need to be created. This is a big hassle for our Operations team, especially when we want to scale out. Is there any way for a Wildfly instance to call EJB's on another Wildfly instance by programmatically specifying the remote host? I've been able to have Tomcat 7 invoke Wildfly EJB's. I added a Maven dependency on org.jboss.as:jboss-as-ejb-client-bom:7.5.0.Final

Eclipse - maven - what goal should I execute to actually deploy to Wildfly from maven (achieve the same result as the “run on server” eclipse command)

十年热恋 提交于 2019-12-01 12:55:59
New to maven - I have an eclipse project that I can Right click > Run as... > Run on server and it runs successfully on my local Wildfly installation. Is there a way to RClick> Run as... and choose an appropriate maven goal to achieve the same effect (ie package as a war, copy to the servers dir (re)staring the server) ? Do I need to use a "wildfly maven plugin" ? Similar question for tomcat: maven deploy goal failing I am on eclipse Luna Java EE pack, maven 3.1 (the one that comes with eclipse) and using Wildfly 8.1.0.Final Related: One click build and deploy using Eclipse/Maven/JBoss AS 7

Eclipse - maven - what goal should I execute to actually deploy to Wildfly from maven (achieve the same result as the “run on server” eclipse command)

ⅰ亾dé卋堺 提交于 2019-12-01 09:50:36
问题 New to maven - I have an eclipse project that I can Right click > Run as... > Run on server and it runs successfully on my local Wildfly installation. Is there a way to RClick> Run as... and choose an appropriate maven goal to achieve the same effect (ie package as a war, copy to the servers dir (re)staring the server) ? Do I need to use a "wildfly maven plugin" ? Similar question for tomcat: maven deploy goal failing I am on eclipse Luna Java EE pack, maven 3.1 (the one that comes with