Many thanks

2009/3/9 Mck <[email protected]>

> > I have one issue when starting tomcat: Parse Fatal Error at line 1
> > column 1: Content is not allowed in prolog.
>
> I can't say what this is without any clue as to which xml file it is
> complaining about. Although i suspect it's related to your last
> question.



It seems It was complaining about localhost.com/WEB-INF/SearchPortal.tld
This file only contained a link to
"../../../../../../../war/src/main/webapp/WEB-INF/SearchPortal.tld"
So I looked in the src files I downloaded from the svn and put the content
directly in the SearchPortal.tld file that is deployed under
localhost.com/WEB-INF. This eliminated the error at the tomcat startup
mentioned above.


>
> > The last instructions to get started say: Deploy your skins to your
> > container.
>
> You mentioned that the three war files were already deployed to your
> tomcat-6 container, there's nothing more to do here.
>
> >  Every skin deployed must have its name added into your hosts file
> > pointing to 127.0.0.1. Would you mind sharing any additional
> > information on this, please. When I try to access
> > http://localhost:8080 I am being redirected to http://sesam.com/
>
> What this means is the the skins:
> generic.sesam and localhost.com must be referred to as hosts in
> your /etc/hosts file both pointing to 127.0.0.1
>
> Actually generic.sesam is handled in a special way since it's the base
> skin of all skins, therefore it is only localhost.com you need to add to
> the line in /etc/hosts that looks like
> 127.0.0.1 localhost
>
> so that it becomes
> 127.0.0.1 localhost localhost.com
>
>
> Then in your browser you need to access http://localhost.com:8080/ not
> just localhost. This i suspect will fix both problems.
>

I added localhost.com in my hosts file and now ping is successful when
pointing to localhost.com as well as localhost.
I have successfully obtained the search interface when accessing at
http://localhost.com:8080/ but the search is not working.
Here the errors I got in sesam.log

1. "ERROR 16:37:37,332 [localhost.com:8080/ http-8080-6]
(e8a87e91-3054-40f6-a784-2d25de310bc7) SolrEvaluatorFactory:
java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError:
org/apache/commons/codec/DecoderException"

This could be probably solved by adding the commons-codec jar to the
classpath.

2. "javax.naming.CommunicationException: Could not obtain connection to any
of these urls: localhost:1099 and discovery failed with error:
javax.naming.CommunicationException: Receive timed out [Root exception is
java.net.SocketTimeoutException: Receive timed out]"

Do I need to do anything special to get over this error?


>
> ~mck
>
> ps. i'll update the documentation to clear these things up, thanks for
> pointing it out, documentation is always tricky to get right first time
> without having to go overboard.
>
> --
> "Laugh, share some happiness with the world. God knows we all have
> problems, believe that sometimes it pays to act like a fool to make
> someone else happy!" Anon
> | semb.wever.org | sesat.no | sesam.no |
>
> _______________________________________________
> Kernel-development mailing list
> [email protected]
> http://sesat.no/mailman/listinfo/kernel-development
>
>
Many thanks
-Vicente
_______________________________________________
Kernel-development mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-development

Reply via email to