New to the list, and new to EJB's, but I thought I knew what I was
doing.
I got a simple finder, that I cannot get to deploy. ejbc handles things
just fine.
If anyone has seen anything like this, I'd appreciate any ideas. Thanks
The environment:
Solaris 2.6
JDK 1.2.2
Weblogic 5.1 (with and without SP4 makes no difference)
This is the definition from the weblogic-cmp-rdbms-jar.xml:
<finder>
<method-name>findByCustCode</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
<finder-query><![CDATA[( = custCode $0 )]]></finder-query>
</finder>
The definition in the Home file:
public Collection findByCustCode(String custCode)
throws RemoteException, FinderException;
If I remove these, it works fine, but with these in, I get exceptions
when deploying (deployer tool, deploy, and at startup all similar):
Connecting to localhost, port 8001...Successfully connected.
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Unsolicited
error response for #-1weblogic.rmi.UnmarshalException: Failed to marshal
error response: 'weblogic.ejb.common.DeploymentException: Could not
setup the CMP Deployer associated with this bean.; nested exception is:
weblogic.ejb.persistence.PersistenceLoadingException: Could not
setup PersistenceType for bean 'custDenied.CustDeniedHome'.
Error occurred while processing persistence type 'WebLogic RDBMS
Persistence'.
Due to the following underlying exceptions:
Bean provided to WebLogic RDBMS CMP system is invalid.
Please examine the following exceptions for specific problems:
0: null
1: null
' because exception
- with nested exception:
[java.io.NotSerializableException:
weblogic.ejb.deployment.dd.EntityBeanDescriptor] ]
at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:756)
...
(let me know if I chopped off too much)
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".