"skolb" wrote : Try this:
|
| <rar-name>sapjra.rar</rar-name>
|
<connection-definition>javax.resource.cci.ConnectionFactory</connection-definition>
|
| instead of
| <adapter-display-name>SAPJRA</adapter-display-name>
|
| in your -ds.xml
Thank you very much for your help. The jboss starts now fine, the
datasource/connection factory was bound to jndi! But i still have some problems
with the connection from a external j2se client:
...
Hashtable env = new Hashtable();
| env.put Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
| env.put(Context.PROVIDER_URL, "jnp://10.140.51.126:1099");
| env.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
|
| InitialContext ic = new InitialContext(env);
| logger.debug("InitialContext ok!");
|
| // lookup for ConnectionFactory in JNDI
| ConnectionFactory connectionfactory = (ConnectionFactory) ic.lookup(Jndi);
| // get connection
| connection = connectionfactory.getConnection();
it cause a java.lang.ClassCastException. Do you know anything about this
problem?? Any idea?
Would be very nice if you could help me any further.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890302#3890302
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890302
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user