11-02-2008 07:34 AM
os:linux (ubuntu 8)
JDK: 1.6
AS: TOMCAT6 (i copied the postgresql's database drivers in the lib directory)
DB: postgresql 8.3hibernate.dialect=org.hibernate.dialect.PostgreSQLDialectdb.schema.update=true
db.schema.update.lockRetryCount=24
db.schema.update.lockRetryWaitSeconds=5
db.driver=org.postgresql.Driver
db.name=alfresco
db.url=jdbc:postgresql://192.168.10.11/${db.name}
db.username=alfresco
db.password=alfresco
db.pool.initial=10
db.pool.max=2011-02-2008 07:41 AM
10:36:31,577 ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.remoting.rmi.RmiServiceExporter' defined in class path resource [alfresco/emailserver/email-service-context.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: internal error: ObjID already in use
Caused by: java.rmi.server.ExportException: internal error: ObjID already in use
at sun.rmi.transport.ObjectTable.putTarget(ObjectTable.java:169)
at sun.rmi.transport.Transport.exportObject(Transport.java:74)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:229)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:92)
11-05-2008 04:33 PM
11-05-2008 05:16 PM
11-08-2008 12:24 AM
The error being reported is to do with email-service-context.xml rather than anything to do with the database.
If you have changed the configuration of the email service I'd double check your configuration.
11-08-2008 12:46 AM
The error being reported is to do with email-service-context.xml rather than anything to do with the database.
If you have changed the configuration of the email service I'd double check your configuration.
<bean id="avmRemoteService" class="org.springframework.remoting.rmi.RmiServiceExporter">
<property name="service">
<ref bean="avmRemoteTransport"/>
</property>
<property name="serviceInterface">
<value>org.alfresco.service.cmr.remote.AVMRemoteTransport</value>
</property>
<property name="serviceName">
<value>avm</value>
</property>
<property name="registryPort">
<value>${alfresco.rmi.services.port}</value>
</property>
<property name="servicePort">
<value>${avm.rmi.service.port}</value>
</property>
</bean> this guy here… so there is something very wrong with the way i am doing it….
11-08-2008 12:48 AM
…
#
# Enterprise version information
#
# Version label
version.major=3
version.minor=0
version.revision=0
version.label=
# Edition label
version.edition=Enterprise
# Build number
version.build=r11498
# Schema number
version.schema=501
11-13-2008 01:34 AM
11-13-2008 02:04 AM
log4j.logger.org.springframework.remoting.rmi=DEBUG
<bean id="registry" class="java.util.ArrayList" />
11-13-2008 03:57 AM
Java(TM) SE Runtime Environment (build 1.6.0_10-rc-b28)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)import java.rmi.registry.LocateRegistry;
public class TestRegistry {
public static void main(String args[]) {
try {
LocateRegistry.createRegistry(12345);
} catch (Exception e) {
e.printStackTrace();
System.exit(1);
}
System.err.println("registry created on 12345");
try {
LocateRegistry.createRegistry(23456);
} catch (Exception e) {
e.printStackTrace();
System.exit(1);
}
System.err.println("registry created on 23456");
}
}earlier i thought the port number might be conflicting with some other application on my machine (I am running postfix @ 25 so i even changed the port number in the email-server.properties but no good ) i checked and double checked and here are the open ports on my machine tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 4061/dovecot
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 4061/dovecot
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 4026/smbd
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 4061/dovecot
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 4061/dovecot
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 4106/httpd
tcp 0 0 192.168.10.11:5432 0.0.0.0:* LISTEN 3925/postgres
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 4008/master
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 4026/smbd
tcp6 0 0 :::22 :::* LISTEN 3901/sshd
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.