Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    WebLogic 10.3.6 11g deploy problem

    During the Web Application startup we experience an error on the server. This application will run locally on Glassfish v2 and v3 and WebLogic 10.3.5 and 12.1.1

    Any help appreciated.

    1. GWT SDK 2.4.0
    SmartGWTEE 3.0
    INFO ISCInit - Isomorphic SmartClient Framework (SC_SNAPSHOT-2012-01-31_v8.2p/Enterprise Deployment 2012-01-31) - Initialization Complete

    WebLogic 11gR1 10.3.6.01
    JDK 1.6.0_33
    RedHat Enterprise Linux 5.8

    server.properties
    Code:
    # The webRoot directory:
    # the directory that the servlet engine regards as the place where applications 
    # that use the servlet engine should be installed.  Generally, it is safe to leave
    # this at the default setting of __AUTODETECT__.  When the SmartClient server is
    # started, it logs a message to stdout telling you the autodetected path to your
    # webRoot.  If this path is not your actual webRoot, then you'll want to override
    # this config parameter here.
    #
    # Valid values: 
    #
    # 1. Absolute path to the webRoot directory
    #
    # 2. Special token:  __AUTODETECT__
    #    When this token is used, SmartClient attempts to auto-detect the webRoot using
    #    standard servlet APIs.  This may or may not work - depending on your
    #    container type and deployment type.  For example, WAR/EAR deployments
    #    on some containers never make it to disk, and so the container refuses
    #    to provide the webRoot path.
    #  
    #    If SmartClient cannnot detect the webRoot, it sets the webRoot to
    #    __USE_CONTAINER__ (see below).
    #
    # 3.  Special token: __USE_CONTAINER__
    #     When this token is used, SmartClient uses standard servet APIs for accessing
    #     filesystem resources.  This is slower than direct file access and, since
    #     the servlet APIs provide no mechanism for writing to disk, means that some
    #     development tools like the FileAssembler will not work.
    #
    webRoot: __AUTODETECT__
    
    # Set this to the GWT module name.
    gwtModuleName: facegwt
    
    # if you've moved the isomorphic directory from its default location in webRoot,
    # set the root-relative path to it here
    #
    # For example, if in your deployment the 'isomorphic' dir is in /foo/bar, then set
    # then you'll need to set this to foo/bar/isomorphic
    isomorphicPathRootRelative: $gwtModuleName/sc
    
    
    
    # -------------- PICK DATABASE TO USE --------------------
    #
    # The SmartClient SDK ships with examples that use a database as the persistence
    # layer.  By default, the SDK uses a built-in version of HSQLDB, but you can
    # specify a different database to use here.
    
    # which database do you want to use?  HSQLDB is enabled by default.
    #sql.defaultDatabase: HSQLDB
    
    # If you want to use Mysql instead, uncomment the following line
    # and comment all other sql.defaultDatabase definitions
    #sql.defaultDatabase: Mysql
    
    # If you want to use Oracle instead, uncomment the following line
    # and comment all other sql.defaultDatabase definitions
    sql.defaultDatabase: FacetDS
    
    # If you want to use Postgres instead, uncomment the following line
    # and comment all other sql.defaultDatabase definitions
    #sql.defaultDatabase: PostgreSQL
    
    # If you want to use DB2 instead, uncomment the following line
    # and comment all other sql.defaultDatabase definitions
    #sql.defaultDatabase: DB2
    
    # -------------- SETTINGS FOR HSQLDB --------------------
    
    #sql.HSQLDB.database.type: hsqldb
    #sql.HSQLDB.interface.type: driverManager
    
    #sql.HSQLDB.driver: org.hsqldb.jdbcDriver
    #sql.HSQLDB.driver.url: jdbc:hsqldb:hsql://localhost/isomorphic
    
    
    # SQLServer
    #----------
    #sql.SQLServer.database.type: sqlserver
    #sql.SQLServer.interface.type: driverManager
    
    #sql.SQLServer.driver: com.microsoft.jdbc.sqlserver.SQLServerDriver
    #sql.SQLServer.driver.url: jdbc:microsoft:sqlserver://127.0.0.1:1433;DatabaseName=Northwind;User=sa;Password=
    
    # DB2
    #----
    #sql.DB2.database.type: db2
    #sql.DB2.interface.type: dataSource
    
    # DataSource
    #sql.DB2.driver: COM.ibm.db2.jdbc.DB2DataSource
    #sql.DB2.driver.serverName: localhost
    #sql.DB2.driver.databaseName: SAMPLE
    #sql.DB2.driver.portNumber: 6789
    #sql.DB2.driver.user: db2admin
    #sql.DB2.driver.password: db2admin
    
    # Oracle
    #----------
    
    # FacetDS
    sql.FacetDS.interface.credentialsInURL: true
    sql.FacetDS.interface.type: jndi
    sql.FacetDS.driver.networkProtocol: tcp
    sql.FacetDS.driver.autoConfigured: true
    sql.FacetDS.driver.name: jdbc/FacetDS
    sql.FacetDS.driver.serverName: [Auto-configured JNDI resource]
    sql.FacetDS.driver.driverType: thin
    sql.FacetDS.database.type: oracle
    sql.FacetDS.pool.enabled: false
    sql.FacetDS.driver.context: 
    
    # -------------- SETTINGS FOR MYSQL --------------------
    
    # These are the settings for use with the Mysql database.  If you have
    # just done a fresh install of MySQL on the same machine where you are
    # running your servlet engine, the values provided below will probably
    # just work on most platforms.
    
    # Configuration for Mysql Connector/J
    #sql.Mysql.database.type: mysql
    #sql.Mysql.database.ansiMode: false
    #sql.Mysql.interface.type: dataSource
    #sql.Mysql.driver: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
    # name of the database to use
    #sql.Mysql.driver.databaseName: isomorphic
    # hostname and port where the database server is installed
    #sql.Mysql.driver.serverName: localhost
    #sql.Mysql.driver.portNumber: 3306
    # username and password that can create and modify tables in that database
    # this user must have the following privileges for the system to function
    # properly: create/alter/drop table; insert/update/replace/delete rows.
    #sql.Mysql.driver.user: root
    #sql.Mysql.driver.password:
    
    
    # -------------- SETTINGS FOR ORACLE --------------------
    
    # These are the settings for use with the Oracle database.
    
    # hostname and port where the database server is installed
    #sql.Oracle.driver.serverName: localhost
    #sql.Oracle.driver.portNumber: 1521
    
    # SID of Oracle Database
    #sql.Oracle.driver.databaseName: isomorphic
    
    # username and password that can create and modify tables in that database
    # this user must have the following privileges for the system to function
    # properly: create/alter/drop table; create/drop sequences;
    # insert/update/replace/delete rows.
    #sql.Oracle.driver.user: system
    #sql.Oracle.driver.password: manager
    
    # -------------- SETTINGS FOR PostgreSQL --------------------
    
    # These are the settings for use with the PostgreSQL database.
    
    # hostname and port where the database server is installed
    #sql.PostgreSQL.driver.serverName: localhost
    #sql.PostgreSQL.driver.portNumber: 5432
    
    # name of the database to use
    #sql.PostgreSQL.driver.databaseName: isomorphic
    
    # username and password that can create and modify tables in that database
    # this user must have the following privileges for the system to function
    # properly: create/alter/drop table; create/drop sequences;
    # insert/update/replace/delete rows.
    #sql.PostgreSQL.driver.user: postgres
    #sql.PostgreSQL.driver.password: test
    
    
    
    # -------------- LOADING APP AND DATASOURCE DEFINITIONS --------------------
    
    # Where the system looks for DataSource definition files ([dataSourceId].ds.xml or
    # [dataSourceID].ds.js).  It's useful to put all your DataSources in one 
    # directory since DataSources are frequently shared between applications.  
    # "project.datasources" is also where the DataSource Importer tool looks 
    # for available DataSources.
    project.datasources: $webRoot/ds, $webRoot/ds/shared 
    project.ui: $webRoot/shared/ui
    project.apps: $webRoot/shared/app
    
    # -------------- Other settings --------------------
    # The setting RPCManager.enabledBuiltinMethods enables or disables the BuiltInRPCs - RPC calls
    # that are built into the SmartClient Server.  The setting below reflects the framework default
    # of enabling only those RPCs that are typically needed in an application.
    # 
    # See the JavaDoc for com.isomorphic.rpc.BuiltinRPC and com.isomorphic.tools.BuiltinRPC for all
    # available builtinRPCs and their behavior.
    # 
    # Note that many of the BuiltinRPCs are designed for use by tools such as Visual Builder, and
    # provide services such as direct access to the file system (for load and save of screens) that
    # would be unsafe to expose to untrusted users.
    #
    #RPCManager.enabledBuiltinMethods: xmlToJS, uploadProgressCheck, exportClientData, downloadClientExport, setAttributes
    RPCManager.enabledBuiltinMethods: xmlToJS, uploadProgressCheck, exportClientData, downloadClientExport, setAttributes, getLogNames, getLogEntries, getLogThresholds, getAvailableScriptEngines
    #RPCManager.enabledBuiltinMethods: * 
    
    #===============================================================================
    # JPA subsystem
    #===============================================================================
    # According to JPA specifications only simple class name can be used in queries.
    # Some providers follows these specs strictly (for example EclipseLink).
    # Some providers allows using fully-qualified class name usage (for example Hibernate, Datanucleus).
    # Setting defaluts to false - simple class name usage.
    # To resolve class name collisions this setting can be set to true
    # (should be used with provider supporting fully-qualified class name usage).
    #jpa.useQualifiedClassName: true
    
    # Default EMF provider implementation (implements EMFProviderInterface).
    # Fully qualified class name.
    # Existing implementations:
    # com.isomorphic.jpa.EMFProviderLMT - for Locally Managed Transactions (LMT)
    # com.isomorphic.jpa.EMFProviderNoTransactions - no transactions support
    # com.isomorphic.jpa.EMFProviderCMT - for Container Managed Transactions (CMT)
    #jpa.emfProvider: com.isomorphic.jpa.EMFProviderLMT
    
    # Settings for LMT type
    
    # Name of the datasource
    #jpa.persistenceUnitName: ds
    
    # Resource references for CMT type
    
    # EntityManager resource reference name declared in /WEB-INF/web.xml.
    # Example declaration:
    # <persistence-context-ref>
    #     <persistence-context-ref-name>persistence/em</persistence-context-ref-name>
    #     <persistence-unit-name>PERSISTENCE_UNIT_NAME</persistence-unit-name>
    # </persistence-context-ref>
    #jpa.cmt.entityManager: persistence/em
    
    # Transaction resource reference name declared in /WEB-INF/web.xml.
    # Example declaration:
    # <resource-env-ref>
    #     <resource-env-ref-name>persistence/tx</resource-env-ref-name>
    #     <resource-env-ref-type>javax.transaction.UserTransaction</resource-env-ref-type>
    # </resource-env-ref>
    #jpa.cmt.transaction: persistence/tx
    web.xml
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    	xmlns="http://java.sun.com/xml/ns/javaee" xmlns:jsp="http://java.sun.com/xml/ns/javaee/jsp"
    	xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    	id="WebApp_ID" version="2.5">
    	<welcome-file-list>
    		<welcome-file>face.html</welcome-file>
    	</welcome-file-list>
    	<!-- filters -->
    	<filter>
    		<filter-name>CompressionFilter</filter-name>
    		<filter-class>com.isomorphic.servlet.CompressionFilter</filter-class>
    	</filter>
    	<filter-mapping>
    		<filter-name>CompressionFilter</filter-name>
    		<url-pattern>/*</url-pattern>
    	</filter-mapping>
    	<filter>
    		<description>
    			Basic filter that checks the session
    		</description>
    		<filter-name>SessionValidatorFilter</filter-name>
    		<filter-class>com.ray.face.servlet.SessionValidatorFilter
    		</filter-class>
    	</filter>
    	<filter-mapping>
    		<filter-name>SessionValidatorFilter</filter-name>
    		<url-pattern>/*</url-pattern>
    	</filter-mapping>
    	
    	<filter>
    		<description>
    			Filter that blocks port 8080 except localhost
    		</description>
    		<filter-name>PortBlockFilter</filter-name>
    		<filter-class>com.ray.face.servlet.PortBlockFilter
    		</filter-class>
    	</filter>
    	<filter-mapping>
    		<filter-name>PortBlockFilter</filter-name>
    		<url-pattern>/*</url-pattern>
    	</filter-mapping>
    	
    	<!-- listeners -->
    	<listener>
    		<description>FACE Application Listener</description>
    		<listener-class>com.ray.face.servlet.ServletContextListenerImpl</listener-class>
    	</listener>
    	<!-- servlets -->
    	<servlet>
    		<servlet-name>IDACall</servlet-name>
    		<servlet-class>com.isomorphic.servlet.IDACall</servlet-class>
    	</servlet>
    	<servlet>
    		<servlet-name>DataSourceLoader</servlet-name>
    		<servlet-class>com.isomorphic.servlet.DataSourceLoader</servlet-class>
    	</servlet>
    	<servlet>
    		<servlet-name>FileDownload</servlet-name>
    		<servlet-class>com.isomorphic.servlet.FileDownload</servlet-class>
    	</servlet>
    	<servlet>
    		<servlet-name>Init</servlet-name>
    		<servlet-class>com.isomorphic.base.Init</servlet-class>
    		<load-on-startup>1</load-on-startup>
    	</servlet>
    	<servlet>
    		<servlet-name>HttpProxy</servlet-name>
    		<servlet-class>com.isomorphic.servlet.HttpProxyServlet</servlet-class>
    	</servlet>
    	<servlet>
    		<servlet-name>PreCache</servlet-name>
    		<servlet-class>com.isomorphic.servlet.PreCache</servlet-class>
    		<load-on-startup>2</load-on-startup>
    	</servlet>
    	<servlet-mapping>
    		<servlet-name>IDACall</servlet-name>
    		<url-pattern>/facegwt/sc/IDACall/*</url-pattern>
    	</servlet-mapping>
    	<servlet-mapping>
    		<servlet-name>HttpProxy</servlet-name>
    		<url-pattern>/facegwt/sc/HttpProxy/*</url-pattern>
    	</servlet-mapping>
    	<servlet-mapping>
    		<servlet-name>DataSourceLoader</servlet-name>
    		<url-pattern>/facegwt/sc/DataSourceLoader</url-pattern>
    	</servlet-mapping>
    	<servlet-mapping>
    		<servlet-name>FileDownload</servlet-name>
    		<url-pattern>/facegwt/sc/skins/*</url-pattern>
    	</servlet-mapping>
    	<servlet-mapping>
    		<servlet-name>FileDownload</servlet-name>
    		<url-pattern>/facegwt/sc/system/modules/*</url-pattern>
    	</servlet-mapping>
    	<servlet-mapping>
    		<servlet-name>FileDownload</servlet-name>
    		<url-pattern>/facegwt/sc/system/development/*</url-pattern>
    	</servlet-mapping>
    	<servlet-mapping>
    		<servlet-name>FileDownload</servlet-name>
    		<url-pattern>/facegwt/sc/system/reference/skin/*</url-pattern>
    	</servlet-mapping>
    	<servlet>
    		<description>Generic Servlet to produce data for Fusion charts</description>
    		<display-name>FusionChartServlet</display-name>
    		<servlet-name>FusionChartServlet</servlet-name>
    		<servlet-class>com.ray.face.servlet.FusionChartServlet</servlet-class>
    	</servlet>
    	<servlet-mapping>
    		<servlet-name>FusionChartServlet</servlet-name>
    		<url-pattern>/fusionchartdata</url-pattern>
    	</servlet-mapping>
    	<servlet>
    		<description>Generic Servlet to produce data for Excel Export</description>
    		<display-name>ExcelExportServlet</display-name>
    		<servlet-name>ExcelExportServlet</servlet-name>
    		<servlet-class>com.ray.face.servlet.ExcelExportServlet</servlet-class>
    	</servlet>
    	<servlet-mapping>
    		<servlet-name>ExcelExportServlet</servlet-name>
    		<url-pattern>/excelexport</url-pattern>
    	</servlet-mapping>
    	<servlet>
    		<description></description>
    		<display-name>LogOffServlet</display-name>
    		<servlet-name>LogOffServlet</servlet-name>
    		<servlet-class>com.ray.face.servlet.LogOffServlet</servlet-class>
    	</servlet>
    	<servlet-mapping>
    		<servlet-name>LogOffServlet</servlet-name>
    		<url-pattern>/logoff</url-pattern>
    	</servlet-mapping>
    	<servlet>
    		<description></description>
    		<display-name>DocumentServlet</display-name>
    		<servlet-name>DocumentServlet</servlet-name>
    		<servlet-class>com.ray.face.servlet.DocumentServlet</servlet-class>
    	</servlet>
    	<servlet-mapping>
    		<servlet-name>DocumentServlet</servlet-name>
    		<url-pattern>/document</url-pattern>
    	</servlet-mapping>
    	
    	<session-config>
    		<session-timeout>240</session-timeout>
    	</session-config>
    	
    	<jsp-config>
    		<taglib>
    			<taglib-uri>isomorphic</taglib-uri>
    			<taglib-location>/WEB-INF/iscTaglib.xml</taglib-location>
    		</taglib>
    	</jsp-config>
    	
    	<mime-mapping>
    		<extension>manifest</extension>
    		<mime-type>text/cache-manifest</mime-type>
    	</mime-mapping>
    	
    	<ejb-local-ref>
    		<ejb-ref-name>ejb/EtcDataLocal</ejb-ref-name>
    		<ejb-ref-type>Session</ejb-ref-type>
    		<local>com.ray.face.etc.EtcDataLocal</local>
    	</ejb-local-ref>
    	<ejb-local-ref>
    		<ejb-ref-name>ejb/ExcelUploadLocal</ejb-ref-name>
    		<ejb-ref-type>Session</ejb-ref-type>
    		<local>com.ray.face.model.ExcelUploadLocal</local>
    	</ejb-local-ref>
    	<ejb-local-ref>
    		<ejb-ref-name>ejb/CostCenterLocal</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>		
    		<local>com.ray.face.model.CostCenterLocal</local>
    	</ejb-local-ref>
    	<ejb-local-ref>
    		<ejb-ref-name>ejb/AppLocal</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
    		<local>com.ray.face.model.AppLocal</local>
    	</ejb-local-ref>
    	<ejb-local-ref>
    		<ejb-ref-name>ejb/PoolLocal</ejb-ref-name>
    		<ejb-ref-type>Session</ejb-ref-type>
    		<local>com.ray.face.model.PoolLocal</local>
    	</ejb-local-ref>
    	<ejb-local-ref>
    		<ejb-ref-name>ejb/UserLocal</ejb-ref-name>
    		<ejb-ref-type>Session</ejb-ref-type>
    		<local>com.ray.face.model.UserLocal</local>
    	</ejb-local-ref>
    	<ejb-local-ref>
    		<ejb-ref-name>ejb/CoreManagementLocal</ejb-ref-name>
    		<ejb-ref-type>Session</ejb-ref-type>
    		<local>com.ray.face.model.CoreManagementLocal</local>
    	</ejb-local-ref>
        <ejb-local-ref>
            <ejb-ref-name>ejb/RateManagementLocal</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <local>com.ray.face.model.RateManagementLocal</local>
        </ejb-local-ref>		
    	<ejb-local-ref>
    		<ejb-ref-name>ejb/HrdwEmployeeLocal</ejb-ref-name>
    		<ejb-ref-type>Session</ejb-ref-type>
    		<local>com.ray.face.model.HrdwEmployeeLocal</local>
    	</ejb-local-ref>
    	<ejb-local-ref>
    		<ejb-ref-name>ejb/RatePackageLocal</ejb-ref-name>
    		<ejb-ref-type>Session</ejb-ref-type>
    		<local>com.ray.face.model.RatePackageLocal</local>
    	</ejb-local-ref>
    	<ejb-local-ref>
    		<ejb-ref-name>ejb/ModuleStatusLocal</ejb-ref-name>
    		<ejb-ref-type>Session</ejb-ref-type>
    		<local>com.ray.face.model.ModuleStatusLocal</local>
    	</ejb-local-ref>	
        <ejb-local-ref>
            <ejb-ref-name>ejb/ReportLocal</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <local>com.ray.face.model.ReportLocal</local>
        </ejb-local-ref>
        <ejb-local-ref>
            <ejb-ref-name>ejb/CerLocal</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <local>com.ray.face.model.CerLocal</local>
        </ejb-local-ref>
        <ejb-local-ref>
            <ejb-ref-name>ejb/FiscalCalendarLocal</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <local>com.ray.face.model.FiscalCalendarLocal</local>
        </ejb-local-ref>
        	
    	<env-entry>
    		<description>Set the application logging level to one of the 
    		following: SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL, OFF</description>
    		<env-entry-name>java.util.logging.level</env-entry-name>
    		<env-entry-type>java.lang.String</env-entry-type>
    		<env-entry-value>INFO</env-entry-value>
    	</env-entry>
    </web-app>

    2. N/A - server problem

    3. for a server-side problem, the *complete* logs generated during processing of the failing request (do *not* trim to just the error message)

    Code:
    ####<Jul 20, 2012 4:18:38 PM PDT> <Info> <WebLogicServer> <devmt11> <WEBAPPS_09> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JYafqtF27UrFwJRL801G2UT7000000> <1342826318005> <BEA-000256> <Invoking weblogic.transaction.internal.StartupClass.main(null)> 
    ####<Jul 20, 2012 4:18:38 PM PDT> <Info> <Deployer> <devmt11> <WEBAPPS_09> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JYafqtF27UrFwJRL801G2UT7000000> <1342826318012> <BEA-149059> <Module face of application face-app is transitioning from STATE_PREPARED to STATE_ADMIN on server WEBAPPS_09.> 
    ####<Jul 20, 2012 4:18:38 PM PDT> <Info> <Deployer> <devmt11> <WEBAPPS_09> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JYafqtF27UrFwJRL801G2UT7000000> <1342826318020> <BEA-149060> <Module face of application face-app successfully transitioned from STATE_PREPARED to STATE_ADMIN on server WEBAPPS_09.> 
    ####<Jul 20, 2012 4:18:38 PM PDT> <Info> <Deployer> <devmt11> <WEBAPPS_09> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JYafqtF27UrFwJRL801G2UT7000000> <1342826318020> <BEA-149059> <Module face-mod.jar of application face-app is transitioning from STATE_PREPARED to STATE_ADMIN on server WEBAPPS_09.> 
    ####<Jul 20, 2012 4:18:38 PM PDT> <Info> <Deployer> <devmt11> <WEBAPPS_09> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JYafqtF27UrFwJRL801G2UT7000000> <1342826318067> <BEA-149060> <Module face-mod.jar of application face-app successfully transitioned from STATE_PREPARED to STATE_ADMIN on server WEBAPPS_09.> 
    ####<Jul 20, 2012 4:18:38 PM PDT> <Info> <Deployer> <devmt11> <WEBAPPS_09> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JYafqtF27UrFwJRL801G2UT7000000> <1342826318067> <BEA-149059> <Module facews of application face-app is transitioning from STATE_PREPARED to STATE_ADMIN on server WEBAPPS_09.> 
    ####<Jul 20, 2012 4:18:38 PM PDT> <Info> <Deployer> <devmt11> <WEBAPPS_09> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JYafqtF27UrFwJRL801G2UT7000000> <1342826318067> <BEA-149060> <Module facews of application face-app successfully transitioned from STATE_PREPARED to STATE_ADMIN on server WEBAPPS_09.> 
    ####<Jul 20, 2012 4:18:38 PM PDT> <Error> <HTTP> <devmt11> <WEBAPPS_09> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JYafqtF27UrFwJRL801G2UT7000000> <1342826318283> <BEA-101216> <Servlet: "PreCache" failed to preload on startup in Web application: "face".
    java.lang.ExceptionInInitializerError
    	at com.isomorphic.datasource.PoolableDataSourceFactory.makeUnpooledObject(PoolableDataSourceFactory.java:95)
    	at com.isomorphic.datasource.PoolableDataSourceFactory.makeObject(PoolableDataSourceFactory.java:102)
    	at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:82)
    	at com.isomorphic.datasource.DataSourceManager.getDataSource(DataSourceManager.java:87)
    	at com.isomorphic.servlet.PreCache.preLoadDataSources(PreCache.java:135)
    	at com.isomorphic.servlet.PreCache.init(PreCache.java:83)
    	at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    	at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    	at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    	at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    	at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
    	at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1981)
    	at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1955)
    	at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
    	at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
    	at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
    	at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
    	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    	at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    	at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    	at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    	at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    	at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    	at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
    	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    	at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    	at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
    	at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    	at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    	at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    	at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    	at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    	at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    	at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    	at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    	at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    	at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    	at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    	at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    	at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    	at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: java.lang.NullPointerException
    	at com.isomorphic.datasource.DataSource.<clinit>(DataSource.java:550)
    	at com.isomorphic.datasource.PoolableDataSourceFactory.makeUnpooledObject(PoolableDataSourceFactory.java:95)
    	at com.isomorphic.datasource.PoolableDataSourceFactory.makeObject(PoolableDataSourceFactory.java:102)
    	at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:82)
    	at com.isomorphic.datasource.DataSourceManager.getDataSource(DataSourceManager.java:87)
    	at com.isomorphic.servlet.PreCache.preLoadDataSources(PreCache.java:135)
    	at com.isomorphic.servlet.PreCache.init(PreCache.java:83)
    	at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    	at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    	at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    	at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    	at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
    	at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1981)
    	at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1955)
    	at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
    	at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
    	at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
    	at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
    	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    	at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    	at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    	at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    	at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    	at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    	at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
    	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    	at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    	at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
    	at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    	at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    	at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    	at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    	at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    	at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    	at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    	at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    	at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    	at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    	at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    	at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    	at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    	at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    #2
    Four questions:
    1. Can you retry, using the explicit value for the "isomorphicPathRootRelative" value?
    isomorphicPathRootRelative: facegwt/sc

    2. Are you sure that the datasource is defined and bound in jndi at jdbc/FacetDS?

    3. If you comment out the PreCache servlet, does the application run as expected?

    4. What does your ds.xml look like?
    4a. Are you able to narrow it down to a single ds.xml?

    Comment


      #3
      I have tried various things below. We also have the container doing an exploded EAR so that the ServletContext.getRealPath() method will work. I can't even get the developer console to come up - I just get a blank page, content as follows:
      Code:
      <html><head></head><body><pre></pre></body></html>
      Four questions:
      1. Can you retry, using the explicit value for the "isomorphicPathRootRelative" value?
      isomorphicPathRootRelative: facegwt/sc

      This made no difference. Left is that way for now

      2. Are you sure that the datasource is defined and bound in jndi at jdbc/FacetDS?

      We checked the spelling and the datasource tests OK.

      3. If you comment out the PreCache servlet, does the application run as expected?

      This allows the application to deploy but we just get a blank page now.

      4. What does your ds.xml look like?

      Most look like this.
      Code:
      <DataSource ID="CostCenter" serverType="generic" dropExtraFields="true">
      	<fields>
      		<field name="id" type="text" primaryKey="true" hidden="true"/>
      		<field name="code" type="text" title="Cost Center" />
      		<field name="description" type="text" title="Description" />
      		<field name="activityTypeId" type="integer" title="Activity Type Id" foreignKey="id"
      		  valueXPath="activityType/id" hidden="true"/>			
      		<field name="activityTypeCode" type="text" title="Activity Type" 
      		  valueXPath="activityType/code" />			
      	</fields>
      
      	<serverObject lookupStyle="new" className="com.ray.face.gwt.server.dmi.CostCenterDMI" />
      
      </DataSource>
      4a. Are you able to narrow it down to a single ds.xml?

      Not really sure how to do that.

      Comment


        #4
        I added a weblogic.xml to my web app and now the app comes up.

        Code:
        <?xml version="1.0" encoding="UTF-8"?>
        <wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" 
        	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
        	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.3/weblogic-web-app.xsd">
            <wls:weblogic-version>10.3.x</wls:weblogic-version>
            <wls:container-descriptor>
                <wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes>
            </wls:container-descriptor>
        </wls:weblogic-web-app>
        But now I am having another problem with JPA. Not sure if this is still related to classloading or the persistence provider. From the console.

        Code:
        16:13:26.001:INFO:Log:isc.Page is loaded
        16:13:26.282:XRP2:WARN:RPCManager:EJB Exception: : javax.persistence.PersistenceException: Exception [EclipseLink-28013] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.EntityManagerSetupException
        Exception Description: Attempted to deploy PersistenceUnit [face-mod] while being in the wrong state [DeployFailed]. Close all factories for this PersistenceUnit.
        	at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:402)
        	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:188)
        	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:277)
        	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:294)
        	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:272)
        	at weblogic.deployment.TransactionalEntityManagerProxyImpl.newPersistenceContext(TransactionalEntityManagerProxyImpl.java:66)
        	at weblogic.deployment.BasePersistenceContextProxyImpl.getPersistenceContext(BasePersistenceContextProxyImpl.java:178)
        	at weblogic.deployment.QueryProxyImpl.getResultList(QueryProxyImpl.java:124)
        	at com.ray.face.model.RatePackageBean.findAllRatePackages(RatePackageBean.java:57)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
        	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
        	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        	at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
        	at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
        	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
        	at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
        	at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
        	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
        	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
        	at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
        	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        	at $Proxy205.findAllRatePackages(Unknown Source)
        	at com.ray.face.model.RatePackageBean_lalwe8_RatePackageLocalImpl.__WL_invoke(Unknown Source)
        	at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
        	at com.ray.face.model.RatePackageBean_lalwe8_RatePackageLocalImpl.findAllRatePackages(Unknown Source)
        	at com.ray.face.gwt.server.dmi.RatePackageDMI.fetchAll(RatePackageDMI.java:22)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:950)
        	at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:386)
        	at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
        	at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1945)
        	at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:199)
        	at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:156)
        	at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
        	at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        	at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
        	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        	at com.ray.face.servlet.PortBlockFilter.doFilter(PortBlockFilter.java:54)
        	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        	at com.ray.face.servlet.SessionValidatorFilter.doFilter(SessionValidatorFilter.java:53)
        	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        	at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:246)
        	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        	at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        	at java.security.AccessController.doPrivileged(Native Method)
        	at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
        	at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
        	at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
        	at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
        	at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
        	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        	at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
        	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3738)
        	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3704)
        	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2281)
        	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2180)
        	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)
        	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        	at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
        Caused by: Exception [EclipseLink-28013] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.EntityManagerSetupException
        Exception Description: Attempted to deploy PersistenceUnit [face-mod] while being in the wrong state [DeployFailed]. Close all factories for this PersistenceUnit.
        	at org.eclipse.persistence.exceptions.EntityManagerSetupException.cannotDeployWithoutPredeploy(EntityManagerSetupException.java:181)
        	... 79 more
        ; nested exception is: javax.persistence.PersistenceException: Exception [EclipseLink-28013] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.EntityManagerSetupException
        Exception Description: Attempted to deploy PersistenceUnit [face-mod] while being in the wrong state [DeployFailed]. Close all factories for this PersistenceUnit., response: {operationId: "custom",
        clientContext: undef,
        context: Obj,
        transactionNum: 1,
        httpResponseCode: 200,
        httpResponseText: "//isc_RPCResponseStart-->[{data:"EJB Exc..."[8717],
        xmlHttpRequest: [object XMLHttpRequest],
        transport: "xmlHttpRequest",
        status: -1,
        clientOnly: undef,
        httpHeaders: Obj,
        isStructured: true,
        callbackArgs: null,
        results: Obj,
        data: "EJB Exception: : javax.persistence.Persi..."[8510],
        invalidateCache: false,
        isDSResponse: true,
        queueStatus: -1}
        16:13:26.312:XRP5:WARN:RPCManager:EJB Exception: : javax.persistence.PersistenceException: Exception [EclipseLink-28013] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.EntityManagerSetupException
        Exception Description: Attempted to deploy PersistenceUnit [face-mod] while being in the wrong state [DeployFailed]. Close all factories for this PersistenceUnit.
        	at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:402)
        	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:188)
        	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:277)
        	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:294)
        	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:272)
        	at weblogic.deployment.TransactionalEntityManagerProxyImpl.newPersistenceContext(TransactionalEntityManagerProxyImpl.java:66)
        	at weblogic.deployment.BasePersistenceContextProxyImpl.getPersistenceContext(BasePersistenceContextProxyImpl.java:178)
        	at weblogic.deployment.QueryProxyImpl.getResultList(QueryProxyImpl.java:124)
        	at com.ray.face.model.RatePackageBean.findAllRatePackages(RatePackageBean.java:57)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
        	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
        	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        	at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
        	at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
        	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
        	at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
        	at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
        	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
        	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
        	at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
        	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        	at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        	at $Proxy205.findAllRatePackages(Unknown Source)
        	at com.ray.face.model.RatePackageBean_lalwe8_RatePackageLocalImpl.__WL_invoke(Unknown Source)
        	at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
        	at com.ray.face.model.RatePackageBean_lalwe8_RatePackageLocalImpl.findAllRatePackages(Unknown Source)
        	at com.ray.face.gwt.server.dmi.RatePackageDMI.fetchAll(RatePackageDMI.java:22)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:950)
        	at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:386)
        	at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
        	at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1945)
        	at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:199)
        	at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:156)
        	at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
        	at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        	at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
        	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        	at com.ray.face.servlet.PortBlockFilter.doFilter(PortBlockFilter.java:54)
        	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        	at com.ray.face.servlet.SessionValidatorFilter.doFilter(SessionValidatorFilter.java:53)
        	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        	at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:246)
        	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        	at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        	at java.security.AccessController.doPrivileged(Native Method)
        	at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
        	at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
        	at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
        	at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
        	at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
        	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        	at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
        	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3738)
        	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3704)
        	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2281)
        	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2180)
        	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)
        	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        	at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
        Caused by: Exception [EclipseLink-28013] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.EntityManagerSetupException
        Exception Description: Attempted to deploy PersistenceUnit [face-mod] while being in the wrong state [DeployFailed]. Close all factories for this PersistenceUnit.
        	at org.eclipse.persistence.exceptions.EntityManagerSetupException.cannotDeployWithoutPredeploy(EntityManagerSetupException.java:181)
        	... 79 more
        ; nested exception is: javax.persistence.PersistenceException: Exception [EclipseLink-28013] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.EntityManagerSetupException
        Exception Description: Attempted to deploy PersistenceUnit [face-mod] while being in the wrong state [DeployFailed]. Close all factories for this PersistenceUnit., response: {operationId: "custom",
        clientContext: undef,
        context: Obj,
        transactionNum: 0,
        httpResponseCode: 200,
        httpResponseText: "//isc_RPCResponseStart-->[{data:"EJB Exc..."[8717],
        xmlHttpRequest: [object XMLHttpRequest],
        transport: "xmlHttpRequest",
        status: -1,
        clientOnly: undef,
        httpHeaders: Obj,
        isStructured: true,
        callbackArgs: null,
        results: Obj,
        data: "EJB Exception: : javax.persistence.Persi..."[8510],
        invalidateCache: false,
        isDSResponse: true,
        queueStatus: -1}

        Comment


          #5
          I believe we worked this out too. We are using Eclipselink JPA2 as an extension for WebLogic 10.3.5 and 12c locally and also for Glassfish v3. Our persistence Unit is using JPA1 but we have the JPA2 library which is fine.

          We use @OneToMany with a Map and the version of Eclipselink JPA in WL 10.3.6 by default is org.eclipse.persistence_1.2.0.0_2-3.jar and we get a ValidationError on the class that uses the Map. Not sure why the jar on the server doesn't match the version reported below but since it works where the JPA2 is installed(see attachment) we think it is a bug - we did find the bug online reported.

          Anyway, hope this helps someone.

          Code:
          Exception Description: Deployment of PersistenceUnit [face-mod] failed.
          Internal Exception: Exception [EclipseLink-7198] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.ValidationException
          Exception Description: Class: [com.ray.face.entity.CerPool] was not found while converting from class names to classes.
          Internal Exception: java.lang.ClassNotFoundException: com.ray.face.entity.CerPool
          Attached Files

          Comment


            #6
            I can't even get the developer console to come up - I just get a blank page, content as follows????


            == Chess ==
            Last edited by Kuchhogya; 22 Feb 2016, 22:30.

            Comment

            Working...
            X