[JBoss Seam] - Re: Maven Archetype for Seam?
by -Arthur-
Any news on that?
I'm really struggling around getting an EJB3/War Web Application Environment to work...
Im familiar with Plain Hibernate / Seam / Microcontainer with Entity Beans, and now im interested in EJB3 and would really like to have any tutorial (or archetype) to getting started... (Im trying now for 2 days to get sth. to work)
I can't find sth. on google on that topic ( Building Web Apps with Seam, Maven, EJB3, Jboss AS) and im really confused on how to package my app in an ear and so on...
Could anybody do some pioneer work on that who is more familiar with j2ee, maven, seam and write a how to guide? It would be amazing!
Im really frustrated on that, and thought to throw that topic in the corner, until it is possible to build seam with maven...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072561#4072561
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072561
18Â years, 10Â months
[JBossCache] - ignoring write lock acquisition failure
by sebas23
Hi,
I am trying to use tree cache as the second level cache for an application that uses hibernate 3.2.5 on weblogic 3.2.5. I've upgraded to jbosscache 1.4.1 sp4 and jgroups2.4.1.
I guess I have a configuration problem somewhere. When I use EhCache (non clustered), it works fine and I see the second level getting populated (using hibernate statistics). With my current jbosscache configuration, I get some "ignoring write lock acquisition failure" error message every time hibernate tries to put something in the cache, and nothing gets in in the end. I have tried to deploy this on a windows and unix boxes without any difference.
I am not sure how to proceed from here. any help would be appreciated!
Thanks,
Sebastien
Debug Logs
2007-08-09 10:31:05,931 DEBUG [TwoPhaseLoad] ([ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)') resolving associations for [com.xxx.domain.attribute.AttributeDataType#CHECKLISTITEM]
2007-08-09 10:31:05,931 DEBUG [TwoPhaseLoad] ([ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)') adding entity to second-level cache: [com.xxx.domain.attribute.AttributeDataType#CHECKLISTITEM]
2007-08-09 10:31:05,931 DEBUG [TransactionalCache] ([ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)') caching: com.xxx.domain.attribute.AttributeDataType#CHECKLISTITEM
2007-08-09 10:31:05,931 DEBUG [TreeCache] ([ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)') ignoring write lock acquisition failure
2007-08-09 10:31:05,931 DEBUG [TwoPhaseLoad] ([ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)') done materializing entity [com.xxx.domain.attribute.AttributeDataType#CHECKLISTITEM]
configuration files: All the app xml files can be found at:
http://forum.hibernate.org/viewtopic.php?t=978360
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072554#4072554
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072554
18Â years, 10Â months
[JBoss Seam] - Re: ManyToOne OneToMany
by jknotzke
"david.spark" wrote : I don't use seam-gen much so can't really imagine that page :-)
|
| It seems like you're passing the athleteID to workoutList.xhtml. That's not the same as passing an instance of athlete, so unless something happens in workoutList.xhtml to convert the ID back to an instance of Athlete there's no 'athlete' available to @In. What does workoutList.xhtml do with the ID?
|
| What is athlete.java? If it's an entityBean then @Out won't do much there.
Ah ha, well i can confirm it's not doing much! ;-)
athlete.java is an Entity Bean.
Essentially, what I am trying to do is pass a particular athlete that was chosen via a web page to another webpage that then passes it to a statless session bean. You see creating a workout is not done via a form. It's done by parsing a csv file. The only user intervention is in uploading this csv file.
So I have an stateless session bean that uploads the file, parses it and then persists it.
The problem is that I need to associate the athlete with the workout. So i need a reference to the chosen athlete.
Any ideas ?
Thanks
J
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072553#4072553
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072553
18Â years, 10Â months