2010-10-04 73 views
1

我遇到了Oracle AS 10.1.3.3中的JMS問題。OC4J 10.1.3.3無法找到ojms.rar設置數據庫持久性

我得到的錯誤是來自EM的'connectors \ ojms.rar(系統找不到指定的路徑)'。

以下是關於環境的一些項目符號。

  • 這是在Windows XP SP3機器上。
  • 所有配置都是通過EM。
  • EM是一個已使用了一年以上的本地實例。
  • 此實例具有通過JNDI公開的現有數據庫連接管理。
  • Oracle_home設置爲解壓OC4J zip文件的目錄。 C:\ oc4j_10.1.3.3。
  • ojms.rar文件位於%ORACLE_HOME%\ J2EE \家\連接器

配置OC4J爲JMS與數據庫持久 我已經創建的Oracle AQ一個新的數據連接,並暴露於通過連接JNDI爲JMS/flexc

在創建資源適配器通過EM,我提供以下信息: 資源名稱:JMS上FlexC 添加新資源 名稱:jmsFlexc 數據源JNDI:JMS/flexc(selecte從下拉框)

d很快,我得到下面的錯誤:



An error has occurred. 
connectors\ojms.rar (The system cannot find the path specified) 
connectors\ojms.rar (The system cannot find the path specified) 
[Select to hide information] Hide Additional Trace Information 
oracle.sysman.ias.studio.j2ee.deploy.DeployUtil$DeploymentFailureException at 
oracle.sysman.ias.studio.j2ee.deploy.DeployUtil.deployArchive(DeployUtil.java:211) at 
oracle.sysman.ias.studio.j2ee.deploy.DeployUtil.deployArchive(DeployUtil.java:85) at 
oracle.sysman.ias.studio.oc4j.jms.JMXDeployDbProviderAdminBean.deployDBProviderAndConfigure(JMXDeployDbProviderAdminBean.java:121) at 
oracle.sysman.ias.studio.oc4j.jms.DeployDbProviderHelper.deployDBProvider(DeployDbProviderHelper.java:242) at 
oracle.sysman.ias.studio.oc4j.jms.DeployDbProviderHelper.handleEvent(DeployDbProviderHelper.java:127) at 
oracle.sysman.ias.studio.sdk.AbstractController.handleEvent(AbstractController.java:769) at 
oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:378) at 
oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765) at 
oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283) at 
oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:385) at 
oracle.cabo.servlet.UIXServlet.doPost(Unknown Source) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at 
com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at 
oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75) at 
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at 
oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85) at 
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at 
oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80) at 
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at 
oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68) at 
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at 
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at 
com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at 
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at 
com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at 
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at 
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at 
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at 
oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at 
oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at 
oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at 
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at 
java.lang.Thread.run(Thread.java:619) Caused by: oracle.oc4j.admin.jmx.shared.exceptions.JMXRuntimeException: connectors\ojms.rar (The system cannot find the path specified) at 
oracle.oc4j.admin.jmx.shared.util.JarTool.(JarTool.java:122) at 
oracle.sysman.ias.studio.j2ee.deploy.DeployPageUtil.getArchiveType(DeployPageUtil.java:105) at 
oracle.sysman.ias.studio.j2ee.deploy.DeployUtil.deployArchive(DeployUtil.java:133) ... 33 more Caused by: java.io.FileNotFoundException: connectors\ojms.rar (The system cannot find the path specified) at 
java.util.zip.ZipFile.open(Native Method) at 
java.util.zip.ZipFile.(ZipFile.java:114) at 
java.util.jar.JarFile.(JarFile.java:135) at 
java.util.jar.JarFile.(JarFile.java:99) at 
oracle.oc4j.admin.jmx.shared.util.JarTool.(JarTool.java:119) ... 35 more 

回答

0

發現,這是OC4J的錯誤。

,可知該溶液的一位同事作爲註釋this blog

作出部署 資源適配器時,我也得到了一個錯誤。我發現這個 是Oracle Standalone 10.1.3.3.0(Metalink上的bug 6786060)中的一個錯誤,可以通過使用 10.1.3.2.0或通過在沒有ORACLE_HOME 環境變量的情況下啓動Oracle standalone來解決。這是由 命令「java -jar oc4j.jar」。我 使用最後的解決方案,它爲我工作 罰款。