• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

parsing xml document using cold fusion

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Folks,
I want to set the JVM and Java Settings in the cold fusion admistrator.
I would like to know the values that I should give in all the text fields under JVM and Java Settings. Actually I am doing all these stuff to parse an XML document using CFML.
The CFadministrator asked to input the following:
Specify any standard JVM initialization options as name-value pairs separated by space(s):
java.lang.Compiler=NONE java.security.manager=java.rmi.RMISecurityManager

Since i am not sure what its saying, i tried giving the following
java.lang.Compiler=NONE java.security.manager=java.rmi.RMISecurityManager
It gave the following error.
Unhandled System exception !
Failed to create JavaVM. JNI_CreateJavaVM returned error code JNI_ERR (this may indicate an unrecognized option string)

What i am trying to do is parse the xml document. What are the initilisation parameters needed here?
Thanks in advance.
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
For ColdFusion 5.0 settings:
just fill the following fields:

Java Virtual Machine Path:
C:\Program Files\JavaSoft\JRE\1.3.1\bin\hotspot
or the path of your jvm.dll
Class Path:
C:\CFUSION\Java\classes (if you are developing your java classes in C:\CFUSION\Java\classes folder or give your own path
CFX Jar Path:
C:\CFUSION\Java\classes
or you can give your path of cfx.jar

Dynamic Class Load Path:
C:\CFUSION\Java\classes
or/and give the path of other .jar files you are using with your java classes or path with ;

You can view a code example also at
http://www.pakistanchristianvoice.net/aamir/file1.cfm
Hoping this will help you
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic