hazems / gmaps4jsf

Automatically exported from code.google.com/p/gmaps4jsf
1 stars 0 forks source link

adding gmaps4jsf stops <h:...> tags useless (using Glassfish 3.0.1) #121

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new jsf2 web application with a <h:outputLabel value"test"/>
2. Add maps4jsf-core-1.1.2.jar (also tried other versions)
3. Deploy webapp on Glassfish 3.01

What is the expected output? What do you see instead?

"test" should be visible but is not
when removing the gmaps4jsf.jar from the libraries it works again

What version of the product are you using? On what operating system?

maps4jsf-core-1.1.2.jar
Glassfish 3.01 
Netbeans 6.9

Please find the war file attached.

Output of the Glassfish Server 3 process:

15.07.2010 20:38:48 com.sun.enterprise.glassfish.bootstrap.ASMain main
INFO: Launching GlassFish on Felix platform
Welcome to Felix
================
INFO: Perform lazy SSL initialization for the listener 'http-listener-2'
INFO: Starting Grizzly Framework 1.9.18-o - Thu Jul 15 20:39:12 CEST 2010
INFO: Starting Grizzly Framework 1.9.18-o - Thu Jul 15 20:39:12 CEST 2010
INFO: Grizzly Framework 1.9.18-o started in: 515ms listening on port 7676
INFO: Grizzly Framework 1.9.18-o started in: 562ms listening on port 8181
INFO: Grizzly Framework 1.9.18-o started in: 515ms listening on port 3700
INFO: Grizzly Framework 1.9.18-o started in: 530ms listening on port 4848
INFO: Grizzly Framework 1.9.18-o started in: 608ms listening on port 8080
INFO: Using 
com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the 
delegate
INFO: SEC1002: Security Manager is OFF.
INFO: Security startup service called
INFO: SEC1143: Loading policy provider 
com.sun.enterprise.security.provider.PolicyWrapper.
INFO: Realm admin-realm of classtype 
com.sun.enterprise.security.auth.realm.file.FileRealm successfully created.
INFO: Realm file of classtype 
com.sun.enterprise.security.auth.realm.file.FileRealm successfully created.
INFO: Realm certificate of classtype 
com.sun.enterprise.security.auth.realm.certificate.CertificateRealm 
successfully created.
INFO: Security service(s) started successfully....
INFO: Created HTTP listener http-listener-1 on port 8080
INFO: Created HTTP listener http-listener-2 on port 8181
INFO: Created HTTP listener admin-listener on port 4848
INFO: Created virtual server server
INFO: Created virtual server __asadmin
INFO: Virtual server server loaded system default web module
INFO: Mojarra 2.0.2 (FCS b10) für Kontext '/inconcert_java_web' wird 
initialisiert.
INFO: Loading application inconcert_java_web at /inconcert_java_web
INFO: Loading inconcert_java_web Application done is 29205 ms
INFO: Mojarra 2.0.2 (FCS b10) für Kontext '/WebApplication1' wird 
initialisiert.
INFO: Loading application WebApplication1 at /WebApplication1
INFO: Loading WebApplication1 Application done is 1061 ms
INFO: GlassFish Server Open Source Edition 3.0.1 (22) startup time : 
Felix(20404ms) startup services(35429ms) total(55833ms)
INFO: Binding RMI port to *:8686
INFO: Hibernate Validator bean-validator-3.0-JBoss-4.0.2
INFO: Instantiated an instance of 
org.hibernate.validator.engine.resolver.JPATraversableResolver.
INFO: Created HTTP listener http-listener-1 on port 8080
INFO: Grizzly Framework 1.9.18-o started in: 0ms listening on port 8080
INFO: Perform lazy SSL initialization for the listener 'http-listener-2'
INFO: Created HTTP listener http-listener-2 on port 8181
INFO: Grizzly Framework 1.9.18-o started in: 0ms listening on port 8181
INFO: JMXStartupService: Started JMXConnector, JMXService URL = 
service:jmx:rmi://192.168.2.7:8686/jndi/rmi://192.168.2.7:8686/jmxrmi
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Program 
Files\glassfish-3.0.1\glassfish\domains\domain1\autodeploy\bundles, 
felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, 
felix.fileinstall.tmpdir = 
C:\Users\hro\AppData\Local\Temp\fileinstall--2715144969864910181, 
felix.fileinstall.filter = null}
INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Program 
Files\glassfish-3.0.1\glassfish\modules\autostart, felix.fileinstall.debug = 1, 
felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = 
C:\Users\hro\AppData\Local\Temp\fileinstall--5233702732007941955, 
felix.fileinstall.filter = null}
INFO: Updating configuration from 
org.apache.felix.fileinstall-autodeploy-bundles.cfg
INFO: Installed C:\Program 
Files\glassfish-3.0.1\glassfish\modules\autostart\org.apache.felix.fileinstall-a
utodeploy-bundles.cfg
INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Program 
Files\glassfish-3.0.1\glassfish\domains\domain1\autodeploy\bundles, 
felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, 
felix.fileinstall.tmpdir = 
C:\Users\hro\AppData\Local\Temp\fileinstall-7179866508901875102, 
felix.fileinstall.filter = null}
INFO: Total number of available updates : 0

Original issue reported on code.google.com by heinz.r...@gmail.com on 15 Jul 2010 at 6:47

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by Hazem.sa...@gmail.com on 17 Jul 2010 at 9:12

GoogleCodeExporter commented 9 years ago
It is not a GMaps4JSF issue at all. It is a NetBeans one.
The problem is that when NetBeans 6.9 creates a JSF 2.0 project it misses the 
faces-config.xml.
So to solve this issue then you should create (faces-config.xml) in the config 
folder as follows:
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
              http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
              version="2.0">
</faces-config>

Just create it empty and everything will work OK.

I attached the fixed war with a sample working map for your reference.

Kindly inform us if you want more help.

Enjoy using GMaps4JSF!

Original comment by Hazem.sa...@gmail.com on 24 Jul 2010 at 11:13

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by Hazem.sa...@gmail.com on 24 Jul 2010 at 11:13