jboss6.x

Adding Log4J appenders programmatically

你离开我真会死。 提交于 2019-12-11 04:51:37
问题 Ok, so I have this stupid library I'm using (documentum DFC), which does a check to see if Logger.getRootLogger().getAllAppenders().hasMoreElements() == false , if so, it resets my rootLogger level to WARN , which destroys my logging after that. So in an effort to stop this, I'm attempting to add an appender to the root logger just to see if I can get it to stop doing that code. However when I call Logger.getRootLogger().addAppender(new ConsoleAppender()); that function is still coming up

why growl message not dispalying left side of screen using common layout

穿精又带淫゛_ 提交于 2019-12-11 04:49:21
问题 In my project there is a requirement that when we change language from Engish to Arabic all layout will be displayed in right to left position. growl message working fine when i didn't use common layout but when i add this thing in common layout of my page then its still showing right side only.. source code: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns

ERROR: Class does not expose a management interface

坚强是说给别人听的谎言 提交于 2019-12-11 04:36:14
问题 This question was migrated from Server Fault because it can be answered on Stack Overflow. Migrated 6 years ago . I am installing our ERP Solution developed in Java onto my IBM System X3750 M4 Server. I have downloaded and installed the JRE from IBM; the package name is: ibm-java-x86_64-jre-7.0-5.0.x86_64 . My Application Server is JBoss 6.0 and Client Server is Apache Tomcat 7.0.14 and Database is MYSQL 5.1.69. While starting the JBoss Server I am getting an error as given in the bottom of

How do update jsf datatable column only

风格不统一 提交于 2019-12-11 04:33:15
问题 I have a counter in a column of a datatable. Once the counter reaches a certain time, I need to change the background color of that column only. The data for the table is being pulled from a database. I'm using a4j:poll to reRender the column but the issue is that the entire table is rendered. Some code below: <a4j:region> <h:form> <a4j:poll id="poll" interval="1000" enabled="true" reRender="blink" limitToList="true" /> </h:form> </a4j:region> <h:form id="form1"> <a4j:outputPanel id="panel1"

Jboss-eap-6.3 Could not reserve enough space for object heap

岁酱吖の 提交于 2019-12-10 20:03:46
问题 I have Java7 running on 32-bit Windows. When I am running Jboss-eap-6.3 server, I am getting the following exception repeatedly each time I try to run the program. D:\mysoft\jboss-eap-6.3\bin>standalone.bat Calling D:\mysoft\jboss-eap-6.3\bin\standalone.conf.bat Setting JAVA property to C:\Program Files\Java\jdk1.7.0_10\bin\java JBoss Bootstrap Environment JBOSS_HOME: "D:\mysoft\jboss-eap-6.3" JAVA: "C:\Program Files\Java\jdk1.7.0_10\bin\java" JAVA_OPTS: "-verbose:gc -XX:+PrintGCDetails -XX:

JBOSS - Previos execution of timer is still progress,timer state is IN_TIMEOUT

守給你的承諾、 提交于 2019-12-10 18:25:19
问题 I am using JBOSS EAP 6.4 . I have schedule some schedulers in my ScedulerBean using EJB @Shedule annotation as follows. Here the ShedulerBean is dependson StartupBean. @Singleton @DependsOn("StartupBean") public class SchedulerBean { private Logger logger = LoggerFactory.getLogger(SchedulerBean.class); private SchedulerInterface schedulerInterface; @PostConstruct public void initialize() { // some initialization } @Schedule(second = "1/1", minute = "*", hour = "*",persistent = false) public

org.apache.xml.serializer.ToXMLSAXHandler cannot be cast to org.apache.xml.serializer.SerializationHandler

匆匆过客 提交于 2019-12-10 13:56:25
问题 I'm using JBoss6 M5 and jdk1.6-22. When I try to run the server, I get the deployment error. Does anyone have any clues on what could be the problem? Thx! Deployment "vfs:///mnt/data/programming/rz/server/server/default/deploy/psuite-metadata.war" is in error due to the following reason(s): org.apache.xml.serializer.utils.WrappedRuntimeException: org.apache.xml.serializer.ToXMLSAXHandler cannot be cast to org.apache.xml.serializer.SerializationHandler Here is the full stack trace: 17:50:45

Is JDK8 a supported platform for JBoss 6 AS

☆樱花仙子☆ 提交于 2019-12-10 11:22:55
问题 We are upgrading our application java platform to latest stable one and we are using Jboss 6 AS. Is Oracle JDK8 a supported platform for JBoss 6 AS ? 回答1: i think no JBoss AS7 Supported with JDK8 | JBoss Developer check this https://developer.jboss.org/thread/238195?_sscc=t 回答2: No. Its not going to work. JBoss AS 6 and 7 are not compatible with Oracle JDK 1.8 . You need to download WildFly 10 in order to work with JDK 1.8 . WildFly is formerly knows as JBoss AS 来源: https://stackoverflow.com

I can't start jboss with a JPA issue

徘徊边缘 提交于 2019-12-10 10:39:45
问题 I am migrating from WAS8.5.5 to JBoss EAP6.4. I got an error message as Caused by: org.jboss.modules.ModuleNotFoundException: openjpa:main I created directory as C:\Applications\jboss64\jboss-eap-6.4\modules\system\layers\base\org\apache\openjpa\main I put the openjpa-2.4.1.jar and serp-1.13.1.jar into it along with the module.xml. <?xml version="1.0" encoding="UTF-8"?> <module xmlns="urn:jboss:module:1.1" name="org.apache.openjpa"> <resources> <resource-root path="openjpa-2.4.1.jar"/>

Calling remote ESB client error

喜你入骨 提交于 2019-12-10 10:38:41
问题 I am trying to send and esb message from remote client, but I am constantly getting this error: org.jboss.soa.esb.listeners.message.MessageDeliverException: org.apache.ws.scout.transport.TransportException: java.lang.reflect.InvocationTargetException at org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:545) at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:174) at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:155) at