[JBoss-user] JBoss.Net and Win Client
NachrichtFirst I am using JBoss version 3.0.6. I have created a service in JBoss.NET and a Java client works fine with Basic Auth. However an MS Client fails. After searching all groups etc. I read something that MS .NET must receive an HTTP 401 auth failed, first and then on all calls after that it will include the authentication. Problem is that JBoss.NET fails with a HTTP 500. Does anyone know how to make this work with jboss.net. Is there something to set in the web-service.xml. I read through all the testsuite tests etc. Thanks for any info, jcl. --- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JMX Security by operation
What is the best way to secure an MBean by each operation. I want to restrict some users to read only ops and allow some to do write/mod ops. I read through the spec and did some research and most of the security is at the agent. I would like to have security at the MBean. My idea was to use a DynamicMBean and in the invoke method call out to a security system with the operation name and the user etc. Any other ideas. Thanks, jcl. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Re: Jdbc Open connection/resultSets between calls.
I know this most likely doesn't sound like the best idea. But I need to support paging of results sets. I was asked to allow a call to a session bean that ends up being a jdbc query only return 100 rows at a time. So my first thought was to return a session bean that implements an iterator pattern but is it legal to keep the connection open/resultSet between calls. In order to keep the result set valid the connection must be open. I know this will most likely lead to a connection leak, resource conflicts etc. But I might implement a timeout to invalidate the bean. I looked at the CachedRowSet this seems like a good fit except it might suck up a lot of memory. Any other suggestions/ideas? Has anyone else had to do this? Thanks, jcl. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] QueueConnectionFactory not bound
Try just "ConnectionFactory". Use JndiView from jmx console to see the new name. jcl. - Original Message - From: G.L. Grobe To: [EMAIL PROTECTED] Sent: Wednesday, August 14, 2002 4:34 PM Subject: [JBoss-user] QueueConnectionFactory not bound I'm getting the NameNotFoundException below from the following line. qConnectionFactory = (QueueConnectionFactory)ctx.lookup("QueueConnectionFactory"); This is from a remote client. Did anything here change from 2.4.4 to 3.0.1 with this? Any help much appreciated. --- remote client output javax.naming.NameNotFoundException: QueueConnectionFactory not bound at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:240) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117) at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:450) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:434) at javax.naming.InitialContext.lookup(InitialContext.java:345) at com.neuroquest.cais.clients.builder.Builder.setupQueueReceiver(Unknown Source) at com.neuroquest.cais.clients.builder.Builder.main(Unknown Source)javax.naming.NameNotFoundException: TopicConnectionFactory not bound at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:240) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117) at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:450) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:434) at javax.naming.InitialContext.lookup(InitialContext.java:345) at com.neuroquest.cais.clients.builder.Builder.platformSubscription(Unknown Source) at com.neuroquest.cais.clients.builder.Builder.main(Unknown Source)