cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration database manuelment

takwa
Champ in-the-making
Champ in-the-making
hi all,

after the successful compilation, I deploy the share.war with tomcat,
the good news that the connection interface appears, the bad news that when I entered the login and password (admin, admin) an error appears
"The remote server is unavailable or your credentials were not recognized"
,
I have already created a database alfresco and I grant all privileges.

I use Tomcat 7, mysql 5.5.8, OS: Windows

Here are the errors on the Tomcat server:
Grave :Exception processing Global JNDI Resources
javax.naming.NamingException : la balisage du document suivant l'élement racine doit avoir un format correct
at org.apache.naming.NamingContext.lookup<NamingContex.java:860>
…………..
…………..
Infos : Démarrage du service Catalina
avr .17;2012 10:59:55 AM org.apache.catalina.core.StandardEngine startInternal
infos : Starting Servlet Engine: Apache Tomcat/7.0.27
avr. 17 ,2012 10:59:55 AM org.apache.tomcat.util.digester.Digester fatalError
Grave: Parse Fatal Error at ligne 4 column 2:la balisage du document suivant l'element racine doit avoir un format correct.
org.xml.sax.saxParseException; ligneNumber: 4; columnNumber: 2; la balisage du document suivant l'element racine doit avoir un format correct.
………………
……………
………….
avr .17;2012 10:59:55 AM org.apache.catalina.realm.UserDatabaseRealm startInternal
Grave :Exception lors de la recherche dans la base de données utilisateurs avec la clé UserDatabase
…………………..
……………………
……………………
avr .17;2012 10:59:55 AM org.apache.catalina.realm.UserDatabaseRealm startInternal
Grave: Failed to start 'org.apache.catalina.realm.UserDatabaseRealm/1.0" realm
……………………………
……………………………
………………………….
avr .17 , 2012 10:59:55 AM org.apache.catalina.startup.HostConfig deployWAR
Infos:Déploiment de l'archive C:\User\atef\Desktop\cré_alfresco\tomcat\webapps\share.war
Infos:Déploiment de l'archive C:\User\atef\Desktop\cré_alfresco\tomcat\webapps\examples
Infos:Déploiment de l'archive C:\User\atef\Desktop\cré_alfresco\tomcat\webapps\host-manager
Infos:Déploiment de l'archive C:\User\atef\Desktop\cré_alfresco\tomcat\webapps\manager
Infos:Déploiment de l'archive C:\User\atef\Desktop\cré_alfresco\tomcat\webapps\ROOT
avr. 17, 2012 11:00:23 AM org.apache.coyote.AbstractProtoocol start
Infos : Starting ProtocolHandler ["http-apr-8080"]
avr. 17, 2012 11:00:23 AM org.apache.coyote.AbstractProtoocol start
Infos : Starting ProtocolHandler ["ajp-apr-8009"]
avr. 17, 2012 11:00:23 AM org.apache.catalina.startup.catalina start
infos:Server startup in 27894 ms

et this erreur where i want to log with admin,admin
2012-04-17 11:30:14,297 INFO [web.site.EditionInterceptor] [http-apr-8080-exec-3] 
unable to retrieve License information form Alfresco 404

thanks for help ,i hope that I have detailed my problem
5 REPLIES 5

resplin
Elite Collaborator
Elite Collaborator
I don't know the solution to your challenges, but I can provide some ideas:

* If you change your subject to English, people might be more willing to view it. I don't speak that language, and only read the post to provide this hint. I was surprised to find that the post was in English.

* I'm guessing you speak French. You might try the French forums: https://forums.alfresco.com/fr/

* Though Share can be run on its own server, it won't do anything without the ability to connect to a functional Alfresco repository. So you also need to build and deploy alfresco.war. Have you succeeded at that? Are you able to login to the old Explorer interface?

* Share pulls the license information from the backend repository. Community edition should auto-generate a valid license, and Enterprise edition defaults to a 30 day trial. I think the error you are seeing is related to Share not being able to see a valid Alfresco repository.

Good luck,

Richard

m_scapoli
Champ in-the-making
Champ in-the-making
hi all,

after the successful compilation, I deploy the share.war with tomcat,
the good news that the connection interface appears, the bad news that when I entered the login and password (admin, admin) an error appears
"The remote server is unavailable or your credentials were not recognized"
,
I have already created a database alfresco and I grant all privileges.
when occur this error try also the http://[YOUR_HOST]:[YOUR_PORT]/alfresco/ (for example http://localhost:8080/share/); if the Tomcat server returned an error it means that the repository part didn't start
Your error might be in one of the configuartion file for Alfresco; have a look at that guide, even if it is for Linux users, because  explains some of the configuration to do and you can easly locate by yourself some file to setup

Alfresco WAR install guide for Ubuntu 10.04

even better than reported here:
https://forums.alfresco.com/en/viewtopic.php?f=14&t=39341#p124800
et this erreur where i want to log with admin,admin
2012-04-17 11:30:14,297 INFO [web.site.EditionInterceptor] [http-apr-8080-exec-3] 
unable to retrieve License information form Alfresco 404
sometime this error still occur even to me and my local Alfresco instance works perfectly; simply is not very important in my opinion.. Remember that Alfresco needs some startup before running correctly, least in my case..

I hope I was of help

Regards

takwa
Champ in-the-making
Champ in-the-making
Remember that Alfresco needs some startup before running correctly, least in my case..

what do u mean??

resplin
Elite Collaborator
Elite Collaborator
Remember that Alfresco needs some startup before running correctly, least in my case..

what do u mean??

It can take a while for Alfresco to bring up all of its subsystems and complete its startup. In a VM or low-powered machine that process can take three or four minutes. You should wait until you see this message in the logs:

INFO: Server startup in <big number> ms

On Linux it comes in tomcat/logs/catalina.out

takwa
Champ in-the-making
Champ in-the-making
thx for your reply Smiley Happy