Errata-ExploringSunMDMSuite_OpenESBandMuralTechnology-V 1_0

For those struggling with issues in this tutorial, I suggest that you install the latest Open ESB software.  I hope to update this tutorial soon.  Here are some notes that I have made as I have helped folks work through this version.  These notes will be incorporated into the next version of the tutorial:

  • p. 35 BIG GOTCHA: this is a section where a JDBC connection pool and resource pair are defined.  Due to changes in the Open ESB builds recently, another pair needs to be created.  Here is engineering's documentation: https://open-dm-mi.dev.java.net/docs/connection_pool.html   This will address this error message: "SEQException: MDM-MI-: IDG502A: A Sequence Generator Connection Pool required for SQL Server database was not found or not reachable"
  • pp.76-78 we copy and paste pre-built XSD and WSDL code with little explanation of what it does.  This needs to change.  I was trying to get the reader to the finish line as quickly as possible, but I think we lurched forward too fast here.
  • p. 62 & p. 81 the reference to port 8081 should be 8080 since this is the default that most readers will use.  I had a port conflict on my box, so I was using 8081 but that can throw the reader off.
  • p. 62 add more troubleshooting advice in case soapUI test case fails.  Consider:
    1. Go to Patient-ejb / Web Services / PatientEJBService.  Right-click and see Properties:http://localhost:8080/PatientEJBService/PatientEJB?wsdl
    2. Copy and paste that URL.
    3. Paste it into browser to see that it is an active endpoint.  If you see WSDL, it is.  If not, redeploy Patient application.
    Also, Make sure the URL at the top of the soapUI window matches the port you just tested.  Mine is: http://localhost:8080/PatientEJBService/PatientEJB
  • General
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Apr 22, 2009

    kieran123 says:

    Tom, I aplogize if this is not the appropraite place to post, but I'm having a...

    Tom,

    I aplogize if this is not the appropraite place to post, but I'm having an issue with the tutorial. First of all, I would like to thank you for the tutorial. It's been a wonderful resource. I'm on page 38 of the tutorial, I've successfully configured the database, and I've established and confirmed the connection between Glassfish and MySQL. I've built the application, and I receive the following error when I try to deploy the application:

    The error from Netbeans is:
    deployment started : 0%
    Deploying application in domain failed; WSGEN FAILED
    Deployment error:
    The module has not been deployed.
    See the server log for details.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:166)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor220.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
    Caused by: The module has not been deployed.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:160)
    ... 16 more
    BUILD FAILED (total time: 1 minute 1 second)

    The error in my Server.log file is:
    Problem encountered during annotation processing;
    see stacktrace below for more information.
    com.sun.tools.ws.processor.modeler.ModelerException: [failed to localize] Request wrapper bean names must be unique and must not clash with other generated classes. Class: com.sun.mdm.index.webservice.PatientEJB method pGetSystemRecords(java.lang.String,java.lang.String)()

    "Patient" is the name of my project. PatientEJB is a class auto-generated for me. The tutorial said to re-deploy if an error is encountered, but I have repeated the process several times with no success. I've commented out the method pGetSystemsRecords and the corresponding web method, but a different error appears.

    Any advice would be much appreciated. I've checked on Nabble and could not find any information on the error. I also plan to post this question on Nabble.

    Thanks,

    Kieran.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact