[jitsi-users] Au secours - lost parameters Win7


#1

Bonjour,

Yesterday, I opened a second time jitsi on my computer, without paying attention. I just have seen two icons on buttom bar, and closed both. After rebooting the computer, jitsi started automatically like usual, but asked for all accounts, who where empty, as if it was the first time jitsi starts.

But I see in the files here C:\Documents and Settings\XX\AppData\Roaming\Jitsi that it seems that physically the files with accounts and configuration aren't lost...

What can I do to find my contacts and account settings again ?

Thanks for help,
Martin


#2

Have you checked if your accounts are still in there? They should be in
the jitsi.properties file.

Cheers,
Emil

···

On 25.01.12 09:20, Martin Kempf wrote:

Bonjour,

Yesterday, I opened a second time jitsi on my computer, without paying
attention. I just have seen two icons on buttom bar, and closed both.
After rebooting the computer, jitsi started automatically like usual,
but asked for all accounts, who where empty, as if it was the first time
jitsi starts.

But I see in the files here C:\Documents and
Settings\XX\AppData\Roaming\Jitsi that it seems that physically the
files with accounts and configuration aren't lost...


#3

Le 25/01/2012 10:22, Emil Ivov a �crit :

Bonjour,

Yesterday, I opened a second time jitsi on my computer, without paying
attention. I just have seen two icons on buttom bar, and closed both.
After rebooting the computer, jitsi started automatically like usual,
but asked for all accounts, who where empty, as if it was the first time
jitsi starts.

But I see in the files here C:\Documents and
Settings\XX\AppData\Roaming\Jitsi that it seems that physically the
files with accounts and configuration aren't lost...

Have you checked if your accounts are still in there? They should be in
the jitsi.properties file.

Cheers,
Emil

I didn't find jitsi.properties, only sip-communicator.properties, and this file seams empty of personal information (only sound definitions, locale US and so on, no account definitions)
Oh, this is not funny, only by accidentally opening a second instance of jitsi I shoot (reinitiate) all account settings to zero?
Is there any copy saved in any subfoulder of these settings?

Martin

···

On 25.01.12 09:20, Martin Kempf wrote:


#4

Bonjour,

Yesterday, I opened a second time jitsi on my computer, without paying
attention. I just have seen two icons on buttom bar, and closed both.

Are you sure the two icons corresponded to two separate instances of the
program? Could they have been two different windows from the same instance?

After rebooting the computer, jitsi started automatically like usual,
but asked for all accounts, who where empty, as if it was the first time
jitsi starts.

But I see in the files here C:\Documents and
Settings\XX\AppData\Roaming\Jitsi that it seems that physically the
files with accounts and configuration aren't lost...

Have you checked if your accounts are still in there? They should be in
the jitsi.properties file.

Cheers,
Emil

I didn't find jitsi.properties, only sip-communicator.properties,

Yup. Same thing. The name depends on when you first installed the
application.

and
this file seams empty of personal information (only sound definitions,
locale US and so on, no account definitions)
Oh, this is not funny, only by accidentally opening a second instance of
jitsi I shoot (reinitiate) all account settings to zero?
Is there any copy saved in any subfoulder of these settings?

Well, you can't really launch it twice. Jitsi would detect there's a
first instance and just bring it to front. If you lost your account data
then something must have gone wrong.

If this happens again, we'd love to have a look at the logs, but you'd
have to generate them right after you detect the issue.

Cheers,
Emil

···

On 25.01.12 11:05, Martin Kempf wrote:

Le 25/01/2012 10:22, Emil Ivov a écrit :

On 25.01.12 09:20, Martin Kempf wrote:


#5

Hey Martin,

(moving back to dev)

So basically you are saying that trying to launch Jitsi, once its
already running, actually does start it a second time and you see two
contact list windows? Do I understand correctly?

Is there anything specific with your file system?

Emil

···

On 26.01.12 16:01, Martin Kempf wrote:

Le 25/01/2012 15:26, Emil Ivov a écrit :

On 25.01.12 11:05, Martin Kempf wrote:

Le 25/01/2012 10:22, Emil Ivov a écrit :

On 25.01.12 09:20, Martin Kempf wrote:

Bonjour,

Yesterday, I opened a second time jitsi on my computer, without paying
attention. I just have seen two icons on buttom bar, and closed both.

Are you sure the two icons corresponded to two separate instances of the
program? Could they have been two different windows from the same instance?

After rebooting the computer, jitsi started automatically like usual,
but asked for all accounts, who where empty, as if it was the first time
jitsi starts.

But I see in the files here C:\Documents and
Settings\XX\AppData\Roaming\Jitsi that it seems that physically the
files with accounts and configuration aren't lost...

Have you checked if your accounts are still in there? They should be in
the jitsi.properties file.

Cheers,
Emil

I didn't find jitsi.properties, only sip-communicator.properties,

Yup. Same thing. The name depends on when you first installed the
application.

and
this file seams empty of personal information (only sound definitions,
locale US and so on, no account definitions)
Oh, this is not funny, only by accidentally opening a second instance of
jitsi I shoot (reinitiate) all account settings to zero?
Is there any copy saved in any subfoulder of these settings?

Well, you can't really launch it twice. Jitsi would detect there's a
first instance and just bring it to front. If you lost your account data
then something must have gone wrong.

If this happens again, we'd love to have a look at the logs, but you'd
have to generate them right after you detect the issue.

Cheers,
Emil

Hello Emil,

Here the three log files, just when the two jitsi opened at the same
time, and the one after who was "empty"...
Please do not publish personal data inside of the log files...

Martin

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
Jitsi
emcho@jitsi.org PHONE: +33.1.77.62.43.30
http://jitsi.org FAX: +33.1.77.62.47.31


#6

Hello Emil,

The only specific ist the app folder, its not the pre-proposed one.
Than, I start jitsi on startup. But not seeing it 'come', I startet it manually once again, with the icon on bureau.
After that, I had two icons of jitsi in the status bar.
I closed both with rightclick, close, and forgot about it.

