[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss exiting with java.lang.OutOfMemoryError
I am running JBoss as a Windows service using jbossvc.exe. However, it runs for a while and terminates with the following JVM dump. Any thoughts? # # An unexpected error has been detected by Java Runtime Environment: # # java.lang.OutOfMemoryError: requested 2621440 bytes for GrET in C:\BUILD_AREA\jdk6_11\hotspot\src\share\vm\utilities\growableArray.cpp. Out of swap space? # # Internal Error (allocation.inline.hpp:42), pid=4020, tid=3756 # Error: GrET in C:\BUILD_AREA\jdk6_11\hotspot\src\share\vm\utilities\growableArray.cpp # # Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode windows-x86) # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # --- T H R E A D --- Current thread (0x52bcb400): VMThread [stack: 0x52c9,0x52ce] [id=3756] Stack: [0x52c9,0x52ce] [error occurred during error reporting (printing stack bounds), id 0x8001] VM_Operation (0x5709fa74): GenCollectFull, mode: safepoint, requested by thread 0x55541c00 --- P R O C E S S --- Java Threads: ( = current thread ) 0x6fb95800 JavaThread RMI TCP Connection(idle) daemon [_thread_blocked, id=864, stack(0x5d42,0x5d47)] 0x7f3a2400 JavaThread OOB-1224,10.4.100.17:1756 [_thread_blocked, id=2768, stack(0x5dd3,0x5dd8)] 0x5a5fd000 JavaThread ClientMessageReceptor6 daemon [_thread_blocked, id=2440, stack(0x5e70,0x5e75)] 0x69e56800 JavaThread ClockDaemonThread daemon [_thread_blocked, id=312, stack(0x5e6b,0x5e70)] 0x599af400 JavaThread ClientMessageReceptor5 daemon [_thread_blocked, id=2796, stack(0x5e66,0x5e6b)] 0x6a328800 JavaThread ClientMessageReceptor4 daemon [_thread_blocked, id=3708, stack(0x5e61,0x5e66)] 0x6a328400 JavaThread ClientMessageReceptor3 daemon [_thread_blocked, id=1708, stack(0x5e5c,0x5e61)] 0x68668800 JavaThread ClientMessageReceptor2 daemon [_thread_blocked, id=2632, stack(0x5e43,0x5e48)] 0x69f44400 JavaThread ServerMessageReceptor7 daemon [_thread_blocked, id=2824, stack(0x5dc4,0x5dc9)] 0x5a425400 JavaThread ServerMessageReceptor6 daemon [_thread_blocked, id=1896, stack(0x5d9c,0x5da1)] 0x586e5800 JavaThread ServerMessageReceptor5 daemon [_thread_in_native, id=1260, stack(0x5dd8,0x5ddd)] 0x61ca7400 JavaThread ServerMessageReceptor4 daemon [_thread_blocked, id=1200, stack(0x575a,0x575f)] 0x5a0b6400 JavaThread ServerMessageReceptor3 daemon [_thread_blocked, id=3636, stack(0x5e57,0x5e5c)] 0x58565400 JavaThread ServerMessageReceptor2 daemon [_thread_in_native, id=252, stack(0x5e52,0x5e57)] 0x5f407400 JavaThread RequestProcessor-12 daemon [_thread_blocked, id=1648, stack(0x5e3e,0x5e43)] 0x599b1800 JavaThread RequestProcessor-11 daemon [_thread_blocked, id=3560, stack(0x5bc6,0x5bcb)] 0x5f8c1400 JavaThread http-0.0.0.0-8080-4 daemon [_thread_blocked, id=3564, stack(0x5e39,0x5e3e)] 0x5ad06400 JavaThread http-0.0.0.0-8080-3 daemon [_thread_blocked, id=2108, stack(0x5c66,0x5c6b)] 0x52f13800 JavaThread ModificationWatcher Task daemon [_thread_blocked, id=2244, stack(0x5311,0x5316)] 0x5543a400 JavaThread ajp-0.0.0.0-8009-Acceptor-0 daemon [_thread_in_native, id=3896, stack(0x5e34,0x5e39)] 0x55116c00 JavaThread http-0.0.0.0-8080-2 daemon [_thread_in_native, id=2636, stack(0x5e2f,0x5e34)] 0x669cd400 JavaThread http-0.0.0.0-8080-1 daemon [_thread_blocked, id=2592, stack(0x5e2a,0x5e2f)] 0x57cb7c00 JavaThread http-0.0.0.0-8080-Acceptor-0 daemon [_thread_in_native, id=1380, stack(0x5e25,0x5e2a)] 0x66fd4400 JavaThread JBossLifeThread [_thread_blocked, id=2524, stack(0x5e05,0x5e0a)] 0x563c9400 JavaThread PageSavingThread-VicadsAdmin daemon [_thread_blocked, id=3760, stack(0x5e00,0x5e05)] 0x5a865400 JavaThread Store Vicads.USER_CACHE Spool Thread daemon [_thread_blocked, id=2344, stack(0x5e20,0x5e25)] 0x5ac71c00 JavaThread Thread-61 daemon [_thread_blocked, id=1940, stack(0x5e1b,0x5e20)] 0x597f7400 JavaThread Thread-60 daemon [_thread_blocked, id=896, stack(0x5dc9,0x5dce)] 0x669fd400 JavaThread RequestController-15 daemon [_thread_blocked, id=1752, stack(0x5dfb,0x5e00)] 0x54df0400 JavaThread ZipFile Lock Reaper daemon [_thread_blocked, id=1756, stack(0x5df6,0x5dfb)] 0x5a7ee400 JavaThread Thread-57 daemon [_thread_in_native, id=2956, stack(0x5de7,0x5dec)] 0x62d15400 JavaThread Thread-54 daemon [_thread_in_native, id=324, stack(0x5de2,0x5de7)] 0x55939400 JavaThread Thread-49 daemon [_thread_in_native, id=204, stack(0x5dce,0x5dd3)] 0x63238c00 JavaThread Thread-43 daemon [_thread_in_native, id=3340, stack(0x5d3d,0x5d42)] 0x54646400 JavaThread Thread-42 daemon [_thread_in_native, id=3316, stack(0x5dbf,0x5dc4)] 0x56d6d000 JavaThread
[jboss-user] [Security JAAS/JBoss] - Using JBoss Negotiate wit RestEasy servlets
What I want to do is use the JBoss Negotiate tools to secure a RestEasy servlet. I am not concerned with authorization but I am interested in authenticating the user to the RestEasy servlet. I have looked at the Negotiate code and it provides good documentation of interfacing it with IE or FF, but I will have a Java program accessing the REST interface. What I want to know is how to programmaticly interact with the Negotiate tools from a Java program. Any thoughts? Am I unclear or missing something? Thanks, David View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4218571#4218571 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218571 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Using JBoss Negotiate wit RestEasy servlets
To clarify, I want to use a Java program to request data from a REST servlet. I am assuming that the JBoss Negotiate tools use tokens stored in the HTTP header (correct?). Is there any further documentation on setting this up? Thanks, David View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4218624#4218624 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218624 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Cannot obtain endpoint for: jboss.ws:context=/VVVMonitor, end
I have a war file that has some web services servlets and a Wicket application servlet. The war worked previously with JBoss 4.0.5 but now throws the following error: INFO | jvm 1| 2009/01/12 11:05:07 | javax.xml.ws.WebServiceException: Cannot obtain endpoint for: jboss.ws:context=/VVVMonitor,endpoint=WicketApplication | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.wsf.common.servlet.AbstractEndpointServlet.initEndpoint(AbstractEndpointServlet.java:267) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.wsf.common.servlet.AbstractEndpointServlet.initServiceEndpoint(AbstractEndpointServlet.java:235) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.wsf.common.servlet.AbstractEndpointServlet.init(AbstractEndpointServlet.java:80) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.web.deployers.WebModule.start(WebModule.java:96) | INFO | jvm 1| 2009/01/12 11:05:07 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | INFO | jvm 1| 2009/01/12 11:05:07 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | INFO | jvm 1| 2009/01/12 11:05:07 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | INFO | jvm 1| 2009/01/12 11:05:07 | at java.lang.reflect.Method.invoke(Unknown Source) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) | INFO | jvm 1| 2009/01/12 11:05:07 | at $Proxy36.start(Unknown Source) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) | INFO | jvm 1| 2009/01/12 11:05:07 | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | INFO | jvm 1| 2009/01/12 11:05:07 | at
[jboss-user] [Management, JMX/JBoss] - How to make a service dependent on a web application
I'm not sure if this is the right forum... I am trying to make one of my JBoss services dependent on a web application. I tried the following in the services configuration file: dependsJ2EEApplication=none,J2EEServer=none,WebModule=//localhost/OpenCones,j2eeType=Servlet,name=default/depends | but I get an error on startup that the object name is invalid and the domain part is missing. Any thoughts on what might be wrong? Thanks in advance, David View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4148648#4148648 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4148648 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: jbossws 1.2.1: wsconsume OutOfMemoryError
I call it through ant. The problem turned out to be large maxOccurs within my xml schema. When I removed all the maxOccurs, then it compiled correctly. David View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041379#4041379 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - wsconsume: generated operations do not declare throws Remote
The generated operations interface from wsconsume do not declare that the operations throw RemoteException. Is there a way to add this to the operation's signature? David View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041087#4041087 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041087 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - jbossws 1.2.1: wsconsume OutOfMemoryError
When I run wsconsume I get an OutOfMemoryError. What is interesting is that if I use the JAXB implementation from the jwsdp 2.0 I don't get this error (although I end up with an annotation error: AccessType instead of XmlAccessType). Any idea what might be going on? David View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041142#4041142 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Overriding realm in context.xml without expanding war
When running Tomcat standalone, a web app's context.xml definition can be overridden by placing a context definition, with the same name as the applications context, in the tomcat/conf/Catalina/localhost directory. This allows a single war to e deployed by configuration options to be changed for each installation site. Deploying an updated war will not override the context in the conf/Catalina/localhost directory. Is such an option available when running a tomcat application from within JBoss? Thanks, David Robison View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4030661#4030661 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4030661 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Accessing another service's mbean from a web service?
I have a web service and I want to lookup another service to see if it has started. I have tried: Context jndiContext = new InitialContext(); | ServiceMBean serviceMBean = (ServiceMBean)jndiContext.lookup(orci:service=SerialCommSvc); | The service is defined as server | mbean code=com.orci.OpenComm.SerialCommSvc.SerialCommSvc name=orci:service=SerialCommSvc | dependsjboss:service=CorbaNaming/depends | dependsorci:name=OpenCommSessionFactory/depends | /mbean | /server unfortunately, the lookup does not find the service. Am I doing something wrong? Thanks in advance, David View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4020614#4020614 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4020614 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Exception with JBoss-4.0.5-SP1 and JBossWS-1.0.3-SP1 but
Have you solved this problem? I'm having the same problem: java.lang.IllegalArgumentException: failed to parse:image/bmp, image/x-bmp, image/x-windows-bmp View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4005389#4005389 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4005389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - ClassLoader not available in meta data
I'm trying to deploy a web service in JBoss 4.0.4GA. When I start up JBoss, I get the following error: org.jboss.ws.WSException: ClassLoader not available in meta data | at org.jboss.ws.metadata.ServiceMetaData.eagerInitialize(ServiceMetaData.java:370) | at org.jboss.ws.metadata.UnifiedMetaData.eagerInitialize(UnifiedMetaData.java:147) | at org.jboss.ws.server.ServiceEndpoint.start(ServiceEndpoint.java:106) | at org.jboss.ws.server.ServiceEndpointManager.startServiceEndpoint(ServiceEndpointManager.java:529) | at org.jboss.ws.deployment.ServiceEndpointDeployer.start(ServiceEndpointDeployer.java:144) | at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:104) | Any idea what the problem might be? I have deployed other web services with out any problem. Thanks in advance, David Robison View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4002823#4002823 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4002823 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Cannot install new Portlet (failes to create instance)
I am trying to install a new Portlet into JBoss Portal. When I do, I get the following error: 2006-10-05 16:23:34,281 DEBUG [org.jboss.portal.core.deployment.jboss.PortletAppDeployment] Creating portlet instance WebVideoInstance | 2006-10-05 16:23:34,281 DEBUG [org.jboss.portal.core.impl.model.instance.PersistentInstanceContainer] Creating instance WebVideoInstance of portlet local.WebVideo.zkLoader | 2006-10-05 16:23:34,296 WARN [org.jboss.portal.core.deployment.jboss.PortletAppDeployment] Failed to create instance WebVideoInstance of portlet WebVideo.zkLoader because portlet WebVideo.zkLoader is not available | 2006-10-05 16:23:34,296 DEBUG [org.jboss.portal.core.deployment.jboss.PortletAppDeployment] Failed to create instance WebVideoInstance of portlet WebVideo.zkLoader because portlet WebVideo.zkLoader is not available | org.jboss.portal.portlet.NoSuchPortletException: No such portlet WebVideo.zkLoader | at org.jboss.portal.portlet.container.PortletContainerInvoker.getPortlet(PortletContainerInvoker.java:104) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) Here are my descriptor files: portlet.xml | ?xml version=1.0? | portlet | descriptionZK loader for ZUML pages/description | portlet-namezkLoader/portlet-name | display-nameVICADS WebVideo/display-name | portlet-classorg.zkoss.zk.ui.http.DHtmlLayoutPortlet/portlet-class | expiration-cache0/expiration-cache | supports | mime-typetext/html/mime-type | portlet-modeVIEW/portlet-mode | /supports | supported-localeen/supported-locale | portlet-info | titleZK/title | short-titleZK/short-title | keywordsZK,ZUML/keywords | /portlet-info | /portlet | portlet-instances.xml | ?xml version=1.0 standalone=yes? | deployments | deployment | if-existsoverwrite/if-exists | instance | instance-idWebVideoInstance/instance-id | portlet-refzkLoader/portlet-ref | /instance | /deployment | /deployments | WebVideo-object.xml | ?xml version=1.0 encoding=UTF-8? | deployments |deployment | if-existsoverwrite/if-exists | parent-refdefault/parent-ref | page | page-nameWebVideo/page-name | window | window-nameVICADS WebVideo/window-name | instance-refWebVideoInstance/instance-ref | regioncenter/region | height0/height | /window | /page |/deployment | /deployments | Any help would be appreciated. Ps. This is my first attempt at portlets. David View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3976411#3976411 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3976411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Cannot install new Portlet (failes to create instance)
JBoss Portal version 2.4 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3976470#3976470 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3976470 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: An example of using CSIv2 by a CORBA service?
Not yet. I have resorted to using JacORB's CSIv2 SAS service instead. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3967790#3967790 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3967790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - An example of using CSIv2 by a CORBA service?
Does anyone have any examples of using CSIv2 for CORBA in JBoss? I have a service that runs inside of JBoss and I want to set CSIv2 security on its object but the documentation on doing thins is a little sparce. Any help would be appreciated. David View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3965715#3965715 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3965715 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Problems following NegotiateKerberos documentation. - Mo
I've made progress. Now, when I try to login, I get one of two errors. First, when trying to parse the SPNEGO token I sometimes get an IOException: Not a Type 3 message. Othertimes, it falls through the section of code NegotiateUtil.java where it says: // TODO: Implement SPNEGO Handling Any ideas? Thanks, Davud View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964077#3964077 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964077 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Problems following NegotiateKerberos documentation.
I have been trying to follow the NegotiateKerberos (http://wiki.jboss.org/wiki/Wiki.jsp?page=NegotiateKerberos) documentation but I'm having some trouble. First, The document references a security-service.xml in the deploy directory. I do not have one so I created one as follows: | ?xml version=1.0 encoding=UTF-8? | | server | |!-- JAAS security manager and realm mapping -- |mbean code=org.jboss.security.plugins.JaasSecurityManagerService | name=jboss.security:service=JaasSecurityManager | !-- A flag which indicates whether the SecurityAssociation server mode | is set on service creation. This is true by default since the | SecurityAssociation should be thread local for multi-threaded server | operation. | -- | attribute name=ServerModetrue/attribute | attribute name=SecurityManagerClassNameorg.jboss.security.plugins.JaasSecurityManager/attribute | attribute name=DefaultUnauthenticatedPrincipalanonymous/attribute | !-- DefaultCacheTimeout: Specifies the default timed cache policy timeout | in seconds. | If you want to disable caching of security credentials, set this to 0 to | force authentication to occur every time. This has no affect if the | AuthenticationCacheJndiName has been changed from the default value. | -- | attribute name=DefaultCacheTimeout1800/attribute | !-- DefaultCacheResolution: Specifies the default timed cache policy | resolution in seconds. This controls the interval at which the cache | current timestamp is updated and should be less than the DefaultCacheTimeout | in order for the timeout to be meaningful. This has no affect if the | AuthenticationCacheJndiName has been changed from the default value. | -- | attribute name=DefaultCacheResolution60/attribute | attribute name=CallbackHandlerClassNameorg.jboss.web.tomcat.security.AdvancedWebCallbackHandler/attribute |/mbean | | /server | I also had to set the login auth-method in my web.xml to BASIC, Negotiate was not recognised. | login-config | auth-methodBASIC/auth-method | realm-nameDomain Login/realm-name | /login-config | When I try to login from a client, the login failes but I get no errors in the logs. I can see Security logs on my server and PDC that reference a kerberos login, but thats as far as I get. Has anyone successfully gotten kerberos login to work from the NegotiateKerberos documentation? Is there something I'm missing? I'm using JBoss 4.0.4.GA and Windows 2003/XP Thanks, David View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3963895#3963895 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3963895 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user