5 Replies Latest reply on Apr 19, 2006 6:57 PM by Andrew Oliver

    Many classes not found after

    lpmon Novice

      I ran the standard installation installing into an existing JAS 4.0.3SP1. When I started the server I get many ClassNotFound exceptions.

      I selected the least of the options/components I could because I want only outbound mail. (like: did not select POP) Did the installer maybe allow me to skip a required component?

      My JAS instance is still stable and my existing app runs fine.

      Suggestions?

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.mail:type=MailServices,name=MailBodyManager
      State: FAILED
      Reason: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.mail.store.StoreMBean
      I Depend On:
      jboss.mail:type=MailServices,name=PagedStore
      Depends On Me:
      jboss.mail:type=MailServices,name=MailboxManager

      ObjectName: jboss.mail:type=MailServices,name=MailboxManager
      State: FAILED
      Reason: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.mail.message.MailBodyManagerMBean
      I Depend On:
      jboss.mail:type=MailServices,name=MailBodyManager
      Depends On Me:
      jboss.mail:type=MailServices,name=LocalDelivery
      jboss.mail:type=MailServices,name=POP3Protocol

      ObjectName: jboss.mail:type=MailServices,name=LocalDelivery
      State: FAILED
      Reason: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.mail.mailbox.MailboxService
      I Depend On:
      jboss.mail:type=MailServices,name=MailboxManager
      Depends On Me:
      jboss.mail:type=MailServices,name=LocalDeliveryChain

      ObjectName: jboss.mail:type=MailServices,name=LocalDeliveryChain
      State: CONFIGURED
      I Depend On:
      jboss.mail:type=MailServices,name=LocalDelivery

      ObjectName: jboss.mail:type=MailServices,name=RemoteDelivery
      State: FAILED
      Reason: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.mail.MailListener
      I Depend On:
      jboss.mail:type=MailServices,name=MailListener
      Depends On Me:
      jboss.mail:type=MailServices,name=RemoteDeliveryChain

      ObjectName: jboss.mail:type=MailServices,name=RemoteDeliveryChain
      State: CONFIGURED
      I Depend On:
      jboss.mail:type=MailServices,name=RemoteDelivery

      ObjectName: jboss.mail:type=MailServices,name=SMTPProtocol
      State: FAILED
      Reason: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.mail.domaingroup.DomainGroupMBean
      I Depend On:
      jboss.mail:type=MailServices,name=DomainGroup,group=Local
      Depends On Me:
      jboss.mail:type=MailServices,name=SMTP

      ObjectName: jboss.mail:type=MailServices,name=SMTP
      State: CONFIGURED
      I Depend On:
      jboss.mail:type=MailServices,name=SMTPProtocol

      ObjectName: jboss.mail:type=MailServices,name=POP3Protocol
      State: FAILED
      Reason: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.mail.mailbox.MailboxService
      I Depend On:
      jboss.security:service=JaasSecurityDomain,domain=Mail+SSL
      jboss.mail:type=MailServices,name=MailListener
      jboss.mail:type=MailServices,name=MailboxManager
      Depends On Me:
      jboss.mail:type=MailServices,name=POP3

      ObjectName: jboss.mail:type=MailServices,name=POP3
      State: CONFIGURED
      I Depend On:
      jboss.mail:type=MailServices,name=POP3Protocol

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.mail:type=MailServices,name=RemoteDelivery
      State: FAILED
      Reason: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.mail.MailListener
      I Depend On:
      jboss.mail:type=MailServices,name=MailListener
      Depends On Me:
      jboss.mail:type=MailServices,name=RemoteDeliveryChain

      ObjectName: jboss.mail:type=MailServices,name=MailBodyManager
      State: FAILED
      Reason: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.mail.store.StoreMBean
      I Depend On:
      jboss.mail:type=MailServices,name=PagedStore
      Depends On Me:
      jboss.mail:type=MailServices,name=MailboxManager

      ObjectName: jboss.mail:type=MailServices,name=SMTPProtocol
      State: FAILED
      Reason: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.mail.domaingroup.DomainGroupMBean
      I Depend On:
      jboss.mail:type=MailServices,name=DomainGroup,group=Local
      Depends On Me:
      jboss.mail:type=MailServices,name=SMTP

        • 1. Re: Many classes not found after
          lpmon Novice

          Sorry: subject was chopped

          should have ended with "after installation"

          • 2. Re: Many classes not found after
            Andrew Oliver Master

            you have to have the ejb3rc5 or later container. Either manually upgrade it or go to 404CR2

            • 3. Re: Many classes not found after
              lpmon Novice

              ejb3rc5 was already installed when I installed JBMS.

              However, the installation is suspect since I have not been able to get MBeans for JMS to fire the onMessage event. (separate issue)

              I am using the annotations but I do not think the MBeans are being deployed properly. I may try 404CR2 to alleviate any installation issues.

              • 4. Re: Many classes not found after installation
                lpmon Novice

                I upgraded to JBOSS 4.04CR2 and installed JBMS on top of it.

                When I tried to send a mail I got a classnotfound exception for HibernateSession. I installed JBMS into a standalone folder and found the HibernateSession class in jboss-ejb3.jar. I placed that jar into the server\default\lib folder and when I try to send an email I get:


                15:37:02,750 INFO [Mail] all headers after loading: Received: from w2003-dowell (127.0.0.1 127.0.0.1) by w2003-dowell.mediarecovery.com/JBossMail 1.0M4 (127.0.0.1)
                with SMTP id 11454790227501018.2702241847688; Wed, 19 Apr 2006 15:37:02 -0500 (CDT)
                Message-ID: <19065033.1145479022437.JavaMail.mailuser>
                Date: Wed, 19 Apr 2006 15:37:02 -0500 (CDT)
                From: "mailman@shockwatch.com" <TESTONLY@noreply.com>
                To: dgriffin@shockwatch.com
                Subject: TEST EMAIL
                Mime-Version: 1.0
                Content-Type: multipart/mixed; boundary="----=_Part_0_8633270.1145479022250"

                15:37:02,812 ERROR [STDERR] javax.naming.NameNotFoundException: EntityManagers not bound
                15:37:02,812 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
                15:37:02,812 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
                15:37:02,812 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
                15:37:02,812 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
                15:37:02,812 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
                15:37:02,812 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
                15:37:02,812 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:351)
                15:37:02,812 ERROR [STDERR] at org.jboss.mail.store.AbstractStore.initEM(AbstractStore.java:66)
                15:37:02,812 ERROR [STDERR] at org.jboss.mail.store.AbstractStore.emInit(AbstractStore.java:58)
                15:37:02,812 ERROR [STDERR] at org.jboss.mail.store.AbstractStore.org$jboss$mail$store$AbstractStore$createStoreItem$aop(AbstractStore.java:100)
                15:37:02,812 ERROR [STDERR] at org.jboss.mail.store.AbstractStore$createStoreItem_N1420184194359260484.invokeNext(AbstractStore$createStoreItem_N1420184194359260484.java)
                15:37:02,812 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
                15:37:02,812 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:196)
                15:37:02,812 ERROR [STDERR] at org.jboss.mail.store.AbstractStore$createStoreItem_N1420184194359260484.invokeNext(AbstractStore$createStoreItem_N1420184194359260484.java)
                15:37:02,812 ERROR [STDERR] at org.jboss.mail.store.AbstractStore.createStoreItem(AbstractStore.java)
                15:37:02,812 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                15:37:02,812 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                15:37:02,812 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                15:37:02,812 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
                15:37:02,812 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                15:37:02,812 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                15:37:02,812 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                15:37:02,812 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
                15:37:02,812 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                15:37:02,812 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
                15:37:02,812 ERROR [STDERR] at $Proxy53.createStoreItem(Unknown Source)
                15:37:02,812 ERROR [STDERR] at org.jboss.mail.message.StoredMailBody.newInstance(StoredMailBody.java:68)
                15:37:02,812 ERROR [STDERR] at org.jboss.mail.message.MailBodyManager.createMailBody(MailBodyManager.java:40)
                15:37:02,812 ERROR [STDERR] at org.jboss.mail.message.MailBodyManager.createMailBody(MailBodyManager.java:89)
                15:37:02,812 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                15:37:02,812 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                15:37:02,812 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                15:37:02,812 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
                15:37:02,812 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                15:37:02,812 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                15:37:02,812 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                15:37:02,812 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
                15:37:02,812 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                15:37:02,812 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
                15:37:02,812 ERROR [STDERR] at $Proxy63.createMailBody(Unknown Source)
                15:37:02,812 ERROR [STDERR] at org.jboss.mail.message.Mail.org$jboss$mail$message$Mail$constructMessage$aop(Mail.java:183)
                15:37:02,812 ERROR [STDERR] at org.jboss.mail.message.Mail$constructMessage_N1871997485449281316.invokeNext(Mail$constructMessage_N1871997485449281316.java)
                15:37:02,828 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
                15:37:02,828 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:196)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.message.Mail$constructMessage_N1871997485449281316.invokeNext(Mail$constructMessage_N1871997485449281316.java)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.message.Mail.constructMessage(Mail.java)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.message.Mail.(Mail.java:158)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.message.Mail.create(Mail.java:258)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.smtp.handlers.CmdDATA.org$jboss$mail$smtp$handlers$CmdDATA$handleRequest$aop(CmdDATA.java:82)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.smtp.handlers.CmdDATA$handleRequest_6769463188231351863.invokeNext(CmdDATA$handleRequest_6769463188231351863.java)
                15:37:02,828 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
                15:37:02,828 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.smtp.handlers.CmdDATA$handleRequest_6769463188231351863.invokeNext(CmdDATA$handleRequest_6769463188231351863.java)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.smtp.handlers.CmdDATA.handleRequest(CmdDATA.java)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.smtp.handlers.RequireSTARTTLSProxy.handleRequest(RequireSTARTTLSProxy.java:49)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.smtp.SMTPProtocolInstance.handleRequest(SMTPProtocolInstance.java:167)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.ConnectionHandler.runSocket(ConnectionHandler.java:188)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.ConnectionHandler.run(ConnectionHandler.java:82)
                15:37:02,828 ERROR [STDERR] at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
                15:37:02,828 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
                15:37:02,828 INFO [AbstractStore] Creating store item
                15:37:02,828 ERROR [STDERR] javax.naming.NameNotFoundException: EntityManagers not bound
                15:37:02,828 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
                15:37:02,828 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
                15:37:02,828 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
                15:37:02,828 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
                15:37:02,828 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
                15:37:02,828 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
                15:37:02,828 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:351)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.store.AbstractStore.initEM(AbstractStore.java:66)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.store.AbstractStore.emInit(AbstractStore.java:58)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.store.paged.PagedStore.org$jboss$mail$store$paged$PagedStore$doCreate$aop(PagedStore.java:463)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.store.paged.PagedStore$doCreate_3781003712992460599.invokeNext(PagedStore$doCreate_3781003712992460599.java)
                15:37:02,828 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
                15:37:02,828 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:196)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.store.paged.PagedStore$doCreate_3781003712992460599.invokeNext(PagedStore$doCreate_3781003712992460599.java)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.store.paged.PagedStore.doCreate(PagedStore.java)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.store.AbstractStore.org$jboss$mail$store$AbstractStore$createStoreItem$aop(AbstractStore.java:102)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.store.AbstractStore$createStoreItem_N1420184194359260484.invokeNext(AbstractStore$createStoreItem_N1420184194359260484.java)
                15:37:02,828 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
                15:37:02,828 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:196)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.store.AbstractStore$createStoreItem_N1420184194359260484.invokeNext(AbstractStore$createStoreItem_N1420184194359260484.java)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.store.AbstractStore.createStoreItem(AbstractStore.java)
                15:37:02,828 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                15:37:02,828 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                15:37:02,828 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                15:37:02,828 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
                15:37:02,828 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                15:37:02,828 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                15:37:02,828 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                15:37:02,828 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
                15:37:02,828 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                15:37:02,828 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
                15:37:02,828 ERROR [STDERR] at $Proxy53.createStoreItem(Unknown Source)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.message.StoredMailBody.newInstance(StoredMailBody.java:68)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.message.MailBodyManager.createMailBody(MailBodyManager.java:40)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.message.MailBodyManager.createMailBody(MailBodyManager.java:89)
                15:37:02,828 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                15:37:02,828 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                15:37:02,828 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                15:37:02,828 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
                15:37:02,828 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                15:37:02,828 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                15:37:02,828 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                15:37:02,828 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
                15:37:02,828 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                15:37:02,828 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
                15:37:02,828 ERROR [STDERR] at $Proxy63.createMailBody(Unknown Source)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.message.Mail.org$jboss$mail$message$Mail$constructMessage$aop(Mail.java:183)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.message.Mail$constructMessage_N1871997485449281316.invokeNext(Mail$constructMessage_N1871997485449281316.java)
                15:37:02,828 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
                15:37:02,828 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:196)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.message.Mail$constructMessage_N1871997485449281316.invokeNext(Mail$constructMessage_N1871997485449281316.java)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.message.Mail.constructMessage(Mail.java)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.message.Mail.(Mail.java:158)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.message.Mail.create(Mail.java:258)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.smtp.handlers.CmdDATA.org$jboss$mail$smtp$handlers$CmdDATA$handleRequest$aop(CmdDATA.java:82)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.smtp.handlers.CmdDATA$handleRequest_6769463188231351863.invokeNext(CmdDATA$handleRequest_6769463188231351863.java)
                15:37:02,828 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
                15:37:02,828 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.smtp.handlers.CmdDATA$handleRequest_6769463188231351863.invokeNext(CmdDATA$handleRequest_6769463188231351863.java)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.smtp.handlers.CmdDATA.handleRequest(CmdDATA.java)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.smtp.handlers.RequireSTARTTLSProxy.handleRequest(RequireSTARTTLSProxy.java:49)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.smtp.SMTPProtocolInstance.handleRequest(SMTPProtocolInstance.java:167)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.ConnectionHandler.runSocket(ConnectionHandler.java:188)
                15:37:02,828 ERROR [STDERR] at org.jboss.mail.ConnectionHandler.run(ConnectionHandler.java:82)
                15:37:02,828 ERROR [STDERR] at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
                15:37:02,828 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
                15:37:02,859 ERROR [Mail] java.lang.NullPointerException
                java.lang.NullPointerException
                at org.jboss.mail.store.paged.PagedStore.org$jboss$mail$store$paged$PagedStore$doCreate$aop(PagedStore.java:469)
                at org.jboss.mail.store.paged.PagedStore$doCreate_3781003712992460599.invokeNext(PagedStore$doCreate_3781003712992460599.java)
                at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
                at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:196)
                at org.jboss.mail.store.paged.PagedStore$doCreate_3781003712992460599.invokeNext(PagedStore$doCreate_3781003712992460599.java)
                at org.jboss.mail.store.paged.PagedStore.doCreate(PagedStore.java)
                at org.jboss.mail.store.AbstractStore.org$jboss$mail$store$AbstractStore$createStoreItem$aop(AbstractStore.java:102)
                at org.jboss.mail.store.AbstractStore$createStoreItem_N1420184194359260484.invokeNext(AbstractStore$createStoreItem_N1420184194359260484.java)
                at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
                at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:196)
                at org.jboss.mail.store.AbstractStore$createStoreItem_N1420184194359260484.invokeNext(AbstractStore$createStoreItem_N1420184194359260484.java)
                at org.jboss.mail.store.AbstractStore.createStoreItem(AbstractStore.java)
                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:260)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
                at $Proxy53.createStoreItem(Unknown Source)
                at org.jboss.mail.message.StoredMailBody.newInstance(StoredMailBody.java:68)
                at org.jboss.mail.message.MailBodyManager.createMailBody(MailBodyManager.java:40)
                at org.jboss.mail.message.MailBodyManager.createMailBody(MailBodyManager.java:89)
                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:260)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
                at $Proxy63.createMailBody(Unknown Source)
                at org.jboss.mail.message.Mail.org$jboss$mail$message$Mail$constructMessage$aop(Mail.java:183)
                at org.jboss.mail.message.Mail$constructMessage_N1871997485449281316.invokeNext(Mail$constructMessage_N1871997485449281316.java)
                at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
                at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:196)
                at org.jboss.mail.message.Mail$constructMessage_N1871997485449281316.invokeNext(Mail$constructMessage_N1871997485449281316.java)
                at org.jboss.mail.message.Mail.constructMessage(Mail.java)
                at org.jboss.mail.message.Mail.(Mail.java:158)
                at org.jboss.mail.message.Mail.create(Mail.java:258)
                at org.jboss.mail.smtp.handlers.CmdDATA.org$jboss$mail$smtp$handlers$CmdDATA$handleRequest$aop(CmdDATA.java:82)
                at org.jboss.mail.smtp.handlers.CmdDATA$handleRequest_6769463188231351863.invokeNext(CmdDATA$handleRequest_6769463188231351863.java)
                at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
                at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192)
                at org.jboss.mail.smtp.handlers.CmdDATA$handleRequest_6769463188231351863.invokeNext(CmdDATA$handleRequest_6769463188231351863.java)
                at org.jboss.mail.smtp.handlers.CmdDATA.handleRequest(CmdDATA.java)
                at org.jboss.mail.smtp.handlers.RequireSTARTTLSProxy.handleRequest(RequireSTARTTLSProxy.java:49)
                at org.jboss.mail.smtp.SMTPProtocolInstance.handleRequest(SMTPProtocolInstance.java:167)
                at org.jboss.mail.ConnectionHandler.runSocket(ConnectionHandler.java:188)
                at org.jboss.mail.ConnectionHandler.run(ConnectionHandler.java:82)
                at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
                at java.lang.Thread.run(Thread.java:595)
                15:37:02,859 INFO [ConnectionHandler] ConnectionHandler finished
                15:37:02,859 INFO [STDOUT] DEBUG SMTP: EOF: [EOF]
                15:37:02,859 INFO [STDOUT] QUIT

                • 5. Re: Many classes not found after
                  Andrew Oliver Master

                  I dunno how to fix it after doing all that.

                  Here are the ways I install JBMS:

                  1. Run the installer with its JBAS installation. This will always be the most well trodden path. We even "paint you a picture": http://wiki.jboss.org/wiki/Wiki.jsp?page=HowToInstallJBossMailServer1.0M4
                  2. If you're going to install into an existing instance of JBAS you'd have to satisfy the dependencies. The easiest way is the graphicall installer for 404RC2 and select the EJB3 option.
                  3. If you're going to install into an existing instance of JBAS with no EJB3 container you'd need to download it and follow the instructions for installing the EJB3 container into JBAS.
                  4. check JBMS out from CVS and do "export JBOSS_HOME=xyz;ant test-deploy". (again a JBAS + EJB3 or a checkout the AS and build with JDK5, you'll get a default EJB3 version).

                  The above says that you have not properly installed the EJB3 container. It found the classes but did not deploy the persistent components of JBMS and start their entity manager.

                  -Andy