Category: Uncategorized

WebEx Error

I have been struggling to get WebEx to work now that I have upgraded to Ubuntu 9.04.  I get the error below, and it failes to continue loading.  If anyone has any ideas, please let me know.  I did just upgrade to Firefox 3.5, but that didn’t fix the problem.  I also did a search on Google, and that didn’t turn up anything.

java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:375)
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:628)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
at java.security.KeyStore.load(KeyStore.java:1185)
at com.sun.deploy.security.DeploySigningCertStore$1.run(DeploySigningCertStore.java:154)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.DeploySigningCertStore.loadCertStore(DeploySigningCertStore.java:137)
at com.sun.deploy.security.DeploySigningCertStore.load(DeploySigningCertStore.java:107)
at com.sun.deploy.security.DeploySigningCertStore.load(DeploySigningCertStore.java:92)
at com.sun.deploy.security.ImmutableCertStore.load(ImmutableCertStore.java:43)
at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(TrustDecider.java:245)
at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(TrustDecider.java:218)
at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(TrustDecider.java:208)
at sun.plugin.security.PluginClassLoader.getPermissions(PluginClassLoader.java:150)
at java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:192)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:171)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:143)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:682)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:785)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2315)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
at sun.applet.AppletPanel.run(AppletPanel.java:368)
at java.lang.Thread.run(Thread.java:619)

I did check to make sure I had the ubuntu-restricted-extras and the libstdc++5 installed from this earlier post.

Great Links for Firefox

I found some great links for Firefox.  I am having some trouble with performance.  When I backspace, it is painfully slow.  Here are some links that might help (I am still working through them):

Firefox optimization and troubleshooting thread

Command Line Options

I knew about the -P option to use different profiles, but that doesn’t allow you to have multiple sessions still.  But, I learned from this page that I could add the -no-remote option to run multiple profiles at the same time.  This way I can have two instances or sessions running at the same time.  I can separate multiple web applications.

Back to Alsa

I have tried to make Skype work, but I have finally given up on Pulse Audio.  My problem right now is that I can hear the other person, but I can’t make it loud enough for the other person to hear me.

These instructions I found here: Pulse + skype delay issues in jaunty.

This kills all of the currently running pulseaudio processes:

#killall pulseaudio

This uninstalls pulseaudio:

#sudo aptitude remove pulseaudio

It gave this output:

The following packages are BROKEN:
 ubuntu-desktop
The following packages will be REMOVED:
 linux-headers-2.6.28-13{u} linux-headers-2.6.28-13-generic{u} pulseaudio
0 packages upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 76.5MB will be freed.
The following packages have unmet dependencies:
 ubuntu-desktop: Depends: pulseaudio but it is not installable
The following actions will resolve these dependencies:

Remove the following packages:
ubuntu-desktop

Leave the following dependencies unresolved:
libpulsecore9 recommends pulseaudio
Score is -81

Accept this solution? [Y/n/q/?]

I went ahead and said yes.  Again, the output is:

The following packages will be REMOVED:
 linux-headers-2.6.28-13{u} linux-headers-2.6.28-13-generic{u} pulseaudio
 ubuntu-desktop{a}
0 packages upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 76.5MB will be freed.
Do you want to continue? [Y/n/?]

Now, installing esound to replace Pulse Audio:

$sudo aptitude install esound

It gave this output, to which I said yes:

The following packages are BROKEN:
 pulseaudio-esound-compat
The following NEW packages will be installed:
 esound
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.1kB of archives. After unpacking 102kB will be used.
The following packages have unmet dependencies:
 pulseaudio-esound-compat: Conflicts: esound but 0.2.40-0ubuntu3 is to be installed.
The following actions will resolve these dependencies:

Remove the following packages:
pulseaudio-esound-compat

Score is 119

Accept this solution? [Y/n/q/?]

Finally, remove the pulse audio configuration file.

#sudo aptitude remove /etc/X11/Xsession.d/70pulseaudio

No, I can hear only out of one side of the headphones, and I still don’t have the volume for the Mic.  I think my biggest problem is that I can’t turn on the Mic Boost!  Here are some posts I have searched.

Ddell Inspiron 1720, Ubuntu with Skype & Mic problem please……

Bug #289419

This might have a solution!

