[362 total ]
Re: java.lang.NoClassDefFoundError: org/nightlabs/classloader/ClassDataLoaderDelegate [by Alex (aka fleque)]

Configuration:: java.lang.NoClassDefFoundError: org/nightlabs/classloader/ClassDataLoaderDelegate
Hi Ahmed,

we solved this in IRC. I just wanted to point everybody who gets the same Exception when launching the client to a new section in ... [More] our Development Troubleshooting article saying:

NoClassDefFoundError: org/nightlabs/classloader/ClassDataLoaderDelegate

You've managed to initialize a development workspace and are now trying to start the client from the IDE and it keeps throwing this exception? You've missed the last part of the last step in the process: The settings in your Eclipse runconfiguration that starts the client. Read the last step of Development Environment Setup again, carefully

Best regards
Alex [Less]

Re: Persistent JDO Lifecycle Notifications [by marco]

General:: Persistent JDO Lifecycle Notifications
Hello Maloi,

there are a few wiki pages that give some insight on the developer side. You could start with the Organisation wiki page and follow the links to the related pages.

On ... [More] the user side, it looks like this: You open the perspective "System Administration". There is a menu item called "Administration". Here you can create new organisations or introduce your organisation to other organisations.

This is coordinated by the root-organisation. Every newly created organisation registers itself in the root-organisation. Hence, it can give you a listing of all existing organisations.

Note, that all inter-organisation-registrations require mutual consent - that includes the automatic registration in the root-organisation.

The organisations can be spread over multiple JavaEE servers (connected via the internet).

Replication is done by detaching JDO objects (e.g. the catalogue of product-types in sale) from one datastore (e.g. the producer organisation) and attaching them to another datastore (e.g. the reseller organisation).

The communication between reseller and producer is done using EJB methods - hence the reseller acts just like every other client.

Since producer and reseller know each other, the producer can act as a client to the reseller as well (you could call this "bidirectional client/server relation"). Whenever "subscribed" data is modified, the producer notifies the reseller about the changed objects. The reseller than fetches the new objects and copies them to its own datastore.

If you want to play around with all this, you can checkout the project JFireDemoSetupMultiOrganisation from SVN and deploy it to your JFire server. Then perform a partial reset. In case you didn't specify a root-organisation before, perform a full reset instead and specify the root-organisation jfire.nightlabs.org on your local server in the setup wizard on http://localhost:8080/jfire

JFireDemoSetupMultiOrganisation will - after reset, during next start - create 3 instead of just 1 organisation: the root organisation, the wine store "Chez Francois" and the reseller organisation. It will perform the "introduction" (cross-registration) of the 3 organisations (which you normally have to do manually) and this way provide a ready-to-use development environment with 3 organisations on one server.

If this all worked and you have the 3 organisations, launch the client, login to the Reseller (organisation-id "reseller.jfire.org", user-id "user00", password "test") and go to the "System administration" perspective. Then, in the menu, click on "Window" => "Show View" and search for "pending" - open the "Pending organisation registrations" view. You'll see 2 registrations: the one with the root-organisation and the one with the reseller - both in state "accepted".

Then open the "Trade administration" perspective. There, you open the shelf "Simple product types". It shows your local tree. In the tool bar, there's a button for importing a business partner's catalogue. Click it and in the dialog, select "chezfrancois.jfire.org" - your business partner. When you click "OK", it replicates all published simple-product-types.

I hope, these infos help. There's still more to say about it and we definitely need more documentation about it (maybe some screen casts). Do you want to help us and contribute?

Best regards, Marco [Less]

Re: start up jfire server is error [by marco]

Announcements:: start up jfire server is error
Hi!

The error message says:
org.nightlabs.jfire.servermanager.db.DatabaseException: java.sql.SQLException: Access denied for user 'jfire'@'localhost' (using password: YES)

This ... [More] means, you either provided the wrong password to JFire or you didn't create the user correctly in MySQL or you're suffering the rare problem that the SQL command

grant all on *.* to jfire identified by 'jfire_password';

did not work for var id='jfire';var host1='localhost';var host2='';document.write('' id '@' host1 '.' host2 ''); (even though it should), hence you should define the host explicitely:

grant all on *.* to jfire@localhost identified by 'jfire_password';

Btw. this is documented in the Server Installation Troubleshooting wiki page.

Best regards, Marco [Less]

Re: Checking MD5 Hashes before escalating this exception [by marco]

Installation / Setup:: Checking MD5 Hashes before escalating this exception
Hello Ahmed,

as already discussed in IRC, I think you're using Java 6 but building an older nightly-build-product (e.g. *sunny-saloon/*rainy-roof). Please ... [More] select one of the *HEAD-products and try again.

Here are more details about our Java5/6 switch:

https://www.jfire.org/modules/news/storyid_27.html

Best regards, Marco [Less]

Re: Initialize workspace filed: [by marco]

Installation / Setup:: Initialize workspace filed:
What JFire version do you try to build? Did you select JFire-Max-HEAD?

Do you have multiple Java SDKs installed? What happens if you open a shell ("command prompt" in windows lingo) and ... [More] enter:

# java -version

In case you have multiple JDKs, please uninstall all of them except for the new JDK 6.

If that doesn't solve your problem, you should start your Eclipse SDK with the parameters -debug -consolelog and then copy'n'paste the complete log to http://pastebin.com/ or another web-paste-service (and link the URL here).

Best regards, Marco [Less]

Re: NightlyBuild with proxy [by Holger Sachse]

Installation / Setup:: NightlyBuild with proxy
PS.

I will ready the plugin code to see what I can do by myself.

Holger

Online demo [by Vladimir Mityunin]

This website:: Online demo
Hi!
It seems that online demo is not working now...
Do you plan to make it working any soon?
Thanks in advance.

Re: Workspace error [by Alex (aka fleque)]

General:: Workspace error
Hi Kennedy,

welcome to JFire.

I've just checked the file you mentioned, and it seems to be ok. Maybe the download currupted it - this happens sometimes . You might want to try the initialization again. ... [More] If you do so, be sure to delete that one file from your workspace. You can leave the others to make the initialization faster, I think, but to be sure, you should delete the complete workspace.

Best Regards
Alex [Less]

dev-organisationID refactored [by marco]

Announcements:: dev-organisationID refactored
Hello *,

the field Organisation.DEVIL_ORGANISATION_ID was refactored to Organisation.DEV_ORGANISATION_ID. It's value has been changed from devil.NightLabs.org to dev.jfire.org.

After updating and deploying, please perform a partial server reset.

Best regards, Marco

Re: New dependency reporting.admin.ui -> Plugin download needed [by marco]

Announcements:: New dependency reporting.admin.ui -> Plugin download needed
OK. I solved the problem.

The zip file was corrupt and worked only on Windows. I extracted it on a windows box and zipped it again (using 7-zip). The file now ... [More] works on GNU Linux as well. I've renamed the original file to *.bak and the above link in Alex' original post now points to my new file.

For all developers: You need to extract the zip file into your target platform's plugins directory and then reload the plugins in your SDK ("Window" => "Preferences..." => "Plug-in Development" => "Target Platform" => "Reload").

Best regards, Marco [Less]