Install glassfish 3 in eclipse indigo in windows 7

Hey after trying in vain to get this to work I finally found a great video explaining everything you need to know on how to do this. One thing that’s not covered is one error that seems to be pretty common for windows 7.

After watching the video, if you try to start the server and receive the following error:
‘java.io.IOException: Couldn’t get lock for C:\Program Files\glassfish-3.1.1\glassfish\domains\domain1\logs\server.log ‘
this is due to the fact that windows 7 locks access to the system files.

One solution is to turn of the UAC but I dont recommend it, so the solution I found to work is going to where your glassfish is installed, usually c:\program files\glassfish or something similar, right-click on the folder, go to properties->security and set it so that everybody has full permissions to that folder, click apply and the error should go away.

Here’s the video:

Watch dreamhack sc2 live feed and videos on demand

So i kinda fumbled around looking for where exactly the videos are and i finally found them here, maybe it helps someone else: http://www.twitch.tv/dreamhacktv

Battlelog Battlefield 3 Party Issues

So for the people who have problems receiving party invitations, party game invitations and party create invitations, what I found really helps is turning of the web shield component of your antivirus. [more commonly referred to as the firewall on most avs]

If you have avast antyvirus, the way this is done is you r-click the taskbar icon->open avast interface->Web shield [left most menu]->Stop untill ….

And that should solve it, you can turn it back on when you’re done with battlelog :)

Free Starcraft 2 Masters League Terran Tutorials

Found Halby who is the most underrated thnig on youtube a while back and been watching for half a year, and basically got from silver to platinum and very soon to diamond following his videos.

He’s up to about 400 viids right now [blabcasts&replay analysis] and each and everyone of his replays features great explaining of game mechanics that really would cost you $$ to get from anyone else.

He does terran vs protoss (tvp), terran vs zerg (tvz) and  terran vs terran (tvt) all with explaining hows and whys everywhere and does it in a really funny relaxed wacky way that just makes the boring old mechanics seem like fun and engaging, the best a student of starcraft could ask for…

So make sure you check him out and get yourself into masters with little to no apm required :)

Battlefield 3 nov 22 patch crash fix

For those of you who are experiencing the ‘Battlefield 3′ has stopped working error ever since the last patch came out or even in general, here’s the fix, its only one command in the windows cmd :)

Windows 7/Windows Vista

* In Windows 7/Vista go to Start menu. Go to Accessories. Locate the command prompt shortcut and hover mouse over it. Right Click on the shortcut then select Run as Administrator.
* In the command prompt type this exactly:
bcdedit /set increaseuserva 2500
Then hit enter.
* Make sure you get a message back confirming the change was made. To verify the entry is there you can type just bcdedit, hit enter, and you should see the entry now listed.
* Then close the command prompt. You just told Vista to increase user virtual address (userva) space to 2500MB.
* Changes take effect on reboot.
Now reboot the PC because Windows needs to set the userva at 2500 which only happens after startup.
If you skip any step it will not work. When you have rebooted you should be good to go. Run the game as normal with the original game shortcut.
TO UNDO THE CHANGES
Open command prompt as administrator and type: bcdedit /deletevalue increaseuserva. That deletes the entry.
Reboot and you are back to normal.

Windows 7/Windows Vista* In Windows 7/Vista go to Start menu. Go to Accessories. Locate the command prompt shortcut and hover mouse over it. Right Click on the shortcut then select Run as Administrator.* In the command prompt type this exactly:
bcdedit /set increaseuserva 2500
Then hit enter.* Make sure you get a message back confirming the change was made. To verify the entry is there you can type just bcdedit, hit enter, and you should see the entry now listed.* Then close the command prompt. You just told Vista to increase user virtual address (userva) space to 2500MB.* Changes take effect on reboot.Now reboot the PC because Windows needs to set the userva at 2500 which only happens after startup.
If you skip any step it will not work. When you have rebooted you should be good to go. Run the game as normal with the original game shortcut.
TO UNDO THE CHANGESOpen command prompt as administrator and type: bcdedit /deletevalue increaseuserva. That deletes the entry.Reboot and you are back to normal.

Game hasnt crashed once for me ever since I did this :)

Edit: What this does for those of you wondering, is increase the maximum virtual memory that bf3 can access at runtime.

Battlefield team death match spawn revamp

If you think battlefield 3 is not about the team deathmatch, please leave, this does not concern you. Otherwise please support the petitions for EA to fix the deathmatch into something competitive, they need a vote from you guys [all petitions are on EA's feedback site]:

Problem example:

Links to vote on battlefield 3 death match spawn fix:

1)

http://getsatisfaction.com/battlefield3/topics/improving_the_spawn_system_for_team_deathmatch_games

2) http://getsatisfaction.com/battlefield3/topics/squad_mates_are_greyed_out_and_i_cannot_spawn_with_them

3) http://getsatisfaction.com/battlefield3/topics/team_deathmatch_spawn_system_needs_revamping

So with that in mind, taking a look at the workings of the death match reveals its horrid. It does not allow you to spawn on your team for once, meaning you can end up smack top in the middle of the enemy team [which has happened to me frequently]

It also does not spawn you safely from any enemy troops, so occasionally you will spawn behind enemy troops, and most of the time they will spawn behind you.

This is foolish.

EA wants to take on COD. Thats a FACT. So lets compare the two:

COD has a valid conquest [not epic but still valid] and a great death match.

BF has a great conquest, and a shit death match.

Now the problem with conquest is that you need some form of a team to get it to work. I spent countless conquests doing the battlefield marathon cause all my idiot team destroyed the vehicles on the far side of the map. It wasnt fun. Deathmatch can be fun even if you’re not part of a clan or dont have anybody playing at the moment.

So EA fix it.

Where to find the embed code in latest youtube

So they keep moving it around it seems, in the version at the time of this post [11/10/2011],
the code can be bound by clicking the “Share” button underneath the video. After that push the “Embed” video in the newly opened window and that will show the code.

I think they’ve made it this obscure because average people dont know what that does and maybe were a little scared when they accidentally pushed the embed button and some code jumped at them :D

Windows 7 install native theme

The Solution:

  1. Right click the desktop
  2. Go to personalize
  3. In the aero themes tab, click the ‘Get more themes online’ link
  4. Download a theme from microsoft’s site
  5. Double click the downloaded file to load it instantly
  6. Go back to the theme manager to change it if you don’t like it

The Problem:

Alright so I browsed around the internet  to find out how to install a new theme on my windows 7 and to my displeasure every one pointed to some custom theme script or another.

Now, if you’ve been a long windows user like me, you’ll tend to know that these programs usually have a tendency to mess up your computer, because they go ahead and change core windows files [most of the softs will indeed point this out ].

So I really just wanted to know how you install some new windows 7 native themes and its pretty simple as it turns out.

Microsoft has some great free themes available on their website, and you dont need to change your computer to get them, so I suggest this route for those of you who want a strong windows 7 for years to come :)

Windows 7 radeon battlefield 3 crash fix

Now this isnt so much a fix as a list of possible things to check if your bf3 is crashing. I’ve attached my system specs after the list:

  1. Disable windows aero. This did wonders for me thats why its top of the list. Before turning aero off, my game would crash every 10-20 minutes. Now it crashes once every 2-3 hours. Much better.
  2. Make sure you have your video drivers up to date. Because b3 is such a beast, both amd and intel have rolled out special drivers for it and are constantly updating them. Make sure you check regularly.
  3. In the options menu, under visual, make sure you have automatic selected. This provides by far the most stability. The more i tried to tweak everything myself, the worse and worse it got. Automatic works by far the best.
  4. Check your cpu/ram usage during play. If either of those gets to 100%, it’s time for a trip to your local PC Garage :)

Hopefully that provides some closure to all the people cursing at their computers every time the screen freezes/goes blank.

Let me know if that did it for you.

System specs:

OS Name Microsoft Windows 7 Ultimate
Processor AMD Athlon(tm) II X4 640 Processor, 3000 Mhz, 4 Core(s), 4 Logical Processor(s)
Installed Physical Memory (RAM) 4.00 GB
Total Physical Memory 3.25 GB
Available Physical Memory 2.09 GB
Total Virtual Memory 6.49 GB
Available Virtual Memory 5.11 GB
Name AMD Radeon HD 6800 Series
Adapter Type ATI display adapter (0×6739), Advanced Micro Devices, Inc. compatible
Adapter Description AMD Radeon HD 6800 Series
Adapter RAM 1.00 GB (1,073,741,824 bytes)

    Battlefield 3 tutorial movement and minimap


    Or check it out on my youtube battlefield 3 minimap tutorial showing how to move around the map like a bauss! :D