Harneet Singh

Greenhorn
+ Follow
since Feb 05, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Harneet Singh

How are you trying to connect to the MQ ?
Through command line , through explorer or through an API

Have you checked if your MQ is UP and running ? Installation is one thing and starting your queue manager is another.
10 years ago

You probably have to explore the prefered server settings .. and if it still doesnt work then I suggest you go for static policy but then it will not provide you with the failover and failback provision which anyways I guess is not important in your scenario.

10 years ago
When deployed to a cluster, the messaging engine created for the WebSphere Business Monitor service integration bus is only active on one cluster member at a time. This behavior is specified by the default service integration bus policy. While the default service integration bus policy can be customized, the policy must always be of type "One-of-N." A "One-of-N" policy allows only one instance of the messaging engine to become active in a cluster, providing high availability (protecting components and models from the failure of a single server), but not scalability (the ability to expand as resources are added).

I agree with above statement totally , but please understand what it is saying. It applies that in 1 JVM only 1 ME can be active at any point of time. You can never ever have 2 ME active simultaneously in 1 JVM.
And when in cluster ME automatically associate it self with first available JVM.
But when you define a core group policy then you tell your 2 ME to associate themselves with 2 JVM respectively as per your Core Group policy.



My question to you is - How are you so sure that your JVM are not sharing messages ?
and do check JVM logs for ME getting associated with the JVM. as the console will only give you statues whether they are up or not but Log will show which ME is associating with which JVM. And if you Core Group policy are correct ME1 will always associate with JVM1 irrespective of configuration and status of other ME2 and JVM2



10 years ago

You should have a BUS created and add the cluster to that BUS with 2 messaging Engine pointing to your 2 Servers. and then you will have to set the policy as desired by you . If I understand you correctly you need following policy to be set -
High availability and workload sharing Cluster more than 1 (typically, one messaging engine for each server) "One of N" or "No operation"


Check the following link for detail information - http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=%2Fcom.ibm.websphere.nd.doc%2Finfo%2Fae%2Fae%2Fcjt0007_.html
10 years ago
Well I assume you have a webserver in the request flow , as you are using a clustered enviornment.
If its a clustered env, did you try and hit individual JVM ? are you getting same exception in all JVM ?
----------------------------
One more thing , I doubt that your application is even started . Can you check the status of the application ?
And when you say it was working in another environment with one JVM , was it a Websphere - JVM or JBOSS / WEBLOGIC / GLASSFISH? because its rare that an app developed for one will work out of the box for other.
10 years ago
The error clearly says that its not able to find a class defination ... Now this might be either of the two reasons.
First - Class definition / file really is missing or
Second - reference from the related class has not included the library in which your actual class is .
or
Sometimes we have jar files in the shared libraries and not in the app . Are you sure your jar is an integral part of your app and not a missing shared library ?
---------------------
Did your restart your JVM after app install ??
Is same app working in any other environment or any other version of WAS (as you have specified WAS7) ?
-----------------------
Also, I would suggest to check the FFDC logs @ /usr2/SIR08396/mydomain/logs/ffdc/server1_649f9f_13.12.24_20.20.03.14454232.txt they always have some information.
10 years ago
Well what I guess is that your url is still incorrect.
I think your file location is - C:\IBM\SDP\runtimes\base_v7\profiles\AppSrv01\installedApps\RRNode01Cell\Test.ear\Test.war\WEB-INF\contextmap.jsp
and NOT - C:\IBM\SDP\runtimes\base_v7\profiles\AppSrv01\installedApps\RRNode01Cell\Test.ear\Test.war\WEB-INF\desktop\contextmap.jsp

Try following -

<context-param id="ContextParam_3">
<param-name>RequestContextMapFileURI</param-name>
<param-value>/WEB-INF/contextmap.jsp</param-value>
</context-param>

--------------------
If it still does not work , then it will be tough for me to suggest you anything else ...
If it still fails then kindly let me know the absolute path of your file - contextmap.jsp or modify the param-value accordingly and try
10 years ago
Hi Andrey,

