Jboss Seam: Enabling Debug page on WebLogic 10.3.2 (11g)

后端 未结 3 1193
甜味超标
甜味超标 2020-12-03 23:25

SKIP TO UPDATE 3

I want to enable the Seam debug page on Weblogic 10.3.2 (11g). So, I have done the following:

I have the jboss-seam and jbo

3条回答
  •  不知归路
    2020-12-03 23:57

    The reason Seam the debug page did not appear is unbelievable (for me).

    I packaged my application with Apache Maven. Traditionally, the filenames of jar files managed by maven also contain the version number. The jar for Seam is jboss-seam -2.2.0.GA.jar. Because Seam is an EJB module in the application, I declared its dependency as such. And indeed, the EAR contained it as an EJB module (located in the root of the EAR) and also declared it in the META-INF/application.xml.

    I don't know if the specification defines naming restrictions for the EJB modules in an EAR, but the version part of the filename was what WebLogic did not like (if modified, the war works fine on JBoss).

    I changed the setting in the maven-ear-plugin from this:

    
        org.jboss.seam
        jboss-seam
    
    

    to this:

    
        org.jboss.seam
        jboss-seam
        jboss-seam.jar
    
    

    And now I can see BOTH my application AND the Debug page.

提交回复
热议问题