Problem exporting product uDig 1.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem exporting product uDig 1.1

ERNANDES, Fabrice
Hi,
 
I set up developpement environnement for Udig 1.1 by following SDKQuickstart.pdf instructions. So I have eclipse europa, a Jre1.6 and udig-1.1.1 as target for PDE developpement.
 
I can launch udig product from eclipse within any trouble.
I can export udig product since I have removed the build.properties file in net.refractions.udig.libs_1.1.1.
 
But my application fails to start, here is a portion of the log:
 
ENTRY org.eclipse.osgi 4 0 2010-09-06 10:44:10.332
!MESSAGE An error occurred while automatically activating bundle net.refractions.udig.libs (16).
!STACK 0
org.osgi.framework.BundleException: Exception in net.refractions.udig.libs.internal.Activator.start() of bundle net.refractions.udig.libs.
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1018)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
         at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
         at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
         at java.lang.ClassLoader.loadClass(Unknown Source)
 
(…)
 
 
Thanks a lot !
 
Fabrice ERNANDES
Software programmer (France) 
 

 


_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem exporting product uDig 1.1

Jody Garnett-2
<base href="x-msg://13/">We don't have any active developers on uDig 1.1.x at this time. There should be some eclipse tracing you can turn on using a ".options" file; check the eclipse help for details.

Jody

On 06/09/2010, at 4:27 PM, ERNANDES, Fabrice wrote:

Hi,
 
I set up developpement environnement for Udig 1.1 by following SDKQuickstart.pdf instructions. So I have eclipse europa, a Jre1.6 and udig-1.1.1 as target for PDE developpement.
 
I can launch udig product from eclipse within any trouble.
I can export udig product since I have removed the build.properties file in net.refractions.udig.libs_1.1.1.
 
But my application fails to start, here is a portion of the log:
 
ENTRY org.eclipse.osgi 4 0 2010-09-06 10:44:10.332
!MESSAGE An error occurred while automatically activating bundle net.refractions.udig.libs (16).
!STACK 0
org.osgi.framework.BundleException: Exception in net.refractions.udig.libs.internal.Activator.start() of bundle net.refractions.udig.libs.
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1018)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
         at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
         at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
         at java.lang.ClassLoader.loadClass(Unknown Source)
 
(…)
 
 
Thanks a lot !
 
Fabrice ERNANDES
Software programmer (France) 
 
 
_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users


_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem exporting product uDig 1.1

ERNANDES, Fabrice
<base href="x-msg://13/">

 

Thanks,

 

I might be wrong but tracing information for plugin (.options) are printed to the console, when product is launch from eclipse.

 

The only tracing information I have from my exported udig application is a log file located in its workspace.

 

Fabrice

 


De : Jody Garnett [mailto:[hidden email]]
Envoyé : mardi 7 septembre 2010 14:08
À : ERNANDES, Fabrice
Cc : [hidden email]
Objet : Re: [udig-users] Problem exporting product uDig 1.1

 

We don't have any active developers on uDig 1.1.x at this time. There should be some eclipse tracing you can turn on using a ".options" file; check the eclipse help for details.

 

Jody

 

On 06/09/2010, at 4:27 PM, ERNANDES, Fabrice wrote:



Hi,
 
I set up developpement environnement for Udig 1.1 by following SDKQuickstart.pdf instructions. So I have eclipse europa, a Jre1.6 and udig-1.1.1 as target for PDE developpement.
 
I can launch udig product from eclipse within any trouble.
I can export udig product since I have removed the build.properties file in net.refractions.udig.libs_1.1.1.
 
But my application fails to start, here is a portion of the log:
 
ENTRY org.eclipse.osgi 4 0 2010-09-06 10:44:10.332
!MESSAGE An error occurred while automatically activating bundle net.refractions.udig.libs (16).
!STACK 0
org.osgi.framework.BundleException: Exception in net.refractions.udig.libs.internal.Activator.start() of bundle net.refractions.udig.libs.
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1018)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
         at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
         at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
         at java.lang.ClassLoader.loadClass(Unknown Source)
 
(…)
 
 
Thanks a lot !
 
Fabrice ERNANDES
Software programmer (France) 
 

 

_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users

 


_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem exporting product uDig 1.1

Jody Garnett-2
<base href="x-msg://13/">You are correct; the .options files controls the tracing information that is written to the log file.

You can also (when running your application) use -consoleLog on the command line.

