Opa
Tenho uma aplicacao com JSF 1.2 que vai rodar no OC4J só que estou com mtos problemas para iniciar devido a configuração do OC4J.
COm o JSF1.1, eu consigo subir a aplicação numa boa, mas quando eu coloco a versão 1.2, eu fico com erro já em subir o servidor:
2008-10-16 10:17:00.656 WARNING J2EE JSP-0033 Invalid or unsupported tld version: 2.1
2008-10-16 10:17:00.828 WARNING J2EE JSP-0033 Invalid or unsupported tld version: 2.1
2008-10-16 10:17:00.921 WARNING J2EE JSP-0033 Invalid or unsupported tld version: 2.1
2008-10-16 10:17:01.015 WARNING J2EE JSP-0033 Invalid or unsupported tld version: 2.1
2008-10-16 10:17:01.828 WARNING J2EE JSP-0033 Invalid or unsupported tld version: 2.1
2008-10-16 10:17:01.875 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-10-16 10:17:01.875 WARNING J2EE JSP-0027 Errors parsing jar:file:/C:/OC4J/j2ee/home/applications/RemarcacaoDePreco/RemarcacaoDePreco/WEB-INF/lib/richfaces-ui-3.2.2.GA.jar!/META-INF/rich.tld
2008-10-16 10:17:02.546 WARNING J2EE JSP-0033 Invalid or unsupported tld version: 2.1
2008-10-16 10:17:02.562 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-10-16 10:17:02.578 WARNING J2EE JSP-0027 Errors parsing jar:file:/C:/OC4J/j2ee/home/applications/RemarcacaoDePreco/RemarcacaoDePreco/WEB-INF/lib/richfaces-ui-3.2.2.GA.jar!/META-INF/richfaces.tld
2008-10-16 10:17:04.109 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-10-16 10:17:04.359 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
Oct 16, 2008 10:17:04 AM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Sun’s JavaServer Faces implementation (1.2-b20-FCS) for context ‘RemarcacaoDePreco’
Oct 16, 2008 10:17:04 AM com.sun.faces.config.DigesterFactory configureDigester
WARNING: Attempt to set unsupported feature on XMLReader necessary for validation. Validation will bedisabled.
Oct 16, 2008 10:17:05 AM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Completed initializing Sun’s JavaServer Faces implementation (1.2-b20-FCS) for context ‘RemarcacaoDePreco’
08/10/16 10:17:05 oracle.oc4j.admin.internal.DeployerException: Can’t parse configuration file: code-source:/C:/OC4J/j2ee/home/applications/RemarcacaoDePreco/RemarcacaoDePreco/WEB-INF/lib/jsf-impl.jar!/com/sun/faces/jsf-ri-runtime.xml: Error at line 3 column 14: code-source:/C:/OC4J/j2ee/home/applications/RemarcacaoDePreco/RemarcacaoDePreco/WEB-INF/lib/jsf-impl.jar!/com/sun/faces/jsf-ri-runtime.xml<Line 3, Column 14>: XML-20149: (Error) Element ‘faces-config’ used but not declared.
08/10/16 10:17:05 at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1751)
08/10/16 10:17:05 at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:448)
08/10/16 10:17:05 at com.sun.faces.config.GlassFishConfigureListener.contextInitialized(GlassFishConfigureListener.java:47)
08/10/16 10:17:05 at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1140)
08/10/16 10:17:05 at com.evermind.server.http.HttpApplication.(HttpApplication.java:741)
08/10/16 10:17:05 at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:431)
08/10/16 10:17:05 at com.evermind.server.Application.getHttpApplication(Application.java:586)
08/10/16 10:17:05 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
08/10/16 10:17:05 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.(HttpSite.java:1906)
08/10/16 10:17:05 at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
08/10/16 10:17:05 at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:302)08/10/16 10:17:06 WARNING: DeployerRunnable.run Can’t parse configuration file: code-source:/C:/OC4J/j2ee/home/applications/RemarcacaoDePreco/RemarcacaoDePreco/WEB-INF/lib/jsf-impl.jar!/com/sun/faces/jsf-ri-runtime.xml: Error at line 3 column 14: code-source:/C:/OC4J/j2ee/home/applications/RemarcacaoDePreco/RemarcacaoDePreco/WEB-INF/lib/jsf-impl.jar!/com/sun/faces/jsf-ri-runtime.xml<Line 3, Column 14>: XML-20149: (Error) Element ‘faces-config’ used but not declared.oracle.oc4j.admin.internal.DeployerException: Can’t parse configuration file: code-source:/C:/OC4J/j2ee/home/applications/RemarcacaoDePreco/RemarcacaoDePreco/WEB-INF/lib/jsf-impl.jar!/com/sun/faces/jsf-ri-runtime.xml: Error at line 3 column 14: code-source:/C:/OC4J/j2ee/home/applications/RemarcacaoDePreco/RemarcacaoDePreco/WEB-INF/lib/jsf-impl.jar!/com/sun/faces/jsf-ri-runtime.xml<Line 3, Column 14>: XML-20149: (Error) Element ‘faces-config’ used but not declared.
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
08/10/16 10:17:05 at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:121)
08/10/16 10:17:05 at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
08/10/16 10:17:05 at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:550)
08/10/16 10:17:05 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:205)
08/10/16 10:17:05 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
08/10/16 10:17:05 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
08/10/16 10:17:05 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
08/10/16 10:17:05 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
08/10/16 10:17:05 at java.lang.Thread.run(Thread.java:595)
Eu to desconfiado que ele não aceita a versão 1.2, to certo? Alguém sabe o que significa este: J2EE JSP-0033 Invalid or unsupported tld version: 2.1
Isso é algo do JSF 1.2?
[]s
rod
Outubro 16, 2008, 9:33am
#2
pelo que entendi ele nao aceita JSP 2.1 e o richfaces (richfaces-ui-3.2.2.GA.jar) que vc esta usando no projeto utiliza o JSP 2.1
se nao me engano essa versao do OC4J so suporta Servlet 2.4 / JSP 2.0
[]'s
Fala mendigosujo, cara não funciona não. Porque o jsf 1.2 utiliza o JavaEE5 mais precisamente o JSP 2.4 (acho) e a última versão do oc4j é javaEE 1.4 com EJB 3.0. Estive em um projeto assim e tivemos que usar 1.1 mesmo.
Link oc4j:
http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html
Boa sorte!
[editado]
Rich faces : o que melhor funcionou foi o 3.1.5.GA
[/editado]
[]s