3 Replies Latest reply on Sep 28, 2006 1:28 PM by M Singh

    Scoped class service

    M Singh Newbie

      Hi:

      I want to create a service based on classes loaded in a scoped deployment unit. The service will be created by using -service.xml file. I've tried this but get an exception that no class loader could be found for the class. Also, that class is not visible in loader repository.

      Any suggestions on how to get the service deployed and how to view the scoped class in the loader repository

        • 1. Re: Scoped class service
          Jimmy Wilson Apprentice

           

          "mabc101" wrote:
          Any suggestions on how to get the service deployed and how to view the scoped class in the loader repository?


          You need to post a "tree" view of your deployments and/or your *-service.xml file in order to provide enough information so that we can help you.

          • 2. Re: Scoped class service
            M Singh Newbie

            I am include the following abbreviated version of the following:
            - the deployment war file tree
            - the jboss-web.xml file that specifies the scoped class loader.

            Please let me know how I can view the scoped classes from the JMX console.

            Thanks a lot for your help.

            jboss-web.xml

            <jboss-web>
            <loader-repository>
            com.test:loader=testmanager
            </loader-repository>
            </jboss-web>

            ===========================================

            Deployment war file tree:

            0 Wed Sep 20 09:09:24 EST 2006 META-INF/
            388 Wed Sep 20 09:09:22 EST 2006 META-INF/MANIFEST.MF
            0 Wed Sep 20 09:09:24 EST 2006 WEB-INF/
            0 Wed Sep 20 09:09:24 EST 2006 WEB-INF/classes/
            0 Wed Sep 20 09:09:24 EST 2006 WEB-INF/classes/com/
            0 Wed Sep 20 09:09:24 EST 2006 WEB-INF/classes/com/testmanager/
            0 Wed Sep 20 09:09:24 EST 2006 WEB-INF/classes/com/testmanager/jsptaglib/
            0 Wed Sep 20 09:09:24 EST 2006 WEB-INF/classes/com/testmanager/manager/
            0 Wed Sep 20 09:09:24 EST 2006 WEB-INF/classes/com/testmanager/manager/action/
            0 Wed Sep 20 09:09:24 EST 2006 WEB-INF/classes/com/testmanager/manager/bean/
            0 Wed Sep 20 09:09:24 EST 2006 WEB-INF/classes/com/testmanager/manager/utils/
            917 Wed Sep 20 09:09:24 EST 2006 WEB-INF/generic.tld
            277 Wed Sep 20 09:09:24 EST 2006 WEB-INF/jboss-web.xml
            0 Wed Sep 20 09:09:24 EST 2006 WEB-INF/lib/
            ... (edited for space)
            320 Wed Sep 20 09:09:24 EST 2006 mytest/u_list.jsp
            2492 Wed Sep 20 09:09:24 EST 2006 manager/error.jsp
            3845 Wed Sep 20 09:09:24 EST 2006 manager/s_s.jsp
            10892 Wed Sep 20 09:09:24 EST 2006 manager/_info.jsp
            ...(edited for space)
            2983 Wed Sep 20 09:09:24 EST 2006 WEB-INF/lib/activation-1.1.jar
            1653 Wed Sep 20 09:09:24 EST 2006 WEB-INF/web.xml

            • 3. Re: Scoped class service
              M Singh Newbie

              I found out my mistake in the scoped class service. However, I still cannot figure out how to view the classes in the scoped deployment unit. For that I have posted the war file tree and jboss-web.xml file.