[jboss-user] [Security JAAS/JBoss] - Re: Rich Client Authorisation and JAAS

2006-10-01 Thread [EMAIL PROTECTED]
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-user] [JCA/JBoss] - get connection took up to 67 seconds

2006-10-01 Thread vulee
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

[jboss-user] [JBoss AOP] - Re: howto hotswap ?

2006-10-01 Thread waffels
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:

[jboss-user] [JBoss Seam] - Having problems looking up a Seam component in the JNDI ENC

2006-10-01 Thread zzzz8
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):

[jboss-user] [JBoss Seam] - have any complete project already done using seam??

2006-10-01 Thread ekayed
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

[jboss-user] [JBoss Seam] - Re: @Redirect issues - not redirecting to a page

2006-10-01 Thread zzzz8
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

[jboss-user] [JBoss jBPM] - [b]Re: assign task node to a group of users (role)[/b]

2006-10-01 Thread Mohab
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

[jboss-user] [JBoss Eclipse IDE (users)] - JBoss IDE 2 beta. Can't configure the server

2006-10-01 Thread ltroiano
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

[jboss-user] [JBoss jBPM] - Re: HibernateException (cache) when deployign hello process

2006-10-01 Thread javilaalonso
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

[jboss-user] [Installation, Configuration Deployment] - Deploy of isolated application failed with message The mess

2006-10-01 Thread Ruslan.Khmelyuk
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 :

[jboss-user] [JBossCache] - Is JBossCache suitable for my problem?

2006-10-01 Thread rlhr
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.

[jboss-user] [JBoss Seam] - Backing Bean not being updated

2006-10-01 Thread alpheratz-jb
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

[jboss-user] [Clustering/JBoss] - Problems with Duke-Clustering example

2006-10-01 Thread delta296
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

[jboss-user] [Installation, Configuration Deployment] - JavaMail: configuring the Jboss MailService for multiple acc

2006-10-01 Thread Notarzt-hd
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)

[jboss-user] [JBoss jBPM] - node - task-node transformation

2006-10-01 Thread Pantagruel
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

[jboss-user] [Clustering/JBoss] - Re: Problems with Duke-Clustering example

2006-10-01 Thread [EMAIL PROTECTED]
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-user] [JBossCache] - Re: Is JBossCache suitable for my problem?

2006-10-01 Thread [EMAIL PROTECTED]
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

[jboss-user] [Clustering/JBoss] - Re: load balancer redirection problem on jboss 4.02

2006-10-01 Thread [EMAIL PROTECTED]
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 :

[jboss-user] [JBossCache] - Re: Using TreeCache as a local cache solution

2006-10-01 Thread [EMAIL PROTECTED]
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-user] [Security JAAS/JBoss] - How to assign roles based on a request parameter without sub

2006-10-01 Thread forumer
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

[jboss-user] [Beginners Corner] - IMG not displaying the image

2006-10-01 Thread jklanka
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

[jboss-user] [Beginners Corner] - Re: IMG not displaying the image

2006-10-01 Thread jklanka
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

[jboss-user] [JBossCache] - Re: Need to refresh the JBoss treecache periodically

2006-10-01 Thread [EMAIL PROTECTED]
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

[jboss-user] [JBossCache] - Re: Is JBossCache suitable for my problem?

2006-10-01 Thread rlhr
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 :

[jboss-user] [JBoss Seam] - Re: @Redirect issues - not redirecting to a page

2006-10-01 Thread [EMAIL PROTECTED]
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

[jboss-user] [Installation, Configuration Deployment] - ClassCastException: $Proxy76

2006-10-01 Thread delta296
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

[jboss-user] [EJB 3.0] - Design patterns with EJB3.0 and JavaEE 5.0

2006-10-01 Thread zetzioni
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

[jboss-user] [JBoss Seam] - Re: Using JBPM

2006-10-01 Thread [EMAIL PROTECTED]
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)

[jboss-user] [JBoss Seam] - Re: DataModelSelection and Outjection confusion

2006-10-01 Thread [EMAIL PROTECTED]
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()); |

[jboss-user] [JBoss Seam] - isUserInRole

2006-10-01 Thread bizimalem
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

[jboss-user] [JBoss Seam] - Re: isUserInRole

2006-10-01 Thread [EMAIL PROTECTED]
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

[jboss-user] [JBoss Seam] - Re: isUserInRole

2006-10-01 Thread [EMAIL PROTECTED]
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

[jboss-user] [Installation, Configuration Deployment] - This is simple right? - so how come it is so hard?

2006-10-01 Thread mnatz
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

[jboss-user] [EJB 3.0] - Transactions Rollback

2006-10-01 Thread marook
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; | |

[jboss-user] [Installation, Configuration Deployment] - Newbie - INIT_WAITING_DEPLOYER error when test.jar deployed

2006-10-01 Thread mnsweeps
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

[jboss-user] [JBoss Portal] - Re: Howto remove security from unchecked in Management porta

2006-10-01 Thread PeterJ
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

[jboss-user] [Beginners Corner] - Re: IMG not displaying the image

2006-10-01 Thread PeterJ
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

[jboss-user] [Installation, Configuration Deployment] - Re: Newbie - INIT_WAITING_DEPLOYER error when test.jar deplo

2006-10-01 Thread PeterJ
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.

[jboss-user] [Installation, Configuration Deployment] - Re: This is simple right? - so how come it is so hard?

2006-10-01 Thread PeterJ
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

[jboss-user] [Installation, Configuration Deployment] - Re: ClassCastException: $Proxy76

2006-10-01 Thread PeterJ
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 ___

[jboss-user] [Installation, Configuration Deployment] - Re: ClassCastException: $Proxy76

2006-10-01 Thread PeterJ
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 :

[jboss-user] [Installation, Configuration Deployment] - Re: Jboss deployement

2006-10-01 Thread PeterJ
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

[jboss-user] [Installation, Configuration Deployment] - Re: JBoss+Tomcat on the same server

2006-10-01 Thread PeterJ
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 :

[jboss-user] [Installation, Configuration Deployment] - Re: Problems running j2ee applications on jboss

2006-10-01 Thread PeterJ
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 :

[jboss-user] [Installation, Configuration Deployment] - Re: Newbie - INIT_WAITING_DEPLOYER error when test.jar deplo

2006-10-01 Thread mnsweeps
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 :

[jboss-user] [JBoss Seam] - Re: isUserInRole

2006-10-01 Thread bizimalem
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

[jboss-user] [JBoss Eclipse IDE (users)] - JBossAS 3.2.6 - Eclipse 3.2.1 - JBossIDE 2.0beta1 - My serve

2006-10-01 Thread muko
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

[jboss-user] [JBossCache] - Re: Problem with shunning in jgroups

2006-10-01 Thread jackerm
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 :

[jboss-user] [Security JAAS/JBoss] - Intermittent losing of user principal in standalone Tomcat

2006-10-01 Thread rtosin
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

[jboss-user] [EJB 3.0] - Re: Where is @DeclareRoles

2006-10-01 Thread ALRubinger
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 :

[jboss-user] [EJB 3.0] - Re: Transactions Rollback

2006-10-01 Thread ALRubinger
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 :

[jboss-user] [EJB/JBoss] - Re: Error when logging inside EJB s

2006-10-01 Thread ALRubinger
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 :

[jboss-user] [JBoss Seam] - s:decorate/

2006-10-01 Thread [EMAIL PROTECTED]
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 :