Ok I downloaded a different build of GlassFish , a recent nightly build
[code]
26-Nov-2007 01:30:31 com.sun.enterprise.server.PEMain main
INFO: Starting Sun Java System Application Server 9.1 (build b10-fcs) ...
26-Nov-2007 01:30:32 com.sun.enterprise.server.PEMain$LoadMBeanServer doRun
INFO: MBeanServer started: com.sun.enterprise.interceptor.DynamicInterceptor
26-Nov-2007 01:30:40 com.sun.enterprise.server.ss.ASLazyKernel startASSocketServices
INFO: CORE5098: AS Socket Service Initialization has been completed.
26-Nov-2007 01:30:41 com.sun.enterprise.server.ApplicationServer printStartupInfo
INFO: CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0] from [Sun Microsystems Inc.]
26-Nov-2007 01:30:41 com.sun.enterprise.security.SecurityLifecycle <init>
[/code]
I ran the following command ant build commands:
% ant build
% ant deploy
% ant runappclient
[code]
C:\Documents and Settings\Peter\My Documents\Projects\MDB>"C:\Program Files\Java\jdk1.6.0\jre/..
\bin\java" -Dcom.sun.aas.configRoot="C:\opt\glassfish\config" -Dcom.sun.aas.installRoot="C:\opt
\glassfish" -Dcom.sun.aas.imqLib="C:\opt\glassfish\imq\lib" -Djava.security.policy="C:\opt\glass
fish\lib\appclient\client.policy" -Djava.security.auth.login.config="C:\opt\glassfish\lib\appcli
ent\appclientlogin.conf" -Djava.endorsed.dirs="C:\opt\glassfish\lib\endorsed" -Djavax.xml.parser
s.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl -Djavax.xml.pars
ers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -D
javax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerF
actoryImpl -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter -Dorg.xml.sax.driver=com.su
n.org.apache.xerces.internal.parsers.SAXParser -Dcom.sun.aas.derbyRoot="C:\opt\glassfish\javadb"
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ACCLogManager com.sun.enterprise
.appclient.Main -configxml "C:\opt\glassfish\domains\domain1\config\sun-acc.xml" -client build\M
DBappclient.jar -user admin -pass admin
The archive C:\Documents and Settings\Peter\My Documents\Projects\MDB\build\MDBappclient.jar see
ms to be valid but an app client or an enterprise app was expected
C:\Documents and Settings\Peter\My Documents\Projects\MDB>endlocal
C:\Documents and Settings\Peter\My Documents\Projects\MDB>
[/code]
So you tell me what I did wrong here?
[Message sent by forum member 'peter_pilgrim' (peter_pilgrim)]
http://forums.java.net/jive/thread.jspa?messageID=247078