I recieve server error 500 and what is jboss server.log:
2011-09-15 11:34:39,031 INFO (http-0.0.0.0-8080-1) Recieved HTTP process request for worker 1, from ip 127.0.0.1
2011-09-15 11:34:39,053 INFO (http-0.0.0.0-8080-1) Trying to get worker with Id that does not exist: 1
2011-09-15 11:34:39,053 ERROR (http-0.0.0.0-8080-1) Non-existing workerId: 1
org.signserver.common.IllegalRequestException: Non-existing workerId: 1
I've checked mysql database signserver and see that there is workerId 1
Whena I use test demo certificate with:
# Test timestamp
bin/signserver.sh module add dist-server/tsa.mar demo
bin/signserver.sh getconfig 1
bin/signserver.sh reload 1
cd dist-client/timestampclient
java -jar timeStampClient.jar http://127.0.0.1:8080/signserver/process?workerId=1
All is ok in that case.
I've made many test with own certificates and error is allways - Non-existing workerId: 1
Please help me!
Best Regards
Plamen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Tomas,
May be I have to use bin/signserver.sh module add dist-server/tsa.mar demo for my own p12 file?
I tested with edit demo-part-config.properties file and did "ant clean;ant" and then bin/signserver.sh module add dist-server/tsa.mar demo, but after "bin/signserver.sh get config 1" I see that loaded configuration did not list my configuration.
Please explain what is purpose of server modules and mar files!
I need to deploy signserver 3.2 at jboss 5.1 server with my production p12 file.
Please descibe which commands I have to use!
I' ve read all signserver guides, buot no success with p12 file and signserver 3.1/2
Best Regards,
Plamen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can't really describe it better than the guides, that have step-for-step command instructions (just copy-paste). You will have to do some debugging yourself.
Cheers,
Tomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Friends,
If you are using command "bin/signserver.sh setproperties qs_timestamp_configuration.properties" to configure signserver you have to setup following options in signserver_build.properties:
Hi,
I'm tring to deploy signserver 3.2 at jboss 5.1. I've issued own timestamp certificate and use tsa.p12 file.
I've done following:
- ant deploy and jboss start
- edit qs_timestamp_configuration.properties with properties for tsa.p12
- bin/signserver.sh setproperties qs_timestamp_configuration.properties
- bin/signserver.sh getconfig 1
- bin/signserver.sh reload 1
Then test with:
cd dist-client/timestampclient
java -jar timeStampClient.jar http://127.0.0.1:8080/signserver/process?workerId=1
I recieve server error 500 and what is jboss server.log:
2011-09-15 11:34:39,031 INFO (http-0.0.0.0-8080-1) Recieved HTTP process request for worker 1, from ip 127.0.0.1
2011-09-15 11:34:39,053 INFO (http-0.0.0.0-8080-1) Trying to get worker with Id that does not exist: 1
2011-09-15 11:34:39,053 ERROR (http-0.0.0.0-8080-1) Non-existing workerId: 1
org.signserver.common.IllegalRequestException: Non-existing workerId: 1
I've checked mysql database signserver and see that there is workerId 1
Whena I use test demo certificate with:
# Test timestamp
bin/signserver.sh module add dist-server/tsa.mar demo
bin/signserver.sh getconfig 1
bin/signserver.sh reload 1
cd dist-client/timestampclient
java -jar timeStampClient.jar http://127.0.0.1:8080/signserver/process?workerId=1
All is ok in that case.
I've made many test with own certificates and error is allways - Non-existing workerId: 1
Please help me!
Best Regards
Plamen
Hi Tomas,
May be I have to use bin/signserver.sh module add dist-server/tsa.mar demo for my own p12 file?
I tested with edit demo-part-config.properties file and did "ant clean;ant" and then bin/signserver.sh module add dist-server/tsa.mar demo, but after "bin/signserver.sh get config 1" I see that loaded configuration did not list my configuration.
Please explain what is purpose of server modules and mar files!
I need to deploy signserver 3.2 at jboss 5.1 server with my production p12 file.
Please descibe which commands I have to use!
I' ve read all signserver guides, buot no success with p12 file and signserver 3.1/2
Best Regards,
Plamen
I can't really describe it better than the guides, that have step-for-step command instructions (just copy-paste). You will have to do some debugging yourself.
Cheers,
Tomas
Hi Friends,
If you are using command "bin/signserver.sh setproperties qs_timestamp_configuration.properties" to configure signserver you have to setup following options in signserver_build.properties:
includemodulesinbuild=true
useclusterclassloader=false
After signserver redeploy I haven't errors in client testing and jboss server log.
Best Regards,
Plamen