1 2 3 Previous Next 38 Replies Latest reply on Jun 5, 2006 9:11 AM by acoliver

    How to begin...2 instances of JB MS, 2 NICS, 1 JB AS

    gohip

      Hi,

      I was going to try and lock down my one instance of JBoss Mail Server, and all of it's sub components and then it dawned on me, I am already tasked to test two instances of JBoss mail Server on same machine so why not integrate the tasks

      In this scenario, if i jack up one machine, or want to perform comparisons, it would be much easier to note any issues that might arise

      But now, as always, am lost at where to begin, I'm sure If i run the installer twice, specifying no JBoss Application Server the second time, as well as different ports, it (installer) will just trash the existing config xml files.

      The JMX console has the deployer, do I start there? and if so could someone kindly point me as to what the heck to deploy

      If not deployer, could someone please briefly outline the steps...purdy please?

        • 1. Re: How to begin...2 instances of JB MS, 2 NICS, 1 JB AS

          Why not multi home your network card and not have to deal with the ports. This is what I do.

          Then you can booth JBoss on two different IP addresses and not have an port conflicts.

          Oh I just noticed you have two nics. Just boot JBoss to a specific IP then.

          Thank you for your time,

          Jason Long
          CEO and Chief Software Engineer
          BS Physics, MS Chemical Engineering
          http://www.supernovasoftware.com
          HJBUG Founder and President
          http://www.hjbug.com

          • 2. Re: How to begin...2 instances of JB MS, 2 NICS, 1 JB AS
            gohip

            Thanks Jason for prompt response,
            yeah two NIC's, I know, or it seems reasonable, that two instances of JBoss AS and JBoss MS would be easiest to setup and implement, but would there not be extra overhead with the second instance of JB AS? I was trying to avoid that, and thought, that that would be defeating the purpose of having an application server/container, but again, am new to JB AS, and MS, and the whole mBean, blah, blah, blah logic

            • 3. Re: How to begin...2 instances of JB MS, 2 NICS, 1 JB AS
              gohip

              Wow man, you have an impressive list of credentials, you better not be like 25 or something...

              I am starting with the Computer science side first, and would like to eventually also delve considerably into bioengineering and genetics

              • 4. Re: How to begin...2 instances of JB MS, 2 NICS, 1 JB AS

                I am running two on a production server. The only issue for me is RAM. I have 1.5 GB and let JBoss grab 512MB each with no problems.

                I am not using JBMS, but would like to drop Apache James and that it why I am watching this forum.

                run.bat -c default -b your.IP



                • 5. Re: How to begin...2 instances of JB MS, 2 NICS, 1 JB AS

                  32 actually. Wish I was 25.

                  • 6. Re: How to begin...2 instances of JB MS, 2 NICS, 1 JB AS
                    gohip

                     

                    "supernovasoftware.com" wrote:
                    32 actually. Wish I was 25.


                    Ditto my self, and wish I was 25 with those credentials credentials

                    And you get the hot british and english chicks, though you might say same about us...

                    About your memory issue, can you adhust the virtual machine settings, i think they default to sucking up about that much, since you have two instances, you could cut each by half, and see how it goes, i saw the settings somewhere


                    "supernovasoftware.com" wrote:
                    run.bat -c default -b your.IP

                    I check this out, so no installer just run run.bat specifying a server and server ip?

                    • 7. Re: How to begin...2 instances of JB MS, 2 NICS, 1 JB AS

                      Rather than using two pieces of phsical hardware, you may wish to alias your loopback adapter for every JBoss instance you want to run. If you're fronting with apache, this is no big deal, but otherwise you'll have to setup a firewall rule forwarding 8080 (or 80) on the public IP to 8080 on the private IP.

                      Jeff

                      • 8. Re: How to begin...2 instances of JB MS, 2 NICS, 1 JB AS
                        gohip

                        ooh, nice also this...

                        The first thing JBoss does is look for key environment variables such as JBOSS_HOME. It then begins booting the microkernel, the core JBoss process. Once the core is in place, it begins loading the individual J2EE services. After the services are loaded, JBoss deploys all WAR (Web ARchive) and EAR files it finds in the deploy/ directory. (More on this in just a moment.) JBoss is fully up and running when it reports Started in XXs:YYms.


                        getting there...

                        • 9. Re: How to begin...2 instances of JB MS, 2 NICS, 1 JB AS
                          gohip

                          and then this

                          Your applications are deployed to the same directory as the MBeans. JBoss treats them as equals.

                          J2EE applications are generally bundled up as EARs or WARs. While each of these is technically nothing more than a simple JAR file, they have special internal directory structures and configuration files that must be present for the sake of the application server.


                          So i need the mail.ear, but that could not be all there is, i.e. copy mail.ear to myMail.ear

                          do i just need to do that, and create a new mail-service.xml like myMail-service.xml

                          and JBoss will automagically deploy them or are there a ton of other pertinent folders and files to massage and copy

                          Does JBoss Mail server only have it's config and pertinent files in?
                          E:\JBossMailServer\versions\1.0M4\server\default\deploy

                          what about the ton of other files with mail in the name such as:
                          mail-ra.rar
                          properties-service.xml
                          the jms folder

                          When I finally get this straightened out, I could provide a final post describing the process, but could use a lil help still...por favor!


                          • 10. Re: How to begin...2 instances of JB MS, 2 NICS, 1 JB AS
                            gohip

                            Jason, just noticed you have same name, cool, maybe were dopplergangers or whatever, ha ha.

                            I found your mem settings in run.bat, just fyi if you didnt know...

                            rem Sun JVM memory allocation pool parameters. Modify as appropriate.
                            set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m



                            • 11. Re: How to begin...2 instances of JB MS, 2 NICS, 1 JB AS
                              gohip

                              Andrew, I know your busy, but I could use your expert guidance when you have a moment...

                              I downloaded J2EE 1.4_03
                              Got all the pertinent jar files I needed related to JMX

                              Compiled a sample ear app in netbeans, i.e. DukesBank

                              Deployed it to JBoss Mail Servers JBoss AS instance, and yes, nice, it worked, the deployer service automagically deploys it

                              So I am there, I am ready for whatever guidance you can off in regards to where to start with creating another instance of the mail Server

                              I now know that it would be futile to just copy the ear file, or seems like it would be, as all the EJB modules would already be registered, so wouldnt it have the effect of only partially using the second instance, all the modules that could not be used and registered for second instance, would instead, call the first instances registered modules, so it would seem it would be only half of another instance, not truly what I want

                              It sounds like I am going to have to make my own mail.ear like myMail.ear, but as a new netbeans project, sounds like I might also have to change all the reistered MBean classes, that will cause conflicts

                              Or is there another way to do it, i saw in one of the config files, i think, that you can have JBoss AS load the ear/war/etc into its own <cant think of word, want to say namespace> so as to not cause conflicts?

                              Again, anyone, a little insight or nudges in right direction would be very beneficial

                              • 12. Re: How to begin...2 instances of JB MS, 2 NICS, 1 JB AS
                                acoliver

                                Right now (present release) you are stuck running only one instance of the mail store per JVM. We aim to have this corrected by JBMS 1.0. Other than that you only need to stick unique instances of each mbean in another jboss-service.xml. I don't generally know why you'd need more copies of the class files in memory other than just seperate configuration.

                                • 13. Re: How to begin...2 instances of JB MS, 2 NICS, 1 JB AS
                                  gohip

                                  Thanks for reply, and sorry to hassle...

                                  But the correct way to do it, is as I said, yes? I.e. dont need to JBoss AS instances, just need one, and two instances of Mail Server (but as you pointed out it currently wont work)

                                  So at moment, is there no way whatsover I can do it? I was going to create an new Enterprise app in Netbeans, import all the source files, and change whatever I needed for the second instance that would conflict.

                                  Will that not work?

                                  "We aim to have this corrected by JBMS 1.0. "
                                  is that still slated for June/July?

                                  "Other than that you only need to stick unique instances of each mbean in another jboss-service.xml. I don't generally know why you'd need more copies of the class files in memory other than just seperate configuration."
                                  But you said with the current release this wont work?

                                  I understand now about mBeans (now (a little/lot more)), and understand it's not simply a process of copy an ear, but though maybe If i compiled this ear differently as separate app it would work

                                  So what would be your recommendation that I do until release 1.0 (besides "piss off"-LOL), if the above is all true about impossible to run two instances, just due the two jboss AS instances, each with it's own mail server, binding them to separate NIC's

                                  Again, any guidance is greatly appreciated, and really, I am, slowly getting the hang of your project and it's underlying technology, so I am trying a little on my own!




                                  • 14. Re: How to begin...2 instances of JB MS, 2 NICS, 1 JB AS
                                    gohip

                                    got it down to these errors, but dont know if i should strat trying to renaming the services as you mentioned or not...


                                    D:\Documents and Settings\Administrator\Desktop>E:\JBossMailServer\versions\JBos
                                     s-4.0.3\bin\run.bat
                                     ===============================================================================
                                     .
                                     JBoss Bootstrap Environment
                                     .
                                     JBOSS_HOME: E:\JBossMailServer\versions\JBoss-4.0.3\bin\\..
                                     .
                                     JAVA: D:\jdk1.5.0_06\bin\java
                                     .
                                     JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx256m
                                     .
                                     CLASSPATH: D:\jdk1.5.0_06\lib\tools.jar;E:\JBossMailServer\versions\JBoss-4.0.
                                     3\bin\\run.jar
                                     .
                                     ===============================================================================
                                     .
                                     16:52:25,406 INFO [Server] Starting JBoss (MX MicroKernel)...
                                     16:52:25,406 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBo
                                     ss_4_0_3_SP1 date=200601171717)
                                     16:52:25,406 INFO [Server] Home Dir: E:\JBossMailServer\versions\JBoss-4.0.3
                                     16:52:25,406 INFO [Server] Home URL: file:/E:/JBossMailServer/versions/JBoss-4.
                                     0.3/
                                     16:52:25,406 INFO [Server] Patch URL: null
                                     16:52:25,421 INFO [Server] Server Name: default
                                     16:52:25,421 INFO [Server] Server Home Dir: E:\JBossMailServer\versions\JBoss-4
                                     .0.3\server\default
                                     16:52:25,421 INFO [Server] Server Home URL: file:/E:/JBossMailServer/versions/J
                                     Boss-4.0.3/server/default/
                                     16:52:25,421 INFO [Server] Server Temp Dir: E:\JBossMailServer\versions\JBoss-4
                                     .0.3\server\default\tmp
                                     16:52:25,421 INFO [Server] Root Deployment Filename: jboss-service.xml
                                     16:52:25,828 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
                                     16:52:25,828 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-b05
                                     ,Sun Microsystems Inc.
                                     16:52:25,828 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
                                     16:52:26,375 INFO [Server] Core system initialized
                                     16:52:30,078 INFO [WebService] Using RMI server codebase: http://happy-2kas:808
                                     3/
                                     16:52:30,140 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
                                     ce:log4j.xml
                                     16:52:30,531 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=
                                     1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server Socket
                                     Factory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
                                     16:52:33,375 INFO [SocketServerInvoker] Invoker started for locator: InvokerLoc
                                     ator [socket://10.10.10.100:3873/]
                                     16:52:33,984 INFO [EJB3Deployer] Default persistence.properties: {hibernate.tra
                                     nsaction.flush_before_completion=true, hibernate.cglib.use_reflection_optimizer=
                                     false, hibernate.transaction.auto_close_session=false, hibernate.jndi.java.namin
                                     g.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, hibernate.cache.provider
                                     _class=org.hibernate.cache.HashtableCacheProvider, hibernate.transaction.manager
                                     _lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, hibernate
                                     .jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, hiber
                                     nate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory, hibern
                                     ate.connection.release_mode=after_statement}
                                     16:52:34,234 INFO [AspectDeployer] Deployed AOP: file:/E:/JBossMailServer/versi
                                     ons/JBoss-4.0.3/server/default/deploy/ejb3-interceptors-aop.xml
                                     16:52:37,671 INFO [Embedded] Catalina naming disabled
                                     16:52:38,078 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0
                                     -8080
                                     16:52:38,078 INFO [Catalina] Initialization processed in 328 ms
                                     16:52:38,078 INFO [StandardService] Starting service jboss.web
                                     16:52:38,078 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5
                                     16:52:38,125 INFO [StandardHost] XML validation disabled
                                     16:52:38,171 INFO [Catalina] Server startup in 93 ms
                                     16:52:38,468 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
                                     http-invoker.sar/invoker.war/
                                     16:52:38,796 INFO [WebappLoader] Dual registration of jndi stream handler: fact
                                     ory already defined
                                     16:52:39,250 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=.../tmp/deplo
                                     y/tmp18831jboss-ws4ee-exp.war/
                                     16:52:39,359 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbosswe
                                     b-tomcat55.sar/ROOT.war/
                                     16:52:39,531 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
                                     deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
                                     16:52:41,187 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
                                     loy/management/console-mgr.sar/web-console.war/
                                     16:52:41,906 INFO [MailService] Mail Service bound to java:/Mail
                                     16:52:42,671 INFO [RARDeployment] Required license terms exist, view META-INF/r
                                     a.xml in .../deploy/jboss-ha-local-jdbc.rar
                                     16:52:42,828 INFO [RARDeployment] Required license terms exist, view META-INF/r
                                     a.xml in .../deploy/jboss-ha-xa-jdbc.rar
                                     16:52:42,953 INFO [RARDeployment] Required license terms exist, view META-INF/r
                                     a.xml in .../deploy/jboss-local-jdbc.rar
                                     16:52:43,062 INFO [RARDeployment] Required license terms exist, view META-INF/r
                                     a.xml in .../deploy/jboss-xa-jdbc.rar
                                     16:52:43,250 INFO [RARDeployment] Required license terms exist, view META-INF/r
                                     a.xml in .../deploy/jms/jms-ra.rar
                                     16:52:43,343 INFO [RARDeployment] Required license terms exist, view META-INF/r
                                     a.xml in .../deploy/mail-ra.rar
                                     16:52:44,171 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
                                     oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
                                     16:52:44,500 INFO [A] Bound to JNDI name: queue/A
                                     16:52:44,500 INFO [B] Bound to JNDI name: queue/B
                                     16:52:44,531 INFO [C] Bound to JNDI name: queue/C
                                     16:52:44,531 INFO [D] Bound to JNDI name: queue/D
                                     16:52:44,531 INFO [ex] Bound to JNDI name: queue/ex
                                     16:52:44,562 INFO [testTopic] Bound to JNDI name: topic/testTopic
                                     16:52:44,562 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
                                     16:52:44,562 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
                                    
                                     16:52:44,562 INFO [testQueue] Bound to JNDI name: queue/testQueue
                                     16:52:44,640 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.
                                     0.0:8093
                                     16:52:44,718 INFO [DLQ] Bound to JNDI name: queue/DLQ
                                     16:52:44,875 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
                                     oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
                                     16:52:44,968 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
                                     oss.jca:service=DataSourceBinding,name=email' to JNDI name 'java:email'
                                     16:52:45,015 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
                                     loy/jmx-console.war/
                                     16:52:45,140 INFO [EARDeployer] Init J2EE application: file:/E:/JBossMailServer
                                     /versions/JBoss-4.0.3/server/default/deploy/cellportmail.ear/
                                     16:52:47,375 INFO [ServiceConfigurator] Problem configuring service jboss.mail:
                                     type=MailServices,name=MailBodyManager
                                     at org.jboss.Main$1.run(Main.java:438)
                                     at java.lang.Thread.run(Thread.java:595)
                                     16:52:50,843 INFO [EjbModule] Deploying LocalDelivery
                                     16:52:50,953 INFO [EjbModule] Deploying RemoteDelivery
                                     16:52:51,406 FATAL [PersistenceXmlLoader] mail JTA
                                     16:52:51,406 INFO [Ejb3Deployment] EJB3 deployment time took: 297
                                     16:52:51,671 INFO [onServer] Bound to JNDI name: queue/onServer
                                     16:52:51,687 INFO [localMail] Bound to JNDI name: queue/localMail
                                     16:52:51,687 INFO [remoteMail] Bound to JNDI name: queue/remoteMail
                                     16:52:51,687 INFO [offServer] Bound to JNDI name: queue/offServer
                                     16:52:52,015 INFO [EJBDeployer] Deployed: file:/E:/JBossMailServer/versions/JBo
                                     ss-4.0.3/server/default/deploy/cellportmail.ear/deliverymdb.jar/
                                     16:52:52,062 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ea
                                     r=cellportmail.ear.ear,unitName=mail with dependencies:
                                     16:52:52,078 INFO [JmxKernelAbstraction] jboss.jca:name=email,service=Man
                                     agedConnectionFactory
                                     16:52:52,171 INFO [Environment] Hibernate 3.1.2
                                     16:52:52,171 INFO [Environment] hibernate.properties not found
                                     16:52:52,171 INFO [Environment] using CGLIB reflection optimizer
                                     16:52:52,171 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
                                     16:52:52,375 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.mail.ma
                                     ilbox.Alias
                                     16:52:52,390 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.mail.ma
                                     ilbox.Folder
                                     16:52:52,390 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.mail.ma
                                     ilbox.Lock
                                     16:52:52,390 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.mail.ma
                                     ilbox.Mailbox
                                     16:52:52,453 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.mail.ma
                                     ilbox.MessageData
                                     16:52:52,484 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.mail.st
                                     ore.jdbc3.Item
                                     16:52:52,515 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.mail.st
                                     ore.paged.Blob
                                     16:52:52,515 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.mail.st
                                     ore.paged.Page
                                     16:52:52,578 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.mail.st
                                     ore.StoreItemMetaData
                                     16:52:52,687 INFO [AnnotationBinder] Binding entity from annotated class: org.j
                                     boss.mail.mailbox.Alias
                                     16:52:52,781 INFO [EntityBinder] Bind entity org.jboss.mail.mailbox.Alias on ta
                                     ble Alias
                                     16:52:52,921 INFO [AnnotationBinder] Binding entity from annotated class: org.j
                                     boss.mail.mailbox.Folder
                                     16:52:52,921 INFO [EntityBinder] Bind entity org.jboss.mail.mailbox.Folder on t
                                     able Folder
                                     16:52:53,000 INFO [AnnotationBinder] Binding entity from annotated class: org.j
                                     boss.mail.mailbox.Lock
                                     16:52:53,000 INFO [EntityBinder] Bind entity org.jboss.mail.mailbox.Lock on tab
                                     le LOCK_TABLE
                                     16:52:53,015 INFO [AnnotationBinder] Binding entity from annotated class: org.j
                                     boss.mail.mailbox.Mailbox
                                     16:52:53,062 INFO [AnnotationBinder] Binding entity from annotated class: org.j
                                     boss.mail.mailbox.MessageData
                                     16:52:53,062 INFO [EntityBinder] Bind entity org.jboss.mail.mailbox.MessageData
                                     on table MessageData
                                     16:52:53,062 INFO [AnnotationBinder] Binding entity from annotated class: org.j
                                     boss.mail.store.jdbc3.Item
                                     16:52:53,062 INFO [EntityBinder] Bind entity org.jboss.mail.store.jdbc3.Item on
                                     table BLOB_MAIL_STORE
                                     16:52:53,078 INFO [AnnotationBinder] Binding entity from annotated class: org.j
                                     boss.mail.store.paged.Blob
                                     16:52:53,078 INFO [EntityBinder] Bind entity org.jboss.mail.store.paged.Blob on
                                     table PAGED_MAIL_STORE
                                     16:52:53,078 INFO [AnnotationBinder] Binding entity from annotated class: org.j
                                     boss.mail.store.paged.Page
                                     16:52:53,078 INFO [EntityBinder] Bind entity org.jboss.mail.store.paged.Page on
                                     table PAGED_MAIL_STORE_PAGES
                                     16:52:53,093 INFO [AnnotationBinder] Binding entity from annotated class: org.j
                                     boss.mail.store.StoreItemMetaData
                                     16:52:53,093 INFO [EntityBinder] Bind entity org.jboss.mail.store.StoreItemMeta
                                     Data on table StoreItemMetaData
                                     16:52:53,218 INFO [CollectionBinder] Mapping collection: org.jboss.mail.mailbox
                                     .Mailbox.aliases -> Alias
                                     16:52:53,218 INFO [CollectionBinder] Mapping collection: org.jboss.mail.mailbox
                                     .Folder.messages -> MessageData
                                     16:52:53,625 INFO [CollectionBinder] Mapping collection: org.jboss.mail.mailbox
                                     .Folder.folders -> Folder
                                     16:52:53,625 INFO [CollectionBinder] Mapping collection: org.jboss.mail.mailbox
                                     .Folder.locks -> LOCK_TABLE
                                     16:52:53,734 INFO [ConnectionProviderFactory] Initializing connection provider:
                                     org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
                                     16:52:53,734 INFO [InjectedDataSourceConnectionProvider] Using provided datasou
                                     rce
                                     16:52:54,031 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.20-nt
                                     16:52:54,031 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version:
                                     mysql-connector-java-3.1.12 ( $Date: 2005-11-17 15:53:48 +0100 (Thu, 17 Nov 200
                                     5) $, $Revision$ )
                                     16:52:54,093 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
                                     16:52:54,109 INFO [TransactionFactoryFactory] Using default transaction strateg
                                     y (direct JDBC transactions)
                                     16:52:54,109 INFO [TransactionManagerLookupFactory] instantiating TransactionMa
                                     nagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
                                     16:52:54,125 INFO [TransactionManagerLookupFactory] instantiated TransactionMan
                                     agerLookup
                                     16:52:54,125 INFO [SettingsFactory] Automatic flush during beforeCompletion():
                                     enabled
                                     16:52:54,125 INFO [SettingsFactory] Automatic session close at end of transacti
                                     on: disabled
                                     16:52:54,125 INFO [SettingsFactory] JDBC batch size: 15
                                     16:52:54,125 INFO [SettingsFactory] JDBC batch updates for versioned data: disa
                                     bled
                                     16:52:54,125 INFO [SettingsFactory] Scrollable result sets: enabled
                                     16:52:54,125 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
                                     16:52:54,125 INFO [SettingsFactory] Connection release mode: after_statement
                                     16:52:54,125 INFO [SettingsFactory] Maximum outer join fetch depth: 2
                                     16:52:54,125 INFO [SettingsFactory] Default batch fetch size: 1
                                     16:52:54,125 INFO [SettingsFactory] Generate SQL with comments: disabled
                                     16:52:54,125 INFO [SettingsFactory] Order SQL updates by primary key: disabled
                                     16:52:54,140 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.AST
                                     QueryTranslatorFactory
                                     16:52:54,156 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
                                     16:52:54,156 INFO [SettingsFactory] Query language substitutions: {}
                                     16:52:54,156 INFO [SettingsFactory] Second-level cache: enabled
                                     16:52:54,156 INFO [SettingsFactory] Query cache: disabled
                                     16:52:54,156 INFO [SettingsFactory] Cache provider: org.hibernate.cache.Hashtab
                                     leCacheProvider
                                     16:52:54,171 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
                                     16:52:54,171 INFO [SettingsFactory] Structured second-level cache entries: disa
                                     bled
                                     16:52:54,171 INFO [SettingsFactory] Statistics: disabled
                                     16:52:54,171 INFO [SettingsFactory] Deleted entity synthetic identifier rollbac
                                     k: disabled
                                     16:52:54,171 INFO [SettingsFactory] Default entity-mode: pojo
                                     16:52:54,296 INFO [SessionFactoryImpl] building session factory
                                     16:52:55,156 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no
                                     JNDI name configured
                                     16:52:55,156 INFO [SchemaUpdate] Running hbm2ddl schema update
                                     16:52:55,156 INFO [SchemaUpdate] fetching database metadata
                                     16:52:55,156 INFO [SchemaUpdate] updating schema
                                     16:52:55,203 INFO [TableMetadata] table found: email.alias
                                     16:52:55,203 INFO [TableMetadata] columns: [folder_id, name, id]
                                     16:52:55,203 INFO [TableMetadata] foreign keys: [fk3c6a630fb8bf9b0]
                                     16:52:55,203 INFO [TableMetadata] indexes: [primary, fk3c6a630fb8bf9b0]
                                     16:52:55,218 INFO [TableMetadata] table found: email.blob_mail_store
                                     16:52:55,218 INFO [TableMetadata] columns: [data, id]
                                     16:52:55,218 INFO [TableMetadata] foreign keys: []
                                     16:52:55,218 INFO [TableMetadata] indexes: [primary]
                                     16:52:55,234 INFO [TableMetadata] table found: email.folder
                                     16:52:55,234 INFO [TableMetadata] columns: [type, defaultoutfolder_id, defaulti
                                     nfolder_id, parent_id, name, id]
                                     16:52:55,234 INFO [TableMetadata] foreign keys: [fk7dc2088e1be69e24, fk7dc2088e
                                     901b24ce, fk7dc2088e36406fbd]
                                     16:52:55,234 INFO [TableMetadata] indexes: [primary, fk7dc2088e1be69e24, defaul
                                     toutfolder_id, defaultinfolder_id, fk7dc2088e901b24ce, fk7dc2088e36406fbd]
                                     16:52:55,250 INFO [TableMetadata] table found: email.lock_table
                                     16:52:55,250 INFO [TableMetadata] columns: [folder_id, expiration, username, ex
                                     pired, threadid, id]
                                     16:52:55,250 INFO [TableMetadata] foreign keys: [fk9d28979a34254a8a]
                                     16:52:55,250 INFO [TableMetadata] indexes: [primary, fk9d28979a34254a8a]
                                     16:52:55,265 INFO [TableMetadata] table found: email.messagedata
                                     16:52:55,265 INFO [TableMetadata] columns: [deleted, folder_id, bodyid, toaddre
                                     ss, messagesize, header, timestamp, subject, fromaddress, id]
                                     16:52:55,265 INFO [TableMetadata] foreign keys: [fk2f57b03134254a8a]
                                     16:52:55,265 INFO [TableMetadata] indexes: [fk2f57b03134254a8a, primary]
                                     16:52:55,281 INFO [TableMetadata] table found: email.paged_mail_store
                                     16:52:55,281 INFO [TableMetadata] columns: [length, numpages, id, pagesize]
                                     16:52:55,281 INFO [TableMetadata] foreign keys: []
                                     16:52:55,281 INFO [TableMetadata] indexes: [primary]
                                     16:52:55,296 INFO [TableMetadata] table found: email.paged_mail_store_pages
                                     16:52:55,296 INFO [TableMetadata] columns: [data, blobid, pageno, id]
                                     16:52:55,296 INFO [TableMetadata] foreign keys: []
                                     16:52:55,296 INFO [TableMetadata] indexes: [primary]
                                     16:52:55,328 INFO [TableMetadata] table found: email.storeitemmetadata
                                     16:52:55,328 INFO [TableMetadata] columns: [hashed, iscompressed, startindex, s
                                     ize, pid, hash, id, pagesize]
                                     16:52:55,328 INFO [TableMetadata] foreign keys: []
                                     16:52:55,328 INFO [TableMetadata] indexes: [primary]
                                     16:52:55,328 INFO [SchemaUpdate] schema update complete
                                     16:52:55,343 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.fa
                                     ctory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.p
                                     kgs=org.jboss.naming:org.jnp.interfaces}
                                     16:52:55,343 INFO [EJB3Deployer] Deployed: file:/E:/JBossMailServer/versions/JB
                                     oss-4.0.3/server/default/deploy/cellportmail.ear/CellPortMail.par/
                                     16:52:55,359 INFO [EARDeployer] Started J2EE application: file:/E:/JBossMailSer
                                     ver/versions/JBoss-4.0.3/server/default/deploy/cellportmail.ear/
                                     16:52:55,359 INFO [EARDeployer] Init J2EE application: file:/E:/JBossMailServer
                                     /versions/JBoss-4.0.3/server/default/deploy/mail.ear/
                                     16:52:56,468 ERROR [MainDeployer] Could not create deployment: file:/E:/JBossMai
                                     lServer/versions/JBoss-4.0.3/server/default/deploy/mail.ear/mail.sar/
                                     org.jboss.deployment.DeploymentException: Trying to install an already registere
                                     d mbean: jboss.security:service=JaasSecurityDomain,domain=Mail+SSL
                                     at org.jboss.system.ServiceCreator.install(ServiceCreator.java:70)
                                     at org.jboss.Main$1.run(Main.java:438)
                                     at java.lang.Thread.run(Thread.java:595)
                                     16:52:56,812 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
                                    
                                     --- Incompletely deployed packages ---
                                     org.jboss.deployment.DeploymentInfo@819a1fee { url=file:/E:/JBossMailServer/vers
                                     ions/JBoss-4.0.3/server/default/deploy/mail.ear/mail.sar/commons-io-1.0.jar }
                                     deployer: org.jboss.deployment.JARDeployer@1d10a5c
                                     status: Created
                                     state: CREATED
                                     watch: file:/E:/JBossMailServer/versions/JBoss-4.0.3/server/default/deploy/mai
                                     l.ear/mail.sar/commons-io-1.0.jar
                                     altDD: null
                                     lastDeployed: 1147391575531
                                     lastModified: 1147391575484
                                     mbeans:
                                    
                                     org.jboss.deployment.DeploymentInfo@23c4304b { url=file:/E:/JBossMailServer/vers
                                     ions/JBoss-4.0.3/server/default/deploy/mail.ear/mail.sar/dnsjava-1.5.0.jar }
                                     deployer: org.jboss.deployment.JARDeployer@1d10a5c
                                     status: Created
                                     state: CREATED
                                     watch: file:/E:/JBossMailServer/versions/JBoss-4.0.3/server/default/deploy/mai
                                     l.ear/mail.sar/dnsjava-1.5.0.jar
                                     altDD: null
                                     lastDeployed: 1147391575718
                                     lastModified: 1147391575531
                                     mbeans:
                                    
                                     org.jboss.deployment.DeploymentInfo@1ecdd198 { url=file:/E:/JBossMailServer/vers
                                     ions/JBoss-4.0.3/server/default/deploy/mail.ear/mail.sar/je.jar }
                                     deployer: org.jboss.deployment.JARDeployer@1d10a5c
                                     status: Created
                                     state: CREATED
                                     watch: file:/E:/JBossMailServer/versions/JBoss-4.0.3/server/default/deploy/mai
                                     l.ear/mail.sar/je.jar
                                     altDD: null
                                     lastDeployed: 1147391576250
                                     lastModified: 1147391575718
                                     mbeans:
                                    
                                     org.jboss.deployment.DeploymentInfo@35da5091 { url=file:/E:/JBossMailServer/vers
                                     ions/JBoss-4.0.3/server/default/deploy/mail.ear/mail.sar/ristretto-1.0-all.jar }
                                    
                                     deployer: org.jboss.deployment.JARDeployer@1d10a5c
                                     status: Created
                                     state: CREATED
                                     watch: file:/E:/JBossMailServer/versions/JBoss-4.0.3/server/default/deploy/mai
                                     l.ear/mail.sar/ristretto-1.0-all.jar
                                     altDD: null
                                     lastDeployed: 1147391576437
                                     lastModified: 1147391576265
                                     mbeans:
                                    
                                     org.jboss.deployment.DeploymentInfo@c820a270 { url=file:/E:/JBossMailServer/vers
                                     ions/JBoss-4.0.3/server/default/deploy/mail.ear/mail.sar/ }
                                     deployer: org.jboss.deployment.SARDeployer@1a06e38
                                     status: Deployment FAILED reason: Trying to install an already registered mbea
                                     n: jboss.security:service=JaasSecurityDomain,domain=Mail+SSL
                                     state: FAILED
                                     watch: file:/E:/JBossMailServer/versions/JBoss-4.0.3/server/default/deploy/mai
                                     l.ear/mail.sar/META-INF/jboss-service.xml
                                     altDD: null
                                     lastDeployed: 1147391576437
                                     lastModified: 1147390071125
                                     mbeans:
                                    
                                     org.jboss.deployment.DeploymentInfo@3ae3fb93 { url=file:/E:/JBossMailServer/vers
                                     ions/JBoss-4.0.3/server/default/deploy/mail.ear/deliverymdb.jar/ }
                                     deployer: MBeanProxyExt[jboss.ejb:service=EJBDeployer]
                                     status: null
                                     state: INITIALIZED
                                     watch: file:/E:/JBossMailServer/versions/JBoss-4.0.3/server/default/deploy/mai
                                     l.ear/deliverymdb.jar/META-INF/ejb-jar.xml
                                     altDD: null
                                     lastDeployed: 1147391576453
                                     lastModified: 1147390071359
                                     mbeans:
                                    
                                     org.jboss.deployment.DeploymentInfo@c81f4553 { url=file:/E:/JBossMailServer/vers
                                     ions/JBoss-4.0.3/server/default/deploy/mail.ear/mail.par/ }
                                     deployer: org.jboss.ejb3.EJB3Deployer@dfe303
                                     status: null
                                     state: INITIALIZED
                                     watch: file:/E:/JBossMailServer/versions/JBoss-4.0.3/server/default/deploy/mai
                                     l.ear/mail.par/
                                     altDD: null
                                     lastDeployed: 1147391576468
                                     lastModified: 1147390071359
                                     mbeans:
                                    
                                     org.jboss.deployment.DeploymentInfo@15943dc8 { url=file:/E:/JBossMailServer/vers
                                     ions/JBoss-4.0.3/server/default/deploy/mail.ear/ }
                                     deployer: org.jboss.deployment.EARDeployer@82674b
                                     status: Deployment FAILED reason: Trying to install an already registered mbea
                                     n: jboss.security:service=JaasSecurityDomain,domain=Mail+SSL
                                     state: FAILED
                                     watch: file:/E:/JBossMailServer/versions/JBoss-4.0.3/server/default/deploy/mai
                                     l.ear/META-INF/application.xml
                                     altDD: null
                                     lastDeployed: 1147391576468
                                     lastModified: 1147390071359
                                     mbeans:
                                    
                                     --- 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
                                     jboss.mail:type=MailServices,name=POP3SSLProtocol
                                    
                                     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=SMTPSSLProtocol
                                     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=SMTPSSL
                                    
                                     ObjectName: jboss.mail:type=MailServices,name=SMTPSSL
                                     State: CONFIGURED
                                     I Depend On:
                                     jboss.mail:type=MailServices,name=SMTPSSLProtocol
                                    
                                     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=POP3SSLProtocol
                                     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=POP3SSL
                                    
                                     ObjectName: jboss.mail:type=MailServices,name=POP3SSL
                                     State: CONFIGURED
                                     I Depend On:
                                     jboss.mail:type=MailServices,name=POP3SSLProtocol
                                     jboss.security:service=JaasSecurityDomain,domain=Mail+SSL
                                    
                                     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
                                    
                                     ObjectName: jboss.mail:type=MailServices,name=SMTPSSLProtocol
                                     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=SMTPSSL
                                    
                                    
                                     16:52:57,640 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
                                     0
                                     16:52:57,859 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
                                     16:52:57,875 INFO [JkMain] Jk running ID=0 time=0/141 config=null
                                     16:52:57,875 INFO [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBos
                                     s_4_0_3_SP1 date=200601171717)] Started in 32s:454ms


                                    1 2 3 Previous Next