Questions tagged [wildfly-10]

WildFly, formerly known as JBoss AS, is an application server developed by Red Hat. WildFly is written in Java, and implements the Java Platform, Enterprise Edition (Java EE) 7 specification. It runs on multiple platforms. WildFly is free and open-source software, subject to the requirements of the GNU Lesser General Public License (LGPL), version 2.1.

flexible, lightweight, managed application runtime that helps you build applications in java

932 questions
3
votes
1 answer

NoClassDefFoundError: org/apache/poi/ss/formula/udf/UDFFinder error in java

hi i am writing a excel using apache poi.I am using SXSSFWorkbook for it.But when this code executes i am getting this error again and again. Caused by: java.lang.NoClassDefFoundError: org/apache/poi/ss/formula/udf/UDFFinder my sample code…
Software Company
  • 151
  • 4
  • 15
3
votes
2 answers

org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory

When i try to upload a deployment to wildlfy 10 i get this error message: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory I have tried many suggested solutions but none of them had worked for…
Progs
  • 1,059
  • 7
  • 27
  • 63
3
votes
3 answers

WildFly 10 with PostgreSQL 9.4 datasource Error deploying application

I have lots of experience with Tomcat and Oracle or MySQL. This is my first experience with WildFly and PostgreSQL. It took a while to get WildFly set up to properly add a datasource for my PostgreSQL database. But that is now in and I can…
OldGuy
  • 109
  • 1
  • 2
  • 11
3
votes
1 answer

Tika-Parsers error after adding dependency to pom.xml

I have just added tika-parsers dependency into my pom.xml file. After that, I can't run my project. I have this error everytime : **15:30:07,072 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service…
ambefr
  • 71
  • 1
  • 1
  • 5
3
votes
1 answer

How can I start an embedded server in jboss cli from java code?

I want to check some cli commands if they are valid from java. I cant use the config file I'm currently running on. Additionally I can't use a running Wildfly at all, since I would have to do reloads every now and then. So I want to use offline-cli…
Jbartmann
  • 1,459
  • 4
  • 24
  • 42
3
votes
1 answer

Installing Wildfly 10.0.0 on ubuntu 16.0 could not be able to configure init.d file

I am using the command sudo cp /opt/wildfly/bin/init.d/wildfly.conf /etc/default/wildfly to copy and edit the init.d file. I am getting this error cp: cannot stat '/opt/wildfly/bin/init.d/wildfly.conf': No such file or directory> When I check in my…
user6428816
3
votes
0 answers

The input document is not a stylesheet (the XSL namespace is not declared in the root element)

I'm getting the following error in jboss/wildfly 10, ERROR: 'The input document is not a stylesheet (the XSL namespace is not declared in the root element).' FATAL ERROR: 'Could not compile…
Venky
  • 39
  • 4
3
votes
1 answer

Quartz Job @ExecuteInJTATransaction - failed to get UserTransaction in wildfly 10

I have a Quartz Job Listener that persists information about the job's execution. I'm using jta-datasource and my job class was annotated with @ExecuteInJTATransaction. When Job Listener is invoked, the follow error…
gfinotti
  • 613
  • 5
  • 21
3
votes
1 answer

Unable to inject EJB into JSF phase listener

I'm working with a Wildfly 10 server and I'm having issues with a JSF phase listener not getting an EJB injected to it. Here is my test code that I can't seem to get to work right. public class TestListener implements PhaseListener { @EJB BasicEJB…
Psirax
  • 51
  • 7
3
votes
1 answer

Accessing Multiple web applications on Jboss7 or Wildfly

I know we can deploy multiple web applications on JBoss 7 or Wildfly. But how can we access different web application with a different port? Where do we set that port for a web application? For example, application1 is accessible on…
Sumanth
  • 595
  • 3
  • 14
  • 39
3
votes
0 answers

Eclipse deploying exploded JAR on Jboss Wildfly causes error accessing TLD file

[Question Updated: See below] I have a maven web project (portal-web) that references another maven project (portal-framework). The webserver is Wilfly 10.0.0 and the IDE is Eclipse MARS with the Jboss tools for the connector. The framework project…
tggm
  • 973
  • 2
  • 15
  • 41
3
votes
1 answer

Keystore not working with CA cert in wildfly

So I bought a certificate I got a certificate, a key, and intermediate that has 2 beginnings I dont know if that counts or should be add as separated intermediate. I added the certificate and the intermidate like this. keytool -import -trustcacerts…
Juan Diego
  • 1,396
  • 4
  • 19
  • 52
3
votes
2 answers

How do I make Wildfly 10 / Resteasy indicate a serialization exception to the client

When an exception occurs during json serialization of a jax-rs response in Wildfly 10 the response is committed and the HTTP return code cannot be changed anymore. An exception of this is logged on the server side: 10:19:56,148 ERROR…
3
votes
1 answer

Java EE Wildfly retrieve EntityManager from JNDI without persistence.xml

I have recently moved to Java EE (Wildfly) and I'd like to lookup an EntityManager from JNDI. At present I am defining a datasource in my standalone.xml and successfully retrieving this via JNDI but this provides me with only the Datasource and not…
John Dalton
  • 249
  • 5
  • 13
3
votes
1 answer

Wildfly 10.0.0.Final duplicates contents of directive in web.xml

I have been successfully deploying an application on WildFly 8.2.1 and WildFly 9.0.2 versions with the following directives in web.xml deployment descriptor: header and footer…
jmenriquem
  • 33
  • 7