NO JSP Support for /admin, did not find org.apac

301 views
Skip to first unread message

AYHCC

unread,
May 20, 2008, 6:36:29 PM5/20/08
to FacBackOPAC
I am very eager to make facbackopac working with my library opac
system. it is loaded on window xp (version 5.1.2600).. I've followed
the installation instructions and it went smoothly to link Mod_python
with Django and got to display the first helios search window on my
computer.

But it got stuck at the next step ...downloading Java JDK and make it
works with solr. .(The helios search screen (http://127.0.0.1:8000/)
remains the same after key in search term 'DOG'. There is NO list of
facets results. )

I have downloaded (1)Java JDK/JRE 1.5.0_15...an EOL file and (2)JDK/
JRE 1.6.0_06 ... a newest version. Both gave me the same error message
while running 'c:\catindex\example>java -jar start.jar". ..
the following are the listed error messages. Any help will be very
appreciated. Thanks in advance!
====
C:\catindex\example>java -jar start.jar
2008-05-20 18:12:29.132::INFO: Logging to STDERR via
org.mortbay.log.StdErrLog
2008-05-20 18:12:29.444::INFO: jetty-6.1.3
2008-05-20 18:12:29.882::INFO: NO JSP Support for /admin, did not
find org.apac
he.jasper.servlet.JspServlet
2008-05-20 18:12:30.538::INFO: NO JSP Support for /META-INF, did not
find org.a
pache.jasper.servlet.JspServlet
2008-05-20 18:12:30.725::INFO: Extract jar:file:/C:/catindex/example/
webapps/so
lr.war!/ to C:\DOCUME~1\.....\Temp\Jetty_0_0_0_0_8983_solr.war__solr
__k1kf17\webapp
2008-05-20 18:12:43.663::INFO: NO JSP Support for /solr, did not find
org.apach
e.jasper.servlet.JspServlet
2008-05-20 18:12:43.788::WARN: FATAL@file:/C:/Documents%20and
%20Settings/.../Local%20Settings/Temp/
Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-
INF/web.xml line:1 col:-1 : org.xml.sax.SAXParseException: Document
root element
is missing.
2008-05-20 18:12:43.788::WARN: Failed startup of context
org.mortbay.jetty.weba
pp.WebAppContext@1bd7848{/solr,jar:file:/C:/catindex/example/webapps/
solr.war!/}

org.xml.sax.SAXParseException: Document root element is missing.
at org.apache.crimson.parser.Parser2.fatal(Unknown Source)
at org.apache.crimson.parser.Parser2.fatal(Unknown Source)
at org.apache.crimson.parser.Parser2.parseInternal(Unknown
Source)
at org.apache.crimson.parser.Parser2.parse(Unknown Source)
at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown
Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:188)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:204)
at
org.mortbay.jetty.webapp.WebXmlConfiguration.configure(WebXmlConfigur
ation.java:221)
at
org.mortbay.jetty.webapp.WebXmlConfiguration.configureWebApp(WebXmlCo
nfiguration.java:180)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.jav
a:1215)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
500)
at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448
)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
40)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection
.java:147)
at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHan
dlerCollection.java:161)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
40)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection
.java:147)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
40)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:
117)
at org.mortbay.jetty.Server.doStart(Server.java:210)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
40)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:
929)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:183)
at org.mortbay.start.Main.start(Main.java:497)
at org.mortbay.start.Main.main(Main.java:115)
2008-05-20 18:12:43.897::INFO: NO JSP Support for /WEB-INF, did not
find org.ap
ache.jasper.servlet.JspServlet
2008-05-20 18:12:44.397::INFO: Started SocketConnector @ 0.0.0.0:8983

Gabriel Sean Farrell

