[jboss-user] [JBoss Seam] - Web Service Clients in Seam
Chapter 20 in the Seam documentation is dedicated to exposing POJOs as web services and integrating them into a conversational context. This should be helpful to me when I find myself publishing services. However, I also need to consume web services. This means, at least for me, the ability to read a published WSDL, generate classes from the schema portion of it, and exchange SOAP messages with the service by means of those generated classes. Does Seam currently offer a means of doing this? For those familiar with Spring Web Services, I have a bit of experience doing this with JAXB and the WebServiceTemplate: http://static.springframework.org/spring-ws/site/reference/html/client.html#client-web-service-template But I would like to see if I can pull off both the publishing and consumption of web services in Seam only. Thanks for any insight. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116152#4116152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116152 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: injection in tests ?
will test both of them.. how can i initialize hibernateSession ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116151#4116151 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116151 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: injection in tests ?
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=126658 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116150#4116150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116150 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Commit & Checkout Seam Project
we had similar problems with CVS and changed our versioning system cvs to svn.Now we can commit all the project directories (war's 2,ear's 4) to svn and checkout without new project wizard.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116148#4116148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116148 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss 4.2 and log4j nightmare
did you solve this probelm? even i too have the same problem. Please help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116146#4116146 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116146 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: New jBPM Getting Started Documentation
"bezpal" wrote : I have similar issues, plus if I right-click in the designer as "Figure 22. Adding a node-enter action." suggests I don't have Add Task, Add Items menu items. I started a thread on the missing menu items. Now I know I am not the only one having this problem. Any help resolving greatly appreciated, thanks: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=126739 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116145#4116145 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116145 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: State of Injected Objects in a Conversation
No worries. It was a couple of things. First, I had failed to mark the injected component with the appropriate out-jected scope. Second, in my test, I forgot to carry the conversation ID along from FacesRequest to FacesRequest as is done in the booking example. Typical silly newbie growing pains, but things are working now for me. Thanks for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116144#4116144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116144 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: GPD Missing Features
In Eclipse I went into Help, Software Updates, Manage Configuration, expanded tree, and verified that GPD 3.1.1GA is correctly installed. Does everyone else have the features missing that I do or is it just me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116141#4116141 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116141 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: pointcut other than execution in AdviceBinding
Hi, Thank you very much for your quick reply. I understand the situation. I'm looking forward to the next version :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116140#4116140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to access HttpServletResponse when not use JSF client?
I use plain servlet to render all html pages, not use JSF. I use Seam remoting to access server side service. In DWR (Direct Web Remoting), I can directly access HttpServletResponse like this: | public Boolean login(String loginName, String password, boolean remember, HttpSession session, HttpServletResponse res) {...} | Has JBoss Seam provided similar functionality? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116138#4116138 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116138 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: where is GDP 3.1.1
http://www.jboss.com/products/jbpm/downloads View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116136#4116136 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116136 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - GPD Missing Features
I am running GPD 3.1.1 in Eclipse Java EE 3.3.1.1 on Windows XP Professional. When running the designer in Eclipse I do not have a Swimlanes Tab at the bottom of the designer window (I do have the Diagram, Deployment, Design, and Source tabs). Also, when I right click on a task node in the Outline window I do not get a context menu which should allow me to add a task. The context menu only lists Undo, Redo, and Save menu items. If I right click on the node in the Diagram view I do not get Properties..., Add Task, and Add Actions menu items like I should. Any advice greatly appreciated, thanks, Bill View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116135#4116135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116135 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Don't use DTDs in your .xml files
"yilmaz_" wrote : That is not true. Scheme provides validation templates for your xml file. Right, but the point is, if the parser can't find the schema file, it doesn't try to fetch it over the net. "yilmaz_" wrote : If dom4j can not find it. It downloads it from internet. And I'm making the point that that is a bad thing. "yilmaz_" wrote : I think this guy has no knowlegde about this or he has some serious configuration issues. Well, obviously the configuration issue is that there is an error in a pages.xml file. What's bad is how this system responded to the error. A good response: "In the file pages.xml, you refer to DTD: http://... which isn't in the classpath." A bad response: silently making an outgoing network connection, and then failing with a "no route to host" error without even telling me which file it's trying to get. And then I go on to make the point that if any website is using dom4j to parse user-supplied XML documents, it's possible to create a document which contains a line with a malicious DTD URL, and that could in fact be exploitable. I perfectly understand about DTDs, but you can expect, especially in a large application, there could be some pages.xml file somewhere that's still using an old DTD when switching to a newer version of the JSF jar or whatever, and that can result in one behaviour with a network connection and a different behaviour without, which is really bad. dom4j shouldn't be doing this kind of thing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116133#4116133 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116133 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How can Jbpm exchange data with external system?
Fengzhi, I'd suggest you try and experiment a little with jBPM. You'll see that it can invoke java classes at almost any moment that can do anything you want. The other way around, jbpm has a 'command' interface or just use the api. jBPM usage in seam and jboss esb (or even other esb's like mule) also have al lot of examples. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116132#4116132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116132 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam EJB3 authorization
i have a application with java webstart frontend which uses security restriction with @RolesAlowed annotation. Now i want to add a seam frontend. My Problem is that i can login but cant call any restricted EJB methods. The Application stores the user passwords encrypted. This is the reason why the Java-Swing-Webstart Frontend store uses this piece of code to login: | public LoginContext createLoginContext(final String inUsername, char[] inPassword, Subject inSubject) { | try { | mIsAdmin = false; | mUsername=inUsername; | mPassword= new char[inPassword.length]; | System.arraycopy(inPassword, 0, mPassword, 0, inPassword.length); | mLoginContext = new LoginContext("myrealm", inSubject, new CallbackHandler(){ | | public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException { | for(int i = 0; i < callbacks.length; i++) { | if (callbacks instanceof NameCallback) { | NameCallback nameCallback = (NameCallback)callbacks; | nameCallback.setName(inUsername); | } else if (callbacks instanceof PasswordCallback) { | PasswordCallback pwCallback = (PasswordCallback)callbacks; | String aEncPwd = SecurityUtils.getCryptedPwd(mUsername, mPassword); | for(int j=0; j < mPassword.length; j++) { | mPassword[j] = ' '; | } | pwCallback.setPassword(aEncPwd.toCharArray()); | } else throw new UnsupportedCallbackException(callbacks); | } | } | } | ); | } catch (LoginException e) { | getLogger().log(LogLevel.ERROR, CommonResources.getMsg("auth.LoginModule.login.context.creation.failed"), e); | return null; | } | return mLoginContext; | } | | public User getUser(final String inUsername) { | try { | String aAuthCtrlRemote = CommonResources.getBeanJndiNames().getString("controller.authentication"); | getLogger().log(LogLevel.DEBUG, "Using AuthenticationController Bean: {0}", aAuthCtrlRemote); | AuthenticationController aBean = (AuthenticationController) CommonFactory.getInitialContext().lookup(aAuthCtrlRemote); | if(inUsername != null) { | try { | User aUser = aBean.qryUser(inUsername); | return aUser; | }catch(javax.ejb.EJBAccessException e) { | getLogger().log(LogLevel.ERROR, "Error: {0}", e); | } | } | } catch (Exception e) { | getLogger().log(LogLevel.ERROR, "Error: {0}", e); | } | return null; | } | | public boolean login(final String inUsername, char[] inPassword) { | if(mLoginContext != null) { | logout(); | } | LoginContext aLoginContext = createLoginContext(inUsername, inPassword, new Subject()); | | // Durchführung des Logins | try { | if(aLoginContext != null) { | aLoginContext.login(); | } | } catch (LoginException e) { | getLogger().log(LogLevel.DEBUG, CommonResources.getMsg("view.LoginView.auth.failed"), e); | return false; | | } | | try { | String aClientSessionCtrl = CommonResources.getBeanJndiNames().getString("controller.clientsession"); | getLogger().log(LogLevel.DEBUG, "Using ClientSessionController Bean: {0}", aClientSessionCtrl); | ClientSessionController bean = (ClientSessionController) CommonFactory.getInitialContext().lookup(aClientSessionCtrl); | //TODO locale session | bean.startLocaleSession("a"); | | User aUse
[jboss-user] [JBoss Seam] - Re: @DataModel makes me go nuts or it's a bug ?
Hi Pete, sorry for that i actually forgot the problem ... What i mean by doesn't work is that the working solution correctly displays the values from userList in the HTML page that is rendered and the other one, the doesn't work solution, shows a blank screen. That is with the exact same facelets page shown, so i really do just change the code that i posted ... PS.: Nearly forgot the holidays :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116130#4116130 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116130 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem input cyrilic sympol
Huh? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116129#4116129 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116129 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss EL performance vs Sun EL
And there is another JIRA opened for compiled EL. Please, vote for it. http://jira.jboss.org/jira/browse/JBSEAM-2141 based on ideas from http://sixlegs.com/blog/java/compiled-el.html Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116128#4116128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: error in creating JBPM process with seam-generated Home
Can you post the whole stack trace? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116127#4116127 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116127 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: url problem
Are you sure any template paths are correct for your views in sub directories. What is the 404 exactly? There should be an error message on the log. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116126#4116126 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116126 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss EL performance vs Sun EL
"[EMAIL PROTECTED]" wrote : Yes, I understand the need for such a caching tag. However this is probably best added to facelets. Please raise an issue in their bug tracker and paste a link here so I can track it. There is one open for Gravel http://jira.jboss.com/jira/browse/GRAVEL-27 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116125#4116125 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116125 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Ensuring single delivery to clustered MDB subscriptions
The problem we are trying to solve is that we have AListenerMDB and BListenerMDB listening to Topic topicA We have 3 nodes and the topic and MDBs are deployed on all the nodes in clustered mode. Any message posted to the topic is seen on all the nodes and hence reaching the MDBs on all the nodes.(Will have to confirm this behavior again) What we sould like to achieve is message posted from client be seen on only one of the nodes and passed to MDBs on that node only I will check the confgurations once again and check the behavior as per my understanding of the clustering a message should reach only one topic and passed to al subscriptions on that node only View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116123#4116123 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116123 ___ 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.0.0GA + Maven2 doesn`t work...
As far as I know there aren`t. Though it`s possible that I will create such example when I get back to work from my holidays, so stay tunned. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116119#4116119 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: pageflow and parameters transmition
Do you still have the param defined in pages.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116113#4116113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116113 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Different Message id for each listener
Scenario: A JMS Connection is used to create 10 JMS listeners on Topic MyTopic. Each Listener has a different selector (some have OVERLAPPING selector properties). 1) Producer sends Message A. 2) Some Connection failure occurs on the Listeners side 3) Producer sends Message B 4) Redelivery mechanism redelivers Message B (can this happen?) 5) Redelivery mechanism redelivers Message A (order is lost and the listener is not even aware of it) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116112#4116112 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116112 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Creating several objects in one transaction.
Easiest is to add the persons to a list you store in the bean. eg. private Person person; | | private List list=new ArrayList(); | | void add() { |list.add(person); | person = new Person(); | ) Then in your commit method, iterate the list and call em.persist for each element. No need to use Flushmode.manual for this kind of interaction. Also, the transaction is tied to a single method call (= a good thing). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116110#4116110 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116110 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Why control IDs in validation messages?
required="true"/@NotNull is the only point at which you have to break DRY. This is currently unavoidable, sorry. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116111#4116111 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116111 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ejb + seam from swing gui
Simply, there is no support for long running conversations when you do calls from EJBs rather than JSF. I guess you could open a feature request in JIRA for this, and we can see if its popular. If it is, we can look at implementing it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116109#4116109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116109 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Persistence problem
Ask on the hibernate forum. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116108#4116108 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116108 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam & BPM - is there a way to 'filter' taskInstanceList
I would write my own custom task instance list - use the code from the built in Seam components as examples - use whats there to get the tasks from jbpm and then apply filtering using a loop or whatever. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116107#4116107 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116107 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: injection in tests ?
Are you running an integration or unit test? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116106#4116106 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116106 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: State of Injected Objects in a Conversation
Post the test code (simplified if necessary). This should work afaik. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116105#4116105 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116105 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Action execution upon page load
There is currently no support for this, but you can fake it by doing something public boolean action() { |// Do work |return false; | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116104#4116104 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116104 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Don't use DTDs in your .xml files
I think the problem is not that you were using a DTD but that you were using the wrong DTD. There is a Seam 2 pages DTD. If you use that instead of the 1.2 DTD you should be OK. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116103#4116103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116103 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam integration with trinidad
Check whether the Seam component is created during startup, it should be displayed on the log. If unsure, post the log. Please use [ code ] tags. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116102#4116102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116102 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - OnetoMany - cascade all
Hey, I think I have a very basic confusion regarding cascade, I have the following simple relationship: | public class message { | | private Set comments; | | @OneToMany(mappedBy = "message", fetch = FetchType.EAGER, cascade = CascadeType.ALL) | public Set getComments() { | return comments; | } | | //set... | } | And | private Message message; | | @ManyToOne(optional=false) | public Message getMessage() { | return message; | } | | //setter | I'm trying to persist a new comment by: | //assuming a message with id 1 exists in db | Message m = entityManager.find(Message.class,new Long(1)); | Comment c = new Comment(); | c.setMessage(m); | m.getComments.add(c); | entityManager.merge(m); | I don't want to persist the comment directly but through the message, if 'getComments' is cascaded with ALL, shouldn't the new comments get persisted when em.merge(m) is invoked? Thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116101#4116101 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116101 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @DataModel makes me go nuts or it's a bug ?
Doesn't work *how*? I think everyone is away on holiday ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116100#4116100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Jboos Lookup
Thanks for the help, but I have found the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116099#4116099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116099 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Regarding WS client using JSR109- JAX-RPC
I need to write a client on JBoss 4.0.4 GA. In order to consume a web service using legacy style which approach of the following would be better JAX-RPC ServiceFactory or JNDI service lookup Is pro/cons of each approach is listed any where? Second question: 1. Can we put JNDI service lookup jar file in WEB-INF/lib of a war file? When I put jar file in deploy folder service context is established but when i put it inside war file it did not work. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116098#4116098 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116098 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @DataModel makes me go nuts or it's a bug ?
Funny how nobody can answer this question i thought that was such a basic thing in seam. I was able to find out, that org.jboss.seam.afterPhase happens before the database is queried. because it's the last event shown on screen, i assume it's the RENDER_RESPONSE phase, and if that shows up before the DB was queried, i do believe that there is no chance for the dataTable to display the queried data. But again, why is this? Jens View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116096#4116096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116096 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Jboos Lookup
Jboss version is 4.2.0 JNDI Tree: +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair) +- jmx (class: org.jnp.interfaces.NamingContext) | +- invoker (class: org.jnp.interfaces.NamingContext) | | +- RMIAdaptor (proxy: $Proxy48 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt) | +- rmi (class: org.jnp.interfaces.NamingContext) | | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef) +- HTTPXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) +- Bean (class: org.jnp.interfaces.NamingContext) | +- local (proxy: $Proxy131 implements interface beans.BeanBusiness,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBLocalObject) +- UserTransactionSessionFactory (proxy: $Proxy14 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory) +- HTTPConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) +- TransactionSynchronizationRegistry (class: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple) +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction) +- UILXAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef) +- XMlBean (class: org.jnp.interfaces.NamingContext) | +- remote (proxy: $Proxy93 implements interface slsb.XMl,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject) +- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef) +- GreetingBean (class: org.jnp.interfaces.NamingContext) | +- local (proxy: $Proxy89 implements interface slsb.Greeting,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBLocalObject) +- queue (class: org.jnp.interfaces.NamingContext) | +- A (class: org.jboss.mq.SpyQueue) | +- testQueue (class: org.jboss.mq.SpyQueue) | +- ex (class: org.jboss.mq.SpyQueue) | +- DLQ (class: org.jboss.mq.SpyQueue) | +- D (class: org.jboss.mq.SpyQueue) | +- C (class: org.jboss.mq.SpyQueue) | +- B (class: org.jboss.mq.SpyQueue) +- topic (class: org.jnp.interfaces.NamingContext) | +- testDurableTopic (class: org.jboss.mq.SpyTopic) | +- testTopic (class: org.jboss.mq.SpyTopic) | +- securedTopic (class: org.jboss.mq.SpyTopic) +- console (class: org.jnp.interfaces.NamingContext) | +- PluginManager (proxy: $Proxy49 implements interface org.jboss.console.manager.PluginManagerMBean) +- UIL2ConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef) +- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory) +- UILConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef) +- SubBean (class: org.jnp.interfaces.NamingContext) | +- local (proxy: $Proxy134 implements interface beans.SubBeanInterface,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBLocalObject) +- QueueConnectionFactory (class: org.jboss.naming.LinkRefPair) +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory) Stacktrace: [EMAIL PROTECTED] log4j:WARN No appenders could be found for logger (org.jnp.interfaces.NamingContext). log4j:WARN Please initialize the log4j system properly. Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: jboss-server:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server jboss-server:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server jboss-server:1099 [Root exception is java.net.UnknownHostException: jboss-server]]] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1416) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:596) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589) at javax.naming.InitialContext.lookup(Unknown Source) at Main.main(Main.java:16) Caused by: javax.naming.CommunicationException: Failed to connect to server jboss-server:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server jboss-server:1099 [Root exception is java.net.UnknownHostException: jboss-server]] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1387) ... 4 more Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server jboss-server:1099 [Root exception is java.net.UnknownHostException: jboss-server] at org.jnp.interfaces.Naming
[jboss-user] [JBoss Seam] - Re: about component Name convention
When I use name like this: | @Name("app.userService") | @AutoCreate | class UserService extends BaseService { | | I must use the component like this: | @In("app.userService") UserService userService | But when I use name in Entity class like this: | @Entity | @Name("app.user") | @Scope(SESSION) | @Table(name="App_User") | class User implements Serializable | { | I can still use the User component like this: | @In(required = false) | @Out(required = false, scope = SESSION) | User user; | Why JBoss Seam don't matter about the name 'app.user'? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116093#4116093 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116093 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Oddness - javax.persistence.EntityNotFoundException
I've just run into this problem again and am posting back here so I don't forget again. When trying to delete an entity that has existing relationships (eg. OneToMany) you have to ensure that you clear the collection before removing the object. eg:public void deleteGroup(Group group) { | | //where the relationship btw a 'User' and a 'Group' is maintained in a 'UserGroupList' | | group.getUserGroupLists().clear(); | entityManager.remove(group); | } Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116092#4116092 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116092 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Jboos Lookup
Which version of JBoss are you using? Is your client a standalone java class? Post the entire exception stacktrace and also the exact contents of the JNDI tree as you see from the jmx-console. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116091#4116091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116091 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How can Jbpm exchange data with external system?
hello everybody, I have read the jbpm jpdl tutorial, it told a little about external system. And I have some questions about data exchange between Jbpm and external system. I understand an external system can be a human or another applications. E.g. a process is being in the state-node and waiting for a signal of an external system to continue to next node. 1. A human, who at the web application clicks on a button, which sends a signal to the Jbpm, with token.signal(). 2. Another application, how can it send a signal to Jbpm? And where is the interface in Jbpm for data exchange with external system? How can I realise it? Please give me some information about it or what I have to read or lern to implement this function? Sinceres thanks for your help. regards, Fengzhi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116090#4116090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116090 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Different Message id for each listener
I don't understand your use case. If your subscriptions are non durable, then they won't survive failure, therefore saying order is maintained is meaningless. Maybe you need to explain your scenario in more detail... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116089#4116089 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116089 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Different Message id for each listener
thanks for your quick reponse :) No, our Topic listeners are NOT durable, we must maintain order of messages only whilst listeners ARE Connected. I reckon that ordering (whilst Connected) is possible for such undurable listeners right? This seems like an important feature. Do you plan to support it (it will spare us a lot of trouble :)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116088#4116088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116088 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Different Message id for each listener
I'm assuming you are using durable subscriptions on your topic, or they won't survive failure anyway. On that assumption, order after failover will be maintained. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116086#4116086 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116086 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Different Message id for each listener
In our case we use many listeners on one Topic (not a Queue). So i reckon (please correct me if i am wrong) it is possible/deterministic to maintain ordering for all listeners on the same Connection after failure. For example, after a Connection failure, make sure that "failed" messages are redelivered Before new messages (coming after failure). Am i making sense? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116085#4116085 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116085 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Jboos Lookup
Hello! I have a problem. I have developed a Bean and deployed it with RedHatDeveloper Studio. If I look at the managed Bean JNDIView, I am able to see the Bean under the global JNDI Section. I have developed a client programm that accesses the bean, but I get allways an exception if I try to access the bean. What can I do? There is the client source code: Properties jndiProps = new Properties(); jndiProps.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); jndiProps.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interface"); jndiProps.setProperty(Context.PROVIDER_URL, "jnp://jboss-server:1099"); InitialContext txt = new InitialContext(jndiProps); System.out.println(txt); System.out.println(txt.lookup("SubBean/local")); And the Name of the bean in the global JNDI is: SubBean * -local best regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116083#4116083 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116083 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Different Message id for each listener
If there is only one consumer on a queue, JBM already maintains delivery order, even after failure. If there is more than one consumer on the queue this is not really possible. Since order delivery order in the queue will be determined by the order the consumers failed - i.e. non deterministic. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116079#4116079 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116079 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Different Message id for each listener
Thanks. Ok i understand i should'nt make any assumptions regarding the message id. We can't add multiple counters, cause we have many JMS listeners with different (and OVERLAPPING) selectors. Is there any future plan to refine the JBM "failure recovery" mechanism so that message order (FIFO) is maintened even after network failures? If so in whch JBM version will this be available? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116078#4116078 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116078 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Design question with Rich GWT Ajax Client
Actually, I have the following problem when I try to use ContextHttpServletRequest or write the same code as in SOAPRequestHandler in my Servlet (which parses the JSON mesage and call the Seam component). I'm working with Seam Manager Persistence Context and Seam Managed Transaction. I therefore use @In EntityManager em; here is the code of my SFSB : | | import java.util.Collection; | | import javax.ejb.Remove; | import javax.ejb.Stateful; | import javax.persistence.EntityManager; | | import org.jboss.seam.annotations.Begin; | import org.jboss.seam.annotations.End; | import org.jboss.seam.annotations.FlushModeType; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Logger; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.core.Manager; | import org.jboss.seam.log.Log; | | @Stateful | @Name("SprintaService") | public class SprintaServiceBean implements SprintaService { | | @Logger | private Log log; | | @In EntityManager em; | | @Begin(join =true,flushMode = FlushModeType.MANUAL) | public void begin () { | this.log.info("Begin Conversation id : " + Manager.instance().getCurrentConversationId()); | } | | public Person createPerson(Person person) { | this.log.info("Continuing Conversation id : " + Manager.instance().getCurrentConversationId()); | this.em.persist(person); | return person; | } | | | @End | public void end() { | this.log.info("Ending Conversation id : " + Manager.instance().getCurrentConversationId()); | this.em.flush(); | } | | @Remove | public void remove () { | | } | | } | If I call the "createPerson" only, it works and commits the transaction. If I call the begin method then the createPerson, I have an Exception, but, after the Servlet complete. Here is the exception : anonymous wrote : | 12:27:51,056 INFO [CachedConnectionManager] Closing a connection for you. Please close them yourself: [EMAIL PROTECTED] | java.lang.Throwable: STACKTRACE | at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:290) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:417) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842) | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88) | at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69) | at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423) | at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144) | at org.hibernate.jdbc.AbstractBatcher.prepareSelectStatement(AbstractBatcher.java:123) | at org.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:73) | at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:99) | at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:131) | at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:87) | at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:38) | at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:618) | at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:592) | at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:596) | at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:212) | at org.jboss.seam.persistence.EntityManagerProxy.persist(EntityManagerProxy.java:135) | at com.mycompany.sprinta.service.SprintaServiceBean.createPerson(SprintaServiceBean.java:50) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) | at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46) | at org.jboss.seam.intercept.Se
[jboss-user] [JBoss Messaging] - Re: Ensuring single delivery to clustered MDB subscriptions
Maybe I don't understand the question, but a topic always delivers any messages to *all* subscribers (assuming no message selectors). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116076#4116076 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116076 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Clustered Connection Factories
Well, you _could_ have multiple MDBs consuming from a single live JMS server - this is the old JBoss MQ style approach where you only have one active server in the cluster at any one time, nothing is stopping you from doing that if you want. Alternatively just have MDBs always consuming from their local servers, use clustered destinations, and message bridge to route messages between geographically distributed clustered (e.g. over WANs). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116075#4116075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116075 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - jCaptcha and Seam 2.0.1
Hi, with Seam 2.0.1 jCaptcha was replaced by an own captcha implementation [JBSEAM-]. Is there an easy way to keep on using jCaptcha instead? Dominik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116074#4116074 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116074 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Different Message id for each listener
You shouldn't make any assumptions about what a message id contains apart from that it must start with 'ID:' and be unique per message. (This is what is mandated by the JMS spec). Making any such assumptions further than that will make your code highly brittle and non portable. Just because JBM ids currently *seem* to be made up of ID:JBM- plus some kind of sequence is no guarantee they actually are, or they will continue to do so in the future. If you want to maintain a counter you should add your own counter property in the message and maintain it yourself. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116073#4116073 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116073 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Don't use DTDs in your .xml files
That is not true. Scheme provides validation templates for your xml file. This provides platform independency. This files bundled with jar files. If dom4j can not find it. It downloads it from internet. I think this guy has no knowlegde about this or he has some serious configuration issues. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116072#4116072 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116072 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem in tesing helloworld example
Dear Friends, I am running the HelloWorld example. When I execute the instructions mentioned in the jBPM-BPEL tutorial, all steps go on correctly except the last step for testing the sample. When I type execute "ant run-test", the following error message is shown : run-test: pack-client: [jar] Warning: application-client.xml modified in the future. [jar] Warning: jboss-client.xml modified in the future. [jar] Building jar: D:\Tools\jbpm\jbpm-bpel-1.1.Beta3\jbpm-bpel-1.1.Beta3\ examples\hello\target\hello-client.jar [junit] Running org.jbpm.bpel.tutorial.hello.HelloTest [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1 sec BUILD FAILED D:\Tools\jbpm\jbpm-bpel-1.1.Beta3\jbpm-bpel-1.1.Beta3\examples\common\ws-build.x ml:262: Test org.jbpm.bpel.tutorial.hello.HelloTest failed When I look at the hello-client.jar file the org.jbpm.bpel.tutorial.hello.HelloTest is not available. It seems that this file has not been packaged in the hello-client.jar How could I solve this problem? Thanks, Arman View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116069#4116069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116069 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - GWT and SeamResourceServlet
Is anyone successfully using GWT 1.4 and Seam 2.0? I've noticed a few errors in the reference documentation regarding GWT integration and the remoting/gwt example doesn't work out of the box (the start page in the gwt-shell ant target is incorrect and the embedded tomcat server web.xml doesn't have any servlet mapping defined), so I'm wondering if I should spend any more time on this integration if the GWT integration is not really ready to be used. My problem is in the RPC call from GWT to the SeamResourceServlet. I get a 404 "no resource found" message no matter what I do. I have also tried to go directly to http://localhost:8080//seam/resource/gwt directly in a browser, and I receive a 404 response. If I go to http://localhost:8080//seam/resource/remoting I received a 200 response with an empty body which is what I would expect. It seem like the GWT component is not even enabled in the SeamResourceServlet. Is there something else I should enable or configure? I have the seam resource servlet mapped in my web.xml to /seam/resource/* and I have tried using just about every URL variant in the client GWT RPC code (absolute URL above, "/seam/resource/gwt" and "GWT.getModuleBaseURL() + /seam/resource/gwt"). I'd really like to get this working, but don't want to spend much more time on it if GWT/Seam is just really not ready for prime-time. Thanks for any help! Anthony View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116068#4116068 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116068 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jboss AS, jboss Web and php
great news! happy to hear that you located the problem and that you solved it as well.. any chance that you can some how place the new php5servlet.dll somewhere on the web so i'll be able to download it? i would prefer not to start to compile c++ code since (in experience) it's always trouble.. and if you already have it running... thanks nitzan. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116067#4116067 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116067 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Why control IDs in validation messages?
I just discovered, that the validation messages from hibernate validator are displayed as in the hibernate validator message bundle except for instance the @NotNull - this is coming from the JSF framework because I have to switch on the attribute required="true". I have now modified javax.faces.component.UIInput.REQUIRED=Value is required. to have an uniform message for each input field. For me, this is the easiest way. For me, the validation thing it is still not transparent because some things come from the JSF Validation Framework and some pieces from hibernate validator framework. Why that is clear because of the way the frameworks are plugged in into seam and where the validation occures. Maybe there is a way to uniform this behaviour? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116066#4116066 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116066 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user