Red Hat Linux8 , Jbo3.2 , Oracle 9i, Java 1.4.2
When I installed a EJB application to the Jboss3.2, it was no error or warning
when start Jboss, but the application could not run correctly, it cannot login.
Here are the messages appear in the Jboss server side
2004-11-11 11:13:54,135
DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByQuery.UsersEJB#findByLogin_name]
Executing SQL: SELECT user_id FROM USERSEJB WHERE login_name=?
2004-11-11 11:13:54,136
DEBUG
[org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory]
Using properties: {user=edu ,password=--hidden--}
2004-11-11 11:13:54,787
INFO [STDOUT] admin01:abcde -> -4
edu is Oracle 9i loginname,
admin01 / abcde are EJB application loginname and password:
Please help me , Thanks
Here are some files I think maybe relate to the problem
ejb-jar.xml
<enterprise-beans>
Users
<ejb-name>UsersEJB</ejb-name>
com.edu.entity.users.UsersHome
com.edu.entity.users.Users
<ejb-class>com.edu.entity.users.UsersBean</ejb-class>z
<persistence-type>Container</persistence-type>
<prim-key-class>com.edu.entity.users.UsersPK</prim-key-class>
False
<cmp-version>1.x</cmp-version>
<abstract-schema-name>Users</abstract-schema-name>
<cmp-field><field-name>user_id</field-name></cmp-field>
<cmp-field><field-name>login_name</field-name></cmp-field>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<ejb-name>UsersEJB</ejb-name>
<method-name>*</method-name>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
jaws.xml
findByLogin_name
LOGIN_NAME = {0}
<read-ahead>true</read-ahead>
jboss.xml
<ejb-name>UsersEJB</ejb-name>
<jndi-name>UsersHome</jndi-name>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854713#3854713
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854713
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user