[jboss-user] [EJB 3.0 Users] - Re: Simple hibernate web app

2009-11-03 Thread pepelara
Hi Wolfgang, You are absolutely right. That is what I did and the web app works ok. Thanks a lot for your help. Besta Regards, Jose View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263854#4263854 Reply to the post :

[jboss-user] [EJB 3.0 Users] - Re: Simple hibernate web app

2009-10-31 Thread pepelara
Hello Wolfgang, It is a wrong design of the project. I import a folder where there are some hibernate jars and the hibernate.cfg.xml file. The hibernatedaoaccess.jar file already imports that folder. But it does not exist in the jar. I mean the folder exists in the configuration of every

[jboss-user] [EJB 3.0 Users] - Re: Simple hibernate web app

2009-10-31 Thread pepelara
Hi Wolfgang, I think you can help me. If a place the hibernate.cfg.xml file in a conf folder, how I have to do to JBoss reads the file? hibernate.cfg.xml is just a file where I set the database and the schema I am using. The server have to know about it do the Hibernate app works correctly

[jboss-user] [EJB 3.0 Users] - Simple hibernate web app

2009-10-28 Thread pepelara
Hello, I am a newbe in Hibernate but I am learning quickly. But I have reached a point that is taking me a lot of time. I have developed a pretty simple web. It is just two JSP, index.jsp that redirects to user.jsp where I have all the code. This is user.jsp, | %...@page

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Cannot set MySQL as DefaultDS over a Named Pipe on Win X

2009-03-11 Thread pepelara
Thanks a lot, Peter I will do what you say. Thanks again, Jose Alvarez de Lara View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4217138#4217138 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4217138

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Cannot set MySQL as DefaultDS over a Named Pipe on Win X

2009-03-10 Thread pepelara
Hi Peter, The reason I am using a named pipe is because I could not set it up over TCP/IP. In fact, this configuration is recommended for Win XP. Maybe I am wrong and if you know the way to do it over TCP/IP, I will follow your indications Regards, Jose Alvarez de Lara View the original post

[jboss-user] [Installation, Configuration DEPLOYMENT] - Cannot set MySQL as DefaultDS over a Named Pipe on Win XP

2009-03-08 Thread pepelara
Hi, These are my configurations, MySQL - my.ini | # MySQL Server Instance Configuration File | # -- | # Generated by the MySQL Server Instance Configuration Wizard | # | # | # Installation Instructions | #

[jboss-user] [Installation, Configuration DEPLOYMENT] - Set up MySQL as DefaultDS

2009-03-07 Thread pepelara
Hi, I have installed MySQL 5.0 over a named pipe and I do not know the way to set it up as default datasource. Will you help? Thanks in advance, Jose Alvarez de Lara View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215927#4215927 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Set up MySQL as DefaultDS

2009-03-07 Thread pepelara
Hi, I have found the solution in this URL, http://www.jboss.org/community/docs/DOC-12244 Regards, Jose Alvarez de Lara View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215958#4215958 Reply to the post :

[jboss-user] [Beginners Corner] - Re: jboss-dukes-bank app

2009-02-13 Thread pepelara
Hi, If you want to see the banner in the Dukes web app you have got to code the banner.jsp as follows, | center | img src=/bank/template/banner.gif alt=Duke's Bank | /center | and change the web.xml as follows, | jsp-config | jsp-property-group |

[jboss-user] [EJB 3.0] - Re: javax.naming.NameNotFoundException: mdbtest not bound

2009-02-10 Thread pepelara
Hi, Two things: #1.- What a great job your Red Hat web portal!!! #2.- My app works ok Congratulations, Jose Alvarez de Lara View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4208685#4208685 Reply to the post :

[jboss-user] [EJB 3.0] - Re: javax.naming.NameNotFoundException: mdbtest not bound

2009-02-09 Thread pepelara
Hi, Thanks a lot jaikiran and Wolfgang. I am going to try it and tell you. Thanks again, Jose Alvarez de Lara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4208216#4208216 Reply to the post :

[jboss-user] [EJB 3.0] - javax.naming.NameNotFoundException: mdbtest not bound

