This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
├── bin | |
│ ├── myappd | |
│ └── | |
├── conf | |
│ └── myapp.conf | |
├── Gemfile | |
├── Gemfile.lock | |
├── lib | |
│ ├── myapp | |
│ │ └── myapp_utilities |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 module MirrorSyncUtilities::Logging | |
2 | |
3 LOG_DIR = BASE_DIR + '/logs' | |
4 DAEMON_LOG = LOG_DIR + '/mirrorsync.log' | |
5 | |
6 def log(msg) | |
7 puts "#{Time.now} > [#{Process.pid}] #{msg}" | |
8 end | |
9 | |
10 def log_error(error) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 require "minitest/autorun" | |
2 | |
3 Class TestMirrorSyncUtilitiesLoggingModule < Minitest::Test | |
4 | |
5 def setup | |
6 @dummy_class = Class.new do | |
7 include MirrorSyncUtilities::Logging | |
8 end | |
9 end | |
10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> nfs_server: Importing base box 'bento/centos-7.2'... | |
==> nfs_server: Matching MAC address for NAT networking... | |
==> nfs_server: Checking if box 'bento/centos-7.2' is up to date... | |
==> nfs_server: Setting the name of the VM: nfs_nfs_server_1478142071824_31125 | |
==> nfs_server: Clearing any previously set network interfaces... | |
==> nfs_server: Preparing network interfaces based on configuration... | |
nfs_server: Adapter 1: nat | |
nfs_server: Adapter 2: hostonly | |
==> nfs_server: Forwarding ports... | |
nfs_server: 22 (guest) => 2222 (host) (adapter 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VirtualBox VM 5.1.8 r111374 linux.amd64 (Oct 18 2016 18:26:03) release log | |
00:00:00.010602 Log opened 2016-11-03T03:01:13.116007000Z | |
00:00:00.010603 Build Type: release | |
00:00:00.010606 OS Product: Linux | |
00:00:00.010607 OS Release: 3.10.0-327.36.2.el7.x86_64 | |
00:00:00.010608 OS Version: #1 SMP Mon Oct 10 23:08:37 UTC 2016 | |
00:00:00.010647 DMI Product Name: To be filled by O.E.M. | |
00:00:00.010658 DMI Product Version: To be filled by O.E.M. | |
00:00:00.010794 Host RAM: 7710MB (7.5GB) total, 5790MB (5.6GB) available | |
00:00:00.010798 Executable: /usr/lib/virtualbox/VBoxHeadless |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: PG_CLASS | |
at org.hsqldb.jdbc.Util.sqlException(Unknown Source) | |
at org.hsqldb.jdbc.Util.sqlException(Unknown Source) | |
at org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source) | |
at org.hsqldb.jdbc.JDBCStatement.executeQuery(Unknown Source) | |
at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208) | |
at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208) | |
at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208) | |
at org.hibernate.tool.hbm2ddl.DatabaseMetadata.initSequences(DatabaseMetadata.java:151) | |
at org.hibernate.tool.hbm2ddl.DatabaseMetadata.<init>(DatabaseMetadata.java:69) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18:23:50,616 INFO MuleClient:230 - Using existing MuleContext: org.mule.DefaultMuleContext@138c3c8f | |
18:23:51,521 API_INFO CustomAuthenticationProvider:70 - Successfully authenticated user: timtest userId: 99 | |
18:23:51,521 INFO ServerPasswordCallback:43 - Authentication: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@ef67d7c8: Principal: CustomUserDetails(userId=99, name=null, username=timtest, password=gnome4life, enabled=true, accountNonExpired=true, accountNonLocked=true, credentialsNonExpired=true, authorities=null); Credentials: [PROTECTED]; Authenticated: true; Details: null; Not granted any authorities | |
18:23:51,524 INFO LoggerMessageProcessor:108 - SendFaxRequest(broadcastRef=test-15, sendRef=test-2-1, documents=[ApiFaxDocument(documentRef=null, fileName=test.txt, fileData=VGhpcyBpcyBhIGZheA==, order=0, ditheringTechnique=null, docMergeFields=[ApiFaxDocumentDocMergeField(key=Name, value=Tim)], stampMergeFields=[ApiFaxDocumentStampMergeField(key= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15:38:52,480 INFO MuleClient:230 - Using existing MuleContext: org.mule.DefaultMuleContext@fb52041 | |
15:38:52,500 INFO AbstractLifecycleManager:36 - Initialising: 'connector.VM.mule.default.dispatcher.406527627'. Object is: VMMessageDispatcher | |
15:38:52,500 INFO AbstractLifecycleManager:48 - Starting: 'connector.VM.mule.default.dispatcher.406527627'. Object is: VMMessageDispatcher | |
15:38:53,568 INFO DefaultTransportServiceDescriptor:390 - Loading default outbound transformer: org.mule.transport.http.transformers.ObjectToHttpClientMethodRequest | |
15:38:53,578 INFO DefaultTransportServiceDescriptor:410 - Loading default response transformer: org.mule.transport.http.transformers.MuleMessageToHttpResponse | |
15:38:53,579 INFO DefaultTransportServiceDescriptor:390 - Loading default outbound transformer: org.mule.transport.http.transformers.ObjectToHttpClientMethodRequest | |
15:38:53,580 INFO AbstractLifecycleManager:36 - Initialising: 'connector.http.mule.default.dispatcher.130 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ter.java:92) | |
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) | |
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52) | |
at org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(DatabaseMetadata.java:128) | |
at org.hibernate.cfg.Configuration.generateSchemaUpdateScript(Configuration.java:1202) | |
at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:187) | |
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:375) | |
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1872) | |
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860) | |
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779) |