No source of timezone data could be found

255 views
Skip to first unread message

azimha...@gmail.com

unread,
Apr 5, 2016, 2:00:01 AM4/5/16
to Kill Bill users mailing-list
Hi,

I am unable to start Kill Bill Kaui . I am getting this No source of timezone data could be found error. Steps I did were as follows
1) Downloaded KAUI 0.7.0 from http://killbill.io/downloads/
2) Copied the downloaded war file to tomcat container
3) Navigated to apache-tomcat-7.0.59\webapps\kaui-standalone-0.7.0\WEB-INF in command prompt
4) Installed tzinfo-data using command gem install tzinfo-data
5) Started the server.

Snippet of logs are as below. Please help me to get rid of this error.

Apr 05, 2016 11:19:42 AM org.apache.catalina.core.ApplicationContext log
INFO: INFO: jruby 1.7.23 (1.9.3p551) 2015-11-24 f496dd5 on Java HotSpot(TM) 64-Bit Server VM 1.7.0_67-b01 +jit [Windows 8.1-amd64]
Apr 05, 2016 11:19:42 AM org.apache.catalina.core.ApplicationContext log
INFO: INFO: using a shared (threadsafe!) runtime
Apr 05, 2016 11:20:00 AM org.apache.catalina.core.ApplicationContext log
INFO: An exception happened during JRuby-Rack startup
No source of timezone data could be found.
Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error.
--- System
jruby 1.7.23 (1.9.3p551) 2015-11-24 f496dd5 on Java HotSpot(TM) 64-Bit Server VM 1.7.0_67-b01 +jit [Windows 8.1-amd64]
Time: 2016-04-05 11:20:00 +0530
Server: Apache Tomcat/7.0.59
jruby.home: file:/D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home

--- Context Init Parameters:
jruby.max.runtimes = 1
jruby.min.runtimes = 1
public.root = /
rails.env = production

--- Backtrace
TZInfo::DataSourceNotFound: No source of timezone data could be found.
Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error.
create_default_data_source at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb:182
get at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb:40
synchronize at org/jruby/ext/thread/Mutex.java:149
get at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb:39
data_source at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb:629
get at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb:92
real_timezone at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/timezone_proxy.rb:67
period_for_utc at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/timezone_proxy.rb:30
current_period at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb:549
utc_offset at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/activesupport-4.2.5/lib/active_support/values/time_zone.rb:282
[] at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/activesupport-4.2.5/lib/active_support/values/time_zone.rb:243
tap at org/jruby/RubyKernel.java:1858
[] at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/activesupport-4.2.5/lib/active_support/values/time_zone.rb:243
find_zone! at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/activesupport-4.2.5/lib/active_support/core_ext/time/zones.rb:61
Railtie at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/activesupport-4.2.5/lib/active_support/railtie.rb:20
instance_exec at org/jruby/RubyBasicObject.java:1623
run at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/railties-4.2.5/lib/rails/initializable.rb:30
run_initializers at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/railties-4.2.5/lib/rails/initializable.rb:55
tsort_each at /D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:150
each_strongly_connected_component at /D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:183
each_strongly_connected_component_from at /D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:219
each_strongly_connected_component at /D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:182
each at org/jruby/RubyArray.java:1613
each_strongly_connected_component at /D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:180
tsort_each at /D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:148
run_initializers at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/railties-4.2.5/lib/rails/initializable.rb:54
initialize! at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/railties-4.2.5/lib/rails/application.rb:352
public_send at org/jruby/RubyKernel.java:1930
method_missing at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/railties-4.2.5/lib/rails/railtie.rb:194
(root) at D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/config/environment.rb:5
require at org/jruby/RubyKernel.java:1040
(root) at file:/D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-rack-1.1.19.jar!/jruby/rack/rails/environment3.rb:1
load_environment at file:/D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-rack-1.1.19.jar!/jruby/rack/rails/environment3.rb:25
load_environment at file:/D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-rack-1.1.19.jar!/jruby/rack/rails_booter.rb:83

