« September 2005 | Main | November 2005 »
October 31, 2005
Solution to Cluster Problem
If you're seeing this error:
12:29:07,009 WARN [ClientGmsImpl] handleJoin(uml6:32791) failed, retrying
Phillip Carter found a solution. Try this:
- Shutdown JBoss.
- In $JBOSS_HOME/server/all/deploy/cluster-service.xml search and replace all instances of DefaultPartition with your UML name.
- In $JBOSS_HOME/server/all/deploy/tc5-cluster-service.xml replace ip_mcast="true" with ip_mcast="false".
- Restart JBoss
That should do it. If you reinstall JBoss, you'll have to redo this.
I can't test this on my set-up since I don't see the clustering problem (different subnet). Let me know if it works or now.
Posted by windley at 09:38 AM | Comments (0)
October 28, 2005
handleJoin Failure
A number of people are seeing this error, repeated over and over again, on their jBoss installation:
12:29:07,009 WARN [ClientGmsImpl] handleJoin(uml6:32791) failed, retrying
I've never seen this error before and don't really have any good information on what to tell you about how to solve it. Here are some ideas:
- Someone reported to me that completely deleting and reinstalling jBoss doesn't solve the problem. That would indicate that something in your code is causing the problem, but I don't know what.
- There's some indication from Googling the error and reading the results that jBoss 4.0.3 might not have this problem. Has anyone tried installing 4.0.3 to see if it solves the problem?
If you've found a way around this problem, please leave a comment on this entry and let me, and others, know what you did.
UPDATE: It seems that there is a setting in JBoss when you run the -c all command it clusters the UML machines. So, in order to speed up the process, if everyone could try and see if they can find out how to turn off clustering in the JBoss all option that would be great. Please contact Dr. Windley and Dan if you find the preference to turn it off.
Posted by windley at 11:24 AM | Comments (0)
October 20, 2005
TA Hours Next Week
I have posted tentative office hours for next week. I will be going out of town with Dr. Windley so I will not be here for part of next week. I am going to try to provide some office hours on Tuesday morning but will be flying out that afternoon. There will be no hours on Wednesday and Thursday and then I will plan on having office hours from 11:00-3:45 on Friday (Oct. 28). I realize there is a project due on Friday so it would be a good idea to get started now so you can get help before it is too late.
Posted by danolsen at 04:37 PM | Comments (0)
Numcart Example Code
The code for the Numcart example I went over today in class is available.
Posted by windley at 11:21 AM | Comments (0)
ViaWest Field Trip
Barry Dixon is expecting you about 8:15 at the ViaWest data center next Thursday (Oct 27). You're responsibile for getting yourself there and back. Feel free to carpool or whatever. The data center is located in the Canopy building at 333 S 520 W, Lindon, Utah 84042. Take exit 273 from I-15 and its just east of the freeway north of Home Depot. Here's a map. The tour will take about an hour.
Posted by windley at 07:27 AM | Comments (0)
October 18, 2005
TA Hours
I have added some hours for today (Oct. 18) to make up for yesterday. I will have hours from 9:15-12:00 including the original hours from 5:00-6:45.
Posted by danolsen at 07:16 AM | Comments (0)
October 13, 2005
No Windley Office Hours Today
I meant to mention it in class, but I forgot. I won't be holding office hours today. Instead, I'll be flying up to Ogden to moderate a discussion with Adam Aricraft founder and CEO Rick Adams.
Posted by windley at 11:18 AM | Comments (0)
October 08, 2005
Data Model Assignment
There have been minor changes made to the Data Model assignment. We added to the group part of the project the line that says you should be able to select an Animal for a pet.
I also will warn you that although the individual part was fairly easy, the group part is a little more difficult. I have been working through it myself and it takes more time and takes some reading. I would recommend also reading "Persistence and Database Access" from the EJB3Trail. You will find a lot of useful information you will need. Feel free to stop by with any questions. I would be happy to answer any questions you might have.
DON'T PROCRASTINATE! I'M NOT KIDDING!
Posted by danolsen at 02:48 PM | Comments (0)
October 06, 2005
Don't Make This Too Hard
For the data modeling assignment, there's no need, either in the individual or group portions, to modify the Animal object to fulfill the requirements of the assignment. The individual part of this is not very hard.
Posted by windley at 11:10 AM | Comments (0)
TA Hours
I will not be having TA hours today (Thursday). I have a doctor's appointment to go to.
Also, don't forget RAT 2 and the individual part of the next project are due on Monday. I would recommend not procrastinating in case you run into problems.
Posted by danolsen at 10:33 AM | Comments (0)
October 04, 2005
AnimalControl Tarball
If you haven't yet started on the project, but downloaded the AnimalControl tarball, please download it again. I made a few minor changes. If you downloaded the old tarball and have already started, no worries. The changes:
- Fixed a typo in persistence.xml. The property should read:
<property name="hibernate.hbm2ddl.auto" value="update"/>
- I changed the name of the persistence context to be AnimalControl instead of Animal to avoid confusing the context name with the table name. It will work fine as is, but I thought the new name was clearer.
- I changed the name of the .jsp file from addAnimal.jsp to manageAnimal.jsp since it does more than just adding animals.
Posted by windley at 07:45 AM | Comments (0)
October 03, 2005
Example Project
For those who want to see a working version of the individual lab, you can go to the following URL to see it in action: http://uml1.cs.byu.edu:8080/AnimalControl.
Posted by danolsen at 12:20 PM | Comments (0)
Configuring the Database in JBoss
I've posted some information on configuring the default database in JBoss on my blog. Some of that may prove helpful.
Posted by windley at 10:38 AM | Comments (0)
