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
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 :
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
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
|
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
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
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 :
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
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
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
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 :
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...
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
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 :
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.
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 :
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 :
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
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
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 :
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.
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 :
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
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
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
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
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()
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
|
|
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
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.
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 :
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
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 = {
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 {
|
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 :
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
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
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
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
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
40 matches
Mail list logo