Bondu Sam

Greenhorn
+ Follow
since Jan 24, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Bondu Sam

hi,

Iam getting errors when trying to generate deploy code for EJB. I am using the jdk that comes with webpshere. The ejb jar file is created successfully with the deploy code but does not include ibm-ejb-jar-bnd.xmi, although the ejb-jar.xml and the ibm-ejb-jar-bnd.xmi reside in the same directory

my build file looks like this -
######################################################
<ejbjar srcdir="${test.srcEJB}" descriptordir="${project.ejb.dir}/ejbModule/META-INF" destdir="${build.dir}/lib">
<include name="${build.ejb.classes}/**/*.class" />
<include name="*ejb-jar.xml" />
<include name="*-ejb-jar-bnd.xmi" />
<websphere dbvendor="DB2UDBOS390_V6" ejbdeploy="true" destdir="${dist.dir}">
<wasclasspath>
<pathelement location="${websphere.home}/deploytool/itp/plugins/org.eclipse.core.boot_2.1.3/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"/>
<pathelement location="${project.utilities}/rt.jar" />
</wasclasspath>
</websphere>
<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" location="${dtd.location}"/>
</ejbjar>
####################################################


When this task is executed I get the following error -

########################################################
[ejbjar] building ejb.jar with 4 files
[ejbdeploy] 0 Errors, 0 Warnings, 0 Informational Messages
[ejbjar] building ibm.jar with 1 files

[ejbdeploy]

[ejbdeploy] [*Error] An unexpected exception was thrown. Halting execution.

[ejbdeploy] Error importing: Error importing Module File.
[ejbdeploy] >com.ibm.etools.ejbdeploy.EJBDeploymentException (Error importing: E
rror 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.j2ee.exception.WrappedRuntimeException: IWAE0099E An
Exception occurred while parsing xml: Line #: 2 :Column #: 159
[ejbdeploy] Stack trace of nested exception:
[ejbdeploy] org.xml.sax.SAXParseException: Document root element "ejbbnd:EJBJarB
inding", must match DOCTYPE root "null".
[ejbdeploy] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
[ejbdeploy] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Sour
ce)
#############################################

Where am I going wrong?
19 years ago
Hi,
I have an enterprise application that uses a lot of static content in the form of shtmls. The application's target environment is IBM HTTP server and Websphere. The static content is served by the web server. I use WSAD for the development environment, which is not able to serve shtml content. I want to use IBM HTTP server for the static content in the dev environmnt and have the dynamic content served from WSAD. But I do not know how to configure IBM HTTP server to use the Websphere plugin to connect to WSAD. I have come across some sites which say that WSAD and IBM HTTP server can be used in the same style as we use IBM HTTP server and Websphere application server using WAS plugin. But there is no plugin-cfg.xml file for WSAD
Could someone advice me how to do this.
Thanks
19 years ago
my web application has shtml files. In WSAD(5.1.2) test environment, when i try to acces the shtml file, my browser prompts me for required action (to download, or open with default application). Could someone tell me the required configuration changes to enable my test environment to serve shtml files.
I know it is not a problem with browser as I can view the shtml files on other sites on the internet.
20 years ago
thanks avi
i am using oracle 8.1.7, i thought using cmp on views was a part of ejb 2.0 specs. Could u plss give more details about how this could be achieved
the database in my project has been fully normalised. I am using CMPs for database operations. BEcause of teh normalisation i have far too many tables, and i am scared that the performance of the system will be affected with increase in number of tables. I want to map one entity bean to multiple tables. is this possible using CMP1.1 on websphere 4.0.1?
hi
i have to print amount in words on the cheque for UK currency in my application. It would be of great help if anyone could give me readymade code for converting the amount in numbers to amount in words.
22 years ago
i am not able to define custom finder methods for CMP entity beans developed in WSAD 4.0.3 with Oracle database. While generating deploy code error occurs - " cannot retrieve metadata for column columnname" but the entity bean is able to connect to the database and worksfine without th custom finder method. please tell me if any settings arerequired for oracle
22 years ago
hi
i am using WSAD4.0.3 and oracle 8.1.7.
i am using CMP entity beans in my application and i have some custom finder methods defined in my home interface.
The mapping of the beans to the tables in oracle happens with no problem using top dowm approach.
But when i try to generate deploy code i get error ----> "cant get metadata for column TestName"
TestName is one of the fields in a table.
The same works fine for db2 database.
plss help