Maruti Nori

Greenhorn
+ Follow
since Mar 13, 2002
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 Maruti Nori

Hi,
We have to port an existing J2EE application from Oracle(written in PL/SQL) to DB2.In Oracle we were passing collection of integers as a string, similarly in SQL server we were passing an XML consisting of integer collection.
What should be our approach in DB2 for passing these collections as input parameters.
Similarly we were using 'OracleTypes.ARRAY' in Oracle and 'ResultSets' in SQL server for handling output parameters which are a collection of integers.How should we handle this in DB2.
Any help on this greatly appreciated.
thanks & regards,
Maruti
Hi,
In our current application we create datasources for Weblogic using installer, which writes entries into config.xml. Now in WebSphere we have a problem in this approach because the passwords are encrypted and stored in server-cfg.xml.Are there any API's exposed by IBM to perform this function in WebSphere.
regards,
Maruti Nori
21 years ago
Hi,
What is the equivalent version of IBM JVM version 1.3.0 in Sun's JDK.Is
IBM JVM version
1.3.0 not the same as Sun's JDK version 1.3 or atleast 1.2.
thanks & regards,
Maruti
21 years ago
Hi,
We have a java swing application developed which accesses EJB's on WebSphere server.Now since we cannot use non IBM JVM(easily) as a client to connect to WebSphere, we are forced to use IBM JRE even in Webstart.Now here comes the problem.When i try to install Webstart without installing the JRS version 1.3.0_03 but instead use the IBM jre version 1.3.0,if i try to start Webstart it says bad installation.But say i install the JRE that comes with Webstart and then go to preferences of Webstart and change the JRE to IBM's JRE it works.
But since in our case we cannot expect the end user to able to edit this kind of settings, we would like to know if there is any other way to do this.
thanks & regards,
Maruti Nori
21 years ago
Hi,

We ar usign IBM websphere for deploying our EJBs.But we are not able to access the EJB from any non IBM's JVM clients eventhough we place websphere.jar and j2ee.jar in the classpath.It gives the following exception.
java.lang.NoClassDefFoundError: com/ibm/rmi/iiop/ORB
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
1)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(W
snInitialContextFactory.java:72)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
65)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246
)
at javax.naming.InitialContext.init(InitialContext.java:222)
at javax.naming.InitialContext.<init>(InitialContext.java:198)ection.java:192)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:14
50)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ctButton.java:1504)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:378)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250
)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:216)
at java.awt.Component.processMouseEvent(Component.java:3715)
at java.awt.Component.processEvent(Component.java:3544)
at java.awt.Container.processEvent(Container.java:1164)
at java.awt.Component.dispatchEventImpl(Component.java:2593)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451
)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Window.dispatchEventImpl(Window.java:926)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
But if we change the path to point to IBM's JVM it works fine.
Does this mean that to connect to IBM webSphere we do not have any option other than
running the client from an IBM's JVM.
21 years ago
Hi,
I have a Container managed transaction stateless session bean.This contains a method whose transaction attribute is 'NotSupported'.I get a 'Transaction roll back exception' if i try to directly access this from a stand alone client.
Say if i change the transaction attribute to 'Required' it works fine.
Is 'NotSupported' attribute supported at all in WebSphere4.0.
thanks,
Maruti
22 years ago