12 Replies Latest reply on Feb 3, 2009 6:30 AM by jaikiran pai

    javassist bytecode provider cannot be changed to cglib

    Matthew Marinovich Newbie

      Hi there,

      I've been trying to get JBoss AS 5 (5.0.0.GA) to use the cglib bytecode provider when deploying EJBs. In JBoss 4.2 I was able to force the use of cglib by changing the server\default\deploy\ejb3.deployer\META-INF\persistence.properties file thus:

      #hibernate.bytecode.provider=javassist
      hibernate.bytecode.provider=cglib

      Which worked quite nicely.

      In JBoss 5 the files have moved around a bit...so I've tried making a similar change to both \server\default\deployers\ejb3.deployer\META-INF\persistence.properties and \server\default\deployers\ejb3.deployer\META-INF\jpa-deployers-jboss-beans.xml. Swapping cglib for javassist in both of these files does nothing...when deploying/restarting I get this:

      17:33:37,625 INFO [Environment] Hibernate 3.3.1.GA
      17:33:37,656 INFO [Environment] hibernate.properties not found
      17:33:37,687 INFO [Environment] Bytecode provider name : javassist

      Similarly if I add a hibernate.properties file to my JAR the entries:

      hibernate.bytecode.provider=cglib
      hibernate.bytecode.use_reflection_optimizer=true (or false)

      ...are also ignored and the output looks like this:

      17:08:41,296 INFO [Environment] Hibernate 3.3.1.GA
      17:08:41,312 INFO [Environment] loaded properties from resource hibernate.properties: {hibernate.bytecode.use_reflection_optimizer=true, hibernate.bytecode.provider=cglib}
      17:08:41,312 INFO [Environment] using bytecode reflection optimizer
      17:08:41,312 INFO [Environment] Bytecode provider name : javassist

      Is there another way to force the use of cglib that I've not tried?

      Thanks,

      Matthew

        • 1. Re: javassist bytecode provider cannot be changed to cglib
          jaikiran pai Master

          Related to this https://jira.jboss.org/jira/browse/EJBTHREE-1597.

          Workaround - Change the following property in %JBOSS_HOME%/server/< serverName>/deployers/ejb3.deployer/META-INF/jpa-deployers-jboss-beans.xml:

           <entry>
           <key>hibernate.bytecode.provider</key>
           <value>javassist</value>
           </entry>


          to

          <entry>
           <key>hibernate.bytecode.provider</key>
           <value>cglib</value>
           </entry>


          • 2. Re: javassist bytecode provider cannot be changed to cglib
            Andrew Rubinger Master

             

            "Jaikiran" wrote:
            Related to this https://jira.jboss.org/jira/browse/EJBTHREE-1597


            Yep, the fix will be available in the upcoming AS 5.0.1 release.

            S,
            ALR

            • 3. Re: javassist bytecode provider cannot be changed to cglib
              Matthew Marinovich Newbie

              Hi there,

              Many thanks for the information.

              I've tried the work around described below i.e. amending the jpa-deployers-jboss-beans.xml file - however this didn't work for me. Javassist is still used.

              • 4. Re: javassist bytecode provider cannot be changed to cglib
                jaikiran pai Master

                More details please. Please post the changed file, its location, the command you use to start the server and the console output. Also please provide more details about your application. How is it packaged?

                While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.

                • 5. Re: javassist bytecode provider cannot be changed to cglib
                  Matthew Marinovich Newbie

                  Hi there,

                  Sorry for the lack of information...

                  Here's the file that I've amended (as per the workaround described):

                  <?xml version="1.0" encoding="UTF-8"?>
                  <deployment xmlns="urn:jboss:bean-deployer:2.0">
                   <bean name="DataSourceDependencyResolver" class="org.jboss.as.jpa.resolvers.JBossASDataSourceDependencyResolver"/>
                  
                   <bean name="JavaEEModuleInformer" class="org.jboss.as.javaee.SimpleJavaEEModuleInformer"/>
                  
                   <bean name="PersistenceUnitDependencyResolver" class="org.jboss.jpa.resolvers.DefaultPersistenceUnitDependencyResolver"/>
                  
                   <bean name="XPCResolver" class="org.jboss.ejb3.stateful.EJB3XPCResolver"/>
                  
                   <bean name="PersistenceParsingDeployer" class="org.jboss.jpa.deployers.PersistenceParsingDeployer"/>
                  
                   <bean name="PersistenceDeployer" class="org.jboss.jpa.deployers.PersistenceDeployer"/>
                   <bean name="PersistenceUnitDeployer" class="org.jboss.jpa.deployers.PersistenceUnitDeployer">
                   <property name="defaultPersistenceProperties">
                   <map keyClass="java.lang.String" valueClass="java.lang.String">
                   <entry>
                   <key>hibernate.transaction.manager_lookup_class</key>
                   <value>org.hibernate.transaction.JBossTransactionManagerLookup</value>
                   </entry>
                   <!--entry>
                   <key>hibernate.connection.release_mode</key>
                   <value>after_statement</value>
                   </entry-->
                   <!--entry>
                   <key>hibernate.transaction.flush_before_completion</key>
                   <value>false</value>
                   </entry-->
                   <!--entry>
                   <key>hibernate.transaction.auto_close_session</key>
                   <value>false</value>
                   </entry-->
                   <!--entry>
                   <key>hibernate.query.factory_class</key>
                   <value>org.hibernate.hql.ast.ASTQueryTranslatorFactory</value>
                   </entry-->
                   <!--entry>
                   <key>hibernate.hbm2ddl.auto</key>
                   <value>create-drop</value>
                   </entry-->
                   <entry>
                   <key>hibernate.cache.provider_class</key>
                   <value>org.hibernate.cache.HashtableCacheProvider</value>
                   </entry>
                   <!-- Clustered cache with JBoss Cache -->
                   <!--entry>
                   <key>hibernate.cache.region.factory_class</key>
                   <value>org.hibernate.cache.jbc2.JndiMultiplexedJBossCacheRegionFactory</value>
                   </entry>
                   <entry>
                   <key>hibernate.cache.region.jbc2.cachefactory</key>
                   <value>java:CacheManager</value>
                   </entry>
                   <entry>
                   <key>hibernate.cache.region.jbc2.cfg.entity</key>
                   <value>pessimistic-entity</value>
                   </entry>
                   <entry>
                   <key>hibernate.cache.region.jbc2.cfg.query</key>
                   <value>local-query</value>
                   </entry-->
                   <!--entry>
                   <key>hibernate.dialect</key>
                   <value>org.hibernate.dialect.HSQLDialect</value>
                   </entry-->
                   <entry>
                   <key>hibernate.jndi.java.naming.factory.initial</key>
                   <value>org.jnp.interfaces.NamingContextFactory</value>
                   </entry>
                   <entry>
                   <key>hibernate.jndi.java.naming.factory.url.pkgs</key>
                   <value>org.jboss.naming:org.jnp.interfaces</value>
                   </entry>
                   <entry>
                   <key>hibernate.bytecode.use_reflection_optimizer</key>
                   <value>false</value>
                   </entry>
                   <!-- I don't think this is honored, but EJB3Deployer uses it -->
                   <entry>
                   <key>hibernate.bytecode.provider</key>
                   <value>cglib</value>
                   </entry>
                   </map>
                   </property>
                   </bean>
                  </deployment>
                  


                  The relevant stanza is the bit at the end:

                  <!-- I don't think this is honored, but EJB3Deployer uses it -->

                  hibernate.bytecode.provider
                  cglib


                  I'm using the default server and I've been starting JBoss AS via myeclipse IDE (although I get the same result starting from the command line with run.bat).

                  My application is packaged as a JAR file containing a set of entity and session beans (EJB3). I'm using JPA annotations to define the entities and I'm not using a hibernate.properties file (although I did try setting the bytecode provide this way). The application uses a few additional JARs (unrelated to EJB3/hibernate) which I'm placing in the server/lib directory and I'm using the JARs in the JBoss client directory on my build path.

                  Here's the output I get when starting JBoss (it's long...):

                  10:08:58,609 INFO [ServerImpl] Starting JBoss (Microcontainer)...
                  10:08:58,609 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812042120)
                  10:08:58,609 INFO [ServerImpl] Bootstrap URL: null
                  10:08:58,609 INFO [ServerImpl] Home Dir: E:\JBoss\jboss-5.0.0.GA
                  10:08:58,609 INFO [ServerImpl] Home URL: file:/E:/JBoss/jboss-5.0.0.GA/
                  10:08:58,609 INFO [ServerImpl] Library URL: file:/E:/JBoss/jboss-5.0.0.GA/lib/
                  10:08:58,609 INFO [ServerImpl] Patch URL: null
                  10:08:58,609 INFO [ServerImpl] Common Base URL: file:/E:/JBoss/jboss-5.0.0.GA/common/
                  10:08:58,625 INFO [ServerImpl] Common Library URL: file:/E:/JBoss/jboss-5.0.0.GA/common/lib/
                  10:08:58,625 INFO [ServerImpl] Server Name: default
                  10:08:58,625 INFO [ServerImpl] Server Base Dir: E:\JBoss\jboss-5.0.0.GA\server
                  10:08:58,625 INFO [ServerImpl] Server Base URL: file:/E:/JBoss/jboss-5.0.0.GA/server/
                  10:08:58,625 INFO [ServerImpl] Server Config URL: file:/E:/JBoss/jboss-5.0.0.GA/server/default/conf/
                  10:08:58,625 INFO [ServerImpl] Server Home Dir: E:\JBoss\jboss-5.0.0.GA\server\default
                  10:08:58,625 INFO [ServerImpl] Server Home URL: file:/E:/JBoss/jboss-5.0.0.GA/server/default/
                  10:08:58,625 INFO [ServerImpl] Server Data Dir: E:\JBoss\jboss-5.0.0.GA\server\default\data
                  10:08:58,625 INFO [ServerImpl] Server Library URL: file:/E:/JBoss/jboss-5.0.0.GA/server/default/lib/
                  10:08:58,625 INFO [ServerImpl] Server Log Dir: E:\JBoss\jboss-5.0.0.GA\server\default\log
                  10:08:58,625 INFO [ServerImpl] Server Native Dir: E:\JBoss\jboss-5.0.0.GA\server\default\tmp\native
                  10:08:58,625 INFO [ServerImpl] Server Temp Dir: E:\JBoss\jboss-5.0.0.GA\server\default\tmp
                  10:08:58,625 INFO [ServerImpl] Server Temp Deploy Dir: E:\JBoss\jboss-5.0.0.GA\server\default\tmp\deploy
                  10:08:59,453 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/JBoss/jboss-5.0.0.GA/server/default/conf/bootstrap.xml
                  10:09:00,062 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.IterableTimedVFSCache]
                  10:09:00,093 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution=60}]
                  10:09:00,343 INFO [CopyMechanism] VFS temp dir: E:\JBoss\jboss-5.0.0.GA\server\default\tmp
                  10:09:00,343 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
                  10:09:01,328 INFO [ServerInfo] Java version: 1.6.0_10,Sun Microsystems Inc.
                  10:09:01,328 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 11.0-b15,Sun Microsystems Inc.
                  10:09:01,328 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
                  10:09:01,359 INFO [JMXKernel] Legacy JMX core initialized
                  10:09:02,796 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@54f169(root=E:\JBoss\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
                  10:09:02,812 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@54f169(root=E:\JBoss\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
                  10:09:02,812 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@a47cc3{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}
                  10:09:03,953 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
                  10:09:08,906 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
                  10:09:08,906 INFO [NativeServerConfig] 3.0.4.SP1
                  10:09:15,375 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@11315752{vfsfile:/E:/JBoss/jboss-5.0.0.GA/server/default/deploy/FlowHow4%20Service.jar/}
                  10:09:15,375 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@11315752{vfsfile:/E:/JBoss/jboss-5.0.0.GA/server/default/deploy/FlowHow4%20Service.jar/}
                  10:09:15,375 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@11315752{vfsfile:/E:/JBoss/jboss-5.0.0.GA/server/default/deploy/FlowHow4%20Service.jar/}
                  10:09:15,375 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@11315752{vfsfile:/E:/JBoss/jboss-5.0.0.GA/server/default/deploy/FlowHow4%20Service.jar/}
                  10:09:18,562 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
                  10:09:18,703 INFO [MailService] Mail Service bound to java:/Mail
                  10:09:20,281 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
                  10:09:20,312 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
                  10:09:20,484 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
                  10:09:20,484 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
                  10:09:20,734 INFO [TransactionManagerService] Initializing recovery manager
                  10:09:20,937 INFO [TransactionManagerService] Recovery manager configured
                  10:09:20,937 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
                  10:09:20,968 INFO [TransactionManagerService] Starting transaction recovery manager
                  10:09:21,953 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
                  10:09:21,953 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
                  10:09:21,953 INFO [StandardService] Starting service jboss.web
                  10:09:21,953 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.GA
                  10:09:22,031 INFO [Catalina] Server startup in 151 ms
                  10:09:22,046 INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
                  10:09:22,906 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war
                  10:09:22,953 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
                  10:09:23,125 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/JBoss/jboss-5.0.0.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
                  10:09:23,140 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/JBoss/jboss-5.0.0.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
                  10:09:23,156 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/JBoss/jboss-5.0.0.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
                  10:09:23,203 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/JBoss/jboss-5.0.0.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
                  10:09:23,234 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/JBoss/jboss-5.0.0.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
                  10:09:23,343 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
                  10:09:23,375 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
                  10:09:23,375 INFO [RAMJobStore] RAMJobStore initialized.
                  10:09:23,375 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
                  10:09:23,375 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
                  10:09:23,375 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
                  10:09:24,437 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
                  10:09:24,703 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
                  10:09:24,750 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
                  10:09:24,750 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
                  10:09:24,750 INFO [JobStoreCMT] Using db table-based data access locking (synchronization).
                  10:09:24,796 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s).
                  10:09:24,796 INFO [JobStoreCMT] Removed 0 Volatile Job(s).
                  10:09:24,796 INFO [JobStoreCMT] JobStoreCMT initialized.
                  10:09:24,796 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance.
                  10:09:24,812 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
                  10:09:24,812 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
                  10:09:24,812 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down.
                  10:09:24,812 INFO [JobStoreCMT] Recovery complete.
                  10:09:24,812 INFO [JobStoreCMT] Removed 0 'complete' triggers.
                  10:09:24,812 INFO [JobStoreCMT] Removed 0 stale fired job entries.
                  10:09:24,812 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
                  10:09:25,031 INFO [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started
                  10:09:25,125 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
                  10:09:25,125 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
                  10:09:25,187 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
                  10:09:25,187 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@7a00b started
                  10:09:25,203 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
                  10:09:25,203 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
                  10:09:25,203 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
                  10:09:25,203 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@786e17 started
                  10:09:25,203 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
                  10:09:25,203 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1f29905 started
                  10:09:25,328 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
                  10:09:25,343 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
                  10:09:25,406 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
                  10:09:26,687 INFO [JBossASKernel] Created KernelDeployment for: FlowHow4 Service.jar
                  10:09:26,703 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=FlowHow4 Service.jar,name=Importer,service=EJB3
                  10:09:26,703 INFO [JBossASKernel] with dependencies:
                  10:09:26,703 INFO [JBossASKernel] and demands:
                  10:09:26,703 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
                  10:09:26,703 INFO [JBossASKernel] persistence.unit:unitName=#FlowHow4PersistenceUnit
                  10:09:26,703 INFO [JBossASKernel] and supplies:
                  10:09:26,703 INFO [JBossASKernel] Class:za.co.bridgept.imports.ImporterRemote
                  10:09:26,703 INFO [JBossASKernel] jndi:Importer/remote
                  10:09:26,703 INFO [JBossASKernel] jndi:Importer/remote-za.co.bridgept.imports.ImporterRemote
                  10:09:26,703 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=FlowHow4 Service.jar,name=Importer,service=EJB3) to KernelDeployment of: FlowHow4 Service.jar
                  10:09:26,703 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=FlowHow4 Service.jar,name=ArisImportBean,service=EJB3
                  10:09:26,703 INFO [JBossASKernel] with dependencies:
                  10:09:26,703 INFO [JBossASKernel] and demands:
                  10:09:26,703 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
                  10:09:26,703 INFO [JBossASKernel] persistence.unit:unitName=#FlowHow4PersistenceUnit
                  10:09:26,703 INFO [JBossASKernel] and supplies:
                  10:09:26,703 INFO [JBossASKernel] Class:za.co.bridgept.persistence.session.ArisImportRemote
                  10:09:26,703 INFO [JBossASKernel] jndi:ArisImportBean/remote-za.co.bridgept.persistence.session.ArisImportRemote
                  10:09:26,703 INFO [JBossASKernel] jndi:ArisImportBean/remote
                  10:09:26,703 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=FlowHow4 Service.jar,name=ArisImportBean,service=EJB3) to KernelDeployment of: FlowHow4 Service.jar
                  10:09:26,703 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=FlowHow4 Service.jar,name=ContentManagerBean,service=EJB3
                  10:09:26,703 INFO [JBossASKernel] with dependencies:
                  10:09:26,703 INFO [JBossASKernel] and demands:
                  10:09:26,703 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
                  10:09:26,703 INFO [JBossASKernel] persistence.unit:unitName=#FlowHow4PersistenceUnit
                  10:09:26,703 INFO [JBossASKernel] and supplies:
                  10:09:26,703 INFO [JBossASKernel] Class:za.co.bridgept.persistence.session.ContentManagerRemote
                  10:09:26,703 INFO [JBossASKernel] jndi:ContentManagerBean/remote
                  10:09:26,703 INFO [JBossASKernel] jndi:ContentManagerBean/remote-za.co.bridgept.persistence.session.ContentManagerRemote
                  10:09:26,703 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=FlowHow4 Service.jar,name=ContentManagerBean,service=EJB3) to KernelDeployment of: FlowHow4 Service.jar
                  10:09:26,703 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=FlowHow4 Service.jar,name=FlowHowLegacyImporter,service=EJB3
                  10:09:26,703 INFO [JBossASKernel] with dependencies:
                  10:09:26,703 INFO [JBossASKernel] and demands:
                  10:09:26,703 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
                  10:09:26,703 INFO [JBossASKernel] persistence.unit:unitName=#FlowHow4PersistenceUnit
                  10:09:26,703 INFO [JBossASKernel] and supplies:
                  10:09:26,703 INFO [JBossASKernel] jndi:FlowHowLegacyImporter/remote-za.co.bridgept.persistence.session.FlowHowLegacyImporterRemote
                  10:09:26,703 INFO [JBossASKernel] Class:za.co.bridgept.persistence.session.FlowHowLegacyImporterRemote
                  10:09:26,703 INFO [JBossASKernel] jndi:FlowHowLegacyImporter/remote
                  10:09:26,703 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=FlowHow4 Service.jar,name=FlowHowLegacyImporter,service=EJB3) to KernelDeployment of: FlowHow4 Service.jar
                  10:09:26,703 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=FlowHow4 Service.jar,name=GenerateBean,service=EJB3
                  10:09:26,703 INFO [JBossASKernel] with dependencies:
                  10:09:26,703 INFO [JBossASKernel] and demands:
                  10:09:26,703 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
                  10:09:26,703 INFO [JBossASKernel] persistence.unit:unitName=#FlowHow4PersistenceUnit
                  10:09:26,703 INFO [JBossASKernel] and supplies:
                  10:09:26,703 INFO [JBossASKernel] Class:za.co.bridgept.persistence.session.GenerateRemote
                  10:09:26,703 INFO [JBossASKernel] jndi:GenerateBean/local
                  10:09:26,703 INFO [JBossASKernel] jndi:GenerateBean/remote-za.co.bridgept.persistence.session.GenerateRemote
                  10:09:26,703 INFO [JBossASKernel] jndi:GenerateBean/remote
                  10:09:26,703 INFO [JBossASKernel] jndi:GenerateBean/local-za.co.bridgept.persistence.session.GenerateLocal
                  10:09:26,703 INFO [JBossASKernel] Class:za.co.bridgept.persistence.session.GenerateLocal
                  10:09:26,703 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=FlowHow4 Service.jar,name=GenerateBean,service=EJB3) to KernelDeployment of: FlowHow4 Service.jar
                  10:09:26,703 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=FlowHow4 Service.jar,name=GenericAttributeBean,service=EJB3
                  10:09:26,703 INFO [JBossASKernel] with dependencies:
                  10:09:26,703 INFO [JBossASKernel] and demands:
                  10:09:26,703 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
                  10:09:26,703 INFO [JBossASKernel] persistence.unit:unitName=#FlowHow4PersistenceUnit
                  10:09:26,703 INFO [JBossASKernel] and supplies:
                  10:09:26,703 INFO [JBossASKernel] Class:za.co.bridgept.persistence.session.GenericAttributeRemote
                  10:09:26,703 INFO [JBossASKernel] jndi:GenericAttributeBean/remote
                  10:09:26,703 INFO [JBossASKernel] jndi:GenericAttributeBean/remote-za.co.bridgept.persistence.session.GenericAttributeRemote
                  10:09:26,703 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=FlowHow4 Service.jar,name=GenericAttributeBean,service=EJB3) to KernelDeployment of: FlowHow4 Service.jar
                  10:09:26,703 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=FlowHow4 Service.jar,name=MenuBean,service=EJB3
                  10:09:26,703 INFO [JBossASKernel] with dependencies:
                  10:09:26,703 INFO [JBossASKernel] and demands:
                  10:09:26,703 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
                  10:09:26,703 INFO [JBossASKernel] persistence.unit:unitName=#FlowHow4PersistenceUnit
                  10:09:26,703 INFO [JBossASKernel] and supplies:
                  10:09:26,703 INFO [JBossASKernel] jndi:MenuBean/remote
                  10:09:26,703 INFO [JBossASKernel] Class:za.co.bridgept.persistence.session.MenuBeanRemote
                  10:09:26,703 INFO [JBossASKernel] jndi:MenuBean/remote-za.co.bridgept.persistence.session.MenuBeanRemote
                  10:09:26,703 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=FlowHow4 Service.jar,name=MenuBean,service=EJB3) to KernelDeployment of: FlowHow4 Service.jar
                  10:09:26,703 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=FlowHow4 Service.jar,name=SessionManagerBean,service=EJB3
                  10:09:26,703 INFO [JBossASKernel] with dependencies:
                  10:09:26,703 INFO [JBossASKernel] and demands:
                  10:09:26,703 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
                  10:09:26,703 INFO [JBossASKernel] persistence.unit:unitName=#FlowHow4PersistenceUnit
                  10:09:26,703 INFO [JBossASKernel] and supplies:
                  10:09:26,703 INFO [JBossASKernel] jndi:SessionManagerBean/local
                  10:09:26,703 INFO [JBossASKernel] Class:za.co.bridgept.persistence.session.SessionManagerRemote
                  10:09:26,703 INFO [JBossASKernel] jndi:SessionManagerBean/remote-za.co.bridgept.persistence.session.SessionManagerRemote
                  10:09:26,703 INFO [JBossASKernel] jndi:SessionManagerBean/remote
                  10:09:26,703 INFO [JBossASKernel] jndi:SessionManagerBean/local-za.co.bridgept.persistence.session.SessionManagerLocal
                  10:09:26,703 INFO [JBossASKernel] Class:za.co.bridgept.persistence.session.SessionManagerLocal
                  10:09:26,703 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=FlowHow4 Service.jar,name=SessionManagerBean,service=EJB3) to KernelDeployment of: FlowHow4 Service.jar
                  10:09:26,703 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=FlowHow4 Service.jar,name=VisioImportBean,service=EJB3
                  10:09:26,703 INFO [JBossASKernel] with dependencies:
                  10:09:26,703 INFO [JBossASKernel] and demands:
                  10:09:26,703 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
                  10:09:26,703 INFO [JBossASKernel] persistence.unit:unitName=#FlowHow4PersistenceUnit
                  10:09:26,703 INFO [JBossASKernel] and supplies:
                  10:09:26,703 INFO [JBossASKernel] jndi:VisioImportBean/remote
                  10:09:26,703 INFO [JBossASKernel] jndi:VisioImportBean/remote-za.co.bridgept.persistence.session.VisioImportRemote
                  10:09:26,703 INFO [JBossASKernel] Class:za.co.bridgept.persistence.session.VisioImportRemote
                  10:09:26,703 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=FlowHow4 Service.jar,name=VisioImportBean,service=EJB3) to KernelDeployment of: FlowHow4 Service.jar
                  10:09:27,437 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=flowhow4DB' to JNDI name 'java:flowhow4DB'
                  10:09:27,437 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#FlowHow4PersistenceUnit
                  10:09:27,515 INFO [Version] Hibernate Annotations 3.4.0.GA
                  10:09:27,546 INFO [Environment] Hibernate 3.3.1.GA
                  10:09:27,546 INFO [Environment] hibernate.properties not found
                  10:09:27,546 INFO [Environment] Bytecode provider name : javassist
                  10:09:27,562 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
                  10:09:27,718 INFO [Version] Hibernate Commons Annotations 3.1.0.GA
                  10:09:27,718 INFO [Version] Hibernate EntityManager 3.4.0.GA
                  10:09:27,828 WARN [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
                  10:09:28,031 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.DefaultMenuItem
                  10:09:28,046 INFO [QueryBinder] Binding Named query: findParent => from DefaultMenuItem parent where ?1 in elements(parent.children)
                  10:09:28,046 INFO [QueryBinder] Binding Named query: getRootMenu => from DefaultMenuItem parent where topLevel = 'true' or (topLevel = 'false' and objectType = 'BluePrint' and project = ?1)
                  10:09:28,109 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.DefaultMenuItem on table MenuItem
                  10:09:28,265 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.DiagramUpload
                  10:09:28,296 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.ShowHowInteraction
                  10:09:28,296 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.ShowHowInteraction on table ShowHowInteraction
                  10:09:28,296 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.ShowHowKeyPress
                  10:09:28,296 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.GenericAttributeDescriptor
                  10:09:28,296 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.GenericAttributeDescriptor on table GenericAttributeDescriptor
                  10:09:28,296 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.CheckboxDescriptor
                  10:09:28,296 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.ShowHowInstruction
                  10:09:28,296 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.ShowHowInstruction on table ShowHowInstruction
                  10:09:28,312 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.ProjectSetup
                  10:09:28,312 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.Project
                  10:09:28,312 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.Project on table Project
                  10:09:28,312 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.PermissionProfile
                  10:09:28,312 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.PermissionProfile on table PermissionProfile
                  10:09:28,328 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.GraphItemAccessor
                  10:09:28,437 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.GraphItem
                  10:09:28,468 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.ResponsibilityColumn
                  10:09:28,468 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.CellChange
                  10:09:28,468 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.CellChange on table CellChange
                  10:09:28,468 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.ShowHowUpload
                  10:09:28,468 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.Content
                  10:09:28,468 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.Content on table Content
                  10:09:28,484 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.TextAreaDescriptor
                  10:09:28,484 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.BluePrint
                  10:09:28,484 INFO [QueryBinder] Binding Named query: getBluePrint => from BluePrint blueprint where project = ?1
                  10:09:28,484 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.GenericAttribute
                  10:09:28,484 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.GenericAttribute on table GenericAttribute
                  10:09:28,484 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.Home
                  10:09:28,484 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.ShowHowStep
                  10:09:28,484 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.ShowHowShowMe
                  10:09:28,484 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.ScreenShot
                  10:09:28,484 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.ScreenShot on table ScreenShot
                  10:09:28,484 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.ProjectRoleSetup
                  10:09:28,484 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.ShowHowSubStep
                  10:09:28,484 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.CellTemplate
                  10:09:28,484 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.CellTemplate on table CellTemplate
                  10:09:28,515 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.FieldAccess
                  10:09:28,515 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.FieldAccess on table FieldAccess
                  10:09:28,515 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.ShowHowSound
                  10:09:28,515 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.DrawingTemplate
                  10:09:28,515 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.UserSetup
                  10:09:28,515 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.WorkFlowSetup
                  10:09:28,515 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.AuditTrail
                  10:09:28,515 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.AuditTrail on table AuditTrail
                  10:09:28,515 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.Module
                  10:09:28,515 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.ShowHow
                  10:09:28,515 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.GenericFlowCell
                  10:09:28,515 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.GenericNameValue
                  10:09:28,515 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.GenericNameValue on table GenericNameValue
                  10:09:28,515 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.Geometry
                  10:09:28,515 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.Geometry on table Geometry
                  10:09:28,531 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.TextFieldDescriptor
                  10:09:28,531 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.AttributeSetup
                  10:09:28,531 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.Graph
                  10:09:28,531 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.Point
                  10:09:28,531 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.Point on table Point
                  10:09:28,531 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.CellField
                  10:09:28,531 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.CellField on table CellField
                  10:09:28,531 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.GraphPaper
                  10:09:28,531 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.GraphPaper on table GraphPaper
                  10:09:28,531 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.FlowContainer
                  10:09:28,531 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.ItemAttributes
                  10:09:28,531 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.ItemAttributes on table ItemAttributes
                  10:09:28,531 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.DiagramAttributes
                  10:09:28,531 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.DiagramAttributes on table DiagramAttributes
                  10:09:28,531 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.ShowHowTextEntry
                  10:09:28,546 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.Diagram
                  10:09:28,546 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.Setup
                  10:09:28,546 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.Permission
                  10:09:28,546 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.Permission on table Permission
                  10:09:28,546 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.Layer
                  10:09:28,546 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.Connector
                  10:09:28,546 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.ShowHowClick
                  10:09:28,546 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.Usr
                  10:09:28,546 INFO [QueryBinder] Binding Named query: getActiveUserByLogin => from Usr usr where usr.userName = ?1
                  10:09:28,546 INFO [QueryBinder] Binding Named query: authenticate => from Usr usr where usr.userName = ?1 and password = ?2
                  10:09:28,546 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.Usr on table usr
                  10:09:28,546 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.Link
                  10:09:28,562 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.Link on table Link
                  10:09:28,562 INFO [AnnotationBinder] Binding entity from annotated class: za.co.bridgept.persistence.model.GraphAttribute
                  10:09:28,562 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.GraphAttribute on table GraphAttribute
                  10:09:28,609 INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
                  10:09:28,625 INFO [CollectionBinder] Mapping collection: za.co.bridgept.persistence.model.DefaultMenuItem.auditTrail -> AuditTrail
                  10:09:28,640 INFO [Version] Hibernate Validator 3.1.0.GA
                  10:09:28,828 INFO [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
                  10:09:28,890 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
                  10:09:28,906 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
                  10:09:29,109 INFO [SettingsFactory] RDBMS: PostgreSQL, version: 8.2.4
                  10:09:29,109 INFO [SettingsFactory] JDBC driver: PostgreSQL Native Driver, version: PostgreSQL 8.2 JDBC2 Enterprise with NO SSL (build 505)
                  10:09:29,125 INFO [Dialect] Using dialect: org.hibernate.dialect.PostgreSQLDialect
                  10:09:29,125 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
                  10:09:29,125 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
                  10:09:29,140 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
                  10:09:29,140 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
                  10:09:29,140 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
                  10:09:29,140 INFO [SettingsFactory] JDBC batch size: 15
                  10:09:29,140 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
                  10:09:29,140 INFO [SettingsFactory] Scrollable result sets: enabled
                  10:09:29,140 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
                  10:09:29,140 INFO [SettingsFactory] Connection release mode: auto
                  10:09:29,140 INFO [SettingsFactory] Default batch fetch size: 1
                  10:09:29,140 INFO [SettingsFactory] Generate SQL with comments: disabled
                  10:09:29,140 INFO [SettingsFactory] Order SQL updates by primary key: disabled
                  10:09:29,140 INFO [SettingsFactory] Order SQL inserts for batching: disabled
                  10:09:29,140 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
                  10:09:29,156 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
                  10:09:29,156 INFO [SettingsFactory] Query language substitutions: {}
                  10:09:29,156 INFO [SettingsFactory] JPA-QL strict compliance: enabled
                  10:09:29,156 INFO [SettingsFactory] Second-level cache: enabled
                  10:09:29,156 INFO [SettingsFactory] Query cache: disabled
                  10:09:29,171 INFO [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
                  10:09:29,171 INFO [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
                  10:09:29,171 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
                  10:09:29,171 INFO [SettingsFactory] Cache region prefix: persistence.unit:unitName=#FlowHow4PersistenceUnit
                  10:09:29,171 INFO [SettingsFactory] Structured second-level cache entries: disabled
                  10:09:29,187 INFO [SettingsFactory] Statistics: disabled
                  10:09:29,187 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
                  10:09:29,187 INFO [SettingsFactory] Default entity-mode: pojo
                  10:09:29,187 INFO [SettingsFactory] Named query checking : enabled
                  10:09:29,312 INFO [SessionFactoryImpl] building session factory
                  10:09:30,296 ERROR [BasicLazyInitializer] Javassist Enhancement failed: za.co.bridgept.persistence.model.ResponsibilityColumn
                  java.lang.RuntimeException: duplicate method: remove in za.co.bridgept.persistence.model.ResponsibilityColumn_$$_javassist_8
                  at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:344)
                  at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314)
                  at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273)
                  at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:162)
                  at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:66)
                  at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:183)
                  at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:158)
                  at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:76)
                  at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.(EntityEntityModeToTuplizerMapping.java:80)
                  at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:325)
                  at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:457)
                  at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:131)
                  at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84)
                  at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:261)
                  at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
                  at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
                  at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
                  at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
                  at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:311)
                  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:597)
                  at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
                  at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
                  at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
                  at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
                  at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
                  at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
                  at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
                  at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
                  at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
                  at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
                  at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                  at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                  at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                  at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                  at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                  at org.jboss.system.ServiceController.start(ServiceController.java:460)
                  at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
                  at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                  at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                  at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                  at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                  at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
                  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
                  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
                  at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
                  at org.jboss.Main.boot(Main.java:209)
                  at org.jboss.Main$1.run(Main.java:547)
                  at java.lang.Thread.run(Thread.java:619)
                  Caused by: javassist.bytecode.DuplicateMemberException: duplicate method: remove in za.co.bridgept.persistence.model.ResponsibilityColumn_$$_javassist_8
                  at javassist.bytecode.ClassFile.testExistingMethod(ClassFile.java:593)
                  at javassist.bytecode.ClassFile.addMethod(ClassFile.java:577)
                  at javassist.util.proxy.ProxyFactory.override(ProxyFactory.java:658)
                  at javassist.util.proxy.ProxyFactory.overrideMethods(ProxyFactory.java:632)
                  at javassist.util.proxy.ProxyFactory.make(ProxyFactory.java:552)
                  at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:335)
                  ... 69 more
                  10:09:30,296 WARN [PojoEntityTuplizer] could not create proxy factory for:za.co.bridgept.persistence.model.ResponsibilityColumn
                  org.hibernate.HibernateException: Javassist Enhancement failed: za.co.bridgept.persistence.model.ResponsibilityColumn
                  at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:169)
                  at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:66)
                  at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:183)
                  at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:158)
                  at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:76)
                  at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.(EntityEntityModeToTuplizerMapping.java:80)
                  at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:325)
                  at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:457)
                  at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:131)
                  at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84)
                  at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:261)
                  at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
                  at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
                  at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
                  at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
                  at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:311)
                  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:597)
                  at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
                  at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
                  at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
                  at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
                  at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
                  at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
                  at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
                  at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
                  at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
                  at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
                  at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                  at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                  at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                  at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                  at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                  at org.jboss.system.ServiceController.start(ServiceController.java:460)
                  at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
                  at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                  at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                  at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                  at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                  at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
                  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
                  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
                  at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
                  at org.jboss.Main.boot(Main.java:209)
                  at org.jboss.Main$1.run(Main.java:547)
                  at java.lang.Thread.run(Thread.java:619)
                  Caused by: java.lang.RuntimeException: duplicate method: remove in za.co.bridgept.persistence.model.ResponsibilityColumn_$$_javassist_8
                  at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:344)
                  at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314)
                  at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273)
                  at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:162)
                  ... 66 more
                  Caused by: javassist.bytecode.DuplicateMemberException: duplicate method: remove in za.co.bridgept.persistence.model.ResponsibilityColumn_$$_javassist_8
                  at javassist.bytecode.ClassFile.testExistingMethod(ClassFile.java:593)
                  at javassist.bytecode.ClassFile.addMethod(ClassFile.java:577)
                  at javassist.util.proxy.ProxyFactory.override(ProxyFactory.java:658)
                  at javassist.util.proxy.ProxyFactory.overrideMethods(ProxyFactory.java:632)
                  at javassist.util.proxy.ProxyFactory.make(ProxyFactory.java:552)
                  at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:335)
                  ... 69 more
                  10:09:30,312 ERROR [BasicLazyInitializer] Javassist Enhancement failed: za.co.bridgept.persistence.model.GraphItem
                  java.lang.RuntimeException: duplicate method: remove in za.co.bridgept.persistence.model.GraphItem_$$_javassist_10
                  at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:344)
                  at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314)
                  at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273)
                  at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:162)
                  at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:66)
                  at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:183)
                  at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:158)
                  at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:76)
                  at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.(EntityEntityModeToTuplizerMapping.java:80)
                  at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:325)
                  at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:457)
                  at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:131)
                  at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84)
                  at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:261)
                  at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
                  at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
                  at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
                  at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
                  at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:311)
                  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:597)
                  at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
                  at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
                  at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
                  at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
                  at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
                  at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
                  at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
                  at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
                  at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
                  at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
                  at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                  at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                  at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                  at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                  at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                  at org.jboss.system.ServiceController.start(ServiceController.java:460)
                  at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
                  at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                  at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                  at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                  at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                  at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
                  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
                  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
                  at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
                  at org.jboss.Main.boot(Main.java:209)
                  at org.jboss.Main$1.run(Main.java:547)
                  at java.lang.Thread.run(Thread.java:619)
                  Caused by: javassist.bytecode.DuplicateMemberException: duplicate method: remove in za.co.bridgept.persistence.model.GraphItem_$$_javassist_10
                  at javassist.bytecode.ClassFile.testExistingMethod(ClassFile.java:593)
                  at javassist.bytecode.ClassFile.addMethod(ClassFile.java:577)
                  at javassist.util.proxy.ProxyFactory.override(ProxyFactory.java:658)
                  at javassist.util.proxy.ProxyFactory.overrideMethods(ProxyFactory.java:632)
                  at javassist.util.proxy.ProxyFactory.make(ProxyFactory.java:552)
                  at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:335)
                  ... 69 more
                  10:09:30,312 WARN [PojoEntityTuplizer] could not create proxy factory for:za.co.bridgept.persistence.model.GraphItem
                  org.hibernate.HibernateException: Javassist Enhancement failed: za.co.bridgept.persistence.model.GraphItem
                  at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:169)
                  at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:66)
                  at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:183)
                  at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:158)
                  at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:76)
                  at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.(EntityEntityModeToTuplizerMapping.java:80)
                  at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:325)
                  at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:457)
                  at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:131)
                  at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84)
                  at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:261)
                  at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
                  at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
                  at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
                  at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
                  at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:311)
                  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:597)
                  at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
                  at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
                  at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
                  at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
                  at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
                  at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
                  at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
                  at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
                  at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
                  at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
                  at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                  at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                  at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                  at org.jboss.dependency.plugins.AbstractControllerContext.install(A

                  • 6. Re: javassist bytecode provider cannot be changed to cglib
                    Matthew Marinovich Newbie

                    Looks like I exceeded the max length in my last post. Here's the rest of the listing:

                    Caused by: javassist.bytecode.DuplicateMemberException: duplicate method: remove in za.co.bridgept.persistence.model.Connector_$$_javassist_53
                    at javassist.bytecode.ClassFile.testExistingMethod(ClassFile.java:593)
                    at javassist.bytecode.ClassFile.addMethod(ClassFile.java:577)
                    at javassist.util.proxy.ProxyFactory.override(ProxyFactory.java:658)
                    at javassist.util.proxy.ProxyFactory.overrideMethods(ProxyFactory.java:632)
                    at javassist.util.proxy.ProxyFactory.make(ProxyFactory.java:552)
                    at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:335)
                    ... 69 more
                    10:09:30,984 INFO [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=#FlowHow4PersistenceUnit
                    10:09:30,984 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
                    10:09:31,000 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=#FlowHow4PersistenceUnit
                    10:09:31,000 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
                    10:09:31,109 INFO [SchemaExport] Running hbm2ddl schema export
                    10:09:31,125 INFO [SchemaExport] exporting generated schema to database
                    10:09:33,859 INFO [SchemaExport] schema export complete
                    10:09:33,937 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
                    10:09:34,859 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=FlowHow4 Service.jar,name=ArisImportBean,service=EJB3
                    10:09:34,875 INFO [EJBContainer] STARTED EJB: za.co.bridgept.persistence.session.ArisImportBean ejbName: ArisImportBean
                    10:09:34,937 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=FlowHow4 Service.jar,name=ContentManagerBean,service=EJB3
                    10:09:34,937 INFO [EJBContainer] STARTED EJB: za.co.bridgept.persistence.session.ContentManagerBean ejbName: ContentManagerBean
                    10:09:34,953 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=FlowHow4 Service.jar,name=FlowHowLegacyImporter,service=EJB3
                    10:09:34,953 INFO [EJBContainer] STARTED EJB: za.co.bridgept.persistence.session.FlowHowLegacyImporter ejbName: FlowHowLegacyImporter
                    10:09:34,968 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=FlowHow4 Service.jar,name=GenericAttributeBean,service=EJB3
                    10:09:34,968 INFO [EJBContainer] STARTED EJB: za.co.bridgept.persistence.session.GenericAttributeBean ejbName: GenericAttributeBean
                    10:09:34,984 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=FlowHow4 Service.jar,name=Importer,service=EJB3
                    10:09:34,984 INFO [EJBContainer] STARTED EJB: za.co.bridgept.imports.Importer ejbName: Importer
                    10:09:35,000 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=FlowHow4 Service.jar,name=GenerateBean,service=EJB3
                    10:09:35,000 INFO [EJBContainer] STARTED EJB: za.co.bridgept.persistence.session.GenerateBean ejbName: GenerateBean
                    10:09:35,015 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=FlowHow4 Service.jar,name=SessionManagerBean,service=EJB3
                    10:09:35,015 INFO [EJBContainer] STARTED EJB: za.co.bridgept.persistence.session.SessionManagerBean ejbName: SessionManagerBean
                    10:09:35,031 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=FlowHow4 Service.jar,name=VisioImportBean,service=EJB3
                    10:09:35,031 INFO [EJBContainer] STARTED EJB: za.co.bridgept.persistence.session.VisioImportBean ejbName: VisioImportBean
                    10:09:35,046 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=FlowHow4 Service.jar,name=MenuBean,service=EJB3
                    10:09:35,046 INFO [EJBContainer] STARTED EJB: za.co.bridgept.persistence.session.MenuBean ejbName: MenuBean
                    10:09:35,062 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

                    MenuBean/remote - EJB3.x Default Remote Business Interface
                    MenuBean/remote-za.co.bridgept.persistence.session.MenuBeanRemote - EJB3.x Remote Business Interface

                    10:09:35,109 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

                    VisioImportBean/remote - EJB3.x Default Remote Business Interface
                    VisioImportBean/remote-za.co.bridgept.persistence.session.VisioImportRemote - EJB3.x Remote Business Interface

                    10:09:35,140 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

                    SessionManagerBean/remote - EJB3.x Default Remote Business Interface
                    SessionManagerBean/remote-za.co.bridgept.persistence.session.SessionManagerRemote - EJB3.x Remote Business Interface
                    SessionManagerBean/local - EJB3.x Default Local Business Interface
                    SessionManagerBean/local-za.co.bridgept.persistence.session.SessionManagerLocal - EJB3.x Local Business Interface

                    10:09:35,156 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

                    GenerateBean/remote - EJB3.x Default Remote Business Interface
                    GenerateBean/remote-za.co.bridgept.persistence.session.GenerateRemote - EJB3.x Remote Business Interface
                    GenerateBean/local - EJB3.x Default Local Business Interface
                    GenerateBean/local-za.co.bridgept.persistence.session.GenerateLocal - EJB3.x Local Business Interface

                    10:09:35,171 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

                    Importer/remote - EJB3.x Default Remote Business Interface
                    Importer/remote-za.co.bridgept.imports.ImporterRemote - EJB3.x Remote Business Interface

                    10:09:35,171 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

                    GenericAttributeBean/remote - EJB3.x Default Remote Business Interface
                    GenericAttributeBean/remote-za.co.bridgept.persistence.session.GenericAttributeRemote - EJB3.x Remote Business Interface

                    10:09:35,187 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

                    FlowHowLegacyImporter/remote - EJB3.x Default Remote Business Interface
                    FlowHowLegacyImporter/remote-za.co.bridgept.persistence.session.FlowHowLegacyImporterRemote - EJB3.x Remote Business Interface

                    10:09:35,187 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

                    ContentManagerBean/remote - EJB3.x Default Remote Business Interface
                    ContentManagerBean/remote-za.co.bridgept.persistence.session.ContentManagerRemote - EJB3.x Remote Business Interface

                    10:09:35,187 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

                    ArisImportBean/remote - EJB3.x Default Remote Business Interface
                    ArisImportBean/remote-za.co.bridgept.persistence.session.ArisImportRemote - EJB3.x Remote Business Interface

                    10:09:35,250 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
                    10:09:35,265 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
                    10:09:35,265 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812042120)] Started in 36s:640ms

                    Please let me know if you need any further information.

                    Many thanks,

                    Matthew

                    • 7. Re: javassist bytecode provider cannot be changed to cglib
                      jaikiran pai Master

                       

                      "marinovm" wrote:


                      The relevant stanza is the bit at the end:

                      <!-- I don't think this is honored, but EJB3Deployer uses it -->
                       <entry>
                       <key>hibernate.bytecode.provider</key>
                       <value>cglib</value>
                       </entry>
                      



                      I hadn't noticed this comment in that file earlier. So setting that value here too may not work. Till the time the related JIRA is fixed in AS-5.0.1 GA, please do the following workaround:

                      1) Edit the run.bat (or run.conf for *nix Operating system) to pass the

                      -Dhibernate.bytecode.provider=cglib


                      property as part of the JAVA_OPTS.

                      That should get you going. I just tried this and could see this output on the console:
                      14:09:15,516 INFO [Environment] Hibernate 3.3.1.GA
                      14:09:15,522 INFO [Environment] hibernate.properties not found
                      14:09:15,528 INFO [Environment] Bytecode provider name : cglib
                      14:09:15,532 WARN [BytecodeProviderImpl] The CGLIB BytecodeProvider impl is considered deprecated and not recommended for use
                      





                      • 8. Re: javassist bytecode provider cannot be changed to cglib
                        Matthew Marinovich Newbie

                        Hi again,

                        Sorry - this didn't seem to work either. I changed run.bat and included the lines:

                        rem force the use of cglib as bytecode provider
                        set JAVA_OPTS=%JAVA_OPTS% -Dhibernate.bytecode.provider=cglib
                        


                        I also tried adding "-Dhibernate.bytecode.provider=cglib" to the JDK launch parameters used by my IDE...and setting this as an environment variable in windows i.e. JAVA_OPTS=-Dhibernate.bytecode.provider=cglib.

                        Looks like I may have to wait for 5.0.1. How can I get an idea of when this release will hit the streets?

                        Thanks,

                        Matthew

                        • 9. Re: javassist bytecode provider cannot be changed to cglib
                          Matthew Marinovich Newbie

                          ...further to my last post. It looks like the cglib parameter is being noticed somewhere as this appears in the server log:

                          2009-02-02 12:31:54,851 INFO [org.hibernate.impl.SessionFactoryImpl] (main) building session factory
                          2009-02-02 12:31:54,866 DEBUG [org.hibernate.impl.SessionFactoryImpl] (main) Session factory constructed with filter configurations : {}
                          2009-02-02 12:31:54,866 DEBUG [org.hibernate.impl.SessionFactoryImpl] (main) instantiating session factory with properties: {java.vendor=Sun Microsystems Inc., sun.java.launcher=SUN_STANDARD, sun.management.compiler=HotSpot Client Compiler, hibernate.ejb.discard_pc_on_close=false, hibernate.transaction.flush_before_completion=false, os.name=Windows XP, sun.boot.class.path=E:\JBoss\jboss-5.0.0.GA\lib\endorsed\activation.jar;E:\JBoss\jboss-5.0.0.GA\lib\endorsed\jaxb-api.jar;E:\JBoss\jboss-5.0.0.GA\lib\endorsed\jbossws-native-jaxrpc.jar;E:\JBoss\jboss-5.0.0.GA\lib\endorsed\jbossws-native-jaxws-ext.jar;E:\JBoss\jboss-5.0.0.GA\lib\endorsed\jbossws-native-jaxws.jar;E:\JBoss\jboss-5.0.0.GA\lib\endorsed\jbossws-native-saaj.jar;E:\JBoss\jboss-5.0.0.GA\lib\endorsed\resolver.jar;E:\JBoss\jboss-5.0.0.GA\lib\endorsed\serializer.jar;E:\JBoss\jboss-5.0.0.GA\lib\endorsed\stax-api.jar;E:\JBoss\jboss-5.0.0.GA\lib\endorsed\xalan.jar;E:\JBoss\jboss-5.0.0.GA\lib\endorsed\xercesImpl.jar;E:\Java\jdk1.6.0_11\jre\lib\resources.jar;E:\Java\jdk1.6.0_11\jre\lib\rt.jar;E:\Java\jdk1.6.0_11\jre\lib\sunrsasign.jar;E:\Java\jdk1.6.0_11\jre\lib\jsse.jar;E:\Java\jdk1.6.0_11\jre\lib\jce.jar;E:\Java\jdk1.6.0_11\jre\lib\charsets.jar;E:\Java\jdk1.6.0_11\jre\classes, sun.desktop=windows, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.6.0_11-b03, hibernate.connection.autocommit=true, org.apache.catalina.core.StandardHost.autoDeploy=false, hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider, user.name=Matthew Marinovich, jboss.remoting.version=22, jboss.bind.address=127.0.0.1, jboss.messaging.connector.bisocket.port=4457, tomcat.util.buf.StringCache.byte.enabled=true, hibernate.session_factory_name=persistence.unit:unitName=#FlowHow4PersistenceUnit, hibernate.connection.release_mode=auto, jboss.home.dir=E:\JBoss\jboss-5.0.0.GA, com.arjuna.common.util.logging.DebugLevel=0x00000000, user.language=en, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, sun.boot.library.path=E:\Java\jdk1.6.0_11\jre\bin, hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, com.arjuna.ats.jta.lastResourceOptimisationInterface=org.jboss.tm.LastResource, jboss.home.url=file:/E:/JBoss/jboss-5.0.0.GA/, java.version=1.6.0_11, user.timezone=Africa/Harare, jboss.server.home.dir=E:\JBoss\jboss-5.0.0.GA\server\default, org.apache.catalina.core.StandardHost.startChildren=false, hibernate.bytecode.provider=cglib, jgroups.bind_addr=127.0.0.1, sun.arch.data.model=32, org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true, java.endorsed.dirs=E:\JBoss\jboss-5.0.0.GA\lib\endorsed, jboss.server.home.url=file:/E:/JBoss/jboss-5.0.0.GA/server/default/, sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86, sun.jnu.encoding=Cp1252, file.encoding.pkg=sun.io, file.separator=\, java.specification.name=Java Platform API Specification, com.arjuna.ats.tsmx.agentimpl=com.arjuna.ats.internal.jbossatx.agent.LocalJBossAgentImpl, org.apache.catalina.connector.Request.SESSION_ID_CHECK=true, java.class.version=50.0, jboss.server.config.url=file:/E:/JBoss/jboss-5.0.0.GA/server/default/conf/, jboss.common.lib.url=file:/E:/JBoss/jboss-5.0.0.GA/common/lib/, user.country=ZA, java.home=E:\Java\jdk1.6.0_11\jre, java.vm.info=mixed mode, jboss.server.log.threshold=DEBUG, jboss.lib.url=file:/E:/JBoss/jboss-5.0.0.GA/lib/, os.version=5.1, hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true, hibernate.jacc.ctx.id=FlowHow4 Service.jar, hibernate.transaction.factory_class=org.hibernate.ejb.transaction.JoinableCMTTransactionFactory, hibernate.query.jpaql_strict_compliance=true, path.separator=;, java.vm.version=11.0-b16, user.variant=, java.protocol.handler.pkgs=org.jboss.net.protocol|org.jboss.virtual.protocol, java.awt.printerjob=sun.awt.windows.WPrinterJob, sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.windows.WToolkit, com.arjuna.common.util.logger=log4j_releveler, hibernate.cache.region_prefix=persistence.unit:unitName=#FlowHow4PersistenceUnit, jboss.server.temp.dir=E:\JBoss\jboss-5.0.0.GA\server\default\tmp, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, java.rmi.server.RMIClassLoaderSpi=org.jboss.system.JBossRMIClassLoader, user.home=C:\Documents and Settings\Matthew Marinovich, java.specification.vendor=Sun Microsystems Inc., hibernate.hbm2ddl.auto=create-drop, java.vendor.url=http://java.sun.com/, java.library.path=E:\Java\jdk1.6.0_11\bin, jboss.home=E:\JBoss\jboss-5.0.0.GA, jboss.common.base.url=file:/E:/JBoss/jboss-5.0.0.GA/common/, java.vm.vendor=Sun Microsystems Inc., java.runtime.name=Java(TM) SE Runtime Environment, java.class.path=E:\Java\jdk1.6.0_11/lib/tools.jar;E:\JBoss\jboss-5.0.0.GA/bin/run.jar, hibernate.bytecode.use_reflection_optimizer=false, org.apache.catalina.core.StandardHost.configClass=org.jboss.web.tomcat.service.deployers.JBossContextConfig, jboss.server.log.dir=E:\JBoss\jboss-5.0.0.GA\server\default\log, jbossmx.loader.repository.class=org.jboss.mx.loading.UnifiedLoaderRepository3, java.vm.specification.name=Java Virtual Machine Specification, java.vm.specification.version=1.0, catalina.home=E:\JBoss\jboss-5.0.0.GA\server\default, sun.os.patch.level=Service Pack 3, sun.cpu.endian=little, jboss.server.lib.url=file:/E:/JBoss/jboss-5.0.0.GA/server/default/lib/, com.arjuna.common.util.logging.VisibilityLevel=0xffffffff, hibernate.connection.provider_class=org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider, com.arjuna.ats.arjuna.objectstore.objectStoreDir=E:\JBoss\jboss-5.0.0.GA\server\default\data/tx-object-store, java.io.tmpdir=C:\DOCUME~1\MATTHE~1\LOCALS~1\Temp\, java.rmi.server.codebase=http://127.0.0.1:8083/, TSMX_VERSION=unknown, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, jboss.server.data.dir=E:\JBoss\jboss-5.0.0.GA\server\default\data, java.rmi.server.hostname=127.0.0.1, jboss.vfs.forceCopy=true, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, os.arch=x86, org.apache.catalina.core.StandardHost.deployXML=false, java.ext.dirs=E:\Java\jdk1.6.0_11\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext, user.dir=E:\JBoss\jboss-5.0.0.GA\bin, PROPERTIES_FILE=tsmx.properties, org.apache.catalina.core.StandardHost.deployOnStartup=false, line.separator=
                          , java.vm.name=Java HotSpot(TM) Client VM, jboss.server.base.dir=E:\JBoss\jboss-5.0.0.GA\server, org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger, com.arjuna.common.util.logging.FacilityLevel=0xffffffff, jboss.server.base.url=file:/E:/JBoss/jboss-5.0.0.GA/server/, javax.management.builder.initial=org.jboss.mx.server.MBeanServerBuilderImpl, file.encoding=Cp1252, org.apache.catalina.core.StandardService.DELAY_CONNECTOR_STARTUP=true, hibernate.use_identifier_rollback=false, catalina.ext.dirs=E:\JBoss\jboss-5.0.0.GA\server\default\lib, hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, java.specification.version=1.6, jboss.server.name=default}

                          But I still get the following error so it looks like Javassist is actually being used despite the parameter setting...

                          2009-02-02 12:31:55,835 ERROR [org.hibernate.proxy.pojo.BasicLazyInitializer] (main) Javassist Enhancement failed: za.co.bridgept.persistence.model.ResponsibilityColumn
                          java.lang.RuntimeException: duplicate method: remove in za.co.bridgept.persistence.model.ResponsibilityColumn_$$_javassist_8
                          at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:344)
                          at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314)
                          at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273)
                          at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:162)
                          at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:66)
                          at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:183)
                          at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:158)
                          at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:76)
                          at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.(EntityEntityModeToTuplizerMapping.java:80)
                          at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:325)
                          at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:457)
                          at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:131)
                          at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84)
                          at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:261)
                          at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
                          at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
                          at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
                          at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
                          at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:311)
                          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:597)
                          at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
                          at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
                          at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
                          at

                          Regards,

                          Matthew

                          • 10. Re: javassist bytecode provider cannot be changed to cglib
                            jaikiran pai Master

                            When i add that property to my JVM and start the server and deploy a sample application, this is what i see on console:

                            =========================================================================
                            
                             JBoss Bootstrap Environment
                            
                             JBOSS_HOME: /opt/jpai/jboss-5.0.0.GA
                            
                             JAVA: /home/jpai/Java/JDK-1.5/jdk1.5.0_17/bin/java
                            
                             JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dhibernate.bytecode.provider=cglib -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Djava.net.preferIPv4Stack=true
                            .....
                            .....
                            
                            22:32:43,505 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@22758198{vfszip:/opt/jpai/jboss-5.0.0.GA/server/default/deploy/jboss-ejb3-tutorial-entity.jar}
                            22:32:43,505 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@22758198{vfszip:/opt/jpai/jboss-5.0.0.GA/server/default/deploy/jboss-ejb3-tutorial-entity.jar}
                            22:32:43,717 INFO [JBossASKernel] Created KernelDeployment for: jboss-ejb3-tutorial-entity.jar
                            22:32:43,717 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=jboss-ejb3-tutorial-entity.jar,name=ShoppingCartBean,service=EJB3
                            22:32:43,717 INFO [JBossASKernel] with dependencies:
                            22:32:43,717 INFO [JBossASKernel] and demands:
                            22:32:43,717 INFO [JBossASKernel] persistence.unit:unitName=#tempdb
                            22:32:43,717 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
                            22:32:43,717 INFO [JBossASKernel] and supplies:
                            22:32:43,717 INFO [JBossASKernel] jndi:ShoppingCartBean/remote
                            22:32:43,717 INFO [JBossASKernel] Class:org.jboss.tutorial.entity.bean.ShoppingCart
                            22:32:43,717 INFO [JBossASKernel] jndi:ShoppingCartBean/remote-org.jboss.tutorial.entity.bean.ShoppingCart
                            22:32:43,717 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=jboss-ejb3-tutorial-entity.jar,name=ShoppingCartBean,service=EJB3) to KernelDeployment of: jboss-ejb3-tutorial-entity.jar
                            22:32:43,772 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#tempdb
                            22:32:43,850 INFO [Version] Hibernate Annotations 3.4.0.GA
                            22:32:43,874 INFO [Environment] Hibernate 3.3.1.GA
                            22:32:43,880 INFO [Environment] hibernate.properties not found
                            22:32:43,887 INFO [Environment] Bytecode provider name : cglib
                            22:32:43,892 WARN [BytecodeProviderImpl] The CGLIB BytecodeProvider impl is considered deprecated and not recommended for use
                            22:32:43,892 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
                            22:32:44,038 INFO [Version] Hibernate Commons Annotations 3.1.0.GA
                            22:32:44,045 INFO [Version] Hibernate EntityManager 3.4.0.GA
                            


                            Please post similar logs from your system. That will give us an idea what might be wrong.

                            And while posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.

                            • 11. Re: javassist bytecode provider cannot be changed to cglib
                              Matthew Marinovich Newbie

                              Hi there,

                              One thing: I'm running the jdk6 build and I'm running on windows XP - I noticed you're running on jdk5 and *nix. I guess this could make a difference somewhere along the line.

                              Anyways...here is the output at startup:

                              E:\JBoss\jboss-5.0.0.GA\bin>run.bat
                              ===============================================================================
                              
                               JBoss Bootstrap Environment
                              
                               JBOSS_HOME: E:\JBoss\jboss-5.0.0.GA
                              
                               JAVA: E:\Java\jdk1.6.0_11\bin\java
                              
                               JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=25
                              6m -Dhibernate.bytecode.provider=cglib -Dorg.jboss.resolver.warning=true -Dsun.r
                              mi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
                              
                               CLASSPATH: E:\JBoss\jboss-5.0.0.GA\bin\run.jar
                              
                              ===============================================================================
                              
                              08:53:13,046 INFO [ServerImpl] Starting JBoss (Microcontainer)...
                              08:53:13,046 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SV
                              NTag=JBoss_5_0_0_GA date=200812042120)
                              08:53:13,062 INFO [ServerImpl] Bootstrap URL: null
                              08:53:13,062 INFO [ServerImpl] Home Dir: E:\JBoss\jboss-5.0.0.GA
                              08:53:13,062 INFO [ServerImpl] Home URL: file:/E:/JBoss/jboss-5.0.0.GA/
                              08:53:13,062 INFO [ServerImpl] Library URL: file:/E:/JBoss/jboss-5.0.0.GA/lib/
                              08:53:13,062 INFO [ServerImpl] Patch URL: null
                              08:53:13,062 INFO [ServerImpl] Common Base URL: file:/E:/JBoss/jboss-5.0.0.GA/c
                              ommon/
                              08:53:13,062 INFO [ServerImpl] Common Library URL: file:/E:/JBoss/jboss-5.0.0.G
                              A/common/lib/
                              08:53:13,062 INFO [ServerImpl] Server Name: default
                              08:53:13,062 INFO [ServerImpl] Server Base Dir: E:\JBoss\jboss-5.0.0.GA\server
                              08:53:13,062 INFO [ServerImpl] Server Base URL: file:/E:/JBoss/jboss-5.0.0.GA/s
                              erver/
                              08:53:13,062 INFO [ServerImpl] Server Config URL: file:/E:/JBoss/jboss-5.0.0.GA
                              /server/default/conf/
                              08:53:13,062 INFO [ServerImpl] Server Home Dir: E:\JBoss\jboss-5.0.0.GA\server\
                              default
                              08:53:13,078 INFO [ServerImpl] Server Home URL: file:/E:/JBoss/jboss-5.0.0.GA/s
                              erver/default/
                              08:53:13,078 INFO [ServerImpl] Server Data Dir: E:\JBoss\jboss-5.0.0.GA\server\
                              default\data
                              08:53:13,078 INFO [ServerImpl] Server Library URL: file:/E:/JBoss/jboss-5.0.0.G
                              A/server/default/lib/
                              08:53:13,078 INFO [ServerImpl] Server Log Dir: E:\JBoss\jboss-5.0.0.GA\server\d
                              efault\log
                              08:53:13,078 INFO [ServerImpl] Server Native Dir: E:\JBoss\jboss-5.0.0.GA\serve
                              r\default\tmp\native
                              08:53:13,078 INFO [ServerImpl] Server Temp Dir: E:\JBoss\jboss-5.0.0.GA\server\
                              default\tmp
                              08:53:13,078 INFO [ServerImpl] Server Temp Deploy Dir: E:\JBoss\jboss-5.0.0.GA\
                              server\default\tmp\deploy
                              08:53:13,625 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/J
                              Boss/jboss-5.0.0.GA/server/default/conf/bootstrap.xml
                              08:53:14,093 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.pl
                              ugins.cache.IterableTimedVFSCache]
                              08:53:14,109 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifet
                              ime=1800, resolution=60}]
                              08:53:14,390 INFO [CopyMechanism] VFS temp dir: E:\JBoss\jboss-5.0.0.GA\server\
                              default\tmp


                              I've missed out a bit here for the sake of brevity - if there is something crucial I've edited let me know...

                              08:53:46,046 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
                              oss.jca:service=DataSourceBinding,name=flowhow4DB' to JNDI name 'java:flowhow4DB
                              '
                              08:53:46,046 INFO [PersistenceUnitDeployment] Starting persistence unit persist
                              ence.unit:unitName=#FlowHow4PersistenceUnit
                              08:53:46,125 INFO [Version] Hibernate Annotations 3.4.0.GA
                              08:53:46,156 INFO [Environment] Hibernate 3.3.1.GA
                              08:53:46,156 INFO [Environment] hibernate.properties not found
                              08:53:46,171 INFO [Environment] Bytecode provider name : javassist
                              08:53:46,171 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
                              08:53:46,312 INFO [Version] Hibernate Commons Annotations 3.1.0.GA
                              08:53:46,328 INFO [Version] Hibernate EntityManager 3.4.0.GA
                              08:53:46,453 WARN [Ejb3Configuration] Persistence provider caller does not impl
                              ement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is nu
                              ll.
                              08:53:46,625 INFO [AnnotationBinder] Binding entity from annotated class: za.co
                              .bridgept.persistence.model.DefaultMenuItem
                              08:53:46,640 INFO [QueryBinder] Binding Named query: findParent => from Default
                              MenuItem parent where ?1 in elements(parent.children)
                              08:53:46,640 INFO [QueryBinder] Binding Named query: getRootMenu => from Defaul
                              tMenuItem parent where topLevel = 'true' or (topLevel = 'false' and objectType =
                               'BluePrint' and project = ?1)
                              08:53:46,718 INFO [EntityBinder] Bind entity za.co.bridgept.persistence.model.D
                              efaultMenuItem on table MenuItem
                              08:53:46,890 INFO [AnnotationBinder] Binding entity from annotated class: za.co
                              .bridgept.persistence.model.DiagramUpload


                              ...missing out a bit more...I get errors in the deployment from Javassist...

                              08:53:48,218 INFO [SettingsFactory] Default entity-mode: pojo
                              08:53:48,218 INFO [SettingsFactory] Named query checking : enabled
                              08:53:48,343 INFO [SessionFactoryImpl] building session factory
                              08:53:48,671 ERROR [BasicLazyInitializer] Javassist Enhancement failed: za.co.br
                              idgept.persistence.model.ResponsibilityColumn
                              java.lang.RuntimeException: duplicate method: remove in za.co.bridgept.persisten
                              ce.model.ResponsibilityColumn_$$_javassist_8
                               at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:344)
                              
                               at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314)
                              
                               at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273)
                               at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyF
                              actory(JavassistLazyInitializer.java:162)
                               at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstanti
                              ate(JavassistProxyFactory.java:66)
                               at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoE
                              ntityTuplizer.java:183)
                               at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEnti
                              tyTuplizer.java:158)
                               at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTupliz
                              er.java:76)
                               at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(E
                              ntityEntityModeToTuplizerMapping.java:80)
                               at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.jav
                              a:325)
                               at org.hibernate.persister.entity.AbstractEntityPersister.<init>(Abstrac
                              tEntityPersister.java:457)
                               at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(Sing
                              leTableEntityPersister.java:131)
                               at org.hibernate.persister.PersisterFactory.createClassPersister(Persist
                              erFactory.java:84)
                               at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:
                              261)
                               at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav
                              a:1327)
                               at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(Annotat
                              ionConfiguration.java:867)
                               at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Con
                              figuration.java:669)
                               at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFa
                              ctory(HibernatePersistence.java:132)
                               at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceU
                              nitDeployment.java:311)
                               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                              java:39)
                               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                              sorImpl.java:25)
                               at java.lang.reflect.Method.invoke(Method.java:597)
                               at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(Reflec
                              tionUtils.java:59)
                               at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(
                              ReflectMethodInfoImpl.java:150)
                               at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethod
                              JoinPoint.java:66)
                               at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$Joi
                              npointDispatchWrapper.execute(KernelControllerContextAction.java:241)
                               at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(Executio
                              nWrapper.java:47)
                               at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dis
                              patchExecutionWrapper(KernelControllerContextAction.java:109)
                               at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dis
                              patchJoinPoint(KernelControllerContextAction.java:70)
                               at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInte
                              rnal(LifecycleAction.java:221)
                               at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction
                              (InstallsAwareAction.java:54)
                               at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction
                              (InstallsAwareAction.java:42)
                               at org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim
                              pleInstallAction(SimpleControllerContextAction.java:62)
                               at org.jboss.dependency.plugins.action.AccessControllerContextAction.ins
                              tall(AccessControllerContextAction.java:71)
                               at org.jboss.dependency.plugins.AbstractControllerContextActions.install
                              (AbstractControllerContextActions.java:51)
                               at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
                              ctControllerContext.java:348)
                               at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
                              oller.java:1598)
                               at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
                              ctController.java:934)
                               at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
                              actController.java:1062)
                               at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
                              actController.java:984)
                               at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
                              ller.java:822)
                               at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
                              ller.java:553)
                               at org.jboss.system.ServiceController.doChange(ServiceController.java:68
                              8)
                               at org.jboss.system.ServiceController.start(ServiceController.java:460)
                               at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java
                              :146)
                               at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
                              a:104)
                               at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
                              a:45)
                               at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.i
                              nternalDeploy(AbstractSimpleRealDeployer.java:62)
                               at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
                              AbstractRealDeployer.java:50)
                               at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
                              Wrapper.java:171)
                               at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer
                              sImpl.java:1439)
                               at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
                              rst(DeployersImpl.java:1157)
                               at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
                              rst(DeployersImpl.java:1178)
                               at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
                              Impl.java:1098)
                               at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
                              ctControllerContext.java:348)
                               at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
                              oller.java:1598)
                               at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
                              ctController.java:934)
                               at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
                              actController.java:1062)
                               at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
                              actController.java:984)
                               at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
                              ller.java:822)
                               at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
                              ller.java:553)
                               at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
                              Impl.java:781)
                               at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
                              rImpl.java:545)
                               at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr
                              ofile(ProfileServiceBootstrap.java:304)
                               at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
                              ProfileServiceBootstrap.java:205)
                               at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
                              405)
                               at org.jboss.Main.boot(Main.java:209)
                               at org.jboss.Main$1.run(Main.java:547)
                               at java.lang.Thread.run(Thread.java:619)
                              Caused by: javassist.bytecode.DuplicateMemberException: duplicate method: remove
                               in za.co.bridgept.persistence.model.ResponsibilityColumn_$$_javassist_8
                               at javassist.bytecode.ClassFile.testExistingMethod(ClassFile.java:593)
                               at javassist.bytecode.ClassFile.addMethod(ClassFile.java:577)
                               at javassist.util.proxy.ProxyFactory.override(ProxyFactory.java:658)
                               at javassist.util.proxy.ProxyFactory.overrideMethods(ProxyFactory.java:6
                              32)
                               at javassist.util.proxy.ProxyFactory.make(ProxyFactory.java:552)
                               at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:335)
                              
                               ... 69 more


                              If you need more please let me know.

                              Many thanks,

                              Matthew

                              • 12. Re: javassist bytecode provider cannot be changed to cglib
                                jaikiran pai Master

                                 

                                08:53:46,171 INFO [Environment] Bytecode provider name : javassist


                                That's strange. Even after you provided the property as cglib through system property, it looks like its picking javaassist from some place else. Let me see if i can reproduce it.