cancel
Showing results for 
Search instead for 
Did you mean: 

Edit Online

chris_blanco
Champ in-the-making
Champ in-the-making
First off let me start by saying that I am about done with Alfresco. I was close to being done after spending 2 weeks figuring out how to upgrade from 3.4 to 4.0b, and now I am at the edge.  I have NEVER in my life seen a more finicky piece of software. Every time I go to change something or upgrade it breaks. I swear I need to do some sort of voo-doo ceremony before I touch the thing in order to appease the Alfresco gods so that it will work for at least one day.

With that said, my latest foray into Alfresco is integrating it with Microsoft Office. I am using 4.0c release, I have a mix of office 2010 and 2007 clients, neither work. I have followed the instructions for configuring SharePoint protocol from docs.alfresco.com. My installation is a little unique in that I am running on an application server so I do some port forwarding in order to get my URL to resolve. That is the problem I am trying to fix, the only thing after install the spp AMP, and restart I get the following in my log:

2012-01-10 09:07:41,744  ERROR [web.context.ContextLoader] [Thread-1] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 00100000 Error start VtiServer, cause:
   at org.alfresco.module.vti.VtiServer.onBootstrap(VtiServer.java:144)
   at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
   at org.apache.catalina.core.StandardService.start(StandardService.java:519)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.net.BindException: Address already in use: JVM_Bind
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
   at java.net.ServerSocket.bind(ServerSocket.java:319)
   at java.net.ServerSocket.<init>(ServerSocket.java:185)
   at java.net.ServerSocket.<init>(ServerSocket.java:141)
   at org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector.java:80)
   at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
   at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:283)
   at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:147)
   at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
   at org.mortbay.jetty.Server.doStart(Server.java:235)
   at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
   at org.alfresco.module.vti.VtiServer.onBootstrap(VtiServer.java:136)
   … 34 more
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
Exception in thread "JobAcquisitionThread" java.lang.NullPointerException
   at org.activiti.engine.impl.jobexecutor.JobAcquisitionThread.run(JobAcquisitionThread.java:103)

Here is are my alfresco global properties:


###############################
## Common Alfresco Properties #
###############################

dir.root=D:/Alfresco/alf_data

web.application.context.url=http://<url>/Alfresco/alfresco

alfresco.context=Alfresco/alfresco
alfresco.host=http://<url>
alfresco.port=8080
alfresco.protocol=http

share.context=Alfresco/share
share.host=http://<url>
share.port=8080
share.protocol=http

### database connection properties ###
db.driver=org.gjt.mm.mysql.Driver
db.username=alfresco
db.password=alfresco
db.name=alfresco
db.url=jdbc:mysql://localhost:3306/alfresco
db.schema.update = true


### FTP Server Configuration ###
ftp.enabled=true
ftp.port=21
ftp.ipv6.enabled=false

### RMI service ports ###
alfresco.rmi.services.port=50500
avm.rmi.service.port=0
avmsync.rmi.service.port=0
attribute.rmi.service.port=0
authentication.rmi.service.port=0
repo.rmi.service.port=0
action.rmi.service.port=0
deployment.rmi.service.port=0

### External executable locations ###
ooo.exe=C:/Alfresco/openoffice/App/openoffice/program/soffice.exe
ooo.enabled=true
ooo.port=8100
ooo.port=8100
img.root=C:/Alfresco/imagemagick
img.dyn=${img.root}/lib
img.exe=${img.root}/convert
swf.exe=C:/Alfresco/swftools/pdf2swf.exe
jodconverter.enabled=false
jodconverter.officeHome=C:/Alfresco/openoffice/App/openoffice
jodconverter.portNumbers=8100

### Initial admin password ###
alfresco_user_store.adminpassword=<pass>

### E-mail site invitation setting ###
notification.email.siteinvite=true

### Email settings
mail.host=smtp.gmail.com
mail.port=465
mail.protocol=smtps
mail.username=<mail user name>
mail.password=<mail password>
mail.encoding=UTF-8
mail.smtps.auth=true
mail.smtps.starttls.enable=true


### File Protocol Root ###
protocols.rootPath=/${spaces.company_home.childname}/${spaces.sites.childname}

### License location ###
dir.license.external=C:/Alfresco

### Solr indexing ###
index.subsystem.name=solr
dir.keystore=${dir.root}/keystore
solr.port.ssl=8443

### SharePoint Protocol Setup ###
vti.server.port=7070
vti.server.external.host=<url>


### BPM Engine ###
system.workflow.engine.jbpm.enabled=false

At this point the installation is gone. The ONLY way to get it back is to uninstall completely and reinstall. This is UNACCEPTABLE

Please help, this is a MUST have feature in order for me to keep Alfresco.
3 REPLIES 3

gethin
Champ on-the-rise
Champ on-the-rise
The exception (Error start VtiServer) states the cause as :"java.net.BindException: Address already in use" and your config is vti.server.port=7070.
It seems that your already have something running on the standard Vti port 7070.

In order to be able to start up Alfresco successfully,  you can change the port number in your settings file or stop whatever's using that port. Alternately, you could uninstall the SharePoint Vti module, and then your Alfresco repo would start up without the Vti support (and so it wouldn't try to use port 7070).

chris_blanco
Champ in-the-making
Champ in-the-making
I understand that. However I can get it to start one or two times, if I have to reboot the server and restart the service it fails. I have changed ports, I have used ports that I KNOW are not in use, but the problem continues. Alfresco was working all day yesterday, now I do a restart of the server after an update and the service fails to start with no changes. I now I have RE-INSTALL again just so I can recover my documents.

I am done with Alfresco.

ddraper
World-Class Innovator
World-Class Innovator
Alfresco was working all day yesterday, now I do a restart of the server after an update and the service fails to start with no changes

If Alfresco was working fine and you restart after an update - perhaps it was the update that has caused the problems?  What exactly have you updated? You've somewhat contradicted yourself by saying that there have been no changes but there has been "an update".

If it's always the same binding error that you're seeing are checking that the port is definitely not in use and is not subsequently being used by another process?