aspose file tools*
The moose likes Websphere and the fly likes Deployement Error -- Very Arjunt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Deployement Error -- Very Arjunt" Watch "Deployement Error -- Very Arjunt" New topic
Author

Deployement Error -- Very Arjunt

Siri Reddy
Greenhorn

Joined: Oct 20, 2006
Posts: 17
Hi All,
We are migrated our project from Weblogic to Websphere6.1.
we have few EJB modules.
we are useing AST tool, the EAR, if i export from AST its deploying well.
but if create a EAR with my build script, its not deployeing and giveing following error , I tried many ways.
please if any body suggest any solution its very big help to me.
The error is comming in my newly created EJB module.

Error is:


*** ERROR ***: Mon Nov 20 15:48:01 EST 2006 Java Model Exception: Java Model Status [Project cannot reference itself: ESBInternalEJB]



An unexpected exception was thrown. Halting execution.

Shutting down workbench.

Array index out of range: 0

>com.ibm.etools.ejbdeploy.EJBDeploymentException (Array index out of range: 0)

java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0

at com.ibm.etools.ejbdeploy.generators.mb.RemoteMBGenerator.getExceptionCodeSnip(RemoteMBGenerator.java:145)

at com.ibm.etools.ejbdeploy.gen2x.generators.LocalMBGenerator.getExceptionCodeSnip(LocalMBGenerator.java:42)

at com.ibm.etools.ejbdeploy.gen2x.generators.LocalWrapperMBGenerator.run(LocalWrapperMBGenerator.java:51)

at com.ibm.etools.ejbdeploy.codegen.BaseGenerator.runDependents(BaseGenerator.java:301)

at com.ibm.etools.ejbdeploy.java.codegen.JavaMethodGenerator.getBody(JavaMethodGenerator.java:141)

at com.ibm.etools.ejbdeploy.java.codegen.JavaMethodGenerator.generateMethod(JavaMethodGenerator.java:116)

at com.ibm.etools.ejbdeploy.java.codegen.JavaMethodGenerator.generateMember(JavaMethodGenerator.java:214)

at com.ibm.etools.ejbdeploy.java.codegen.JavaMemberGenerator.run(JavaMemberGenerator.java:207)

at com.ibm.etools.ejbdeploy.codegen.BaseGenerator.runChildren(BaseGenerator.java:292)

at com.ibm.etools.ejbdeploy.java.codegen.JavaTypeGenerator.getBody(JavaTypeGenerator.java:102)

at com.ibm.etools.ejbdeploy.java.codegen.JavaTypeGenerator.generateType(JavaTypeGenerator.java:74)

at com.ibm.etools.ejbdeploy.java.codegen.JavaTypeGenerator.generateMember(JavaTypeGenerator.java:220)

at com.ibm.etools.ejbdeploy.java.codegen.JavaMemberGenerator.run(JavaMemberGenerator.java:207)

at com.ibm.etools.ejbdeploy.codegen.BaseGenerator.runChildren(BaseGenerator.java:292)

at com.ibm.etools.ejbdeploy.java.codegen.JavaCompilationUnitGenerator.run(JavaCompilationUnitGenerator.java:272)

at com.ibm.etools.ejbdeploy.gen20.cnr.LocalWrapper.run(LocalWrapper.java:53)

at com.ibm.etools.ejbdeploy.codegen.BaseGenerator.runChildren(BaseGenerator.java:292)

at com.ibm.etools.ejbdeploy.codegen.BaseGenerator.run(BaseGenerator.java:283)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.deploySession2_0(EJBDeployOperation.java:1028)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.deploySession(EJBDeployOperation.java:944)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.invokeCodeGeneration(EJBDeployOperation.java:1679)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.doRun(EJBDeployOperation.java:1505)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.run(EJBDeployOperation.java:1401)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.doit(EJBDeployOperation.java:1062)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.invokeDeploymentCodegen(BatchExtension.java:1640)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.processEJBComponent(BatchExtension.java:646)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.runEarDeploy(BatchExtension.java:395)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.access$0(BatchExtension.java:317)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.run(BatchExtension.java:300)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1721)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1741)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.execute(BatchExtension.java:284)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:247)

at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:615)

at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.java:272)

at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:99)

at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:83)

at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:313)

EJBDeploy level: o0619.34

ADMA5008E: EJBDeploy failed on /product/WebSphere/DeploymentManager/profiles/esbdev1_dmgr/wstemp/wstemp/app_10f071fb203/dpl/dpl_esbapp.ear: com.ibm.etools.ejbdeploy.EJBDeploymentException: Error executing EJBDeploy

ADMA5011I: The cleanup of the temp directory for application esbapp is complete.

ADMA5014E: The installation of application esbapp failed.

The installation of application esbapp failed.




Thanks
Raj


Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