Jody

On 07/09/2010, at 3:32 PM, ERNANDES, Fabrice wrote:

 
Thanks,
 
I might be wrong but tracing information for plugin (.options) are printed to the console, when product is launch from eclipse.
 
The only tracing information I have from my exported udig application is a log file located in its workspace.
 
Fabrice
 

De : Jody Garnett [mailto:[hidden email]] 
Envoyé : mardi 7 septembre 2010 14:08
À : ERNANDES, Fabrice
Cc : [hidden email]
Objet : Re: [udig-users] Problem exporting product uDig 1.1
 
We don't have any active developers on uDig 1.1.x at this time. There should be some eclipse tracing you can turn on using a ".options" file; check the eclipse help for details.
 
Jody
 
On 06/09/2010, at 4:27 PM, ERNANDES, Fabrice wrote:


Hi,
 
I set up developpement environnement for Udig 1.1 by following SDKQuickstart.pdf instructions. So I have eclipse europa, a Jre1.6 and udig-1.1.1 as target for PDE developpement.
 
I can launch udig product from eclipse within any trouble.
I can export udig product since I have removed the build.properties file in net.refractions.udig.libs_1.1.1.
 
But my application fails to start, here is a portion of the log:
 
ENTRY org.eclipse.osgi 4 0 2010-09-06 10:44:10.332
!MESSAGE An error occurred while automatically activating bundle net.refractions.udig.libs (16).
!STACK 0
org.osgi.framework.BundleException: Exception in net.refractions.udig.libs.internal.Activator.start() of bundle net.refractions.udig.libs.
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1018)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
         at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
         at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
         at java.lang.ClassLoader.loadClass(Unknown Source)
 
(…)
 
 
Thanks a lot !
 
Fabrice ERNANDES
Software programmer (France) 
 
 
_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users
 


_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem exporting product uDig 1.1

ERNANDES, Fabrice
<base href="x-msg://13/">

Thanks Jody for your useful link.

 

Is eclipse delta pack required to run an exported application? uDig 1.1 quickstart documentation doesn’t mention to install eclipse delta pack in the target.

 

Is there anybody who has managed to run a simple exported eclipse application based on udig 1.1?

 

 


De : Jody Garnett [mailto:[hidden email]]
Envoyé : mercredi 8 septembre 2010 16:34
À : ERNANDES, Fabrice
Cc : User-friendly Desktop Internet GIS
Objet : Re: [udig-users] Problem exporting product uDig 1.1

 

Going to take this discussion to udig-devel in case others can help out.

 

Why not review the dependencies for net.refractions.udig.libs and see which ones do not load.

 

 

Jody

 

On 08/09/2010, at 3:28 PM, ERNANDES, Fabrice wrote:



By using –consoleLog, I get same tracing information that is provided by the log file located in the workspace of my exported application.

 

I already have tracing information, but I don not understand why my exported application (which work from eclipse) do not work.

 

It seems to be a problem with “net.refractions.udig.libs” plugin…

 

Fabrice

 


De : Jody Garnett [mailto:[hidden email]] 
Envoyé : mercredi 8 septembre 2010 13:11
À : ERNANDES, Fabrice
Cc : [hidden email]
Objet : Re: [udig-users] Problem exporting product uDig 1.1

 

You are correct; the .options files controls the tracing information that is written to the log file.

 

You can also (when running your application) use -consoleLog on the command line.

 

Jody

 

On 07/09/2010, at 3:32 PM, ERNANDES, Fabrice wrote:




 

Thanks,

 

I might be wrong but tracing information for plugin (.options) are printed to the console, when product is launch from eclipse.

 

The only tracing information I have from my exported udig application is a log file located in its workspace.

 

Fabrice

 


De : Jody Garnett [mailto:[hidden email]] 
Envoyé : mardi 7 septembre 2010 14:08
À : ERNANDES, Fabrice
Cc : [hidden email]
Objet : Re: [udig-users] Problem exporting product uDig 1.1

 

We don't have any active developers on uDig 1.1.x at this time. There should be some eclipse tracing you can turn on using a ".options" file; check the eclipse help for details.

 

Jody

 

On 06/09/2010, at 4:27 PM, ERNANDES, Fabrice wrote:





Hi,
 
I set up developpement environnement for Udig 1.1 by following SDKQuickstart.pdf instructions. So I have eclipse europa, a Jre1.6 and udig-1.1.1 as target for PDE developpement.
 
