Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » DTP 1.0: Connection profiles don't get saved between Eclipse sessions?
DTP 1.0: Connection profiles don't get saved between Eclipse sessions? [message #25391] Thu, 11 January 2007 17:09 Go to next message
Eclipse UserFriend
Originally posted by: last-name-first-init.yahoo.com

Using DTP 1.0, I create a connection profile to a Derby 10.1 embedded
database. Everything works as expected. But after I shut down Eclipse
and then restart it, there are no connection profiles in the Data Source
Explorer view (under Databases). Is this a known bug or am I doing
something wrong?

--Sugato
Re: DTP 1.0: Connection profiles don't get saved between Eclipse sessions? [message #25428 is a reply to message #25391] Thu, 11 January 2007 18:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: last-name-first-init.yahoo.com

From the Eclipse error log (below), the problem appears to be
converting from byte to char when reading in the connection profile data.


!ENTRY org.eclipse.datatools.connectivity 4 10001 2007-01-11 12:02:21.267
!MESSAGE Error loading connection profile data.
!STACK 1
org.eclipse.core.runtime.CoreException: Error loading connection profile
data.
at
org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:479)
at
org.eclipse.datatools.connectivity.internal.InternalProfileM anager.loadProfiles(InternalProfileManager.java:566)
at
org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfiles(InternalProfileManager.java:84)

....

!SUBENTRY 1 org.eclipse.datatools.connectivity 4 -1 2007-01-11 12:02:21.307
!MESSAGE Error loading connection profile data.
!STACK 0
sun.io.MalformedInputException
at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:262)
at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecod er.java:314)
at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder. java:364)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:250)
at java.io.InputStreamReader.read(InputStreamReader.java:212)
at java.io.BufferedReader.fill(BufferedReader.java:157)
Re: DTP 1.0: Connection profiles don't get saved between Eclipse sessions? [message #25508 is a reply to message #25428] Fri, 12 January 2007 19:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: brianf.sybase.com

Hi Sugato...

Can you provide some details about your environment? We've seen this kind of
issue before, but thought we had it solved.

--Brian Fitzpatrick

"Sugato Bagchi" <last-name-first-init@yahoo.com> wrote in message
news:eo5v6s$i18$1@utils.eclipse.org...
> From the Eclipse error log (below), the problem appears to be converting
> from byte to char when reading in the connection profile data.
>
>
> !ENTRY org.eclipse.datatools.connectivity 4 10001 2007-01-11 12:02:21.267
> !MESSAGE Error loading connection profile data.
> !STACK 1
> org.eclipse.core.runtime.CoreException: Error loading connection profile
> data.
> at
> org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:479)
> at
> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.loadProfiles(InternalProfileManager.java:566)
> at
> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfiles(InternalProfileManager.java:84)
>
> ...
>
> !SUBENTRY 1 org.eclipse.datatools.connectivity 4 -1 2007-01-11
> 12:02:21.307
> !MESSAGE Error loading connection profile data.
> !STACK 0
> sun.io.MalformedInputException
> at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:262)
> at
> sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecod er.java:314)
> at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder. java:364)
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:250)
> at java.io.InputStreamReader.read(InputStreamReader.java:212)
> at java.io.BufferedReader.fill(BufferedReader.java:157)
Re: DTP 1.0: Connection profiles don't get saved between Eclipse sessions? [message #25694 is a reply to message #25508] Sat, 20 January 2007 08:47 Go to previous messageGo to next message
Riccardo is currently offline RiccardoFriend
Messages: 7
Registered: July 2009
Junior Member
Hi,
I had the same problem, in my Eclipse's shorcut the vm was
IBM\Java142\jre\bin\javaw.exe; then I changed it to: jdk1.5.0_01 and now
DTO works fine.
Regards
Riccardo Cattania

