Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

Khurram Majeed

Greenhorn
+ Follow
since Apr 07, 2005
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 Khurram Majeed

Hi,

I am getting the following exception when running the application in clustered environment (2 nodes), application on first node starts smoothly but on the second node when the server starts up, i am getting this exception occassionally, sometimes everything work perfectly normal.

2007-07-26 10:36:13,995 ERROR [org.jboss.messaging.util.ExceptionUtil] SessionEndpoint[10] createConsumerDelegate [5c4o12v-r71he3-f4lclt5k-1-f4lcm90r-q]
javax.jms.InvalidDestinationException: No such destination: JBossQueue[Remote.Conversion.Out]
at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegateInternal(ServerSessionEndpoint.java:1171)
at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegate(ServerSessionEndpoint.java:200)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$createConsumerDelegate$aop(SessionAdvised.java:87)
at org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_6311124154581125663.invokeNext(SessionAdvised$createConsumerDelegate_6311124154581125663.java)
at org.jboss.jms.server.container.SecurityAspect.handleCreateConsumerDelegate(SecurityAspect.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
at org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_6311124154581125663.invokeNext(SessionAdvised$createConsumerDelegate_6311124154581125663.java)
at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
at org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_6311124154581125663.invokeNext(SessionAdvised$createConsumerDelegate_6311124154581125663.java)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.createConsumerDelegate(SessionAdvised.java)
at org.jboss.jms.wireformat.SessionCreateConsumerDelegateRequest.serverInvoke(SessionCreateConsumerDelegateRequest.java:95)
at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:141)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)

JBoss.xml

======================================================

stat.deployment.cluster.jnp.url = jnp://node2_ip_address:1100/

<message-driven>
<ejb-name>OutBoundMDB</ejb-name>
<destination-jndi-name>${stat.deployment.cluster.jnp.url:}topic/OutboundIntegrationTopic</destination-jndi-name>
<resource-ref>
<res-ref-name>jms/ConnectionFactory</res-ref-name>
<jndi-name>${stat.deployment.cluster.jnp.url:}ConnectionFactory</jndi-name>
</resource-ref>
</message-driven>



======================================================

jms-ds.xml

======================================================

<mbean code="org.jboss.jms.jndi.JMSProviderLoader"
name="jboss.messaging:service=JMSProviderLoader,name=JMSProvider">
<attribute name="ProviderName">DefaultJMSProvider</attribute>
<attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
<attribute name="FactoryRef">/XAConnectionFactory</attribute>
<attribute name="QueueFactoryRef">/XAConnectionFactory</attribute>
<attribute name="TopicFactoryRef">/XAConnectionFactory</attribute>
<attribute name="Properties">
jnp.partitionName=StatPartition
</attribute>
</mbean>



<!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
<tx-connection-factory>
<jndi-name>JmsXA</jndi-name>
<xa-transaction/>
<rar-name>jms-ra.rar</rar-name>
<connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
<config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
<config-property name="JmsProviderAdapterJNDI" type="java.lang.String">/DefaultJMSProvider</config-property>
<max-pool-size>20</max-pool-size>
<security-domain-and-application>JmsXARealm</security-domain-and-application>
<depends>jboss.messaging:service=ServerPeer</depends>
</tx-connection-factory>

======================================================

I have deployed the application on 2 nodes, first nodes starts smoothly but this exception comes up when 2nd node is started. I have checked that node has joined the cluster

======================================================

[GroupMember] New Members : 2 ([192.168.128.215:55200, 192.168.128.131:55200])
[GroupMember] All Members : 2 ([192.168.128.215:55200, 192.168.128.131:55200])

======================================================

Khurram
9 years ago
Hi,

I am getting the following exception when running the application in clustered environment (2 nodes), application on first node starts smoothly but on the second node when the server starts up, i am getting this exception occassionally, sometimes everything work perfectly normal.

2007-07-26 10:36:13,995 ERROR [org.jboss.messaging.util.ExceptionUtil] SessionEndpoint[10] createConsumerDelegate [5c4o12v-r71he3-f4lclt5k-1-f4lcm90r-q]
javax.jms.InvalidDestinationException: No such destination: JBossQueue[Remote.Conversion.Out]
at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegateInternal(ServerSessionEndpoint.java:1171)
at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegate(ServerSessionEndpoint.java:200)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$createConsumerDelegate$aop(SessionAdvised.java:87)
at org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_6311124154581125663.invokeNext(SessionAdvised$createConsumerDelegate_6311124154581125663.java)
at org.jboss.jms.server.container.SecurityAspect.handleCreateConsumerDelegate(SecurityAspect.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
at org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_6311124154581125663.invokeNext(SessionAdvised$createConsumerDelegate_6311124154581125663.java)
at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
at org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_6311124154581125663.invokeNext(SessionAdvised$createConsumerDelegate_6311124154581125663.java)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.createConsumerDelegate(SessionAdvised.java)
at org.jboss.jms.wireformat.SessionCreateConsumerDelegateRequest.serverInvoke(SessionCreateConsumerDelegateRequest.java:95)
at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:141)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)

