• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

ClassNotFoundException

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can any body give me the solution here.
iam new and wrote ejb on weblogic5.1 on solaris
for oracle connection i used this lines of code
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
con=DriverManager.getConnection("jdbc racle:thin:@wk01:1523:VIS","scott","tiger");
and i set in weblogic.properties file:
under Weblogic jdbc connection pool management,
url=jdbc racle:thin:wk01:1523:VIS,\
driver=oracle:jdbc river racleDriver,\/
props=user=scott;password=tiger;
so when i run the client program the exception from
weblogic server i saw was:
Exception from bean is
java.lang.ClassNotFoundException racle.jdbc.driver.OracleDriver
i also read from server information when it starts,
that this could occur if the jdbc driver is not in the
weblogic.class.path.
if this is the reason , then can u tellme how to set
that path on solaris.
or any other problems here...?
thanx.
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"venga",
You have been asked several times to change your name to comply with the JavaRanch naming policy. http://www.javaranch.com/name.jsp.
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please edit your profile and select a new name which meets the requirements.
This is likely the last chance you'll get before your account is locked.
Thanks.
Dave
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by venga:
can any body give me the solution here.
iam new and wrote ejb on weblogic5.1 on solaris
for oracle connection i used this lines of code
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
con=DriverManager.getConnection("jdbc racle:thin:@wk01:1523:VIS","scott","tiger");
and i set in weblogic.properties file:
under Weblogic jdbc connection pool management,
url=jdbc racle:thin:wk01:1523:VIS,\
driver=oracle:jdbc river racleDriver,\/
props=user=scott;password=tiger;
so when i run the client program the exception from
weblogic server i saw was:
Exception from bean is
java.lang.ClassNotFoundException racle.jdbc.driver.OracleDriver
i also read from server information when it starts,
that this could occur if the jdbc driver is not in the
weblogic.class.path.
if this is the reason , then can u tellme how to set
that path on solaris.
or any other problems here...?
thanx.


Add file classes12.zip (you can download it from Oracle - it contains driver) to weblogic classpath.
 
manju latha
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yaa i set the classpath for weblogic
in startweblogic.sh file under
Post_classpath=/classes12.zip;
but the thing is now is giving
ClassNotFoundException: java.util.Map

whats the problem sir..?
thanx.
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i guess java classpath problem.
set java_classpath to JDK/lib/...
 
Your mother is a hamster and your father smells of tiny ads!
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic