12 Replies Latest reply on Jan 10, 2007 5:16 PM by adamw

    Classpath Problem

    jthorn

      After checking out and compiling jboss labs when I execute run.sh -c all I get several classpath errors. Has anybody else seen this and know of a solution?

      11:28:49,510 ERROR [STDERR] org.jboss.aop.instrument.TransformationException: Failed to aspectize class org.jboss.forge.common.projects.Projects. Could not find class it references org.jboss.forge.common.projects.ProjectDescriptor It may not be in your classpath and you may not be getting field and constructor weaving for this class.
      11:29:12,609 ERROR [STDERR] [warn] Could not find class org.jboss.shotoku.exceptions.RepositoryException that org.jboss.forge.portal.TitleChangeFilter references. It may not be in your classpath and you may not be getting field and constructor weaving for this class.
      11:29:12,612 ERROR [STDERR] [warn] Could not find class org.jboss.shotoku.Node that org.jboss.forge.portal.TitleChangeFilter references. It may not be in your classpath and you may not be getting field and constructor weaving for this class.
      11:29:12,618 ERROR [STDERR] [warn] Could not find class org.jboss.shotoku.exceptions.ResourceDoesNotExist that org.jboss.forge.portal.TitleChangeFilter references. It may not be in your classpath and you may not be getting field and constructor weaving for this class.
      11:29:12,620 ERROR [STDERR] [warn] Could not find class org.jboss.shotoku.ContentManager that org.jboss.forge.portal.TitleChangeFilter references. It may not be in your classpath and you may not be getting field and constructor weaving for this class.
      11:29:36,483 ERROR [STDERR] org.jboss.aop.instrument.TransformationException: Failed to aspectize class org.quartz.impl.StdSchedulerFactory. Could not find class it references org.quartz.utils.PoolingConnectionProvider It may not be in your classpath and you may not be getting field and constructor weaving for this class.
      11:30:19,902 ERROR [STDERR] org.jboss.aop.instrument.TransformationException: Failed to aspectize class org.jbosslabs.portlets.primates.service.PrimatesServiceImpl. Could not find class it references org.jbosslabs.portlets.primates.PrimatesTools It may not be in your classpath and you may not be getting field and constructor weaving for this class.
      11:30:27,738 ERROR [STDERR] org.jboss.aop.instrument.TransformationException: Failed to aspectize class org.springframework.aop.support.RegexpMethodPointcutAdvisor. Could not find class it references org.springframework.aop.support.Perl5RegexpMethodPointcut It may not be in your classpath and you may not be getting field and constructor weaving for this class.
      11:30:30,046 ERROR [STDERR] [warn] Could not find class net.sf.cglib.asm.util.TraceClassVisitor that net.sf.cglib.core.DebuggingClassWriter$1 references. It may not be in your classpath and you may not be getting field and constructor weaving for this class.
      11:30:31,778 ERROR [STDERR] org.jboss.aop.instrument.TransformationException: Failed to aspectize class org.quartz.impl.StdSchedulerFactory. Could not find class it references org.quartz.utils.PoolingConnectionProvider It may not be in your classpath and you may not be getting field and constructor weaving for this class.

        • 1. Re: Classpath Problem
          unibrew

          Hello

          We are not getting those warnings. I wouldn't worry if Labs are working, are they? If not, are you using our JBossAS installed by "maven install" ? And did you set properly all values in all property files as described in "maven help"? Please also check whether those missing classes are deployed into your "all" instance of JBossAS.

          Regards
          ----------------------
          Ryszard Kozmik
          JBoss Forums Lead
          JBoss Labs Team

          • 2. Re: Classpath Problem
            jthorn

            I'm also seeing some errors about the content manager which suggests to me the shotoku might not be configured right. Here is the shotoku.properties that we used to build. I know several of these properties arent set, is it ok to leave them blank or can anybody give me an idea what to put in them?

            #
            # Content managers configuration
            # ------------------------------
            #

            # Default content manager id
            shotoku.id.default = default

            # All ids that will be available for use
            shotoku.ids = default

            # Definitions of content managers
            shotoku.default.implementation = org.jboss.shotoku.svn.SvnContentManager
            shotoku.default.url =
            shotoku.default.username =
            shotoku.default.password =
            shotoku.default.localpath =
            shotoku.default.fullupdate = 1
            # Should externals be checked out during an update of the WC.
            shotoku.default.externals = true

            # shotoku.file.implementation = org.jboss.shotoku.files.FileContentManager
            # shotoku.file.localpath =

            # shotoku.jcr.implementation = org.jboss.shotoku.jcr.JcrContentManager
            # shotoku.jcr.connector = org.jboss.shotoku.jcr.JackrabbitJcrConnector
            # shotoku.jcr.configfile =
            # shotoku.jcr.username =
            # shotoku.jcr.password =
            # shotoku.jcr.localpath =

            #
            # General configuration
            # ---------------------
            #

            # Embedded/ application server mode
            shotoku.embedded = false

            # Size of a byte array that is allocated when transferring files to/from
            # the client
            shotoku.transfer.buffer.size = 1024

            # Interval between service (and cache) updates, in milliseconds
            shotoku.service.interval = 10000

            # Number of created update threads (used for updating cache items)
            shotoku.updatethread.count = 10

            #
            # Feeds configuration
            # -------------------
            #

            # Content manager and directory in which feeds.properties is placed in shotoku
            shotoku.internal.feeds.configcmid =
            shotoku.internal.feeds.configdir =

            # Interval between feed updates, in milliseconds
            shotoku.internal.feeds.service.interval = 10000

            #
            # Tags configuration
            # ------------------
            #

            # Should synchronization of tags be done
            shotoku.internal.tags.synchronization = 1

            # Content manager and base directory with which synchronization of Shotoku tags
            # will be done
            shotoku.internal.tags.cmid =
            shotoku.internal.tags.cmdir =

            # Interval between tag synchronization updates, in milliseconds
            shotoku.internal.tags.service.interval = 10000

            #
            # Tests configuration
            # -------------------
            #

            # Content manager and base directory in which tests will be done
            shotoku.internal.tests.id = default
            shotoku.internal.tests.dir = shotoku-test

            #
            # SVN content manager service configuration
            # -----------------------------------------

            # Interval between working copy updates, in milliseconds
            shotoku.internal.svn.service.interval = 5000

            # A debugging property which, when set to 0, will cause repositories not to be
            # updated for the first time when being registered.

            • 3. Re: Classpath Problem
              szimano

              Key properties are:

              shotoku.default.url =
              shotoku.default.username =
              shotoku.default.password =
              shotoku.default.localpath =

              You have to fill them in with your repository credentials, where your CMS template should be uploaded.

              Tomek

              • 4. Re: Classpath Problem
                jthorn

                Ok, after we put something in those properties it starts up with only a few classpath erros but when we try to hit the page we are now getting a null pointer exception and this shows up on the console:

                Caused by: org.apache.jasper.JasperException: Exception in JSP: /layouts/jbossForge.jsp:15

                12: <%
                13: if (!response.isCommitted()) {
                14: %>
                15: <jsp:forward page="/repo-access/default/theme/jsp/jbossForge.jsp" />
                16: <%
                17: }
                18: %>


                Stacktrace:
                at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
                at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
                at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                at org.jboss.portal.theme.LayoutDispatcher.execute(LayoutDispatcher.java:109)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:585)
                at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
                at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
                at org.jboss.portal.theme.LayoutDispatcher.include(LayoutDispatcher.java:139)
                at org.jboss.portal.theme.impl.JSPLayout.assembleResponse(JSPLayout.java:34)
                at org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:360)
                ... 97 more
                Caused by: javax.servlet.ServletException: /default/theme/jsp/jbossForge.jsp
                at org.jboss.forge.common.FilesFromRepoFilter.doFilter(FilesFromRepoFilter.java:110)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
                at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
                at org.apache.jsp.layouts.jbossForge_jsp._jspService(jbossForge_jsp.java:64)
                at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
                ... 116 more
                16:22:24,165 ERROR [[PortalServletWithPathMapping]] Servlet.service() for servlet PortalServletWithPathMapping threw exception
                org.jboss.shotoku.exceptions.ResourceDoesNotExist: /default/theme/jsp/jbossForge.jsp

                • 5. Re: Classpath Problem
                  szimano

                  It only means you haven't uploaded CMS to your repo.

                  Here's the cms template that you have to upload to you repository that you've set up in shotoku.properties

                  http://anonsvn.labs.jboss.com/labs/jbosslabs/trunk/cms-template/

                  Cheers,
                  Tomek

                  • 6. Re: Classpath Problem
                    phillips4jc

                    We are still seeing problems with our Labs installation. Here are the values that we used in the shotoku.properties file.

                    shotoku.default.url =http://B-0359/svn
                    shotoku.default.username = jboss
                    shotoku.default.password =jboss
                    shotoku.default.localpath =/cms-template

                    On startup we get the following MBEAN errors and Stack traces. After this listing, there is another stack trace generated when you try to access the page.

                    09:17:28,228 INFO [TomcatDeployer] deploy, ctxPath=/feeds, warUrl=.../tmp/deploy/tmp64391shotoku-feeds-exp.war/
                    09:17:28,712 ERROR [FeedsDescriptor] View feed getter class not found.
                    javax.ejb.EJBException: java.lang.NullPointerException
                    at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
                    at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
                    at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                    at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                    at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                    at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                    at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                    at org.jboss.ejb3.service.ServiceContainer.localInvoke(ServiceContainer.java:199)
                    at org.jboss.ejb3.service.ServiceContainer.localInvoke(ServiceContainer.java:167)
                    at org.jboss.ejb3.service.ServiceMBeanDelegate.invoke(ServiceMBeanDelegate.java:168)
                    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
                    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                    at $Proxy186.getProperty(Unknown Source)
                    at org.jboss.shotoku.feeds.portlet.FeedsViewPortlet.init(FeedsViewPortlet.java:95)
                    at org.jboss.portal.portlet.container.PortletContainer.initPortlet(PortletContainer.java:391)
                    at org.jboss.portal.portlet.container.PortletContainer.start(PortletContainer.java:251)
                    at org.jboss.portal.portlet.container.PortletContainerAdapter.start(PortletContainerAdapter.java:74)
                    at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:585)
                    at org.jboss.joinpoint.plugins.reflect.ReflectMethodJoinPoint.dispatch(ReflectMethodJoinPoint.java:72)
                    at org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActions.java:92)
                    at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.installAction(KernelControllerContextActions.java:452)
                    at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:147)
                    at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593)
                    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346)
                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)
                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)
                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225)
                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151)
                    at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:74)
                    at org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:232)
                    at org.jboss.portal.core.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:79)
                    at org.jboss.portal.server.deployment.jboss.PortalDeploymentInfo$DeploymentContext.start(PortalDeploymentInfo.java:211)
                    at org.jboss.portal.server.deployment.jboss.ServerDeployer.start(ServerDeployer.java:242)
                    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
                    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
                    at sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:585)
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                    at $Proxy138.deploy(Unknown Source)
                    at org.jboss.portal.server.deployment.jboss.ServerDeployer.deploy(ServerDeployer.java:296)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:585)
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                    at $Proxy94.deploy(Unknown Source)
                    at org.jboss.portal.server.deployment.WebAppAdapter.deploy(WebAppAdapter.java:54)
                    at org.jboss.portal.server.deployment.WebAppIntercepter.handleNotification(WebAppIntercepter.java:133)
                    at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:585)
                    at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
                    at $Proxy139.handleNotification(Unknown Source)
                    at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
                    at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
                    at org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerSupport.java:340)
                    at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:308)
                    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:482)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:585)
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                    at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
                    at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
                    at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
                    at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
                    at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
                    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                    at $Proxy114.start(Unknown Source)
                    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
                    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
                    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
                    at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:585)
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                    at $Proxy8.deploy(Unknown Source)
                    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
                    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                    at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:585)
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                    at $Proxy0.start(Unknown Source)
                    at org.jboss.system.ServiceController.start(ServiceController.java:417)
                    at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:585)
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                    at $Proxy4.start(Unknown Source)
                    at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
                    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
                    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
                    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
                    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:585)
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                    at $Proxy5.deploy(Unknown Source)
                    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
                    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
                    at org.jboss.Main.boot(Main.java:200)
                    at org.jboss.Main$1.run(Main.java:464)
                    at java.lang.Thread.run(Thread.java:595)
                    Caused by: java.lang.NullPointerException
                    at org.jboss.shotoku.feeds.FeedsDescriptor.getProperties(FeedsDescriptor.java:154)
                    at org.jboss.shotoku.feeds.FeedsDescriptor.getProperty(FeedsDescriptor.java:158)
                    at org.jboss.shotoku.feeds.FeedsDescriptor.(FeedsDescriptor.java:117)
                    at org.jboss.shotoku.feeds.service.FeedsServiceImpl.getFeedsDescriptor(FeedsServiceImpl.java:48)
                    at org.jboss.shotoku.feeds.service.FeedsServiceImpl.getProperty(FeedsServiceImpl.java:55)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:585)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
                    at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
                    at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                    at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                    at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                    at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
                    ... 166 more
                    09:17:29,141 INFO [TomcatDeployer] deploy, ctxPath=/file-access, warUrl=.../tmp/deploy/tmp64392shotoku-file-access-exp.war/
                    09:17:29,527 INFO [TomcatDeployer] deploy, ctxPath=/shotoku-tags, warUrl=.../tmp/deploy/tmp64393shotoku-tags-exp.war/
                    09:17:29,890 INFO [TomcatDeployer] deploy, ctxPath=/shotoku-test, warUrl=.../tmp/deploy/tmp64394shotoku-test-exp.war/
                    09:17:30,222 INFO [TomcatDeployer] deploy, ctxPath=/speller, warUrl=.../tmp/deploy/tmp64395speller-exp.war/
                    09:17:30,651 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

                    --- MBeans waiting for other MBeans ---
                    ObjectName: persistence.units:jar=polls-commons.jar,unitName=polls
                    State: NOTYETINSTALLED
                    I Depend On:
                    jboss.jca:name=LabsDS,service=ManagedConnectionFactory
                    Depends On Me:
                    jboss.j2ee:jar=polls-commons.jar,name=PollsServiceImpl,service=EJB3

                    ObjectName: jboss.j2ee:jar=polls-commons.jar,name=PollsServiceImpl,service=EJB3
                    State: NOTYETINSTALLED
                    I Depend On:
                    persistence.units:jar=polls-commons.jar,unitName=polls

                    ObjectName: persistence.units:jar=forge-common-1.0.ejb3.jar,unitName=property_persistance
                    State: NOTYETINSTALLED
                    I Depend On:
                    jboss.jca:name=LabsDS,service=ManagedConnectionFactory
                    Depends On Me:
                    jboss.j2ee:jar=forge-common-1.0.ejb3,name=PropertyServiceBean,service=EJB3

                    ObjectName: jboss.j2ee:jar=forge-common-1.0.ejb3,name=PropertyServiceBean,service=EJB3
                    State: NOTYETINSTALLED
                    I Depend On:
                    persistence.units:jar=forge-common-1.0.ejb3.jar,unitName=property_persistance

                    ObjectName: persistence.units:jar=shotoku-feeds.ejb3.jar,unitName=feeds
                    State: NOTYETINSTALLED
                    I Depend On:
                    jboss.jca:name=LabsDS,service=ManagedConnectionFactory
                    Depends On Me:
                    jboss.j2ee:jar=shotoku-feeds.ejb3,name=CommentsServiceImpl,service=EJB3

                    ObjectName: jboss.j2ee:jar=shotoku-feeds.ejb3,name=CommentsServiceImpl,service=EJB3
                    State: NOTYETINSTALLED
                    I Depend On:
                    shotoku:service=user
                    persistence.units:jar=shotoku-feeds.ejb3.jar,unitName=feeds
                    shotoku:service=shotoku
                    shotoku:service=feeds

                    ObjectName: persistence.units:jar=shotoku-tags.ejb3.jar,unitName=tags
                    State: NOTYETINSTALLED
                    I Depend On:
                    jboss.jca:name=LabsDS,service=ManagedConnectionFactory
                    Depends On Me:
                    jboss.j2ee:jar=shotoku-tags.ejb3,name=TagServiceImpl,service=EJB3

                    ObjectName: jboss.j2ee:jar=shotoku-tags.ejb3,name=TagServiceImpl,service=EJB3
                    State: NOTYETINSTALLED
                    I Depend On:
                    shotoku:service=shotoku
                    persistence.units:jar=shotoku-tags.ejb3.jar,unitName=tags

                    --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
                    ObjectName: jboss.jca:name=LabsDS,service=ManagedConnectionFactory
                    State: NOTYETINSTALLED
                    Depends On Me:
                    persistence.units:jar=polls-commons.jar,unitName=polls
                    persistence.units:jar=forge-common-1.0.ejb3.jar,unitName=property_persistance
                    persistence.units:jar=shotoku-feeds.ejb3.jar,unitName=feeds
                    persistence.units:jar=shotoku-tags.ejb3.jar,unitName=tags


                    09:17:30,848 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
                    09:17:31,959 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
                    09:17:31,978 INFO [JkMain] Jk running ID=0 time=0/68 config=null
                    09:17:31,996 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 1m:58s:798ms
                    *************************************************************
                    Only copied a portion of the stack trace generated by accessing the page, as it was over 1000 lines long.

                    s_4_0_4_GA date=200605151000)] Started in 1m:58s:798ms
                    09:47:29,505 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception java.lang.NullPointerException
                    at org.jboss.forge.common.FilesFromRepoFilter.doFilter(FilesFromRepoFilter.java:108)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                    at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
                    at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
                    at org.apache.jsp.layouts.jbossForge_jsp._jspService(jbossForge_jsp.java:64)
                    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
                    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.jboss.portal.theme.LayoutDispatcher.execute(LayoutDispatcher.java:109)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:585)
                    at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
                    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
                    at org.jboss.portal.theme.LayoutDispatcher.include(LayoutDispatcher.java:139)
                    at org.jboss.portal.theme.impl.JSPLayout.assembleResponse(JSPLayout.java:34)
                    at org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:360)
                    at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
                    at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
                    at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:171)
                    at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
                    at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
                    at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
                    at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
                    at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
                    at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
                    at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
                    at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
                    at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)

                    [/img]

                    • 7. Re: Classpath Problem
                      unibrew

                      Hi

                      I wouldn't care about this NPE from Feeds, I also have it ;-). The most important issue visible in your log is lack or wrongly configured datasource.

                      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
                      ObjectName: jboss.jca:name=LabsDS,service=ManagedConnectionFactory
                       State: NOTYETINSTALLED
                       Depends On Me:
                       persistence.units:jar=polls-commons.jar,unitName=polls
                       persistence.units:jar=forge-common-1.0.ejb3.jar,unitName=property_persistance
                       persistence.units:jar=shotoku-feeds.ejb3.jar,unitName=feeds
                       persistence.units:jar=shotoku-tags.ejb3.jar,unitName=tags

                      Look into sources and in directory configuration/to-copy/server/all/deploy you should find JBLab-ds.xml.sample, portal-mysql-ds.xml.sample and portal-login-ds.xml.sample. Fill those files with proper information about your database and copy to files without "sample" extension.

                      Regards
                      ----------------------
                      Ryszard Kozmik
                      JBoss Forums Lead
                      JBoss Labs Team

                      • 8. Re: Classpath Problem
                        samljones

                        Hi,

                        Been working with jthorn and phillips4jc.

                        Those files are present (non-sample versions). The portal-login-ds.xml had no connection url, however. I modified that to match the url in the other two xml files (jdbc:mysql://localhost:3306/jbossportal?useServerPrepStmts=false); is this appropriate? They are supposed to be in the same database, correct?

                        Also verified that the user/password in the files has access to that database.

                        Is the default driver (org.gjt.mm.mysql.Driver) included as part of the JBoss source code, or do we need to manually acquire a jar for that?

                        • 9. Re: Classpath Problem
                          samljones

                          Forgot to add, thanks for all the attention and help you all are giving us. We really appreciate it.

                          • 10. Re: Classpath Problem
                            samljones

                            Also, on doing a locate of *.sample, there are many more in the jboss source code, at least some of which have not been un-sample-ified. Is there a way to tell which are required for basic usage? I don't want to add values to a bunch of files and break jboss.

                            Thanks
                            -Sam

                            • 11. Re: Classpath Problem
                              unibrew

                               

                              "samljones" wrote:
                              Forgot to add, thanks for all the attention and help you all are giving us. We really appreciate it.
                              No problem. I hope, you will show us your portal based on Labs after you finish it.

                              I think that everything needed is displayed by executing "maven help" in root directory of sources. There are some info after doing "maven install". You can see both of those in maven.xml file.

                              Cheers
                              ----------------------
                              Ryszard Kozmik
                              JBoss Forums Lead
                              JBoss Labs Team

                              • 12. Re: Classpath Problem
                                adamw

                                Hello,
                                you should fillin/create all files listed by "maven help" and create non-sample versions of all .sample files found in the configuration directory.

                                The mysql driver is in the server/all/lib directory, included with the AS in our repository.

                                --
                                Adam