--- RubyGems
Gem.dir: D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems
Gem.path:
D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems
Activated gems:
bundler-1.10.6
rake-10.4.2
i18n-0.7.0
json-1.8.3-java
minitest-5.8.3
thread_safe-0.3.5-java
tzinfo-1.2.2
activesupport-4.2.5
builder-3.2.2
erubis-2.7.0
nokogiri-1.6.7.1-java
rails-deprecated_sanitizer-1.0.3
rails-dom-testing-1.0.7
loofah-2.0.3
rails-html-sanitizer-1.0.2
actionview-4.2.5
rack-1.6.4
rack-test-0.6.3
actionpack-4.2.5
globalid-0.3.6
activejob-4.2.5
mime-types-2.99
mail-2.6.3
actionmailer-4.2.5
activemodel-4.2.5
arel-6.0.3
activerecord-4.2.5
activerecord-jdbc-adapter-1.3.19
jdbc-mysql-5.1.37
activerecord-jdbcmysql-adapter-1.3.19
jdbc-sqlite3-3.8.11.2
activerecord-jdbcsqlite3-adapter-1.3.19
bcrypt-3.1.10-java
thor-0.19.1
railties-4.2.5
bootstrap-datepicker-rails-1.4.0
cancan-1.6.10
carmen-1.0.2
concurrent-ruby-1.0.0-java
sprockets-3.5.2
sprockets-rails-2.3.3
rails-4.2.5
carmen-rails-1.0.1
descendants_tracker-0.0.4
coercible-1.0.0
commonjs-0.2.7
d3_rails-3.2.8
orm_adapter-0.5.0
responders-2.1.0
warden-1.2.4
devise-3.4.1
execjs-2.6.0
jquery-rails-3.0.4
sass-3.4.20
tilt-2.0.1
sass-rails-5.0.4
jquery-datatables-rails-3.3.0
jruby-jars-1.7.23
jruby-rack-1.1.19
js-routes-1.1.2
killbill-client-0.28.0
momentjs-rails-2.10.6
money-6.5.1
monetize-1.1.0
money-rails-1.3.0
spinjs-rails-1.4
symmetric-encryption-3.6.0
twitter-bootstrap-rails-3.2.1
kanaui-0.4.2
less-2.6.0
less-rails-2.7.0
protected_attributes-1.0.9
kaui-0.14.2
killbill-avatax-0.0.3
killbill-kpm-0.1.0
rubyzip-1.1.7
therubyrhino_jar-1.7.6
therubyrhino-2.0.4
warbler-1.4.9

--- Bundler
Bundler.bundle_path: D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems
Bundler.root: D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF
Gemfile: D:\HARMAN\SDP\software\tomcat\apache-tomcat-7.0.59\webapps\kaui-standalone-0.7.0\WEB-INF\Gemfile
Settings:
gemfile = D:\HARMAN\SDP\software\tomcat\apache-tomcat-7.0.59\webapps\kaui-standalone-0.7.0\WEB-INF\Gemfile
without = development:test:assets
bin_path = D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/bundler-1.10.6/bin/bundle

--- JRuby-Rack Config
compat_version =
default_logger = org.jruby.rack.logging.StandardOutLogger@5dd117fa
equals = <error: >
err = org.apache.tomcat.util.log.SystemLogHandler@562c62b6
filter_adds_html = true
filter_verifies_resource = false
ignore_environment = false
initial_memory_buffer_size =
initial_runtimes = 1
jms_connection_factory =
jms_jndi_properties =
logger = org.jruby.rack.logging.ServletContextLogger@6f28e621
logger_class_name = servlet_context
logger_name = jruby.rack
maximum_memory_buffer_size =
maximum_runtimes = 1
num_initializer_threads =
out = org.apache.tomcat.util.log.SystemLogHandler@69de6d26
rackup =
rackup_path =
rewindable = true
runtime_arguments =
runtime_environment =
runtime_timeout_seconds =
serial_initialization = false
servlet_context = org.apache.catalina.core.ApplicationContextFacade@4508ca09
throw_init_exception = false

