Hi Tim
>1. I do not get the compilation warning. I set up my version of the SunGFv3 library to include just the gf-client.jar from my GlassFish installation. Is that what you did?
No I did not. Yesterday I was holiday, thus I ran a test in my homepc which is a WindowsXP, but if I removed acc-config.jar and other jars and just leaved gf-client.jar I got many error see them below, tomorrow I will try it on my Ubuntu.
I have not think before that a simple programmer just me can get so many attention which I got in the GlassFish forum! I am very happy an so thankfuly to you and the GlassFish communty.
Attila,
init:
deps-clean:
Updating property file: G:\Java\Projects\HelloApp\HelloApp-emb-ACC\build\built-clean.properties
Deleting directory G:\Java\Projects\HelloApp\HelloApp-emb-ACC\build
clean:
init:
deps-jar:
Created dir: G:\Java\Projects\HelloApp\HelloApp-emb-ACC\build
Updating property file: G:\Java\Projects\HelloApp\HelloApp-emb-ACC\build\built-jar.properties
Created dir: G:\Java\Projects\HelloApp\HelloApp-emb-ACC\build\classes
Created dir: G:\Java\Projects\HelloApp\HelloApp-emb-ACC\build\empty
Compiling 1 source file to G:\Java\Projects\HelloApp\HelloApp-emb-ACC\build\classes
G:\Java\Projects\HelloApp\HelloApp-emb-ACC\src\enterprise\hello_stateless_client\EmbACCStatelessJavaClient.java:38: package org.glassfish.appclient.client.acc.config does not exist
import org.glassfish.appclient.client.acc.config.TargetServer;
G:\Java\Projects\HelloApp\HelloApp-emb-ACC\src\enterprise\hello_stateless_client\EmbACCStatelessJavaClient.java:39: package org.glassfish.appclient.client.acc.AppClientContainer does not exist
import org.glassfish.appclient.client.acc.AppClientContainer.Builder;
G:\Java\Projects\HelloApp\HelloApp-emb-ACC\src\enterprise\hello_stateless_client\EmbACCStatelessJavaClient.java:40: package org.glassfish.appclient.client.acc does not exist
import org.glassfish.appclient.client.acc.AppClientContainer;
G:\Java\Projects\HelloApp\HelloApp-emb-ACC\src\enterprise\hello_stateless_client\EmbACCStatelessJavaClient.java:41: package org.glassfish.appclient.client.acc does not exist
import org.glassfish.appclient.client.acc.UserError;
G:\Java\Projects\HelloApp\HelloApp-emb-ACC\src\enterprise\hello_stateless_client\EmbACCStatelessJavaClient.java:46: cannot find symbol
symbol : class AppClientContainer
location: class enterprise.hello_stateless_client.EmbACCStatelessJavaClient
AppClientContainer acc = null;
G:\Java\Projects\HelloApp\HelloApp-emb-ACC\src\enterprise\hello_stateless_client\EmbACCStatelessJavaClient.java:47: cannot find symbol
symbol : class TargetServer
location: class enterprise.hello_stateless_client.EmbACCStatelessJavaClient
TargetServer[] servers = new TargetServer[1];
G:\Java\Projects\HelloApp\HelloApp-emb-ACC\src\enterprise\hello_stateless_client\EmbACCStatelessJavaClient.java:47: cannot find symbol
symbol : class TargetServer
location: class enterprise.hello_stateless_client.EmbACCStatelessJavaClient
TargetServer[] servers = new TargetServer[1];
G:\Java\Projects\HelloApp\HelloApp-emb-ACC\src\enterprise\hello_stateless_client\EmbACCStatelessJavaClient.java:48: cannot find symbol
symbol : class TargetServer
location: class enterprise.hello_stateless_client.EmbACCStatelessJavaClient
servers[0] = new TargetServer("localhost", 3700);
G:\Java\Projects\HelloApp\HelloApp-emb-ACC\src\enterprise\hello_stateless_client\EmbACCStatelessJavaClient.java:49: cannot find symbol
symbol : class Builder
location: class enterprise.hello_stateless_client.EmbACCStatelessJavaClient
Builder builder = AppClientContainer.newBuilder(servers);
G:\Java\Projects\HelloApp\HelloApp-emb-ACC\src\enterprise\hello_stateless_client\EmbACCStatelessJavaClient.java:49: cannot find symbol
symbol : variable AppClientContainer
location: class enterprise.hello_stateless_client.EmbACCStatelessJavaClient
Builder builder = AppClientContainer.newBuilder(servers);
G:\Java\Projects\HelloApp\HelloApp-emb-ACC\src\enterprise\hello_stateless_client\EmbACCStatelessJavaClient.java:69: cannot find symbol
symbol : class UserError
location: class enterprise.hello_stateless_client.EmbACCStatelessJavaClient
} catch (UserError ex) {
11 errors
G:\Java\Projects\HelloApp\HelloApp-emb-ACC\nbproject\build-impl.xml:413: The following error occurred while executing this line:
G:\Java\Projects\HelloApp\HelloApp-emb-ACC\nbproject\build-impl.xml:199: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 3 seconds)
[Message sent by forum member 'aszomor']
http://forums.java.net/jive/thread.jspa?messageID=394951