Hey Raj,

Are there any EJBs in your EJB module, or is it currently empty?

-Cameron McKenzie
Siri Reddy
Greenhorn

Joined: Oct 20, 2006
Posts: 17
I have 1 Stateless session bean.actually i am creating ear through Ant Script.
one module AntScript:

<project name="${project.name}" default="build">

<description>Buildfile for EJB projects</description>

< !-- Define the global properties -->
<property file="ant.properties" />

<property name="src.dir" location="./ejbModule" />
<property name="tgt.dir" location="./ejbModule" />
<property name="jar.dir" location="./dist" />

<path id="build.path">
<pathelement location="${helpers.home}/dist/${helpers.jar}"/>
<pathelement location="${ear.home}/EarContent/${CSG.jar}"/>
<pathelement location="${ear.home}/EarContent/${acl.jar}"/>
<pathelement location="${ear.home}/EarContent/${commons-codec.jar}"/>
<pathelement location="${ear.home}/EarContent/${commons-lang.jar}"/>
<pathelement location="${ear.home}/EarContent/${commons-pool.jar}"/>
<pathelement location="${ear.home}/EarContent/${concurrent.jar}"/>
<pathelement location="${ear.home}/EarContent/${hibernate.jar}"/>
<pathelement location="${ear.home}/EarContent/${jdom.jar}"/>
<pathelement location="${ear.home}/EarContent/${log4j.jar}"/>
<pathelement location="${ear.home}/EarContent/${quartz.jar}"/>
<pathelement location="${ear.home}/EarContent/${spring.jar}"/>
<pathelement location="${ear.home}/EarContent/${jaxb-api.jar}"/>
<pathelement location="${ear.home}/EarContent/${commons-collections.jar}"/>
<pathelement location="${ear.home}/EarContent/${dom4j.jar}"/>
<pathelement location="${ear.home}/EarContent/${jaxen-core.jar}"/>
<pathelement location="${ear.home}/EarContent/${jaxen-jdom.jar}"/>
<pathelement location="${ear.home}/EarContent/${saxpath.jar}"/>
<pathelement location="${ear.home}/EarContent/${cglib.jar}"/>
<pathelement location="${ear.home}/EarContent/${ehcache.jar}"/>
<pathelement location="${ear.home}/EarContent/${asm.jar}"/>
<pathelement location="${ear.home}/EarContent/${asm-attrs.jar}"/>
<pathelement location="${ear.home}/EarContent/${jaxb-impl.jar}"/>
<pathelement location="${ear.home}/EarContent/${jaxb-libs.jar}"/>
<pathelement location="${ear.home}/EarContent/${jaxb-xjc.jar}"/>
<pathelement location="${ear.home}/EarContent/${xml-apis.jar}"/>
<pathelement location="${ear.home}/EarContent/${xalan.jar}"/>
<pathelement location="${ear.home}/EarContent/${xercesImpl.jar}"/>
<pathelement location="${ear.home}/EarContent/${namespace.jar}"/>
<pathelement location="${ear.home}/EarContent/${relaxngDatatype.jar}"/>
<pathelement location="${ear.home}/EarContent/${xsdlib.jar}"/>
<pathelement location="${ear.home}/EarContent/${commons-logging.jar}"/>
</path>

< !-- Target: init - initializes our environment -->
<target name="init">
<mkdir dir="${jar.dir}" />
</target>

< !-- Target: build - compiles our source files -->
<target name="build" depends="init">
<javac srcdir="${src.dir}"<br /> destdir="${tgt.dir}"<br /> classpathref="build.path"<br /> source="1.5">
<include name="**/*.java"/>
<exclude name="**/EJS*.java"/>
<exclude name="**/_*.java"/>
<exclude name="org/**"/>
<exclude name="com/ibm/**"/>
</javac>
</target>

< !-- Target: clean - deletes our output directory -->
<target name="clean">
<delete dir="${jar.dir}" />
<delete>
<fileset dir="${tgt.dir}" includes="**/*.class"/>
</delete>
</target>

< !-- Target: clean.compile - insures everything is built<br /> by removing our output directory and then building <br /> -->
<target name="clean.build" depends="clean, build" />

< !-- Target: clean.package - insures everything is built<br /> by removing our output directory and then packaging <br /> -->
<target name="clean.package" depends="clean, package" />

< !-- Target: package - builds a jar file for our project -->
<target name="package" depends="build">
<jar jarfile="${jar.dir}/${jar.file}" basedir="${tgt.dir}" manifest="${tgt.dir}/META-INF/MANIFEST.MF" />
</target>

</project>
Dini Bang
Greenhorn

Joined: Mar 21, 2006
Posts: 21
Are you including the Application xml file or not??


SCJP, SCBCD, SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deployement Error -- Very Arjunt