I've been trying to secure the LDAP to LDAPs and now my WAS 6.0.2.21 is refusing to start
The log does mention ssl
The SystemOut Log :
Start Display Current Environment ************
WebSphere Platform 6.0 http://EXPRESS 6.0.2.21 cf210727.15 running with process name pmNode01Cell\pmNode01\server1 and process id 4544
Host Operating System is Windows 2003, version 5.2
Java version = J2RE 1.4.2 IBM Windows 32 build cn142-20070708 (SR9) (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
was.install.root = C:\PolicyMatter32\WebSphere\AppServer
user.install.root = C:\PolicyMatter32\WebSphere\AppServer/profiles/default
Java Home = C:\PolicyMatter32\WebSphere\AppServer\java\jre
ws.ext.dirs = C:\PolicyMatter32\WebSphere\AppServer/java/lib;C:\PolicyMatter32\WebSphere\AppS erver/profiles/default/classes;C:\PolicyMatter32\WebSphere\AppServer/classes;C:\ PolicyMatter32\WebSphere\AppServer/lib;C:\PolicyMatter32\WebSphere\AppServer/ins talledChannels;C:\PolicyMatter32\WebSphere\AppServer/lib/ext;C:\PolicyMatter32\W ebSphere\AppServer/web/help;C:\PolicyMatter32\WebSphere\AppServer/deploytool/itp /plugins/com.ibm.etools.ejbdeploy/runtime
Classpath = C:\PolicyMatter32\WebSphere\AppServer/profiles/default/properties;C:\PolicyMatt er32\WebSphere\AppServer/properties;C:\PolicyMatter32\WebSphere\AppServer/lib/bo otstrap.jar;C:\PolicyMatter32\WebSphere\AppServer/lib/j2ee.jar;C:\PolicyMatter32 \WebSphere\AppServer/lib/lmproxy.jar;C:\PolicyMatter32\WebSphere\AppServer/lib/u rlprotocols.jar
Java Library path = C:\PolicyMatter32\WebSphere\AppServer\java\bin;.;C:\WINDOWS\system32;C:\WINDOWS ;C:\PolicyMatter32\WebSphere\AppServer\bin;C:\PolicyMatter32\WebSphere\AppServer \java\bin;C:\PolicyMatter32\WebSphere\AppServer\java\jre\bin;C:\WINDOWS\system32 ;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\POLICY~1\DB2\SQLLIB\BIN;C:\POLICY~1\DB2\ SQLLIB\FUNCTION;C:\POLICY~1\DB2\SQLLIB\SAMPLES\REPL;C:\Program Files\OpenOffice.org 2.3\program;C:\apache-ant-1.7.0\bin
End Display Current Environment *************
28/05/08 16:21:12:751 BST 0000000a ManagerAdmin I TRAS0017I: The startup trace state is *=info:com.policymatter.ejb.*=audit:com.policymatter.dao.*=fine:com.policymatte r.web.*=audit:com.ibm.ws.webservices.trace.MessageTrace=finest:uk.ltd.getahead.* =audit.
28/05/08 16:21:13:486 BST 0000000a AdminInitiali A ADMN0015I: The administration service is initialized.
28/05/08 16:21:15:111 BST 0000000a SystemOut O PLGC0057I: Plug-in configuration service is started successfully.
28/05/08 16:21:15:236 BST 0000000a PMIImpl A PMON1001I: PMI is enabled
28/05/08 16:21:15:626 BST 0000000a WSChannelFram A CHFW0021I: Inbound chain InboundBasicMessaging has been marked disabled.
28/05/08 16:21:15:923 BST 0000000a SibMessage I [:] CWSIU0000I: Release: WAS602.SIB Level: o0722.11
28/05/08 16:21:15:939 BST 0000000a SecurityDM I SECJ0231I: The Security component's FFDC Diagnostic Module com.ibm.ws.security.core.SecurityDM registered successfully: true.
28/05/08 16:21:16:064 BST 0000000a AuditServiceI A SECJ6004I: Security Auditing is disabled.
28/05/08 16:21:16:189 BST 0000000a distSecurityC I SECJ0309I: Java 2 Security is disabled.
28/05/08 16:21:16:298 BST 0000000a distSecurityC A SECJ0244I: Security service failed to start successfully
28/05/08 16:21:16:345 BST 0000000a WsServerImpl E WSVR0009E: Error occurred during startup
META-INF/ws-server-components.xml
28/05/08 16:21:16:361 BST 0000000a WsServerImpl E WSVR0009E: Error occurred during startup
com.ibm.ws.exception.ConfigurationError: com.ibm.ws.exception.ConfigurationError: java.lang.NullPointerException
at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:180)
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:133)
at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:387)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:219)
at java.lang.Thread.run(Thread.java:570)
Caused by: com.ibm.ws.exception.ConfigurationError: java.lang.NullPointerException
at com.ibm.ws.security.core.distSecurityComponentImpl.initialize(distSecurityCompo nentImpl.java:241)
at com.ibm.ws.security.core.SecurityComponentImpl.initialize(SecurityComponentImpl .java:86)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.ja va:1160)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.j ava:979)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:284)
at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:173)
... 10 more
Caused by: java.lang.NullPointerException
at com.ibm.ws.security.core.distSecurityComponentImpl.getSSLConfigProperties(distS ecurityComponentImpl.java:1024)
at com.ibm.ws.security.core.distSecurityComponentImpl.initializeDefaultSSLSettings (distSecurityComponentImpl.java:898)
at com.ibm.ws.security.core.distSecurityComponentImpl.initialize(distSecurityCompo nentImpl.java:213)
... 15 more
I have accessed the wsadmin -conntype NONE and done a securityoff, but still same error.
I can't access the Websphere Console either as the service refuses to start:
ADMU7701I: Because server1 is registered to run as a Windows Service, the
request to start this server will be completed by starting the
associated Windows Service.
ADMU0116I: Tool information is being logged in file
C:\PolicyMatter32\WebSphere\AppServer\profiles\default\logs\server1\s
tartServer.log
ADMU0128I: Starting tool with the default profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:219)
at java.lang.Thread.run(Thread.java:570)
Caused by: com.ibm.websphere.management.exception.AdminException: ADMU7704E: Fai
led while trying to start the Windows Service associated with server: server1;
probable error executing WASService.exe: com.ibm.ws.management.tools.ProblemInWA
SServiceException: ADMU7711E: Unexpected exception associated with WASService.ex
e: exitCode = -1 during processing of server with name: server1
at com.ibm.ws.management.tools.WindowsService.doWASServiceAction(Windows
Service.java:380)
at com.ibm.ws.management.tools.WsServerLauncher.execWithWinService(WsSer
verLauncher.java:156)
at com.ibm.ws.management.tools.WsServerController.executeUtilityOnWindow
s(WsServerController.java:128)
at com.ibm.ws.management.tools.WsServerLauncher.main(WsServerLauncher.ja
va:114)
... 7 more
ADMU3011E: Server launched but failed initialization. startServer.log,
SystemOut.log(or job log in zOS) and other log files under
C:\PolicyMatter32\WebSphere\AppServer/profiles/default\logs\server1
should contain failure information.
Not sure were to start
Any help welcome
Frogbeef
go to the /profiles/ /bin directory.
launch wsadmin.bat -conntype none -f /TurnOffSecurity.jacl
Regards, Brian
Code for those not using the forum on DW:
set security [$AdminConfig getid /Security:/]
set isEnabled [$AdminConfig showAttribute $security enabled]
if { $isEnabled == "true" } {
puts "\nTurning off WebSphere security"
$AdminConfig modify $security { { enabled false } }
puts "\nSaving configuration"
$AdminConfig save
} else {
puts "\nWebSphere security is already disabled"
}
Thanks for your reply
I already disabled the security, but ran your code just in case, and it confirmed it :
"WebSphere security is already disabled"
Is there any other logs I can provide?
Regards,
Brian
Thanks
bshah
I hope you had a good weekend.
I reinstalled and restored my cvonfig in the on friday afternoon
Thanks for looking into the issue
Regards