OS/2, problems and solutions
Author: chili 
Date:   09-24-05 03:42

Does this java app only work on Winstuff?? I have Java 1.4.2 using Mozilla with the eComstation OS (formally OS/2).

When I go to "theswitchboard", I get the page and it says "Downloading the application" in a grey bar and just stalls there.

If this is Winstuff ONLY, you shud say so on your "requirements" page.

TIA for any answer to this.

....Gerry

Reply To This Message
Re: Is this MS java app only ??
Author: malcolm 
Date:   09-24-05 12:40

hi Gerry,

There is no reason why The Switchboard shouldn't work on your setup. I've personally tested The Switchboard on Windows, Linux, and Mac OSX, so no, this isn't just a Windows app. I don't have a OS/2 system to try this on, so it is a bit problematic for me to test and see what the problem is, but we can try to debug it together.

First on your OS is it possible to pull up a Java console? Also what browser are your using on your system? Do you have the option of upgrading to the latest Java (1.5), it may solve whatever problem it is that you are having?

The most important thing is if you can get a java console up and then send me the output when you try to load theswitchboard.ca page. That could be very helpful.

Thanks,

malcolm

Reply To This Message
Re: Is this MS java app only ??
Author: chili 
Date:   09-24-05 15:53

I got the java console. I'm running Mozilla for OS/2 ver 1.7.8 from May of this year. I don't think I can get to java 1.5 yet.

Here is the java console output:

Java(TM) Plug-in: Version 1.4.2_05
Using JRE version 1.4.2_05 Java HotSpot(TM) Client VM
User home directory = E:\HOME\DEFAULT

Proxy Configuration: Browser Proxy Configuration





----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
couldn't get class: java.lang.ClassNotFoundException: org.dobratek.switchboard.gui.Switchboard

java.lang.NullPointerException

at org.dobratek.loader.d.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

java.lang.NullPointerException

at org.dobratek.loader.Loader.stop(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

couldn't get class: java.lang.ClassNotFoundException: org.dobratek.switchboard.gui.Switchboard

java.lang.NullPointerException

at org.dobratek.loader.d.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)
(end paste)

Thanks for the help

.... Gerry

Reply To This Message
Re: Is this MS java app only ??
Author: malcolm 
Date:   09-24-05 17:07

Hi Gerry,

Did you get a security popup box the first time you visited theswitchboard.ca? if you did, did you say say yes when asked to trust Dobratek Systems Ltd. code signing certificate?

One other thing, do you have free space on your E: drive? The Switchboard needs to be able to cache some files in your home directory, which in your case is set to E:\HOME\DEFAULT.

malcolm

Reply To This Message
Re: Is this MS java app only ??
Author: chili 
Date:   09-25-05 02:52

Malcolm....Yes, I get the popup every time and I answer YES.

There is lots (1.5GB) of freespace on drive E:

In e:\home\default, I have a <.switchboard> folder

.... Gerry

Reply To This Message
Re: Is this MS java app only ??
Author: malcolm 
Date:   09-25-05 15:38

hi Gerry,

That all looks completely fine...

You've got the files, the latest version of Java available for your OS, and you're running mozilla, everything should be ok, but for some reason the applet does not start properly on your platform. The only other thing I can suggest, and I know it is a bit of a weak suggestion, but as I've said before I don't have an OS/2 box to play around on, is to try the latest version of firefox and mozilla http://www.mozilla.org/ports/os2/ and see if a newer version of browser gets rid of this strange bug.

I've tested the applet on firefox, mozilla, ie, safari, and opera. The only browser that has had any problems was opera. Eventually the problem went away when opera 8 came out http://theswitchboard.ca/phorum/read.php?f=4&i=262&t=58#reply_262

Maybe a newer browser version will sort your problem out. Give those newer browsers a try and if that doesn't work we'll try something else.

malcolm

P.S. do other java applets work allright on your system?

Reply To This Message
Re: Is this MS java app only ??
Author: chili 
Date:   09-25-05 20:26

Java and Moz are working just fine and for some time.

Regarding firefox, this is from another thread/user that tried switchboard on eCS.

<quote>
Jeffrey,

I tried it on eCS with FireFox 1.5b and the site comes up, but no logon
screen. Something just does not quite connect properly. I can run Java apps
from the browser on other sites so I'm pretty sure the Java is working
correctly.

--
Cliff
<unquote>

Malcolm, I am just with the full Moz suite and not firefox etc. I am reluctant to do firefox just for this.

Does not the java console indicate why the .jar won't start? It certainly downloads and gives it a try. (BTW-I am no java debugger).

..... Gerry

Reply To This Message
Re: Is this MS java app only ??
Author: jrace (---.asianet.co.th)
Date:   09-26-05 10:49

"Chili" -- can we get some more datapoints on eCS please?
Kindly ask your friends to try on their systems so we can
determine whether the problem is idiosyncratic to your box
or systemic to eCS. I will try to bring up an eCS machine
in a few days but don't presently have one to test. I am
going to Warpstock next week and would like to present this
to the Experts once we have preliminary data in hand.

Jeffrey Race
1 617 395-4111
<jrace@attglobal.net>

Reply To This Message
Re: Is this MS java app only ??
Author: malcolm 
Date:   09-26-05 16:57

hi jrace and chili

jrace:
Thanks for chipping in. Any help in terms of testing on eCS would be much appreciated, as well as any input you can get from the eCS gurus.

chili:
I think the next step for me and is to get a more detailed debug session from your box. What I'll do is compile a version of the switchboard with more detailed debug output and them get you to hit that page and capture the debug output and then fire it over to me. I'll email you when i have something setup and then, when you get a moment, if you could give it a try and then email the results to me it would be much appreciated. Ahh, I love remote debugging.

I'll make sure to post any progress back to this thread. Hopefully we can get this sorted out in the next couple of days.

malcolm

Reply To This Message
Re: Is this MS java app only ??
Author: malcolm 
Date:   09-26-05 19:11

hi chili,

Doing a bit of code inspection I think I may have found the problem. I need a small piece of information from you and then I think you, and all of the other OS/2 users, will be sorted. If you bring up your java console and then press 's' it will spew a bunch of key values out. I am interested in the one that looks like this:

os.name = Linux

Of course it will look different on your system because you are using OS/2. It should read:

os.name = OS/2

Could you just confirm that your os.name looks like that. Basically there is some special handling for Windows systems that also needs to happen for OS/2 systems. Not to offend, but I didn't consider OS/2isms when developing :).

malcolm

Reply To This Message
Re: Is this MS java app only ??
Author: malcolm 
Date:   09-26-05 19:43

hi chili,

I've put up the fix. If my theory is correct, you should now be in business.

Please let me know your results.

malcolm

Reply To This Message
Re: Is this MS java app only ??
Author: chili 
Date:   09-26-05 21:55

OK, I just logged on and it is working now. I put the 's' into the java console and yes, it now shows OS.name=OS/2.

So now I have java window with "contacts, add contacts and VMail.
I just checked my headphone earpiece and Mic and they are working with a sound editor. I get/hear nothing when I hit "test sound". What shud I hear??

I believe "jrace" is a user (see above note from him). Is that what I put in the "add contacts" and authorize??

Obviously, what I need here is a beginners how to use it..instructions. Is there web presence for this ?? where??

Malcolm, you obviously fixed the operational problen for eCS/OS/2.
Thank you.

My username here is <chili>. If that is what is used to "call me up".

..... Gerry

Reply To This Message
Re: Is this MS java app only ??
Author: malcolm 
Date:   09-26-05 22:49

Hi chili,

To talk to someone you first need their username and then you add them in the "add contacts" panel. They then authorize you and you will then both be able to see each other in your "contacts" panel. This process operates much the same as any IM program (i.e. ICQ).

It is important to note that when someone posts on this forum, with a certain username, it does not mean that that is the same username that they use on the switchboard. So, maybe jrace is registered as jrace on the forum and the switchboard, but you'd have to ask him to find out. When you logged into the switchboard did you use the username chili? If you did then this is the username that you need to give to other users, so that they can add you to their contact lists.

When you click "test sound" do you get a dialog box that says "You should now be able to hear yourself"? You should. The dialog box will tell you whether the test works or not. The "test sound" function feeds the input from your mic to your headphones and you'll then hear yourself.

If the "test sound" function is not working for you. You can post the contents of your java console (after the test fails), and that may shed some light on the reason.

Just so you know, I am installing a version of OS/2 in the near future, so I'll give it a whirl myself as well.

Can't have our OS/2 users left out in the cold can we :).

malcolm

Reply To This Message
Re: Is this MS java app only ??
Author: chili 
Date:   09-27-05 02:56

malcolm wrote:

> Hi chili,
>
> To talk to someone you first need their username and then you
> add them in the "add contacts" panel. They then authorize you
> and you will then both be able to see each other in your
> "contacts" panel. This process operates much the same as any
> IM program (i.e. ICQ).
>
> It is important to note that when someone posts on this forum,
> with a certain username, it does not mean that that is the same
> username that they use on the switchboard. So, maybe jrace is
> registered as jrace on the forum and the switchboard, but you'd
> have to ask him to find out. When you logged into the
> switchboard did you use the username chili? If you did then
> this is the username that you need to give to other users, so
> that they can add you to their contact lists.
>
OK, I got all that, and yes, I am <chili>

> When you click "test sound" do you get a dialog box that says
> "You should now be able to hear yourself"? You should. The
> dialog box will tell you whether the test works or not. The
> "test sound" function feeds the input from your mic to your
> headphones and you'll then hear yourself.
>
I get no popup dialog box but the "test button" goes grey.

And my mic is working and I "can hear myself". With egg on face, I had the Mic turned OFF in my mixer...now fixed.

> If the "test sound" function is not working for you. You can
> post the contents of your java console (after the test fails),
> and that may shed some light on the reason.
>
Not necessary.

> Just so you know, I am installing a version of OS/2 in the near
> future, so I'll give it a whirl myself as well.
>
> Can't have our OS/2 users left out in the cold can we :).
>
Definately not! But consider installing eComstation 1.2 (up to date drivers...etc.) in lieu of OS/2. It's a CD install to a partitioned linux capeable box.

Now, when/how do you use...conference/call/vmail/text buttons.

Thanks for your help here.

.... Gerry


> malcolm

Reply To This Message
Re: Is this MS java app only ??
Author: Roberto (---.ip.fastwebnet.it)
Date:   09-27-05 14:17

Hi,
I'm another eComStation user!
I made few test and I could login and hear my voice with the audio test (I had to raise the volume to maximum, but I think is my microphone with a low output).

During my tests Mozilla always froze after few minutes and I had to reboot with a CAD.

Anyhow I do appreciate the effort for our OS2/eComStation users, thanks a lot. :-)

Here is my console output:

----------------------------------------------------
Java(TM) Plug-in: Versione 1.4.2_05
Uso della versione JRE 1.4.2_05 Java HotSpot(TM) Client VM
Directory principale utente = D:\HOME\DEFAULT

----------------------------------------------------
switchboard constructed

Copyright (c) 2005 by Malcolm Patterson & Martha Kuras - All Rights Reserved
Unauthorized distribution and/or use of this applet is forbidden.
For questions about licensing this code, send mail to sales@theswitchboard.ca

Error log file not open.

Error log file not open.

www.theswitchboard.ca

switchboard applet initing

version 2.3

initializing gui

switchboard applet started

initializing gui

normal ssl connection

PING

PING

PING

initializing gui

Login successful.

PING

PING

PING

<Many PING>

Esegui dump delle proprietà del sistema ...
----------------------------------------------------
acl.read = +
acl.read.default =
acl.write = +
acl.write.default =
application.home = D:\JAVA142_5
awt.toolkit = sun.awt.windows.WToolkit
browser = sun.plugin
browser.vendor = Sun Microsystems, Inc.
browser.version = 1.1
deployment.system.cacerts = D:\JAVA142_5\lib\security\cacerts
deployment.system.home = D:\HOME\DEFAULT\Application Data\Sun\Java\Deployment
deployment.system.jssecacerts = D:\JAVA142_5\lib\security\cacerts
deployment.system.profile = D:\HOME\DEFAULT\Application Data
deployment.system.security.policy = file:/D:/HOME/DEFAULT/Application%20Data/Sun/Java/Deployment/security/java.policy
deployment.user.cachedir = D:\HOME\DEFAULT\Application Data\Sun\Java\Deployment\cache
deployment.user.certs = D:\HOME\DEFAULT\Application Data\Sun\Java\Deployment\security\deployment.certs
deployment.user.extdir = D:\HOME\DEFAULT\Application Data\Sun\Java\Deployment\ext
deployment.user.home = D:\HOME\DEFAULT\Application Data\Sun\Java\Deployment
deployment.user.jssecerts = D:\HOME\DEFAULT\Application Data\Sun\Java\Deployment\security\deployment.jssecerts
deployment.user.logdir = D:\HOME\DEFAULT\Application Data\Sun\Java\Deployment\log
deployment.user.profile = D:\HOME\DEFAULT\Application Data
deployment.user.security.policy = file:/D:/HOME/DEFAULT/Application%20Data/Sun/Java/Deployment/security/java.policy
deployment.user.tmpdir = D:\HOME\DEFAULT\Application Data\Sun\Java\Deployment\cache\tmp
file.encoding = Cp1252
file.encoding.pkg = sun.io
file.separator = \
file.separator.applet = true
http.agent = Mozilla/4.0 (OS/2 20.45)
http.auth.serializeRequests = true
https.protocols = SSLv3,SSLv2Hello
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.awt.printerjob = sun.awt.windows.WPrinterJob
java.class.path = D:\JAVA142_5\classes
java.class.version = 48.0
java.class.version.applet = true
java.endorsed.dirs = D:\JAVA142_5\lib\endorsed
java.ext.dirs = D:\JAVA142_5\lib\ext
java.home = D:\JAVA142_5
java.io.tmpdir = C:\var\temp\
java.library.path = D:\MOZILLA178;.;C:\PROGRAMS\INNOWIN;C:\PROGRAMS\INNOWIN;D:\JAVA142_5\bin;
C:\PROGRAMS\INNOWIN;.;C:\PROGRAMS\RSJCD;d:\UnixOs2\lib;d:\UnixOs2\usr\lib;C:\IBMLAN\NETLIB;
C:\MUGLIB\DLL;C:\PROGRAMS\NETSCAPE\PROGRAM;C:\ECS\DLL;C:\OS2\DLL;C:\IBMGSK50\LIB;
C:\IBMGSK40\LIB;C:\IBMGSK\LIB;C:\MPTN\DLL;C:\TCPIP\DLL;C:\IBMCOM\DLL;C:\OS2\MDOS;C:\;
C:\OS2\APPS\DLL;C:\EMX\DLL;C:\JAVA11\DLL;C:\MMOS2\DLL;C:\MMOS2\FREEDB;D:\OFFICE51;
D:\TAME100;C:\ODIN\SYSTEM32;D:\INSTALLATA\DRIVER\AMOUSE;D:\OS2TK45\SOM\COMMON\DLL;
D:\OS2TK45\SOM\LIB;D:\OS2TK45\DLL;D:\OS2TK45\SAMPLES\MM\DLL;D:\IBMWF\DLL;D:\IBMCPP\DLL;
d:\READIBM2;
java.protocol.handler.pkgs = sun.plugin.net.protocol|sun.plugin.net.protocol
java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version = 1.4.2_05-b04
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.4
java.util.prefs.PreferencesFactory = java.util.prefs.WindowsPreferencesFactory
java.vendor = Sun Microsystems Inc.
java.vendor.applet = true
java.vendor.url = http://java.sun.com/
java.vendor.url.applet = true
java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
java.version = 1.4.2_05
java.version.applet = true
java.vm.info = mixed mode
java.vm.name = Java HotSpot(TM) Client VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 1.4.2_05-b04
javaplugin.maxHeapSize = 64m
javaplugin.nodotversion = 142_05
javaplugin.proxy.config.list =
javaplugin.proxy.config.type = browser
javaplugin.version = 1.4.2_05
javaplugin.vm.options = -Djava.class.path=D:\JAVA142_5\classes -Xbootclasspath/a:D:\JAVA142_5\lib\plugin.jar -Xmx64m -Djavaplugin.maxHeapSize=64m -Xverify:remote -Djavaplugin.version=1.4.2_05 -Djavaplugin.nodotversion=142_05 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=D:\JAVA142_5 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol
javax.net.ssl.trustStore = D:\HOME\DEFAULT/.switchboard/keystore
line.separator = \r\n
line.separator.applet = true
os.arch = x86
os.arch.applet = true
os.name = OS/2
os.name.applet = true
os.version = 20.45
os.version.applet = true
package.restrict.access.netscape = false
package.restrict.access.sun = true
package.restrict.definition.java = true
package.restrict.definition.netscape = true
package.restrict.definition.sun = true
path.separator = ;
path.separator.applet = true
sun.arch.data.model = 32
sun.boot.class.path = D:\JAVA142_5\lib\rt.jar;D:\JAVA142_5\lib\i18n.jar;D:\JAVA142_5\lib\sunrsasign.jar;
D:\JAVA142_5\lib\jsse.jar;D:\JAVA142_5\lib\jce.jar;D:\JAVA142_5\lib\charsets.jar;
D:\JAVA142_5\classes;D:\JAVA142_5\lib\plugin.jar
sun.boot.library.path = D:\JAVA142_5\bin
sun.cpu.endian = little
sun.cpu.isalist =
sun.io.unicode.encoding = UnicodeLittle
sun.java2d.fontpath =
sun.java2d.noddraw = true
sun.net.client.defaultConnectTimeout = 120000
sun.os.patch.level =
trustProxy = true
user.country = IT
user.dir = D:\MOZILLA178
user.home = D:\HOME\DEFAULT
user.language = it
user.name = USER
user.timezone = Europe/Berlin
user.variant =
----------------------------------------------------

