[ 
http://jira.xwiki.org/jira/browse/XWIKI-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vincent Massol updated XWIKI-1537:
----------------------------------

          Summary: When starting XE from the standard WAR using the Maven build 
the XWiki version cannot be found and generates a warning  (was: When jetty 
server is started and xwiki is accessed in browser, an error appears in server 
console)
    Fix Version/s: Future

> When starting XE from the standard WAR using the Maven build the XWiki 
> version cannot be found and generates a warning
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: XWIKI-1537
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-1537
>             Project: XWiki Core
>          Issue Type: Bug
>          Components: Build, Infrastructure and Tests
>    Affects Versions: 1.1 M3
>         Environment: Ubuntu feisty 7.0.4, Eclipse 3.3
>            Reporter: Evelina Petronela Slatineanu
>         Assigned To: Vincent Massol
>            Priority: Trivial
>             Fix For: Future
>
>         Attachments: XWIKI-1537-jettyrun.patch
>
>
> After starting jetty server in the console and accessing the xwiki in the 
> browser, an error appears in the console:
> [INFO] Starting jetty 6.1H.4-beta ...
> 2007-07-26 22:20:24.519::INFO:  jetty-6.1H.4-beta
> 2007-07-26 22:20:24.945::INFO:  No Transaction manager found - if your webapp 
> requires one, please configure one.
> 2007-07-26 22:20:27.692::INFO:  Started [EMAIL PROTECTED]:8080
> [INFO] Started Jetty Server
> 22:21:07,483  WARN btpool0-1 
> http://localhost:8080/xwiki/bin/view/Main/WebHome XWiki:getVersion:738 - 
> Failed to retrieve XWiki's version from [/WEB-INF/version.properties], using 
> the [version] property.
> java.lang.NullPointerException
>         at java.util.Properties$LineReader.readLine(Properties.java:418)
>         at java.util.Properties.load0(Properties.java:337)
>         at java.util.Properties.load(Properties.java:325)
>         at com.xpn.xwiki.XWikiConfig.loadConfig(XWikiConfig.java:56)
>         at com.xpn.xwiki.XWikiConfig.<init>(XWikiConfig.java:51)
>         at com.xpn.xwiki.XWiki.getVersion(XWiki.java:734)
>         at com.xpn.xwiki.api.XWiki.getVersion(XWiki.java:79)
>         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:597)
>         at 
> org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:137)
>         at 
> org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:350)
>         at 
> org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:180)
>         at 
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
>         at 
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
>         at 
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
>         at 
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
>         at 
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
>         at 
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
>         at 
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
>         at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1238)
>         at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1199)
>         at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:490)
>         at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at 
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
>         at 
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
>         at 
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
>         at 
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
>         at 
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
>         at 
> org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
>         at 
> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
>         at 
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
>         at 
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
>         at 
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
>         at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1238)
>         at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1199)
>         at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:490)
>         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:597)
>         at 
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
>         at 
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
>         at 
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
>         at 
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
>         at 
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
>         at 
> org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
>         at 
> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
>         at 
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
>         at 
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
>         at 
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
>         at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1238)
>         at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1199)
>         at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
>         at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:48)
>         at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:154)
>         at 
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>         at 
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>         at 
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>         at 
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>         at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>         at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1098)
>         at 
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
>         at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
>         at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
>         at 
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>         at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>         at 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>         at 
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:406)
>         at 
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
>         at 
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>         at 
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>         at org.mortbay.jetty.Server.handle(Server.java:295)
>         at 
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503)
>         at 
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379)
>         at 
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:361)
>         at 
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
> 22:21:38,814  WARN btpool0-1 
> http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki 
> InterWiki:<init>:73 - Unable to read conf/intermap.txt
> 10:21:40.587 WARN   - Invalid feed URL:

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

        
_______________________________________________
notifications mailing list
notifications@xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to