So, now, I am going to try to go back to pulse audio.

First, remove esound:

#sudo aptitude remove esound

result:

The following packages will be REMOVED:
 esound
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.

Now, reinstalling pulse audio

#sudo aptitude install pulseaudio

Reinstalling one of the dependencies that I noticed it removed earlier:

#sudo aptitude install ubuntu-desktop

Now, installing the volume panel that is supposed to fix my problem (from here):

#sudo apt-get install gnome-volume-control-pulse

I rebooted just to make sure I was doing it right.  Then, I found the sound applet by the clock in the notification area.  I was able to right click on the sound icon and choose “Sound Preferences”.  On the input tab, the volume was set at somewhere between 50% and 75%.  When I adjusted it up, I had plenty of volume.

Interesting: Java Application Store

I saw this post the other day.  Sun is coming out with a Java store to deliver applications.  These stores are getting to be a trend!  I have a “Market” for my Android phone.  iPhone has the same type of thing.  Linux has the repositories of packages, which though you can’t purchase programs, you can easily install programs in much the same way.

Right now, it looks like the store is just in beta.  I am curious to see how this works and how it catches on.

Resources

Google Maps on Android

I saw this post about Google Maps on Android, and I thought I would share my comments.  I had the opportunity to use my Google Maps for navigation on a trip a couple of weekends ago to Chicago.  During the middle of that trip, I decided to upgrade my Google Maps through the Market.  Here are some things I noticed.

  • Before the upgrade, I could choose a destination from my history for getting directions.  That was handy because we kept going to the same places in various combinations.  After the upgrade, history was not an option.  I did find that if I could remember some of the address, it would autocomplete from my history and that worked good enough.
  • I like the new feature where I can click on a location on the map and get directions from or to that spot.
  • One feature I would like is the ability to add way points or adjust the route.  If we wanted to force a route or drive past a point, we would have to get directions in two separate steps.
  • I had the opportunity to use some else’s iPhone also.  One thing I missed on the iPhone was the menu button.  When I look for settings or options on my gPhone, I typically press the menu button and find it there.  On the iPhone, it has to be somewhere on the screen because the phone had no menu button.  It just surprised me that I kept looking for a menu button.  I never did figure out how to turn the GPS on and off, but I did figure out how to get my current location and get directions.

Resources

Engadget: Google updates Maps through the Android Market

Sound in Jaunty

When I upgraded to Juanty, my sound did not work on my laptop.  I found a couple of posts that helped me get it back up and running.

Ubuntu Forums: HOWTO: PulseAudio Fixes & System-Wide Equalizer Support

I think I found this post from this one:

Ubuntu Forums: No sound after upgrade from 8.10 to 9.04

I have had trouble with the pulseaudio service not running, and so I did a little research to find the command to restart it.  I haven’t tried these so be warned.

This article suggests:

pulseaudio -k; sleep 4; pulseaudio -vv

This article points out that you can use “pulseaudio –check” to see if an instance is running.  Also, they mention that if the -k doesn’t work, you can use “killall pulseaudio”.

Finally, since I use Skype, I have been contemplating going back to alsa.  I am not ready for that, but I am keeping this in my back pocket:

Mariuz’s Blog: Pulse + skype delay issues in jaunty

Adding Eclipse Project to Git

I did an earlier post where I did this, but I felt like it was sloppy.  Also, I did not add files to be ignored.  So, here is how to add an existing Eclipse project to Git:

Step 1:  In a terminal, change directories to your Eclipse workspace and project (assuming it is called my-project)

cd ~/workspace/my-project

Step 2: intialize the repository

git init

Step 3: add any files you want to ignore — consider any test data that might contain real production data and also consider connection information

vi .git/info/exclude

Assuming you have an Apache Derby database called db, you would exclude all of the database and the log with the following two lines:

db
derby.log

If you want to exclude Eclipse specific files, you may choose to add the following two lines:

.classpath
.project

Step 4: Add your files to your new Git repository

git add .

Step 5: Commit your files to the repository

git commit -m "My-Project inital code"

Step 6: Tag your code with a version

git tag v1.0

Update: You may want to tag this way so other developers see your tag (thanks Dominic):

git tag -a -m "GIT v1.0" v1.0

Now, your git repository is created and contains the code from your Eclipse project.

Resources