1. Jboss AS 6使用jdk7时的异常处理
异常信息为:
org.jboss.wsf.stack.cxf.deployment.jms.JMSDescriptorProcessorImpl cannot be cast to org.jboss.wsf.spi.metadata.webservices.WebservicesDescriptorProcessor
解决方法:
made a change in JBOSS_HOME/server/
For the beans WSDescriptorDeployer and JMSDescriptorDeployer, commented the setProcessor incallback and putted the exact bean directly
----------------------------------------
2. Jbos AS 5.1 异常Error installing to Instantiated: name=AttachmentStore
编辑conf\bootstrap\profile.xml,搜索AttachmentStore,将
改为:
3. Jbos AS 5.1 异常ClassLoader has not been set(logging.xml, vfs.xml)
It's a DEBUG level log and you can ignore it.
4. Jboss AS 5.1配置
ear-deployer-jboss-beans.xml
$ {JBOSS_HOME}/server/default/deployers/ear-deployer-jboss-beans.xml
war-deployers-jboss-beans.xml
$ {JBOSS_HOME}/server/default/deployers/jbossweb.deployer/META-INF/war-deployers-jboss-beans.xml
5. ESB client 依赖的Jar(Jboss SOA 4.3)
jbossesb-jbpm
jbossesb-rosetta
jbossesb-config-model
jbpm-jpdl
jbossts-common
jboss-messaging-client
jboss-remoting
jboss-serialization
oswego-concurrent
jnp-client
jboss-aop-jdk50
scout
juddi-client
axis
javassist
trove
wstx-asl
xmlbeans
stax-api
commons-codec
6. jbossesb-properties.xml文件的查找顺序
jbossts-common(com.arjuna.common.util.FileLocator)
1) absolute path - 可这样设定: -Dorg.jboss.soa.esb.propertyFile=abs:///jboss/bin/jbossesb-properties.xml
2) user.dir - JBOSS_HOME/bin
3) user.home
4) java.home - jdk/jre
5) ClassLoader.getResource() - 在jboss EAP 6 以上使用时,如果发布的包未解压,不能正确的加载文件
7. Couldn't retrieve job because the BLOB couldn't be deserialized: null
清空QRTZ_JOB_DETAILS表
8. send email error: javax.mail.NoSuchProviderException: No provider for smtp
jboss-seam-mail使用的mail版本与EAP不一致,不要使用EAP自身的。
9. javax.ejb.EJBTransactionRolledbackException: JBAS014360: EJB 3.1 FR 4.3.14.1 concurrent access timeout on org.jboss.invocation.InterceptorContext@34ce5083 - could not obtain lock within 5000 MILLISECONDS
这个错误是因@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) 引起。
10. org.jbpm.graph.def.DelegationException: Could not find UserTransaction in JNDI [java:comp/UserTransaction]
将
11. Secure the JMX Console and the Web Console
删除jmx-console.war 和 management web.xml中的
12. 删除X-Powered-By
删除jbossweb web.xml中的
Class Loading Configuration
SOA ESB JBPM Integration Guide
JBoss Enterprise SOA Platform Supported Configurations