Highlighted
Absent Member.
Absent Member.
1265 views

Cannot open the attachments from remote machine

Hi,
We have configured attachments settings in service desk 5.1 with patch 3, and i can open the attachments from local macine,butwhen i am trying to open the attachmentfrom remote machine i am getting java error:
openbat.java console

Regards,
Amit
0 Likes
10 Replies
Highlighted
Absent Member.
Absent Member.

HI
Client s/w like get attachment directly from ftp server, look on firewall configuration in your network, between remote client and ftp server.

Vasily
0 Likes
Highlighted
Absent Member.
Absent Member.

hello

yeah ...please check that FTP protocol is enabled between your machine and the SD server
thanks
0 Likes
Highlighted
Absent Member.
Absent Member.

HI,
r u able to do ftp through command prompt from remote system ?
use below command

c:\ftp "ip address of ftpnserver"

post the screen shot.
0 Likes
Highlighted
Absent Member.
Absent Member.

Hi All,
Thanks for ur reply...
FTP service is enabled and running and also i can FTP from remote machine and vice versa...
Our n/w team says they have not blocked, as we can ftp and even telnet thru both servers...
wat else do i need to check

Amit
0 Likes
Highlighted
Absent Member.
Absent Member.

HI
check the personal f/w on remote machine.
what the Java versions on remote machine?

Vasily
0 Likes
Highlighted
Absent Member.
Absent Member.

Hi All,

following is the error I am getting when i try to open the attachments. Basically I am able to Attach and save a file using the attachments but I am not able to open the same and it throws the folloing error:

java.io.FileNotFoundException: http://ankaoc01-nms02:80/www/htdocs/ovconsole/open_attachment.bat

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at com.hp.ov.ui.util.AppFileOpener.internalGetFileOpener(Unknown Source)

at com.hp.ov.ui.util.AppFileOpener.getWindowsFileOpener(Unknown Source)

at com.hp.ov.ui.util.AppFileOpener.getFileOpener(Unknown Source)

at com.hp.ov.ui.swing.OpenFile$RunFile.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused:

java.lang.RuntimeException: java.io.FileNotFoundException: http://ankaoc01-nms02:80/www/htdocs/ovconsole/open_attachment.bat

at com.hp.ov.ui.util.AppFileOpener.internalGetFileOpener(Unknown Source)

at com.hp.ov.ui.util.AppFileOpener.getWindowsFileOpener(Unknown Source)

at com.hp.ov.ui.util.AppFileOpener.getFileOpener(Unknown Source)

at com.hp.ov.ui.swing.OpenFile$RunFile.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: java.io.FileNotFoundException: http://ankaoc01-nms02:80/www/htdocs/ovconsole/open_attachment.bat

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

Also attach is the error.

Regards,
amit

0 Likes
Highlighted
Absent Member.
Absent Member.

Hi,

Try the beneath steps:

1- Open command prompt (Start -> Run -> cmd).
2- Navigate to C:\Program Files\HP OpenView\bin. Press enter
3- Then type ovconfchg.exe â edit
4- Take a copy of the content of the attached file (Attachment Fix.txt) and replace the opened notepad file from the previous step.
5- Save and close.
6- Open the console and test (Please test both already existing attachments and new ones as well).


Best Wishes,

Abed Said
0 Likes
Highlighted
Absent Member.
Absent Member.

As Abed left out his attachment, try this. Run ovconfchg on the server and copy the lines about the ports. Now do the same on the client having the issue and run ovconfchg and add those lines in.
I suspect you are non using the default port for apache.
0 Likes
Highlighted
Absent Member.
Absent Member.

help
there was some solution regarding this problem, the same thing is happening to me

0 Likes
Highlighted
Absent Member.
Absent Member.

It is the same error

java.io.FileNotFoundException: http://hvprsd.hacienda.ad.gob.mx:80/www/htdocs/ovconsole/open_attachment.bat

                                    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

                                    at com.hp.ov.ui.util.AppFileOpener.internalGetFileOpener(Unknown Source)

                                    at com.hp.ov.ui.util.AppFileOpener.getWindowsFileOpener(Unknown Source)

                                    at com.hp.ov.ui.util.AppFileOpener.getFileOpener(Unknown Source)

                                    at com.hp.ov.ui.swing.OpenFile$RunFile.run(Unknown Source)

                                    at java.lang.Thread.run(Unknown Source)

Provocado:

java.lang.RuntimeException: java.io.FileNotFoundException: http://hvprsd.hacienda.ad.gob.mx:80/www/htdocs/ovconsole/open_attachment.bat

                                    at com.hp.ov.ui.util.AppFileOpener.internalGetFileOpener(Unknown Source)

                                    at com.hp.ov.ui.util.AppFileOpener.getWindowsFileOpener(Unknown Source)

                                    at com.hp.ov.ui.util.AppFileOpener.getFileOpener(Unknown Source)

                                    at com.hp.ov.ui.swing.OpenFile$RunFile.run(Unknown Source)

                                    at java.lang.Thread.run(Unknown Source)

Caused by: java.io.FileNotFoundException: http://hvprsd.hacienda.ad.gob.mx:80/www/htdocs/ovconsole/open_attachment.bat

                                    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

                                    ... 5 more

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.