Bugs item #585034, was opened at 2002-07-22 12:42
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=585034&group_id=22866

Category: JBossServer
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: david erdmann (derdmann)
Assigned to: Nobody/Anonymous (nobody)
Summary: undefined warning (12.2.2, 12.2.3) 

Initial Comment:
When I am deploying my entity bean, I get a couple of 
warnings that I have not been able to find a definition for. 
(12.2.2, and 12.2.3)

When I try to run the entity bean LogEntityBean I get an 
error which is also included at the bottom of the server 
trace, and I have included the trace of the client error as 
well.

This was a BMP entity bean.

Operating system: win2k, jdk1.3.1_03, jboss3.0.0, 
Oracle 8.1.6 backend, XDoclet-1.1.2

Here is the main warning that I am trying to identity 
(taken from server output see attached trace file).

11:49:37,224 INFO  [EJBDeployer]
Bean   : test/LogEntity
Section: 12.2.2
Warning: No warning message found, please file a Bug 
report.
11:49:37,274 INFO  [EJBDeployer]
Bean   : test/LogEntity
Method : public LogEntity ejbCreate(String, String) 
throws InvalidValueException, EJBException, 
CreateException
Section: 12.2.3
Warning: No warning message found, please file a Bug 
report.
11:49:37,304 INFO  [EJBDeployer]
Bean   : test/LogEntity
Method : public LogEntity ejbCreate() throws 
InvalidValueException, EJBException, CreateException
Section: 12.2.3
Warning: No warning message found, please file a Bug 
report.



Here is the class LogEntity that it is complaining about:

/**
 * Remote interface for test/LogEntity.
 * @author XDOCLET 1.1.2
 * @xdoclet-generated at Jul 22, 2002 11:31:18 AM
 */
public interface LogEntity
   extends javax.ejb.EJBObject
{
   /**
    * This is a dummy interface
    * @return Some dummy string
    */
   public java.lang.String someRemoteMethod(  ) throws 
java.rmi.RemoteException;

}



----------------------------------------------------------------------

>Comment By: david erdmann (derdmann)
Date: 2002-07-22 13:01

Message:
Logged In: YES 
user_id=582283

12.2.3 definition: ejbCreate must return Primary Key type.

----------------------------------------------------------------------

Comment By: david erdmann (derdmann)
Date: 2002-07-22 12:55

Message:
Logged In: YES 
user_id=582283

Currently searching through:

EJBVerifier20.java: ln 2184 for possible error descriptions.

----------------------------------------------------------------------

Comment By: david erdmann (derdmann)
Date: 2002-07-22 12:50

Message:
Logged In: YES 
user_id=582283

Here is my ejbCreate function, there is also another create 
function with no parameters defined the same way.

   /**
   * Create a new log message
   *
   * @param The column context for the log message
    *
    * @param the log message
   *
   * @throws InvalidValueException If one of the values are 
not correct,
   *                               this will not roll back the transaction
   *                               because the caller has the chance to
   *                               fix the problem and try again
   * @throws EJBException If no new unique ID could be 
retrieved this will
   *                      rollback the transaction because there is no
   *                      hope to try again
   * @throws CreateException Because we have to do so 
(EJB spec.)
   *
    * @return the primary key
    *
   * @ejb:create-method view-type="remote"
   * @ejb:create-method view-type="local"
   **/
   public LogEntity ejbCreate( java.lang.String context, 
java.lang.String msg )
      throws
         InvalidValueException,
         EJBException,
         CreateException
   {
  ...

   }
   

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=585034&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to