[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: My jsp always return NullPointerException

2005-12-22 Thread claudia.pt
OK!! My servlet works. The problem was in method getPlace that was returning a Place instead a List. But i still have the JSP problem: NullPointerException. It seams that servlet cannot pass the List to the JSP. In Servlet I have: protected void doGet(HttpServletRequest request,

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - My jsp always return null

2005-12-21 Thread claudia.pt
Hello!! I need urgent help. I have a stateless session bean and i'm trying use a servlet+jsp as client. The method of the bean is: public Place getPlace(){ Connection c = null; PreparedStatement ps = null; ResultSet rs = null;

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: My jsp always return null

2005-12-21 Thread claudia.pt
I think the problem is in method getPlace because is returning an objecto of type Place instead of a List object... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913837#3913837 Reply to the post :

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - ERROR Tomcat clustering

2005-12-15 Thread claudia.pt
Hi folks!! I'm new to servlets/JSP's.. i began with a sample servlet that makes a PrintWriter. I can see the message in http://localhost:8080/TestDataSourceWeb/TestServlet but i get in console the following INFO [JBossCacheManager] init(): replicationGranularity_ is 0 and

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: ERROR Tomcat clustering

2005-12-15 Thread claudia.pt
:) It works!!! Thankx PS - Do i need to configure something to work with tomcat as web container? Cláudia View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3912936#3912936 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3912936

[JBoss-user] [EJB/JBoss] - Re: ERROR EJB connecting DB throw datasource

2005-10-11 Thread claudia.pt
:( HELPP View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3900402#3900402 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3900402 --- This SF.Net email is sponsored

[JBoss-user] [EJB/JBoss] - Re: ERROR EJB connecting DB throw datasource

2005-10-11 Thread claudia.pt
OK! The datasource is working ok! I can access DB throw a JSP page. The problem is when i want access DB throw the session bean. My META-INF has jboss.xml: | ?xml version=1.0 encoding=UTF-8? | | jboss | enterprise-beans | session | ejb-nameMy2/ejb-name |

[JBoss-user] [EJB/JBoss] - ERROR EJB connecting DB throw datasource

2005-10-07 Thread claudia.pt
Hello people! I need help :( I have a sateless session bean and i want access a database. For that i already did: 1) Create a new datasource Copied jar files from JDBC (SQL Server) Driver to C:\jboss-4.0.2\server\default\lib Create mssql-ds.xml in the folder

[JBoss-user] [Installation, Configuration Deployment] - Deployment ERROR - EJB already exists!!!

2005-09-30 Thread claudia.pt
Hello! I'm allways getting this error: [MainDeployer] Could not initialise deployment: Error in accessing application metadata: ; - nested throwable: (javax.management.InstanceAlreadyExistsException: Is it true that this is a JBoss4.0.2 bug? What should I do? Is it better use other version of

[JBoss-user] [Beginners Corner] - Re: JBoss TMP Folder

2005-09-13 Thread claudia.pt
I think that's what you want: 2005-09-13 10:37:26,125 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/ZooWebProj].[jsp]] Servlet.service() for servlet jsp threw exception | java.lang.ClassCastException | at

[JBoss-user] [Beginners Corner] - Re: JBoss TMP Folder

2005-09-12 Thread claudia.pt
Lokesh, I tried what you said, but the timestamp isn't correct!! I find the following: it seems that is deploying some temp version of my project instead of my project... see the console But In the folder C:\jboss-4.0.2\server\default\deploy the ZooWebProject has the correct date/time I'm very

[JBoss-user] [Beginners Corner] - Re: JBoss TMP Folder

2005-09-12 Thread claudia.pt
Lokesh I have stopped JBoss AS, deleted all the contents of tmp e restart JBoss. When I restart the AS he creates again the same temp files. Have you followed the tutorial i'm using? I have an EJB with just one method that returns a string. The EJB is correctly deployed but i can not create

[JBoss-user] [Beginners Corner] - JBoss TMP Folder

2005-09-11 Thread claudia.pt
I find several temporary files in the folder C:\jboss-4.0.2\server\default\tmp\deploy. What are they? When i open a browser to see my jsp, i don't see the most recent file!!! http://localhost:8080/ZooWebProject/ apears testz.jsp an the last modified time/date isn't correct!!! Why?? Thanks,

[JBoss-user] [JCA/JBoss] - Re: Stuck after having configured JDBC in JBoss!!!

2005-08-18 Thread claudia.pt
Sorry :( I will try to place my doubts in the correct forums Claudia View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3890550#3890550 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3890550

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - CMP ou Session EJBs for JDBC connection??

2005-08-17 Thread claudia.pt
Hello JBoss Users!!! I'm confused... All articles/posts I said to configure JBoss with SQL server database, we must modify /server/default/conf/standardjbosscmp-jdbc.xml but this isn't only if i'm using Entity CMP beans?? I think i should use session beans to connect database... right or wrong??

[JBoss-user] [JCA/JBoss] - Stuck after having configured JDBC in JBoss!!!

2005-08-17 Thread claudia.pt
HI folks!! I'm using JBoss 4.0.2, Eclipse 3.1 and MS SQL Server2000. I wrote a simple session bean. Know I want some kind of interaction with database. To configure JBoss with MSSQL datasource I made the following: 1. Start MS SQL Server with sql authentication 'sa' Create a database named Jboss

[JBoss-user] [EJB/JBoss] - EJB + JDBC

2005-08-12 Thread claudia.pt
Hello!! I'm using a MS SQL Server Database. I will develop a J2EE application: user opens the browser and asks for a diary report. The fields in these report are filled with values stored in the DB. I thought use JSP's+ servlets for Presentation Logic and EJB's for Business Logic. I'm using

[JBoss-user] [EJB/JBoss] - JBoss+WTP or JBoss+Lomboz

2005-08-08 Thread claudia.pt
Hello people! I'm developing a multi-tier J2EE application: Back-end system - SQL Server Business logic - Enterprise Beans (Stateless Session) 2.1 Presentation logic - JSP's+Servlets Client - Web browser+applets As Application Server i'm using JBoss 4.0.2. What the best solution for the Web

[JBoss-user] [Installation, Configuration Deployment] - JBoss HTTP Ports are the same as Sun APP Server

2005-08-03 Thread claudia.pt
Hi, people! I installed JDK5.0 (J2EE 1.4 SDK and Sun Java System Application Server Platform Edition 8.1 2005Q2 UR2 June 6, 2005) and the ports are: Admin Port:4848 HTTP Port:8080 HTTPS Port:8181 Everything OK! I installed JBoss-4.0.2 and the ports are the same!!! Now i can verify if the