Nevermind. Figured it out. I was using one of my own java types in the
entity bean, and hadn't mapped it in postgres.xml yet.
-Lkb
At 07:31 PM 8/8/00 -0700, Lorin Kobashigawa-Bates wrote:
>I am totally stumped about this error, I'm getting it when I try to create
>my Entity Bean in a servlet.
>
>Article article =
>(Article)PortableRemoteObject.narrow(articleHome.create(),
> Article.class);
>
>The create method in ArticleEJB is very simple,
>
>public Long ejbCreate() throws CreateException{
>
> long newId;
> try {
> newId = CounterUtils.getNextID("java:comp/env/Counter","Article");
> }catch(javax.naming.NamingException ne) {
> throw new CreateException("Naming Exception: "+ne.getMessage());
> }catch(java.rmi.RemoteException rme) {
> throw new CreateException("Remote Exception: "+rme.getMessage());
> }catch(javax.ejb.FinderException fe) {
> throw new CreateException ("Finder Exception: "+fe.getMessage());
> }
> this.id = new Long(newId);
> return null;
>}
>
>
>Here's the Stack trace.
>javax.ejb.CreateException: Error creating EntityBean: InputStream as
>parameter not supported
> at
>ArticleHome_EntityHomeWrapper10.create(ArticleHome_EntityHomeWrapper10.java
:458)
> at CreateArticles.doGet(CreateArticles.java:66)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at com.evermind.server.http.di.pw(JAX)
> at com.evermind.server.http.di.forward(JAX)
> at com.evermind.server.http.dr.p1(JAX)
> at com.evermind.server.http.dr.p0(JAX)
> at com.evermind.util.f.run(JAX)
>
>
>
>
/**
* @author: Lorin Kobashigawa-Bates <[EMAIL PROTECTED]>
* @title: CodeMonkey / COO - Robot6 Inc.
* @phone: 415.345.8872
* @addr: 1177 Polk St. San Francisco, CA 94109
*/