2009-02-08 Thread pepelara
Hello, I am developing an EJB3 MDB in Eclipse Ganymede RS1 against JBoss 4.2.2 GA. At deployment time I get the following exception, | 13:18:28,493 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.2.2.GA/server/default/deploy/ProducerConsumerClientEAR.ear | 13:18:28,805 INFO

[jboss-user] [EJB 3.0] - Re: InitialContext reference and definition

2009-01-27 Thread pepelara
)); | } | } | The output gives me the Exception, | Couldn’t create calculator bean. CalculatorBean not bound | Regards, pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4204995#4204995 Reply to the post : http://www.jboss.com/index.html?module=bbop

[jboss-user] [EJB 3.0] - Re: InitialContext reference and definition

2009-01-27 Thread pepelara
CalculatorClient(); | cClient.doOperations(); | } | } | The exception occurs when I call the doOperations() method. Thanks, pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4205014#4205014 Reply to the post : http://www.jboss.com

[jboss-user] [EJB 3.0] - Re: InitialContext reference and definition

2009-01-27 Thread pepelara
Hi, Take a look at this post, http://www.jboss.com/index.html?module=bbop=viewtopicp=4105969#4105969 I think he has got the solution. But I have no idea about what he is saying. Load balancing and cluster Help! Regards, pepelara View the original post : http://www.jboss.com/index.html

[jboss-user] [Installation, Configuration DEPLOYMENT] - Load balancing and clustering in JBoss 4.2.2 GA

2009-01-27 Thread pepelara
(); | } | } | Running the application I can instantiate the local interface, but when I call it in the doOperations() method, it gives me the catch exception. So I guess it is a configuration question. Regards, pepelara View the original post : http://www.jboss.com/index.html?module

[jboss-user] [Installation, Configuration DEPLOYMENT] - Setup JBoss 4.2.2 GA on NetBeans 6.5

2009-01-24 Thread pepelara
Hi, I need to configure my JBoss on NetBeans 6.5 to work on debug mode. Is it posible? Needed for EJB 3.0 Regards, Jose Alvarez de Lara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4204508#4204508 Reply to the post :

[jboss-user] [JBoss and NetBeans] - Configure JBoss 4.2.2 GA on NetBeans 6.5

2009-01-24 Thread pepelara
Hi, I need to configure my JBoss 4.2.2 GA on NetBeans 6.5 to work on debug mode. Is it posible? Needed for EJB 3.0 Regards, Jose Alvarez de Lara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4204540#4204540 Reply to the post :

[jboss-user] [Beginners Corner] - Re: jboss-dukes-bank app

2009-01-20 Thread pepelara
Hi, You will have to download the J2EE 1.4 Tutorial Update 2 (for Sun Java System Application Server Platform Edition 8 Update 1) June 22, 2004. The link is http://java.sun.com/j2ee/1.4/previous_downloads.html. You will find it at the bottom of the page. You can find a tutorial about the

[jboss-user] [Beginners Corner] - Re: jboss-dukes-bank app

2009-01-20 Thread pepelara
Excuse me. I forgot to say two things Th main.jsp looks like this, | %@ include file=/template/prelude.jspf % | | % request.getSession().invalidate(); % | center | h3fmt:message key=Welcome//h3 | /center | You need to invalidate the session on start And the refering

[jboss-user] [Beginners Corner] - Re: jboss-dukes-bank app

2009-01-17 Thread pepelara
Hi, I have got it!!! As the thread has a lot of visits, can I post the solution about the web client? Best regards, Jose Alvarez de Lara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4202605#4202605 Reply to the post :

[jboss-user] [Beginners Corner] - Re: jboss-dukes-bank app

2009-01-13 Thread pepelara
Going on with the Duke’s Bank, I have made some changes in then code. I am trying it because learning. But now appears an exception that is, Unable find setter method for paramName attribute Then code is as follow, | public class Definition { | private HashMap params = new

[jboss-user] [Beginners Corner] - Re: jboss-dukes-bank app

2008-12-28 Thread pepelara
Hi, I have solved my problems with the JNDI and the desktop client works ok. But I have no idea of how the web client works. I have been googling and I have discovered a new class ContextListener that I do not know what is its function in the web app. Please, help. Jose Alvarez de Lara View

[jboss-user] [Beginners Corner] - Re: jboss-dukes-bank app

2008-12-28 Thread pepelara
Hi, I was studying my web app and I have got the problem. It is in the class DefinitionTag that extends SimpleTagSupport. In the method, | public void doTag() { | try { | getJspBody() | .invoke(null); | | Definition definition = new

[jboss-user] [Beginners Corner] - Re: jboss-dukes-bank app

2008-12-16 Thread pepelara
Hi, I was googling and I have solved the problem about the InitialContex: I was needing to add some jar into the prject. Now I have some problems when callin some local-home interfaces from the ejbCreate mthod of a Session Bean. My code is as followes: | package com.sun.ebank.util; | |

[jboss-user] [Beginners Corner] - Re: jboss-dukes-bank app

2008-12-06 Thread pepelara
Thank you. This application is a little bit complicated. Thanks again, pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4194864#4194864 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4194864

[jboss-user] [Beginners Corner] - Re: jboss-dukes-bank app

2008-12-05 Thread pepelara
Hi all, I am getting it, but I need to know where can I see the JNDI names of my EJBs on JBoss 4.2.2 Ga. Any help? Thanks a lot, pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4194761#4194761 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [Beginners Corner] - jboss-dukes-bank app

2008-11-29 Thread pepelara
Hi, I am trying to compile jboss-dukes-bank and deploy on JBoss-4.2.2.GA using NetBeans IDE, but I can not. The problem is that even having define jboss.j2ee property correctly including all jars, there are some packages that the system does not find. And I am thinking it is a problem of J2EE

[jboss-user] [Beginners Corner] - Re: Error in my error.jsp

2008-11-09 Thread pepelara
); | exception.printStackTrace(pw); | out.print(sw); | sw.close(); | pw.close(); | % | /textarea |/td | /tr | Thank you, pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp

[jboss-user] [Beginners Corner] - Error in my error.jsp

2008-11-08 Thread pepelara
| %=exception.printStackTrace()% | /textarea |/td | /tr | Any idea about what does it mean? Thanking in advance, pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187894#4187894 Reply to the post : http://www.jboss.com

[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.NameNotFoundException: ejb not bound

2008-10-07 Thread pepelara
Thanks a lot, jaikiran. Now I think I am closer to the solution. My code does not run ok and I have to study it a little bit more. If I do not get to solved I will post again. Thanks again, pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4180863

[jboss-user] [JNDI/Naming/Network] - javax.naming.NameNotFoundException: ejb not bound

2008-10-05 Thread pepelara
) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166) | And I do not know the way to solved. Please, help! Thanking in advance, pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp

[jboss-user] [Beginners Corner] - Re: JBoss 4.2.2 GA and MBeans

2008-09-14 Thread pepelara
or configure MBeans for my JBoss Meanwhile I am going to have a look to the pages you have given me Thank you Pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4176365#4176365 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp

[jboss-user] [Beginners Corner] - Re: JBoss 4.2.2 GA and MBeans

2008-09-14 Thread pepelara
Hi jaikiran, All it was a mistake of mine. As you have watched I got wrong when I put my RossterApp.ear inside de jms folder. It happened doing a copy-paste from my developing folder to my JBoss deploy folder Now everything is ok. Thanks a lot. Thank you, pepelara View the original post

[jboss-user] [Beginners Corner] - JBoss 4.2.2 GA and MBeans

2008-09-13 Thread pepelara
Hi, Where can I find up a good information about MBeans configuration on my Jboss app server? Thanking in advance, pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4176318#4176318 Reply to the post : http://www.jboss.com/index.html?module=bbop

[jboss-user] [Beginners Corner] - Re: Load index.jsp as welcome file

2008-09-07 Thread pepelara
Thanking in advance, pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174827#4174827 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174827 ___ jboss-user mailing list jboss-user

[jboss-user] [Beginners Corner] - Re: absolute beginner help... plzzz

2008-09-07 Thread pepelara
Hi, Try to create a war file and copy it to your jboss-home\server\default\deploy About web application I will give you an URL in another post (now I do not remenber) See you, Pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174844#4174844 Reply

[jboss-user] [Beginners Corner] - Re: absolute beginner help... plzzz

2008-09-07 Thread pepelara
Hi, Here you have got the URL about servlets, http://www.ii.uib.no/~khalid/atij/index.html Read in special core-servlet and more-servlet. I hope it will help you, pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174845#4174845 Reply to the post

[jboss-user] [Beginners Corner] - Load index.jsp as welcome file

2008-09-04 Thread pepelara
. It is just a question of debugging. My problem is when I write the URL on the browser, I mean, http://localhost:8080/entrada/index.jsp the browser shows me the response of the servlet. The application passes over the index.jsp going to the servlet response. Any idea? Thank you in advance, pepelara

[jboss-user] [Beginners Corner] - Re: Load index.jsp as welcome file

2008-09-04 Thread pepelara
This is my web.xml file, ?xml version=1.0 encoding=ISO-8859-1? | !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; | web-app | servlet | servlet-nameServletEntrada/servlet-name |

[jboss-user] [Beginners Corner] - Re: Load index.jsp as welcome file

2008-09-04 Thread pepelara
Thank you Francis, You have had a good idea. Now my application works ok. Thank you again, pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174379#4174379 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174379

[jboss-user] [Beginners Corner] - Re: Session Bean, Entity Bean, an HTML page as input and a S

2008-08-25 Thread pepelara
Thanks a lot. I have got the page about servlets. This page include much more information that I need but, in fact, I think all the information will come very well. Thanks again, pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4172458#4172458 Reply

[jboss-user] [Beginners Corner] - Session Bean, Entity Bean, an HTML page as input and a Servl

2008-08-23 Thread pepelara
no idea how I must to build the web.xml file. I will appreciate any help. Thanking in advance, pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4172130#4172130 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4172130

[jboss-user] [Beginners Corner] - SAX on JBoss 4.2.2 GA

2008-08-09 Thread pepelara
XMLReaderFactory.createXMLReader('weblogic.apache.xerces.parsers.SAXParser') What I need is the class that is between then apostrophes. I will apreciate any help. Thanking in advance, pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4169737#4169737 Reply

[jboss-user] [Beginners Corner] - Re: ClassNotFoundException in an ear application

2008-08-08 Thread pepelara
Hi, I am a beginner like you but I guess your problem is that you have not included an application.xml file inside the ear where you have to declare your servlet. Is that the problem? pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4169610#4169610

[jboss-user] [Beginners Corner] - Re: MDB on JBoss4.2.2.GA

2008-08-08 Thread pepelara
Hi Peter, Thanks a lot. pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4169631#4169631 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4169631 ___ jboss-user mailing list

[jboss-user] [Beginners Corner] - Re: MDB on JBoss4.2.2.GA

2008-08-07 Thread pepelara
be better to execute the application from then command line I am running JBoss on Windows Vista. I will apreciate any help. Thanking in advance, pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4169205#4169205 Reply to the post : http://www.jboss.com

[jboss-user] [Beginners Corner] - MDB on JBoss4.2.2.GA

2008-08-06 Thread pepelara
Hi I am developing an example of PtP MDB and I have no problem. But now I would like to develop a Publish/Subscribe MDB. Can anyone post me a simple example including deployment descriptors. Or even an URL where I can find examples. Thanking in advance, Jose Alvarez de Lara View the

[jboss-user] [Beginners Corner] - Looking for j2sdkee1.4

2008-05-30 Thread pepelara
Hello, I am developing J2EE app on JBoss 4.2.2.GA and my problem, for example with Duke's Bank (JSP case), is that I am using j2sdkee1.3.1 and I guess I need j2sdkee1.4. From Sun you must to download a pack that include a server application that I do not want because I do not need. Is there

[jboss-user] [JNDI/Naming/Network] - Re: Dtabase connection Error(Mysql)

2008-05-24 Thread pepelara
I have set up MySQL as default DataSource (DefaultDS). You can try it. I think this is not the question because I guess you are on a BMP Ejb. Anyway, what version are you using? I am using 4.2.2 GA and I have no any jboss-ds.xml. Can you tell me if it is a BMP and the version of your JBoss. By

[jboss-user] [Beginners Corner] - Re: Error setting up MySql as DefaultDS

2008-05-21 Thread pepelara
Hi Peter, I have downloaded 4.2.2 GA and it works. Now I have to update Tomcat with the OpenSSL, but I am not sure if needed because I have an Info message on the console, 07:01:38,614 INFO [Embedded] Catalina naming disabled 07:01:39,024 INFO [AprLifecycleListener] The Apache Tomcat Native

[jboss-user] [Beginners Corner] - Re: Error setting up MySql as DefaultDS

2008-05-21 Thread pepelara
Hi jaikiran, The link relates on Linux. I am working on Windows Vista. I have been visiting some pages, I mean Apache Tomcat Native Library and The Apache Portable Runtime Project and I have not found anything about a solution for my case. Further, I do not think it is absolutely necessary for

[jboss-user] [Beginners Corner] - Re: Error setting up MySql as DefaultDS

2008-05-19 Thread pepelara
Thanks Peter for your interesting, indeed. Yes, it is 4.0.0. I looked for it because I am using EJB 2.0 and I was not sure what version use. This is my *-ds.xml, anonymous wrote : | | local-tx-datasource | | jndi-nameDefaultDS/jndi-name |

[jboss-user] [Beginners Corner] - Re: Error setting up MySql as DefaultDS

2008-05-19 Thread pepelara
Thanks a lot. I will download the 4.0.5 version. Is it just 4.0.5 or anything more? I mean some thing like ServicePack X, you know. Please, give me the exactly version. Or even I could try with 4.2.2. I have to think of it. Regarding, Jose Alvarez de Lara View the original post :

[jboss-user] [Beginners Corner] - Re: Communicating between MYSQL and JBOSS

2008-05-18 Thread pepelara
Try with this URL, http://wiki.jboss.org/wiki/MySQL. I am getting it, but I have a problem about the using of a sentence of MySql in any file and I do not know what file is. Anyway I hope you get it View the original post :

[jboss-user] [Beginners Corner] - Error setting up MySql as DefaultDS

2008-05-18 Thread pepelara
that corresponds to your MySQL server version for the right syntax to use near 'INTERVAL bigint, INSTANCEPK other, INFO other, ' at line 5 If anyone can help me I will appreciate. Regarding, Jose Alvarez de Lara (pepelara) View the original post : http://www.jboss.com

[jboss-user] [Beginners Corner] - Re: Call a console client inside an ear file

2008-05-17 Thread pepelara
Well, I had the idea that you have to put all the jar files, included the jar client file inside the ear. Now, I can use the client in debugging mode from Eclipse and it works. This was with a BMP. Now I am trying with CMP and it does not work. First I try with Roster CMP example against MySQL

[jboss-user] [Beginners Corner] - Call a console client inside an ear file

2008-05-15 Thread pepelara
I have an ear file with two jar files deployed on JBoss 4.0.0. One jar file for the ejb and the other one for the client that is a console client with a main method. I don't know how to call the client. Any idea? View the original post :

[jboss-user] [Beginners Corner] - Re: Call a jsp inside an ear file deployed on JBoss 4.0.0

2008-05-11 Thread pepelara
I have try but it does not work. On your response, I thought the problem is that I use the same name for all the files, that is adder.jar, adder.war and adder.ear. I have proved to give them different names, that is adder-ejb.jar, adder-web.war and adder-app.ear to the files and try again and

[jboss-user] [Beginners Corner] - Re: Call a jsp inside an ear file deployed on JBoss 4.0.0

2008-05-11 Thread pepelara
application.xml.- ?xml version=1.0 encoding=UTF-8? !DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd' display-nameMyAdder/display-name This is the implementaion of the Adder application

[jboss-user] [Beginners Corner] - Re: Call a jsp inside an ear file deployed on JBoss 4.0.0

2008-05-11 Thread pepelara
I think it works. The browser IE show the page in blank and in the console i have got a message of programming error. I am going to resolve it. I will have you informatted. Thank you pepelara View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149988#4149988

[jboss-user] [Beginners Corner] - Call a jsp inside an ear file deployed on JBoss 4.0.0

2008-05-10 Thread pepelara
Hi, I have an ear file deployed on JBoss and it is done. It has a war and a jar files. The application is just a Stateless Session Bean that adds two integers and returns the result. This is my jar file. In the other side, the war file that is a simple jsp that shows the result. The