12 Commits

Author SHA1 Message Date
Vineet Chaudhary
299b313b78 FS-7269 : Add error logs in exec_user_method() when exception occurs.
In exec_user_method() report ERROR LOG to console in cases exceptions occurs,
like if any of class/method/userMethod->arg is null or for any reason which
sets status to SWITCH_STATUS_FALSE because that prevents loading mod_java and
users don't have clue why it is failing to load.

With this patch error logs can tell why method failed to execute.
2015-02-12 18:41:12 +05:30
Vineet Chaudhary
adccf499ad FS-7256 : Unable to load mod_java.
FS not able to load mod_java because in load_config switch_status_t status
is not initialised and in some conditions status is not gets set ever
resulting returning garbage value, resulting failuar to load mod_java.so.

With this patch status is set to SWITCH_STATUS_SUCCESS so in case everything
is loaded it can load mod_java else status is set to SWITCH_STATUS_FALSE(which
is already covered).
2015-02-10 12:43:26 +05:30
Travis Cross
0e22f1e954 Fix mod_java build issues
...including one syntax error and an underspecified cast.
2014-03-19 00:43:24 +00:00
Michael Jerris
d35a6818a3 fix typo in removing of apr dso funcitons 2014-03-18 19:53:43 -04:00
Michael Jerris
5e0fc8f666 remove usage of apr dso functions, we have our own dso abstraction 2014-03-12 19:02:49 -04:00
Brian West
efcd5656fb FS-4743 --resolve 2012-11-01 15:00:34 -05:00
Michael Jerris
1339e2185f mod_java: Allow user defined java methods to be called at startup and shutdown of JVM (MODLANG-117) 2010-05-31 10:15:35 -04:00
Michael Jerris
e4450044d7 indent 2010-05-31 10:14:59 -04:00
Anthony Minessale
886e1ddb4d run indent on the whole tree and update copyright dates in prep for 1.0.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Mathieu Rene
13e6519066 Prevent unloading of embedded languages modules (also fixes MODLANG-121)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14491 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-11 16:03:31 +00:00
Anthony Minessale
509562b401 update mod_java to the new module api
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9214 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-31 20:16:44 +00:00
Michael Jerris
620fce6a56 fix osx build with a dirty hack
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6375 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-22 08:07:32 +00:00