Hi,
I am using antenna to build my J2ME application and I want to deploy application to my
servlet server.
I configured correct settings for wtk.home, antenna.home. The antenna works well except the wtkdeploy, it always gives me this error message:
/home/naveen/development/eclipse/ant/build.xml:59: java.io.IOException: Internal Server Error (500)
The target of deploy is as follows:
<target name="deploy" depends="package">
<wtkdeploy jarfile="${release.dir}/${midlet.name}.jar"
jadfile="${release.dir}/${midlet.name}.jad"
target="${deploy.target}"
login="${username}"
password="${password}"
delete="${do.delete.on.deploy}">
</wtkdeploy>
</target>
The other targets such as wtkbuild, wtkjad, wtkpackage work very well except this one.
When performing this target, I checked the
tomcat logs, it shows as:
127.0.0.1 - - [05/Sep/2009:14:59:35 -0400] "PUT /antenna/firstMIDlet.jar?delete=false&login=admin&password=admin HTTP/1.1" 500 1641
The servlet is at
http://localhost:8181/antenna. I followed the instructions at antenna website to setup servlet (copy web.xml from etc dir into WEB-INF, copy antenna-bin.jar into WEB-INF/lib), but didn't work it out. Errors are always there. Didn't figure out how to upload the packaged suites to the web server.
Any body can give some ideas what could the problem be?
Naveen.