Unix Install
Greetings:
I have had the TC3.0.1 server running on windows upto now.
I am in the process of moving to Unix server.
When I access the server for the first time: setupAdmin.html
I get the following error message: Am I missing some additonal setup?
Error message: javax.el.ELException: Error reading 'hexEncodedPublicKey' on type jetbrains.buildServer.controllers.user.NewUserForm
Caused by: java.lang.RuntimeException: java.security.InvalidAlgorithmParameterException: Parameters not supported
at jetbrains.buildServer.serverSide.crypt.RSACipher.generateKeys(RSACipher.java)
at jetbrains.buildServer.serverSide.crypt.RSACipher.getKeys(RSACipher.java:16)
at jetbrains.buildServer.serverSide.crypt.RSACipher.getHexEncodedPublicKey(RSACipher.java:30)
at jetbrains.buildServer.controllers.user.NewUserForm.getHexEncodedPublicKey(NewUserForm.java:10)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)
... 45 more
Caused by: java.security.InvalidAlgorithmParameterException: Parameters not supported
at com.ibm.crypto.provider.RSAKeyPairGenerator.initialize(Unknown Source)
at java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:621)
at jetbrains.buildServer.serverSide.crypt.RSACipher.generateKeys(RSACipher.java:24)
... 53 more
Please sign in to leave a comment.
Hello Jeff,
Sorry for delay. Could you please provide us with more details, specifically
we need to know:
1) what version of Java do you use
2) what servlet container do you use?
3) are there any non-standard crypto providers specified in the
java.security file (jre/lib/security/java.security), probably you can send
this file to us?
--
Pavel Sher
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"
"Jeff Mychasiw" <no_reply@jetbrains.com> wrote in message
news:6086124.1202230663056.JavaMail.itn@is.intellij.net...
>
>
>
>
>
>
Thank you.
Yes it turns out that we were pointed to this JDK:
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pxa64dev-20060511 (SR2))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux amd64-64 j9vmxa6423-20060504 (JIT enabled)
We solved this by running against another JDK.
I'm having the same problem with the following JVM:
java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxp6460-20071123_01)
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux ppc64-64 jvmxp6460-20071121_15015 (JIT enabled)
J9VM - 20071121_015015_BHdSMr
JIT - r9_20071121_1330
GC - 20071031_AA)
JCL - 20071118_01
I edited the $JAVA_HOME/jre/lib/security/java.policy file to allow all permissions, not exactly the best solution, but it gets TeamCity up and running:
grant {
permission java.security.AllPermission;
};
Hello,
To launch TeamCity server under IBM JDK you should install additional crypto
provider. Read more about this here:
http://jetbrains.net/tracker/_htmlTemplate/Workspace?currentIssueId=TW-4522
--
Pavel Sher
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"
"Eric Bronnimann" <eric@bronnimann.com> wrote in message
news:2991045.3661205698253381.JavaMail.jive@app4.labs.intellij.net...
>
>
>