Skip to main content
Participant
March 28, 2011
Question

EJB / JNDI binding question (ColdFusion 9)

  • March 28, 2011
  • 1 reply
  • 527 views

Hello,

I am running ColdFusion 9 (developer edition) on my local machine (Windows XP SP3; 2,66Ghz; 2Gb RAM) through / using IIS 5.1.


Using this environment I'm trying to implement the Belgian e-ID applet (hosted on Google code) authentication example. But for the authentication to work, the SDK pdf tells me to register an EJB in JNDI.The basic configuration (being adding servlet & servlet mapping sections in the web.xml configuration file) works for identification, but no results for authentication...

I already contacted the eID site admin(s), requesting additional information on how to achieve this, but this yielded no results as well, as they forwarded me to the vendor of my web server (ColdFusion).

To make a long story short, is it possible to provide me with an example on how to register this / an EJB for use with the technology mentioned above?

Thanks in advance!

    This topic has been closed for replies.

    1 reply

    Community Expert
    March 28, 2011

    Well, your web server isn't really ColdFusion - if you just installed CF using the default settings, you're using JRun for both your web server and for the underlying J2EE container required by CF. So I'd recommend looking at the JRun documentation - just Google "jrun ejb".

    The default location and availability of JRun components in a default install of CF is a bit different than it is with a full JRun install, so you might have to reinstall CF using the JRun option, which installs a full version of JRun and then installs CF as an individual JRun server instance.

    Dave Watts, CTO, Fig Leaf Software

    http://www.figleaf.com/

    http://training.figleaf.com/

    Dave Watts, Eidolon LLC
    KniveAuthor
    Participant
    March 29, 2011

    Dave, thank you for your response.

    Unfortunately reinstalling CF is not an option, because my local set-up reflects the production environment setup. (We can't just go uninstalling & reinstalling our production server installations ).

    I already began reading the JRun documentation, but it is obvious I lack EJB knowlegde (nonetheless I understand the Java programming language).

    But other suggestions / more help is always useful. If anyone can / could provide a working Hello World! EJB running under CF with JNDI binding, I would be tremendously grateful.

    Thanks in advance.