Navigation path

Digital Signature Service

(
 
)
4.47/5 | 34 votes

Problem running dss-webapp

1 message(s)
Angel García
Problem running dss-webapp
Posted by Angel García on November 20, 2012 at 12:08.
(, Spain) - 19/11/2012
.
(
 
)
0/5 | 0 votes | 643 reads
"

Hi.
I've a problem running the dss-webapp, when i try to create a signature with timestamp (like XAdES-A) i get this error in java console:

 

Nov 20, 2012 8:58:14 AM eu.europa.ec.markt.dss.signature.xades.XAdESProfileT createXAdESTimeStamp
INFO: Create timestamp for digest 6f0957b506f6a0d56e4c84edb8015468ca7a8e67
eu.europa.ec.markt.dss.CannotFetchDataException: Error when communicating to the server http://localhost:80/dss-webapp/service/tsp
    at eu.europa.ec.markt.dss.applet.io.NativeHTTPDataLoader.post(NativeHTTPDataLoader.java:106)

 

If i change apache tomcat port in server.xml to 80 then applet doesn't fail.
Is possible change port in applet source instead in server.xml file? The 80 port is used in my computer.

Thanks and bests regards.

Comments

Angel García
Re: Problem running dss-webapp
Posted by Angel García on November 20, 2012 at 20:29
(, Spain) - 19/11/2012
"

Hi again.

This error can be fixed changing 80 with 8080 at line 38 in signature.jsp file.

signature.jsp file can be found at:

  • /tomcat/webapps/dss-webapp if you are running dss-webapp demo.
  • /apps/dss/dss-webapp/src/main/webapp/ if you are editing/browsing source code.

Best regards.

Subscribe to newsletter

You will receive news and links to the most interesting developments...