AnsweredAssumed Answered

j'utilise la version d'Alfresco packagée avec JBoss...

Question asked by felipe on Apr 7, 2006
Latest reply on Apr 10, 2006 by thomasb
Bonjour,
j'utilise la version d'Alfresco packagée avec JBoss portal.

Je travaille avec Eclipse et ai importé les différents projets(3rd Party, Core, Repository…).
Je cherche simplement à exécuter un simple code d'accès au repository via jcr mais j'ai sans cesse la même erreur:

CODE:
public static void main(String[] args)throws Exception
    {
        ApplicationContext context = new ClassPathXmlApplicationContext("repository/bean.xml");
        Repository repository = (Repository)context.getBean("JCR.Repository");
    }

ERREUR:

7 avr. 2006 19:11:56 net.sf.joott.uno.UnoConnection connect
INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
7 avr. 2006 19:11:58 net.sf.joott.uno.UnoConnection connect
GRAVE: connection failed: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused: connect
7 avr. 2006 19:11:58 net.sf.joott.uno.UnoConnection connect
INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
7 avr. 2006 19:11:58 net.sf.joott.uno.UnoConnection connect
GRAVE: connection failed: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused: connect
19:12:00,218 INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
19:12:00,288 INFO  [admin.patch.PatchExecuter] No patches were required.
19:12:00,589 INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_06-b05; maximum heap size 63,563MB
19:12:00,589 WARN  [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 63,563MB is less than recommended 512MB
19:12:00,589 INFO  [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 1.2.0 schema 6 - Installed version 1.2.0 schema 6

19:12:00,589 ERROR [alfresco.ftp.protocol] FTP Socket error
java.net.BindException: Address already in use: JVM_Bind
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(Unknown Source)
   at java.net.ServerSocket.bind(Unknown Source)
   at java.net.ServerSocket.<init>(Unknown Source)
   at java.net.ServerSocket.<init>(Unknown Source)
   at org.alfresco.filesys.ftp.FTPNetworkServer.run(FTPNetworkServer.java:377)
   at java.lang.Thread.run(Unknown Source)


Le même erreur est levée lors du démarrage du serveur.
7 avr. 2006 19:11:56 net.sf.joott.uno.UnoConnection connect
INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
7 avr. 2006 19:11:58 net.sf.joott.uno.UnoConnection connect
GRAVE: connection failed: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused: connect
7 avr. 2006 19:11:58 net.sf.joott.uno.UnoConnection connect
INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
7 avr. 2006 19:11:58 net.sf.joott.uno.UnoConnection connect
GRAVE: connection failed: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused: connect

Quelqu'un aurait-il une idée du problème?


Cordialement
Philippe.

Outcomes