[
https://wso2.org/jira/browse/MASHUP-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Keith Godwin Chapman updated MASHUP-1130:
-----------------------------------------
Assignee: Keith Godwin Chapman (was: Channa Gunawardena)
> cannot start the mashup server when the "modules" folder is empty
> -----------------------------------------------------------------
>
> Key: MASHUP-1130
> URL: https://wso2.org/jira/browse/MASHUP-1130
> Project: WSO2 Mashup Server
> Issue Type: Bug
> Components: Core
> Affects Versions: Nightly
> Environment: Win XP, JDK 1.5
> Reporter: Anushka Dayananda
> Assignee: Keith Godwin Chapman
> Fix For: Future
>
>
> Steps to recreate
> -----------------------
> 1. Empty the "modules" folder
> 2. Start the mashup server
> Issue
> --------
> Gets an Nullpoint exception
> Console
> -----------
> FATAL [2008-10-30 15:04:21,187] Cannot start WSO2 WSAS
> java.lang.NullPointerException
> at java.io.File.<init>(File.java:277)
> at
> org.wso2.mashup.deployer.JSDeployer.createInitialWorkDirectory(JSDeployer.java:1169)
> at org.wso2.mashup.deployer.JSDeployer.init(JSDeployer.java:173)
> at
> org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:92
> 8)
> at
> org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:919)
> at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(Configura
> tionContextFactory.java:76)
> at
> org.wso2.utils.WSO2ConfigurationContextFactory.createNewConfigurationContext(WSO2Configur
> ationContextFactory.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:51)
> at org.wso2.wsas.MainServlet.init(MainServlet.java:185)
> at org.wso2.mashup.transport.MainServlet.init(MainServlet.java:66)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
> at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
> at
> org.wso2.wsas.TomcatRepositoryListener.run(TomcatRepositoryListener.java:107)
> at java.lang.Thread.run(Thread.java:595)
> FATAL [2008-10-30 15:04:21,421] Could not start WSO2 Mashup Server
> org.wso2.utils.ServerException: WSO2 Mashup Server startup failed.
> at org.wso2.wsas.MainServlet.start(MainServlet.java:260)
> at org.wso2.mashup.transport.MainServlet.start(MainServlet.java:51)
> at org.wso2.wsas.MainServlet.init(MainServlet.java:185)
> at org.wso2.mashup.transport.MainServlet.init(MainServlet.java:66)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
> at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
> at
> org.wso2.wsas.TomcatRepositoryListener.run(TomcatRepositoryListener.java:107)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: org.wso2.utils.ServerException: Cannot start WSO2 WSAS
> at org.wso2.wsas.ServerManager.start(ServerManager.java:138)
> at org.wso2.wsas.MainServlet.start(MainServlet.java:249)
> ... 12 more
> Caused by: java.lang.NullPointerException
> at java.io.File.<init>(File.java:277)
> at
> org.wso2.mashup.deployer.JSDeployer.createInitialWorkDirectory(JSDeployer.java:1169)
> at org.wso2.mashup.deployer.JSDeployer.init(JSDeployer.java:173)
> at
> org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:92
> 8)
> at
> org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:919)
> at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(Configura
> tionContextFactory.java:76)
> at
> org.wso2.utils.WSO2ConfigurationContextFactory.createNewConfigurationContext(WSO2Configur
> ationContextFactory.java:60)
> at org.wso2.wsas.ServerManager.start(ServerManager.java:107)
> ... 13 more
> ERROR [2008-10-30 15:04:22,062] Servlet / threw load() exception
> javax.servlet.ServletException: Could not start WSO2 Mashup Server
> at org.wso2.wsas.MainServlet.init(MainServlet.java:189)
> at org.wso2.mashup.transport.MainServlet.init(MainServlet.java:66)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
> at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
> at
> org.wso2.wsas.TomcatRepositoryListener.run(TomcatRepositoryListener.java:107)
> at java.lang.Thread.run(Thread.java:595)
--
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
_______________________________________________
Mashup-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/mashup-dev