Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We are trying to use Eclipselink 1.1 with Glassfish v2.1. Following the instructions on:

I adapted the instructions for the appclient script on linux by adding the lines:

APPCPATH=$APPCPATH:$AS_INSTALL/lib/eclipselink-1.1.1.jar export APPCPATH to the appclient shell script.

This however is not working. On running the application client (using Glassfish's webstart), I get the error: WARNING: "IOP00810257: (MARSHAL) Could not load class org.eclipse.persistence.indirection.IndirectList"

Anyone else succeed in getting GF v 2.1 to work with eclipselink? or any ideas on what I might be doing wrong?

I found this bug report: http s:// (New users can't post more than 1 link, so remove the space between 'http' and 's'.)

Where Tim Quinn (tjquinn) said:

App client container support for persistence is not yet in place

I think this refers only to Glassfish v3, and it should be working in Glassfish v2. Is this correct? I'm working on the assumption that this will work once the ACC knows where to find the eclipselinks jar.

Thanks in advance, Nick.

share|improve this question

Wait, according to tjquinn,

Yes, the issue refers to v3 (and it has been fixed in v3).

Changes to the appclient script have no effect on clients launched using the built-in support for Java Web Start.

Could you please try this: Add the EclipseLink jar to the domain's lib/ext directory. Add to the client JAR's manifest a dependency on the EclipseLink extension. This will allow the built-in Java Web Start support in GlassFish to detect the dependency and make then make sure the EclipseLink jar is downloaded as needed to support your client.

And of course let us know how this goes!


We'll try this and post the results.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.