cancel
Showing results for 
Search instead for 
Did you mean: 

Installation on openSuse 10.2

bartsan1
Champ in-the-making
Champ in-the-making
Can someone provide me with details how to install it there? Downloaded it, installed it in a folder (alfresco and tomcat), changed some links but nothing happens. The docu and the wiki are not helpful. Does an installation file exist which installs the files automatically without the need to change files manually?

When I try to connect I receive the error no connection can be made to 8080.

Andreas
9 REPLIES 9

jakuyi
Champ in-the-making
Champ in-the-making
hi,
I had this problem too but it was only the wrong java version.
With "java -version" you can look which version is installed. And in Yast you can see it too. The installed one is marked.
I had the old 1.4.x installed and updated now to 1.5.x now the tomcat is running   Smiley Very Happy
Only Alfresco won't start.. in the logs is only:

ERROR: ListenerStart
and then all says "Startup failed due to previous error."

I've used the 2.0 Comunity Version Binary

finner
Champ in-the-making
Champ in-the-making
Hi,
What does your log file say ?

Finner

jakuyi
Champ in-the-making
Champ in-the-making
that's the log of the last start

Sep 5, 2007 4:11:44 PM org.apache.catalina.core.AprLifecycleListener 
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
/usr/lib/jvm/java-1.5.0-sun-1.5.0_update12/jre/lib/i386/server:/usr/lib/jvm/java-1.5.0-sun-1.5.0_update12/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0_update12/jre/../lib/i386
Sep 5, 2007 4:11:44 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 5, 2007 4:11:44 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3383 ms
Sep 5, 2007 4:11:45 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 5, 2007 4:11:45 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
Sep 5, 2007 4:11:45 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Sep 5, 2007 4:11:50 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
Sep 5, 2007 4:12:51 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Sep 5, 2007 4:12:51 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
Sep 5, 2007 4:12:55 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 5, 2007 4:12:56 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 5, 2007 4:12:56 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/41  config=null
Sep 5, 2007 4:12:56 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Sep 5, 2007 4:12:57 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 73056 ms

jakuyi
Champ in-the-making
Champ in-the-making
and the log after I tried to start Alfresco over the Application Manager of Tomcat

Sep 5, 2007 4:19:56 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped
already.  Could not load cryptix.jce.provider.md.MD4.  The eventual
following stack trace is caused by an error thrown for debugging
purposes as well as to attempt to terminate the thread which caused
the illegal access, and has no functional impact.
java.lang.IllegalStateException
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1241)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
        at java.security.Provider$Service.getImplClass(Provider.java:1172)
        at java.security.Provider$Service.newInstance(Provider.java:1129)
        at sun.security.jca.GetInstance.getInstance(GetInstance.java:220)
        at sun.security.jca.GetInstance.getInstance(GetInstance.java:147)
        at java.security.Security.getImpl(Security.java:658)
        at java.security.MessageDigest.getInstance(MessageDigest.java:122)
        at
org.alfresco.repo.security.authentication.MD4PasswordEncoderImpl.<clinit>(MD4PasswordEncoderImpl.java:61)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:242)
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:108)
        at
org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:65)
        at
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:426)
        at
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:392)
        at
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:307)
        at
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:191)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:295)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:223)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
        at
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.importBeanDefinitionResource(DefaultXmlBeanDefinitionParser.java:325)
        at
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:298)
        at
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:191)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:295)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:223)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
        at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:126)
        at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
        at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:269)
        at
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
        at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
        at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
        at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
        at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1175)
        at
org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:527)
        at
org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:104)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
Sep 5, 2007 4:20:34 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Sep 5, 2007 4:20:34 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors


and this file, cryptix-jce-provider.jar, is in every /lib/ folder that I've found on the system.. but the error is always the same.

finner
Champ in-the-making
Champ in-the-making
jakuyi,
what is the atuhenticator type in your file-servers-custom.xml file in your alfresco\extension folder ?  I think by defalult the file-servers.xml is set to "enterprise".

file-servers-custom.xml

<config evaluator="string-compare" condition="Filesystem Security" replace="true">
      <authenticator type="alfresco"/>
</config>

jakuyi
Champ in-the-making
Champ in-the-making
I have no alfresco\extension folder or any file named "file-servers-custom.xml"

I'm using the 2.0 community edition.. and have no skills with Alfresco or Tomcat Smiley Sad

finner
Champ in-the-making
Champ in-the-making
ok,
I assume you're using Tomcat.
So the extension folder for Tomcat is
<TOMCAT_HOME>/shared/classes/alfresco/extension/*.xml
In this folder you can customize the configuration of Alfresco.
Files of importance are :
custom-repository.properties
custom-hibernate-dialect.xml
file-servers-custom.xml

So to customize the file-servers.xml there needs to be a
<TOMCAT_HOME>/shared/classes/alfresco/extension/file-servers-custom.xml

and in that file something similar to the follwing


<alfresco-config area="file-servers">
<config evaluator="string-compare" condition="Filesystem Security">
  <authenticator type="alfresco">
  </authenticator>
</config>
</alfresco-config>

The file-servers.xml file (and all the default Alfresco configuration files) are in  <TOMCAT_HOME>/webapps/alfresco/WEB-INF/classes so you should see a file-servers.xml.

Have a look at the wiki pages below, you may have missed a step.

Some wiki pages of interest:
http://wiki.alfresco.com/wiki/Installing_on_Linux
http://wiki.alfresco.com/wiki/Download_and_install_Alfresco_in_Linux
http://wiki.alfresco.com/wiki/Repository_Configuration
http://wiki.alfresco.com/wiki/Database_Configuration
http://wiki.alfresco.com/wiki/Server_Administration_Guide



Hope this is of some help
Finner

jakuyi
Champ in-the-making
Champ in-the-making
Hi,

ok I've found that file but there's nothing like

 <authenticator type="alfresco">
  </authenticator>

The other entrys are the same.. but one:
condition="Filesystem"

In the meanwhile I got a copy of a running Alfresco and tried to start it, but there's "Error ListenerStart" again.

jakuyi
Champ in-the-making
Champ in-the-making
I've found a old image of my VMware, now I can use the same Alfresco and it works  Smiley Very Happy

Thanks for your help
Cheers