Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unable to initialize Graphing service -FC3

1 view
Skip to first unread message

MurrayMint

unread,
Feb 9, 2005, 6:43:42 PM2/9/05
to
Hi,

Get this error message with CF7 on FC3 (I know it is no on the officially
supported list, but hey...)

"Error","main","02/09/05","23:31:54",,"Unable to initialize Graphing service: j
ava.lang.UnsatisfiedLinkError: /opt/coldfusionmx7/runtime/jre/lib/i386/libawt.s
o: libXp.so.6: cannot open shared object file: No such file or directory"
java.lang.UnsatisfiedLinkError: /opt/coldfusionmx7/runtime/jre/lib/i386/libawt.
so: libXp.so.6: cannot open shared object file: No such file or directory

Straightforward install, CF server installed to run as apache, just like the
webserver. Saw the techote for this problem for the OSX platform but this has
not resolved it. Anybody got any suggestions?

Thanks

serat

unread,
Feb 9, 2005, 6:52:12 PM2/9/05
to
Really? -Djava.awt.headless=true does not correct it? FC3 isn't supported
for CFMX , but I use that configuration on my laptop. The technote
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18747 has some
other options, but the headless one should have done the trick.

MurrayMint

unread,
Feb 10, 2005, 5:14:04 AM2/10/05
to
Well, it probably is me doing something stupid, but this is my jvm.config and
the problem is still there....

[root@dempsey bin]# more jvm.config
#
# VM configuration
#
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself
java.home=/opt/coldfusionmx7/runtime/jre
#
# If no java.home is specified a VM is located by looking in these places in th
is
# order:
#
# 1) bin directory for java.dll (windows) or lib/<ARCH>/libjava.so (unix)
# 2) ../jre
# 3) registry (windows only)
# 4) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
#

# Arguments to VM
java.args=-server -Xmx512m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=128m -
XX:+UseParallelGC -Djava.awt.headless=true -Dcoldfusion.rootDir={application.ho
me}/ -Dcoldfusion.classPath={application.home}/lib/updates,{application.home}/l
ib,{application.home}/gateway/lib/,{application.home}/wwwroot/WEB-INF/cfform/ja
rs -Dcoldfusion.libPath={application.home}/lib -Djava.awt.headless=true

#
# commas will be converted to platform specific separator and the result will b
e passed
# as -Djava.ext.dirs= to the VM
java.ext.dirs={jre.home}/lib/ext

#
# where to find shared libraries
java.library.path={application.home}/lib
system.path.first=false

#
# set the current working directory - useful for Windows to control
# the default search path used when loading DLLs since it comes
# before system directory, windows directory and PATH
java.user.dir={application.home}/../lib

# JVM classpath
java.class.path={application.home}/runtime/servers/lib,{application.home}/lib/m
acromedia_drivers.jar,{application.home}/runtime/lib/cfmx_mbean.jar,{applicatio
n.home}/runtime/lib


MurrayMint

unread,
Feb 10, 2005, 6:09:17 AM2/10/05
to
BTw, Steven, I noticed that this like is already included in the jvm.config, so is there really any need to add this again? As you can see from my config below, it is now included twice...

MurrayMint

unread,
Feb 12, 2005, 10:04:50 AM2/12/05
to
Never mind, fixed it by installing XFree86-libs-4.3.0-42.i386.rpm and now the
error has gone. Is there a list out there somewhere that tells me which
packages must be installed at a bare minimum for CF to work, because this was
like looking for a needle in a hay stack?

MurrayMint

unread,
Feb 12, 2005, 4:35:49 PM2/12/05
to
Anyway, great fun, keep replying to your own topics :)

MurrayMint

unread,
Feb 12, 2005, 4:35:04 PM2/12/05
to
In actual fact, forget that last package, it will break again the first time
you run "yum update". Instead, just install the xorg-x11-deprecated-libs
package and it works perfectly well. BTW, the documentation for this package
reads:

"This package contains shared library runtimes which have been deprecated, but
are provided still for compatibilty with existing applications that link to
them. Software projects which use these libraries, should port their code to
current alternatives." Funny :)

0 new messages