JBoss 4.2.3 - UserTransaction 未绑定,未发布
我正在运行 JBoss 4.2.3。当我查看 JNDIView 时,我在全局 JNDI 命名空间中没有看到 UserTransaction。
这导致我的 web 应用程序出现以下错误:
javax.naming.NameNotFoundException: UserTransaction not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
此问题发生在我的远程托管服务 (eapps) 上。但是,在我的本地计算机(也运行 4.2.3)上,一切都很好。
我该如何解决这个问题?
I'm running JBoss 4.2.3. When I look at the JNDIView, I do not see UserTransaction in the Global JNDI Namespace.
This is causing the following error in my webapp:
javax.naming.NameNotFoundException: UserTransaction not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
This problem is happening on my remote hosting service (eapps). However, on my local machine, which is also running 4.2.3, it's fine.
How can I fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
修好了。几个月前,我曾尝试让 RMI over HTTP 工作。只成功了一半,然后就分心了,忘记了这件事。我只是复制了我编辑过的文件的一些原始版本,然后一切又恢复了。
Fixed it. Some months ago, I had tried to get RMI over HTTP to work. Got it half working and then got distracted and forgot about it. I just copied over some original versions of the files that I had edited, and it all worked again.