ClassNotFoundException in WebSphere

17166, 20 Jaren geleden aangepast. New Member Berichten: 2 Aanmelddatum: 13-2-05 Recente berichten
I have put liferay-portal-ent-3.5.0-jaas.jar into &#036;{WAS_INSTALLATION_ROOT}/lib/ext directory, along with jTDS, commons-dhcp and commons-pool jars.<br /><br />I have created JDBC connection pool and tested it. <br /><br />I have set up a customer user registry. Then I went to enable the &quot;Global Security&quot; in websphere console, I have got the following message in &quot;SystemOut.log&quot; :<br /><br />javax.management.RuntimeErrorException: null nested error is java.lang.NoClassDefFoundError: com/liferay/util/SystemProperties<br />java.lang.NoClassDefFoundError: com/liferay/util/SystemProperties<br /> at com.liferay.portal.util.Constants.&lt;clinit&gt;(Constants.java:96)<br /> at com.liferay.portal.jaas.ext.websphere.PortalUserRegistry.checkPassword(PortalUserRegistry.java:72)<br /> at com.ibm.ws.security.registry.UserRegistryImpl.checkPassword(UserRegistryImpl.java:294)<br /> at com.ibm.ws.security.core.SecurityAdmin.checkPassword(SecurityAdmin.java:804)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))<br /> at java.lang.reflect.Method.invoke(Method.java(Compiled Code))<br /> at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1366)<br /> at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1012)<br /> at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:233)<br /> at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:128)<br /> at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:86)<br /> at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:128)<br /> at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:128)<br /> at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:167)<br /> at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1249)<br /> at com.ibm.ws.management.AdminServiceImpl&#036;1.run(AdminServiceImpl.java:901)<br /> at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))<br /> at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:817)<br /> at com.ibm.ws.console.security.ConnectToRuntime.authenticate(ConnectToRuntime.java:113)<br /> at com.ibm.ws.console.security.SecurityValidation.runtimeCheck(SecurityValidation.java:276)<br /> at com.ibm.ws.console.security.SecurityValidation.validate(SecurityValidation.java:244)<br /> at com.ibm.ws.console.security.SecurityDetailAction.execute(SecurityDetailAction.java:192)<br /> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)<br /> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:275)<br /> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)<br /> at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)<br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)<br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<br /> at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)<br /> at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)<br /> at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)<br /> at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)<br /> at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)<br /> at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)<br /> at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)<br /> at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)<br /> at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)<br /> at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)<br /> at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)<br /> at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)<br /> at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)<br /> at com.ibm.ws.tcp.channel.impl.WorkQueueManager&#036;Worker.run(WorkQueueManager.java:1021)<br /> at com.ibm.ws.util.ThreadPool&#036;Worker.run(ThreadPool.java:1332)<br />
thumbnail
14076, 20 Jaren geleden aangepast. Regular Member Berichten: 153 Aanmelddatum: 24-5-05 Recente berichten
Go here to view JAAS<br /><br /><a href='http://leonardsokol.com/liferay/websphere-oracle/jaas-config-info.htm' target='_blank'>http://leonardsokol.com/liferay/websphere-...config-info.htm</a><br /><br />and here to view how to setup WebSphere w/ Liferay 3.5.0 or 3.2.0<br /><br /><a href='http://leonardsokol.com/liferay/websphere-oracle/directions-assumptions.htm' target='_blank'>http://leonardsokol.com/liferay/websphere-...assumptions.htm</a>
17171, 20 Jaren geleden aangepast. Junior Member Berichten: 32 Aanmelddatum: 13-10-05 Recente berichten
I have put liferay-portal-ent-3.5.0-jaas.jar into &#036;{WAS_INSTALLATION_ROOT}/lib/ext directory, along with jTDS, commons-dhcp and commons-pool jars.<br /><br />I have created JDBC connection pool and tested it. <br /><br />I have set up a customer user registry. Then I went to enable the &quot;Global Security&quot; in websphere console, I have got the following message in &quot;SystemOut.log&quot; :<br /><br />javax.management.RuntimeErrorException: null nested error is java.lang.NoClassDefFoundError: com/liferay/util/SystemProperties<br />java.lang.NoClassDefFoundError: com/liferay/util/SystemProperties<br /> at com.liferay.portal.util.Constants.&lt;clinit&gt;(Constants.java:96)<br /> at com.liferay.portal.jaas.ext.websphere.PortalUserRegistry.checkPassword(PortalUserRegistry.java:72)<br /> at com.ibm.ws.security.registry.UserRegistryImpl.checkPassword(UserRegistryImpl.java:294)<br /> at com.ibm.ws.security.core.SecurityAdmin.checkPassword(SecurityAdmin.java:804)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))<br /> at java.lang.reflect.Method.invoke(Method.java(Compiled Code))<br /> at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1366)<br /> at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1012)<br /> at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:233)<br /> at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:128)<br /> at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:86)<br /> at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:128)<br /> at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:128)<br /> at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:167)<br /> at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1249)<br /> at com.ibm.ws.management.AdminServiceImpl&#036;1.run(AdminServiceImpl.java:901)<br /> at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))<br /> at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:817)<br /> at com.ibm.ws.console.security.ConnectToRuntime.authenticate(ConnectToRuntime.java:113)<br /> at com.ibm.ws.console.security.SecurityValidation.runtimeCheck(SecurityValidation.java:276)<br /> at com.ibm.ws.console.security.SecurityValidation.validate(SecurityValidation.java:244)<br /> at com.ibm.ws.console.security.SecurityDetailAction.execute(SecurityDetailAction.java:192)<br /> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)<br /> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:275)<br /> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)<br /> at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)<br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)<br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<br /> at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)<br /> at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)<br /> at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)<br /> at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)<br /> at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)<br /> at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)<br /> at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)<br /> at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)<br /> at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)<br /> at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)<br /> at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)<br /> at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)<br /> at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)<br /> at com.ibm.ws.tcp.channel.impl.WorkQueueManager&#036;Worker.run(WorkQueueManager.java:1021)<br /> at com.ibm.ws.util.ThreadPool&#036;Worker.run(ThreadPool.java:1332)<br />

