Re: Error getting pooled Oracle connection

2001-02-07 Thread waheed_rahuman

can any one please in creating war file please help for  creating a war file
regards
waheed


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Re: Error getting pooled Oracle connection

2001-02-06 Thread Robert Krueger

At 22:36 06.02.2001 , you wrote:
I would really appreciate it if someone could tell me where I am going 
wrong here.  It is probably something very simple.  I'm just trying to get 
a pooled Oracle connection.

there is some shared library missing for your OCI driver. if you're on a 
unix system check if your $ORACLE_HOME/lib is in the LD_LIBRARY_PATH your 
orion instance is using.

if this doesn't make sense to you, use the thin driver and you will be OK.

no orion problem just your local oracle client setup.

HTH

robert

This is in my data-sources.xml:

data-source
class="com.evermind.sql.DriverManagerDataSource"
name="Oracle"
location="jdbc/OracleCoreDS"
xa-location="jdbc/xa/OracleXADS"
ejb-location="jdbc/OracleDS"
pooled-location="jdbc/OraclePooledDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="store"
password="store"
url="jdbc:oracle:oci8:@jjh"
inactivity-timeout="30"
/

This is in my EJB:

Context ctx = new InitialContext();
DataSource dataSource = (DataSource)ctx.lookup("jdbc/OraclePooledDS");
Connection con = dataSource.getConnection();
Statement st = con.createStatement();
ResultSet rs = st.executeQuery("select description from attribute_type");
if (rs.next())
  blah = rs.getString("description");
st.close();
con.close();


And this is my error message, which occurs on the getConnection() call:

javax.transaction.TransactionRolledbackException: 
java.lang.UnsatisfiedLinkError
: make_c_state
at com.evermind.server.ejb.EJBUtils.getUserException(JAX)
at 
 Customer_StatelessSessionBeanWrapper0.newCustomer(Customer_StatelessS
essionBeanWrapper0.java:45)
at __jspPage1_index_jsp._jspService(__jspPage1_index_jsp.java:54)
at com.orionserver.http.OrionHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.xj(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.d3.sw(JAX)
at com.evermind.server.http.d3.su(JAX)
at com.evermind.server.http.ef.s1(JAX)
at com.evermind.server.http.ef.do(JAX)
at com.evermind.util.f.run(JAX)


Please help! =)
_
Get your FREE download of MSN Explorer at http://explorer.msn.com



(-) Robert Krger
(-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
(-) Brder-Knau-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de