Brian Fitzpatrick ha scritto:
> Hi Sugato...
>
> Can you provide some details about your environment? We've seen this kind of
> issue before, but thought we had it solved.
>
> --Brian Fitzpatrick
>
> "Sugato Bagchi" <last-name-first-init@yahoo.com> wrote in message
> news:eo5v6s$i18$1@utils.eclipse.org...
>> From the Eclipse error log (below), the problem appears to be converting
>> from byte to char when reading in the connection profile data.
>>
>>
>> !ENTRY org.eclipse.datatools.connectivity 4 10001 2007-01-11 12:02:21.267
>> !MESSAGE Error loading connection profile data.
>> !STACK 1
>> org.eclipse.core.runtime.CoreException: Error loading connection profile
>> data.
>> at
>> org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:479)
>> at
>> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.loadProfiles(InternalProfileManager.java:566)
>> at
>> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfiles(InternalProfileManager.java:84)
>>
>> ...
>>
>> !SUBENTRY 1 org.eclipse.datatools.connectivity 4 -1 2007-01-11
>> 12:02:21.307
>> !MESSAGE Error loading connection profile data.
>> !STACK 0
>> sun.io.MalformedInputException
>> at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:262)
>> at
>> sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecod er.java:314)
>> at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder. java:364)
>> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:250)
>> at java.io.InputStreamReader.read(InputStreamReader.java:212)
>> at java.io.BufferedReader.fill(BufferedReader.java:157)
>
>
Re: DTP 1.0: Connection profiles don't get saved between Eclipse sessions? [message #25870 is a reply to message #25694] Mon, 22 January 2007 22:29 Go to previous message
Eclipse UserFriend
Originally posted by: john.graham.sybase.com

Riccardo wrote:

> Hi,
> I had the same problem, in my Eclipse's shorcut the vm was
> IBM/Java/142/jre/bin/javaw.exe; then I changed it to: jdk1.5.0_01 and now
> DTO works fine.
> Regards
> Riccardo Cattania

This would be consistent with other reports (all have involved the IBM
VM), but no one had tested it by switching as you did to see if that
solves the problem. Thank you for this clue, and we'll be looking into it.

-- John Graham
Eclipse Data Tools Platform PMC Chair
Re: DTP 1.0: Connection profiles don't get saved between Eclipse sessions? [message #583943 is a reply to message #25391] Thu, 11 January 2007 18:21 Go to previous message
Eclipse UserFriend
Originally posted by: last-name-first-init.yahoo.com

From the Eclipse error log (below), the problem appears to be
converting from byte to char when reading in the connection profile data.


!ENTRY org.eclipse.datatools.connectivity 4 10001 2007-01-11 12:02:21.267
!MESSAGE Error loading connection profile data.
!STACK 1
org.eclipse.core.runtime.CoreException: Error loading connection profile
data.
at
org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:479)
at
org.eclipse.datatools.connectivity.internal.InternalProfileM anager.loadProfiles(InternalProfileManager.java:566)
at
org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfiles(InternalProfileManager.java:84)

....

!SUBENTRY 1 org.eclipse.datatools.connectivity 4 -1 2007-01-11 12:02:21.307
!MESSAGE Error loading connection profile data.
!STACK 0
sun.io.MalformedInputException
at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:262)
at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecod er.java:314)
at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder. java:364)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:250)
at java.io.InputStreamReader.read(InputStreamReader.java:212)
at java.io.BufferedReader.fill(BufferedReader.java:157)
Re: DTP 1.0: Connection profiles don't get saved between Eclipse sessions? [message #583969 is a reply to message #25428] Fri, 12 January 2007 19:16 Go to previous message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 500
Registered: July 2009
Senior Member
Hi Sugato...

Can you provide some details about your environment? We've seen this kind of
issue before, but thought we had it solved.

--Brian Fitzpatrick

