Skip to main content
Participant
December 28, 2006
Question

CF MX 7 Installation Errors on MacOS X Tiger with JAVA 1.6

  • December 28, 2006
  • 2 replies
  • 709 views
Guys... I recently installed JRUN 4, and CFMX 7.1 on a Mac running Tiger, I also updated the JRE to 1.6 from Apple...

JAVA Versions
drwxr-xr-x 13 root wheel 442 Dec 26 21:14 .
drwxr-xr-x 10 root wheel 340 Dec 26 21:14 ..
lrwxr-xr-x 1 root wheel 5 Dec 26 21:14 1.3 -> 1.3.1
drwxr-xr-x 8 root wheel 272 Oct 31 00:44 1.3.1
lrwxr-xr-x 1 root wheel 5 Oct 31 03:09 1.4 -> 1.4.2
drwxr-xr-x 8 root wheel 272 Oct 31 00:44 1.4.2
lrwxr-xr-x 1 root wheel 5 Oct 31 05:38 1.5 -> 1.5.0
drwxr-xr-x 8 root wheel 272 Oct 31 05:38 1.5.0
lrwxr-xr-x 1 root wheel 5 Dec 26 21:14 1.6 -> 1.6.0
drwxr-xr-x 8 root wheel 272 Dec 26 21:14 1.6.0
drwxr-xr-x 6 root wheel 204 Dec 6 22:08 A
lrwxr-xr-x 1 root wheel 1 Oct 31 05:38 Current -> A
lrwxr-xr-x 1 root wheel 3 Dec 26 21:14 CurrentJDK -> 1.5

based on the instructions at http://www.adobe.com/support/coldfusion/j2ee/cfmx-mac-onjrunandtomcat.html

after doing the install and running the jrun service

%> ./jrun -start default &

it hangs on starting up the default server, which is where I have cfusion (from doco above). The error being:

Starting Macromedia JRun 4.0 (Build 106363), default server
01/01 17:43:23 info JRun Naming Service listening on *:2908
01/01 17:43:23 info No JDBC data sources have been configured for this server (see jrun-resources.xml)
01/01 17:43:23 info JRun Web Server listening on *:8100
01/01 17:43:24 info Deploying enterprise application "JRun 4.0 Internal J2EE Components" from: file:/Applications/JRun4/lib/jrun-comp.ear
01/01 17:43:24 info Deploying EJB "JRunSQLInvoker" from: file:/Applications/JRun4/lib/jrun-comp.ear
01/01 17:43:24 info Deploying web application "CFMX RDS Application" from: file:/Applications/JRun4/servers/default/CFIDE/
01/01 17:43:24 user JSPServlet: init
01/01 17:43:25 user RDSDispatchServlet: init
01/01 17:43:25 info Deploying web application "Macromedia Coldfusion MX" from: file:/Applications/JRun4/servers/default/cfusion/
01/01 17:43:27 INFO License Service: Flex 1.5 CF Edition enabled
01/01 17:43:27 INFO Starting Flex 1.5 CF Edition
01/01 17:43:27 user JSPServlet: init
01/01 17:43:27 user CFMxmlServlet: init
01/01 17:43:27 user CFMxmlServlet: Macromedia Flex Build: 87315.134646
01/01 17:43:27 INFO Macromedia Flex Build: 87315.134646
01/01 17:43:29 user MessageBrokerServlet: init
java.lang.LinkageError: loader constraints violated when linking javax/xml/namespace/QName class
at flex.messaging.config.XPathServerConfigurationParser.selectSingleNode(XPathServerConfigurationParser.java:52)
at flex.messaging.config.ServerConfigurationParser.parseTopLevelConfig(ServerConfigurationParser.java:45)
at flex.messaging.config.AbstractConfigurationParser.parse(AbstractConfigurationParser.java:66)
at flex.messaging.config.ConfigurationManager.getMessagingConfiguration(ConfigurationManager.java:77)
at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:90)
at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:94)
at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:48)
at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1200)
at jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService.java:791)
at jrun.servlet.WebApplicationService.postStart(WebApplicationService.java:293)
at jrun.deployment.DeployerService.initModules(DeployerService.java:711)
at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242)
at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
at jrun.deployment.DeployerService.run(DeployerService.java:891)
at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:230)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
01/01 17:43:29 user failed to load: flex.messaging.MessageBrokerServlet
01/01 17:43:29 error Could not pre-load servlet: MessageBrokerServlet
[1]java.lang.LinkageError: loader constraints violated when linking javax/xml/namespace/QName class
at flex.messaging.config.XPathServerConfigurationParser.selectSingleNode(XPathServerConfigurationParser.java:52)
at flex.messaging.config.ServerConfigurationParser.parseTopLevelConfig(ServerConfigurationParser.java:45)
at flex.messaging.config.AbstractConfigurationParser.parse(AbstractConfigurationParser.java:66)
at flex.messaging.config.ConfigurationManager.getMessagingConfiguration(ConfigurationManager.java:77)
at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:90)
at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:94)
at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:48)
at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1200)
at jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService.java:791)
at jrun.servlet.WebApplicationService.postStart(WebApplicationService.java:293)
at jrun.deployment.DeployerService.initModules(DeployerService.java:711)
at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242)
at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
at jrun.deployment.DeployerService.run(DeployerService.java:891)
at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:230)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
[0]javax.servlet.ServletException: loader constraints violated when linking javax/xml/namespace/QName class
at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:102)
at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:48)
at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1200)
at jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService.java:791)
at jrun.servlet.WebApplicationService.postStart(WebApplicationService.java:293)
at jrun.deployment.DeployerService.initModules(DeployerService.java:711)
at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242)
at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
at jrun.deployment.DeployerService.run(DeployerService.java:891)
at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:230)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

