[wsas-java-dev] [jira] Created: (WSAS-212) Nightly build fails to launch standalone on Windows

Afkham Azeez azeez at wso2.com
Wed Apr 18 23:46:31 PDT 2007


This is a problem due to some complications in Maven 2. When artifacts
which have version of SNAPSHOT are uploaded to the maven repo, the
SNAPSHOT portion is replaced with <timestamp>-<sequence-number>

e.g. wso2wsas-tracer-SNAPSHOT.mar gets uploaded as
wso2wsas-tracer-323293202332-4.mar.

This breaks the Axis2 mar versioning logic. Here, the module name will
be taken as wso2wsas-tracer-323293202332 and the version will be taken
as 2. In the WSAS axis2.xml, we globally engage the "wso2wsas-tracer"
module. Axis2 cannot find this module, hence the error. For the moment,
you can fix this by renaming the modules in your repository/modules
directory until we find a solution to this issue. This problem will not
occur for modules with concrete versions.

-- Azeez

Jonathan Marsh (JIRA) wrote:
> Nightly build fails to launch standalone on Windows
> ---------------------------------------------------
> 
>                  Key: WSAS-212
>                  URL: http://www.wso2.org/jira/browse/WSAS-212
>              Project: WSO2 WSAS-Java
>           Issue Type: Bug
>     Affects Versions: Nightly
>          Environment: WIndows Vista
>             Reporter: Jonathan Marsh
>          Assigned To: Afkham Azeez
> 
> 
> Upon launch:
> 
>  INFO [2007-04-18 10:18:06,434]  Starting tomcat server
>  INFO [2007-04-18 10:18:07,129]  Starting Servlet Engine: Apache Tomcat/5.5.15
>  INFO [2007-04-18 10:18:07,269]  XML validation disabled
>  INFO [2007-04-18 10:18:07,963]  Missing application web.xml, using defaults onl
> y StandardEngine[Catalina].StandardHost[10.1.1.22].StandardContext[/docs]
>  INFO [2007-04-18 10:18:17,650]  Using WSO2 WSAS Home = C:\MASHUP~1\WSO2WS~1.2-S
> \bin\..
>  INFO [2007-04-18 10:18:17,651]  Using Server Info Class = org.wso2.wsas.Embedde
> dTomcatServerInfo
>  INFO [2007-04-18 10:18:19,830]  Added new module - addressing-20070406.051656
>  INFO [2007-04-18 10:18:19,872]  Deploying module: addressing-20070406.051656-13
> 4
>  INFO [2007-04-18 10:18:19,954]  Added new module - rahas-20070406.021818
>  INFO [2007-04-18 10:18:19,954]  Deploying module: rahas-20070406.021818-3
>  INFO [2007-04-18 10:18:20,548]  Added new module - rampart-20070406.021818
>  INFO [2007-04-18 10:18:20,552]  Deploying module: rampart-20070406.021818-4
> ERROR [2007-04-18 10:18:20,958]  Unable to handle new module addition
> javax.xml.stream.XMLStreamException
>         at org.apache.sandesha2.policy.SandeshaPolicyBean.serialize(SandeshaPoli
> cyBean.java:355)
>         at org.apache.neethi.Policy.serialize(Policy.java:165)
>         at org.wso2.wsas.persistence.PersistenceManager.addModulePolicy(Persiste
> nceManager.java:819)
>         at org.wso2.wsas.persistence.PersistenceManager.getModulePolicies(Persis
> tenceManager.java:742)
>         at org.wso2.wsas.persistence.PersistenceManager.handleNewModuleAddition(
> PersistenceManager.java:1128)
>         at org.wso2.wsas.deployment.DeploymentInterceptor.moduleUpdate(Deploymen
> tInterceptor.java:185)
>         at org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfigu
> ration.java:497)
>         at org.apache.axis2.engine.AxisConfiguration.addModule(AxisConfiguration
> .java:199)
>         at org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentE
> ngine.java:422)
>         at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java
> :68)
>         at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngin
> e.java:581)
>         at org.apache.axis2.deployment.RepositoryListener.init(RepositoryListene
> r.java:200)
>         at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListen
> er.java:63)
>         at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListe
> ner.java:58)
>         at org.apache.axis2.deployment.DeploymentEngine.loadRepository(Deploymen
> tEngine.java:126)
>         at org.wso2.wsas.deployment.ServerConfigurator.getAxisConfiguration(Serv
> erConfigurator.java:173)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
> ionContext(ConfigurationContextFactory.java:59)
>         at org.wso2.wsas.ServerManager.start(ServerManager.java:124)
>         at org.wso2.wsas.MainServlet.start(MainServlet.java:191)
>         at org.wso2.wsas.MainServlet.init(MainServlet.java:163)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
> java:1105)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:93
> 2)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
> t.java:3915)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 176)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:759)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
> 9)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> 
>         at org.wso2.wsas.TomcatRepositoryListener.run(TomcatRepositoryListener.j
> ava:104)
>         at java.lang.Thread.run(Thread.java:595)
> ERROR [2007-04-18 10:18:21,144]  Could not handle addition of new module
> javax.xml.stream.XMLStreamException
>         at org.apache.sandesha2.policy.SandeshaPolicyBean.serialize(SandeshaPoli
> cyBean.java:355)
>         at org.apache.neethi.Policy.serialize(Policy.java:165)
>         at org.wso2.wsas.persistence.PersistenceManager.addModulePolicy(Persiste
> nceManager.java:819)
>         at org.wso2.wsas.persistence.PersistenceManager.getModulePolicies(Persis
> tenceManager.java:742)
>         at org.wso2.wsas.persistence.PersistenceManager.handleNewModuleAddition(
> PersistenceManager.java:1128)
>         at org.wso2.wsas.deployment.DeploymentInterceptor.moduleUpdate(Deploymen
> tInterceptor.java:185)
>         at org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfigu
> ration.java:497)
>         at org.apache.axis2.engine.AxisConfiguration.addModule(AxisConfiguration
> .java:199)
>         at org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentE
> ngine.java:422)
>         at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java
> :68)
>         at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngin
> e.java:581)
>         at org.apache.axis2.deployment.RepositoryListener.init(RepositoryListene
> r.java:200)
>         at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListen
> er.java:63)
>         at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListe
> ner.java:58)
>         at org.apache.axis2.deployment.DeploymentEngine.loadRepository(Deploymen
> tEngine.java:126)
>         at org.wso2.wsas.deployment.ServerConfigurator.getAxisConfiguration(Serv
> erConfigurator.java:173)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
> ionContext(ConfigurationContextFactory.java:59)
>         at org.wso2.wsas.ServerManager.start(ServerManager.java:124)
>         at org.wso2.wsas.MainServlet.start(MainServlet.java:191)
>         at org.wso2.wsas.MainServlet.init(MainServlet.java:163)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
> java:1105)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:93
> 2)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
> t.java:3915)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 176)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:759)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
> 9)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> 
>         at org.wso2.wsas.TomcatRepositoryListener.run(TomcatRepositoryListener.j
> ava:104)
>         at java.lang.Thread.run(Thread.java:595)
>  INFO [2007-04-18 10:18:21,169]  Deploying module: sandesha2
>  INFO [2007-04-18 10:18:21,194]  Added new module - wso2mex-1.2-20070406.090540
>  INFO [2007-04-18 10:18:21,195]  Deploying module: wso2mex-1.2-20070406.090540-1
> 0
>  INFO [2007-04-18 10:18:21,253]  Added new module - wso2statistics-1.2-20070406.
> 090359
>  INFO [2007-04-18 10:18:21,254]  Deploying module: wso2statistics-1.2-20070406.0
> 90359-10
>  INFO [2007-04-18 10:18:21,370]  Added new module - wso2throttle-1.2-20070406.09
> 0601
>  INFO [2007-04-18 10:18:21,371]  Deploying module: wso2throttle-1.2-20070406.090
> 601-10
>  INFO [2007-04-18 10:18:21,422]  Added new module - wso2tracer-1.2-20070406.0905
> 17
>  INFO [2007-04-18 10:18:21,423]  Deploying module: wso2tracer-1.2-20070406.09051
> 7-8
>  INFO [2007-04-18 10:18:21,428]  Deploying module: wso2wsas-admin-1.2
>  INFO [2007-04-18 10:18:21,446]  Added new module - wso2xfer-1.2-20070406.090621
> 
>  INFO [2007-04-18 10:18:21,447]  Deploying module: wso2xfer-1.2-20070406.090621-
> 10
>  INFO [2007-04-18 10:18:21,574]  Globally engaging module - wso2statistics
>  INFO [2007-04-18 10:18:21,575]  Globally engaging module - wso2tracer
> FATAL [2007-04-18 10:18:21,686]  Cannot start WSO2 WSAS
> org.apache.axis2.AxisFault: The system is attempting to engage a module that is
> not available: wso2statistics
>         at org.apache.axis2.engine.AxisConfiguration.engageModule(AxisConfigurat
> ion.java:396)
>         at org.apache.axis2.deployment.DeploymentEngine.engageModules(Deployment
> Engine.java:608)
>         at org.wso2.wsas.deployment.ServerConfigurator.engageGlobalModules(Serve
> rConfigurator.java:283)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
> ionContext(ConfigurationContextFactory.java:72)
>         at org.wso2.wsas.ServerManager.start(ServerManager.java:124)
>         at org.wso2.wsas.MainServlet.start(MainServlet.java:191)
>         at org.wso2.wsas.MainServlet.init(MainServlet.java:163)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
> java:1105)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:93
> 2)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
> t.java:3915)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 176)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:759)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
> 9)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> 
>         at org.wso2.wsas.TomcatRepositoryListener.run(TomcatRepositoryListener.j
> ava:104)
>         at java.lang.Thread.run(Thread.java:595)
> FATAL [2007-04-18 10:18:21,694]  WSO2 WSAS start failed
> org.wso2.utils.ServerException: Cannot start WSO2 WSAS
>         at org.wso2.wsas.ServerManager.start(ServerManager.java:176)
>         at org.wso2.wsas.MainServlet.start(MainServlet.java:191)
>         at org.wso2.wsas.MainServlet.init(MainServlet.java:163)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
> java:1105)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:93
> 2)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
> t.java:3915)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 176)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:759)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
> 9)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> 
>         at org.wso2.wsas.TomcatRepositoryListener.run(TomcatRepositoryListener.j
> ava:104)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.axis2.AxisFault: The system is attempting to engage a modu
> le that is not available: wso2statistics
>         at org.apache.axis2.engine.AxisConfiguration.engageModule(AxisConfigurat
> ion.java:396)
>         at org.apache.axis2.deployment.DeploymentEngine.engageModules(Deployment
> Engine.java:608)
>         at org.wso2.wsas.deployment.ServerConfigurator.engageGlobalModules(Serve
> rConfigurator.java:283)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
> ionContext(ConfigurationContextFactory.java:72)
>         at org.wso2.wsas.ServerManager.start(ServerManager.java:124)
>         ... 11 more
>  INFO [2007-04-18 10:18:21,703]  Using Repository C:\MASHUP~1\WSO2WS~1.2-S\bin\.
> ./repository
>  INFO [2007-04-18 10:18:21,704]
>  INFO [2007-04-18 10:18:21,704]  Listening for HTTP on             ----> -1
>  INFO [2007-04-18 10:18:21,705]  Listening for HTTPS on            ----> -1
> ERROR [2007-04-18 10:18:21,705]  StandardWrapper.Throwable
> java.lang.NullPointerException
>         at org.wso2.wsas.ServerManager.printMgtConsoleURL(ServerManager.java:525)
>         at org.wso2.wsas.MainServlet.printInfo(MainServlet.java:224)
>         at org.wso2.wsas.MainServlet.init(MainServlet.java:167)
>         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:104)
>         at java.lang.Thread.run(Thread.java:595)
> ERROR [2007-04-18 10:18:21,712]  Servlet / threw load() exception
> java.lang.NullPointerException
>         at org.wso2.wsas.ServerManager.printMgtConsoleURL(ServerManager.java:525)
>         at org.wso2.wsas.MainServlet.printInfo(MainServlet.java:224)
>         at org.wso2.wsas.MainServlet.init(MainServlet.java:167)
>         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:104)
>         at java.lang.Thread.run(Thread.java:595)
>  INFO [2007-04-18 10:18:21,730]  Deployed Web application: ROOT
> 
> 


-- 
Afkham Azeez
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760

http://www.wso2.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://wso2.org/pipermail/wsas-java-dev/attachments/20070419/74fec33b/signature.pgp


More information about the Wsas-java-dev mailing list