[jboss-user] [JBoss Seam] - javax.el.PropertyNotFoundException: Target Unreachable, iden

2007-12-04 Thread msduk
I am using seam 2 and sun app server 9. I have two seemingly identical configurations. On one version my ear works fine and on the other I get this exception whenever any seam @Name object is referenced i.e. even if I remove the authentication. javax.el.PropertyNotFoundException: Target

[jboss-user] [JBoss Tools (users)] - Seam Runtime {0) resource templates directory doesn't exist

2007-11-19 Thread msduk
On attempting to create a seam project this error appears at the top of the Seam Facet dialogue page. This is against 4.2 and with seam 2. any advice appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105968#4105968 Reply to the post :

[jboss-user] [JBoss Seam] - Eclipse dynamic web project, seam, glassfish, hibernate

2007-11-14 Thread msduk
Hi I am struggling with the hardest part of development nowadays, the setting up of the project. Could someone please give me some pointers (or link). I need to use glassfish (with hibernate not JSP) all within a usable eclipse project and I am trying seam 2 for the first time. I am sure there

[jboss-user] [JBoss Seam] - Re: Connection handle has been closed and is unusable

2007-08-10 Thread msduk
local-tx-datasource | jndi-namenrg2Datasource/jndi-name | connection-urljdbc:mysql://localhost:3306/db/connection-url | driver-classcom.mysql.jdbc.Driver/driver-class | user-namedb/user-name | passwordpass/password |

[jboss-user] [JBoss Seam] - Re: Exception handling problem

2007-08-10 Thread msduk
4.0.5GA JBoss, 1.2.1 Seam, Icefaces 1.6.0 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073036#4073036 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073036 ___ jboss-user

[jboss-user] [JBoss Seam] - Exception handling problem

2007-08-10 Thread msduk
I cannot seem to get the exception handling working even with the basic catch all in the pages.xml | exception | end-conversation/ | redirect view-id=/error.html | messageCatch-all exception/message | /redirect | /exception | Before I add this I get the

[jboss-user] [JBoss Seam] - Re: Connection handle has been closed and is unusable

2007-08-10 Thread msduk
SELECT 1 is actually valid mysql syntax (although I have never understood why). I will switch to that and save some cpu cycles. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4072925#4072925 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Connection handle has been closed and is unusable

2007-08-10 Thread msduk
anonymous wrote : I'm getting the same problem. I'm wondering whether it's mySql because I've been told it's concurrent transaction handling is poor. I'm going to move to Postgres today to see if there are any improvements. | | Thanks, AL. I am pretty sure it isn't down to mysql's

[jboss-user] [JBoss Seam] - Connection handle has been closed and is unusable

2007-08-08 Thread msduk
Hi. There is a huge amount of noise relating to this error all over the place. I'm not really sure if it is a seam/AS/Hibernate issue. The stack is as follows Caused by: java.sql.SQLException: Connection handle has been closed and is unusable | at

[jboss-user] [JBoss Seam] - identity.logout from javascript

2007-07-25 Thread msduk
Hi is there any way I can call indentity.logout from javascript? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067358#4067358 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067358

[jboss-user] [JBoss Seam] - Re: identity.logout from javascript

2007-07-25 Thread msduk
I was trying this as a servlet but any attempts to reference Identity from inside the doGet results in java.lang.IllegalStateException: No active session context View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067369#4067369 Reply to the post :

[jboss-user] [JBoss Seam] - Re: identity.logout from javascript

2007-07-25 Thread msduk
I think my url-pattern is incorrect in my components.xml can anyone tell me what it should be. servlet-mapping servlet-namelogout/servlet-name url-pattern/logout/url-pattern /servlet-mapping web:context-filter url-pattern=/logout/* / I think I have tried most combinations now...

[jboss-user] [EJB 3.0] - Entity subquery

2007-07-20 Thread msduk
Sean 1.2.1, AS 4.0.5, Mysql5 Basically after loading an entity I want to be able to do a 'subquery' inside a transient method or something that achieves the same thing. The motivation is that the state of the entity is made up of many many sub table joins and lines. I want to replace the VERY

[jboss-user] [JBoss Seam] - Re: s:fileUpload working locally but not remote

2007-07-20 Thread msduk
Is this possibly a path issue? I remember reading a bug report but cant remember if it was seam/icefaces/tomahawk / linux \ windows View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4066255#4066255 Reply to the post :

[jboss-user] [JBoss Seam] - Seam version vs. hibernate version

2007-07-19 Thread msduk
I have been upgrading seam and have now moved on to 1.2.1 GA. Has there been any hibernateall.jar upgrades since say version 1.1? Would you advise against upgrading to the later 3.2.4.sp1 for example. I notice there are a lot of bugfixes between that and the version that I am currently on.

[jboss-user] [JBoss Seam] - Timer / Scheduling in Seam

2007-06-14 Thread msduk
What are you recommending for task scheduling now in seam? Last time I used quartz but if memory serves there was somthing you were working on earlier in the year which wasnt ready last time I asked. Regards View the original post :

[jboss-user] [JBoss Seam] - Icefaces + fileupload

2007-05-04 Thread msduk
Hi what is the current state regarding file upload? Last time I checked neither worked. I am on 1.2.1GA and 1.5.4 Icefaces If anyone has got either tag working I would be extremely grateful for advice particularly regards the commons lib placement and config. View the original post :

[jboss-user] [JBoss Seam] - Re: Navigation conceptual question

2007-04-27 Thread msduk
Thanks very much, I will give this go. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041405#4041405 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041405 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: how do i get the size of collection in .xhtml with facel

2007-04-26 Thread msduk
Are you susre that your collection supports getSize() ? Iterator and a few others do not View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040927#4040927 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040927

[jboss-user] [JBoss Seam] - Re: Navigation conceptual question

2007-04-26 Thread msduk
In this case I decided that I could use a icefces modal dialogue... how very web 2.0. I would still like a nice way to do this however and I cant help but think seam has a solution. Passing parameters around is so old school ;0) View the original post :

[jboss-user] [JBoss Seam] - Navigation conceptual question

2007-04-25 Thread msduk
This sort of situation crops up a lot of the time for me so I would be interested in the seam solution to this problem. I am in the middle of a long conversational process but midway need to view some details. I start a new converstion with nested=true so that the previous state is maintained.

[jboss-user] [JBoss Seam] - Re: failed to lazily initialize a collection

2007-04-25 Thread msduk
You need to use an extended persisten context otherwise is is closed on forwarding to the view. @PersistenceContext(type=EXTENDED) EntityManager em; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040666#4040666 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Possible to Stream Object to user in Seam?

2007-04-25 Thread msduk
I had a look arround and decided that a sevlet was the only option although I am far from an expert. One word of advice - when you are doing your database ensure that you have your blob in a separate table. I was unable to convince hibernate to lazy load blobs. This meant a 20 line file

[jboss-user] [JBoss Seam] - Remoting exception

2007-04-03 Thread msduk
Hi I am trying my hand a bit of remoting and am stuck here. It is so close to the example code in section 19 I really cant see a problem. This is 1.2.0 PATCH + Icefaces + 4.0.5 AS + JAAS Cheers Exception: 00:10:50,328 ERROR [Remoting] Error | java.lang.RuntimeException: Type cannot be

[jboss-user] [JBoss Seam] - Conceptual/Best Practice Question

2007-03-27 Thread msduk
I have home page view that displays a list of orders as a @DataModel. The user can customise the view via a drop list to display different versions of this data model. This therefore requires state to maintain the selection choice. Users are also potentially altering the results viewable in the

[jboss-user] [JBoss Seam] - Re: Conceptual/Best Practice Question

2007-03-27 Thread msduk
I love elegant solutions. Thanks a lot View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4032051#4032051 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032051 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: Conceptual/Best Practice Question

2007-03-27 Thread msduk
I am getting greedy now. Is there somewhere I can place the event call inside a @Conversational bean so that it will get fired on any @End call? I have many many ways to end a conversation here. I thought like this... | @Remove @Destroy @RaiseEvent(YOUR_EVENT_NAME) | public void destroy()

[jboss-user] [JBoss Seam] - Re: JAAS login with JBoss Seam

2007-03-27 Thread msduk
It might be true now but I had configuration hell... | ?xml version=1.0 encoding=UTF-8? | !DOCTYPE jboss-web PUBLIC -//JBoss//DTD Web Application 2.3//EN http://www.jboss.org/j2ee/dtd/jboss-web_3_0.dtd; | | jboss-web | |

[jboss-user] [JBoss Seam] - Re: Conceptual/Best Practice Question

2007-03-27 Thread msduk
Thanks for the response Gavin. As the refresh is a potentially expenisve operation I wanted to limit it to just the conversation that bean is involved in. I noticed the org.jboss.seam.endConversation in the docs before but assumed it was any conversation as it lacks the '' part such as for

[jboss-user] [JBoss Seam] - Validation - Best Practices

2007-03-20 Thread msduk
We are using Seam 1.2 + Icefaces (after trying tomahawk and trinidad) and have used a number of validation techniques over the last few months. It just seems that there are so many ways to validate (some of which are semi-deprecated) for ejb, seam, and jsf that I am not sure what is best.

[jboss-user] [JBoss Seam] - Re: Validation - Best Practices

2007-03-20 Thread msduk
I just realised that sounded a bit like a moan. Just to clarify I really like seam (beats spring hands down) and you are doing a great job. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029887#4029887 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Quartz TimerService

2006-12-18 Thread msduk
I have the calendar defined in jobs.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3994585#3994585 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3994585 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: Quartz TimerService

2006-12-16 Thread msduk
This worked fine for me. I have the quartz jar in the lib folder and I believe that was it. This is on 4.0.5 GA. I noticed that I have jobs.xml, .properties and the xsd in my WEB-INF from an earlier attempt to run it the non-ejb way. Maybe it requires this? @MessageDriven(activationConfig = {

[jboss-user] [JBoss Seam] - Entity Manager Woes

2006-12-14 Thread msduk
Ok I have oficially downgraded myslef to n00b after a large amount of previous success with seam. Basically I am trying to use the entity manager from an external thread. I have the entity manager. | EntityManager em = null; | | try { |

[jboss-user] [EJB 3.0] - Re: How to get EnitityManager in SLSB without injection??

2006-12-14 Thread msduk
I have manged through jndi lookup EntityManagerFactory emf = (EntityManagerFactory) jndi.lookup(java:/myEntityManagerFactory); em = emf.createEntityManager(); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3993861#3993861 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Entity Manager Woes

2006-12-14 Thread msduk
I am using Quartz to invoke methods but I will have to admit to the inner working being 'magic' to me. I have just gone back to square one and tried a completely different approach as, since I last looked, quartz has EJB3 initilisation support. Ok I will not get the bijection capabilities I

[jboss-user] [JBoss Seam] - Re: Using Seam from External Invocation

2006-12-13 Thread msduk
Thanks Gavin but I think that might require a slightly better understanding that I have. Taking the broader problem, running repeated actions from antoher thread and still having access to the seam beans . Can anyone suggest something please? I have tried Component.getInstance(testBean) for

[jboss-user] [JBoss Seam] - Using Seam from External Invocation

2006-12-12 Thread msduk
So far my progress with seam has been rapid and I have enjoyed using it. I have just stumbled with the following problem. I am invoking Jobs using Quartz that act upon all my entities. I wanted to do nice things like @Logger and @PersistenceContext and use the entity manager to do the

[jboss-user] [JBoss Seam] - h:dataTable DataModel

2006-12-04 Thread msduk
Hi could someone let me know the prefered way of using hibernate backed collections in a DataTable type way please. I realise I can copy the hibernate collection back in and out of the conversation bean to DataModel and DataModelSelection but that seems a bit silly. Other attempts I have

[jboss-user] [JBoss Seam] - Paths and web file references

2006-11-01 Thread msduk
Hi. In all the examples I have seen hardcoded references to web files e.g. /seam-booking/images/logo.gif In other projects on tomcat paths are resolved against the context root so /images/logo.gif would be fine. How can I achieve the same thing either by having them auto resolve or el