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
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
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 :
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
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:
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
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 :
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
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 :
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 :
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
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
___
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
| 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);
|
|
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
___
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;
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 :
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
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
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
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 :
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
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
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 :
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
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
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 :
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 :
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
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
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
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...
|
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
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 :
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,
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
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
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
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 :
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
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
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
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 :
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
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 :
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
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
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
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 :
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 :
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
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
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
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
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.
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 :
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,
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
58 matches
Mail list logo