Weblogic 8.1 and EJB packaging with appc

We are deploying each EJB as a seperate JAR file with individual ejb-jar and weblogic-ejb-jar.xml files. This is under Weblogic 7.1. In our build script we are using <ejbjar> with nested <weblogic> element for packaging.
We are planning to migrate to Weblogic8.1 and it was recommended to use appc instead of ejbc. What is the best way to prepare ejb jar file using <ejbjar> task and not using <weblogic> element. How do we prepare the the individual jar files without having to have individual <ejbjar> task for each EJB?

54275,
any suggestions to resolve this will be greatly
appreciatedI would like to make a suggestion: Investigate the object returned from your stored procedure via Java's reflection mechanism.
By the way, if you're calling a stored procedure, shouldn't you be invoking the "execute()" method (of "java.sql.CallableStatement") and not the "executeUpdate()" method?
Good Luck,
Avi.

Similar Messages

  • Weblogic 12c cluster and EJB 3.1 timers

    Hello!
    I'm using Weblogic 12c (12.1.1.0) Cluster.
    I configured the cluster to use database for EJB timers (ACTIVE and WEBLOGIC_TIMERS tables). I created a persistence store with logical name 'timerst'.
    The timer bean:
    @Stateless
    public class TimerTestBean {
         private Logger logger = Logger.getLogger(TimerTestBean.class);
         @Resource
         TimerService timerService;
         public void settimer() {
              logger.info("settimer");
              timerService.createTimer(30000, "New timer");
         @Timeout
         public void zszszszs(Timer arg0) {
              logger.info("Tick");
              settimer();
    weblogic-ejb-jar.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-ejb-jar xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-ejb-jar" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd http://xmlns.oracle.com/weblogic/weblogic-ejb-jar http://xmlns.oracle.com/weblogic/weblogic-ejb-jar/1.3/weblogic-ejb-jar.xsd">
    <!--weblogic-version:12.1.1-->
    <wls:weblogic-enterprise-bean>
    <wls:ejb-name>TimerTestBean</wls:ejb-name>
    <wls:stateless-session-descriptor>
    <wls:timer-descriptor>
    <wls:persistent-store-logical-name>timerst</wls:persistent-store-logical-name>
    </wls:timer-descriptor>
    </wls:stateless-session-descriptor>
    </wls:weblogic-enterprise-bean>
    <wls:timer-implementation>Clustered</wls:timer-implementation>
    </wls:weblogic-ejb-jar>
    It seems the timer starts normally.
    When there timer fires, I've got the following error message:
    java.lang.ClassCastException: timertest.TimerTestBean_9kqf6o_Impl cannot be cast to javax.ejb.TimedObject
    What is wrong?
    Thanks
    Balazs
    Edited by: 892403 on 2013.02.19. 10:43
    Edited by: 892403 on 2013.02.19. 10:44

    Issues have been found with @Schedule and @Timeout annotations in WLS clustered timer implementation.
    The problem is fixed with 12.1.2 WLS version. Patch exists for 12.1.1.0 version.
    Please download and apply Patch 13417115 from Oracle Support Portal.
    Thanks,
    Vijaya

  • BT broadband (not infinity) and the package with M...

    Can i get MTV without having infinity? I dont really need infinity but would like MTV and have looked so many times and tried different ways to add it but can not figure it out
    It says i can add it then when i try it it says nothing more about it

    Without Infinity, no you can't.

  • OC4J EJBQL and EJB 2.0 features

    Hello Debu Panda and All
    I've got all howtos and I mangaged to get some parts of OC4J [Oracle9iAS (9.0.3.0.0) Containers for J2EE (build 020323.1689)] working.
    There are still some issues that are stalling our development. Could you please comment on them, maybe providing an estimate of when they will be solved/implemented?
    First of all, a little background. Our application uses many Java Swing application clients that connect to the EAR application in the container.
    The ear application has the following structure:
    All database access (Oracle 8i, located in its own server) is done exclusively by means of CMP entity beans. A entity bean may access other entity beans. There are workflow session beans (stateful and stateless) that access the entity beans. All clients see only the workflow session beans (session beans fagade).
    Our applicatoin is complex, having more than 80 session beans and more than 25 entity beans (not counting entity beans that exist only to represent relationships among entity beans).
    There goes the questions:
    1) It seems that entity beans cannot currently be referenced by remote interfaces. We couldn't deploy our application using it. Since we could use only local interfaces fot entity beans, thats what is been done now.
    2) There is no CMR supported. Is this true?
    3) EJBQL seems to be very limited. In the howto examples there are EJBQL statements that compare two numbers. However, when we tried to use String comparisons, it didn't work. Here is the statement:
    "SELECT DISTINCT OBJECT(p) FROM Person p WHERE p.name = ?1"
    If I compile, package and deploy the ear applicatin with the above EJBQL statement, OC4J generates an exception when executing the finder method. The exception is:
    "java.rmi.NoSuchObjectException: Session has timed out
    at com.evermind.server.ejb.StatefulSessionEJBObject.throwPassivisat
    ception(StatefulSessionEJBObject.java:188)
    at Cad023Remote_StatefulSessionBeanWrapper0.obterPessoasPorParteNom
    023Remote_StatefulSessionBeanWrapper0.java:754)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:8
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)"
    If I remove the where clause, the expection is gone. However, I get all records. ;-)
    4) It seems that all EJBQL clauses must be capitalized. Is this true?
    FINALY)
    Is there a newer OC4J build that could use to get the development going? Do you know where there will be one? Is there any way of contacting the OC4J development team to report bugs?
    If you would like, we could discuss it in private e-mail (please use my private mail [email protected]).
    Thanks for your attention,
    Luis Fernando Soeiro
    Hi !! OC4J 9.0.3 developer's preview has most features of EJB 2.0. We are working on updating on our docs and samples for EJB 2.0
    Please look at the following URL that has some How Tos on EJB 2.0 features such Local Interfacea, EJB QL, etc : http://otn.oracle.com/tech/java/oc4j/htdocs/oc4j-how-to.html#ejb
    regards
    Debu Panda
    Oracle --------------------------
    Luis Soeiro <mailto:[email protected]> <mailto:[email protected]>Type : Question Date : Apr 11, 2002 15:15 PT Hello
    Some colleagues and I are trying to port a large project from JBOSS to OC4J. We used JBOSS 3.0 (beta) in order to evaluate EJB2.0 features and see if we could use it. We already have OC4J in production, but only as a JSP/Servlet container. The next step would be to deploy our EJB application to OC4J.
    We have read the material and it is written that OC4J (developers preview) is EJB 2.0 compliant. However, the specific documentation and the examples don't show how to specify OC4J specifc XML files. We absolutely need CMR and Local Interfaces, because we don't have the time required to downgrade our JBoss EJB2.0 application to the EJB 1.1 specification. We have over 80 Session Beans and over 20 Entity Beans.
    Is there anybody there that can confirm that OC4J developer's preview is really EJB2.0 compliant? If so, could you send me some pointers to information about OC4J container specifc deployment descriptors? The docs listed at the web site don't have EJB2.0 features listed, nor does the Oracle samples.
    Thanks for your attention,
    desperately,
    Luis Fernando Soeiro

    HI,
    I worked out CMR and EJB-QL with single bean.
    Using CMR, it is possible to get one bean reference through other bean, but
    When I tried EJB-QL with bean to bean navigation then I run into problem.

  • CF8 on Weblogic 10.0 and Apache

    I am trying to configure CF8 as an EAR file on Weblogic 10.0
    and configuring it with Apache webserver. The settings for Weblogic
    are made as mentioned in the configuration document and CF8 is
    working fine on Weblogic.
    Now for Apache connectivity, a connector is configured for
    Weblogic which handles *.cfm files requests as well.
    - The CFM files are kept in webserver and when I try to open
    a cfm file, the proxy is getting invoked but since Weblogic doesn't
    find the file URI it returns 404.
    - Please let me know how can the CFM files kept on Webserver
    be rendered using CF8 deployed on Weblogic
    Or there is a need for these files to be kept on the Weblogic
    Appserver only

    sam_cf09 wrote:
    > Can the CFM files be a part of any WAR file deployed on
    Weblgic and Cold
    > fusion will take care of rendering them
    Sure. If you want to put a file example.cfm in a WAR file,
    put it in the
    root of the WAR. Your folder structure will look something
    like:
    WAR/
    WAR/example.cfm
    WAR/WEB-INF
    WAR/WEB-INF/web.xml
    WAR/WEB-INF/*
    WAR/WEB-INF/cfusion
    WAR/WEB-INF/cfusion/lib/
    etc.
    Then if you have a context root "/test" in your
    Application.xml you can
    reach your template through the URL
    http://server/test/example.cfm
    The best way to get a WAR (or EAR) file for deployment is to
    run the
    installer. It has the option to generate a WAR or EAR for
    you. Use that,
    then later unjar it to see how it looks internally.
    Jochem
    Jochem van Dieten
    Adobe Community Expert for ColdFusion

  • In your lab05, replace instructor's Tokenizer class and MyStackQueue packag

    Objective:
    The objective of this lab is to get you some experience in processing strings character by
    character and in implementing stacks and queues in a class package.
    The programming assignment:
    In your lab05, replace instructor’s Tokenizer class and MyStackQueue package with your own.
    Requirements:
    1. You must use an array to implement your queue.
    2. You must use a linked list to implement your stack.
    3. You must use the following frame work to implement your tokenizer.
    class Tokenizer {
    private char [] Buf;
    private int cur;
    Tokenizer(String infixExpression) {
    Buf = infixExpression.toCharArray();
    cur = 0;
    Token nextToken() {
    1. Skip blanks.
    2. if (cur>=Buf.length) return null;
    3. If the next character is a digit, keep reading until a non-digit is read.
    Convert the string of digits into an integer.
    String Digits = new String(Buf, start, len);
    int num = Integer.valueOf(Digits).intValue();
    Create and return an operand.
    4. Otherwise, use the next character to create and return an operator.
    class Tokenizer {
         private char[] Buf;
         private int cur;
         Tokenizer(String infixExpression) {
              Buf = infixExpression.toCharArray();
              cur = 0;
         Token nextToken() {
              int bufLength = Buf.length;
              Object obj = null;
              // ignore blank space
              while (cur < bufLength && Buf[cur] == ' ') {
                   cur++;
              // if given string having only space return null
              if (cur >= Buf.length)
                   return null;
              StringBuilder value = new StringBuilder();
              // Iterate through each element of string array and construct an string
              // for consecutive digits
              while (cur < bufLength && Buf[cur] <= '9' && Buf[cur] >= '0') {
                   value.append(Buf[cur]);
                   cur++;
              // if digits are there convert all digits as an integer value and create
              // operand
              if (value.length() > 0) {
                   obj = new Operand(Integer.parseInt(value.toString()));
              // if at cur position no digit is present then create operand with the
              // same non digit value
              else {
                   obj = new Operator(Buf[cur]);
                   cur++;
              return ((Token) (obj));
    package StackAndQueue;
    public class Queue {
         private int front;
         private int rear;
         private int capacity;
         private Object S[];
         public Queue() {
              front = 0;
              rear = -1;
              capacity = 100;
              S = new Object[capacity];
         public boolean isEmpty() {
              return S[front] == null;
         public void enqueue(Object obj) {
              int insertionPoint = (rear + 1) % capacity;
              if (S[insertionPoint] == null) {
                   S[insertionPoint] = obj;
                   rear = insertionPoint;
              } else {
                   System.out.println("Queue capacity is full");
         public Object dequeue() {
              if (S[front] != null) {
                   Object obj = S[front];
                   S[front] = null;
                   front = (front + 1) % capacity;
                   return obj;
              } else {
                   System.out.println("Queue is empty");
                   return null;
         public String toString() {
              StringBuilder state = new StringBuilder("[");
              for (int i = front; i < capacity; i++) {
                   if (S[i] != null) {
                        state.append(S[i] + ", ");
              for (int i = 0; i < front; i++) {
                   if (S[i] != null) {
                        state.append(S[i] + ", ");
              if (state.length() > 1) {
                   state.delete(state.length() - 2, state.length() - 1);
              state.append("]");
              return state.toString();
    package StackAndQueue;
    import java.util.LinkedList;
    import java.util.List;
    public class Stack {
         List<Object> linkedList = null;
         public Stack() {
              linkedList = new LinkedList<Object>();
         public boolean isEmpty() {
              return linkedList.size() == 0;
         public void push(Object obj) {
              linkedList.add(obj);
         public Object pop() {
              int topIndex = linkedList.size() - 1;
              if (topIndex >= 0) {
                   Object obj = linkedList.get(topIndex);
                   linkedList.remove(topIndex);
                   return obj;
              } else {
                   return null;
         public Object top() {
              int topIndex = linkedList.size() - 1;
              if (topIndex >= 0) {
                   return linkedList.get(topIndex);
              } else {
                   return null;
    }

    So you want us to do what ?
    Edited by: sabre150 on Oct 9, 2012 3:17 PM
    Cross posted to http://www.coderanch.com/t/594750/Servlets/java/your-lab-replace-instructor-Tokenizer .

  • Transaction with third party JMS providers and ejb

              I am using a container managed stateless session bean to send messages to an ibm
              mqseries running on the same computer. The EJB is deployed on weblogic 7.0. It
              seems that sending JMS messages do not participate in the transaction and that
              I have to call queueSession.commit() explicity every time. However, receiving
              messages via Message Driven Beans in a transaction is not a problem. Any clue
              how to resolve this or what is happening?
              

    To do this today, you'd have to get the "XAResource" object from your JMS
              provider's XASession object, and register it with JTA. I know this has come
              up before, and you should be able to find more about this on the newsgroup.
              Basically, every time you send a message, you need to do something like
              this:
              import javax.jms.*;
              import javax.transaction.*;
              XASession xaSession; // This is your vendor's XASession object
              XAResource xaResource = xaSession.getXAResource();
              Transaction tran = weblogic.transaction.TxHelper.getTransaction();
              tran.enlistResource(xaResource);
              // Now send your message!
              You need to call "enlistResource" every time you send a message, or it won't
              work.
              WebLogic Server 8.1 will be able to do this automatically as long as you're
              inside an EJB or a servlet.
              greg
              "raj" <[email protected]> wrote in message
              news:[email protected]..
              >
              > I am using a container managed stateless session bean to send messages to
              an ibm
              > mqseries running on the same computer. The EJB is deployed on weblogic
              7.0. It
              > seems that sending JMS messages do not participate in the transaction and
              that
              > I have to call queueSession.commit() explicity every time. However,
              receiving
              > messages via Message Driven Beans in a transaction is not a problem. Any
              clue
              > how to resolve this or what is happening?
              

  • Weblogic-cmp-jar.xml and EJB 1.1

    I am working on migrating a number of components from JBoss to WebLogic 10. Some of these components are using EJB 1.1. I want to do the migration without having to updated to EJB 2.0 or EJB 3.0.
    I have looked at the documentation for WebLogic 10 and understand that you need to use weblogic-cmp-jar.xml when using EJB 1.1. The problem is that I can not find an example of the weblogic-cmp-jar.xml. The documentation doesn't appear to fully document what the xml needs to look like.
    Would someone be able to provide me with a simple example of the weblogic-cmp-jar.xml for use with EJB 1.1?
    Thanks

    You can reference the edoc at:
    http://e-docs.bea.com/wls/docs100/ejb/DDreference-cmp-jar.html
    http://e-docs.bea.com/wls/docs100/ejb/ejb11.html

  • WebLogic 9 and Antlr problem with JMS Messages

    Hi all,
    I'm facing a problem and your help would be very appreciated.
    We've got an EAR application deployed on a WebLogic 9.x. As we use Hibernate3, when we put it into WebLogic 10, we needed to add "antlr" library to our "weblogic-application.xml" as "prefer-application-packages" (This is because of the well-known error of ClassNotFoundException of the HqlToken class).
    The version of Antlr we have is 2.7.7, and works perfectly in WebLogic 10.
    Now, we want to have an EAR that can be installed in both WebLogic 9.x and 10. But we're getting a fatal exception when we want to create a JMS consumer with a JMS selector in WebLogic 9.x(this is for listening only for the message we need in the queue).
    So, in WebLogic 10 it works with "antlr" in the prefer-application-packages, but in WebLogic 9.x doesn't. And if we don't put it there, it works in WL 9 but not in WL 10.
    The best would be to have the library in the weblogic-application.xml so WebLogic put our library first in the classpath. But in WL 9 we've got this exception:
    javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "invocationId = '124567585'"
         at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:45)
         at weblogic.jms.client.JMSSession.consumerCreate(JMSSession.java:2659)
         at weblogic.jms.client.JMSSession.setupConsumer(JMSSession.java:2432)
         at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:2379)
         at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:2359)
         at weblogic.jms.client.WLSessionImpl.createConsumer(WLSessionImpl.java:800)
         at crm.appl.cat.CatUtil.enviarMensajeSync(CatUtil.java:244)
         at crm.appl.cat.mar.CatMessageReceiver.receive(CatMessageReceiver.java:571)
         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         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.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
         at crm.appl.cat.mar.CatServlet.service(CatServlet.java:108)
         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.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at crm.appl.cat.mar.CatFilter.doFilter(CatFilter.java:33)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)
         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: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "invocationId = '124567585'"
         at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:63)
         at weblogic.jms.dispatcher.Request.getResult(Request.java:51)
         at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:895)
         at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:178)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:43)
         ... 35 more
    Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "invocationId = '124567585'"
         at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:45)
         at weblogic.jms.frontend.FEConsumer.<init>(FEConsumer.java:255)
         at weblogic.jms.frontend.FESession$2.run(FESession.java:966)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.jms.frontend.FESession.consumerCreate(FESession.java:962)
         at weblogic.jms.frontend.FESession.invoke(FESession.java:2824)
         at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:759)
         ... 37 more
    Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "invocationId = '124567585'"
         at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:63)
         at weblogic.jms.dispatcher.Request.getResult(Request.java:51)
         at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:895)
         at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:178)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:43)
         ... 44 more
    Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "invocationId = '124567585'"
         at weblogic.jms.backend.BEQueueImpl.createFilterExpression(BEQueueImpl.java:155)
         at weblogic.jms.backend.BEQueueImpl.createConsumer(BEQueueImpl.java:182)
         at weblogic.jms.backend.BESessionImpl.createBEConsumer(BESessionImpl.java:368)
         at weblogic.jms.backend.BESessionImpl.createConsumer(BESessionImpl.java:378)
         at weblogic.jms.backend.BESessionImpl.invoke(BESessionImpl.java:289)
         at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:759)
         ... 46 more
    Check that "invocationId" is a JMS String Property that we're adding in the messages. Our same source code works perfect in WL 9 without "antlr" as an prefered application package. You know that in WL 9, the antlr library was bundled into the weblogic.jar, so WL has it in his System classpath.
    Someone has an idea how we can solve this? The final solution may be having 2 EARs (one for WL 9 and one for WL 10, with the only change of the weblogic-application.xml), but it's not a nice solution.
    Thank you a lot in advance.
    Ariel Cassan
    Argentina

    Hi all,
    I'm facing a problem and your help would be very appreciated.
    We've got an EAR application deployed on a WebLogic 9.x. As we use Hibernate3, when we put it into WebLogic 10, we needed to add "antlr" library to our "weblogic-application.xml" as "prefer-application-packages" (This is because of the well-known error of ClassNotFoundException of the HqlToken class).
    The version of Antlr we have is 2.7.7, and works perfectly in WebLogic 10.
    Now, we want to have an EAR that can be installed in both WebLogic 9.x and 10. But we're getting a fatal exception when we want to create a JMS consumer with a JMS selector in WebLogic 9.x(this is for listening only for the message we need in the queue).
    So, in WebLogic 10 it works with "antlr" in the prefer-application-packages, but in WebLogic 9.x doesn't. And if we don't put it there, it works in WL 9 but not in WL 10.
    The best would be to have the library in the weblogic-application.xml so WebLogic put our library first in the classpath. But in WL 9 we've got this exception:
    javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "invocationId = '124567585'"
         at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:45)
         at weblogic.jms.client.JMSSession.consumerCreate(JMSSession.java:2659)
         at weblogic.jms.client.JMSSession.setupConsumer(JMSSession.java:2432)
         at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:2379)
         at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:2359)
         at weblogic.jms.client.WLSessionImpl.createConsumer(WLSessionImpl.java:800)
         at crm.appl.cat.CatUtil.enviarMensajeSync(CatUtil.java:244)
         at crm.appl.cat.mar.CatMessageReceiver.receive(CatMessageReceiver.java:571)
         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         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.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
         at crm.appl.cat.mar.CatServlet.service(CatServlet.java:108)
         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.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at crm.appl.cat.mar.CatFilter.doFilter(CatFilter.java:33)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)
         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: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "invocationId = '124567585'"
         at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:63)
         at weblogic.jms.dispatcher.Request.getResult(Request.java:51)
         at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:895)
         at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:178)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:43)
         ... 35 more
    Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "invocationId = '124567585'"
         at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:45)
         at weblogic.jms.frontend.FEConsumer.<init>(FEConsumer.java:255)
         at weblogic.jms.frontend.FESession$2.run(FESession.java:966)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.jms.frontend.FESession.consumerCreate(FESession.java:962)
         at weblogic.jms.frontend.FESession.invoke(FESession.java:2824)
         at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:759)
         ... 37 more
    Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "invocationId = '124567585'"
         at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:63)
         at weblogic.jms.dispatcher.Request.getResult(Request.java:51)
         at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:895)
         at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:178)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:43)
         ... 44 more
    Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "invocationId = '124567585'"
         at weblogic.jms.backend.BEQueueImpl.createFilterExpression(BEQueueImpl.java:155)
         at weblogic.jms.backend.BEQueueImpl.createConsumer(BEQueueImpl.java:182)
         at weblogic.jms.backend.BESessionImpl.createBEConsumer(BESessionImpl.java:368)
         at weblogic.jms.backend.BESessionImpl.createConsumer(BESessionImpl.java:378)
         at weblogic.jms.backend.BESessionImpl.invoke(BESessionImpl.java:289)
         at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:759)
         ... 46 more
    Check that "invocationId" is a JMS String Property that we're adding in the messages. Our same source code works perfect in WL 9 without "antlr" as an prefered application package. You know that in WL 9, the antlr library was bundled into the weblogic.jar, so WL has it in his System classpath.
    Someone has an idea how we can solve this? The final solution may be having 2 EARs (one for WL 9 and one for WL 10, with the only change of the weblogic-application.xml), but it's not a nice solution.
    Thank you a lot in advance.
    Ariel Cassan
    Argentina

  • Weblogic 6.1 and 7.0 EJB interoperability

    Are WebLogic 6.1 and 7.0 EJBs interoperable? Can a client EJB on 6.1
    call another EJB on 7.0 and vice versa?
    Weblogic 5.1 and 6.0 were not interoperable. Interoperability was
    achieved with versions 5.1 sp12 and 6.1 sp 3.
    http://e-docs.bea.com/wls/docs61/interop/interop.html
    --Janne.

    Hi Janne,
    You may want to check this link:
    http://e-docs.bea.com/wls/docs70/compatibility/compatibility.html
    "janne" <[email protected]> wrote in message
    news:[email protected]..
    Are WebLogic 6.1 and 7.0 EJBs interoperable? Can a client EJB on 6.1
    call another EJB on 7.0 and vice versa?
    Weblogic 5.1 and 6.0 were not interoperable. Interoperability was
    achieved with versions 5.1 sp12 and 6.1 sp 3.
    http://e-docs.bea.com/wls/docs61/interop/interop.html
    Regards,
    Slava Imeshev

  • How to use single ant build to package with and without native extensions

    Hi,
    I am using iOS native extensions for Adobe air. For this I am listing the extensionid in the application descriptor file. Since the package with native extensions are meant to run only on device, I want my build script to work without native extensions too to be able to run on simulator. Is this manadatory that I need two separate application descriptors/basically two build scripts to compile and package them? Please suggest and let me know if more explanation is needed.
    Thanks,
    Swathi.

    why are you wanting to use single frames?
    They allow having the initial frame address stay in the
    address bar, and not
    show the linked page's address. The problems they cause
    usually override any
    value.
    Or- if we aren't using the same words the same way, please
    give an example
    site of what you want to do.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Does RM29.90 per month photography package with photoshop and lightrooms come with Adobe bridge app as well?

    Does RM29.90 per month photography package with photoshop and lightrooms come with Adobe bridge app as well?

    Does RM29.90 per month photography package with photoshop and lightrooms come with Adobe bridge app as well?

  • I have PS 4,5,and 6 installed on my Macbook Pro as well as Lightroom 4 and 5. Can I remove PS 4 and 5 and LR 4?  PS 4 is the total install and PS 5 and 6 are upgrades. LR 4 is the full package with LR an upgrade.

    I have PS 4,5,and 6 installed on my Macbook Pro as well as Lightroom 4 and 5. Can I remove PS 4 and 5 and LR 4? PS 4 is the total install and PS 5 and 6 are upgrades. LR 4 is the full package with LR an upgrade.
    I need space!

    First let me disabuse of a misconception:  All Adobe upgrades are FULL installers.  Whether you buy them as upgrades or new versions does not make an iota of difference.  The upgrade installers do not need to find a prior version installed, they just prompt you for the old serial number as well as the old one, and they do not rely on the old version in the least.
    Second, the time to uninstall an older version is BEFORE upgrading to a newer one.  Otherwise, the uninstaller from the older versions will mess up with your new install.  There are a gazillion files that are named the same and in the same locations as the new one.
    Your best bet now is to uninstall ALL the Photoshop versions you have installed, including the newest one, one by one, then run the Adobe CS Cleaner Tool, then run Repair Permissions from Apple's Desk Utility, and finally re-install the latest version.
    The other alternative, if your boot HD is large enough (very doubtful in case of a laptop like a Mac Book), is to leave all versions on it.
    Your choice.

  • Running a SSIS package with SQL Job and Linked Server

    I have a SSIS 2008 package. In one of the Script task I am calling a stored procedure which is  using Openquery using linked server. I deployed this package with protection level as "EncryptWithPassword" and gave a password to the package.
    Created a SQL job and edited its command line to include the password. If I login to SQL Server Mgmt Studio with Windows Authentication and run the job manually it runs fine. But when I schedule it then I get an error that "The Communication link to Linked
    server failed".
    Please help 

    Hi Vivek.B,
    The issue should occur because the SQL Server Agent Service Account or SQL Agent Proxy account under which the job step runs doesn’t have sufficient permissions on the linked server.
    If the job owner is the sysadmin fixed server role, the job can be run under the SQL Server Agent Service Account or a proxy account, then please make sure the SQL Agent Service Account or the proxy account has corresponding login on the linked server. If
    the job owner is not a sysadmin fixed server role, the job must run under a proxy account. In this case, make sure the proxy account has a corresponding login on the linked server.
    Reference:
    http://blogs.msdn.com/b/dataaccesstechnologies/archive/2009/10/13/who-owns-my-job-and-who-runs-it.aspx
    Regards,
    Mike Yin
    TechNet Community Support

  • Good afternoon! I purchased a few months the basics of adobe photoshop package with the CC and Lightroom, but has expired, and was made the annual package. What can I do to solve this problem. I have two weddings being edited and now I can not finish the

    Good afternoon! I purchased a few months the basics of adobe photoshop package with the CC and Lightroom, but has expired, and was made the annual package. What can I do to solve this problem. I have two weddings being edited and now I can not finish the work. I thank you.

    Renew the subscription?

Maybe you are looking for

  • Data is not replicated on target database - oracle stream

    has set up streams replication on 2 databases running Oracle 10.1.0.2 on windows. Steps for setting up one-way replication between two ORACLE databases using streams at schema level followed by the metalink doc I entered a few few records in the sour

  • Apple Id for App updates

    Hello, I have a question - my ex boyfriend set up my Iphone when I got it so he used his Apple Id (he has a macbook) but since then we broke up and I hav ecreated my own Apple Id but all of a sudden, my phone is asking me of his Apple Id to update my

  • Error while Generating Clause/section/contract template

    Hi, When I try to generate clauses, sections or contract document template, at the time of uploading the .doc file, the system is throwing an error like, "There is a problem with contract generation web service. Please contact your system administrat

  • 911 Hang ups

    I have my RP set up in CCM to allow 911 or 9911 but when people dial LD numbers 91XXXXXXX they hit the 1 twice and it calls 911 then they panic and hang up then the PD shows up and there is not legit call. Is there a way to work around this and keep

  • NoClassDefFoundError: org/jetel/connection/jdbc/ConnectionAction

    Hi, When I am running my graphs in integrator server I am getting below error: java.lang.NoClassDefFoundError: org/jetel/connection/jdbc/ConnectionAction at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMetho