Caching in hibernate

hi to everyone
How to implement caching in hibernate in development.
please give any one, with detailed description.
sham

Indeed. But for the most part the advice to beginners amounts to "turn it on" and that's well documented in the basic manual at hibernate.org in my opinion.
If the OP had a specific question I'd be sympathetic...
Oh well, it's raining; maybe I'm just in a grumpy mood.

Similar Messages

  • Problem in getting the data from a cache in hibernate

    I am storing data inside a cache. When i am geeting the data from a cache its showing null.
    How can i retrieve the data from a cache.
    I am using EHCache

    Hi ,
    You have done one mistake while setting the input parameters for BAPI..Do the following steps for setting input to BAPI
    Bapi_Goodsmvt_Getitems_Input input = new Bapi_Goodsmvt_Getitems_Input();
    wdContext.nodeBapi_Goodsmvt_Getitems_Input().bind(input);
    Bapi2017_Gm_Material_Ra input1 = new Bapi2017_Gm_Material_Ra();
    wdContext.nodeBapi2017_Gm_Material_Ra().bind(input1);
    Bapi2017_Gm_Move_Type_Ra input2 = new Bapi2017_Gm_Move_Type_Ra();
    wdContext.nodeBapi2017_Gm_Move_Type_Ra().bind(input2);
    Bapi2017_Gm_Plant_Ra input3 = new Bapi2017_Gm_Plant_Ra();
    wdContext.nodeBapi2017_Gm_Plant_Ra().bind(input3);
    Bapi2017_Gm_Spec_Stock_Ra input4 = new Bapi2017_Gm_Spec_Stock_Ra();
    wdContext.nodeBapi2017_Gm_Spec_Stock_Ra().bind(input4);
    input1.setSign("I");
    input1.setOption("EQ");
    input1.setLow("1857");
    input2.setSign("I");
    input2.setOption("EQ");
    input2.setLow("M110");
    input3.setSign("I");
    input3.setOption("EQ");
    input3.setLow("309");
    input4.setSign("I");
    input4.setOption("EQ");
    input4.setLow("W");
    wdThis.wdGetWdsdgoodsmvmtcustController().execute_BAPI_GOODSMOVEMENT_GETITEMS();
    Finally inavidate your output node like
    wdContext.node<output node name>.invalidate();
    also put your code inside try catch to display any exception if any
    Regards,
    Amit Bagati

  • Hibernate's dual-layer cach and TopLink's caching strategy

    Dear members,
    I understand that caching between hibernate and toplink is implemented (or utilized) differently. Hibernate seems to have 'dual-layer caching' (which may imply they have two layers of cache) whereas TopLink has session cache and shared cache. The way I see it, they seem to be aiming for the same thing. Are there any differences between (obviously there are, only that I do not know them) those two caching architectures, and how different are they?
    Howard

    Yes there are differences :) For details check out
    TopLink vs Hibernate... revisited... again :)
    and
    Indirection - how are references resolved after session has been closed?

  • Unable to read one-to-many relations using Hibernate

    Hi,
    I am trying with a very simple one-to-many relationship. When I am storing the objects, there are no problems. But when I am trying to read out the collection, it says invalid descriptor index. Please help.
    Regards,
    Hibernate version:
    hibernate-3.1rc2
    Mapping documents:
    <?xml version="1.0"?>
    <!DOCTYPE hibernate-mapping PUBLIC
    "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
    <hibernate-mapping>
         <class name="Parent">
              <id name="id">
                   <generator class="identity"/>
              </id>
              <set name="children">
                   <key column="parent_id"/>
                   <one-to-many class="Child"/>
              </set>
         </class>
         <class name="Child">
              <id name="id">
                   <generator class="identity"/>
              </id>
              <property name="name"/>
         </class>
    </hibernate-mapping>
    Code between sessionFactory.openSession() and session.close():
    The Parent class:
    public class Parent
         private Long id ;     
         private Set children;
         Parent(){}
         public Long getId()
              return id;
         public void setId(Long id)
              this.id=id;
         public Set getChildren()
              return children;
         public void setChildren(Set children)
              this.children=children;
    The Child class:
    public class Child
         private Long id;
         private String name;
         Child(){}
         public Long getId()
              return id;
         private void setId(Long id)
              this.id=id;
         public String getName()
              return name;
         public void setName(String name)
              this.name=name;
    The Main class:
    public class PCManager
         public static void main(String[] args)
              PCManager mgr = new PCManager();
              List lt = null;
              if (args[0].equals("store"))
                   mgr.createAndStoreParent(new HashSet(3));
              else if (args[0].equals("list"))
                   mgr.listEvents();
              HibernateUtil.getSessionFactory().close();
         private void createAndStoreParent(HashSet s)
              HibernateUtil.getSessionFactory().getCurrentSession().beginTransaction();
              Parent p1 = new Parent();
              int size = 3;
              for (int i=size; i>0; i--)
                   Child c = new Child();
                   c.setName("Child"+i);
                   s.add(c);
              p1.setChildren (s);
              Iterator elems = s.iterator();
              do {     
                   Child ch = (Child) elems.next();
                   HibernateUtil.getSessionFactory().getCurrentSession().save(ch);
              }while(elems.hasNext());
              HibernateUtil.getSessionFactory().getCurrentSession().save(p1);
              HibernateUtil.getSessionFactory().getCurrentSession().getTransaction().commit();
         private void listEvents()
              HibernateUtil.getSessionFactory().getCurrentSession().beginTransaction();
              Parent result = (Parent) HibernateUtil.getSessionFactory().getCurrentSession().load(Parent.class, new Long(1));
              System.out.println("Id is :"+ result.getId());
              Set children = result.getChildren();
              Iterator elems = children.iterator();
              do {     
                   Child ch = (Child) elems.next();
                   System.out.println("Child Name"+ ch.getName());
              }while(elems.hasNext());
              HibernateUtil.getSessionFactory().getCurrentSession().getTransaction().commit();          
    Full stack trace of any exception that occurs:
    When I run with "hbm2ddl.auto" property as validate and trying to list the contents, I get the following out put.
    C:\Documents and Settings\mirza\Desktop\hibernate-3.1rc2\MyHibernate>ant run -Da
    ction=list
    Buildfile: build.xml
    clean:
    [delete] Deleting directory C:\Documents and Settings\mirza\Desktop\hibernate
    -3.1rc2\MyHibernate\bin
    [mkdir] Created dir: C:\Documents and Settings\mirza\Desktop\hibernate-3.1rc
    2\MyHibernate\bin
    copy-resources:
    [copy] Copying 4 files to C:\Documents and Settings\mirza\Desktop\hibernate
    -3.1rc2\MyHibernate\bin
    compile:
    [javac] Compiling 5 source files to C:\Documents and Settings\mirza\Desktop\
    hibernate-3.1rc2\MyHibernate\bin
    run:
    [java] 09:09:23,433 INFO Environment:474 - Hibernate 3.1 rc2
    [java] 09:09:23,449 INFO Environment:489 - loaded properties from resource
    hibernate.properties: {hibernate.cglib.use_reflection_optimizer=true, hibernate
    .cache.provider_class=org.hibernate.cache.HashtableCacheProvider, hibernate.dial
    ect=org.hibernate.dialect.SQLServerDialect, hibernate.max_fetch_depth=1, hiberna
    te.jdbc.use_streams_for_binary=true, hibernate.format_sql=true, hibernate.query.
    substitutions=yes 'Y', no 'N', hibernate.proxool.pool_alias=pool1, hibernate.cac
    he.region_prefix=hibernate.test, hibernate.jdbc.batch_versioned_data=true, hiber
    nate.connection.pool_size=1}
    [java] 09:09:23,465 INFO Environment:519 - using java.io streams to persis
    t binary types
    [java] 09:09:23,465 INFO Environment:520 - using CGLIB reflection optimize
    r
    [java] 09:09:23,481 INFO Environment:550 - using JDK 1.4 java.sql.Timestam
    p handling
    [java] 09:09:23,559 INFO Configuration:1257 - configuring from resource: /
    hibernate.cfg.xml
    [java] 09:09:23,559 INFO Configuration:1234 - Configuration resource: /hib
    ernate.cfg.xml
    [java] 09:09:23,872 INFO Configuration:460 - Reading mappings from resourc
    e: PCMapping.hbm.xml
    [java] 09:09:24,013 INFO HbmBinder:266 - Mapping class: Parent -> Parent
    [java] 09:09:24,045 INFO HbmBinder:266 - Mapping class: Child -> Child
    [java] 09:09:24,045 INFO Configuration:1368 - Configured SessionFactory: n
    ull
    [java] 09:09:24,061 INFO Configuration:1014 - processing extends queue
    [java] 09:09:24,061 INFO Configuration:1018 - processing collection mappin
    gs
    [java] 09:09:24,061 INFO HbmBinder:2233 - Mapping collection: Parent.child
    ren -> Child
    [java] 09:09:24,076 INFO Configuration:1027 - processing association prope
    rty references
    [java] 09:09:24,076 INFO Configuration:1049 - processing foreign key const
    raints
    [java] 09:09:24,155 INFO DriverManagerConnectionProvider:41 - Using Hibern
    ate built-in connection pool (not for production use!)
    [java] 09:09:24,170 INFO DriverManagerConnectionProvider:42 - Hibernate co
    nnection pool size: 1
    [java] 09:09:24,170 INFO DriverManagerConnectionProvider:45 - autocommit m
    ode: false
    [java] 09:09:24,170 INFO DriverManagerConnectionProvider:80 - using driver
    : sun.jdbc.odbc.JdbcOdbcDriver at URL: jdbc:odbc:MySQL
    [java] 09:09:24,170 INFO DriverManagerConnectionProvider:86 - connection p
    roperties: {}
    [java] 09:09:24,264 INFO SettingsFactory:77 - RDBMS: Microsoft SQL Server,
    version: 08.00.0194
    [java] 09:09:24,264 INFO SettingsFactory:78 - JDBC driver: JDBC-ODBC Bridg
    e (SQLSRV32.DLL), version: 2.0001 (03.85.1117)
    [java] 09:09:24,296 INFO Dialect:100 - Using dialect: org.hibernate.dialec
    t.SQLServerDialect
    [java] 09:09:24,311 INFO TransactionFactoryFactory:31 - Using default tran
    saction strategy (direct JDBC transactions)
    [java] 09:09:24,327 INFO TransactionManagerLookupFactory:33 - No Transacti
    onManagerLookup configured (in JTA environment, use of read-write or transaction
    al second-level cache is not recommended)
    [java] 09:09:24,327 INFO SettingsFactory:125 - Automatic flush during befo
    reCompletion(): disabled
    [java] 09:09:24,327 INFO SettingsFactory:129 - Automatic session close at
    end of transaction: disabled
    [java] 09:09:24,343 INFO SettingsFactory:144 - Scrollable result sets: ena
    bled
    [java] 09:09:24,343 INFO SettingsFactory:152 - JDBC3 getGeneratedKeys(): d
    isabled
    [java] 09:09:24,343 INFO SettingsFactory:160 - Connection release mode: au
    to
    [java] 09:09:24,358 INFO SettingsFactory:184 - Maximum outer join fetch de
    pth: 1
    [java] 09:09:24,358 INFO SettingsFactory:187 - Default batch fetch size: 1
    [java] 09:09:24,358 INFO SettingsFactory:191 - Generate SQL with comments:
    disabled
    [java] 09:09:24,358 INFO SettingsFactory:195 - Order SQL updates by primar
    y key: disabled
    [java] 09:09:24,358 INFO SettingsFactory:338 - Query translator: org.hiber
    nate.hql.ast.ASTQueryTranslatorFactory
    [java] 09:09:24,374 INFO ASTQueryTranslatorFactory:21 - Using ASTQueryTran
    slatorFactory
    [java] 09:09:24,374 INFO SettingsFactory:203 - Query language substitution
    s: {no='N', yes='Y'}
    [java] 09:09:24,374 INFO SettingsFactory:209 - Second-level cache: enabled
    [java] 09:09:24,374 INFO SettingsFactory:213 - Query cache: disabled
    [java] 09:09:24,374 INFO SettingsFactory:325 - Cache provider: org.hiberna
    te.cache.HashtableCacheProvider
    [java] 09:09:24,374 INFO SettingsFactory:228 - Optimize cache for minimal
    puts: disabled
    [java] 09:09:24,374 INFO SettingsFactory:233 - Cache region prefix: hibern
    ate.test
    [java] 09:09:24,405 INFO SettingsFactory:237 - Structured second-level cac
    he entries: disabled
    [java] 09:09:24,437 INFO SettingsFactory:257 - Echoing all SQL to stdout
    [java] 09:09:24,452 INFO SettingsFactory:264 - Statistics: disabled
    [java] 09:09:24,452 INFO SettingsFactory:268 - Deleted entity synthetic id
    entifier rollback: disabled
    [java] 09:09:24,452 INFO SettingsFactory:283 - Default entity-mode: POJO
    [java] 09:09:24,593 INFO SessionFactoryImpl:155 - building session factory
    [java] 09:09:24,938 INFO SessionFactoryObjectFactory:82 - Not binding fact
    ory to JNDI, no JNDI name configured
    [java] 09:09:24,954 INFO SchemaValidator:99 - Running schema validator
    [java] 09:09:24,954 INFO SchemaValidator:107 - fetching database metadata
    [java] 09:09:24,954 INFO Configuration:1014 - processing extends queue
    [java] 09:09:24,954 INFO Configuration:1018 - processing collection mappin
    gs
    [java] 09:09:24,954 INFO Configuration:1027 - processing association prope
    rty references
    [java] 09:09:24,954 INFO Configuration:1049 - processing foreign key const
    raints
    [java] 09:09:24,985 WARN JDBCExceptionReporter:71 - SQL Error: 0, SQLState
    : S1002
    [java] 09:09:24,985 ERROR JDBCExceptionReporter:72 - [Microsoft][ODBC SQL S
    erver Driver]Invalid Descriptor Index
    [java] 09:09:25,001 ERROR SchemaValidator:129 - Error closing connection
    [java] java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Invalid transaction state
    [java] Initial SessionFactory creation failed.org.hibernate.exception.Gener
    icJDBCException: could not get table metadata: Child
    [java] java.lang.ExceptionInInitializerError
    [java] at HibernateUtil.<clinit>(Unknown Source)
    [java] at PCManager.listEvents(Unknown Source)
    [java] at PCManager.main(Unknown Source)
    [java] Caused by: org.hibernate.exception.GenericJDBCException: could not g
    et table metadata: Child
    [java] at org.hibernate.exception.SQLStateConverter.handledNonSpecificE
    xception(SQLStateConverter.java:91)
    [java] at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6879)
    [java] at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7036)
    [java] at sun.jdbc.odbc.JdbcOdbc.SQLDisconnect(JdbcOdbc.java:2988)
    [java] at sun.jdbc.odbc.JdbcOdbcDriver.disconnect(JdbcOdbcDriver.java:9
    80)
    [java] at sun.jdbc.odbc.JdbcOdbcConnection.close(JdbcOdbcConnection.jav
    a:739)
    [java] at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaVal
    idator.java:125)
    [java] at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryIm
    pl.java:299)
    [java] at org.hibernate.cfg.Configuration.buildSessionFactory(Configura
    tion.java:1145)
    [java] at HibernateUtil.<clinit>(Unknown Source)
    [java] at org.hibernate.exception.SQLStateConverter.convert(SQLStateCon
    verter.java:79)
    [java] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExcep
    tionHelper.java:43)
    [java] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExcep
    tionHelper.java:29)
    [java] at org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(
    DatabaseMetadata.java:100)
    [java] at org.hibernate.cfg.Configuration.validateSchema(Configuration.
    java:946)
    [java] at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaVal
    idator.java:116)
    [java] at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryIm
    pl.java:299)
    [java] at org.hibernate.cfg.Configuration.buildSessionFactory(Configura
    tion.java:1145)
    [java] ... 3 more
    [java] Caused by: java.sql.SQLException: [Microsoft][ODBC SQL Server Driver
    ]Invalid Descriptor Index
    [java] at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6879)
    [java] at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7036)
    [java] at sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(JdbcOdbc.java:3862)
    [java] at sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(JdbcOdbcResultS
    et.java:5561)
    [java] at sun.jdbc.odbc.JdbcOdbcResultSet.getString(JdbcOdbcResultSet.j
    ava:338)
    [java] at sun.jdbc.odbc.JdbcOdbcResultSet.getString(JdbcOdbcResultSet.j
    ava:395)
    [java] at PCManager.listEvents(Unknown Source)
    [java] at PCManager.main(Unknown Source)
    [java] at org.hibernate.tool.hbm2ddl.TableMetadata.<init>(TableMetadata
    .java:30)
    [java] at org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(
    DatabaseMetadata.java:85)
    [java] ... 7 more
    [java] Exception in thread "main"
    [java] Java Result: 1
    BUILD SUCCESSFUL
    Total time: 4 seconds
    Name and version of the database you are using:
    Microsoft SQLServer2000
    The generated SQL (show_sql=true):
    When the program is run with "hbm2ddl.auto" property as create, I get the following output.
    C:\Documents and Settings\mirza\Desktop\hibernate-3.1rc2\MyHibernate>ant run -Daction=store
    Buildfile: build.xml
    clean:
    [delete] Deleting directory C:\Documents and Settings\mirza\Desktop\hibernate
    -3.1rc2\MyHibernate\bin
    [mkdir] Created dir: C:\Documents and Settings\mirza\Desktop\hibernate-3.1rc
    2\MyHibernate\bin
    copy-resources:
    [copy] Copying 4 files to C:\Documents and Settings\mirza\Desktop\hibernate
    -3.1rc2\MyHibernate\bin
    compile:
    [javac] Compiling 5 source files to C:\Documents and Settings\mirza\Desktop\
    hibernate-3.1rc2\MyHibernate\bin
    run:
    [java] 09:12:54,820 INFO Environment:474 - Hibernate 3.1 rc2
    [java] 09:12:54,836 INFO Environment:489 - loaded properties from resource
    hibernate.properties: {hibernate.cglib.use_reflection_optimizer=true, hibernate
    .cache.provider_class=org.hibernate.cache.HashtableCacheProvider, hibernate.dial
    ect=org.hibernate.dialect.SQLServerDialect, hibernate.max_fetch_depth=1, hiberna
    te.jdbc.use_streams_for_binary=true, hibernate.format_sql=true, hibernate.query.
    substitutions=yes 'Y', no 'N', hibernate.proxool.pool_alias=pool1, hibernate.cac
    he.region_prefix=hibernate.test, hibernate.jdbc.batch_versioned_data=true, hiber
    nate.connection.pool_size=1}
    [java] 09:12:54,852 INFO Environment:519 - using java.io streams to persis
    t binary types
    [java] 09:12:54,852 INFO Environment:520 - using CGLIB reflection optimize
    r
    [java] 09:12:54,867 INFO Environment:550 - using JDK 1.4 java.sql.Timestam
    p handling
    [java] 09:12:54,946 INFO Configuration:1257 - configuring from resource: /
    hibernate.cfg.xml
    [java] 09:12:54,946 INFO Configuration:1234 - Configuration resource: /hib
    ernate.cfg.xml
    [java] 09:12:55,259 INFO Configuration:460 - Reading mappings from resourc
    e: PCMapping.hbm.xml
    [java] 09:12:55,400 INFO HbmBinder:266 - Mapping class: Parent -> Parent
    [java] 09:12:55,447 INFO HbmBinder:266 - Mapping class: Child -> Child
    [java] 09:12:55,447 INFO Configuration:1368 - Configured SessionFactory: n
    ull
    [java] 09:12:55,447 INFO Configuration:1014 - processing extends queue
    [java] 09:12:55,447 INFO Configuration:1018 - processing collection mappin
    gs
    [java] 09:12:55,447 INFO HbmBinder:2233 - Mapping collection: Parent.child
    ren -> Child
    [java] 09:12:55,463 INFO Configuration:1027 - processing association prope
    rty references
    [java] 09:12:55,479 INFO Configuration:1049 - processing foreign key const
    raints
    [java] 09:12:55,557 INFO DriverManagerConnectionProvider:41 - Using Hibern
    ate built-in connection pool (not for production use!)
    [java] 09:12:55,557 INFO DriverManagerConnectionProvider:42 - Hibernate co
    nnection pool size: 1
    [java] 09:12:55,557 INFO DriverManagerConnectionProvider:45 - autocommit m
    ode: false
    [java] 09:12:55,573 INFO DriverManagerConnectionProvider:80 - using driver
    : sun.jdbc.odbc.JdbcOdbcDriver at URL: jdbc:odbc:MySQL
    [java] 09:12:55,573 INFO DriverManagerConnectionProvider:86 - connection p
    roperties: {}
    [java] 09:12:55,651 INFO SettingsFactory:77 - RDBMS: Microsoft SQL Server,
    version: 08.00.0194
    [java] 09:12:55,667 INFO SettingsFactory:78 - JDBC driver: JDBC-ODBC Bridg
    e (SQLSRV32.DLL), version: 2.0001 (03.85.1117)
    [java] 09:12:55,682 INFO Dialect:100 - Using dialect: org.hibernate.dialec
    t.SQLServerDialect
    [java] 09:12:55,698 INFO TransactionFactoryFactory:31 - Using default tran
    saction strategy (direct JDBC transactions)
    [java] 09:12:55,714 INFO TransactionManagerLookupFactory:33 - No Transacti
    onManagerLookup configured (in JTA environment, use of read-write or transaction
    al second-level cache is not recommended)
    [java] 09:12:55,714 INFO SettingsFactory:125 - Automatic flush during befo
    reCompletion(): disabled
    [java] 09:12:55,714 INFO SettingsFactory:129 - Automatic session close at
    end of transaction: disabled
    [java] 09:12:55,729 INFO SettingsFactory:144 - Scrollable result sets: ena
    bled
    [java] 09:12:55,729 INFO SettingsFactory:152 - JDBC3 getGeneratedKeys(): d
    isabled
    [java] 09:12:55,745 INFO SettingsFactory:160 - Connection release mode: au
    to
    [java] 09:12:55,745 INFO SettingsFactory:184 - Maximum outer join fetch de
    pth: 1
    [java] 09:12:55,745 INFO SettingsFactory:187 - Default batch fetch size: 1
    [java] 09:12:55,745 INFO SettingsFactory:191 - Generate SQL with comments:
    disabled
    [java] 09:12:55,745 INFO SettingsFactory:195 - Order SQL updates by primar
    y key: disabled
    [java] 09:12:55,745 INFO SettingsFactory:338 - Query translator: org.hiber
    nate.hql.ast.ASTQueryTranslatorFactory
    [java] 09:12:55,777 INFO ASTQueryTranslatorFactory:21 - Using ASTQueryTran
    slatorFactory
    [java] 09:12:55,792 INFO SettingsFactory:203 - Query language substitution
    s: {no='N', yes='Y'}
    [java] 09:12:55,792 INFO SettingsFactory:209 - Second-level cache: enabled
    [java] 09:12:55,792 INFO SettingsFactory:213 - Query cache: disabled
    [java] 09:12:55,792 INFO SettingsFactory:325 - Cache provider: org.hiberna
    te.cache.HashtableCacheProvider
    [java] 09:12:55,808 INFO SettingsFactory:228 - Optimize cache for minimal
    puts: disabled
    [java] 09:12:55,808 INFO SettingsFactory:233 - Cache region prefix: hibern
    ate.test
    [java] 09:12:55,808 INFO SettingsFactory:237 - Structured second-level cac
    he entries: disabled
    [java] 09:12:55,839 INFO SettingsFactory:257 - Echoing all SQL to stdout
    [java] 09:12:55,839 INFO SettingsFactory:264 - Statistics: disabled
    [java] 09:12:55,839 INFO SettingsFactory:268 - Deleted entity synthetic id
    entifier rollback: disabled
    [java] 09:12:55,839 INFO SettingsFactory:283 - Default entity-mode: POJO
    [java] 09:12:55,980 INFO SessionFactoryImpl:155 - building session factory
    [java] 09:12:56,325 INFO SessionFactoryObjectFactory:82 - Not binding fact
    ory to JNDI, no JNDI name configured
    [java] 09:12:56,341 INFO Configuration:1014 - processing extends queue
    [java] 09:12:56,341 INFO Configuration:1018 - processing collection mappin
    gs
    [java] 09:12:56,341 INFO Configuration:1027 - processing association prope
    rty references
    [java] 09:12:56,341 INFO Configuration:1049 - processing foreign key const
    raints
    [java] 09:12:56,356 INFO Configuration:1014 - processing extends queue
    [java] 09:12:56,356 INFO Configuration:1018 - processing collection mappin
    gs
    [java] 09:12:56,356 INFO Configuration:1027 - processing association prope
    rty references
    [java] 09:12:56,372 INFO Configuration:1049 - processing foreign key const
    raints
    [java] 09:12:56,372 INFO SchemaExport:153 - Running hbm2ddl schema export
    [java] 09:12:56,388 DEBUG SchemaExport:171 - import file not found: /import
    .sql
    [java] 09:12:56,388 INFO SchemaExport:180 - exporting generated schema to
    database
    [java] 09:12:56,403 DEBUG SchemaExport:283 -
    [java] alter table Child
    [java] drop constraint FK3E104FC976A59A
    [java] 09:12:56,466 DEBUG SchemaExport:283 -
    [java] drop table Child
    [java] 09:12:56,544 DEBUG SchemaExport:283 -
    [java] drop table Parent
    [java] 09:12:56,654 DEBUG SchemaExport:283 -
    [java] create table Child (
    [java] id numeric(19,0) identity not null,
    [java] name varchar(255) null,
    [java] parent_id numeric(19,0) null,
    [java] primary key (id)
    [java] )
    [java] 09:12:56,779 DEBUG SchemaExport:283 -
    [java] create table Parent (
    [java] id numeric(19,0) identity not null,
    [java] primary key (id)
    [java] )
    [java] 09:12:56,873 DEBUG SchemaExport:283 -
    [java] alter table Child
    [java] add constraint FK3E104FC976A59A
    [java] foreign key (parent_id)
    [java] references Parent
    [java] 09:12:56,952 INFO SchemaExport:200 - schema export complete
    [java] 09:12:56,952 WARN JDBCExceptionReporter:48 - SQL Warning: 5701, SQL
    State: 01000
    [java] 09:12:56,952 WARN JDBCExceptionReporter:49 - [Microsoft][ODBC SQL S
    erver Driver][SQL Server]Changed database context to 'master'.
    [java] 09:12:56,952 WARN JDBCExceptionReporter:48 - SQL Warning: 5703, SQL
    State: 01000
    [java] 09:12:56,952 WARN JDBCExceptionReporter:49 - [Microsoft][ODBC SQL S
    erver Driver][SQL Server]Changed language setting to us_english.
    [java] 09:12:56,983 INFO SessionFactoryImpl:432 - Checking 0 named queries
    [java] Hibernate:
    [java] insert
    [java] into
    [java] Child
    [java] (name)
    [java] values
    [java] (?) select
    [java] scope_identity()
    [java] Hibernate:
    [java] insert
    [java] into
    [java] Child
    [java] (name)
    [java] values
    [java] (?) select
    [java] scope_identity()
    [java] Hibernate:
    [java] insert
    [java] into
    [java] Child
    [java] (name)
    [java] values
    [java] (?) select
    [java] scope_identity()
    [java] Hibernate:
    [java] insert
    [java] into
    [java] Parent
    [java] default
    [java] values
    [java] select
    [java] scope_identity()
    [java] Hibernate:
    [java] update
    [java] Child
    [java] set
    [java] parent_id=?
    [java] where
    [java] id=?
    [java] Hibernate:
    [java] update
    [java] Child
    [java] set
    [java] parent_id=?
    [java] where
    [java] id=?
    [java] Hibernate:
    [java] update
    [java] Child
    [java] set
    [java] parent_id=?
    [java] where
    [java] id=?
    [java] 09:12:57,390 INFO SessionFactoryImpl:831 - closing
    [java] 09:12:57,390 INFO DriverManagerConnectionProvider:147 - cleaning up
    connection pool: jdbc:odbc:MySQL
    BUILD SUCCESSFUL
    Total time: 5 seconds
    Debug level Hibernate log excerpt:
    Included in the above description.

    That's not the right mapping for the 1:m relationship in Hibernate.
    First of all, I believe the recommendation is to have a separate .hbm.xml file for each class, so you should have one for Parent and Child.
    Second, you'll find the proper syntax for a one-to-many relationship here:
    http://www.hibernate.org/hib_docs/v3/reference/en/html/tutorial.html#tutorial-associations
    See if those help.
    The tutorial docs for Hibernate are quite good. I'd recommend going through them carefully.
    %

  • Hibernate OR EclipseLink...Which is best with Weblogic and Oracle DB?

    Hi All,
    In my company, we are using Oracle DB and Weblogic application server. So in the process to upgrade or switch to new ORM, we shortlisted two options - Hibernate and EclipseLink.
    I gathered following summary regarding both ORMs -
    Hibernate:
    1.     When you need to train people, like we are going to do next week – most of the companies have Hibernate experts.
    2.     When you hire new developers, most of them come with specific Hibernate experience.
    3.     When you need to consult with experts, both in the internet or consultants, you have LOTS of options. Endless forums and communities all regarding Hibernate.
    4.     Hibernate is an open source which has a huge community. This means that it will be improved all the time and will push the ORM market forward.
    5.     Hibernate is an open source which means you have the code to handle, and in case needed, fit it to your needs.
    6.     There are lots of plugins to Hibernate, such as validations tool, audit tools, etc. These becomes standard as well and dismiss you from impl. things yourself.
    7.     One most important thing with ORM tool, is to configure it according to your application’s needs. Usually the default setting doesn’t fit to your needs.
    For that sake, when the market has a huge experience with the tool’s configuration, and lots of experts (see point 1 and 3) – most of chances you will find similar cases and
    lots of knowledge about how to configure the tool and thus – your application.
    EclipseLink:
    1. Fully supported by Oracle. Hibernate no. In case of pb, it could be cumbersome to prove that it is a pure Weblogic one. Concretely, we will have to prove it (waste of time and complexity).
    2. Eclipse link is developed by Oracle and the preferred ORM in the Weblogic /Oracle DB world.
    3. Even if at a certain time EclipseLink was a bit late compared to Hibernate (feature), EclipseLink evolved very fast and we can consider now that they close the gap.
    4. No additional fee as soon as you have Weblogic license. You will need to pays additional fee if you want some professional support on Hibernate.
    5. We are currently relying on Hibernate for our legacy offer and are facing pb in second level cache (JGroups). Today, we are riding off this part!. Consequences are limitation in clustering approach (perf)
    6. On EclipseLink side we do succeed to manage first and second level cache in a clustering approach.
    7. Indeed Hibernate is open source, so you can imagine handling it. In reality, the code is so complex that it is nearly impossible to modify it. Moreover as it is LGPL, you need to feedback all the modified sources to the community systematically.
    8. All tests performed by Oracle concerning Weblogic are using EclipseLink. Moreover, Oracle says that some specific optimizations are done to manage Oracle DB.
    9. Hibernate comes from JBoss community.
    Right now we are preferring Hibernate but there are concerns/reasons like EclipseLink developed by Oracle and preferred ORM in Webogic/ Oracle DB world (compatibility of ORM with DB and App. server), support comparison with both ORM, which are preventing to finalize the decision.
    Please help me with you views and opinions and share you experience with us so that we can make a perfect decision.
    If you want you can also reply to me @ [email protected].
    Thanks.

    The way the ORMs are designed, integration with application servers are relatively simple, and all provides the same features. Also since WebLogic have been around for a while, all ORMs are all well tested in this configuration.
    Hibernate has lot more users, and is likely very often used with Oracle DB, so you can expect not much bug against Oracle DB, maybe even less bug than EclipseLink, which is not much used. EclipseLink does provide support for some esoteric Oracle DB features like hierarchical and flashback queries.
    OpenJPA and DataNucleus are also JPA compliant. It’s likely that Open JPA has a higher user base than EclipseLink, so less unknown bugs.
    Oracle paying support is well known to be a bad joke. It’s a negative return to use this channel, even if they would be free. So in reality, you end up to use the open (free) forum to get support.
    What’s was lacking with Hibernate before is Dynamic Fetch Planning, but they now have some support, see http://opensource.atlassian.com/projects/hibernate/browse/HHH-3414. OpenJPA was the first to implement this must have.
    EclipseLink has query in memory, which can be used, but the API do not help to leverage it, and EclipseLink’s leadership made it clear that they are not going to make it better, instead they want to push Coherence cache.
    Hibernate has an open API for second level cache, which mean you can get out of problem by using another implementation, for example, EHCache seems to be professionally tested, so I would be surprise you find obvious bugs.
    I cannot comment on Hibernate source code quality, but I can tell you that locking mechanism in EclipseLink is used to be very fragile, and many concepts are dispersed over the code base.
    The runtime monitoring of Hibernate have always been great due to the fact that JBoss have always been strong on JMX, EclipseLink has not much usable features on this.
    If I would be you, I would consider OpenJPA or Hibernate instead of EclipseLink, the main reason is that because EclipseLink has a so low user base, I have found lot of obvious bugs in production, like if I was the only user of it. Then, when I submitted bugs to the small development team, which do not encourage user base contribution, they were too busy trying to keep up adding the JPA interfaces on top of their existing proprietary APIs.

  • TopLink vs Hibernate... revisited... again :)

    Would it be possible to get a Toplink versus Hibernate (or other ORM frameworks) going here?
    It seems like the explosive adoption of Hibernate and the associated popularity contest in the industry has put some of us in a position where we're constantly trying to sell the-right-tool-for-the-right-job which, at least for me, seems to disqualify hibernate a lot of times, esp when scalable persistence is a requirement. It seems to be really difficult to convince folks that the popularity of hibernate doesnt mean it's by default the right option.
    I've seen at least two threads on theserverside.com about hibernate versus cayenne, and despite the amount of noise in the threads, there were a few folks making some decent points. The TopLink folks were very quiet on the threads, but I know they were reading :)
    So, anyone out there have any experience comparing TopLink and Hibernate? What do you all see as the shortcomings of each, esp from a technical architecture standpoint? Are GUI tools as overrated as Gavin claims? Where's annotation support for TopLink? Is TopLink overpriced? Is Hibernate's multi-tier non-integrated caching biting anyone on big projects where persistence needs to scale, or is integrated caching overrated? Is Hibernate3 really going to fix shortcomings that TopLink already addresses in current releases? What do you all think the Hibernate crew is doing right that the TopLink crew is doing wrong and vice versa? I'm not assuming any of these questions even merit answer but just interested in some objective discussion in a forum where TopLink guys might have a stronger voice.
    Take care!

    Well, I've only got a few minutes, but I could go on for hours.
    I'll start by saying that I've been doing ORM for longer than many people knew that you could. I had been a previous TOPLink user but went for about two years without having to do any ORM.
    Then, last year I started a new project for a client who insisted we use SqlServer and was hesitant to pay for any software unless it was absolutely necessary. (This is common these days, as the fact that there is so much free software out there encourages folks to try out the free stuff before paying for something that may or may not be better). Comparing the feature list of Hibernate to TOPLink and doing a little checking seemed to indicate that going with Hibernate would be a perfectly reasonable thing to do.
    I will state, uncategorically, that this was the worst technical decision I have ever made in my life... twenty-plus years of Software Application Developing, most of it with object-oriented languages (Smalltalk and Java).
    NOTE: I must couch that statement with the caveat that part of this was due to my naivete about the architectural assumptions I made about Hibernate before including it in my application. If I would have merely learned about Hibernate's architectural assumptions (though this was not easy due to their poor documentation) and allowed these assumptions to drive my development, it would not have been nearly as painful, just yucky. Also, if my objects were much simpler/flatter and I didn't need caching to speed things up, Hibernate could have worked just fine out of the box. Problem is, I had a complex system, needed caching, and Hibernate gave me nightmares as I tried to navigate through it.
    As a test-first developer, I don't care about the GUI tools, as I'm happy to write tests to verify I can store and retrieve objects, then write the mappings and find out if it passes. What I would like is the ability to allow two threads to read the same object and not have to bring two copies of the object into memory or read the database twice. Call me crazy, but it just seems like object identity is a useful thing... perhaps my twenty years of developing object-oriented software has skewed my reasoning and I need to think like folks who haven't been programming as long.
    Hibernate's poor documentation did make it clear that it did not want me to think this way, but it also suggested that, if I wanted to think this way, it could cache objects for me so it wouldn't hit the database twice. And, I'm sure it could have cached objects in some form, but not the form I wanted. Though I thought I followed the instructions on how to set up my cache, I found that reading the same object twice didn't always get the same (as in "==") object back.
    To try to figure out why not (or why other things that an experienced object-oriented software developer couldn't figure out by reading the documentation), I had to dive into the code. This felt like diving into a water source in hopes of finding some gems, but discovering that I was swimming in a sewer full of, well, stuff that you'd find in a sewer.
    Although Hibernate advertises itself as a framework, it is much more of a blackbox framework than a whitebox. Most of the methods and many of the classes are private or protected final. There are very few places to extend what's there. And there are virtually none that allow you to override their architectural assumptions.
    The biggest architectural assumption I found to be problematic was that application developers can't be trusted to know which objects they intended to read and which they intended to write. Therefore, Hibernate "protects" you from having two sessions refer to (that's right, refer to, not modify) a collection of objects.
    In the end, we ended up having to open up the source code and make some modifications in order to make our application run with reasonable performance. We had a lot of fairly deep objects (objects that contained objects that contained objects...) and the idea of not caching the ones that were not being modified across sessions just didn't cut it for us.
    Additionally, we've spent the last few months supporting the app that we finally got into production, and greater than 75% of our bug fixing time has been due to the fact that Hibernate actually reads in objects from several places and it is difficult to tap into THE place an object is read in... because there isn't one. It goes through all sorts of intermediate states and we found out that having one process that is reading objects while another is trying to write the same object can cause some unfortunate side effects, even if you put synchronization locks in the obvious places.
    We ended up with many person months of effort and a lot of special classes getting Hibernate to do what we wanted it to do, and had to open the source code (which will make it hard to ever upgrade to the next version).
    Just recently we started a new project (where Oracle was the corporate standard DB) and decided we'd try to use TOPLink. Having not used it for several years, I had hoped it was going to be much cleaner than Hibernate to hook into our persistence layer. It was a piece of cake. In a few days we were doing what took us months to do with Hibernate, and we didn't have to perform any unnatural acts to get there.
    I would recommend Hibernate to anyone who didn't know how to build a reasonably factored object-oriented system and didn't mind forcing their system architecture to fit Hibernate's architectural assumptions. But, if you think you might have reason to define your own architecture or modify Hibernate's default behavior, TOPLink is well worth the licensing fees. Not to mention the cost of your sanity.
    Is Hibernate really free? Only if you don't value your time. I also found that you can buy outrageously priced support from JBoss to make up for their poor documentation on their poorly architected ORM blackbox framework. The documentation for TOPLink is far superior, and the simplicity of doing simple customizations and tweaks is like night and day.

  • Query regarding Replicated Caches that Persist on Disk

    I need to build a simple fault tolerant system that will replicate cache
    entries across a small set of systems. I want the cache to be persistent
    even if all cluster members are brought down.
    Is this something that requires writing a custom CacheStore implementation
    or is there a configuration that I can use that uses off-the-shelf pluggable
    caches? The documentation was somewhat vague about this.
    If I need or want to write my own CacheStore, when there is a cache write-through
    operation how does Coherence figure out which member of the cluster will do
    the actual work and persist a particular object?

    Hi rhanckel,
    write-through and cache stores are not supported with replicated caches, you need to use partitioned (distributed) cache for cache stores.
    You can use a number of out-of-the-box cache stores (Hibernate, TopLink, etc) or you can write your own if you don't find a suitable one. Configuration is the same, you need to specify the cache store class name appropriately in the <cache-store-scheme> child element of the <read-write-backing-map> element.
    You can look at the documentation for it on the following urls:
    http://wiki.tangosol.com/display/COH34UG/cachestore-scheme
    http://wiki.tangosol.com/display/COH34UG/read-write-backing-map-scheme
    http://wiki.tangosol.com/display/COH34UG/Read-Through%2C+Write-Through%2C+Write-Behind+Caching+and+Refresh-Ahead
    As for how Coherence figures out which member needs to write:
    in a partitioned cache, each cache key has an owner node which is algorithmically determined from the key itself and the distribution of partitions among nodes (these two do not depend on the actual data in the cache). More specifically, any key is always mapped to the same partition (provided you did not change the partition-count or the partition affinity-related settings, although if you did the latter, then it is arguably not the same key anymore). Therefore Coherence just needs to know, who owns a certain partition. Hence, the owner of that partition is the owner of the key, and that node is tasked with every operation related to that key.
    Best regards,
    Robert

  • Jsf spring hibernate session

    Hi, I'm currently using hibernate spring and JSF  1/ the first problem In the JSF common header page I try to test if a bean is in the session scope in order to show login or logout link, and the test always fails : the logout link is always displayed.  the JSF page : [code] <f:subview id="header" >        <h:form id="headerForm"> <table cellspacing="0" width="100%"> <tr> <td align="left" valign="middle">           <img border="0" src="images/logo1.jpg"/> </td>  <td align="right" valign="middle"> <br> <!--Accueil< -->  <c:choose> <c:when test="${empty sessionScope.accountBean}">  <h:commandLink action="Sign on"> <h:outputText value="Sign on"/> </h:commandLink>  </c:when> <c:otherwise> <h:commandLink id ="logout" action="#{accountBean.logoutAction}" >      <h:outputText value="log out"/> </h:commandLink> </c:otherwise> </c:choose> </td> </tr> </table>  <table cellspacing="0" width="100%"> <tr> <td> <hr color="#99ca3c" size="5" noShade SIZE=1> </td> </tr> </table>       </h:form> </f:subview>   [/code]   The accountBean code : [code] public class AccountBean extends BaseBean{ //private Logger log = Log.getLog(this); private String uid; private String password;  private boolean loggedIn; private AdminService adminService; private Admin admin; public AccountBean() { this.logger.debug("Authentication"); this.loggedIn = false; uid=null; password=null; // admin=new Admin(); } public String loginAction() {           try { this.logger.debug("loginAction");  admin = adminService.login(this.uid, this.password); //this.serviceLocator.getUserService().login(this.username, this.password);                                if (admin != null) { if("".equals(admin.getUid())|| "".equals(admin.getPassword())){ this.loggedIn=false; String msg = "Le mot de passe et l'identifiant doivent etre saisis ";                     addErrorMessage(msg + ", saississez un mot de passe et un identifiant corrects"); return NavigationResults.RETRY; } else{                     this.loggedIn = true; HttpSession session = SessionUtil.getSession(); session.setAttribute("Admin", this.uid);                                          return NavigationResults.SUCCESS; }                }                else {                     this.loggedIn = false;                                          String msg = "Le mot de passe est incorrect ";                     addErrorMessage(msg + ", saississez un mot de passe correct");                     this.logger.debug(msg);                                          return NavigationResults.RETRY;                }           }           catch (UsernameNotExistException ue) {                String msg = "L'identifiant (login) est incorrect";                this.logger.info(msg);                addErrorMessage(msg + ", ressaysissez votre identifiant.");                                return NavigationResults.RETRY;           }           catch (Exception e) {                this.logger.error("Could not log in user.", e);                addInfoMessage("Could not log in user: Internal Error");                                return NavigationResults.FAILURE;           }      }            /**      * The backing bean action to logout a user.      *       * @return the navigation result      */      public String logoutAction() {           //this.clear(); FacesContext fc = FacesContext.getCurrentInstance(); HttpSession session = (HttpSession) fc.getExternalContext().getSession(false); session.invalidate();            this.logger.debug("Logout successfully.");                      return NavigationResults.MAIN;      }        public String getPassword() { return password; }  public void setPassword(String password) { this.password = password; }  public String getUid() { return uid; }  public void setUid(String uid) { this.uid = uid; }  public Admin getAdmin() { return admin; }   public boolean getLoggedIn() { return loggedIn; }  public void setLoggedIn(boolean loggedIn) { this.loggedIn = loggedIn; }  public void setAdminService(AdminService adminService) { this.adminService = adminService; }   }    [/code]  the faces managed bean configuration [code] <managed-bean-name>accountBean</managed-bean-name> <managed-bean-class>fr.cbmjadmin.views.bean.AccountBean</managed-bean-class> <managed-bean-scope>session</managed-bean-scope> <managed-property>      <property-name>adminService</property-name> <value>#{adminService}</value> </managed-property>    [/code] 2/ the second problem : my application shows a list of datas. I log on the application , i update this list outside the application ( by using sql command) , i try to list my data using the application : the application does not reflect the modifications. I logout using the log out link, then i log on and the application does not reflect the modifications.  what happens? How could I resove these problems. How can i logout properly? how can i show logout link when the user is logged in? and hide the log out link when the user is logout Thanks.

    For the first problem, you need to realize that the accountBean always exists since you configured it in the faces-config.xml. So you should use something else (like a property on the bean) to determine if the user has actually logged in.
    Secondly, but still on the first issue, it is preferable to use the rendered attribute on the standard JSF components in this situation, instead of the JSTL tags.
    Now, as to the second problem, there are a number of possibilities:
    - did you commit the changes to the database?
    - did you verify that another connection with the native db client can see the changes?
    - are you using a cache with Hibernate? Are you taking the proper steps to notify the cache it might have stale data?
    - are you keeping the list in session scope in your application? (Logging out doesn't clear the session unless you explicitly code it that way.)

  • Distributed Cache gets are very time consuming!!!!!

    We have an application that uses Coherence as a distributed partitioned cache server.
    Our problem is that the access to the near cache is very fast but the access to the remote servers is very cpu consuming (maybe for the deserialization of the objects retrieved) at such point that disabling the cache and reading the objects directly from the dbms (Oracle) improves the performances.
    We use coherence as the second level cache of hibernate so we have not much control on how hibernate serialize and deserialize it's objects (we cannot implement a custom externalization).
    Have you any experience of performance problems with the combination hibernate/tangosol and distributed cache?

    Hi Giancarlo,
    It's Jon, not Cameron ;)
    The Hibernate cache API (including 3.0) does not support bulk-fetches from cache, which means that these cache fetches are serial rather than parallel. Depending on how much of your performance problem is network related, Coherence may actually perform much better than straight JDBC as the application load increases (time per request will remain similar, but won't increase much under heavier load).
    The advantage to using the Coherence API (rather than Hibernate API) is that you have far better control over how your queries run. The drawback of course is that you have to code your own queries if they become more complex than search queries. As a result, it often makes sense to use Hibernate (or equivalent) for the bulk of your queries, then code specific queries directly against Coherence when performance really matters. A simple example of this is the ability to perform bulk gets (using <tt>NamedCache.getAll()</tt>). With queries that return hundreds or thousands of items, this can have a huge impact on performance (an order of magnitude or more depending on object complexity). You also get the ability to use XmlBean/ExternalizableLite and cluster-parallel search queries.
    As an aside, with the Coherence cache servers, you should avoid making your JVM heaps excessively large. As a general rule of thumb, we recommend a 512MB heap size for cache servers, using as many instances as required to reach your desired cache capacity. Also, from what I've seen, 64-bit JVMs are less efficient with memory usage than 32-bit (though performance seems a bit better on the x86-64 platforms vs the 32-bit versions).
    Jon Purdy
    Tangosol, Inc.

  • Hibernate/IBatis/JPA for batch applications

    We are planning on developing a batch application. Performace is a very critical part in this. Wanted to get some feed back upon which is the best framework for batch applications.
    This application would not have too many inserts/updates. It will have selects mainly.
    Can somebody suggest which framework is good Hibernate/Ibatis/JPA ?
    Thanks in advance
    Gautam

    Uppalapati wrote:
    duffymo wrote:
    "batch" usually means "transactional" to me. Why would a batch be mainly SELECTs? Makes no sense.
    Most people wouldn't use Java/JDBC for batch. Better to use the tools that are optimized for your relational database in most cases.
    sorry by stating that a little unclear. It is basically a stand-alone application. It reads messages as they comeby and process the messages. The processing of the messages require a lot of validations to be done (which are dependent upon a lot of parameters in the database and these would require selects). and finally based upon a few criteria's we write the data to the database. Are the validations static, read-only reference data? If so, you can read it once and cache it. Unless the SELECTs are truly dynamic and need to be made every time, perhaps you can save yourself some network traffic that way.
    Caching with Hibernate might make a difference, depending on how dynamic the validations are.
    and my reason for stating that it would have lots of selects is for the validation purpose and some inserts for updating the status.
    duffymo wrote:
    JPA and Hibernate will both require that you have an object model to map to your schema. Do you have that? If not, don't use either of those.
    I have an object model to map with and which is the reason why we are considering Hibernate/Jpa.OK, that's better.
    Either one will do, then. The advantage of JPA is that you don't have to commit to Hibernate, since TopLink and JDO will do as well. You can also use Glassfish or any other Java EE app server that supports EJB3 as well.
    How well do you know Hibernate and/or JPA? The other consideration is your level of skill. Choose the one you know best. Assess the risk if you're just learning and this is a critical project.
    Do you know that JDBC itself can't do the job?
    What other reasons do you have for going this way?
    %

  • Distributed cache doesn't work. Please help.

    Hi,
    I am trying to use distributed cache by:
    1. use coherence as 2nd level cache for hibernate in the application server (weblogic 9). Configuration as follows:
    <cache-config>
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>*</cache-name>
    <scheme-name>DistributedInMemoryCache</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <distributed-scheme>
    <scheme-name>DistributedInMemoryCache</scheme-name>
    <service-name>DistributedCache</service-name>
    <backing-map-scheme>
    <local-scheme>
    <high-units>{size-limit 0}</high-units>
    </local-scheme>
    </backing-map-scheme>
    <autostart>true</autostart>
    </distributed-scheme>
    </caching-schemes>
    </cache-config>
    2. start a standalone jvm locally to form a 2 nodes cluster with the coherence node above using the same cache-config.xml as shown above. I use the following command to start this cache:
    %JAVA_HOME%/bin/java -server -showversion -jar %LIB_HOME%\coherence.jar
    I enable jmx on both jvm, the coherence cache on the coherence node in weblogic shows a bunch of caches exist (I use @Cache(usage = CacheConcurrencyStrategy.READ_ONLY) annontation in my code to enable cache for an entity), also there are a few cache services including DistributedCache started. However, from the standalone jvm, I didn't see any cache nor Distributed cache service (the only service is management from jconsole).
    My goal is to use the standalone jvm as a cache server that holds all the caches while the coherence in weblogic as the client which has no local storage but a near cache.
    However, I could not even get the distributed cache to work. Please help.
    Thanks

    Hi,
    To start the cache server you need to use the command like this:
    %JAVA_HOME%/bin/java -server -Dtangosol.coherence.cacheconfig=/path/to/cache_configuration_descriptor -cp %LIB_HOME%\coherence.jar com.tangosol.net.DefaultCacheServer
    Regards,
    Dimitri

  • Can HotCache use Hibernate

    I have been teaching myself the new Oracle Coherence HotCache technology & am playing around with it.
    I have a question about the JPA implementation. From what I have read, HotCache is built on TopLink & uses the JPA mappings metadat to update the cache from the database. Does that mean that the application using it HAS to be using TopLink. Would something like Hibernate work?
    Thanks!
    Nidhi

    Of course, you can use Hibernate as the CacheStore / CacheLoader of Coherence, or you can use Coherence as the second layer cache of Hibernate.

  • JBoss Can't find Oracle Driver

    Hello, everyone,
    I'm hoping someone can help me.
    I've created a small web service. I have one method which returns something very straight forward, and it works fine.
    I have then progressed this to try to return some data from an Oracle table.
    However, when I try to do this, I get an error back saying that the Oracle Driver can not be found.
    I am using JBoss, and am running this in Eclipse's Web Service Explorer.
    The things I have tried to solve the issue are:
    - Ensuring the Oracle driver is located in Windows>Preferences>General>Data Management>Connectivity>Driver Definitions
    - Placing the Oracle driver jar in as many lib folders in my JBoss directory on my C drive as possible (I may have missed some out).
    I am not sure what else to try. Please can someone help me or point me in the right direction?
    Any help would be hugely appreciated.
    Thank you very much in advance.
    Robin
    My stacktrace is as follows:
    [code]
    java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver from BaseClassLoader@1652e61{VFSClassLoaderPolicy@1c7eb33{name=vfsfile:/C:/Jboss/jboss-5.0.0.GA/server/default/conf/jboss-service.xml domain=ClassLoaderDomain@9fe84e{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.system.NoAnnotationURLClassLoader@a97b0b} roots=[MemoryContextHandler@2254409[path= context=vfsmemory://4shc4f-nlo6vf-hjk3qb83-1-hjk3qewj-6 real=vfsmemory://4shc4f-nlo6vf-hjk3qb83-1-hjk3qewj-6], DelegatingHandler@6903079[path=antlr.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/antlr.jar], DelegatingHandler@22387624[path=autonumber-plugin.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/autonumber-plugin.jar], DelegatingHandler@22963857[path=bcel.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/bcel.jar], DelegatingHandler@10479206[path=bsf.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/bsf.jar], DelegatingHandler@30371681[path=bsh.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/bsh.jar], DelegatingHandler@26839239[path=commons-collections.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/commons-collections.jar], DelegatingHandler@14875150[path=commons-httpclient.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/commons-httpclient.jar], DelegatingHandler@26137220[path=commons-logging.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/commons-logging.jar], DelegatingHandler@27193209[path=dtdparser121.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/dtdparser121.jar], DelegatingHandler@24916054[path=edb-jdbc14.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/edb-jdbc14.jar], DelegatingHandler@4824957[path=ejb3-persistence.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ejb3-persistence.jar], DelegatingHandler@25551189[path=el-api.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/el-api.jar], DelegatingHandler@9229531[path=hibernate-annotations.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/hibernate-annotations.jar], DelegatingHandler@32148925[path=hibernate-commons-annotations.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/hibernate-commons-annotations.jar], DelegatingHandler@33522601[path=hibernate-core.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/hibernate-core.jar], DelegatingHandler@1899900[path=hibernate-entitymanager.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/hibernate-entitymanager.jar], DelegatingHandler@21354482[path=hibernate-jmx.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/hibernate-jmx.jar], DelegatingHandler@6588912[path=hibernate-validator.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/hibernate-validator.jar], DelegatingHandler@10229202[path=hsqldb-plugin.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/hsqldb-plugin.jar], DelegatingHandler@22852149[path=hsqldb.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/hsqldb.jar], DelegatingHandler@12046052[path=ibatis-2.3.4.726.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ibatis-2.3.4.726.jar], DelegatingHandler@24115680[path=jaxen.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jaxen.jar], DelegatingHandler@8259012[path=jboss-bindingservice.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-bindingservice.jar], DelegatingHandler@28085047[path=jboss-common-jdbc-wrapper.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-common-jdbc-wrapper.jar], DelegatingHandler@15191255[path=jboss-current-invocation-aspects.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-current-invocation-aspects.jar], DelegatingHandler@3753755[path=jboss-ejb3-cache.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-ejb3-cache.jar], DelegatingHandler@7028679[path=jboss-ejb3-common.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-ejb3-common.jar], DelegatingHandler@19417347[path=jboss-ejb3-core.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-ejb3-core.jar], DelegatingHandler@30502607[path=jboss-ejb3-deployers.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-ejb3-deployers.jar], DelegatingHandler@12704779[path=jboss-ejb3-ext-api-impl.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-ejb3-ext-api-impl.jar], DelegatingHandler@22379127[path=jboss-ejb3-ext-api.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-ejb3-ext-api.jar], DelegatingHandler@14371981[path=jboss-ejb3-interceptors.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-ejb3-interceptors.jar], DelegatingHandler@25089808[path=jboss-ejb3-metadata.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-ejb3-metadata.jar], DelegatingHandler@5868125[path=jboss-ejb3-proxy-clustered.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-ejb3-proxy-clustered.jar], DelegatingHandler@9114403[path=jboss-ejb3-proxy.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-ejb3-proxy.jar], DelegatingHandler@9795777[path=jboss-ejb3-security.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-ejb3-security.jar], DelegatingHandler@19590177[path=jboss-ejb3-transactions.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-ejb3-transactions.jar], DelegatingHandler@16028187[path=jboss-ha-client.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-ha-client.jar], DelegatingHandler@10766816[path=jboss-ha-server-api.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-ha-server-api.jar], DelegatingHandler@32391332[path=jboss-ha-server-cache-jbc.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-ha-server-cache-jbc.jar], DelegatingHandler@14017136[path=jboss-ha-server-cache-spi.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-ha-server-cache-spi.jar], DelegatingHandler@345667[path=jboss-hibernate.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-hibernate.jar], DelegatingHandler@4725080[path=jboss-iiop.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-iiop.jar], DelegatingHandler@24635060[path=jboss-integration.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-integration.jar], DelegatingHandler@13327669[path=jboss-jaspi-api.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-jaspi-api.jar], DelegatingHandler@22302276[path=jboss-javaee.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-javaee.jar], DelegatingHandler@31347466[path=jboss-jca.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-jca.jar], DelegatingHandler@18733404[path=jboss-jmx-remoting.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-jmx-remoting.jar], DelegatingHandler@11086506[path=jboss-jpa-deployers.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-jpa-deployers.jar], DelegatingHandler@3152885[path=jboss-jsr77.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-jsr77.jar], DelegatingHandler@8104009[path=jboss-jsr88.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-jsr88.jar], DelegatingHandler@6656120[path=jboss-management.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-management.jar], DelegatingHandler@32490450[path=jboss-messaging-int.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-messaging-int.jar], DelegatingHandler@2167036[path=jboss-messaging.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-messaging.jar], DelegatingHandler@14820075[path=jboss-metadata.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-metadata.jar], DelegatingHandler@6467398[path=jboss-monitoring.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-monitoring.jar], DelegatingHandler@14768745[path=jboss-profileservice.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-profileservice.jar], DelegatingHandler@16166715[path=jboss-remoting-aspects.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-remoting-aspects.jar], DelegatingHandler@23747954[path=jboss-remoting.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-remoting.jar], DelegatingHandler@1902564[path=jboss-security-aspects.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-security-aspects.jar], DelegatingHandler@32586504[path=jboss-security-spi.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-security-spi.jar], DelegatingHandler@5935979[path=jboss-serialization.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-serialization.jar], DelegatingHandler@8687994[path=jboss-srp.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-srp.jar], DelegatingHandler@23794987[path=jboss-sunxacml.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-sunxacml.jar], DelegatingHandler@20627169[path=jboss-transaction-aspects.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-transaction-aspects.jar], DelegatingHandler@30003582[path=jboss-xacml.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss-xacml.jar], DelegatingHandler@14199075[path=jboss.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jboss.jar], DelegatingHandler@4740342[path=jbossas-remoting.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jbossas-remoting.jar], DelegatingHandler@12716179[path=jbossha.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jbossha.jar], DelegatingHandler@12653911[path=jbossjta-integration.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jbossjta-integration.jar], DelegatingHandler@6300663[path=jbossjta.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jbossjta.jar], DelegatingHandler@31019059[path=jbosssx-server.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jbosssx-server.jar], DelegatingHandler@2115134[path=jbosssx.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jbosssx.jar], DelegatingHandler@14919969[path=jbossts-common.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jbossts-common.jar], DelegatingHandler@7651652[path=jbossws-common.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jbossws-common.jar], DelegatingHandler@20739678[path=jbossws-framework.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jbossws-framework.jar], DelegatingHandler@8331318[path=jbossws-native-jaxrpc.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jbossws-native-jaxrpc.jar], DelegatingHandler@1823783[path=jbossws-native-jaxws-ext.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jbossws-native-jaxws-ext.jar], DelegatingHandler@17125267[path=jbossws-native-jaxws.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jbossws-native-jaxws.jar], DelegatingHandler@28000914[path=jbossws-native-saaj.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jbossws-native-saaj.jar], DelegatingHandler@10464309[path=jbossws-spi.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jbossws-spi.jar], DelegatingHandler@14869110[path=jmx-adaptor-plugin.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jmx-adaptor-plugin.jar], DelegatingHandler@25281771[path=jnpserver.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jnpserver.jar], DelegatingHandler@10968735[path=joesnmp.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/joesnmp.jar], DelegatingHandler@3486913[path=jsp-api.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/jsp-api.jar], DelegatingHandler@18513535[path=log4j-snmp-appender.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/log4j-snmp-appender.jar], DelegatingHandler@6749397[path=log4j.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/log4j.jar], DelegatingHandler@23142099[path=mail-plugin.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/mail-plugin.jar], DelegatingHandler@19847791[path=mail.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/mail.jar], DelegatingHandler@17226797[path=properties-plugin.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/properties-plugin.jar], DelegatingHandler@23150623[path=quartz.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/quartz.jar], DelegatingHandler@28882952[path=scheduler-plugin-example.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/scheduler-plugin-example.jar], DelegatingHandler@3816987[path=scheduler-plugin.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/scheduler-plugin.jar], DelegatingHandler@29594642[path=servlet-api.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/servlet-api.jar], DelegatingHandler@19811980[path=slf4j-api.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/slf4j-api.jar], DelegatingHandler@19335035[path=slf4j-jboss-logging.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/slf4j-jboss-logging.jar]] delegates=null exported=[, org.hibernate.loader.collection, org.jboss.deployers.spi.management.deploy, org.jboss.remoting.transporter, org.jboss.ejb3.proxy.clustered.objectfactory.session.stateful, com.arjuna.ats.txoj.semaphore, org.jboss.varia.property, com.arjuna.common.util.propertyservice, com.arjuna.common.util.logging, org.jboss.jms.server.messagecounter, org.jboss.ejb3.proxy.invocation, org.jboss.remoting.invocation, org.jboss.remoting.samples.transporter.proxy, javax.persistence, org.hibernate.engine.loading, org.jboss.security.xacml.sunxacml.combine, org.jboss.jms.client.remoting, com.arjuna.ats.internal.txoj.recovery, org.jboss.remoting.samples.transporter.serialization.server, javax.xml.registry.infomodel, org.jboss.resource.adapter.jdbc.remote, org.jboss.resource.spi.timer, org.jboss.ha.cachemanager, org.jboss.web.tomcat.service.session.distributedcache.spi, org.jboss.ejb3.timerservice, org.jboss.wsf.test, org.jboss.ejb3.cluster.metadata, org.jboss.metadata.annotation.creator.client, org.jboss.resource.statistic.formatter, com.arjuna.ats.internal.jta.transaction.arjunacore, org.jboss.ejb3.proxy.handler.stateless, com.edb.util, org.jboss.security.mapping.providers.principal, org.jboss.hibernate.deployers.metadata, org.jboss.wsf.common.management, org.jboss.resource.metadata, javax.enterprise.deploy.spi, com.ibatis.common.logging.log4j, org.apache.log4j.lf5, org.jboss.remoting.detection.jndi, org.jboss.security.integration, com.arjuna.common.internal.util.logging.simpleLog, org.jboss.jms.server.remoting, org.jboss.ejb3.metadata, org.hibernate.cache.access, META-INF.maven.org.jboss.cluster.jboss-ha-server-api, org.jboss.remoting.samples.transporter.basic, org.apache.bsf.util, org.jboss.ejb3.proxy.handler.session.service, org.hibernate.intercept.cglib, org.jboss.remoting.transport.sslrmi, org.hibernate.proxy, org.apache.bcel.verifier.exc, org.jboss.remoting.stream, org.apache.log4j.varia, org.hibernate.cache, org.jboss.jmx.adaptor.rmi, org.jboss.security.auth.container.config, org.jboss.ejb3.timerservice.jboss, org.hibernate.usertype, javax.security.auth.message.module, org.jboss.management.j2ee.statistics, org.jboss.remoting, org.jboss.serial.util, org.jboss.security.acl.config, com.ibatis.sqlmap.engine.mapping.sql.dynamic.elements, org.jboss.resource.adapter.jdbc.vendor, META-INF.maven.org.jboss.ws.native.jbossws-native-saaj, org.jboss.resource.adapter.jdbc, org.hibernate.ejb.event, org.jboss.metadata.validation.chain.ejb.jboss, com.arjuna.ats.jta.utils, javax.servlet, org.jboss.monitor.alerts, org.hibernate.annotations, org.jboss.jms.wireformat, com.arjuna.ats.internal.arjuna.objectstore.jdbc, antlr.debug.misc, org.jboss.security.xacml.jaxb, org.jboss.ejb3.deployers, com.edb.ds, org.hibernate.hql.ast.exec, com.ibatis.common.jdbc, org.jboss.metadata.process.processor, org.jboss.wsf.spi.util, org.hibernate.context, org.jboss.remoting.samples.detection.multicast, org.jboss.jmx.connector.invoker, javax.enterprise.deploy.model, org.jboss.web.tomcat.service.session.distributedcache.impl.jbc, xmdesc, org.jboss.ejb3.interceptors.container, org.jboss.ejb3.proxy.objectfactory.session, org.jboss.remoting.transport.web, org.hibernate.id.enhanced, javax.enterprise.deploy.shared, org.jboss.metadata.common.jboss, org.jboss.ejb3.enc, org.jboss.ejb3.proxy.factory, org.jboss.remoting.samples.callback.statistics, com.arjuna.ats.jta.xa, org.jboss.proxy.ejb.handle, org.jboss.ejb3.proxy.clustered.factory.session.stateful, org.jboss.metadata.serviceref, javax.mail.event, org.apache.bsf.engines.xslt, org.jaxen.pattern, org.jboss.ha.client.loadbalance, org.apache.log4j.lf5.viewer, org.jboss.ejb.plugins.cmp.jdbc, org.jboss.metadata.annotation.finder, org.jboss.jms.server.security, org.jboss.aspects.currentinvocation, org.jboss.wsf.framework.serviceref, org.jboss.web.tomcat.service.session.distributedcache.impl, org.jboss.ejb3.dependency, com.arjuna.ats.jbossatx.jta, org.jboss.iiop.jacorb, org.apache.bcel.generic, org.slf4j.helpers, org.quartz.plugins.xml, com.arjuna.ats.txoj.lockstore, com.edb.core.v2, org.jboss.ejb3.proxy.objectstore, com.sun.mail.handlers, com.ibatis.sqlmap.engine.transaction.user, org.jboss.remoting.serialization.impl.java, org.jboss.metadata.jpa.spec, com.edb.core.v3, org.hibernate.intercept.javassist, org.jboss.injection.lang.reflect, org.jboss.ejb3.protocol.jarjar, org.jboss.remoting.transport.servlet, com.arjuna.ats.internal.jta.xa, com.edb.fastpath, org.jboss.ha.client.loadbalance.aop, org.hibernate.stat, javax.xml.ws, org.jboss.invocation.iiop, com.arjuna.ats.tsmx.mbeans, com.ibatis.sqlmap.engine.impl, org.jboss.varia.autonumber, org.jboss.deployers.spi.management, org.quartz.simpl, com.edb.largeobject, org.jboss.security.plugins.acl, org.jboss.deployment.services, org.jboss.profileservice.management, org.quartz.jobs, javax.xml.rpc.handler.soap, org.hibernate.impl, com.arjuna.ats.internal.arjuna.gandiva.nameservice, org.hibernate.event.def, org.jboss.remoting.samples.multiplex, org.hibernate.persister, org.hibernate.ejb.transaction, org.hibernate.validator.resources, org.jboss.ejb3.proxy.clustered.handler.session.stateful, org.jboss.remoting.marshal.serializable, org.jboss.remoting.samples.transporter.complex.server, org.jboss.security.mapping.providers, org.jboss.wsf.framework.management.recording, org.jboss.messaging.core.impl.jchannelfactory, org.jnp.interfaces, org.jboss.verifier, javax.xml.rpc, org.apache.commons.httpclient.methods, org.opennms.protocols.snmp.asn1, org.jboss.ejb3.interceptors.currentinvocation, org.hibernate.tool.instrument.cglib, org.jboss.client, org.hibernate.annotations.common.reflection.java, bsh.util.lib, com.edb.translation, org.jboss.remoting.samples.transporter.multiple.client, org.jboss.ha.hasessionstate.server, org.jboss.security.xacml.interfaces, com.ibatis.sqlmap.engine.transaction.jdbc, org.jboss.iiop.test, org.quartz.core, org.jboss.ejb.plugins.cmp.jdbc2.schema, org.jboss.ejb3.interceptors.proxy, META-INF.maven.org.jboss.jpa.jboss-jpa-deployers, com.arjuna.ats.txoj.logging, com.arjuna.ats.internal.arjuna.template, org.jboss.metadata.ejb.spec, org.hibernate.type, com.arjuna.ats.arjuna.gandiva.inventory, javax.xml.ws.http, com.arjuna.ats.jbossatx.logging, org.jboss.verifier.strategy, org.apache.commons.httpclient.protocol, com.ibatis.sqlmap.engine.mapping.sql.raw, org.jboss.remoting.samples.transporter.custom.server, org.apache.bsf.util.event.adapters, org.apache.log4j.lf5.viewer.images, org.apache.commons.collections.set, org.hibernate.loader, org.jboss.jms.delegate, org.jboss.services.binding, org.hibernate.engine, org.quartz.spi, META-INF.maven.org.jboss.ws.jbossws-common, org.jboss.security.propertyeditor, org.jboss.ha.framework.server.util, META-INF.maven.org.jboss.security.jboss-sunxacml, org.jboss.mail, org.jboss.remoting.detection.util, org.jboss.ejb, org.jboss.wsf.spi.metadata.j2ee.serviceref, com.arjuna.ats.jdbc, org.jboss.ha.jndi.spi, org.hsqldb.jdbc, org.jboss.serial.objectmetamodel, com.arjuna.ats.internal.jta.transaction.arjunacore.subordinate.jca, META-INF.maven.org.hibernate.hibernate-core, javax.mail.util, org.apache.log4j.nt, org.jboss.security.srp, com.arjuna.ats.internal.txoj.semaphore, com.arjuna.common.internal.util.propertyservice.plugins.io, com.arjuna.ats.internal.jbossatx.jta.jca, org.jboss.security.xacml.locators, org.hibernate.tuple, org.jboss.remoting.transport.rmi, org.hibernate.annotations.common.reflection, org.jboss.web, bsh.reflect, org.hibernate.classic, org.hibernate.ejb.connection, org.jboss.security.xacml.util, org.jboss.security.ssl, org.jboss.ejb3.mdb, javax.transaction.xa, org.hsqldb, org.apache.bsf.engines.netrexx, com.arjuna.ats.jta.common, org.hibernate.jdbc.util, javax.security.auth.message.config, com.ibatis.sqlmap.engine.cache.oscache, com.wutka.dtd, org.jboss.jms.server.connectormanager, org.jboss.wsf.spi.transport, org.jboss.metadata.process.processor.ejb.jboss, org.omg.stub.javax.ejb, org.jboss.jpa.tx, org.hibernate.loader.entity, org.jboss.remoting.samples.oneway, org.jboss.messaging.core.impl.clusterconnection, org.jboss.wsf.spi.deployment, org.jboss.ejb3.interceptors.direct, antlr.collections.impl, org.apache.log4j.or, org.hibernate, javax.xml.rpc.soap, com.ibatis.sqlmap.engine.mapping.result, com.ibatis.common.logging.nologging, com.arjuna.ats.internal.tsmx.agent.exceptions, org.jboss.ha.jndi, org.hsqldb.sample, org.hibernate.bytecode.util, org.hsqldb.lib, com.arjuna.ats.txoj.exceptions, org.jboss.ejb3.metamodel, org.apache.log4j.or.jms, javax.management.remote.rmi, META-INF.maven.org.jboss.ws.native.jbossws-native-jaxws-ext, javax.interceptor, org.jboss.wsf.spi.tools.ant, security, org.jboss.resource.timer, com.arjuna.ats.tsmx.agent.exceptions, org.jboss.ejb3.proxy.objectfactory.session.stateless, com.arjuna.ats.jta.transaction, org.jboss.ejb3.metadata.plugins.loader, org.jboss.deployment.vfs, com.arjuna.ats.internal.jta.recovery.arjunacore, org.jaxen, com.ibatis.sqlmap.engine.execution, com.ibatis.sqlmap.engine.cache.memory, com.arjuna.ats.jta.resources, org.jboss.wsf.common.logging, com.arjuna.ats.arjuna.utils, org.jboss.ejb3.aop, META-INF.maven.org.jboss.ejb3.jboss-ejb3-security, org.jboss.jms.client.delegate, bsh.commands, com.arjuna.ats.tsmx.agent, org.jboss.security.xacml.sunxacml.support, org.jboss.serial.finalcontainers, com.arjuna.ats.internal.txoj.lockstore, org.jboss.resource.security, org.jboss.messaging.core.impl.tx, org.jboss.resource.connectionmanager, javax.xml.ws.addressing.soap, org.quartz.impl.calendar, com.arjuna.ats.internal.jdbc.drivers, org.jboss.deployment.dependency, org.jboss.security.identity.fed, org.jboss.ejb3.kernel, com.edb.ds.common, META-INF.maven.org.jboss.ejb3.jboss-ejb3-proxy-clustered, org.jboss.wsf.framework, com.arjuna.ats.arjuna.coordinator, org.jboss.services.binding.impl, org.jboss.invocation, javax.servlet.http, com.arjuna.common.internal.util.licence.utils, org.jboss.metadata.validation, javax.jws, org.hibernate.bytecode, org.jboss.jms.exception, org.jboss.security.mapping, org.apache.log4j.spi, org.jboss.ejb3.interceptors.lang, com.arjuna.ats.arjuna.gandiva.nameservice, org.jboss.security.xacml.sunxacml.ctx, org.jboss.ejb3.naming, org.jboss.messaging.core.impl, org.jboss.jpa.resolvers, org.jboss.remoting.samples.transporter.clustered.server, org.hsqldb.util.sqltool, org.jboss.hibernate.deployers, org.jboss.ejb.plugins.local, org.jboss.monitor, org.jboss.remoting.samples.transporter.proxy.client, org.hibernate.cache.entry, org.quartz, org.hibernate.hql, org.jboss.security.auth.spi, com.arjuna.common.util, org.hibernate.transform, org.hibernate.tuple.component, org.jboss.ejb3.cache.persistence, org.jboss.invocation.pooled.server, org.jboss.security.identitytrust.modules, org.jboss.metadata.common.spi, com.arjuna.ats.internal.jta.utils, org.jboss.security.authorization.modules, org.jboss.verifier.event, org.jboss.iiop.rmi.marshal, org.jboss.ejb3.proxy.clustered.registry, org.apache.log4j.jdbc, com.arjuna.ats.internal.jta.resources.errorhandlers, org.jboss.ejb3.proxy.clustered.familyname, org.apache.bcel.util, org.jboss.annotation.javaee, org.jboss.ejb3.metadata.annotation, org.hibernate.sql, org.jboss.messaging.util, org.jboss.ejb.plugins.cmp.jdbc.metadata, com.arjuna.common.util.propertyservice.propertycontainer, org.jboss.invocation.http.server, org.hsqldb.persist, org.jboss.remoting.transport.sslsocket, com.arjuna.ats.arjuna.state, org.jboss.ejb3.interceptors.aop, org.hibernate.lob, org.jboss.ejb3.security.helpers, org.jboss.wsf.spi.management, org.jboss.remoting.detection.multicast, org.jboss.security.authorization.modules.web, antlr.build, org.hibernate.persister.entity, com.edb.stream, org.jboss.classloading.spi, org.jboss.metadata.rar.jboss, org.jboss.jpa.injection, org.apache.bsf.engines.jacl, org.jboss.mx.remoting.event, org.jboss.ejb3.proxy.jndiregistrar, META-INF.maven.org.jboss.ejb3.jboss-ejb3-ext-api, org.jboss.jca.spi, org.jboss.remoting.samples.bisocket, org.apache.log4j.lf5.viewer.configure, org.jboss.ejb3.common.registrar.spi, org.jboss.ejb3.security.embedded.plugins, org.jboss.crypto.digest, org.jboss.naming.java, org.jboss.security.xacml.sunxacml, org.jboss.remoting.samples.transporter.complex, META-INF.maven.org.jboss.ejb3.jboss-ejb3-ext-api-impl, com.arjuna.ats.arjuna.thread, org.apache.commons.collections.map, javax.xml.rpc.holders, org.jboss.jms.server.plugin.contract, org.jboss.ejb3.interceptors.registry, org.jboss.tm.usertx.client, com.arjuna.ats.txoj, org.hibernate.cfg.search, org.jboss.remoting.transport.bisocket, org.jboss.resource.binding.remote, org.jboss.wsf.framework.transport, org.jboss.ejb3.injection, com.arjuna.ats.txoj.common, org.jboss.wsf.spi.serviceref, com.ibatis.sqlmap.client.extensions, com.ibatis.sqlmap.engine.cache.fifo, javax.security.jacc, META-INF.maven.org.jboss.ws.native.jbossws-native-jaxrpc, org.jboss.wsf.common.utils, org.jboss.jms.server.bridge, com.arjuna.ats.internal.arjuna, javax.enterprise.deploy.spi.exceptions, org.quartz.xml, org.jboss.management.j2ee, org.jboss.deployment.spi.configurations, bsh.servlet, org.jboss.aspects.tx, org.apache.commons.collections.iterators, org.jboss.serial.io, com.ibatis.sqlmap.engine.accessplan, com.edb.core.charset, org.hibernate.cfg.annotations.reflection, org.hibernate.id, org.jboss.ejb3.proxy.handler.session, org.jboss.ejb3.common.thread, com.arjuna.common, org.jboss.jpa.util, org.jboss.deployment, javax.ejb.spi, bsh.collection, org.jboss.metamodel.descriptor, org.jboss.profileservice.management.upload, org.jboss.invocation.local, META-INF.maven.org.slf4j.slf4j-api, org.jaxen.function, META-INF.maven.org.jboss.cluster.jboss-ha-client, org.jboss.security.microcontainer.beans.metadata, com.arjuna.ats.arjuna.objectstore.jdbc, org.jboss.remoting.samples.multiplex.invoker, org.jaxen.javabean, org.jboss.ejb3.tx.container, org.jboss.lang.ref, org.hsqldb.resources, org.jboss.security.xacml.sunxacml.finder.impl, org.jboss.ejb3.common.spi, com.edb, org.jboss.metadata.process.chain.ejb.jboss, org.jboss.security.xacml.sunxacml.support.finder, org.jboss.jms.server.container, org.jboss.profileservice.management.templates, org.apache.bsf.util.cf, org.quartz.utils, org.jboss.ha.framework.test, org.hibernate.validator.event, javax.security.auth.message.callback, org.jboss.ejb3.common.lang, org.hsqldb.lib.java, org.jboss.ejb3.proxy.intf, org.jboss.iiop.naming, org.jboss.security.xacml.bridge, org.jboss.remoting.samples.chat, org.jnp.server, org.hsqldb.scriptio, org.apache.commons.httpclient.methods.multipart, org.jboss.ejb3.proxy.factory.stateful, org.jboss.metadata.client.spec, org.w3c.dom, com.arjuna.ats.tsmx.common, org.jaxen.function.ext, javax.management.remote, com.arjuna.ats.internal.jbossatx.jta, org.jboss.ejb3.security.annotation, org.jnp.interfaces.java, org.jboss.ejb3.entity.hibernate, bsh, org.apache.log4j.lf5.util, org.quartz.plugins.management, org.jaxen.saxpath.helpers, org.jboss.metadata.annotation.creator.ws, org.jboss.remoting.samples.transporter.proxy.server, javax.jms, org.jboss.ejb3.util, antlr.actions.python, org.hibernate.loader.custom, stylesheets, org.jnp.client, javax.jws.soap, org.jboss.profileservice.management.upload.remoting, org.jboss.ejb3.common.string, org.hibernate.engine.query.sql, org.jboss.ejb3.metadata.spi.signature, org.jboss.metadata.validation.validator.ejb.jboss, org.jboss.ejb3.javaee, javax.resource.spi, org.hibernate.persister.collection, org.hibernate.hql.ast.tree, org.jboss.remoting.samples.simple, org.jboss.remoting.serialization, org.jboss.profileservice.management.matchers, org.jaxen.expr.iter, org.jboss.remoting.transport.servlet.web, org.jboss.ha.singleton.examples, org.jboss.ejb3.proxy.clustered.objectstore, org.jboss.ejb3.proxy.objectfactory.session.stateful, org.jboss.jms.client.plugin, org.jboss.remoting.samples.chat.utility, org.jboss.remoting.transport.sslservlet, org.jboss.security.plugins.audit, org.jboss.ejb3.proxy, org.hibernate.hql.antlr, org.jboss.security.identitytrust, org.jboss.ejb3.interceptors.annotation, org.jboss.deployment.spi.status, org.hibernate.proxy.pojo.javassist, org.jboss.remoting.loading, javax.resource.spi.work, com.arjuna.common.util.exceptions, org.jboss.security.jndi, org.apache.commons.collections.bidimap, org.jboss.ejb.plugins.lock, com.ibatis.sqlmap.engine.datasource, META-INF.maven.org.jboss.aspects.jboss-remoting-aspects, org.jboss.aspects.remoting.interceptors.invoker, org.apache.bcel.verifier.structurals, org.jboss.remoting.samples.transporter.multiple, org.quartz.helpers, org.jboss.varia.scheduler.example, com.arjuna.ats.jdbc.common, org.jboss.mx.remoting.provider.iiop, org.jboss.crypto, org.apache.bsf, com.ibatis.sqlmap.client.event, org.jboss.security.identity, org.quartz.utils.weblogic, javax.servlet.jsp.tagext, com.arjuna.ats.jbossatx, org.hibernate.jmx, org.jboss.resource.work, javax.enterprise.deploy.spi.status, org.jboss.security.identitytrust.config, org.jboss.metadata.validation.validator, org.hibernate.hql.ast, antlr, com.arjuna.ats.internal.txoj, org.jboss.resource.statistic, org.jboss.naming, org.jboss.jms.server.connectionfactory, org.jboss.remoting.detection, org.hibernate.proxy.map, org.apache.commons.collections.buffer, org.jboss.metadata.validation.chain, org.jboss.wsf.spi.binding, org.jboss.wsf.spi.invocation, com.ibatis.sqlmap.engine.mapping.sql.stat, org.jboss.remoting.security, org.hibernate.annotations.common.util, org.jboss.ejb3.timerservice.quartz, javax.xml.registry, org.jboss.jpa.remote, org.jboss.metadata.javaee.jboss, org.jaxen.jdom, org.jboss.messaging.core.contract, org.jboss.ejb3.common.registrar.plugin.mc, org.jboss.messaging.util.prioritylinkedlist, org.jboss.ejb3.proxy.factory.session.service, org.apache.bsf.engines.javascript, antlr.preprocessor, org.jboss.wsf.framework.http, org.jboss.security.jce, org.jboss.ejb.plugins.jms, org.quartz.ee.jmx.jboss.doc-files, javax.xml.rpc.server, org.jboss.ejb3.proxy.clustered.factory.session.stateless, com.sun.mail.smtp, org.jboss.metadata.web.jboss, com.edb.core.types, org.jboss.remoting.transport.multiplex, org.quartz.jobs.ee.mail, org.apache.log4j.or.sax, org.jboss.wsf.common, org.jaxen.util, org.jboss.remoting.samples.http, org.jboss.aspects.security, org.jboss.security.acl, com.arjuna.common.util.concurrency, org.hibernate.engine.transaction, com.ibatis.common.beans, org.hibernate.bytecode.cglib, org.jboss.util.stream, org.jboss.jms.server.destination, javax.enterprise.deploy.shared.factories, org.jboss.ejb3.common.proxy.spi, org.jboss.ejb3.annotation, org.jboss.corba, org.hibernate.loader.criteria, org.jboss.metadata.merge, org.jboss.ejb3.proxy.clustered.objectfactory.session.stateless, org.jboss.ejb3.proxy.clustered.jndiregistrar, com.arjuna.ats.internal.tsmx.mbeans, org.hibernate.annotations.common, org.jboss.remoting.ident, org.jboss.invocation.unified.interfaces, org.jboss.security.plugins.authorization, org.jboss.ejb.deployers, org.hsqldb.util, org.jboss.hibernate, META-INF.maven.org.jboss.security.jboss-xacml, com.ibatis.sqlmap.engine.type, org.jboss.ejb3.metadata.jpa.spec, org.jboss.ejb3.proxy.objectfactory, org.jboss.ha.framework.server.spi, org.jboss.ejb3.interceptor, org.jboss.jms.server.endpoint.advised, javax.servlet.jsp, org.jboss.mx.remoting, org.jboss.security.factories, org.jboss.resource.connectionmanager.xa, org.jboss.verifier.factory, org.jboss.ha.hasessionstate.interfaces, org.jboss.aspects.remoting.interceptors.marshall, org.hibernate.engine.query, META-INF.maven.org.jboss.ejb3.jboss-ejb3-cache, org.apache.commons.logging, org.jboss.deployment.security, org.jboss.jpa.javaee, org.jboss.iiop.rmi.marshal.strategy, org.jboss.cache.invalidation.triggers, com.arjuna.ats.internal.arjuna.objectstore, org.jboss.tm, org.jboss.security.auth, javax.resource.cci, org.jboss.management.j2ee.deployers, org.jboss.jms.server, org.jboss.security.srp.jaas, com.edb.jdbc2, com.arjuna.common.internal.util.propertyservice, com.edb.jdbc3, javax.xml.ws.spi, org.jboss.naming.interceptors, org.jboss.metadata.annotation.creator.ejb.jboss, org.jboss.security.xacml.sunxacml.cond, org.jboss.security, org.jboss.security.auth.message.config, org.apache.commons.collections.functors, org.jboss.ejb3.proxy.clustered.invocation, META-INF.maven.org.jboss.cluster.jboss-ha-server-cache-jbc, org.jboss.slf4j, org.hibernate.mapping, org.jboss.jms.server.endpoint, org.jboss.metadata.process, META-INF.services, org.quartz.impl, org.jboss.ejb3.proxy.factory.session.stateful, org.hibernate.validator.interpolator, META-INF.maven.org.jboss.ws.jbossws-framework, org.jboss.ejb3.security, org.jboss.security.auth.login, org.apache.bsf.util.type, org.apache.commons.collections.collection, org.jboss.jms.client.state, com.arjuna.ats.internal.jta.resources.arjunacore, org.jboss.remoting.samples.transporter.multiple.server, org.jboss.ejb3.common.proxy.plugins.async, org.jboss.remoting.samples.config.factories, org.hibernate.ejb.instrument, org.apache.log4j.xml, org.jboss.remoting.samples.transporter.serialization, org.hibernate.action, org.jboss.resource, org.jboss.wsf.spi.tools, org.jboss.deployment.spi.beans, org.jboss.remoting.samples.transporter.clustered.client, org.jboss.ejb3, org.jboss.metadata.annotation.creator, org.jboss.ha.framework.server.deployers, org.jboss.ejb3.proxy.factory.stateless, org.quartz.jobs.ee.jmx, org.jboss.wsf.framework.invocation, org.apache.bsf.engines.jython, org.jboss.invocation.jrmp.server, org.jboss.wsf.spi.annotation, org.jboss.ejb3.connectionmanager, org.hibernate.dialect, org.jboss.ejb3.jms, org.jboss.invocation.unified.marshall, com.ibatis.sqlmap.engine.cache.lru, org.jboss.messaging.core.jmx, javax.mail, org.jboss.wsf.spi.deployment.integration, com.edb.core, org.hibernate.bytecode.javassist, com.edb.copy, org.apache.log4j.helpers, com.arjuna.ats.jta.recovery, META-INF.maven.org.jboss.metadata.jboss-metadata, org.jboss.security.xacml.core.ext, org.jboss.proxy.generic, org.jboss.metadata.lang, com.arjuna.ats.arjuna, org.slf4j.impl, com.arjuna.ats.internal.tsmx.agent.implementations.ri, org.hsqldb.index, org.jboss.persistence, org.hibernate.connection, org.jboss.aspects.remoting, org.jboss.remoting.serialization.impl.jboss, org.jboss.web.tomcat.service.sso.spi, org.jboss.jms.server.connectionmanager, com.ibatis.sqlmap.engine.mapping.statement, com.ibatis.common.xml, org.jboss.ejb3.proxy.handler.session.stateful, org.hibernate.proxy.pojo, org.jaxen.expr, com.ibatis.sqlmap.engine.mapping.parameter, org.jboss.remoting.samples.detection.jndi.ssl, org.jboss.messaging.core.impl.message, org.jboss.security.authorization.resources, org.jboss.ejb.plugins.cmp.jdbc2, org.jboss.metadata.ejb.jboss, antlr.collections, org.jboss.security.cache, org.jboss.web.tomcat.service.sso.jbc, javax.enterprise.deploy.model.exceptions, org.hsqldb.rowio, META-INF, org.jboss.mx.remoting.tracker, org.jboss.mx.remoting.provider.rmi, com.arjuna.ats.txoj.tools, org.jboss.security.xacml.core, org.jboss.wsf.spi.metadata.webservices, org.jboss.security.authorization.util, org.quartz.ee.jmx.jboss, org.jboss.ejb3.proxy.objectfactory.session.service, org.hibernate.validator, com.arjuna.ats.internal.arjuna.coordinator, org.apache.commons.collections.keyvalue, com.ibatis.common.resources, org.jboss.security.xacml.sunxacml.attr.proxy, javax.mail.internet, com.arjuna.ats.arjuna.objectstore, org.jboss.ha.framework.interfaces, org.apache.log4j.lf5.config, org.jboss.metadata.annotation.creator.jboss, org.jboss.invocation.pooled.interfaces, javax.xml.ws.handler, org.jboss.ejb3.cache, org.jboss.metadata.ejb.jboss.proxy, com.ibatis.common.logging.jdk14, com.arjuna.ats.internal.jta.resources, org.jboss.remoting.samples.transporter.basic.client, org.quartz.ee.jta, com.ibatis.common.jdbc.exception, org.hibernate.transaction, org.jboss.security.config, com.arjuna.ats.internal.jta.utils.arjunacore, org.jboss.ejb3.proxy.factory.session, org.jboss.ejb3.proxy.clustered.handler.session.stateless, javax.security.auth.message, org.jboss.ejb3.cache.tree, com.edb.xa, org.jboss.remoting.samples.callback.acknowledgement, com.ibatis.common.jdbc.logging, org.jboss.remoting.samples.serialization, org.jboss.hibernate.jmx, com.sun.mail.iap, META-INF.maven.org.jboss.aspects.jboss-current-invocation-aspects, com.ibatis.sqlmap.engine.scope, org.jboss.ejb3.proxy.factory.session.stateless, org.jboss.jms, org.jboss.ejb3.statistics, org.apache.commons.httpclient.params, org.jboss.ejb.plugins.cmp.jdbc.keygen, com.edb.geometric, org.apache.commons.logging.impl, org.hibernate.intercept, com.arjuna.ats.internal.jdbc.recovery, org.quartz.plugins.history, org.jboss.jmx.connector.invoker.serializablepolicy, javax.ejb, org.jboss.ha.singleton, com.sun.mail.imap, org.apache.commons.collections, org.jboss.ejb.plugins.keygenerator, org.hibernate.jdbc, org.jboss.security.audit, org.jboss.wsf.spi.http, com.ibatis.sqlmap.engine.mapping.result.loader, org.jboss.managed.plugins.advice, org.hsqldb.store, org.slf4j.spi, org.jboss.wsf.spi, org.jboss.remoting.samples.transporter.complex.client, org.jboss.jms.recovery, org.jboss.iiop, com.arjuna.ats.internal.jta.transaction.arjunacore.subordinate, org.jboss.ha.jmx.examples, org.jboss.monitor.client, org.jboss.security.xacml.sunxacml.cond.cluster, org.hibernate.secure, org.jboss.metadata, org.jboss.ejb3.tx, org.jboss.security.callbacks, com.arjuna.ats.internal.arjuna.thread, org.quartz.impl.jdbcjobstore.oracle, javax.xml.ws.soap, org.jboss.ejb3.interceptors, org.jboss.wsf.spi.metadata.j2ee, javax.xml.ws.wsaddressing, org.hibernate.cfg, org.jboss.management.j2ee.cluster, org.jboss.security.client, org.jboss.security.plugins.identitytrust, org.jboss.ejb3.interceptors.metadata, org.jboss.ejb3.proxy.handler, org.hibernate.tool.instrument.javassist, org.jboss.ejb3.remoting, org.jboss.metadata.ejb.jboss.jndipolicy.spi, com.arjuna.ats.internal.jta, org.jboss.security.plugins.javaee, com.ibatis.common.logging.jakarta, org.jaxen.saxpath.base, org.jboss.remoting.network.filter, META-INF.maven.org.jboss.ejb3.jboss-ejb3-interceptors, org.apache.commons.httpclient.cookie, org.jboss.remoting.marshal, org.jboss.ejb3.resolvers, org.hibernate.cache.impl, org.jboss.proxy.compiler, org.jboss.jpa.deployment, org.jboss.serial.exception, org.jboss.invocation.unified.server, org.hibernate.id.insert, org.jboss.ejb.plugins.cmp.ejbql, org.jboss.cache.invalidation.bridges, org.jboss.remoting.transport.local, com.arjuna.common.internal.util.logging.jakarta, org.jaxen.dom, com.arjuna.ats.arjuna.gandiva, com.arjuna.ats.arjuna.tools, org.jboss.remoting.marshal.http, bsh.util, org.apache.log4j.lf5.viewer.categoryexplorer, org.jboss.ejb.plugins, org.jboss.ejb.txtimer, org.jboss.serial.references, javax.xml.rpc.handler, org.jboss.ejb3.pool, org.hibernate.hql.ast.util, org.jboss.mx.remoting.connector, org.jboss.security.auth.callback, org.jboss.metadata.annotation.creator.ejb, org.apache.commons.collections.comparators, org.jboss.ejb3.stateless, com.arjuna.ats.internal.jdbc.drivers.modifiers, org.jboss.remoting.samples.detection.jndi, com.arjuna.ats.arjuna.logging, org.jboss.ejb3.interceptors.aop.annotation, org.jboss.ejb3.annotation.impl, org.jboss.ejb3.mdb.inflow, javax.servlet.resources, org.jboss.security.authorization.modules.ejb, org.jboss.proxy, org.jboss.remoting.samples.chat.server, org.jboss.jms.jndi, org.jboss.aspects.txlock, org.jboss.remoting.transport.https, org.quartz.impl.jdbcjobstore.oracle.weblogic, org.jboss.security.xacml.sunxacml.attr, org.jboss.iiop.csiv2, org.jboss.remoting.transport.coyote.ssl, javax.el, org.jaxen.xom, META-INF.maven.org.jboss.ejb3.jboss-ejb3-metadata, com.arjuna.ats.internal.jbossatx.agent, javax.management.j2ee.statistics, META-INF.maven.org.jboss.javaee.jboss-jaspi-api, com.arjuna.ats.internal.arjuna.gandiva.inventory, org.jboss.ejb3.service, org.jboss.remoting.samples.chat.client, org.jboss.metadata.validation.validator.ejb, org.hibernate.ejb.util, org.hibernate.ejb, org.jboss.security.plugins.auth, org.hibernate.dialect.function, org.jboss.invocation.http.interfaces, com.arjuna.ats.arjuna.recovery, org.quartz.impl.jdbcjobstore, schema, org.jboss.messaging.core.impl.postoffice, org.jboss.security.authorization, org.jboss.ejb3.cache.simple, META-INF.maven.org.jboss.ejb3.jboss-ejb3-core, org.jboss.ejb3.interceptors.annotation.impl, org.jboss.monitor.services, org.jboss.profileservice.spi, org.jboss.remoting.socketfactory, org.jboss.profileservice.spi.types, org.apache.commons.collections.list, org.jboss.tm.iiop, com.arjuna.ats.arjuna.common, org.jboss.jms.server.recovery, org.hibernate.annotations.common.reflection.java.generics, antlr.actions.java, com.ibatis.sqlmap.engine.exchange, org.jboss.resource.deployment, org.jboss.annotation.ear, com.ibatis.sqlmap.engine.mapping.sql.simple, META-INF.maven.org.jboss.naming.jnpserver, org.jboss.ha.jndi.impl.jbc, org.hibernate.dialect.lock, org.jboss.remoting.transport.coyote, org.apache.commons.httpclient.auth, org.hibernate.proxy.dom4j, org.hibernate.pretty, javax.annotation, org.jboss.remoting.transport.multiplex.utility, javax.xml.ws.handler.soap, org.hibernate.util, javax.resource, org.jaxen.dom4j, org.jboss.jms.tx, org.jboss.remoting.util.socket, org.jboss.jmx.connector.invoker.client, META-INF.maven.org.jboss.slf4j.slf4j-jboss-logging, org.jboss.wsf.spi.management.recording, META-INF.maven.org.jboss.ws.native.jbossws-native-jaxws, com.arjuna.ats.internal.arjuna.state, org.jboss.jpa.deployers, org.hibernate.proxy.pojo.cglib, com.sun.mail.pop3, org.jboss.proxy.ejb, org.jboss.messaging.core.impl.memory, org.jboss.remoting.samples.transporter.custom.client, org.jboss.security.javaee, org.apache.log4j.ext, org.apache.bcel.verifier.statics, org.jboss.jms.client.container, org.jboss.metadata.rar.spec, org.slf4j, org.apache.bsf.util.event, com.arjuna.common.internal.util.logging, META-INF.maven.org.jboss.ejb3.jboss-ejb3-transactions, org.jboss.remoting.samples.transporter.serialization.client, org.jboss.serial.objectmetamodel.safecloning, org.hibernate.ejb.packaging, org.jboss.ejb3.proxy.clustered.objectfactory.session, javax.persistence.spi, bsh.classpath, com.arjuna.ats.tsmx, org.jboss.ejb.plugins.cmp.bridge, org.jboss.resource.metadata.repository, com.arjuna.ats.tsmx.logging, org.jboss.cache.invalidation, org.jboss.profileservice.aop, org.hibernate.cache.impl.bridge, org.jboss.remoting.network, org.jboss.ejb3.cache.impl, org.jboss.ejb3.naming.client.java, org.jboss.ha.jmx, org.apache.commons.httpclient.util, org.jboss.monitor.alarm, dtd, com.ibatis.sqlmap.client, com.ibatis.sqlmap.engine.mapping.sql, META-INF.maven.org.jboss.aspects.jboss-transaction-aspects, org.jboss.metadata.annotation.creator.web, org.jboss.jms.destination, org.jboss.remoting.samples.chat.exceptions, org.jboss.web.deployers, org.jboss.ejb.plugins.security, org.jboss.tm.usertx.interfaces, com.edb.ssl, org.jboss.wsf.common.handler, org.jboss.ejb3.proxy.container, com.ibatis.common.logging, javax.servlet.jsp.el, META-INF.maven.org.jboss.ws.jbossws-spi, org.jboss.remoting.marshal.encryption, org.jboss.ejb3.entity, org.jboss.security.microcontainer.beans, org.jboss.jms.server.jbosssx, org.jboss.jms.client, org.apache.log4j.jmx, org.jboss.ejb.plugins.inflow, org.jboss.ejb3.security.client, org.jboss.ha.framework.server, org.apache.log4j.config, org.jboss.profileservice.spi.repository, org.jboss.serial, org.hibernate.tuple.entity, javax.xml.ws.addressing, org.jboss.tm.usertx.server, org.jboss.resource.adapter.jdbc.jdk5, org.jboss.remoting.marshal.compress, org.jboss.security.annotation, META-INF.maven.org.jboss.ejb3.jboss-ejb3-deployers, com.arjuna.ats.internal.jta.transaction.arjunacore.jca, org.jboss.metadata.ear.jboss, org.jboss.injection, com.ibatis.sqlmap.engine.transaction.jta, com.arjuna.ats.jta.exceptions, org.jboss.jms.message, org.jboss.serial.persister, org.hibernate.hql.classic, org.jboss.remoting.util, org.quartz.jobs.ee.ejb, org.jboss.remoting.callback, org.jboss.remoting.samples.transporter.simple, org.jboss.resource.statistic.pool, com.arjuna.ats.jta.logging, com.ibatis.sqlmap.engine.transaction.external, com.ibatis.sqlmap.engine.cache, org.hibernate.criterion, javax.transaction, javax.xml.soap, org.jboss.security.xacml.core.model.context, org.jboss.remoting.marshal.rmi, org.jboss.invocation.jrmp.interfaces, org.jboss.security.jacc, org.apache.log4j, org.jboss.ejb3.proxy.clustered.objectfactory, org.hibernate.tool.instrument, org.jboss.remoting.samples.transporter.basic.server, org.jboss.ejb3.annotation.defaults, org.jboss.iiop.rmi, org.jboss.mq.server.jmx, org.jboss.metadata.ear.spec, org.jboss.security.plugins, org.jboss.ejb3.proxy.impl, org.apache.commons.collections.bag, org.apache.log4j.chainsaw, org.opennms.protocols.snmp, org.jboss.deployment.spi.factories, org.jboss.security.mapping.config, org.jboss.aspects.remoting.interceptors.transport, com.ibatis.sqlmap.engine.builder.xml, org.jboss.serial.classmetamodel, com.arjuna.ats.internal.arjuna.recovery, org.jboss.security.identity.plugins, org.apache.bsf.util.event.generator, org.apache.bcel, org.jboss.remoting.transport.http, org.jboss.tm.usertx, org.jboss.remoting.marshall.encryption, org.jboss.security.auth.message, org.hibernate.loader.hql, org.jboss.security.identity.extensions, META-INF.maven.org.jboss.ejb3.jboss-ejb3-common, javax.mail.search, org.jboss.security.auth.container.modules, org.hibernate.metadata, org.jboss.metadata.web.spec, org.jboss.deployment.spi, org.jboss.security.authorization.config, org.jboss.iiop.tm, org.jboss.ejb3.interceptors.util, org.jboss.wsf.framework.deployment, org.jboss.ejb3.asynchronous, org.hibernate.property, org.jboss.remoting.samples.stream, javax.management.j2ee, org.jboss.util, org.jboss.mx.remoting.rmi, org.jboss.deployment.remoting, org.jnp.interfaces.jnp, org.hibernate.collection, org.jboss.management.j2ee.factory, com.ibatis.common.util, org.hibernate.exception, org.jboss.wsf.spi.tools.cmd, org.jboss.naming.client.java, com.sun.mail.util, org.hibernate.param, META-INF.maven.org.jboss.ejb3.jboss-ejb3-proxy, org.jboss.metadata.rar.jboss.mcf, org.jboss.wsf.spi.invocation.integration, com.arjuna.ats.arjuna.xa, org.jboss.jms.server.plugin, org.jboss.ejb.plugins.cmp.jdbc2.keygen, org.jboss.wsf.common.servlet, javax.servlet.jsp.resources, org.jboss.security.plugins.mapping, org.jboss.hibernate.session, org.jboss.remoting.transport.sslbisocket, com.sun.mail.imap.protocol, org.jboss.ejb3.timerservice.quartz.jmx, com.edb.jdbc2.optional, META-INF.maven.org.jboss.aspects.jboss-security-aspects, org.jboss.remoting.transport, org.jboss.jpa.spi, com.arjuna.ats.internal.arjuna.utils, org.apache.bcel.classfile, org.jboss.ejb3.stateful, antlr.ASdebug, org.jboss.metadata.client.jboss, org.hibernate.tool.hbm2ddl, org.jboss.jms.referenceable, com.arjuna.ats.arjuna.exceptions, org.hibernate.loader.custom.sql, org.jboss.remoting.samples.callback, com.arjuna.ats.internal.arjuna.objectstore.jdbc.accessors, org.jboss.ws.tools.ant, org.hsqldb.types, org.jboss.iiop.codebase, META-INF.maven.org.hibernate.hibernate-jmx, org.jboss.security.xacml.factories, org.apache.bcel.verifier, com.ibatis.sqlmap.engine.transaction, org.apache.commons.httpclient, com.arjuna.ats.jdbc.logging, org.jboss.ejb.plugins.cmp.jdbc2.bridge, org.jaxen.saxpath, antlr.debug, com.arjuna.common.util.propertyservice.plugins, org.jboss.metadata.process.chain, antlr.actions.csharp, org.jboss.remoting.security.domain, org.jboss.security.xacml.sunxacml.finder, org.jboss.ejb3.proxy.remoting, org.jboss.ejb.plugins.cmp.jdbc.bridge, org.jboss.iiop.rmi.ir, org.jboss.jms.server.selector, org.jboss.ejb3.proxy.handler.stateful, org.hibernate.annotations.common.annotationfactory, org.jboss.ejb3.security.bridge, org.jboss.security.audit.config, org.jboss.remoting.transport.http.ssl, org.jboss.deployment.plugin, org.jboss.security.xacml.core.model.policy, org.apache.log4j.net, org.jboss.ejb3.tx.metadata, org.jboss.security.auth.certs, antlr.actions.cpp, org.jboss.metadata.ejb.jboss.jndipolicy.plugins, org.jboss.resource.metadata.mcf, licenses, com.ibatis.sqlmap.engine.config, org.hibernate.event, org.jboss.metadata.common.ejb, org.jaxen.function.xslt, javax.resource.spi.endpoint, javax.resource.spi.security, org.hibernate.cfg.annotations, META-INF.maven.org.jboss.cluster.jboss-ha-server-cache-spi, org.jboss.wsf.framework.management, org.jboss.ejb3.cache.grouped, org.jboss.metadata.javaee.support, org.jboss.ejb3.session, org.jboss.ejb3.proxy.handler.session.stateless, org.jboss.remoting.transport.socket, org.quartz.ee.servlet, com.arjuna.ats.jta, org.jboss.profileservice.remoting, javax.xml.rpc.encoding, javax.enterprise.deploy.spi.factories, org.jboss.security.audit.providers, javax.annotation.security, org.jboss.remoting.transport.sslmultiplex, org.jboss.varia.scheduler, com.ibatis.sqlmap.engine.mapping.sql.dynamic, org.jboss.logging, org.jboss.metadata.javaee.spec, org.jboss.jdbc, com.arjuna.ats.internal.jdbc, com.ibatis.common.io] <IMPORT-ALL>NON_EMPTY}}
    at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:385)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:123)
    at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:84)
    at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137)
    at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:79)
    at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:448)
    at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89)
    at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325)
    at ws.RobinWebService.getRobinTest(RobinWebService.java:71)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Unknown Source)
    16:56:55,319 ERROR [STDERR] Failed to create sessionFactory object.org.hibernate.HibernateException: JDBC Driver class not found: oracle.jdbc.OracleDriver
    16:58:29,557 INFO [STDOUT] hello
    16:58:29,557 INFO [Configuration] configuring from resource: support/oracle.hibernate.cfg.xml
    16:58:29,557 INFO [Configuration] Configuration resource: support/oracle.hibernate.cfg.xml
    16:58:30,116 INFO [Configuration] Reading mappings from resource : support/Centres.hbm.xml
    16:58:30,116 INFO [HbmBinder] Mapping class: ws.Centres -> CENTRE_DETAIL
    16:58:30,116 INFO [Configuration] Reading mappings from resource : support/RobinTest.hbm.xml
    16:58:30,116 INFO [HbmBinder] Mapping class: ws.RobinTest -> ROBIN_TEST
    16:58:30,116 INFO [Configuration] Configured SessionFactory: null
    16:58:30,116 INFO [DriverManagerConnectionProvider] Using Hibernate built-in connection pool (not for production use!)
    16:58:30,116 INFO [DriverManagerConnectionProvider] Hibernate connection pool size: 1
    16:58:30,116 INFO [DriverManagerConnectionProvider] autocommit mode: false
    16:58:30,131 ERROR [DriverManagerConnectionProvider] JDBC Driver class not found: oracle.jdbc.OracleDriver
    java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver from BaseClassLoader@1652e61{VFSClassLoaderPolicy@1c7eb33{name=vfsfile:/C:/Jboss/jboss-5.0.0.GA/server/default/conf/jboss-service.xml domain=ClassLoaderDomain@9fe84e{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.system.NoAnnotationURLClassLoader@a97b0b} roots=[MemoryContextHandler@2254409[path= context=vfsmemory://4shc4f-nlo6vf-hjk3qb83-1-hjk3qewj-6 real=vfsmemory://4shc4f-nlo6vf-hjk3qb83-1-hjk3qewj-6], DelegatingHandler@6903079[path=antlr.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/antlr.jar], DelegatingHandler@22387624[path=autonumber-plugin.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/autonumber-plugin.jar], DelegatingHandler@22963857[path=bcel.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/bcel.jar], DelegatingHandler@10479206[path=bsf.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/bsf.jar], DelegatingHandler@30371681[path=bsh.jar context=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/ real=file:/C:/Jboss/jboss-5.0.0.GA/common/lib/bsh.jar], DelegatingHandler@26839239[path=commons

    You have to put the path of the driver jar file on server.xml file. If you open up the server.xml file inside the config directory of the appserver instance you will find all the paths are added to <java-config java-home = tag. So place the path in this place. Then there should not be any problem getting the driver.
    Thanks

  • Could not create a new connection in STRUTS

    Hi,
    I have done a application in STRUTS using JBOSS as application server, IDE myeclipse, database is MYSQL, current while executing the application at the time of connecting the database it is giving the error as 'could not create a connection ; nested throwable i have given below the server console message can anybody help in this regard to solve this issue.
    Thanks
    12:37:14,950 INFO  [Server] Starting JBoss (MX MicroKernel)...
    12:37:14,966 INFO  [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)
    12:37:14,981 INFO  [Server] Home Dir: F:\vln\jboss-4.0.3
    12:37:14,981 INFO  [Server] Home URL: file:/F:/vln/jboss-4.0.3/
    12:37:14,981 INFO  [Server] Patch URL: null
    12:37:14,981 INFO  [Server] Server Name: default
    12:37:14,981 INFO  [Server] Server Home Dir: F:\vln\jboss-4.0.3\server\default
    12:37:14,981 INFO  [Server] Server Home URL: file:/F:/vln/jboss-4.0.3/server/default/
    12:37:14,981 INFO  [Server] Server Temp Dir: F:\vln\jboss-4.0.3\server\default\tmp
    12:37:14,981 INFO  [Server] Root Deployment Filename: jboss-service.xml
    12:37:15,809 INFO  [ServerInfo] Java version: 1.5.0_05,Sun Microsystems Inc.
    12:37:15,809 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_05-b05,Sun Microsystems Inc.
    12:37:15,809 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
    12:37:16,919 INFO  [Server] Core system initialized
    12:37:19,591 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
    12:37:50,544 INFO  [EJB3Deployer] Default persistence.properties: {hibernate.transaction.flush_before_completion=false, hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, hibernate.transaction.auto_close_session=false, hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider, hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, hibernate.dialect=org.hibernate.dialect.HSQLDialect, hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory, hibernate.hbm2ddl.auto=create-drop, hibernate.connection.datasource=java:/DefaultDS, hibernate.connection.release_mode=after_statement}
    12:37:50,653 INFO  [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://169.254.109.142:3873/0.0.0.0:3873]
    12:38:23,387 INFO  [AspectDeployer] Deployed AOP: file:/F:/vln/jboss-4.0.3/server/default/deploy/ejb3-interceptors-aop.xml
    12:38:43,294 INFO  [WebService] Using RMI server codebase: http://madhu:8083/
    12:38:44,981 INFO  [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=64;loopback=false;mcast_addr=228.1.2.3;mcast_port=45551;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
    12:38:45,059 INFO  [TreeCache] setEvictionPolicyConfig(): [config: null]
    12:38:45,091 WARN  [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used
    12:38:45,169 INFO  [TreeCache] interceptor chain is:
    class org.jboss.cache.interceptors.CallInterceptor
    class org.jboss.cache.interceptors.LockInterceptor
    class org.jboss.cache.interceptors.CacheLoaderInterceptor
    class org.jboss.cache.interceptors.UnlockInterceptor
    class org.jboss.cache.interceptors.ReplicationInterceptor
    class org.jboss.cache.interceptors.CacheStoreInterceptor
    12:38:45,419 INFO  [TreeCache] cache mode is REPL_SYNC
    12:38:46,559 INFO  [STDOUT]
    GMS: address is MADHU:1860
    12:38:48,606 INFO  [TreeCache] state could not be retrieved (must be first member in group)
    12:38:48,606 INFO  [LRUPolicy] Starting eviction policy using the provider: org.jboss.ejb3.cache.tree.StatefulEvictionPolicy
    12:38:48,606 INFO  [LRUPolicy] Starting a eviction timer with wake up interval of (secs) 1
    12:38:48,606 INFO  [TreeCache] new cache is null (maybe first member in cluster)
    12:38:48,637 INFO  [TreeCache] viewAccepted(): new members: [MADHU:1860]
    12:38:48,934 INFO  [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=2;loopback=false;mcast_addr=228.1.2.3;mcast_port=43333;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
    12:38:48,966 INFO  [TreeCache] setEvictionPolicyConfig(): [config: null]
    12:38:58,528 INFO  [MailService] Mail Service bound to java:/Mail
    12:39:04,981 INFO  [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
    12:39:05,106 INFO  [DefaultPartition] Initializing
    12:39:05,200 INFO  [STDOUT]
    GMS: address is MADHU:2004 (additional data: 20 bytes)
    12:39:07,216 INFO  [DefaultPartition] Number of cluster members: 1
    12:39:07,216 INFO  [DefaultPartition] Other members: 0
    12:39:07,216 INFO  [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
    12:39:07,512 INFO  [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/0.0.0.0
    12:39:07,528 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=169.254.109.142:1100
    12:39:09,591 INFO  [TreeCache] interceptor chain is:
    class org.jboss.cache.interceptors.CallInterceptor
    class org.jboss.cache.interceptors.LockInterceptor
    class org.jboss.cache.interceptors.UnlockInterceptor
    class org.jboss.cache.interceptors.ReplicationInterceptor
    12:39:09,606 INFO  [TreeCache] cache mode is REPL_SYNC
    12:39:09,653 INFO  [STDOUT]
    GMS: address is MADHU:2034
    12:39:11,669 INFO  [TreeCache] state could not be retrieved (must be first member in group)
    12:39:11,669 INFO  [LRUPolicy] Starting eviction policy using the provider: org.jboss.cache.eviction.LRUPolicy
    12:39:11,669 INFO  [LRUPolicy] Starting a eviction timer with wake up interval of (secs) 5
    12:39:11,669 INFO  [TreeCache] viewAccepted(): new members: [MADHU:2034]
    12:39:11,669 INFO  [TreeCache] new cache is null (maybe first member in cluster)
    12:39:18,497 INFO  [Embedded] Catalina naming disabled
    12:39:21,294 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
    12:39:21,309 INFO  [Catalina] Initialization processed in 2656 ms
    12:39:21,309 INFO  [StandardService] Starting service jboss.web
    12:39:21,325 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5
    12:39:21,512 INFO  [StandardHost] XML validation disabled
    12:39:21,637 INFO  [Catalina] Server startup in 328 ms
    12:39:23,200 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
    12:40:12,434 INFO  [WebappLoader] Dual registration of jndi stream handler: factory already defined
    12:40:16,966 INFO  [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=.../tmp/deploy/tmp44694jboss-ws4ee-exp.war/
    12:40:17,481 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
    12:40:17,856 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
    12:40:18,450 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
    12:40:23,731 INFO  [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=8;loopback=false;mcast_addr=230.1.2.7;mcast_port=45577;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_thread=true)
    12:40:23,747 INFO  [TreeCache] interceptor chain is:
    class org.jboss.cache.interceptors.CallInterceptor
    class org.jboss.cache.interceptors.LockInterceptor
    class org.jboss.cache.interceptors.UnlockInterceptor
    class org.jboss.cache.interceptors.ReplicationInterceptor
    12:40:23,747 INFO  [TreeCache] cache mode is REPL_ASYNC
    12:40:24,184 INFO  [STDOUT]
    GMS: address is MADHU:2576
    12:40:26,184 INFO  [TreeCache] viewAccepted(): new members: [MADHU:2576]
    12:40:26,184 INFO  [TreeCache] new cache is null (maybe first member in cluster)
    12:40:26,184 INFO  [TreeCache] state could not be retrieved (must be first member in group)
    12:40:27,794 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
    12:40:28,231 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
    12:40:28,559 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
    12:40:28,934 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
    12:40:29,325 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
    12:40:29,762 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
    12:40:34,544 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
    12:40:36,762 INFO  [A] Bound to JNDI name: queue/A
    12:40:36,778 INFO  Bound to JNDI name: queue/B
    12:40:36,778 INFO [C] Bound to JNDI name: queue/C
    12:40:36,778 INFO [D] Bound to JNDI name: queue/D
    12:40:36,778 INFO [ex] Bound to JNDI name: queue/ex
    12:40:36,856 INFO [testTopic] Bound to JNDI name: topic/testTopic
    12:40:36,872 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
    12:40:36,872 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
    12:40:36,872 INFO [testQueue] Bound to JNDI name: queue/testQueue
    12:40:37,044 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
    12:40:37,200 INFO [DLQ] Bound to JNDI name: queue/DLQ
    12:40:37,903 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
    12:40:38,262 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MySqlDS' to JNDI name 'java:MySqlDS'
    12:40:38,512 INFO [TomcatDeployer] deploy, ctxPath=/EIISWEB, warUrl=.../deploy/EIISWEB.war/
    12:40:39,622 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    12:40:39,637 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    12:40:40,731 INFO [PropertyMessageResources] Initializing, config='com.lsil.struts.ApplicationResources', returnNull=true
    12:40:40,747 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    12:40:40,856 INFO [PropertyMessageResources] Initializing, config='com.lsil.struts.ApplicationResources', returnNull=true
    12:40:41,106 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
    12:40:41,700 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
    12:40:42,216 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
    12:40:42,356 INFO [JkMain] Jk running ID=0 time=0/234 config=null
    12:40:42,372 INFO [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)] Started in 3m:27s:391ms
    12:41:21,684 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:21,700 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    12:41:21,731 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:21,809 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:21,809 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:21,825 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:21,825 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true
    12:41:21,919 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:31,262 INFO [STDOUT] In ServiceLocator: creating datasource
    12:41:31,262 INFO [STDOUT] Referencejava:MySqlDS
    12:41:31,262 INFO [STDOUT] [email protected]9
    12:41:31,419 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
    org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost:3306/eis)
         at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:164)
         at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:519)
         at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:208)
         at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:529)
         at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:410)
         at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:342)
         at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:462)
         at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:894)
         at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:73)
         at com.lsil.eiis.validator.main.common.QueryManager.getInfo(QueryManager.java:65)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.lsil.eiis.utility.XMLDTHttpServlet.getInfo(XMLDTHttpServlet.java:186)
         at com.lsil.eiis.utility.XMLDTHttpServlet.doGet(XMLDTHttpServlet.java:44)
         at com.lsil.eiis.utility.XMLDTHttpServlet.doPost(XMLDTHttpServlet.java:121)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost:3306/eis
         at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getDriver(LocalManagedConnectionFactory.java:291)
         at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:153)
         ... 37 more
    12:41:32,403 INFO [STDOUT] Help XML:<Data><Record><RESULT>Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost:3306/eis); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost:3306/eis))</RESULT></Record></Data>

    Hi Abhshek,
    Please go through the link:Error in Seeburger SFTP : Cannot create pending keystore PENDING/SSH_hosts
    Also check certificate expiry date. Take help of basis team so that they could be able to assist you regarding this.
    Regards,
    Naveen

  • Querying objects not in the NamedCache

    The wiki topic on querying (http://wiki.tangosol.com/display/COH32UG/Querying+the+Cache ) points out that a query will "apply only to currently cached data".
         This seems fairly logical because it seems unreasonable to expect the cache to hold onto information that it has already evicted.
         If you were to design a DAO layer (following http://wiki.tangosol.com/display/COH32UG/Managing+an+Object+Model ) using the first of the following architectures:
         1. Direct Cache access:
         App <---> NamedCache <---> CacheStore <---> DB
         2. Direct Cache and DB-DAO access:
         App
         |
         CacheAwareDAO <---> CacheStore <---> DB
         |
         NamedCache
         |
         CacheStore
         |
         DB
         you would then have a situation where you would not be able to query evicted data.
         So by using the 2nd strategy I assume you would probably always want to bypass the cache for all queries other than by primary key, to ensure that you are always querying the entire persistent population.
         This seems a little coarse grained and also reduces the utility of the Coherence cache (unless the bulk of your queries are by primary key).
         Can anybody tell me if my assumption is wrong and if there are any usage strategies the mitigate this aspect?
         Thx,
         Ben

    Hi Rob,     >
         > Why would you need 2 separate caches?
         the first cache would have eviction policy, and caches values, but does not have indexes
         the second would not have eviction, does not store data, but has index updates on changes.
         This way you have a fully indexed but not stored data-set, similarly to the difference between stored and indexed attributes Lucene.
         > Why not just
         > maintain a index within each cache so that every
         > entry causes the index to get updated inline (i.e.
         > synchronously within the call putting the data into
         > the cache)?
         >
         You cannot manually maintain an index, because that is not a configurable extension point (it is not documented how an index should be updated manually). You have to rely on Coherence to do it for you upon changes to entries in the owned partitions.
         And since Coherence code does remove index references to evicted or removed data, therefore the index would not know about the non-cached data.
         Or did I misunderstood on how you imagine the indexes to be maintained? Did you envision an index separate from what Coherence has?
         > (You may have to change Coherence to do this.....)
         Changing Coherence was exactly what I was trying to avoid. I tried to come up with things within the specified extension points, and the allowed things, although it might be possible that I still did not manage to remain within the allowed set of operations.
         Of course, if changing Coherence is allowed, allowing an option of filtering index changes to non-eviction events is probably the optimal solution.
         > And I don't think that the write-behind issue would
         > be a problem, as the current state cache of the cache
         > (and it's corresponding index) reflects the future
         > state of the backing store (which accordingly to
         > Coherence's resilience guarantee will definitely
         > occur).
         >
         The index on the second cache in the write-behind scenario would be out-of-synch only if the second cache is updated by invocations to the cache-store of the first cache. If it is updated upon changes to the backing map, then it won't. Obviously if you don't have 2 caches, but only one, it cannot be out-of-synch.
         > So you would have a situation where cache evictions
         > occur regularly but the index just overflows to disk
         > in such a fashion that relevant portions of it can be
         > recalled in an intelligent fashion, leveraging some
         > locality of reference for example.
         >
         I don't really see, how this could be done. AFAIK, all the indexes Coherence has are maintained in memory and does not overflow to disk, but I may be wrong on this, but again, I may have misunderstood what you refer on index handling.
         > a) you leverage locality of reference by using as
         > much keyed data access as possible
         > b) have Coherence do the through-reading
         > c) use database DAO for range querying
         > d) if you were to use Hibernate for (c), you might be
         > able to double dip by using Coherence as an L2 cache.
         > (I don't know if this unecessarily duplicates cached
         > data....)
         >
         > Any thoughts on this?
         a: if you know ids on your own, then this is the optimal solution, provided cache hit rates can be driven high enough. if you have to query for ids, the latency might be too high.
         b: read-through can become suboptimal, since AFAIK, currently the cache store reads all rows one by one, only read-ahead uses loadAll, but I may be wrong on this. Loading from database can be optimized for multiple id loading as well, to be faster than the same via cache store. So it is very important that the cache hit rate be very high for performance-relevant data in case of read-through.
         c: use database dao for complex querying, possibly almost anything more complex than straight top-down queries. make performance tests for both solutions, try to rely on partition affinity, and try to come up with data structures that help with making indexes which can be queried with as few queries as possible, and with not too high index access count.
         d: you cannot query by Coherence on Hibernate second-level cache, as Hibernate second-level caches do not contain structured data, but contain byte[][]s or byte[], holding the column values serialized to it (separately or the same byte[], I don't remember which).
         Best regards,
         Robert

Maybe you are looking for