Next day, at computer start, jitsi startet automatically, but had "lost" the account parameters. Asked in blank formular for all account settings, like the first time at startup after installation.
I "think" that jitsi lost the parameters when it had both "instances" (I don't know in fact what is an instance) opened.

Since, I didn't reopen jitsi, fearing loosing even more infos (history etc). I saved the appdata folder of Jitsi to be shure, but don't know how to get back to my account settings. But you said that there are lost now? Overwritten from the second jitsi opened after the first one?
When I enter them once again, is jitsi taking over the old history files, or is jitsi overwrite them once again?

Voil� the questions...

Martin

Le 26/01/2012 16:23, Emil Ivov a �crit :

···

Hey Martin,

(moving back to dev)

So basically you are saying that trying to launch Jitsi, once its
already running, actually does start it a second time and you see two
contact list windows? Do I understand correctly?

Is there anything specific with your file system?

Emil

On 26.01.12 16:01, Martin Kempf wrote:

Le 25/01/2012 15:26, Emil Ivov a �crit :

On 25.01.12 11:05, Martin Kempf wrote:

Le 25/01/2012 10:22, Emil Ivov a �crit :

On 25.01.12 09:20, Martin Kempf wrote:

Bonjour,

Yesterday, I opened a second time jitsi on my computer, without paying
attention. I just have seen two icons on buttom bar, and closed both.

Are you sure the two icons corresponded to two separate instances of the
program? Could they have been two different windows from the same instance?

After rebooting the computer, jitsi started automatically like usual,
but asked for all accounts, who where empty, as if it was the first time
jitsi starts.

But I see in the files here C:\Documents and
Settings\XX\AppData\Roaming\Jitsi that it seems that physically the
files with accounts and configuration aren't lost...

Have you checked if your accounts are still in there? They should be in
the jitsi.properties file.

Cheers,
Emil

I didn't find jitsi.properties, only sip-communicator.properties,

Yup. Same thing. The name depends on when you first installed the
application.

and
this file seams empty of personal information (only sound definitions,
locale US and so on, no account definitions)
Oh, this is not funny, only by accidentally opening a second instance of
jitsi I shoot (reinitiate) all account settings to zero?
Is there any copy saved in any subfoulder of these settings?

Well, you can't really launch it twice. Jitsi would detect there's a
first instance and just bring it to front. If you lost your account data
then something must have gone wrong.

If this happens again, we'd love to have a look at the logs, but you'd
have to generate them right after you detect the issue.

Cheers,
Emil

Hello Emil,

Here the three log files, just when the two jitsi opened at the same
time, and the one after who was "empty"...
Please do not publish personal data inside of the log files...

Martin


#7

Hi Martin,

is it possible when you have started the fist instance to have denied
the access to the network for Jitsi (from the dialog of windows
application firewall)? If this what has happend, most certainly it is
the reason why you can start two instances of Jitsi. We rely on local
network to detect multiple instances, and when its denied there is no
network at all we can use.
You can check in windows firewall and see if Jitsi is a denied
application and remove it from there and then you can try and see that
you can run only one instance.
Don't worry for the history, its reused. You can stop Jitsi and paste
the old history and when you again start it, will reuse it.
Hope this helps!

Regards
damencho

···

On Thu, Jan 26, 2012 at 5:35 PM, Martin Kempf <baubiologie@gmail.com> wrote:

Hello Emil,

The only specific ist the app folder, its not the pre-proposed one.
Than, I start jitsi on startup. But not seeing it 'come', I startet it
manually once again, with the icon on bureau.
After that, I had two icons of jitsi in the status bar.
I closed both with rightclick, close, and forgot about it.

Next day, at computer start, jitsi startet automatically, but had "lost" the
account parameters. Asked in blank formular for all account settings, like
the first time at startup after installation.
I "think" that jitsi lost the parameters when it had both "instances" (I
don't know in fact what is an instance) opened.

Since, I didn't reopen jitsi, fearing loosing even more infos (history etc).
I saved the appdata folder of Jitsi to be shure, but don't know how to get
back to my account settings. But you said that there are lost now?
Overwritten from the second jitsi opened after the first one?
When I enter them once again, is jitsi taking over the old history files, or
is jitsi overwrite them once again?

Voilà the questions...

Martin

Le 26/01/2012 16:23, Emil Ivov a écrit :

Hey Martin,

(moving back to dev)

So basically you are saying that trying to launch Jitsi, once its
already running, actually does start it a second time and you see two
contact list windows? Do I understand correctly?

Is there anything specific with your file system?

Emil

On 26.01.12 16:01, Martin Kempf wrote:

Le 25/01/2012 15:26, Emil Ivov a écrit :

On 25.01.12 11:05, Martin Kempf wrote:

Le 25/01/2012 10:22, Emil Ivov a écrit :

On 25.01.12 09:20, Martin Kempf wrote:

Bonjour,

Yesterday, I opened a second time jitsi on my computer, without
paying
attention. I just have seen two icons on buttom bar, and closed both.

Are you sure the two icons corresponded to two separate instances of the
program? Could they have been two different windows from the same
instance?

After rebooting the computer, jitsi started automatically like usual,
but asked for all accounts, who where empty, as if it was the first
time
jitsi starts.

But I see in the files here C:\Documents and
Settings\XX\AppData\Roaming\Jitsi that it seems that physically the
files with accounts and configuration aren't lost...

Have you checked if your accounts are still in there? They should be
in
the jitsi.properties file.

Cheers,
Emil

I didn't find jitsi.properties, only sip-communicator.properties,

Yup. Same thing. The name depends on when you first installed the
application.

and
this file seams empty of personal information (only sound definitions,
locale US and so on, no account definitions)
Oh, this is not funny, only by accidentally opening a second instance
of
jitsi I shoot (reinitiate) all account settings to zero?
Is there any copy saved in any subfoulder of these settings?

Well, you can't really launch it twice. Jitsi would detect there's a
first instance and just bring it to front. If you lost your account data
then something must have gone wrong.

If this happens again, we'd love to have a look at the logs, but you'd
have to generate them right after you detect the issue.

Cheers,
Emil

Hello Emil,

Here the three log files, just when the two jitsi opened at the same
time, and the one after who was "empty"...
Please do not publish personal data inside of the log files...

Martin


#8

Hey Martin

Just to tell you that you're not completely alone: I've encountered your situation a few times before (although while developing on Jitsi, never with my "production" installation). I couldn't spot the exact issue yet and it will probably very hard to catch that as it seems timing related. I'm not so sure your second launch was the actual culprit, but rather something that went wrong with the first instance (launched through autostart).

The Windows firewall is most definitely also not the issue (Damian, I explicitly denied the Jitsi's run.exe and it's JRE network access and a second instance is still detected). Although I can't speed for non-Microsoft Firewalls...

The place to look for us (the devs) might be the transaction behavior when we write the settings to disk...

Regards,
Ingo

···

-----Original Message-----
From: Martin Kempf [mailto:baubiologie@gmail.com]
Sent: Donnerstag, 26. Januar 2012 16:36
To: Emil Ivov; dev@jitsi.java.net
Subject: [jitsi-dev] Re: [jitsi-users] Au secours - lost parameters Win7
Hello Emil,

The only specific ist the app folder, its not the pre-proposed one.
Than, I start jitsi on startup. But not seeing it 'come', I startet it
manually once again, with the icon on bureau.
After that, I had two icons of jitsi in the status bar.
I closed both with rightclick, close, and forgot about it.

Next day, at computer start, jitsi startet automatically, but had "lost"
the account parameters. Asked in blank formular for all account
settings, like the first time at startup after installation.
I "think" that jitsi lost the parameters when it had both "instances" (I
don't know in fact what is an instance) opened.

Since, I didn't reopen jitsi, fearing loosing even more infos (history
etc). I saved the appdata folder of Jitsi to be shure, but don't know
how to get back to my account settings. But you said that there are lost
now? Overwritten from the second jitsi opened after the first one?
When I enter them once again, is jitsi taking over the old history
files, or is jitsi overwrite them once again?

Voilà the questions...

Martin

Le 26/01/2012 16:23, Emil Ivov a écrit :

Hey Martin,

(moving back to dev)

So basically you are saying that trying to launch Jitsi, once its
already running, actually does start it a second time and you see two
contact list windows? Do I understand correctly?

Is there anything specific with your file system?

Emil

On 26.01.12 16:01, Martin Kempf wrote:

Le 25/01/2012 15:26, Emil Ivov a écrit :

On 25.01.12 11:05, Martin Kempf wrote:

Le 25/01/2012 10:22, Emil Ivov a écrit :

On 25.01.12 09:20, Martin Kempf wrote:

Bonjour,

Yesterday, I opened a second time jitsi on my computer, without paying
attention. I just have seen two icons on buttom bar, and closed both.

Are you sure the two icons corresponded to two separate instances of
the program? Could they have been two different windows from the same
instance?

After rebooting the computer, jitsi started automatically like
usual, but asked for all accounts, who where empty, as if it was
the first time jitsi starts.

But I see in the files here C:\Documents and
Settings\XX\AppData\Roaming\Jitsi that it seems that physically the
files with accounts and configuration aren't lost...

Have you checked if your accounts are still in there? They should be in
the jitsi.properties file.

Cheers,
Emil

I didn't find jitsi.properties, only sip-communicator.properties,

Yup. Same thing. The name depends on when you first installed the
application.

and
this file seams empty of personal information (only sound definitions,
locale US and so on, no account definitions)
Oh, this is not funny, only by accidentally opening a second instance of
jitsi I shoot (reinitiate) all account settings to zero?
Is there any copy saved in any subfoulder of these settings?

Well, you can't really launch it twice. Jitsi would detect there's a
first instance and just bring it to front. If you lost your account data
then something must have gone wrong.

If this happens again, we'd love to have a look at the logs, but you'd
have to generate them right after you detect the issue.

Cheers,
Emil

Hello Emil,

Here the three log files, just when the two jitsi opened at the same
time, and the one after who was "empty"...
Please do not publish personal data inside of the log files...

Martin


#9

Do you have an anti-virus solution that would run newly installed softwares in a closed environment (sandboxing)?
That would probably cause such a problem.

Bell Canada
Francois Fortin, Architecte de Systèmes | Solutions Architect
930 D'Aiguillon 520 Québec (Québec) Canada G1R 5M9
Tél.: (418) 691-0119
Fax: (418) 691-0229

-----Message d'origine-----

···

De : Martin Kempf [mailto:baubiologie@gmail.com]
Envoyé : 26 janvier 2012 11:30
À : Damian Minkov
Cc : dev@jitsi.java.net
Objet : [jitsi-dev] Re: [jitsi-users] Au secours - lost parameters Win7

Hello Damian,

Thank you for the hints.
Firewall (zone alarm) is open for jitsi (local and internet), windows firewall disabled.
Perhaps I could start two instances because I started the second manually while the first was loading automatically?

All I know is that I had two icons in status bar, two jitsi opened, and that I lost my properties after closing both and reopening jitsi next day.
I think I will configure my backup programm to backup that properties file all the time. Is there any other central file to save to be shure to find a working jitsi again after restarting the computer?

Martin

Le 26/01/2012 16:52, Damian Minkov a écrit :

Hi Martin,

is it possible when you have started the fist instance to have denied
the access to the network for Jitsi (from the dialog of windows
application firewall)? If this what has happend, most certainly it is
the reason why you can start two instances of Jitsi. We rely on local
network to detect multiple instances, and when its denied there is no
network at all we can use.
You can check in windows firewall and see if Jitsi is a denied
application and remove it from there and then you can try and see that
you can run only one instance.
Don't worry for the history, its reused. You can stop Jitsi and paste
the old history and when you again start it, will reuse it.
Hope this helps!

Regards
damencho

On Thu, Jan 26, 2012 at 5:35 PM, Martin Kempf<baubiologie@gmail.com> wrote:

Hello Emil,

The only specific ist the app folder, its not the pre-proposed one.
Than, I start jitsi on startup. But not seeing it 'come', I startet
it manually once again, with the icon on bureau.
After that, I had two icons of jitsi in the status bar.
I closed both with rightclick, close, and forgot about it.

Next day, at computer start, jitsi startet automatically, but had
"lost" the account parameters. Asked in blank formular for all
account settings, like the first time at startup after installation.
I "think" that jitsi lost the parameters when it had both "instances"
(I don't know in fact what is an instance) opened.

Since, I didn't reopen jitsi, fearing loosing even more infos (history etc).
I saved the appdata folder of Jitsi to be shure, but don't know how
to get back to my account settings. But you said that there are lost now?
Overwritten from the second jitsi opened after the first one?
When I enter them once again, is jitsi taking over the old history
files, or is jitsi overwrite them once again?

Voilà the questions...

Martin

Le 26/01/2012 16:23, Emil Ivov a écrit :

Hey Martin,

(moving back to dev)

So basically you are saying that trying to launch Jitsi, once its
already running, actually does start it a second time and you see
two contact list windows? Do I understand correctly?

Is there anything specific with your file system?

Emil

On 26.01.12 16:01, Martin Kempf wrote:

Le 25/01/2012 15:26, Emil Ivov a écrit :

On 25.01.12 11:05, Martin Kempf wrote:

Le 25/01/2012 10:22, Emil Ivov a écrit :

On 25.01.12 09:20, Martin Kempf wrote:

Bonjour,

Yesterday, I opened a second time jitsi on my computer, without
paying attention. I just have seen two icons on buttom bar, and
closed both.

Are you sure the two icons corresponded to two separate instances
of the program? Could they have been two different windows from
the same instance?

After rebooting the computer, jitsi started automatically like
usual, but asked for all accounts, who where empty, as if it
was the first time jitsi starts.

But I see in the files here C:\Documents and
Settings\XX\AppData\Roaming\Jitsi that it seems that physically
the files with accounts and configuration aren't lost...

Have you checked if your accounts are still in there? They
should be in the jitsi.properties file.

Cheers,
Emil

I didn't find jitsi.properties, only sip-communicator.properties,

Yup. Same thing. The name depends on when you first installed the
application.

and
this file seams empty of personal information (only sound
definitions, locale US and so on, no account definitions) Oh,
this is not funny, only by accidentally opening a second instance
of jitsi I shoot (reinitiate) all account settings to zero?
Is there any copy saved in any subfoulder of these settings?

Well, you can't really launch it twice. Jitsi would detect there's
a first instance and just bring it to front. If you lost your
account data then something must have gone wrong.

If this happens again, we'd love to have a look at the logs, but
you'd have to generate them right after you detect the issue.

Cheers,
Emil

Hello Emil,

Here the three log files, just when the two jitsi opened at the
same time, and the one after who was "empty"...
Please do not publish personal data inside of the log files...

Martin


#10

Hello Damian,

Thank you for the hints.
Firewall (zone alarm) is open for jitsi (local and internet), windows firewall disabled.
Perhaps I could start two instances because I started the second manually while the first was loading automatically?

All I know is that I had two icons in status bar, two jitsi opened, and that I lost my properties after closing both and reopening jitsi next day.
I think I will configure my backup programm to backup that properties file all the time. Is there any other central file to save to be shure to find a working jitsi again after restarting the computer?

Martin

Le 26/01/2012 16:52, Damian Minkov a �crit :

···

Hi Martin,

is it possible when you have started the fist instance to have denied
the access to the network for Jitsi (from the dialog of windows
application firewall)? If this what has happend, most certainly it is
the reason why you can start two instances of Jitsi. We rely on local
network to detect multiple instances, and when its denied there is no
network at all we can use.
You can check in windows firewall and see if Jitsi is a denied
application and remove it from there and then you can try and see that
you can run only one instance.
Don't worry for the history, its reused. You can stop Jitsi and paste
the old history and when you again start it, will reuse it.
Hope this helps!

Regards
damencho

On Thu, Jan 26, 2012 at 5:35 PM, Martin Kempf<baubiologie@gmail.com> wrote:

Hello Emil,

The only specific ist the app folder, its not the pre-proposed one.
Than, I start jitsi on startup. But not seeing it 'come', I startet it
manually once again, with the icon on bureau.
After that, I had two icons of jitsi in the status bar.
I closed both with rightclick, close, and forgot about it.

Next day, at computer start, jitsi startet automatically, but had "lost" the
account parameters. Asked in blank formular for all account settings, like
the first time at startup after installation.
I "think" that jitsi lost the parameters when it had both "instances" (I
don't know in fact what is an instance) opened.

Since, I didn't reopen jitsi, fearing loosing even more infos (history etc).
I saved the appdata folder of Jitsi to be shure, but don't know how to get
back to my account settings. But you said that there are lost now?
Overwritten from the second jitsi opened after the first one?
When I enter them once again, is jitsi taking over the old history files, or
is jitsi overwrite them once again?

Voil� the questions...

Martin

Le 26/01/2012 16:23, Emil Ivov a �crit :

Hey Martin,

(moving back to dev)

So basically you are saying that trying to launch Jitsi, once its
already running, actually does start it a second time and you see two
contact list windows? Do I understand correctly?

Is there anything specific with your file system?

Emil

On 26.01.12 16:01, Martin Kempf wrote:

Le 25/01/2012 15:26, Emil Ivov a �crit :

On 25.01.12 11:05, Martin Kempf wrote:

Le 25/01/2012 10:22, Emil Ivov a �crit :

On 25.01.12 09:20, Martin Kempf wrote:

Bonjour,

Yesterday, I opened a second time jitsi on my computer, without
paying
attention. I just have seen two icons on buttom bar, and closed both.

Are you sure the two icons corresponded to two separate instances of the
program? Could they have been two different windows from the same
instance?

After rebooting the computer, jitsi started automatically like usual,
but asked for all accounts, who where empty, as if it was the first
time
jitsi starts.

But I see in the files here C:\Documents and
Settings\XX\AppData\Roaming\Jitsi that it seems that physically the
files with accounts and configuration aren't lost...

Have you checked if your accounts are still in there? They should be
in
the jitsi.properties file.

Cheers,
Emil

I didn't find jitsi.properties, only sip-communicator.properties,

Yup. Same thing. The name depends on when you first installed the
application.

and
this file seams empty of personal information (only sound definitions,
locale US and so on, no account definitions)
Oh, this is not funny, only by accidentally opening a second instance
of
jitsi I shoot (reinitiate) all account settings to zero?
Is there any copy saved in any subfoulder of these settings?

Well, you can't really launch it twice. Jitsi would detect there's a
first instance and just bring it to front. If you lost your account data
then something must have gone wrong.

If this happens again, we'd love to have a look at the logs, but you'd
have to generate them right after you detect the issue.

Cheers,
Emil

Hello Emil,

Here the three log files, just when the two jitsi opened at the same
time, and the one after who was "empty"...
Please do not publish personal data inside of the log files...

Martin


#11

Hi Ingo,

what made me think its the firewall, and there was the problem
detecting that an instance is already running is that I saw an
exception in the logs which Martin was so kind to send privately. Here
is the stack trace for your information. This was found in the very
beginning in the second log named sip-communicator1.log.0
(which I believe is created by the first instance of Jitsi):

22:15:03.901 INFO: util.launchutils.SipCommunicatorLock.run().637 An
IOException is thrown while reading sock
java.net.SocketException: socket closed
  at java.net.SocketInputStream.socketRead0(Native Method)
  at java.net.SocketInputStream.read(Unknown Source)
  at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
  at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
  at sun.nio.cs.StreamDecoder.read(Unknown Source)
  at java.io.InputStreamReader.read(Unknown Source)
  at java.io.BufferedReader.fill(Unknown Source)
  at java.io.BufferedReader.readLine(Unknown Source)
  at java.io.BufferedReader.readLine(Unknown Source)
  at net.java.sip.communicator.util.launchutils.SipCommunicatorLock$LockClient.run(SipCommunicatorLock.java:624)

And if the first instance have closed the socket for the lock, so the
second one won't find it. Maybe the problem is not the firewall, it
maybe some antivirus or something, or it can be that Jitsi is auto
started too early, I don't know just guessing.

Regards
Damian

···

On Thu, Jan 26, 2012 at 8:31 PM, Bauersachs Ingo <ingo.bauersachs@fhnw.ch> wrote:

The place to look for us (the devs) might be the transaction behavior when we write the settings to disk...


#12

Hey

Well okay, it might the case that we launch a second instance due to some
socket issues caused by whatever.
But even then: If the write operation to the settings is really atomic, then
one instance might overwrite the configuration of the other (which actually
read the same file and would therefore be mostly the same), but it wouldn't
create a completely new file.

These were just some thoughts, I really have no clue what the real issue is.
I try to pay more attention when I encounter it the next time :slight_smile:
I didn't care much up until now because it occurred very rarely and only
when I launched Jitsi from within Eclipse.

Regards,
Ingo

From: damencho@damencho.com [mailto:damencho@damencho.com] On Behalf Of
Damian Minkov
Sent: Donnerstag, 26. Januar 2012 19:42
To: dev@jitsi.java.net
Subject: [jitsi-dev] Re: [jitsi-users] Au secours - lost parameters Win7
Hi Ingo,

what made me think its the firewall, and there was the problem
detecting that an instance is already running is that I saw an
exception in the logs which Martin was so kind to send privately. Here
is the stack trace for your information. This was found in the very
beginning in the second log named sip-communicator1.log.0
(which I believe is created by the first instance of Jitsi):
22:15:03.901 INFO: util.launchutils.SipCommunicatorLock.run().637 An
IOException is thrown while reading sock java.net.SocketException:
socket closed at java.net.SocketInputStream.socketRead0(Native

Method)

  at java.net.SocketInputStream.read(Unknown Source) at
sun.nio.cs.StreamDecoder.readBytes(Unknown Source) at
sun.nio.cs.StreamDecoder.implRead(Unknown Source) at
sun.nio.cs.StreamDecoder.read(Unknown Source) at
java.io.InputStreamReader.read(Unknown Source) at
java.io.BufferedReader.fill(Unknown Source) at
java.io.BufferedReader.readLine(Unknown Source) at
java.io.BufferedReader.readLine(Unknown Source) at
net.java.sip.communicator.util.launchutils.SipCommunicatorLock$LockClient
.run (SipCommunicatorLock.java:624)

And if the first instance have closed the socket for the lock, so the
second one won't find it. Maybe the problem is not the firewall, it
maybe some antivirus or something, or it can be that Jitsi is auto
started too early, I don't know just guessing.

Regards
Damian

The place to look for us (the devs) might be the transaction behavior

when

···

-----Original Message-----
On Thu, Jan 26, 2012 at 8:31 PM, Bauersachs Ingo > <ingo.bauersachs@fhnw.ch> wrote:
we write the settings to disk...