regarding auto deployment of jar file in weblogic 8.1

regarding auto deployment of jar file in weblogic 8.1

Hi,
i am trying to deploy the jar file in weblogic 8.1 which i have created using build scripts. when i run the ant script, it should be automatically deployed. but when i run the "deployJar" target, i am getting the exception like java.io.StreamCorruptedException.

shall any one help me...

thanks in advance...


C:\BKT\MLIDump>ant deployJar
Buildfile: build.xml

setenv:
[echo] Setting Env to run Weblogic ....

[exec] CLASSPATH=C:\bea\JDK141~1\lib\tools.jar;C:\bea\WEBLOG~1\server\lib\w
eblogic_sp.jar;C:\bea\WEBLOG~1\server\lib\weblogic.jar;C:\bea\WEBLOG~1\server\li
b\ojdbc14.jar;C:\Program Files\Altova\xmlspy\XMLSpyInterface.jar

[exec] PATH=C:\bea\WEBLOG~1\server\bin;C:\bea\JDK141~1\jre\bin;C:\bea\JDK14
1~1\bin;C:\Program Files\Java\j2sdk1.4.2_03\bin;C:\Program Files\Java\j2sdk1.4.2
_03\lib;C:\j2sdk1.4.2_06\bin;C:\j2sdk1.4.2_06\lib;C:\Ant1.5.2\bin;C:\BKT;D:\orac
le\product\10.2.0\client_1\bin;;C:\bea\WEBLOG~1\server\bin\oci920_8

[exec] Your environment has been set.

clean:

[echo] Cleaning Build Area
[echo] ===========================
[delete] Deleting directory C:\BKT\MLIDump\build

init:

[echo] Creating The Project Directory Structure
[echo] =============================================
[mkdir] Created dir: C:\BKT\MLIDump\build
[mkdir] Created dir: C:\BKT\MLIDump\build\classes
[mkdir] Created dir: C:\BKT\MLIDump\build\classes\META-INF

compile:

[echo] Compiling Project Source Java Files
[echo] =============================================
[javac] Compiling 33 source files to C:\BKT\MLIDump\build\classes
[copy] Copying 2 files to C:\BKT\MLIDump\build\classes\META-INF

startupJar:


[echo] Packaging Startup jar file...
[echo] =============================
[jar] Building jar: C:\BKT\MLIDump\build\mlistartup.jar

jar:


[echo] Packaging Application JAR File
[echo] ===============================
[jar] Building jar: C:\BKT\MLIDump\build\mli.jar
[copy] Copying 1 file to C:\bea\user_projects\domains\MLID\myserver\upload

deployJar:

[echo] Deploying Jar file into weblogic server..
[echo] ==========================================
[wldeploy] weblogic.Deployer -verbose -noexit -name mli -source C:\BKT\MLIDump\
build\mli.jar -targets myserver -adminurl t3://localhost:7001 -user weblogic -pa
ssword ******** -deploy
[wldeploy] java.io.StreamCorruptedException


BUILD FAILED
file:C:/BKT/MLIDump/build.xml:189: weblogic.rmi.extensions.RemoteRuntimeExceptio
n: Unexpected Exception - with nested exception:
[java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is
:
java.io.StreamCorruptedException]

Total time: 4 seconds
C:\BKT\MLIDump> :oops:














































































                New to ADSelfService Plus?