Webcam Chat QuickBooks Advice international calling cards international phone cards
JavaBeat Java Books Certifications Certifications Kits Articles Tutorials Tips QNA Book Store Interview Questions SCJP 1.5 SCJP 1.6 SCWCD 5.0 SCBCD 5.0 SCEA SCJA Feeds

I get error amp;@ when I deploy my EJBs. What's wrong in Middlegen configuration?

Topic :
Feedback Request New QnA Print Email

First, check that Middlegen supports your EJB container.

The EJB container's error message should give you an indication about something wrong either in a deployment descriptor, a Java class or in the environment.

If you can get the EJB to deploy correctly by modifying the source code generated by Middlegen (perhaps adding a tag), then there is obviously something wrong with Middlegen. Only in this case should you post a bug report to Middlegen.

If you can't get your EJBs to work no matter how you modify the Middlegen-generated sources, there might be something wrong with XDoclet. You should seek help in the XDoclet forums. Remember that XDoclet doesn't care/know whether a source class was written by a human or by Middlegen, so XDoclet's developers probably don't either. Include a snip of the @tags, generated (bad?) code and your <ejbdoclet> task.

It's also important to realise that different EJB containers implement CMP and CMR in their own way. For example, JBoss 3.0.0 will choke on CMP filelds that are mapped to columns that also participate in a CMR. This means that for certain schemas you will be able to generate EJBs for certain EJB containers, while others will not be able to deploy them correctly.

Topic :
Feedback Request New QnA Print Email

All api java java 6.0 java 7.0 jdbc jsp servlet ejb jndi jms ejb 3.0 j2ee jee 5.0 jee 6.0 jsf struts spring Hibernate ajax JBoss Seam netbeans eclipse ant xml maven dojo junit javafx j2me log4j ESB JBoss Apache Quartz scjp mysql oracle gwt openjpa jmx yui google-guice android JBoss scwcd 5.0 scjp 1.5 scjp 1.6 scja scbcd 5.0

JavaBeat Website (2004-2011), India
javabeat | advertise | about us | contact | useful resources
Copyright (2004 - 2011), JavaBeat


Technology Blogs
Technology blogs Technology Blogs
blog log