I have some log errors. The action was a push to a repository. It
was the first thing I did after starting the server. If this has to
with my self signed certificate just let me know. I copied the
keystore from the old server to this server. the web browsers are not
having problems with the certificate. The new server has the same
host name as the old. Although I need to verify the case of the host
name.
10:03:44.035 [198249052@qtp-1189367926-5] INFO
sonia.scm.auth.ldap.LDAPAuthenticationHandler - user has no group
attributes assigned
10:03:44.039 [198249052@qtp-1189367926-5] INFO
sonia.scm.user.xml.XmlUserManager - modify user mark.ward of type ldap
10:03:44.316 [1948703724@qtp-1189367926-3] INFO
sonia.scm.user.xml.XmlUserManager - modify user mark.ward of type ldap
547124 [1084010740@qtp-1189367926-1] WARN org.mortbay.log - EXCEPTION
javax.net.ssl.SSLException: java.security.ProviderException:
sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:
1665)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:
1628)
at
sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:
1611)
at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1192)
at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1169)
at org.mortbay.jetty.security.SslSocketConnector
$SslConnection.run(SslSocketConnector.java:675)
at org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:582)
Caused by: java.security.ProviderException:
sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID
at
sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:
323)
at java.security.KeyPairGenerator
$Delegate.generateKeyPair(KeyPairGenerator.java:673)
at sun.security.ssl.ECDHCrypt.<init>(ECDHCrypt.java:63)
at
sun.security.ssl.ServerHandshaker.setupEphemeralECDHKeys(ServerHandshaker.java:
991)
at
sun.security.ssl.ServerHandshaker.trySetCipherSuite(ServerHandshaker.java:
872)
at
sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:
801)
at
sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:
576)
at
sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:
170)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:
609)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:
545)
at
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:913)
at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:
1158)
at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1185)
... 3 more
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception:
CKR_DOMAIN_PARAMS_INVALID
at sun.security.pkcs11.wrapper.PKCS11.C_GenerateKeyPair(Native
Method)
at
sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:
314)
... 15 more
10:03:44.679 [Thread-29] WARN sonia.scm.web.cgi.DefaultCGIExecutor -
Traceback (most recent call last):
File "/usr/share/jetty/.scm/cgi-bin/hgweb.py", line 47, in <module>
wsgicgi.launch(application)
File "/usr/lib/python2.7/dist-packages/mercurial/hgweb/wsgicgi.py",
line 76, in launch
content = application(environ, start_response)
File "/usr/lib/python2.7/dist-packages/mercurial/hgweb/
hgweb_mod.py", line 91, in __call__
...........
............
return protocol.call(self.repo, req, cmd)
File "/usr/lib/python2.7/dist-packages/mercurial/hgweb/protocol.py",
line 75, in call
rsp = wireproto.dispatch(repo, p, cmd)
File "/usr/lib/python2.7/dist-packages/mercurial/wireproto.py", line
340, in dispatch
return func(repo, proto, *args)
File "/usr/lib/python2.7/dist-packages/mercurial/wireproto.py", line
573, in unbundle
lock=lock)
File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line
1833, in addchangegroup
url=url, pending=p)
File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line
224, in hook
return hook.hook(self.ui, self, name, throw, **args)
File "/usr/lib/python2.7/dist-packages/mercurial/hook.py", line 164,
in hook
r = _pythonhook(ui, repo, name, hname, hookfn, args, throw) or r
File "/usr/lib/python2.7/dist-packages/mercurial/hook.py", line 75,
in _pythonhook
r = obj(ui=ui, repo=repo, hooktype=name, **args)
File "/usr/share/jetty/.scm/cgi-bin/scmhooks.py", line 54, in
callback
conn = urllib.urlopen(url, data);
File "/usr/lib/python2.7/urllib.py", line 86, in urlopen
return opener.open(url, data)
File "/usr/lib/python2.7/urllib.py", line 207, in open
return getattr(self, name)(url, data)
File "/usr/lib/python2.7/urllib.py", line 435, in open_https
h.endheaders(data)
File "/usr/lib/python2.7/httplib.py", line 951, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 811, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 773, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 1158, in connect
self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
File "/usr/lib/python2.7/ssl.py", line 372, in wrap_socket
ciphers=ciphers)
File "/usr/lib/python2.7/ssl.py", line 134, in __init__
self.do_handshake()
File "/usr/lib/python2.7/ssl.py", line 296, in do_handshake
self._sslobj.do_handshake()
IOError: [Errno socket error] [Errno 1] _ssl.c:503: error:14077438:SSL
routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
10:03:44.680 [135370635@qtp-1189367926-2] WARN
sonia.scm.web.cgi.DefaultCGIExecutor - process ends with exit code 1
On Nov 12, 10:11 am, Sebastian Sdorra <
s.sdo...@gmail.com> wrote:
> You could copy the logback.xml from the /var/cache/jetty folder to an other location, change the log level to trace and start your jetty-server with the java property logback.configurationFile (-Dlogback.configurationFile=/path/to/logback.xml). Note that this setting affects all webapplications that uses logback. For more informations have a look athttp://
logback.qos.ch/manual/configuration.html#configFileProperty.
>
> Sebastian
>
>
>
>
>
>
>
> On Saturday, November 12, 2011 at 17:00, Mark Ward wrote:
> > With the Jetty setup that I have on Ubuntu it does not extract the war file in the webapps folder. It opens the war file into /var/cache/jetty/ I have tried editing the file there but it seems to overwrite the file each time I start jetty. Although I am not sure if editing the file after jetty has started will work.
>
> > Just wondering if I am doing things correctly or if there is somewhere else I should be finding the logback.xml.
>
> > > Have you checked the permissions of your repositories? Have a look at section 8.2 ofhttp://
mercurial.selenic.com/wiki/PublishingRepositories. Could you set the logging of scm-manager to trace level and post the output of a push?