jboss exception handling

异常: jboss.aop:service=AspectManager

15:19:46,361 ERROR [ScannerThread] [MainDeployer] org.jboss.deployment.MainDeployer.create(MainDeployer.java:977) Could not create deployment: file:/D:/workspace-ehr/jboss4/server/default/deploy/jboss-aop.deployer/
org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.aop:service=AspectManager

The reason is that there are two folders, default and Jboss4, under the server, and the project is deployed in default. Jboss4 is the project file address that jboss thinks by default. As a result, the files in Jboss4 are started at startup, and the content in default is started.

Exception: Project failed to load add and remove

The reason is that the jboss version is too low, which does not match the environment required by the existing project.

Exception: The jboss project is loaded after the project ant is started

The reason is that the default address of some jboss is jboss4 instead of default. Therefore, it is necessary to use a custom path switch.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325304227&siteId=291194637