Jaideep Joshi

Greenhorn
+ Follow
since Mar 12, 2004
Merit badge: grant badges
For More
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 Jaideep Joshi

Hi all,
I am using weblogic 7 sp1. I am trying to use autype an task. I keep getting following error messages for different combinations of attributes:

The <autotype> task doesn't support the "schemafile" attribute

or

The <autotype> task doesn't support the "javatypes" attribute

Thanks in advance...
17 years ago
Hi all,
I am using weblogic 7 sp1. I am trying to use autype an task. I keep getting following error messages for different combinations of attributes:

The <autotype> task doesn't support the "schemafile" attribute

or

The <autotype> task doesn't support the "javatypes" attribute

Thanks in advance...
17 years ago
Hi all,
Can you please suggest any open source UML tool for the part II assigment.

Thanks in advance,
Hi All,
I am trying to dispatch the request to a JSP from a filter.
I don't want to do FilterChain.doFilter() because I want to skip the remaining filter chain for perticuler jsps.
How do I do this?
Appriciate the help.

Thanks,
18 years ago
Hi all,
I need urgent help.
I deleted weblogic administrator user from weblogic portal administrator by mistake.
Any body know if there any other way to recover than re-install.

Thanks,
19 years ago
Thanks, Jakarta HttpClient worked perfectly.
19 years ago
Hi all,
I have to send an XML string to a url using http post. I have to do it in either a plain java class or through a session ejb.
Anyone has any idea of how to do this using java.net package ?

