manju latha

Greenhorn
+ Follow
since Jul 04, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by manju latha

thanx for the response sim,
iam using Jakarta-tomcat application server
and oracle using servlets for the database connections
so u said that application server have an inbuilt facility
of DB connection pooling. but how would my code be
in the servlet for the database connection object..??
also how many max connections do i set for Jakarta ??
and how to set it..??
can u pl. help me again by explaining this.
thanx alot.
hello, i need to switch on to "connection pooling"
in my program, i have some idea about pooling.
currently i working on servlets. There could be one
lakh users who can hit our site for login(the connection
to the database). Database could be oracle or Ms-sql.
can any body help me here, what driver should i use
which can support connection pooling and how should be
the connection pool in my code.
a sample code is more helpful.
help is appreciated.
thanx.
oh so simple reddy ..!
put fscontext.jar and providerutil.jar in
your classpath.
U either include them in your CLASSPATH variable
or install them as extensions.
have a try..
yes sir,
i put midlet dir under apps and it is compiling too, but its still throwing ClassNotFoundException
when i click run on wirelessToolKit.
ofcourse i set path just now on ur saying.
iam using windows2000 do i need to restart the
system..?because after setting the path
when i run the application its still giving Exception..?
what could be the reason..???
22 years ago
hello,
i have just started running a sample
HelloWorld program in J2ME. Iam using
J2ME wireless Toolkit.
i put source file in src directory and
compile it using toolkit option "build"
its compiled well, but when i run the application
its showing emulator , and when clicked ,
its throwing the following exception.
Unable to create MIDlet HelloWorld.class
java.lang.ClassNotFoundException: HelloWorld.class
at com.sun.midp.midlet.Selector.commandAction(+47)
at javax.microedition.lcdui.List.keyPressed(+71)
at javax.microedition.lcdui.Display$DisplayAccessor.keyEvent(+147)
at com.sun.kvem.midp.lcdui.EmulEventHandler$EventLoop.run(+295)
also somebody said to see the source file name
should be same as the class file name in the
settings tab of the toolkit under Midlets tab.
Yes, they r same but still iam getting
above said exception .
please help me...
venu.
22 years ago
iam working with ejb on weblogic7.0
i have downloaded one small application from
http://weblogic.com/docs/examples/ejb/basic/containerManaged/index.html
and running on my system. I found problem while deploying
saying that Bean must implement the following methods
findByPrimaryKey()
findAccount()
findBigAccounts()
findOrderedBigAccounts()
findDescOrderedBigAccounts()
findNullAccounts()
but this bean has no implementation of this methods
where in the EJB Home interface they are declared.
what could be the reason for all such examples when
downloaded.
it could be more helpful if u just go to that url and have
a few minutes of refering that example.
else, just tell me to whom should i contact to get the
response from ?
please let me have that mail-id.
can any body please give me the code for
putting an image into database and retriving
it through jdbc using servlets and display that
image on to the browser.
iam using an html to send imagename and
using servlet to save it to database
and again want to retrive it through servlet
and display it on the browser.
thanx..
22 years ago
can anybody tell me how to set Initialisation parameters
in ejb-jar.xml in weblogic7.0 as i used in weblogic5.1
<env-entry>
<name>URL
<type>java.lang.String
<value>jdbc dbc:mydsn
</env-entry>
and retrived in my bean as
String url = initcontext.lookup
("java:comp/env/URL").toString();
it worked fine but if i edit ejb-jar.xml for setting
<env-entry> its saying thats not defined in dtd file
becuase ejb-jar.xml is created by the tool itself in
weblogic7.0
thanx..
how to edit ejb-jar.xml in weblogic7.0
which can be viewed in weblogic builder tool
but can we have any chance of edit that
because i want to use User Transaction in
stateful session bean for that i have to
set <trans-attribute>Never</trans-attribute>
<trans-type>container</trans-type>
help is appreciated.
with regards..
22 years ago
hello, i want to use User Transaction control in
Statefull Session Bean. So for that i need to change in
ejb-jar.xml in that under trans-attribute as below
<trans-attribute>Never</trans-attribute>
<trans-type> container </trans-type>
I do edit ejb-jar.xml in weblogic5.1. But how can
i change it in weblogic7.0 as the tool itself creating
those xml's . I can view those xml files under view tab
of weblogic builder. but how can i edit..??
its urgent please...
thanx.
Iam working with sample stateful session bean
can any body please reply me what could be the problem here in my client code below.
Properties prop = new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
prop.put(Context.PROVIDER_URL,"t3://localhost:7001");
prop.put(Context.SECURITY_PRINCIPAL, "venu");
prop.put(Context.SECURITY_CREDENTIALS, "venuvenu");
Context ctx = new InitialContext(prop);
Object obj = ctx.lookup("banking");
banksfullHome home = (banksfullHome)PortableRemoteObject.narrow(obj,banksfullHome.class);
banksfullRemote br1 = (banksfullRemote)PortableRemoteObject.narrow(home.create(999),banksfullRemote.class);
banksfullRemote br2 = (banksfullRemote)PortableRemoteObject.narrow(home.create(888,"Shiva",3000.00),banksfullRemote.class);

System.out.println(br1.getBalance());
System.out.println(br2.getBalance());

.................
and my Home is
public interface banksfullHome extends EJBHome
{
public banksfullRemote create(int accNo) throws RemoteException,CreateException;
public banksfullRemote create(int accNo,String accName,double bal)throws RemoteException,CreateException;
}

iam getting ClassCastException when running client as:
java.lang.ClassCastException at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Unknown Source)
at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
what could be the problem for the below exception
which occured in weblogic7.0 server when i run simple
statelessSession bean..???
(sorry for showing u big description(exception ))

java.io.IOException: The filename, directory name, or volume label syntax is incorrect
Start server side stack trace:
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
at java.io.Win32FileSystem.canonicalize(Native Method)
at java.io.File.getCanonicalPath(File.java:435)
at weblogic.management.deploy.DeployerRuntime.validatePath(DeployerRuntime.java:780)
at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:319)
at weblogic.management.deploy.DeployerRuntime.access$0(DeployerRuntime.java:282)
at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:947)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:941)
at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:279)
at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:272)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:717)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:699)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:921)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:359)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:762)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
End server side stack trace

<<no stack trace available>>
--------------- nested within: ------------------
weblogic.management.Management
hello,
iam developing an email-system(using servlets), for that to succeed in stress testing(from thousands of users
who hit our site simultaneouly) which application
server is to be used. Also can u provide the Connection Pooling program in java for that application server u suggest.
Aslo please explain me breifly why and what features
are there for ur suggeting server..?
thanx..
22 years ago
hello,
iam developing an email-system(using servlets), for that to succeed in stress testing(from thousands of users
who hit our site simultaneouly) which application
server is to be used. Also can u provide the Connection Pooling program in java for that application server u suggest.
Aslo please explain me breifly why and what features
are there for ur suggeting server..?
thanx..
22 years ago