sam jadhav

Greenhorn
+ Follow
since Jan 12, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by sam jadhav

I have the problem related to EJB -

When I call the create method of entity bean from session bean the following exception is get generated.

Also when I call any find method the Find fail exception.



Table name also present in database same in jboss-cmp-jdbc.xml



Bound EJB Home 'LeaveApplicationBean' to jndi 'LeaveApplicationBean' { entity bean )

16:56:29,380 INFO [EJBDeployer] Deployed: file:/C:/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/LeaveEntityBeanNew.jar

16:56:34,151 INFO [TomcatDeployer] deploy, ctxPath=/LeaveModule, warUrl=.../tmp/deploy/tmp7368LeaveModule-exp.war/

16:56:39,345 INFO [TomcatDeployer] undeploy, ctxPath=/customeTag, warUrl=.../tmp/deploy/tmp7365customeTag-exp.war/

16:56:39,486 INFO [EJBDeployer] Undeploying: file:/C:/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/LeaveSessionBean.jar

16:56:39,580 INFO [EjbModule] Deploying leaveBean

16:56:39,720 INFO [ProxyFactory] Bound EJB Home 'leaveBean' to jndi 'leaveBean' { Session Bean }

16:56:39,720 INFO [EJBDeployer] Deployed: file:/C:/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/LeaveSessionBean.jar

16:56:40,018 WARN [DeployerInterceptorJSE] Cannot load servlet class: com.leave.LeaveTest

16:56:40,018 INFO [TomcatDeployer] deploy, ctxPath=/customeTag, warUrl=.../tmp/deploy/tmp7371customeTag-exp.war/

16:56:50,061 INFO [STDOUT] Inside ejbCreate

16:56:50,202 ERROR [LeaveApplicationBean] Error checking if entity exists

java.sql.SQLException: [Oracle][ODBC][Ora]ORA-00921: unexpected end of SQL command

at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)

at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)

at sun.jdbc.odbc.JdbcOdbc.SQLExecute(Unknown Source)





Same problem with me too
15 years ago
Error compiling EJB-QL statement for EJB 'Bean':

SELECT OBJECT(p) FROM LeaveApp As p WHERE p.employee_id=?1;

- nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.UnknownPathException: Unknown terminal field: at line 1, column 55. Encountered: "employee_id" after: "p.")


sandip jadhav wrote:I am facing the problem while using Core custom tag

<%@taglib prefix="c" uri = "http://java.sun.com/jsp/jstl/core" %>

Error :
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application


I also added the jar file in library : C:\jboss-4.0.5.GA\jboss-4.0.5.GA\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs\jstl.jar

If possible provide me the solution.

15 years ago
JSP
I am facing the problem while using Core custom tag

<%@taglib prefix="c" uri = "http://java.sun.com/jsp/jstl/core" %>

Error :
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application


I also added the jar file in library : C:\jboss-4.0.5.GA\jboss-4.0.5.GA\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs

If possible provide me the solution.

15 years ago
JSP