File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes generating deployment code for websphere using Ant's ejbjar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "generating deployment code for websphere using Ant Watch "generating deployment code for websphere using Ant New topic
Author

generating deployment code for websphere using Ant's ejbjar

Sachin Lewis
Greenhorn

Joined: Nov 14, 2003
Posts: 8
Dear friends,
please help me to solve this error i am getting while trying to generate the stubs and skeletons....It says build successful but there is no output jar.
My build file is containing the code:
<target name="jarrin" depends="stub-skeletons" description="Jars bean's class files.">
<record name="${logs}/eBBS/log.txt" loglevel="verbose" append="yes"/>
<echo>Jarring the bean class files....</echo>
<exec executable="sphere.bat"/>

<ejbjar srcdir="${dest}/classes" descriptordir="${xmls}/ejb" dependency="none"<br /> basejarname="CalJar" genericjarsuffix=".jar">

<classpath>
<pathelement path="${lib}"/>
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
</classpath>
<websphere ejbdeploy="true" quiet="false" <br /> keepgeneric="no" oldCMP="false" tempdir="/tmp" destdir="${jars}">
<wasclasspath>
<pathelement location="${websphere.home}\deploytool\itp\plugins\org.eclipse.core.boot_2.0.1\boot.jar"/>
<pathelement location="${websphere.home}\deploytool\itp\plugins\com.ibm.etools.ejbdeploy\runtime\batch.jar"/>
<pathelement location="${websphere.home}\lib\xerces.jar"/>
<pathelement location="${websphere.home}\lib\ivjejb35.jar"/>
<pathelement location="${websphere.home}\lib\j2ee.jar"/>
<pathelement location="${websphere.home}\lib\vaprt.jar"/>
</wasclasspath>
</websphere>

