I am pretty new to Django and Jython. I am trying to create war file which can be deployed to Jboss server. Unfortunately I have a problem with psycopg2 library.
I am using the modjy servlet so my library are placed in lib-python folder under WEB-INFO (it contains both Djongo and psycopg2 as well as others).
Application deploys to Jboss without any problem. Unfortunately when I am trying to access any page I could see following problem:
modjy.modjy_exceptions.ApplicationException: Error loading psycopg2 module: No module named _psycopg
Does anybody have any idea why? psycopg2 folder contains _psycopg.so file which is accessible by everybody.