I think the docs are in error. Try adding more stuff to the CF classpath
setting. I think you might have to put default_objects.jar and
default_exports.jar from the JRun lib directory. If that doesn't work, I'll
look at the doc bug on Monday and let you know what else.
Scott Stirling
Allaire
-----Original Message-----
From: Marcello Frutig
To: JRun-Talk
Sent: 10/28/00 4:23 PM
Subject: CF and JRun
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\Hell
oWorld_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?sidebar=lists&body=lists/jrun_tal
k
or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
------------------------------------------------------------------------------
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.