Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!

bhaskar

Greenhorn
+ Follow
since Jan 20, 2006
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 bhaskar

Hi I have a simple java clinet program, which is intended to send the messages to JMSQueue defined in Websphere v6.0 server default messaging. My client is successfully able to identify the objects defined in server but while creating the connectionFactory The below error ahs been returned.

----- There was a Exception : javax.jms.JMSException: CWSIA0241E: An exception was received during the call to the method JmsManagedConnectionFactoryImpl.createConnection: com.ibm.websphere.sib.exception.SIResourceException: CWSIT0006E: It is not possible to connect to bus MyBus because the following bootstrap servers could not be contacted [172.31.120.6:7281:BootstrapBasicMessaging] and the following bootstrap servers returned an error condition []. See previous messages for the reason for each bootstrap server failure..

After checking the Websphere docs,I updated the connectionFactory settings and added Provider endpoints as 172.31.120.6:7281:BootstrapBasicMessaging.

----- There was a Exception : javax.jms.JMSException: CWSIA0241E: An exception was received during the call to the method JmsManagedConnectionFactoryImpl.createConnection: com.ibm.websphere.sib.exception.SIResourceException: CWSIT0006E: It is not possible to connect to bus MyBus because the following bootstrap servers could not be contacted [172.31.120.6:7281:BootstrapBasicMessaging] and the following bootstrap servers returned an error condition []. See previous messages for the reason for each bootstrap server failure..


I tried the possible options setting the endpoint, but no luck yet.
Please help me in getting rid of the above problem.
I am using websphere 5.1.1 Integration server,but i do not have WMQ installed in my system. It is intalled in another machine.
I have to connect to the extenal MQJMS.

Any body, please give me the details.



Thanks inadvance.
16 years ago
I have the XML schema file and I want to create java representation for the xml.
Can we create schema project using wsad5.1.1.
I have created schema project using websphere work shop and i tried to use the schema.jar which has the xml representation in java class in WSAD but it is giving VM Exception, Version is different from wasd to weblogic work shop.

can any body know how to create schema representation in WSAD5.1.1 ?

or can you tell me how to use the weblogic generated schema project.jar in WSAD environment?
I have given the implfactory.properties path in the server path aswell as system classpath, but still the problem is coming.

Let me know where exactly i have to give the classpath.Is it in system classpath or client project classpath or in server classpath or in ejb project classpath? please clear it.

I am using wsad5.1.1 sever and application Client program for client.



Thanks in Advance...
Hi All, I am getting exception while running the client from WSAD5.1.1 and I ma using server 5.0.
I have added wssec.jar, naming.jar, namingclient.jar, lmproxy.jar,sas.jar and ecutils.jar, implfactory.properties in class path.

But still it is giving the below exception.

Please let me know the solution for this problem.

Thanks in advance.......

After getting system proerties::{java.naming.provider.url=iiop://localhost:2809, java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory}
Unable to read required resource: implfactory.properties
java.lang.NullPointerException
at java.io.Reader.<init>(Reader.java:78)
at java.io.InputStreamReader.<init>(InputStreamReader.java:104)
at java.io.InputStreamReader.<init>(InputStreamReader.java:93)
at java.util.Properties.load(Properties.java:214)
at com.ibm.ws.util.ImplFactory$1.run(ImplFactory.java:38)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.ws.util.ImplFactory.<clinit>(ImplFactory.java:33)
at com.ibm.ejs.jts.jts.CurrentFactory.<clinit>(CurrentFactory.java:56)
at com.ibm.ws.naming.jndicos.CNContextImpl.suspendTransaction(CNContextImpl.java:4064)
at com.ibm.ws.naming.jndicos.CNContextImpl.cosResolve(CNContextImpl.java:3521)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1565)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1525)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1225)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:132)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
at TestClient.main(TestClient.java:38)
NamingException thrown in CLient program::The JNDI operation "lookup"on the context "localhost/nodes/localhost/servers/server1" with the name "MyTestHome" failed. Please get the root cause Throwable contained in this NamingException for more information.
javax.naming.NamingException: The JNDI operation "lookup"on the context "localhost/nodes/localhost/servers/server1" with the name "MyTestHome" failed. Please get the root cause Throwable contained in this NamingException for more information. Root exception is java.lang.NoClassDefFoundError: Invalid Implementation Key, com.ibm.ws.transaction.TXCurrent
at com.ibm.ws.util.ImplFactory.loadClassFromKey(ImplFactory.java:104)
at com.ibm.ejs.jts.jts.CurrentFactory.<clinit>(CurrentFactory.java:56)
at com.ibm.ws.naming.jndicos.CNContextImpl.suspendTransaction(CNContextImpl.java:4064)
at com.ibm.ws.naming.jndicos.CNContextImpl.cosResolve(CNContextImpl.java:3521)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1565)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1525)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1225)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:132)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
at TestClient.main(TestClient.java:38)
Root Cause is: