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

Yosvanys Aponte Báez commented on SOLR-193:
-------------------------------------------

I install solr in window, and when i goto to admin page appear this error
What really happen??
Please some body help me

HTTP ERROR: 500
No se puede compilar la clase para JSP
 
Error de servlet generado:
17-abr-2007 9:23:37 org.apache.jasper.compiler.Compiler generateClass
GRAVE: Javac exception 
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
        at
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(C
ompilerAdapterFactory.java:105)
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:929)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
        at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
        at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
11)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
95)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:473)
        at
org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:286)
        at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:171)
        at org.mortbay.jetty.servlet.Default.handleGet(Default.java:302)
        at org.mortbay.jetty.servlet.Default.service(Default.java:223)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:473)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
        at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext
java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
        at org.mortbay.http.HttpServer.service(HttpServer.java:909)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
 
 
Error de servlet generado:
17-abr-2007 9:23:37 org.apache.jasper.compiler.Compiler generateClass
 
 
Error de servlet generado:
GRAVE: Env: Compile:
javaFileName=/C:/DOCUME~1/yaponte/CONFIG~1/Temp/Jetty__8983__solr//org/apach
e/jsp/admin\index_jsp.java
 
 
Error de servlet generado:
 
classpath=/C:/Documents%20and%20Settings/yaponte/Configuraci?n%20local/Temp/
Jetty__8983__solr/webapp/WEB-INF/lib/apache-solr-1.1.0-incubating.jar;/C:/Do
cuments%20and%20Settings/yaponte/Configuraci?n%20local/Temp/Jetty__8983__sol
r/webapp/WEB-INF/lib/lucene-core-nightly.jar;/C:/Documents%20and%20Settings/
yaponte/Configuraci?n%20local/Temp/Jetty__8983__solr/webapp/WEB-INF/lib/luce
ne-highlighter-nightly.jar;/C:/Documents%20and%20Settings/yaponte/Configurac
i?n%20local/Temp/Jetty__8983__solr/webapp/WEB-INF/lib/lucene-snowball-nightl
y.jar;/C:/Documents%20and%20Settings/yaponte/Configuraci?n%20local/Temp/Jett
y__8983__solr/webapp/WEB-INF/lib/xpp3-1.1.3.4.O.jar;C:\DOCUME~1\yaponte\CONF
IG~1\Temp\Jetty__8983__solr;C:\Documents and Settings\yaponte\Configuraci?n
local\Temp\Jetty__8983__solr\webapp\WEB-INF\lib\apache-solr-1.1.0-incubating
jar;C:\Documents and Settings\yaponte\Configuraci?n
local\Temp\Jetty__8983__solr\webapp\WEB-INF\lib\lucene-core-nightly.jar;C:\D
ocuments and Settings\yaponte\Configuraci?n
local\Temp\Jetty__8983__solr\webapp\WEB-INF\lib\lucene-highlighter-nightly.j
ar;C:\Documents and Settings\yaponte\Configuraci?n
local\Temp\Jetty__8983__solr\webapp\WEB-INF\lib\lucene-snowball-nightly.jar;
C:\Documents and Settings\yaponte\Configuraci?n
local\Temp\Jetty__8983__solr\webapp\WEB-INF\lib\xpp3-1.1.3.4.O.jar;C:\Archiv
os de programa\Java\jre1.5.0_03\lib\ext\dnsns.jar;C:\Archivos de
programa\Java\jre1.5.0_03\lib\ext\localedata.jar;C:\Archivos de
programa\Java\jre1.5.0_03\lib\ext\sunjce_provider.jar;C:\Archivos de
programa\Java\jre1.5.0_03\lib\ext\sunpkcs11.jar;C:\Inetpub\ftproot\apache-so
lr-1.1.0-incubating\example\start.jar;C:\Inetpub\ftproot\apache-solr-1.1.0-i
ncubating\example\lib\org.mortbay.jetty.jar;C:\Inetpub\ftproot\apache-solr-1
1.0-incubating\example\lib\javax.servlet.jar;C:\Inetpub\ftproot\apache-solr
-1.1.0-incubating\example\lib\org.mortbay.jmx.jar;C:\Inetpub\ftproot\apache-
solr-1.1.0-incubating\example\ext\ant.jar;C:\Inetpub\ftproot\apache-solr-1.1
0-incubating\example\ext\jasper-runtime.jar;C:\Inetpub\ftproot\apache-solr-
1.1.0-incubating\example\ext\jasper-compiler.jar;C:\Inetpub\ftproot\apache-s
olr-1.1.0-incubating\example\ext\commons-el.jar;C:\Inetpub\ftproot\apache-so
lr-1.1.0-incubating\example\ext\commons-logging.jar;C:\Inetpub\ftproot\apach
e-solr-1.1.0-incubating\example\ext\mx4j-remote.jar;C:\Inetpub\ftproot\apach
e-solr-1.1.0-incubating\example\ext\mx4j-tools.jar;C:\Inetpub\ftproot\apache
-solr-1.1.0-incubating\example\ext\mx4j.jar
 
 
Error de servlet generado:
 
