[jboss-user] [Security JAAS/JBoss] - x509 certificate and JAAS

2009-06-22 Thread jej2003
I am following the guide at http://www.jboss.org/community/wiki/SSLSetup and have gotten to the point where JBoss is requesting the client certificate but I keep getting a 401 denied error and a log entry of | 12:46:13,140 DEBUG [UsersRolesLoginModule] Bad password for

[jboss-user] [Beginners Corner] - Best approach to provide statistics from an EJB or Servlet

2009-05-29 Thread jej2003
I am looking for some hints on what the best approach is to provide statistics from an EJB or Servlet (specifically a JAX-RS annotated class within RESTEasy). Is there any documentation providing where to start for having a servlet or EJB report statistics to say an MXBean? View the original

[jboss-user] [JBossWS] - Re: RestEasy Security

2009-03-04 Thread jej2003
The issue is with the web.xml shipped with RestEasy, there is a typo in the file it currently reads resteasy.resource.method-interceptors where it should be resteasy.resource.method.interceptors Everything is working fine now. View the original post :

[jboss-user] [JBossWS] - RestEasy Security

2009-03-02 Thread jej2003
Has anyone had success with getting the Servlet security to work with RestEasy? To this point I have not been able to successfully limit access a to a resource. Following this guide

[jboss-user] [JBossWS] - Could not find MessageBodyWriter for class java.util.List an

2009-02-27 Thread jej2003
Has anyone had any experience with getting the java.util.List multipart support working as described at http://bill.burkecentral.com/2008/10/23/jax-rs-multipart-support-with-resteasy/ ? When running the Client Framework I get the following: Exception in thread main java.lang.RuntimeException:

[jboss-user] [JBossWS] - Re: RestEasy Client Framework

2009-02-26 Thread jej2003
for anyone interested it is at import org.jboss.resteasy.client.ProxyFactory; View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4213417#4213417 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4213417

[jboss-user] [JBossWS] - RestEasy Client Framework

2009-02-25 Thread jej2003
I am trying to follow the guide that is here http://www.jboss.org/community/docs/DOC-11746 and while trying to implement the client I can't import org.resteasy.plugins.client.httpclient.ProxyFactory; Where is this located? View the original post :

[jboss-user] [EJB 3.0] - Accessing EJB in seperate EAR

2008-12-17 Thread jej2003
I am trying to access an EJB (SLSB) in a separate EAR file (not isolated) using injection. When I do this I get an error that the dependent class is not loaded because of the load order. Is there a way to have JBoss load the other ear first without using the prefix loader? View the original

[jboss-user] [JBoss Messaging] - Topics with / in the name

2008-11-06 Thread jej2003
In previous version of JBoss (4.2.3GA ) running jbossmq I was able to create a topic name with slashes in the name (/), it seems that this does not work properly with JBoss Messaging (JBoss 5.0 CR2). Is there a limitation to what you can use for topic names? View the original post :

[jboss-user] [JBoss Messaging] - Re: Topics with / in the name

2008-11-06 Thread jej2003
For anyone that is interested there is an attribute named jndi-name which lets you bind your topics to a specific location in the tree. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187538#4187538 Reply to the post :

[jboss-user] [Security JAAS/JBoss] - Re: Map LDAP Roles to Application Roles in XML

2008-11-04 Thread jej2003
Is there no one with a similar use case? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186829#4186829 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186829 ___ jboss-user mailing

[jboss-user] [Security JAAS/JBoss] - Re: Accessing a secure EJB from standalone Java client

2008-10-31 Thread jej2003
I will do first thing Monday. Sorry for the delay. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186086#4186086 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186086 ___

[jboss-user] [Security JAAS/JBoss] - Re: JAAS and OpenLdap configuration

2008-10-28 Thread jej2003
So I switched to the LdapExtLoginModule and I have this working, but I am seeing some unexpected behavior. I have 2 groups, Administrators and Users. I have a user that is a member of only one of those groups, in this case Administrators. If I have a function that has the

[jboss-user] [Security JAAS/JBoss] - Re: Accessing a secure EJB from standalone Java client