<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" location="${lib}/dtds/ejb-jar_2_0.dtd"/>
</ejbjar>
</target>
The error i am getting while running the Ant is :
jarrin:
[echo] Jarring the bean class files....
[exec] Current OS is Windows 2000
[exec] Executing 'sphere.bat' with
[exec]
[exec] E:\base\antcase2>set ws=e:\websphere\appserver\lib
[exec]
[exec] E:\base\antcase2>set mq=c:\programfiles\ibm\websphere mq\java\lib
[exec]
[exec] E:\base\antcase2>path=path;e:\websphere\appserver\java\bin;e:\websphere\appserver\bin;E:\WebSphere\AppServer\java\bin;C:\apache-ant-1.5.4\bin;E:\IBM Connectors\Encina\bin;E:\IBMCON~1\CICS\BIN;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;E:\IMNnq_NT;E:\PROGRA~1\MICROS~1\Office;E:\Program Files\SQLLIB\BIN;E:\Program Files\SQLLIB\FUNCTION;E:\Program Files\SQLLIB\SAMPLES\REPL;E:\Program Files\SQLLIB\HELP;E:\WebSphere\AppServer\bin;
[exec]
[exec] E:\base\antcase2>set classpath=e:\websphere\appserver\lib\j2ee.jar;e:\websphere\appserver\lib\naming.jar;e:\websphere\appserver\lib\namingclient.jar;e:\websphere\appserver\lib\runtime.jar;e:\websphere\appserver\lib\namingserver.jar;e:\websphere\appserver\lib\..\properties;.;c:\programfiles\ibm\websphere mq\java\lib\com.ibm.mq.jar;c:\programfiles\ibm\websphere mq\java\lib\com.ibm.mqjms.jar;c:\programfiles\ibm\websphere mq\java\lib\com.ibm.mqbind.jar;c:\programfiles\ibm\websphere mq\java\lib\connector.jar;c:\programfiles\ibm\websphere mq\java\lib\fscontext.jar;c:\programfiles\ibm\websphere mq\java\lib\providerutil.jar;.;e:\WebSpher\AppServer\properties;
[ejbjar] 3 deployment descriptors located.
[ejbjar] Mapped publicId -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN to file lib\dtds\ejb-jar_2_0.dtd
[ejbjar] Unable to locate the websphere Map: E:\base\antcase2\xmls\ejb\Map.mapxmi
[ejbjar] Unable to locate the websphere Schema: E:\base\antcase2\xmls\ejb\Schema.dbxmi
[ejbjar] building CalJar.jar with 3 files
[ejbjar] adding file 'META-INF/ejb-jar.xml'
[ejbjar] adding file 'META-INF/ibm-ejb-jar-ext.xmi'
[ejbjar] adding file 'META-INF/ibm-ejb-jar-bnd.xmi'
[ejbjar] EJB Deploy Options: E:\base\antcase2\jars\CalJar-generic.jar /tmp E:\base\antcase2\jars\CalJar.jar -cp E:\base\antcase2\lib;E:\base\antcase2\lib\javax.jar
[ejbjar] Calling websphere.ejbdeploy for E:\base\antcase2\jars\CalJar-generic.jar
[ejbdeploy] Executing 'E:\WebSphere\AppServer\java\jre\bin\java.exe' with arguments:
'-Xms64m'
'-Xmx128m'
'-Dwebsphere.lib.dir=E:\WebSphere\AppServer\lib'
'-classpath'
'E:\WebSphere\AppServer\deploytool\itp\plugins\org.eclipse.core.boot_2.0.1\boot.jar;E:\WebSphere\AppServer\deploytool\itp\plugins\com.ibm.etools.ejbdeploy\runtime\batch.jar;E:\WebSphere\AppServer\lib\xerces.jar;E:\WebSphere\AppServer\lib\ivjejb35.jar;E:\WebSphere\AppServer\lib\j2ee.jar;E:\WebSphere\AppServer\lib\vaprt.jar'
'com.ibm.etools.ejbdeploy.EJBDeploy'
'E:\base\antcase2\jars\CalJar-generic.jar'
'/tmp'
'E:\base\antcase2\jars\CalJar.jar'
'-cp'
'E:\base\antcase2\lib;E:\base\antcase2\lib\javax.jar'
The ' characters around the executable and arguments are
not part of the command.
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] Starting workbench.
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] 20021023_1257-WB201-AD-V50D-GA-I
[ejbdeploy]
[ejbdeploy] Creating the project.
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] Creating EJB Project...
[ejbdeploy]
[ejbdeploy] Creating EJB Project... Opening: /CalJar-generic.
[ejbdeploy]
[ejbdeploy] Creating EJB Project...
[ejbdeploy]
[ejbdeploy] Creating EJB Project... Setting output location for: CalJar-generic
[ejbdeploy]
[ejbdeploy] Creating EJB Project... Setting classpath for: CalJar-generic
[ejbdeploy]
[ejbdeploy] Creating EJB Project...
[ejbdeploy]
[ejbdeploy] Importing JAR..META-INF/ejb-jar.xml
[ejbdeploy]
[ejbdeploy] Importing JAR..META-INF/ibm-ejb-jar-ext.xmi
[ejbdeploy]
[ejbdeploy] Importing JAR..META-INF/ibm-ejb-jar-bnd.xmi
[ejbdeploy]
[ejbdeploy] Updating.
[ejbdeploy]
[ejbdeploy] [*Error] An unexpected exception was thrown. Halting execution.
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] Shutting down workbench.
[ejbdeploy]
[ejbdeploy] Error importing: Error importing Module File.
[ejbdeploy] >com.ibm.etools.ejbdeploy.EJBDeploymentException (Error importing: Error importing Module File.)
[ejbdeploy] >com.ibm.etools.wft.util.WFTWrappedException (Error importing Module File)
[ejbdeploy] com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: META-INF/ejb-jar.xml
[ejbdeploy] Stack trace of nested exception:
[ejbdeploy] com.ibm.etools.archive.exception.ResourceLoadException: IWAE0007E Could not load resource "META-INF/ejb-jar.xml" in archive "8c96c344"
[ejbdeploy] Stack trace of nested exception:
[ejbdeploy] com.ibm.etools.j2ee.exception.WrappedRuntimeException: IWAE0099E An Exception occurred while parsing xml: Line #: 2 :Column #: 147
[ejbdeploy] Stack trace of nested exception:
[ejbdeploy] org.xml.sax.SAXParseException: Document root element "ejbbnd:EJBJarBinding", must match DOCTYPE root "null".
[ejbdeploy] at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:235)
[ejbdeploy] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:209)
[ejbdeploy] at com.ibm.etools.j2ee.xml.bridge.GeneralXmlDocumentReader.parse(GeneralXmlDocumentReader.java:198)
[ejbdeploy] at com.ibm.etools.j2ee.xml.bridge.GeneralXmlDocumentReader.parseDocument(GeneralXmlDocumentReader.java:221)
[ejbdeploy] at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.primImportFrom(DeploymentDescriptorImportExport.java:250)
[ejbdeploy] at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.primImportFrom(DeploymentDescriptorImportExport.java:239)
[ejbdeploy] at com.ibm.etools.j2ee.xml.EjbJarDeploymentDescriptorImportExport.importFrom(EjbJarDeploymentDescriptorImportExport.java:54)
[ejbdeploy] at com.ibm.etools.ejb.impl.EJBJarResourceFactory.importXML(EJBJarResourceFactory.java:30)
[ejbdeploy] at com.ibm.etools.j2ee.common.impl.XMLResourceFactory.load(XMLResourceFactory.java:68)
[ejbdeploy] at com.ibm.etools.j2ee.common.impl.XMLResourceFactory.load(XMLResourceFactory.java:84)
[ejbdeploy] at com.ibm.etools.emf.resource.impl.ResourceFactoryImpl.load(ResourceFactoryImpl.java:77)
[ejbdeploy] at com.ibm.etools.emf.workbench.ProjectResourceSetImpl.loadFromFactory(ProjectResourceSetImpl.java:151)
[ejbdeploy] at com.ibm.etools.emf.workbench.ProjectResourceSetImpl.load(ProjectResourceSetImpl.java:105)
[ejbdeploy] at com.ibm.etools.emf.workbench.ProjectResourceSetImpl.load(ProjectResourceSetImpl.java:62)
[ejbdeploy] at com.ibm.etools.archive.impl.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:222)
[ejbdeploy] at com.ibm.etools.commonarchive.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:528)
[ejbdeploy] at com.ibm.etools.commonarchive.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:65)
[ejbdeploy] at com.ibm.etools.archive.impl.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:35)
[ejbdeploy] at com.ibm.etools.archive.impl.EjbJar11ImportStrategyImpl.loadDeploymentDescriptor(EjbJar11ImportStrategyImpl.java:73)
[ejbdeploy] at com.ibm.etools.archive.impl.EjbJar11ImportStrategyImpl.importMetaData(EjbJar11ImportStrategyImpl.java:68)
[ejbdeploy] at com.ibm.etools.commonarchive.impl.EJBJarFileImpl.getDeploymentDescriptor(EJBJarFileImpl.java:152)
[ejbdeploy] at com.ibm.etools.commonarchive.impl.EJBJarFileImpl.reflectFinderDescriptorsIfNecessary(EJBJarFileImpl.java:250)
[ejbdeploy] at com.ibm.etools.archive.ejb.operations.EJBJarImportOperation.reflectFinderHelperMetaDataIfPossible(EJBJarImportOperation.java:243)
[ejbdeploy] at com.ibm.etools.archive.ejb.operations.EJBJarImportOperation.save(EJBJarImportOperation.java:281)
[ejbdeploy] at com.ibm.etools.archive.j2ee.operations.J2EEImportOperation.importModuleFile(J2EEImportOperation.java:176)
[ejbdeploy] at com.ibm.etools.archive.j2ee.operations.J2EEImportOperation.execute(J2EEImportOperation.java:123)
[ejbdeploy] at com.ibm.etools.archive.ejb.operations.EJBJarImportOperation.execute(EJBJarImportOperation.java:83)
[ejbdeploy] at com.ibm.etools.j2ee.operations.HeadlessJ2EEOperation$1.run(HeadlessJ2EEOperation.java:74)
[ejbdeploy] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1378)
[ejbdeploy] at com.ibm.etools.j2ee.operations.HeadlessJ2EEOperation.run(HeadlessJ2EEOperation.java:88)
[ejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.importJar(BatchExtension.java:1005)
[ejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.runJarDeploy(BatchExtension.java:408)
[ejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.access$100(BatchExtension.java:103)
[ejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.run(BatchExtension.java:239)
[ejbdeploy] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1378)
[ejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.execute(BatchExtension.java:221)
[ejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:184)
[ejbdeploy] at java.lang.reflect.Method.invoke(Native Method)
[ejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.java:255)
[ejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:133)
[ejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:82)
[ejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:309)
[ejbdeploy] EJBDeploy level: 20021023_1257-WB201-AD-V50D-GA-I
[ejbdeploy] Java Result: 1
[ejbjar] deleting generic jar E:\base\antcase2\jars\CalJar-generic.jar
[ejbjar] Mapped publicId -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN to file lib\dtds\ejb-jar_2_0.dtd
[ejbjar] Unable to locate the websphere Map: E:\base\antcase2\xmls\ejb\Map.mapxmi
[ejbjar] Unable to locate the websphere Schema: E:\base\antcase2\xmls\ejb\Schema.dbxmi
[ejbjar] building CalJar.jar with 3 files
[ejbjar] adding file 'META-INF/ejb-jar.xml'
[ejbjar] adding file 'META-INF/ibm-ejb-jar-ext.xmi'
[ejbjar] adding file 'META-INF/ibm-ejb-jar-bnd.xmi'
[ejbjar] EJB Deploy Options: E:\base\antcase2\jars\CalJar-generic.jar /tmp E:\base\antcase2\jars\CalJar.jar -cp E:\base\antcase2\lib;E:\base\antcase2\lib\javax.jar
[ejbjar] Calling websphere.ejbdeploy for E:\base\antcase2\jars\CalJar-generic.jar
[ejbdeploy] Executing 'E:\WebSphere\AppServer\java\jre\bin\java.exe' with arguments:
'-Xms64m'
'-Xmx128m'
'-Dwebsphere.lib.dir=E:\WebSphere\AppServer\lib'
'-classpath'
'E:\WebSphere\AppServer\deploytool\itp\plugins\org.eclipse.core.boot_2.0.1\boot.jar;E:\WebSphere\AppServer\deploytool\itp\plugins\com.ibm.etools.ejbdeploy\runtime\batch.jar;E:\WebSphere\AppServer\lib\xerces.jar;E:\WebSphere\AppServer\lib\ivjejb35.jar;E:\WebSphere\AppServer\lib\j2ee.jar;E:\WebSphere\AppServer\lib\vaprt.jar'
'com.ibm.etools.ejbdeploy.EJBDeploy'
'E:\base\antcase2\jars\CalJar-generic.jar'
'/tmp'
'E:\base\antcase2\jars\CalJar.jar'
'-cp'
'E:\base\antcase2\lib;E:\base\antcase2\lib\javax.jar'
The ' characters around the executable and arguments are
not part of the command.
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] Starting workbench.
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] 20021023_1257-WB201-AD-V50D-GA-I
[ejbdeploy]
[ejbdeploy] Creating the project.
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] Creating EJB Project...
[ejbdeploy]
[ejbdeploy] Creating EJB Project... Opening: /CalJar-generic.
[ejbdeploy]
[ejbdeploy] Creating EJB Project...
[ejbdeploy]
[ejbdeploy] Creating EJB Project... Setting output location for: CalJar-generic
[ejbdeploy]
[ejbdeploy] Creating EJB Project... Setting classpath for: CalJar-generic
[ejbdeploy]
[ejbdeploy] Creating EJB Project...
[ejbdeploy]
[ejbdeploy] Importing JAR..META-INF/ejb-jar.xml
[ejbdeploy]
[ejbdeploy] Importing JAR..META-INF/ibm-ejb-jar-ext.xmi
[ejbdeploy]
[ejbdeploy] Importing JAR..META-INF/ibm-ejb-jar-bnd.xmi
[ejbdeploy]
[ejbdeploy] Updating.
[ejbdeploy]
[ejbdeploy] [*Error] An unexpected exception was thrown. Halting execution.
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] Shutting down workbench.
[ejbdeploy]
[ejbdeploy] Error importing: Error importing Module File.
[ejbdeploy] >com.ibm.etools.ejbdeploy.EJBDeploymentException (Error importing: Error importing Module File.)
[ejbdeploy] >com.ibm.etools.wft.util.WFTWrappedException (Error importing Module File)
[ejbdeploy] com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: META-INF/ejb-jar.xml
[ejbdeploy] Stack trace of nested exception:
[ejbdeploy] com.ibm.etools.archive.exception.ResourceLoadException: IWAE0007E Could not load resource "META-INF/ejb-jar.xml" in archive "8c96c344"
[ejbdeploy] Stack trace of nested exception:
[ejbdeploy] com.ibm.etools.j2ee.exception.WrappedRuntimeException: IWAE0099E An Exception occurred while parsing xml: Line #: 2 :Column #: 203
[ejbdeploy] Stack trace of nested exception:
[ejbdeploy] org.xml.sax.SAXParseException: Document root element "ejbext:EJBJarExtension", must match DOCTYPE root "null".
[ejbdeploy] at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:235)
[ejbdeploy] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:209)
[ejbdeploy] at com.ibm.etools.j2ee.xml.bridge.GeneralXmlDocumentReader.parse(GeneralXmlDocumentReader.java:198)
[ejbdeploy] at com.ibm.etools.j2ee.xml.bridge.GeneralXmlDocumentReader.parseDocument(GeneralXmlDocumentReader.java:221)
[ejbdeploy] at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.primImportFrom(DeploymentDescriptorImportExport.java:250)
[ejbdeploy] at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.primImportFrom(DeploymentDescriptorImportExport.java:239)
[ejbdeploy] at com.ibm.etools.j2ee.xml.EjbJarDeploymentDescriptorImportExport.importFrom(EjbJarDeploymentDescriptorImportExport.java:54)
[ejbdeploy] at com.ibm.etools.ejb.impl.EJBJarResourceFactory.importXML(EJBJarResourceFactory.java:30)
[ejbdeploy] at com.ibm.etools.j2ee.common.impl.XMLResourceFactory.load(XMLResourceFactory.java:68)
[ejbdeploy] at com.ibm.etools.j2ee.common.impl.XMLResourceFactory.load(XMLResourceFactory.java:84)
[ejbdeploy] at com.ibm.etools.emf.resource.impl.ResourceFactoryImpl.load(ResourceFactoryImpl.java:77)
[ejbdeploy] at com.ibm.etools.emf.workbench.ProjectResourceSetImpl.loadFromFactory(ProjectResourceSetImpl.java:151)
[ejbdeploy] at com.ibm.etools.emf.workbench.ProjectResourceSetImpl.load(ProjectResourceSetImpl.java:105)
[ejbdeploy] at com.ibm.etools.emf.workbench.ProjectResourceSetImpl.load(ProjectResourceSetImpl.java:62)
[ejbdeploy] at com.ibm.etools.archive.impl.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:222)
[ejbdeploy] at com.ibm.etools.commonarchive.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:528)
[ejbdeploy] at com.ibm.etools.commonarchive.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:65)
[ejbdeploy] at com.ibm.etools.archive.impl.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:35)
[ejbdeploy] at com.ibm.etools.archive.impl.EjbJar11ImportStrategyImpl.loadDeploymentDescriptor(EjbJar11ImportStrategyImpl.java:73)
[ejbdeploy] at com.ibm.etools.archive.impl.EjbJar11ImportStrategyImpl.importMetaData(EjbJar11ImportStrategyImpl.java:68)
[ejbdeploy] at com.ibm.etools.commonarchive.impl.EJBJarFileImpl.getDeploymentDescriptor(EJBJarFileImpl.java:152)
[ejbdeploy] at com.ibm.etools.commonarchive.impl.EJBJarFileImpl.reflectFinderDescriptorsIfNecessary(EJBJarFileImpl.java:250)
[ejbdeploy] at com.ibm.etools.archive.ejb.operations.EJBJarImportOperation.reflectFinderHelperMetaDataIfPossible(EJBJarImportOperation.java:243)
[ejbdeploy] at com.ibm.etools.archive.ejb.operations.EJBJarImportOperation.save(EJBJarImportOperation.java:281)
[ejbdeploy] at com.ibm.etools.archive.j2ee.operations.J2EEImportOperation.importModuleFile(J2EEImportOperation.java:176)
[ejbdeploy] at com.ibm.etools.archive.j2ee.operations.J2EEImportOperation.execute(J2EEImportOperation.java:123)
[ejbdeploy] at com.ibm.etools.archive.ejb.operations.EJBJarImportOperation.execute(EJBJarImportOperation.java:83)
[ejbdeploy] at com.ibm.etools.j2ee.operations.HeadlessJ2EEOperation$1.run(HeadlessJ2EEOperation.java:74)
[ejbdeploy] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1378)
[ejbdeploy] at com.ibm.etools.j2ee.operations.HeadlessJ2EEOperation.run(HeadlessJ2EEOperation.java:88)
[ejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.importJar(BatchExtension.java:1005)
[ejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.runJarDeploy(BatchExtension.java:408)
[ejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.access$100(BatchExtension.java:103)
[ejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.run(BatchExtension.java:239)
[ejbdeploy] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1378)
[ejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.execute(BatchExtension.java:221)
[ejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:184)
[ejbdeploy] at java.lang.reflect.Method.invoke(Native Method)
[ejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.java:255)
[ejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:133)
[ejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:82)
[ejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:309)
[ejbdeploy] EJBDeploy level: 20021023_1257-WB201-AD-V50D-GA-I
[ejbdeploy] Java Result: 1
[ejbjar] deleting generic jar E:\base\antcase2\jars\CalJar-generic.jar
[ejbjar] Mapped publicId -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN to file lib\dtds\ejb-jar_2_0.dtd
[ejbjar] Resolved -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN to local file lib\dtds\ejb-jar_2_0.dtd
[ejbjar] Unable to locate the websphere Map: E:\base\antcase2\xmls\ejb\Map.mapxmi
[ejbjar] Unable to locate the websphere Schema: E:\base\antcase2\xmls\ejb\Schema.dbxmi
[ejbjar] building CalJar.jar with 6 files
[ejbjar] adding file 'META-INF/ejb-jar.xml'
[ejbjar] adding file 'Cal\CalRemInter.class'
[ejbjar] adding file 'META-INF/ibm-ejb-jar-ext.xmi'
[ejbjar] adding file 'META-INF/ibm-ejb-jar-bnd.xmi'
[ejbjar] adding file 'Cal\CalEjb.class'
[ejbjar] adding file 'Cal\CalHomeInter.class'
[ejbjar] EJB Deploy Options: E:\base\antcase2\jars\META-INF\CalJar-generic.jar /tmp E:\base\antcase2\jars\META-INF\CalJar.jar -cp E:\base\antcase2\lib;E:\base\antcase2\lib\javax.jar
[ejbjar] Calling websphere.ejbdeploy for E:\base\antcase2\jars\META-INF\CalJar-generic.jar
[ejbdeploy] Executing 'E:\WebSphere\AppServer\java\jre\bin\java.exe' with arguments:
'-Xms64m'
'-Xmx128m'
'-Dwebsphere.lib.dir=E:\WebSphere\AppServer\lib'
'-classpath'
'E:\WebSphere\AppServer\deploytool\itp\plugins\org.eclipse.core.boot_2.0.1\boot.jar;E:\WebSphere\AppServer\deploytool\itp\plugins\com.ibm.etools.ejbdeploy\runtime\batch.jar;E:\WebSphere\AppServer\lib\xerces.jar;E:\WebSphere\AppServer\lib\ivjejb35.jar;E:\WebSphere\AppServer\lib\j2ee.jar;E:\WebSphere\AppServer\lib\vaprt.jar'
'com.ibm.etools.ejbdeploy.EJBDeploy'
'E:\base\antcase2\jars\META-INF\CalJar-generic.jar'
'/tmp'
'E:\base\antcase2\jars\META-INF\CalJar.jar'
'-cp'
'E:\base\antcase2\lib;E:\base\antcase2\lib\javax.jar'
The ' characters around the executable and arguments are
not part of the command.
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] Starting workbench.
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] 20021023_1257-WB201-AD-V50D-GA-I
[ejbdeploy]
[ejbdeploy] Creating the project.
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] Creating EJB Project...
[ejbdeploy]
[ejbdeploy] Creating EJB Project... Opening: /CalJar-generic.
[ejbdeploy]
[ejbdeploy] Creating EJB Project...
[ejbdeploy]
[ejbdeploy] Creating EJB Project... Setting output location for: CalJar-generic
[ejbdeploy]
[ejbdeploy] Creating EJB Project... Setting classpath for: CalJar-generic
[ejbdeploy]
[ejbdeploy] Creating EJB Project...
[ejbdeploy]
[ejbdeploy] Importing JAR..META-INF/ejb-jar.xml
[ejbdeploy]
[ejbdeploy] Importing JAR..META-INF/ibm-ejb-jar-ext.xmi
[ejbdeploy]
[ejbdeploy] Importing JAR..META-INF/ibm-ejb-jar-bnd.xmi
[ejbdeploy]
[ejbdeploy] Validating
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] Removing Map Validator messages on CalJar-generic has started...
[ejbdeploy]
[ejbdeploy] Messages removed.
[ejbdeploy]
[ejbdeploy] Removing EJB Validator messages on CalJar-generic has started...
[ejbdeploy]
[ejbdeploy] Messages removed.
[ejbdeploy]
[ejbdeploy] Validation of CalJar-generic by Map Validator has started...
[ejbdeploy]
[ejbdeploy] Validation of CalJar-generic by Map Validator is complete. All known problems
[ejbdeploy]
[ejbdeploy] Validation of CalJar-generic by EJB Validator has started...
[ejbdeploy]
[ejbdeploy] Validating Cal.CalEjb.
[ejbdeploy]
[ejbdeploy] Validating Cal.CalRemInter.
[ejbdeploy]
[ejbdeploy] Validating Cal.CalHomeInter.
[ejbdeploy]
[ejbdeploy] Validation of CalJar-generic by EJB Validator is complete. All known problems
[ejbdeploy]
[ejbdeploy] Generating deployment code
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] Processing session bean: CalEjb
[ejbdeploy]
[ejbdeploy] Building: /CalJar-generic.
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] Invoking Java Builder on /CalJar-generic.
[ejbdeploy]
[ejbdeploy] Reading saved built state for project CalJar-generic.
[ejbdeploy]
[ejbdeploy] Preparing for build
[ejbdeploy]
[ejbdeploy] Scrubbing output folder
[ejbdeploy]
[ejbdeploy] Analyzing sources
[ejbdeploy]
[ejbdeploy] Compiling CalJar-generic/ejbModule/Cal
[ejbdeploy]
[ejbdeploy] (1 problem found) Compiling CalJar-generic/ejbModule/Cal
[ejbdeploy]
[ejbdeploy] (21 problems found) Compiling CalJar-generic/ejbModule/Cal
[ejbdeploy]
[ejbdeploy] (27 problems found) Compiling CalJar-generic/ejbModule/Cal
[ejbdeploy]
[ejbdeploy] (49 problems found) Compiling CalJar-generic/ejbModule/Cal
[ejbdeploy]
[ejbdeploy] (50 problems found) Compiling CalJar-generic/ejbModule/Cal
[ejbdeploy]
[ejbdeploy] (56 problems found) Compiling CalJar-generic/ejbModule/Cal
[ejbdeploy]
[ejbdeploy] (56 problems found) Build done.
[ejbdeploy]
[ejbdeploy] Invoking Validation on /CalJar-generic.
[ejbdeploy]
[ejbdeploy] Invoking Library Copying Builder on /CalJar-generic.
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter.java(6): The hierarchy of the type EJSRemoteStatelessCalHomeInter is inconsistent
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(10): EJSWrapper cannot be resolved or is not a valid superclass
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(26): EJSDeployedSupport cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(26): EJSDeployedSupport cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(32): container cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(49): container cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(59): EJSDeployedSupport cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(59): EJSDeployedSupport cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(65): container cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(70): The method getEJBMetaData() is undefined for the type Cal.EJSStatelessCalHomeInterBean_4d896fc5
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(79): container cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(89): EJSDeployedSupport cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(89): EJSDeployedSupport cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(95): container cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(100): The method remove(java.lang.Object) is undefined for the type Cal.EJSStatelessCalHomeInterBean_4d896fc5
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(112): container cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(122): EJSDeployedSupport cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(122): EJSDeployedSupport cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(128): container cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(133): The method remove(javax.ejb.Handle) is undefined for the type Cal.EJSStatelessCalHomeInterBean_4d896fc5
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalHomeInter_4d896fc5.java(145): container cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter.java(6): The hierarchy of the type EJSRemoteStatelessCalRemInter is inconsistent
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter.java(6): Class must implement the inherited abstract method javax.ejb.EJBObject.getEJBHome()
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter.java(6): Class must implement the inherited abstract method javax.ejb.EJBObject.getHandle()
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter.java(6): Class must implement the inherited abstract method javax.ejb.EJBObject.getPrimaryKey()
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter.java(6): Class must implement the inherited abstract method javax.ejb.EJBObject.remove()
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter.java(6): Class must implement the inherited abstract method javax.ejb.EJBObject.isIdentical(EJBObject)
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(50): EJSDeployedSupport cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(50): EJSDeployedSupport cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(54): container cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(64): container cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(74): EJSDeployedSupport cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(74): EJSDeployedSupport cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(78): container cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(88): container cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(98): EJSDeployedSupport cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(98): EJSDeployedSupport cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(102): container cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(112): container cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(9): Class must implement the inherited abstract method javax.ejb.EJBObject.getEJBHome()
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(9): Class must implement the inherited abstract method javax.ejb.EJBObject.getHandle()
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(9): Class must implement the inherited abstract method javax.ejb.EJBObject.isIdentical(EJBObject)
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(9): Class must implement the inherited abstract method javax.ejb.EJBObject.getPrimaryKey()
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(9): Class must implement the inherited abstract method javax.ejb.EJBObject.remove()
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(10): EJSWrapper cannot be resolved or is not a valid superclass
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(26): EJSDeployedSupport cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(26): EJSDeployedSupport cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(30): container cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSRemoteStatelessCalRemInter_4d896fc5.java(40): container cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSStatelessCalHomeInterBean.java(6): The hierarchy of the type EJSStatelessCalHomeInterBean is inconsistent
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSStatelessCalHomeInterBean_4d896fc5.java(3): The import com.ibm.ejs.persistence cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSStatelessCalHomeInterBean_4d896fc5.java(4): The import com.ibm.ejs.EJSException cannot be resolved
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSStatelessCalHomeInterBean_4d896fc5.java(11): EJSHome cannot be resolved or is not a valid superclass
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSStatelessCalHomeInterBean_4d896fc5.java(26): BeanO cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSStatelessCalHomeInterBean_4d896fc5.java(31): BeanId cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] [*Error] ejbModule/Cal/EJSStatelessCalHomeInterBean_4d896fc5.java(40): CreateFailureException cannot be resolved or is not a type
[ejbdeploy]
[ejbdeploy]
[ejbdeploy] Updating.
[ejbdeploy]
[ejbdeploy] Shutting down workbench.
[ejbdeploy]
[ejbdeploy] Execution Halted: Compilation Errors Reported
[ejbdeploy] 56 Errors, 0 Warnings, 0 Informational Messages
[ejbjar] deleting generic jar E:\base\antcase2\jars\META-INF\CalJar-generic.jar
jarrin: duration 28 seconds
BUILD SUCCESSFUL
I really tried everything like changing the options and setting the proper classpath and i am using the ibm.jdk.....
I am trying to solve this for past 3 days but in vain, please somebody help me.
imp Note: If i give the 'codegen' option, there is no error only thing is it is not creating the stubs 'n' skeletons, but only EJS*.java files, and also the build is successful with the jar containing the EJS*.java along with my source' .class files.
All thanks & regards in advance for giving it a thought.
Sachin Lewis.
Sachin Lewis
Greenhorn

