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,
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;
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 :
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
:)
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
:(
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
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
|
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
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
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
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
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
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,
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
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??
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
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
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
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
19 matches
Mail list logo