jboss

ClassNotFound: Xerces SAXParserFactoryImpl when running in Wildfly 8.2

左心房为你撑大大i 提交于 2019-12-25 05:00:31
问题 I am running Wildfly 8.2.0 and doing some XML Config file parsing. The idea is that I'll be able to use my bundled xercesImpl.jar to provide the JAXP SAXParserFactoryImpl. When running the logic outside of Wildfly, I am successfully able to parse with the SAXParserFactoryImpl. This factory is found by setting the system property: System.setProperty("javax.xml.parsers.SAXParserFactory", "org.apache.xerces.jaxp.SAXParserFactoryImpl"); SAXParserFactory factory = javax.xml.parsers

TomCat jBoss Application

天涯浪子 提交于 2019-12-25 04:54:08
问题 I have a .war(web app) deployed on Tomcat server. I have another application on jBoss server. The application on the Tomcat is the start point and a jsp on the jBoss server gets called from the Tomcat app. Then I am planning to set a session on the jBoss server app and when I am done my processing on the jBoss I will send back the control to the app on Tomcat. The question is 1) Is the model that I mentioned above doable? 2) If it is can I invalidate the session on Tomcat server once the

Trouble configuring JBoss Management Plugin for Jenkins

一世执手 提交于 2019-12-25 04:36:11
问题 Hi I tried configuring JBoss Management Plugin for Jenkins with above details. But when i use it in my job it gives me following error. Any inputs? Error Log SHUTDOWN: Checking if server is running (max 20 seconds)... FATAL: TRACE java.lang.NoSuchFieldError: TRACE at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85) at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122) at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1310) at org.jnp

Jboss logging error while deploying springboot application in jboss server

谁说胖子不能爱 提交于 2019-12-25 04:14:14
问题 22:40:03,522 ERROR [org.springframework.boot.SpringApplication] (ServerService Thread Pool -- 2265) Application startup failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava/lang/String;I)V Even

jboss eap workaround default setting connection: autocommit = true

那年仲夏 提交于 2019-12-25 04:12:05
问题 I'm working on a websphere 6.1 migration to jboss EAP 6.3. I find that the deployment process is very simple in jboss content that my old server contains only wars. the configuration of shared libraries has passed without problem, but the problem is with the configuration of datasources a java.sql.SQLException error: You can not commit with autocommit set! block passage. I searched on google most say that this is the standard, and that we must change the code to setAutoCommit (Fasle). But in

System.out.println not printing to console

久未见 提交于 2019-12-25 03:29:06
问题 I have a Spring web app running on Wildfly 8.* and for some reason it won't print to the console. I see all the console logs and stack traces fine but the System messages just don't appear. The problem might be with my log4j setup so I'll post that config; <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN" "http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/xml/doc-files/log4j.dtd"> <log4j:configuration debug="true" xmlns

Jboss 7 migration - ValidationException: Unable to find provider: HibernateValidator

丶灬走出姿态 提交于 2019-12-25 03:28:39
问题 my work place is migrating from Jboss 6 to Jboss 7. We use v 5.1.3 Hibernate Validator, and when we tried to deploy our web application in the Jboss 7 server, and it threw an exception. 09:23:56,031 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 4) WFLYCTL0013: Operation ("read-attribute") failed - address: ([ ("deployment" => "ROOT.war"), ("subsystem" => "jaxrs"), ("rest-resource" => "org.apache.cxf.rs.security.oauth.services.RequestTokenService"

Websphere to Jboss migration

余生颓废 提交于 2019-12-25 01:56:02
问题 I need to migrate one of my application from Websphere(6.1) to JBoss (EAP 5.1) . Application is now using the following code to get the WebsphereTransactionManager object and perform suspend and resume operations com.ibm.ws.Transaction.WebSphereTransactionManager txMgr = com.ibm.ws.Transaction.TransactionManagerFactory.getTransactionManager(); javax.transaction.Transaction thisTx = null; thisTx = txMgr.suspend(); // Code to do non transactional operations txMgr.resume(thisTx); How could I get

JBOSS 7 - Osgi Bundles not present in JNDI TREE

我的梦境 提交于 2019-12-25 01:55:48
问题 I have a bundle in JBOSS7 Bundle Repository. I want to lookup it from a WAR class throw JNDI, but in my JBOSS7.0.1.Final AS there is any trace of osgi in JNDI tree. In JNDI tree I found only "java:" and "java:jboss", I think that when I deploy a bundle the AS should add the "osgi:" leaf to the tree. Why not? Osgi Alliance specific says that when an osgi bundle is deployed it should be reachable throw JNDI... Some ideas? Thanks a lot! 回答1: You are right, this part of the OSGi-JNDI spec is not

wildfly quickstart fails from the offset

[亡魂溺海] 提交于 2019-12-25 01:22:09
问题 i just downloaded wildfly 9.02 with the quickstarts and the jboss developer studio. I am a total newbie to jboss, i am following the guide on github https://github.com/wildfly/quickstart/ to build and deploy the sources. i got my maven installed (v 3.3.3) with java 8. settings.xml copied to my $HOME/.m2 directory but it seems to me that the urls of the artifcats are all broken [ERROR] The project org.wildfly.quickstarts:wildfly-helloworld:10.0.0-SNAPSHOT (C:\jboss\quickstart\helloworld\pom