Classcast exceptins during iterative development

using Eclipse 3.4.2 and latest eclipselink
When doing a clean build and start the appserver, everything works fine.
Whenever , we do incremental builds and publish the application, we are getting ClassCast Exceptions in persistance classes.
is there any issue with iterative development and using eclipse link?

I am getting a ClassCastExcetion at the highlighted line whenever I do a incremental build and publish to the server
When the server is restarted after compilation , it works fine
public Map getCountries(){
          EntityManagerFactory emf = ExidePersistentFactory.getInstance();
          EntityManager em= emf.createEntityManager();
          List<Country> countries = em.createNamedQuery("getCountries").getResultList();
          Map countryMap = new HashMap();
          for(Iterator<Country> i= countries.iterator();i.hasNext();){
               Country ct = i.next();
               countryMap.put(ct.getCountryId(),ct.getCountryName());
          em.close();
          return countryMap;
     }

Similar Messages

  • Contrast �waterfall� development and iterative development

    could anyone tell me how to contrast �waterfall� development and iterative development??
    Thx

    Waterfall development means spending an afternoon in a Hawaiian waterfall with a bikini-clad native.
    No matter what your professor tells you, real professionals like me prefer this method. The books are trying to discourage you from it because they want to keep those natives to themselves.
    %

  • What can be done to minimize redeploy times during incremental development?

    If you are in the incremental development phase of the project, you can try and deploy to the Domain Administration Server (DAS), which is denoted by the standalone instance named "server". The DAS is a fully functional J2EE instance and is used as the default target when a target isn't specified during deployment.
    The 8.1 SE/EE version of the SJSAppServer is packaged as an Enterprise quality product. By default the communication to & between the appserver components utilize Transport Layer Security (TLS). If a developer deploys a large Enterprise Archive (EAR) to an appserver instance other than the DAS, the instance's repository needs to be updated and reconciled. This process is referred to as Synchronization in the appserver's documentation, more information is located at http://docs.sun.com/source/819-0215/nodeagent.html#wp1021415. To minimize the time needed to synchronize the instance, the application can be deployed to the DAS for intense interactive development. Once interactive development tapers off, the application's targets can be altered to point to the remote instance(s) for integrated testing.
    To get the fastest possible developer experience, you should use NetBeans (4.1 or later) to deploy to the DAS. Netbeans has implemented numerous optimizations that significantly shorten application deployment times. You can get your free copy of NetBeans at http://www.netbeans.org.

    Netbeans deploying to the DAS is the method I use and it speeds up cyclical development immensely. Netbeans also facilitates most of the admin functions that are available through the admin gui, including viewing the logs as part of the Netbeans environment.
    I develop numerous applications and Proof of Concepts and Netbeans in definitely the way to go.

  • Error 1 during Forte Developer 6 Evaluation

    I'm trying the Forte Developer 6 following the Evaluation Guide included into the package.
    My platform is Solaris 8 on Intel.
    When I try to build the example (Cdlib) in the Workshop Building window appears :
    error 1 : language optional software package not installed
    which package do I need to install ?
    on which cd-rom can I find it ?
    Thanks in advance to anyone can help me.
    Guglielmo

    I've solved the problem and hope to be useful for someone else.
    In the directory /usr/ccs/bin there are some files that are linked to non existing directories.
    The files are ; ucbcc, lint, whatdir
    You have to link them to the corresponding files contained in the directory ..../SUNWspro/WS6/bin

  • ClassCast Exception during EJB lookup

    Context ctx = new InitialContext();
    Object ref = ctx.lookup("MessageSender");
    SenderHome senderHome= (SenderHome)PortableRemoteObject.narrow(ref,SenderHome.class);
    sender = senderHome.createSender();
    where MessageSender is the JNDI name of bean.
    The error is ::
    java.lang.ClassCastException: com.sap.message.sender.SenderHome#
    I have even tried SenderHome senderHome = (SenderHome)ref
    bcos SenderHome is locally deployed. I have also tried with SenderLocalHome ,but it also gives ClassCast Exception.
    Message was edited by:
            Shilpa Bhanot

    Hi,
    Have you tried to find out what the class actually is ?
    <code>
    Context ctx = new InitialContext();
    Object ref = ctx.lookup("MessageSender");
    Object objUnknown= PortableRemoteObject.narrow(ref,SenderHome.class);
    System.out.println ("Class of object is :" +objUnknown.getClass());
    </code>

  • JDeveloper 10.1.3 EA1 hangs during JSF development

    Hi,
    Create a new project (web project) and invoke the JSF JSP wizard to create a JSF page. Click on the source editor and try editing some code or copy and paste code from another JSF application. JDeveloper hangs. It is using almost 100% of CPU. I have to kill JDevW.exe in the task manager to get my system back to normal. Right now, it is becoming impossible to do any JSF development at all with the EA1. Please advice.
    Thanks

    Hi,
    It works now. I do not know what has a changed. The only thing that I can notice is that I am using a new workspace. Previously, I created the JSF project under a workspace that consisted of many projects; most of them were a direct checkout from CVS. Anyway, thanks for you help. I will let you know if I come across the problem again (of course with the actual step to reproduce the issue).
    Thanks

  • Iterative Development when using JSPX/JSFF in a Library?

    Using JDeveloper 11.1.1.6.0 -
    We have a WebCenter project that is utilizing a separate project that is compiled as a ADF Shared Library - to allow for reusable taskflows. We're trying to find a fast/convenient way of seeing changes to this shared library when the main weblogic project is deployed and running. When we save changes to the main project we can see those changes in the browser immediately after a refresh however the same does not happen for JSFF files in the shared lib. I was hoping there is a way to allow this feature or at the very least something else (such as manually copying files) that would be faster than what we are doing now (undeploy/redeploy).
    Help appreciated!
    Edited by: 921739 on Oct 9, 2012 8:15 PM
    Edited by: 921739 on Oct 9, 2012 8:23 PM

    hi,
    maybe this helps.
    https://groups.google.com/forum/?fromgroups#!topic/adf-methodology/arL5H0ZJbRY
    Also search for "ADF hot deployment". There may be additional hints in the www.
    regards
    Peter

  • Dreamweaver closing by itself anytime. Causing problem during project development.

    Help dreamweaver

    Hi Aman,
    It would help us to know the OS that you are on and the version of DW that you use. Without that information, I still suggest the following and let us know if you need help.
    - Ensure that you have Java SE6 installed on your computer. You can install it from Oracle Java Archive | Oracle Technology Network | Oracle
    - Try restoring preferences.(Restore preferences | Dreamweaver CS6, Dreamweaver CC)
    - Do a clean uninstall of DW and then install it all over again. The cleaner tool can be found at Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 This is a pretty drastic step, and use it only if the other suggestions do not work.
    Thanks,
    Preran

  • Announcing: Developing JSF Portlets with WebLogic Portal Whitepaper

    Just Released: Developing JSF Portlets with WebLogic Portal Whitepaper
    A supplemental developer's guide has been published to help guide WLP 10.x customers that wish to use JSF as the web framework for building portlets on WebLogic Portal. This is a sizable document (150 pages) that covers a large number of topics. It also coaches developers on best practices and common pitfalls.
    Important: It also clarifies the supported configuration of JSF within Portal Web Projects. Workshop for WebLogic by default configures a web project in a configuration that is not supported by WebLogic Portal. The guide explains how to address this:
    * Change from the unsupported MyFaces JSF implementation to the supported Sun Reference Implementation (RI)
    * Change from the unsupported "client" STATE_SAVING_METHOD to the supported "server"
    The guide can be downloaded here:
    http://download.oracle.com/technology/products/weblogic/portal/weblogic-portal-jsf-whitepaper.pdf
    To help internet searches locate this document, the table of contents is reproduced below:
    Introduction
    1.1. Prerequisites...................................................................... 8
    1.2. Applicable Versions............................................................ 8
    1.3. Native Portlet Bridges and Standard Portlet Bridges .......... 8
    1.4. JSF Portlet Support Roadmap ........................................... 9
    1.5. Whitepaper Structure ....................................................... 10
    1.6. Look Before You Leap ..................................................... 10
    1.7. For More Information........................................................ 10
    Part 1: Converting JSF Applications into Portlets
    2. IDE Support for JSF Portlets Chapter ...................................... 12
    2.1. Workshop for WebLogic – WebLogic Portal's Supported IDE 12
    2.2. Workshop Features for JSF Support in WebLogic Portal.. 12
    3. Introduction to JSF Portlets Chapter ........................................ 18
    3.1. Creating Your First JSF Portlet......................................... 18
    3.2. Essentials of JSF Portlet Views........................................ 21
    3.3. WebLogic Portal Artifacts................................................. 22
    4. Configuring JSF within WebLogic Portal Chapter..................... 24
    4.1. JSF Library Modules in WebLogic Server ........................ 24
    4.2. Installing the JSF Libraries into a Portal Web Project ....... 25
    4.3. JSF Configuration Settings............................................... 27
    4.4. Configuring JSF 1.2 ......................................................... 29
    4.5. Building an Unsupported JSF Implementation Library Module 31
    4.6. Faces Configuration is Web Application Scoped.............. 31
    5. Navigation within a JSF Portlet Chapter................................... 33
    5.1. Navigating within a Portlet with the JSF Controller ........... 33
    5.2. Redirects.......................................................................... 34
    6. Namespacing Chapter ............................................................. 35
    6.1. Namespacing Managed Bean Names.............................. 35
    6.2. Client ID Namespacing with the View and Subview Components 35
    6.3. Client ID Namespacing with the WLP NamingContainer .. 36
    7. Logging, Iterative Development, and Debugging Chapter ........ 39
    7.1. Logging............................................................................ 39
    7.2. Iterative Development ...................................................... 39
    7.3. Debugging ....................................................................... 40
    8. Custom JavaScript Chapter ..................................................... 42
    8.1. DOM Manipulation within a JSF ....................................... 42
    8.2. Form Validation within a JSF Portlet ................................ 45
    9. Preparing JSF Portlets for Production Chapter ........................ 46
    9.1. Configuration.................................................................... 46
    9.2. Performance and Scalability............................................. 47
    9.3. Security............................................................................ 49
    9.4. Localization...................................................................... 50
    Part 2: Interacting with the Portal Environment
    10. Native Bridge Architecture Chapter ...................................... 54
    10.1. Container Architecture Overview.................................. 54
    10.2. Container Architecture.................................................. 54
    10.3. Container Interactions .................................................. 55
    11. Interportlet Communication Chapter .................................... 56
    11.1. Using Session and Request Attributes for IPC (Anti-pattern) 56
    11.2. Using the WLP Event Facility for IPC with JSF Portlets 56
    11.3. Notifications ................................................................. 60
    11.4. Comparison of the IPC Approaches ............................. 60
    12. Scopes Chapter ................................................................... 62
    12.1. Conceptual Scopes for Standard JSF Applications ...... 62
    12.2. Conceptual Scopes for Portal Applications................... 63
    12.3. Implementation Patterns for Portal Scopes .................. 63
    13. State Sharing Patterns Chapter ........................................... 66
    13.1. State Sharing Concepts ............................................... 66
    13.2. HttpSession Versus HttpServletRequest ...................... 66
    13.3. Base Code for HttpSession Patterns ............................ 67
    13.4. Single Portlet Pattern ................................................... 68
    13.5. Multiple Portlet Patterns ............................................... 69
    14. Rendering Lifecycles Chapter .............................................. 77
    14.1. WLP and JSF Lifecycles .............................................. 77
    14.2. Invocation Order of WLP and JSF Lifecycle Methods... 77
    14.3. Accessing WLP Context Objects from JSF Managed Beans 78
    15. Portal Navigation Chapter .................................................... 80
    15.1. Programmatically Constructing JSF Portlet URLs ........ 80
    15.2. Changing the Active Portal Page.................................. 80
    15.3. Redirects within a Portal............................................... 83
    16. Ajax Enablement Chapter .................................................... 85
    16.1. Ajax in JSF Portlets...................................................... 85
    16.2. Partial Page Rendering Pattern.................................... 85
    16.3. Stateless API Request Pattern ..................................... 86
    16.4. Portlet Aware API Request Pattern .............................. 87
    16.5. Controlling the WLP Ajax Framework........................... 91
    17. Additional WLP Features Chapter........................................ 93
    17.2. Portlet Container Features ........................................... 93
    17.3. Portal Container Features ............................................ 98
    18. Example: Implementing a Login Portlet Chapter .................. 99
    18.1. Login Portlet Motivation................................................ 99
    18.2. Login Portlet Design..................................................... 99
    18.3. Login Portlet Implementation...................................... 101
    Part 3: Integrating Third Party Libraries
    19. Integration Overview Chapter............................................. 111
    19.1. Types of Libraries....................................................... 111
    19.2. Roadmap for MyFaces Trinidad and ADF Faces Rich Client 111
    20. Using the Facelets View Technology Chapter.................... 113
    20.1. Introduction to Facelets .............................................. 113
    20.2. Configuring Facelets Support ..................................... 113
    21. Using the Apache MyFaces Tomahawk Component Library Chapter 115
    21.1. What is Apache MyFaces Tomahawk? ...................... 115
    21.2. Support for Tomahawk in WLP................................... 115
    21.3. Tomahawk Component List........................................ 116
    21.4. Installing and Configuring Tomahawk......................... 119
    21.5. Resolving the Duplicate ID Issue................................ 120
    21.6. Referring to Resources .............................................. 120
    21.7. forceId Attribute.......................................................... 124
    21.8. File Upload................................................................. 125
    22. Using the Apache Beehive Navigation Controller Chapter . 126
    22.1. Apache Beehive Page Flow ....................................... 126
    22.2. JSF and Page Flows .................................................. 126
    22.3. Configuring the JSF Integration with Page Flows ....... 127
    Appendices
    23. Appendix 1: Consolidated List of Best Practices ................ 130
    24. Appendix 2: Known Issues and Workarounds.................... 132
    24.1. CR383659, CR383662 Inconsistent failures with JSF portlets 132
    24.2. CR342124: IllegalStateException due to duplicate client-id 132
    24.3. CR384916: IllegalStateException due to duplicate client-id when using certain components such as Tomahawk and Trinidad...... 133
    24.4. CR361477 Problems with the integration of JSF portlets with Apache Beehive Page Flows.................................................................. 133
    24.5. CR377945 JSF 1.2 suffers from a memory leak during iterative development .............................................................................. 134
    25. Appendix 3: The JSFPortletHelper Class ........................... 135
    26. Appendix 4: The CleanupPhaseListener Class .................. 147

    Hi Peter!
    First, I wish to thank you for the great work.
    We followed your whitepaper and managed to deploy a JSF portlet on WLS.
    But we are not able to register it (consume it) as remote portlet in Oracle Portal 10.1.4. The error log is as follows:
    An error occurred while trying to refresh the provider. (WWC-43190)
    An error occurred during the call to the WSRP Provider:
    java.rmi.RemoteException: serialization error: serialization error:
    unexpected null value for literal data; nested exception is:
    serialization error: serialization error: unexpected null value for literal data
    com.sun.xml.rpc.encoding.SerializationException: serialization error:
    serialization error: unexpected null value for literal data
    com.sun.xml.rpc.encoding.SerializationException: serialization error:
    unexpected null value for literal data
    Java stack trace from root exception:
    unexpected null value for literal data
    at
    oracle.webdb.wsrp.RegistrationContext_LiteralSerializer.doSerialize(RegistrationContext_LiteralSerializer.java:107)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:119)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:70)
    at
    oracle.webdb.wsrp.GetServiceDescription_LiteralSerializer.doSerialize(GetServiceDescription_LiteralSerializer.java:88)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:119)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:70)
    at
    com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.java:473)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:62)
    at
    oracle.webdb.wsrp.WSRP_v1_ServiceDescription_PortType_Stub.getServiceDescription(WSRP_v1_ServiceDescription_PortType_Stub.java:63)
    at
    oracle.webdb.wsrp.client.design.v1.OraWSRP_v1_ServiceDescription_PortType.getServiceDescription(Unknown
    Source)Do you have any idea why this happens? Or you can provide some useful links to WLP -Oracle Portal federation?
    Thank you and best regards,
    PaKo

  • Adding objects to list

    Hi,
    I am new java. I have a probelm adding objects to list. This is the following code.
    class Test{
    List <>dataList = new ArrayList<>();
    public List<A> getAList(){
    dataList.add(new A());
    return dataList ;
    public List<B> getBList(){
    dataList.add(new B());
    return dataList;
    }In the above code what I will pass<parameterized data> to the dataList decalred as member variable?

    bhanu wrote:
    nothing common for A and B. Both A and B are different pojos. but we can tell A and B extends from Object.I tried like that
    way. But it is not working. <? extends from Object>.Both two methods have to be in the same classYou do in that case have a bad design. Why is the same list used for both. It can't be type safe so you need to cast and the user of the list might get classcast exceptions during iteration.
    Kaj

  • Context.doAgeTimeout

    Hi,
    I got a problem with the external Service Callback.
    My webservice invokes ejbs and returns the response (no magic).
    but as it seems some request have not been completed.
    now the callback tries to throw a timeout exception.
    My prpblem is how can I stop these processes. Even after
    stopping weblogic and restarting it continues to thow those
    exceptions for 4 different IDs (webservice-requests).
    please help me.
    Exception:
    javax.transaction.TransactionRolledbackException: Exception in ejbLoad:: javax.ejb.EJBException:
    nested exception is: java.io.InvalidClassException: CSAWebServiceAsync; Local class
    not compatible: stream classdesc serialVersionUID=831290196683720557 local class
    serialVersionUID=-5737529867733192699
    java.io.InvalidClassException: CSAWebServiceAsync; Local class not compatible: stream
    classdesc serialVersionUID=831290196683720557 local class serialVersionUID=-5737529867733192699
    at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:523)
    at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)
    at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:936)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
    at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at weblogic.knex.bean.WebProcessBean.readObjectFromResultSet(WebProcessBean.java:488)
    at weblogic.knex.bean.WebProcessBean.ejbLoad(WebProcessBean.java:541)
    at weblogic.knex.bean.WebProcessBean_j29p9h_Impl.ejbLoad(WebProcessBean_j29p9h_Impl.java:113)
    at weblogic.ejb20.manager.ExclusiveEntityManager.getReadyBean(ExclusiveEntityManager.java:311)
    at weblogic.ejb20.manager.ExclusiveEntityManager.preInvoke(ExclusiveEntityManager.java:233)
    at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:125)
    at weblogic.ejb20.internal.EntityEJBObject.preInvoke(EntityEJBObject.java:108)
    at weblogic.knex.bean.WebProcessBean_j29p9h_EOImpl.isFinished(WebProcessBean_j29p9h_EOImpl.java:80)
    at weblogic.knex.bean.WebProcessBean_j29p9h_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:147)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
    at weblogic.knex.bean.WebProcessBean_j29p9h_EOImpl_WLStub.isFinished(Unknown
    Source)
    at weblogic.knex.bean.WebDispatcherBean.invoke(WebDispatcherBean.java:156)
    at weblogic.knex.bean.InboundMessageBean$PrivilegedInvoke.run(InboundMessageBean.java:105)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:798)
    at weblogic.knex.bean.InboundMessageBean.onMessage(InboundMessageBean.java:161)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:295)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:241)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2181)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2111)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:156)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:137)
    javax.ejb.EJBException: nested exception is: java.io.InvalidClassException: CSAWebServiceAsync;
    Local class not compatible: stream classdesc serialVersionUID=831290196683720557
    local class serialVersionUID=-5737529867733192699
    at weblogic.knex.bean.WebProcessBean.ejbLoad(WebProcessBean.java:553)
    at weblogic.knex.bean.WebProcessBean_j29p9h_Impl.ejbLoad(WebProcessBean_j29p9h_Impl.java:113)
    at weblogic.ejb20.manager.ExclusiveEntityManager.getReadyBean(ExclusiveEntityManager.java:311)
    at weblogic.ejb20.manager.ExclusiveEntityManager.preInvoke(ExclusiveEntityManager.java:233)
    at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:125)
    at weblogic.ejb20.internal.EntityEJBObject.preInvoke(EntityEJBObject.java:108)
    at weblogic.knex.bean.WebProcessBean_j29p9h_EOImpl.isFinished(WebProcessBean_j29p9h_EOImpl.java:80)
    at weblogic.knex.bean.WebProcessBean_j29p9h_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:147)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
    at weblogic.knex.bean.WebProcessBean_j29p9h_EOImpl_WLStub.isFinished(Unknown
    Source)
    at weblogic.knex.bean.WebDispatcherBean.invoke(WebDispatcherBean.java:156)
    at weblogic.knex.bean.InboundMessageBean$PrivilegedInvoke.run(InboundMessageBean.java:105)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:798)
    at weblogic.knex.bean.InboundMessageBean.onMessage(InboundMessageBean.java:161)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:295)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:241)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2181)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2111)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:156)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:137)

    When the production version of Workshop ships, it will implicitly clear all existing
    conversations and pending work in async execution queues when you modify the sources
    of your web service during iterative development, so this manual process of clearing
    all existing conversations will no longer be required.
    Raj Alagumalai <[email protected]> wrote:
    Hello Mr. W :)
    The best practice would be use the
    Clear All State button on the Console tab of the Test Window before
    making any changes to the JWS.
    This will clear all previous conversation states and logs for the JWS
    Thank You
    Raj Alagumalai
    WebLogic Workshop Support
    watscheck wrote:
    Hello Raj,
    that worked fine.
    Thank you!
    So what did I wrong and can do better next time?
    First stop the server and then alter the jws?
    How can I be sure there are no more serialized instances of the JWS inthe db?
    Thanx alot.
    And Anurag Pareek, thanks but I think now you don't need the code.
    W.
    Raj Alagumalai <[email protected]> wrote:
    Hello,
    The exceptions are being generated because the database has out dated
    information. Looks like you might have changed the implementation of
    your JWS at some point and there are still some serialized instances of
    the JWS in the db.
    Restarting the server will not help in this case as the server will
    still be reading the same database files.
    Can you replace the cajun$1.wal and cajun.dbn files with the files that
    I have attached a fresh copy of both the database files. Replace the
    cajun$1.wal and cajun.dbn files with the ones from the zip file.
    Thank You
    Raj Alagumalai
    WebLogic Workshop Support
    watscheck wrote:
    Hi,
    I got a problem with the external Service Callback.
    My webservice invokes ejbs and returns the response (no magic).
    but as it seems some request have not been completed.
    now the callback tries to throw a timeout exception.
    My prpblem is how can I stop these processes. Even after
    stopping weblogic and restarting it continues to thow those
    exceptions for 4 different IDs (webservice-requests).
    please help me.
    Exception:
    javax.transaction.TransactionRolledbackException: Exception in ejbLoad::
    javax.ejb.EJBException:
    nested exception is: java.io.InvalidClassException: CSAWebServiceAsync;
    Local class
    not compatible: stream classdesc serialVersionUID=831290196683720557
    local
    >
    class
    serialVersionUID=-5737529867733192699
    java.io.InvalidClassException: CSAWebServiceAsync; Local class not compatible:
    stream
    classdesc serialVersionUID=831290196683720557 local class serialVersionUID=-5737529867733192699
    at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:523)
    at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)
    at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:936)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
    at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at weblogic.knex.bean.WebProcessBean.readObjectFromResultSet(WebProcessBean.java:488)
    at weblogic.knex.bean.WebProcessBean.ejbLoad(WebProcessBean.java:541)
    at weblogic.knex.bean.WebProcessBean_j29p9h_Impl.ejbLoad(WebProcessBean_j29p9h_Impl.java:113)
    at weblogic.ejb20.manager.ExclusiveEntityManager.getReadyBean(ExclusiveEntityManager.java:311)
    at weblogic.ejb20.manager.ExclusiveEntityManager.preInvoke(ExclusiveEntityManager.java:233)
    at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:125)
    at weblogic.ejb20.internal.EntityEJBObject.preInvoke(EntityEJBObject.java:108)
    at weblogic.knex.bean.WebProcessBean_j29p9h_EOImpl.isFinished(WebProcessBean_j29p9h_EOImpl.java:80)
    at weblogic.knex.bean.WebProcessBean_j29p9h_EOImpl_WLSkel.invoke(Unknown
    Source)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:147)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
    at weblogic.knex.bean.WebProcessBean_j29p9h_EOImpl_WLStub.isFinished(Unknown
    Source)
    at weblogic.knex.bean.WebDispatcherBean.invoke(WebDispatcherBean.java:156)
    at weblogic.knex.bean.InboundMessageBean$PrivilegedInvoke.run(InboundMessageBean.java:105)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:798)
    at weblogic.knex.bean.InboundMessageBean.onMessage(InboundMessageBean.java:161)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:295)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:241)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2181)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2111)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:156)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:137)
    javax.ejb.EJBException: nested exception is: java.io.InvalidClassException:
    CSAWebServiceAsync;
    Local class not compatible: stream classdesc serialVersionUID=831290196683720557
    local class serialVersionUID=-5737529867733192699
    at weblogic.knex.bean.WebProcessBean.ejbLoad(WebProcessBean.java:553)
    at weblogic.knex.bean.WebProcessBean_j29p9h_Impl.ejbLoad(WebProcessBean_j29p9h_Impl.java:113)
    at weblogic.ejb20.manager.ExclusiveEntityManager.getReadyBean(ExclusiveEntityManager.java:311)
    at weblogic.ejb20.manager.ExclusiveEntityManager.preInvoke(ExclusiveEntityManager.java:233)
    at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:125)
    at weblogic.ejb20.internal.EntityEJBObject.preInvoke(EntityEJBObject.java:108)
    at weblogic.knex.bean.WebProcessBean_j29p9h_EOImpl.isFinished(WebProcessBean_j29p9h_EOImpl.java:80)
    at weblogic.knex.bean.WebProcessBean_j29p9h_EOImpl_WLSkel.invoke(Unknown
    Source)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:147)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
    at weblogic.knex.bean.WebProcessBean_j29p9h_EOImpl_WLStub.isFinished(Unknown
    Source)
    at weblogic.knex.bean.WebDispatcherBean.invoke(WebDispatcherBean.java:156)
    at weblogic.knex.bean.InboundMessageBean$PrivilegedInvoke.run(InboundMessageBean.java:105)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:798)
    at weblogic.knex.bean.InboundMessageBean.onMessage(InboundMessageBean.java:161)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:295)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:241)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2181)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2111)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:156)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:137)

  • Poor Performance of the WebLogic Portal System

    Hi,
    I am facing one issue which has become bottleneck over the time as far as the development of my application is concerned.
    My problem is that when i run and wish to see my portal page (Web Page)on Internet Explorer/Mozzila Firefox it takes so much time to get rendered (appx 10 mins). This is affecting the productivity as the page rendering is a frequent process to see the output of your work/changes made.
    I would be very thankful if anyone can guide me what is wrong. Is this problem is with me only? Why Weblogic Portal system so slow as compared to other Portal systems like Microsoft's Sharepoint and IBM's Webshpere Portal system.
    I am using Weblogic Portal v10.
    CPU is 3.2 Ghz, 4 GB RAM, 3 MB Cache.
    Please guide. I would appreciate if one can provide some way out to speed up the page rendering. I have tried changing the Heap Size etc but failed.
    Thank You all. Have a great Day.

    10 minutes?!
    We need to narrow that down, it may be something in your portlet implementation. An easy way to get an idea would be to take a series of Java thread dumps of the WLP server instance while it is processing that portlet. On Windows, press CTRL-Break or Google for the way to do it for your platform.
    It will print out what each thread is working on - if you see your code in there over a period of time, you've got a problem in your portlet. If it is stuck in WLP code, let us know.
    I also did a blog entry about performance improvement tips during iterative development, some might apply for you:
    http://peterlaird.blogspot.com/2007/05/optimized-development-for-weblogic.html
    Peter

  • Unable to deploying server

    I am doing a series of tutorials in the weblogic workshop and when I go to test the server I get the following message:
    'Server cannot be started.
    Server cannot be launched within timeout.'
    How can I fix this?

    Hello,
    Which version of Workshop are you using ?
    In most cases, this error indicates that there might be a different process already listening on the port .
    I will would suggest checking to see if any other orphaned java process is running or maybe try with a new server. You could configure this server to listen on a different port.
    The install wizard provides you the option to install a server as a windows service, which might also be causing this issue.
    Also, can you confirm that you are trying to connect to an admin server ? All version of Workshop 8.1.x 9.2.x and 10.x only works with the admin server during iterative development
    cheers
    Raj

  • 2 issues in LI2,  slowing and freezing during developing, slideshow not showing all images.

    1. Lightroom Is slowing down during normal development.
    I only have 3500 photos in this catalog and am working on 50 to 200 photo in Raw format at a time,
    When Opening and beginning  a project the program worked fine but after a few hours of adjustments the program slows and then  freezes for minutes at a time forcing me to shut down the computer and restart.  I have a 1.5 TB hard drive and have moved the bulk of my files to a backup drive freeing up the MAJORITY of the hard drive for processing.  I have been threw the 8 ways to speed up Lightroom and an finding the problem persisting. IDEA'S?
    2. LI's Slideshow is not consistent in showing all the images.
    after going through the slideshow's setting and playing the slideshow, LI will show some photos and not others and start over at random order.  Idea's?

    Images that are edited in Photoshop will be displayed automatically in Lr only when the image-file saved in Photoshop is the same as the one opened from Lr.
    You say you open a JPG from Lr, then edit it in PS by - among other things - adding some layers. Layers are not supported in the JPG-format so you have to either save it as a psd or as a jpg-copy.
    In either case this is not the same image file as the one opened in Lr, so it will have to be imported into Lr to show up. If you would flatten your image after editing in PS and then do a <save> to your JPG - not a <save as> - it will show up in Lr.
    PS: the only exception is when you open a Raw image from Lr in PS and you save it in PS in the file format specified in Lr for external editing. The saved file will automatically show in LR.
    Message was edited by: web-weaver; PS added

  • Blocking Objects during development phase

    Dear All,
    I would like to block objects during the development phase.
    I mean if for example an user is currently modifying one specific table and a second user wants to do some modification on the same table (object) the second developer will be notified that is not possible because the table is being used.
    Is this something that I can control / manage from the authorization perspective? How could I do that?
    I will appreciate any idea.
    Thanks,
    FedeX

    Hi,
    as it was mentioned two users can't modify one object at same time. But I guess your question is little bit different. All modified objects (ignore local objects) are assigned to a transport after first change until the transport is released. After that they can be assigned to next transport after new change. When second user wants to change object already assigned to transport then he can't assign it to another transport. He needs to create a subtask which is assigned to his user account. After that he will be able to modify same object. So if you remove authorizations to create sub task then it will block them. Don't forget to remove authorization to change task assignment to another user. 
    Cheers

