[JBoss-user] [JBoss Seam] - Using things called Events

2006-05-27 Thread dsmith9387
Fyi..interesting issue...I have a class called EventListAction with a List variable named events, which happens to be the datamodel (@DataModel) for this action. When I switched to Seam 1.0.0.0CR3 and JBoss 4.0.4.GA from Seam 1.0Beta2 and JBoss 4.0.4.CR2 Seam threw an exception when trying

[JBoss-user] [EJB 3.0] - Re: Accessing EJB3 from an Applet...

2006-05-27 Thread AbelMJ
Thanks for the trick wauwau0977, I'll try. clebert.suconic, could you tell me why don't you recommend an Applet please?, in my case, as I told you, is not an option, but a requirement? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947060#3947060 Reply to the

[JBoss-user] [JBossCache] - Re: Problems about updating an ArrayList in replicated TreeC

2006-05-27 Thread [EMAIL PROTECTED]
Ok, I was able to re-recreate your problem using a junit test case. Here is the Jira: http://jira.jboss.com/jira/browse/JBCACHE-639 I should fix it within the next day or so. So stay tuned. Thanks, -Ben View the original post :

[JBoss-user] [JBoss jBPM] - How to Deploy my process?

2006-05-27 Thread messagesky
I downlaod JBoss Eclipse IDE 1.6 from http://www.jboss.com/products/jbosside/downloads I want to design my process. Following: http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmGettingStarted But in Deploy your process to JBoss jBPM,I Clike on on StartersProcess folder in the left hand

[JBoss-user] [EJB 3.0] - OneToMany fetchtype eager.

2006-05-27 Thread DoubleDenim
Hi, I just upgraded to 4.0.4.GA and had some issues with my fetch type of eager set on my OneToMany relationships. I solved the problem by removing them but am now wondering how i eagerly fetch ? I am referred to this posting. http://www.jboss.com/index.html?module=bbop=viewtopict=82946 But

[JBoss-user] [EJB 3.0] - Re: Distinguish between remote and local call

2006-05-27 Thread martin ganserer
Hello Bill, do you see any chance that you guys will implement this method in one of the next releases? I am not sure if other developers need this feature but it would be really interesting for our custom security system where we only want to check authorization of a method if the call came

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Exiting on IOE : java.io.InterruptedIOException: Operati

2006-05-27 Thread vallamkondu
Genman, Yes, it?s a DEBUG Message but the message is not delivered to listeners at all. I see this debug exception only when i write / publish the message on topic and I can?t ignore this message as it not delivered to other applications / listeners. Thanks Ram View the original post :

[JBoss-user] [JBoss jBPM] - Re: How to Deploy my process?

2006-05-27 Thread messagesky
I do it. Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947067#3947067 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947067 --- All the advantages of

[JBoss-user] [Messaging, JMS JBossMQ] - max jms message size supported by Jboss-3.2.5

2006-05-27 Thread vallamkondu
Hi All, what is the max jms message size is supported by Jboss-3.2.5? Thanks in advance Ram Vallamkondu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947068#3947068 Reply to the post :

[JBoss-user] [JBossCache] - Re: Problems about updating an ArrayList in replicated TreeC

2006-05-27 Thread [EMAIL PROTECTED]
One temporary workaround is when you do the re-try, you can clone the failed pojo to a new one first. For example, if you know that: tx.begin(); lobby.add(player); tx.commit(); failed, then do Playler player_new = player.clone() // or whatever to construct a new player then tx.begin();

[JBoss-user] [Security JAAS/JBoss] - Autentication through Java client for JAAS failing

2006-05-27 Thread nazare
Hi, I'm new to JBoss/JAAS. Working on a project to retrieve JMX information from JBoss in secure environment. The client program written with code props.put(Context.INITIAL_CONTEXT_FACTORY, org.jboss.security.jndi.LoginInitialContextFactory); props.put(Context.PROVIDER_URL,

[JBoss-user] [Beginners Corner] - Problem Starting JBoss with Fedora Core 5

