User 21178756d4
03-01-2012 14:10:26
Hi There,
I have downloaded your studentexam sample code and it's working fine on my local system but when i Uploaded it on my server and create virtual directory in IIS then i am getting error:
and also when i upload my code on server (IIS) then i have to do any changes for codebase,archive,code file..
ERROR:
Missing or invalid configuration file!
STACK TRACE:
java.io.IOException: Configuration loading failed!
at chemaxon.marvin.uif.builder.DefaultModuleConfiguration.loadConfiguration(Unknown Source)
at chemaxon.marvin.uif.module.GUIModule.loadConfiguration(Unknown Source)
at chemaxon.marvin.sketch.swing.SketchGUIModule.b(Unknown Source)
at chemaxon.marvin.sketch.swing.SketchGUIModule.a(Unknown Source)
at chemaxon.marvin.sketch.swing.SketchPanel.K(Unknown Source)
at chemaxon.marvin.sketch.swing.SketchPanel.molInit(Unknown Source)
at chemaxon.marvin.common.swing.MolPanel.init(Unknown Source)
at chemaxon.marvin.common.swing.MolPanel.init(Unknown Source)
at chemaxon.marvin.applet.JMSketch.createGUI(Unknown Source)
at chemaxon.marvin.applet.AbstractMarvinApplet.init(Unknown Source)
at chemaxon.marvin.applet.JMSketchLaunch.showApplet(Unknown Source)
at chemaxon.marvin.applet.AppletLaunch$3.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.util.MissingResourceException: Can't find bundle for base name examples.applets.sketch.studentexam.studentexam, locale en_US
at chemaxon.marvin.uif.builder.parser.ObjectParser.d(Unknown Source)
at chemaxon.marvin.uif.builder.parser.ObjectParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at chemaxon.marvin.uif.builder.parser.ObjectParser.parse(Unknown Source)
... 26 more
Caused by: java.util.MissingResourceException: Can't find bundle for base name examples.applets.sketch.studentexam.studentexam, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
... 43 more
and my code is below and it's a aspx page :-
<script type="text/javascript" language="javascript">
msketch_name = "MSketch";
msketch_begin("../../../..", 450, 450);
msketch_param("menuconfig", "/examples/applets/sketch/studentexam/menuconfig.xml");
msketch_param("lonePairsAutoCalc", "false");
msketch_param("lonePairsVisible", "true");
msketch_param("sketchCarbonVisibility", "on");
msketch_param("molFormat","cml")
msketch_param("implicitH", "off");
msketch_param("valenceErrorVisible", "false");
msketch_param("abbrevgroupsAllowed", "false");
msketch_param("shortcuts", "/examples/applets/sketch/studentexam/shortcuts.xml");
msketch_param("ttmpls0", "*Generic*/examples/applets/sketch/studentexam/generic.csmol");
msketch_param("ttmpls1", "*Rings*chemaxon/marvin/templates/rings.t");
msketch_param("templateToolbarCustomizable", "false");
msketch_param("wmode", "transparent");
msketch_param("listenpropertychange", "false");
//msketch_param("autoscale", "true");
msketch_param("viewonly", "true");
msketch_param("moreEnabled","false");
msketch_end();
</script>
So please Suggest me what to do ,because i am in testing phase of this tool.
Please Help me ASAP.
Thanks in advance.