prasad Chandrasekaran Iyer

Greenhorn
+ Follow
since Jan 14, 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 prasad Chandrasekaran Iyer

Coz when using the CMR through remote Interface. The client application doesn't know which interface has been implemented on server side
your public id doesn't match with the xml validator you are using check out the Doctype
it is 1.1 and the dtd is 2.0
regards
prasad chandrasekaran
Hi,
I am trying to use ejbjar tag in ants to generate the deployment descriptors for Websphere
I get the following problem
Class must implement the inherited abstract method com.ibm.websphere.cpi.PersisterHome.getBean(Object)
you have to read like this
InputStream in= this.getClass().getClassLoader().getResourceAsStream("your path would go here");
for eg the if your .java file is in packaget org.presci.transaction
and your xml file is in same directory
then the path would go something like this
/org/presci/transaction/your.xml
20 years ago
Has anyone tried using ejbjar task for websphere application.
I require code for developing deployment descriptor using ejbjar
I am facing problem creating jar file
following is the code

<ejbjar srcdir="${build.classes.dir}" descriptordir="${tmp.ejb.descriptor.websphere.dir}" basejarname="${profinance.ejb.basename}">
<include name="*-ejb-jar.xml"/>
<websphere ejbdeploy="false"
destdir="${tmp.ejb.jar.websphere.dir}">
<wasclasspath>
<pathelement location="${was5.home}/deploytool/itp/plugins/org.eclipse.core.boot_2.0.2.1/boot.jar"/>
<pathelement location="${was5.home}/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime/batch.jar"/>
<pathelement location="${was5.home}/lib/xerces.jar"/>
<pathelement location="${was5.home}/lib/ivjejb35.jar"/>
<pathelement location="${was5.home}/lib/j2ee.jar"/>
<pathelement location="${was5.home}/lib/vaprt.jar"/>
</wasclasspath>
<classpath>
<path refid="build.classpath"/>
</classpath>
</websphere>
<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" location="http://java.sun.com/dtd/ejb-jar_2_0.dtd"/>
</ejbjar>
20 years ago
Has anybody ever done pooling sequence in ejb. Like I have this around 20 ejbs. So while deploying which one should have hignest priority and lowest priority.
20 years ago
I am facing a problem I have successfully deployed the 1.1 ejb in Websphere. The problem I am facing is with Datasource of Websphere. I get the following stacktrace. What I understand is my datasource is for 1.x EJB while the deployment Descriptor is for 2.x. I don't know how to fix this problem. Any help is highly appreciated.
WSVR0209E: Unable to prepare EJB jar Deployed_Cabintmp.jar [class com.ibm.ws.runtime.component.DeployedModuleImpl], enterprise bean com.ibm.etools.ejb.impl.ContainerManagedEntityImpl(Cabin) (isReentrant: false) (version: 1.x)
javax.naming.NamingException: Attempted to use a 4.0 DataSource in EJB 2.0 Module. Invalid configuration.
at com.ibm.ejs.cm.DSFactoryImpl.verifyConfiguration(DSFactoryImpl.java:225)
at com.ibm.websphere.advanced.cm.factory.DataSourceFactory$ResourceReferenceObjectFactory.getObjectInstance(DataSourceFactory.java:733)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313) at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:884)
at com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:1674) at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1537) at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1457) at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1167) at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:132) at javax.naming.InitialContext.lookup(InitialContext.java:359) at com.ibm.ws.cpi.JDBCPersisterFactoryImpl.create(JDBCPersisterFactoryImpl.java:97) at com.ibm.ejs.container.BeanMetaData.completeInitialization(BeanMetaData.java:1169)
20 years ago
Hi
can any body tell me how to make our applet and servlet as "trusted" .
this is very urgent.

Thank u
23 years ago
Hi anybody can help me to solve this problem.
i am getting an error page when i pass parameters to jsp page from html page.
this is my HTML page and i am giving my name here
<html>
<head>
<title>Jsp page</title>
<body>
hello how r u
<form ACTION="abc1.jsp" METHOD="GET" >
if you don't mind me asking what is ur name
<input type=text name="name"><p>
<input type=submit>
</form>
</body>
</head>
</html>
This is my JSP page, and i am passing parameters to this page.
And i mentioned HTML and JSP pages in PUBLIC_HTML directory in weblogic server.
i configured weblogic server with jsp page settings, i started the weblogic server, and i given url like this
http://localhost:7001/abc.html
and i am getting the second page like this with an error page.
http://localhost:7001/abc1.jsp?name=prasad

<html>
<head>
<title> first jsp page</title>
<body>
<h1>
<% if(request.getParameter("name")==null){
out.println("hello world");
}
else{
out.println("hello, "+ request.getParmater("name"));
}
%>
</h1>
</body>
</html>

can anybody help me out with this problem
prasad
23 years ago
Hi and thanks for ur reply.
I tried to do the way that u mentioned but still i am getting error.
this is my HTML page and i am giving my name here
<html>
<head>
<title>Jsp page</title>
<body>
hello how r u
<form ACTION="abc1.jsp" METHOD="GET" >
if you don't mind me asking what is ur name
<input type=text name="name"><p>
<input type=submit>
</form>
</body>
</head>
</html>
This is my JSP page, and i am passing parameters to this page.
And i mentioned HTML and JSP pages in PUBLIC_HTML directory in weblogic server.
and i started the weblogic server, and i given url like this
http://localhost:7001/abc.html
and i am getting the second page like this with an error page.
http://localhost:7001/abc1.jsp?name=prasad

<html>
<head>
<title> first jsp page</title>
<body>
<h1>
<% if(request.getParameter("name")==null){
out.println("hello world");
}
else{
out.println("hello, "+ request.getParmater("name"));
}
%>
</h1>
</body>
</html>

can anybody help me out with this problem
prasad
23 years ago
Hi
generic servlet doesn't have the http functionality where Httpservlet does.
Prasad
23 years ago
Hi
i think u can use "refresh" and mention the time.

prasad
23 years ago
Hi
if i want to pass parameters to .jsp file form an html file,
what i should mention In the ACTION of html page
prasad
23 years ago
Hi
how do i configure to run a jsp example on Weblogic server
Thank u
prasad.k
23 years ago