Maybe you are looking for

  • Problems with importing .MP4 file and the audio in FCP 6

    Hi all, I am pretty new to Final Cut Pro and have just approached my first project. I have a Samsung VP-MX20 http://www.samsung.com/uk/consumer/detail/spec.do?group=cameracamcorder&type=cam corder&subtype=flashcamcorder&model_cd=VP-MX20/XEU&fullspec=

  • Content conversion quotes

    hello experts I am loading a file with content conversion. my txt file, in one of the cells look something like this ,"abc"d", (I have a quotes in the middle of the name. when it is enter the PI, it is enter like this abcd I would like to know what d

  • Master Data Ad-hoc Query

    when we try to save changes to existing queries, we get a message stating that changes to the repository cannot be made.  A few months ago I copied the infoset /SAPQUERY/HR_ADM so that I could remove fields not being used, etc.  Ever since then, I ca

  • Using .3gp Files In Captivate

    Hello, I'm attempting to use Adobe Media Encoder to convert a .3gp file into a .F4V or .FLV file to insert into a Captivate project.  The conversion seems to go fine in AME but when I insert the resulting the file into my project the video portion pl

  • Scanner Error Message

    I am running an OS X Version 10.9.4 MAC system. I have the HP Officejet Pro 8600 Premium printer connected through my WiFi network. When trying to scan to PDF from the printer's scanner I get an error message "Scan failed/ Automator could not run the