I can launch udig product from eclipse within any trouble.
I can export udig product since I have removed the build.properties file in net.refractions.udig.libs_1.1.1.
 
But my application fails to start, here is a portion of the log:
 
ENTRY org.eclipse.osgi 4 0 2010-09-06 10:44:10.332
!MESSAGE An error occurred while automatically activating bundle net.refractions.udig.libs (16).
!STACK 0
org.osgi.framework.BundleException: Exception in net.refractions.udig.libs.internal.Activator.start() of bundle net.refractions.udig.libs.
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1018)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
         at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
         at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
         at java.lang.ClassLoader.loadClass(Unknown Source)
 
(…)
 
 
Thanks a lot !
 
Fabrice ERNANDES
Software programmer (France) 
 

 

_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users

 

 

 


_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem exporting product uDig 1.1

Jody Garnett-2
<base href="x-msg://13/">I don't remember how uDig 1.1 works :-) It may actually be required (for cross platform or something).

Jody

On 09/09/2010, at 4:40 PM, ERNANDES, Fabrice wrote:

Thanks Jody for your useful link.
 
Is eclipse delta pack required to run an exported application? uDig 1.1 quickstart documentation doesn’t mention to install eclipse delta pack in the target.
 
Is there anybody who has managed to run a simple exported eclipse application based on udig 1.1?
 
 

De : Jody Garnett [mailto:[hidden email]] 
Envoyé : mercredi 8 septembre 2010 16:34
À : ERNANDES, Fabrice
Cc : User-friendly Desktop Internet GIS
Objet : Re: [udig-users] Problem exporting product uDig 1.1
 
Going to take this discussion to udig-devel in case others can help out.
 
Why not review the dependencies for net.refractions.udig.libs and see which ones do not load.
 
 
Jody
 
On 08/09/2010, at 3:28 PM, ERNANDES, Fabrice wrote:


By using –consoleLog, I get same tracing information that is provided by the log file located in the workspace of my exported application.
 
I already have tracing information, but I don not understand why my exported application (which work from eclipse) do not work.
 
It seems to be a problem with “net.refractions.udig.libs” plugin…
 
Fabrice
 

De : Jody Garnett [mailto:[hidden email]] 
Envoyé : mercredi 8 septembre 2010 13:11
À : ERNANDES, Fabrice
Cc : [hidden email]
Objet : Re: [udig-users] Problem exporting product uDig 1.1
 
You are correct; the .options files controls the tracing information that is written to the log file.
 
You can also (when running your application) use -consoleLog on the command line.
 
Jody
 
On 07/09/2010, at 3:32 PM, ERNANDES, Fabrice wrote:



 
Thanks,
 
I might be wrong but tracing information for plugin (.options) are printed to the console, when product is launch from eclipse.
 
The only tracing information I have from my exported udig application is a log file located in its workspace.
 
Fabrice
 

De : Jody Garnett [mailto:[hidden email]] 
Envoyé : mardi 7 septembre 2010 14:08
À : ERNANDES, Fabrice
Cc : [hidden email]
Objet : Re: [udig-users] Problem exporting product uDig 1.1
 
We don't have any active developers on uDig 1.1.x at this time. There should be some eclipse tracing you can turn on using a ".options" file; check the eclipse help for details.
 
Jody
 
On 06/09/2010, at 4:27 PM, ERNANDES, Fabrice wrote:




Hi,
 
I set up developpement environnement for Udig 1.1 by following SDKQuickstart.pdf instructions. So I have eclipse europa, a Jre1.6 and udig-1.1.1 as target for PDE developpement.
 
I can launch udig product from eclipse within any trouble.
I can export udig product since I have removed the build.properties file in net.refractions.udig.libs_1.1.1.
 
But my application fails to start, here is a portion of the log:
 
ENTRY org.eclipse.osgi 4 0 2010-09-06 10:44:10.332
!MESSAGE An error occurred while automatically activating bundle net.refractions.udig.libs (16).
!STACK 0
org.osgi.framework.BundleException: Exception in net.refractions.udig.libs.internal.Activator.start() of bundle net.refractions.udig.libs.
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1018)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
         at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
         at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
         at java.lang.ClassLoader.loadClass(Unknown Source)
 
(…)
 
 
Thanks a lot !
 
Fabrice ERNANDES
Software programmer (France) 
 
 
_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users
 
 
 


_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users