This week's book giveaway is in the OCP forum.
We're giving away four copies of OCP Java SE 8 Programmer II Exam Study Guide and have Kathy Sierra, Bert Bates, & Elizabeth Robson on-line!
See this thread for details.
Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

Anton Novopashin

Greenhorn
+ Follow
since Feb 25, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Anton Novopashin

Hi, you can download WebSphere MQ Client bundle.
Or this is the list of jars from WAS:
  • com.ibm.mq.headers.jar
  • com.ibm.mq.jmqi.jar
  • com.ibm.mqjms.jar
  • dhbcore.jar
  • fscontext.jar
  • jms.jar
  • providerutil.jar
  • 4 years ago

    vijay jamadade wrote:Just want to correct. Its 115 applications but those are small. Sometimes it crashes with heap issues. Any suggestions?



    Hi, You have deployment antipattern.

    Because your functionality is EJB or WebApplication or RAR than you can group it into countable number of EARs.
    Big number of application increasing deployment and restart time.

    4 years ago

    Martin Vajsar wrote:I'm afraid the original poster didn't provide enough details for any specific recommendation to be made.


    Hi, Martin.

    I disagree with you.
    First of all there is no concrete implementation details.
    is native WebSphere connection.
    IBM has perfect document for this situation Technote

    Second of all if you are developing in J2EE environment best way is use standards.
    4 years ago
    Hi, I'd recomend to create resource reference to datasorce.
    You can easy to find solution for connection configuration: Stackoverflow
    4 years ago
    Hi,
    The error said that Application Server can't find org.apache.xerces.impl.xs.XMLSchemaLoader class in classloader.
    Maybe you need latest fixpack from for WAS 6.1.
    4 years ago
    Hi, Ramesh

    You have provided too short stacktrace for analysis.
    Can you give more details about your application.

    Best regards,
    Anton Novopashin
    4 years ago
    Hi, Indu
    There are 2 issue in your description.

    First of all check datasource connection pool, it is not enough connection:

    Connection not available while invoking method createOrWaitForConnection for resource jdbc/ABCD_EFGH.
    [4/11/13 15:17:12:467 EDT] 00000073 JDBCException W org.hibernate.util.JDBCExceptionReporter logExceptions SQL Error: 0, SQLState: null
    [4/11/13 15:17:12:468 EDT] 00000073 JDBCException E org.hibernate.util.JDBCExceptionReporter logExceptions Connection not available, Timed out waiting for 10001



    All your threads waited free connection form pool. Also i woukd recommend to you to read Hibernate + WebSphere

    Second problem is application design. As far as i understand you get data to MDB and try to process it immideatly. This is not good for your application.
    You can you use delayed processing with claim check pattern to overcome your issues.
    Just process data in EJB with new transaction, do not join MDB.



    5 years ago
    Hi, Kona
    You can do it manually.
    Stop all dmgr, clusters, servers, node agents.
    Delete app from disk in websphere profiles.
    5 years ago
    Hi,
    I think you need to understand how WebSphere cluster works.
    You have unclear application design, because why you need to create file and then read it and show this data (something wrong here).
    First of all you should use shared directory for both nodes.

    See J2EE Connector Architecture (JCA) 1.5 standard - this is good decision for Flat File processing. (JCA Adapters are perfectly solutions for WebSphere cluster).

    When i run application , assume that my request goes to node 1 server. I am working on this node server so i visit the page which saves data in txt file . I save the data.
    Now the txt file is saved in directory of node 1 server.


    This statement is not correct because not all resources couldn't be retried.
    5 years ago
    You can try set class loader policy to parent last.
    5 years ago
    Hi, J
    You need to understand why messages are stucked in Queues?

    Issue possinle solution

    5 years ago
    You need to check your configuration for "mail/SRDPEmail"
    5 years ago
    Hi, J

    These is no automatic way to do all what you want. You need to have a look WebSphere Admonistration using scripts.
    You can create all what you need using administration scripts this is very easy.


    This is script samples IBM doc
    5 years ago