[JBoss-user] [Management, JMX/JBoss] - Re: No ClassLoaders found for Service
Thanks to all who provided help. While the solution probably indicates either a bug or oversight in JBoss, well, thats the way it goes I guess. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922060#3922060 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922060 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - No ClassLoaders found for Service
JBoss 3.2.5: So, I've tried to load a JBoss Service but dispite many different combinations of ear/sar/-server.xml/etc. I allways get the same error message: 2006-02-04 14:17:36,654 INFO [EARDeployer] - Init J2EE application: file:/usr/local/ED/app/jboss/server/cs/deploy/edgedynamics/servicetest.ear 2006-02-04 14:17:38,725 WARN [NestedThrowable] - Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException 2006-02-04 14:17:38,728 ERROR [MainDeployer] - could not create deployment: file:/usr/local/ED/app/jboss/server/cs/tmp/deploy/tmp59967servicetest.ear-contents/servicetest-service.xml org.jboss.deployment.DeploymentException: create operation failed for package file:/usr/local/ED/app/jboss/server/cs/tmp/deploy/tmp59967servicetest.ear-contents/servicetest-service.xml; - nested throwable: (org.jboss.deployment.DeploymentException: No ClassLoaders found for: com.servicetest.ServerTest ; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: com.servicetest.ServerTest )) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:227) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:790) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608) at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy7.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191) Caused by: org.jboss.deployment.DeploymentException: No ClassLoaders found for: com.servicetest.ServerTest ; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: com.servicetest.ServerTest ) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:139) at org.jboss.system.ServiceController.install(ServiceController.java:198) at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:204) ... 20 more Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for:com.servicetest.ServerTest at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:275) at org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(UnifiedClassLoader3.java:178) at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:132) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:843) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:290) at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:317) at org.jboss.system.ServiceCreator.install(ServiceCreator.java:98) at
[JBoss-user] [Security JAAS/JBoss] - Re: SSLPeerUnverifiedException
https still does not work but thanks for the help View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857736#3857736 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857736 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: SSLPeerUnverifiedException
ok, figured out what was wrong. It was the wrong ... Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857760#3857760 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857760 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - SSLPeerUnverifiedException Error getting client certs jbos
Basically, can not get jboss https to work. It is not a browser issue since it can get https pages from a vast number of website - its a jboss config issue. Using JBoss-3.2.5 In jboss/server/default/deploy/jbossweb-tomcat41.sar/META-INF/jboss-service.xml Note: 1) if one does not set the SSLImplementation then it assumse one is using the puretsl implementation and if one does not have it around, then one gets a class not found issue, and 2) the attribute name MUST be SSLImplementation, it can not be, for example, sslImplementation because jboss does not match setter/getter methods by first lower-casing both strings ... no, jboss only lower-cases the first character of the attribute name in the xml file Near the top of the log, the Digester reads all of the attributes: 2004-12-06 16:45:42,036 DEBUG [BeanUtils] jboss.web:service=WebServer EmbeddedCatalina4.1.x - BeanUtils.populate([EMAIL PROTECTED], {protocol=TLS, keystorePass=tc-ssl, clientAuth=false, SSLImplementation=org.apache.tomcat.util.net.jsse.JSSEImplementation, keystoreFile=/usr/local/ED/app/jboss/server/cs/conf/server.keystore, className=org.apache.coyote.tomcat4.CoyoteServerSocketFactory}) From the log I get: 2004-12-06 16:46:15,850 INFO [Engine] - CoyoteConnector Coyote can't register jmx for protocol 2004-12-06 16:46:15,867 INFO [Http11Protocol] - Starting Coyote HTTP/1.1 on port 50080 2004-12-06 16:46:15,867 DEBUG [Http11Protocol] - Attribute soLinger: -1 2004-12-06 16:46:15,867 DEBUG [Http11Protocol] - Attribute soTimeout: 6 2004-12-06 16:46:15,867 DEBUG [Http11Protocol] - Attribute serverSoTimeout: 0 2004-12-06 16:46:15,868 DEBUG [Http11Protocol] - Attribute tcpNoDelay: true 2004-12-06 16:46:15,868 DEBUG [Http11Protocol] - Attribute jkHome: /usr/local/ED/app/jboss/server/default 2004-12-06 16:46:15,868 DEBUG [Http11Protocol] - Attribute port: 50443 2004-12-06 16:46:15,868 DEBUG [Http11Protocol] - Attribute maxThreads: 20 2004-12-06 16:46:15,869 DEBUG [Http11Protocol] - Attribute minSpareThreads: 5 2004-12-06 16:46:15,869 DEBUG [Http11Protocol] - Attribute maxSpareThreads: 5 2004-12-06 16:46:15,869 DEBUG [Http11Protocol] - Attribute backlog: 10 2004-12-06 16:46:15,870 DEBUG [Http11Protocol] - Attribute tcpNoDelay: true 2004-12-06 16:46:15,870 DEBUG [Http11Protocol] - Attribute soLinger: -1 2004-12-06 16:46:15,870 DEBUG [Http11Protocol] - Attribute soTimeout: 6 2004-12-06 16:46:15,871 DEBUG [Http11Protocol] - Attribute timeout: 30 2004-12-06 16:46:15,871 DEBUG [Http11Protocol] - Attribute serverSoTimeout: 0 2004-12-06 16:46:15,871 DEBUG [Http11Protocol] - Attribute maxKeepAliveRequests: 100 2004-12-06 16:46:15,872 DEBUG [Http11Protocol] - Attribute tomcatAuthentication: true 2004-12-06 16:46:15,872 DEBUG [Http11Protocol] - Attribute compression: off 2004-12-06 16:46:15,872 DEBUG [Http11Protocol] - Attribute address: /0.0.0.0 2004-12-06 16:46:15,873 DEBUG [Http11Protocol] - Attribute secure: true 2004-12-06 16:46:15,873 DEBUG [Http11Protocol] - Attribute algorithm: null 2004-12-06 16:46:15,874 DEBUG [Http11Protocol] - Attribute keystore: /usr/local/ED/app/jboss/server/default/conf/server.keystore 2004-12-06 16:46:15,874 DEBUG [Http11Protocol] - Attribute randomfile: /home/myhome/random.pem 2004-12-06 16:46:15,874 DEBUG [Http11Protocol] - Attribute rootfile: /home/myhome/root.pem 2004-12-06 16:46:15,875 DEBUG [Http11Protocol] - Attribute keystoreType: JKS 2004-12-06 16:46:15,875 DEBUG [Http11Protocol] - Attribute protocol: TLS 2004-12-06 16:46:15,875 DEBUG [Http11Protocol] - Attribute sslImplementation: org.apache.tomcat.util.net.jsse.JSSEImplementation 2004-12-06 16:46:16,091 DEBUG [JSSESocketFactory] - Truststore = null 2004-12-06 16:46:16,091 DEBUG [JSSESocketFactory] - TrustPass = tc-ssl 2004-12-06 16:46:16,091 DEBUG [JSSESocketFactory] - trustType = JKS Note that the keystore was picked up from the jboss-service.xml file. Also, note that the clientAuth was not picked up!!! I assume that this is printed by code in the class org/apache/coyote/tomcat4/CoyoteConnector.java: IntrospectionUtils.setProperty(protocolHandler, jkHome, System.getProperty(catalina.base)); // Set attributes IntrospectionUtils.setProperty(protocolHandler, port, + port); IntrospectionUtils.setProperty(protocolHandler, maxThreads, + maxProcessors); IntrospectionUtils.setProperty(protocolHandler, minSpareThreads, + minProcessors); IntrospectionUtils.setProperty(protocolHandler, maxSpareThreads, + maxSpareProcessors); IntrospectionUtils.setProperty(protocolHandler, backlog, + acceptCount); IntrospectionUtils.setProperty(protocolHandler, tcpNoDelay, + tcpNoDelay);
[JBoss-user] [Security JAAS/JBoss] - Re: SSLPeerUnverifiedException
Of course, jboss-service.xml did not show up: \ \ \ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857640#3857640 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857640 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: SSLPeerUnverifiedException
Try it again: Connector className = org.apache.coyote.tomcat4.CoyoteConnector address=${jboss.bind.address} port = 50443 scheme = https secure = true Factory className = org.apache.coyote.tomcat4.CoyoteServerSocketFactory keystoreFile=${jboss.server.home.dir}/conf/server.keystore keystorePass=mypassword clientAuth=false SSLImplementation=org.apache.tomcat.util.net.jsse.JSSEImplementation protocol = TLS/ Connector View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857641#3857641 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857641 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user