01/01 17:43:29 user ColdFusionStartUpServlet: init
01/01 17:43:29 user ColdFusionStartUpServlet: ColdFusion MX: Starting application services
01/01 17:43:29 user ColdFusionStartUpServlet: ColdFusion MX: VM version = 1.5.0_06-64
01/01 17:43:30 Information [scheduler-9] - Starting logging...
01/01 17:43:30 Information [scheduler-9] - Starting crypto...
01/01 17:43:30 Information [scheduler-9] - Starting license...
01/01 17:43:30 Information [scheduler-9] - Starting License server ...
01/01 17:43:31 Information [scheduler-9] - Starting scheduler...
01/01 17:43:31 Information [scheduler-9] - Starting WatchService...
01/01 17:43:31 Information [scheduler-9] - Starting debugging...
01/01 17:43:31 Information [scheduler-9] - Starting sql...
01/01 17:43:31 Information [scheduler-9] - Starting mail...
01/01 17:43:37 Information [scheduler-9] - CORBA Configuration not enabled
01/01 17:43:37 Information [scheduler-9] - Starting cron...
01/01 17:43:37 Information [scheduler-9] - Starting registry...
01/01 17:43:37 Information [scheduler-9] - Starting client...
01/01 17:43:37 Information [scheduler-9] - The metrics service is disabled for the J2EE edition
01/01 17:43:37 Information [scheduler-9] - Starting xmlrpc...
01/01 17:43:37 Information [scheduler-9] - Starting graphing...


So obviously when doing something like this in the browser... the thing don't exist

eg: http://localhost:8100/cfusion/CFIDE/administrator/index.cfm

All other services are go:

http://localhost:8000 -> JRUN administrator
http://localhost:8200 -> JRUN samples


Anyones help would eleviate me from testing my applcation on a production box!!! and on my local machine

cheers
This topic has been closed for replies.

2 replies

Participating Frequently
January 9, 2007
Participating Frequently
January 2, 2007
CFMX 7.x is not supported on the 1.5 or greater JREs. The latest supported vm is 1.4.2_11. See ColdFusion MX 7.0.2 System Requirements.

Ted Zimmerman
tibs75Author
Participant
January 4, 2007
So how do I make it so that the JRun points to JRE 1.4.2? Do I do it from JRUN administrator or do I need to do it at the terminal?

I really don't wish to do it at the terminal... thats at the command line as I also use NETBEANS to do my java coding... it points to mysql 5.0 db and the JRE required for for some fancy stuff is JRE 1.5


cheers
Participating Frequently
January 4, 2007
Edit the java.home property of the jvm.config file to point to the 1.4.2 jdk. It's in the {cfmx-root}/runtime/bin with the standard install and the {jrun-home}/bin directory of the multiserver or j2ee install.

Ted Zimmerman