Help coderanch get a
new server
by contributing to the fundraiser

yu lei

Greenhorn
+ Follow
since Sep 19, 2003
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 yu lei

if your j2ee system run in WLS or IBM's "where**",you need not the pattren-- DAO. the JNDI pool and DataSource is "DAO".
how can i change the Weblogic start in RUNNING mod to in Development Mod in JBuilder?
how can i change the Weblogic start in RUNNING mod to in Development Mod in JBuilder?
deploy on jbuilder+weblogic+struts:
i built a project(named untitled2):
creat a CMP(name as News);
creat a webapplication(name as aperapp) with struts framework;
creat Action(name as aperaction), a part of which source is follow:
javax.naming.Context context = new javax.naming.InitialContext();
context.lookup("untitled2.NewsHome");//I think that " untitled2.NewsHome " is wrong .but what is right,help me!!!
by the way:
the deploy and run is all right,but the follow errors:
javax.naming.LinkException: . Root exception is javax.naming.NameNotFoundException: While trying to look up /app/ejb/News.jar#News/local-home in /app/webapp/paperapp/26723714.; remaining name '/app/ejb/News/jar#News/local-home'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:869)
at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNamingNode.java:150)
............
20 years ago
deploy on jbuilder+weblogic+struts:
i built a project(named untitled2):
creat a CMP(name as News);
creat a webapplication(name aperapp) with struts framework;
creat Action(name aperaction), a part of which source is follow:
javax.naming.Context context = new javax.naming.InitialContext();
context.lookup("untitled2.NewsHome");//I think that " untitled2.NewsHome " is wrong .but what is right,help me!!!

by the way:
the deploy and run is all right,but the follow errors:
javax.naming.LinkException: . Root exception is javax.naming.NameNotFoundException: While trying to look up /app/ejb/News.jar#News/local-home in /app/webapp/paperapp/26723714.; remaining name '/app/ejb/News/jar#News/local-home'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:869)
at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNamingNode.java:150)
............