alexey, thank you for your interest.

i quadruple-checked and quintuple-checked my two CMP related xml files, and here is an 
excerpt from both pertaining to one of the fields generating an error message, 
"licenseType":

ejb-jar.xml:

        
            <ejb-name>VendorContactEJB</ejb-name>
            <cmp-version>2.x</cmp-version>
            
<local-home>com.eventlogic.ejb.vendor.contact.VendorContactHomeLocal</local-home>
            com.eventlogic.ejb.vendor.contact.VendorContactLocal
            <ejb-class>com.eventlogic.ejb.vendor.contact.VendorContactBean</ejb-class>
            <persistence-type>Container</persistence-type>
            <prim-key-class>java.lang.Long</prim-key-class>
            False
            <abstract-schema-name>vendorcontact</abstract-schema-name> 
            <cmp-field><field-name>GUID</field-name></cmp-field>
            <cmp-field><field-name>vendorGUID</field-name></cmp-field>
            <cmp-field><field-name>firstName</field-name></cmp-field>
            <cmp-field><field-name>lastName</field-name></cmp-field>
            <cmp-field><field-name>middleInitial</field-name></cmp-field>
            <cmp-field><field-name>address1</field-name></cmp-field>
            <cmp-field><field-name>address2</field-name></cmp-field>
            <cmp-field><field-name>city</field-name></cmp-field>
            <cmp-field><field-name>state</field-name></cmp-field>
            <cmp-field><field-name>country</field-name></cmp-field>
            <cmp-field><field-name>zip</field-name></cmp-field>
            <cmp-field><field-name>email</field-name></cmp-field>
            <cmp-field><field-name>SSN</field-name></cmp-field>
            <cmp-field><field-name>notes</field-name></cmp-field>
            <cmp-field><field-name>driversLicenseNumber</field-name></cmp-field>
            <cmp-field><field-name>driversLicenseState</field-name></cmp-field>
                        <cmp-field><field-name>licenseType</field-name></cmp-field>
            <cmp-field><field-name>driversLicenseExpiration</field-name></cmp-field>
            <cmp-field><field-name>dateAdded</field-name></cmp-field>
            <cmp-field><field-name>dateUpdated</field-name></cmp-field>
            <primkey-field>GUID</primkey-field>
            <security-identity><use-caller-identity/></security-identity>
            <ejb-local-ref>
                <ejb-ref-name>ejb/VendorContactNumberEJB</ejb-ref-name>
                <ejb-ref-type>Entity</ejb-ref-type>
                
<local-home>com.eventlogic.ejb.vendor.contactnumber.VendorContactNumberHomeLocal</local-home>
                com.eventlogic.ejb.vendor.contactnumber.VendorContactNumberLocal
                <ejb-link>VendorContactNumberEJB</ejb-link>
            </ejb-local-ref>                   
        



jboss-jdbc.xml:

        
            <ejb-name>VendorContactEJB</ejb-name>
            <table-name>vendor_contacts</table-name>
             
            
<cmp-field><field-name>GUID</field-name><column-name>guid</column-name></cmp-field>
            
<cmp-field><field-name>vendorGUID</field-name><column-name>vendor_guid</column-name></cmp-field>
            
<cmp-field><field-name>firstName</field-name><column-name>first_name</column-name></cmp-field>
            
<cmp-field><field-name>lastName</field-name><column-name>last_name</column-name></cmp-field>
            
<cmp-field><field-name>middleInitial</field-name><column-name>middle_initial</column-name></cmp-field>
            
<cmp-field><field-name>address1</field-name><column-name>address1</column-name></cmp-field>
            
<cmp-field><field-name>address2</field-name><column-name>address2</column-name></cmp-field>
            
<cmp-field><field-name>city</field-name><column-name>city</column-name></cmp-field>
            
<cmp-field><field-name>state</field-name><column-name>state</column-name></cmp-field>
            
<cmp-field><field-name>country</field-name><column-name>country</column-name></cmp-field>
            
<cmp-field><field-name>zip</field-name><column-name>zip</column-name></cmp-field>
            
<cmp-field><field-name>email</field-name><column-name>email</column-name></cmp-field>
            
<cmp-field><field-name>SSN</field-name><column-name>ssn</column-name></cmp-field>
            <cmp-field><field-name>notes</field-name>notes</cmp-field>
            
<cmp-field><field-name>driversLicenseNumber</field-name><column-name>drivers_license_number</column-name></cmp-field>
            
<cmp-field><field-name>driversLicenseState</field-name><column-name>drivers_license_state</column-name></cmp-field>
                        
<cmp-field><field-name>licenseType</field-name><column-name>license_type</column-name></cmp-field>
            
<cmp-field><field-name>driversLicenseExpiration</field-name><column-name>drivers_license_expiration</column-name></cmp-field>
            
<cmp-field><field-name>dateAdded</field-name><column-name>date_added</column-name></cmp-field>
            
<cmp-field><field-name>dateUpdated</field-name><column-name>date_updated</column-name></cmp-field>
        


the thing that is REALLY perplexing me here, causing great suspicion on my part, is 
the fact that on initial startup of jboss, everything works great, every time.  no 
problem at all with those two fields.  however on HOT DEPLOY, and hot deploy only, 
when building a new .ear from Eclipse and dropping it into 
~jboss/server/default/deploy, jboss tries to restart the app associated with that .ear 
and craps out on those two fields.  and the only thing that sets apart those two 
fields from all the others in my application is that they are the only two which were 
recently added.

on another note, i just noticed that when posting source code before for my EJB's and 
interfaces associated with this field, i accicentally posted the local interface for 
VendorEJB and not VendorLocalEJB.  at the risk of going copy/paste crazy on this 
thread, i'm going to paste VendorLocal.java to eliminate any possibility for prior 
confusion.

in addition, i changed this line in VendorLocal.java which i found to be a mistake:

public abstract void setLicenseType(String driversLicenseState); 

to this:

public abstract void setLicenseType(String licenseType);

although i don't think that would have affected my problem.  indeed, subsequent builds 
have produced the exact same exception report when hot deploying. 

i'm totally at a loss for a next step with this problem.

regards, 

-robin

VendorContactLocal.java:

package com.eventlogic.ejb.vendor.contact;

import javax.ejb.EJBException;
import java.util.Collection;

public interface VendorContactLocal extends javax.ejb.EJBLocalObject {

    // relationship fields
    public abstract Collection getVendorContactNumbers() throws EJBException;
    public abstract void setVendorContactNumbers(Collection contactNumbers) throws 
EJBException;     
    
    // persistence fields    
    public abstract Long getGUID() throws EJBException;
    public abstract void setGUID(Long guid) throws EJBException;
    
    public abstract long getVendorGUID() throws EJBException;
    public abstract void setVendorGUID(long vendorGUID) throws EJBException;
    
    public abstract String getLastName() throws EJBException;
    public abstract void setLastName(String lastName) throws EJBException;
    
    public abstract String getFirstName() throws EJBException;
    public abstract void setFirstName(String firstName) throws EJBException;
    
    public abstract String getMiddleInitial() throws EJBException;
    public abstract void setMiddleInitial(String middleInitial) throws EJBException;
    
    public abstract String getAddress1() throws EJBException;
    public abstract void setAddress1(String address1) throws EJBException;
    
    public abstract String getAddress2() throws EJBException;
    public abstract void setAddress2(String address2) throws EJBException;
    
    public abstract String getCity() throws EJBException;
    public abstract void setCity(String city) throws EJBException;
    
    public abstract String getState() throws EJBException;
    public abstract void setState(String state) throws EJBException;
    
    public abstract String getCountry() throws EJBException;
    public abstract void setCountry(String country) throws EJBException;
    
    public abstract String getZip() throws EJBException;
    public abstract void setZip(String zip) throws EJBException;
    
    public abstract String getEmail() throws EJBException;
    public abstract void setEmail(String email) throws EJBException;
    
    public abstract String getSSN() throws EJBException;
    public abstract void setSSN(String ssn) throws EJBException;
    
    public abstract String getDriversLicenseNumber() throws EJBException;
    public abstract void setDriversLicenseNumber(String driversLicenseNumber) throws 
EJBException;

    public abstract java.util.Date getDriversLicenseExpiration() throws EJBException;
    public abstract void setDriversLicenseExpiration(java.util.Date aDate) throws 
EJBException;
    
    public abstract String getDriversLicenseState() throws EJBException;
    public abstract void setDriversLicenseState(String driversLicenseState) throws 
EJBException;
    
    public abstract String getLicenseType() throws EJBException;
    public abstract void setLicenseType(String licenseType) throws EJBException;
    
    public abstract String getNotes() throws EJBException;
    public abstract void setNotes(String notes) throws EJBException;
    
    public abstract java.sql.Timestamp getDateAdded() throws EJBException;
    public abstract void setDateAdded(java.sql.Timestamp ts) throws EJBException;
    
    public abstract java.sql.Timestamp getDateUpdated() throws EJBException;
    public abstract void setDateUpdated(java.sql.Timestamp ts) throws EJBException;
}



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838867#3838867

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838867


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to