wildfly

How do I undeploy all artifacts from WildFly?

时间秒杀一切 提交于 2019-12-21 18:06:13
问题 I am developing a web application and deploying (with IntelliJ) to WildFly 10.1. I recently renamed my webapp module, which results in renaming my war file from foo.war to bar.war . Every time I start up, I get this error: 12:24:15,899 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."foo_war_exploded.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."foo_war_exploded.war".STRUCTURE:

Firebird 3 sysdba password stunning issue

那年仲夏 提交于 2019-12-21 16:58:26
问题 I migrated from firebird 2.5.x to 3.0 i have changed firebird.conf : WireCrypt = Enabled AuthServer = Legacy_Auth, Srp, Win_Sspi after that here you are what happened: I can connect from Netbeans IDE using SYSDBA masterkey. I can connect from FlameRobin (database admin. tool) using SYSDBA with other password. I can not connect from Wild-Fly server using SYSDBA with that other password. I am really wondering.!! 回答1: I assume you are using Jaybird 2.2.x (or earlier) when connecting from

Wildfly / Undertow : Multiple aliases for one host

喜欢而已 提交于 2019-12-21 13:43:12
问题 In standalone/configuration/standalone-full.xml , I've declared the following host, that works <host name="webhost" alias="gateway.example.com" /> When I try to add another alias, I'm given Error 404. <host name="webhost" alias="gateway.example.com www.gateway.example.com"/> The DOCUMENTATION says list of aliases is whitespace separated. 回答1: There was a bug in documentation. It is comma separated list of hosts not white space separated. example would be <host name="default-host" alias=

Wildfly and Jackson: LinkageError

微笑、不失礼 提交于 2019-12-21 13:31:00
问题 I'm trying to configure jboss wildfly 8 to use Jackson for JSON. So I added <dependency> <groupId>org.jboss.resteasy</groupId> <artifactId>resteasy-jackson-provider</artifactId> <version>3.0.6.Final</version> <type>jar</type> </dependency> to my ear project. But on deploying I get following error: Caused by: java.lang.LinkageError: loader constraint violation: when resolving overridden method "org.jboss.resteasy.plugins.providers.jackson.ResteasyJacksonProvider$Proxy$_$$ WeldClientProxy

WFLYCTL0412: Required services that are not installed:

二次信任 提交于 2019-12-21 03:30:38
问题 I'm trying to add a datasource in Wildfly 10.0, but when i test connection this the error message that throws: Unexpected HTTP response: 500 Request { "address" => [ ("subsystem" => "datasources"), ("data-source" => "PostgreCrawlazo") ], "operation" => "test-connection-in-pool" } Response Internal Server Error { "outcome" => "failed", "failure-description" => "WFLYJCA0040: failed to invoke operation: WFLYJCA0042: failed to match pool. Check JndiName: java:/crawlazo", "rolled-back" => true,

How do I make JNDI names compatible with both GlassFish and WildFly

旧时模样 提交于 2019-12-20 15:23:17
问题 I am developing a Java EE 7 application and have a requirement for the application to be deployed onto application servers running either GlassFish 4.0 or WildFly 8.1.0. The issue I've got is GlassFish and WildFly use slightly different formats for JNDI names but I can't see how to make my application compatible with both. In GlassFish my persistence.xml file references the data source jdbc/myDataSouce, but in WildFly the data source needs to be java:/jdbc/myDataSource. The same is also true

Difference between security-realm and security-domain in WildFly

混江龙づ霸主 提交于 2019-12-20 10:44:04
问题 What is the main difference between security-domain and security-realm in WildFly? standalone.xml <security-domain name="foo"> <authentication> <login-module code="..." flag="..."> </login-module> </authentication> </security-domain> and <security-realm name="foo"> <authentication> <local default-user="..." allowed-users="..." skip-group-loading="..."/> <properties path="..." relative-to="..."/> </authentication> <authorization> <properties path="..." relative-to="..."/> </authorization> <

WFLYNAM0027 : ClassNotFoundException: org.jboss.naming.remote.client.InitialContextFactory

主宰稳场 提交于 2019-12-20 04:31:06
问题 Enviornment- wildfly-9.0.2.Final, EJB 3.0 Following error occurred while trying to connect Test.java class(deployed as module at wildfly-9.0.2.Final@machine-A) to EJB whilch is deployed on jboss at machine-B(291.861.301.732). 17:02:46,666 ERROR [stderr] (default task-1) javax.naming.NamingException: WFLYNAM0027: Failed instantiate InitialContextFactory org.jboss.naming.remote.client.InitialContextFactory from classloader ModuleClassLoader for Module "deployment.test.ear.test.war:main" from

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

别说谁变了你拦得住时间么 提交于 2019-12-20 04:12:39
问题 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

JBoss Wildfly with Jersey Web Services Deployment Error JBAS011859: Naming context is read-only

痞子三分冷 提交于 2019-12-20 02:35:14
问题 Im working on a Java Webservices Project Using the Jersey Servlet (1.18.1). When deploying my EAR file to Jboss WildFly (8.1.0) I'm Getting the following Error and im unsure why its breaking as this same EAR file deployed and worked 100% in JBoss7 (7.1.1). The Error stacktrace: java.lang.UnsupportedOperationException: JBAS011859: Naming context is read-only at org.jboss.as.naming.WritableServiceBasedNamingStore.requireOwner(WritableServiceBasedNamingStore.java:126) at org.jboss.as.naming