Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Jetty-9.1.1 Issue

Hi All,

I have migrated the application from Jetty6.1.26 into Jetty-9.1.1. I am using Jetty-all-9.1.1. jar file for embedded Jetty start.
I am facing an issue with the encryption as below : The error shows Maximum length is 30 and encryption key is too long.
I am using commons-pool-1.5.4.jar   and   commons-dbcp-1.3.jar  along with Jetty-all-9.1.1.jar.

org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (JZ001: User name property 'ENC[RJwg4HyKur2kqhCZhr0AwJOYwQCOH+uN8XRokZUdIgz5lcpl87lik0xbDWsqmdby]' too long. Maximum length is 30.)

org.apache.axis2.deployment.DeploymentException: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (JZ001: User name property 'ENC[RJw

g4HyKur2kqhCZhr0AgJOYwQCOH+uN8XRokZUdIgz5lcpl87lik0xbDWsqmdby]' too long. Maximum length is 30.)

   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

        at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:560)

at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:235)


The error comes while calling  DeploymentManager.doStart. The same code works fine in Jetty-6.1.26.

Could you please help to resolve this issue ?. Is there anyway we can increase the length of encryption properties like username?.

Thanks,
Arun

Back to the top