cancel
Showing results for 
Search instead for 
Did you mean: 

getting ObjID already in use

asifsehzaad
Champ in-the-making
Champ in-the-making
my env
os:linux (ubuntu 8)
JDK: 1.6
AS: TOMCAT6 (i copied the postgresql's database drivers in the lib directory)
DB: postgresql 8.3

i changed the dialect to pgsqldialect
hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect

and changed the repository.properties
db.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=20

restarted tomcat and can't seem to get rid of that exception.
16 REPLIES 16

asifsehzaad
Champ in-the-making
Champ in-the-making
It seems i am getting somewhere… that IP address (192.168.13.55) is an old ip address which i used for this machine… i don't know how this is surviving here…. i have changed my ip address and i telnet daily into this thing…any ideas how java's RMI works…and how is this happening, seems to be java us pulling this out from some cache of some kind…
21:12:45,412 DEBUG [org.springframework.remoting.rmi.RmiServiceExporter] RMI registry access threw exception
java.rmi.ConnectIOException: Exception creating connection to: 192.168.13.55; nested exception is:
        java.net.SocketException: Network is unreachable
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:614)
        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
        at sun.rmi.registry.RegistryImpl_Stub.list(Unknown Source)
        at org.springframework.remoting.rmi.RmiServiceExporter.testRegistry(RmiServiceExporter.java:411)
        at org.springframework.remoting.rmi.RmiServiceExporter.getRegistry(RmiServiceExporter.java:391)

asifsehzaad
Champ in-the-making
Champ in-the-making
I was looking at this file
alfresco/WEB-INF/classes/alfresco/file-servers.properties


does that have anything to do with my problem…i just getting sleepy…i need to go to bed…. Smiley Very Happy

derek
Star Contributor
Star Contributor
I was looking at this file
alfresco/WEB-INF/classes/alfresco/file-servers.properties

does that have anything to do with my problem…
No.  Have you tried mapping 'localhost' to 127.0.0.1 or something like that?

asifsehzaad
Champ in-the-making
Champ in-the-making
noop…

due to some reasons here i had to change the ip address of this machine..but that was months ago… I am wondering why it is still referring to this old address.

dsadowski
Champ in-the-making
Champ in-the-making
try running the following command in shell in your ALFRESCO/tomcat dir - that should list files containing the old IP address (try wrapping your search query i.e. "192.168." in quotes if no results found)

egrep -alR –regexp=192.168. *

I normally remove Catalina folder in tomcat/work before staring up alfresco after making some major changes (it gets recreated)

mrogers
Star Contributor
Star Contributor
Also check your ubuntu "/etc/hosts" file.

asifsehzaad
Champ in-the-making
Champ in-the-making
Alfresco is coming up fine now… the reason was that there was a hidden reference to my old ip address in my hosts file (maybe yesterday night i was too tired to look among all the entries in that list…)….

i am a happy alfresco user now…will be hanging around these forums….and certainly the folks here have been very helpful indeed…thank you guys…

Cheers,
and have a great weekend.