2006-05-27 Thread deguzmandaz
I installed JBoss v4.0 to Fedora Core 5 (FC5). I'm having a problem running JBoss. the errors are: --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss.mq:service=InvocationLayer,type=HTTP State: FAILED Reason: java.net.UnknownHostException: caaserver: caaserver I Depend

[JBoss-user] [Security JAAS/JBoss] - Re: Jboss MQ + jaas

2006-05-27 Thread [EMAIL PROTECTED]
Settings for queue/A and QueueConnectionFactory are default settings coming with jboss 4.0.3 *** jboss.xml *** enterprise-beans message-driven ejb-nameReplicationMDBBean/ejb-name destination-jndi-namequeue/A/destination-jndi-name

[JBoss-user] [EJB 3.0] - PersistenceContext and EntityManager

2006-05-27 Thread rmic
Hi everybody, I've got a problem with this magical @PersistenceContext... It doesn't inject any EntityManager :( ... my entityManager variable always evaluates to null and generates an horrible NullPointerException... I already googled for hours to find a solution and the only thing I found

[JBoss-user] [JBoss Portal] - Layout, theme, renderSet, strategy usage property name

2006-05-27 Thread wlchung
I cannot figure out what the the correct property name to use layout, theme, renderSet and strategy. To use the Layout, theme, renderSet, strategy in the examples HelloPortal in Section 3.1.3 of Reference Guide, the following names are used: properties |

[JBoss-user] [JBoss Seam] - where to put ehcache config file

2006-05-27 Thread armita
Could someone please tell me where shall I put the ehcache config file. I tryed puttig it is ejb3 files root and META-INF but ehcache could not find it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947076#3947076 Reply to the post :

[JBoss-user] [JBoss Seam] - jboss-cache-jdk50.jar Missing

2006-05-27 Thread fady.matar
The jboss-cache-jdk50.jar library is missing from the lib directory it should be added to reflect the latest changes incurred by the addition of the TreeCache.java file View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947077#3947077 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Re: RanAs with multiple roles for MDB

2006-05-27 Thread Lis0x90
I read wiki and find answers. Big thanks for help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947078#3947078 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947078 ---

[JBoss-user] [JBoss Portal] - Re: Passing request paramter between page

2006-05-27 Thread craig1980
Hi. Thanks for your replies. I like this exchange of ideas... you are opening more and more my mind. So if i have understood you are sayng that i should write a page with more instances of my portlet; in this way i'ld be able to display different view by usign one portletOK. This could be a

[JBoss-user] [JBoss Seam] - Seam annotations and '@Inherited'

2006-05-27 Thread amin59
Hi, I guess some Seam annotations (e.g. @DataModel) need '@Inherited' annotation to help us develop a more OO software. Why only '@Scope' and '@Transactional' have this attribute? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947080#3947080 Reply to

[JBoss-user] [Beginners Corner] - jboss-4.0.4.GA administration console problem

2006-05-27 Thread adrienogee
Hi everybody, I just downloaded the jboss-4.0.4CR2 (or GA, I didn't look for an explanation of the difference;) ) to play with ejb3, but tht administration (http://localhost:8080/web-console/) just doesn't work. I get that: HTTP Status 404 - /web-console/ type Status report message

[JBoss-user] [JBoss Seam] - Re: jboss-cache-jdk50.jar Missing

2006-05-27 Thread fady.matar
jgroups.jar is as well required to satisfy a runtime dependency. However when I checked out the latest source code from CVS a new exception is being thrown regarding the interceptors View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947083#3947083 Reply to the

[JBoss-user] [EJB 3.0] - referencing session bean from servlet.

2006-05-27 Thread DoubleDenim
In upgrading to 4.0.4.GA in the last day or so from 4.0.3SP1 if encountered a couple of issues in which i've had to refactor my code. I've sorted most of the problems out but now i'm left with one that baffles me. What I am trying to do is reference an ejb3 stateless session bean from within a

[JBoss-user] [Performance Tuning] - nagios plugin to monitor tomcat

2006-05-27 Thread chsvramesh
Hi, Please help me to find out nagios plugin to monitor jboss JMS and tomcat statistics. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947085#3947085 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - org.jboss.varia - Where is it?

2006-05-27 Thread nvanevski
Hi all, this may be a stupid question but I need help nevertheless. I'm trying to import org.jboss.varia to use the Scheduler service (like described in the docs) but the package does not seem to exist. I guess I am missing some jar in my classpath... Any idea? Thanks in advance!! View the

[JBoss-user] [JBoss jBPM] - Problems with jbpm-starters-lit

2006-05-27 Thread beth_queiroga
I downloaded the jbpm-starters-kit3.1.1, but I'm having many problems to install. The eclipse plug-in is correct. I click in the archieve start.bat in the directory jbpm-server but many errors appears. I wrote a log with the erros, but i'm not undestanding what i have to do to resolve. Can

[JBoss-user] [JBoss Seam] - Re: Using things called Events

2006-05-27 Thread [EMAIL PROTECTED]
Right, there is now a core component called events, so naming a user component events would break the event system. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947088#3947088 Reply to the post :

[JBoss-user] [JBoss Seam] - Re: jboss-cache-jdk50.jar Missing

2006-05-27 Thread [EMAIL PROTECTED]
Yes, mybad, I will add the jars. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947089#3947089 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947089 --- All the

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Transaction not Active excetion

2006-05-27 Thread bentins
Problem was in my own code. I had an exception on the transaction that was not rolledback so the connection had an uncleaned transaction on it. Since my other select was running on the same thread it got the same uncleaned connection with the transaction. View the original post :

[JBoss-user] [JBoss Seam] - Re: Seam and IntelliJ IDEA packing

2006-05-27 Thread alesj
I was thinking of zipping em up into a jar, putting that in the EAR, and naming it as a java module in application.xml Hmmm ... Since I believe you can only add ejb and web modules into ear module. And application.xml only excepts ejb and web tag inside module tag. So, I can add a new java

[JBoss-user] [JBoss Seam] - Re: Seam and IntelliJ IDEA packing

2006-05-27 Thread [EMAIL PROTECTED]
anonymous wrote : And application.xml only excepts ejb and web tag inside module tag. This is not correct. application.xml accepts java modules. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947092#3947092 Reply to the post :

[JBoss-user] [JBoss Seam] - Conversation ending issue

2006-05-27 Thread armita
Suppose I am in the middle of a conversation and I leave the page untouched longer than the conversation timeout, then when I click on a link wich calles a conversational bean it calles the bean and update the conversations last accessed time so the seam does not remove the conversation. In

[JBoss-user] [Security JAAS/JBoss] - getting the role name after form login

2006-05-27 Thread bezdomny
I apologize if this is dumb, but I'm sucessfully logging in with the DatabaseLoginModule, but now how do I get the name of the role? I want to display the role name on the web page. I know I can get the userid from request.getUserPrincipal().getName() but should I use this and is there

[JBoss-user] [Remoting] - ServerThread never dies

2006-05-27 Thread [EMAIL PROTECTED]
I'm hitting a scenario where a ServerThread never dies (the name of the thread is SocketServerInvokerThread-127.0.0.1). I saw the comments in this class talking about race conditions and a sync-block-within-a-sync-block. I may be hitting this. What are some of the things I should ensure that

[JBoss-user] [JBoss Portal] - jboss-portlet.xml transaction

2006-05-27 Thread robhedin
Hi! I'm running JBoss 4.0.3-sp1 + JBoss Portal 2.2.1 and things are coming along quite nicely. Very cool. However, I'm trying to find out what, if anything I should be doing with jboss-portlet.xml; right now I've basically got a cut paste from one of the examples. I have searched the

[JBoss-user] [JBoss Portal] - Portal With LDAP rquires Users in 2 places, LDAP and Portal

2006-05-27 Thread egandt
When using LDAP with JBoss Portal to authenicate users the user needs to exist in both the Portal DB (default authorization method), and also in the LDAP server. Why this is needed is my firect question and how can this be by-passed? The next issue is related and is that even when the admin

[JBoss-user] [JBoss jBPM] - Re: Expose process as webservice

2006-05-27 Thread kukeltje
Be creative. Anything with a java api can be exposed as a webservice (reason 1 there is no documentation). And indeed, a 'solution' is not proviced by jBPM (reason 2 there is no documentation), but if you look at the JbpmContext, you'll see lots of methods that can be used. View the original

[JBoss-user] [JBoss jBPM] - Re: Problems with jbpm-starters-lit

2006-05-27 Thread kukeltje
Your english is not to bad, but for us to be able to help you, you have to provide some additional errorlogging. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947100#3947100 Reply to the post :

[JBoss-user] [EJB 3.0] - Re: referencing session bean from servlet.

2006-05-27 Thread wauwau0977
hi jboss fulfills the latest sun spec, which changed the lookup. try this ctx.lookup(yourEJBProject/BeanName/remote|local); | regards, patrick heusser -- patrick heusser http://www.x8ing.com/fractal/ View the original post :

[JBoss-user] [JBoss Seam] - Seam can't see @Remove @Destroy method

2006-05-27 Thread superfis
Hi, What might be the reason of: [testng] java.lang.IllegalArgumentException: Stateful session bean component should have a method marked @Remove @Destroy: wizardStartAction |[testng] at org.jboss.seam.Component.checkDestroyMethod(Component.java:230) |[testng] at

[JBoss-user] [EJB 3.0] - Re: PersistenceContext and EntityManager

2006-05-27 Thread wauwau0977
hi hard to say what your mistake is. for me it works. see the trailblazer from jboss which is very helpful and up-to-date: http://trailblazer.demo.jboss.com/EJB3Trail/ the basic idea if you are using your own datasource is about that 1) code incetion: @PersistenceContext(unitName =

[JBoss-user] [JBoss Seam] - Re: Seam and IntelliJ IDEA packing

2006-05-27 Thread alesj
anonymous wrote : | This is not correct. application.xml accepts java modules. | Great. So how do I define them? Any thoughts why then IDEA doesn't support this in application.xml? anonymous wrote : | I was thinking of zipping em up into a jar, putting that in the EAR | How do you

[JBoss-user] [JBoss Seam] - Re: Conversation ending issue

2006-05-27 Thread [EMAIL PROTECTED]
huh? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947110#3947110 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947110 --- All the advantages of Linux Managed

[JBoss-user] [JBoss Seam] - Re: Seam can't see @Remove @Destroy method

2006-05-27 Thread [EMAIL PROTECTED]
Add the method to the local interface. Btw, SFSBs don't need to implement Serializable, that is implicit. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947111#3947111 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947111

[JBoss-user] [JBoss Seam] - Re: Seam and IntelliJ IDEA packing

2006-05-27 Thread [EMAIL PROTECTED]
There is an example of this in every single seam example: application | display-nameSeam Blog/display-name | | module | web | web-urijboss-seam-blog.war/web-uri | context-root/seam-blog/context-root | /web |

[JBoss-user] [Beginners Corner] - Problem with JRules-IDE Projekt

2006-05-27 Thread benders
Hello, I use Eclipse3.2RC6 und JRules-IDE3.0RC3. After creating a new JRules-Projekt I get some Errors in 'Sample.drl' : - message cannot be resolved - unable to create Field Extractor for 'message' - unable to create Field Extractor for 'status' Thanks Bernd Enders View the original post :

[JBoss-user] [JBossCache] - Distributed Transactions in Standalone Mode

2006-05-27 Thread u_arunkumar
Hi All, When used in the Standalone mode, does JBossCache support Distributed Transactions ? I am working on a prototype where I've 3-4 nodes using JBossCache. But I am running into issues when 2 clusters try to access the same Tree node. Although I've the access/update to the node wrapped

[JBoss-user] [JBoss Seam] - Re: Seam can't see @Remove @Destroy method

2006-05-27 Thread superfis
[EMAIL PROTECTED] wrote : Add the method to the local interface. It seems to be added correctly. Method exists in local interface all the time and recently it was working. [EMAIL PROTECTED] wrote : Btw, SFSBs don't need to implement Serializable, that is implicit. Thank you for information.

[JBoss-user] [JBoss Portal] - Re: Passing request paramter between page

2006-05-27 Thread IvanLatysh
Here you are trying to play with portal layout and it is something that you have no control over. Your boundry is a portlet window, you can play there as much as you like but you can't do anything outside of it. If you need to change page layout depending on user choice you should do it withing

[JBoss-user] [JBoss Portal] - handle lost password

2006-05-27 Thread hr_k
Hi Does anybody know how the Jboss portal is designed to handle a lost user password ? When a user is registered it is possible to type a secret answer, but I can not see how the admin can use this. Thanks View the original post :

[JBoss-user] [Security JAAS/JBoss] - ModelLoginModule vs DatabaseServerLoginModule

2006-05-27 Thread cpegwilliam
I am newbie of JBoss and Portal. Just installed JBoss 4.0.3 + Portal 2.2.1 + MySQL 4.1 I am trying DatabaseServerLoginModule in login-config.xml. | application-policy name = portal |authentication | login-module code =

[JBoss-user] [JBoss Seam] - Re: Seam and IntelliJ IDEA packing

2006-05-27 Thread alesj
| module | javajboss-seam.jar/java | /module | How to get IDEA to 'grab' this jar and pack it into ear? If I do it this way (although it looks that is works - is this 'correct' way to add resources to application) anonymous wrote : | So, I can add a new java module -

[JBoss-user] [EJB/JBoss] - Problem in redeploying .ear file

2006-05-27 Thread [EMAIL PROTECTED]
Hi, My application is webservice with ejb. I have created .ear file, i am getting the follwoing exception when i try to redeploy the .ear file in the second time. Thanks for helping. 2006-05-27 23:35:30,821 INFO [org.apache.catalina.loader.WebappClassLoader] Illegal access: this web

[JBoss-user] [EJB/JBoss] - NonReentrantLock problems with multithreaded MDB execution

2006-05-27 Thread lkowalczyk
The below description pertains to JBoss 3.2.7. We've encountered a strange reentrancy problem which we currently link to some glitch in the concurrent execution of session and entity beans from the onMessage method in our MDB bean. The MDB receives messages at a rate that forces JBoss to fire

[JBoss-user] [EJB/JBoss] - Re: NonReentrantLock problems with multithreaded MDB executi

2006-05-27 Thread lkowalczyk
I forgot to add that the MDB is managing its own transaction with UserTransaction and the NonReentrantLock exceptions say The same tx reentered. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947124#3947124 Reply to the post :

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Can't use EJB3 MDB to retrieve messages one by one.

2006-05-27 Thread bitl
mskonda wrote : use the Singleton configuration: | | | message-driven | | configuration-nameSingleton Message Driven Bean/configuration-name | | ejb-nameXARecovery2ResMDB/ejb-name | | destination-jndi-namequeue/@QUEUE_NAME@/destination-jndi-name |

[JBoss-user] [JBoss jBPM] - Actions and Tasks

2006-05-27 Thread haninaguib
I just started looking at jBPM and was wondering what is the difference between a task and an action. Also what is the difference between an action assigned to a node transition (event) and one assigned to a node's leave-node. Thanks, Hani View the original post :

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Autoincrement primary key in MySQL

2006-05-27 Thread urswag
I want to use autoincrement in MySQL. As a consequence I do not specify the primary key in the create method. As result I get an exception. The record is created in the database. Is this a bad concept what I do or shall I simply catch this exception? anonymous wrote : | | public

[JBoss-user] [EJB 3.0] - Is there any way to define derived entity class for database

2006-05-27 Thread bitl
Hello, all! Sounds easy but not appear so in practice... Let's say I have entity class User with @id Long id; and @Column String name;. And I have other table with user profile data. The columns: user_id, name, value. One of profile names is 'NICKNAME'. So to store nickname Brutt of user with

[JBoss-user] [JBoss Portal] - Internationalization

2006-05-27 Thread vanei.heidemann
From JBoss Portal documentation: The JBoss Portal framework and architecture includes the portal container and supports a wide range of features including standard portlets, single sign-on, clustering and internationalization. It isn't really true. I am trying to translate JBoss Portal to

[JBoss-user] [JBoss Seam] - Re: Hibernate Validator Issue in jboss-seam-1.0.0.CR3 on JBo

2006-05-27 Thread [EMAIL PROTECTED]
Here's the stack trace with the new syntax. BTW - it only fails when run against embedded-ejb, not in JBossAS 4.0.4-GA. [testng] DEBUG 27-05 15:39:44,156 (Configuration.java:secondPassCompile:1010) -processing collection mappings |[testng] DEBUG 27-05 15:39:44,156

[JBoss-user] [JBoss Seam] - Accessing Snnotations on Proxied Local Object

2006-05-27 Thread chane
I'm trying to access the annotations on a @In property (which is a SFSB) from another SFSB. However, the annotations do not appear to be accessible since the @In SFSB is proxied. Is there a way to access the annotations? Or should I go ask in another forum (pointers to the right one? I

[JBoss-user] [Security JAAS/JBoss] - Re: ModelLoginModule vs DatabaseServerLoginModule

2006-05-27 Thread [EMAIL PROTECTED]
If u post this in the portal user forum, there may be someone who can answer. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947133#3947133 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947133

[JBoss-user] [EJB 3.0] - Re: PersistenceContext and EntityManager

2006-05-27 Thread rmic
Thanks for your answer... I certainly missed something... The tutorial is really well done, but all they tell about using the entity manager is only that it should be preceded by the @PersistenceContext annotation. This is what my code looks like... | public class Mediastore implements

[JBoss-user] [JBoss Portal] - CMS access for any registered user.

2006-05-27 Thread johnpoole
How do I give users access to the cms functionality? Is there a way to do it through the management console? I've looked through the docs, and it seems to work like Tomcat security, but I haven't been able to find a web.xml file where I can just change the role name. I'm using JBoss AS 4.0.3

[JBoss-user] [Security JAAS/JBoss] - Re: getting the role name after form login

2006-05-27 Thread j2ee_junkie
Bob, It is O.K. to use request.getUserPrincipal to get your userid. However, there is no Java EE standard for getting the user's role. You can ask if the user is in a certain role using request.isUserInRole(). JBoss does offer the ability to get to the authenticated Subject via a JNDI

[JBoss-user] [Security JAAS/JBoss] - Re: getting the role name after form login

2006-05-27 Thread [EMAIL PROTECTED]
There is a JBoss specific way of doing this. | //Get the Authenticated Subject | Subject subject = (Subject) PolicyContext.getContext(javax.security.auth.Subject.container); | | //Now look for a Group called Roles | Set principals = subject.getPrincipals(Principal.class); | Iterator

[JBoss-user] [EJB 3.0] - Re: Migration 4.0.4.CR2 - 4.0.4.GA problem

2006-05-27 Thread prabhumadanagopal
I don't find @IndexColum in Java EE API. I need to fetch eager and use List for @OneToMany. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947135#3947135 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947135

[JBoss-user] [JBoss Seam] - Re: Hibernate Validator Issue in jboss-seam-1.0.0.CR3 on JBo

2006-05-27 Thread [EMAIL PROTECTED]
Also, the entire seam-shell project can be found at: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSEAMShellProject. I posted it there, but I've commented out the offending annotations in org.jboss.seam.example.registration.User.java. James View the original post :

[JBoss-user] [Security JAAS/JBoss] - Re: Autentication through Java client for JAAS failing

2006-05-27 Thread j2ee_junkie
Krishna, You forgot to set the security protocol property. See http://wiki.jboss.org/wiki/Wiki.jsp?page=LoginInitialContextFactory for details cgriffith View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947139#3947139 Reply to the post :

[JBoss-user] [EJB 3.0] - Re: Migration 4.0.4.CR2 - 4.0.4.GA problem

2006-05-27 Thread [EMAIL PROTECTED]
@IndexColumn never existed in Java EE API. It is a hibernate annotations thing. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947137#3947137 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947137

[JBoss-user] [EJB 3.0] - Re: OneToMany fetchtype eager.

2006-05-27 Thread prabhumadanagopal
I have the same problem. My question is where is @IndexColumn? not in JEE API View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947140#3947140 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947140

[JBoss-user] [Security JAAS/JBoss] - Re: getting the role name after form login

2006-05-27 Thread bezdomny
Thanks so much for the replies. I'll try them out asap. B View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947146#3947146 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947146

[JBoss-user] [EJB 3.0] - Re: referencing session bean from servlet.

2006-05-27 Thread DoubleDenim
thanks for that. When you say yourEjbProject, do you mean the package path? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947147#3947147 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947147

[JBoss-user] [JBoss Seam] - Re: Accessing Snnotations on Proxied Local Object

2006-05-27 Thread [EMAIL PROTECTED]
Try using Component.forName(...).getBeanClass() View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947148#3947148 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947148

[JBoss-user] [JBoss Portal] - DatabaseServerLoginModule

2006-05-27 Thread cpegwilliam
I am newbie of JBoss and Portal. Just installed JBoss 4.0.3 + Portal 2.2.1 + MySQL 4.1 I am trying DatabaseServerLoginModule in login-config.xml. | application-policy name = portal |authentication | login-module code =

[JBoss-user] [EJB 3.0] - Circular @EJB annotation can not deploy.

2006-05-27 Thread supernovasoftware.com
I am using the GenericDAO pattern so each entity has its own DAO. I am using @EJB throughout my SLSBs. When I upgraded to 4.0.4.GA from 4.0.4.CR2 any beans that had a circular reference fail to deploy. If A injects B and B injects A I cannot deploy. I wondered if this would cause a problem

[JBoss-user] [Remoting] - Re: Remoting using Http over a singel port

2006-05-27 Thread [EMAIL PROTECTED]
Have added a jira issue for using host name as is within InvokerLocator instead of automatically converting to an IP value - http://jira.jboss.com/jira/browse/JBREM-497. However, this is an issue with the equals() method in that should an InvokerLocator with an initial uri of

[JBoss-user] [EJB 3.0] - Re: referencing session bean from servlet.

2006-05-27 Thread DoubleDenim
I've tried the following. ctx.lookup(ejb/Session/remote); and get ejb not bound ctx.lookup(Session/remote); and get Session not bound What is the correct syntax for this? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947153#3947153 Reply to the

[JBoss-user] [JBoss Seam] - Re: Injection via abstract getters

2006-05-27 Thread CptnKirk
The problem is that EJBs can't be abstract. That's an EJB requirement, not a Seam choice. Since Seam deals primarily in EJBs, Gavin can't help you much here. Seam does support non EJB POJOs, however I wouldn't think the semantics of the framework should change to support abstract JavaBean

[JBoss-user] [JBoss Seam] - Re: Injection via abstract getters

2006-05-27 Thread [EMAIL PROTECTED]
Note that I am also in priciple against the idea of writing components in terms of abstract classes, since it is significantly more difficult to unit test them (not impossible, but certainly more difficult). View the original post :

[JBoss-user] [Security JAAS/JBoss] - Re: getting the role name after form login

2006-05-27 Thread [EMAIL PROTECTED]
With a recent use of the JBossGenericPrincipal as the holder of the roles, I am unsure if my earlier approach holds good. If JGP is the answer, then you will need a custom valve to get hold of the JGP from the catalina request object. View the original post :

[JBoss-user] [Security JAAS/JBoss] - Re: getting the role name after form login

2006-05-27 Thread bezdomny
This code seems to work: private void findRole() throws PolicyContextException { // Get the Authenticated Subject Subject subject = (Subject) PolicyContext.getContext(javax.security.auth.Subject.container); //Now look for a Group called Roles Set principals

[JBoss-user] [EJB 3.0] - Performance EJB2 v EJB3

2006-05-27 Thread ihunter
My work project is very hot on performance issues and we've implemented it using 2.1. I want to identify whether a 3.0 solution will help in this regard I've just spiked out a subset using EJB3 to do a speed comparison, and this indicates that EJB3 is slower than the EJB2 across all tests. Is