Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in thread "main" com.ibm.as400.access.AS400SecurityException: The user ID or password contains a character that is not valid. #178

Closed
jonnyz32 opened this issue Dec 18, 2024 · 1 comment · May be fixed by #179
Assignees
Labels
bug Something isn't working

Comments

@jonnyz32
Copy link
Collaborator

When running Manzan, getting the error

Apache Camel version 3.14.8
Exception in thread "main" com.ibm.as400.access.AS400SecurityException: The user ID or password contains a character that is not valid.
        at com.ibm.as400.access.SignonConverter.byteArrayToCharArray(SignonConverter.java:85)
        at com.ibm.as400.access.AS400ImplRemote.getPassword(AS400ImplRemote.java:1648)
        at com.ibm.as400.access.AS400ImplRemote.signon(AS400ImplRemote.java:3194)
        at com.ibm.as400.access.AS400.sendSignonRequest(AS400.java:3465)
        at com.ibm.as400.access.AS400.promptSignon(AS400.java:3020)
        at com.ibm.as400.access.AS400.signon(AS400.java:4375)
        at com.ibm.as400.access.AS400.validateSignon(AS400.java:4574)
        at com.ibm.as400.access.AS400.validateSignon(AS400.java:4453)
        at com.github.theprez.manzan.ManzanMainApp.main(ManzanMainApp.java:47)

Seems the password *CURRENT is not being replaced with the actual password

@jonnyz32 jonnyz32 added the bug Something isn't working label Dec 18, 2024
@jonnyz32 jonnyz32 self-assigned this Dec 18, 2024
@jonnyz32
Copy link
Collaborator Author

This issue appears to be caused by using a java version not provided by IBM. In this case the property os.name gets resolved to OS400, instead of OS/400 which causes problems in jt400. Will document this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant