Wednesday April 22, 2009
LOTD #21: Production Deployment Tips for running Rails on GlassFish v2 using Windows
SeaChange
Affinity uses Rails and GlassFish
as their deployment platform. One of their core developers posted
tips based upon their experience so far and they are
available at:
Rails
on GlassFish v2 using Windows
Here are some of the quotes:
Glassfish can really
handle a heavy load
and
handling 400
simultaneous users under a supremely heavy load, the
memory was holding great
All previous links in this series are archived at LOTD.
Technorati: lotd
glassfish
jruby
rubyonrails
windows
Posted by Arun Gupta in web2.0 | Comments[0]
|
|
|
|
|
Thursday February 12, 2009
TOTD
#67 shows how to configure GlassFish High Availability using
Apache httpd + mod_jk on Mac OS X. Even though that's a standard and
supported configuration, there are several
advantages for replacing
Apache httpd with Sun Web Server and mod_jk with Load Balancer plugin
that comes with GlassFish.
This Tip Of The Day (TOTD) shows how
to configure Clustering and Load Balancing using GlassFish
v2.1, Sun
Web Server, Load
Balancer plugin on Windows Vista. This blog is using JDK 6 U7,
GlassFish v2.1 (cluster profile), Sun Web
Server 7 U4, and Load Balancer plug-in with Sun
GlassFish Enterprise
Server 2.1 Enterprise Profile (with HADB link).
Lets get started!

| <?xml version="1.0"
encoding="UTF-8"?> <!DOCTYPE loadbalancer PUBLIC "-//Sun Microsystems Inc.//DTD Sun Java System Application Server 9.1//EN" "file:///C:/Sun/WebServer7/https-LH-KRKZDW6CJE1V/config/sun-loadbalancer_1_2.dtd "> <loadbalancer> <cluster name="cluster1" policy="round-robin" policy-module=""> <instance name="instance1" enabled="true" disable-timeout-in-minutes="60" listeners="http://localhost:38080" weight="100"/> <instance name="instance2" enabled="true" disable-timeout-in-minutes="60" listeners="http://localhost:38081" weight="100"/> <web-module context-root="/clusterjsp" disable-timeout-in-minutes="30" enabled="true" error-url=""/> <health-checker interval-in-seconds="7" timeout-in-seconds="5" url="/"/> </cluster> <property name="response-timeout-in-seconds" value="120"/> <property name="reload-poll-interval-in-seconds" value="7"/> <property name="https-routing" value="false"/> <property name="require-monitor-data" value="false"/> <property name="active-healthcheck-enabled" value="false"/> <property name="number-healthcheck-retries" value="3"/> <property name="rewrite-location" value="true"/> </loadbalancer> |







Posted by Arun Gupta in Finance | Comments[4]
|
|
|
|
|
Wednesday January 14, 2009
TOTD #65: Windows 7 Beta 1 Build 7000 on Virtual Box: NetBeans + Rails + GlassFish + MySQL
Microsoft released Windows 7
Beta 1 - the next major version of Vista, download
here. There are tons
of improvments mostly centered around making the content
easily & intuitively accessible. But hey, Mac OSX already
serves
that purpose well for quite some time ;-)
But I still want to make sure that our Rails stack (NetBeans,
GlassFish,
and MySQL) work fine on it. And it very well do, without any issues, as
you'll realize at the end of this blog :)
Lets first get started with installing Windows 7 Beta as a Virtual Box
image. Few points to note here:











Posted by Arun Gupta in web2.0 | Comments[10]
|
|
|
|
|
Thursday February 07, 2008
TOTD #25: Rails application with PostgreSQL database using NetBeans
This blog describes how you can create a Rails application accessing PostgreSQL database using NetBeans 6.
bin directory):initdb -D "\users\Arun Gupta\postgresql\data"The files belonging to this database system will be owned by user "Arun
Gupta".
This user must also own the server process.
The database cluster will be initialized with locale English_United
States.1252.
fixing permissions on existing directory /users/Arun Gupta/postgresql/data
... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers/max_fsm_pages ... 32MB/204800
creating configuration files ... ok
creating template1 database in /users/Arun Gupta/postgresql/data/base/1 ...
ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the -A option the
next time you run initdb.
Success. You can now start the database server using:
"postgres" -D "/users/Arun Gupta/postgresql/data"
or
"pg_ctl" -D "/users/Arun Gupta/postgresql/data" -l logfile start
Please note the username shown in the first line of command output ("Arun
Gupta" in this case). This will be required later for configuring database.yml."postgres" -D "/users/Arun Gupta/postgresql/data"LOG: database system was shut down at 2008-01-10 22:11:01
LOG: checkpoint record is at 0/4872F8
LOG: redo record is at 0/4872F8; undo record is at 0/0; shutdown TRUE
LOG: next transaction ID: 0/593; next OID: 10820
LOG: next MultiXactId: 1; next MultiXactOffset: 0
LOG: database system is ready
database.yml" to match:development:
adapter: postgresql
host: localhost
port: 5432
database: RailsApplication1_Development
username: Arun Gupta
password:C:\Program Files\NetBeans 6.0\ruby1\jruby-1.0.2\bin>jruby gem install
postgres-pr
Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed postgres-pr-0.4.0Tools" -> "Ruby Gems" encounters the
issue
#122593. bin directory):createdb RailsApplication1_DevelopmentCREATE DATABASEGenerate",
"model" from the list box and giving the name as "wish".Database Migrations", "migrate" and
open "001_create_wishes.rb". Change "self.up"
helper method as shown below:def self.up
create_table :wishes do |t|
t.column :greeting, :string
end
Wish.create :greeting => "Hello PostgreSQL!"
enddb:migrate by right-clicking on the project,
selecting "Run Rake Task", "db" and then "migrate".
This creates the appropriate tables and populate the it with three rows as
mentioned above.Generate...".controller".
Specify the value of "Name:" as "show" and value
of "Views:" as "wishes".Controllers" and open "show_controller.rb" and update the
"wishes" helper method as shown below:def wishes
@wish = Wish.find(1).greeting;
endViews", "show", "wishes.rhtml" and add the following fragment as
the last line:<%= @wish %>wishes.rhtml" and hit Shift+F6 (default keystroke to run the
file). The output is shown as:
Please leave suggestions on other TOTD that you'd like to see. A complete archive is available here.
Technorati: totd netbeans ruby jruby postgresql windows
Posted by Arun Gupta in web2.0 | Comments[0]
|
|
|
|
|
Thursday December 20, 2007
OSX #1: Getting Started with a Mac for a Windows User
![]() |
I got a new Apple MacBook Pro (Intel Core 2 Duo, 2GB RAM, 160 GB HDD and other good stuff) and excited about that! However I've been a Windows user all along and this is my first interaction with a Mac. |
So here are some basic tips/tools to get you started if you are in the same situation:
Forward Delete key, Mac
equivalent is Fn + Delete Home, Page
Up or Page Down keys, Instead
use Fn + Cursor keys The box came installed with Tiger (Mac OSX 10.4) as opposed to Leopard (Mac OS X 10.5). Leopard Updates are available for $9.95 until Jan 4th, 2007.
Some other striking difference in the terms of UI are:
Here are some other tasks that I tried:
These tips will at least get you started where you can check Email, IM and Web, view your documents, import key settings from Firefox/Thunderbird and unleash the potential of GlassFish and NetBeans. Lots of other tips are available here, here and here. I'll post more as I learn them. Feel free to post your favorite tool/tip/guidance here.
A complete archive will be available here.
Technorati: windows mac apple tools osxtips
Posted by Arun Gupta in General | Comments[3]
|
|
|
|
|
Friday November 09, 2007
JRuby 1.0.2 released - Improved Windows experience and Rails 1.2.5 support
JRuby 1.0.2 was released last week.
A total of 99 issues were fixed but I'm particularly excited about JRUBY-1347, JRUBY-1350, JRUBY-1401 and JRUBY-1410. These are some issues that I faced (1347 here, 1350 here, 1401 here, 1410 here) on my primary development machine - Windows.
Here is the status report:
On Windows only, the latest Rails gem (1.2.5) is now working with stable release of JRuby (1.0.2 as of today).
On Windows only, GlassFish v3 gem does not work with JRuby 1.0.2 but works with the JRuby trunk (JRUBY-1549). The gem works correctly on Solaris and Mac.
JRuby 1.0.2 bundles will be available on GlassFish Update Center soon.
Now the details.
Here is the command sequence for creating and hosting a trivial Hello World on WEBrick:
Install Rails
C:\testbed\ruby\jruby-1.0.2>bin\jruby -S gem install rails
--include-dependencies --no-ri --no-rdoc
Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed rails-1.2.5
Successfully installed activesupport-1.4.4
Successfully installed activerecord-1.15.5
Successfully installed actionpack-1.13.5
Successfully installed actionmailer-1.3.5
Successfully installed actionwebservice-1.2.5
Create a template application
C:\workarea\samples\rails>\testbed\ruby\jruby-1.0.2\bin\jruby -S rails
hello
create
create app/controllers
create app/helpers
create app/models
create app/views/layouts
create config/environments
create components
create db
create doc
create lib
create lib/tasks
create log
create public/images
create public/javascripts
create public/stylesheets
create script/performance
create script/process
create test/fixtures
create test/functional
create test/integration
create test/mocks/development
create test/mocks/test
create test/unit
create vendor
create vendor/plugins
create tmp/sessions
create tmp/sockets
create tmp/cache
create tmp/pids
create Rakefile
create README
create app/controllers/application.rb
create app/helpers/application_helper.rb
create test/test_helper.rb
create config/database.yml
create config/routes.rb
create public/.htaccess
create config/boot.rb
create config/environment.rb
create config/environments/production.rb
create config/environments/development.rb
create config/environments/test.rb
create script/about
create script/breakpointer
create script/console
create script/destroy
create script/generate
create script/performance/benchmarker
create script/performance/profiler
create script/process/reaper
create script/process/spawner
create script/process/inspector
create script/runner
create script/server
create script/plugin
create public/dispatch.rb
create public/dispatch.cgi
create public/dispatch.fcgi
create public/404.html
create public/500.html
create public/index.html
create public/favicon.ico
create public/robots.txt
create public/images/rails.png
create public/javascripts/prototype.js
create public/javascripts/effects.js
create public/javascripts/dragdrop.js
create public/javascripts/controls.js
create public/javascripts/application.js
create doc/README_FOR_APP
create log/server.log
create log/production.log
create log/development.log
create log/test.log
Add a controller
C:\workarea\samples\rails>cd hello
C:\workarea\samples\rails\hello>\testbed\ruby\jruby-1.0.2\bin\jruby
script\generate controller say hello
exists app/controllers/
exists app/helpers/
create app/views/say
exists test/functional/
create app/controllers/say_controller.rb
create test/functional/say_controller_test.rb
create app/helpers/say_helper.rb
create app/views/say/hello.rhtml
Edit Controller
C:\workarea\samples\rails\hello>vim app\controllers\say_controller.rb
Add @hello_string = "Hello from 1.0.2" in
hello helper. The updated file looks like:
class SayController < ApplicationController
def hello
@hello_string = "Hello from 1.0.2"
end
end
Edit View
C:\workarea\samples\rails\hello>vim app\views\say\hello.rhtml
and add <%= @hello_string %> as the last line.
The updated file looks like:
<h1>Say#hello</h1>
<p>Find me in app/views/say/hello.rhtml</p>
<%= @hello_string %>
Start WEBrick and view the page
http://localhost:3000/say/hello in a browser window:
C:\workarea\samples\rails\hello>\testbed\ruby\jruby-1.0.2\bin\jruby
script\server
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2007-11-07 17:22:01] INFO WEBrick 1.3.1
[2007-11-07 17:22:01] INFO ruby 1.8.5 (2007-11-01) [java]
[2007-11-07 17:22:01] INFO WEBrick::HTTPServer#start: pid=11245030 port=3000
127.0.0.1 - - [07/Nov/2007:17:22:38 PST] "GET /say/hello HTTP/1.1" 200 81
- -> /say/hello
The GlassFish v3 Gem does not work with JRuby 1.0.2 (JRUBY-1549) on Windows. It works very well on Solaris and Mac. For Windows, you need to use the JRuby trunk (checkout and build):
After you've built the JRuby trunk, you can create a similar new application and run it on GlassFish v3 gem as:
Download and
Install the gem
C:\workspaces\jruby-trunk>bin\jruby -S gem install
glassfish-gem-10.0-SNAPSHOT.gem
Successfully installed GlassFish, version 10.0.0
Start GlassFish v3 and view the page
http://localhost:8080/hello/say/hello:
C:\workarea\samples\rails>\workspaces\jruby-trunk\bin\jruby -S
glassfish_rails hello
Nov 8, 2007 2:39:07 PM com.sun.enterprise.v3.services.impl.GrizzlyAdapter
postConstruct
INFO: Listening on port 8080
Nov 8, 2007 2:39:08 PM com.sun.enterprise.v3.services.impl.DeploymentService
postConstruct
INFO: Supported containers : php,phobos,jruby,web
Nov 8, 2007 2:39:08 PM com.sun.grizzly.standalone.StaticResourcesAdapter
<init>
INFO: New Servicing page from: C:\workarea\samples\rails\hello\public
Nov 8, 2007 2:39:15 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: Glassfish v3 started in 7588 ms
Nov 8, 2007 2:39:27 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO:
Processing SayController#hello (for 127.0.0.1 at 2007-11-08 14:39:27) [GET]
Nov 8, 2007 2:39:27 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Session ID: 46e3279ab4f2d776b4d76010cc7b38af
Nov 8, 2007 2:39:27 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Parameters: {"action"=>"hello", "controller"=>"say"}
Nov 8, 2007 2:39:27 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Rendering say/hello
Nov 8, 2007 2:39:27 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Completed in 0.01100 (90 reqs/sec) | Rendering: 0.00900 (81%) | 200 OK
[http://localhost/hello/say/hello]
A comprehensive list of JRuby on GlassFish documentation is available here.
Technorati: jrubyonglassfish jruby glassfish windows rubyonrails v3 gem ruby
Posted by Arun Gupta in web2.0 | Comments[3]
|
|
|
|
|
Tuesday October 16, 2007
TOTD #14: How to generate JRuby-on-Rails Controller on Windows (#9893)
The current Rails Gem (version 1.2.5) gives an error when creating a Controller in a JRuby-on-Rails application on Windows. It gives the following error during controller creation as shown below:
C:/testbed/ruby/jruby-1.0.1/lib/ruby/1.8/pathname.rb:420:in
`realpath_rec': No such file or directory -C:/testbed/ruby/jruby-1.0.1/samples/rails/hello/C:
(Errno::ENOENT)
from C:/testbed/ruby/jruby-1.0.1/lib/ruby/1.8/pathname.rb:453:in
`realpath'
from C:/testbed/ruby/jruby-1.0.1/lib/ruby/gems/1.8/gems/rails-1.2.4/lib/initializer.rb:543:in
`set_root_path!'
from C:/testbed/ruby/jruby-1.0.1/lib/ruby/gems/1.8/gems/rails-1.2.4/lib/initializer.rb:509:in
`initialize'
from ./script/../config/boot.rb:35:in `new'
from ./script/../config/boot.rb:35:in `run'
from ./script/../config/boot.rb:35
from :1:in `require'
from :1
and Rails 1.2.4 gives exactly the same error. This is Ticket #9893. This actually happens because of JRUBY-1401.
The workaround is to use Rails 1.2.3. If you have already installed the latest Rails plugin, then you can uninstall it using the command:
C:\testbed\ruby\jruby-1.0.1\bin>gem uninstall rails
Successfully uninstalled rails version 1.2.5
Remove executables and scripts for
'rails' in addition to the gem? [Yn] y
Removing rails
And then install Rails 1.2.3 as:
gem install rails --include-dependencies --version 1.2.3
--no-ri --no-rdoc
Successfully installed rails-1.2.3
Successfully installed activesupport-1.4.2
Successfully installed activerecord-1.15.3
Successfully installed actionpack-1.13.3
Successfully installed actionmailer-1.3.3
Successfully installed actionwebservice-1.2.3
Now create a new application as shown below:
jruby -S rails hello
And then create a controller as:
jruby script\generate controller say hello
exists app/controllers/
exists app/helpers/
create app/views/say
exists test/functional/
create app/controllers/say_controller.rb
create test/functional/say_controller_test.rb
create app/helpers/say_helper.rb
create app/views/say/hello.rhtml
Hope you find it useful and this bug is fixed in the next version of Rails.
Please leave suggestions on other TOTD that you'd like to see. A complete archive is available here.
Technorati: totd rubyonrails jruby windows
Posted by Arun Gupta in web2.0 | Comments[2]
|
|
|
|
|
Friday October 12, 2007
TOTD #13: Setup Mongrel for JRuby-on-Rails applications on Windows
In a previous entry, I posted instructions on how to setup Mongrel cluster for JRuby-on-Rails applications on Unix-based systems. The instructions specified there do not work on Windows-based systems because of the following reasons:
So if you want JRuby-on-Rails applications to deploy on Mongrel on Windows, then the workaround is to checkout the JRuby trunk and use Rails 1.2.3. This blog explains the instructions on how to do that. The Mongrel cluster cannot be configured on JRuby yet though.
As a side note, repeated invocation of "jruby" command will
encounter JRUBY-1350.
The workaround is to exit out of the current command prompt and execute the
commands in a new one.
mkdir jruby-trunk
cd jruby-trunk
svn co http://svn.codehaus.org/jruby/trunk/jruby
antjruby-trunk/bin to your PATH.C:\workspaces\jruby-trunk\bin>jruby -J-Xmx384m -S gem install
rails --version 1.2.3 --include-dependencies --no-ri --no-rdoc
Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed rails-1.2.3
Successfully installed rake-0.7.3
Successfully installed activesupport-1.4.2
Successfully installed activerecord-1.15.3
Successfully installed actionpack-1.13.3
Successfully installed actionmailer-1.3.3
Successfully installed actionwebservice-1.2.3C:\workspaces\jruby-trunk\bin>jruby -S gem install gem_plugin
--no-ri --no-rdoc
Successfully installed gem_plugin-0.2.2C:\workspaces\jruby-trunk\bin>jruby -S gem install
cgi_multipart_eof_fix --no-ri --no-rdoc
Successfully installed cgi_multipart_eof_fix-2.3C:\workspaces\jruby-trunk\bin>jruby -S gem install
mongrel-1.0.1-jruby.gem --no-ri --no-rdoc
Successfully installed mongrel, version 1.0.1
Make sure to invoke the command from the directory where the
gem is downloaded.mongrel_cluster
does not work with JRuby and
mongrel_jcluster does not work on Windows. So Mongrel
clusters cannot be configured on a Windows machine.
jruby-trunk\samples\rails and
create a new Rails application as shown below:C:\workspaces\jruby-trunk\samples\rails>..\..\bin\jruby -S rails
hello
create
create app/controllers
create app/helpers
create app/models
...
create log/production.log
create log/development.log
create log/test.logC:\workspaces\jruby-trunk\samples\rails\hello>..\..\..\bin\jruby
script\server
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready. TERM => stop. USR2 => restart. INT => stop (no
restart).
** Rails signals registered. HUP => reload (without restart). It might
not work well.
** Mongrel available at 0.0.0.0:3000
** Use CTRL-C to stop.http://localhost:3000
and shows the default "Welcome Aboard You're riding the Rails!" page.
Hit Ctrl-C to stop Mongrel as shown below:** INT signal received.
Exiting
C:/workspaces/jruby-trunk/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:452:in
`const_missing': Mongrel::StopServer (Mongrel::StopServer)
from C:/workspaces/jruby-trunk/lib/ruby/gems/1.8/gems/mongrel-1.0.1-jruby/lib/mongrel.rb:723:in
`run'
from C:/workspaces/jruby-trunk/lib/ruby/gems/1.8/gems/mongrel-1.0.1-jruby/lib/mongrel/configurator.rb:271:in
`initialize'
Terminate batch job (Y/N)? yAn alternative to this behemoth configuration and lack of Mongrel cluster on Windows is to create a Web ARchive (WAR) of your JRuby-on-Rails application and deploy on GlassFish. A complete screencast of how this can be achieved using NetBeans IDE is shown here. A comprehensive list of JRuby on GlassFish documentation is available here.
Technorati: totd rubyonrails jruby ruby mongrel windows jrubyonglassfish glassfish netbeans
Posted by Arun Gupta in web2.0 | Comments[2]
|
|
|
|
|
Monday April 23, 2007
Resolved Vista Upgrade Error 80070103
Follow up from here.
After getting bounced around between Microsoft Tech Support and MSDN Tech Support (seem to be separate entities) and collecting almost 5 different toll-free numbers for them, I finally resolved the error with help from a very talented and patient MSDN Tech Support professional.
Basically, the machine had two partitions - one using Windows XP and other Linux. And somehow the Linux partition was coming out as the primary active partition. So every time I was trying to install Vista, whether from within XP or boot from DVD, it was trying to look for an empty space on this partition. And of course it was not able to find any space because this file system is not NTFS. Now when I look at the error message again, it makes sense. But can't the installation process find out that there are multiple partitions, one of them using NTFS, and then provide that information ?
With tech support help, I resolved the issue by deleting and formatting both the partitions. Another way to resolve this was to set Windows XP as the active partition following these instructions.
I almost lost faith in Microsoft Tech Support but this one talented individual helped me restore it.
Technorati: windows Vista XP microsoft
Posted by Arun Gupta in General | Comments[10]
|
|
|
|
|
Friday April 20, 2007
XP -> Vista Upgrade: Error 80070103
I've been trying to upgrade an Ultra 20/4 GB RAM with Windows XP + SP2 machine to Windows Vista Ultimate and it's just a plain ugly experience. I've installed Vista on two other machines and it was a much better but this one is the other extreme.
I insert the Vista media in the drive and it pops up a window with an option "Install now". I click on install and then it shows the following error message:
It's hard to understand this error message because the primary drive has 91 GB of free disk space and installed using NTFS. Is the error message trying to convey something else ?
Searched on microsoft.com pointed me to this. But this article is only talking about this error code when installing updates, not updating the whole operating system. Anyway, I installed all the latest updates recommended by Windows Update Center. I also disabled my antivirus software as recommended in "What to know before installing Windows" (even though it's a weird requirement) but this error will not go away.
Tried searching if temp directory is somehow assigned smaller space but didn't find anything on that topic. Not sure if that's even possible.
I posted a question to Vista installation newsgroup. The responses there point to a mismatch (1, 2, 3) between default display drivers provided by Microsoft and nVidia. So I uninstalled the default display driver and installed nVidia's display driver. But still the same error message/number. BTW, the machine has Quadro FX 1400 card.
Then called up nVidia Tech Support. It took them few minutes to figure out that I'm "overwriting" my Window XP with Vista even though I began the call with "I'm upgrading my XP to Vista". Anyway, after the person on tech support understood my issue, I was told to format my Windows XP and then tried installing Vista from scratch! Another quote is "This is definitely a Microsoft problem because Vista is not even getting installed" even though I mentioned that all the links are referring about nVidia driver mismatch. Additionally, nVidia.com main website links to Can your computer run Windows Vista ? which test and reports whether a system can run Windows Vista or not. Interestingly, my laptop (which already has Vista) failed this test at Minimum, Recommended and Optimal level. And the machine on which I'm trying to install Vista passes this test at Minimum level but still giving this weird error.
Finally I called up Microsoft Tech Support and they transferred me to MSDN tech support which close at 5:30pm PT on weekdays.
As a result, I'm stuck this weekend waiting for MSDN tech support to open up Monday morning and then will follow up.
Is Windows Vista really ready for prime time for any serious application ?
UPDATE: Submitted a bug here.
Technorati: windows Vista XP nVidia
Posted by Arun Gupta in General | Comments[18]
|
|
|
|
|
Tuesday April 10, 2007
Last week, I had to give a presentation and my Tecra M5 Vista laptop would not project on the screen. After playing around with the obvious suspects (Fn keys, Toshiba Presentation Button, changing the resolution) the reason was narrowed down to not having the correct display Driver. After I installed nVidia Display Driver, Vista could project on the screen and I gave a preso yesterday using the same laptop.
There was no need to restart Vista.
Technorati: toshiba tecram5 windows vista
Posted by Arun Gupta in General | Comments[2]
|
|
|
|
|
Monday April 02, 2007
Laptop upgrade to Vista Ultimate
Follow up from previous entry.
I'm doing this on Toshiba Tecra M5 S433.
The document on how to Upgrade to Windows Vista for Toshiba Tecra M5 gave two options of "manual upgrade" and "manual clean installation". I decided to go the clean installation route mainly because it's simpler and cleaner. Here are the 4 steps listed in the document:
The first step was straight forward so I updated the BIOS to Version 3.20. 2nd step was not required. Then I used the Vista DVD to install the media. And voila, it worked! The last step was kind painful as the document lists 23 software components that need to be downloaded and installed. I talked to the technical support and they said everybody needs to individually download each piece individually and then install them. Why can't Toshiba create a package with all the components that can be downloaded and installed easily ?
Anyway, to save some effort for others, I've provided the list of all the software components after searching for a download link for each of the component:
This was quite a time consuming process since I had to search for exact match of my laptop's model (Tecra M5 S433) and then copy/paste the link etc. Anyway of the entire list, so far I've installed #9 since that allows me to login to my laptop using biometrics and I love that functionality. May be I'll install others later but I'm good for now.
As I mentioned earlier, this entry is indeed from my laptop with Vista
Ultimate now. One good thing with Vista installation is that it preserved all my
personal data (which is huge directory space) so there was no need for backing
up the laptop. Instead it moved Windows, Program Files
and Documents and Settings directories to windows.old.
This makes using old data really easy.
So overall, not a bad experience but I spent significant part of my Sunday doing this installation. Hopefully this will save some time for you.
Technorati: toshiba tecram5 windows vista
Posted by Arun Gupta in General | Comments[7]
|
|
|
|
|
Sunday April 01, 2007
Upgrading Toshiba TecraM5 from XP to Vista
I decided to upgrade my Toshiba Tecra M5 laptop with Windows Vista, finally!
| The laptop has the logo "Designed for Windows XP,
Windows Vista
Capable". A laptop equipped with
Windows
Vista Capable meets minimum requirements of 512 MB RAM which
does not necessarily mean you'll be able to run all your Windows Vista
applications. Rather Vista will deliver
sub-XP performance. So I'm not sure how this
logo needs to be
interpreted.
Anyway, I downloaded Vista and started installing and got the error " |
![]() |
Even though the laptop is advertised Vista capable but still need a BIOS update. Why ?
pcsupport.toshiba.com where all the BIOS updates can be downloaded was down most of this morning and so no updates could be downloaded. Toshiba Tech Support told me that new drivers are uploaded to the website but I don't understand why the complete website has to be down for that.
I found out about Windows Vista Upgrade Advisor from the recorded message at the Tech Support. So I downloaded that and got the same error "Windows Vista Upgrade Advisor encountered an error while scanning your system. If the problem persist, you can uninstall and reinstall the latest version." I'm using the latest version available on their website so this error message makes no sense.
Finally, pcsupport.toshiba.com is now live and I found instructions on how to Upgrade to Windows Vista for Toshiba Tecra M5. This is exactly what I've been looking for and fortunately this document was posted on 3/28 (3 days ago). I'm going to follow the instructions here and provide an update later today.
I'm hoping my next blog will be from my upgraded Vista laptop but so far the experience has not been very pleasant. Fingers crossed!
Technorati: toshiba tecram5 windows vista
Posted by Arun Gupta in General | Comments[2]
|
|
|
|
|
Today's Page Hits: 705
Total # blog entries: 994
| « November 2009 | ||||||
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
1 | 2 | 4 | 6 | 7 | ||
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | |||||
| Today | ||||||