|
when i login from first tenant(demo),it work succesfully after logging out and re-login from another tenant(dinu),its giving error - user not found
2017-07-13 11:42:15,167 |http-nio-8443-exec-3 |ControlEventListener |I| Destroying session: hidden sessionId by default. 2017-07-13 11:42:15,169 |http-nio-8443-exec-3 |ControlEventListener |I| Creating session: hidden sessionId by default. 2017-07-13 11:42:15,171 |http-nio-8443-exec-3 |VisitHandler |I| Found visitorId [10000] in cookie 2017-07-13 11:42:15,188 |http-nio-8443-exec-3 |RequestHandler |I| Ran Event [java:org.apache.ofbiz.webapp.control.LoginWorker#logout] from [request], result is [success] 2017-07-13 11:42:15,197 |http-nio-8443-exec-3 |RequestHandler |I| Sending redirect to: [https://localhost:8443/humanres/control/main]. Hidden sessionId by default. 2017-07-13 11:42:15,203 |http-nio-8443-exec-3 |ServerHitBin |I| Visit delegatorName=default#demo, ServerHitBin delegatorName=default#demo 2017-07-13 11:42:15,207 |http-nio-8443-exec-3 |ControlServlet |T| [[[logout(Domain:https://localhost)] Request Done- total:1.179,since last([logout(Domain:ht...):1.179]] 2017-07-13 11:42:15,449 |http-nio-8443-exec-6 |ControlServlet |T| [[[main(Domain:https://localhost)] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] 2017-07-13 11:42:15,455 |http-nio-8443-exec-6 |RequestHandler |I| This is the first request in this visit. Hidden sessionId by default. 2017-07-13 11:42:15,468 |http-nio-8443-exec-6 |RequestHandler |I| Rendering View [login]. Hidden sessionId by default. 2017-07-13 11:42:15,474 |http-nio-8443-exec-6 |ServiceDispatcher |T| Sync service [Humanres#demo/getUserPreferenceGroup] finished in [2] milliseconds 2017-07-13 11:42:15,594 |http-nio-8443-exec-6 |ServiceDispatcher |T| Sync service [Humanres#demo/getVisualThemeResources] finished in [113] milliseconds 2017-07-13 11:42:15,617 |http-nio-8443-exec-6 |ScreenFactory |I| Got 26 screens in 0.015s from: file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/framework/common/widget/CommonScreens.xml 2017-07-13 11:42:15,632 |http-nio-8443-exec-6 |ScreenFactory |I| Got 14 screens in 0.012s from: file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/applications/humanres/widget/CommonScreens.xml 2017-07-13 11:42:15,646 |http-nio-8443-exec-6 |ScreenFactory |I| Got 1 screens in 0.011s from: file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/applications/commonext/widget/CommonScreens.xml 2017-07-13 11:42:15,646 |http-nio-8443-exec-6 |PrimaryKeyFinder |I| Returning null because found incomplete primary key in find: [GenericEntity:PartyNameView][partyId,null()] 2017-07-13 11:42:15,762 |http-nio-8443-exec-6 |ServiceDispatcher |T| Sync service [Humanres#demo/getLastSystemInfoNote] finished in [45] milliseconds 2017-07-13 11:42:15,772 |http-nio-8443-exec-6 |ServiceDispatcher |T| Sync service [Humanres#demo/getVisualThemeResources] finished in [2] milliseconds 2017-07-13 11:42:16,045 |http-nio-8443-exec-6 |ServerHitBin |I| Visit delegatorName=default#demo, ServerHitBin delegatorName=default#demo 2017-07-13 11:42:16,073 |http-nio-8443-exec-6 |ControlServlet |T| [[[main(Domain:https://localhost)] Request Done- total:0.623,since last([main(Domain:http...):0.623]] 2017-07-13 11:42:31,957 |delegator-startup-6 |DelegatorFactoryImpl |I| Creating new delegator [default#dinu] (delegator-startup-6) 2017-07-13 11:42:31,964 |delegator-startup-6 |GenericDelegator |I| Doing entity definition check... 2017-07-13 11:42:31,964 |delegator-startup-6 |ModelEntityChecker |I| [initReservedWords] array length = 1025 2017-07-13 11:42:32,016 |delegator-startup-6 |GenericDelegator |W| =-=-=-=-= Found 3 warnings when checking the entity definitions: 2017-07-13 11:42:32,016 |delegator-startup-6 |GenericDelegator |W| [FieldNameRW] Column name NAME of entity DINU is a reserved word. 2017-07-13 11:42:32,016 |delegator-startup-6 |GenericDelegator |W| [FieldNameRW] Column name NAME of entity DINU1 is a reserved word. 2017-07-13 11:42:32,016 |delegator-startup-6 |GenericDelegator |W| [FieldNameRW] Column name NAME of entity TEST is a reserved word. 2017-07-13 11:42:32,017 |OFBiz-batch-11 |GenericDelegator |I| Can't access entity of entityGroup = org.apache.ofbiz.tenant using tenant delegator default#dinu, use base delegator instead 2017-07-13 11:42:32,017 |OFBiz-batch-11 |GenericDelegator |I| Delegator "default#dinu" NOT initializing helper for entity group "org.apache.ofbiz.tenant" because the group is not associated to this delegator. 2017-07-13 11:42:32,021 |OFBiz-batch-9 |GenericDelegator |I| Delegator "default#dinu" initializing helper "localpostolap" for entity group "org.apache.ofbiz.olap". 2017-07-13 11:42:32,022 |OFBiz-batch-9 |GenericDelegator |I| Doing database check as requested in entityengine.xml with addMissing=true 2017-07-13 11:42:32,023 |OFBiz-batch-10 |GenericDelegator |I| Delegator "default#dinu" initializing helper "localpostnew" for entity group "org.apache.ofbiz". 2017-07-13 11:42:32,024 |OFBiz-batch-10 |GenericDelegator |I| Doing database check as requested in entityengine.xml with addMissing=true 2017-07-13 11:42:32,145 |OFBiz-batch-9 |DatabaseUtil |E| Unable to establish a connection with the database for helperName [localpostolap#dinu]... Error was: java.sql.SQLException: Unable to acquire a new connection from the pool 2017-07-13 11:42:32,145 |OFBiz-batch-9 |DatabaseUtil |E| Unable to establish a connection with the database, no additional information available. 2017-07-13 11:42:32,145 |OFBiz-batch-9 |DatabaseUtil |E| Could not get table name information from the database, aborting. 2017-07-13 11:42:32,511 |OFBiz-batch-10 |DatabaseUtil |I| Database Product Name is PostgreSQL 2017-07-13 11:42:32,511 |OFBiz-batch-10 |DatabaseUtil |I| Database Product Version is 9.2.20 2017-07-13 11:42:32,511 |OFBiz-batch-10 |DatabaseUtil |I| Database Driver Name is PostgreSQL Native Driver 2017-07-13 11:42:32,511 |OFBiz-batch-10 |DatabaseUtil |I| Database Driver Version is PostgreSQL 9.4 JDBC4.1 (build 1201) 2017-07-13 11:42:32,511 |OFBiz-batch-10 |DatabaseUtil |I| Database Driver JDBC Version is 4.0 2017-07-13 11:42:32,511 |OFBiz-batch-10 |DatabaseUtil |I| Database Setting/Support Information (those with a * should be true): 2017-07-13 11:42:32,512 |OFBiz-batch-10 |DatabaseUtil |I| - supports transactions [true]* 2017-07-13 11:42:32,512 |OFBiz-batch-10 |DatabaseUtil |I| - isolation None [false] 2017-07-13 11:42:32,512 |OFBiz-batch-10 |DatabaseUtil |I| - isolation ReadCommitted [true] 2017-07-13 11:42:32,512 |OFBiz-batch-10 |DatabaseUtil |I| - isolation ReadUncommitted [true] 2017-07-13 11:42:32,512 |OFBiz-batch-10 |DatabaseUtil |I| - isolation RepeatableRead [true] 2017-07-13 11:42:32,512 |OFBiz-batch-10 |DatabaseUtil |I| - isolation Serializable [true] 2017-07-13 11:42:32,512 |OFBiz-batch-10 |DatabaseUtil |I| - forward only type [true] 2017-07-13 11:42:32,512 |OFBiz-batch-10 |DatabaseUtil |I| - scroll sensitive type [false] 2017-07-13 11:42:32,512 |OFBiz-batch-10 |DatabaseUtil |I| - scroll insensitive type [true] 2017-07-13 11:42:32,512 |OFBiz-batch-10 |DatabaseUtil |I| - is case sensitive [false] 2017-07-13 11:42:32,512 |OFBiz-batch-10 |DatabaseUtil |I| - stores LowerCase [true] 2017-07-13 11:42:32,512 |OFBiz-batch-10 |DatabaseUtil |I| - stores MixedCase [false] 2017-07-13 11:42:32,512 |OFBiz-batch-10 |DatabaseUtil |I| - stores UpperCase [false] 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - max table name length [63] 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - max column name length [63] 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - concurrent connections [8192] 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - concurrent statements [0] 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - ANSI SQL92 Entry [true] 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - ANSI SQL92 Intermediate [false] 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - ANSI SQL92 Full [false] 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - ODBC SQL Grammar Core [false] 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - ODBC SQL Grammar Extended [false] 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - ODBC SQL Grammar Minimum [true] 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - outer joins [true]* 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - limited outer joins [true] 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - full outer joins [true] 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - group by [true]* 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - group by not in select [true] 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - column aliasing [true] 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - order by not in select [true] 2017-07-13 11:42:33,312 |OFBiz-batch-10 |DatabaseUtil |I| - alter table add column [true]* 2017-07-13 11:42:33,313 |OFBiz-batch-10 |DatabaseUtil |I| - non-nullable column [true]* 2017-07-13 11:42:33,313 |OFBiz-batch-10 |DatabaseUtil |I| - default fetchsize [0] 2017-07-13 11:42:33,313 |OFBiz-batch-10 |DatabaseUtil |I| - named parameters [ SKIPPED ] 2017-07-13 11:42:33,313 |OFBiz-batch-10 |DatabaseUtil |I| Getting Table Info From Database 2017-07-13 11:42:33,620 |OFBiz-batch-10 |DatabaseUtil |I| Getting Column Info From Database 2017-07-13 11:42:37,258 |OFBiz-batch-10 |DatabaseUtil |I| Reviewed 1690 primary key fields from database. 2017-07-13 11:42:37,384 |OFBiz-batch-13 |ServiceGroupReader |I| Loaded [1] Group definitions from file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/framework/common/servicedef/groups_test.xml 2017-07-13 11:42:37,384 |http-nio-8443-exec-1 |ServiceGroupReader |I| Loaded [1] Group definitions from file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/framework/common/servicedef/groups_test.xml 2017-07-13 11:42:37,450 |http-nio-8443-exec-1 |ServiceGroupReader |I| Loaded [4] Group definitions from file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/framework/entityext/servicedef/groups.xml 2017-07-13 11:42:37,451 |OFBiz-batch-13 |ServiceGroupReader |I| Loaded [4] Group definitions from file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/framework/entityext/servicedef/groups.xml 2017-07-13 11:42:37,489 |http-nio-8443-exec-1 |ServiceGroupReader |I| Loaded [2] Group definitions from file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/applications/workeffort/servicedef/service_groups.xml 2017-07-13 11:42:37,491 |OFBiz-batch-13 |ServiceGroupReader |I| Loaded [2] Group definitions from file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/applications/workeffort/servicedef/service_groups.xml 2017-07-13 11:42:37,508 |http-nio-8443-exec-1 |ServiceGroupReader |I| Loaded [1] Group definitions from file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/applications/product/servicedef/groups.xml 2017-07-13 11:42:37,509 |OFBiz-batch-13 |ServiceGroupReader |I| Loaded [1] Group definitions from file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/applications/product/servicedef/groups.xml 2017-07-13 11:42:37,548 |OFBiz-batch-13 |ServiceGroupReader |I| Loaded [4] Group definitions from file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/applications/accounting/servicedef/groups.xml 2017-07-13 11:42:37,550 |http-nio-8443-exec-1 |ServiceGroupReader |I| Loaded [4] Group definitions from file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/applications/accounting/servicedef/groups.xml 2017-07-13 11:42:37,854 |OFBiz-batch-13 |ServiceDispatcher |I| Registering dispatcher: entity-default#dinu#dinu 2017-07-13 11:42:37,854 |OFBiz-batch-13 |ServiceContainer |I| Created new dispatcher: entity-default#dinu#dinu 2017-07-13 11:42:37,866 |http-nio-8443-exec-1 |ServiceDispatcher |I| Registering dispatcher: Humanres#dinu 2017-07-13 11:42:37,866 |http-nio-8443-exec-1 |ServiceContainer |I| Created new dispatcher: Humanres#dinu 2017-07-13 11:42:37,866 |http-nio-8443-exec-1 |ControlServlet |T| [[[login(Domain:https://localhost)] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] 2017-07-13 11:42:38,141 |http-nio-8443-exec-1 |GenericDAO |T| Ran query in 274 milli-seconds: EntityName: SystemProperty Sql: SELECT SYSTEM_RESOURCE_ID, SYSTEM_PROPERTY_ID, SYSTEM_PROPERTY_VALUE, DESCRIPTION, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP FROM public.SYSTEM_PROPERTY WHERE ((SYSTEM_RESOURCE_ID = ? AND SYSTEM_PROPERTY_ID = ?)) where clause:[SYSTEM_RESOURCE_ID=serverstats, SYSTEM_PROPERTY_ID=stats.persist.visitor] 2017-07-13 11:42:38,432 |http-nio-8443-exec-1 |ConfigXMLReader |I| controller loaded: 0.25s, 229 requests, 96 views in file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/applications/humanres/webapp/humanres/WEB-INF/controller.xml 2017-07-13 11:42:38,513 |http-nio-8443-exec-1 |ConfigXMLReader |I| controller loaded: 0.061s, 45 requests, 22 views in file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/framework/common/webcommon/WEB-INF/common-controller.xml 2017-07-13 11:42:38,532 |http-nio-8443-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 0 requests, 0 views in file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/framework/common/webcommon/WEB-INF/handlers-controller.xml 2017-07-13 11:42:38,851 |http-nio-8443-exec-1 |ConfigXMLReader |I| controller loaded: 0.295s, 255 requests, 103 views in file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/applications/party/webapp/partymgr/WEB-INF/controller.xml 2017-07-13 11:42:38,925 |http-nio-8443-exec-1 |ConfigXMLReader |I| controller loaded: 0.034s, 30 requests, 13 views in file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/framework/common/webcommon/WEB-INF/security-controller.xml 2017-07-13 11:42:38,946 |http-nio-8443-exec-1 |ConfigXMLReader |I| controller loaded: 0.004s, 4 requests, 0 views in file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/applications/commonext/webapp/WEB-INF/controller.xml 2017-07-13 11:42:39,396 |http-nio-8443-exec-1 |ConfigXMLReader |I| controller loaded: 0.427s, 379 requests, 154 views in file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/applications/content/webapp/content/WEB-INF/controller.xml 2017-07-13 11:42:39,418 |http-nio-8443-exec-1 |LoginServices |I| [LoginServices.userLogin] Invalid User : 'dinu-admin'; User not found. 2017-07-13 11:42:39,418 |http-nio-8443-exec-1 |ServiceDispatcher |W| Service Failure [userLogin]: User not found. 2017-07-13 11:42:39,421 |http-nio-8443-exec-1 |ServiceDispatcher |T| Sync service [Humanres#demo/userLogin] finished in [5] milliseconds 2017-07-13 11:42:39,422 |http-nio-8443-exec-1 |RequestHandler |I| Ran Event [java:org.apache.ofbiz.webapp.control.LoginWorker#login] from [request], result is [error] 2017-07-13 11:42:39,431 |http-nio-8443-exec-1 |RequestHandler |E| Request login caused an error with the following message: following error occurred during login: User not found. 2017-07-13 11:42:39,434 |http-nio-8443-exec-1 |RequestHandler |I| Rendering View [login]. Hidden sessionId by default. 2017-07-13 11:42:39,442 |http-nio-8443-exec-1 |ServiceDispatcher |T| Sync service [Humanres#demo/getUserPreferenceGroup] finished in [2] milliseconds 2017-07-13 11:42:39,551 |http-nio-8443-exec-1 |ServiceDispatcher |T| Sync service [Humanres#demo/getVisualThemeResources] finished in [103] milliseconds 2017-07-13 11:42:39,710 |http-nio-8443-exec-1 |ScreenFactory |I| Got 26 screens in 0.014s from: file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/framework/common/widget/CommonScreens.xml 2017-07-13 11:42:39,724 |http-nio-8443-exec-1 |ScreenFactory |I| Got 14 screens in 0.013s from: file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/applications/humanres/widget/CommonScreens.xml 2017-07-13 11:42:39,737 |http-nio-8443-exec-1 |ScreenFactory |I| Got 1 screens in 0.011s from: file:/D:/ofbiz16.11/apache-ofbiz-16.11.01/applications/commonext/widget/CommonScreens.xml 2017-07-13 11:42:39,737 |http-nio-8443-exec-1 |PrimaryKeyFinder |I| Returning null because found incomplete primary key in find: [GenericEntity:PartyNameView][partyId,null()] 2017-07-13 11:42:40,352 |http-nio-8443-exec-1 |GenericDAO |T| Ran query in 569 milli-seconds: EntityName: PartyAcctgPrefAndGroup Sql: SELECT PTYACCPREF.PARTY_ID, PTYACCPREF.BASE_CURRENCY_UOM_ID, PTYGROUP.GROUP_NAME, PTYROLE.ROLE_TYPE_ID FROM (public.PARTY_ACCTG_PREFERENCE PTYACCPREF INNER JOIN public.PARTY_GROUP PTYGROUP ON PTYACCPREF.PARTY_ID = PTYGROUP.PARTY_ID) INNER JOIN public.PARTY_ROLE PTYROLE ON PTYACCPREF.PARTY_ID = PTYROLE.PARTY_ID WHERE (((PTYROLE.ROLE_TYPE_ID = ?))) where clause:[ROLE_TYPE_ID=INTERNAL_ORGANIZATIO] 2017-07-13 11:42:40,413 |http-nio-8443-exec-1 |ServiceDispatcher |T| Sync service [Humanres#demo/getLastSystemInfoNote] finished in [58] milliseconds 2017-07-13 11:42:41,966 |http-nio-8443-exec-1 |GenericDAO |T| Ran query in 1552 milli-seconds: EntityName: ContentAssoc Sql: SELECT CONTENT_ID, CONTENT_ID_TO, CONTENT_ASSOC_TYPE_ID, FROM_DATE, THRU_DATE, CONTENT_ASSOC_PREDICATE_ID, DATA_SOURCE_ID, SEQUENCE_NUM, MAP_KEY, UPPER_COORDINATE, LEFT_COORDINATE, CREATED_DATE, CREATED_BY_USER_LOGIN, LAST_MODIFIED_DATE, LAST_MODIFIED_BY_USER_LOGIN, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP FROM public.CONTENT_ASSOC WHERE ((MAP_KEY = ?)) where clause:[MAP_KEY=HUMANRES_login] 2017-07-13 11:42:42,058 |http-nio-8443-exec-1 |ServiceDispatcher |T| Sync service [Humanres#demo/getVisualThemeResources] finished in [3] milliseconds 2017-07-13 11:42:42,793 |http-nio-8443-exec-1 |GenericDAO |T| Ran query in 275 milli-seconds: EntityName: Visit Sql: SELECT VISIT_ID, VISITOR_ID, USER_LOGIN_ID, USER_CREATED, SESSION_ID, SERVER_IP_ADDRESS, SERVER_HOST_NAME, WEBAPP_NAME, INITIAL_LOCALE, INITIAL_REQUEST, INITIAL_REFERRER, INITIAL_USER_AGENT, USER_AGENT_ID, CLIENT_IP_ADDRESS, CLIENT_HOST_NAME, CLIENT_USER, CLIENT_IP_ISP_NAME, CLIENT_IP_POSTAL_CODE, COOKIE, FROM_DATE, THRU_DATE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP, CLIENT_IP_STATE_PROV_GEO_ID, CLIENT_IP_COUNTRY_GEO_ID, CONTACT_MECH_ID, PARTY_ID, ROLE_TYPE_ID FROM public.VISIT WHERE ((VISIT_ID = ?)) where clause:[VISIT_ID=10101] 2017-07-13 11:42:42,793 |http-nio-8443-exec-1 |ServerHitBin |I| The Visit GenericValue stored in the client session does not exist in the database, not storing server hit. 2017-07-13 11:42:42,799 |http-nio-8443-exec-1 |ControlServlet |T| [[[login(Domain:https://localhost)] Request Done- total:4.932,since last([login(Domain:htt...):4.933]] |
| Free forum by Nabble | Edit this page |
