[jboss-user] [JBoss Messaging] - Re: Class not found in 1.4.0.CR1

2007-08-16 Thread gzoller
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

[jboss-user] [JBoss Messaging] - Class not found in 1.4.0.CR1

2007-08-15 Thread gzoller
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

[jboss-user] [JBoss Portal] - IDE Question: Not Saving Server Configs

2007-07-11 Thread gzoller
(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.

[jboss-user] [JBoss Seam] - Re: Still Having Authentication Issues w/1.3

2007-06-19 Thread gzoller
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

[jboss-user] [Beginners Corner] - Out-of-the-box JBoss 5.0 Beta 2 Crashing On Startup

2007-06-18 Thread gzoller
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

[jboss-user] [JBoss Seam] - Still Having Authentication Issues w/1.3

2007-06-18 Thread gzoller
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

[jboss-user] [Beginners Corner] - Re: Out-of-the-box JBoss 5.0 Beta 2 Crashing On Startup

2007-06-18 Thread gzoller
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 :

[jboss-user] [JBoss Seam] - Seam 1.3 Alpha Deployer Problem

2007-06-15 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: Seam 1.3 Alpha Deployer Problem

2007-06-15 Thread gzoller
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

[jboss-user] [Beginners Corner] - Baffling NoClassDefFoundError Error

2007-06-13 Thread gzoller
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

[jboss-user] [Beginners Corner] - Re: Baffling NoClassDefFoundError Error

2007-06-13 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: Seam Email Formatting w/CSS

2007-06-11 Thread gzoller
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

[jboss-user] [JBoss Seam] - Conversation Question

2007-05-24 Thread gzoller
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:

[jboss-user] [JBoss Seam] - Re: Authentication using database accounts

2007-05-24 Thread gzoller
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

[jboss-user] [JBoss Seam] - Breadcrumbs

2007-05-15 Thread gzoller
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;

[jboss-user] [JBoss Seam] - Re: Breadcrumbs

2007-05-15 Thread gzoller
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

[jboss-user] [JBoss Seam] - Seam Identity/Auth Across Multiple Web Applications

2007-05-09 Thread gzoller
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

[jboss-user] [JBoss Seam] - Action src dir?

2007-05-09 Thread gzoller
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 :

[jboss-user] [JBoss Seam] - Re: How To Cancel Update in Home Object

2007-04-20 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: How To Cancel Update in Home Object

2007-04-20 Thread gzoller
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

[jboss-user] [JBoss Seam] - How To Cancel Update in Home Object

2007-04-19 Thread gzoller
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

[jboss-user] [Installation, Configuration Deployment] - Re: 503 Service Temporarily Unavailable - JBoss 4.0.3RC1, Ap

2007-04-18 Thread gzoller
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 :

[jboss-user] [JBoss Seam] - Seam Recreating Sessions on Timeout?

2007-04-12 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: Changes not persisted using EntityHome

2007-04-09 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: Changes not persisted using EntityHome

2007-04-09 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: Changes not persisted using EntityHome

2007-04-09 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: How to strip request parameters for page reloads

2007-04-06 Thread gzoller
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

[jboss-user] [JBoss Seam] - Changes not persisted using EntityHome

2007-04-06 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: Changes not persisted using EntityHome

2007-04-06 Thread gzoller
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();

[jboss-user] [JBoss Seam] - Re: Anybody else experience a4j:support *not* calling action

2007-04-05 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: @DataModel modifications

2007-04-05 Thread gzoller
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.

[jboss-user] [JBoss Seam] - How to strip request parameters for page reloads

2007-04-05 Thread gzoller
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

[jboss-user] [JBoss Seam] - Anybody else experience a4j:support *not* calling action met

2007-04-04 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: Anybody else experience a4j:support *not* calling action

2007-04-04 Thread gzoller
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

[jboss-user] [JBoss Seam] - Gracefully Handling Timeouts

2007-04-03 Thread gzoller
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

[jboss-user] [JBoss Seam] - Master/Detail Problem

2007-03-20 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: Dependent Fields in 2 Classes Best Practice?

2007-03-19 Thread gzoller
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)

[jboss-user] [JBoss Seam] - Re: Dependent Fields in 2 Classes Best Practice?

2007-03-19 Thread gzoller
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

[jboss-user] [JBoss Seam] - Dependent Fields in 2 Classes Best Practice?

2007-03-16 Thread gzoller
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;

[jboss-user] [JBoss Seam] - Fun With Conversations and Persistence

2007-03-13 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: Fun With Conversations and Persistence

2007-03-13 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: Remember Me Exception

2007-03-10 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: Remember Me Exception

2007-03-08 Thread gzoller
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 :

[jboss-user] [JBoss Seam] - Best practice: pre/post population of Entities

2007-03-08 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: Seam 1.2 Errors on Build in Eclipse

2007-03-05 Thread gzoller
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 :

[jboss-user] [JBoss Seam] - Seam 1.2 Errors on Build in Eclipse

2007-03-04 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: Entities Get Updated--Screen Doesn't (Usually)

2007-02-22 Thread gzoller
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

[jboss-user] [EJB 3.0] - Strange enum-related transaction exception

2007-02-21 Thread gzoller
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 {

[jboss-user] [EJB 3.0] - Re: Strange enum-related transaction exception

2007-02-21 Thread gzoller
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

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Validation Exception caused by @Length and @Enumerated

2007-02-21 Thread gzoller
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 }; | |

[jboss-user] [JBoss Seam] - Entities Get Updated--Screen Doesn't (Usually)

2007-02-21 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: Problems Nesting h:dataTable

2007-02-19 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: Problems Nesting h:dataTable

2007-02-19 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: Null Value in s:link w/IceFaces

2007-02-17 Thread gzoller
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

[jboss-user] [JBoss Seam] - Re: Null Value in s:link w/IceFaces

2007-02-17 Thread gzoller
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 :

[jboss-user] [JBoss Seam] - Problems Nesting h:dataTable

2007-02-17 Thread gzoller
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

[jboss-user] [JBoss Seam] - Null Value in s:link w/IceFaces

2007-02-16 Thread gzoller
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

[jboss-user] [JBoss Seam] - Prod/Dev Datasource Problem

2007-02-07 Thread gzoller
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

[jboss-user] [JBoss Eclipse IDE (users)] - Re: Naming Error shutting down JBoss server in JBoss Eclipse

2007-02-01 Thread gzoller
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

[jboss-user] [JBoss Eclipse IDE (users)] - Naming Error shutting down JBoss server in JBoss Eclipse

2007-01-29 Thread gzoller
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