Mina Syal

Ranch Hand
+ Follow
since Jun 24, 2004
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 Mina Syal

Hi Sridhar,

Thanks for your reply... but i didn't get you what are you looking for

Following is the print stack of error thorwn:
javax.naming.NoInitialContextException: Cannot instantiate class: com.ibm.websphere.naming.WsnInitialContextFactory . Root exception is java.lang.ClassNotFoundException: com.ibm.websphere.naming.WsnInitialContextFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:374)
at java.lang.ClassLoader.loadClass(ClassLoader.java:562)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:438)
at java.lang.ClassLoader.loadClass(ClassLoader.java:494)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:256)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.jav
a:59)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
61)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:256
)
at javax.naming.InitialContext.init(InitialContext.java:232)
at javax.naming.InitialContext.<init>(InitialContext.java:208)
at versata.vfc.XDAEJBConnector_WS.getInitialContext(XDAEJBConnector_WS.j
ava:96)
at versata.vfc.XDAEJBConnector_WS.getEJBHome(XDAEJBConnector_WS.java:140
)
at versata.vfc.XDAEJBConnector_WS.connectInternal(XDAEJBConnector_WS.jav
a:282)
at versata.vfc.XDAEJBConnector_EJB.connectJNDI(XDAEJBConnector_EJB.java:
129)
at versata.vfc.XDAEJBConnector.connect(XDAEJBConnector.java:70)
at versata.common.VSSession.connect(VSSession.java:652)
at com.ibm.rdc.fmw.cassette.gaa.server.GAABusinessClient.init(GAABusines
sClient.java:70)
at com.ibm.rdc.fmw.cassette.gaa.server.CoverageHandler.getBusinessClient
(CoverageHandler.java:260)
at com.ibm.rdc.fmw.cassette.gaa.server.CoverageHandler.executeTask(Cover
ageHandler.java:128)
at com.ibm.rdc.fmw.util.threads.PullThreadPool$WorkerThread.run(PullThre
adPool.java:213)
at java.lang.Thread.run(Thread.java:568)

I am getting this error at aVSSession.connect(); which is an object of VSSession. following are the lines of code:
String aVLSName = appMData.getVlsName();
String aPackageName = appMData.getVlsPackage();
String anApplicationName = appMData.getVlsApplication();
String aUserId = appMData.getVlsUserId();
String aPassword = appMData.getVlsPassword();

AppEnvironment anAppEnvironment = new AppEnvironment(aPackageName, anApplicationName, null, true, false );
private versata.security.SecurityObject secObj;
secObj = new versata.security.SecurityObject(aUserId, aPassword, aPackageName + "." + anApplicationName);

aVSSession = new VSSession(aVLSName,secObj, anAppEnvironment);

VSApplicationContext.setPackageName(aPackageName);
VSApplicationContext.setAppName(anApplicationName);
VSApplicationContext.setSession(aVSSession);
try {
aVSSession.connect();
System.out.println("************************** VSSESSION CONNECTED *************");
} catch (Throwable ex) {
ex.printStackTrace();
}


hope this will answer your question...
looking for your reply again...

thanks
15 years ago
Hi

I am getting following error... and i have wasted so much time in resolving jars version.

Here is the error:

javax.naming.NoInitialContextException: Cannot instantiate class: com.ibm.websph
ere.naming.WsnInitialContextFactory . Root exception is java.lang.ClassNot
FoundException: com.ibm.websphere.naming.WsnInitialContextFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:374)
at java.lang.ClassLoader.loadClass(ClassLoader.java:562)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:438)
at java.lang.ClassLoader.loadClass(ClassLoader.java:494)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:256)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.jav
a:59)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
61)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:256
)
at javax.naming.InitialContext.init(InitialContext.java:232)
at javax.naming.InitialContext.<init>(InitialContext.java:208)
at versata.vfc.XDAEJBConnector_WS.getInitialContext(XDAEJBConnector_WS.j
ava:96)
at versata.vfc.XDAEJBConnector_WS.getEJBHome(XDAEJBConnector_WS.java:140
)
at versata.vfc.XDAEJBConnector_WS.connectInternal(XDAEJBConnector_WS.jav
a:282)
at versata.vfc.XDAEJBConnector_EJB.connectJNDI(XDAEJBConnector_EJB.java:
129)
at versata.vfc.XDAEJBConnector.connect(XDAEJBConnector.java:70)
at versata.common.VSSession.connect(VSSession.java:652)
at com.ibm.rdc.fmw.cassette.gaa.server.GAABusinessClient.init(GAABusines
sClient.java:70)
at com.ibm.rdc.fmw.cassette.gaa.server.CoverageHandler.getBusinessClient
(CoverageHandler.java:260)
at com.ibm.rdc.fmw.cassette.gaa.server.CoverageHandler.executeTask(Cover
ageHandler.java:128)
at com.ibm.rdc.fmw.util.threads.PullThreadPool$WorkerThread.run(PullThre
adPool.java:213)
at java.lang.Thread.run(Thread.java:568)


