[jboss-user] [JBoss Tools (users)] - Re: Overriding an EJB datasource for testing

2009-06-02 Thread lowecg2004
Nik, For the native queries problem one solution might be to create entity objects for the extra tables you require then they would just get generated as part of the create-drop in your tests. As for your original issue, I'm afraid I have no experience with Oracle and JPA. It does seem odd

[jboss-user] [EJB 3.0] - Re: Is there an EntityListener equivalent for when assocaiti

2008-08-14 Thread lowecg2004
Sorry for resurrecting an old post like this, but I too have been looking high and low for an answer to this issue and cannot find any information. I'd be very grateful if someone could help me on this. Kind regards, Chris View the original post :

[jboss-user] [JBoss Tools (users)] - Re: Overriding an EJB datasource for testing

2008-07-21 Thread lowecg2004
Good stuff! Thanks for your time Max. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4165651#4165651 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4165651 ___ jboss-user mailing

[jboss-user] [JBoss Tools (users)] - Re: Overriding an EJB datasource for testing

2008-07-18 Thread lowecg2004
Thanks for the reply Max. I now specify the local datasource against DefaultDS. I also needed to override some of my properties in that were specified in persistence.xml, specifically hibernate.dialect and hibernate.hbm2ddl.auto - for my test I want to use create-drop, but in dev and

[jboss-user] [JBoss Tools (users)] - Re: Overriding an EJB datasource for testing

2008-07-17 Thread lowecg2004
I've really hit a brick wall on this issue. Can anyone confirm either way if it is possible to make a test use a different version persistence.xml and import.sql? Cheers, Chris. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4164972#4164972 Reply to the

[jboss-user] [JBoss Tools (users)] - Overriding an EJB datasource for testing

2008-07-15 Thread lowecg2004
Hello, I have a Seam project (EAR) generated using JBoss tools. I'm currently trying to write some integration tests by extending SeamTest class and implementing the ComponentTest hooks. So far so good - I can get the tests firing. However, for my tests I'd like to use the embedded HSQLDB,

[jboss-user] [JBoss Seam] - Re: Cant build Seam from the CR1 download.

2007-12-18 Thread lowecg2004
I'm also having this problem: http://www.jboss.com/index.html?module=bbop=viewtopict=125648 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113831#4113831 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113831

[jboss-user] [JBoss Seam] - Re: Cant build Seam from the CR1 download.

2007-12-18 Thread lowecg2004
Done: http://jira.jboss.org/jira/browse/JBSEAM-2403 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4114038#4114038 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4114038 ___

[jboss-user] [JBoss Seam] - Re: Seam performance vs plain JSF

2007-12-11 Thread lowecg2004
The debug mode for Seam would have a significant impact on your stats. Have you set the debug mode for Seam to false? In components.xml, try adding: core:init debug=false / View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4111870#4111870 Reply to the post :

[jboss-user] [JBoss Seam] - Error building from CVS

2007-12-11 Thread lowecg2004
Hi, I've checked out Seam from CVS. I updated default.build.properties to point to my JBossAS instance: C:/bin/seam/jboss-4.2.2.GA When I build, I get the following error: [java] [ERROR] Error on generate component | [java] org.ajax4jsf.builder.config.ParsingException: I/O error on

[jboss-user] [JBoss Seam] - Re: Error building from CVS

2007-12-11 Thread lowecg2004
Sure: Buildfile: C:\Documents and Settings\chrisl\workspace\jboss-seam\build.xml | [copy] Copying 1 file to C:\Documents and Settings\chrisl\workspace\jboss-seam | initpoms: | [echo] Setting up dependencies | [mkdir] Created dir: C:\Documents and

[jboss-user] [JBoss Seam] - Exception with basic authentication

2007-11-30 Thread lowecg2004
If I try to access a page that has basic HTTP authentication in place, I get the following exception: 08:47:28,131 ERROR [ExceptionFilter] handling uncaught exception | java.lang.NullPointerException | at

[jboss-user] [JBoss Seam] - Re: Exception with basic authentication

2007-11-30 Thread lowecg2004
I had a look at the code for AuthenticationFilter.processBasicAuth(). It actually looks like Identity is not being found in the context: private void processBasicAuth(HttpServletRequest request, | HttpServletResponse response, FilterChain chain) | throws IOException,

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.GA is out

