[opencms-dev] Module Import / Static Export problem (Win to Linux)

John Mazzocchi John.Mazzocchi at tafmo.com
Wed May 10 08:45:32 CEST 2006


Hi, I'd be very grateful if someone could shed some light on this ...

Ok, I've been developing my website (modules) on my Windows machine - I'm now finished and everything works fine. On WinXP anyway. Static export works prefectly, no problems at all.

So now I have to move everything to my Linux box ...

I export the modules on the Windows machine and then FTP the modules and the opencms-importexport.xml & opencms-modules.xml to the Linux machine and then I bounce Tomcat.

Now I've set the StaticExport to use the AfterPublish publisher ... so when I try to import the modules on the Linux machine, everything seems to go ok until it tries to export (which I automatically tries to do, obviously).

I get the following errors (many of them) ...

Exception java.net.ConnectException: Connection refused at java.netPlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .... etc.

Now, it seems to create the export directories just fine, but there's no template resources, only (an old set of) non-template resources. No HTML files, in other words.
I've also noticed that Tomcat is running as root, and so I assume that OpenCms is also running as root. Since the permissions on the directories are rwx for root, I assume that it can actually write to those directories ...

But the error feels like a permissions problem ... has anyone a clue?

I've tried chmod -R 777 on the export directories (just in case), but when OpenCms tries to re-export, it recreates the export directories with rwxr-xr-x again.

Any help gratefully accepted.

Cheers
John Mazzocchi


This email and any files transmitted with it may be confidential and are intended solely for the use of the individual or entity to whom they are addressed. This email may contain personal information of individuals, and be subject to Commonwealth and/or State privacy laws in Australia. This email is also subject to copyright. If you are not the intended recipient, you must not read, print, store, copy, forward or use this email for any reason, in accordance with privacy and copyright laws. If you have received this email in error, please notify the sender by return email, and delete this email from your inbox. 




More information about the opencms-dev mailing list