Return-Path: X-Original-To: apmail-myfaces-users-archive@www.apache.org Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CEE2C9999 for ; Tue, 13 Mar 2012 21:02:29 +0000 (UTC) Received: (qmail 45105 invoked by uid 500); 13 Mar 2012 21:02:29 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 45031 invoked by uid 500); 13 Mar 2012 21:02:29 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 45023 invoked by uid 99); 13 Mar 2012 21:02:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Mar 2012 21:02:29 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,LOTS_OF_MONEY,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of maxtorzito@gmail.com designates 209.85.160.181 as permitted sender) Received: from [209.85.160.181] (HELO mail-gy0-f181.google.com) (209.85.160.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Mar 2012 21:02:19 +0000 Received: by ghbz13 with SMTP id z13so1211417ghb.12 for ; Tue, 13 Mar 2012 14:01:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=0ix0Dh0gMJOHEqSILwM0ErishICaCwukceyi9NrGn5s=; b=Vs+qzkbBJzmxXSRsZMJ7N6aKIFYaa8P/Nni/hc67DUr1brAHhd5SjUEL3dL1I+Rvah a001elZ79/UYGmDeWQQ/Dk69oq8SQenTHKBwfk0bFO1G3r71noM1K/ebbh3NWAApef1E llWlLQkIkhN+TSBL2V7P2sgUpavwlOmcssXfT9+AMQGyjDh4SyB2xB1f/v+8rjNYrKv+ 3JHxY9hfIf73kOyCrLSqTX7uT9GXjT4sf/shzXPEcQAWuX3hqrU0pNmN2LNJ4WLeaVPD N2jut1qnNWZdeCjWiMelxtZdRCqFa/GoAfvRjC4OUq1OujhJkNMVwOBPw1e2BbebO1yl AiSw== MIME-Version: 1.0 Received: by 10.182.164.7 with SMTP id ym7mr13520399obb.68.1331672518157; Tue, 13 Mar 2012 14:01:58 -0700 (PDT) Received: by 10.182.48.230 with HTTP; Tue, 13 Mar 2012 14:01:57 -0700 (PDT) In-Reply-To: References: <1331655310.70165.YahooMailNeo@web160403.mail.bf1.yahoo.com> Date: Tue, 13 Mar 2012 15:01:57 -0600 Message-ID: Subject: Fwd: Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations. From: =?ISO-8859-1?Q?Jos=E9_Luis_Cetina?= To: MyFaces Discussion Content-Type: multipart/alternative; boundary=e89a8f50397c66e38604bb262b83 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f50397c66e38604bb262b83 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I forgot to add *WELD:* Thanks for your time Gerhard, just for resume: *MyFaces 2.1.6 +CODI 1.0.4+ WELD +Glassfish 3.1.2 =3D failed* * Mojarra 2.1.6 + CODI+1.0.4+ **WELD +**Glassfish 3.1.2 =3D OK* * MyFaces 2.1.6+ CODI 1.0.4+ **WELD +**Tomcat 7.0.22 =3D OK* 2012/3/13 Gerhard Petracek > hi jose, > > for myfaces codi the answer is pretty simple and you can see it at [1]. > > in case of myfaces-core it depends on the application-server. > maybe leo made some tests with glassfish 3.1.x + myfaces-core 2.x. > > however, most glassfish users i know (who are also using myfaces codi) us= e > it as it is (and just add myfaces codi to their project/s). > > regards, > gerhard > > [1] > > https://cwiki.apache.org/confluence/display/EXTCDI/Intro#Intro-Compatibil= ity > > http://www.irian.at > > Your JSF/JavaEE powerhouse - > JavaEE Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > > > > 2012/3/13 Jos=E9 Luis Cetina > > > Let me tell you that the example deploy and RAN without any problem and= i > > dont move any line of code, i only deploy in tomcat without any problem= , > i > > want to use apache product's like myfaces, CODI, etc, i want to know i= f > > you can give me an objective suggestion with what Application Server i > can > > use with your products, i have the opportunity for choose. > > > > Thanks > > > > > > 2012/3/13 Gerhard Petracek > > > > > hi jose, > > > > > > you can run the generated demos with a servlet container like jetty > (see > > > the comment in the generated pom.xml file), tomcat,... . > > > by default the myfaces-core profile is activated. > > > > > > we just need to know if your implementation works with such a generat= ed > > > application. > > > esp. because glassfish adds further complexity with the mentioned > > > classloader-config (e.g. with this config-entries you can't use > > > myfaces-core and owb in parallel - that's a known classloading issue > > > of glassfish). > > > > > > regards, > > > gerhard > > > > > > > > > > > > 2012/3/13 Jos=E9 Luis Cetina > > > > > > > I downloaded the example number 11 and i run the project without an= y > > > > problem, but i can see that the project is using Mojarra "Profile" = as > > JSF > > > > Impl (the log sayed to me Mojarra...). Then if i change to use > MyFaces > > > > chossing the myfaces profile and adding these lines to my > > > > g*lassfish-web.xml > > > > *: > > > > > > > > > > > > > > > > > > > > then i got an *exception *and i CANT run the project: > > > > > > > > Here is the *glassfish log:* > > > > ----------------------------------------------------- > > > > > > > > Launching GlassFish on Felix platform > > > > Informaci=F3n: Running GlassFish Version: GlassFish Server Open Sou= rce > > > > Edition 3.1.2 (build 23) > > > > Informaci=F3n: Grizzly Framework 1.9.46 started in: 78ms - bound to= [ > > > > 0.0.0.0:8080] > > > > Informaci=F3n: Grizzly Framework 1.9.46 started in: 56ms - bound to= [ > > > > 0.0.0.0:8181] > > > > Informaci=F3n: Grizzly Framework 1.9.46 started in: 106ms - bound t= o [ > > > > 0.0.0.0:3700] > > > > Informaci=F3n: Grizzly Framework 1.9.46 started in: 120ms - bound t= o [ > > > > 0.0.0.0:4848] > > > > Informaci=F3n: Grizzly Framework 1.9.46 started in: 146ms - bound t= o [ > > > > 0.0.0.0:7676] > > > > Informaci=F3n: The Admin Console is already installed, but not yet > > loaded. > > > > Informaci=F3n: Registered > > > > org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for > > > > persistence-type =3D replicated in BackingStoreFactoryRegistry > > > > Informaci=F3n: GlassFish Server Open Source Edition 3.1.2 (23) tiem= po > de > > > > inicio: Felix (2,441ms), servicios de inicio(1,240ms), total(3,681m= s) > > > > Informaci=F3n: JMX005: JMXStartupService had Started JMXConnector o= n > > > > JMXService URL service:jmx:rmi:// > > > > 192.168.1.209:8686/jndi/rmi://192.168.1.209:8686/jmxrmi > > > > Informaci=F3n: Hibernate Validator 4.2.0.Final > > > > Informaci=F3n: Grizzly Framework 1.9.46 started in: 49ms - bound to= [ > > > > 0.0.0.0:8080] > > > > Informaci=F3n: SEC1002: Security Manager is OFF. > > > > Informaci=F3n: SEC1010: Entering Security Startup Service > > > > Informaci=F3n: SEC1143: Loading policy provider > > > > com.sun.enterprise.security.provider.PolicyWrapper. > > > > Informaci=F3n: SEC1115: Realm [admin-realm] of classtype > > > > [com.sun.enterprise.security.auth.realm.file.FileRealm] successfull= y > > > > created. > > > > Informaci=F3n: SEC1115: Realm [file] of classtype > > > > [com.sun.enterprise.security.auth.realm.file.FileRealm] successfull= y > > > > created. > > > > Informaci=F3n: SEC1115: Realm [certificate] of classtype > > > > [com.sun.enterprise.security.auth.realm.certificate.CertificateReal= m] > > > > successfully created. > > > > Informaci=F3n: SEC1011: Security Service(s) Started Successfully > > > > Informaci=F3n: WEB0169: Created HTTP listener [http-listener-1] on > > > host/port > > > > [ > > > > 0.0.0.0:8080] > > > > Informaci=F3n: WEB0169: Created HTTP listener [http-listener-2] on > > > host/port > > > > [ > > > > 0.0.0.0:8181] > > > > Informaci=F3n: WEB0169: Created HTTP listener [admin-listener] on > > > host/port [ > > > > 0.0.0.0:4848] > > > > Informaci=F3n: WEB0171: Created virtual server [server] > > > > Informaci=F3n: WEB0171: Created virtual server [__asadmin] > > > > Informaci=F3n: WEB0172: Virtual server [server] loaded default web > module > > > [] > > > > Informaci=F3n: WELD-000900 1.1.4 (Final) > > > > Grave: Exception while loading the app > > > > *Grave: Exception while loading the app : > > > > > > > > > > > > > > org.jboss.weldx.transaction.UserTransaction$1513261869$Proxy$_$$_Weld$Pro= xy$ > > > > cannot be cast to javassist.util.proxy.ProxyObject* > > > > *java.lang.ClassCastException: > > > > > > > > > > > > > > org.jboss.weldx.transaction.UserTransaction$1513261869$Proxy$_$$_Weld$Pro= xy$ > > > > cannot be cast to javassist.util.proxy.ProxyObject* > > > > at > org.jboss.weld.bean.proxy.ProxyFactory.create(ProxyFactory.java:245) > > > > at > > > > > > > > > > > > > > org.jboss.weld.bean.builtin.ee.AbstractEEBean.(AbstractEEBean.java:= 43) > > > > at > > > > > > > > > > > > > > org.jboss.weld.bean.builtin.ee.UserTransactionBean.(UserTransaction= Bean.java:52) > > > > at > > > > > > > > > > > > > > org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:1= 77) > > > > at > > > > > > > > > > org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:336= ) > > > > at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:179) > > > > at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:128) > > > > at > > > > > > > > > > org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:277= ) > > > > at > > > > > > > > > > > > > > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifec= ycle.java:460) > > > > at > > > > > > > > > > > > > > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifec= ycle.java:240) > > > > at > > > > > > > > > > > > > > org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:3= 89) > > > > at > > > > > > > > > > > > > > com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl= .java:348) > > > > at > > > > > > > > > > > > > > com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl= .java:363) > > > > at > > > > > > > > > > > > > > com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl= .java:1085) > > > > at > > > > > > > > > > > > > > com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerIm= pl.java:95) > > > > at > > > > > > > > > > > > > > com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(Co= mmandRunnerImpl.java:1291) > > > > at > > > > > > > > > > > > > > com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(Co= mmandRunnerImpl.java:1259) > > > > at > > > > > > com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:46= 1) > > > > at > > > com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:21= 2) > > > > at > > > > > > > > > > com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179= ) > > > > at > > > > > > > > > > com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117= ) > > > > at > > > > > > > > > > > > > > com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable= .call(ContainerMapper.java:354) > > > > at > > > > > > > > > > > > > > com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapp= er.java:195) > > > > at > > > > com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849) > > > > at > com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746) > > > > at > com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045) > > > > at > > > > > > > > > > > > > > com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.= java:228) > > > > at > > > > > > > > > > > > > > com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtoco= lChain.java:137) > > > > at > > > > > > > > > > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:10= 4) > > > > at > > > > > > > > > > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90= ) > > > > at > > > > > > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:7= 9) > > > > at > > > > > > > > > > > > > > com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.= java:54) > > > > at > > > > > > > > > > > > > > com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java= :59) > > > > at com.sun.grizzly.ContextTask.run(ContextTask.java:71) > > > > at > > > > > > > > > > > > > > com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.= java:532) > > > > at > > > > > > > > > > > > > > com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.jav= a:513) > > > > at java.lang.Thread.run(Thread.java:722) > > > > > > > > Informaci=F3n: WEB0169: Created HTTP listener [http-listener-2] on > > > host/port > > > > [ > > > > 0.0.0.0:8181] > > > > Informaci=F3n: Grizzly Framework 1.9.46 started in: 45ms - bound to= [ > > > > 0.0.0.0:8181] > > > > > > > > > > > > ----------------------------------------------------- > > > > > > > > 2012/3/13 Gerhard Petracek > > > > > > > > > hi jose, > > > > > > > > > > you can use the myfaces-archetype to generate the correct config > for > > > > > myfaces-core (as well as mojarra) + owb (+ myfaces codi): > > > > > > > > > > mvn archetype:generate -DarchetypeCatalog=3D > http://myfaces.apache.org > > > > > -> e.g. select #11 (afterwards you just have to update the versio= ns > > in > > > > the > > > > > generated pom.xml file.) > > > > > > > > > > if it still doesn't work with the generated example, you can > provide > > > the > > > > > example and we can have a look at it. > > > > > > > > > > regards, > > > > > gerhard > > > > > > > > > > > > > > > > > > > > 2012/3/13 Jos=E9 Luis Cetina > > > > > > > > > > > I see, i erase and only put @Named and @ ViewAccessScoped and g= et > > the > > > > > same > > > > > > error, but i try with only @Named and @RequestScoped (java) and > > still > > > > the > > > > > > error, i think the problem is the @Named is not injecting my > bean, > > > not > > > > > > MyFaces, because if i use @ManagedBean this works ok, but i don= t > > > > > understand > > > > > > why if i chagen from MyFaces to Mojarra the @Named and > > > > @ViewAccessScoped > > > > > > works ok!! > > > > > > > > > > > > :( > > > > > > > > > > > > > > > > > > 2012/3/13 Rafael Pestano > > > > > > > > > > > > > just a question, why do you have @Model,@Named and > > > @ViewAccessScoped > > > > in > > > > > > > the same bean? > > > > > > > > > > > > > > i think you need @model OR @Named and @ViewAccessScoped > > > > > > > > > > > > > > or im wrong? > > > > > > > > > > > > > > Att, > > > > > > > Rafael M. Pestano > > > > > > > Desenvolvedor Java Cia. de Processamento de Dados do Rio Gran= de > > do > > > > Sul > > > > > > > Graduando em Ci=EAncia da Computa=E7=E3o UFRGS > > > > > > > @realpestano > > > > > > > http://code.google.com/p/jsf-conventions-framework/ > > > > > > > > > > > > > > > > > > > > > > > > > > > > ----- Mensagem original ----- > > > > > > > De: Jos=E9 Luis Cetina > > > > > > > Para: MyFaces Discussion > > > > > > > Cc: > > > > > > > Enviadas: Ter=E7a-feira, 13 de Mar=E7o de 2012 12:28 > > > > > > > Assunto: Re: Both MyFaces and the RI are on your classpath. > > Please > > > > make > > > > > > > sure to use only one of the two JSF-implementations. > > > > > > > > > > > > > > I see now im using MyFaces instead of Mojarra, the "ERROR" > > Message > > > > > still > > > > > > > there, but the application can deploy. My second problem > persist: > > > > > > > > > > > > > > javax.el.PropertyNotFoundException: Target Unreachable, > > identifier > > > > > > 'myBean' > > > > > > > resolved to null > > > > > > > viewId=3D/index.xhtml > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > location=3DC:\Users\user\Documents\NetBeansProjects\testweb\build\web\ind= ex.xhtml > > > > > > > phaseId=3DINVOKE_APPLICATION(5) > > > > > > > > > > > > > > > > > > > > > i have the my beans.xml under WEB-INF folder: > > > > > > > beans.xml: > > > > > > > > > > > > > > > > > > > > > > > > > > > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance= " > > > > > > > xsi:schemaLocation=3D"http://java.sun.com/xml/ns/javae= e > > > > > > > http://java.sun.com/xml/ns/javaee/beans_1_0.xsd"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > And my bean its ok: > > > > > > > > > > > > > > @Named > > > > > > > @ViewAccessScoped > > > > > > > @Model > > > > > > > @View(Index.class) > > > > > > > public class MyBean implements Serializable{ > > > > > > > } > > > > > > > > > > > > > > If i change from MyFaces to Mojarra this work ok!!! :( > > > > > > > > > > > > > > Somebody know what can i do? > > > > > > > > > > > > > > *Im using: Netbeans 7.1, Glassfish 3.1.2.1, JDK 7u3, MyFaces > > 2.1.6, > > > > > > > CODI 1.0.4, Windows 7. * > > > > > > > * > > > > > > > * > > > > > > > *Thanks.* > > > > > > > * > > > > > > > * > > > > > > > > > > > > > > > > > > > > > > > > > > > > *------------------------------------------------------------------------= -* > > > > > > > > > > > > > > > > > > > > > 2012/3/13 Werner Punz > > > > > > > > > > > > > > > Mhh this looks like a bug in Glassfish to me, the entries = in > > the > > > > > > > > glassfish-web.xml look correct to me. Problem is generally > that > > > > > > glassfish > > > > > > > > is not to keen on overrides of its system libs in my > > experience. > > > > Even > > > > > > > while > > > > > > > > myfaces runs, try to replace Weld for instance and you run > > into a > > > > > mess. > > > > > > > > Glassfish as good as it is is an all or nothing pack in man= y > > > cases. > > > > > > > > But it has been some time since I last touched Glassfish, > > things > > > > > might > > > > > > > > have changed. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Werner > > > > > > > > > > > > > > > > > > > > > > > > Am 12.03.12 17:40, schrieb Jos=E9 Luis Cetina: > > > > > > > > > > > > > > > >> Im triying to start a new project for first time with > > myfaces, i > > > > > > always > > > > > > > >> used Mojarra but know i want to change but im having > problems > > at > > > > the > > > > > > > >> start: > > > > > > > >> > > > > > > > >> My only requierement is use Glassfish 3.1.2.1. > > > > > > > >> > > > > > > > >> Hi i have this WARNING: > > > > > > > >> > > > > > > > >> *Both MyFaces and the RI are on your classpath. Please mak= e > > sure > > > > to > > > > > > use > > > > > > > >> only one of the two JSF-implementations.* > > > > > > > >> > > > > > > > >> > > > > > > > >> Why this happend if im using only jars from myfaces?? mayb= e > > for > > > > > > > glassfish > > > > > > > >> i > > > > > > > >> think, i have these in my *glassfish-web.xml* file, under > > > WEB-INF > > > > > > > folder: > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > GlassFish > > > > > > > >> Application Server 3.1 Servlet 3.0//EN" " > > > > > > > >> http://glassfish.org/dtds/**glassfish-web-app_3_0-1.dtd< > > > > > > > http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd> > > > > > > > >> "> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> ** > > > > > > > >> ** > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> Keep a copy of the generated > servlet > > > > class' > > > > > > > java > > > > > > > >> code. > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> ---------------- ---------------- ---------------- > > > > > > > >> > > > > > > > >> This is my web.xml > > > > > > > >> > > > > > > > >> > > > > > > > >> > > http://java.sun.com/**xml/ns/javaee > > > > < > > > > > > > http://java.sun.com/xml/ns/javaee>" > > > > > > > >> xmlns:xsi=3D" > > > > > > > >> http://www.w3.org/2001/**XMLSchema-instance< > > > > > > > http://www.w3.org/2001/XMLSchema-instance>" > > > > > > > >> xsi:schemaLocation=3D" > > > > > > > >> http://java.sun.com/xml/ns/**javaee < > > > > > > http://java.sun.com/xml/ns/javaee> > > > > > > > >> http://java.sun.com/xml/ns/**javaee/web-app_3_0.xsd< > > > > > > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd> > > > > > > > >> "> > > > > > > > >> > > > > > > > >> javax.faces.**PROJECT_STAGE > > > > > > > >> Development > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > com.ocpsoft.**pretty.DEVELOPMENT > > > > > > > >> true > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > javax.faces.STATE_**SAVING_METHOD > > > > > > > >> server > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > javax.faces.DATETIMECONVERTER_**DEFAULT_TIMEZONE_IS_SYSTEM_** > > > > > > > >> TIMEZONE > > > > > > > >> true > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > javax.faces.**FACELETS_SKIP_COMMENTS > > > > > > > >> true > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> com.sun.faces.**enableMissingResourceLibraryDe= ** > > > > > > > >> tection > > > > > > > >> true > > > > > > > >> > > > > > > > >> > > > > > > > >> * > > > > > > > >> org.apache.**myfaces.webapp.** > > > > > > > >> StartupServletContextListener<**/listener-class> > > > > > > > >> * > > > > > > > >> > > > > > > > >> > > > > > > > >> Faces Servlet > > > > > > > >> > > > > javax.faces.**webapp.FacesServlet > > > > > > >> class> > > > > > > > >> 1 > > > > > > > >> > > > > > > > >> > > > > > > > >> Faces Servlet > > > > > > > >> /faces/* > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> 30 > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> faces/index.**xhtml > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> ---------------- ---------------- ---------------- > > > > > > > >> > > > > > > > >> Here are my libraries: > > > > > > > >> > > > > > > > >> --MYFACES > > > > > > > >> myfaces-api-2.1.6.jar > > > > > > > >> myfaces-impl-2.1.6.jar > > > > > > > >> commons-beanutils-1.8.3.jar > > > > > > > >> commons-digester-1.8.jar > > > > > > > >> commons-logging-1.8.jar > > > > > > > >> commons-codec-1.1.1.jar > > > > > > > >> commons-collections-3.2.jar > > > > > > > >> --MYFACES CODI > > > > > > > >> myfaces-extcdi-alternative-**implementation-module-1.0.4 > > > > > > > >> myfaces-extcdi-bv1-module-api-**1.0.4 > > > > > > > >> myfaces-extcdi-bv1-module-**impl-1.0.4 > > > > > > > >> myfaces-extcdi-core-**alternative-configuration-1.0.**4 > > > > > > > >> myfaces-extcdi-core-api-1.0.4 > > > > > > > >> myfaces-extcdi-core-impl-1.0.4 > > > > > > > >> myfaces-extcdi-jpa1-module-**api-1.0.4 > > > > > > > >> myfaces-extcdi-jpa1-module-**impl-1.0.4 > > > > > > > >> myfaces-extcdi-jsf20-module-**api-1.0.4 > > > > > > > >> myfaces-extcdi-jsf20-module-**impl-1.0.4 > > > > > > > >> myfaces-extcdi-jsf-**alternative-configuration-1.0.**4 > > > > > > > >> myfaces-extcdi-message-module-**api-1.0.4 > > > > > > > >> myfaces-extcdi-message-module-**impl-1.0.4 > > > > > > > >> myfaces-extcdi-scripting-**module-api-1.0.4 > > > > > > > >> myfaces-extcdi-scripting-**module-impl-1.0.4 > > > > > > > >> > > > > > > > >> > > > > > > > >> I dont know if because the "WARNING" i have other problem: > > > > > > > >> > > > > > > > >> javax.el.**PropertyNotFoundException: Target Unreachable, > > > > identifier > > > > > > > >> 'myBean' > > > > > > > >> resolved to null, > > > > > > > >> > > > > > > > >> I have in my beans.xml file under WEB-INF this: > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > http://java.sun.com/xml/ns/javaee> > > > > > > > >> " > > > > > > > >> xmlns:xsi=3D" > http://www.w3.org/**2001/XMLSchema-instance > > < > > > > > > > http://www.w3.org/2001/XMLSchema-instance> > > > > > > > >> " > > > > > > > >> xsi:schemaLocation=3D"http://** > > java.sun.com/xml/ns/javaee< > > > > > > > http://java.sun.com/xml/ns/javaee> > > > > > > > >> http://java.sun.com/xml/ns/**javaee/beans_1_0.xsd< > > > > > > > http://java.sun.com/xml/ns/javaee/beans_1_0.xsd> > > > > > > > >> "> > > > > > > > >> > > > > > > > >> > > > > > > > >> and in my bean: > > > > > > > >> > > > > > > > >> @Named > > > > > > > >> @ViewAccessScoped > > > > > > > >> @Model > > > > > > > >> @View(Index.class) > > > > > > > >> public class MyBean implements Serializable{ > > > > > > > >> public void test(){ > > > > > > > >> //do nothing > > > > > > > >> } > > > > > > > >> > > > > > > > >> ..... > > > > > > > >> } > > > > > > > >> > > > > > > > >> and in my index.xhtml > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> if i click my button the i get this error: > > > > > > > >> > > > > > > > >> javax.el.**PropertyNotFoundException: Target Unreachable, > > > > identifier > > > > > > > >> 'myBean' > > > > > > > >> resolved to null > > > > > > > >> viewId=3D/index.xhtml > > > > > > > >> location=3DC:\Users\user\**Documents\NetBeansProjects\** > > > > > > > >> testweb\build\web\index.xhtml > > > > > > > >> phaseId=3DINVOKE_APPLICATION(5) > > > > > > > >> Caused by: > > > > > > > >> javax.el.**PropertyNotFoundException - Target Unreachable, > > > > > identifier > > > > > > > >> 'myBean' resolved to null > > > > > > > >> at com.sun.el.parser.AstValue.**getTarget(AstValue.java:15= 3) > > > > > > > >> > > > > > > > >> > > > > > > > >> I dont know if this is for the first problem (*Both MyFac= es > > and > > > > the > > > > > > RI > > > > > > > >> are > > > > > > > >> > > > > > > > >> on your classpath. Please make sure to use only one of the > two > > > > > > > >> JSF-implementations.*) > > > > > > > >> > > > > > > > >> I read i need to have my beans.xml but i have it!!! > > > > > > > >> > > > > > > > >> Thanks, and sorry for the english, is not my native langua= ge > > > > > > > >> > > > > > > > >> > > > > > > > >> Im using: Netbeans 7.1, *Glassfish 3.1.2.1,* JDK 7u3, > MyFaces > > > > 2.1.6, > > > > > > > CODI > > > > > > > >> 1.0.4, Windows 7. > > > > > > > >> > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > ------------------------------------------------------------------- > > > > > > > *SCJA. Jos=E9 Luis Cetina* > > > > > > > > > ------------------------------------------------------------------- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > ------------------------------------------------------------------- > > > > > > *SCJA. Jos=E9 Luis Cetina* > > > > > > > ------------------------------------------------------------------- > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > ------------------------------------------------------------------- > > > > *SCJA. Jos=E9 Luis Cetina* > > > > ------------------------------------------------------------------- > > > > > > > > > > > > > > > -- > > ------------------------------------------------------------------- > > *SCJA. Jos=E9 Luis Cetina* > > ------------------------------------------------------------------- > > > --=20 ------------------------------------------------------------------- *SCJA. Jos=E9 Luis Cetina* ------------------------------------------------------------------- --=20 ------------------------------------------------------------------- *SCJA. Jos=E9 Luis Cetina* ------------------------------------------------------------------- --e89a8f50397c66e38604bb262b83--