JPA在重新部署玻璃鱼后停止工作 [英] JPA stops working after redeploy in glassfish
问题描述
错误代码:17041 >
我做错了什么?
编辑:
粘贴日志 http://pastebin.com/qC01ztkx
发现问题。我在我的应用程序中引用了ojdbc6.jar。我已经删除了参考文件并通过将所述jar复制到glassfish / lib中提供了ojdbc6.jar文件。
Using oracle xe with glassfish and eclipselink. Problems with persisting objects arise. After fresh restart of glassfish app works ok. If app is recompiled and redeployed via admin interface. Persisting objects stops working. The error is:
Internal Exception: java.sql.SQLException: ORA-17041: (no message for error) 1 Error Code: 17041
What am I doing wrong?
EDIT: Pasted logs http://pastebin.com/qC01ztkx
Found the problem. I had a reference to ojdbc6.jar in my app. I have removed the reference and supplied glassfish with ojdbc6.jar by copying said jar to glassfish/lib
这篇关于JPA在重新部署玻璃鱼后停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!