lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3159) Upgrade to Jetty 8
Date Thu, 08 Mar 2012 23:29:59 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13225674#comment-13225674
] 

Hoss Man commented on SOLR-3159:
--------------------------------

FWIW: on trunk, using an svn checkout, and runing "java -jar start.jar" i'm getting the following
error in the jetty logging after solr starts up...

{noformat}
2012-03-08 15:16:09.382:WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext{/.svn,file:/home/hossman/lucene/dev/solr/example/webapps/.svn/},/home/hossman/lucene/dev/solr/example/webapps/.svn
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
	at java.lang.String.charAt(String.java:686)
	at org.eclipse.jetty.util.log.StdErrLog.condensePackageString(StdErrLog.java:210)
	at org.eclipse.jetty.util.log.StdErrLog.<init>(StdErrLog.java:105)
	at org.eclipse.jetty.util.log.StdErrLog.<init>(StdErrLog.java:97)
	at org.eclipse.jetty.util.log.StdErrLog.newLogger(StdErrLog.java:569)
	at org.eclipse.jetty.util.log.AbstractLogger.getLogger(AbstractLogger.java:21)
	at org.eclipse.jetty.util.log.Log.getLogger(Log.java:438)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:677)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
	at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
	at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183)
	at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:491)
	at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:138)
	at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:142)
	at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:53)
	at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:604)
	at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:535)
	at org.eclipse.jetty.util.Scanner.scan(Scanner.java:398)
	at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:332)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
	at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:118)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
	at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:552)
	at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:227)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
	at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:58)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:53)
	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:91)
	at org.eclipse.jetty.server.Server.doStart(Server.java:263)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
	at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
	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.eclipse.jetty.start.Main.invokeMain(Main.java:457)
	at org.eclipse.jetty.start.Main.start(Main.java:602)
	at org.eclipse.jetty.start.Main.main(Main.java:82)
{noformat}

...solr is functioning just fine, but it seems like something has changed subtley in either
how jetty handles the webapps dir, or how we have it configured to handle the webapps dir,
such that it is trying to load .svn as a webapp.


                
> Upgrade to Jetty 8
> ------------------
>
>                 Key: SOLR-3159
>                 URL: https://issues.apache.org/jira/browse/SOLR-3159
>             Project: Solr
>          Issue Type: Task
>            Reporter: Ryan McKinley
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: SOLR-3159-maven.patch
>
>
> Solr is currently tested (and bundled) with a patched jetty-6 version.  
> Ideally we can release and test with a standard version.
> Jetty-6 (at codehaus) is just maintenance now.  New development and improvements are
now hosted at eclipse.  Assuming performance is equivalent, I think we should switch to Jetty
8.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message