glassfish
  1. glassfish
  2. GLASSFISH-18898

Unable to deploy SpecjEnterprise 2010 application

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Invalid
    • Affects Version/s: 4.0_b39
    • Fix Version/s: None
    • Component/s: entity-persistence
    • Labels:
      None

      Description

      From build b39 onwards, deploying specj 2010 application fails with following warning messages & exceptions. This blocks us from doing specj performance benchmarking.

      [#|2012-07-13T02:41:14.792-0700|INFO|44.0|org.eclipse.persistence.session.file:/export/appservers/glassfishv3/glassfish/domains/specjent2010/applications/specj/specj_jar/_Order|_ThreadID=58;_Thread
      Name=Thread-2;|EclipseLink, version: Eclipse Persistence Services - 2.5.0.v20120704-r11776|#]

      [#|2012-07-13T02:41:24.100-0700|WARNING|44.0|org.eclipse.persistence.session.file:/export/appservers/glassfishv3/glassfish/domains/specjent2010/applications/specj/specj_jar/_Order.server|_ThreadID=
      58;ThreadName=Thread-2;|Problem while unregistering MBean: javax.management.InstanceNotFoundException: TopLink:Name=Development-file/export/appservers/glassfishv3/glassfish/domains/specjent2010/a
      pplications/specj/specj_jar/_Order,Type=Configuration|#]

      [#|2012-07-13T02:41:24.100-0700|WARNING|44.0|org.eclipse.persistence.session.file:/export/appservers/glassfishv3/glassfish/domains/specjent2010/applications/specj/specj_jar/_Order.server|_ThreadID=
      58;ThreadName=Thread-2;|Problem while unregistering MBean: javax.management.InstanceNotFoundException: TopLink:Name=Session(file/export/appservers/glassfishv3/glassfish/domains/specjent2010/appli
      cations/specj/specj_jar/_Order)|#]

      [#|2012-07-13T02:41:24.101-0700|INFO|44.0|org.eclipse.persistence.session.file:/export/appservers/glassfishv3/glassfish/domains/specjent2010/applications/specj/specj_jar/_Order.connection|_ThreadID
      =58;_ThreadName=Thread-2;|file:/export/appservers/glassfishv3/glassfish/domains/specjent2010/applications/specj/specj_jar/_Order logout successful|#]

      [#|2012-07-13T02:41:24.111-0700|SEVERE|44.0|org.eclipse.persistence.session.file:/export/appservers/glassfishv3/glassfish/domains/specjent2010/applications/specj/specj_jar/_Order.ejb|ThreadID=58;
      ThreadName=Thread-2;|Local Exception Stack:

      Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.0.v20120704-r11776): org.eclipse.persistence.exceptions.JPQLException
      Exception Description: Problem compiling [SELECT i FROM Item i WHERE i.category=:category ORDER BY i.id"].
      [59, 64] The state field path 'i.id"' cannot be resolved to a valid type.
      at org.eclipse.persistence.internal.jpa.jpql.HermesParser.buildException(HermesParser.java:150)
      at org.eclipse.persistence.internal.jpa.jpql.HermesParser.validate(HermesParser.java:339)
      at org.eclipse.persistence.internal.jpa.jpql.HermesParser.populateQueryImp(HermesParser.java:270)
      at org.eclipse.persistence.internal.jpa.jpql.HermesParser.buildQuery(HermesParser.java:157)
      at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:138)
      at org.eclipse.persistence.internal.jpa.JPAQuery.processJPQLQuery(JPAQuery.java:108)
      at org.eclipse.persistence.internal.jpa.JPAQuery.prepare(JPAQuery.java:92)
      at org.eclipse.persistence.queries.DatabaseQuery.checkPrepare(DatabaseQuery.java:614)
      at org.eclipse.persistence.queries.DatabaseQuery.checkPrepare(DatabaseQuery.java:575)
      at org.eclipse.persistence.internal.sessions.AbstractSession.processJPAQueries(AbstractSession.java:2244)
      at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:540)
      at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.postConnectDatasource(DatabaseSessionImpl.java:777)
      at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:722)
      at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:213)
      at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:542)
      at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:186)
      at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:278)
      at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:305)
      at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:283)
      at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:211)
      at org.glassfish.persistence.jpa.PersistenceUnitLoader.<init>(PersistenceUnitLoader.java:120)
      at org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:222)
      at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:493)
      at org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:231)
      at org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:166)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:912)
      at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:288)
      at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:86)
      at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:138)
      at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:135)
      at org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:213)
      at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:222)
      at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:248)
      at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:135)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:912)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:426)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:231)
      at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:416)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:496)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:517)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1412)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:111)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1682)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1645)
      at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:592)
      at com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:240)
      at org.glassfish.grizzly.http.server.StaticHttpHandler.service(StaticHttpHandler.java:298)

      at com.sun.enterprise.v3.server.HK2Dispatcher.dispatch(HK2Dispatcher.java:113)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:236)
      at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:164)
      at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:169)
      at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
      at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
      at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:815)
      at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:567)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:547)
      at java.lang.Thread.run(Thread.java:722)

      #]

      [#|2012-07-13T02:41:24.113-0700|SEVERE|44.0|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=58;_ThreadName=Thread-2;|Exception while invoking class org.glassfish.persistence.jpa
      .JPADeployer prepare method|#]

      [#|2012-07-13T02:41:24.114-0700|SEVERE|44.0|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=58;_ThreadName=Thread-2;|Exception while invoking class org.glassfish.javaee.full.dep
      loyment.EarDeployer prepare method|#]

        Activity

        Hide
        amitagarwal added a comment -

        Install latest Glassfish and execute following commands to reproduce this issue. Modify commands as per your environment/Glassfish install location,

        /export/appservers/glassfishv3/glassfish/bin/asadmin delete-domain specjent2010
        rm -r /export/appservers/glassfishv3/glassfish/domains/specjent2010
        'echo AS_ADMIN_PASSWORD=adminadmin > /export/appservers/glassfishv3/glassfish/passwordfile'
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-domain --adminport 4848 specjent2010
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile start-domain specjent2010

        #provide correct details of your database setup
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jdbc-connection-pool --datasourceclassname oracle.jdbc.pool.OracleDataSource --steadypoolsize 200 --maxpoolsize 200 --property User='specent:Password=specent:URL=\"jdbc:oracle:thin:@perf-x4200-5:1521:benchdb\"' specjpool

        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.resources.jdbc-connection-pool.specjpool.property.ImplicitCachingEnabled=true
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.resources.jdbc-connection-pool.specjpool.property.MaxStatements=200
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jdbc-resource --connectionpoolid specjpool jdbc/SPECjLoaderDS
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jdbc-resource --connectionpoolid specjpool jdbc/SPECjOrderDS
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jdbc-resource --connectionpoolid specjpool jdbc/SPECjMfgDS
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jdbc-resource --connectionpoolid specjpool jdbc/SPECjSupplierDS
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-module-config transaction-service
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.transaction-service.property.db-logging-resource=jdbc/SPECjMfgDS
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.network-config.network-listeners.network-listener.http-listener-1.port=8080
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.thread-pools.thread-pool.http-thread-pool.max-thread-pool-size=40
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.thread-pools.thread-pool.http-thread-pool.min-thread-pool-size=40
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.network-config.transports.transport.tcp.acceptor-threads=2
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.network-config.protocols.protocol.http-listener-1.http.max-connections=310000
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.thread-pools.thread-pool.http-thread-pool.max-queue-size=310000
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.network-config.transports.transport.tcp.max-connections-count=310000
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.network-config.protocols.protocol.http-listener-1.http.timeout-seconds=-1
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.http-service.access-logging-enabled=false
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.network-config.protocols.protocol.http-listener-1.http.xpowered-by=false
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.iiop-service.iiop-listener.orb-listener-1.port=3700
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.thread-pools.thread-pool.thread-pool-1.max_thread_pool_size=40
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.thread-pools.thread-pool.thread-pool-1.min_thread_pool_size=40
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-module-config ejb-container
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.ejb-container.steady_pool_size=60
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.ejb-container.max_pool_size=60
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.ejb-container.max_cache_size=1
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-module-config mdb-container
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.mdb-container.max_pool_size=45
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.mdb-container.steady_pool_size=45
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.QueueConnectionFactory jms/WorkOrderQueueConnectionFactory
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.QueueConnectionFactory jms/FulfillOrderQueueConnectionFactory
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.QueueConnectionFactory jms/LargeOrderQueueConnectionFactory
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.QueueConnectionFactory jms/ReceiveQueueConnectionFactory
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.QueueConnectionFactory jms/BuyerQueueConnectionFactory
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.QueueConnectionFactory jms/PurchaseQueueConnectionFactory
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.QueueConnectionFactory jms/LoaderQueueConnectionFactory
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.Queue --property imqDestinationName=BuyerQueue jms/BuyerQueue
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.Queue --property imqDestinationName=FulfillOrderQueue jms/FulfillOrderQueue
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.Queue --property imqDestinationName=LargeOrderQueue jms/LargeOrderQueue
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.Queue --property imqDestinationName=ReceiveQueue jms/ReceiveQueue
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.Queue --property imqDestinationName=WorkOrderQueue jms/WorkOrderQueue
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.Queue --property imqDestinationName=LoaderStatusQueue jms/LoaderStatusQueue
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.Queue --property imqDestinationName=LoaderQueue jms/LoaderQueue
        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.Queue --property imqDestinationName=PurchaseOrderQueue jms/PurchaseOrderQueue

        /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 deploy --name specj /net/alacrity/export/multicomplex/workload/workload/benchmarks/specjent2010/target/jar/specj.ear

        Last command deploys the specj.ear file.

        Show
        amitagarwal added a comment - Install latest Glassfish and execute following commands to reproduce this issue. Modify commands as per your environment/Glassfish install location, /export/appservers/glassfishv3/glassfish/bin/asadmin delete-domain specjent2010 rm -r /export/appservers/glassfishv3/glassfish/domains/specjent2010 'echo AS_ADMIN_PASSWORD=adminadmin > /export/appservers/glassfishv3/glassfish/passwordfile' /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-domain --adminport 4848 specjent2010 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile start-domain specjent2010 #provide correct details of your database setup /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jdbc-connection-pool --datasourceclassname oracle.jdbc.pool.OracleDataSource --steadypoolsize 200 --maxpoolsize 200 --property User='specent:Password=specent:URL=\"jdbc:oracle:thin:@perf-x4200-5:1521:benchdb\"' specjpool /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.resources.jdbc-connection-pool.specjpool.property.ImplicitCachingEnabled=true /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.resources.jdbc-connection-pool.specjpool.property.MaxStatements=200 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jdbc-resource --connectionpoolid specjpool jdbc/SPECjLoaderDS /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jdbc-resource --connectionpoolid specjpool jdbc/SPECjOrderDS /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jdbc-resource --connectionpoolid specjpool jdbc/SPECjMfgDS /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jdbc-resource --connectionpoolid specjpool jdbc/SPECjSupplierDS /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-module-config transaction-service /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.transaction-service.property.db-logging-resource=jdbc/SPECjMfgDS /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.network-config.network-listeners.network-listener.http-listener-1.port=8080 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.thread-pools.thread-pool.http-thread-pool.max-thread-pool-size=40 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.thread-pools.thread-pool.http-thread-pool.min-thread-pool-size=40 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.network-config.transports.transport.tcp.acceptor-threads=2 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.network-config.protocols.protocol.http-listener-1.http.max-connections=310000 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.thread-pools.thread-pool.http-thread-pool.max-queue-size=310000 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.network-config.transports.transport.tcp.max-connections-count=310000 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.network-config.protocols.protocol.http-listener-1.http.timeout-seconds=-1 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.http-service.access-logging-enabled=false /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set configs.config.server-config.network-config.protocols.protocol.http-listener-1.http.xpowered-by=false /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.iiop-service.iiop-listener.orb-listener-1.port=3700 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.thread-pools.thread-pool.thread-pool-1.max_thread_pool_size=40 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.thread-pools.thread-pool.thread-pool-1.min_thread_pool_size=40 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-module-config ejb-container /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.ejb-container.steady_pool_size=60 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.ejb-container.max_pool_size=60 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.ejb-container.max_cache_size=1 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-module-config mdb-container /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.mdb-container.max_pool_size=45 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 set server.mdb-container.steady_pool_size=45 /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.QueueConnectionFactory jms/WorkOrderQueueConnectionFactory /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.QueueConnectionFactory jms/FulfillOrderQueueConnectionFactory /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.QueueConnectionFactory jms/LargeOrderQueueConnectionFactory /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.QueueConnectionFactory jms/ReceiveQueueConnectionFactory /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.QueueConnectionFactory jms/BuyerQueueConnectionFactory /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.QueueConnectionFactory jms/PurchaseQueueConnectionFactory /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.QueueConnectionFactory jms/LoaderQueueConnectionFactory /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.Queue --property imqDestinationName=BuyerQueue jms/BuyerQueue /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.Queue --property imqDestinationName=FulfillOrderQueue jms/FulfillOrderQueue /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.Queue --property imqDestinationName=LargeOrderQueue jms/LargeOrderQueue /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.Queue --property imqDestinationName=ReceiveQueue jms/ReceiveQueue /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.Queue --property imqDestinationName=WorkOrderQueue jms/WorkOrderQueue /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.Queue --property imqDestinationName=LoaderStatusQueue jms/LoaderStatusQueue /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.Queue --property imqDestinationName=LoaderQueue jms/LoaderQueue /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 create-jms-resource --restype javax.jms.Queue --property imqDestinationName=PurchaseOrderQueue jms/PurchaseOrderQueue /export/appservers/glassfishv3/glassfish/bin/asadmin --user admin --passwordfile /export/appservers/glassfishv3/glassfish/passwordfile --port 4848 deploy --name specj /net/alacrity/export/multicomplex/workload/workload/benchmarks/specjent2010/target/jar/specj.ear Last command deploys the specj.ear file.
        Hide
        Mitesh Meswani added a comment -

        The error was because of an invalid entry in orm.xml. Marking this as invalid.

        Here is from an offline discussion

        The JPQL query defined in the annotation is overridden by the one found in pu-order-orm.xml

        ...

        <named-query name="Item.findByCategory">

        <query>SELECT i FROM Item i WHERE i.category=:category ORDER BY i.id"</query>

        ...

        Which result in seeing " in the exception output since that one contains the ending double quote.

        Show
        Mitesh Meswani added a comment - The error was because of an invalid entry in orm.xml. Marking this as invalid. Here is from an offline discussion The JPQL query defined in the annotation is overridden by the one found in pu-order-orm.xml ... <named-query name="Item.findByCategory"> <query>SELECT i FROM Item i WHERE i.category=:category ORDER BY i.id"</query> ... Which result in seeing " in the exception output since that one contains the ending double quote.

          People

          • Assignee:
            Mitesh Meswani
            Reporter:
            amitagarwal
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: