1 18 19 20 21 22 Previous Next 327 Replies Latest reply: Oct 3, 2007 10:57 PM by Vishal Sharma Go to original post RSS
  • 315. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
    Vishal Sharma Expert

    There is a new thread
    http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878124#3878124
    covering instructions for new version of tools used in this
    tutorial http://www.tusc.com.au/tutorial/html/index.html. This covers steps in chapter 3.

    I hope this work by NISHI helps people to leverage upon this documentation.

  • 316. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
    sh sal Newbie

    Hi chrispp,

    your problem is solved or not ?.I had gone through the same problem...i could not plugg in the lomboz

    sh_sal

  • 317. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
    Pallavi R Newbie

    Hi Crispp,

    I am having the same problem.
    Can you please tell me how you solved the problem

  • 318. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
    Federico Andino Newbie

    Hi y'all!
    I'm having some troubles trying this (or any) deployment on the Jboss 4. It seems that it can't help itself but to crash when I use Jsdk 1.4.2. Does anyone have the same problem?

  • 319. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
    Darran Lofthouse Master

     

    "fechotecho" wrote:
    it can't help itself but to crash when I use Jsdk 1.4.2.


    When discussing problems in the forums it is useful to include the actual error that you are getting, you then have more chance of finding someone that can relate to the problem.

  • 320. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
    Federico Andino Newbie

     

    "darranl" wrote:
    "fechotecho" wrote:
    it can't help itself but to crash when I use Jsdk 1.4.2.


    When discussing problems in the forums it is useful to include the actual error that you are getting, you then have more chance of finding someone that can relate to the problem.


    Sorry, you're quite right.
    Here it is: remember, it's the samples.
    I think it's the ejb definitions (the tags).
    Nevertheless, in all it's glory...

    BEHOLD THE ERROR FROM THE DARK DIMENSIONS!!!!

    16:26:04,662 ERROR [Engine] ContextConfig[] Exception processing JAR at resource path /WEB-INF/lib/ejbtags.jar
    javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/ejbtags.jar
    at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
    at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)

  • 321. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
    Federico Andino Newbie

    You're rigght!
    Here's it, in all its glory...

    16:26:04,662 ERROR [Engine] ContextConfig[] Exception processing JAR at resource path /WEB-INF/lib/ejbtags.jar
    javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/ejbtags.jar
    at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
    at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)

  • 322. Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
    Meenakshisundaram Murugan Newbie

    Hi
    I have currently installed jboss 4.0.2 and eclipse 3.1. I dont know what version of lomboz i need to install. please send me the link for downloading the exact version required.

    Thank you
    Sundar

  • 323. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
    xiaobo chen Newbie

    I have installed Eclispese 3.1, Jboss 3.2.5

    Which version of Lomboz should I get? I am totally new to this 'Lomboz'. Please give me a hand.

    Many thanks in advance!

    X.Chen

  • 324. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
    tan min Newbie

    Hi,
    Chapter 5. Creating a BMP Entity Bean
    After add ejbFindByPrimaryKey method, I am getting xdoclet.xml:56: XDoclet failed when Generateing EJB classes.

    Using jdk 1.4.2_02, jboss 3.2.3, eclipse 2.1.3 and lomboz.2.1.3

    Posting the console 's info:
    ----------------------------------------------------
    Buildfile: C:\eclipse\workspace\J2EETest\MyBank\META-INF\build.xml

    init:

    ejbdoclet:

    init:

    ejbdoclet:
    [ejbdoclet] Deploy TEMPLATE URL: jar:file:C:\eclipse\plugins\com.objectlearn.jdt.j2ee\xdoclet\xdoclet-apache-module-1.2.jar!/xdoclet/modules/apache/axis/ejb/resources/axis-deploy_wsdd.xdt
    [ejbdoclet] Undeploy TEMPLATE URL: jar:file:C:\eclipse\plugins\com.objectlearn.jdt.j2ee\xdoclet\xdoclet-apache-module-1.2.jar!/xdoclet/modules/apache/axis/ejb/resources/axis-undeploy_wsdd.xdt
    [ejbdoclet] (XDocletMain.start 47 ) Running
    [ejbdoclet] Generating Data Object class for 'com.nullinfo.bmp.CustomerBean'.
    [ejbdoclet] (XDocletMain.start 47 ) Running
    [ejbdoclet] Generating DAO class for 'com.nullinfo.bmp.CustomerBean'.
    [ejbdoclet] (XDocletMain.start 53 ) Running XDoclet failed.
    [ejbdoclet] (XDocletMain.start 54 ) <<FATAL:com.nullinfo.bmp.CustomerPK pk>>
    [ejbdoclet] file:C:/eclipse/workspace/J2EETest/MyBank/META-INF/xdoclet.xml:56: XDoclet failed.
    [ejbdoclet] at xdoclet.DocletTask.start(DocletTask.java:467)
    [ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:110)
    [ejbdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
    [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:341)
    [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309)
    [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [ejbdoclet] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
    [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:341)
    [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309)
    [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [ejbdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [ejbdoclet] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569)
    [ejbdoclet] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
    [ejbdoclet] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335)
    [ejbdoclet] at org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172)
    [ejbdoclet] at java.lang.Thread.run(Thread.java:536)
    [ejbdoclet] Caused by: xdoclet.XDocletException: FATAL:com.nullinfo.bmp.CustomerPK pk
    [ejbdoclet] at xdoclet.tagshandler.ParameterTagsHandler.parameterList(ParameterTagsHandler.java:203)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:561)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeContentMethod(TemplateEngine.java:614)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:469)
    [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
    [ejbdoclet] at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:738)
    [ejbdoclet] at xdoclet.modules.ejb.home.HomeTagsHandler.ifIsFinderMethod(HomeTagsHandler.java:588)
    [ejbdoclet] at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
    [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:561)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
    [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
    [ejbdoclet] at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:738)
    [ejbdoclet] at xdoclet.tagshandler.AbstractProgramElementTagsHandler.forAllMembers(AbstractProgramElementTagsHandler.java:733)
    [ejbdoclet] at xdoclet.tagshandler.MethodTagsHandler.forAllMethods(MethodTagsHandler.java:413)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:534)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
    [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
    [ejbdoclet] at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:738)
    [ejbdoclet] at xdoclet.tagshandler.ClassTagsHandler.ifClassTagValueEquals(ClassTagsHandler.java:462)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:534)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
    [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
    [ejbdoclet] at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:738)
    [ejbdoclet] at xdoclet.modules.ejb.entity.EntityTagsHandler.ifEntity(EntityTagsHandler.java:78)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:534)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
    [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
    [ejbdoclet] at xdoclet.template.TemplateEngine.start(TemplateEngine.java:414)
    [ejbdoclet] at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:560)
    [ejbdoclet] at xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java:767)
    [ejbdoclet] at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java:667)
    [ejbdoclet] at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:594)
    [ejbdoclet] at xdoclet.TemplateSubTask.execute(TemplateSubTask.java:486)
    [ejbdoclet] at xdoclet.XDocletMain.start(XDocletMain.java:48)
    [ejbdoclet] at xdoclet.DocletTask.start(DocletTask.java:464)
    [ejbdoclet] ... 21 more
    [ejbdoclet] --- Nested Exception ---
    [ejbdoclet] xdoclet.XDocletException: FATAL:com.nullinfo.bmp.CustomerPK pk
    [ejbdoclet] at xdoclet.tagshandler.ParameterTagsHandler.parameterList(ParameterTagsHandler.java:203)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:561)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeContentMethod(TemplateEngine.java:614)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:469)
    [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
    [ejbdoclet] at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:738)
    [ejbdoclet] at xdoclet.modules.ejb.home.HomeTagsHandler.ifIsFinderMethod(HomeTagsHandler.java:588)
    [ejbdoclet] at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
    [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:561)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
    [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
    [ejbdoclet] at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:738)
    [ejbdoclet] at xdoclet.tagshandler.AbstractProgramElementTagsHandler.forAllMembers(AbstractProgramElementTagsHandler.java:733)
    [ejbdoclet] at xdoclet.tagshandler.MethodTagsHandler.forAllMethods(MethodTagsHandler.java:413)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:534)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
    [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
    [ejbdoclet] at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:738)
    [ejbdoclet] at xdoclet.tagshandler.ClassTagsHandler.ifClassTagValueEquals(ClassTagsHandler.java:462)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:534)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
    [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
    [ejbdoclet] at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:738)
    [ejbdoclet] at xdoclet.modules.ejb.entity.EntityTagsHandler.ifEntity(EntityTagsHandler.java:78)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:534)
    [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
    [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
    [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
    [ejbdoclet] at xdoclet.template.TemplateEngine.start(TemplateEngine.java:414)
    [ejbdoclet] at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:560)
    [ejbdoclet] at xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java:767)
    [ejbdoclet] at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java:667)
    [ejbdoclet] at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:594)
    [ejbdoclet] at xdoclet.TemplateSubTask.execute(TemplateSubTask.java:486)
    [ejbdoclet] at xdoclet.XDocletMain.start(XDocletMain.java:48)
    [ejbdoclet] at xdoclet.DocletTask.start(DocletTask.java:464)
    [ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:110)
    [ejbdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
    [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:341)
    [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309)
    [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [ejbdoclet] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
    [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:341)
    [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309)
    [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [ejbdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [ejbdoclet] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569)
    [ejbdoclet] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
    [ejbdoclet] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335)
    [ejbdoclet] at org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172)
    [ejbdoclet] at java.lang.Thread.run(Thread.java:536)
    [ejbdoclet] BUILD FAILED: file:C:/eclipse/workspace/J2EETest/MyBank/META-INF/xdoclet.xml:56: Unexpected error
    Total time: 10 seconds
    ----------------------------------------------------

    The CustomerBean's content:

    package com.nullinfo.bmp;

    import javax.ejb.EntityBean;
    import javax.ejb.FinderException;

    /**
    * @ejb.bean name="Customer"
    * jndi-name="CustomerBean"
    * type="BMP"
    *
    *--
    * @ejb.dao class="com.nullinfo.bmp.CustomerDAO"
    * impl-class="com.nullinfo.dao.CustomerDAOImpl"
    *
    *--
    * *@ejb.resource-ref res-ref-name="jdbc/DB2DS"
    * res-type="javax.sql.Datasource"
    * res-auth="Container"

    *--
    *@jboss.resource-ref res-ref-name="jdbc/DB2DS"
    * jndi-name="jdbc:/DB2DS"
    *
    */

    public abstract class CustomerBean implements EntityBean {
    private String customerID;
    private String userID;
    private String firstName;
    private String lastName;
    private String address;
    private String phone;
    private String shareholderStatus;

    /**
    * Returns the customerID
    * @return the customerID
    * @ejb.persistence
    * @ejb.pk-field
    * @ejb.interface-method
    */
    public String getCustomerID() {
    return customerID;
    }

    /**
    * Sets the customerID
    * @param java.lang.String the new customerID value
    * @ejb.interface-method
    */
    public void setCustomerID(String customerID) {
    this.customerID = customerID;
    }

    /**
    * Returns the address
    * @return the address
    * @ejb.persistence
    * @ejb.interface-method
    */
    public String getAddress() {
    return address;
    }

    /**
    * Returns the firstName
    * @return the firstName
    * @ejb.persistence
    * @ejb.interface-method
    */
    public String getFirstName() {
    return firstName;
    }

    /**
    * Returns the lastName
    * @return the lastName
    * @ejb.persistence
    * @ejb.interface-method
    */
    public String getLastName() {
    return lastName;
    }

    /**
    * Returns the phone
    * @return the phone
    * @ejb.persistence
    * @ejb.interface-method
    */
    public String getPhone() {
    return phone;
    }

    /**
    * Returns the shareholderStatus
    * @return the shareholderStatus
    * @ejb.persistence
    * @ejb.interface-method
    */
    public String getShareholderStatus() {
    return shareholderStatus;
    }

    /**
    * Returns the userID
    * @return the userID
    * @ejb.persistence
    * @ejb.interface-method
    */
    public String getUserID() {
    return userID;
    }

    /**
    * Sets the address
    * @param java.lang.String the new address value
    * @ejb.interface-method
    */
    public void setAddress(String address) {
    this.address = address;
    }

    /**
    * Sets the firstName
    * @param java.lang.String the new firstName value
    * @ejb.interface-method
    */
    public void setFirstName(String firstName) {
    this.firstName = firstName;
    }

    /**
    * Sets the lastName
    * @param java.lang.String the new lastName value
    * @ejb.interface-method
    */
    public void setLastName(String lastName) {
    this.lastName = lastName;
    }

    /**
    * Sets the phone
    * @param java.lang.String the new phone value
    * @ejb.interface-method
    */
    public void setPhone(String phone) {
    this.phone = phone;
    }

    /**
    * Sets the shareholderStatus
    * @param java.lang.String the new shareholderStatus value
    * @ejb.interface-method
    */
    public void setShareholderStatus(String shareholderStatus) {
    this.shareholderStatus = shareholderStatus;
    }

    /**
    * Sets the userID
    * @param java.lang.String the new userID value
    * @ejb.interface-method
    */
    public void setUserID(String userID) {
    this.userID = userID;
    }

    /**
    * @param CustomerPK pk value
    * Finds the Primary Key
    * @return CustomerPk object
    *
    **/
    public CustomerPK ejbFindByPrimaryKey(com.nullinfo.bmp.CustomerPK pk) throws FinderException {
    System.out.println("Entering CustomerBean ejbFindByPrimaryKey");
    System.out.println("Leaving CustomerBean ejbFindByPrimaryKey");
    return null;
    }

    }

    Thanks!

  • 325. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
    michele donato Newbie

    hi
    i have some problems with configuration of jboss with postgres as described in this tutorial (the code at previous page top)

    following that tutorial and the one at tusc, at chapter one, i have no "servers" folder under lomboz plugin directory...in the last version of lomboz i have not any com.objectlearn. folder...so what should i do?

  • 326. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
    Vishal Sharma Expert

    This tutorial needs an update now as all tools used in this have moved on.
    I a.m looking for volunteers to upgrade this now, which will incorporate
    EJB3.0, SOA, JSF, Bit of SEAM.
    Tutorial will be using JBoss4.0, Eclipse/Netbeans (havent decided yet), and
    might or might not use any plugin (like JBoss -IDE, or Lomboz or WTP).

    So if there are enough volunteers to work than please contatc via this forum or vashistvishal at gmail dot com or my blog mentioned in my signature.

  • 327. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
    Vishal Sharma Expert

    I have put together a brief tutorial on JAX WS 2.0 in JBoss.
    This 3 part series can be found here.

    http://entips.blogspot.com/2007/10/j2ee-tutorial-on-webservices-using.html

1 18 19 20 21 22 Previous Next