Reply To This Message
Re: Is this MS java app only ??
Author: malcolm 
Date:   09-27-05 14:28

hi chili,

That's great! Glad to here that things are on the right track now.

Ok here is a brief breakdown (and yes the help page will be revamped and made useful soon):

1) conference: you select one of your contacts (who is online, of course) then you click conference, if your contact accepts you will see a new panel showing the status of your conference, and you will be able to hear each other. Now, as the conference initiator, you can add other contacts of yours (note: everyone wanting to conference has to have everyone else in their contact list). You add another member to the conference by selecting them from your contact list and hitting conference. On the conference panel everyone will see the new conference member appear, and will also be able to hear and speak to them. You can repeat this procedure for as long as your bandwidth holds out :).

2) call: similar to conference except you can only talk to one contact. As you can see this is actually a special case of the more general conference, but the option remains for user clarity.

3) vmail: select a contact press the vmail button, the vmail record dialog box should popup, and then use the controls on the vmail record dialog box to record and preview your message. When you are satisfied with your message you then click send and the message will be put in the vmail box of your contact (note: they do not have to be online to receive vmail), a email will also be sent to your contact notifying them that they have a new vmail from you.

4) text: this is classic IM. You select a contact press text and then a texting panel will come up. On the texting panel there are two boxes, one which will show your textual conversation and one which you can type into and then send text messages with.

malcolm

Reply To This Message
Re: Is this MS java app only ??
Author: Roberto (---.ip.fastwebnet.it)
Date:   09-27-05 20:26

Hi Malcolm,
I just tried to record a vmail to send to chili, but it seems nothing was recorded. While recording i could hear my voice, so the microphone was working.
Here is what I got in the java console. I hope this can help:

----------------------------------------------------
switchboard constructed

Copyright (c) 2005 by Malcolm Patterson & Martha Kuras - All Rights Reserved
Unauthorized distribution and/or use of this applet is forbidden.
For questions about licensing this code, send mail to sales@theswitchboard.ca


www.theswitchboard.ca

switchboard applet initing

version 2.3

initializing gui

switchboard applet started

initializing gui

Couldn't find a gateway for UPnP

normal ssl connection

PING

PING

PING

initializing gui

Login successful.

PING

PING

line initialized

playback stopped

line initialized

recording stopped

leaving a vmail for: chili

PING

PING

line initialized

thread start

recording started!

PING

wrong size read: 128

thread exiting

recording stopped

line initialized

thread start

playback stopped

error decoding frame

thread exiting

PING

line initialized

thread start

playback stopped

error decoding frame

thread exiting

PING

PING

line initialized

thread start

recording started!

PING

wrong size read: 128

thread exiting

recording stopped

line initialized

thread start

playback stopped

error decoding frame

thread exiting

line initialized

thread start

playback stopped

error decoding frame

thread exiting

PING

line initialized

thread start

playback stopped

error decoding frame

thread exiting

line initialized

thread start

PING

recording started!

wrong size read: 64

thread exiting

recording stopped

line initialized

thread start

playback stopped

error decoding frame

thread exiting

PING

line initialized

thread start

playback stopped

error decoding frame

thread exiting

recording stopped

playback stopped

PING

Reply To This Message
Re: Is this MS java app only ??
Author: cliff185 
Date:   09-27-05 22:19

Hi Malcom,

Just to chime in here, I am also an eCS 1.1 user with Java 1.4.2_05. I have the exact same results as Roberto. The Vmail box comes up and I can hear myself recording, but am unable to hear any playback. I sent the Vmail anyway, but haven't heard if the recipient could hear anything or not.

Reply To This Message
Re: Is this MS java app only ??
Author: malcolm 
Date:   09-28-05 01:19

hi Roberto and cliff185,

So, are you guys saying that you can hear yourself *while* you record your message? You shouldn't be able to hear yourself during the recording, only when you playback the vmail.

I know on Windows if you don't mute the mic you constantly hear yourself, perhaps there is a similar mute on OS/2. When the mic is muted you can still record, but the sound input from the mic is not pushed through the output line (i.e. you don't allways hear yourself when the mic is plugged in).

I am going to fire up an installation of OS/2 in the next couple days, and then I should be able to nail all of these little bugs.

malcolm

Reply To This Message
Re: Is this MS java app only ??
Author: chili 
Date:   09-28-05 03:49

I still have <serious> problems. I get no popup windows for "test sound" or "VMail" none....Nil.

I cleared the java console, started up and did 2 things.

First, I did the "test sound", then I did the vmail thing.

In both cases, I get the console msg "java.lang.Illegal\ arguement\exception....etc" and every line after that has comment of "(unknown source)'.

I dunno what to do next.
What does this line mean: "Couldn't find a gateway for UPnP"

Here is a copy of this console output:
www.theswitchboard.ca

switchboard applet initing

version 2.3

initializing gui

switchboard applet started

initializing gui

browser settings do not contain any proxy information

normal ssl connection

initializing gui

Login successful.

Couldn't find a gateway for UPnP

java.lang.IllegalArgumentException: No line matching interface SourceDataLine supporting format PCM_SIGNED, 44100.0 Hz, 16 bit, stereo, little-endian, audio data, and buffers of 16384 to 16384 bytes is supported.

at javax.sound.sampled.AudioSystem.getLine(Unknown Source)

at org.dobratek.sound.g.a(Unknown Source)

at org.dobratek.peerphone.a.b(Unknown Source)

at org.dobratek.switchboard.gui.Switchboard.l(Unknown Source)

at org.dobratek.switchboard.gui.Switchboard.v(Unknown Source)

at org.dobratek.switchboard.gui.au.actionPerformed(Unknown Source)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

PING

PING

PING

PING

PING

PING

java.lang.IllegalArgumentException: No line matching interface SourceDataLine supporting format PCM_SIGNED, 44100.0 Hz, 16 bit, stereo, little-endian, audio data, and buffers of 16384 to 16384 bytes is supported.

at javax.sound.sampled.AudioSystem.getLine(Unknown Source)

at org.dobratek.sound.g.a(Unknown Source)

at org.dobratek.peerphone.a.b(Unknown Source)

at org.dobratek.switchboard.gui.Switchboard.l(Unknown Source)

at org.dobratek.switchboard.gui.Switchboard.v(Unknown Source)

at org.dobratek.switchboard.gui.bE.a(Unknown Source)

at org.dobratek.util.j.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

PING

PING

PING

PING

PING

PING

PING

PING

switchboard stopping

closing connection

header read failed: java.net.SocketException: socket closed

error message

Maicolm, Thanks again for the how to use button dialog not above in this thread.

....Gerry

Reply To This Message
Re: Is this MS java app only ??
Author: malcolm 
Date:   09-28-05 11:26

hi chili,

UPnP is a protocol that can be used to program devices over IP networks. The Switchboard is using UPnP to open up a route through any routers between it and the Internet, so that when you want to directly connect to another user (i.e. have a live voice chat) you will not be blocked from doing so.

Your console output tells me that The Switchboard is not able to acquire a playback line. Is it possible that you have another program open that is blocking the playback line?
What is weird is that when this error occurs you should get a notification dialog that says this:

"Failed to get a playback line. Please check that your sound system is capable of playback."

You didn't mention this, so I assume that you aren't getting this notification?

Can the other eCs guys on this forum let us know whether or not they are able to use the "test sound" function?

malcolm

Reply To This Message
Re: Is this MS java app only ??
Author: jfgarcia (---.uninet.net.mx)
Date:   09-28-05 12:29

Hi guys,

I'm a OS/2 user too.

I was trying the product and I get the login page, etc... but the "test sound" doesnt work here.

There is a small portion of the Java console output:

PING

line initialized

playback stopped

line initialized

recording stopped

mixer: Java Sound Audio Engine

mixer: OS/2 DART Wave In

mixer: OS/2 DART Wave In

mixer: OS/2 WINMM Mixer

Using default mixer

line initialized

line aquisition failed, crap sound card detected!

failed to initialize playback

ending call starting: null

recording stopped

recording stopped

player stopped

Reply To This Message
Re: Is this MS java app only ??
Author: Roberto (---.ip.fastwebnet.it)
Date:   09-28-05 15:02

Hi Malcom,
I played a little with my mixer: your suggestion to mute the microphon was right! The 'test sound' works for me. I also recorded a Vmail and sent it to another user. I'll inform him to check if he can listen to my message.

The trick was to mute the microphone *and* select it as the input source. I've always tought that to mute a microphone was disabling it, but I was wrong.

Thanks again for your help! :-)

Roberto

Reply To This Message
Re: Is this MS java app only ??
Author: malcolm 
Date:   09-28-05 19:47

Hi Roberto,

Great news. You are now a fully operational OS/2 switchboard user! If you get a chance to try some calls, post back here and let us know the results.

malcolm

Reply To This Message
Re: Is this MS java app only ??
Author: malcolm 
Date:   09-28-05 19:48

hi jfgarcia,

Have you tried setting up your sound like Roberto did? See his post (it is just underneath yours).

malcolm

Reply To This Message
Re: Is this MS java app only ??
Author: cliff185 
Date:   09-28-05 21:23

malcolm wrote:

> hi Roberto and cliff185,
>
> So, are you guys saying that you can hear yourself *while* you
> record your message? You shouldn't be able to hear yourself
> during the recording, only when you playback the vmail.
>
> I know on Windows if you don't mute the mic you constantly hear
> yourself, perhaps there is a similar mute on OS/2. When the
> mic is muted you can still record, but the sound input from the
> mic is not pushed through the output line (i.e. you don't
> allways hear yourself when the mic is plugged in).
>
> I am going to fire up an installation of OS/2 in the next
> couple days, and then I should be able to nail all of these
> little bugs.

Malcom,

Thanks for the tip. That and selecting the Mic as the input got the Vmail working, at least I can now hear what I recorded so I'll see it the person on the other end gets it.

Reply To This Message
Re: OS/2, problems and solutions
Author: dale_erwin (---.106.111.137.speedy.net.pe)
Date:   09-28-05 22:09

I'm another eCS user and I'm also have a problem with sound. I cannot hear myself with the Test Sound button. Some of the guys have mentioned making adjustments with a mixer, but I don't have any mixer installed. I can't find any mic controls anywhere on my system.

Do I need to install a mixer?

Reply To This Message
Re: OS/2, problems and solutions
Author: dale_erwin (---.106.111.137.speedy.net.pe)
Date:   09-28-05 22:12

