[jboss-user] [JBoss Tools (users)] - EJB3 Support
hi, i'm disappointed with the removal of the EJB3 project/component creation module, on the latest version. on JBossIDE-Beta2, it was included and i don't understand the reason why you have dropped it. can i know what's going on pls ? thanks Tyronne Wickramarathne View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081561#4081561 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081561 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: hibernate validator: how to access seam component
Thank you. There is one more question about the validation: In my case, I have to access another property of the same bean from validator's isValid() method. The extra information about bean avaliable for Validator is only hibernate mappings. Is any way to obtain bean's instance being validated in hibernate validator ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081560#4081560 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081560 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: basic JNDI beginners problems - cant do look up from app
hi will! the java: namespace implies (or better specifies) the namespace only available in the same jvm. so for remote access all name bindings have to be in the global namespace unless you're using a facade to do the jobs for your client. hope this helps. regards /sandor/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081558#4081558 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081558 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Facelets EL functions do not work
we'd the same issue in the past, downgrading jboss fixed it same goes for upgrading seam version View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081557#4081557 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: wrong application.xml file within Seam registration exam
Could u please give more details & reason? noted that some example put jboss-seam.jar in java module, some example put in ejb module, I tried both in Jboss4.2.1GA with Seam2 Beta1, no error happened. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081555#4081555 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081555 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Does project EL work in Seam?
Of course a syntax error View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081554#4081554 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081554 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: magic ant build?
What Peter implicitly meant is that you don't have to understand how it works under the hood, those scripts are only used to build our stuff. If you are worried about building your own portlets, you can use anything you want (anything that builds a war will do it, call it ant, call it maven, call it eclipse WTP...) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081552#4081552 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081552 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: does seam ignore generics in lists?
You need to use a converter. If you are using entities you can use like so: | | | | | otherwise you have to write your own, I think seam comes with an example of how to do this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081550#4081550 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081550 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Log4j with Swing components !
Hi all! Iam a begginer with JBoss. I use anonymous wrote : jboss-4.0.5.GA and EJB3.0 I read about Log4j and know that Log4j can support to output some messages to Swing components. Please guide to me or show me some documents about this problem. Thanks very much. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081549#4081549 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081549 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: No Transaction! please help
any idea? :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081548#4081548 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081548 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem with Authenticator
ok but why I get IllegalArgumentException: "No transaction" when I call entityManager? I also tried to call entityManager.getTransaction().begin and I get new exception "java.lang.IllegalStateException: JTA EntityManager cannot access a transactions" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081546#4081546 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081546 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - JMS Queue problem
I have a JMS Queue in My jboss. Now from my standalone Java class I send message (in the XML format )to the queue. As queue is used for P2P communication.So there should be a dedicated listener to that queue to get the message. But my problem is little bit of different. If I have more than 2 listeners to that Queue, Can It be possible to send the message to a particular Listener Based on the Message Content? If possible how I can achieve it ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081541#4081541 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081541 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - JMS Queue problem
I have a JMS Queue in My jboss. Now from my standalone Java class I send message (in the XML format )to the queue. As queue is used for P2P communication.So there should be a dedicated listener to that queue to get the message. But my problem is little bit of different. If I have more than 2 listeners to that Queue, Can It be possible to send the message to a particular Listener Based on the Message Content? If possible how I can achieve it ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081540#4081540 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081540 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: begginer question - request parameters
I'm no expert on Seam-Gen generated edit pages, but I think it goes like this : The edit pages edits a Widget called "widget", it doesn't matter if it is a new one, or an existing one. You create a factory method for "widget" which in the same bean, injects the parameter widgetId. The factory method says "If I have an ID, load the widget, otherwise create a new one". Either way, it outjects a Widget called "widget", new or loaded. So, you load the edit page, which requests a bean called "widget" so seam calls the factory method on the bean, injecting the parameters beforehand. Your factory method checks the parameter, loads or creates a new widget, and returns it to Seam, which passes it to the page for editing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081536#4081536 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081536 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: magic ant build?
Thank you for your help what I really concern is that how the build.xml is writen. what the targets really mean and where is the magicbuild file and where is the jsp and other resource coming from. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081534#4081534 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081534 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: FacesMessages Does not work with jPDL navigation???
Can anyone help me out here? Curtney View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081533#4081533 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081533 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Why is my jdbc/database not in the local ENC?
by using the ENC you're not coupling you code to the app. server (there are no JBoss specific JNDI names). you will have to include an app. server specific dep. desc. (jboss.xml), but once you're code is compiled you're good to go as far as portability. if you wanted to change to Glassfish, for example, you would just replace the jboss.xml with an equivalent Glassfish dep. desc.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081532#4081532 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081532 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: org.jboss.jms.util.MessagingNetworkFailureException: Fai
We have fixed this on 1.3.0... Any reason why you're using 1.2.0? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081529#4081529 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081529 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - begginer question - request parameters
Hello, I have a very simple question regarding parameters. After playing with seam-gen I ve realised that it generates one page for both creating and editing entities. Seam knows that if I pass an id as a request parameter that means it should look for corresponding entity to edit. Now, the question: how does Seam know how to map the request parameter into the searching criteria? I dont see any explicit code saying something like if (id is set in request) display entity where id=request(id) on the corresponding view page (or any other file). I looked through configuration files and did not come across anything relevant. Am I missing something? Is it some default behaviour? Thanks for any info. Michal Przadka View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081524#4081524 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081524 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: basic JNDI beginners problems - cant do look up from app
jaikiran thanks for the reply - its a little late at night - i tried the same code on another laptop (not my works one) and I do seem to get a lookup - so theres probably something in the works laptop blocking the lookup (though i'm not sure what as the the fw is disabled - but we have odessy as port authent service when connecting to lan and may thats impacting the connection - i'll have a look tomorrow. however general query - if I remove the line false from my DS spec - then the DS gets put in the 'java:' tree in the AS jndi tree, and when i try to look that up it says 'java:' is not bound from the standalone application. is the the 'java:' branch only available to applications deployed into the AS server ? therefore i was using servlets and other clients deployed to the AS i can use the default 'java: ' branch - but if i want remote clients to access them i need to put them in global JNDI tree? If i declare a @Remote annotation for a session bean - does that go into the global or the 'java:' tree? if the latter how are external apps expected to find the sessionBean JNDI references? kind regards Will View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081523#4081523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081523 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to setup Seam 1.2.1 with JBoss 4.2.1?
I have Seam 1.2.1 working with no problems on AS 4.2.1. First I upgraded to JSF 1.2 on JBoss 4.0.4 which is what I was using. I did some preliminary tests and let the users have a go at it. After a few days of stability I then moved to AS 4.2. This is running in production with Richfaces and Tomahawk component libraries. Now for development I am using Seam 2.0 from CVS. I have integrated Trinidad. This now makes Richfaces, Trinidad, and Tomahawk all working together on AS 4.2.1. The upgrade to Seam 2.0 was pretty painless once I had all the other pieces in place. This was all done to move to Seam 2.0 and was done gradually over a few weeks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081521#4081521 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081521 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Searching a Pojo Cache?
Thanks for the reply Jason :) I have been considering doing exactly what you suggest i was just not all that sure that it was the best available option :S Is there any intention to add query functionality to the cache? Roja View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081520#4081520 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081520 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: working with a dynamically sized Datamodel with JSF/SEAM
well I found interface ResultSetMetaData... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081519#4081519 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081519 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: working with a dynamically sized Datamodel with JSF/SEAM
every example I've seen so far of has basically hard-coded the header column value and the outputText value and typically used an Entity bean to supply the List (resultset). Is there an alternative JSF component I should use? If yes, which one is recommended? thx. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081518#4081518 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081518 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBOSS Deployment Error
Hi I have the same problem: Running JBoss 4.0.3 with Java 1.4.3 gives me the same exception! Running JBoss 4.0.3 with Java 1.5 works! --> without any change! I have to run with Java 1.4.4 - ANY HELP WELCOME !! Thanks! Alfred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081517#4081517 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081517 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - working with a dynamically sized Datamodel with JSF/SEAM
using SEAM 1.2.1.GA and JBoss 4.0.5.GA. working with a callableStatement to a legacy stored proc in SQL SERVER db. need to know how to display the resultset data from the sproc in a JSF. the sproc builds the resultset based on the number of currently available user roles (which is unknown to the JSF before the DAO method is exec'd). Is it possible for the JSF xhtml to count the # of columns in the List that is returned (outjected) by the following code snippet and build the columns by referencing column numbers rather than names? I do not know the final list of column names until after the sproc is exec'd. Is there something similar to getColumnName(int columnNumber) method in the java.sql.ResultSet API? I didn't see one... Generally speaking, how are dynamic Datatables handled in Seam when you don't know the final column count? @DataModel | List myRoles = new ArrayList(); | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081515#4081515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - multiple persistence units?
hi, this may seem like a weird thing to do, but when using multiple persistence-units, how do you declare which entities go with which persistence-unit? can this only be done by declaring subelements to the in persistence.xml or is there an annotation that can be applied to an entity bean? regards, sb View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081514#4081514 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081514 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - s:formattedText parser problem?
Hello i try to use s:formattedText, but what happens if the Input Syntax is not correct, e.g. i forgot to set a second (or third) * i retrieve an XML error like this: Hello World | --^ The syntax used to produce this error was: *Hello* World* So is there any way to have the string that will be rendered checked if the syntax is well balanced before displaying it? Or is there some flag, that sort of "auto balances" the whole thing? Or maybe i can call some backend function from somewhere within the deep underground of UI component classes or a validator or whatever to avoid that type of error? Any comments on this would be appreciated of course ;) Jens View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081513#4081513 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081513 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple validation contexts
Thanks Pete ! If I have time, I'll go for the contextual validation module then (approach 2). Otherwise, I'll go for the other approach. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081512#4081512 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081512 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to set the portlet title dynamically?
Try this: protected void doView(RenderRequest request, RenderResponse response) | throws PortletException, IOException { | ... | response.setTitle(title); | ... | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081511#4081511 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081511 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Combo Box in Form
just another comment... In your case you use a processvariable where jbpm comes into play. The other examples just used hibernate and a jsf bean... no jBPM ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081510#4081510 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081510 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error while using remoting with Home objects?
Sorry, the fragment in TestAcion.java extends EntityHome is initially commented! Then works fine. And when it's uncommented it causes errors as described above. jquery View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081509#4081509 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081509 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Superstate-enter event not fired
Tom, persistence seems to make a difference in a lot more cases. See e.g. the combobox test with selectItems Sorry for threadjacking ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081508#4081508 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081508 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: using custom date picker in form within jbpm-console web
anonymous wrote : You are quite right, do you mean my proposal worked? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081506#4081506 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081506 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - How to set the portlet title dynamically?
Hello, I am using JBoss Portal 2.6.1. One of my requirements is to set the portlet title at run time. Normally, we just set the portlet title through portlet.xml but since I don't know the portlet title up front, I can only set it at run time when users go to that portlet. Is there a way to set the portlet title dynamically? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081505#4081505 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081505 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Error while using remoting with Home objects?
Hi, I have the following code: | /*TestAction.java*/ | @Stateless | @Name("testAction") | public class TestAction extends EntityHome implements TestActionInterface{ | | public String testName(String name){ | return "Hello, "+name; | } | | @Remove | public void destroy(){} | } | | | /*TestActionInterface.java*/ | | @Local | public interface TestActionInterface { | @WebRemote | public String testName(String name); | | @WebRemote | @Remove | public void destroy(); | } | | /*testfunctions.js*/ | | function callAjax(name){ | | Seam.Remoting.setDebug(true); | | Seam.Component.newInstance('testAction').testName(name, sayHaloCallback); | | }; | | function sayHaloCallback(result){ | alert(result); | | } | | And it works fine. But I need to invoke a method from the Home object, so I uncomment "extends EntityHome". In this case I get the following error: | ERROR [ContextualHttpServletRequest] ended request due to exception | java.lang.IllegalArgumentException: method not found: create for component: testAction (check that it is declared on the session bean business interface) | at org.jboss.seam.Component.callComponentMethod(Component.java:2101) | at org.jboss.seam.Component.callCreateMethod(Component.java:2006) | at org.jboss.seam.Component.newInstance(Component.java:1977) | at org.jboss.seam.Component.getInstance(Component.java:1874) | at org.jboss.seam.Component.getInstance(Component.java:1841) | at org.jboss.seam.remoting.Call.processInvocation(Call.java:142) | at org.jboss.seam.remoting.Call.execute(Call.java:124) | at org.jboss.seam.remoting.ExecutionHandler$1.process(ExecutionHandler.java:70) | at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:46) | at org.jboss.seam.remoting.ExecutionHandler.handle(ExecutionHandler.java:59) | at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:113) | at org.jboss.seam.servlet.SeamResourceServlet.doGet(SeamResourceServlet.java:69) | at org.jboss.seam.servlet.SeamResourceServlet.doPost(SeamResourceServlet.java:86) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277) | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) | at org.jboss.web.tomcat.
[jboss-user] [JNDI/Naming/Network] - Re: JNDI lookup failed except from localhost
Thank you very much for quick reply. I'm so blind that I didn't check the readme.html first. Yes, -b with interface jboss service to bind works for me. Thanks a lot again. David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081503#4081503 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081503 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Combo Box in Form
anonymous wrote : anonymous wrote : Yet, I do not disagree that a nicer solution would be 'handy' and seam provides parts of that for you. what you encounter now is in the grey area of the webconsole. What is it intended for? Production systems? well, the management part should be. Is it intended for end-users? No currently not. So some things are not in there and personally I use the storage of variables only in the RAD/Prototype part of a project. For productionsystems we have a separate domain model and use a separate database for that (with separate ui) so the list of selectitems comes from there and not jBPM. The selected value goes into jBPM. | Thanks a lot, I haven't seen that so clear so far. I should reconsider my approach here. Think e.g. about - wizards, pageflow not tasks... they do not fit in the webconsole. But are often required in a real production system. Seam has them. - Starting processes in a scheduled way... seam (quartz) can help out - Things that are not that high on the requirementslist for a prototype. (shameless plug ;-)) Ok, now back to the jBPM persistence problem yes, you got me convinced. I'm curious though what would happen if you changed System.out.println("first.node-enter: directly after setting variable: instanceof selectitem:"+(test.get(0) instanceof javax.faces.model.SelectItem)); to System.out.println("first.node-enter: directly after setting variable: instanceof selectitem:"+(executionContext.getContextInstance().getVariable("selectitems").get(0) instanceof javax.faces.model.SelectItem)); I do not have access to a jBPM engine now, so cannot test this myself. This would maybe even rule out persistence . you also ruled out a classloading issue, but showed a map works STRANGE... I also wonder is something like this would work or if it would throw a classcastexception... | public List getItems() { | List elements = executionContext.getContextInstance().getVariable("selectitems"); | Iterator i = elements.iterator(); | List retVal = new LinkedList(); | | while(i.hasNext()) { | javax.faces.model.SelectItem element = (javax.faces.model.SelectItem) i.next(); | javax.faces.model.SelectItem item = new javax.faces.model.SelectItem(element.getId(),element.getValue()); | retVal.add(item); | } | return retVal; I'll keep thinking/searching/... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081502#4081502 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081502 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Lists or Arrays in jbpm-console 3.2
May be this topic could help: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048399#4048399 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081499#4081499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] Re: DataSource Problem JBoss/Tomcat Only Configuration
See Thread at: http://www.techienuggets.com/Detail?tx=11956 Posted on behalf of a User Can you describe what you're trying to do? I have a JBoss instance deployed taking all the defaults and *-ds.xml files deploy without problem? In Response To: Ok - so if that is correct (which I think today I proved), I cannot use the -dx.xml file to resolve my JNDI/JDBC connection pool because I can only use the Tomcat only configuration of JBoss. If I do not put the -dx.xml file in my deploy folder, JBoss starts but when my application runs I get a "NameNotFoundException" which references "TestWarDB". For reference... my web.xml contains: TestDataSource jdbc/TestDataSource javax.sql.DataSource Container my jboss-web.xml contains: jdbc/TestDataSource javax.sql.DataSource java:/TestWarDB So how do I tell JBoss/Tomcat how to resolve java:/TestWarDB? I have tried configuring Tomcat (the version deployed within JBoss) according to Tomcat's documentation but I have had no luck in getting anything to work. If JBoss has a Tomcat Only installation configuration, I cannot possible think this would not support interaction with a database. Kelly ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Why is my jdbc/database not in the local ENC?
Thanks for your replies thus far. What I've never understood is the benefit to having it in the local ENC? Why is this generally done? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081497#4081497 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081497 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Why is my jdbc/database not in the local ENC?
the mappedName refers to java:/DefaultDS, which is not in the bean's ENC. nothing is put in the ENC automatically, if you MUST have it in the ENC then you will need to add it with deployment descriptors or with @EJB at the class level. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081494#4081494 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081494 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: DataSource Problem JBoss/Tomcat Only Configuration
Ok - so if that is correct (which I think today I proved), I cannot use the -dx.xml file to resolve my JNDI/JDBC connection pool because I can only use the Tomcat only configuration of JBoss. If I do not put the -dx.xml file in my deploy folder, JBoss starts but when my application runs I get a "NameNotFoundException" which references "TestWarDB". For reference... my web.xml contains: TestDataSource jdbc/TestDataSource javax.sql.DataSource Container my jboss-web.xml contains: jdbc/TestDataSource javax.sql.DataSource java:/TestWarDB So how do I tell JBoss/Tomcat how to resolve java:/TestWarDB? I have tried configuring Tomcat (the version deployed within JBoss) according to Tomcat's documentation but I have had no luck in getting anything to work. If JBoss has a Tomcat Only installation configuration, I cannot possible think this would not support interaction with a database. Kelly View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081492#4081492 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: 3 column task form layout in task forms
Ross, please read/search/follow the forum. Has been discussed recently and is already in the jira but shhh don't tell anyone it's a bug sh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081491#4081491 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081491 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problem in taskInstance.end()
please make a real unittest with the processdefinition IN the code (see the testcases in the source for examples). This way I can easily test this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081488#4081488 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081488 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: getting current task in decisionHandler
there is no current taskinstance in a decisionnode. The taskinstance does not call the decisionhandler, it takes a transition and does not know where this transitions to. Saving and closing a taskinstance saves the variable to the processlevel where it is accessible to the decisionhandler. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081487#4081487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081487 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Transitions not being followed correctly
h... when a task is created, the engine should copy (yes copy) the values of the time of creation (!, not when one starts working on it) and saved to the processlevel once a task is endedCould be that if a tasknode is re-entered a new copy is *not* made. This is clearly (at least to me) a bug since loops like yours are not really useful if values are not copied. So this sounds like a bug to me. Probably introduced in 3.2.1 (although I'm not sure) Can you make a unittest that demonstrates this problem and then attach it to a jira issue View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081486#4081486 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081486 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: friendly jsf validation error messages
Ross, This is a pure JSF issue.. JSF != jBPM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081485#4081485 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081485 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: How di I get detail in SOAPFault
... and I was expecting something like | http://schemas.xmlsoap.org/soap/envelope/";> | | | | http://schemas.xmlsoap.org/soap/envelope/";>codeNS:Server | javax.xml.ws.soap.SOAPFaultException | | http://my.service.com/common-ws/types";> |SC_BAD_REQUEST |This is a faked error | | | | | | Does anyone know how I shall write my code to get the detail part of the message to be serialized. Is it a bug? //Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081484#4081484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081484 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - org.jboss.deployment.DeploymentException: Failed to setup cl
Hi, I have an ejb3 application which includes POJO and ejb2.0 sessionbean, I got following exception when I deployed the application on JBOSS 4.2.1GA, does anyone have some ideas about this? [java] org.jboss.deployment.DeploymentException: Failed to setup client ENC; - nested throwable: (org.jboss.deployment.DeploymentException: ejb-ref ejb/TestRunner, expected either ejb-link in ejb-jar.xml or jndi-name in jboss.xml) [java] at org.jboss.deployment.ClientDeployer.start(ClientDeployer.java:176) [java] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) [java] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015) [java] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) [java] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) [java] at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:585) [java] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) [java] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) [java] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) [java] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [java] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) [java] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [java] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) [java] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) [java] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) [java] at $Proxy9.deploy(Unknown Source) [java] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) [java] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) [java] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) [java] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) [java] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) [java] Caused by: org.jboss.deployment.DeploymentException: ejb-ref ejb/TestRunner, expected either ejb-link in ejb-jar.xml or jndi-name in jboss.xml [java] at org.jboss.deployment.ClientDeployer.setupEnvironment(ClientDeployer.java:266) [java] at org.jboss.deployment.ClientDeployer.start(ClientDeployer.java:172) [java] ... 22 more The jboss.xml I put in app_ejb.jar looks like: http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd";> TestRunnerBean ejb/TestRunner The ejb-jar.xml looks like: http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"; version="3.0"> TestRunnerBean oracle.toplink.testing.tests.internal.ejb.TestRunnerHome oracle.toplink.testing.tests.internal.ejb.TestRunner oracle.toplink.testing.tests.internal.ejb.TestRunnerBean Stateless Bean persistence/myPersistenceContext toplinkentities persistence/myPersistenceUnit toplinkentities View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081482#4081482 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JNDI lookup failed except from localhost
Try reading the readme.html file (first bullet item under Configuration Issues), or one of the gazillion other posts about this same issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081480#4081480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081480 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Clustered MDB and Fault Tolerance
Hello all, I'm trying to configure my MDB's to run in an HA environment. I have half of the MDB working. The mdb performs the following tasks 1. Read from HA JBoss MQ Queue 2. Process message 3. Push the message onto a different queue. I'm using 2 identical nodes (vmware instances, prodjboss1, and prodjboss2), and I have edited the file 'deploy/jms/hajndi-jms-ds.xml' to have the following prodjboss1 | java.naming.provider.url=${jboss.bind.address:localhost}:1100,prodjboss2:1100 | prodjboss2 | java.naming.provider.url=${jboss.bind.address:localhost}:1100,prodjboss1:1100 | Both my MDB's read from the correct master node. However, I'm trying to connect to a different output queue via my MDB, and I'm not getting the expected behavior. I'm using the following JNDI properties on both nodes when attempting to connect to the output queue | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.provider.url=jnp://prodjboss1:1100,prodjboss1:1100 | The lookup always works correctly on the node that's the master node, but fails on all slave nodes. Am I missing another property that I need to add in order to get automatic master discovery working and get all slaves connecting to the master MQ node to push data onto the queue? Thanks, Todd View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081479#4081479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Tests and JDK 6
Maybe try asking on the embedded jboss forum? I don't know what their Java 6 roadmap looks like. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081478#4081478 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081478 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - JNDI lookup failed except from localhost
Hi, there: I got a very strange problem, I'm using jboss-4.2.0.GA in windows 2000. when started jboss, I can not "telnet jbossserver 1099" from any other machine. However I can only do "telnet localhost 1099" from the same server machine. Which causes my all client applications fail on jndi lookup from other machine. I don't have such problem when using jboss-3.2.6. Any help will be highly appreciated. Thanks a lot in advance David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081477#4081477 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081477 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam 2.0 offline mode??
Can you be more specific about which schema/dtd Seam can't find? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081476#4081476 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: communicating between two seam applications
There really isn't a standard way to share classloaders between applications. For remote beans, you need the interfaces from app2 in app1 and the interfaces from app1 in app2. I don't know what other app servers offer to provide the equivalent of a shared-named repository. If you are sharing classloaders, there's really no reason not to use one big ear instead. If you hot deploy app1 you nearly always need to hot deploy app2 also to avoid classloader issues. Why not bundle in one big ear and force yourself to do the right thing on redeploy? The alternative, in jboss, is to extract common classes to a third app. app1 and app2 can be safely separately redeployed. If the common classes change then both app1 and app2 should be redeployed. No, we don't really have a link to JMX MBeans. You probably don't want direct app to mbean communication for the most part. Generally you want your MBeans to manage services that are exposed through JNDI or some other communications mechanism. In either case @Factory and @Unwrap are probably your best bets for exposing these services to Seam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081474#4081474 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081474 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Why is my jdbc/database not in the local ENC?
Indeed, but is the ref then within the local ENC? And what if u want to use the ref in a pojo - doesnt Jboss 4.2.0 not allow you to use the resource ref in anything other than an EJB? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081472#4081472 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Why is my jdbc/database not in the local ENC?
the ejb3 way is to use | @Resource(mappedName="DefaultDS") | private DataSource ds; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081471#4081471 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Why is my jdbc/database not in the local ENC?
This is certainly how I'd do it in 2.1, but is it not simpler in 3? What is the benefit to putting the references into the local ENC anyway - all the EJB 3 examples always seem to use the global look up. Cheers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081470#4081470 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081470 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: please help me out of this problem
Thank you! Work well! | @Factory(value = "license", scope=ScopeType.STATELESS) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081467#4081467 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems using ajax validation in seam-gen
I'm a bit late to this party, but we have been experiencing this for months. We originally tried the same technique Pete suggested using - a4j eventqueues with requestDelays - but it didn't go far enough. What we wanted was if a user was typing or clicking, to send one request to the queue requestDelay milliseconds after the final generated event on that queue. This would allow a user to click a button repeatedly, but only the very last button click would be processed. Or if a user went trigger happy on the keyboard in an input field with a keypress event, it would only react on the last keypress event. Or we could send an input field onchange and a button click through the queue to send only the last event. There is a chance for lost javascript events, but since 99.9% of our pages simply submit the form and kick off an action, ignoring the original events didn't really hurt anything. In order to do this we implemented a special JavaScript event queue widget that enforced this behavior. It worked pretty well. However, we still get the "Conversation ended, timed out or was processing another request" message so often that our users consistently bring it up as a problem. We would still love to see JBSEAM-1832 implemented since it helps to address the double click problem as well as the ""The conversation ended, timed out or was processing another request" problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081464#4081464 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081464 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: best practice for handling double-click during a long-ru
You can increase concurrent-request-timeout to 1500ms in the component.xml file.. | http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081465#4081465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: renew the @Factory
Hmmm EntityHome isn't well documented in Seam 1.2.1 (which is what I currently use) and so without reviewing the EntityHome impl code in Seam, I'll have to guess a bit here. On closer inspection of your code, it looks like whether createInstance() is invoked or persistAndContinue() is invoked, both impl's as shown will produce a newly instantiated license. However, you're saying that the 'data of previous object' is in "license" - are you submitting to a session- or conversational-scoped component? If you are, are you also outjecting license back to session or conversation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081463#4081463 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: renew the @Factory
See all my comments here, this maybe can help you. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=117469 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081461#4081461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: renew the @Factory
ok, here go! in my add.xhtml page I put: | #{messages['Name']}: | | | | | | | | | the add.page.xml: | | | | | | | | | | | and the class: | @Name(value = "licenseHome") | public class LicenseHome extends EntityHome { | | @Override | protected License createInstance() { | license = new License(); | return license; | } | | @Override | @Factory(value = "license") | public License work() { | return getInstance(); | } | | public String persistAndContinue() { | super.persist(); | Contexts.getSessionContext().remove("license") ; | setInstance(new License()); | | return ""; | } | | public void setLicenseId(Long id) { | setId(id); | } | | public Long getLicenseId() { | return (Long) getId(); | } | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081456#4081456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081456 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Why is my jdbc/database not in the local ENC?
Use the ejb-jar.xml to specify what is in your ENC and jboss.xml to map it to the JNDI name. For example, to have access to the default datasource, java:/DefaultDS, you would use the following: | | | | MySessionBean | my.local.MySessionLocal | my.bean.MySessionBean | | | jdbc/MyDataSource | javax.sql.DataSource | Container | | | | | and | | | | MySessionBean | | jdbc/MyDataSource | DefaultDS | | | | | and perform the lookup within MySessionBean as: DataSource ds = (DataSource)new InitialContext().lookup("java:comp/env/jdbc/MyDataSource"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081454#4081454 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081454 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - does seam ignore generics in lists?
hi all, following _very_ strange behaviour: in a SFSB i have 3 lists defined as follows: | [...] | @Out (required=false) | private List bscLectures; | @Out (required=false) | private List bscPracticals; | private List selectedBscLectures; | [...] | in a .xhtml file: | | | | [...] | | | #{bscPr.title} | | | | | | | | TimetableItem is not an Entity Bean, it's a helper class i've mashed together, with the following fields: | private String title; | private String type; | private List times; | private Object selected; // this should be a TimetableItem as well | i realised that i've got some problems somewhere when i tried the following: | for (TimetableItem t : this.selectedBscLectures) | System.out.println(t.toString())); // changed for ease of reading | and it was giving me ClassCastExceptions. The SelectOneMenu's were doing the same thing on TimetableItem.selected, which is why i changed that to an Object. After investigating further, i found out that my List selectedBscLectures is actually populated with Strings. 2 questions: 1.) why strings? 2.) why isn't the JVM screaming loudly about violations of the Generics? [i may have an answer for 2.):] constructs like this aren't caught by the java compiler, but do cause ClassCastExceptions at runtime. | import java.util.*; | | public class Test { | public static void main(String args[]) { | ArrayList integerList = new ArrayList(); | integerList.add(1); | Object o = new String("Simon!"); | integerList.add((Integer)o); | } | } | now the interesting question is, where are the ClassCastExceptions which should be happening going? they're not in my server log... [possible answer to 1.): i'm assuming because my beans aren't @Entity's, they have no @Id, which means that the JVM is using the toString() to identify them (the value of checkbox is a string representation of the object), and passing this into the Lists. but how do i avoid this?] regards, sb View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081451#4081451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081451 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: renew the @Factory
anonymous wrote : It didn´t works! Well, you should probably post your entire component then and the markup that you claim is 'submit the action'. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081449#4081449 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081449 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - org.jboss.jms.util.MessagingNetworkFailureException: Failed
Hello ! I have a client on JBoss 4.0.1sp1 App Server with JBoss Messaging 1.2. I have a server on JBoss 4.2.1GA App Server with JBoss Messaging 1.2. My client sends messages to a clustered queue on the server. I can get the remote ConnectionFactory but when I call the method createQueueConnection on my QueueConnectionFactory, I have the following error : | org.jboss.jms.util.MessagingNetworkFailureException: Failed to connect client | at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createClient(ClientConnectionFactoryDelegate.java:288) | at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$getClientAOPStack$aop(ClientConnectionFactoryDelegate.java:222) | at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPStack(ClientConnectionFactoryDelegate.java) | at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientClusteredConnectionFactoryDelegate$getClientAOPStack$aop(ClientClusteredConnectionFactoryDelegate.java:98) | at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate.getClientAOPStack(ClientClusteredConnectionFactoryDelegate.java) | at org.jboss.jms.client.ClientAOPStackLoader.load(ClientAOPStackLoader.java:67) | at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:199) | at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:102) | at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:96) | at com.capgemini.sdp.cae.utils.TestReportingQueue.doGet(Unknown Source) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at com.capgemini.sdp.cae.sas.filter.SASFilter.doFilter(Unknown Source) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at com.vodafone.sdp.global.logging.logtrace.LogTraceFilter.doFilter(Unknown Source) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at com.capgemini.sdp.cae.reporting.filter.ReportingFilter.doFilter(Unknown Source) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at com.vodafone.sdp.global.logging.logtrace.LogTraceFilter.doFilter(Unknown Source) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:150) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:1
[jboss-user] [JBoss Seam] - Re: renew the @Factory
the interesting is: after submit the conversation are changed but the fields still there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081441#4081441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: renew the @Factory
It didn´t works! When submit the value in fields are in screen and when I press the submit button again give error. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081438#4081438 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081438 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - handling ejb3 injection failure
In my servlet I want to inject an EJB, only if its available. @EJB | MyBeanClass myBean; My requirement is that 'myBean' gets initialized if corresponding EJB is available in the application, otherwise it stays NULL. Is there a way to achieve this? Is there a way to catch injection exceptions? I don't want to do a lookup since lookup requires knowledge of application name as well and I don't want to depend on that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081436#4081436 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: dataTable/selectItems woes
hi pete, i already did that last night, it solved all the problems i was having with the data-table. thanks anyway, sb View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081435#4081435 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: best practice for handling double-click during a long-ru
i did a little debugging and am finding that in org.jboss.seam.core.Manager.restoreAndLockConversation() the call to ConversationEntry.lock() is returning false because Manager.instance().getConcurrentRequestTimeout() (which is set to 1000 ms) has been exceeded. it looks like our request processing is taking more than 1000ms to complete, so i guess i need to increase the value of org.jboss.seam.core.manager.concurrentRequestTimeout? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081434#4081434 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple validation contexts
I think you have identified the correct approaches. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081433#4081433 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081433 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: dataTable/selectItems woes
http://jira.jboss.com/jira/browse/JBSEAM-1528 Upgrade to a current nightly build (see sticky). If you seam-gen'd your project, run ./seam update-project, otherwise make sure to replace jboss-seam-*.jar and all of Seam's dependencies with the ones from the lib/ directory in your new build. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081432#4081432 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: 3 column task form layout in task forms
Hi, has anyone managed a 3 or more column layout in the eclipse plugin generated task forms with jbpm-jpdl-3.2.1? I find it hard to get documentation on this, thanks for your help, Ross View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081429#4081429 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Does project EL work in Seam?
According to the docs, I think that should be: #{rowObject.{row|row.identifier}} View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081430#4081430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem with Authenticator
AFAIK, you can't use @EJB in POJO components. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081428#4081428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Facelets EL functions do not work
The correct place is in WEB-INF/lib but i know we had issues with this when getting Seam running on JBoss AS 4.2. I would recommend upgrading to Seam2 or running 1.2.1 on AS 4.0.5 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081427#4081427 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss Portal Multisite??
Hi, I am evaluating JBoss Portal. I have below questions. i. Can we use one installation of JBoss Portal to serve multiple websites ? ii. Does it support templates? I mean I will create templates & configure Portal Pages in different websites by plugging these portal templates. Thanks Arun View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081426#4081426 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re:
Yes, I perhaps prefer the approach the wiki article takes but it didn't make it into Seam. Anyway, there is nothing wrong with using it, glancing over it, it all seems current. Seam is all about choices :) It would be great to get some more javadoc/improvements. Just raise JIRA issues with patches attached and one of us will review and apply them to the source :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081425#4081425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Missing exceptions within asynchronious methods
Control at this point has been passed to the relevant dispatcher (java.util.concurrent.ScheduledThreadPoolExecutor by default) and its up to that to deal with any exceptions thrown. I'm not sure why they aren't printed to the JBoss AS console. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081424#4081424 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re:
pete, thanks for the info. the comment in the wiki certainly makes more sense now. it seems to be more appropriate for static data though (or am i being dense again?). the example posted in the wiki seems to be exactly what i need, as i'm programmatically generating a PDF on the fly depending on data a user has selected. the high-level PDF integration is not powerful enough for what i need, so i'm generating the PDF in java code and piping that into the Resource class. is that the right way to do it, or should i be subclassing AbstractResource? that would involve implementing getResource and piping my byte[]-array into response.getOutputStream, if i'm reading the code correctly. but how do i tell seam to use this PDFResource? (can org.jboss.seam.servlet.SeamResourceServlet work that out automagically?) right now, however, the approach in the wiki works a treat for me, but if the other way is the _correct_ way to do it, i don't mind giving that a try. thanks again, sb p.s.: on the topic of documentation, would this be the right place to volunteer to work on adding/extending javadoc to the seam code? if so, i wouldn't mind getting involved with the project. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081421#4081421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Conversational ?
Sorry for the late reply. Is the page the s:link is on marked conversation-required? If it is, then the no-conversation redirect should occur before the s:link action is called. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081420#4081420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081420 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: renew the @Factory
Let's say your Seam component that contains this @Factory is session scoped; then you need to remove the current license from the session context. Example: | public String persistAndContinue(){ | super.persist(); | Contexts.getSessionContext().remove("license"); | setInstance(new License()); | } | Hope that helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081417#4081417 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Failed to download and/or install client side AOP stack
Hello ! I have the same problem. Did you solve it? Thanks Delphine View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081416#4081416 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081416 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - renew the @Factory
I´m trying to make a page to insert data and when submitted it returns to the same page insert other one. But when return the object has the data of previous object. The object was created by @Factory: | @Factory("license") | public License work() { | return getInstance(); | } When submit the action method do: | public String persistAndContinue(){ | super.persist(); | setInstance(new License()); | } The getInstance has a new License object but the "license" still has the previous data. How to do this correct? Ps.: I´m using Jboss Framework The code of pages.xml is | | | | thanks for help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081415#4081415 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re:
Take a look at org.jbos.seam.ui.resource.WebResource - you need a similar class. Unfortunately no docs atm beyond http://docs.jboss.org/seam/latest-2.0/reference/en/html/configuration.html#d0e12554 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081412#4081412 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - form submit gives error as size of attribute(List) in reques
Hi, I am using JBOSS-4.0.5.GA and JBOSSPORTAL2.6.1 in WINDOWS XP. I have a list as attribute in request. The List has objects which also has list(this list contains less than 5 objects). When the size of main list is upto 9, the page works fine ie I submit the page, server gets the request, manipulates data and gives response but when the size of the list is 10, when I submit page, the server does not get request and I get PAGE CANNOT BE DISPLAYED error. Is there size limit on request for the Portal ? Thanks Gyan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081411#4081411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB 2.1 and 3 coexisting?
Wolf, It looks like, when there are EJB3 beans involved, everything is processed by the EJB3 deployer. We actually tried migrating all the session beans to EJB3. It still fails, this time because it doesn't find the entity (2.1) beans. But we can't go on and migrate the entity beans to JPA, there's just too many of them. And in any case, we expected EJB 2.1 and 3 to be able to coexist. We'll wait for JBoss 5... Thanks for your time. Cheers! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081407#4081407 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081407 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - friendly jsf validation error messages
Hi, I wonder if anyone can tell me how to get friendly jsf component validation error messages in the jbpm-console webapp, I currently get something like 'j_id93:j_id102: Validation Error: Value is required.' if I do not fill in a required field, and have not yet stumbled across a way to override this with something more helpful like 'due date: Validation Error: Value is required'. Thanks for your help, Ross View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081404#4081404 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Why is my jdbc/database not in the local ENC?
Hi all. Just moving to EJB 3 and having a hard time working out why the usual database resource isn't bound to my local ENC within the EJB layer, i.e. java:comp/env/maindatabase and only bound globally i.e. java:/maindatabase How do I go about rectifying this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081405#4081405 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Facesmessage - jpdl
I am having the same problem (one of the above mention post is mines). Has anyone of the more experience Seam developers encounterd this problem before and if so how did you resolve this. Perhaps this is a bug?? Thanks inadvance, Curtney View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081401#4081401 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081401 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JBoss 4.04 EJB3 lookup: classCastException on proxy obje
thank you all for your interest, It is possible to use the same interface for both local and remote invokation. the problem was, as PeterJ pointed out, in classloading. after moving client-jar out of portal-server.war archive to jboss-portal.sar/lib/ problem dissappeared. Thank you again View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081399#4081399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Last try - Conversational Feature let me feel like an id
anonymous wrote : | Specifically: Why do you need join="true" if you just have ended the previous conversation with propagation="end"? | He talked about starting a new one with join=true. The join=true bit ensures that you don't start a new one each time the page is rendered. maku01 : Regarding the conversation tags in pages.xml, I believe (and I could be wrong on this) that you need to rephrase the constant to something like : | | The constant should force a reuse of the conversation that you are looking for, although there are some problems with this mechanism which are currently being fixed. http://jira.jboss.org/jira/browse/JBSEAM-1423 Proper use of conversations has been a thorn in my side for a while. If you notice, most Seam example apps have very little editing in them, and there is no master detail editing involved. The issue tracker was the only one with any kind of editable features, including master/detail and nested editing, but it was pulled in 2.0, possibly because it wasn't working properly. There is very little in the way of best practices for Seam, and everyone seems to be off doing their own thing and muddling together a solution. Pete, you've seen my sample bookstore app from my Jira issue (#1423), I have a couple of different ones (including something similar to the issue tracker) that I have been using to test this stuff out. I'm more than happy to donate something. The only caveat is that it uses the same kind of mechanisms as the bookstore app (RESTFul URLS, no @Begin annotations, and parameter passing) since it seems that this is the best way to develop a seam app that is well decoupled and a little more lightweight (i.e. not invoking new beans into a conversation that doesn't need them or is about to end). If you guys are interested, just let me know what I need to do with it to get it up to scratch. I think the two things seam needs right now is some indication of best practices, and some more diverse examples, and there is some overlap of those two issues. The documentation and examples are great for describing what you can do, but not always what you should do. There needs to be a little bit more diversity in the examples that highlight how to solve the problems people face on a daily basis, or at least indicate which problems can't be solved so we know we need to design around those issues (i.e. master/detail editing with nested conversations). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081397#4081397 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081397 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Extensions to EJB3: Message Driven POJOs
my bad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081394#4081394 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081394 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss slow in debug mode
I'm having this same problem, but I'm not sure how to switch the app server between 'debug' and 'run' mode. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081393#4081393 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081393 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: stored proc reverse engineered into ORM/JPA code???
I know that Java does not (yet anyways) support multiple class inheritance like C++, but I wouldn't call Java "procedural". It's object-oriented. In any event, I appreciate your reply, and I posted the question in the Hibernate/DB area. thx. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081384#4081384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Examples about Application Framework (Chapter 11)
Hi all, I cannot make the examples in chapter 11 working: http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/framework.html I've started with Person and PersonHome, with the creation button only. And worked up to that point. Then I've added update and delete, and I've added a query object, so that I can have an access point to the edit page. What I get is: 1) Creation still works 2) when I select some item to be updated and I submit the edit form anything is updated. If I click on delete, anything is deleted either 3) After having clicked on update or delete, I am bring back to the creation page (with Create button only) I've tried to extend update() in PersonHome, to add a logging message, and I may see the method is not called at all, same for delete. I also have tried to add a foo() action to the home, and this isn't called either. Please find the code below. I am afraid I am missing something important. Thanks in advance for any help. Cheers. Marco. Person.java | import java.io.Serializable; | import javax.persistence.Entity; | import javax.persistence.GeneratedValue; | import javax.persistence.Id; | import org.jboss.seam.annotations.Scope; | import org.jboss.seam.ScopeType; | | @Entity | public class Person implements Serializable { | @Id @GeneratedValue private Long id; | private String name; | | public Long getId() { return id; } | public void setId(Long id) { this.id = id; } | | public String getName() { return name; } | public void setName(String name) { this.name = name; } | } | PersonHome.java | import javax.ejb.Stateful; | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.*; | import uk.ac.ebi.microarray.model.Person; | import org.jboss.seam.framework.EntityHome; | import org.jboss.seam.annotations.web.RequestParameter; | import org.jboss.seam.log.Log; | | @Name("personHome") | public class PersonHome extends EntityHome | { | @RequestParameter Long personId; | @Logger private Log log; | | | public Long getId () { | return personId; | } | | public void setId ( Long id ) { | personId = id; | } | | | @Factory( "person" ) | public Person initPerson () { return getInstance (); } | | | public String update ( ) | { | log.info ( ">>> Calling PersonHome.update()" ); | return super.update (); | } | | public String persist ( ) | { | log.info ( ">>> Calling PersonHome.persist()" ); | return super.persist (); | } | | | | public String foo ( ) | { | log.info ( ">>> Calling PersonHome.foo()" ); | return super.update (); | } | | | } | person.xhtml | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | http://www.w3.org/1999/xhtml"; | xmlns:ui="http://java.sun.com/jsf/facelets"; | xmlns:h="http://java.sun.com/jsf/html"; | xmlns:f="http://java.sun.com/jsf/core"; | template="layout/template.xhtml"> | | | | | | | | | | | Name: | | | | | | | | | | | | | | | | people.xhtml | http://www.w3.org/1999/xhtml"; | xmlns:ui="http://java.sun.com/jsf/facelets"; | xmlns:h="http://java.sun.com/jsf/html"; | xmlns:f="http://java.sun.com/jsf/core"; | xmlns:s="http://jboss.com/products/seam/taglib"; | template="layout/template.xhtml" | > | | | | List of people | | | | | | | | | | | | | | Also I have the parameter specification in pages.xml: | | | | And the query spec in components.xml: | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081383#408138