"Sugato Bagchi" <last-name-first-init@yahoo.com> wrote in message
news:eo5v6s$i18$1@utils.eclipse.org...
> From the Eclipse error log (below), the problem appears to be converting
> from byte to char when reading in the connection profile data.
>
>
> !ENTRY org.eclipse.datatools.connectivity 4 10001 2007-01-11 12:02:21.267
> !MESSAGE Error loading connection profile data.
> !STACK 1
> org.eclipse.core.runtime.CoreException: Error loading connection profile
> data.
> at
> org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:479)
> at
> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.loadProfiles(InternalProfileManager.java:566)
> at
> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfiles(InternalProfileManager.java:84)
>
> ...
>
> !SUBENTRY 1 org.eclipse.datatools.connectivity 4 -1 2007-01-11
> 12:02:21.307
> !MESSAGE Error loading connection profile data.
> !STACK 0
> sun.io.MalformedInputException
> at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:262)
> at
> sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecod er.java:314)
> at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder. java:364)
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:250)
> at java.io.InputStreamReader.read(InputStreamReader.java:212)
> at java.io.BufferedReader.fill(BufferedReader.java:157)
Re: DTP 1.0: Connection profiles don't get saved between Eclipse sessions? [message #584057 is a reply to message #25508] Sat, 20 January 2007 08:47 Go to previous message
Riccardo is currently offline RiccardoFriend
Messages: 7
Registered: July 2009
Junior Member
Hi,
I had the same problem, in my Eclipse's shorcut the vm was
IBM\Java142\jre\bin\javaw.exe; then I changed it to: jdk1.5.0_01 and now
DTO works fine.
Regards
Riccardo Cattania

Brian Fitzpatrick ha scritto:
> Hi Sugato...
>
> Can you provide some details about your environment? We've seen this kind of
> issue before, but thought we had it solved.
>
> --Brian Fitzpatrick
>
> "Sugato Bagchi" <last-name-first-init@yahoo.com> wrote in message
> news:eo5v6s$i18$1@utils.eclipse.org...
>> From the Eclipse error log (below), the problem appears to be converting
>> from byte to char when reading in the connection profile data.
>>
>>
>> !ENTRY org.eclipse.datatools.connectivity 4 10001 2007-01-11 12:02:21.267
>> !MESSAGE Error loading connection profile data.
>> !STACK 1
>> org.eclipse.core.runtime.CoreException: Error loading connection profile
>> data.
>> at
>> org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:479)
>> at
>> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.loadProfiles(InternalProfileManager.java:566)
>> at
>> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfiles(InternalProfileManager.java:84)
>>
>> ...
>>
>> !SUBENTRY 1 org.eclipse.datatools.connectivity 4 -1 2007-01-11
>> 12:02:21.307
>> !MESSAGE Error loading connection profile data.
>> !STACK 0
>> sun.io.MalformedInputException
>> at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:262)
>> at
>> sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecod er.java:314)
>> at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder. java:364)
>> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:250)
>> at java.io.InputStreamReader.read(InputStreamReader.java:212)
>> at java.io.BufferedReader.fill(BufferedReader.java:157)
>
>
Re: DTP 1.0: Connection profiles don't get saved between Eclipse sessions? [message #584136 is a reply to message #25694] Mon, 22 January 2007 22:29 Go to previous message
John Graham is currently offline John GrahamFriend
Messages: 183
Registered: July 2009
Senior Member
Riccardo wrote:

> Hi,
> I had the same problem, in my Eclipse's shorcut the vm was
> IBM/Java/142/jre/bin/javaw.exe; then I changed it to: jdk1.5.0_01 and now
> DTO works fine.
> Regards
> Riccardo Cattania

This would be consistent with other reports (all have involved the IBM
VM), but no one had tested it by switching as you did to see if that
solves the problem. Thank you for this clue, and we'll be looking into it.

-- John Graham
Eclipse Data Tools Platform PMC Chair
Previous Topic:Triggers created in different schema than table it references
Next Topic:db2 express C connection
Goto Forum:
  


Current Time: Mon Sep 23 17:47:04 GMT 2024

Powered by FUDForum. Page generated in 0.04747 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top