Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 182517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:57:13+00:00 2026-05-11T14:57:13+00:00

Details: I’m trying to use Jalapeno framework to connect my RCP app with Cache’

  • 0

Details: I’m trying to use Jalapeno framework to connect my RCP app with Cache’ database. After connection established, I’m trying to get all data from table exactly like in Jalapeno manual:

if (objManager==null) return; DBClass cortege = null; try { Iterator terms = objManager.openByQuery(DBClass.class, null, null); System.out.println('terms ok'); while (terms.hasNext()){     System.out.println('has next');     cortege = (DBClass)terms.next(); } 

this code compiling, running and trowing exception

java.lang.RuntimeException: myPluginId.views.DBClass at com.intersys.objects.POJOIterator.next(POJOIterator.java:75)    ...skip...    Caused by: java.lang.ClassNotFoundException: myPlugin.views.DBClass     at java.net.URLClassLoader$1.run(Unknown Source)     at java.security.AccessController.doPrivileged(Native Method)     at java.net.URLClassLoader.findClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at org.eclipse.core.runtime.internal.adaptor.ContextFinder.loadClass(ContextFinder.java:129)     at java.lang.ClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClassInternal(Unknown Source)     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Unknown Source)     at com.jalapeno.runtime.ObjectCopierToPojo.detach(ObjectCopierToPojo.java:76)     at com.jalapeno.runtime.ObjectCopierToPojo.findPojo(ObjectCopierToPojo.java:472)     at com.intersys.classes.CacheRootObject.detach(CacheRootObject.java:255)     at com.intersys.classes.Persistent.detach(Persistent.java:567)     at com.intersys.objects.POJOIterator.next(POJOIterator.java:59) 

at terms.next();

I can’t get it at all… instance of class DBClass was just created, but class cannot be loaded. then I’ve tried to place this code in simple java application (not eclipse rcp) and all went ok. so I think some Eclipse part blocking class loading.

also i’ve tried to load class before calling terms.next();

Bundle b = Platform.getBundle('myPluginId'); try { b.loadClass('DBClass'); } catch (ClassNotFoundException e) { System.out.println('no class'); e.printStackTrace(); } 

…and got same error. Class can not be loaded. So, is it a known problem? Is there a solution?

Update

After some research updating the question:

How to make Jalapeno plugin to load class from My plugin?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T14:57:14+00:00Added an answer on May 11, 2026 at 2:57 pm

    You might want to try buddy classloading. For more info on Eclipse classloading, Alex Blewitt has written an excellent overview of the classloading system in Eclipse here. Its a few years old, but for the most part it is still relevant.

    The jist of buddy classloading is this:

    • a plugin declares that it needs help loading classes. It does this by declaring its ‘buddy plugin’

    • the buddy plugin declares its buddy policy

    • when the regular loading mechanism fails, Eclipse tries to use the buddy classloading policies you have specified.

    So in your case, try putting:

    Eclipse-BuddyPolicy: registered 

    in your Jalapeno plugin’s manifest.mf file

    and put:

    Eclipse-RegisterBuddy: id.of.jalepeno.plugin 

    in the manifest.mf of your plugin

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i would get details from two MySQL tables tables structure as shown table:App |AppID|AppName|AppType|
Details are as follows: Environment: SSRS 2008 Server, SQL Server 2008 for database, Report
Details of the app are: ASP.NET project, local web server, hosted in IIS locally,
Details: I'm basically trying to implement the functionality of the example here ( http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/editondblclick/defaultvb.aspx
Details: I'm working on a BlackBerry app, and one of the features is signature
Some Details I am working with VisualWebGUI, so this app is like ASP.NET, and
My development environment details: Ubuntu 11.10 Rails 2.3.11 Ruby 1.8.7 To use third party
Details below but basically I'm trying to understand what on my Droid is throwing
I update marketplace details for my WP7 app and it looks like it has
Details of my app: - ASP.NET MVC 3 - Windows Authentication mode - IIS

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.