Adobe 38043740 User Guide - Page 68

Enable COM support Windows only, Enable communication with Flex, Disable RDS

Page 68 highlights

64 CHAPTER 5 Installing the J2EE Configuration export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:CF_WEBAPP_ROOT/WEB-INF/cfusion/lib 3 Save the file and start the server. Enable COM support (Windows only) 1 Ensure that JBoss Server is stopped. 2 Edit JBOSS_HOME\bin\run.bat by adding the following: set CF_LIB_PATH=%CF_LIB_PATH%;CF_WEBAPP_ROOT\WEBINF\cfusion\jintegra\bin;CF_WEBAPP_ROOT\WEB-INF\cfusion\jintegra\bin\international 3 Save the file and start the server. Enable communication with Flex When ColdFusion is configured to use RMI for LiveCycle Data Services ES, ColdFusion listens on port 1099 by default. However JBoss typically starts listening on this port before ColdFusion does; as a result, an exception is thrown. To configure ColdFusion to use a different RMI port, on the Java and JVM page of the ColdFusion Administrator, specify the following in the JVM arguments text area: -Dcoldfusion.rmiport=nnnn Replace nnn with the value of an unused port. If you try to connect from a LiveCycle Data Services ES server that is running in another JVM server to ColdFusion over RMI, the Flex server must start with the same JVM argument. Disable RDS 1 Stop ColdFusion. 2 Edit JBOSS_DEPLOY_DIR\cfusion.ear\cfusion.war\WEB-INF\web.xml by commenting out the following: 3 Save the file and start Coldfusion. Some features, such as EJB3, require JRE 1.5. To use JRE 1.4, ensure that the jboss-aop-deployer pack is not installed as part of the JBoss installation. JBoss installs EJB3 if this pack is selected, which results in JBoss generating errors.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112

CHAPTER 5
64
Installing the J2EE Configuration
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:CF_WEBAPP_ROOT/WEB-INF/cfusion/lib
3
Save the file and start the server.
Enable COM support (Windows only)
1
Ensure that JBoss Server is stopped.
2
Edit JBOSS_HOME\bin\run.bat by adding the following:
set CF_LIB_PATH=%CF_LIB_PATH%;CF_WEBAPP_ROOT\WEB-
INF\cfusion\jintegra\bin;CF_WEBAPP_ROOT\WEB-INF\cfusion\jintegra\bin\international
3
Save the file and start the server.
Enable communication with Flex
When ColdFusion is configured to use RMI for LiveCycle Data Services ES, ColdFusion listens on port 1099 by
default. However JBoss typically starts listening on this port before ColdFusion does; as a result, an exception is
thrown. To configure ColdFusion to use a different RMI port, on the Java and JVM page of the ColdFusion
Administrator, specify the following in the JVM arguments text area:
-Dcoldfusion.rmiport=
nnnn
Replace
nnn
with the value of an unused port. If you try to connect from a LiveCycle Data Services ES server that
is running in another JVM server to ColdFusion over RMI, the Flex server must start with the same JVM
argument.
Disable RDS
1
Stop ColdFusion.
2
Edit JBOSS_DEPLOY_DIR\cfusion.ear\cfusion.war\WEB-INF\web.xml by commenting out the following:
<!-- <servlet id="macromedia_servlet_8789"> <servlet-name>RDSServlet</servlet-name>
<display-name>RDS Servlet</display-name> <servlet-
class>coldfusion.bootstrap.BootstrapServlet</servlet-class> <init-param
id="InitParam_103401311065856789"> <param-name>servlet.class</param-name> <param-
value>coldfusion.rds.RdsFrontEndServlet</param-value> </init-param> </servlet> -->
<!-- <servlet-mapping id="macromedia_mapping_9"> <servlet-name>RDSServlet</servlet-
name> <url-pattern>/CFIDE/main/ide.cfm</url-pattern> </servlet-mapping> -->
3
Save the file and start Coldfusion.
Some features, such as EJB3, require JRE 1.5. To use JRE 1.4, ensure that the jboss-aop-deployer pack is not
installed as part of the JBoss installation. JBoss installs EJB3 if this pack is selected, which results in JBoss gener-
ating errors.