Porting application from jboss to glassfish

I am involved in a project where I need to upgrade an application to a better application server. It is currently running on jboss 4.01. It has been suggested that I consider porting the app, which includes EJB, JSF, and Web Services to glassfish. Does anybody have any experience doing a migration like this? I'd like to hear some opinons as to whether this would be a good idea and how much more difficult it would be than simply upgrading to a more recent version of jboss. All input appreciated. I tried googling, but didn't find much relevant information.
Mike

Hi,
which version of OAS 10g do you use? Did you checked the content of your ear file? How does the full stacktrace look like?
I guess you could receive better help if you would provide more information.
Regards,
Eric

Similar Messages

  • Problem with web.xml, while migratig application from JBOSS 5.0 to JBOSS5.1

    Hi ,
    Earlier my application was running fine on JBOSS 5.0 .
    In that web.xml was like
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_4.xsd"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_4.xsd"
         id="WebApp_ID" version="2.4">
         <servlet>
              <servlet-name>action</servlet-name>
              <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
              <init-param>
                   <param-name>config</param-name>
                   <param-value>/WEB-INF/struts-config.xml</param-value>
              </init-param>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <!-- Timer Details -->
         <servlet>
              <servlet-name>perfMonCollector</servlet-name>
              <servlet-class>com.dbag.optimise.performancemonitor.timer.PerfMonitorCollector</servlet-class>
              <load-on-startup>4</load-on-startup>
              <init-param>
                   <param-name>cronExpr</param-name>
                   <param-value>0 0 0 */1 * ?</param-value>
                   <!--<param-value>0 */10 * * * ?</param-value> -->
              </init-param>
         </servlet>
         <servlet>
              <servlet-name>TransAnalysisCollector</servlet-name>
              <servlet-class>com.dbag.optimise.performancemonitor.timer.TransAnalysisCollector</servlet-class>
              <load-on-startup>3</load-on-startup>
              <init-param>
                   <param-name>cronExprTransAnalysis</param-name>
                   <param-value>*/30 * * * * ?</param-value>
              </init-param>
         </servlet>
         <!-- Timer Details -->
         <!-- PerfMonPoints Cache Generation on Server Startup -->
         <servlet>
              <servlet-name>perfMonGenerator</servlet-name>
              <servlet-class>com.dbag.optimise.performancemonitor.timer.PerfMonPointsGenerator</servlet-class>
              <load-on-startup>2</load-on-startup>
         </servlet>
         <!-- PerfMonPoints Cache Generation on Server Startup -->
         <!-- Standard Action Servlet Mapping -->
         <servlet-mapping>
              <servlet-name>action</servlet-name>
              <url-pattern>*.do</url-pattern>
         </servlet-mapping>
         <!-- The Usual Welcome File List -->
         <welcome-file-list>
              <welcome-file>jsp/index.jsp</welcome-file>
         </welcome-file-list>
    But now i have deployed my application on JBOSS 5.1 GA version.
    Now its giving exception.
    Caused by:
    org.xml.sax.SAXException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'init-param'. One of '{"http://java.sun.com/xml/ns/javaee":run-as, "http://java.sun.com/xml/ns/javaee":security-role-ref}' is expected. @ vfsfile:/local/dubeavi/jboss-5.1.0.GA/server/default/deploy/PerformanceMonitoringISE-1.0/WEB-INF/web.xml[28,15]
    at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.error(SaxJBossXBParser.java:426)
    at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
    at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:199)
    ... 41 more

    My new web.xml is like..
    <web-app
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         id="WebApp_ID"
         version="2.5">
         <servlet>
              <servlet-name>action</servlet-name>
              <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
              <init-param>
                   <param-name>config</param-name>
                   <param-value>/WEB-INF/struts-config.xml</param-value>
              </init-param>
              <load-on-startup>1</load-on-startup>
         </servlet>

  • Stop/Start service of Ear application from Jboss AS using JMX Mbean API.

    Hi Frendz,
    Please help me on this issue :)
    I would like to stop/start my ear applcation from JMX Client which is deployed on jboss server 4.2.0.
    Code:
    ObjectName name = new ObjectName("jboss.j2ee:service=EARDeployment,url='rr-jms-ejb3.ear' ");
    MBeanServerConnection connection = (MBeanServerConnection) ctx.lookup(invoker);
    connection.invoke(name, "stop", null, null);
    I can see the status(stared/stopped) on JMX Console based on my operation(stop/start).
    But my application is always running irrespective of operation i have provided to invoke method.
    My ear has both web and ejb modules and i would like to stop both modules services.
    Any idea? ...please help me on this.
    Cheers,
    Cap

    wow, you waited all of half an hour before becoming inpatient when noone dropped what they were doing to come at your beg and call?

  • Porting application from WLS To WES

    I am new to weblogic enterprise..
    what i know is it is corba based and provides better transaction capability than weblogic application server (notably two phase commit)...
    I went through the documents and it generally talks about objects implemetation w.r.t to corba...
    Is it possible to run an appln containing JSP/EJB from weblogic application server to Weblogic Enterprise so that i can use two phase commit feature. Is this supported?
    thanks in advance

    Hi,
    which version of OAS 10g do you use? Did you checked the content of your ear file? How does the full stacktrace look like?
    I guess you could receive better help if you would provide more information.
    Regards,
    Eric

  • Need migrate application from glassfish to jboss

    I need to migrate some applications that currently run on glassfish to the application server jboss. if there is someone who knows both environment and who can help me solve some problems ?
    Thank you

    Hi, Its no so easy to migrate from tomcat to webserver 4.1, because the webserver4.1 doesnt admit j2ee modules.
    If you want to use j2EE maybe you have to use webserver 6.x

  • NAM 5.1 How to create Application with port range from cli?

    Hello,
    I can create new Applicaion with port range from GUI, but I can not do it from CLI
    If I do it by CLI as a:
    nam# application
    nam# name mkst-cur-A
    nam# match udp 16001-16009
    nam# exit
    then
    nam# show application app-tag 268435576
    custom:120 (268435576) mkst-cur-A
      udp 16001
    nam#
    But if I do it by GUI and than
    nam# show application app-tag 268435576
    custom:120 (268435576) mkst-cur-A
      udp 16001 - 16009
    nam#
    How to do it by CLI?

    Hi Alexey,
    Sure, the function you're looking for is in the ANALYSIS panel under the "CUrve Fitting" palette-- it's called "Linear Mapping".  You will need to create the desired X channel prior to calling this function, though, so you will probably need to use the ANALYIS function "Generate Numeric Channel" in the "Channel Functions" palette.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • What is the best way to port complete applications from DEV - Test - PRD?

    Hi,
    One of my customers recently asked me, Supposing I do the complete integrations and modelling in SOA Suite on the DEV Environment. Then,
    What is the best way to port complete applications from DEV -> Test -> PROD ??
    Also, since the URLs in use in the DEV environment would be very different from other environments, what is the easiest way to maintain them, and to build in Access Control mechanisms ?
    Best Regards

    Hi AJ,
    Nice PDF !
    Though the PDF does give a basic idea as to how we can go about the deployments using ANT and EM in Test and Prod, it doesn't really give extensive details. For eg. ANT would obviously need huge ANT scripts to be written for migrations to multiple Test servers, etc.
    Similarly, when we talk about EM, does it mean each of the services has to be manually deployed on Production ?
    I am sure we would be looking more towards a fully automated solution. No ?
    Best Regards
    Nitin

  • What is the best way to port complete applications from DEV - Test - PROD

    Hi,
    One of my customers recently asked me, Supposing I do the complete integrations and modelling in SOA Suite on the DEV Environment. Then,
    What is the best way to port complete applications from DEV -> Test -> PROD ??
    Also, since the URLs in use in the DEV environment would be very different from other environments, what is the easiest way to maintain them, and to build in Access Control mechanisms ?
    Best Regards

    It has been discussed here in detail-
    SOA 11g  Composite Deployment across multiple Instances: Best Practice
    since the URLs in use in the DEV environment would be very different from other environments, what is the easiest way to maintain them, and to build in Access Control mechanisms ?You may use deployment plan for this purpose. For access control, you may use Role Based access of Weblogic and EM. Please refer -
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10226/appx_roles_privs.htm#BABIHDFJ
    Regards,
    Anuj

  • Getting host name and port number from application

    Does anyone know how I would be able to get the host name
    and port number from an application launched by java webstart ?
    This is the host and port of the URL that this application is launched from.

    A couple of suggestions:
    -The note is about 6.40. Doesn't fit for your server
    -Don't!
    -Reinstall!
    Regards,
    Benny

  • Getting host name and port number from an application

    Does anyone know how I would be able to get the host name
    and port number from an application launched by java webstart ?
    This is the host and port of the URL that this application is launched from.

    A couple of suggestions:
    -The note is about 6.40. Doesn't fit for your server
    -Don't!
    -Reinstall!
    Regards,
    Benny

  • Porting Webservice from WL8.1 SP5 to WL9.2

    I am in the process of porting our webservices from WL8.1 SP5 to WL9.2 and have encountered a CodecException caused by an "XMLExcpetion: unable to lookup BindingTypeName" when processing the web service results (see stack trace below). Also below is a stripped down version of our result object code and JWS file that causes the stack trace. With previous versions of Weblogic (WL 8.1 SPx) using the servicegen task, there were not any issues with the nested arrays in the result objects.
    Thanks for the time. Any help is appreciated.
    Kent
    P.S. Apologies for the long post. If needed, I can make a zip file with the source and build.xml available via email or posting here if acceptable.
    ========================= Code =================
    package com.company.webservice;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    import javax.jws.soap.SOAPBinding;
    import weblogic.jws.WLHttpTransport;
    @WebService(name="TestWebServicesPort",
    serviceName="TestWebServiceResults",
    targetNamespace="http://company.com")
    @SOAPBinding(style=SOAPBinding.Style.DOCUMENT,
    use=SOAPBinding.Use.LITERAL)
    @WLHttpTransport(contextPath="TestWebServices",
    serviceUri="MyService",
    portName="TestWebServicesPort")
    public class TestWebServiceResults
    @WebMethod()
    public TestResults getTestResults() {
    Goo[] gooArray = new Goo[2];
    gooArray[0] = new Goo();
    gooArray[0].setDouble1(new Double(0.0));
    gooArray[0].setDouble2(new Double(0.0));
    gooArray[1] = new Goo();
    gooArray[1].setDouble1(new Double(1.0));
    gooArray[1].setDouble2(new Double(1.0));
    Moo[] mooArray = new Moo[1];
    mooArray[0] = new Moo();
    mooArray[0].setGoo(gooArray);
    Foo[] fooArray = new Foo[1];
    fooArray[0] = new Foo();
    fooArray[0].setMoo1(mooArray);
    fooArray[0].setMoo2(mooArray);
    TestResults testResults = new TestResults();
    testResults.setFoo(fooArray);
    return(testResults);
    =====
    package com.company.webservice;
    import java.io.Serializable;
    public class TestResults implements Serializable {
    private Foo[] foo = null;
    // constructor
    public TestResults() {
    public Foo[] getFoo() {
    return (foo);
    public void setFoo(Foo[] foo) {
    this.foo = foo;
    =====
    package com.company.webservice;
    import java.io.Serializable;
    public class Foo implements Serializable {
    // member data
    private Moo[] moo1 = null;
    private Moo[] moo2 = null;
    // constructor
    public Foo() {
    public Moo[] getMoo1 () {
    return (this.moo1);
    public Moo[] getMoo2 () {
    return (this.moo2);
    public void setMoo1 (Moo[] moo) {
    this.moo1 = moo;
    public void setMoo2 (Moo[] moo) {
    this.moo2 = moo;
    =====
    package com.company.webservice;
    import java.io.Serializable;
    public class Moo implements Serializable {
    // member data
    private Goo[] goo = null;
    // constructor
    public Moo() {
    public Goo[] getGoo () {
    return (goo);
    public void setGoo (Goo[] goo) {
    this.goo = goo;
    =====
    package com.company.webservice;
    import java.io.Serializable;
    public class Goo implements Serializable {
    // Member Data
    private Double double1 = null;
    private Double double2 = null;
    public Goo() {
    public Double getDouble1 () {
    return double1;
    public Double getDouble2 () {
    return double2;
    public void setDouble1 (Double double1) {
    this.double1 = double1;
    public void setDouble2 (Double double2) {
    this.double2 = double2;
    ======= build.xml =====
    <?xml version="1.0" encoding="UTF-8"?>
    <project basedir="." default="rebuild" name="TestWebServiceResults">
    <property name="WEBLOGIC_HOME" value="C:/bea" />
    <property name="SRC_DIR" value="./src" />
    <property name="CLASS_DIR" value="classes" />
    <property name="WEBLOGIC_DOMAIN" value="${WEBLOGIC_HOME}/user_projects/domains/mydomain"/>
    <property name="WEBLOGIC_SERVER_LIB" value="${WEBLOGIC_HOME}/weblogic92/server/lib" />
    <target name="rebuild" depends="clean, build, copy-ear"/>
    <target name="clean">
    <delete file="TestWebService.ear"/>
    <delete file="MyService.war"/>
    <delete file="APP-INF/lib/TestWebServiceResults.jar" />
    <delete dir="${CLASS_DIR}" />
    </target>
    <target name="build" depends="build-src, build-jar, build-webservice, build-ear" />
    <target name="build-src">
    <mkdir dir="${CLASS_DIR}"/>
    <javac srcdir="${SRC_DIR}"
    destdir="${CLASS_DIR}"
    includes="**/*.java"
    memoryMaximumSize="128m"
    fork="true"
    debug="on"
    optimize="on"
    deprecation="off" />
    </target>
    <target name="build-jar" >
    <jar destfile="APP-INF/lib/TestWebServiceResults.jar">
    <fileset dir="${CLASS_DIR}">
    <exclude name="**/TestWebServiceResults.class"/>
    <include name="**/*.class"/>
    </fileset>
    </jar>
    </target>
    <taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" classpath="${WEBLOGIC_SERVER_LIB}/weblogic.jar"/>
    <target name="build-webservice" >
    <jwsc srcdir="${SRC_DIR}"
    classpath="${CLASS_DIR}"
    destdir="."
    keepGenerated="yes"
    debug="on">
    <module name="MyService">
    <jws file="com/company/webservice/TestWebServiceResults.java" />
    <descriptor file="WEB-INF/web.xml" />
    </module>
    </jwsc>
    </target>
    <target name="copy-ear">
         <copy todir="${WEBLOGIC_DOMAIN}" file="TestWebService.ear" />
    </target>
    <target name="build-ear">
    <jar destfile="TestWebService.ear">
    <fileset dir=".">
    <include name="APP-INF/lib/*.*"/>
    <include name="MyService.war" />
    <include name="META-INF/application.xml" />
    <include name="META-INF/weblogic-application.xml" />
    </fileset>
    </jar>
    </target>
    </project>
    =========================== Stack Trace ================
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header />
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>soapenv:Server</faultcode>
    <faultstring>[Server CodecHandler] Failed to encode Failed to encode message</faultstring>
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0" />
    weblogic.wsee.codec.CodecException: Failed to encode message
    at weblogic.wsee.codec.soap11.SoapCodec.encode(SoapCodec.java:108)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.encode(CodecHandler.java:103)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.handleResponse(CodecHandler.java:50)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:242)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:226)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.callHandleResponse(ServerDispatcher.java:142)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:115)
    at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
    at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
    at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:165)
    at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:84)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3214)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: com.bea.xml.XmlException: unable to lookup BindingTypeName[com.company.webservice.Moo;t=Goo@java:com.company.webservice] from type com.bea.staxb.buildtime.internal.bts.WrappedArrayType[com.company.webservice.Moo[]; t=Moo@java:com.company.webservice]
    at com.bea.staxb.runtime.internal.WrappedArrayRuntimeBindingType.initialize(WrappedArrayRuntimeBindingType.java:74)
    at com.bea.staxb.runtime.internal.RuntimeBindingType.external_initialize(RuntimeBindingType.java:152)
    at com.bea.staxb.runtime.internal.RuntimeBindingTypeTable.createRuntimeType(RuntimeBindingTypeTable.java:111)
    at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.<init>(RuntimeBindingType.java:426)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.<init>(AttributeRuntimeBindingType.java:333)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameProperty.<init>(ByNameRuntimeBindingType.java:328)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.initElementProperty(ByNameRuntimeBindingType.java:192)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.initialize(AttributeRuntimeBindingType.java:96)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.initialize(ByNameRuntimeBindingType.java:127)
    at com.bea.staxb.runtime.internal.RuntimeBindingType.external_initialize(RuntimeBindingType.java:152)
    at com.bea.staxb.runtime.internal.RuntimeBindingTypeTable.createRuntimeType(RuntimeBindingTypeTable.java:111)
    at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.<init>(RuntimeBindingType.java:426)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.<init>(AttributeRuntimeBindingType.java:333)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameProperty.<init>(ByNameRuntimeBindingType.java:328)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.initElementProperty(ByNameRuntimeBindingType.java:192)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.initialize(AttributeRuntimeBindingType.java:96)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.initialize(ByNameRuntimeBindingType.java:127)
    at com.bea.staxb.runtime.internal.RuntimeBindingType.external_initialize(RuntimeBindingType.java:152)
    at com.bea.staxb.runtime.internal.RuntimeBindingTypeTable.createRuntimeType(RuntimeBindingTypeTable.java:111)
    at com.bea.staxb.runtime.internal.MarshallerImpl.marshalBindingType(MarshallerImpl.java:274)
    at com.bea.staxb.runtime.internal.MarshallerImpl.marshalType(MarshallerImpl.java:413)
    at weblogic.wsee.bind.runtime.internal.LiteralSerializerContext.marshalType(LiteralSerializerContext.java:70)
    at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.internalSerializeType(BaseSerializerContext.java:178)
    at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.serializeType(BaseSerializerContext.java:100)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodePart(SoapEncoder.java:267)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodeReturn(SoapEncoder.java:188)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodeParts(SoapEncoder.java:175)
    at weblogic.wsee.codec.soap11.SoapEncoder.encode(SoapEncoder.java:102)
    at weblogic.wsee.codec.soap11.SoapCodec.encode(SoapCodec.java:102)
    ... 24 more
    Caused by: com.bea.xml.XmlException: unable to lookup BindingTypeName[com.company.webservice.Moo;t=Goo@java:com.company.webservice] from type com.bea.staxb.buildtime.internal.bts.WrappedArrayType[com.company.webservice.Moo[]; t=Moo@java:com.company.webservice]
    at com.bea.staxb.runtime.internal.WrappedArrayRuntimeBindingType.initialize(WrappedArrayRuntimeBindingType.java:74)
    at com.bea.staxb.runtime.internal.RuntimeBindingType.external_initialize(RuntimeBindingType.java:152)
    at com.bea.staxb.runtime.internal.RuntimeBindingTypeTable.createRuntimeType(RuntimeBindingTypeTable.java:111)
    at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.<init>(RuntimeBindingType.java:426)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.<init>(AttributeRuntimeBindingType.java:333)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameProperty.<init>(ByNameRuntimeBindingType.java:328)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.initElementProperty(ByNameRuntimeBindingType.java:192)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.initialize(AttributeRuntimeBindingType.java:96)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.initialize(ByNameRuntimeBindingType.java:127)
    at com.bea.staxb.runtime.internal.RuntimeBindingType.external_initialize(RuntimeBindingType.java:152)
    at com.bea.staxb.runtime.internal.RuntimeBindingTypeTable.createRuntimeType(RuntimeBindingTypeTable.java:111)
    at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.<init>(RuntimeBindingType.java:426)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.<init>(AttributeRuntimeBindingType.java:333)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameProperty.<init>(ByNameRuntimeBindingType.java:328)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.initElementProperty(ByNameRuntimeBindingType.java:192)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.initialize(AttributeRuntimeBindingType.java:96)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.initialize(ByNameRuntimeBindingType.java:127)
    at com.bea.staxb.runtime.internal.RuntimeBindingType.external_initialize(RuntimeBindingType.java:152)
    at com.bea.staxb.runtime.internal.RuntimeBindingTypeTable.createRuntimeType(RuntimeBindingTypeTable.java:111)
    at com.bea.staxb.runtime.internal.MarshallerImpl.marshalBindingType(MarshallerImpl.java:274)
    at com.bea.staxb.runtime.internal.MarshallerImpl.marshalType(MarshallerImpl.java:413)
    at weblogic.wsee.bind.runtime.internal.LiteralSerializerContext.marshalType(LiteralSerializerContext.java:70)
    at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.internalSerializeType(BaseSerializerContext.java:178)
    at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.serializeType(BaseSerializerContext.java:100)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodePart(SoapEncoder.java:267)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodeReturn(SoapEncoder.java:188)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodeParts(SoapEncoder.java:175)
    at weblogic.wsee.codec.soap11.SoapEncoder.encode(SoapEncoder.java:102)
    at weblogic.wsee.codec.soap11.SoapCodec.encode(SoapCodec.java:102)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.encode(CodecHandler.java:103)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.handleResponse(CodecHandler.java:50)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:242)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:226)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.callHandleResponse(ServerDispatcher.java:142)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:115)
    at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
    at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
    at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:165)
    at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:84)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3214)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>

    I am having a similar problem with porting a webservice from JBoss to WebLogic 9.2.1. Can we have nested arrays in our beans? Everything builds fine, it is just when we invoke the service method and it returns a bean that has a nested array is where we are having problems. Here is my stack trace:
    Caused by: com.bea.xml.XmlException: unable to lookup BindingTypeName[com.company.model.RowData;t=string@http://www.w3.org/2001/XMLSchema] from type com.bea.staxb.buildtime.internal.bts.WrappedArrayType[com.company.model.RowData[]; t=RowData@java:com.company.model]
    at com.bea.staxb.runtime.internal.WrappedArrayRuntimeBindingType.initialize(WrappedArrayRuntimeBindingType.java:74)
    at com.bea.staxb.runtime.internal.RuntimeBindingType.external_initialize(RuntimeBindingType.java:152)
    at com.bea.staxb.runtime.internal.RuntimeBindingTypeTable.createRuntimeType(RuntimeBindingTypeTable.java:111)
    at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.<init>(RuntimeBindingType.java:426)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.<init>(AttributeRuntimeBindingType.java:333)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameProperty.<init>(ByNameRuntimeBindingType.java:328)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.initElementProperty(ByNameRuntimeBindingType.java:192)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.initialize(AttributeRuntimeBindingType.java:96)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.initialize(ByNameRuntimeBindingType.java:127)
    at com.bea.staxb.runtime.internal.RuntimeBindingType.external_initialize(RuntimeBindingType.java:152)
    at com.bea.staxb.runtime.internal.RuntimeBindingTypeTable.createRuntimeType(RuntimeBindingTypeTable.java:111)
    at com.bea.staxb.runtime.internal.MarshallerImpl.marshalBindingType(MarshallerImpl.java:274)
    at com.bea.staxb.runtime.internal.MarshallerImpl.marshalType(MarshallerImpl.java:413)
    at weblogic.wsee.bind.runtime.internal.LiteralSerializerContext.marshalType(LiteralSerializerContext.java:70)
    at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.internalSerializeType(BaseSerializerContext.java:178)
    at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.serializeType(BaseSerializerContext.java:100)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodePart(SoapEncoder.java:267)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodeReturn(SoapEncoder.java:188)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodeParts(SoapEncoder.java:175)
    at weblogic.wsee.codec.soap11.SoapEncoder.encode(SoapEncoder.java:102)
    at weblogic.wsee.codec.soap11.SoapCodec.encode(SoapCodec.java:104)
    ... 24 more
    Caused by: com.bea.xml.XmlException: unable to lookup BindingTypeName[com.company.model.RowData;t=string@http://www.w3.org/2001/XMLSchema] from type com.bea.staxb.buildtime.internal.bts.WrappedArrayType[com.company.model.RowData[]; t=RowData@java:com.company.model]
    at com.bea.staxb.runtime.internal.WrappedArrayRuntimeBindingType.initialize(WrappedArrayRuntimeBindingType.java:74)
    at com.bea.staxb.runtime.internal.RuntimeBindingType.external_initialize(RuntimeBindingType.java:152)
    at com.bea.staxb.runtime.internal.RuntimeBindingTypeTable.createRuntimeType(RuntimeBindingTypeTable.java:111)
    at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.<init>(RuntimeBindingType.java:426)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.<init>(AttributeRuntimeBindingType.java:333)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameProperty.<init>(ByNameRuntimeBindingType.java:328)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.initElementProperty(ByNameRuntimeBindingType.java:192)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.initialize(AttributeRuntimeBindingType.java:96)
    at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.initialize(ByNameRuntimeBindingType.java:127)
    at com.bea.staxb.runtime.internal.RuntimeBindingType.external_initialize(RuntimeBindingType.java:152)
    at com.bea.staxb.runtime.internal.RuntimeBindingTypeTable.createRuntimeType(RuntimeBindingTypeTable.java:111)
    at com.bea.staxb.runtime.internal.MarshallerImpl.marshalBindingType(MarshallerImpl.java:274)
    at com.bea.staxb.runtime.internal.MarshallerImpl.marshalType(MarshallerImpl.java:413)
    at weblogic.wsee.bind.runtime.internal.LiteralSerializerContext.marshalType(LiteralSerializerContext.java:70)
    at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.internalSerializeType(BaseSerializerContext.java:178)
    at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.serializeType(BaseSerializerContext.java:100)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodePart(SoapEncoder.java:267)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodeReturn(SoapEncoder.java:188)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodeParts(SoapEncoder.java:175)
    at weblogic.wsee.codec.soap11.SoapEncoder.encode(SoapEncoder.java:102)
    at weblogic.wsee.codec.soap11.SoapCodec.encode(SoapCodec.java:104)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.encode(CodecHandler.java:103)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.handleResponse(CodecHandler.java:50)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:242)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:226)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.callHandleResponse(ServerDispatcher.java:142)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:115)
    at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
    at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
    at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:173)
    at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:92)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3245)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

  • What is the easiest way to open an application from Labview?

    I need to open an application from labview and depending on a user's selection, load one out of a group of files for the application that is opened. I need to know what is the best or easiest way to open an application and load a file that is used by the application based on a selection.

    Here is the response that I got from Cognex when I asked them about how to do this. Do you understand what they are talking about?
    In order to do something like this you will probably want to look into the Display Control/SDK for In-Sight. The Display Control gets installed along with In-Sight Explorer and includes a control that can be used in an environment like Labview to communicate with In-Sight sensors while the SDK is an enhanced version of the Display Control that gives you more control and functionality. I am not very familiar with the Labview environment so I will give some code snippets in VB.Net and hopefully you can adjust them as necessary. Specifically I see 3 possible avenues to do this:
     1) Using the Display Control you have access to many of the dialog boxes that are used in In-Sight Explorer including the Load Job dialog box. You can spawn this dialog box through a line of code similar to cvsInSightDisplay1.Edit.OpenJob.Execute(). I am not certain if the Labview environment will be able to spawn and display this dialog though. 2) With the addition of the SDK (additional purchase) you can directly access sensor properties including the job. There is a method called LoadJobFile to load jobs from on the sensor and LoadJobFileLocally to load jobs from the host machine. A typical line of code might be cvsInSightDisplay1.InSight.File.LoadJobFile("myjob1.job").3) If Labview cannot handle the dialogs and the SDK is not an option for you then you may still be able to do this using Native Mode commands. Native Mode commands are sent through a socket on the telnet port (typically port 23). Keep in mind that you will need to handle the username/password prompt and response when you first open the socket before issuing any Native Mode commands. The command to load a job file from the sensor would be the Load File command which would be a string similar to "LF myjob1.job". The Native Mode commands are documented in the In-Sight Explorer help file. 

  • "Undefined Function Key. Press Ctrl+F1..." Porting app from 6i to 10G

    I am running into a problem porting my application from Oracle Forms 6i to 10G. When I am querying a record based on a field that is not the first on the screen, I get an "Undefined Function Key. Press Ctrl+F1 for list of valid keys." error. I do not get the error using the same function keys from the first field on the screen. I also do not get the error if I click into another field (besides the one I an querying) before hitting my execute query key.
    I did some research, and found a fix that seems to work. I can add a WHEN_MOUSE_CLICKED trigger to the form and put in the following:
    Go_Item(:System.Mouse_Item);
    That seems to fix the issue. My problem is that I have close to 400 forms to upgrade. I would like to avoid adding this manually to every single form. I have looked into libraries, but I can't seem to figure out how to replicate a WHEN_MOUSE_CLICKED trigger using procedures. I was wondering if there was a way to use the Forms upgrade utility to add this trigger to every form it converts. Does anyone know if that can be done?
    Thanks in advance for your help with this.

    I'm not sure this solves the problem. This would call the trigger, but the trigger does not currently exist. I would still have to manually create the trigger in all 400 (or so) forms. Is there a way to add it in a more global way?
    Thanks.

  • Error in deploying entity beans - migration from JBoss to Weblogic 10.3.4

    Hi,
    I am migrating EJB2.x code from JBoss to Weblogic 10.3.4. As a first step, I am tyring to deploy just Entity beans. I get following error when deploying to server.
    'weblogic.application.ModuleException: Exception preparing module: EJBModule(myEJB.jar)
    Unable to deploy EJB: CollMetaData from myEJB.jar:
    [EJB:011017]Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:
    There are 1 nested errors:
    java.lang.NullPointerException
         at weblogic.ejb.container.cmp.rdbms.finders.EjbqlFinder.setMethods(EjbqlFinder.java:288)
         at weblogic.ejb.container.cmp.rdbms.Deployer.processFinders(Deployer.java:744)
         at weblogic.ejb.container.cmp.rdbms.Deployer.readTypeSpecificData(Deployer.java:446)
         at weblogic.ejb.container.persistence.PersistenceType.setTypeSpecificFile(PersistenceType.java:506)
         at weblogic.ejb.container.persistence.PersistenceType.setupDeployer(PersistenceType.java:455)
         at weblogic.ejb.container.deployer.CMPInfoImpl.setup(CMPInfoImpl.java:118)
         at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1214)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:442)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Can someone help me fixing the issue?
    I changed schema locations of descriptor files as suggested at http://download.oracle.com/docs/cd/E17904_01/web.1111/e13706/overview.htm#i1074199 (see the third category for '*Enterprise Bean 2.1*' in the listing Table 1-1). Alternatively, you may see the schema locations for EJB2.0 directly at http://download.oracle.com/docs/cd/E17904_01/web.1111/e13719/dd_reference.htm#EJBPG481

    JRE version in JBoss is 1.6.0_16. JVM in web logic is pointing to jrockit_160_22_D1.1.1-3 which is come in the package. It doesn't seem to be related to JVM version mismatch.
    I think it is an issue with definitions in weblogic-cmp-rdbms-jar.xml file. How should be the definition of entity-descriptor appear for entity bean which has finder methods in ejb-jar.xml?
    Please see the snippets from corresponding descriptor files below.
    ejb-jar.xml
    =========
    <entity>
    <display-name>EmpBean</display-name>
    <ejb-name>EmpBean</ejb-name>
    <local-home>LocalEmpBeanHome</local-home>
    <local>LocalEmpBean</local>
    <ejb-class>EmpBeanBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>EmpBean</abstract-schema-name>
    <cmp-field>
    <field-name>firstName</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>lastName</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>phone</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>address</field-name>
    </cmp-field>
    <primkey-field>lastName</primkey-field>
    <query>
    <query-method>
              <method-name>findByPrimaryKey</method-name>
                   <method-params>
                   <method-param>java.lang.String</method-param>
                   </method-params>
              </query-method>
              <ejb-ql>SELECT Object(o) FROM EmpBean o WHERE o.lastName= ?1</ejb-ql>
         </query>
    </entity>
    weblogic-jar.xml
    ============
    <weblogic-enterprise-bean>
    <ejb-name>EmpBean</ejb-name>
    <entity-descriptor>
         <pool>
              <max-beans-in-free-pool>20</max-beans-in-free-pool>
              <initial-beans-in-free-pool>5</initial-beans-in-free-pool>
         </pool>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>meta-inf/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    <finders-load-bean>true</finders-load-bean>
    </persistence>
    </entity-descriptor>
    <local-jndi-name>ejb/EmpBean</local-jndi-name>
    </weblogic-enterprise-bean>
    weblogic-cmp-rdbms-jar.xml
    ====================
    <weblogic-rdbms-bean>
    <ejb-name>EmpBean</ejb-name>
    <data-source-jndi-name>mysqlDS</data-source-jndi-name>
    <table-map>
    <table-name>emp</table-name>
    <field-map>
    <cmp-field>firstName</cmp-field>
    <dbms-column>first_namel</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>lastName</cmp-field>
    <dbms-column>last_name</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>phone</cmp-field>
    <dbms-column>phone</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>address</cmp-field>
    <dbms-column>address</dbms-column>
    </field-map>
    </table-map>
    <weblogic-rdbms-bean>
    Please ignore any typos that you may notice in above sample descriptions (because I just typed it here changing original names).
    When I try to deploy the application, I get error message as posted in my first post above in this thread. Please correct me if I am making any erros in descriptor files.
    Edited by: 839281 on Feb 25, 2011 10:55 AM
    Edited by: venkatp on Mar 1, 2011 9:31 AM

  • Error while migrating JMS application from Weblogic8.1 to Weblogic10.3

    Hi All,
    I am migrating my JMS application from weblogic8.1 to 10.3. I'm able to publish and subscribe message from local weblogic server. But when i'm configuring ldap server in weblogic-ejb-jar.xml, while deploying the application itself i'm getting the below error. Same thing working fine in weblogic8.1.
    For this am i need to use foreignjms?. If this is the case please let me know how to configure foreignjms in weblogic10.3 server.
    below are the details i'm giving in weblogic-ejb-jar.xml:
    <message-driven-descriptor>
    <pool>
    <max-beans-in-free-pool>10</max-beans-in-free-pool>
    <initial-beans-in-free-pool>3</initial-beans-in-free-pool>
    </pool>
         <destination-jndi-name>evtTESTEH3Queue</destination-jndi-name>
    <initial-context-factory>com.sun.jndi.ldap.LdapCtxFactory</initial-context-factory>
    <provider-url>ldap://192.168.20.18:389/ou=mqseries,o=crimsonlogic.com</provider-url>
    <connection-factory-jndi-name>ivtQCF</connection-factory-jndi-name>
    </message-driven-descriptor>
    Error:
    weblogic.application.ModuleException: Exception activating module: EJBModule(evtEJB.jar)
    Unable to deploy EJB: JMSTESTEVTEventSubscriberMDBean from evtEJB.jar:
    unable to find EndPointFinder for ldap://192.168.20.18:389/ou=mqseries,o=crimsonlogic.com
    at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:493)
    at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:411)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:74)
    Truncated. see log file for complete stacktrace
    java.lang.AssertionError: unable to find EndPointFinder for ldap://192.168.20.18:389/ou=mqseries,o=crimsonlogic.com
    [email protected] on Mar 18, 2009 3:07 AM

    Hello TomB,
    Could you elaborate a bit on your explanation? I'm having the same problem as talk2srujan. I currently have an application which works fine in weblogic81 and, when migrated to weblogic103, fails at deployment time. The error I get is: unable to find EndPointFinder for tibjmsnaming://host:port
    We didn't have to register any foreign servers in weblogic81, should I do this in weblogic103?
    Could you also give a pointer to the known bug you mentioned?
    Thanks in advance,
    Rudra

Maybe you are looking for

  • Windows error message and repair?

    Hi everyone. I'm having a huge headache with my macbook right now, maybe someone can help? Sorry this post is so long! Immediately after I click to boot into Windows I get this message with a black screen: "Windows could not start because the followi

  • OSB proxy service lookup

    I am creating a dynamic route in an OSB proxy service. Is there a way to lookup a proxy service using its "Endpoint URI" ? Thank you for any help! Jeff

  • How to retrieve GPS data?

    Hey Can anybody tell me if it is possible, in a generel way, to retrieve GPS positioning data? (and maybe post a link, where i can read more? ) MY test devicde is a SonyErikson W760, with a buidin GPS reciever! I searched a little, but i don't know t

  • ASA5510 VPN authenticate AD group members

    Hi Forum, is there a way to configure an AAA server for Active Directory so that just users that are a member of one certain Active Directory security group get authenticated? I don't really know what attributes to map or if this is even possible. I

  • Mail does not save attachment in rtfd file

    When I save a message with an attachment into rich text file, the attachment is not saved. I have an email with an attached word file: I choose File>Save As..., I check the box "Include Attachments", I choose the Format as Rich Text and navigate to t