---
title: "JBoss问题集"
author: "火云剑Shanke"
date: "2012-10-11T17:22:54Z"
tags: []
categories: ["开源软件"]
slug: "jboss"
draft: false
lastmod: "2012-12-24T14:39:00Z"
id: 1696593
url: "https://kurui.iteye.com/blog/1696593"
---

**一、控制台部署ear错误**
version:jboss-5.1.0.GA
ear包由maven打包，手工拷贝到deploy目录正常使用，控制台部署则失败
ear目录
-lib
-META-INF
-elt.war
![](http://dl.iteye.com/upload/picture/pic/118954/d28fa406-de98-3b9d-ab3f-bd2891f3ac0c.jpg)


**二、多项目的类加载问题**
    <http://kurui.iteye.com/blog/1160034>

**三、MQ问题**
Error creating bean with name 'internalJmsQueueConnectionFactory' defined in ServletContext resource : 					
	Invocation of init method failed; nested exception is **javax.naming.NameNotFoundException: UIL2ConnectionFactory not bound**				

<!-- JMS Queue Connection Factory -->					
	<bean id="internalJmsQueueConnectionFactory" class="org.springframework.jndi.JndiObjectFactoryBean">				
		<property name="jndiTemplate">			
			<ref bean="jndiTemplate" />		
		</property>			
		<property name="jndiName">			
			<value>UIL2ConnectionFactory</value>		
		</property>			
	</bean>		


	**改成XAConnectionFactory**		


**java.lang.NoClassDefFoundError: org/jboss/netty/channel/socket/ClientSocketChannelFactory**			

加入jboss_home\client\netty.client
如在tomcat下部署常见，需要引用若干jboss\client下的包