ram kri

+ Follow
since Dec 08, 2005
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by ram kri

i developed one EJb(session bean). i want to deploy it in websphere.
how to write ejb-jar.xml and other websphere specific files.

can you provide any example files.
16 years ago
I developed EJB with local interfaces (EJBLocalHome and EJBLocalObject).

when i am calling this EJB, i am getting following exception


Exception in thread "main" javax.naming.LinkException: [Root exception is javax.naming.LinkException: [Root exception
is javax.naming.NameNotFoundException: remaining name: /app/ejb/local.jar#HelloBeancom/local-home]; Link Remaining Name:
'null']; Link Remaining Name: 'java:app/ejb/local.jar#HelloBeancom/local-home'
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
at weblogic.jndi.internal.ServerNamingNode_812_WLStub.lookup(Unknown Source)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:343)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:336)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at HelloClient.main(HelloClient.java:22)
Caused by: javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: remaining name: /app/ejb/
local.jar#HelloBeancom/local-home]; Link Remaining Name: 'null'
at weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:98)
at weblogic.jndi.internal.ServerNamingNode.resolveObject(ServerNamingNode.java:265)
at weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:732)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:191)
at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Caused by: javax.naming.NameNotFoundException: remaining name: /app/ejb/local.jar#HelloBeancom/local-home
at weblogic.j2eeclient.SimpleContext.resolve(SimpleContext.java:35)
at weblogic.j2eeclient.SimpleContext.resolve(SimpleContext.java:39)
at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:57)
at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:62)
at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:45)
at weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:130)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:96)
... 13 more

What is the difference between sendRedirect and forward in JSP?

[BPSouther: Fixed casing in post]
[ September 18, 2006: Message edited by: Ben Souther ]
17 years ago
how can i start a webogic server with producion mode
18 years ago
what is difference between

public static String valueof(char[] data, int offset ,int count)


public static String copyValueOf(char[] data, int offset, int count)
18 years ago
what is warnchanges() method in javascript
i need to do one scenario that is

suppose user access one jsp page in any web application then he sit idle for sometime then the page is automatically rediret to any another page
how do u write code for that
that is just function name
somebody has developed that one
i am using log4j api for creating log file

how can i give the path of creating log file in log4j.properties file

windows 2000 is my O.S
where can i find a good practical examples on oops concepts like

polymorphism ,encapsulatin etc..??
18 years ago
i want to create a log file for my web application using log4j api.

where shall i keep that log file?

can u give the directory structure of the webapplication while maintaing the log files?
18 years ago
can i write javascript in the body of form?
if i chose to write javascript in body of form, is it leads to any problems?