Thanks! I actually found the answer in the wiki:
http://www.jboss.org/community/wiki/RedeployFromTheJMXConsole
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253123#4253123
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p
Hi all,
How can I restart an application in the JBoss container (a war file app) that
is not responding without restarting the entire AS? I think there must be a
JMX bean to do this, but I cannot find it.
Any reply would be appreciated.
Best Regards,
MG
View the original post :
http://www
Pete,
Thanks for pointing this out (can't be my code, must be a bug in the compiler)
;-) It makes sense the object was immutable. I was able to get it working.
Thanks.
MG
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105096#4105096
Reply to the post :
h
I don't understand this reply...
anonymous wrote : lujan99 -- ERROR: The list changes the number of items.!!!
Below is the entire callstack from the exception:
Thanks to all,
MG
07:57:17,885 ERROR [STDERR] Nov 13, 2007 7:57:17 AM
com.sun.facelets.FaceletViewHandler handleRenderException
| S
Hello All,
I am having a problem with a component generated from SeamGen. I have a query
form that allows the user to search the resultList as such:
|
|
|
|
| Number
|
|
| ...
|
Hi All,
I am getting this error when trying to get a seam managed component from a
servlet.
java.lang.ClassCastException: org.javassist.tmp.java.lang.Object_$$_javassist_0
| at
action.gov.hhs.fda.ocio.fdaaa.servlet.ExcelExportServlet.service(ExcelExportServlet.java:42)
| at
Update to my problem: Adding action="pageControllerBean.action" fixed the
pagination problem.
This is strange, maybe a bug? The initial result set that I was trying to
paginate was being managed by a stateful session bean that encapsulated an
EntityQuery object. I had some logging code in the
Ok, I found that I can at least control the detail records by using the JPA
annotation @OrderBy on the many to one relationship as such:
| @OneToMany(cascade=CascadeType.ALL, fetch=FetchType.LAZY,
mappedBy="section")
| @OrderBy("dueDate")
| public Set getDeliverables(){
| return this.
All,
I have some seam generated pages show master/detail records. If you've used
seamgen generate-entities to create entities and pages then you know what I
mean. If I have a relationship between 2 tables (A) Status and (B)
Deliverables -- I start from the status page viewing a list. This l
It seems that if you specify a query declaratively using the framework entity
query, you loose the ability to sort data in a data table, because the data is
always returned in the same order by the query. Can you pass the order by
clause dynamically by declaring it as something that is a parame
The root cause of the exception was null pointer in isNextExists(); The error
seems to be related to getMaxResults() returning a null if no resultset has
been defined.
Adding max-results=25 to the framework query fixed the error, but it seems like
the error should be caught in getMaxResults and
This seems to work:
| @Override
| public String getOrder(){
| if(super.getOrder() == null){
| return "status.sortOrder";
| }
| return super.getOrder();
|
| }
|
View the original post :
Overriding the getOrder method as below then disables the clickable sorting
feature of the data tables:
|
|
|
|
|
|
| #{status.description}
|
|
No longer seems to work
Ok, I tried restructuring this as a framework query, and the query works, but
the pagination throws an exception.
First the query as defined in components.xml:
|
|d.dueDate > #{search.fromDate}
|d.dueDate < #{search.toDate}
|
Pete,
I thought of doing this as a declared query, in components.xml -- but the
search is a on a date range of a field on the entity bean. All of the examples
I've seen use the instance of the entity to back the search form, and to submit
the form values for the query -- Unless you use a sess
Doh! Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098528#4098528
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098528
___
jboss-user mailing list
jboss-user@lists.j
Pete,
Thanks for the reply. I can have a stateful session bean that extends
EntityQuery? I guess I didn't think of that. What I ended up doing was using
EntityQuery to perform my query, and exposing the methods from EntityQuery that
are used by the JSF pages for sort/filtering. It mostly wo
Hello All,
I have some components generated by seamgen, specifically the EntityQuery Lists
that relate to a list of entity objects. The seam generated search form allows
the restrictions to be passed to the query:
| public class StatusList extends EntityQuery {
|
| private static f
Hello All,
I have a scenario where I want users to only be able to view/edit data that
they have access to based on what group they happen to be in. My thought was
to use Hibernate Filter for this, and the reference guide gives a brief note on
Hibernate filters in section 8.6. Using Hibernate
Thanks for the reply. I was able to use the prototype form.getInputs('text') to
get an array of my form elements and replace the values that way. However, this
doesn't work like I expected. Even though the HTML form contains the correct
values, the bean that the search is bound to has the old v
Hello All,
Using Seam 2.0.0CR1, I have a form where I want to change the value of a
element based on the selection of a DDLB. It seems overkill
to use Ajax, and to make a round trip to the server in order to change the
value of an HTML input -- so I wrote a simple JS function to change the
Hello All,
I have a seam-gen app that gives me a pretty good head start for the simple
crud operations needed to maintain a database. I like the pagination of data
that is baked in to the JSF pages as the data sources for the components are
backed by the EntityQuery objects. However, I have a
Arg! Now I am getting a LazyInitializationException:
| 09:34:39,137 ERROR [LazyInitializationException] could not initialize proxy
- no Session
| org.hibernate.LazyInitializationException: could not initialize proxy - no
Session when I execute my query:
deliverables = em.createQuery("select d
Doh! That was it. Thanks for the shove. More proof that EJB3, although much
better than previous versions is not idiot (me) proof.
Cheers!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096338#4096338
Reply to the post :
http://www.jboss.com/index.html?mod
Hello All,
I am trying to implement a search function, and I have been using the seam
booking demo as a reference. I am not sure how my code is materially different
from the example, but I am getting this error:
javax.el.PropertyNotFoundException: /DeliverableSearch.xhtml @21,113
value="#{deli
I too have a related need. I want to be able to provide a date range search on
an Entity that has a due date field. It sounds like this can't be done with
EntityQuery? I have to write a session bean and handle it that way?
Any advice?
Best Regards,
MG
View the original post :
http://www.jbo
Maybe this is more of an EJB3 question, but is it possible to have a
conditional cross field validation using annotation on my entity bean? I have 2
fields on an entity I want to do something like:
if field1= 'Other' then require field2
Can this be done with annotations?
Thanks in advance,
MG
I created the required tables and still get the same error, has anyone been
able to successfully get this example to work in an application?
Any help would be much appreciated.
Cheers!
MG
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095434#4095434
Reply t
Ok, it helps if you bind the auditHomeEntityManager, I did that and got past
the initial error. Now when I try to edit the entity that is marked @Auditable
I get this error on update:
17:53:35,633 FATAL [application] java.lang.IllegalArgumentException: Unknown
entity: uk.co.splendid.audit.AuditL
Trying to drop in the Audit function, here's what I did:
| Added the lib to my classpath
| Changed my entity to inherit from AuditHome instead of Entity Home
| Added @Auditable annotation to the field I want to track
|
| When I deploy the application and try to access the class that is
Since I seem to be having this conversation with myself, I thought I'd post the
solution so I would know what I did wrong. When I used seamgen to generate the
entities seam generate-entities It did not properly add the @GeneratedValue
annotation to the entity class for the autoincrement field i
In the struts world, I've dealt with this by getting the ID after update and
explicitly updating my model with the id after the DB update. This is usually
done in the struts action class.
Is there a similar metaphor for doing this in seam? Do I need to have a
stateless session bean that updates
These are seamgen generated variable and class names, based on the tables that
are backed by the EJB3 entity beans. If the names of the variables are wrong,
its because they were generated incorrectly. I don't think that is the case.
Can someone point me to a request/response cycle for SEAM?
It seems as if persisting the entity is not tied to the correct instance?
My page navigation all look as follows:
|
|
|
The value that is tied to the HTML for, (therefor the value that I would
believe to be forwarded as a parameter after the persist method is:
|
|
Re: Create New Entity -> Page Round Trip & Update autoincrement
Hello all,
I am new to seam & JSF in general, I have searched the forum for this problem
and could not find anything related. I am using an application that was
generated by seamgen.
I have an entity, called status. If I creat
Oops, I meant to submit this for Seam forum.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092676#4092676
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092676
___
jboss-user
Hello all,
I am new to seam & JSF in general, I have searched the forum for this problem
and could not find anything related. I am using an application that was
generated by seamgen.
I have an entity, called status. If I create a new status, the proper table is
updated, but upon the round
Upgrading to 2.0.0.CR1 fixed the problem. Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091715#4091715
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091715
___
jboss
Pete,
Thanks for the reply. I am using 2.0.0.BETA1 w/JBoss 4.2.1.GA. I'll download
the latest. I assume I can just overwrite my project/lib directory with the
libs in the latest distro. Do I need to do anything else (other than a clean
build?)
Cheers!
MG
View the original post :
http://www
Pete,
Thanks for the reply. Something really strange is going on. The best way to
describe what is happening is I have several of these drop down lists, one for
status, one for priority, etc. I can go in and make an unrelated change to the
xhtml fragment, compile and deploy it and the error b
Ok, I got the problem sorted.
The problem was that I had the convertEntity tag before selectOneMenu. The
solution was to move it AFTER the selectOneMenu, thusly:
|
| status
|
|
|
|
|
Damian,
Thanks for the reply. I thought I was on the right track from looking at this
related link: http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamEntityConverter
Here is my deliverableHome class:
| package gov.hhs.fda.ocio.fdaaa.entity;
|
| import org.jboss.seam.annotations.In;
| impor
Hi All,
I am coming from a struts back ground, and I am lost for where to start trying
to debug this problem. I have an Object (Delivery) with an association from a
pick list (Status)
I created a seam-gen project and played around with it, but I don't want to
have to navigate to a different
43 matches
Mail list logo