synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SYNAPSE-336) [Windows] Unable to start sample 351 and 352 on Windows due to an issue regarding scripts
Date Wed, 04 Jun 2008 04:32:45 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Asankha C. Perera resolved SYNAPSE-336.
---------------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s: 1.2-beta1
         Assignee: Asankha C. Perera

cannot reproduce using a fresh WindowsXP machine with the specified JDK 1.5.0_14

> [Windows] Unable to start sample 351 and 352 on Windows due to an issue regarding scripts
> -----------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-336
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-336
>             Project: Synapse
>          Issue Type: Bug
>          Components: Script mediator
>    Affects Versions: 1.2-beta1
>         Environment: Windows XP, JDK1.5.0_14
>            Reporter: Evanthika Amarasiri
>            Assignee: Asankha C. Perera
>            Priority: Critical
>             Fix For: 1.2-beta1
>
>
> When starting sample 351and 352 on Windows I get the following exception.
> 2008-05-30 12:35:03,375  [WrapperSimpleAppMain] ERROR SynapseConfigurationBuilder Could
not initialize Synapse : Exception initializing inline script
> org.apache.synapse.SynapseException: Exception initializing inline script
>         at org.apache.synapse.mediators.bsf.ScriptMediator.initInlineScript(ScriptMediator.java:279)
>         at org.apache.synapse.mediators.bsf.ScriptMediator.<init>(ScriptMediator.java:116)
>         at org.apache.synapse.mediators.bsf.ScriptMediatorFactory.createMediator(ScriptMediatorFactory.java:86)
>         at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:173)
>         at org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:42)
>         at org.apache.synapse.config.xml.InMediatorFactory.createMediator(InMediatorFactory.java:47)
>         at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:173)
>         at org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.getConfiguration(SynapseXMLConfigurationFactory.java:91)
>         at org.apache.synapse.config.xml.ConfigurationFactoryAndSerializerFinder.getConfiguration(ConfigurationFactoryAndSerializerFinder.java:160)
>         at org.apache.synapse.config.xml.XMLConfigurationBuilder.getConfiguration(XMLConfigurationBuilder.java:46)
>         at org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:76)
>         at org.apache.synapse.core.axis2.SynapseInitializationModule.getConfiguration(SynapseInitializationModule.java:161)
>         at org.apache.synapse.core.axis2.SynapseInitializationModule.init(SynapseInitializationModule.java:84)
>         at org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:226)
>         at org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:204)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:80)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)
>         at org.apache.synapse.ServerManager.start(ServerManager.java:106)
>         at org.apache.synapse.SynapseServer.main(SynapseServer.java:81)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException:
XML runtime not available (<Unknown Source>#2)
>         at com.sun.script.javascript.RhinoScriptEngine.compile(Unknown Source)
>         at com.sun.script.javascript.RhinoScriptEngine.compile(Unknown Source)
>         at org.apache.synapse.mediators.bsf.ScriptMediator.initInlineScript(ScriptMediator.java:268)
>         ... 24 more
> Caused by: sun.org.mozilla.javascript.internal.EvaluatorException: XML runtime not available
(<Unknown Source>#2)
>         at sun.org.mozilla.javascript.internal.DefaultErrorReporter.runtimeError(Unknown
Source)
>         at sun.org.mozilla.javascript.internal.DefaultErrorReporter.error(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.addError(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.reportError(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.mustHaveXML(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.memberExprTail(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.memberExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.unaryExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.mulExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.addExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.shiftExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.relExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.eqExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.bitAndExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.bitXorExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.bitOrExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.andExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.orExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.condExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.assignExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.variables(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.statementHelper(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.statement(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.parse(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.parse(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Context.compileImpl(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Context.compileReader(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Context.compileReader(Unknown Source)
>         ... 27 more
> 2008-05-30 12:35:03,406 [10.100.1.228-evanthika] [WrapperSimpleAppMain] FATAL ServerManager
Synaps startup failed...
> org.apache.synapse.SynapseException: Could not initialize Synapse : Exception initializing
inline script
>         at org.apache.synapse.config.SynapseConfigurationBuilder.handleException(SynapseConfigurationBuilder.java:105)
>         at org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:86)
>         at org.apache.synapse.core.axis2.SynapseInitializationModule.getConfiguration(SynapseInitializationModule.java:161)
>         at org.apache.synapse.core.axis2.SynapseInitializationModule.init(SynapseInitializationModule.java:84)
>         at org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:226)
>         at org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:204)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:80)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)
>         at org.apache.synapse.ServerManager.start(ServerManager.java:106)
>         at org.apache.synapse.SynapseServer.main(SynapseServer.java:81)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: org.apache.synapse.SynapseException: Exception initializing inline script
>         at org.apache.synapse.mediators.bsf.ScriptMediator.initInlineScript(ScriptMediator.java:279)
>         at org.apache.synapse.mediators.bsf.ScriptMediator.<init>(ScriptMediator.java:116)
>         at org.apache.synapse.mediators.bsf.ScriptMediatorFactory.createMediator(ScriptMediatorFactory.java:86)
>         at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:173)
>         at org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:42)
>         at org.apache.synapse.config.xml.InMediatorFactory.createMediator(InMediatorFactory.java:47)
>         at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:173)
>         at org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.getConfiguration(SynapseXMLConfigurationFactory.java:91)
>         at org.apache.synapse.config.xml.ConfigurationFactoryAndSerializerFinder.getConfiguration(ConfigurationFactoryAndSerializerFinder.java:160)
>         at org.apache.synapse.config.xml.XMLConfigurationBuilder.getConfiguration(XMLConfigurationBuilder.java:46)
>         at org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:76)
>         ... 14 more
> Caused by: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException:
XML runtime not available (<Unknown Source>#2)
>         at com.sun.script.javascript.RhinoScriptEngine.compile(Unknown Source)
>         at com.sun.script.javascript.RhinoScriptEngine.compile(Unknown Source)
>         at org.apache.synapse.mediators.bsf.ScriptMediator.initInlineScript(ScriptMediator.java:268)
>         ... 24 more
> Caused by: sun.org.mozilla.javascript.internal.EvaluatorException: XML runtime not available
(<Unknown Source>#2)
>         at sun.org.mozilla.javascript.internal.DefaultErrorReporter.runtimeError(Unknown
Source)
>         at sun.org.mozilla.javascript.internal.DefaultErrorReporter.error(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.addError(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.reportError(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.mustHaveXML(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.memberExprTail(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.memberExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.unaryExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.mulExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.addExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.shiftExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.relExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.eqExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.bitAndExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.bitXorExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.bitOrExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.andExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.orExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.condExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.assignExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.variables(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.statementHelper(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.statement(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.parse(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.parse(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Context.compileImpl(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Context.compileReader(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Context.compileReader(Unknown Source)
>         ... 27 more
> WrapperSimpleApp: Encountered an error running main: org.apache.synapse.SynapseException:
Synapse startup failed
> org.apache.synapse.SynapseException: Synapse startup failed
>         at org.apache.synapse.ServerManager.start(ServerManager.java:167)
>         at org.apache.synapse.SynapseServer.main(SynapseServer.java:81)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: org.apache.synapse.SynapseException: Could not initialize Synapse : Exception
initializing inline script
>         at org.apache.synapse.config.SynapseConfigurationBuilder.handleException(SynapseConfigurationBuilder.java:105)
>         at org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:86)
>         at org.apache.synapse.core.axis2.SynapseInitializationModule.getConfiguration(SynapseInitializationModule.java:161)
>         at org.apache.synapse.core.axis2.SynapseInitializationModule.init(SynapseInitializationModule.java:84)
>         at org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:226)
>         at org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:204)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:80)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)
>         at org.apache.synapse.ServerManager.start(ServerManager.java:106)
>         ... 7 more
> Caused by: org.apache.synapse.SynapseException: Exception initializing inline script
>         at org.apache.synapse.mediators.bsf.ScriptMediator.initInlineScript(ScriptMediator.java:279)
>         at org.apache.synapse.mediators.bsf.ScriptMediator.<init>(ScriptMediator.java:116)
>         at org.apache.synapse.mediators.bsf.ScriptMediatorFactory.createMediator(ScriptMediatorFactory.java:86)
>         at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:173)
>         at org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:42)
>         at org.apache.synapse.config.xml.InMediatorFactory.createMediator(InMediatorFactory.java:47)
>         at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:173)
>         at org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.getConfiguration(SynapseXMLConfigurationFactory.java:91)
>         at org.apache.synapse.config.xml.ConfigurationFactoryAndSerializerFinder.getConfiguration(ConfigurationFactoryAndSerializerFinder.java:160)
>         at org.apache.synapse.config.xml.XMLConfigurationBuilder.getConfiguration(XMLConfigurationBuilder.java:46)
>         at org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:76)
>         ... 14 more
> Caused by: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException:
XML runtime not available (<Unknown Source>#2)
>         at com.sun.script.javascript.RhinoScriptEngine.compile(Unknown Source)
>         at com.sun.script.javascript.RhinoScriptEngine.compile(Unknown Source)
>         at org.apache.synapse.mediators.bsf.ScriptMediator.initInlineScript(ScriptMediator.java:268)
>         ... 24 more
> Caused by: sun.org.mozilla.javascript.internal.EvaluatorException: XML runtime not available
(<Unknown Source>#2)
>         at sun.org.mozilla.javascript.internal.DefaultErrorReporter.runtimeError(Unknown
Source)
>         at sun.org.mozilla.javascript.internal.DefaultErrorReporter.error(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.addError(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.reportError(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.mustHaveXML(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.memberExprTail(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.memberExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.unaryExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.mulExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.addExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.shiftExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.relExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.eqExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.bitAndExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.bitXorExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.bitOrExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.andExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.orExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.condExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.assignExpr(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.variables(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.statementHelper(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.statement(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.parse(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Parser.parse(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Context.compileImpl(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Context.compileReader(Unknown Source)
>         at sun.org.mozilla.javascript.internal.Context.compileReader(Unknown Source)
>         ... 27 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message