1 Reply Latest reply on May 7, 2015 5:08 PM by Tomaz Cerar

    TorqueBox

    Steve Kiss Newbie

      I have installed TorqueBox 3.1.1. (overlay) on EAP6. and running many instances of TorqueBox on the same physical server.

      The web application deployed on TB requires JCE, installed and working.

      What I noticed is running application on instance TB1 is running fine. However in the same time deploying and running application on instance TB2 produces the following error:

      "...

      I, [2015-05-06T13:46:58.489000 #15999837]  INFO -- :   Rendered login/index.html.erb within layouts/users (15.0ms)

      I, [2015-05-06T13:46:58.512000 #15999837]  INFO -- : Completed 200 OK in 1834ms (Views: 59.0ms)

      F, [2015-05-06T13:46:59.274000 #15999837] FATAL -- :

      OpenSSL::Cipher::CipherError (Illegal key size: possibly you need to install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for your JRE):

        org/jruby/ext/openssl/Cipher.java:684:in `update'

        vendor/bundle/jruby/1.9/gems/activesupport-4.0.5/lib/active_support/message_encryptor.rb:76:in `_encrypt'

        vendor/bundle/jruby/1.9/gems/activesupport-4.0.5/lib/active_support/message_encryptor.rb:57:in `encrypt_and_sign'

      ..."

       

      both instances TB1 & TB2 are running of the same java hence same physical server.

       

      Any suggestion? Is allowed many (standalone) TorqueBox instances running in parallel?