Hi!

I'm trying to invoke an EJB deployed at a JRun server from a remote CF server, without 
success. I'm using the CFML code listed at the JRun manual.

Trying to get the reference to home object

<cfset home = initContext.lookup("HelloWorld.HelloWorldHome")>

I got the following error message:

javax.naming.NameNotFoundException: HelloWorld.HelloWorldHome not found. Java 
exception occurred in call to method.

The file HelloWorld.properties contains this entry:
ejb.beanHomeName=HelloWorld.HelloWorldHome

JRun server: NT4 WKS, JRun 3.0.1 (SP1) Dev Edition
CF server: Win2K, CF 4.5.1 SP1

CF/Java configuration:

Java Virtual Machine Path 
c:\program files\javasoft\jdk1.3\jre\bin\classic\jvm.dll 
Class Path 
c:\bin\jrun\classes\ejipt_client.jar;c:\bin\jrun\classes\astrolabio\HelloWorld_ejb.jar 
(these files were copied from JRun server)
(the files ejb.jar, jms.jar e jndi.jar were also copied to CF server, JRE ext 
directory)
System Options 
java.security.policy=c:\bin\jrun\lib\jrun.policy 
java.security.manager=java.rmi.RMISecurityManager 

Any help would be great!

Thanks in advance,
Marcello Frutig.
-- Astrol�bio

------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.

Reply via email to