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

Similar Messages

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

  • 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

  • Serious problems deploying web application with enterprise manager

    Hi all,
    First I have to say that this thing that has happened to me today is freaking bizarre... I was trying to make a new deployment of a web application on OAS 10.1.2, using the Enterprise Manager. The application is using Spring and DWR, therefore it has some XML files included. The application worked perfect in JDeveloper 9.0.4, our development tool, and I've previously developed very similar applications in the past, and deployed them on the same server without any problem.
    Today, when I was trying to deploy my .ear file, I got this error message:
    The file specified, "FindAnExpert.ear" is not a valid ear file.
    I tried with the .war file, and this happened:
    Base Exception:
    java.util.zip.ZipException
    invalid END header (bad central directory offset). invalid END header (bad central directory offset)
    I checked that all the included .jar files were fine, I even replaced them with new ones. I started to remove files from the .war file and discovered that without the XML files I was able to deploy the application. Then I copied over those XML files through FTP and the application is working correctly, but I was not able to use the Enterprise Manager to deploy it!!! The XML files are well formed, on of them contains the details of a data source that I also reviewed to be sure that it was correctly configured... This is nuts... any ideas over there???
    Thanks in advance,
    Luis

    Luis,
    If all of the files uploaded piecemeal worked fine, then I believe your problem to be with your deployment descriptor(s). Also, note that the .war file lives in a different directory:
    C:\oc4j\j2ee\home\applications\Application-Name
    Perhaps if you have time you could post all of the associated deployment descriptor files. Log files from the C:\oc4j\j2ee\home\log\oc4j directory would also help to troubleshoot your deployment issues. You can turn up the logging level to "FINEST" for maximum output to your log file.
    -Michael

  • Problem deploying an application with more task flow

    Hi all,
    I am using Jdeveloper 11.1.1.0 and weblogic 10.3.1
    I am trying to deploy an application that has more task flows.
    I am in the home page and I click on a button and I go to a new task flow.
    If I run the application from Jdeveloper it works, but if I deploy the application and try to do it I have this error on the page .jspx:
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.
    and this error on the server log:
    servlet failed with Exception oracle.adf.controller.security.AuthorizationException:ADFC-0619: Can't check authorization at:
    '/myFolder/calledTaskFlow.xml#myViewActivityoracle.adf.controller.internal.security.AuthorizationEnforcer.handleFailure<AuthorizationEnforcer.java:147>
    oracle.adf.controller.internal.security.AuthorizationEnforcer.checkPermission
    oracle.adf.controller.internal.security.AuthorizationEnforcer.checkRead
    oracle.adf.controller.internal.security.AuthorizationEnforcer.getTaskFlowDefinition
    oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition
    What's the problem?
    Thanks
    Edited by: user10799119 on 2-set-2009 6.27

    I have not understood well what you mean: "Its better you create an EAR profile, have proper ADF Security set up in Jdev with users and roles, and also proper roles and permissions assigned to taskflows, and then deploy the profile directly from JDev."
    I have proper ADF Security set up in Jdev with users and roles, and also proper roles and permissions assigned to taskflows, and then deploy the profile directly from JDev. After that I have deployed my application to EAR file. I am using the EAR file create by default by Jdeveloper. Is this correct? Or have I to create another profile?
    "If you still wanna deploy the EAR, check the Users and Roles section under security in the Weblogic console. Users and Roles need to be configured in Weblogic as well. In 11g they get deployed automatically but with any previous version of Jdev you might have to check this in the WLS console."
    In the weblogic console, clicking on Security realms --> myRealm --> providers, I have defined myAuthenticator
    I am using Jdeveloper 11.1.1.0 and web logic server 10.3.1, so it seems to me that users and roles get deployed automatically
    what have I to do?
    thanks

  • Problem deploying an Application

    Hello everybody,
    when i try to deploy an application  (e.g. a WebDynpro) i get an error:
    20.03.2005 14:18:55 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : host
    SDM port : 50018
    URL to deploy : file:/C:/DOKUME1/host/LOKALE1/Temp/temp35261Welcome.ear
    Deployment exception : Server host did not accept login request as admin on port 50018. Details: ERROR: Could not establish connection to server host at port 50018: host
    Inner exception was :
    Server host did not accept login request as admin on port 50018. Details: ERROR: Could not establish connection to server host at port 50018: host
    Anyone has any idea whats the problem? The J2EE-Server is running. The Management Console has everything on green. I can also log in on the server http://myhost:50000/index.html
    http://myhost:50000/sap/monitoring/SystemInfo says that the SDM is running.
    regards, Markus.
    Message was edited by: Markus Klein

    Hello,
    im using the pwd i provided during the setup procedure. And yes im sure im using the correct one. When im deploying my application a popup screen appears for providing the sdn password, no username at all is required at this point. I didnt even had to provide a username for the SDM at all during the installation. Anyway, as soon as i provided the pwd at the popup, i get the error i posted above.
    regards,
    Markus

  • Problem deploying web application on WLS 8.1

    Hi,
    When I try to deploy a web application on weblogic 8.1 it comes back with success.But
    trying to access it or testing it through admin console gives me the following
    erors -
    403 - Forbidden or
    404 - Not found
    Here is what I am doing
    My web application is in a war file called paypluscls.war that I've saved inD:\bea\user_projects\domains\mydomain\applications
    folder. My weblogic.xml reads like this:
    <weblogic-web-app>
    <virtual-directory-mapping>
    <local-path>d:/bea/user_projects/domains/m
    <url-pattern>/paypluscls/*</url-pattern>
    </virtual-directory-mapping>
    On deploying the application I get success message, but when I try running it
    using the following in my browser : http://127.0.0.1:7001/paypluscls i get 403
    forbidden error
    and if I try http://127.0.0.1:7001/paypluscls/index.htm , i get 404 file not found
    error. Please note that index.htm is present in my paypluscls.war.
    What am I doing wrong? A quick response will be highly appreciated.

    Define a context-root element in weblogic.xml
    <weblogic-web-app>
    <context-root>paypluscls</context-root>
    </weblogic-web-app>
    Get index.htm with url:
    http://127.0.0.1:7001/paypluscls/index.htm
    "vikas" <[email protected]> wrote:
    >
    Hi,
    When I try to deploy a web application on weblogic 8.1 it comes back
    with success.But
    trying to access it or testing it through admin console gives me the
    following
    erors -
    403 - Forbidden or
    404 - Not found
    Here is what I am doing
    My web application is in a war file called paypluscls.war that I've saved
    inD:\bea\user_projects\domains\mydomain\applications
    folder. My weblogic.xml reads like this:
    <weblogic-web-app>
    <virtual-directory-mapping>
    <local-path>d:/bea/user_projects/domains/m
    <url-pattern>/paypluscls/*</url-pattern>
    </virtual-directory-mapping>
    On deploying the application I get success message, but when I try running
    it
    using the following in my browser : http://127.0.0.1:7001/paypluscls
    i get 403
    forbidden error
    and if I try http://127.0.0.1:7001/paypluscls/index.htm , i get 404 file
    not found
    error. Please note that index.htm is present in my paypluscls.war.
    What am I doing wrong? A quick response will be highly appreciated.

  • Problems deploying an application

    Hi,
    I have deployed my aplication in a local machine but when I execute these I have some problemes in the console
    Error: CONN-003: socket receive error (RecvBuffer 1)
    Error: Exception: SERVLET-execution_failed: Error in excuting servlet StaticServlet: java.lang.NullPointerException
    Exception Stack Trace:
    java.lang.NullPointerException at com.netscape.server.deployment.AppCompGDSUtil.getDescriptorFromGDSByKey(Unknown Source)
    at com.netscape.server.deployment.WebAppCompGDSUtil.getDescriptorFromGDSByKey(Unknown Source)
    at com.netscape.server.deployment.AppComponentDescriptorUtil.createWebAppComponentDescriptorCore(Unknown Source)
    at com.netscape.server.deployment.DescriptorManager.getWebAppDescriptorFromCache(Unknown Source)
    at com.netscape.server.servlet.servletrunner.StaticServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.serviceHttpServlet.java:865)
    at com.netscape.server.servlet.servletrunner.ServletInfo.service(UnknownSource)
    at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    What's happened?? thanks ind advance

    Hi Oriol -
    The error being reported is that a class can't be found:
    >
    [com.icesoft.faces.context.View] - Problem encountered during View.servePage
    java.lang.ClassNotFoundException: org.icefaces.x.context.BridgeFacesContext2
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
    >
    Looking around, it seems this is caused by having JSF 2.x in the classpath, which is not compatible with ICEFaces 1.8.x.:
    http://jira.icesoft.org/browse/ICE-4704:
    >
    ICEfaces 1.8.x is not certified to run on JSF 2.0 runtimes. When this combination is attempted with ICEfaces 1.8.1, it fails with an exception such as
    java.lang.ClassNotFoundException: org.icefaces.x.context.BridgeFacesContext2
    >
    Since WLS 12c provides a JSF 2.1.x environment by default, you will need to employ the JSF 1.2 alternative. From a previous discussion here on an OTN forum, I believe there was an additional step required to make it work, see here for details:
    Re: jsf 1.2 on weblogic 12c
    -steve-

  • Deploy JSF Application in JBOSS

    hello everyone,
    can anyone tell me where to place the JSF jar files and other like faces-config.xml, web.xml in JBOSS.

    I assume you mean WAR file when you say "JSF jar" as opposed to the JSF libraries.
    Your faces-config.xml and web.xml should be in the WEB-INF folder of your WAR file.
    Your WAR file should be placed in the "deploy" folder of your JBoss profile folder. Typically something like:
    (JBoss Install Dir)/server/default/deploy
    That should get you going.

  • Problem deploying webservice application to cluster

    My web service is packaged inside an ear file generated by WLS workshop. The ear deploys and runs fine on standalone WLS 9.2.2 when deployed through console. When same ear file is deployed to cluster, the webservice does node show up on the managed nodes. Under test endpoints, WLS console shows links only to wsdl locations. WSDL is available on clicking the link. The console does not show links to webservice test client as it does on standalone installation. If I type in the expected test client location I get an HTTP 404 error. I do not see any obvious error messages during application deployment or runtime in the log file of admin server or managed nodes.
    Any help on troubleshooting this issue is appreciated. Thanks.

    The cluster address has a typo in it. The interesting part is weblogic does not report any errors / warning if the IP address in cluster address are invalid (not incorrect). So, if you give an IP address as 111.111.1111 you will get nothing in logs and app will not work but status of servers and app will be shown as active as if everything is fine.

  • Problem deploying an application to SunOne 8.1 instance

    Hi I am trying to deploy one ear file to one of the SunOne instance locally. I am using SunOne8.1.
    But I am getting the following error:
    [#|2006-07-24T16:21:17.706+0530|SEVERE|sun-appserver-ee8.1|javax.enterprise.system.tools.deployment|_ThreadID=14;|Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: java.util.zip.ZipException: invalid entry size (expected 7080 but got 6991 bytes)
    at com.sun.enterprise.deployment.backend.J2EEModuleExploder.explode(J2EEModuleExploder.java:145)
    at com.sun.enterprise.deployment.backend.EarExploder.explodeWars(EarExploder.java:92)
    at com.sun.enterprise.deployment.backend.EarExploder.explode(EarExploder.java:64)
    at com.sun.enterprise.deployment.backend.AppDeployer.explodeArchive(AppDeployer.java:258)
    at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:160)
    at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:107)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:146)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:188)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:520)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:143)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:171)
    |#]
    Has anyone faced this kind of problem before? I have deployed the same ear file into SunOne 7, it worked fine.

    Hi,
    most of the time , if it works on 7 it can work on 8.1.
    Can you check if you have enough temp space in hard disk.
    if possible check the latest one from sun site Appserver 8.2
    or if u r using platform edition download glassfish.
    and then try.
    iwhich platform u r using
    run this command
    <AS_INSTALL>/bin/asadmin version --verbose
    thanks
    Gajanan.

  • Exception when deploying jsf application

    11:38:44,977 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(null,java.math.BigDecimal)
    11:38:44,980 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(null,java.math.BigInteger)
    11:38:45,024 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlCommandButton)
    11:38:45,026 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlCommandLink)
    11:38:45,026 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlDataTable)
    11:38:45,027 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlInputHidden)
    11:38:45,037 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlInputText)
    11:38:45,038 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlInputTextarea)
    Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
    javax.faces.FacesException: java.lang.ClassCastException
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:334)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)

    Maybe your web.xml is wrong. Doublecheck it.

  • Deploying JSF in Websphere

    Hi,
    I am getting below exception While deploying JSF application in Websphere.
    [5/7/13 14:19:10:585 IST] 0000002d FacesConfigur I Reading config /WEB-INF/faces-config.xml
    [5/7/13 14:19:10:636 IST] 0000002d FacesConfigur E Circular references detected when sorting application config resources. Use absolute ordering instead.
    [5/7/13 14:19:10:638 IST] 0000002d AbstractFaces E An error occured while initializing MyFaces: Circular references detected when sorting application config resources. Use absolute ordering instead.
    javax.faces.FacesException: Circular references detected when sorting application config resources. Use absolute ordering instead.
    at org.apache.myfaces.config.FacesConfigurator.applySortingAlgorithm(FacesConfigurator.java:1232)
    at org.apache.myfaces.config.FacesConfigurator.orderAndFeedArtifacts(FacesConfigurator.java:1016)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1620)
    [5/7/13 14:19:10:775 IST] 0000002d servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper init Uncaught.init.exception.thrown.by.servlet
    [5/7/13 14:19:10:768 IST] 0000002d FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on E:\IBM\WAS8.0\AppServer\profiles\AppSrv02\logs\ffdc\server1_1a04d15d_13.05.07_14.19.10.6708028578684570000270.txt com.ibm.ws.webcontainer.servlet.ServletInstance.init 181
    [5/7/13 14:19:10:798 IST] 0000002d webapp E com.ibm.ws.webcontainer.webapp.WebApp commonInitializationFinally SRVE0266E: Error occured while initializing servlets: {0}
    javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:391)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupCheck(ServletWrapper.java:1274)
    at com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(WebApp.java:575)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1620)
    Caused by: java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also check the logging output of your web application and your container for any exceptions!
    If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and a context listener is not setup in your web.xml.
    A typical config looks like this;
    <listener>
    <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>
    at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:172)
    at javax.faces.webapp.FacesServlet.init(FacesServlet.java:112)
    at com.ibm.ws.cache.servlet.ServletWrapper.init(ServletWrapper.java:238)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:329)
    ... 113 more
    Please help me to resolve this problem.

    Now, got that resolved. As I stated in my previous post, I had to change the classloading policy to "Parent Last" and
    found that mojarra is now loaded (see the last line):
    [07/10/09 11:00:12:013 EDT] 00000014 ApplicationMg A WSVR0200I: Starting application: JSFEAR
    [07/10/09 11:00:12:013 EDT] 00000014 ApplicationMg A WSVR0204I: Application: JSFEAR Application build level: Unknown
    [07/10/09 11:00:13:201 EDT] 00000014 ResourceMgrIm I WSVR0049I: Binding DefaultEJBTimerDataSource as jdbc/DefaultEJBTimerDataSource
    [07/10/09 11:00:13:248 EDT] 00000014 webapp I com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0169I: Loading Web Module: webJSF.
    [07/10/09 11:00:13:263 EDT] 00000014 WASSessionCor I SessionContextRegistry getSessionContext SESN0176I: Will create a new session context for application key SCD/webJSF
    [07/10/09 11:00:13:373 EDT] 00000014 FacesConfigur I org.apache.myfaces.config.FacesConfigurator feedStandardConfig Reading standard config META-INF/standard-faces-config.xml
    [07/10/09 11:00:13:497 EDT] 00000014 FacesConfigur I org.apache.myfaces.config.FacesConfigurator feedWebAppConfig Reading config /WEB-INF/faces-config.xml
    [07/10/09 11:00:13:513 EDT] 00000014 LocaleUtils W org.apache.myfaces.shared_impl.util.LocaleUtils toLocale Locale name in faces-config.xml null or empty, setting locale to default locale : en_CA
    [07/10/09 11:00:13:622 EDT] 00000014 FacesConfigur I org.apache.myfaces.config.FacesConfigurator handleSerialFactory Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
    [07/10/09 11:00:13:622 EDT] 00000014 AbstractFaces I org.apache.myfaces.webapp.AbstractFacesInitializer initFaces ServletContext 'C:\Program Files\IBM\SDP75\runtimes\base_v7\profiles\profil_CGE\installedApps\cellule\JSFEAR.ear\webJSF.war' initialized.
    [07/10/09 11:00:13:701 EDT] 00000014 config I Initializing Mojarra 2.0.0 (SNAPSHOT 20090924) for context '/webJSF'
    Now I will be looking for what I have to set next...

  • Error deploying several applications

    Hello,
    I have a problem deploying several applications. They are 3 wars that are continuously deployed. The error obtained is the following
    deploy_:
    +[java]+
    +[java] Initializing WebLogic Scripting Tool (WLST) ...+
    +[java]+
    +[java] WARNING - Unable to create log file </bea/bea1035/modules/../logs/wlst_20110901091225.log>: java.io.IOException: No space left on device+
    +[java] Welcome to WebLogic Server Administration Scripting Shell+
    +[java]+
    +[java] Type help() for help on available commands+
    +[java]+
    +[java] Could not find the properties file to load properties from /config/wl11_extra_ava/w63/w63Resources.properties.+
    +[java] ==> Fichero de configuracion: /config/wl11_extra_ava/w63/w63Config.properties+
    +[java] ==> Fichero de recursos: /config/wl11_extra_ava/w63/w63Resources.properties+
    +[java] unlocking ...+
    +[java] Connecting to t3://wl11admin27.ejiepru.net:8124 with userid weblogic11 ...+
    +[java] Successfully connected to Admin Server 'admin' that belongs to domain 'wl11_extra_ava'.+
    +[java]+
    +[java] Warning: An insecure protocol was used to connect to the+
    +[java] server. To ensure on-the-wire security, the SSL port or+
    +[java] Admin port should be used instead.+
    +[java]+
    +[java] Location changed to edit tree. This is a writable tree with+
    +[java] DomainMBean as the root. To make changes you will need to start+
    +[java] an edit session via startEdit().+
    +[java]+
    +[java] For more help, use help(edit)+
    +[java]+
    +[java] Starting an edit session ...+
    +[java] Started edit session, please be sure to save and activate your+
    +[java] changes once you are done.+
    +[java] Saving all your changes ...+
    +[java] Saved all your changes successfully.+
    +[java] Activating all your changes, this may take a while ...+
    +[java] The edit lock associated with this edit session is released+
    +[java] once the activation is completed.+
    +[java] Activation completed+
    +[java] weblogic.Deployer invoked with options: -adminurl t3://wl11admin27.ejiepru.net:8124 -userconfigfile /j2se/apache-ant-1.7.1/ejie_wls11/user.secure -userkeyfile /j2se/apache-ant-1.7.1/ejie_wls11/password.secure -name ispacmgr -targets gestExp1 -deploy /aplic/w63/dist/ispacmgr.war -stage -timeout 3600 -debug -verbose+
    +[java] [WebLogicDeploymentManagerImpl.<init>():115] : Constructing DeploymentManager for J2EE version V1_4 deployments+
    +[java] [WebLogicDeploymentManagerImpl.getNewConnection():158] : Connecting to admin server at wl11admin27.ejiepru.net:8124, as user weblogic11+
    +[java] [ServerConnectionImpl.getEnvironment():286] : setting environment+
    +[java] [ServerConnectionImpl.getEnvironment():289] : getting context using t3://wl11admin27.ejiepru.net:8124+
    +[java] [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://wl11admin27.ejiepru.net:8124/jndi/weblogic.management.mbeanservers.domainruntime+
    +[java] [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://wl11admin27.ejiepru.net:8124/jndi/weblogic.management.mbeanservers.runtime+
    +[java] [DomainManager.resetDomain():36] : Getting new domain+
    +[java] [DomainManager.resetDomain():39] : Using pending domain: false+
    +[java] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@83fbeb1+
    +[java] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@83fbeb1+
    +[java] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@8313beb+
    +[java] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@8313beb+
    +[java] [ServerConnectionImpl.initialize():169] : Connected to WLS domain: wl11_extra_ava+
    +[java] [ServerConnectionImpl.init():159] : Initializing ServerConnection : [email protected]cc7+
    +[java] [BasicOperation.dumpTmids():713] : Incoming tmids:+
    +[java] [BasicOperation.dumpTmids():715] : {Target=gestExp1, WebLogicTargetType=cluster, Name=ispacmgr}, targeted=true+
    +[java] [BasicOperation.deriveAppName():141] : appname established as: ispacmgr+
    +[java] <Sep 1, 2011 9:12:59 AM CEST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, ispacmgr [archive: /aplic/w63/dist/ispacmgr.war], to gestExp1 .>+
    +[java] [BasicOperation.dumpTmids():713] : Incoming tmids:+
    +[java] [BasicOperation.dumpTmids():715] : {Target=gestExp1, WebLogicTargetType=cluster, Name=ispacmgr}, targeted=true+
    +[java] [BasicOperation.loadGeneralOptions():628] : Delete Files:false+
    +[java] Timeout :3600000+
    +[java] Targets:+
    +[java] gestExp1+
    +[java] ModuleTargets={}+
    +[java] SubModuleTargets={}+
    +[java] }+
    +[java] Files:+
    +[java] null+
    +[java] Deployment Plan: null+
    +[java] App root: /tmp/webl11/./config/deployments/ispacmgr+
    +[java] App config: /tmp/webl11/./config/deployments/ispacmgr/plan+
    +[java] Deployment Options: {isRetireGracefully=true,isGracefulProductionToAdmin=false,isGracefulIgnoreSessions=false,rmiGracePeriod=-1,retireTimeoutSecs=-1,undeployAllVersions=false,archiveVersion=null,planVersion=null,isLibrary=false,libSpecVersion=null,libImplVersion=null,stageMode=stage,clusterTimeout=3600000,altDD=null,altWlsDD=null,name=ispacmgr,securityModel=null,securityValidationEnabled=false,versionIdentifier=null,isTestMode=false,forceUndeployTimeout=3600,defaultSubmoduleTargets=true,timeout=3600000,deploymentPrincipalName=null,useExpiredLock=false}+
    +[java]+
    +[java] [BasicOperation.execute():445] : Initiating deploy operation for app, ispacmgr, on targets:+
    +[java] [BasicOperation.execute():447] : gestExp1+
    +[java] Task 164 initiated: [Deployer:149026]deploy application ispacmgr on gestExp1.+
    +[java] dumping Exception stack+
    +[java] Task 164 failed: [Deployer:149026]deploy application ispacmgr on gestExp1.+
    +[java] Target state: deploy failed on Cluster gestExp1+
    +[java] weblogic.management.DeploymentException: [Deployer:149189]An attempt was made to execute the 'deploy' operation on an application named 'ispacmgr' that is not currently available. The application may have been created after non-dynamic configuration changes were activated. If so, the operation can not be performed until server is restarted so that the application will be available.+
    +[java] at weblogic.deploy.internal.targetserver.DeploymentManager.assertDeploymentMBeanIsNonNull(DeploymentManager.java:1319)+
    +[java] at weblogic.deploy.internal.targetserver.DeploymentManager.findDeploymentMBean(DeploymentManager.java:1360)+
    +[java] at weblogic.deploy.internal.targetserver.DeploymentManager.createOperation(DeploymentManager.java:1050)+
    +[java] at weblogic.deploy.internal.targetserver.DeploymentManager.createOperations(DeploymentManager.java:1406)+
    +[java] at weblogic.deploy.internal.targetserver.DeploymentManager.handleUpdateDeploymentContext(DeploymentManager.java:162)+
    +[java] at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.updateDeploymentContext(DeploymentServiceDispatcher.java:156)+
    +[java] at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doUpdateDeploymentContextCallback(DeploymentReceiverCallbackDeliverer.java:147)+
    +[java] at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.updateDeploymentContext(DeploymentReceiverCallbackDeliverer.java:29)+
    +[java] at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.callDeploymentReceivers(ReceivedPrepare.java:203)+
    +[java] at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.handlePrepare(ReceivedPrepare.java:114)+
    +[java] at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.receivedPrepare(ReceivedPrepare.java:52)+
    +[java] at weblogic.deploy.service.internal.targetserver.TargetRequestImpl.run(TargetRequestImpl.java:211)+
    +[java] at weblogic.deploy.service.internal.transport.CommonMessageReceiver$1.run(CommonMessageReceiver.java:458)+
    +[java] at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)+
    +[java] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)+
    +[java] at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)+
    +[java]+
    +[java]+
    +[java] Target Assignments:+
    +[java] + ispacmgr gestExp1+
    +[java] [ServerConnectionImpl.close():332] : Closing DM connection+
    +[java] [ServerConnectionImpl.close():352] : Unregistered all listeners+
    +[java] [ServerConnectionImpl.closeJMX():372] : Closed JMX connection+
    +[java] [ServerConnectionImpl.closeJMX():384] : Closed Runtime JMX connection+
    +[java] [ServerConnectionImpl.closeJMX():396] : Closed Edit JMX connection+
    +[java] Java Result: 1+
    BUILD SUCCESSFUL
    This error doesn`t appear always in the same war file. In admin log I can see this:
    +79740> <BEA-149038> <Initiating Task for ispacmgr : [Deployer:149026]deploy application ispacmgr on gestExp1.>+
    +####<Sep 1, 2011 9:13:19 AM CEST> <Warning> <Deployer> <ejlf031> <admin> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <131+
    +4861199984> <BEA-149004> <Failures were detected while initiating deploy task for application 'ispacmgr'.>+
    +####<Sep 1, 2011 9:13:19 AM CEST> <Warning> <Deployer> <ejlf031> <admin> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <131+
    +4861199985> <BEA-149078> <Stack trace for message 149004+
    +weblogic.management.DeploymentException: [Deployer:149189]An attempt was made to execute the 'deploy' operation on an application named 'ispacmgr' that is not currently available.+
    The application may have been created after non-dynamic configuration changes were activated. If so, the operation can not be performed until server is restarted so that the appl
    ication will be available.
    at weblogic.deploy.internal.targetserver.DeploymentManager.assertDeploymentMBeanIsNonNull(DeploymentManager.java:1319)
    at weblogic.deploy.internal.targetserver.DeploymentManager.findDeploymentMBean(DeploymentManager.java:1360)
    at weblogic.deploy.internal.targetserver.DeploymentManager.createOperation(DeploymentManager.java:1050)
    at weblogic.deploy.internal.targetserver.DeploymentManager.createOperations(DeploymentManager.java:1406)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleUpdateDeploymentContext(DeploymentManager.java:162)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.updateDeploymentContext(DeploymentServiceDispatcher.java:156)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doUpdateDeploymentContextCallback(DeploymentReceiverCallbackDeliverer.java:147)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.updateDeploymentContext(DeploymentReceiverCallbackDeliverer.java:29)
    at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.callDeploymentReceivers(ReceivedPrepare.java:203)
    at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.handlePrepare(ReceivedPrepare.java:114)
    at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.receivedPrepare(ReceivedPrepare.java:52)
    at weblogic.deploy.service.internal.targetserver.TargetRequestImpl.run(TargetRequestImpl.java:211)
    at weblogic.deploy.service.internal.transport.CommonMessageReceiver$1.run(CommonMessageReceiver.java:458)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    +>+
    So, is the same error. There isn`t any more. After this error, If I try to deploy the war (only the one with the error), it works!!!!
    Restarting the server is not the solution.
    Thanks in advance
    Endika

    Hi, I think you should delete all apps using WebLogic console instead of editing config.xml, is more safe. Then shutdown your instance and eliminate all that is inside in stage and .wlnotdelete directories. Start again your instance and deploy your apps.

  • SaxParser error when deploying J2EE application on 10gAS for IBM AIX 5.2

    Hello,
    We have problems deploying J2EE application on 10gAS 9.0.4.0.0, on IBM AIX 5.2. We deployed it on 10gAS for Windows 9.4.0.0 and 9.0.4.0.1, and on 10gAS 9.0.4.0.0 for Linux, without any trouble (installed ADF runtime, etc.).
    Application architecture is JSP/Struts/ADF BC4J. We used JHeadstart 10g framework.
    As soon as we start the application, we get the message described bellow. We saw that J2SE version, shipped with the AS is 1.4.1? On all the other AS versions, and in embedded JDeveloper OC4J is 1.4.2.
    We also use the Xerces library xercesImpl.jar, which is located in .../WEB-INF/lib directory (which contains SaxParser implementation), if that is important. But the application fails right on the beginning.
    The complete error message follows:
    javax.xml.parsers.FactoryConfigurationError: Provider null could not be
    instantiated: java.lang.NullPointerException at
    javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:30) at
    org.apache.commons.digester.Digester.getFactory(Digester.java:512) at
    org.apache.commons.digester.Digester.getParser(Digester.java:686) at
    org.apache.commons.digester.Digester.getXMLReader(Digester.java:902) at
    org.apache.commons.digester.Digester.parse(Digester.java:1567) at
    org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1433) at
    org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at
    oracle.jheadstart.controller.struts.JhsActionServlet.init(JhsActionServlet.java:219) at
    com.evermind[Oracle Application Server Containers for J2EE 10g
    (9.0.4.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2094)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (9.0.4.0.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4523)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (9.0.4.0.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2561)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:640)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:568)
    Any information would be helpful,
    Vladimir,
    MAOP d.o.o., Slovenia

    Figures, I've been fighting with this for the past day and a half and I figure it out shortly after I post the question.
    It turns out the tiles.jar that was in our WEB-INF/lib directory was an old one. It looks like the newer struts.jar (from jdeveloper) we're using includes the tiles information. Once I removed tiles.jar, commons-dbcp, pool, resources, and services, it works now.
    It looks like jdeveloper overwrites most of those files with it's built in struts integration, and we've just been lucky before that struts.jar was being loaded before tiles.jar and something with oas 10.1.3 is loading the jars in a different order--but I'm just guessing here.

Maybe you are looking for

  • Is there a solution to Adobe Bridge CS6 not being able to read raw files from the 5D Mk lll

    I like to use Bridge as my overall file organizer.  I operate on a Mac version OSX version 10.8.3 and cannot read my raw files in bridge cs6.  Does anyone have a solution for this.   Also is Canon putting any pressure on Adobe to fix this?

  • Joining Two Columns with Sharepoint Calculated Column

    Ok, bear with me. I have a form where i'm collecting names from both AD and a Custom Entry. What I need to to is create a calculated column that pulls in the name from the AD column, or, if blank, concatenates the first and last names from two other

  • Error in SFTP receiver channel

    Hi, We are getting following error while processing the SFTP receiver channel. There is a 64 MB file which need to be processed and while processing we started getting the error log.(We have processed more that 80 MB files from the same channel.) The

  • Consuming an ASP web service which responds with complex data types...

    Here's my problem - I'm trying to consume a web service from a provider that uses complex data types. The starting part of the WSDL looks like this (I've not included the whole thing) - named have been changed to protect the innocent: <wsdl:definitio

  • Login Problem with BPM worklist

    Hi, i am not able to into oracle BPM worklist, i tried with Jcopper but not working.... can any one please suggest me about this....