unread,
May 21, 2008, 11:01:54 AM5/21/08
to facba...@googlegroups.com
You might find more help on Solr at the Solr list
(http://lucene.apache.org/solr/mailing_lists.html). Make sure Solr is
up and running on its port (8983 in your case), then point FBO at it.

AYHCC

unread,
May 21, 2008, 6:15:06 PM5/21/08
to FacBackOPAC
Good afternoon, Mr. Farrell,

I am very appreciated to read your reply! It is has been very
frustrating to get stuck at these last few steps.

(1) Can you give an example on how to check Solr is running .
(currently it is running at http://localhost:8983/catalog/, but it
only lists Helios search box and provides NO search result.

(2) How to make FBO point at solr? which files should I use? Is it in
the c:\cat\helios\setting.py?...like 'helios.catalog'?!

(3) When I run c:\catindex\example>java -jar start.jar ...at the
ending there is NO "Windows Security Alert" for clicking 'Unblock'
button to unblock 'Java(TM) 2 playform Standard Edition
binary'. .. .Like it shows on screen-shot: fbowindowsinstall... Is
this the reason to cause this "NO JSP Support.." problem?.... I have
tried to remove/reload JAVA jdk/jre files again and again but it still
not working. How can I find the file("Java(TM) 2 playform Standard
Edition binary") and make it unblock manually?

(4) Where can I find a list of python files: setting.py, views.py,
urls.py....which can provide example for beginner to correct their own
python files. (eg., to adjust setting.py, views.py or url.py to meet
local environment...)

(5) I will keep on trying to find the solution on the website you
provided. Thanks for the info.

Thanks in advance for your attention and assistances!
Have a good day!





On May 21, 11:01 am, "Gabriel Sean Farrell" <gsf...@gmail.com> wrote:
> You might find more help on Solr at the Solr list
> (http://lucene.apache.org/solr/mailing_lists.html). Make sure Solr is
> up and running on its port (8983 in your case), then point FBO at it.
>

Gabriel Sean Farrell

unread,
May 21, 2008, 6:28:51 PM5/21/08
to facba...@googlegroups.com
On Wed, May 21, 2008 at 6:15 PM, AYHCC <atan...@gmail.com> wrote:
> (1) Can you give an example on how to check Solr is running .
> (currently it is running at http://localhost:8983/catalog/, but it
> only lists Helios search box and provides NO search result.

http://localhost:8983/solr/admin/ should be the url of your local Solr
admin. The Solr instance runs separately from Django, so there should
be nothing at http://localhost:8983/catalog/. See the Solr tutorial
at http://lucene.apache.org/solr/tutorial.html.

> (2) How to make FBO point at solr? which files should I use? Is it in
> the c:\cat\helios\setting.py?...like 'helios.catalog'?!

Well, FBO should be pointing at Solr if you're running it with the
default settings (i.e. port 8983). If you're not, then the setting
for pointing FBO at Solr depends on what stage you are at. If you are
indexing documents, you'll want to change the SOLR_*_URL lines in
indexer/config/indexer.properties. If you're displaying your index,
you'll want to change SOLR_SERVER in helios/discovery/config.py.

> (3) When I run c:\catindex\example>java -jar start.jar ...at the
> ending there is NO "Windows Security Alert" for clicking 'Unblock'
> button to unblock 'Java(TM) 2 playform Standard Edition
> binary'. .. .Like it shows on screen-shot: fbowindowsinstall... Is
> this the reason to cause this "NO JSP Support.." problem?.... I have
> tried to remove/reload JAVA jdk/jre files again and again but it still
> not working. How can I find the file("Java(TM) 2 playform Standard
> Edition binary") and make it unblock manually?

I have no experience running things on Windows. Anyone who does can
feel free to field this one.

> (4) Where can I find a list of python files: setting.py, views.py,
> urls.py....which can provide example for beginner to correct their own
> python files. (eg., to adjust setting.py, views.py or url.py to meet
> local environment...)

See the Django docs at http://www.djangoproject.com/documentation/ for
a better understanding of Django.

Mike

unread,
May 22, 2008, 1:08:21 PM5/22/08
to facba...@googlegroups.com
Just to verify, did you copy the solr config files to the solr directory?
Did you add JAVA_HOME to your environment variables? Check out the video
tutorial on the fbo google page if you haven't done so already. It seems
your problem is with solr starting so I would double check that you have
installed java correctly and that you replaced the 2 config files
(schema.xml and solrconfig.xml) with the correct versions from fbo.

Mike

unread,
May 22, 2008, 1:24:33 PM5/22/08
to facba...@googlegroups.com
To see if solr is running, you should be able to point to
http://localhost:8983/solr/admin on the machine it's installed on.

See here for a screencast of it: http://screencast.com/t/2AiZDcKR

If this works and you see the admin page (which didn't work with Java 6 to
the best of my knowledge, which is why I use Java 5) then solr is working.
This would mean that you likely didn't replace the 2 config files.

If this DOESN'T work (which is my suspicion), you have a problem with your
java install. Java is a little tricky and tends to install itself pretty
deeply into a system. I think uninstalling it and trying again would be a
good option, but I wouldn't be surprised if it didn't work. Make sure you
point JAVA_HOME in the environment variables to the Java 5 version...and
restart your command prompt program (cmd.exe) when you reset those
variables.

Let me know how it goes.
Mike

-----Original Message-----
From: facba...@googlegroups.com [mailto:facba...@googlegroups.com] On

AYHCC

unread,
May 29, 2008, 6:24:21 PM5/29/08
to FacBackOPAC
My JAVA works now. Thanks for all your help!

Here are the steps I applied to resolve this problem.
(1) Remove OLD java folder via Control Panel - Add or Remove Program,
and then reboot the machine
(2) Reload the NEW jdk-1_5_0_15-windows-i586-p and then reboot again
(3) Set "JAVA_HOME = C:\Program Files\Java\jdk1.5.0_15" locates at
Start>Control Panel>System>Advanced>Environment Variables> System
Variable.
(4) Set "PATH = C:\Program Files\Java\jdk1.5.0_15\bin" in both User
Variables / System Variables
(5) Reboot again
(6) Re-run c:\catindex\example> java –jar start.jar
(7) Re-open http://localhost... the NEW search interface is shown;-)

Have a good day!



On May 22, 1:24 pm, "Mike" <mikebecca...@gmail.com> wrote:
> To see if solr is running, you should be able to point tohttp://localhost:8983/solr/adminon the machine it's installed on.
>
> See here for a screencast of it:http://screencast.com/t/2AiZDcKR
>
> If this works and you see the admin page (which didn't work with Java 6 to
> the best of my knowledge, which is why I use Java 5) then solr is working.
> This would mean that you likely didn't replace the 2 config files.
>
> If this DOESN'T work (which is my suspicion), you have a problem with your
> java install. Java is a little tricky and tends to install itself pretty
> deeply into a system. I think uninstalling it and trying again would be a
> good option, but I wouldn't be surprised if it didn't work. Make sure you
> point JAVA_HOME in the environment variables to the Java 5 version...and
> restart your command prompt program (cmd.exe) when you reset those
> variables.
>
> Let me know how it goes.
> Mike
>
>
>
> -----Original Message-----
> From: facba...@googlegroups.com [mailto:facba...@googlegroups.com] On
>
> Behalf Of Gabriel Sean Farrell
> Sent: Wednesday, May 21, 2008 11:02 AM
> To: facba...@googlegroups.com
> Subject: Re: NO JSP Support for /admin, did not find org.apac
>
> You might find more help on Solr at the Solr list
> (http://lucene.apache.org/solr/mailing_lists.html).  Make sure Solr is
> up and running on its port (8983 in your case), then point FBO at it.
>
> > 2008-05-20 18:12:44.397::INFO:  Started SocketConnector @ 0.0.0.0:8983- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages