Stange problem in deploying  JSF application to weblogic 10

hi,OTN
I think this is the suitable forum for my problem,I had an ADF 10g application which I migrate to Jdeveloper 11g,I want to deploy it to A standalone weblogic server,so I made a Jar file for the model,Awar File for the viewController, and an ear file in the application Assembly of the ear File I check both the Archive and webapp,this is all the libraries which is selected for Deployment
JSF 1.2
JSTL 1.2
JSTL 1.2 Tags
BC4j Runtime
ADF Model Runtime
BC4J Tester
Oracle JDBC
BC4J Oracle Domains
MDS RunTime
MDS RunTime Dependencies
BC4J security
afc.jar
JSP RunTime
ADF Common RunTIme
ADF Faces Cache
ADF Controller RunTime
ADF Web RunTime
ADF Controller Schema
JPS Design Time
ADF Controller.jar
but when I Deploy the Ear File I got an exception
<Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'application20'
<Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: Failed to load webapp: 'Reg' at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentTag
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
Truncated. see log file for complete stacktrace
>
there is a problem in the webapp for this class javax.faces.webapp.UIComponentTag ? How i can solve this?

thanks for help,but I try and also got the same Error:
<10/10/2010 EET 08:50:26 ع> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\application3\c2qh5c\webapp30.war. Please make sure that the annotations are valid. The error is >
<10/10/2010 EET 08:50:27 ع> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1286736611640' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'Reg''
weblogic.application.ModuleException: Failed to load webapp: 'Reg'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
Caused By: java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentTag
also, I did not succeed to run it from my Integrated weblogic server see this
Re: Unable to find class oracle.adf.controller.faces.lifecycle.ADFPhaseListener
so I try to deploy it in a standalone weblogic but this different problem appear to me,I think all this problems because of migration ADF faces to Apache trinanad although I fixed all my code after migration and compile it without any problems.can I deploy my app to weblogic 10 from my Jdeveloper 10g without migrating my Application To Apache?
Edited by: Miar on Oct 10, 2010 12:12 PM