<br />
<br />
17171, 20 Jaren geleden aangepast. Junior Member Berichten: 32 Aanmelddatum: 13-10-05 Recente berichten
Go here to view JAAS<br /><br /><a href='http://leonardsokol.com/liferay/websphere-oracle/jaas-config-info.htm' target='_blank'>http://leonardsokol.com/liferay/websphere-...config-info.htm</a><br /><br />and here to view how to setup WebSphere w/ Liferay 3.5.0 or 3.2.0<br /><br /><a href='http://leonardsokol.com/liferay/websphere-oracle/directions-assumptions.htm' target='_blank'>http://leonardsokol.com/liferay/websphere-...assumptions.htm</a><br />

<br />
<br /><br />Hi, I am using Websphere 6, I am having following problems with JAAS<br />configuration:<br /><br /> <br /><br />Authentication failed for user:<br />com.ibm.ws.console.security.ConnectToRuntimeException: null nested exception is javax.management.RuntimeErrorException: null nested error is java.lang.NoClassDefFoundError: com/liferay/portal/util/Constants.<br />Try again.<br /><br /> <br /><br />What should I do. Do you have any documentation for WebSphere 6, for installing Liferay 3.6.1<br /><br /> <br /><br />Thx
thumbnail
14076, 20 Jaren geleden aangepast. Regular Member Berichten: 153 Aanmelddatum: 24-5-05 Recente berichten
Use the 3.2.0 JASS JAR for Websphere.
thumbnail
2, 20 Jaren geleden aangepast. Liferay Master Berichten: 758 Aanmelddatum: 5-8-04 Recente berichten
It&#39;s been fixed in CVS.