please help urgently.... thanks in advance.

mina.
15 years ago
Hi,

What all other jar files you removed... i am also getting same error.

Thanks in advance.
15 years ago
Hi,

Did you find the solution of this problem... i am facing the same... looking for urgent response...

Thanks in advance...
15 years ago
Hi

Facing some problem in WSAD 5.1.2. I am sending you the details... just in case if you have time.

In WSAD 5.1.2, I am trying to access a remote EJB using a pure Java client. They exist in two seperate projects, the following is the exception I get

javax.naming.NamingException: Error during resolve. Root exception is com.ibm.ejs.jts.jts.CurrentSet$InitializationError: not initialized
at com.ibm.ejs.jts.jts.CurrentSet.self(CurrentSet.java:218)
at com.ibm.ejs.jts.jts.CurrentSet.get_control(CurrentSet.java:265)
at com.ibm.ejs.jts.jts.Current.get_control(Current.java:72)
at com.ibm.ws.naming.util.Helpers.suspendTransaction(Helpers.java:1412)
at com.ibm.ejs.ns.jndi.CNContextImpl.cosResolve(CNContextImpl.java:3117)
at com.ibm.ejs.ns.jndi.CNContextImpl.doLookup(CNContextImpl.java:1442)
at com.ibm.ejs.ns.jndi.CNContextImpl.lookup(CNContextImpl.java:1132)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:128)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
at rdx.util.IlrRulesetArchiver.init(IlrRulesetArchiver.java:214)
at rdx.rules.GenerateRules.insertEmptyRuleSet(GenerateRules.java:250)
at rdx.rules.GenerateRules.generateRules(GenerateRules.java:194)
at rdx.rules.GenerateRules.<init>(GenerateRules.java:103)
at com.ibm.rdc.cassette.gaa.req.recv.ProcessTFFRequest.generateRules(ProcessTFFRequest.java:425)
at com.ibm.rdc.cassette.gaa.req.recv.ProcessTFFRequest.processRequest(ProcessTFFRequest.java:719)
at com.ibm.rdc.cassette.gaa.req.recv.GAACmnReqReceiver.main(GAACmnReqReceiver.java:236)

Here is the method where the exception is being thrown

try
{
Context context = new InitialContext(props);
System.out.println("Looking for props" + props);
System.out.println("*** 1");
Object object = context.lookup("IlrRuleSet");
System.out.println("*** 2");
Class clazz = IlrRuleSetHome.class;
writer.println("Looking for " + clazz.getName());
System.out.println("*** 3");
Object home = PortableRemoteObject.narrow(object,clazz);
this.rulesetHome = (IlrRuleSetHome)home;
}
catch(NamingException ex)
{
System.out.println("********** NamingException : "+ex);
ex.printStackTrace();
}


Any help or idea...
15 years ago
Hi,

I have unicode data in DB2. I am trying to display it in my JSP. I am doing following:
<%
while(rs.next())
{
name = rs.getString(1);
value = new String(name.getBytes("UTF8"));
%>
<TR>
<TD width="345"><%=value%></TD>
</TR>
<%
i++;
}
%>

and i have set the character encoding to UTF-8 in jsp. It dose display japanese characters but not correctly.

I have checked the UTF-8 value which is coming from database is right by putting them in string variable.

Please respond.

Thanks in advance.
15 years ago
JSP
I added following line in my jsp:

response.setContentType("text/html;charset"+scharset);


and now its working fine.


Thanks.
16 years ago
JSP
Hello,

I am setting up character encoding in JSP dynamically using following meta tag:

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=<%=charset%>"

if charset value comes Big5 then it become
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Big5">

but browser is always showing contents in ASCII and not the encoding set by my JSP.
When I manually select View-->Encoding-->Chinese Traditional (Big5) in my Internet Explorer, it works.

Please help.

Thanks in advance,
Mina.
16 years ago
JSP
Can anyone tell me the link of IBM 486 forum?

I know I am posting this topic at wrong place.

Sorry.

Mina.
Can anyone give me IBM 486 forum link...

Thanks,
Mina
16 years ago
Thanks for all your responses... :-)

Planning for IBM 486 next... any suggesstions....


Mina.
16 years ago
I cleared my SCBCD today with 91%. I would like to thank all of you for participating in this forum.

Thanks a lot.

Mina.
16 years ago
I cleared my SCBCD today with 91%. I would like to thank all of you for participating in this forum.

Thanks a lot.

Mina.