Migration issues to JBoss AS 7.1

社会主义新天地 提交于 2019-12-24 08:03:14

问题


I am migrating application from JBoss AS 4.X to JBoss AS 7.1. I am facing the following problem

I have a userdefined xml which has some configuration related stuff like paths, initial load setting etc which I used to place in Application Server/bin in JBoss AS 4.X. It was working fine.

Now i placed the same file in jboss-as-7.1.1.Final\bin but it is not working and loading on start up of server.

Where do I need to keep such XML's in 7.1 Server? And do I need to explicitly mention in jboss-deployment-structure.xml?


回答1:


You could try writing a custom module and place the xml file there. And then make your application depend on this module.

Edit:

The following Wiki page outlines it nicely How to put an external file in the classpath




回答2:


Follow this link your problem will solve.

I mention all the step.

JBoss 7.1 development issues



来源:https://stackoverflow.com/questions/12400280/migration-issues-to-jboss-as-7-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!