Joined: Nov 14, 2003
Posts: 8
Problem Solved, my ejb-jar.xml was not correct .....
Details: Parsing error with respect to dtd, corrected by giving proper Public Id and the location (local).
Cheers,
Sachin Lewis.
Manohar Karamballi
Ranch Hand

Joined: Jul 17, 2001
Posts: 227
With reference to the javaranch post that posted here,

I am also facing the same problem but i did not quite understand the way Sachin solved it.

Please let me know how to solve it.

Also please let me know in which jar file com.ibm.ejs package is present...

Thanks in advance.
Manohar
Amol Desh
Greenhorn

Joined: Dec 07, 2004
Posts: 1
I faced a similar problem.
This occured when I had to modify my code to use EJB2.0 instead of EJB2.0 and J2EE1.3 instead of J2EE1.4

Check out the line in ejb-jar.xml. In case you development environment does not support higher version you need to move back to 2.0 by using the proper dtd.
< !DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">

Hope it resolves your issue.
Kaushal Patel
Greenhorn

Joined: Dec 19, 2006
Posts: 2
Hi,
I have some confusion for this.
I am using Eclipse and WAS 5.1.4 to create Webservice and when I run the ant task com.ibm.websphere.ant.tasks.endptEnabler in build.xml, I get the following error,