cp=C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\lib\org.mortbay.j
etty.jar;C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\lib\javax.s
ervlet.jar;C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\lib\org.m
ortbay.jmx.jar;C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\ext\a
nt.jar;C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\ext\jasper-ru
ntime.jar;C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\ext\jasper
-compiler.jar;C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\ext\co
mmons-el.jar;C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\ext\com
mons-logging.jar;C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\ext
\mx4j-remote.jar;C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\ext
\mx4j-tools.jar;C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\ext\
mx4j.jar
 
cp=C:\Documents%20and%20Settings\yaponte\Configuraci?n%20local\Temp\Jetty__8
983__solr\webapp\WEB-INF\lib\apache-solr-1.1.0-incubating.jar
 
cp=C:\Documents%20and%20Settings\yaponte\Configuraci?n%20local\Temp\Jetty__8
983__solr\webapp\WEB-INF\lib\lucene-core-nightly.jar
 
cp=C:\Documents%20and%20Settings\yaponte\Configuraci?n%20local\Temp\Jetty__8
983__solr\webapp\WEB-INF\lib\lucene-highlighter-nightly.jar
 
cp=C:\Documents%20and%20Settings\yaponte\Configuraci?n%20local\Temp\Jetty__8
983__solr\webapp\WEB-INF\lib\lucene-snowball-nightly.jar
 
cp=C:\Documents%20and%20Settings\yaponte\Configuraci?n%20local\Temp\Jetty__8
983__solr\webapp\WEB-INF\lib\xpp3-1.1.3.4.O.jar
    cp=C:\DOCUME~1\yaponte\CONFIG~1\Temp\Jetty__8983__solr
    cp=C:\Documents and Settings\yaponte\Configuraci?n
local\Temp\Jetty__8983__solr\webapp\WEB-INF\lib\apache-solr-1.1.0-incubating
jar
    cp=C:\Documents and Settings\yaponte\Configuraci?n
local\Temp\Jetty__8983__solr\webapp\WEB-INF\lib\lucene-core-nightly.jar
    cp=C:\Documents and Settings\yaponte\Configuraci?n
local\Temp\Jetty__8983__solr\webapp\WEB-INF\lib\lucene-highlighter-nightly.j
ar
    cp=C:\Documents and Settings\yaponte\Configuraci?n
local\Temp\Jetty__8983__solr\webapp\WEB-INF\lib\lucene-snowball-nightly.jar
    cp=C:\Documents and Settings\yaponte\Configuraci?n
local\Temp\Jetty__8983__solr\webapp\WEB-INF\lib\xpp3-1.1.3.4.O.jar
    cp=C:\Archivos de programa\Java\jre1.5.0_03\lib\ext\dnsns.jar
    cp=C:\Archivos de programa\Java\jre1.5.0_03\lib\ext\localedata.jar
    cp=C:\Archivos de programa\Java\jre1.5.0_03\lib\ext\sunjce_provider.jar
    cp=C:\Archivos de programa\Java\jre1.5.0_03\lib\ext\sunpkcs11.jar
    cp=C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\start.jar
 
cp=C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\lib\org.mortbay.j
etty.jar
 
cp=C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\lib\javax.servlet
jar
 
cp=C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\lib\org.mortbay.j
mx.jar
    cp=C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\ext\ant.jar
 
