<machty>
how do i declare/register a `become_java!'d ruby class so that a separate java thread (that starts after this declaration) can find it using a class name?
<machty>
is there _any_ better debugging information JRuby could provide here?
<machty>
other than "nope, couldn't find it"
<machty>
something like Rails where it says "tried searching in the following directories"
<machty>
aaaand i fixed it
bbrowning is now known as bbrowning_away
camlow325 has joined #jruby
camlow325 has quit [Ping timeout: 255 seconds]
atm0sphere is now known as darede
darede is now known as golang
ankitr has joined #jruby
ankitr is now known as atm0sphere
atm0sphere is now known as golangpr
enebo has joined #jruby
marciol has quit [Remote host closed the connection]
marciol has joined #jruby
marciol has quit [Ping timeout: 245 seconds]
cremes has joined #jruby
vtunka has quit [Ping timeout: 260 seconds]
vtunka has joined #jruby
phlebas has quit [Ping timeout: 258 seconds]
phlebas has joined #jruby
cschneid has quit [Ping timeout: 258 seconds]
electrical has quit [Ping timeout: 258 seconds]
electrical has joined #jruby
prasun has quit [Ping timeout: 255 seconds]
cschneid has joined #jruby
vtunka has quit [Quit: Leaving]
vtunka has joined #jruby
bbrowning_away is now known as bbrowning
marciol has joined #jruby
msg31 has joined #jruby
prasun has joined #jruby
<msg31>
Hello. I'm struggling with what I feel a problem that is probably very simple for someone experienced. I've installed ldapjdk on my RHEL7 system. For good measure I require '/usr/share/java/ldapjdk.jar'. java_import netscape.ldap.LDAPConnection fails with 'NameError: undefined local variable or method `netscape' for main:Object'. I'm not really sure how to troubleshoot this further
<GitHub137>
jruby/master 679bb6e Thomas E. Enebo: Polish the stone...get rid of some extra processing of parameters for opt/rest side of Proc#curry
Guest69 has joined #jruby
<headius>
ericuspiceworks: it should work, but we only define the top-level java, javax, org, and com packages
<headius>
anything outside those you need Java:: in front of, but dots still work
<headius>
msg31: ^^
<headius>
ericuspiceworks: the camel case form is discouraged because it can be ambiguous
<enebo>
It is also too magical
<headius>
Java::org.company.Class is preferred
<headius>
or with org you can omit Java::
prasun has quit [Ping timeout: 276 seconds]
<msg31>
great, thanks
<msg31>
unfortunately the ldapsdk java library does not have support for TLS :'(
<msg31>
Maybe there is a clever solution I don't know about. net-ldap does not support a connection timeout until version 0.13, however 0.13 is only supported with ruby >= 2.0. Is there a way I can timeout out a method if it takes too long in jruby?
<msg31>
Unfortunately I'm stuck working with jruby 1.7.26 as that is what puppetserver ships with
<headius>
oh, I was just about to ask
<headius>
what 2.0 stuff does it use?
<headius>
net-ldap I mean
<headius>
there must be a TLS LDAP lib for Java out there *somewhere*