[mashup-dev] [jira] Commented: (MASHUP-841) Error in deploying digit2image & upgradeChecker services

Keith Godwin Chapman (JIRA) jira at wso2.org
Wed Jun 4 21:02:40 PDT 2008


    [ https://wso2.org/jira/browse/MASHUP-841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212#action_17212 ] 

Keith Godwin Chapman commented on MASHUP-841:
---------------------------------------------

I did an online build and tested this out and it works. Just make sure that the wso2wsas zip in your maven repo reads as wso2wsas-axis2_1_4_based_20080604.092932-5.zip (Note that this has a July 4th date, yours might be July 1st). If so delete it from the repo and do an online build.

> Error in deploying digit2image & upgradeChecker services 
> ---------------------------------------------------------
>
>                 Key: MASHUP-841
>                 URL: https://wso2.org/jira/browse/MASHUP-841
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: Nightly
>         Environment: WinXP, JDK1.5
>            Reporter: Yumani Ranaweera
>            Assignee: Keith Godwin Chapman
>             Fix For: 1.1
>
>
> Steps:
> --------
> 1. Change to context mode
> 2. Start the MS server
> Issues:
> ---------
> The errors below appear.
> ERROR [2008-06-04 14:16:12,234]  The servicedigit2image.js is not valid.
> org.mozilla.javascript.WrappedException: Wrapped org.wso2.mashup.MashupFault: Cannot create the server base URI. (digit2image#20)
>        at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1757)
>        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:170)
>        at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:411)
>        at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
>        at org.mozilla.javascript.gen.c1._c0(digit2image:20)
>        at org.mozilla.javascript.gen.c1.call(digit2image)
>        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
>        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
>        at org.mozilla.javascript.gen.c1.call(digit2image)
>        at org.mozilla.javascript.gen.c1.exec(digit2image)
>        at org.mozilla.javascript.Context.evaluateReader(Context.java:1227)
>        at org.wso2.javascript.rhino.JavaScriptEngine.evaluate(JavaScriptEngine.java:77)
>        at org.wso2.mashup.deployer.JSDeployer.processService(JSDeployer.java:427)
>        at org.wso2.mashup.deployer.JSDeployer.deploy(JSDeployer.java:184)
>        at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
>        at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597)
>        at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
>        at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:330)
>        at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:227)
>        at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131)
>        at org.wso2.utils.ServerConfigurator.loadServices(ServerConfigurator.java:214)
>        at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:82)
>        at org.wso2.utils.WSO2ConfigurationContextFactory.createNewConfigurationContext(WSO2ConfigurationContextFactory.java:60)
>        at org.wso2.wsas.ServerManager.start(ServerManager.java:107)
>        at org.wso2.wsas.MainServlet.start(MainServlet.java:249)
>        at org.wso2.mashup.transport.MainServlet.start(MainServlet.java:37)
>        at org.wso2.wsas.MainServlet.init(MainServlet.java:185)
>        at org.wso2.mashup.transport.MainServlet.init(MainServlet.java:52)
>        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
>        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)
>        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
>        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>        at org.wso2.wsas.TomcatRepositoryListener.run(TomcatRepositoryListener.java:111)
>        at java.lang.Thread.run(Thread.java:595)
> Caused by: org.wso2.mashup.MashupFault: Cannot create the server base URI.
>        at org.wso2.mashup.hostobjects.system.SystemHostObject.jsFunction_include(SystemHostObject.java:240)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
>        ... 35 more
> Caused by: java.net.URISyntaxException: Relative path in absolute URI: http://192.168.1.2:10001mashup/services/
>        at java.net.URI.checkPath(URI.java:1787)
>        at java.net.URI.<init>(URI.java:662)
>        at org.wso2.mashup.hostobjects.system.SystemHostObject.jsFunction_include(SystemHostObject.java:234)
>        ... 40 more
> INFO [2008-06-04 14:16:13,546]  org.apache.axis2.deployment.DeploymentException: Wrapped org.wso2.mashup.MashupFault: Cannot create the server base U
> RI. (digit2image#20)
> INFO [2008-06-04 14:16:14,640]  Deploying Web service: storexml.js - file:/C:/projects/MASHUP~1/modules/DISTRI~1/target/dist/WSO2-M~1/bin/../scripts/
> system/storexml.js
> ERROR [2008-06-04 14:16:14,687]  The serviceupgradeChecker.js is not valid.
> org.mozilla.javascript.WrappedException: Wrapped org.wso2.mashup.MashupFault: Cannot create the server base URI. (upgradeChecker#36)
>        at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1757)
>        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:170)
>        at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:411)
>        at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
>        at org.mozilla.javascript.gen.c6._c0(upgradeChecker:36)
>        at org.mozilla.javascript.gen.c6.call(upgradeChecker)
>        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
>        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
>        at org.mozilla.javascript.gen.c6.call(upgradeChecker)
>        at org.mozilla.javascript.gen.c6.exec(upgradeChecker)
>        at org.mozilla.javascript.Context.evaluateReader(Context.java:1227)
>        at org.wso2.javascript.rhino.JavaScriptEngine.evaluate(JavaScriptEngine.java:77)
>        at org.wso2.mashup.deployer.JSDeployer.processService(JSDeployer.java:427)
>        at org.wso2.mashup.deployer.JSDeployer.deploy(JSDeployer.java:184)
>        at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
>        at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597)
>        at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
>        at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:330)
>        at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:227)
>        at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131)
>        at org.wso2.utils.ServerConfigurator.loadServices(ServerConfigurator.java:214)
>        at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:82)
>        at org.wso2.utils.WSO2ConfigurationContextFactory.createNewConfigurationContext(WSO2ConfigurationContextFactory.java:60)
>        at org.wso2.wsas.ServerManager.start(ServerManager.java:107)
>        at org.wso2.wsas.MainServlet.start(MainServlet.java:249)
>        at org.wso2.mashup.transport.MainServlet.start(MainServlet.java:37)
>        at org.wso2.wsas.MainServlet.init(MainServlet.java:185)
>        at org.wso2.mashup.transport.MainServlet.init(MainServlet.java:52)
>        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
>        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)
>        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
>        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>        at org.wso2.wsas.TomcatRepositoryListener.run(TomcatRepositoryListener.java:111)
>        at java.lang.Thread.run(Thread.java:595)
> Caused by: org.wso2.mashup.MashupFault: Cannot create the server base URI.
>        at org.wso2.mashup.hostobjects.system.SystemHostObject.jsFunction_include(SystemHostObject.java:240)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
>        ... 35 more
> Caused by: java.net.URISyntaxException: Relative path in absolute URI: http://192.168.1.2:10001mashup/services/
>        at java.net.URI.checkPath(URI.java:1787)
>        at java.net.URI.<init>(URI.java:662)
>        at org.wso2.mashup.hostobjects.system.SystemHostObject.jsFunction_include(SystemHostObject.java:234)
>        ... 40 more
> INFO [2008-06-04 14:16:15,125]  org.apache.axis2.deployment.DeploymentException: Wrapped org.wso2.mashup.MashupFault: Cannot create the server base U
> RI. (upgradeChecker#36) 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the Mashup-dev mailing list