endpt:
[endptenabler] WSWS2012I: The endpoint enabler is using the following properties:
[endptenabler] verbose: true
[endptenabler] http.routerModuleNameSuffix:
[endptenabler] AIGAutoWs.http.rounterModuleName: AIGAutoWs_HTTPRouter.war
[endptenabler] AIGAutoWs.transports: http
[endptenabler] AIGAutoWs.http.contextRoot: aigautows
[endptenabler] WSWS2016I: Loading EAR file: D:/eiStream/PSO/AIG/Auto/stage/AIGAutoWs.ear
[endptenabler] WSWS2017I: Found EJB Module: AIGAutoWs.jar
[endptenabler] WSWS2019I: Enabling EJB Module AIGAutoWs.jar...
[endptenabler] WSWS2024I: Adding http router for EJB Module AIGAutoWs.jar.
[endptenabler] WSWS2025I: Router module name: AIGAutoWs.war
[endptenabler] WSWS2026I: Context root: aigautows

BUILD FAILED
D:\eiStream\PSO\AIG\Auto\build\build.xml:167: com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: META-INF/ejb-jar.xml

I am using following com.ibm.websphere.ant.tasks.endptEnabler ant task,
<target name="endpt">
<endptenabler earfile="${dir.stage}/AIGAutoWs.ear">
<property key="http.routerModuleNameSuffix" value="HTTPRouter" />
<property key="verbose" value="false"/>
<property key="AIGAutoWs.transports" value="http"/>
<property key="AIGAutoWs.http.rounterModuleName" value="AIGAutoWs_HTTPRouter.war"/>
<property key="AIGAutoWs.http.contextRoot" value="aigautows"/>
</endptenabler>
</target>

Please help me to find this problem. Any thing wrong in EJB and J2EE file which I use for create the WebService?

Regards,
Kaushal Patel.
Kaushal Patel
Greenhorn

Joined: Dec 19, 2006
Posts: 2
Sorry, ant task was not displayed in last message,
I am using following com.ibm.websphere.ant.tasks.endptEnabler ant task,

<target name="endpt">
<endptenabler earfile="${dir.stage}/AIGAutoWs.ear">
<property key="http.routerModuleNameSuffix" value="HTTPRouter" />
<property key="verbose" value="false"/>
<property key="AIGAutoWs.transports" value="http"/>
<property key="AIGAutoWs.http.rounterModuleName" value="AIGAutoWs_HTTPRouter.war"/>
<property key="AIGAutoWs.http.contextRoot" value="aigautows"/>
</endptenabler>
</target>
tamanna sri
Greenhorn

Joined: Feb 23, 2009
Posts: 2
Hii

If the path C:/Program Files/IBM does not exist on system even then the ejb build is completed successfully. I was wondering which path it is taking then?

on the server on which i wish to deploy the EJB does not have websphere (WSAD) installed but WAS is there.
Can some one please explain this?

Thank you.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: generating deployment code for websphere using Ant's ejbjar