https://bz.apache.org/ooo/show_bug.cgi?id=126264

          Issue ID: 126264
        Issue Type: DEFECT
           Summary: Remote socket port not open
           Product: App Dev
           Version: 4.1.1
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P5
         Component: api
          Assignee: [email protected]
          Reporter: [email protected]

I created 2 VM with Ubuntu 12.04 LTS and Ubuntu 14.04 LTS. On both VM I
installed OpenOffice 4.1.1.

For the error message "no suitable windowing system found, exiting." I
installed libxt6 and libxrender1.

I start office with:
soffice --headless --accept=socket,host,0,port=9000;urp;

The process list show me that office is running

root@ubuntu2:/home/user# ps -A | grep office
 4179 pts/0    00:00:00 soffice
 4189 pts/0    00:00:00 soffice.bin

BUT the listen port 9000 is not open

root@ubuntu2:/home/user# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 *:ssh                   *:*                     LISTEN
tcp        0      0 ubuntu2.loc:ssh         192.168.2.25:64288      ESTABLISHED
tcp        0      0 ubuntu2.loc:ssh         192.168.2.25:64441      ESTABLISHED
tcp        0      0 ubuntu2.loc:ssh         192.168.2.25:64372      ESTABLISHED
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN
udp        0      0 *:bootpc                *:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node   Path
unix  9      [ ]         DGRAM                    8217     /dev/log
unix  2      [ ACC ]     STREAM     LISTENING     7033     @/com/ubuntu/upstart
unix  2      [ ACC ]     SEQPACKET  LISTENING     7231     /run/udev/control
unix  2      [ ACC ]     STREAM     LISTENING     8331    
/var/run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     13093   
/tmp/OSL_PIPE_0_SingleOfficeIPC_e78437b1da6df9694a5449f4fba8d20

My Java server can't create a connection over port 9000.
XComponentContext xCC =
com.sun.star.comp.helper.Bootstrap.createInitialComponentContext(null);
XUnoUrlResolver urlResolver = UnoUrlResolver.create(xCC);
Object initialObject = urlResolver.resolve("uno:socket,host=" + hostName +
",port=9000;urp;StarOffice.ServiceManager");

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to