To reproduce: set devtests variables, start server and derby, then do
'ant clean build deploy'.
Deployment fails with:
deploy-war-commonpe:
[exec] asadmin --host localhost --port 4848 --user admin
--passwordfile
/Users/mvatkina/v3/v2/appserv-tests/config/adminpassword.txt
--interactive=false --echo=true --terse=true deploy --contextroot
ejb-ejb31-ejblite-javamodule --libraries ${libraries} --force=false
--precompilejsp=true --verify=false --enabled=true
--generatermistubs=false --availabilityenabled=false --target server
--keepreposdir=false --keepfailedstubs=false --logreportederrors=true
--upload=true
/Users/mvatkina/v3/v2/appserv-tests/build/module/archive/ejb-ejb31-ejblite-javamodule-web.war
[exec] remote failure: Unknown plain text format. Response from
the server: {0}
[exec] Result: 1
The stack trace in the log is:
#|2010-06-11T11:17:16.696-0700|SEVERE|glassfish3.1|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin|_ThreadID=81;_ThreadName=Thread-1;|invocation.exception
org.jvnet.hk2.component.ComponentException: Injection failed on public
java.io.File org.glassfish.api.deployment.DeployCommandParameters.path
at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:121)
at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:66)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:242)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:965)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:92)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1088)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1077)
at
com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:367)
at
com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
at
com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:113)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:802)
at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:705)
at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:986)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:178)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:526)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:507)
at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.UnsupportedOperationException
at java.util.Collections$UnmodifiableList.set(Collections.java:1156)
at
org.glassfish.common.util.admin.MapInjectionResolver.getValue(MapInjectionResolver.java:108)
at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:95)
... 25 more
|#]
-marina