Similar Messages

  • Problem in deploying war file in weblogic application server 10

    Hi
              Thank you for reading my post.
              We are trying to deploy our application into weblogic but problem is that weblogic return an error like following one when we try to deploy the application.
              I should tell you that the following log was shown in a not well formatted way and i format it manually.
                        [HTTP:101216]Servlet: "com.wira.webservices.int.Wsti" failed to preload on startup in Web application: "wira.war". class:
              com.wira.webservices.int.jaxws.RequestResponse could not be found at
              com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272) at
              com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566) at
              com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513) at
              com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358) at
              com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245) at
              com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229) at
              com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161) at
              com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291) at
              com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315) at
              weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125) at
              weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64) at
              javax.servlet.GenericServlet.init(GenericServlet.java:241) at
              weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282) at
              weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at
              weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source) at
              weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63) at
              weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at
              weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at
              weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504) at
              weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830) at
              weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807) at
              weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727) at
              weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890) at
              weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948) at
               weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353) at
              weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at
              weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at
              weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at
              weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at
              weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at
              weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at
              weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
                        I should say you that we do not have a package and class like: com.wira.webservices.bpel.jaxws.RequestResponse and it looks like WLS is mistaken about this.
              Indeed this application works fine on Sun java application server 9 (java ee 5 certified). Can you please tell me why does it happens?
              here is source code of Wsti class
                        @WebService()
              public class Wsti {
                  @WebMethod(operationName="requestResponse")
                  public String requestResponse(@WebParam(name="request") String request) {
                      return ReflectionManager.call(WstiImp.class, request);
                                            for reflection we used standard JDK reflection stuff.
              and that call method call a method identified in request from WstiImp class.
              Thanks

    Following are the steps involved in deploying a WAR file in Oc4j.
    1. Copy the file to D:\oc4j\j2ee\home\applications where d:\oc4j is the location OC4J is installed in.
    copy mywar.war D:\oc4j\j2ee\home\applications
    2. Open the application.xml file in D:\oc4j\j2ee\home\config directory
    and add the following after the <web-module id="defaultWebApp" path="../default-web-app" />
    line:
    <web-module id="mywar" path="../applications/mywar.war" />
    3. Open the default-web-site.xml file in D:\oc4j\j2ee\home\config
    directory and add the following after the <default-web-app application="default" name="defaultWebApp" /> line:
    <web-app application="default" name="mywar" root="/mywar" />
    Hope this helps
    -Debu Panda
    Oracle

  • I've problem deploying JSF applications

    Hi guys;
    I've created simple JSF Web Application. Its only blank page contains button that brings u to other page. When I run it from NetBeans IDE it runs perfect. But when I take the application folder to deploy it to tomcat manually it won't run even with the server used by the IDE itself. I noticed that when the IDE starts the server it initializes also sun JSF implementation which I think the key to make JSF run on tomcat server.
    Any body knows how to deploy JSF Applications, or how to generate distributable package..
    Thanks alot to all
    Edited by: Shampion on Oct 12, 2008 2:02 AM
    Edited by: Shampion on Oct 12, 2008 2:05 AM

    You'll probably get better answers if you post in the correct forum. JSF questions should be asked in the JSF forum:
    [http://forums.sun.com/forum.jspa?forumID=427]
    Kaj

  • 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?
    Thanks

    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?
    Thanks

  • 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 PM

    i 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

  • Problem while deploying ADF application to standalone WLS server

    Hi,
    I am facing a problem while deploying ADF application to standalone WLS Server.
    Following is the error message that I am getting.
    [07:24:03 PM] ----  Deployment started.  ----
    [07:24:03 PM] Target platform is  (Weblogic 10.3).
    [07:24:07 PM] Retrieving existing application information
    [07:24:08 PM] Running dependency analysis...
    [07:24:08 PM] Building...
    [07:24:13 PM] Deploying 2 profiles...
    [07:24:14 PM] Wrote Web Application Module to D:\WorkSpace3\DashboardUi\deploy\Dashboard.war
    [07:24:14 PM] Wrote Enterprise Application Module to D:\WorkSpace3\deploy\Dashboard.ear
    [07:24:14 PM] Deploying Application...
    [07:24:22 PM] [Deployer:149191]Operation 'deploy' on application 'Dashboard' is initializing on 'msDevServer1'
    [07:24:27 PM] [Deployer:149193]Operation 'deploy' on application 'Dashboard' has failed on 'msDevServer1'
    [07:24:27 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Dashboard on msDevServer1.: .
    [07:24:27 PM] Weblogic Server Exception: weblogic.application.ModuleException:
    [07:24:27 PM] Caused by: weblogic.common.ResourceException: DataSource DashboardDb already exists
    [07:24:27 PM]   See server logs or server console for more details.
    [07:24:27 PM] weblogic.application.ModuleException:
    [07:24:27 PM] ####  Deployment incomplete.  ####
    [07:24:27 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)Any suggestion how to fix this.
    Thanks
    Ajay

    I logged into console and browsed to 'Home >Summary of JDBC Data Sources' but not able to locate DashboardDb. Please let me know where to find DashboardDB on wls console.
    Also, please let me know how to configure the app to not to auto-deploy JDBC data sources

  • Deploying JSF application on Tomcat 5.0.28

    Hi,
    I am having problems deploying JSF application (developed using Studio Creator) on Tomcat. Any suggessions ....
    HTTP Status 404 - Servlet Faces Servlet is not available....
    Thanks in advance

    I ran into this same problem moving from Tomcat 4.1.31 to Tomcat 5.0.28. This one was definitely a headscratcher, but the solution turned out to be simple as I had an older servlet api jar (2.3) in my J2SE's jre/lib/ext directory. I replaced the existing servlet.api with servlet-api.jar and jsp-api.jar from the Tomcat 5.0.28 common/lib directory, restarted Tomcat, and the problem disappeared.

  • ClassCastException when deploying jsf war on Weblogic 10.3.2

    Hello everybody,
    We 're having an issue when deploying jsf war on Weblogic 10.3.2
    The war works fine on Tomcat 6.
    When deploying on Weblogic we got the following exception:
    java.lang.ClassCastException: weblogic.xml.jaxp.RegistryXMLReader cannot be cast to org.xml.sax.XMLReader
    I've already put <prefer-web-inf-classes>true</prefer-web-inf-classes> in weblogic.xml
    After "googling", people suggest to remove xml-apis jar from WEB-INF/lib, but doing so results in other exceptions.
    Is there any fix for this issue? Please help it's been more than a month that we are crawling in the dark with this error.
    Thanks in advance.

    Hello everybody,
    We 're having an issue when deploying jsf war on Weblogic 10.3.2
    The war works fine on Tomcat 6.
    When deploying on Weblogic we got the following exception:
    java.lang.ClassCastException: weblogic.xml.jaxp.RegistryXMLReader cannot be cast to org.xml.sax.XMLReader
    I've already put <prefer-web-inf-classes>true</prefer-web-inf-classes> in weblogic.xml
    After "googling", people suggest to remove xml-apis jar from WEB-INF/lib, but doing so results in other exceptions.
    Is there any fix for this issue? Please help it's been more than a month that we are crawling in the dark with this error.
    Thanks in advance.

  • Error while deploying an application on weblogic 12c. An error occurred while reading the deployment descriptor. The error was: Error processing annotations

    Anyone please help me solve this error. I am trying to deploy an application on weblogic 12c  i am getting an error but the same application gets successfully deployed on weblogic 11g. The error is
    An error occurred during activation of changes, please see the log for details.
    Exception preparing module: EJBModule(gsCallbackAdapterLGTX-ejb.jar) An error occurred while reading the deployment descriptor. The error was: Error processing annotations: .
    [EJB:015001]Unable to link class com.aep.gridsmart.adapters.lgtx.buslogic.deliver.xform.AdapterTransfomerDeliverSession in Jar /appl/oracle/middleware/WLS/12.1.1.0/user_projects/domains/Gridsmart/servers/ManagedServer1/tmp/_WL_user/gsCallbackAdapterLGTX/34vz4d/gsCallbackAdapterLGTX-ejb.jar : java.lang.NoClassDefFoundError: com/aep/gridsmart/adapter/deliver/CommonAdapterDeliverBean

    Cotton please let me know what is the mistake i am
    doingThe following path does not exist.
    C:\Sun\AppServer7\domains\domain1\server1\
    applications\j2ee-modules\task_1\WEB-INF\web.xml

  • How to deploy Servlet Application in Weblogic 8.1

    Hi,
    I am new to BEA Weblogic 8.1 .
    I was trying to create a sample application using InelliJ IDea 5.1 , and IntelliJIdea 10.5 . i configured weblogic with IDE , but now i do not know how to deploy my application in weblogic .
    I am new in IntelliJ also .
    So Can anyone tell me how can i deploy a servlet application in any IDE like i also have eclipse indigo.
    Thanks & Regards
    Komi

    Hi Komi
    Basically you deploy your Servlet as a WAR File. I am not familiar with IntellJ IDE. But it should have a provision to export/create a WAR file that has your Servlet. Also I hope you already have web.xml file with 2 sections like this: First you mention full package of your servlet and give it a name. Then enter a mapping url. You will use this url to run your servlet like http://weblogichost:weblogicport/yourWebappcontextroot/myservlet
    <servlet>
         <servlet-name>MyServlet</servlet-name>
         <servlet-class>com.abd.def.MyServlet</servlet-class>
    </servlet>
    <servlet-mapping>
         <servlet-name>MyServlet</servlet-name>
         <url-pattern>/myservlet</url-pattern>
    </servlet-mapping>
    Coming to deployment, I hope you already created a Weblogic Domain and have admin username/password. Start your domain. Login into weblogic console like http://host:port/console and use admin username/password. Then from Deployments section, deploy the above WAR file. In Weblogic you can deploy JAR (EJBs, java files), WAR (web jsp, html, webservices, servlets) or EAR (JAR + WAR). In your case its just a WAR file.
    Refer the online docs for more details on Deployments in Weblogic.
    http://docs.oracle.com/cd/E13196_01/platform/docs81/deploy/deploy.html
    Thanks
    Ravi Jegga

  • Problem while deploying WD application thru SDM

    Hi friends ,facing problem while deploying webdynpro application on SDM.It takes much time deployment but for the past 1 or 2 day its not working properly ..i..e error is coming while deploying WD application................................................"Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.."
    If how know how to resolve this then waiting for ur response..
    Thanx in advance
    Hanif

    Hi Hanif,
    The SDM password should be reset if it is not the same as mentioned in your Filesystem Secure Store or vice versa.
    If you have changed your administrator password, kindly do change the same in secure store as well via the config tool.
    Use the Config Tool to change the entry in secure storage as follows:
    1. Start the Config Tool.
               (Go to  <drive>:\usr\sap\<SID>\<instance>\j2ee\configtool --> configtool.bat.)
    2. Select the secure store node.
               The configuration for the secure storage in the file system appears.
    3. Select the admin/password/<SID> entry.
    4. Enter the administrator user's new password in the "Value" field and choose "Add".
    5. Choose "File" --> "Apply" to save the data.
              Note: Contrary to the message that appears, you do not need to restart the server or cluster for this change to take effect.
    6. Finally restart SDM server.
    Regards,
    Anagha

  • 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 Prasad

    Hi,
    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

  • Facing error while deploying ADF application on weblogic

    We are trying to deploy an ADF Application on weblogic server. We are facing below quoted error (java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.webapp.ResourceServlet) during deployment:
    INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'
    <Nov 2, 2011 11:32:21 AM IST> <Warning> <J2EE> <BEA-160188> <Unresolved WebApp library references defined in weblogic.xml, of module 'CallTracker_CallTrackerUI_webapp1.war' [Extension-Name: adf.oracle.domain.webapp, exact-match: false], [Extension-Name: jstl, Specification-Version: 1.2, exact-match: false], [Extension-Name: jsf, Specification-Version: 1.2, exact-match: false].>
    java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.webapp.ResourceServlet
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
    at weblogic.servlet.internal.WebAnnotationProcessorImpl.processServlets(WebAnnotationProcessorImpl.java:225)
    at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:209)
    at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:105)
    at weblogic.application.compiler.WARModule.processAnnotations(WARModule.java:433)
    at weblogic.application.compiler.EARModule.processAnnotations(EARModule.java:227)
    at weblogic.application.compiler.WARModule.merge(WARModule.java:483)
    at weblogic.sip.tools.SipToolsModule.merge(SipToolsModule.java:57)
    at weblogic.application.compiler.flow.MergeModuleFlow.compile(MergeModuleFlow.java:23)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
    at weblogic.application.compiler.ReadOnlyEarMerger.merge(ReadOnlyEarMerger.java:49)
    at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:88)
    at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:41)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
    at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:157)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.application.compiler.AppMerge.merge(AppMerge.java:169)
    at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:88)
    at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:63)
    at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:181)
    at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:163)
    at weblogic.deploy.api.tools.SessionHelper.initialize(SessionHelper.java:727)
    Please advise. We are using weblogic 10.3.5 .

    Thanks, we have reinstalled the weblogic again , ensuring that Application Development Runtime is installed and we extend our domain with the JRF. So the previous error is resolved. But we are now facing a new error
    weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=apps for data source XXCT
    - Warning Errors were encountered while performing this operation.
    Please help.
    Regards, Atul

  • Error while deploying an application on Weblogic 10.3 Application Server

    Hi All,
    i have installed latest weblogic 10.3 Application server.
    - installation of Weblogic was successful.
    - tried to deploy my application but it failed to do so during that point of time and throw an exception:-
    !MESSAGE [javax.management.RuntimeMBeanException: java.lang.RuntimeException: weblogic.management.provider.EditSaveChangesFailedException: Can not save changes while prepare changes are still in progress.
    - then i tried tyo install my appliction's .ear file manually from weblogic console then i get the different exception:-
    Unable to access the selected application.
    Exception in AppMerge flows' progression
    Exception in AppMerge flows' progression
    VALIDATION PROBLEMS WERE FOUND problem: cvc-id.2: Duplicate ID value 'MessageDriven_1044495979312':<null> problem: cvc-id.2: Duplicate ID value 'MessageDriven_1044495979312':<null> problem: cvc-id.2: Duplicate ID value 'MessageDriven_1044495979312':<null> problem: cvc-id.2: Duplicate ID value
    - my application has server and console, when i tried to install only console, i was lucky to deploy the console, but not the server.
    Any body having any idea regarding these exceptions, what should i do to overcome these errors.
    Please shred some light and suggest some pointers to this issue.
    Regards
    Avninder.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    We are not using Anotations as we are on EJB 2, we use Deployment Descriptors.
    I have investigated and find out that in ejb-jar.xml there is one tag <acknowledge-mode>
    in my ejb-jar.xml we have 7 MD beans, this tag is mentioned only in enactment bean and email dispatcher bean. For these 2 beans i am getting conflict, so i removed <acknowledge-mode> tag from these 2 beans and create the .ear again and deploy.
    i was succeed in this.
    As per my understanding Weblogic 10.3 is using ejb 3.0 and its xsd is different from ejb 2.0 xsd, so if i remove these tags from my ejb-jar.xml beans then in future i'll not be able to deploy it on weblogic 9.2.
    i think weblogic has not provide the backward compatibility, Weblogic has to support the structure as many applications using WL 9.2.
    Below is the sample of my ejb-jar.xml where these tags differ
    <message-driven id="MessageDriven_1044495979312">
                   <display-name>EmailDispatcher</display-name>
                   <ejb-name>EmailDispatcher</ejb-name>
                   <ejb-class>com.fujitsu.iflow.serveree.impl.globalnotification.EmailDispatcherMB</ejb-class>
                   <transaction-type>Bean</transaction-type>
                   <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
                   <message-driven-destination id="MessageDrivenDestination_1044498867079">
                        <destination-type>javax.jms.Topic</destination-type>
                        <subscription-durability>NonDurable</subscription-durability>
                   </message-driven-destination>
              </message-driven>
              <message-driven id="MessageDriven_1044495979297">
                   <display-name>Enactment</display-name>
                   <ejb-name>Enactment</ejb-name>
                   <ejb-class>com.fujitsu.iflow.serveree.impl.wfengine.EnactmentMB</ejb-class>
                   <transaction-type>Bean</transaction-type>
                   <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
                   <message-driven-destination id="MessageDrivenDestination_1044498867078">
                        <destination-type>javax.jms.Topic</destination-type>
                        <subscription-durability>NonDurable</subscription-durability>
                   </message-driven-destination>
              </message-driven>
              <message-driven id="MessageDriven_1063157666983">
                   <display-name>JmsEnactor</display-name>
                   <ejb-name>JmsEnactor</ejb-name>
                   <ejb-class>com.fujitsu.iflow.connectorsee.msgconnector.JmsEnactmentMB</ejb-class>
                   <transaction-type>Bean</transaction-type>
                   <message-driven-destination>
                        <destination-type>javax.jms.Topic</destination-type>
                   </message-driven-destination>
              </message-driven>
              <message-driven id="MessageDriven_1063157666982">
                   <display-name>SmsConnector</display-name>
                   <ejb-name>SmsConnector</ejb-name>
                   <ejb-class>com.fujitsu.iflow.connectorsee.smsconnector.SmsConnectorMB</ejb-class>
                   <transaction-type>Bean</transaction-type>
                   <message-driven-destination>
                        <destination-type>javax.jms.Topic</destination-type>
                   </message-driven-destination>
              </message-driven>
    Kindly help me out.
    Suggest is there any workaround so that i can use my application in both the versions.
    cheers :)

  • Exception occured while deploying  web application in weblogic

    Hello,
    I am trying to deploy one web application on weblogic server but i got one exception , if anybody knows how to resolve this problem please help me out.
    Thank you.
    Exception is as follows :
    java.lang.IllegalArgumentException: Renderer for type 'Time' already exists.

    Thanx
    javax.faces.FacesException: java.lang.IllegalArgumentException: Renderer for type 'Time' already exists.
         at com.sun.faces.config.ConfigBase.updateRenderKits(ConfigBase.java:398)
         at com.sun.faces.config.ConfigBase.updateRuntimeComponents(ConfigBase.java:286)
         at com.sun.faces.config.ConfigListener.contextInitialized(ConfigListener.java:202)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:374)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:83)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1581)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2678)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:874)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:326)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:114)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:25)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:640)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:252)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:567)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:131)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:101)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:126)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:329)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:845)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1246)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:432)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)

Maybe you are looking for

  • Configurations required for sender/ reciever mail adapter scenario...

    Hi, I have to work on few mail scenario's i.e, sender and reciever. Please let me know what all configurations are required in XI server to make the system ready to send and recieve mail like SMTP configurations... Thanks..

  • Trouble with star schema

    Hi All, I have a star schema in place with 8 dimension and 1 fact table. But due to some specific requirement, I need to denormalize the schema. I want to copy all fields from all dimension tables to the fact table. I know this sounds bad but I have

  • I can't register my payment card for my Apple ID

    My mother has purchased an iPad but Apple keeps declining her payment card. On contacting the bank she has been told that Apple have charged £48 but she has been unable to purchase anything through her iPad Can anyone help?

  • RFC destination not working

    Hi, I have created a RFC destination in my XI system to connect to another system. But when i try Remote logon, it is not working. I have specified all the required details. Can anybody tell me what is the problem? Regards, Divija.

  • Rac Alert log message '

    Dear All My database is running on RAC configuration and the version is 10.1.0.5 Everyday i come across this error in the alert log of both the instances, Unable to restore resource manager plan to '': ORA-02097: parameter cannot be modified because