One more thing I forgot to ask is How do I get the Java Console from Mozilla 1.7.10 on eCS 1.1 with Java 1.4.2_05?

Reply To This Message
Re: OS/2, problems and solutions
Author: malcolm 
Date:   09-29-05 00:58

Hi dale,

I haven't used Mozilla on eCS before (maybe one of the eCS guys can chip in with some more detail), but on the linux version of Mozilla you'll find it here "Tools->Web Development->Java Console". Probably it is the same on eCS.

Unfortunately I'll have to rely on the eCS gurus again with respect to the mixer as I do not have a working eCS installation, yet.

malcolm

Reply To This Message
Re: OS/2, problems and solutions
Author: Roberto (---.ip.fastwebnet.it)
Date:   09-29-05 01:44

Hi Malcom,
good news!
My vmail was received ad listened by Dale. He found out a mixer, adjusted his microphone, then he sent me a vmail, which I could listen very clearly. Next step is to try a 'live' call with another OS2/eCS user. :-)

Just one question: to login takes a long time, maybe 30 or more seconds. Same when I want to create a vmail: it takes a long time before the small vmail window opens. Is it normal?
(My system has Athlon64 3200+ with a 10Mb/s connection.)

Thanks!

Reply To This Message
Re: Is this MS java app only ??
Author: chili 
Date:   09-29-05 05:58

malcolm wrote:

> hi chili,
>
SNIP
>
> Your console output tells me that The Switchboard is not able
> to acquire a playback line. Is it possible that you have
> another program open that is blocking the playback line?
> What is weird is that when this error occurs you should get a
> notification dialog that says this:
>
> "Failed to get a playback line. Please check that your sound
> system is capable of playback."
>
> You didn't mention this, so I assume that you aren't getting
> this notification?
>
> Can the other eCs guys on this forum let us know whether or not
> they are able to use the "test sound" function?
>
I have no other sound function active here (that I can tell) that wud block the playback line. How can I "check" the playback line?

I get no notification..."failed to get playback line". Where shud I see this?? in the java console or a swichboard popup? Remember, I get no response from the switchboard app. When I click the "test sound" the button goes grey...That's all.

For those guys that got things working, Im using a AW320 sound card with cirrus cs 4614 chipset and ver 3.11 driver. LBMixer is ver .08. Successful folks here say "had to set 'input selector' to MIC" (assumed to be in LBmix settings). Well, I have no "input selector" window in LBmix settings. The LBmix author says this window may or may NOT be there depending on the sound card used.
Well, I "DON'T got it. Also, Muting the MIC makes no differece here.

All eCS sound is working good here. I can use the MIC and record my voice to a WAV file...etc....etc.

So, Are any folks using a cirrus PCI card and V 3.11 driver and LBmix successfully?? Do you have the "input selector" function in LBMix settings? ... because that seems to be the trick required so far.

Maybe Malcolm and I are beating on a dead horse here! Hope not.

.... Chili



Reply To This Message
Re: Is this MS java app only ??
Author: Roberto (---.ip.fastwebnet.it)
Date:   09-29-05 10:17

chili wrote:

> For those guys that got things working, Im using a AW320 sound
> card with cirrus cs 4614 chipset and ver 3.11 driver. LBMixer
> is ver .08. Successful folks here say "had to set 'input
> selector' to MIC" (assumed to be in LBmix settings). Well, I
> have no "input selector" window in LBmix settings. The LBmix
> author says this window may or may NOT be there depending on
> the sound card used.

Did you check in 'Settings -> Active controls' if Input Selector is enabled?

You can try some other mixer or try to find the 'mute' option somewhere else, maybe in your configuration driver? I'm not an expert of sound cards...

PS: I just had a conversation with a user in Bangkok, so I can say: theswitchboard works with eCS!!!



Reply To This Message
Re: OS/2, problems and solutions
Author: malcolm 
Date:   09-29-05 14:47

Roberto:

It's great to hear about your sucesses! You are the first user I know who as used eCS to make calls with The Switchboard (there may be others, but they haven't posted here). With regards to the slow connection, I'm not sure why, your system way more powerful than necessary, so I don't think it is anything to do with your hardware. You aren't using a virtualizer to run eCS (like VMware, or Virtual PC) are you? The only other thing I can think of is this; Java does behave differently on different platforms. For example on my system it takes less than a second for The Switchboard to connect, when it is running Linux, but when running Windows it can take up to 4 seconds to connect. Perhaps the networking code Java on eCS uses is even more sluggish? Maybe others can share their experiences. The dialog boxes coming up slow is even more of a mystery, because they come up instantaneously on my system and it isn't as powerful as yours.

Chili:

It seems that no dialog boxes are working on your system. This is very strange. Have you ever seen a dialog box generated by The Switchbaord? One way to test this would be to create another account and then login with that account and your old one. Then add 'chili' to the new accounts contacts, and then authorize the contact as 'chili'. After both of your accounts have each other as contacts open up two browser windows and log both of them in. When a user comes online that is in your contact list it should generate a popup telling you that one of your contacts has come online. Since this popup is not associated with any sound card code that should remove sound card issues as a variable and allow us to see whether you are having a dialog box issue, a sound card issue, or both.

malcolm

Reply To This Message
Re: OS/2, problems and solutions
Author: malcolm 
Date:   09-29-05 15:27

Hi Roberto,

If you remember, did you get a direct connection or relay connection when you called your contact in Bangkok (it tells you that on the call panel, after the call is initiated)?

Also, did it take a long time to establish the call? I just ask because it seems like a lot of The Switchboard functions are sluggish on eCS.

malcolm

Reply To This Message
Re: OS/2, problems and solutions
Author: dale_erwin (---.106.111.137.speedy.net.pe)
Date:   09-29-05 15:38

