Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2017-08-12 15:07:23,313 INFO [STDOUT] (org.springframework.scheduling.quartz.SchedulerFactoryBean#1aa49e9a_Worker-1) 15:07:23,312 ERROR [TransactionInterceptor:342] Application exception overridden by rollback exception
- com.liferay.portal.kernel.dao.orm.ORMException: could not execute query
- at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:41)
- at com.liferay.portal.dao.orm.hibernate.SQLQueryImpl.list(SQLQueryImpl.java:103)
- at com.liferay.portal.dao.orm.hibernate.SQLQueryImpl.list(SQLQueryImpl.java:88)
- at com.liferay.portlet.journal.service.persistence.JournalArticleFinderImpl.findByExpirationDate(JournalArticleFinderImpl.java:288)
- at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.checkArticles(JournalArticleLocalServiceImpl.java:483)
- at sun.reflect.GeneratedMethodAccessor542.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
- at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:77)
- at com.liferay.portal.mirage.aop.JournalArticleLocalServiceAdvice.doInvoke(JournalArticleLocalServiceAdvice.java:133)
- at com.liferay.portal.mirage.aop.BaseMirageAdvice.invoke(BaseMirageAdvice.java:47)
- at sun.reflect.GeneratedMethodAccessor541.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:627)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:616)
- at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:64)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
- at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
- at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
- at com.sun.proxy.$Proxy403.checkArticles(Unknown Source)
- at com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil.checkArticles(JournalArticleLocalServiceUtil.java:262)
- at com.liferay.portlet.journal.job.CheckArticleJob.execute(CheckArticleJob.java:49)
- at com.liferay.portal.job.JobWrapper.execute(JobWrapper.java:69)
- at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
- at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
- 2017-08-12 15:07:23,313 INFO [STDOUT] (org.springframework.scheduling.quartz.SchedulerFactoryBean#1aa49e9a_Worker-1) 15:07:23,313 ERROR [CheckArticleJob:52]
- org.springframework.transaction.TransactionSystemException: Could not roll back Hibernate transaction; nested exception is org.hibernate.TransactionException: JDBC rollback failed
- at org.springframework.orm.hibernate3.HibernateTransactionManager.doRollback(HibernateTransactionManager.java:677)
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:823)
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:800)
- at org.springframework.transaction.interceptor.TransactionAspectSupport.completeTransactionAfterThrowing(TransactionAspectSupport.java:339)
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
- at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
- at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
- at com.sun.proxy.$Proxy403.checkArticles(Unknown Source)
- at com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil.checkArticles(JournalArticleLocalServiceUtil.java:262)
- at com.liferay.portlet.journal.job.CheckArticleJob.execute(CheckArticleJob.java:49)
- at com.liferay.portal.job.JobWrapper.execute(JobWrapper.java:69)
- at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
- at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
- Caused by: org.hibernate.TransactionException: JDBC rollback failed
- at org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:204)
- at org.springframework.orm.hibernate3.HibernateTransactionManager.doRollback(HibernateTransactionManager.java:674)
- ... 14 more
- Caused by: org.postgresql.util.PSQLException: This connection has been closed.
- at org.postgresql.jdbc.PgConnection.checkClosed(PgConnection.java:786)
- at org.postgresql.jdbc.PgConnection.rollback(PgConnection.java:793)
- at com.mchange.v2.c3p0.impl.NewProxyConnection.rollback(NewProxyConnection.java:855)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- at org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy$LazyConnectionInvocationHandler.invoke(LazyConnectionDataSourceProxy.java:364)
- at com.sun.proxy.$Proxy261.rollback(Unknown Source)
- at org.hibernate.transaction.JDBCTransaction.rollbackAndResetAutoCommit(JDBCTransaction.java:217)
- at org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:196)
- ... 15 more
- # - Connection Settings -
- #listen_addresses = 'localhost' # what IP address(es) to listen on;
- # comma-separated list of addresses;
- # defaults to 'localhost'; use '*' for all
- # (change requires restart)
- #port = 5432 # (change requires restart)
- max_connections = 1500 # (change requires restart)
- # Note: Increasing max_connections costs ~400 bytes of shared memory per
- # connection slot, plus lock space (see max_locks_per_transaction).
- #superuser_reserved_connections = 3 # (change requires restart)
- #unix_socket_directories = '/tmp' # comma-separated list of directories
- # (change requires restart)
- #unix_socket_group = '' # (change requires restart)
- #unix_socket_permissions = 0777 # begin with 0 to use octal notation
- # (change requires restart)
- #bonjour = off # advertise server via Bonjour
- # (change requires restart)
- #bonjour_name = '' # defaults to the computer name
- # (change requires restart)
- # - Security and Authentication -
- authentication_timeout = 5min # 1s-600s
- #ssl = off # (change requires restart)
- #ssl_ciphers = 'DEFAULT:!LOW:!EXP:!MD5:@STRENGTH' # allowed SSL ciphers
- # (change requires restart)
- #ssl_renegotiation_limit = 512MB # amount of data between renegotiations
- #ssl_cert_file = 'server.crt' # (change requires restart)
- #ssl_key_file = 'server.key' # (change requires restart)
- #ssl_ca_file = '' # (change requires restart)
- #ssl_crl_file = '' # (change requires restart)
- #password_encryption = on
- #db_user_namespace = off
- # Kerberos and GSSAPI
- #krb_server_keyfile = ''
- #krb_srvname = 'postgres' # (Kerberos only)
- #krb_caseins_users = off
- # - TCP Keepalives -
- # see "man 7 tcp" for details
- #tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
- # 0 selects the system default
- #tcp_keepalives_interval = 0 # TCP_KEEPINTVL, in seconds;
- # 0 selects the system default
- #tcp_keepalives_count = 0 # TCP_KEEPCNT;
- # 0 selects the system default
- #------------------------------------------------------------------------------
- # RESOURCE USAGE (except WAL)
- #------------------------------------------------------------------------------
- # - Memory -
- shared_buffers = 8GB # min 128kB
- # (change requires restart)
- #temp_buffers = 8MB # min 800kB
- #max_prepared_transactions = 0 # zero disables the feature
- # (change requires restart)
- # Note: Increasing max_prepared_transactions costs ~600 bytes of shared memory
- # per transaction slot, plus lock space (see max_locks_per_transaction).
- # It is not advisable to set max_prepared_transactions nonzero unless you
- # actively intend to use prepared transactions.
- #work_mem = 1MB # min 64kB
- #maintenance_work_mem = 16MB # min 1MB
- #max_stack_depth = 2MB # min 100kB
- # - Disk -
- #temp_file_limit = -1 # limits per-session temp file space
- # in kB, or -1 for no limit
- # - Kernel Resource Usage -
- #max_files_per_process = 1000 # min 25
- # (change requires restart)
- #shared_preload_libraries = '' # (change requires restart)
- # - Cost-Based Vacuum Delay -
- #vacuum_cost_delay = 0 # 0-100 milliseconds
- #vacuum_cost_page_hit = 1 # 0-10000 credits
- #vacuum_cost_page_miss = 10 # 0-10000 credits
- #vacuum_cost_page_dirty = 20 # 0-10000 credits
- #vacuum_cost_limit = 200 # 1-10000 credits
- # - Background Writer -
- #bgwriter_delay = 200ms # 10-10000ms between rounds
- #bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
- #bgwriter_lru_multiplier = 2.0 # 0-10.0 multipler on buffers scanned/round
- # - Asynchronous Behavior -
- #effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
- #------------------------------------------------------------------------------
- # WRITE AHEAD LOG
- #------------------------------------------------------------------------------
- # - Settings -
- #wal_level = minimal # minimal, archive, or hot_standby
- # (change requires restart)
- #fsync = on # turns forced synchronization on or off
- #synchronous_commit = on # synchronization level;
- # off, local, remote_write, or on
- #wal_sync_method = fsync # the default is the first option
- # supported by the operating system:
- # open_datasync
- # fdatasync (default on Linux)
- # fsync
- # fsync_writethrough
- # open_sync
- #full_page_writes = on # recover from partial page writes
- #wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
- # (change requires restart)
- #wal_writer_delay = 200ms # 1-10000 milliseconds
- #commit_delay = 0 # range 0-100000, in microseconds
- #commit_siblings = 5 # range 1-1000
- # - Checkpoints -
- #checkpoint_segments = 3 # in logfile segments, min 1, 16MB each
- #checkpoint_timeout = 5min # range 30s-1h
- #checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
- #checkpoint_warning = 30s # 0 disables
- # - Archiving -
- #archive_mode = off # allows archiving to be done
- # (change requires restart)
- #archive_command = '' # command to use to archive a logfile segment
- # placeholders: %p = path of file to archive
- # %f = file name only
- # e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f'
- #archive_timeout = 0 # force a logfile segment switch after this
- # number of seconds; 0 disables
- #------------------------------------------------------------------------------
- # ERROR REPORTING AND LOGGING
- #------------------------------------------------------------------------------
- # - Where to Log -
- log_destination = stderr # Valid values are combinations of
- # stderr, csvlog, syslog, and eventlog,
- # depending on platform. csvlog
- # requires logging_collector to be on.
- # This is used when logging to stderr:
- logging_collector = on # Enable capturing of stderr and csvlog
- # into log files. Required to be on for
- # csvlogs.
- # (change requires restart)
- # These are only used if logging_collector is on:
- log_directory = pg_log # directory where log files are written,
- # can be absolute or relative to PGDATA
- log_filename = 'postgresql-%a.log' # log file name pattern,
- # can include strftime() escapes
- #log_file_mode = 0600 # creation mode for log files,
- # begin with 0 to use octal notation
- log_truncate_on_rotation = on # If on, an existing log file with the
- # same name as the new log file will be
- # truncated rather than appended to.
- # But such truncation only occurs on
- # time-driven rotation, not on restarts
- # or size-driven rotation. Default is
- # off, meaning append to existing files
- # in all cases.
- log_rotation_age = 1d # Automatic rotation of logfiles will
- # happen after that time. 0 disables.
- log_rotation_size = 0 # Automatic rotation of logfiles will
- # happen after that much log output.
- # 0 disables.
- # These are relevant when logging to syslog:
- #syslog_facility = 'LOCAL0'
- #syslog_ident = 'postgres'
- # This is only relevant when logging to eventlog (win32):
- #event_source = 'PostgreSQL'
- # - What to Log -
- #debug_print_parse = off
- #debug_print_rewritten = off
- #debug_print_plan = off
- #debug_pretty_print = on
- #log_checkpoints = off
- #log_connections = off
- #log_disconnections = off
- #log_duration = off
- #log_error_verbosity = default # terse, default, or verbose messages
- #log_hostname = off
- log_line_prefix = '----------------- %m --------------------------------------------------------n %a %u@%d %p n %r n %e' # special values:
- # %a = application name
- # %u = user name
- # %d = database name
- # %r = remote host and port
- # %h = remote host
- # %p = process ID
- # %t = timestamp without milliseconds
- # %m = timestamp with milliseconds
- # %i = command tag
- # %e = SQL state
- # %c = session ID
- # %l = session line number
- # %s = session start timestamp
- # %v = virtual transaction ID
- # %x = transaction ID (0 if none)
- # %q = stop here in non-session
- # processes
- # %% = '%'
- # e.g. '<%u%%%d> '
- #log_lock_waits = off # log lock waits >= deadlock_timeout
- log_statement = 'all' # none, ddl, mod, all
- #log_temp_files = -1 # log temporary files equal or larger
- # than the specified size in kilobytes;
- # -1 disables, 0 logs all temp files
- log_timezone = 'Asia/Aden'
- #------------------------------------------------------------------------------
- # RUNTIME STATISTICS
- #------------------------------------------------------------------------------
- # - Query/Index Statistics Collector -
- #track_activities = on
- #track_counts = on
- #track_io_timing = off
- #track_functions = none # none, pl, all
- #track_activity_query_size = 1024 # (change requires restart)
- #update_process_title = on
- #stats_temp_directory = 'pg_stat_tmp'
- # - Statistics Monitoring -
- #log_parser_stats = off
- #log_planner_stats = off
- #log_executor_stats = off
- #log_statement_stats = off
- #------------------------------------------------------------------------------
- # CLIENT CONNECTION DEFAULTS
- #------------------------------------------------------------------------------
- # - Statement Behavior -
- #search_path = '"$user",public' # schema names
- #default_tablespace = '' # a tablespace name, '' uses the default
- #temp_tablespaces = '' # a list of tablespace names, '' uses
- # only default tablespace
- #check_function_bodies = on
- #default_transaction_isolation = 'read committed'
- #default_transaction_read_only = off
- #default_transaction_deferrable = off
- #session_replication_role = 'origin'
- #statement_timeout = 0 # in milliseconds, 0 is disabled
- #lock_timeout = 0 # in milliseconds, 0 is disabled
- #vacuum_freeze_min_age = 50000000
- #vacuum_freeze_table_age = 150000000
- #vacuum_multixact_freeze_min_age = 5000000
- #vacuum_multixact_freeze_table_age = 150000000
- #bytea_output = 'hex' # hex, escape
- #xmlbinary = 'base64'
- #xmloption = 'content'
- # - Locale and Formatting -
- datestyle = 'iso, mdy'
- #intervalstyle = 'postgres'
- timezone = 'Asia/Aden'
- #timezone_abbreviations = 'Default' # Select the set of available time zone
- # abbreviations. Currently, there are
- # Default
- # Australia (historical usage)
- # India
- # You can create your own file in
- # share/timezonesets/.
- #extra_float_digits = 0 # min -15, max 3
- #client_encoding = sql_ascii # actually, defaults to database
- # encoding
- # These settings are initialized by initdb, but they can be changed.
- lc_messages = C # locale for system error message
- # strings
- lc_monetary = C # locale for monetary formatting
- lc_numeric = C # locale for number formatting
- lc_time = C # locale for time formatting
- # default configuration for text search
- default_text_search_config = 'pg_catalog.english'
- # - Other Defaults -
- #dynamic_library_path = '$libdir'
- #local_preload_libraries = ''
- #------------------------------------------------------------------------------
- # LOCK MANAGEMENT
- #------------------------------------------------------------------------------
- #deadlock_timeout = 1s
- #max_locks_per_transaction = 64 # min 10
- # (change requires restart)
- # Note: Each lock table slot uses ~270 bytes of shared memory, and there are
- # max_locks_per_transaction * (max_connections + max_prepared_transactions)
- # lock table slots.
- #max_pred_locks_per_transaction = 64 # min 10
- # (change requires restart)
- #------------------------------------------------------------------------------
- # CUSTOMIZED OPTIONS
- #------------------------------------------------------------------------------
- # Add settings for extensions here
- maintenance_work_mem = 1GB
- temp_buffers = 32MB
- work_mem = 64MB
- checkpoint_segments = 32
- max_wal_senders = 5
- wal_keep_segments = 32
- wal_level = hot_standby
- data_directory = '/var/lib/pgsql/9.3/data'
- listen_addresses = '*'
- #log_min_duration_statement = 2min
- log_min_duration_statement = 120000
- port = 5432
- effective_cache_size = 16GB
- #synchronous_standby_names = '' # standby servers that provide sync rep
- # comma-separated list of application_name
- # from standby(s); '*' = all
- #
- # PostgreSQL
- #
- jdbc.default.driverClassName=org.postgresql.Driver
- jdbc.default.url=jdbc:postgresql://192.168.2.3:5432/portal
- jdbc.default.username=postgres
- jdbc.default.password=postgres
- javascript.barebone.enabled=true
- javascript.fast.load=false
- javascript.log.enabled=false
- 00000LOG: execute S_7: BEGIN
- ----------------- 2017-08-11 21:26:29.818 +03 --------------------------------------------------------
- [unknown] pstgres@portal 5671
- 10.255.0.2(53718)
- 00000LOG: execute S_1/C_27: SELECT TRIGGER_NAME, TRIGGER_GROUP, NEXT_FIRE_TIME FROM QUARTZ_TRIGGERS WHERE TRIGGER_STATE = $1 AND NEXT_FIRE_TIME < $2 AND (NEXT_FIRE_TIME >= $3) ORDER BY NEXT_FIRE_TIME ASC, PRIORITY DESC
- ----------------- 2017-08-11 21:26:29.818 +03 --------------------------------------------------------
- [unknown] pstgres@portal 5671
- 10.255.0.2(53718)
- 00000DETAIL: parameters: $1 = 'WAITING', $2 = '1502476248072', $3 = '1502476158072'
- ----------------- 2017-08-11 21:26:29.819 +03 --------------------------------------------------------
- [unknown] pstgres@portal 5671
- 10.255.0.2(53718)
- 00000LOG: execute S_3: COMMIT
- ----------------- 2017-08-11 21:26:54.564 +03 --------------------------------------------------------
- psql postgres@postgres 5923
- [local]
- 00000LOG: statement: SELECT 1
- ----------------- 2017-08-11 21:26:55.630 +03 --------------------------------------------------------
- [unknown] pstgres@portal 5671
- 10.255.0.2(53718)
- 00000LOG: execute S_7: BEGIN
- ----------------- 2017-08-11 21:26:55.630 +03 --------------------------------------------------------
- [unknown] pstgres@portal 5671
- 10.255.0.2(53718)
- 00000LOG: execute S_1/C_28: SELECT TRIGGER_NAME, TRIGGER_GROUP, NEXT_FIRE_TIME FROM QUARTZ_TRIGGERS WHERE TRIGGER_STATE = $1 AND NEXT_FIRE_TIME < $2 AND (NEXT_FIRE_TIME >= $3) ORDER BY NEXT_FIRE_TIME ASC, PRIORITY DESC
- ----------------- 2017-08-11 21:26:55.630 +03 --------------------------------------------------------
- [unknown] pstgres@portal 5671
- 10.255.0.2(53718)
- 00000DETAIL: parameters: $1 = 'WAITING', $2 = '1502476273884', $3 = '1502476183884'
- ----------------- 2017-08-11 21:26:55.631 +03 --------------------------------------------------------
- [unknown] pstgres@portal 5671
- 10.255.0.2(53718)
- 00000LOG: execute S_3: COMMIT
- ----------------- 2017-08-11 21:27:24.510 +03 --------------------------------------------------------
- [unknown] pstgres@portal 5671
- 10.255.0.2(53718)
- 00000LOG: execute S_7: BEGIN
- ----------------- 2017-08-11 21:27:24.511 +03 --------------------------------------------------------
- [unknown] pstgres@portal 5671
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement