[jboss-user] [EJB/JBoss] - java.lang.ClassCastException

2007-04-22 Thread nsqsmile
Hi ,All In JSC 2.1 , web call Ejb's method, run fine on sun appserver 8.2,but happend error on jboss 4.0.2,as follows: == 2007-04-11 21:04:12,093 ERROR

[jboss-user] [JBoss Seam] - HELP! get exception when add @Restrict(

2007-04-22 Thread yadong
When I add @Restrict(#(identity.loggedIn)) to an Action (session bean) in class level, it throws exception when it is called. @Stateful @Scope(ScopeType.SESSION) @Name(testAction) @Restrict(#(identity.loggedIn)) public class TestAction implements Testing { ... public String getName(){

[jboss-user] [JBoss Seam] - Re: Seam saying Datamodel saying row is Unavailable... WHY??

2007-04-22 Thread [EMAIL PROTECTED]
| Caused by: java.lang.IllegalArgumentException: row is unavailable | at org.jboss.seam.jsf.SetDataModel.getRowData(SetDataModel.java:56) | at org.jboss.seam.databinding.DataModelBinder.getSelection(DataModelBinder.java:69) | at

[jboss-user] [JBoss Seam] - Re: Seam saying Datamodel saying row is Unavailable... WHY??

2007-04-22 Thread [EMAIL PROTECTED]
This blows up when the first row is attempted to be added. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039585#4039585 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039585 ___

[jboss-user] [JBoss Seam] - Re: HowTo: When going to a page to enter data, pull from db

2007-04-22 Thread [EMAIL PROTECTED]
CptnKirk wrote : | For example I don't think I'd recommend using a Home to populate a search prototype. For search pages, an entity with an event scoped role combined with Hibernate's Criteria API + Example criterion is great. | I prefer exactly the opposite, with a Search conversation

[jboss-user] [JBoss Seam] - Re: Seam saying Datamodel saying row is Unavailable... WHY??

2007-04-22 Thread [EMAIL PROTECTED]
On the basis that JSF+Seam is rather weired in places I did this | // Create the default set of Keywords (empty). | keywordsSet =null; // = new LinkedHashSetKeyword(); | | | | | and this | | | | | | | public void addKeyword() { | | |

[jboss-user] [JBoss Seam] - Re: Seam saying Datamodel saying row is Unavailable... WHY??

2007-04-22 Thread [EMAIL PROTECTED]
The plot thickens.. I now get only one element displayed in the data table and this error: | 19:31:37,859 ERROR [HtmlTableRendererBase] Row is not available. Rowindex = 1 | | public void addKeyword() { | Keyword newKeyword = new Keyword(); |

[jboss-user] [JBoss Seam] - Re: Seam saying Datamodel saying row is Unavailable... WHY??

2007-04-22 Thread [EMAIL PROTECTED]
Ok, I got it working by adding PAGE to the Models (No I have no idea why I needed to !) | @DataModel(value=displayableCategoryDatamodel, scope=ScopeType.PAGE) | private LinkedHashSetDisplayableCategory displayableCategorySet; | |

[jboss-user] [JBoss Seam] - Re: Ending multiple nested conversations?

2007-04-22 Thread [EMAIL PROTECTED]
Here is my solution: Add this method to org.jboss.seam.core.Manager |/** | * End a conversation together with all nested conversations. The | * conversation passed in cid will be destroyed at the end of the | * request while the nested conversations are destroyed

[jboss-user] [JBoss Seam] - Re: HELP! get exception when add @Restrict(

2007-04-22 Thread [EMAIL PROTECTED]
use @Restrict(#{identity.loggedIn}) { instead of ( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039594#4039594 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039594 ___

[jboss-user] [JBoss Seam] - Single row selection using a radio button

2007-04-22 Thread ejbengine
Is this easily achievable with SEAM? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039596#4039596 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039596 ___ jboss-user mailing

[jboss-user] [Clustering/JBoss] - Re: Wrong targets come to LoadBalancePolicy

2007-04-22 Thread kkrivopustov
You are right, I lookup a new reference of the bean on each iteration. If I use the same reference, it works as expected. Thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039597#4039597 Reply to the post :

[jboss-user] [JBoss Seam] - Re: How to develop my first web app with seam, without EJB, wi

2007-04-22 Thread [EMAIL PROTECTED]
anonymous wrote : | I used the seam command to generate a project,but i think the folder structure is too bad,so i change the todo example to project login: | Well, obviously the problem is here. Did the seam-gen produced project work? If yes, don't change it just because you don't like

[jboss-user] [JBoss Seam] - Re: Is there an easy way to create a pulldown with all avail

2007-04-22 Thread zzztimbo
petemuir wrote : http://docs.jboss.com/seam/1.2.1.GA/reference/en/html/i18n.html#d0e7314 I'm sorry, but I already looked there. That one paragraph on timezone does not speak of creating a pull down of all available timezones. I'm looking for a way to display the results of

[jboss-user] [JBoss Seam] - Re: Ending multiple nested conversations?

2007-04-22 Thread [EMAIL PROTECTED]
Actually it's better to use the instance methods |/** | * End a conversation together with all nested conversations. The | * conversation passed in cid will be destroyed at the end of the | * request while the nested conversations are destroyed immediately. | * |

[jboss-user] [JBoss Eclipse IDE (users)] - xdoclet.modules.ejb.EjbDocletTask not found in nerw JBoss ID

2007-04-22 Thread jdriver
I've installed JBoss IDE 1.6 and am running the tutorial http://docs.jboss.com/jbosside/tutorial/build/en/html/tutorial.preparation.html I create the project but when I try to build aznd run after creating the xdcolet I get: BUILD FAILED /home/jboss/workspace/Tutorial/xdoclet-build.xml:20:

[jboss-user] [JBoss Seam] - How to develop my first web app with seam, without EJB, withou

2007-04-22 Thread Theface
Hi,all. can you help me to develop my first web app,with seam,but without EJB and any DataBase(or called Datasource),Thanks very much at first. I used the seam command to generate a project,but i think the folder structure is too bad,so i change the todo example to project login: login -src

[jboss-user] [JBoss Seam] - Re: HELP! get exception when add @Restrict(

2007-04-22 Thread yadong
thanks a lot! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039610#4039610 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039610 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: How to develop my first web app with seam, without EJB, wi

2007-04-22 Thread Theface
Thanks to your post at first. I am sorry.I have no spell out. When i generate a project use seam-gen.It can but deploy to JBoss AS,ant it work fine.but this project has many file,so i did some change with the todo example. and the old style of components.xml is: todo.jpdl.xml

[jboss-user] [EJB 3.0] - Create timer -

2007-04-22 Thread obfuscator
Hi! I've got the following error using both 4.0.5.GA and 4.2.0.CR2. This used to work on 4.0.4.GA, but I needed to switch to 4.0.5 because I wanted more EJB3 functionality... I have a @Service-EJB that implements a management-interface with a start()-method. When start() is called, this bean

[jboss-user] [JBoss Portal] - [SOLVED]

2007-04-22 Thread FredF
I fixed the problem by referencing the portlet with a correct path. I had to use 'local.web-app.portletreferencename' and not just 'portletreferencename' /Fredrik View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039606#4039606 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Create timer -

2007-04-22 Thread obfuscator
Oh, forgot the actual code... :) | this.context.getTimerService().createTimer(this.maintainenceIntervalMillis, | this.maintainenceIntervalMillis, | null); View the original post :

[jboss-user] [EJB 3.0] - Re: 10,000 Recorc Per Second (In EJB 3.0)

2007-04-22 Thread snau2005
anonymous wrote : and into my stateless sessionbean i have created 10 Threads | | but i got an error like this | | entityManager.persist(usageObject); // this is ThreadMy.java:81 | | how i can fix it ? | can anybody tell me ? | Do not use in Threads main entity manager, call

[jboss-user] [JBoss Seam] - Validating entity properties that don't get persisted?

2007-04-22 Thread grettke_spdr
Say that we've got an entity with some fields that would never get persisted. (for example, we take a credit card number and use it for a purcase). Still, we need to validate it. In cases like this is it better to use Hibernate validators on fields that are not persisted, or just use a JSF

[jboss-user] [JBoss Seam] - Seam v1.2.1 examples question

2007-04-22 Thread suryad
Hi all, I am very very new to Seam but it is a heck of a framework! I had a quick question. I am using Tomcat 6.0 to run the examples and it is working fine. I figured out the classloader issue with the el-api.jar and besides that everything is working fine. I had a question though. I

[jboss-user] [Clustering/JBoss] - Re: Wrong targets come to LoadBalancePolicy

2007-04-22 Thread [EMAIL PROTECTED]
No, thank you. :-) It's still a bug -- it should work even if you look it up each time. But the fact that it only fails if you look it up each time helps narrow down the problem a lot -- the bean proxy that you download from JNDI isn't getting properly updated when the bean is deployed on

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

2007-04-22 Thread sheila lety
This is for windows, how can i install on redhat entreprise edition? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039614#4039614 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039614

[jboss-user] [JBoss Seam] - Re: Validating entity properties that don't get persisted?

2007-04-22 Thread [EMAIL PROTECTED]
Why wouldn't you use Hibernate Validator annotations for that? Because the word Hibernate appears in the name? :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039615#4039615 Reply to the post :

[jboss-user] [Clustering/JBoss] - Re: Wrong targets come to LoadBalancePolicy

2007-04-22 Thread [EMAIL PROTECTED]
I've reproduced this in a test case. JIRA is http://jira.jboss.com/jira/browse/EJBTHREE-949. Thanks very much for the report. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039616#4039616 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1

2007-04-22 Thread stu2
[EMAIL PROTECTED] wrote : This might be useful for people migration from MyFaces to the JSF RI: | | The default content type for a page is application/xhtml+xml with the JSF RI and Facelets, not text/html as with MyFaces. If you have existing content that is not strict XHTML (and it seems

[jboss-user] [JBoss Seam] - Re: HowTo: When going to a page to enter data, pull from db

2007-04-22 Thread petemuir
CptnKirk wrote : One down side to using EntityHome for generic crud is lack of built in security. http://jira.jboss.com/jira/browse/JBSEAM-1224 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039618#4039618 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Single row selection using a radio button

2007-04-22 Thread petemuir
Not with Seam itself, but some jsf component sets have this, e.g. trinidad's tr:table with the selectedRowKeys property. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039620#4039620 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Is there an easy way to create a pulldown with all avail

2007-04-22 Thread petemuir
Please file a feature request in JIRA for this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039621#4039621 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039621 ___ jboss-user

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

2007-04-22 Thread petemuir
Are there any normal (data) rows rendered? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039622#4039622 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039622 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: Seam v1.2.1 examples question

2007-04-22 Thread petemuir
Yes, it's hsql. Follow the instructions in the hibernate entitymanager/hibernate core reference manual for changing the database to another. N.B. seam-gen asks you questions about your database when you create a project View the original post :

[jboss-user] [JBoss Portal] - Re: [SOLVED]

2007-04-22 Thread [EMAIL PROTECTED]
A more correct way would be to browse the portlets offered by the PortletInvoker and recognize your portlet using the display name and use as reference the string returned by Portlet.getContext().getId() FredF wrote : I fixed the problem by referencing the portlet with a correct path. I had to

[jboss-user] [JBoss Seam] - Re: Seam v1.2.1 examples question

2007-04-22 Thread suryad
Thanks! I was not using seam-gen as of yet to create the projects. For now so I can understand better I am trying to recreate the hello world example from scratch by myself and see if I can get it up and running. My thought is that this way I would be better able to understand the configuration

[jboss-user] [JBoss Seam] - jboss-app.xml and its uses with regards to seam

2007-04-22 Thread suryad
Hey all, Once again, I am pretty new to Seam and I am just barely scratching the surface right now. I am running Seam example successfuly with Tomcat 6 at the moment. My understanding is that jboss-app.xml file is only used for when you are deploying the app to a Jboss AS correct? But

[jboss-user] [JBoss Seam] - Re: What is the difference between EJB and POJO transactions

2007-04-22 Thread grettke_spdr
[EMAIL PROTECTED] wrote : Also note that system transactions and conversations are not related in a Seam application. These are independent contexts with a quite different scope. System transactions are short, conversations are potentially long-running and spanning several requests. |

[jboss-user] [JBoss Seam] - Re: Validating entity properties that don't get persisted?

2007-04-22 Thread grettke_spdr
[EMAIL PROTECTED] wrote : Why wouldn't you use Hibernate Validator annotations for that? Because the word Hibernate appears in the name? :) | Yea yea :) The Seam book I'm reading covers this topic. I suspect they reviewed just to communicate that you can indeed use JSF validations if you

[jboss-user] [JBoss Seam] - Re: What is the difference between EJB and POJO transactions

2007-04-22 Thread [EMAIL PROTECTED]
It's not the default behavior. The default behavior is to flush a persistence context (translation: dirty check objects, generate and execute SQL DML) when a transaction commits. If you use Hibernate as your JPA provider, you can enable FlushModeType.MANUAL when you begin a conversation, so

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

2007-04-22 Thread [EMAIL PROTECTED]
Yes they area. and I have another few dataTables and they seem to render fine (finally!). Its really weired. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039634#4039634 Reply to the post :

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

2007-04-22 Thread [EMAIL PROTECTED]
This on is annoying but this one is going to be emabarassing if I dont get it fixed in 2 days.. we may end up going PHP! Appreciate any comment on this one: http://www.jboss.com/index.html?module=bbop=viewtopict=107010 View the original post :

[jboss-user] [JBoss Seam] - Re: jboss-app.xml and its uses with regards to seam

2007-04-22 Thread petemuir
jboss-app.xml is just for use on JBoss AS. We use it to tell AS to isolate classloading for this ear. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039636#4039636 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039636

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to address relationship between three tables in Hibernat

2007-04-22 Thread nasatjboss
Here is the schema: Table: Organization Table: Member Table: Role Join Table: Organization_Member Join Table: Organization_member_Role A member can belong to N number of Organization and for each organization the member can have more then one Role I need to know what what kind of relation

[jboss-user] [JBoss Seam] - Re: Seam saying Datamodel saying row is Unavailable... WHY??

2007-04-22 Thread petemuir
On your original problem - it's hard to suggest a solution based on the info available (not your fault, you've supplied everything available) without using a debugger - it could be due to having two datamodels in the same bean - have you tried with just one? Otherwise, get your debugger out

[jboss-user] [JBoss Seam] - Re: Seam v1.2.1 examples question

2007-04-22 Thread petemuir
persistence.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039641#4039641 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039641 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Seam saying Datamodel saying row is Unavailable... WHY??

2007-04-22 Thread [EMAIL PROTECTED]
I have been fiddling a lot with teh debugger... Its a lot of code to go through and I am under a massive amount of pressure on tim (Like YOUR time is not valuable!). If someone knows what to look for I can supply some SVN credentials. View the original post :

[jboss-user] [JBoss Seam] - Re: Seam saying Datamodel saying row is Unavailable... WHY??

2007-04-22 Thread petemuir
Put a breakpoint on line 1247 of Component.java; what is the value of the name parameter when it blows up (it will probably run this method more than once, I need the last one before it blows up) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039643#4039643

[jboss-user] [JBoss Seam] - Do Hibernate Validators work when the JPA provider is not Hi

2007-04-22 Thread grettke_spdr
Do Hibernate Validators work when the JPA provider is not Hibernate? I assume that they do work regardless of the JPA provider, but you know where that usually gets you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039644#4039644 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam saying Datamodel saying row is Unavailable... WHY??

2007-04-22 Thread [EMAIL PROTECTED]
I will do that when I get back home tonight I am at my OTHER full time job today. I wore the mouse button out last time I debugged through trying to step through the code... It seems to call certain routines a LOT of times. View the original post :

[jboss-user] [JBoss Seam] - Disable butons till the screen renders

2007-04-22 Thread [EMAIL PROTECTED]
How do I disable all buttons and links before the whole page has rendered? When the page renders; if I get in there and press a button before the page has completely rendered I get Seam to crash. 100% every time! View the original post :

[jboss-user] [JBoss Seam] - Re: Conversation Id in custom servlet

2007-04-22 Thread dustismo
Yes, I am using the context filter (I am able to access seam components in the servlet). I believe that my conversation id is 'cid' but I tried that as well with the same results. The conversations do not persist beyond the servlet access (i.e. there are not 20 extra conversations listed on

[jboss-user] [Beginners Corner] - Re: Getting error while migrating from Jboss3.2.7 to Jboss 4

2007-04-22 Thread Sami Java Architect
http://www.programmingtutorials.com/ForumPostRead.aspx?fid=3pid=3590 www.java2oracle.com www.taragroup.ir/AboutTARA.aspx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039650#4039650 Reply to the post :

[jboss-user] [Beginners Corner] - Re: Email Service in JBoss

2007-04-22 Thread Sami Java Architect
PERSONAL INFORMATION Name Amirsam Bahador E-Mail [EMAIL PROTECTED] Web Site www.Java2Oracle.com Phone (+9821) 88803001 , 88907802 Cell Phone (+98912) 1106182 Address Pasdaran / Iran / Tehran BD 13 Sep 1986 PRIVATE INFORMATION Sport Tennis Game CS , General , Age Of Empires II CERTIFICATES Sun

[jboss-user] [JBossWS] - Re: String[] with SOAP... Please help me!

2007-04-22 Thread chui
Well, Thomas... I did what you told me, but I have no results =/ I had a look at the source of JBWS632 in testsuite, I have almost the same things. Here are the differences: - The test's WSDL has its own namespaces and uses an import tag inside the schema. The namespaces I use are

[jboss-user] [JBoss Seam] - Re: Conversation Id in custom servlet

2007-04-22 Thread [EMAIL PROTECTED]
You could set a breakpoint in Manager.restoreConversation() and see if your conversation ID is in fact a) in the parameter list and b) has a correctly named parameter (should be equal to whatever Manager.conversationIdParameter is set to). View the original post :

[jboss-user] [JBoss Seam] - Re: Disable butons till the screen renders

2007-04-22 Thread [EMAIL PROTECTED]
Perhaps I could avoid the problem if we can delay sending the response till Seam has completely rendered the response? - Is this possible instead? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039657#4039657 Reply to the post :

[jboss-user] [JBoss Seam] - Re: HowTo: When going to a page to enter data, pull from db

2007-04-22 Thread CptnKirk
[EMAIL PROTECTED] wrote : I prefer exactly the opposite, with a Search conversation scoped component that holds my prototype entity during the search conversation. Gives me a lot of control over what the user can select on the search screen and how I handle this in the backend: I really like

[jboss-user] [JBoss Seam] - Re: Disable butons till the screen renders

2007-04-22 Thread CptnKirk
You might be able to set the default Facelet or JSP flush size to something large enough to keep everything in memory until your entire paged had finished rendering. However you apparently have large pages that take a long time to render, so it's probably not desirable to do this. If you're

[jboss-user] [JBoss Seam] - Re: Disable butons till the screen renders

2007-04-22 Thread [EMAIL PROTECTED]
Perhaps I can explain why it takes so long to render (although if you had a busy server you could get it for any site... anyhow!). I have a main screen (Wizard) that has about 7 steps you have to do. I was required to go free flight mode in that any step of the wizard could be done at any

[jboss-user] [JBoss Seam] - Re: Disable butons till the screen renders

2007-04-22 Thread [EMAIL PROTECTED]
Thanks for the suggestion CptnKirk. The more suggestions the merrier. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039661#4039661 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039661

[jboss-user] [JBoss Seam] - Re: Disable butons till the screen renders

2007-04-22 Thread [EMAIL PROTECTED]
If you want to see the problem hop over to http://gaming.homeip.net:8080/clickstream go to set up an advertising campaign and click ANY steps on the left hand side. While the page is still rendering click any of the buttons that comes up... you get (something like):

[jboss-user] [JBoss Messaging] - Re: Too many open files

2007-04-22 Thread Hoffman462
I have seen this in the past as well. The problem for us was not related to Jboss at that time. It occurred on a Linux Box, running the 2.4 Kernel. Our work around was: 1) Become root 2) Execute ulimit -n 8192 This may also be any other large number. The total number of open file handles

[jboss-user] [Messaging, JMS JBossMQ] - Re: org.jboss.mq.SpyJMSException: Cannot send a message to t

2007-04-22 Thread Hoffman462
Hi , very similar results on our JMS databases during high loads. The JMS database typically runs fine under normal times. We actually use MySQL for our JMS database; and see the same: Cannot send a message to the JMS server / SpyJMSExcetion. Did you find any work around for PostreSQL? View

[jboss-user] [JNDI/Naming/Network] - JNDI Lookup issue

2007-04-22 Thread wspiteri
I have deployed a new EAR application to both Jboss AS version 5.0.0 Beta2 and 4.0.GA and I am getting a Connection Exception thrown (see below) when the web application is starting up. 2007-04-23 11:10:31,592 ERROR [org.springframework.web.context.ContextLoader] Context initialization

[jboss-user] [JBoss Portal] - Failing to login using LDAP UserModule

2007-04-22 Thread maph2880
I am trying to configure LDAP for jboss portal BETA1. I am attempting to login but the site returns a generic login exception when using valid credentials. There are no exceptions generated in the log. I have configured per the instructions at..

[jboss-user] [JBoss Seam] - Can not persist EJB3 Timer since Jboss 4.2.0cr2 + seam from

2007-04-22 Thread gena777
Hi, while i'm trying to persist one start and one end timer, i get following exception. Some details on the unit of work: I persist my object (object graph) at the end of long running conversation with extended persistent context. Then i do em.flash() and (if all succeeded) i wish to schedule

[jboss-user] [Security JAAS/JBoss] - Re: JAAS integration w/ 3rd party webservice stack

2007-04-22 Thread sim-smith
Hi saspad, I think that the answer is in fact even easier, using standard JAAS: LoginContext loginContext = new LoginContext(JAAS_MODULE_NAME, new UsernamePasswordHandler(username, passwordCharArray)); loginContext.login(); try { // Do stuff here... } finally { loginContext.logout(); }

[jboss-user] [JBoss Seam] - Re: Do Hibernate Validators work when the JPA provider is no

2007-04-22 Thread thejavafreak
Why don't you try it out first. If it succeeds, you can share with the others here View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039669#4039669 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039669

[jboss-user] [Beginners Corner] - Http 500 Internal Server Error

2007-04-22 Thread calsonli
Could anyone provides me some solution? I encountered HTTP 500 internal server error while testing a jsp that forwards to an error page whenever user inputs a wrong data type on a web form to sum 2 inputted numbers.The application server version I am using is JBoss 4.0.5.GA application

[jboss-user] [JBoss jBPM] - Re: Make a

2007-04-22 Thread Light_Stalker
This notion have appears in my mind in 2005,but unfortunatelly I have no idea untill now,Sorry! And the Jbpm is still not a product untill it include another two tools: custom process and custom form,both of the tools based on web,that means design by b/s schema. this's mac from china:) My

[jboss-user] [JBoss Seam] - Re: HowTo: When going to a page to enter data, pull from db

2007-04-22 Thread [EMAIL PROTECTED]
The code I've posted can be found in Seam CVS, examples/wiki/. It's not trivial to set up (readme.txt) but it's almost alpha stage now :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039673#4039673 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: questions about GPD

2007-04-22 Thread Light_Stalker
I've got this notion in 2005,i try to read about the source of GPD ,it's really tough to me because i am not familure with the eclipse plugin. My idea transmit the gpd to some application base on swing such thing,May be this's difficulty,anyone can give some idea to me?:) May be we could make

[jboss-user] [JBoss jBPM] - Re: jBPM books

2007-04-22 Thread Light_Stalker
Tutorial-like book would be popular just like the tutorial on SUN's site .But i hope the book would be talk about the detail of JBPM,not simply to teach pupil how to use JBPM,I have read about all the document this site contain,I want more:)not only a developer want but a designer want. View

[jboss-user] [JBoss Seam] - Re: Disable butons till the screen renders

2007-04-22 Thread [EMAIL PROTECTED]
Caused by: org.jboss.seam.NoConversationException: no long-running conversation for @Conversational bean: advertisingCampaignController So my guess would be that the conversation id is not propagated into the click. Don't know exactly why that would happen. I also recommend that you turn off

[jboss-user] [JBoss Seam] - Re: Disable butons till the screen renders

2007-04-22 Thread [EMAIL PROTECTED]
There are a LOT of other exceptions before the one listed on the screen. I will try your suggestion and hope it works... Now need to RTFM to find out how! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039678#4039678 Reply to the post :

[jboss-user] [JBoss Seam] - Seam src on SVN

2007-04-22 Thread thejavafreak
Dear all, I saw last time on JIRA that Seam will move to SVN. When will this be implemented? I think it's a good thing for me if Seam move to SVN repository, since I can not connect to CVS repo because my office block the CVS from the proxy. Thanks in advance View the original post :

[jboss-user] [JBoss Seam] - orm.xml causes No active session context

2007-04-22 Thread liudan2005
I have a java SWT client that accesses my ejb remotely. If orm.xml is packed into my ejb.jar, I keep getting No active session context when trying to access my ejb method remotely. | Caused by: java.lang.IllegalStateException: No active session context | at

[jboss-user] [JBoss Seam] - Re: orm.xml causes No active session context

2007-04-22 Thread liudan2005
Sorry I should say it's cause by EntitySecurityListener, Here is my content in orm.xml | ?xml version=1.0 encoding=UTF-8? | entity-mappings xmlns=http://java.sun.com/xml/ns/persistence/orm; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; |

[jboss-user] [EJB 3.0] - Re: @SerializedConcurrentAccess not preventing concurrent ac

2007-04-22 Thread vkaushik_610
I want to know about the performance hit of this flag : @SerializedConcurrentAccess Regards Vinay View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039683#4039683 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039683

[jboss-user] [JBoss jBPM] - Re:

2007-04-22 Thread vtysh
You should write assignment handler for a task node. Try to use some variable in contextInstance to store name of necessary actorId for handled task. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039684#4039684 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam src on SVN

2007-04-22 Thread [EMAIL PROTECTED]
We are hanging out for this to happen also. I think someone from JBoss IT recently said they'd be working on it, but I haven't heard anything else. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039685#4039685 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - Re: JNDI Lookup issue

2007-04-22 Thread jaikiran
Try adding the jndi environment details to the configuration file: | bean | .. | property name=jndiEnvironment | props | !-- JBoss JNDI environment entries -- | prop key=java.naming.factory.initialorg.jnp.interfaces.NamingContextFactory/prop |

[jboss-user] [Beginners Corner] - Re: Http 500 Internal Server Error

2007-04-22 Thread jaikiran
You will have to look at the server.log (in %JBOSS_HOME%/server/default/log folder) file to see if any exceptions are being thrown. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039688#4039688 Reply to the post :

[jboss-user] [Beginners Corner] - Re: SINGLE ejb jar deploy gives NoClassDefFoundError!

2007-04-22 Thread jaikiran
You will have provide more details about your application and also the exception stacktrace that you are seeing View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039689#4039689 Reply to the post :

[jboss-user] [Installation, Configuration Deployment] - Re: packaging a war file with struts 1.3.8 for jboss 4.0.4

2007-04-22 Thread jaikiran
anonymous wrote : and also copy commons-logging file from server jboss Dont maintain any commons-logging file in your application. Its already present in the JBoss' lib folder and will be picked up for your application. View the original post :

[jboss-user] [EJB/JBoss] - Re: java.lang.ClassCastException

2007-04-22 Thread jaikiran
Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions. Specifically, the jmx-console method mentioned over there View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039692#4039692 Reply to the post :