Deploying uiXML application
I am having difficulty in deploying an uiXML/BC4J application to a standalone OC4J server. I installed the BC4J libaries (used automatic script from jdev) and right clicked on the deploy file in my project and selected the standalone instance. I can then navigate to the front uix page but when I select one of the view pages (ie when has to query the database) I am returned with this error:
java.lang.NoClassDefFoundError: oracle/jbo/uicli/mom/JUMetaObjectManager
at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:541)
at oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.getSessionCookie(Unknown Source)
at oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(Unknown Source)
at oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(Unknown Source)
at oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useAll(Unknown Source)
at oracle.cabo.data.jbo.xml.parse.JboParserExtensionImpl$JboPageDescription.renderStarted(Unknown Source)
at oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(Unknown Source)
at oracle.cabo.servlet.AbstractPageBroker.renderPage(Unknown Source)
at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:721)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
at java.lang.Thread.run(Unknown Source)
What does this mean ?? Are the BC4J libraries not installed correctly ??
Thanks,
Brent
Hello !
in the automatic script from jdev which edits the application.xml at least two entries are missing
look carefully into your application.xml
you will probably have to add a library (I've forgotten which one, I'm sorry)
Hope this helps,
Mareike
Similar Messages
-
Error while deploying ADF application to a standalone weblogic server
I am using Jdeveloper 11.1.1.6.0, and I am trying to deploy my application to a standalone server running on a Unix box and I get the following error message:
[04:12:44 PM] ---- Deployment started. ----
[04:12:44 PM] Target platform is (Weblogic 10.3).
[04:13:00 PM] Retrieving existing application information
[04:13:01 PM] Running dependency analysis...
[04:13:01 PM] Building...
[04:13:05 PM] Deploying profile...
[04:13:09 PM] Wrote Web Application Module to C:\JDeveloper\PortingAppln\ViewController\deploy\ADF1.war
[04:13:13 PM] Deploying Application...
[04:20:19 PM] [Deployer:149191]Operation 'deploy' on application 'ADF1' is initializing on 'ADF1'
[04:20:45 PM] Weblogic Server Exception: weblogic.application.WrappedDeploymentException: oracle/jrf/PortabilityLayerException
[04:20:45 PM] See server logs or server console for more details.
[04:20:45 PM] weblogic.application.WrappedDeploymentException: oracle/jrf/PortabilityLayerException
[04:20:46 PM] #### Deployment incomplete. ####
[04:20:46 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Can someone help me with this problem.
Thanks,
Srini.Well, how did you do?
I am having a similar problem.
1) Installed WLS 10.3.5 on a Linux machine
2) Installed ADF runtime libraries (ofm_appdev_generic_11.1.1.5.0_disk1_1of1.zip)
3) I can see at deployments
- adf.oracle.businesseditor(1.0,11.1.1.2.0)
- adf.oracle.domain(1.0,11.1.1.2.0)
- adf.oracle.domain.webapp(1.0,11.1.1.2.0)
- DMS Application (11.1.1.1.0)
- em
- emai
- emas
- emcore
- FMW Welcome Page Application (11.1.0.0.0)
- jsf(1.2,1.2.9.0)
I created from scratch a new Fusion Web app. It just has 1 ADF read-only table based on the HR.COUNTRIES table. It runs perfectly on the integrated WL.
I cannot deploy it to my standalone WLS. The error:
[02:01:37 PM] Unable to determine the target platform from the Profile. Using default
[02:01:37 PM] ---- Deployment started. ----
[02:01:37 PM] Target platform is (Weblogic 10.3).
[02:01:37 PM] Retrieving existing application information
[02:01:37 PM] Running dependency analysis...
[02:01:37 PM] Building...
[02:01:37 PM] Deploying 2 profiles...
[02:01:37 PM] Wrote Web Application Module to C:\JDeveloper\mywork\TesteAPP\ViewController\deploy\TesteAPP_ViewController_webapp.war
[02:01:37 PM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\TesteAPP\deploy\TesteAPP_Project1_TesteAPP.ear
[02:01:37 PM] Deploying Application...
[02:01:39 PM] [Deployer:149191]Operation 'deploy' on application 'TesteAPP_Project1_TesteAPP' is initializing on 'ADFServer'
[02:01:39 PM] [Deployer:149193]Operation 'deploy' on application 'TesteAPP_Project1_TesteAPP' has failed on 'ADFServer'
[02:01:39 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application TesteAPP_Project1_TesteAPP on ADFServer.: Failed to load webapp: 'testeADF'.
[02:01:39 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'testeADF'
[02:01:39 PM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@1021039597[app:TesteAPP_Project1_TesteAPP module:testeADF path:/testeADF spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
[02:01:39 PM] See server logs or server console for more details.
[02:01:39 PM] weblogic.application.ModuleException: Failed to load webapp: 'testeADF'
[02:01:39 PM] Deployment cancelled.
[02:01:39 PM] ---- Deployment incomplete ----.
[02:01:39 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
I am using JDeveloper 11.1.2.1.0
What am I missing here? It must be something obvious, but I am stuck.
Thanks in advance. -
Error while deploying ADF application to a standalone weblogic
jdeveloper version: 11.1.2.2
Issue: I have built a standalone weblogic server (10.3.5.0) and am trying to deploy my ADF application to it. The deployment fails with the following message. The stand alone server I have built is on the same machine where jdeveloper is installed and I am using same weblogic that came with jdeveloper install. The aplication runs fine on integrated server. I have researched this issue and have got more or less same answer of installing ADF run time libraries. Can someone please help me with exactly what I need to install and how?
Thanks,
Saurabh.
[09:49:44 AM] Unable to determine the target platform from the Profile. Using default
[09:49:44 AM] ---- Deployment started. ----
[09:49:44 AM] Target platform is (Weblogic 10.3).
[09:49:55 AM] Retrieving existing application information
[09:49:55 AM] Running dependency analysis...
[09:49:55 AM] Building...
[09:50:18 AM] Deploying profile...
[09:50:20 AM] Wrote Web Application Module to C:\JDeveloper\mywork\EmployeeTrack\ViewController\deploy\EmployeeTrack_ViewController_webapp.war
[09:50:20 AM] Deploying Application...
[09:50:24 AM] [Deployer:149191]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' is initializing on 'ADFServer'
[09:50:26 AM] [Deployer:149193]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' has failed on 'ADFServer'
[09:50:26 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application EmployeeTrack_ViewController_webapp on ADFServer.: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'.
[09:50:26 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
[09:50:26 AM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@29261813[app:EmployeeTrack_ViewController_webapp module:EmployeeTrack_ViewController_webapp.war path:/alonedemo spec-version:2.5]", defined in weblogic.xml [Extension-Name: adf.oracle.domain.webapp, exact-match: false], [Extension-Name: jstl, Specification-Version: 1.2, exact-match: false], [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
[09:50:26 AM] See server logs or server console for more details.
[09:50:26 AM] weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
[09:50:26 AM] Deployment cancelled.
[09:50:26 AM] ---- Deployment incomplete ----.
[09:50:26 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)Thanks Timo.. You were right.. Those setting helped me fix the initial issue.. Now I have another issue and was wondering if you have seen this as well?
[11:35:13 AM] Unable to determine the target platform from the Profile. Using default
[11:35:13 AM] ---- Deployment started. ----
[11:35:13 AM] Target platform is (Weblogic 10.3).
[11:35:13 AM] Retrieving existing application information
[11:35:13 AM] Running dependency analysis...
[11:35:13 AM] Building...
[11:35:20 AM] Deploying profile...
[11:35:21 AM] Wrote Web Application Module to C:\JDeveloper\mywork\EmployeeTrack\ViewController\deploy\EmployeeTrack_ViewController_webapp.war
[11:35:21 AM] Deploying Application...
[11:35:23 AM] [Deployer:149191]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' is initializing on 'ADFServer'
[11:35:25 AM] [Deployer:149193]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' has failed on 'ADFServer'
[11:35:25 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application EmployeeTrack_ViewController_webapp on ADFServer.: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'.
[11:35:25 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
[11:35:25 AM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
[11:35:25 AM] See server logs or server console for more details.
[11:35:25 AM] weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
[11:35:25 AM] Deployment cancelled.
[11:35:25 AM] ---- Deployment incomplete ----.
[11:35:25 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer) -
Error while deploying a application on weblogic 10.3
Hi experts,
deploy my application on weblogic 10.3
this error occurs:
java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory
If I remove wstx-asl-3.2.1.jar. And the application can be deployed.
But My application really needs this wstx-asl-3.2.1.jar to connect to web service.
Can anyone tell me how to fix this problem?
ThanksHi experts,
deploy my application on weblogic 10.3
this error occurs:
java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory
If I remove wstx-asl-3.2.1.jar. And the application can be deployed.
But My application really needs this wstx-asl-3.2.1.jar to connect to web service.
Can anyone tell me how to fix this problem?
Thanks -
Error while deploying the application
Hi,
I am trying to deploy an application on WLS 9.0 on Windows XP.
I get the following error while deploying.
"Cannot set web app root system property when WAR file is not expanded"
Here is the command I used and the output.
C:\bea\weblogic90\server\bin>java weblogic.Deployer -adminurl t3://localhost:7001 -username weblogic -password weblogic -deploy -name prs -source C:\bea\user_projects\domains\consoleExtensions\applica
tions\abc.war -targets AdminServer
weblogic.Deployer invoked with options: -adminurl t3://localhost:7001 -username weblogic -deploy -name abc -source C:\bea\user_projects\domains\consoleExtensions\applications\abc.war -targets AdminServer
<Feb 28, 2006 10:58:49 AM CST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operatio
n for application, abc [archive: C:\bea\user_projects\domains\consoleExtensions\applications\abc.war], to AdminServer .>
Task 0 initiated: [Deployer:149026]deploy application abc on AdminServer.
Task 0 failed: [Deployer:149026]deploy application abc on AdminServer.
Target state: deploy failed on Server AdminServer
Cannot set web app root system property when WAR file is not expanded
I am deploying my application as a .war file. I dont get this error on solaris. I dont get this error even on windows when it is deployed in exploded format.
Has anyone ran into such problem. Please let me know if you anyone knows what is the problem.
Any help is greatly appreciated.
Thanks in advance
SaratI changed the schema location in my WSDL and tried deploying it and it worked.
But now there is a new problem that has come up. When I try testing the service, it gives me an error saying that there is a problem with the end point.
The error I get is as follows:
The selected operation process could not be invoked.
An exception occured while invoking the webservice operation. Please see logs for more details.
oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): http://prodtest.sj.vindicia.com/soap.pl<br>
java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): http://prodtest.sj.vindicia.com/soap.pl
The server seems to be on but I'm not able to reach it. -
ADF Tutorial: problem with chapter 10 (Deploying the Application)
Hi!
I'm learning from ADF Tutorial (http://www.oracle.com/technology/obe/ADFBC_tutorial_1013/index.htm) and I have problem with chapter 10. After deploying finished application on the server (OracleAS10g) I try to test it but I get this error everytime:
500 Internal Server Error
Servlet error: An exception occured. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
I get this error after typing login credentials. I didn't consult the log, because I don't know where to look for it (could you tell me please?). I did everything as described in the Tutorial, but I know there are mistakes (in Tutorial), so I don't know what to do.
Thanks for any advices.Hi,
I'm running Windows XP, JDeveloper version 10.1.3.4.0, Oracle AS 10g version 10.1.3.4.0 with patch. When I tried to deploy same application on Windows Vista and OC4J, it work perfectly, which really confuses me. I think I found log file so I will post it here. It's long, I'm sorry about that:
09/01/23 16:07:07.62 SRTutorial: Servlet error
JBO-30003: Fond aplikace (oracle.srtutorial.datamodel.SRPublicServiceLocal) selhal při odhlášení modulu aplikace z důvodu následující výjimky:
oracle.jbo.JboException: JBO-29000: JBO-29000: Bad version number in .class file
Neplatná třída: oracle.srtutorial.datamodel.SRPublicServiceImpl
Zavaděč: SRTutorial.web.SRTutorial:0.0.0
Code-Source: /C:/OracleAS/j2ee/home/applications/SRTutorial/SRTutorial/WEB-INF/classes/
Konfigurace: WEB-INF/classes/ in C:\OracleAS\j2ee\home\applications\SRTutorial\SRTutorial\WEB-INF\classes
Závislá třída: oracle.jbo.common.java2.JDK2ClassLoader
Zavaděč: adf.oracle.domain:10.1.3.1
Code-Source: /C:/OracleAS/BC4J/lib/adfm.jar
Konfigurace: <code-source> in /C:/OracleAS/j2ee/home/config/server.xml
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1517)
at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1381)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
at oracle.adf.model.BindingContext.get(BindingContext.java:457)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
at oracle.adf.model.BindingContext.get(BindingContext.java:483)
at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:268)
at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
oracle.jbo.JboException: JBO-29000: Bad version number in .class file
Neplatná třída: oracle.srtutorial.datamodel.SRPublicServiceImpl
Zavaděč: SRTutorial.web.SRTutorial:0.0.0
Code-Source: /C:/OracleAS/j2ee/home/applications/SRTutorial/SRTutorial/WEB-INF/classes/
Konfigurace: WEB-INF/classes/ in C:\OracleAS\j2ee\home\applications\SRTutorial\SRTutorial\WEB-INF\classes
Závislá třída: oracle.jbo.common.java2.JDK2ClassLoader
Zavaděč: adf.oracle.domain:10.1.3.1
Code-Source: /C:/OracleAS/BC4J/lib/adfm.jar
Konfigurace: <code-source> in /C:/OracleAS/j2ee/home/config/server.xml
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1517)
at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1381)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
at oracle.adf.model.BindingContext.get(BindingContext.java:457)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
at oracle.adf.model.BindingContext.get(BindingContext.java:483)
at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:268)
at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
oracle.classloader.util.AnnotatedClassFormatError: Bad version number in .class file
Neplatná třída: oracle.srtutorial.datamodel.SRPublicServiceImpl
Zavaděč: SRTutorial.web.SRTutorial:0.0.0
Code-Source: /C:/OracleAS/j2ee/home/applications/SRTutorial/SRTutorial/WEB-INF/classes/
Konfigurace: WEB-INF/classes/ in C:\OracleAS\j2ee\home\applications\SRTutorial\SRTutorial\WEB-INF\classes
Závislá třída: oracle.jbo.common.java2.JDK2ClassLoader
Zavaděč: adf.oracle.domain:10.1.3.1
Code-Source: /C:/OracleAS/BC4J/lib/adfm.jar
Konfigurace: <code-source> in /C:/OracleAS/j2ee/home/config/server.xml
at oracle.classloader.PolicyClassLoader.findLocalClass (PolicyClassLoader.java:1462) [C:/OracleAS/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12700959]
at oracle.classloader.SearchPolicy$FindLocal.getClass (SearchPolicy.java:167) [C:/OracleAS/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12700959]
at oracle.classloader.SearchSequence.getClass (SearchSequence.java:119) [C:/OracleAS/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12700959]
at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1674) [C:/OracleAS/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12700959]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1635) [C:/OracleAS/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12700959]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1620) [C:/OracleAS/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12700959]
at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at java.lang.Class.forName0 (Native method) [unknown, by unknown]
at java.lang.Class.forName (Class.java:242) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName (JDK2ClassLoader.java:38) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.common.JBOClass.forName (JBOClass.java:164) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.common.JBOClass.findCustomClass (JBOClass.java:177) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML (ApplicationModuleDefImpl.java:836) [C:/OracleAS/BC4J/lib/bc4jmt.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML (ApplicationModuleDefImpl.java:770) [C:/OracleAS/BC4J/lib/bc4jmt.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.server.MetaObjectManager.loadFromXML (MetaObjectManager.java:534) [C:/OracleAS/BC4J/lib/bc4jmt.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject (DefinitionManager.java:579) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.mom.DefinitionManager.findDefinitionObject (DefinitionManager.java:441) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.mom.DefinitionManager.findDefinitionObject (DefinitionManager.java:374) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.mom.DefinitionManager.findDefinitionObject (DefinitionManager.java:356) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.server.MetaObjectManager.findMetaObject (MetaObjectManager.java:700) [C:/OracleAS/BC4J/lib/bc4jmt.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject (ApplicationModuleDefImpl.java:232) [C:/OracleAS/BC4J/lib/bc4jmt.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule (ApplicationModuleImpl.java:401) [C:/OracleAS/BC4J/lib/bc4jmt.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.server.ApplicationModuleHomeImpl.create (ApplicationModuleHomeImpl.java:91) [C:/OracleAS/BC4J/lib/bc4jmt.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule (DefaultConnectionStrategy.java:139) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule (DefaultConnectionStrategy.java:80) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource (ApplicationPoolImpl.java:2468) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.pool.ResourcePool.createResource (ResourcePool.java:536) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule (ApplicationPoolImpl.java:2094) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout (ApplicationPoolImpl.java:1961) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule (ApplicationPoolImpl.java:2793) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule (SessionCookieImpl.java:453) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule (HttpSessionCookieImpl.java:233) [C:/OracleAS/BC4J/lib/adfmweb.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule (SessionCookieImpl.java:424) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule (SessionCookieImpl.java:419) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule (DCJboDataControl.java:1517) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.bc4j.DCJboDataControl.beginRequest (DCJboDataControl.java:1381) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.binding.DCDataControlReference.getDataControl (DCDataControlReference.java:99) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.BindingContext.get (BindingContext.java:457) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.binding.DCUtil.findSpelObject (DCUtil.java:280) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.binding.DCUtil.findSpelObject (DCUtil.java:248) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.binding.DCUtil.findContextObject (DCUtil.java:383) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.binding.DCIteratorBinding.<init> (DCIteratorBinding.java:127) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.uicli.binding.JUIteratorBinding.<init> (JUIteratorBinding.java:60) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding (JUIteratorDef.java:87) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding (JUIteratorDef.java:51) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding (DCIteratorBindingDef.java:277) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.binding.DCBindingContainerDef.createExecutables (DCBindingContainerDef.java:296) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer (DCBindingContainerDef.java:425) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer (DCBindingContainerReference.java:54) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer (DCBindingContainerReference.java:44) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.BindingContext.get (BindingContext.java:483) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.BindingContext.findBindingContainer (BindingContext.java:313) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.BindingContext.findBindingContainerByPath (BindingContext.java:633) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.BindingRequestHandler.isPageViewable (BindingRequestHandler.java:268) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.BindingRequestHandler.beginRequest (BindingRequestHandler.java:169) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at oracle.adf.model.servlet.ADFBindingFilter.doFilter (ADFBindingFilter.java:161) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke (ServletRequestDispatcher.java:621) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal (ServletRequestDispatcher.java:370) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest (HttpRequestHandler.java:871) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest (HttpRequestHandler.java:453) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.serveOneRequest (HttpRequestHandler.java:221) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run (HttpRequestHandler.java:122) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run (HttpRequestHandler.java:111) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run (ServerSocketReadHandler.java:260) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run (ReleasableResourcePooledExecutor.java:303) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap:1.5.0_06] -
Problem to deploy ADF application on tomcat server
Hi all,
i 'm using this tutorial link to deploy adf application on tomcat server.
https://blogs.oracle.com/dana/entry/how_to_deploy_a_11g_adf_applic_1
but when i have run my application i have got following error
java.sql.SQLException: invalid arguments in call
log-
Jul 29, 2013 11:35:16 AM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b07-FCS) for context '/TestApacheApp_ViewController_webapp1'
Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack contextInitialized
SEVERE: ADFConnection mbean not registered for defaultApplicationName.
Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack contextInitialized
SEVERE:
oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:82)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:515)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1471)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:243)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Thread.java:662)
Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack contextInitialized
SEVERE: Failed to register config mbean for defaultApplicationName.
Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack contextInitialized
SEVERE:
oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextInitialized(ADFConfigLifeCycleCallBack.java:79)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:515)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1471)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:243)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Thread.java:662)
Jul 29, 2013 11:35:19 AM oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack contextInitialized
SEVERE: Not able to get Deployment Name
Jul 29, 2013 11:35:28 AM oracle.adfinternal.controller.state.ControllerState initializeRequest
WARNING: ADFc: Deserialization of session state detected but ADF scope HA support is not enabled. Please enable ADF scope HA support in the adf-config.xml file to ensure correct functioning of your applicaiton.
Jul 29, 2013 11:35:28 AM oracle.adf.share.http.ServletADFContext initialize
WARNING: Found wrong applictionScope sticking to oldContext for oldApplication defaultApplicationName, while the current one is null
Jul 29, 2013 11:35:28 AM oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
INFO: jndi:/localhost/TestApacheApp_ViewController_webapp1/WEB-INF/classes/com/in/jagran/view/DataBindings.cpx
Jul 29, 2013 11:35:28 AM oracle.adf.share.jndi.MDSBackingStore documentExists
INFO: MDS-00013: no metadata found for metadata object "/META-INF/connections.xml"
Jul 29, 2013 11:35:32 AM oracle.adf.share.http.ServletADFContext initialize
WARNING: Found wrong applictionScope sticking to oldContext for oldApplication defaultApplicationName, while the current one is null
Jul 29, 2013 11:35:33 AM oracle.adf.share.http.ServletADFContext initialize
WARNING: Found wrong applictionScope sticking to oldContext for oldApplication defaultApplicationName, while the current one is null
Jul 29, 2013 11:35:47 AM org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8086
Jul 29, 2013 11:35:47 AM org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
Jul 29, 2013 11:35:48 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jul 29, 2013 11:35:48 AM org.apache.coyote.http11.Http11AprProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8086
Jul 29, 2013 11:35:48 AM org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009There is no guideline I know of as this depends on the app itself.
What you should do is to deploy the application onto a test server and check the metrics of the app over a defined period of time with a defined amount of traffic.
Timo -
Unable to deploy ADF application to weblogic server
Hi,
We are developing ADF application using jDeveloper 11.1.1.1 and deploying to Weblogic Server 10.3.1. The application is working without any problems on 10.3.1 wblogic platform.
We procured new 64 bit hardware and installed weblogic 10.3.2 and jdeveloper 11.1.1.2 on windows platform. When we are deploying the application developed using jdeveloper 11.1.1.1 on the new platform we are getting the following exception.
An error occurred during activation of changes, please see the log for details.
[J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, Implementation-Version: 11.1.1.1.0, exact-match: false], [Extension-Name: oracle.jsp.next, exact-match: false].
Can you please provide some suggestions to debug the problem.
Thanks and Regards,
S R PrasadHi,
I have tried deploying the application using jdeveloper 11.1.1.2.0, But this time I am getting the following error after commenting the following lines in weblogic-application.xml. I have removed the following lines as I am getting classnot found exception for oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener and oracle.mds.lcm.weblogic.WLLifecycleListener.
If I deployed the application on the admin server, The application is working with out any problems. I am having problems only on Managed Server at the time of deployment.
<listener>
<listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
</listener>
<listener>
<listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
</listener>
java.lang.NoClassDefFoundError: oracle/adf/share/logging/ADFLogger
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
at java.lang.Class.getDeclaredFields(Class.java:1743)
at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:973)
at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:966)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoClassDefFoundError: oracle/adf/share/logging/ADFLogger
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
at java.lang.Class.getDeclaredFields(Class.java:1743)
at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:973)
at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:966)
Truncated. see log file for complete stacktrace
I installed weblogic with the following steps.
1. Install weblogic 10.3.2 (64 bit)
2. Install jdeveloper (ADF runtime only)
3. Launch configuration wizard.
4. create domain.
5. extend domain with jrf libraries.
5. create managed server
Thanks and Regards,
S R Prasad -
Deploying adf application to WebLogic Server Version: 10.3.6.0
hi i have develope application in adf using jdeveloper 11.1.1.6.0 i have deploy the application to weblogic 10.3.6.0
this is what i have done
1. i have created a new Managed server in my weblogic=under Environment->Servers
2.the state of my new server is shutdown
3.deployment method
-in my jdeveloper i click application->Application properties->Deployment->new->Archive Type->EAR FILE->applicationName->OK
TO deploy from jdeveloper to weblogic server
in my jdeveloper i click application APPLICATION->Deploy->applicationName->Deploy to Application Server-applicationserver i choose the new server i created in my weblogic->weblogic Option->deploy to selected instance->i select the name of the server i created in my weblogic->next->finish
after that the deployment configuration screen pop up than i click deploy then screen MDS CONFIGURATION invalid pop up with message MDS CONFIGURATION information appear invalid metadata Repository not found in target server.deploy anyway then i click yes
i got this meaasge in my deployment log
[08:33:46 AM] Entering Oracle Deployment Plan Editor
[08:38:56 AM] Deploying Application...
[08:38:57 AM] [Deployer:149195]Operation 'deploy' on application 'UAMOrganisation' has been deferred since 'UamOrganisation' is unavailable
[08:38:57 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application UAMOrganisation on UamOrganisation.: .
[08:38:57 AM] Application Deployed Successfully.
[08:38:57 AM] Elapsed time for deployment: 5 minutes, 21 seconds
[08:38:57 AM] ---- Deployment finished. ----than i go to my weblogic under deployment there i found my deploy application with a state=new and type=Enterprise application
than i click start->Servircing all request->start application assistance->yes->Start requests have been sent to the selected Deployments.
but now i what to test my application am geting this Internet Explorer cannot display the webpage,do i need to start my Managed server how do i do that,i try to click server start but it does not start how can i start my new created Managed server
the listern port of my new created server is 8003
my problem is am not able to test the application i have deploy
Edited by: adf009 on 2013/01/30 11:26 AM
Edited by: adf009 on 2013/01/30 11:39 AM
Edited by: adf009 on 2013/01/30 11:41 AM
Edited by: adf009 on 2013/01/30 12:33 PMi did this,am in window 7 64 bit
start startNodeManager.cmd
C:\Oracle\weblogic\wlserver_10.3\server\bin>set CLASSPATH=.;C:\Oracle\weblogic\p
atch_wls1036\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracl
e\weblogic\patch_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch.j
ar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\weblogic\WLSERV~1.3\serve
r\lib\weblogic_sp.jar;C:\Oracle\weblogic\WLSERV~1.3\server\lib\weblogic.jar;C:\O
racle\weblogic\modules\features\weblogic.server.modules_10.3.6.0.jar;C:\Oracle\w
eblogic\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\weblogic\modules\ORGAPA~
1.1/lib/ant-all.jar;C:\Oracle\weblogic\modules\NETSFA~1.0_1/lib/ant-contrib.jar;
C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\xqrl.jar
C:\Oracle\weblogic\wlserver_10.3\server\bin>if not "" == "" set CLASSPATH=;.;C:\
Oracle\weblogic\patch_wls1036\profiles\default\sys_manifest_classpath\weblogic_p
atch.jar;C:\Oracle\weblogic\patch_ocp371\profiles\default\sys_manifest_classpath
\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\weblogic
\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\weblogic\WLSERV~1.3\server\lib\
weblogic.jar;C:\Oracle\weblogic\modules\features\weblogic.server.modules_10.3.6.
0.jar;C:\Oracle\weblogic\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\weblogi
c\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\weblogic\modules\NETSFA~1.0_1/lib
/ant-contrib.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\xqrl.jar
C:\Oracle\weblogic\wlserver_10.3\server\bin>if not "C:\Oracle\MIDDLE~1\WLSERV~1.
1\server\lib\xqrl.jar" == "" set CLASSPATH=.;C:\Oracle\weblogic\patch_wls1036\pr
ofiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\weblogic\patc
h_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MI
DDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\weblogic\WLSERV~1.3\server\lib\weblogic_
sp.jar;C:\Oracle\weblogic\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\weblogic\
modules\features\weblogic.server.modules_10.3.6.0.jar;C:\Oracle\weblogic\WLSERV~
1.3\server\lib\webservices.jar;C:\Oracle\weblogic\modules\ORGAPA~1.1/lib/ant-all
.jar;C:\Oracle\weblogic\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDL
E~1\WLSERV~1.1\server\lib\xqrl.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\xqrl
.jar
C:\Oracle\weblogic\wlserver_10.3\server\bin>cd C:\Oracle\weblogic\WLSERV~1.3\com
mon\NODEMA~1
C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>if not "" == "" if not "" == "" go
to runNMWithListenAddressAndPort
C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>if not "" == "" goto runNMWithList
enAddress
C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>if not "" == "" goto runNMWithList
enPort
C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>"C:\Oracle\MIDDLE~1\JDK160~1\bin\j
ava.exe" -server -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:+UseSpinning -Dcohere
nce.home=C:\Oracle\weblogic\COHERE~1.7 -Dbea.home=C:\Oracle\weblogic -Dweblogic
.ProductionModeEnabled=true -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.1
-Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.1\server -Dweblogic.home=C:\Oracle\MIDDLE
~1\WLSERV~1.1\server -Dweblogic.management.discover=true -Dwlw.iterativeDev=f
alse -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false "-Djava.security.pol
icy=C:\Oracle\weblogic\WLSERV~1.3\server\lib\weblogic.policy" "-Dweblogic.nodema
nager.javaHome=C:\Oracle\MIDDLE~1\JDK160~1" weblogic.NodeManager -v
<30 Jan 2013 1:14:37 PM> <INFO> <Loading domains file: C:\Oracle\weblogic\WLSERV
~1.3\common\NODEMA~1\nodemanager.domains>
30 Jan 2013 1:14:37 PM weblogic.nodemanager.server.NMServerConfig initDomainsMap
INFO: Loading domains file: C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1\nodema
nager.domains
<30 Jan 2013 1:14:38 PM> <INFO> <Loading identity key store: FileName=C:\Oracle\
MIDDLE~1\WLSERV~1.1\server\lib\DemoIdentity.jks, Type=jks, PassPhraseUsed=true>
30 Jan 2013 1:14:38 PM weblogic.nodemanager.server.SSLConfig loadKeyStoreConfig
INFO: Loading identity key store: FileName=C:\Oracle\MIDDLE~1\WLSERV~1.1\server\
lib\DemoIdentity.jks, Type=jks, PassPhraseUsed=true
<30 Jan 2013 1:14:38 PM> <SEVERE> <Fatal error in node manager server>
weblogic.nodemanager.common.ConfigException: Identity key store file not found:
C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\DemoIdentity.jks
at weblogic.nodemanager.server.SSLConfig.loadKeyStoreConfig(SSLConfig.ja
va:153)
at weblogic.nodemanager.server.SSLConfig.<init>(SSLConfig.java:102)
at weblogic.nodemanager.server.NMServer.init(NMServer.java:186)
at weblogic.nodemanager.server.NMServer.<init>(NMServer.java:148)
at weblogic.nodemanager.server.NMServer.main(NMServer.java:380)
at weblogic.NodeManager.main(NodeManager.java:31)
30 Jan 2013 1:14:38 PM weblogic.nodemanager.server.NMServer main
SEVERE: Fatal error in node manager server
weblogic.nodemanager.common.ConfigException: Identity key store file not found:
C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\DemoIdentity.jks
at weblogic.nodemanager.server.SSLConfig.loadKeyStoreConfig(SSLConfig.ja
va:153)
at weblogic.nodemanager.server.SSLConfig.<init>(SSLConfig.java:102)
at weblogic.nodemanager.server.NMServer.init(NMServer.java:186)
at weblogic.nodemanager.server.NMServer.<init>(NMServer.java:148)
at weblogic.nodemanager.server.NMServer.main(NMServer.java:380)
at weblogic.NodeManager.main(NodeManager.java:31)
C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>goto finish
C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>ENDLOCAL
C:\Oracle\weblogic\wlserver_10.3\server\bin>can i test my application without manged server started
link is http://italianknows.blogspot.com/2011/02/weblogic-1034-ps3-nodemanager-wont.html
Edited by: adf009 on 2013/01/30 1:43 PM
Edited by: adf009 on 2013/01/30 1:56 PM
Edited by: adf009 on 2013/01/30 1:57 PM
Edited by: adf009 on 2013/01/30 2:14 PM
Edited by: adf009 on 2013/01/30 2:15 PM
Edited by: adf009 on 2013/01/30 2:16 PM -
What is the best way to deploy an application ??
Hi,
Please advise me how to automate in a best way to Deploy 10 different applications(.ear/.war)
to 10 different Clusters(containing 40 Managed servers) in wls6.1......and that
too in a Production environment.
I know that we can use weblogic Console to deploy an application BUT if i have
2 unix boxes and each box contains 4-4 clusters(each containing 16-20 managed
servers) .....then i have to open up 2 Admin server consoles to deploy each of
the respective applications and that too deploying these application to 8 clusters.....OR
i can use deploy commad to do the same.
AND if i have like 100 clusters .....then i would have to "deploy" 100 times ......
is there any way that we can BEST AUTOMATE this process.
Thanks a lot.
-sangitaThanks Tommy. but i would like to know a very important point here: this is using
the weblogic.utility that you just talkd about.
Suppose iam having an ADMIN server that has say 10 clusters and 50 managed servers
underneath to take care.
1 cluster each = 5 managed server
now iam deploying a simple .war file to say a single managed server, i have found
out that it takes a looot of time to get the application deployed.
what do you say about this situation ?
what is the best approach ??????
-sangita
"Tomy Mathew" <[email protected]> wrote:
>
>
To deploy the application from the command prompt in WebLogic 6.1 you
use the
following command
$JAVA_HOME/bin/java -cp $WL_HOME/weblogic.jar weblogic.deploy -port $WEBLOGIC_PORT
-host $WL_HOST_IP $WEBLOGIC_CMD $WEBLOGIC_PWD -component $WL_Server_NAME:$WL_Server_NAME
$WL_APPLICATION_NAME YourApplication.war
$WEBLOGIC_CMD sould be DEPLOY for the first time deployment and UPDATE
for redeployment
For deploying in a cluster you better create a shell script which call
the above
command with different cluster ip address as a parameter.
Tomy
"sangita" <[email protected]> wrote:
Thanks Rob for your expertise advise. I would check to see wls8.1's
ANT tasks.....for
wls6.1, i would guess shell scripts to be a better option for us.
thanks again.
Rob Woollen <[email protected]> wrote:
If you're using 8.1, then it's pretty nice to use ant for
configuration/deployment/starting and stopping servers etc. There's
a
wlconfig task to do configuration, wldeploy to deploy applications,
wlserver to start/stop servers.
For 6.1, it's probably not a huge win to use ant. It's up to you.
If
you're more comfortable using shell scripts, that's certainly a
reasonable route.
-- Rob
sangita wrote:
Thanks Rob.
But all the stuff that ANT can do for me FOR DEPLOYMENT (ONLY) .....ican do it
from a simple shell script too.
And i understand of ANT's cross-platform environment and usage of
JAVA
.....but
can i use ANT to do something like CONFIGURING my wls6.1 managed
servers/clusters/creating
managed servers/db connection pools ......and all the other configurationthat
i do from wls console(or manually) ....????
and if yes, do you know of any examples, suggestions, ideas ?????
basically, if i need to sell(?) ANT to my juniors ......what are
the
basic reasoning
i can put forward....keeping in mind that these guys use wls6.1 &
wls8.1......and
these guys do CONFIGURATION and DEPLOYMENT only.
sorry for asking, may be these silly questions.
thanks, sangita
Rob Woollen <[email protected]> wrote:
sangita wrote:
Thanks Rob.
Rob, do you still consider or suggest using ANT for deploying say
20
applications
on a 10 clustered environment.Yes
do you see any advantages using [ANT + weblogic.deploy]..... over
simply
using
weblogic.deploy utility ???Yes. ANT essentially gives you a cross-platform environment that
allows
extensibility through java. It's very powerful.
-- Rob
-sangita
Rob Woollen <[email protected]> wrote:
sangita wrote:
Rob,
I have found the answer for my question #1 ...this is the URL:
http://edocs.bea.com/wls/docs81/admin_ref/ant_tasks.html
iam still hoping to hear back from you for #2, #3
thanks a ton.
"sangita" <[email protected]> wrote:
Thanks Rob.
quick question:
1) do you know of any example which illustrates the use of ANT
wrapper....or
please
direct me to a URL where i can find some documentation about
it.
2) does this ANT wrapper has any advantages over using weblogic.Deployer
utility
??If you're doing deployment via ant, then it's a bit more convenientto
use <wldeploy> rather than invoking a raw <java> process, but
fundamentally it's just a wrapper around weblogic.Deployer
3) i would certainly check to see weblogic.deploy for wls6.1
....can
i use ANT
for deployment purpose in wls6.1 ?You'll just need to wrap it in a <java> task
See:
http://ant.apache.org/manual/CoreTasks/java.html
-- Rob
Rob Woollen <[email protected]> wrote:
If you were using WLS 7.0 or later, you could use weblogic.Deployer.
If
you were using 8.1, you could use wldeploy which is an ant task
wrapper
for weblogic.Deployer.
In WLS 6.1, you'll have to use weblogic.deploy which is a bit
cumbersome, but it's still certainly possible to script deployment.
-- Rob
sangita wrote:
Hi,
Please advise me how to automate in a best way to Deploy
10
different
applications(.ear/.war)
to 10 different Clusters(containing 40 Managed servers) in
wls6.1......and
that
too in a Production environment.
I know that we can use weblogic Console to deploy an application
BUT
if i have
2 unix boxes and each box contains 4-4 clusters(each containing
16-20
managed
servers) .....then i have to open up 2 Admin server consoles
to
deploy
each of
the respective applications and that too deploying these applicationto 8 clusters.....OR
i can use deploy commad to do the same.
AND if i have like 100 clusters .....then i would have to "deploy"100 times ......
is there any way that we can BEST AUTOMATE this process.
Thanks a lot.
-sangita -
Deploying multiple applications to a single collection quickly
Hi,
I've been looking for a way to quickly deploy multiple applications to a collection in the SCCM 2012 console. Is there any way to select a group of applications and deploy them all to be available to a collection? I can do them one by one, but I have a ton
of applications to test and this is going to be very time consuming. If there is a powershell method, I would be open to that as well. Unfortunately, I couldn't find any topics on this on the forums or on the internet.
Thanks!You also might consider to create an super application, and the set all other applications as dependencies to it (but NOT in the same group, only as separate groups). The super application will only modify a registry key or a file as a flag for detection.
In that case you need to deploy only the super application. But I afraid it's against the best practices. I'm going that for a multi-component application to install all support components. -
500 Internal server error while deploying web applications in jdeveloper
I am getting the following error while trying to deploy my web application in Jdeveloper:
500 Internal Server Error
Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response.
Please consult the application log for details.
Please help me.
Or where can i find the detailed log regarding this.
I even tried to remove the shared libraries / common logs/ set the development true in orion-web.xml file but to my disappointment..
Please help me !!!!
Regards,
ShailyThanks for ur help
Jdeveloper version is 10.1.3.2.0
I have deployed simple application.
I even went thru the log files located at :
$ORACLE_HOME/opmn/logs/default_group~oc4j_soa~default_group~1.log:
$ORACLE_HOME/j2ee/oc4j_soa//application-deployments/gateway/oc4j_soa_default_group_1/application.log
but it was not of any help.
Can you help me figure out where i can get the detailed log file. Very recently i have started using jdeveloper,so i am having difficulty figuring out the log also. -
Error while deploying adf application on oracle cloud service
hello, i hv registered oracle cloud service for java and database. i hv created simple adf application in which there are 2 jsf pages only linked together. I m using oracle jdeveloper 11gr2. so i hv created ear file for deployment on cloud. i deployed adf application on cloud using java console. But, after uploading application, deployment was failed. I tried 3 times this, but the result was same. I checked log, where i got 3 warnings in whitelist log and error in deploy log. Those are as follows:
Warnings in whitelist log:
2013-04-14 06:57:11 CDT: Starting action "API Whitelist"
2013-04-14 06:57:11 CDT: API Whitelist started
2013-04-14 06:57:12 CDT: WARNING - There are 3 warnings(s) found for Testapp.ear.
2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
2013-04-14 06:57:12 CDT: WARNING - Path:Test_ViewController_webapp.war (3 Warnings)
2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (1 Warning)
2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "login-config" missing under element /
javaee:web-app.
If you want to make your application public, you can have empty
<login-config/> in your web.xml. If you need authentication then you must
have <login-config> and its child <auth-method> element in web.xml.
Without this element(<login-config>), users may be challenged by SSO, but
the application code will be executed as anonymous user only. Line No:4.
2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (2 Warnings)
2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "jsp-descriptor" missing under element /
orcl-weblogic:weblogic-web-app.
If you have a JSP file that is not pre-compiled, The compilation errors
could be shown on the browser. It is recommended to include
<jsp-descriptor><verbose>false<****><****-descriptor> in weblogic.xml.
Line No:2.
2013-04-14 06:57:12 CDT: WARNING - 2:Recommended child element "session-descriptor" missing under element /
orcl-weblogic:weblogic-web-app.
You will be required to have distinct cookie-path, if multiple
applications are accessed with in the same SSO session or if you have
multiple applications with different auth-method(CLIENT-CERT, FORM, BASIC)
in the same service instance.
Line No:2.
2013-04-14 06:57:12 CDT: WARNING - Testapp.ear had 3 warning(s).
2013-04-14 06:57:12 CDT: INFO - Whitelist validation has completed with 0 error(s) and 3 warning(s).
2013-04-14 06:57:12 CDT: Whitelist validation passed.
2013-04-14 06:57:12 CDT: "API Whitelist" complete: status SUCCESS
and Error in deploy log:
2013-04-14 06:57:12 CDT: Starting action "Deploy Application"
2013-04-14 06:57:12 CDT: Deploy Application started
2013-04-14 06:57:15 CDT: weblogic.application.ModuleException: Failed to load webapp: Test-ViewController-context-root because of DeploymentException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
2013-04-14 06:57:15 CDT: WL action state: failed
2013-04-14 06:57:15 CDT: Action FAILED with WL action state: failed
2013-04-14 06:57:15 CDT: Check the server log of your Java cloud service for more info about the failure.
2013-04-14 06:57:16 CDT: Application deployment failed.
2013-04-14 06:57:16 CDT: "Deploy Application" complete: status FAILED
I am using jdeveloper 11gr2, so pls dont tell me to use jdeveloper 11gr1. because, i hv already developed an application for my final year B.Tech and i cant migrate to previous release. So there is only one way for me by generating ear file and deploying from console.
So,
I m not getting what is the problem and what will be solution for this?
What should i do?
What changes should required?
pls, help me to get out from this problem !!!!!Well, I guess you have a problem here. Check http://multikoop.blogspot.de/2012/12/deploying-adf-applications-into-oracle.html and from this
>
Note: In its current stage Oracle Java Cloud Service runs WebLogic Server 10.3.6 with the appropriate Runtime ADF 11.1.1.6. Deployment of ADF 11gR2 Applications is currently not supported. Beside this limitation some ADF Features are not supported on the Oracle Cloud. According to the Oracle Cloud Documentation it is not supported to use the following ADF features
ADF Desktop Integration
ADF mBean
ADF MDS (Seeded customizations or cross-session personalization)
ADF Mobile
ADF Active Data Services (=> No real-time ADF Web Apps in Oracles Cloud)
ADF Business Components services interfaces (web services) or events
ADF Data Controls for BI, Essbase, BAM, and JMX
Further there are some restrictions which are good to know I think
No Java Mail API (=>Sending Mails is prohibited)
No File system access by deployed applications (=>Writing files is prohibited)
No Direct use of Oracle JDBC Driver APIs
No Java Message Service (JMS)
Max Size for deployment archive 95MB
>
I hope for you that the information from the blog has changes in the meantime (blog is from end of last year). Check the current doc for the cloud ...
Timo -
Error while deploying WC application: Unable to deploy EJB
Hi All,
we are getting the below error quite frequently, whenever we deploy the application to server:
[03:35:14 AM] Weblogic Server Exception: weblogic.application.ModuleException: Exception preparing module: EJBModule(CAWrapperEJB.jar)
Unable to deploy EJB: CAService from CAWrapperEJB.jar:
[EJB:011055]Error deploying the EJB 'CAService(Application: CAPortal, EJBComponent: CAWrapperEJB.jar)', the JNDI name 'CAPortal-CAPModel-CAService2#com.lexisnexis.service.CAService' is already in use. You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor or corresponding annotation for this EJB before it can be deployed.
[03:35:14 AM] Caused by: java.lang.Throwable: Substituted for missing class [EJB - 11055]Error deploying the EJB 'CAService(Application: CAPortal, EJBComponent: CAWrapperEJB.jar)', the JNDI name 'CAPortal-CAPModel-CAService2#com.lexisnexis.service.CAnService' is already in use. You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor or corresponding annotation for this EJB before it can be deployed.
[03:35:14 AM] See server logs or server console for more details.
-to solve this issue we just delete the cache and restart the Managed server.
Please tell me what is the cause of this error and how can we fix it permanently, as restarting the server everytime is not very convenient.
TIA,
BobThe content of "weblogic-ejb-jar.xml" present in code is:
<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-ejb-jar http://www.bea.com/ns/weblogic/weblogic-ejb-jar/1.0/weblogic-ejb-jar.xsd"
xmlns="http://www.bea.com/ns/weblogic/weblogic-ejb-jar">
</weblogic-ejb-jar> -
Error while deploying the application into 11.1.1.2
Hi,
I am trying to deploy the application into Jdev 11.1.1.2 i am getting the following error.
04:11:39 PM] Wrote Enterprise Application Module to C:\Documents and Settings\rkanigolla.admin\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\ESPSApp
[04:11:39 PM] Deploying Application...
<Nov 25, 2009 4:11:55 PM MST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1259190702422' for task '0'. Error is: 'java.lang.ClassNotFoundException: javax.faces.context.FacesContextFactory'
java.lang.ClassNotFoundException: javax.faces.context.FacesContextFactory
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: javax.faces.context.FacesContextFactory
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
Truncated. see log file for complete stacktrace>
<Nov 25, 2009 4:11:55 PM MST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'ESPSApp [Version=V2.0]'.>
<Nov 25, 2009 4:11:55 PM MST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
java.lang.ClassNotFoundException: javax.faces.context.FacesContextFactory
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: javax.faces.context.FacesContextFactory
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
Truncated. see log file for complete stacktrace>
#### Cannot run application ESPSApp due to error deploying to IntegratedWebLogicServer.
[04:11:55 PM] #### Deployment incomplete. ####
[04:11:55 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
[Application ESPSApp stopped and undeployed from Server Instance IntegratedWebLogicServer]
Please help me how can i resolve this.Hi,
Thanks for you reply.
We are trying to Run/deploy the application in jdev 11.1.1.1.2.0 that was developed in jdev 11.1.1.1.0. We are getting the following exception,
<Nov 25, 2009 6:38:22 PM MST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1259199473394' for task '0'. Error is: 'java.lang.ClassNotFoundException: javax.faces.context.FacesContextFactory'
java.lang.ClassNotFoundException: javax.faces.context.FacesContextFactory
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: javax.faces.context.FacesContextFactory
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
Truncated. see log file for complete stacktrace
But the same application with some other system is working fine.
Maybe you are looking for
-
I have Itunes on one computer , purchased a 2nd laptop , I want to put my library a new laptop , I,ve already doenloaded Itunes , how/can do I do it ? Thanks
-
ERROR-With non-valuated GR, please also enter GR indicator
Hi, We are on SRM 5.0 SP12,Extended Classic scenario. For all PO's which have no follow on docs created,whenever the Confirmation-Related Invoice Verification (GR_BASEDIV) and Confirm Performance of Service/Goods Receipt(GR_IND) fields are changed,th
-
Enterprise Portal ESS -- Leave application with attachment
Hi Experts, My client is looking for following feature in EHP5: Employee should be able to apply for leave using enterprise portal. The leave application should allow the user to attach the scanned document in Leave application. Please let me know if
-
Sharing files between XP & Vista Computers
I've set up Network Magic on my XP & Vista operating system computers. Works great from Vista to XP. Can share files perfectly. However I need the reverse. I need to share the files from the XP machine on My Vista machine. I get an error message that
-
Add iPod subtitles to a mp4 video?
I have some mp4 format movies on my PC with *.srt subtitles for them, so i want these videos on my iPod with these subtitles. I know how to merge the subtitles to the video, but I want to know how to add subtitles to a video that can be switched on o