[Guy Rouillier]
> > 2) Log4j
> > The best way to do logging for a bean (at the moment)
> > private static final Category log = Category.newInstance(MyClass.class);
> >
>
> The following accomplishes the same thing, and can be cut and pasted from
> one source to the next.
>
>private static fi
Hi,
Thank you for your replying. I solved the JSP problem. By mistake, I add one more
";" at the end of import statement.
Christine wrote:
> The JSP code is as following:
>
> <%@ page import="java.io.*,
> java.util.*,
> javax.ejb.*,
> javax.naming.*,
> javax.rmi.*,
> org.jboss.test.testbean.bea
> 2) Log4j
> The best way to do logging for a bean (at the moment)
> private static final Category log = Category.newInstance(MyClass.class);
>
The following accomplishes the same thing, and can be cut and pasted from
one source to the next.
private static final Category log =
Category.getIns
> So far I have only used servlets and JDBC, and I don't mind rolling my
> own persistence if that will minimize response time and maximize
> flexibility.
rolling your own will always maximize flexibility (o: response time - that depends on
how long you spend doing it. what we're
really talkin
So far I have only used servlets and JDBC, and I don't mind rolling my
own persistence if that will minimize response time and maximize
flexibility. I'm thinking that I could get by with one server this way
by keeping all data in objects in memory if there is an efficient way to
make them availabl
couple more questions wrt 3 below. we're using jboss 2.4.1, which seems to
use jboss.properties, but i think you're saying that the latest version of
jboss no longer uses it? also, in development we have a classes directory
which contains the heierarchy of all our class files, so there is no jar
Adrian
I'm not sure what I need to do still. I added the simple log4j code you
suggested to one of my beans, and when i started jboss, without putting
log4j.jars in the startup classpath, I get...
[Verifier] java.lang.NoClassDefFoundError: org/apache/log4j/Category
[Verifier] at
com.abp.ej
mod_webapp has been nothing but trouble for me. auto-deploy in JBoss is
beautiful but I've never been able to get it to work with mod_webapp. I
suggest using ajp13 connector to jboss244-tomcat401+. You will have to
set up the connector in jboss.jcml, and there's lots of info on how to
do th
Hi people
I stay to testing the petstore1.1.2. application with sapdb in
JBoss2.4.4_Tomcat3.2.3, but when i login i have the following message , I
suppose that the problem is the JDBC of SAPDB, anybody is working with
SAPDB how DBMS in JBoss, or what another DB opensource i should use:
Regards
Here's some short answers.
1) Stop on error
JBoss is designed to host many services concurrently.
There is no mechanism to say one is critical and end the server.
JBoss3.0 introduces the ideas of dependencies.
If the database doesn't come up, neither will services that
use it, instead they wait.
The JSP code is as following:
<%@ page import="java.io.*,
java.util.*,
javax.ejb.*,
javax.naming.*,
javax.rmi.*,
org.jboss.test.testbean.bean.*,
org.jboss.test.testbean.interfaces.*;"
%>
sayHello.jsp
Place sayHello.jsp's content here
<%! private String providerurl = "iiop://localhost";
priva
Three questions:
1. Typically, we bring up the application server and eyeball the output for
obvious errors, which are one of three typically:
- Cannot bind to the required port, usually because a jboss instance
is already running
- Cannot create one or more db pools, usually beca
Could you send the jsp file to have a look?
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de Christine
Envoyé : lundi 18 février 2002 03:47
À : [EMAIL PROTECTED]
Objet : [JBoss-user] deploy stateless Session Bean
Hi,
I deployed a sample HelloWorld sta
Hi,
I'm using JBoss 2.4.3-Tomcat 4.0 and I have a web app that allows users to
upload files to the server.
I have a servlet that takes the multipart form data request from the client with
one file and a text description of it.
I'm using the O'Reilly pack to menage the parts of the request.
Th
look in the forums on jboss.org
ther have been extensive discution about
apache+WARP/mod_webapp
mod_webapp seems a bit young anyway
it seems to workbetter with latest tomcat4.0.2 replacin the 4.0.1
packaged with jboss244+tomcat4 (to replace simply copy the tomcat4.0.2
jars onto the older v
15 matches
Mail list logo