cp=C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\ext\jasper-runtim
e.jar
 
cp=C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\ext\jasper-compil
er.jar
 
cp=C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\ext\commons-el.ja
r
 
cp=C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\ext\commons-loggi
ng.jar
 
cp=C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\ext\mx4j-remote.j
ar
 
cp=C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\ext\mx4j-tools.ja
r
    cp=C:\Inetpub\ftproot\apache-solr-1.1.0-incubating\example\ext\mx4j.jar
    work dir=C:\DOCUME~1\yaponte\CONFIG~1\Temp\Jetty__8983__solr
    extension dir=C:\Archivos de programa\Java\jre1.5.0_03\lib\ext
    srcDir=C:\DOCUME~1\yaponte\CONFIG~1\Temp\Jetty__8983__solr
    include=org/apache/jsp/admin/index_jsp.java

-----Mensaje original-----
De: Ryan McKinley (JIRA) [mailto:[EMAIL PROTECTED] 
Enviado el: miércoles, 18 de abril de 2007 5:58
Para: solr-dev@lucene.apache.org
Asunto: [jira] Updated: (SOLR-193) General SolrDocument interface to manage
field values.


     [
https://issues.apache.org/jira/browse/SOLR-193?page=com.atlassian.jira.plugi
n.system.issuetabpanels:all-tabpanel ]

Ryan McKinley updated SOLR-193:
-------------------------------

    Attachment: SOLR-193-SolrDocument.patch

Damn dyslexia!  I can hardly see the difference even when its pointed out.

thanks eric.

SOLR-193-SolrDocument.patch, SOLR-193-SolrDocument.patch,
SOLR-193-SolrDocument.patch
extracted out a large chunk.  This patch adds a general SolrDocument
interface and includes a concrete implementation (SimpleSolrDoc)
lucene Document.  This is required for the INCREMENT command and useful for
modifying documents.  SolrDocument is also generally useful for SOLR-20
FieldType:
example IntField.java has:
there are other (less clean) ways to handle the INCREMENT command.  My real
motivation for this addition is that it makes it possible to implement an
embeddable SOLR-20 client that does not need an HTTP connection. 
play nice with EL, so it implements a few extra map function that may not
seem necessary:

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.




Universidad 2008 

Del 11 al 15 de febrero del 2008
Palacio de Convenciones. La Habana. Cuba.

Sitio Web: http://www.universidad2008.cu





> General SolrDocument interface to manage field values.
> ------------------------------------------------------
>
>                 Key: SOLR-193
>                 URL: https://issues.apache.org/jira/browse/SOLR-193
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Ryan McKinley
>         Attachments: SOLR-193-SolrDocument.patch, 
> SOLR-193-SolrDocument.patch, SOLR-193-SolrDocument.patch, 
> SOLR-193-SolrDocument.patch
>
>
> In an effort to make SOLR-139 (the "modify" command) more manageable, i 
> extracted out a large chunk.  This patch adds a general SolrDocument 
> interface and includes a concrete implementation (SimpleSolrDoc)
> SOLR-139 needs some way to transport document values independent of the 
> lucene Document.  This is required for the INCREMENT command and useful for 
> modifying documents.  SolrDocument is also generally useful for SOLR-20
> - - - - - -
> The one (potentially) controversial part is that I added a function to 
> FieldType:
>  public Object toExternalValue(Fieldable f);
> This asks each field type to convert its Fieldable into its real type, for 
> example IntField.java has:
>  public Integer toExternalValue(Fieldable f) {
>    return Integer.valueOf( toExternal(f) );
>  }
> By default, it returns a string value.  If this addition is too much, there 
> are other (less clean) ways to handle the INCREMENT command.  My real 
> motivation for this addition is that it makes it possible to implement an 
> embeddable SOLR-20 client that does not need an HTTP connection. 
> - - - -
> The SimpleSolrDoc implementation was written for SOLR-20.  It needs to play 
> nice with EL, so it implements a few extra map function that may not seem 
> necessary:
>  ${doc.values['name']]} gets a collection
>  ${doc.valueMap['name']]} gets a single value for the field
> - - - -
> The tests cover all "toExternalValue" changes in schema.*  
> SimpleSolrDoc and DocumentBuilder have 100% test coverage.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to