Good Day,
It is possible for rich clients to make use of JAAS on the client and on the
server side to perform authentication and authorization.
Client
---
1. Use the JBoss client login module (org.jboss.security.ClientLoginModule) to
collect the user name and password and to associate
Jboss app server: 4.0.3
I have a stateless session bean (SLSB) which contains a finder method. In this
method, a connection is gotten from an oracle data source. To run a performace
benchmark for 100 concurrent requests, I have set the max number of SLSB to 80,
and the max number of
i'm still having troubles getting this to work,
if i add the -javaagent:jboss-aop-jdk50.jar=-hotSwap argument,
the program often crashes saying it can't find the main class,
this crashing depends on the things that are contained in the jboss-aop.xml file
i often get this error:
I'm running Seam in Tomcat (EJB 3 embedded) and my client program cannot
perform the lookup. I'm not sure if I'm missing something in my configuration
files. My jndi.properties has the following (which is the default content in
the jndi.properties file given in the Seam examples):
have any complete project already done using seam??
where can I found a list of projects done using seam?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975319#3975319
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975319
Hi Gavin,
Unfortunately, I'm still having problems with using the @Redirect annotation.
Perhaps I'm just missing something in translation about the purpose of the
@Redirect annotation.
I corrected the bean (i.e client) that was used to call the ConnectionBean
stateless session bean - instead
why dont u use the fork tool... it will spillite ur transaction into two
distinct tokens,,, then u can assign to each one different user with the
ordinary way using swinlanes or what ever
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975321#3975321
Reply to
I tried to execute the tutorial.
The JBoss server configurations do not appear
when I reach the configuration step and I press Debug
According to several posts, it looks as this issue has inherited by JBIDE 1.6.
Anybody knows how is possible to solve this problem?
View the original post
hi
i have just solved the problem updating the ehcache-x.x version to ehcache-1.2
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975325#3975325
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975325
Hi!
I need to start diff versions of one application (different ears) at one
instance of JBoss.
While I configure sepated loader repository, change file ear-deployer.xml I get
an error message on verification of my each deployed ear:
15:48:26,548 WARN [verifier] EJB spec violation:
| Bean :
Hello,
I'm implementing a web application that uses JBoss as application server.
Some pages served by the application are heavily used and contains readonly
data stored in the database.
I don't want to access the database everytime such a page is served as it is
not very good performance wise.
Hi all,
I am trying to build a simple test app with a single page that
links to a second form page that on submission adds data to be displayed by the
first page
My problem is that the backing entity bean is never updated by the form.
For example, regardless of whatever I enter into the
Hi all,
i have deployed the duke bank clustering application without any errors, but
after logging in I got the following error:
2006-10-01 15:12:29,600 DEBUG
[org.jboss.security.auth.spi.UsersRolesLoginModule] Loaded properties,
users=[200]
2006-10-01 15:12:29,603 DEBUG
Hi all,
i am trying to make an webbased email application. I thought i could use
JavaMail for all SMTPPOP3 operations. JbossAS is providing an JavaMail
implementation known as MailService!? I found, in the WWW and this forums,
information how to configure this Service (file: mail-service.xml)
I would like each node in my process to be transformed into a task-node in case
when the node's action fails. I don't think it's a good idea to have a set of
100 node - task-node pairs in my process diagram.
Can you suggest a solution to this? Would it require a custom node?
View the
Where did this example come from? (Apologies in advance if from us; I'm not
familiar with it.) From your stack trace it looks like something from Sun that
isn't configured to run on JBoss.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975333#3975333
Reply
JBoss Cache is very much designed for the situation you describe. The problem
with the hashmap approach is, as you say, the data can be changed. Maybe not
frequent, but can happen. If it is changed, you need to reliably communicate
that to all the servers in the cluster so they can update
If you want software load balancing, front JBoss with Apache and use mod_jk as
described at http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975335#3975335
Reply to the post :
When you say build I'm going to assume you mean run. If you want to try to
build JBC from source without JGroups, well, you're on your own :).
TreeCache imports classes from JGroups, so I don't think you can run it without
jgroups.jar on the classpath. (You can try, but I don't think it will
JBoss 4.0.4-CR2
A user has already been authenticated before accessing my application's
servlet. This authentication is evidenced by setting a parameter to one of
several predetermined values in the request. I could use the value of this
parameter as a username. I can assign this user certain
I am running a J2EE App on Liunx OS with JBOSS 4.0.2
I have image files in the Filesystem folder (not within the Webserver).
My images loated in /home/myfiles/
How can I load this image to bowser with IMG tag.
If I am using then the file not displaying.
How can I do this. I need to keep
I am using img
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975341#3975341
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975341
___
jboss-user mailing list
Writing and deploying services in JBoss AS is covered in Chapter 2.4 of the
4.0.4 version of the JBoss Application Server Guide, available at
http://labs.jboss.com/portal/jbossas/docs.
The various *-service.xml files found in etc/META-INF of the JBoss Cache
distribution are actually service
Thanks a lot for your answer.
After reading more, it looks like it is a fairly easy solution to implement and
will make my life easier later on.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975346#3975346
Reply to the post :
Do you have SeamExceptionFilter installed? I don't see it in the stack trace.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975347#3975347
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975347
Hi all,
I have a problem with an application running in JBoss-4.0.3SP1.
The tested the application under JBoss-3.2.1-3.2.7 and everything works fine.
In JBoss-4.0.3SP1 only the deployment of the application works fine. When I
execute an action (for your information the application uses
Hi,
Can anyone recommend a book on EJB3.0 design patterns? there are quite some
books on J2EE/EJB design patterns but with the introduction of EJB3.0 they seem
to be outdated.
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975348#3975348
Reply to
OK, so the second problem looks like your programming bug, you have an @Begin
method being called from the scope of an existing (task) conversation. So that
looks easy.
The first one looks to be something to do with transaction management, but
without any code its pretty hard to tell.
(1)
I just added an @RaiseEvent annotation. So you could write:
@RaiseEvent(selectDataSource)
public String selectDataSource()
|{
| log.info(get datasource: #0 for #{user.username},
dataSource.getId());
| dataSource = em.find(DataSource.class, dataSource.getId());
|
Hi,
how can I use HttpServletRequest.isUserInRole() in a Seam component. Is there a
way to inject an HttpServletRequest in a component like
@In
HttpServletRequest request?
If I can inject it, I could use request.isUserInRole() in the seam component..
thanks.
Özcan Acar
View the original
Try:
@In(#{isUserInRole['foo']}
| boolean isUserInRoleFoo;
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975357#3975357
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975357
Or:
FacesContext.getCurrentInstance().getExternalContext().isUserInRole(foo)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975358#3975358
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975358
I am a little frustrated. I have some basic questions but I have some comments
too. I'll make my comments, but first explain that if they sound sarcastic (as
email often sounds) they are not, it's just my frustration. I offer the
comments in the hope that someone there at Jboss will tap the
Hello Experts,
I've got a problem with the rollback of failed transactions. My situation is as
follows:
| @Stateless
| @Local
| public class BeanA implements IBeanA{
|
| @PersistenceContext(name=MyContext)
| private EntityManager entityManager;
|
|
I am a newbie to JBOSS. Just yesterday I installed JBOSS on my laptop and was
testing the TEST.JAR file in my DEFAULT deploy directory. The test.jar is
mentioned in this tutorial at the bottom .
http://today.java.net/pub/a/today/2005/03/01/InstallingJBoss.html
THE ERROR MESSAGE I AM GETTING
Hold down the CTRL key while you click on 'view', and it will be unselected.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975362#3975362
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975362
See http://wiki.jboss.org/wiki/Wiki.jsp?page=ExternalDirectories
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975363#3975363
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975363
you did not copy test.jar to the deploy directory, you copied test.zip to the
deploy directory. JBoss does not have a deployer that knows what to do with a
zip file. That is the reason for the INIT_WAITING_DEPLOYER state - it cannot
initalize the zip until a deployer for zip files is deployed.
The problem with developers writing documentation is that they are so used to
knowing how it is supposed to work that they read things between the lines that
just aren't there. After having this fact pounded into my head various
documentors specifically assigned to convert my technical
Shoot, uses url tags instead of code tags. Oh well.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975367#3975367
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975367
___
My guess is that OSHOME is a remote home interface and that you should be doing
this instead:
[url]Object obj = ic.lookup(OSHOME);
OSHome oSHome = (OSHome)PortableRemoteObject.narrow(obj, OSHome.class);[/url]
View the original post :
Have you used top to determine what is using up the processor (I assume java,
but you never know). What have you deployed to JBoss? Have you looked at the
JBoss logs to see what is in there? Have you taken thread dumps to see what
code is taking up all the processor time? Oh, and what JVM are
Looks like ports 8009 (for AJP) and 8443 (for SSL) will also conflict. Compare
the conf/server.xml in Tomcat with the
server/default/deploy/jbossweb-tomcat55.sar/server.xml file. Those contain the
ports that will be in conflict.
View the original post :
The javax.servlet.Servlet class should be in the javax.servlet.jar file in the
server/all/lib directory. Verify that that file exists.
Also, how did you install JBoss? If you used the installer, what options did
you select?
View the original post :
Thanks PeterJ. You were right. I created a new folder TEST.WAR in deploy
directory. And then copied all the files/folders (web-inf ,web.xml,meta-inf)
from the ZIP file into the TEST.WAR directory and it worked like magic. Thanks
again.
View the original post :
Thanks, that worked for me.
Özcan Acar
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975373#3975373
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975373
___
jboss-user mailing
Hi,
In my fresh Eclipse 3.2.1, I've installed JBoss IDE 2.0 Beta1.
I have configured (from the server view) a JBoss 3.2.6 server.
When I start the server (either in debug or normal mode) from Eclipse, in the
server view, JBoss always stay in starting status. Anyway the log says that
the server
milowe wrote : Nevermind, problem solved.
|
| Thanks anyway
Hey milowe
I'm getting the same issue as you had in teh stack trace. What was the fix ?
Jonathan
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975391#3975391
Reply to the post :
Hi All,
I have web application running on JBoss 4.0.4. I use LdapLoginModule to secure
the EJB tier. In the web tier, I add a filter that perform JAAS login (using
client-login module) for every incoming request. Everything works fine, user's
principal and credentials are propagated
Just checked JBoss AS 4.0.4-GA w/ EJB3 RC9 - @DeclareRoles is in
$JBOSS_HOME/client/jboss-ejb3-client.jar under javax.annotation.security ...
Also in jboss-ejb3x.jar. from deploy/ejb3.deployer.
S,
ALR
View the original post :
Any chance your DB is set to auto-commit, either by default or in your
connection url?
Yes, EJB application transaction rollbacks should roll back your DB transaction
as well, as it's managed by the container.
S,
ALR
View the original post :
Post your log4j.conf? Looks like you have a circular reference in there, like
you have an appender containing an appender-ref calling itself or something
similar...
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975405#3975405
Reply to the post :
Guys,
I think you'll like the new s:decorate/ tag in Seam CVS. Check the booking
and blog example applications.
:-)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975406#3975406
Reply to the post :
53 matches
Mail list logo