Hi Malcolm,

I resolved my sound problem by installing a mixer with mic controls. I also learned how to bring up the Java console,
which exactly the same way you described under Linux.

My only problem now is to find a way to connect my headphone/microphone combo. On my old machine, the Labtech speakers had jacks for headset and microphone which muted the speakers. My current surround-sound speakers have no such jacks. I don't want to give up the surround-sound speakers, but I also don't want the hassle of connecting/disconnecting speakers/headphones constantly.

I have used DialPad with my current setup and it does work without headphones... although sometimes the people at the other end complain that they can hear themselves talking.

Do you think that this might be the only problem I might encounter with the switchboard if I were to try it without a headset?

Dale

Reply To This Message
Re: OS/2, problems and solutions
Author: malcolm 
Date:   09-29-05 15:48

Hi Dale,

I would highly recommend using a headset, but if you don't it will not cause any problems, except for your receiver being able to hear themselves talk.

There is another easy, and cheap, solution. You can buy a y-jack which will plug into your soundcard speaker output jack and provide you with two outputs. You then, simply, plug your surround speakers into one output and the headset into the other output. Now if your headset has a mute or volume control, you just turn it off when using the speakers, and if you are making a call you turn down your surround speakers and turn your headset back on.

malcolm

Reply To This Message
Re: OS/2, problems and solutions
Author: dale_erwin (---.106.111.137.speedy.net.pe)
Date:   09-29-05 15:56

Well, Malcolm, I've got to say that I'm a little embarrassed. I thought about that very thing, but was thinking the problem would still be there with the headset and the speakers being live at the same time... never dawning on me that all I had to do was reach over and turn the volume all the way down on the speakers.

Thanks. I'm on my way to Radio Shack.

Dale

Reply To This Message
Re: OS/2, problems and solutions
Author: malcolm 
Date:   09-29-05 16:04

Hi Dale,

Sometimes the crude, simple solution, eludes us in our over tech'd lives :).

Glad I could help.

malcolm

Reply To This Message
Re: OS/2, problems and solutions
Author: Roberto (---.ip.fastwebnet.it)
Date:   09-29-05 20:46

malcolm wrote:

> Roberto:
>
> It's great to hear about your sucesses! You are the first user
> I know who as used eCS to make calls with The Switchboard
> (there may be others, but they haven't posted here). With
> regards to the slow connection, I'm not sure why, your system
> way more powerful than necessary, so I don't think it is
> anything to do with your hardware. You aren't using a
> virtualizer to run eCS (like VMware, or Virtual PC) are you?

Hi Malcom,
this is a full eCS box, no virtual machine here, that's why I asked about the long time to login. I'm not a java expert, but I use many java programs (also with java webstart) and I never had such a long time to login: I normally use a java FTP, java 'clone' messengers, java P2P... Loading and starting a java applet is very fast too. Waiting to login, I can see only few bytes going in and out, with long pauses without any bytes exchange.
I access the Internet through another eCS box, configured as server with firewall, if this can matter, but, as I said, I never noticed a slowdown of performances.

> Perhaps the networking code Java
> on eCS uses is even more sluggish? Maybe others can share
> their experiences.

Hard to say. Java here works fine and the long wait was a surprise, such that the first time I tried to login I thought it was not working... Better to hear from other eCS users.

> The dialog boxes coming up slow is even
> more of a mystery, because they come up instantaneously on my
> system and it isn't as powerful as yours.

Same as above... I noticed that I have a long wait only the first time I open the vmail window. After is instantaneous, probably because the code is already in the cache. I've a 10MB cache, maybe too small? I can try to increase the size and see if something changes. I'll let you know.

Thanks!



Reply To This Message
Re: OS/2, problems and solutions
Author: Roberto (---.ip.fastwebnet.it)
Date:   09-29-05 20:56

malcolm wrote:

> Hi Roberto,
>
> If you remember, did you get a direct connection or relay
> connection when you called your contact in Bangkok (it tells
> you that on the call panel, after the call is initiated)?

Hi Malcom,
It was a relay connection.

> Also, did it take a long time to establish the call? I just
> ask because it seems like a lot of The Switchboard functions
> are sluggish on eCS.

Not too much. I don't remember exactly, maybe 5 seconds before switching to relay connection, plus other 3 seconds...

I'll check better with next calls

If there is some settings or something I can try to debug this sluggish behavior, please let me know.

Again, thanks for your support!

Roberto



Reply To This Message
Re: OS/2, problems and solutions
Author: dale_erwin (---.106.111.137.speedy.net.pe)
Date:   09-30-05 00:24

About the slow connect... remember that Java under eCS is actually the Windows Java executing under Innotek's "odinization"

Dale

Reply To This Message
Re: OS/2, problems and solutions
Author: Massimo S. (---.pool80180.interbusiness.it)
Date:   09-30-05 13:06

Hi Gerry,

there's no reason of your complaints, since the Java applet
works also under eComStation with Mozilla or Firefox...

I'm sad that as always "OS/2 users" have to send absurd and
polemic complaints to everyone while most of times the real
problems are their own incompetence.

Bye.



Massimo

Reply To This Message
Re: Is this MS java app only ??
Author: marka (216.115.228.---)
Date:   09-30-05 21:12

I'm having the same result as jfgarcia. I've taken the steps discussed - input to mike and muting.

From the Java console:

Login successful.

line initialized

playback stopped

line initialized

recording stopped

mixer: Java Sound Audio Engine

mixer: OS/2 DART Wave In

mixer: OS/2 DART Wave In

mixer: OS/2 WINMM Mixer

Using default mixer

line initialized

line aquisition failed, crap sound card detected!

failed to initialize playback

ending call starting: null

recording stopped

recording stopped

player stopped
malcolm wrote:

> hi jfgarcia,
>
> Have you tried setting up your sound like Roberto did? See his
> post (it is just underneath yours).
>
> malcolm

Reply To This Message
Re: Is this MS java app only ??
Author: ite (---.telepac.pt)
Date:   10-03-05 09:34

malcolm wrote:

> Thanks for chipping in. Any help in terms of testing on eCS
> would be much appreciated, as well as any input you can get
> from the eCS gurus.
>

Hi, I am another eCS user, and my problem is that I can't Login. I waits for ever...
Could it be because I am behind a firewall that discards the Pings?
follows my java console...

Thanks in advanced,


switchboard constructed
Copyright (c) 2005 by Malcolm Patterson & Martha Kuras - All Rights Reserved
Unauthorized distribution and/or use of this applet is forbidden.
For questions about licensing this code, send mail to sales@theswitchboard.ca

www.theswitchboard.ca

switchboard applet initing

version 2.3

initializing gui

switchboard applet started

Couldn't find a gateway for UPnP

initializing gui

browser settings do not contain any proxy information

normal ssl connection

PING

PING

PING

PING

PING

PING

PING

PING

PING

PING

PING

PING



Reply To This Message
Re: Is this MS java app only ??
Author: ite (---.telepac.pt)
Date:   10-03-05 09:43

ite wrote:


>
> Hi, I am another eCS user, and my problem is that I can't
> Login. I waits for ever...
> Could it be because I am behind a firewall that discards the
> Pings?

After I posted this, Î was able to login, after this all tries of 31 PINGS in Java Console...

I will try with Golden Code Java and see what happens...

Reply To This Message
Re: OS/2, problems and solutions
Author: cliff185 
Date:   10-04-05 23:56

Roberto wrote:

> malcolm wrote:
>
> > Roberto:
> >
> > It's great to hear about your sucesses! You are the first
> user
> > I know who as used eCS to make calls with The Switchboard
> > (there may be others, but they haven't posted here). With
> > regards to the slow connection, I'm not sure why, your system
> > way more powerful than necessary, so I don't think it is
> > anything to do with your hardware. You aren't using a
> > virtualizer to run eCS (like VMware, or Virtual PC) are you?
>
> Hi Malcom,
> this is a full eCS box, no virtual machine here, that's why I
> asked about the long time to login. I'm not a java expert, but
> I use many java programs (also with java webstart) and I never
> had such a long time to login: I normally use a java FTP, java
> 'clone' messengers, java P2P... Loading and starting a java
> applet is very fast too. Waiting to login, I can see only few
> bytes going in and out, with long pauses without any bytes
> exchange.
> I access the Internet through another eCS box, configured as
> server with firewall, if this can matter, but, as I said, I
> never noticed a slowdown of performances.
>
> > Perhaps the networking code Java
> > on eCS uses is even more sluggish? Maybe others can share
> > their experiences.
>
> Hard to say. Java here works fine and the long wait was a
> surprise, such that the first time I tried to login I thought
> it was not working... Better to hear from other eCS users.
>
> > The dialog boxes coming up slow is even
> > more of a mystery, because they come up instantaneously on my
> > system and it isn't as powerful as yours.
>
> Same as above... I noticed that I have a long wait only the
> first time I open the vmail window. After is instantaneous,
> probably because the code is already in the cache. I've a 10MB
> cache, maybe too small? I can try to increase the size and see
> if something changes. I'll let you know.
>
> Thanks!

Just to weigh in here on the time to connect etc. I'm running eCS 1.1 with Java 1.4.2_05 and it takes a very long time to connect or bring up the VMail window. I don't see hardly any modem activity during this time. I connected to Roberto in Italy from the US the other evening and it went quite well. There was a definite time lag between speaking and his hearing what I said. I chalk that up to being on a 56k modem on a 100MB network through the InJoy firewall and it being a relay connection. I did find that my wife was also using the same modem connection at the same time to surf the web so that probably explains the couple of times the connection seemed to drop out. Generally I am quite pleased with the quality and if I can get a direct connection that may help also. FWIW I am using a SBLive card.

Reply To This Message
Re: OS/2, problems and solutions
Author: chili 
Date:   10-17-05 19:31

> Gerry, I'm sorry to hear that your saga is still going on, after all
> your efforts.
> Like you I'm using Mozilla (1.7.12), java 1.42_05, uniaud and LBMix,
> with an onboard AC97 card and I don't have any problem.
>
> You can try the sound with another applet, just to see if it's your
> problem or a 'switchboard' problem.
> The only java applets with sound that I remember now are in Yahoo!
> Games, like 'Bounceout'. Give it a try and let us know.

The short answer is that Java 142 is now talking to my sound card.
Thanks for the tip Roberto, to try java sound...had none. I had flash, wav and MP3, but no java sound in inet games.

As said, I had a crystal sound drivers....and had to make a registry entry
for Innotekruntime to install without trapping. That entry turned OFF sound for
innotek java 142 Apps. (just as designed). I changed the setting in that
registry entry to OFF, because I was now using the UNIAUD sound driver.

In addition, I uninstalled and reinstalled LBMix and now have an "input
selector" window. I have successfully listened to and sent vmail.
So far...so good.

In limited testing so far, I get Moz (maybe Java) lockups (nothing works)
and I have to close Moz. This seems to happen when I try to do things a second time like ring or test sound.

But my thanks to you, Roberto, Jeff Race and Dale Erwin for pitching in and keeping me going on this. Moderate success so far.

..... Gerry (chili)



Reply To This Message
Newer Topic  |  Older Topic
User Login
Username:
Password:
Remember my login:
  Need a Login?  Register Here
Forgot Your Password?
Enter your email address or username below and a new password will be emailed to you.
Email: