[java ee programming] LAB-3516
I have a doubt with the homework in LAB-3516, it says: "Zip files of the the HibernateMyMappingTablePerClassHierarchy and HibernateMyMappingTablePerSubClass NetBeans projects" link:http://www.javapassion.com/handsonlabs/hibernatemapping/#Homework Do I send the files zip separated or both in a zip?? Regards. Lisandro --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] Re: Help in Homework LAB-4108
Thanks, but the method e.getValue() return a String, then I cannot send to the method "printComponentInfo" the object UIComponent to be able to cross and print all the components... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] Help in Homework LAB-4108
Hi! I have a problem with the use getAttributes() method of the UIComponent class. Code of the method: public void printComponentTree2(UIComponent comp) { printComponentInfo(comp); // Get child components List complist = (ArrayList)(comp.getAttributes().values()); if (complist.size() > 0) { indent++; } Iterator it= complist.iterator(); while(it.hasNext()){ printComponentTree(it.next()); } } The problem is the cast. In console, the error: threw exception: java.lang.ClassCastException: java.util.HashMap $Values cannot be cast to java.util.ArrayList java.util.HashMap$Values cannot be cast to java.util.ArrayList. . I not find way of the solution at the problem for display of the attributtes. Regards. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] Re: LAB-4016
Hi! I have installed NetBeans 6.5.1 from the following website - Choose All, but the option of select Sun Java System Application Server 9 when I new->Project, is not. Solution? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] Homework - LAB-4221
Hi! I want to know the idea of this homework, It is to create two pages .jsp (Showing the asked information), avoiding the "if"( in the jsp) and configure properly the "struts.xml"??. Thanks! Lisandro --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] Re: Problem with prijects in Struts 2 in LAB 4221
I solved it, the problem was that not import the folder lib1, I was mattering the folder lib2, for the struts 2... Regards!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] LAB-4221 - Exercise 4: Build and run "struts2-login" sample application
I clarify that for this exercise, for the internationalization, I should have copied the package.properties default as name "en" (English), since any option that was choosing (English) or Spanish) always was showing in Spanish.. This I believe that it is a fault of the code that is in the web. Regards! Lisandro --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] LAB-4221-JavaDoc with Struts 2
Hi! I have a problem at download Struts 2 Javadoc (download)... http://mirror.candidhosting.com/pub/apache/struts/documentation/struts-2.0.11-docs.zip Says that this file not have a correct format... Solution? Thanks! Lisandro --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] Re: Problem with Glassfish
These errors show in console: Iniciando Sun Java System Application Server 9.1_02 (build b04-fcs)... MBeanServer iniciado: com.sun.enterprise.interceptor.DynamicInterceptor CORE5098: Se ha completado una inicialización del servicio de socket. CORE5076: Utilizando [Java HotSpot(TM) Client VM, Versión 1.6.0_10] de [Sun Microsystems Inc.] SEC1002: El administrador de seguridad está DESACTIVADO. C:/Archivos de programa/glassfish-v2ur2/domains/domain1/ config/.__com_sun_appserv_pid ADM0001:SunoneInterceptor está ahora activado SEC1143: Cargando el proveedor de políticas com.sun.enterprise.security.provider.PolicyWrapper. WEB0114: SSO desactivado en el servidor virtual [server] WEB0114: SSO desactivado en el servidor virtual [__asadmin] ADM1079: Se ha iniciado la inicialización de los MBeans AMX java.net.SocketException: Connection reset];_RequestID=7a03c29e-0e7e-4f90-8d67-d7fc2215fc1e;|No se puede iniciar el servicio com.sun.enterprise.admin.server.core.jmxconnectorlifecy...@16acad2. : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://coreiiduo:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.net.SocketException: Connection reset] CORE5071: Se produjo un error durante la inicialización com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://coreiiduo:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.net.SocketException: Connection reset] at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup (JmxConnectorLifecycle.java:153) at com.sun.enterprise.server.ApplicationServer.onStartup (ApplicationServer.java:442) at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup (OnDemandServer.java:120) at com.sun.enterprise.server.PEMain.run(PEMain.java:411) at com.sun.enterprise.server.PEMain.main(PEMain.java:338) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412) Caused by: java.io.IOException: Cannot bind to URL [rmi://coreiiduo: 8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.net.SocketException: Connection reset] at javax.management.remote.rmi.RMIConnectorServer.newIOException (RMIConnectorServer.java:804) at javax.management.remote.rmi.RMIConnectorServer.start (RMIConnectorServer.java:417) at com.sun.enterprise.admin.jmx.remote.server.rmi.JmxConnectorServerDriver.startConnectorServer (JmxConnectorServerDriver.java:218) at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup (JmxConnectorLifecycle.java:134) ... 9 more Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.net.SocketException: Connection reset] at com.sun.jndi.rmi.registry.RegistryContext.bind (RegistryContext.java:126) at com.sun.jndi.toolkit.url.GenericURLContext.bind (GenericURLContext.java:208) at javax.naming.InitialContext.bind(InitialContext.java:400) at javax.management.remote.rmi.RMIConnectorServer.bind (RMIConnectorServer.java:625) at javax.management.remote.rmi.RMIConnectorServer.start (RMIConnectorServer.java:412) ... 11 more Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.net.SocketException: Connection reset at sun.rmi.transport.tcp.TCPChannel.createConnection (TCPChannel.java:286) at sun.rmi.transport.tcp.TCPChannel.newConnection (TCPChannel.java:184) at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322) at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.bind (RegistryContext.java:120) ... 15 more Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java: 218) at java.io.BufferedInputStream.read(BufferedInputStream.java: 237) at java.io.DataInputStream.readByte(DataInputStream.java:248) at sun.rmi.transport.tcp.TCPChannel.createConnection (TCPChannel.java:228) ... 19 more Error al iniciar el servidor
[java ee programming] Login failed with GlassFish
I installing NetBeans v6.5.1, now at start glassfish v2, input my user and password and says that there are incorrects. I return to try modifying in Tools/Servers, but the error continue...Answers?? Regards Lisandro --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] App Server 9
At run GlassFish, in console show: ADM1079: Se ha iniciado la inicialización de los MBeans AMX java.net.SocketTimeoutException: Read timed out];_RequestID=24442948-8c7b-40f5-aba0-2a36a8eb8fc1;|No se puede iniciar el servicio com.sun.enterprise.admin.server.core.jmxconnectorlifecy...@1cd427a. : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://localhost:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.net.SocketTimeoutException: Read timed out] CORE5071: Se produjo un error durante la inicialización .. . MBeans AMX is a part of APP Server 9.1, but i uninstall it but this error persist... Help! Regards! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] Re: Problem with Glassfish
Thanks, close all ports but the error persist :( Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] LAB-4016
Hi all! I have a problem with download, the link provided: http://javashoplm.sun.com/ECom/docs/product_redirect_sdn.html, not be able the download the Sun Java System App Server 9 Update 1. This si the link: https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/viewproductdetail-start?productref=sjsas-9.1_01-mysql-oth-...@cds-cds_developer. After installing, when add this server, only show in the list the version 8.2 and not the 9. In addition, at input the location of this server, show that not valid. Help me.. Thanks Lisandro --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] Re: tiles-blank-struts1-1
I search a way more easy:right click in the project, to search ("resover...") and there is a way for select the '.jar' and resolve the dependences of libraries. Regards Lisandro --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] Re: LAB-4215
I found an easier way: click right in the project and there is an option(now not recollecton exactly) that we select the archive and the problem is solved. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] LAB-4215
Hi! I have a problem with run the project struts-template, at unzip "4215_strutstiles.zip". At Run this project, the error in console: init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: D:\Cursos Gratis\Curso JavaPassion\Herramientas\strutstiles\samples \tiles-blank-struts1-1\nbproject\build-impl.xml:517: Warning: Could not find file C:\handsonlabs\strutstiles\lib\commons-beanutils.jar to copy. BUILD FAILED (total time: 0 seconds) Not find a way of change for that find the beanutils.jar(in netbeans) Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] LAB-4205
Hi all! I have a doubt in this homework: If i NOT entered an username or it not have more than 3 characters: Return nopassionname??? link this homework: http://www.javapassion.com/handsonlabs/strutsbasics/#Homework_Exercise Thanks! Lisandro --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] LAB-4018:Web Applicattion Security
Hi! I have a problem this homework, I do not understand when says: "An invalid user "xyz" tries to access the application, a your own error page (HTML or JSP page) called myownerror.jsp should be displayed indicating the error condition. " Do not find way of displayed this page, because this do not find in a form action!! Thought in work with a servlet, but do not find way.Please, help me. Lisandro --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] Not Homework?
Hi! The following link: http://www.netbeans.org/kb/50/tutorial-taglibrary.html, for make homework from "JSP 1.2 Custom Tags - We are not covering this topic in this course" ¿Do not it have homework? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---