Java Jdeveloper 12c无法运行

Java Jdeveloper 12c无法运行,java,mysql,weblogic,jdeveloper,Java,Mysql,Weblogic,Jdeveloper,我将jdeveloper12c与MYSQL数据库一起使用,我在weblogic上创建了一个数据源,在jdeveloper中创建了数据库连接,现在我有两个问题 1-我无法运行AppModule……我在互联网上看到的是将mysql连接器放在weblogic域中……但我不知道这个目录在哪里。你能帮我把它放在正确的路径中吗 2-当我在jsf页面上拖动视图并运行它时,我得到了错误(如下所述),但它在web上打开,但createinsert按钮不工作,我不知道为什么…我如何将数据保存在数据库中哪个按钮提交或

我将jdeveloper12c与MYSQL数据库一起使用,我在weblogic上创建了一个数据源,在jdeveloper中创建了数据库连接,现在我有两个问题 1-我无法运行AppModule……我在互联网上看到的是将mysql连接器放在weblogic域中……但我不知道这个目录在哪里。你能帮我把它放在正确的路径中吗 2-当我在jsf页面上拖动视图并运行它时,我得到了错误(如下所述),但它在web上打开,但createinsert按钮不工作,我不知道为什么…我如何将数据保存在数据库中哪个按钮提交或创建或createinsert? -(数字2)中的错误

[在IntegratedWebLogicServer上运行应用程序5…]
[08:39:04 PM]在项目ViewController.jpr中识别Web模块ViewControllerWebApp.war
[08:39:05 PM]——部署已开始----
[08:39:05 PM]目标平台是(Weblogic 12.x)。
[08:39:06 PM]检索现有应用程序信息
[08:39:06 PM]正在运行依赖项分析。。。
[08:39:06 PM]正在部署2个配置文件。。。
[08:39:07 PM]将Web应用程序模块写入C:\Users\Keeem\AppData\Roaming\JDeveloper\system12.2.1.0.42.151011.0031\o.j2ee\drs\Application5\ViewControllerWebApp.war
[08:39:07 PM]警告:连接档案没有密码。未为连接archiveds生成archiveds-jdbc.xml文件。
[08:39:07 PM]将企业应用程序模块写入C:\Users\Keeem\AppData\Roaming\JDeveloper\system12.2.1.0.42.151011.0031\o.j2ee\drs\Application5
[08:39:07 PM]正在将1个数据源部署到服务器。。。
[08:39:07 PM]警告:找不到数据源存档的用户root的密码。数据源密码未部署到服务器。
[08:39:07 PM]正在部署应用程序。。。
com.oracle.cie.servicetable.external.ServiceTableException:javax.naming.NameNotFoundException:尝试查找“jdbc.localsvctbdatasource”时未找到子上下文“jdbc”。已解决“”;剩余名称“jdbc/LocalSvcTblDataSource”
在com.oracle.cie.servicetable.impl.ServiceTableImpl.getOnlineLocalServiceTableConnection(ServiceTableImpl.java:99)上
位于com.oracle.cie.servicetable.impl.ServiceTableImpl.getLocalConnection(ServiceTableImpl.java:223)
在com.oracle.cie.servicetable.impl.ServiceTableImpl.query上(ServiceTableImpl.java:405)
位于com.oracle.cie.servicetable.impl.ServiceTableImpl.query(ServiceTableImpl.java:379)
位于oracle.as.ccw.jmx.CCWCache.autoRePublish(CCWCache.java:320)
位于oracle.as.jmx.framework.wls.spi.WLSInternalEventsListener.processEditSessionChanges(WLSInternalEventsListener.java:376)
位于oracle.as.jmx.framework.wls.spi.WLSInternalEventsListener.handleEvent(WLSInternalEventsListener.java:198)
位于weblogic.management.eventbus.spi.InternalEventBusImpl.send(InternalEventBusImpl.java:75)
位于weblogic.management.provider.internal.RuntimeAccessDeploymentReceiveService.doCommit(RuntimeAccessDeploymentReceiveService.java:574)
位于weblogic.management.provider.internal.RuntimeAccessDeploymentReceiveService.commit(RuntimeAccessDeploymentReceiveService.java:435)
位于weblogic.deploy.service.internal.targetserver.deploymentReceiverCallbackDeliver.doCommitCallback(deploymentReceiverCallbackDeliver.java:195)
在weblogic.deploy.service.internal.targetserver.deploymentReceiverCallbackDeliver.commit(deploymentReceiverCallbackDeliver.java:64)
在weblogic.deploy.service.internal.statemachines.targetserver.WaitingCommit.callDeploymentReceivers(WaitingCommit.java:266)上
位于weblogic.deploy.service.internal.statemachines.targetserver.AwaitingCommit.handleCommit(AwaitingCommit.java:121)
位于weblogic.deploy.service.internal.statemachines.targetserver.AwaitingCommit.receivedCommit(AwaitingCommit.java:44)
在weblogic.deploy.service.internal.transport.CommonMessageReceiver.receiveRequestCommitMsg(CommonMessageReceiver.java:597)
位于weblogic.deploy.service.internal.transport.CommonMessageReceiver$3.run(CommonMessageReceiver.java:883)
在weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:643)
在weblogic.invocation.ComponentInvocationContextManager.\u运行方式(ComponentInvocationContextManager.java:348)
在weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
在weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)上
位于weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
位于weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
在weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
在weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
原因:javax.naming.NameNotFoundException:尝试查找“jdbc.LocalSvcTblDataSource”时未找到子文本“jdbc”。已解决“”;剩余名称“jdbc/LocalSvcTblDataSource”
位于weblogic.jndi.internal.basicnamignode.newNameNotFoundException(basicnamignode.java:1224)
位于weblogic.jndi.internal.basicnamignode.lookupsere(basicnamignode.java:268)
位于weblogic.jndi.internal.ServerNamingNode.Lookupure(ServerNamingNode.java:217)
位于weblogic.jndi.internal.basicnamignode.lookupIgnorePartition(basicnamignode.java:1503)
位于weblogic.jndi.internal.PartitionHandler.lookupSharable(PartitionHandler.java:88)
位于weblogic.jndi.internal.ServerNamingNode.lookup(ServerNamingNode.java:584)
位于weblogic.jndi.internal.RootNamingNode.lookup(RootNamingNode.java:81)
在weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:307)上
位于weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:430)
在javax.naming.InitialContext.lookup(InitialContext.java:417)
在com.oracle.cie.servicetable.util.jdbcuti.GetOnlineLocalVCTBLConnection(jdbcuti.java:383)上
在com.oracle.cie.servicetable.impl.ServiceTableImpl.getOnlineLocalServiceTableConnection上(ServiceTableImpl.java:92)
... 还有24个
[08:39:16 PM]应用程序已成功部署。
[08:39:16 PM]已定义以下URL上下文根目录,可用于
[Running application Application5 on IntegratedWebLogicServer...]
[08:39:04 PM] Web Module ViewControllerWebApp.war recognized in project ViewController.jpr
[08:39:05 PM] ----  Deployment started.  ----
[08:39:05 PM] Target platform is  (Weblogic 12.x).
[08:39:06 PM] Retrieving existing application information
[08:39:06 PM] Running dependency analysis...
[08:39:06 PM] Deploying 2 profiles...
[08:39:07 PM] Wrote Web Application Module to C:\Users\Keeem\AppData\Roaming\JDeveloper\system12.2.1.0.42.151011.0031\o.j2ee\drs\Application5\ViewControllerWebApp.war
[08:39:07 PM] WARNING: Connection archiveds has no password. archiveds-jdbc.xml file not generated for connection archiveds.
[08:39:07 PM] Wrote Enterprise Application Module to C:\Users\Keeem\AppData\Roaming\JDeveloper\system12.2.1.0.42.151011.0031\o.j2ee\drs\Application5
[08:39:07 PM] Deploying 1 data source(s) to the server...
[08:39:07 PM] Warning: Password for data source archiveds, user root not found. Data source password not deployed to the server.
[08:39:07 PM] Deploying Application...
<oracle.as.ccw.jmx.CCWCache> <CCWCache> <autoRePublish> <CCW auto-republish services error >
com.oracle.cie.servicetable.external.ServiceTableException: javax.naming.NameNotFoundException: While trying to lookup 'jdbc.LocalSvcTblDataSource' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/LocalSvcTblDataSource'
  at com.oracle.cie.servicetable.impl.ServiceTableImpl.getOnlineLocalServiceTableConnection(ServiceTableImpl.java:99)
  at com.oracle.cie.servicetable.impl.ServiceTableImpl.getLocalConnection(ServiceTableImpl.java:223)
  at com.oracle.cie.servicetable.impl.ServiceTableImpl.query(ServiceTableImpl.java:405)
  at com.oracle.cie.servicetable.impl.ServiceTableImpl.query(ServiceTableImpl.java:379)
  at oracle.as.ccw.jmx.CCWCache.autoRePublish(CCWCache.java:320)
  at oracle.as.jmx.framework.wls.spi.WLSInternalEventsListener.processEditSessionChanges(WLSInternalEventsListener.java:376)
  at oracle.as.jmx.framework.wls.spi.WLSInternalEventsListener.handleEvent(WLSInternalEventsListener.java:198)
  at weblogic.management.eventbus.spi.InternalEventBusImpl.send(InternalEventBusImpl.java:75)
  at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.doCommit(RuntimeAccessDeploymentReceiverService.java:574)
  at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.commit(RuntimeAccessDeploymentReceiverService.java:435)
  at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
  at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.commit(DeploymentReceiverCallbackDeliverer.java:64)
  at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingCommit.callDeploymentReceivers(AwaitingCommit.java:266)
  at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingCommit.handleCommit(AwaitingCommit.java:121)
  at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingCommit.receivedCommit(AwaitingCommit.java:44)
  at weblogic.deploy.service.internal.transport.CommonMessageReceiver.receiveRequestCommitMsg(CommonMessageReceiver.java:597)
  at weblogic.deploy.service.internal.transport.CommonMessageReceiver$3.run(CommonMessageReceiver.java:883)
  at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:643)
  at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
  at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
  at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
  at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
  at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
Caused by: javax.naming.NameNotFoundException: While trying to lookup 'jdbc.LocalSvcTblDataSource' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/LocalSvcTblDataSource'
  at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1224)
  at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:268)
  at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:217)
  at weblogic.jndi.internal.BasicNamingNode.lookupIgnorePartition(BasicNamingNode.java:1503)
  at weblogic.jndi.internal.PartitionHandler.lookupSharable(PartitionHandler.java:88)
  at weblogic.jndi.internal.ServerNamingNode.lookup(ServerNamingNode.java:584)
  at weblogic.jndi.internal.RootNamingNode.lookup(RootNamingNode.java:81)
  at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:307)
  at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:430)
  at javax.naming.InitialContext.lookup(InitialContext.java:417)
  at com.oracle.cie.servicetable.util.JdbcUtil.getOnlineLocalSvcTblConnection(JdbcUtil.java:383)
  at com.oracle.cie.servicetable.impl.ServiceTableImpl.getOnlineLocalServiceTableConnection(ServiceTableImpl.java:92)
  ... 24 more
<oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack> <BC4JConfigLifeCycleCallBack> <contextInitialized> <Mbean registered ########....>
<oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack> <BC4JConfigLifeCycleCallBack> <contextInitialized> <Mbean registered ########....>
<oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack> <BC4JConfigLifeCycleCallBack> <contextInitialized> <Mbean registered ########....>
[08:39:16 PM] Application Deployed Successfully.
[08:39:16 PM] The following URL context root(s) were defined and can be used as a starting point to test your application:
[08:39:16 PM] http://192.168.248.1:7101/Application5-ViewController-context-root
[08:39:16 PM] Elapsed time for deployment:  12 seconds
[08:39:16 PM] ----  Deployment finished.  ----
Run startup time: 11912 ms.
[Application Application5 running on IntegratedWebLogicServer]


Target URL -- http://127.0.0.1:7101/Application5-ViewController-context-root/faces/untitled2.jsf
<org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl> <ViewHandlerImpl> <_isTimestampCheckEnabled> <Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml>
<05/03/2016 8:39:26 PM GMT+03:00> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:62,344 during the configured idle timeout of 5 seconds.>
<05/03/2016 8:39:26 PM GMT+03:00> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:62,343 during the configured idle timeout of 5 seconds.>
<05/03/2016 8:39:26 PM GMT+03:00> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:62,346 during the configured idle timeout of 5 seconds.>
<05/03/2016 8:39:26 PM GMT+03:00> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:62,342 during the configured idle timeout of 5 seconds.>
<05/03/2016 8:39:26 PM GMT+03:00> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:62,345 during the configured idle timeout of 5 seconds.>
javax.naming.NameNotFoundException: While trying to lookup 'jdbc.LocalSvcTblDataSource' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/LocalSvcTblDataSource'