2008-10-28 Thread jej2003
| Properties env = new Properties(); | env.setProperty(Context.INITIAL_CONTEXT_FACTORY, org.jboss.security.jndi.JndiLoginInitialContextFactory); | env.setProperty(Context.PROVIDER_URL, jnp://localhost:1099); | InitialContext ctx = new InitialContext(env); | |

[jboss-user] [Security JAAS/JBoss] - Re: JAAS and OpenLdap configuration

2008-10-28 Thread jej2003
my mistake, wrong annotation. Works as expected! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4185082#4185082 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4185082 ___

[jboss-user] [Security JAAS/JBoss] - Map LDAP Roles to Application Roles in XML

2008-10-28 Thread jej2003
I am attempting to map a Role in LDAP (admin) to a role in my application (Administrators). I had thought that I could accomplish this using the following | ?xml version=1.0 encoding=ASCII? | ejb-jar xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

[jboss-user] [Security JAAS/JBoss] - Re: Accessing a secure EJB from standalone Java client

2008-10-28 Thread jej2003
Sorry you are correct the line b.getInitialContext() does not belong, but this is not the cause of the issue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4185204#4185204 Reply to the post :

[jboss-user] [Security JAAS/JBoss] - Re: Accessing a secure EJB from standalone Java client

2008-10-27 Thread jej2003
My EJB looks like this: @RolesAllowed({user, admin}) | public String echoUser(String src) { | log.debug(echoUser called with source string + src); | return Echo User: + src; | } | | /* (non-Javadoc) | * @see

[jboss-user] [Security JAAS/JBoss] - JAAS and OpenLdap configuration

2008-10-27 Thread jej2003
I am trying to setup a JAAS Domain to authenticate against an LDAP server, but I keep getting [LDAP: error code 49 - Invalid Credentials]. Can anyone help shed some light on this? The googling I did seemed to point to the java.naming.security.principal being wrong, but it is not. Any help

[jboss-user] [Security JAAS/JBoss] - @PermitAll and UnauthenticatedIdentity

2008-10-24 Thread jej2003
The Java Docs for PermitAll say the following anonymous wrote : Specifies that all security roles are allowed to invoke the specified method(s) i.e that the specified method(s) are unchecked. It can be specified on a class or on methods. Specifying it on the class means that it applies to all

[jboss-user] [Security JAAS/JBoss] - Re: @PermitAll and UnauthenticatedIdentity

2008-10-24 Thread jej2003
Ok, it made a liar out of me and just worked. I guess I had something screwy when doing the hot deploy...simple jboss restart fixed it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4184470#4184470 Reply to the post :

[jboss-user] [Security JAAS/JBoss] - Accessing a secure EJB from standalone Java client

2008-10-24 Thread jej2003
I am attempting to connect to an EJB that is under a JAAS Domain which has unauthenticated access support via the unauthenticatedIdentity attribute in my login-config.xml. If I provide the appropriate information when building my initalcontext (a valid username and password) everything works

[jboss-user] [Security JAAS/JBoss] - Re: Using JAAS in SSB

2008-10-22 Thread jej2003
Ok, so I have gotten a little farther with this and was hoping someone could push me over the edge. I have an EJB whose only purpose in life is to determine the set of Roles a user belongs to. The EJB looks up the JaasSecurityManager and I would like to invoke getUserRoles on it, but what is

[jboss-user] [Security JAAS/JBoss] - Re: Using JAAS in SSB

2008-10-22 Thread jej2003
answered my own question. This interface seems a bit quirky to me though. I don't have access to the users credentials at this point so is there another way to get a list of roles that the user belongs to? View the original post :

[jboss-user] [Security JAAS/JBoss] - JaasSecurityManager

2008-10-22 Thread jej2003
Currently I am accessing the JaasSecurityManager in an EJB to authenticate flex clients. This seems to be working well but I have tied myself to JBoss with my current implementation. Is there any generic mechanism to obtain the security manager in an Application Server? Do other application

[jboss-user] [Security JAAS/JBoss] - Using JAAS in SSB

2008-10-21 Thread jej2003
I am completely new to JAAS so if I say something stupid sorry in advance. I am attempting to create a SSB that will take a username/password and authenticate against a JAAS Domain. Is there any documentation that details how to do something along these lines? Any information would be much

[jboss-user] [Security JAAS/JBoss] - Re: Using JAAS in SSB

2008-10-21 Thread jej2003
And to provide some more insight. I have several types of applications that I need to support (thin clients, thick clients, flash clients, etc) and need to provide a way for all clients to authenticate against a JAAS domain. Does JBoss provide a mechanism to do this? View the original post :

[jboss-user] [Security JAAS/JBoss] - Secure EJBs using Annotations

2008-10-21 Thread jej2003
Looking at the EJB 3.0 Trail the SecureCalculator.java file imports the org.jboss.annotation.security.SecurityDomain annotation but I would like to try and keep my deployments app server agnostic, is there a way to do the same operation without this annotaiton? View the original post :

[jboss-user] [JBoss Getting Started Documentation] - Newbie Questions

2008-09-19 Thread jej2003
I am trying to understand how EJB components (SLSB, SFSB, MDB) work. If I have an MDB that has a reference to a SLSB and a SFSB like: | public class TestMDB implements MessageListener { | @EJB | private TestSLSB slsb; | @EJB | private TestSFSB sfsb; | public void

[jboss-user] [JBoss Getting Started Documentation] - MDB Pooling Question

2008-09-19 Thread jej2003
If I create an MDB is there only 1 instance of the MDB created or are they pooled by default? Also if they are pooled how does JBoss manage the instance variables that are set for the MDB? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4177764#4177764 Reply

[jboss-user] [JBossWS] - Endpoint does not contain operation meta data...

2008-07-18 Thread jej2003
I am in the fun position of trying to get a webservice that ran fine under JBoss 4.0.3sp1 to run under JBoss 4.2.2GA. The problem I am having however, is that when a servlet (I believe) tries to access the web service it throws an error saying | SOAP Request exception

[jboss-user] [JBossWS] - Re: Endpoint does not contain operation meta data...

2008-07-18 Thread jej2003
I think this was a namespace issue now that is fixed I am getting the following | javax.xml.ws.soap.SOAPFaultException: java.lang.ClassNotFoundException: org.jboss.webservice.server.ServiceEndpointServletJSE | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException... |

[jboss-user] [Messaging, JMS JBossMQ] - MDB and secure topics

2008-06-26 Thread jej2003
Is there any documentation detailing how to use a secure topic with an MDB? When my MDB gets deployed I get an error saying connection not authorized to subscribe to destination: securedTopic. How do I specify username/password to connect to this topic? Additionally, if I were to use a file

[jboss-user] [Messaging, JMS JBossMQ] - Re: MDB and secure topics

2008-06-26 Thread jej2003
I got this working, I was unaware of two ActivationConfigProperty values user and password. Using them worked like a champ. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4160907#4160907 Reply to the post :

[jboss-user] [Messaging, JMS JBossMQ] - Override annotations using JBoss.xml

2008-06-26 Thread jej2003
I am attempting to override the annotations in a message driven bean using a JBoss.xml file. My environment is Windows running JBoss 4.2.2GA The relevant section of my MDB is as follows: | @MessageDriven(activationConfig={ | @ActivationConfigProperty(propertyName=destinationType,

[jboss-user] [Messaging, JMS JBossMQ] - Re: Override annotations using JBoss.xml

2008-06-26 Thread jej2003
Typo on my part, EJB name was not correct. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4160934#4160934 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4160934 ___ jboss-user

[jboss-user] [Installation, Configuration DEPLOYMENT] - Apache, JBoss and mod_jk issue

2008-06-06 Thread jej2003
I am attempting to setup a system such that Apache is a front end to several JBoss application servers, some of which are clustered and some of which are not. It seems that everything is working as I would expect accept that for whatever reason when I am trying to access a particular resource

[jboss-user] [Clustering/JBoss] - How to deploy an application to a cluster

2008-06-04 Thread jej2003
I have read that the easiest way to deploy an application to a cluster is to use the farming mechanism. That being the case it sounds like there is a difficult way to deploy an application to a cluster. Is there another supported method? The reason I ask is that the application that I am

[jboss-user] [Clustering/JBoss] - Re: How to deploy an application to a cluster

2008-06-04 Thread jej2003
Ok, then so long as the ear is on both servers (no matter how it got there) in a cluster it will work as if it had been deployed using the Farming mechanism? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4155829#4155829 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Accessing properties files at ${jboss.server.home.dir}/conf

2008-04-17 Thread jej2003
I am trying to access a properties value at ${jboss.server.home.dir}/conf. My current application has an entry that points to this properties file and it works if I hard code the path (say c\:/jboss-4.0.3sp1/server/default/conf/propertiesfile), but I can't seem to get it to work with a

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Accessing properties files at ${jboss.server.home.dir}/c

2008-04-17 Thread jej2003
Thanks, this is exactly what I was looking for. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4144917#4144917 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4144917 ___ jboss-user

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Application acting differently in regards to hibernate when

2008-04-08 Thread jej2003
I have a sample application (adapted from http://www.eclipse.org/webtools/dali/docs/tutorial_1.0/dali_jsf_tutorial.htm) that I am running on JBoss. When I run the application with a persistence.xml file that specifies the JDBC connection everything works, but if I change the persistence.xml

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: *-ds.xml not being bound to JNDI Name

2008-04-06 Thread jej2003
ah, ok, so it is not the j2ee standard to place these at the root of your app, is there somewhere I can read about thigns like tihs? I will post the full stack trace when I get back to work, thanks again! View the original post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: *-ds.xml not being bound to JNDI Name

2008-04-05 Thread jej2003
Great, only problem is I don't see that being bound either. I see it get bound if I place my -ds.xml file in the deploy directory, but not if I put it under my ear directory. Am I missing something? Is there something else that I need to do to get this to work? Also, when I deploy my

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: *-ds.xml not being bound to JNDI Name

2008-04-05 Thread jej2003
I see that in the persistence-unit tag there is an attribute named transaction-type, does this have ot be set to JTA in order to use jta-data-source tag? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4141847#4141847 Reply to the post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - *-ds.xml not being bound to JNDI Name

2008-04-04 Thread jej2003
What is required to have a *-ds.xml file deploy under JBoss? I am going through http://www.eclipse.org/webtools/dali/docs/tutorial_1.0/dali_jsf_tutorial.htm and trying to modify it to use Hibernate provided by JBoss. Currently my persistence.xml file species all the JDBC connection

[jboss-user] [JBossWS] - Migrating from JBoss 4.0.3SP1 to 4.0.4GA

2008-04-03 Thread jej2003
I work for a company that has several applications built on JBoss 4.0.3SP1 which include web services that they would like to migrate to JBoss 4.0.4 or . I was wondering if there is any documentation detailing the process of moving from 4.0.3 (Axis Stack) to 4.0.4 (JBossWS Stack)? Also is

[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss 4.2.2: can't connect to port 1099?

2008-04-03 Thread jej2003
I am running a box with jboss 4.0.3SP1 and when I try to connect on port 1099 for JNDI lookups I get no issue, on the same box if I run 4.2.2 I can't connect to port 1099 although netstat -a says jboss is listening on that port unless I do so from the same box. Is there something security wise

[jboss-user] [JBoss Tools (users)] - Persistence unit

2008-04-03 Thread jej2003
I am attempting to follow the tutorial at http://www.netbeans.org/kb/55/ejb30-jboss.html#Exercise_2 and one of the steps says to create a persistence unit, how do you go about doing this in JBoss Tools? Any details would be appreciated. View the original post :

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Installation Issue?

2008-04-02 Thread jej2003
Great, I will go through and use the EJB wizard then. Thanks! I am browsing through the documentation that is at www.jboss.org/tools now. Is there any tutorials that anyone is aware of to go through the process of building a hello world sort of J2EE App? View the original post :

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Installation Issue?

2008-04-02 Thread jej2003
Ok, new problem. I am trying to deploy my new EJB project to JBoss 4.0.4 and I get an error saying JBoss 4.0.4 does not support version 5.0 of the J2EE Enterprise application specification. If I install a new server I can launch this using 4.2 (at least the above message goes away) but my

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Installation Issue?

2008-04-02 Thread jej2003
I am, so I am not sure what the deal is. I am trying to follow the tutorial at http://docs.jboss.org/ejb3/app-server/tutorial/stateless/stateless.html. I have created an EJB Project (which also generated a Client and and EAR project), under ejbModule I created all the src files, but when I

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Installation Issue?

2008-04-02 Thread jej2003
Yeah you were correct. I now get the test application to deploy without any errors. I am now trying to build the client for this and I am not sure where this should be created. Should the client be placed in the CalculatorClient project that was created when I built the EJB Project or does

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Installation Issue?

2008-04-02 Thread jej2003
I got the example to run. Thanks for everyones help! Off to J2EE wonderland now! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4141032#4141032 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141032

[jboss-user] [JBoss Tools (users)] - JBoss Tools Installation Issue?

2008-04-01 Thread jej2003
So I am attempting to dabble with J2EE and I am running into issues installing the JBoss Tools on Eclipse. I have Eclipse version 3.3.2 and have the latest stable version of JBoss Tools 2.0.1 GA installed. For whatever reason though the JBoss-IDE project type under the New Project wizard.

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Installation Issue?

2008-04-01 Thread jej2003
Maybe I am asking the wrong questions. In the version of JBoss tools that I am using what is the procedure for building a new EJB Project? Should there be a JBoss-IDE project category in the wizard dialog? Is there any good beginner documentation for building ejbs? View the original post :

[jboss-user] [JBoss Getting Started Documentation] - JBoss IzPack Installer

2008-03-27 Thread jej2003
Is there any documentation on how to customize the JBoss IzPack installer? Specifically, what i am interested in is how to setup IzPack to use the JBoss custom listeners to provide support for Apache Velocity and any documentation or example on how to setup templates, where they need to exist,

[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss WebService Question

2008-02-28 Thread jej2003
I currently work in an environment where there are several applications that have been provided by 3rd parties running on JBoss 4.0.3sp1. I'd like to attempt to migrate these applications to a more recent version of JBoss (say 4.0.4 or 4.2.2). Not being involved in the development process of