Skip to content

Commit

Permalink
Improvments
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinhardy committed Jul 11, 2022
1 parent b4b9440 commit 8670504
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/Deployer.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ private WebLogicDeploymentManager getRemoteDeploymentManager(){
return deployManager;
}catch (Exception e) {
myLogger.fine("Connection error "+e.toString());
if (e.toString().contains("javax.naming.AuthenticationException") || e.toString().contains("exceptions.DeploymentManagerCreationException") || e.toString().contains("SPI:260010")){
if (e.toString().contains("javax.naming.AuthenticationException") || e.toString().contains("SPI:260010")){
myLogger.fine("Invalid credentials");
return null;
}
Expand Down
2 changes: 1 addition & 1 deletion source/T3Connection.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public boolean connection (String ip, int port, String username, String password
myLogger.fine("You can use "+ip+":"+port+" with credentials '"+username+"'/'"+password+"'");
return true;
}catch (NamingException ei1) {
myLogger.fine("Connection error "+ei1.toString());
myLogger.fine("Connection error"+ei1.toString());
try {
this.ctx.close();//Close context
}catch (Exception e2) {
Expand Down

0 comments on commit 8670504

Please sign in to comment.