Ahh, that was it. Turn off the clustering and it works like a charm!
Thanks for the tip!
Greg
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4074878#4074878
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074878
Hello,
I'm setting up JBoss Messaging 1.4.0.CR1 on a farm-fresh clean install of JBoss
AS 4.2.1.GA.
I used the automated installation utility with no problems, following the
directions. The default installation started with no problems.
Then I went to change the database to MySQL. I created
(Posting in this forum as directed in the IDE Design forum)
Hello,
I'm using the latest IDE download, 2 beta I think, and am trying to configure
my server to launch with something other than its 'default' configuration.
I open the server configuration and in the Arguments tab I see -c default.
Done. JBSEAM-1497
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4055635#4055635
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055635
___
jboss-user mailing list
Hello,
I'm getting a really unusual (and spectacular) crash when JBoss 5 Beta 2 starts
up. This is a naked/unmodified install from the zip file and nothing running
on it except what came packaged.
I have successfully taken 4.0.5 and 4.2.0 out of the box and they ran just fine
with no issues
I'm getting the exception below when I try to authenticate the default login
form. Here's the methodology I used for this test:
I did the following test on two parallel systems--1 using Seam 1.2/JBoss
4.0.5.GA and 1 using Seam 1.3A/JBoss 4.2.0.GA. The process steps followed were
identical in
Gracias, Jaikiran.
What a bummer! I hope this gets fixed in a patch soon. My new application
uses my new best friend, the ConcurrentSkipListMap, which is a 1.6 creation.
Greg
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4055377#4055377
Reply to the post :
Hello,
I'm porting my application into 1.3A/JB4.2. I'm getting the deployment error
shown below. I ran seam-gen out of the box in 1.3A and moved my Java and xhtml
files into the new structure, so the web.xml and other configuration files are
whatever Seam generated by default.
Specific to
Thanks Gavin,
Ok...did that. Didn't think I carried anything over from my 1.2 app but
clearly I must have. Now I don't get that exception and I can get to my login
screen. Now I'm getting a different error.
This time to be sure nothing in my app is polluting things I did a pristine
Hello,
I'm writing a Seam application using JBoss 4.0.5.GA and Seam 1.2.
I've hit a wall with a problem loading Apache POI. I've configured my build so
that the POI.jar is copied into my app's WAR/lib directory and confirmed that
its copied there.
When I run my webapp and get to the part
Ahh!
Found the solution indirectly on another post. Here it is for future readers
with the same problem:
You need to add a tag in your application.xml referencing the jar. This jar
needs to be in your ear directory not WAR/lib.
I'm still baffled why this jar needs the special treatment
Still haven't been able to use CSS w/mail templates.
Has anyone gotten this to work?
Thanks,
Greg
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053235#4053235
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053235
Hello,
I've written a wizard page that uses a statefull bean in conversation context.
I want to create a conversation when I enter the page, or join an existing
conversation if one exists. When/if the user goes to the home page I want to
end the conversation.
I have two page.xml files:
Absolutely. Check out the Seam tutorials and documentation.
Also try the seam-gen utility. It will create an entire skeleton application
for you including a class you can populate with whatever you want to do in
order to log in the user (e.g. connect to the database in your example).
I
Hello,
I'm having some difficulty w/breadcrumbs. I copied from the issues example and
from the documentation.
My pages.xml file looks like this:
| !DOCTYPE pages PUBLIC
| -//JBoss/Seam Pages Configuration DTD 1.2//EN
| http://jboss.com/products/seam/pages-1.2.dtd;
I wasn't using nested conversations. I'm 100% in xhtml (not touching any Java
code at this point in my app) so I changed my pages.xml to look like this:
| pages
| page view-id=/home.xhtmlHome
| begin-conversation nested=true/
| /page
| page
Hello,
I'm building a portal front-end that among other things will host links to
various web applications written using Seam.
The portal will be the users' main entry point and require a user to log in.
Once the user logs in, how can I access the Identity created by the portal once
the user
Hello,
I notice that in 1.2.1GA seam-gen is now creating a src/action directory vs.
simply src before.
What is the significance of action vs the vanilla src directory? (i.e. What
code belongs in an action dir vs. a normal src dir?)
Thanks,
Greg
View the original post :
Carsten,
I think we're looking at the same problem from different angles. One desired
behavior I'm looking for is the ability to cancel a data entry page w/o the
changes popping up in the persistent state. I have one page in my app that
does this just fine and one that (like yours) somehow
Many thanks for the tip. No, this isn't quite what I'm after, but it looks
quite handy for something else, so much obliged.
I finally got the old/new thing working by simply holding a transient property
that is saved off in the setter of the field I want to access old/new values
for.
View
Hello,
If I override update() in a Home object, how can I stop the update from
happening and roll back changes the user has made? Even better: Is there a
way to have access to the old and new fields values?
What I'd like to be able to do is know what the original value was so I can
manually
PhilC if you're out there...
A big word of thanks! I found this post and was having precisely the same
problem. Thanks to you posting your solution I fixed my issue within minutes.
I know I easily could have burned a day or two in utter frustration otherwise.
Greg
View the original post :
Hello,
I'm in the home stretch of my first significant Seam application--Many thanks
to all who have helped me out on this forum!
Everything works great until the user steps away from the session for a few
minutes. When they come back the session object is no longer there but Seam is
trying
It seems like overkill--and its a bit hard to describe w/o seeing it or the
following struggles I've had trying to accomplish this very simple operation.
In a nutshell if I do it exactly like the tutorial I get an
java.lang.UnsupportedOperationException. This is because my list comes from my
Wayne,
I think I've found the answer to the mystery. The solution you pointed out
from the tutorial wasn't working for me because java.util.List.remove() wasn't
implemented for the backing List in Hibernate's PersistentBag at runtime.
I found in the Hibernate docs that collections can wind up
Hmm...
I'm using this in my entity manager:
|@PersistenceContext
|private EntityManager em;
|
Not sure why doing it this way the merge is required but if I don't have it I
get attached exceptions. It may be possible the entity became detached or
somehow got tangled up in a
Ok, maybe I'm being a bit dense here...
How does using JSF help? Wouldn't using a h:commandLink have the same problem?
The scenario I've describe was lifted right out of the Seam tutorial, chapter
1. Is using the DataModel as currently envisioned not a good idea since the
recommended use
Hello,
This may sound like a Hibernate issue (it might be), but I'm leaning toward the
opinion that its more related to how I'm using Seam/contexts.
I'm using an entityManager object to handle a DataModel as shown in the Seam
tutorial Chapter 1. I have a simple display screen with a delete
Got it! A little Easter present at the last moment. Here's the correct way to
handle the delete method for people who may have the same issue I did:
|public void delete() {
|timecardHome.getEntityManager().flush();
|timecardHome.getEntityManager().joinTransaction();
Thanks Sergey!
The a4j:region did the trick. The a4j:outputPanel is quite handy! Haven't
used that before. When I added that it revealed an exception trying to set a
null value to the month pulldown. It really shouldn't have been trying to do
anything with the month field, so using the
I don't know if this is a best-practice or not, but what I'm doing is in my
display page, say foo.xhtml, I have foo.page.xml that has an action tag that
executes a refresh() method in the component managing my list.
In this refresh() method I forcibly call the factory method to reload the list.
Sorry about the title, but its hard to capture in a sentence what I'm
struggling with.
I have a simple DataModel display page, fed by a manager bean that maintains
the list, as shown in the Seam tutorial.
It all works great but for one small gotcha: What happens if someone reloads
the page
Anybody had issues with a:support being flaky, specifically not calling the
action/actionListener method when it should?
I have the code below and session.hey is never called. FWIW I tried with and
w/o the ajaxSingle attribute. Everything is rendered as expected w/proper
values in the
Ok, this might be a bug...
Everything on the page was always rendered, so that wasn't it. By process of
elimination I identified the code causing the problem.
This worked: (action method app.setTimecardWorker was called when item changed)
| h:outputLabel
Hello,
My application header has a welcome message like this (where session is a
session-scoped component).
| Welcome, #{session.loggedInUser}
|
Usually works fine, but my problem is if the session times out I either see
(depending on the phases of the moon) Welcome, (no name at all) or
Hello,
I am having trouble with a Master/Detail relationship between Project/Expense.
I have a Project screen containing a list of expenses (h:dataTable) and a
computed total expense (@Formula field in Project ).
* After adding a new expense I'm redirected back to Project.xhtml but my
It's possible but I don't think so. My debug page shows one projectHome
component in the Application context and no conversations when the Project
summary page is loaded.
I also determined that the getters that use the @Formula to compute the total
in Project are being called (multiple times)
I'll amend my last reply. When I'm in my Expense screen adding a new Expense
there is a conversation running with a ProjectHome instance in it (presumably
containing a Project instance). This context ends when I return to the Project
screen.
Perhaps this is the instance being updated not
Hello,
For the purpose of this question assume I have 2 objects I'll show here
extremely abbreviated and w/o all the annotations, but both are @Entity and all
the persistence mappings work fine:
| public class Project {
| private ListExpense expenses;
| private int spentAmt;
Hello,
I'm getting confused with something I think may be my mishandling of
conversations. I have a DepartmentList.xhtml screen that has a commandButton
that takes me to a DepartmentEdit.xhtml to create new Department entities.
After creation I'm returned immediately to DepartmentList (no
Found it. Solution posted here for the next person who missed what I did.
s:commandButton that launches DepartmentEdit.xhml needs to have a parameter.
W/o this parameter strange things happen.
Code should be:
| s:button view=/DepartmentEdit.xhtml
| id=create
I pulled out IceFaces and tried it with the vanilla Seam-gen. Worked great.
IceFaces is the culprit here.
{rant}
Y'know... I'm getting a bit flustered w/IceFaces. Great widgets but Seam
integration is pretty flaky. Even tried the alpha of their next release--still
lots of stability
Patrick,
I'm getting the exact same exception. Were you able to find a workaround or
identify if it was IceFaces-related?
Greg
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026265#4026265
Reply to the post :
Hello,
I'd value people's input on the best practice for the following:
I have an Entity Foo. Some of Foo's fields are bound to form fields on a page
(a seam-gen create page in this example).
Before showing the page to the user I want to create a Foo instance and
pre-populate some of Foo's
Anybody else seen this problem or am I alone on this one?
Just for grins I downloaded a fresh install of JBoss IDE--same result.
I was using the same workspace dir so I suppose I can try a fresh workspace in
case something is corrupt in there.
Thx!
View the original post :
done before, but this time I got this
message:
Errors during build.
Errors running builder Integrated External Tool Builder on project Spurs4.
Launch configuration .exploded at C:\Documents and
Settings\gzoller\workspace\Spurs4\.exploded.launch does not exist.
In fact .exploded.launch does
Play the happy music--I found it!
I really hate when people solve their own problems and don't post their
solutions. Then when I search the forum and say Hey, I've got the exact
problem... but where's the solution?
So after a couple hours of line-by-line combing through code the answer lay
Hello,
I have an (existing) table with a string-typed field, the values of which
correspond to the values of an enum defined in my entity class, Project:
Here's the important bits of Project.java:
| @Entity
| @Table(name = project)
| public class Project implements java.io.Serializable {
Update: I traced this to a failed validation in Hibernate. I'll post details
on that forum instead.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4020278#4020278
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4020278
Hello,
I'm having problems with an entity field of enum type:
| @Entity
| @Table(name = project)
| public class Project implements java.io.Serializable {
|
| public static enum PROJ_STATUS { Requested, Rejected, Approved,
Paused, Canceled, Working, D
| one };
|
|
I'm having a strange problem where particular entity changes are not (usually)
being reflected on my screens. I start with a vanilla seam-gen application
that generates these artifacts:
| DepartmentList.xhtml (main application screen)
| DepartmentList.page.xml
| ProjectList.xhmtl
These classes can't derive from DataModel. In the real project they're
Entities and have their own class hierarchy. Any solution needs to be a
separate concern from the entity object model.
Based on some examples I saw in my seam-gen code I'm trying something a little
different. I'm passing
My bad! DataTable, or at least ice:dataTable doesn't seem to like the
seam-gen generated default of Set for 1-m relationships in Entities.
In my Department code if I change Set to List throughout then like magic the
data table works.
What was happening is that with Set the Set itself was
Ok, I'm making progress solving the problem.
It turns out that you definitely do need to annotate the list in the backing
bean used to populate the ice:dataTable with @DataModel. If you don't, even
though IceFaces rendering components will see your line-item variable correctly
populated, the
Further research... the original question in the post has been answered but
nesting dataTables remains. Trying non-IceFaces DataTables yields the same
result so I'm going to open a new post without the clutter of IceFaces.
View the original post :
I'm trying to nest h:dataTable with s:link elements without success.
Actually I can render a 2-level nested data table but if I click on the
innermost links I get null passed to the action method. Clicking on the
top-level links works fine and the expected objects are passed tomy action
Hello,
I'm using ice:dataTable to render some search results, like in the hotel
booking example. Here's a bit of the code:
| ice:dataTable id=departments width=100% cellspacing=1
|value=#{year.list} var=item
|rowClasses=rowClass1,rowClass2
Hello,
I used seam-gen to create a project for Eclipse. No problem getting it to
generate entities for my existing tables--even the generated web app pulled
back data.
I wanted to try the prod/dev datasource distinction, so for my project (Spurs)
I have Spurs-prod-ds.xml and
Thanks for the response.
Actually I think this might have been an install error on my part. I moved my
JBoss AS install aside and used the Windows installer to install a fresh copy.
I got past that error and then got a problem with Authentication failing. Same
thing happened from the
Hello,
I'm running JBoss Eclipse (latest beta) on Windows. On this platform I needed
to change the JNDI port from 1099 to something else (1999) because something
else had already claimed 1099. This works fine and I can launch and use the
server from Eclipse.
My problem comes when I go to
60 matches
Mail list logo