2007-11-05 Thread lowecg2004
Good stuff. The release notes are currently a little brief... http://jira.jboss.com/jira/secure/ReleaseNote.jspa?version=12311781styleName=HtmlprojectId=10071Create=Create View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4101888#4101888 Reply to the post :

[jboss-user] [JBoss Seam] - Re: @Unwrap from SFSB and session timeout issue

2007-09-21 Thread lowecg2004
Hi, In short, I believe the answer is Yes - if your beans are defined as SFSB then methods are only available if exposed via the corresponding @Local or @Remote interfaces. Some of the examples use SFSBs which have the @Stateful annotation while other examples use simple POJOs where no local

[jboss-user] [JBoss Seam] - Re: JBoss EL performance vs Sun EL

2007-09-17 Thread lowecg2004
Are you able to post some actual code that demonstrates these performance issues: (beans, facelets etc)? In addition to all the EL parsing, reflection, etc. the EL calls will probably be subject to several layers of interception. Do these show up in your timings? I know you've run a profiler

[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?

2007-08-21 Thread lowecg2004
Morning Pete, Thanks for your reply. anonymous wrote : Firstly, your problem deploying the mail example. I can't reproduce this using current CVS and a clean install of JBoss AS 4.2.1.GA. Is this your setup? My setup is JBossAS 4.2.0.GA upgraded to Hibernate 3.2.5.GA and JBossWS 2.0.GA. I

[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?

2007-08-21 Thread lowecg2004
Sigh, I'm really not having any luck with receiving e-mail. Using JBossAS 4.2.0.GA (with default Hibernate installation), I now get the following problem from Meldware. Since this is a Hibernate error, I'll try upgrading to JBoss 4.2.1.GA and see how I get on. Cheers, C. 10:37:37,633 INFO

[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?

2007-08-21 Thread lowecg2004
@Felix Thanks for the info, that makes perfect sense. @Pete I still get the same Hibernate issue even after upgrading to JBossAS 4.2.1.GA. Next, I shall try upgrading the Meldware component to 1.0 M8... Cheers, Chris. View the original post :

[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?

2007-08-21 Thread lowecg2004
Pete, I think our last messages crossed in the post. Do you know about the status of this bug on the latest available release, 1.0 M8? Cheers, Chris. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076192#4076192 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?

2007-08-21 Thread lowecg2004
Okay, I just upgraded to 1.0 M8 and the issue persists. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076207#4076207 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076207 ___

[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?

2007-08-21 Thread lowecg2004
Pete, I have tried the 1.0 M8 release which I believe is the latest version. I just copied mail.ear and meldwarebase.sar over to my server's deploy directory (after removing _mail.ear and the file meldwarebase.sar previously deployed by Seam mail example). I get the same issue, even though

[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?

2007-08-21 Thread lowecg2004
Yes, it's a far cry from JIRA. So the long and short of it is that Meldware is not really an option on 4.2.x (for now)? Can you recommend any other servers? Have you tried receiving e-mails from, say, an Exchange account? I really need to be able to give my Seam app a prod using e-mail.

[jboss-user] [JBoss Seam] - Mail examples broken in CVS?

2007-08-20 Thread lowecg2004
I'm sure I've just been unlucky to catch Seam in a state of flux, however I've just been trying the receive e-mail functionality in Seam and it appears to be broken. The examples/mail app deployed _mail.ear and meldwarebase.sar which results in the following errors: 18:42:14,164 WARN

[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?

2007-08-20 Thread lowecg2004
After reading the Seam reference for 2.0.0.b1 I think I've found some niggles (which you're probably well aware of, but I'll raise them anyway ;) I believe the deployment instructions for mail-ra.rar need revising since the file mail-ra.rar is no longer part of JBoss 4.2.x - this is implied

[jboss-user] [JBoss Seam] - Re: Seam Email and Embeddedable EJB3 for testing

2007-08-17 Thread lowecg2004
If memory serves, I don't think you can completely send an e-mail since the Facelet renderer is not created under the mock environment. Try out my mock object suggestion at the end of this post: http://www.jboss.com/index.html?module=bbop=viewtopict=108860 I hope this helps. Chris. View the

[jboss-user] [JBoss Seam] - Any way to invoke Seam method from an applet?

2007-08-16 Thread lowecg2004
Can anyone suggest a way to invoke a Seam method and participate within the parent web application's context? Web services are not suitable here since the JBossWS service runs in a separate servlet and thus HttpSession cannot be shared. Cheers, Chris. View the original post :

[jboss-user] [JBoss Seam] - Re: not redirecting to security_error.xhtml

2007-08-03 Thread lowecg2004
I just came across this issue and managed to figure out a workaround. I had a class level @Restrict defined for a bean. The bean had two functions: 1) to provide a @DataModel with its associated @Factory; and 2) to define an action method for my persistence logic. From the JIRA reference

[jboss-user] [JBoss Seam] - Re: Is there a JBossWS client example for invoking a Seam ws

2007-08-01 Thread lowecg2004
Darn it - I'd confused myself with the fact that the web service code was part of the Seam app and didn't appreciate that the WS servlet was elsewhere. I guess that scuppers my plans until HttpSession sharing between WAR modules is implemented (which has just received my vote):

[jboss-user] [JBoss Seam] - Re: SOS-Creating WebService with Seam

2007-08-01 Thread lowecg2004
What do you mean by does not work - do you get exceptions or error messages of any sort? There was a fix put in yesterday resolving an NPE if no conversationId was specified on a WS call. I've been having trouble with sessions, but have been able to deploy and invoke the web service just

[jboss-user] [JBoss Seam] - Re: SOS-Creating WebService with Seam

2007-08-01 Thread lowecg2004
Johan, The name of your interface is WS_TestLocal which implies you are using the @Local annotation. For web services you need to use @Remote. For example, I think you should use something like this: @Remote | public interface WS_TestRemote { | String sayHello(String name); | }

[jboss-user] [JBoss Seam] - Re: SOS-Creating WebService with Seam

2007-08-01 Thread lowecg2004
In your logs do you see an entry something like this: INFO [LifecycleHandlerImpl] WebService started: http://DFVGM71J:8080/dcs-dcs/DevelopmentAuthenticator Where http://DFVGM71J:8080/dcs-dcs/DevelopmentAuthenticator; is the published end point of my web service. To see the WSDL, add ?wsdl to

[jboss-user] [JBoss Seam] - Re: SOS-Creating WebService with Seam

2007-08-01 Thread lowecg2004
I'm sorry Johan, but I'm all out of ideas :( Hopefully one of the Seam guys can help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069725#4069725 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069725

[jboss-user] [JBoss Seam] - Re: Is there a JBossWS client example for invoking a Seam ws

2007-08-01 Thread lowecg2004
Unfortunately I have not used wsprovide: http://jbws.dyndns.org/mediawiki/index.php?title=Wsprovide Correct me if I'm wrong, but I don't think you need wsprovide if you're using Seam web services. Do you mean wsconsume for generating client artifacts? View the original post :

[jboss-user] [JBossWS] - Re: JBOSS-WS Client not sending COOKIE after 2 calls

2007-07-31 Thread lowecg2004
Hello All, I really could use some help on this, I've exausted all my avenues of investigation and have become stuck. As I understand it, getting the client to pass on a JSESSIONID cookie to the server is the only way I can use the JBossWS clients with a Seam web service. I also believe it

[jboss-user] [JBoss Seam] - Re: Is there a JBossWS client example for invoking a Seam ws

2007-07-31 Thread lowecg2004
Shane, Thanks for your reply, I'll give the new build a go. As for the session ID, I've been trying to add a cookie to a client generated by the JBossWS 2.0.0.GA wsconsume tool without any luck. As far as I understand session support in the client, it looks like you can instruct the client

[jboss-user] [JBossWS] - Re: setHeader and setServerURL, using javax.xml.ws.Service?

2007-07-30 Thread lowecg2004
Eric, Did you ever find a solution to setting the sessionId and setHeaders? Regards, Chris. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4068633#4068633 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4068633

[jboss-user] [JBoss Seam] - Is there a JBossWS client example for invoking a Seam ws?

2007-07-30 Thread lowecg2004
I've successfully setup a Seam web service, generated the proxies using wsconsume and installed the Seam conversation SOAP handler. I'm having real difficulty finding out how to add/read the conversationId SOAP header. Without it I just get this exception: Caused by:

[jboss-user] [JBossWS] - Re: JBOSS-WS Client not sending COOKIE after 2 calls

2007-07-29 Thread lowecg2004
Hello, I'm using 2.0.0 web services in a similar way to the author but I'm getting some slightly different problems with sessions. I call a web service method that creates a HttpSession and saves some state to that session using httpSession.setAttribute(userId, userId). At the client, I get

[jboss-user] [JBoss Seam] - Re: Seam, problem with EntityManager

2007-07-05 Thread lowecg2004
Hello Paata, Your code and persistence.xml/components.xml config look okay to me. Do you have an entry in your startup logs that looks like the following? 16:53:36,554 INFO [Component] Component: entityManager, scope: CONVERSATION, type: JAVA_BEAN, class:

[jboss-user] [JBoss Seam] - Re: Seam, problem with EntityManager

2007-07-04 Thread lowecg2004
Have you got an entry in persistence.xml that corresponds to your entity manager factory? components.xml | |core:managed-persistence-context name=entityManager | auto-create=true |persistence-unit-jndi-name=java:/dvdEntityManagerFactory/

[jboss-user] [JBoss Seam] - Re: Seam performance concerns

2007-06-25 Thread lowecg2004
What are your config values for Ajax4Jsf's 'forceparse' in web.xml and Seam 'debug' in components.xml: core:init debug=false ? I believe that by default, every request is routed through a Tidy filter, even for non-Ajax pages. forceparse = false will ensure that only Ajax requests go through

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Problem while Communicating between simple java class an

2007-06-12 Thread lowecg2004
Just been bitten by this in JBoss 4.2.0.GA - I can't believe this is still around after all this time. My code used to work just fine under Tomcat 5.5.17. Thanks to the original author of this post for persevering and posting a solution! View the original post :

[jboss-user] [JBoss Seam] - Re: DOCTYPE definition on *pages.xml performance warning/imp

2007-06-05 Thread lowecg2004
Regarding lazy loading of pages.xml: please accept my apologies, I'd completely missed the hotDeployFilter which takes care of this loading when core:init debug=true / and caches when debug = false. However... I had tried my experiments with debug set to true/false before posting and observed

[jboss-user] [JBoss Seam] - Re: DOCTYPE definition on *pages.xml performance warning/imp

2007-06-05 Thread lowecg2004
anonymous wrote : Sometimes we want to reuse the same components.xml file with minor changes during both deployment and testing. Seam lets you place wildcards of the form @wildcard@ in the components.xml file which can be replaced | either by your Ant build script (at deployment time) or by

[jboss-user] [JBoss Seam] - Re: seam 1.3.0.alpha seam-gen error

2007-06-04 Thread lowecg2004
I had that earlier. I have no solution at this time, just a work around. I had two entities in my seam-gen.reveng.xml that had previously generated fine. The first time I got the error all I had to do was delete the entities and run seam-gen again. I was not successful with subsequent

[jboss-user] [JBoss Seam] - Post 4.2/Seam 1.3.0.A upgrade: The conversation ended, ...

2007-06-02 Thread lowecg2004
I have a page.xml that starts a long running conversation: page | begin-conversation join=true / | | ... | /page This has served me well for some time. After upgrading to Seam 1.3.0.Alpha (CVS 02-06-07), Trinidad 1.2 and Ajax4Jsf 1.1.1 when ever I submitted that page's

[jboss-user] [JBoss Seam] - Re: Inject a mocked component for integration testing

2007-06-02 Thread lowecg2004
You're welcome. As a general solution to invoking e-mails from test code, I use this: import java.io.IOException; | | import javax.faces.context.FacesContext; | | import org.jboss.seam.InterceptionType; | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.Install;

[jboss-user] [JBoss Seam] - Any way to access login-required flag from EL?

2007-06-02 Thread lowecg2004
For improved security, I'd like to output cache control meta tags on pages that require login: meta content=no-cache http-equiv=Pragma / | meta content=no-cache http-equiv=Cache-Control / | meta content=no-store http-equiv=Cache-Control / | meta content=max-age=0 http-equiv=Cache-Control

[jboss-user] [JBoss Seam] - Re: Getting selectitems from the generated EntityList object

2007-06-02 Thread lowecg2004
What's wrong with Seam's solution? h:selectOneMenu value=#{sysUsersHome.instance.tbCompany} required=true | s:selectItems value=#{companies} var=company label=#{company.descr} noSelectionLabel=Select... hideNoSelectionLabel=true/ | s:convertEntity / | /h:selectOneMenu

[jboss-user] [JBoss Seam] - Re: Any way to access login-required flag from EL?

2007-06-02 Thread lowecg2004
Nifty! Thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050684#4050684 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050684 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Seam 1.3 CVS Glassfish Example Broken

2007-06-02 Thread lowecg2004
If I deploy as per readme file then I get the following exception: [#|2007-06-02T22:20:47.554+0100|WARNING|sun-appserver-pe9.0|javax.enterprise.system.stream.err|_ThreadID=15;_ThreadName=Thread-25;_RequestID=143a574d-5863-4f62-af6f-279b00ea4db9;|log4j:ERROR Could not instantiate class

[jboss-user] [JBoss Seam] - Re: DOCTYPE definition on *pages.xml performance warning/imp

2007-06-01 Thread lowecg2004
I added some basic timing code to Pages.class for the following methods. Both call getDocumentRoot(): | package org.jboss.seam.core; | | ... | | public class Pages { |... | |private void parse(InputStream stream) |{ | long t1 = System.nanoTime(); |

[jboss-user] [JBoss Seam] - Re: A performance problem with Seam

2007-06-01 Thread lowecg2004
Another angle on this... Do you have DOCTYPE defined for your pages.xml files? http://www.jboss.com/index.html?module=bbop=viewtopict=109896 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050464#4050464 Reply to the post :

[jboss-user] [JBoss Seam] - Re: A performance problem with Seam

2007-06-01 Thread lowecg2004
sorry, meant to say another angle on why you might be getting a performance degradation after migrating. my post is nothing to do with interceptors/JDNI etc. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050465#4050465 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam CVS+JBoss 4.2+Trinidad

2007-05-31 Thread lowecg2004
Glad to hear you're working with this. I'll give the suggested web.xml changes a try. Cheers, Chris. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050016#4050016 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050016

[jboss-user] [JBoss Seam] - DOCTYPE definition on *pages.xml performance warning/improve

2007-05-31 Thread lowecg2004
Hello, I have a couple of suggestions regarding the handling of the *page.xml files. Seam-Gen adds an XML doctype to every instance of *page.xml: !DOCTYPE page PUBLIC | -//JBoss/Seam Pages Configuration DTD 1.2//EN | http://jboss.com/products/seam/pages-1.2.dtd; | |

[jboss-user] [JBoss Seam] - Re: Crazy rendering after validation error (post 4.2 upgrade

2007-05-30 Thread lowecg2004
To reproduce this in the Seam-Discs example, I added a required field to home.xhtml as follows: view/home.xhtml | ... | /f:facet | /tr:tree | | div style=width: 200px; height: 50px; border: 1px solid red; margin-top: 20px;

[jboss-user] [JBoss Seam] - Re: Seam CVS+JBoss 4.2+Trinidad

2007-05-30 Thread lowecg2004
Can you post your faces-config too? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4049847#4049847 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4049847 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Seam CVS+JBoss 4.2+Trinidad

2007-05-30 Thread lowecg2004
I do not have an entry for org.ajax4jsf.VIEW_HANDLERS: context-param | param-nameorg.ajax4jsf.VIEW_HANDLERS/param-name | param-valueorg.jboss.seam.ui.facelet.SeamFaceletViewHandler/param-value | /context-param Try knocking that out. View the original post :

[jboss-user] [JBoss Seam] - Re: Seam CVS+JBoss 4.2+Trinidad

2007-05-30 Thread lowecg2004
And it didn't help that I was looking at the original web.xml... Looking at your new definition, I didn't know about the Seam filters taking care of the A4J stuff. I just tried with my app, but it failed (possibly down to filter order, but I haven't the time to track that down so I'll resort

[jboss-user] [JBoss Seam] - Re: @Asynchronous call fails after upgrade to AS 4.2.0.GA

2007-05-29 Thread lowecg2004
Okay, it seems that under 4.0.5 I had been ignoring warnings like these: 20:35:12,718 WARN [TxConnectionManager] Prepare called on a local tx. Use of local transactions on a jta transaction with more than one branch may result in inconsistent data in some cases of failure The TX service in

[jboss-user] [JBoss Seam] - Crazy rendering after validation error (post 4.2 upgrade)

2007-05-29 Thread lowecg2004
Whenever I submit a form that fails validation, the form renders the correct validation messages but I get some weird rendering of the form. It's actually like the previous HTML doesn't get cleared and the new form + validation errors gets tacked onto the end - I'm literally seeing double. If

[jboss-user] [JBoss Seam] - Re: Seam CVS+JBoss 4.2+Trinidad

2007-05-29 Thread lowecg2004
I'm using latest CVS Seam with Trinidad, Facelets 1.12 and Ajax4Jsf without getting the exception you're seeing. Set up your Ajax4Jsf filter mapping as follows: filter-mapping | filter-nameajax4jsf/filter-name | servlet-nameFaces Servlet/servlet-name |

[jboss-user] [JBoss Seam] - @Asynchronous call fails after upgrade to AS 4.2.0.GA

2007-05-28 Thread lowecg2004
I had an aysnchronous call that was working fine until I upgraded to AS 4.2.0.GA. From my logs I get the following stack trace when I try to invoke the ansyc method. Has anyone got an idea on what might cause this? Regards, Chris. 14:44:42,187 WARN [loggerI18N]

[jboss-user] [JBoss Seam] - Re: @Asynchronous call fails after upgrade to AS 4.2.0.GA

2007-05-28 Thread lowecg2004
Thanks for the reply Gavin. You are, of course, right. I noticed this posting on the EJB3 forum just after receiving your response (I did research this problem before posting... honest): http://www.jboss.com/index.html?module=bbop=viewtopict=107018 Of particular interest is a comment from

[jboss-user] [JBoss Seam] - Re: @Asynchronous call fails after upgrade to AS 4.2.0.GA

2007-05-28 Thread lowecg2004
E... I think it's time for me to RTFM. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4049125#4049125 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4049125 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: @Asynchronous call fails after upgrade to AS 4.2.0.GA

2007-05-28 Thread lowecg2004
Hmm - I'm using MySQL 5.0 InnoDB engine for my application's data activities. I believe that should be upto the job. Is that what you were refering to? Or did you mean a DB used internally by JBoss AS? View the original post :

[jboss-user] [EJB 3.0] - Re: Confusion over em.refresh()?

2007-05-16 Thread lowecg2004
Hi Felix, Success! Firstly apologies, I wrote many-to-one in my post. It is actually OneToMany (was quite late when I was writing ;) On my collection I had specified CascadeType.ALL which includes CascadeType.REFRESH. @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy =

[jboss-user] [EJB 3.0] - Confusion over em.refresh()?

2007-05-15 Thread lowecg2004
Hello All, I'm working on a Seam/EJB3 app where I have a persisted object that I am editing. The object has a many-to-one set, to which the user can add newly created objects via the UI. If the user adds an object and chooses ok to persist their changes then all is well, the new object gets

[jboss-user] [JBoss Seam] - Re: Problem with @Asynchronous in tests

2007-05-08 Thread lowecg2004
The async functionality when run from testng requires a timer service from embedded ejb3, which it currently does not have. It is in the pipline however for 4.2 AS release: http://www.jboss.com/index.html?module=bbop=viewtopict=103930 Cheers, Chris. View the original post :

[jboss-user] [JBoss Seam] - Re: Issue about EL enhancement

2007-04-07 Thread lowecg2004
Have you defined the Seam view handler in faces-config.xml? faces-config | application | view-handlerorg.jboss.seam.ui.facelet.SeamFaceletViewHandler/view-handler | /application | /faces-config However, will not work if you're using Trinidad components. View the original post :

[jboss-user] [JBoss Seam] - Re: Excel support in Seam: any interest?

2007-03-30 Thread lowecg2004
Was a JIRA ever created for this? At the very least I'd like to add my vote to it and kick the tyres of any initial releases ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033105#4033105 Reply to the post :

[jboss-user] [JBoss Seam] - Re: @Unwrap from SFSB and session timeout issue

2007-03-20 Thread lowecg2004
Is there another bean somewhere with the name user? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029790#4029790 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029790 ___

[jboss-user] [JBoss Seam] - Re: @Unwrap from SFSB and session timeout issue

2007-03-20 Thread lowecg2004
What's the value of UserComponentNames.User? Does the SFSB have destroy() defined on the @Local interface UserComponentManager? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029920#4029920 Reply to the post :

[jboss-user] [JBoss Seam] - Re: @Unwrap from SFSB and session timeout issue

2007-03-20 Thread lowecg2004
Glad to be of service! Chris. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029928#4029928 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029928 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: s:layoutForm

2007-03-16 Thread lowecg2004
Hmm, sounds like an interesting component however I can't use it since tables are being used for layout purposes. Any chance of a div/CSS alternative render mode? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4028740#4028740 Reply to the post :

[jboss-user] [JBoss Seam] - Re: s:layoutForm

2007-03-16 Thread lowecg2004
I'll see what I can do over the weekend. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4028795#4028795 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4028795 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: @Restrict preventing @Asynchronous method from execution

2007-03-15 Thread lowecg2004
Hi Shane, Sorry, the output was truncated. As far as I can tell, there is no stack trace. Here the log around the error: 08:17:25,453 DEBUG [Manager] Restoring conversation with id: 4 | 08:17:25,453 DEBUG [AbstractSeamPhaseListener] After restoring conversation context:

[jboss-user] [JBoss Seam] - Re: Testing an @Asynchronous action

2007-03-15 Thread lowecg2004
Has anyone got any ideas for this? Surely it's not right for Seam to throw an NPE while testing an @Asynchronous action? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4028266#4028266 Reply to the post :

[jboss-user] [JBoss Seam] - Testing an @Asynchronous action

2007-03-14 Thread lowecg2004
Hi, I have added a call to an asynchronous call to one of my actions. When running from testng I get an NPE from the seam.core.Dispatcher where the offending code is trying to dereference a null object. The object in question is: @Resource TimerService timerService; After some digging I

[jboss-user] [JBoss Seam] - Re: Testing an @Asynchronous action

2007-03-14 Thread lowecg2004
Sorry about that first sentence! Bad English makes me (sic) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4027934#4027934 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4027934

[jboss-user] [JBoss Seam] - @Restrict preventing @Asynchronous method from execution

2007-03-14 Thread lowecg2004
Hi, I have a simple asynchronous call which is failing with the following message: 21:59:44,765 ERROR [TimerImpl] Error invoking ejbTimeout: javax.ejb.EJBException: java.lang.NullPointerException: facesContext The error is thrown when the @Restrict annotation is present. If I remove it then

[jboss-user] [EJB 3.0] - Re: Is Timer Service supported in JBoss Micro Container?

2007-03-13 Thread lowecg2004
From the Where is RC10? posting: http://www.jboss.com/index.html?module=bbop=viewtopict=103397 But where is Embedded EJB3? Again a simple answer: it has been promoted to JBoss 5 Embedded. From the start Embedded EJB3 was actually the usage of JBoss 5 microcontainer technology to run EJB3

[jboss-user] [JBoss Seam] - s:validate/, s:decorate and Trinidad

2007-02-21 Thread lowecg2004
I'm trying to use Seam validation with Trinidad inputText. I'd read the following topic, so I'm avoiding using s:validateAll / http://www.jboss.com/index.html?module=bbop=viewtopict=93038 However, when I use s:validate /, I get the right error messages but s:decorate is ignored:

[jboss-user] [JBoss Seam] - Re: s:validate/, s:decorate and Trinidad

2007-02-21 Thread lowecg2004
Blast. s:decorate offered exactly the sort of behaviour I was needing. Cheers for the reply. C. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4020033#4020033 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4020033

[jboss-user] [JBoss Seam] - Re: s:validate/, s:decorate and Trinidad

2007-02-21 Thread lowecg2004
Hi Pete, Cheers for the tip. I'd seen that but my components are in simple=true mode so I lose this sort of behaviour. I can't really change this either since: 1. simple=false causes most components to use tables for their layout and this has implications for accessibility/screen readers

[jboss-user] [JBoss Seam] - Re: s:validate/, s:decorate and Trinidad

2007-02-21 Thread lowecg2004
Good suggestion!! I'd tried this before and not been able to render regular components along side Trinidad, possibly this was related to my issue that I had with mixing Trinidad, Ajax4Jsf and Seam: http://www.jboss.com/index.html?module=bbop=viewtopict=101579 ...anyway, my upgrade to MyFaces

[jboss-user] [JBoss Seam] - Re: s:validate/, s:decorate and Trinidad

2007-02-21 Thread lowecg2004
Oh yeah, +1 on your XHTML/CSS comment for Trinidad rendering. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4020101#4020101 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4020101

[jboss-user] [JBoss Seam] - Re: Seam, Trinidad, Ajax4Jsf and Facelets

2007-02-19 Thread lowecg2004
Sergey, I'm still having problems with getting ajax4jsf to render in my environment, are there any pointers you could give me on where I might look in the code? Cheers, Chris. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4018713#4018713 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam, Trinidad, Ajax4Jsf and Facelets

2007-02-19 Thread lowecg2004
ehstowa, From your stack trace I agree with lawieg so give his suggestion a go, however please be aware that the Trinidad Wiki specifies that *no* view handlers should be defined in faces-config.xml http://wiki.apache.org/myfaces/TrinidadSeamAjax4Jsf If you do get past your current issue,

[jboss-user] [JBoss Seam] - Re: Seam, Trinidad, Ajax4Jsf and Facelets

2007-02-19 Thread lowecg2004
Pete, Nope - I have had no success, but would very much like to have this functionality. Cheers, Chris. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4018827#4018827 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4018827

[jboss-user] [JBoss Seam] - Re: Another Seam, Myfaces, Facelets, Ajax4JSF and Trinidad p

2007-02-19 Thread lowecg2004
Thomas, Are your Ajax4Jsf components rendering correctly? Regards, Chris. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4018839#4018839 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4018839

[jboss-user] [JBoss Seam] - Re: Another Seam, Myfaces, Facelets, Ajax4JSF and Trinidad p

2007-02-19 Thread lowecg2004
Interesting - that's good to hear. Are you using the same web.xml and faces-config.xml that you posted above or are have you introduced further configuration? Would you mind posting your latest web.xml and faces-config.xml files? Was there anything special that you had to do to

[jboss-user] [JBoss Seam] - Re: Another Seam, Myfaces, Facelets, Ajax4JSF and Trinidad p

2007-02-19 Thread lowecg2004
I've just upgraded my faces core from 1.1.4 to 1.1.5 and this has resolved my issue - Ajax4Jsf components are now rendering. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019073#4019073 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam, Trinidad, Ajax4Jsf and Facelets

2007-02-19 Thread lowecg2004
I've just upgraded my faces core from 1.1.4 to 1.1.5 and this has resolved my issue - Ajax4Jsf components are now rendering. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019075#4019075 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Errors when using Seam components with Trinidad

2007-02-19 Thread lowecg2004
I've just upgraded my faces core from 1.1.4 to 1.1.5 and this has resolved this issue. The No Renderer found for component messages have stopped and there is a noticable performance improvement with my application. View the original post :

[jboss-user] [JBoss Seam] - Re: problem passivation thread: ConcurrentModificationExcept

2007-02-14 Thread lowecg2004
Finally realised what was going on with this. I had a LoginAction: @Stateful | @Scope(ScopeType.EVENT) | public class LoginAction implements Login, Serializable | { | @Out | SessionTimeoutHander sessionTimeoutHander; | | ... | | public String login() { | ... |

[jboss-user] [JBoss Seam] - Seam, Trinidad, Ajax4Jsf and Facelets

2007-02-14 Thread lowecg2004
I can't for the life of me get these libraries to play together. There are no exceptions - just the Ajax4Jsf components do not render. Without Trinidad, I have been able use the Ajax4Jsf poller just fine. I've added a simple poller to my page as follows: !DOCTYPE html PUBLIC -//W3C//DTD

[jboss-user] [JBoss Seam] - Re: Seam, Trinidad, Ajax4Jsf and Facelets

2007-02-14 Thread lowecg2004
Hi Sergey, I took an update as of last night, so my jars are: ajax4jsf.jar (1.0.6) a4j-trinidad.jar (1.0.5) oscache-2.3.2.jar Same for the Trinidad jars too - they are taken from the nightly build 13th Feb 2007. Cheers, Chris. View the original post :

  1   2   >