Thanks in advance,
19 years ago
I dont't want to create the client module. Also I don;t want to use launchClient utility. I just want to run a simple java class from cmd prompt.
20 years ago
Hi All,
I have a stateless session ejb deployed on WAS 5.1.
I have written a simple java class to run a method in the remote interface of the ejb. I have created a client jar, which contains the ejb interfaces.
I have put all the necessory jars in the classpath (client.jar, naming.jar, namingclient.jar, server.jar and core.jar).
When I try to run this class, I get following error, any clue ???:
java.lang.UnsatisfiedLinkError: registerNatives
at com.ibm.jvm.ExtendedSystem.registerNatives(Native Method)
at com.ibm.jvm.ExtendedSystem.<clinit>(ExtendedSystem.java:176)
at com.ibm.rmi.util.JDKBridge.setCodebaseProperties(JDKBridge.java:226)
at com.ibm.rmi.util.JDKBridge.<clinit>(JDKBridge.java:205)
at com.ibm.rmi.util.RepositoryId.<clinit>(RepositoryId.java:122)
at com.ibm.rmi.iiop.CDROutputStream.<clinit>(CDROutputStream.java:1077)
at com.ibm.rmi.corba.ORB.<init>(ORB.java:250)
at com.ibm.rmi.iiop.ORB.<init>(ORB.java:166)
at com.ibm.CORBA.iiop.ORB.<init>(ORB.java:521)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:306)
at java.lang.Class.newInstance(Class.java:259)
at org.omg.CORBA.ORB.create_impl(ORB.java:295)
at org.omg.CORBA.ORB.init(ORB.java:336)
at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:77)
at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:174)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:98)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:74)
at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:386)
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:284)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:365)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:408)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:131)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at testSessionEjbClient.main(testSessionEjbClient.java:23)
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:324)
at com.intellij.rt.execution.application.AppMain.main(Unknown Source)
20 years ago
Hi all,
I have a question about how do I deploy ejb on WAS 5.1 from WSAD 5.1.
Following are the steps I followed:
1. Install WAS 5.1
2. Installed WSAD 5.1
3. I have developed a session ejb in WSAD.
4. I have configured a new server under servers in WSAD for my WAS app server.
5. I added my EJB project in the server.
6. When I try to run the server i get following error message:
Connection failed on host localhost.
Reason:
IWAT0016E The agent controller is not available on host localhost.
Make sure that:
* the Agent Controller is installed.
* the Agent Controller is configured to communicate with your machine.
* you have the correct host name and port number for the Agent Controller.
Anybody has any idea about this ? how do I install Agent Controller on top of what I have right now.
Thanks in advance...
20 years ago
Hi all,
Lot of people seem to have this issue and nobody seems to know the exact reason, so posting this here. Help needed ...
Steps:
1. I created a Queue Connection Factory in 'WebSphere JMS Provider'.
2. I created a Queue in 'WebSphere JMS Provider'.
3. I created a Message Listener Port in server1/Message Listener Service
4. I have one MDB, ibm-ejb-jar-bnd.xml has an entry for this message listener port.
5. When I deploy my application. Server throws following error while starting the application:
[3/24/04 18:37:02:724 EST] 66318893 ConnectionEve A J2CA0056I: The Connection Manager received a fatal connection error from the Resource Adaptor for resource jms/queue/InQueueConnectionFactory. The exception which was received is javax.jms.JMSException: MQJMS2008: failed to open MQ queue
[3/24/04 18:37:02:724 EST] 66318893 MDBListenerIm W WMSG0019E: Unable to start MDB Listener MessageProcessorBean, JMSDestination jms/queue/InQueue : javax.jms.JMSException: MQJMS2008: failed to open MQ queue
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:540)
at com.ibm.mq.jms.MQQueueAgent.resolveQueue(MQQueueAgent.java:460)
at com.ibm.mq.jms.MQQueueAgent.getQueueAgent(MQQueueAgent.java:271)
at com.ibm.mq.jms.MQConnectionBrowser.MQConnectionBrowserInit(MQConnectionBrowser.java:277)
at com.ibm.mq.jms.MQConnectionBrowser.<init>(MQConnectionBrowser.java:112)
at com.ibm.mq.jms.MQQueueConnection.createConnectionBrowser(MQQueueConnection.java:775)
at com.ibm.mq.jms.MQConnectionConsumer.<init>(MQConnectionConsumer.java:444)
at com.ibm.mq.jms.MQConnectionConsumer.<init>(MQConnectionConsumer.java:362)
at com.ibm.mq.jms.MQQueueConnection.createConnectionConsumer(MQQueueConnection.java:712)
at com.ibm.ejs.jms.JMSQueueConnectionHandle.createConnectionConsumer(JMSQueueConnectionHandle.java:117)
at com.ibm.ejs.jms.listener.MDBListenerImpl.createResources(MDBListenerImpl.java:390)
at com.ibm.ejs.jms.listener.MDBListenerImpl.internalStart(MDBListenerImpl.java:553)
at com.ibm.ejs.jms.listener.MDBListenerImpl.restart(MDBListenerImpl.java:527)
at com.ibm.ejs.jms.listener.MDBListenerImpl.alarm(MDBListenerImpl.java:809)
at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:80)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
---- Begin backtrace for Nested Throwables
com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2085
at com.ibm.mq.MQQueueManager.accessQueue(MQQueueManager.java:1527)
at com.ibm.mq.MQQueueManager.accessQueue(MQQueueManager.java:1579)
at com.ibm.mq.jms.MQQueueAgent.resolveQueue(MQQueueAgent.java:451)
at com.ibm.mq.jms.MQQueueAgent.getQueueAgent(MQQueueAgent.java:271)
at com.ibm.mq.jms.MQConnectionBrowser.MQConnectionBrowserInit(MQConnectionBrowser.java:277)
at com.ibm.mq.jms.MQConnectionBrowser.<init>(MQConnectionBrowser.java:112)
at com.ibm.mq.jms.MQQueueConnection.createConnectionBrowser(MQQueueConnection.java:775)
at com.ibm.mq.jms.MQConnectionConsumer.<init>(MQConnectionConsumer.java:444)
at com.ibm.mq.jms.MQConnectionConsumer.<init>(MQConnectionConsumer.java:362)
at com.ibm.mq.jms.MQQueueConnection.createConnectionConsumer(MQQueueConnection.java:712)
at com.ibm.ejs.jms.JMSQueueConnectionHandle.createConnectionConsumer(JMSQueueConnectionHandle.java:117)
at com.ibm.ejs.jms.listener.MDBListenerImpl.createResources(MDBListenerImpl.java:390)
at com.ibm.ejs.jms.listener.MDBListenerImpl.internalStart(MDBListenerImpl.java:553)
at com.ibm.ejs.jms.listener.MDBListenerImpl.restart(MDBListenerImpl.java:527)
at com.ibm.ejs.jms.listener.MDBListenerImpl.alarm(MDBListenerImpl.java:809)
at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:80)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
20 years ago
Kyle, your solution worked...Thanks.
20 years ago
Kyle,
I tried ypur solution. Now I get different error message.
Here is what I get, any clue ???:
C:\WS\WebSphere\AppServer\bin>launchClient D:\tmp\TestClient.ear
IBM WebSphere Application Server, Release 5.1
J2EE Application Client Tool
Copyright IBM Corp., 1997-2003
WSCL0012I: Processing command line arguments.
WSCL0013I: Initializing the J2EE Application Client Environment.
WSCL0035I: Initialization of the J2EE Application Client Environment has complet
ed.
WSCL0014I: Invoking the Application Client class TestSendMessage
Sending message: 'This is test queue sender program.'
Retrieving a QueueConnectionFactory from JNDI
javax.naming.CommunicationException: A communication failure occurred while atte
mpting to obtain an initial context with the provider URL: "iiop://jjoshi.braunc
onsult.com:9090". Make sure that any bootstrap address information in the URL i
s correct and that the target name server is running. A bootstrap address with
no port specification defaults to port 2809. Possible causes other than an inco
rrect bootstrap address or unavailable name server include the network environme
nt and workstation network configuration. Root exception is org.omg.CORBA.COMM_
FAILURE: purge_calls:1218 reason=1 state=5 vmcid: IBM minor code: 306 complete
d: Maybe
at com.ibm.rmi.iiop.Connection.purge_calls(Connection.java:1217)
at com.ibm.rmi.iiop.Connection.doReaderWorkOnce(Connection.java:2617)
at com.ibm.rmi.transport.ReaderThread.run(ReaderPoolImpl.java:136)
Unexpected error A communication failure occurred while attempting to obtain an
initial context with the provider URL: "iiop://jjoshi.braunconsult.com:9090". M
ake sure that any bootstrap address information in the URL is correct and that t
he target name server is running. A bootstrap address with no port specificatio
n defaults to port 2809. Possible causes other than an incorrect bootstrap addr
ess or unavailable name server include the network environment and workstation n
etwork configuration.
20 years ago
Hi all,
I have samll program which tries to lookup a queue connection factory in WAS 5.1 JNDI.
I get the inital context by this way:
private static Context getInitialContext() {
Context ctx =null;
try {
Properties properties = new Properties();
properties.put(Context.PROVIDER_URL, "iiop://localhost:9090");
properties.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
ctx = new InitialContext(properties);
} catch (Exception ex) {
ex.printStackTrace();
}
return ctx;
}
When I execute follwing lines :
ctx = getInitialContext();
QueueConnectionFactory qcf = null;
qcf = (QueueConnectionFactory)ctx.lookup( qcfName );
I get following exception:
java.lang.UnsatisfiedLinkError: registerNatives
at com.ibm.jvm.ExtendedSystem.registerNatives(Native Method)
at com.ibm.jvm.ExtendedSystem.<clinit>(ExtendedSystem.java:176)
at com.ibm.rmi.util.JDKBridge.setCodebaseProperties(JDKBridge.java:226)
at com.ibm.rmi.util.JDKBridge.<clinit>(JDKBridge.java:205)
at com.ibm.rmi.util.RepositoryId.<clinit>(RepositoryId.java:122)
at com.ibm.rmi.iiop.CDROutputStream.<clinit>(CDROutputStream.java:1077)
at com.ibm.rmi.corba.ORB.<init>(ORB.java:250)
at com.ibm.rmi.iiop.ORB.<init>(ORB.java:166)
at com.ibm.CORBA.iiop.ORB.<init>(ORB.java:521)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:306)
at java.lang.Class.newInstance(Class.java:259)
at org.omg.CORBA.ORB.create_impl(ORB.java:295)
at org.omg.CORBA.ORB.init(ORB.java:336)
at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:77)
at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:174)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:98)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:74)
at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:386)
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:284)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:365)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:408)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:131)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at TestSendMessage.main(TestSendMessage.java:53)
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:324)
at com.intellij.rt.execution.application.AppMain.main(Unknown Source)
Please help...
20 years ago
Hi all,
What is the best way to build, using ant, a webservice from session bean for websphere 5.1.
I used to build webservice for weblogic using servicegen ant task.
Thanks,
20 years ago