jboss6.x

How can I ensure that the hornet queues are there when my webapp starts in JBOSS 6.0?

删除回忆录丶 提交于 2019-12-24 02:45:23
问题 previous title was: How do I get a JNDI reference to a queue within JBOSS 6 using Spring? I configured a JMS queue like this, which is in a file mytopic-hornetq-jms.xml: <?xml version="1.0" encoding="UTF-8"?> <configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd"> <topic name="mytopic"> <entry name="mytopic"/> </topic> </configuration> My applicationContext.xml looks like this: <?xml version="1.0"

English error messages in JSF 2.0.3 (not validation)?

北慕城南 提交于 2019-12-24 00:46:28
问题 I had configured JSF 1.2 successfully to display English error messages that come from the server. Now I was making the transition to JSF 2.0, but the error messages seem to be back to German. Localized error messages are a real pain if you want to google up anything (I have no idea who decided localized error messages to be a good thing BTW!). Here's the faces-config.xml : <?xml version="1.0" encoding="UTF-8"?> <faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi=

Passivation issue with Stateful Session Bean

痞子三分冷 提交于 2019-12-23 19:55:34
问题 I'm using JBoss 6.1 Final, and get the following error message after my web application is running for a while (note the application doesn't crash), followed by a very long stack trace. I notice that this problem only occurs with stateful session beans that have other stateful session beans injected into them. 16:10:59,769 ERROR [org.jboss.ejb3.cache.simple.SimpleStatefulCache.UutSerialNumberServiceBean] problem passivation thread: javax.ejb.EJBException: Could not passivate; failed to save

JPA LazyInitializationException when returning a JAXB Object through a Webservice

假如想象 提交于 2019-12-23 12:19:00
问题 I'm working with JBoss. i created a simple JAX-RS Webservice that retrieves a JPA Entitiy from the database and returns it to the user. As soon as I have a relationship (@OneToOne) to another Entity I get a LazyInitializationException. The Reason is simple: The Relationship was not initialized by JPA (lazy loading) and when jaxb tries to serialize it, everything breaks. But how do i solve this? I could touch the relationship before i return the object. Not nice and complex for greater object

How to Step By Step configure logging in jboss 6.x with Log4j in Java

删除回忆录丶 提交于 2019-12-23 10:25:54
问题 Hi all I am new to Jboss so I am get confused while setting up an logging in Jboss 6.1 what I does I have download and extract the Jboss ( jboss-eap-6.1 ) on my machine then I follow the steps given in this article but still I not able to see the logging on console or in file the I google it around and come to know that I have to write jboss-deployment-structure.xml file under /META-INF/ folder and have to add -Dorg.jboss.as.logging.per-deployment=false to the start-up of the server (which I

How to add Oracle data source in jboss 6.2

烈酒焚心 提交于 2019-12-23 05:33:30
问题 I searched at many places about this, but I could not find proper answer. Finally one link helped me, so I am putting it as a question so other so members can utilize it. 回答1: The step by step process can be found here. http://middlewaremagic.com/jboss/?p=872 来源: https://stackoverflow.com/questions/30666851/how-to-add-oracle-data-source-in-jboss-6-2

Autowiring a spring managed bean in the resteasy providers

假如想象 提交于 2019-12-23 04:55:05
问题 I have a developing a webservice where in i need to validate a particular httpheader sent in the request against the database. I want to use RestEasy provider for doing the same as the same functionality needs to be applied to all the service. @Provider @ServerInterceptor public class TestValidationInterceptor implements PreProcessInterceptor { @Autowired DetailsDelegate detailsDelegate; @Override public ServerResponse preProcess(HttpRequest request, ResourceMethod method) throws Failure,

How to configure JBOSS connectivity with Websphere SSL enabled MQ?

試著忘記壹切 提交于 2019-12-23 04:54:20
问题 We are using JBOSS EAP 6.3 maintained via openshift. We want to connect with Websphere MQ which is SSL enabled. I am successfully able to connect to non-ssl MQ via JBOSS. But while trying to connect with ssl MQ i am facing below error, Blockquote Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) at sun.security.ssl.Handshaker.activate(Handshaker.java:470) [jsse.jar:1.7.0_79] at sun.security.ssl.SSLSocketImpl

Docx4j throws exception when convert to pdf

帅比萌擦擦* 提交于 2019-12-23 04:53:14
问题 this excpetion is throw in web application, but in a stand alone application not happen this. Any idea, i use docx4j 3.3.0. The application runing Jboss 6.3 eap. Before a use an older version (3.2.2) but not throws this error. JBWEB000309: type JBWEB000066: Exception report JBWEB000068: message Handler processing failed; nested exception is java.lang.NoClassDefFoundError: org/apache/http/client/methods/HttpUriRequest JBWEB000069: description JBWEB000145: The server encountered an internal

What Is The Wildfly Equivalent Of JBoss EAP 6.4 [closed]

谁说胖子不能爱 提交于 2019-12-23 04:47:50
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I am investigating an application the requires JBoss EAP 6.4. However, I don't want to pay the (~$30k) annual license. What is the equivalent Wildfly version? 回答1: The closest version you will find is JBoss AS 7.1.1. This is very similar to EAP 6.4 but not exact. EAP 6.4 exact match would be closer to AS 7.5 but