wildfly

classloading problems with Wildfly 8.0.0

戏子无情 提交于 2019-12-13 06:54:06
问题 I am trying to deploy a Spring-JPA-Hibernate web application on Wildfly. First, I had problems with Hibernate which seemed to go away with <jboss-deployment-structure> <deployment> <exclusions> <module name="org.hibernate" slot="main" /> </exclusions> <dependencies> <module name="org.hibernate" /> </dependencies> </deployment> </jboss-deployment-structure> then however, my org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean tried to parse its mappingResources (xml file), and I

How to set up Eclipselink cache coordination with Wildfly

时间秒杀一切 提交于 2019-12-13 06:53:57
问题 I have set up a persistancce caching with Eclipselink on Wildfly 8. It works, but I also want to do cache coordination. I have the following setup for Eclipselink cache coordination in my persistance.xml: <property name="eclipselink.cache.coordination.protocol" value="jms" /> <property name="eclipselink.cache.coordination.jms.topic" value="jms/MemberTopic" /> <property name="eclipselink.cache.coordination.jms.factory" value="jms/MemberConnectionFactory" /> However, when my entity is merged,

Can't connect to admin console using Virtualbox

落花浮王杯 提交于 2019-12-13 05:01:03
问题 I have a VirtualBox debian VM with wildfly running. The host is a Windows 8.1. I have forwarded ports 8080 and 9990. I have edited the standalone.xml to include: <interfaces> <interface name="management"> <any-address/> </interface> <interface name="public"> <any-address/> </interface> <interface name="unsecure"> <inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/> </interface> </interfaces> As expected, I can access the webservice(s) on http://localhost:8080/webservice from the

Deploying Spring Boot war with Jersey in Wildfly

南楼画角 提交于 2019-12-13 04:45:26
问题 I have a project where I use Spring boot to build a stand alone jar. It uses jersey to serve up the back end, and I have it configured to also host an angular/js front end in the resources folder. The solution I would like is that this can be standalone in the jar file, and run by itself. But also have a configuration where we build it as a war file, and run it alongside another war inside of Wildfly. I can get it to compile a war, but as soon as I try to start it up, it appears I get issues

java.lang.IllegalStateException: WELD-000340: A request must be associated with the context in order to load the known conversations

与世无争的帅哥 提交于 2019-12-13 04:43:35
问题 I'm getting the following exception on accessing an XHTML page on WildFly 8.1.0 final. 00:46:41,859 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (default task-26) Error Rendering View[/Test.xhtml]: java.lang.IllegalStateException: WELD-000340: A request must be associated with the context in order to load the known conversations at org.jboss.weld.context.AbstractConversationContext.checkIsAssociated(AbstractConversationContext.java:416) [weld-core-impl-2.1.2.Final.jar:2014

How to find if a particular service is run/started when JBOSS AS is started?

醉酒当歌 提交于 2019-12-13 03:55:45
问题 Beginner here! I have two questions. Background: I have installed a program (following their installation instructions) by downloading a .zip file and then unzipping it, and then deploying it by executing ant deploy . According to the installation instructions, this deploys my program as a JBOSS AS Service. Now I want to run the service. According to the user manual of the deployed program, starting the JBoss Application Server will run the service. But the user manual instructs to run a

Java EntityManager null with @PersistenceContext

元气小坏坏 提交于 2019-12-13 03:51:01
问题 I'm using Wildfly 10, Jersey, and injecting dependencies with @Inject. I have DAO and Service interfaces with their implementations declared in a CustomBinder. The injections work well, but the EntityManager is injected null with the @PersistenceContext annotation. I'm using MySQL and the datasource test-connection is working. API Rest class @Path("/account") public class CuentaServiceRS { @Inject private ICuentaService cuentaService; @GET @Produces(MediaType.APPLICATION_JSON) public Cuenta

Logback+SLF4J does no log in JavaEE 7 application

回眸只為那壹抹淺笑 提交于 2019-12-13 03:46:16
问题 I'm building a simple app and now i'm facing the "logging nightmare" on javaee application. I've done days of searches, hundreds of change/test but there's no way to make it run. My app is made of a simple EAR +-- /lib | +-- slf4j-api-1.7.25.jar | +-- logback-classic-1.2.3.jar | +-- logback-core-1.2.3.jar | +-- JAR (JPA/EJB/Producers/Interceptors) | +--src/main/resources | +-- logback.xml | +-- logback-test.xml | +-- WAR The libs are so loaded in the lib directory of the EAR file. my pom.xml

Wildfly 10 in cluster tries to serialize JSP with org.infinispan.commons.marshall.NotSerializableException

♀尐吖头ヾ 提交于 2019-12-13 03:24:23
问题 I'm trying to use my application with following code in JPS <c:forEach var="area" items="#{MissingSearchBean.workingAreas}"> <h:commandButton value="#{area.workingAreaName}(#{area.count})" action="#{MissingSearchBean.selectWorkingArea(area.workingAreaName)}" styleClass="commandButton" /> </c:forEach> inside wilfly 10. Everything works fine, but when I open view, containing code above I see following error in logs: Caused by: org.infinispan.commons.marshall.NotSerializableException: javax

Where to find all the MaxPermSize in Eclipse-WildFly system?

不打扰是莪最后的温柔 提交于 2019-12-13 02:30:50
问题 Where are all the places on my system MaxPermSize might get set? I'm using Eclipse 4.4, WildFly and jdk 1.8. I get this warning every time I stop WildFly: Java HotSpot(TM) Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 I want to make it go away by replacing all the MaxPermSize by MaxMetaspaceSize. Thanks for the help. 回答1: Go to Run -> Run Configurations in the main file menu. Find the specific instance you are trying to run. The layout of this configuration