File tree Expand file tree Collapse file tree
docviewerapi/src/com/log4ic/utils/convert/office Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,21 +171,18 @@ public static void startService(){
171171 LOGGER .debug ("准备启动服务...." );
172172 configuration .setOfficeHome (getOfficeHome ());
173173 configuration .setPortNumber (getPort ());
174- officeManager = configuration .buildOfficeManager ();
175174 if (CONNECTION_PROTOCOL != null ) {
176175 configuration .setConnectionProtocol (CONNECTION_PROTOCOL );
177176 }
178177 if (OFFICE_PROFILE != null ) {
179178 configuration .setTemplateProfileDir (OFFICE_PROFILE );
180179 }
180+ officeManager = configuration .buildOfficeManager ();
181181 officeManager .start ();
182182 LOGGER .debug ("office转换服务启动成功!" );
183183 } catch (Exception ce ) {
184184 LOGGER .error ("office转换服务启动失败!详细信息:" + ce );
185- } finally {
186-
187185 }
188-
189186 }
190187
191188 public static void stopService () {
You can’t perform that action at this time.
0 commit comments