Apr 05, 2016 11:20:00 AM org.apache.catalina.core.ApplicationContext log
SEVERE: ERROR: initialization failed
org.jruby.rack.RackInitializationException: No source of timezone data could be found.
Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error.
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb:182:in `create_default_data_source'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb:40:in `get'
from org/jruby/ext/thread/Mutex.java:149:in `synchronize'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb:39:in `get'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb:629:in `data_source'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb:92:in `get'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/timezone_proxy.rb:67:in `real_timezone'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/timezone_proxy.rb:30:in `period_for_utc'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb:549:in `current_period'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/activesupport-4.2.5/lib/active_support/values/time_zone.rb:282:in `utc_offset'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/activesupport-4.2.5/lib/active_support/values/time_zone.rb:243:in `[]'
from org/jruby/RubyKernel.java:1858:in `tap'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/activesupport-4.2.5/lib/active_support/values/time_zone.rb:243:in `[]'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/activesupport-4.2.5/lib/active_support/core_ext/time/zones.rb:61:in `find_zone!'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/activesupport-4.2.5/lib/active_support/railtie.rb:20:in `Railtie'
from org/jruby/RubyBasicObject.java:1623:in `instance_exec'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/railties-4.2.5/lib/rails/initializable.rb:30:in `run'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/railties-4.2.5/lib/rails/initializable.rb:55:in `run_initializers'
from /D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:150:in `tsort_each'
from /D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:183:in `each_strongly_connected_component'
from /D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:219:in `each_strongly_connected_component_from'
from /D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:182:in `each_strongly_connected_component'
from org/jruby/RubyArray.java:1613:in `each'
from /D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:180:in `each_strongly_connected_component'
from /D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:148:in `tsort_each'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/railties-4.2.5/lib/rails/initializable.rb:54:in `run_initializers'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/railties-4.2.5/lib/rails/application.rb:352:in `initialize!'
from org/jruby/RubyKernel.java:1930:in `public_send'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/railties-4.2.5/lib/rails/railtie.rb:194:in `method_missing'
from D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/config/environment.rb:5:in `(root)'
from org/jruby/RubyKernel.java:1040:in `require'
from file:/D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-rack-1.1.19.jar!/jruby/rack/rails/environment3.rb:1:in `(root)'
from file:/D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-rack-1.1.19.jar!/jruby/rack/rails/environment3.rb:25:in `load_environment'
from file:/D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-rack-1.1.19.jar!/jruby/rack/rails_booter.rb:83:in `load_environment'

at org.jruby.rack.RackInitializationException.wrap(RackInitializationException.java:29)
at org.jruby.rack.RackApplicationFactoryDecorator.init(RackApplicationFactoryDecorator.java:104)
at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:50)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.jruby.exceptions.RaiseException: (DataSourceNotFound) No source of timezone data could be found.
Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error.
at RUBY.create_default_data_source(D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb:182)
at RUBY.get(D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb:40)
at org.jruby.ext.thread.Mutex.synchronize(org/jruby/ext/thread/Mutex.java:149)
at RUBY.get(D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb:39)
at RUBY.data_source(D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb:629)
at RUBY.get(D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb:92)
at RUBY.real_timezone(D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/timezone_proxy.rb:67)
at RUBY.period_for_utc(D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/timezone_proxy.rb:30)
at RUBY.current_period(D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb:549)
at RUBY.utc_offset(D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/activesupport-4.2.5/lib/active_support/values/time_zone.rb:282)
at RUBY.[](D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/activesupport-4.2.5/lib/active_support/values/time_zone.rb:243)
at org.jruby.RubyKernel.tap(org/jruby/RubyKernel.java:1858)
at RUBY.[](D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/activesupport-4.2.5/lib/active_support/values/time_zone.rb:243)
at RUBY.find_zone!(D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/activesupport-4.2.5/lib/active_support/core_ext/time/zones.rb:61)
at RUBY.Railtie(D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/activesupport-4.2.5/lib/active_support/railtie.rb:20)
at org.jruby.RubyBasicObject.instance_exec(org/jruby/RubyBasicObject.java:1623)
at Rails::Initializable::Initializer.run(D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/railties-4.2.5/lib/rails/initializable.rb:30)
at RUBY.run_initializers(D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/railties-4.2.5/lib/rails/initializable.rb:55)
at RUBY.tsort_each(/D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:150)
at RUBY.each_strongly_connected_component(/D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:183)
at TSort.each_strongly_connected_component_from(/D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:219)
at RUBY.each_strongly_connected_component(/D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:182)
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613)
at RUBY.each_strongly_connected_component(/D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:180)
at RUBY.tsort_each(/D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:148)
at RUBY.run_initializers(D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/railties-4.2.5/lib/rails/initializable.rb:54)
at RUBY.initialize!(D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/railties-4.2.5/lib/rails/application.rb:352)
at org.jruby.RubyKernel.public_send(org/jruby/RubyKernel.java:1930)
at RUBY.method_missing(D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/gems/gems/railties-4.2.5/lib/rails/railtie.rb:194)
at RUBY.(root)(D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/config/environment.rb:5)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040)
at RUBY.(root)(file:/D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-rack-1.1.19.jar!/jruby/rack/rails/environment3.rb:1)
at RUBY.load_environment(file:/D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-rack-1.1.19.jar!/jruby/rack/rails/environment3.rb:25)
at RUBY.load_environment(file:/D:/HARMAN/SDP/software/tomcat/apache-tomcat-7.0.59/webapps/kaui-standalone-0.7.0/WEB-INF/lib/jruby-rack-1.1.19.jar!/jruby/rack/rails_booter.rb:83)

Apr 05, 2016 11:20:01 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Apr 05, 2016 11:20:01 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Apr 05, 2016 11:20:01 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@78a48f79')

Pierre-Alexandre Meyer

unread,
Apr 5, 2016, 3:12:00 PM4/5/16
to Azim Hawaldar, Kill Bill users mailing-list
On Tue, Apr 5, 2016 at 2:00 AM, <azimha...@gmail.com> wrote:
I am unable to start Kill Bill Kaui . I am getting this No source of timezone data could be found error.

I have bundled tzinfo-data in the latest version of Kaui (0.7.1). Could you re-install and let me know if it fixes your problem?

Thanks,

--
Pierre

Azim Hawaldar

unread,
Apr 6, 2016, 12:24:44 AM4/6/16
to Pierre-Alexandre Meyer, Kill Bill users mailing-list
Hi Pierre,

Can you please share me the link to download  Kaui (0.7.1)?
 Because, I am not able to find this version in official KILL BILL download site.

Thanks,
Azim

Pierre-Alexandre Meyer

unread,
Apr 6, 2016, 8:18:58 AM4/6/16
to Azim Hawaldar, Kill Bill users mailing-list
Kaui 0.7.1 is available on Maven Central. But if you are using kpm (see our Getting Started guide), the latest version will be installed automatically.
--
Pierre

Azim Hawaldar

unread,
Apr 7, 2016, 2:21:35 AM4/7/16
to Pierre-Alexandre Meyer, Kill Bill users mailing-list
Hi Pierre,

I was able to download Kaui 0.7.1 from the link and was able to start the server. So, I have 2 war files in my tomcat web app . i.e.
1) kaui-standalone-0.7.1
2) killbill-profiles-killbill-0.16.3

I start the server and navigate to login page. i.e. http://localhost:8080/kaui-standalone-0.7.1/users/sign_in. When I provide the default username and password and press login, i.e. admin/password i am getting an exception. The logs are as follows.

Apr 07, 2016 11:06:43 AM org.apache.catalina.core.ApplicationContext log
INFO:   Parameters: {"utf8"=>"?", "authenticity_token"=>"PGB5MouTumHRypsz/rDUxcCFPWjmZ63XLE3FtfnKUbSAktERsWSeMAGBCPoEYKxqHMf7Cd9a2G5LEJQmjAe17A==", "user"=>{"kb_username"=>"admin", "password"=>"[FILTERED]"}, "commit"=>"Sign in"}

Apr 07, 2016 11:06:43 AM org.apache.catalina.core.ApplicationContext log

Apr 07, 2016 11:06:44 AM org.apache.catalina.core.ApplicationContext log
INFO: <=== 404 Not Found (1153.0ms)

Apr 07, 2016 11:06:44 AM org.apache.catalina.core.ApplicationContext log
INFO: Completed 500 Internal Server Error in 1258ms (ActiveRecord: 2.0ms)

Apr 07, 2016 11:06:44 AM org.apache.catalina.core.ApplicationContext log
INFO: 
KillBillClient::API::NotFound (<html><head><title>Apache Tomcat/7.0.59 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /1.0/kb/security/permissions</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/1.0/kb/security/permissions</u></p><p><b>description</b> <u>The requested resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.59</h3></body></html>):

Can you please tell me what I have missed here? Is there anything to be configured?

Thanks,
Azim


Pierre-Alexandre Meyer

unread,
Apr 7, 2016, 8:14:39 AM4/7/16
to Azim Hawaldar, Kill Bill users mailing-list
Hi Azim,

On Thu, Apr 7, 2016 at 2:21 AM, Azim Hawaldar <azimha...@gmail.com> wrote:
Apr 07, 2016 11:06:43 AM org.apache.catalina.core.ApplicationContext log

Apr 07, 2016 11:06:44 AM org.apache.catalina.core.ApplicationContext log
INFO: <=== 404 Not Found (1153.0ms)

It looks like Kill Bill isn't deployed as the ROOT application in Tomcat. Make sure to rename killbill-profiles-killbill-0.16.3.war as ROOT.war (see also http://docs.killbill.io/0.16/userguide_deployment.html for more details).

I would suggest using KPM (http://docs.killbill.io/0.16/getting_started.html#_kpm) or Docker to get familiar with Kill Bill initially, as these tools will make sure the bits and pieces are in the right place.

--
Pierre

Azim Hawaldar

unread,
Apr 12, 2016, 3:01:34 AM4/12/16
to Pierre-Alexandre Meyer, Kill Bill users mailing-list
Hi Pierre,

I deployed Kill Bill as a ROOT application in tomcat. Post that I was able to create account, subscription. However, when I upload a new catalog, I am getting an error saying (ArgumentError) Unable to find a non world-writable directory for Dir::tmpdir. Consider setting ENV['TMPDIR'], ENV['TMP'] or ENV['TEMP'] to a non world-writable directory.

Can you please tell me how can I resolve this error?

Thanks,
Azim

Pierre-Alexandre Meyer

unread,
Apr 12, 2016, 11:09:31 AM4/12/16
to Azim Hawaldar, Kill Bill users mailing-list
Hi Azim,

This could be related to https://github.com/jruby/jruby/issues/3505.

Could you try upgrading JRuby to 1.7.24 and try again?
--
Pierre

Pierre-Alexandre Meyer

unread,
Apr 12, 2016, 11:55:08 AM4/12/16
to Azim Hawaldar, Kill Bill users mailing-list

On Tue, Apr 12, 2016 at 11:09 AM, Pierre-Alexandre Meyer <pie...@kill-bill.org> wrote:
Hi Azim,

This could be related to https://github.com/jruby/jruby/issues/3505.

Could you try upgrading JRuby to 1.7.24 and try again?

On Tue, Apr 12, 2016 at 3:01 AM, Azim Hawaldar <azimha...@gmail.com> wrote:
Hi Pierre,

I deployed Kill Bill as a ROOT application in tomcat. Post that I was able to create account, subscription. However, when I upload a new catalog, I am getting an error saying (ArgumentError) Unable to find a non world-writable directory for Dir::tmpdir. Consider setting ENV['TMPDIR'], ENV['TMP'] or ENV['TEMP'] to a non world-writable directory.

Can you please tell me how can I resolve this error?

Thanks,
Azim

On Thu, Apr 7, 2016 at 5:44 PM, Pierre-Alexandre Meyer <pie...@kill-bill.org> wrote:
Hi Azim,

On Thu, Apr 7, 2016 at 2:21 AM, Azim Hawaldar <azimha...@gmail.com> wrote:
Apr 07, 2016 11:06:43 AM org.apache.catalina.core.ApplicationContext log

Apr 07, 2016 11:06:44 AM org.apache.catalina.core.ApplicationContext log
INFO: <=== 404 Not Found (1153.0ms)

It looks like Kill Bill isn't deployed as the ROOT application in Tomcat. Make sure to rename killbill-profiles-killbill-0.16.3.war as ROOT.war (see also http://docs.killbill.io/0.16/userguide_deployment.html for more details).

I would suggest using KPM (http://docs.killbill.io/0.16/getting_started.html#_kpm) or Docker to get familiar with Kill Bill initially, as these tools will make sure the bits and pieces are in the right place.

--
Pierre




--
Pierre



--
Pierre

Azim Hawaldar

unread,
Apr 14, 2016, 2:35:11 AM4/14/16
to Pierre-Alexandre Meyer, Kill Bill users mailing-list
Hi Pierre,

I was not able to locate the war in above URL. The WAR is missing in the repository. Also, I noticed one more thing with application. Whenever I am doing a sign up, an internal error will occur. However for default user i.e. username:admin password:password, the login is successful. I have attached the logs that occurs whenever I am doing a sign up with other than default user. Can you please check this?

Thanks,
Azim
killbill_kaui_logfiles.txt

Pierre-Alexandre Meyer

unread,
Apr 14, 2016, 9:54:24 AM4/14/16
to Azim Hawaldar, Kill Bill users mailing-list
Azim,

Snapshots are periodically deleted, I've just pushed it again. The new URL is:


Make sure to download it in the next 24 hours.

Regarding the other issue, to enable the sign-up feature, you need to configure the tenant_admin role first in Kill Bill. See instructions here:

--
Pierre

Azim Hawaldar

unread,
Apr 15, 2016, 12:34:30 AM4/15/16
to Pierre-Alexandre Meyer, Kill Bill users mailing-list
Hi Pierre,

I was now able to download the war file. Thanks. 

Regarding the other issue. I am able to create a new tenant through API. However, not able to sign up through KAUI. I see an insert query to make admin account visible in kaui database. I do not have such database with me. I only have kill bill server ddl script. Can you plase  share with me the KAUI database ddl? So, that I can insert this query

insert into kaui_allowed_users (kb_username, description, created_at, updated_at) values ('superadmin', 'super admin', NOW(), NOW());
Thanks,
Azim

Pierre-Alexandre Meyer

unread,
Apr 15, 2016, 6:51:06 AM4/15/16
to Azim Hawaldar, Kill Bill users mailing-list
On Fri, Apr 15, 2016 at 12:34 AM, Azim Hawaldar <azimha...@gmail.com> wrote:
I was now able to download the war file. Thanks. 

Great, did it solve your upload issue? If so, I'll create a release.
 
I see an insert query to make admin account visible in kaui database. I do not have such database with me. I only have kill bill server ddl script. Can you plase  share with me the KAUI database ddl?

The Kaui DDL script is here. More details on how to setup Kaui can be found on our Getting started guide. 

--
Pierre

Azim Hawaldar

unread,
Apr 18, 2016, 8:21:57 AM4/18/16
to Pierre-Alexandre Meyer, Kill Bill users mailing-list
Hi Peirre,

Thanks for the help. It resolved the issue.

Thanks once again.
Azim

Pierre-Alexandre Meyer

unread,
Apr 18, 2016, 11:45:08 AM4/18/16
to Azim Hawaldar, Kill Bill users mailing-list
Great, thanks for confirming!

I've released 0.7.2.
--
Pierre

Azim Hawaldar

unread,
Apr 19, 2016, 6:51:18 AM4/19/16
to Pierre-Alexandre Meyer, Kill Bill users mailing-list
Hi Pierre,

I am still not able to signup with a new user, after creating kaui db. Below is the script I have used. Please review it and let me know if I have missed anything here.

create database kaui
use kaui


CREATE TABLE `kaui_users` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `kb_username` varchar(255) NOT NULL,
  `kb_session_id` varchar(255) DEFAULT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `index_kaui_users_on_kb_username` (`kb_username`)
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;

CREATE TABLE `kaui_tenants` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) DEFAULT NULL,
  `kb_tenant_id` varchar(255) DEFAULT NULL,
  `api_key` varchar(255) DEFAULT NULL,
  `encrypted_api_secret` varchar(255) DEFAULT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE `kaui_allowed_users` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `kb_username` varchar(255) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `kaui_allowed_users_idx` (`kb_username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE `kaui_allowed_user_tenants` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `kaui_allowed_user_id` int(11) DEFAULT NULL,
  `kaui_tenant_id` int(11) DEFAULT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `kaui_allowed_users_tenants_uniq` (`kaui_allowed_user_id`,`kaui_tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

insert into kaui_allowed_users (kb_username, description, created_at, updated_at) values ('superadmin', 'super admin', NOW(), NOW());

Pierre-Alexandre Meyer

unread,
Apr 19, 2016, 9:54:19 AM4/19/16
to Azim Hawaldar, Kill Bill users mailing-list
Azim,

Could you share the Kill Bill and Kaui logs?

Thanks,
--
Pierre
Reply all
Reply to author
Forward
0 new messages