JBoss.xml

======================================================

stat.deployment.cluster.jnp.url = jnp://node2_ip_address:1100/

<message-driven>
<ejb-name>OutBoundMDB</ejb-name>
<destination-jndi-name>${stat.deployment.cluster.jnp.url:}topic/OutboundIntegrationTopic</destination-jndi-name>
<resource-ref>
<res-ref-name>jms/ConnectionFactory</res-ref-name>
<jndi-name>${stat.deployment.cluster.jnp.url:}ConnectionFactory</jndi-name>
</resource-ref>
</message-driven>



======================================================

jms-ds.xml

======================================================

<mbean code="org.jboss.jms.jndi.JMSProviderLoader"
name="jboss.messaging:service=JMSProviderLoader,name=JMSProvider">
<attribute name="ProviderName">DefaultJMSProvider</attribute>
<attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
<attribute name="FactoryRef">/XAConnectionFactory</attribute>
<attribute name="QueueFactoryRef">/XAConnectionFactory</attribute>
<attribute name="TopicFactoryRef">/XAConnectionFactory</attribute>
<attribute name="Properties">
jnp.partitionName=StatPartition
</attribute>
</mbean>



<!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
<tx-connection-factory>
<jndi-name>JmsXA</jndi-name>
<xa-transaction/>
<rar-name>jms-ra.rar</rar-name>
<connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
<config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
<config-property name="JmsProviderAdapterJNDI" type="java.lang.String">/DefaultJMSProvider</config-property>
<max-pool-size>20</max-pool-size>
<security-domain-and-application>JmsXARealm</security-domain-and-application>
<depends>jboss.messaging:service=ServerPeer</depends>
</tx-connection-factory>

======================================================

I have deployed the application on 2 nodes, first nodes starts smoothly but this exception comes up when 2nd node is started. I have checked that node has joined the cluster

======================================================

[GroupMember] New Members : 2 ([192.168.128.215:55200, 192.168.128.131:55200])
[GroupMember] All Members : 2 ([192.168.128.215:55200, 192.168.128.131:55200])

======================================================

Khurram
9 years ago
I took the part 3 on 28th July, exactly after one day after my Part 2..

Khurram
28th June not July... Sorry

Khurram
Shahid, which city are you from Pakistan? I am from Karachi.

Khurram
Dear All:
I have cleared my SCEA Part 2/3 with 2/3, I want to thank the ranchers for all their support and suggestions.
I am from Pakistan, is there anyone (Pakistani) else in this forum to have cleared this exam?
My report states as:

Test: Sun Certified Enterprise Architect for Java 2 Platform Enterprise Edition Technology Part II (310-061)
Date Taken: 2005-07-25 12:57:37.623
Registration Number: ********
Site: pk40
Grade: P
Score: 76
Comment: This report shows the total points that could have been awarded in each section and the actual amount of points you were awarded. This information is provided in order to give you feedback on your relative strengths on a section basis. The maximum number of points you could have received is 100, minimum to pass is 70. Class Diagram (44 maximum) .......................... 33 Component Diagram (44 maximum) ...................... 32 Sequence/Collaboration Diagrams (12 maximum) ........ 12

Thanks.
Khurram
Hi All:
Where can i find about the SCEA Part 2/3 result??? Can anyone please let me know about it??

Khurram
I had a little bit of confusion regarding the assignment, I would like to know that whether the Itinerary and its segments will be persistent or not?

Thanks..
Khurram
Can anyone please let me know which version of EJB i.e 1.1 or 2.0 to use for SCEA Part 2.

Regards,
Khurram
I have cleared Sun Certified Enterprise Architect Part 1 with 95%, now I am looking for SCEA Part 2 and i will greatly welcome suggestions regarding clearing this exam.

Regards,
Khurram Majeed
Sr. Software Engineer
LMK Resources, Karachi, Pakistan.
I have cleared Sun Certified Enterprise Architect Part 1 with 95%, now I am looking for SCEA Part 2 and i will greatly welcome suggestions regarding clearing this exam.

Regards,
Khurram Majeed
Sr. Software Engineer
LMK Resources, Karachi, Pakistan.
15 years ago