1. You do not have to try to different ports. You will get responded only by two ports ( one ssl and other non ssl , by default ports are 9080 and 9443 respectively).
2. I am not sure how you changed the domain name , as it needs to be done on the server and then on DNS and then on your local host file .
and you said that TELNET FAILED. if TELNET has failed then you need to get your firewall openings, otherwise the URL will never work.
3 & 4 . Means that your Server and Application both are UP and Running - GOOD.
5. If there is no movement in logs then it means that request is not reaching your server. This can be due to your FIREWALL issue as stated in point number 2.
-------------------------------------------------------------------
From the information you have provided I strongly believe that you have a FIREWALL / Network issue and get the required policies opened between your Computer and iron2 node.
------------------------------------------------------------------
5. Create cluster members in such a way that at least one application server runs on each of the nodes.
6. At the end of all the steps, following JVM processes will run across different machines.
Dmgr
NodeAgent01
NodeAgent02
AppServer01 (running in Node01 and part of NodeAgent01)
AppServer02 (running in Node02 and part of NodeAgent02)


A cluster is logical grouping of more than 1 JVM having same sets of application and behavior. So the first statement means that your both nodes - iron1 and iron2 should have atleast 2 JVM belonging to same Cluster.
here :
Server 1 will have -
NodeAgent01
AppServer01
Server2 will have -
NodeAgent02
AppServer02
10 years ago
No, its not necessary to use IHS with WAS. You can have IIS or APACHE configured to do the same things. But if you do not want any webserver at all , then you better be having a standalone JVM and not a cluster JVM.
Secondly , I see that the that you have given context uri as - http://localhost/desktop/contextmap.jsp which is incorrect, this may work when you are trying to directly access it on your desktop.
But in JVM you need to give relative path and not the absolute path.
E.g
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml</param-value>
</context-param>

So, if you app is installed and file is located as -
C:\IBM\SDP\runtimes\base_v7\profiles\AppSrv01\installedApps\RRNode01Cell\Test.ear\Test.war\WEB-INF\contextmap.jsp
web.xml should be --- <param-value>/WEB-INF/contextmap.jsp</param-value>
-----------
Again I might be in-accurate as not a developer , but I hope you get what I wanted to convey.

Regards,
Harneet
10 years ago
Hi Andrey,

Kindly check following things.

1. Did you double check if you are hitting the correct URL. May be the port address is wrong.
2. or Firewall issue between your computer to the server . try to telnet to that machine and port.
3. or Is Server started ? check its status.
4. Check the status of your application. If its light green ( its partially started - means not started on all servers ; hence will need to troubleshoot more)
5. whats in the logs coming when you hit iron2. Kindly post a snippet ( not entire log file , just the part when you hit the URL)

Regards,
Harneet.
10 years ago
Agree with MARTIN , an INSERT statement is incomplete without the VALUES , unless you have not posted entire query.
11 years ago
Point to note in the link provided is that the error can be ignored --
-----------------------------------
SRVE0255E exception

[5/4/09 22:57:27:759 PDT] 0000002b webcontainer E com.ibm.ws.webcontainer.WebContainer
handleRequest SRVE0255E: A WebGroup/Virtual Host to handle /favicon.ico has not been defined.
=================================
This missing favicon.ico file is used in the WebSphere Application Server administrative console to display an icon in the browser for a bookmark or on a browser tab that is opened to the application. You can safely ignore this exception.
===============================
11 years ago
A TAR file is a Consolidated Unix Archive file .... You can not deploy it ..
only files of type - WAR, JAR , EAR can be depoyed.
11 years ago
Its depleted RAM... Paging is the area reserved on the Harddisk and is used when your RAM is consumed. What OS are you using ?
If Windows - then task bar should provide paging info and
if its Linux/Unix then mostly topas or top command works ang gives an idea for RAM usage
also following is useful
egrep --color 'Mem|Cache|Swap' /proc/meminfo
11 years ago
Paging Space High is a sure indicator of depleted CPU resource . But before coming to that conclusion, have you checked the JAVACORE/ HeapDump / native_std.err files.
What do these dump show ??
are there any hung threads?
Do we have a heap fully utilized ?
whats the biggest object size?
Also, check native_std.err file for GC cycle and freed up memory.
11 years ago