Hi!
Go to Soruceforge
http://lists.sourceforge.net/lists/listinfo/jboss-user
Enter the email address the list emails get sent to into the last input
box and click the "edit options" button.
On the next page you will find a "email my password to me" button. Click
on it.
You will then receive ano
Hi:
Thank you for your help.
But if there is a lot of clients accesing at the same time to the servlets,
I can use the ip address to distinguish users, the problem is if some of the
client access form the same server. How can I keep the state?
-
Hi David!
Did you already read the EJB1.1 or EJB2.0 specification from Sun ? If
not please go to http://java.sun.com/products/ejb/docs.html .
There you will learn that ejb-jar.xml is fully specified by SUN's
specification. No vendor should extend the contents of this file.
Otherwise the vendor is
It could be that your shell does not understand the "export name=value"
construct. Look into your shell docu or simply try replacing the line
with "setenv name value". Note the missing "=" !
And don't forget to report back, if it works :-)
Cheers,
Tobias
John LYC wrote:
>
> hi all,
> when i ex
The original sh file was probably written on Linux, where /bin/sh (at
least on Red Hat 7.x) is a symbolic link to bash, which can do the
Korn-like export as part of the same statement as the value setting.
You're right; exporting the variable AFTER it's been set will work for both.
David
--
On Tue, Sep 25, 2001 at 12:09:29PM +0800, John LYC wrote:
> hi all,
> when i exec the run_with_tomcat.sh.
> i get this error msg.
> -
> JBOSS_CLASSPATH=/usr/j2sdk1_3_1/lib/tools.jar: is not an identifier.
> -
>
> i think it c
Thanks GUYS...
john
- Original Message -
From: "John LYC" <[EMAIL PROTECTED]>
To: "Jboss Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 25, 2001 11:14 AM
Subject: [JBoss-user] Where do dump my archive file?
> Hi all,
> I have a newbie questions.
> if i have a ejb.jar file th
they all go in the deploy directory you can put .war files int he
webapps prior to startup and tomcat will pick them up, but once the
server's started you cant change them, well, not through the war
anyway... although I think some of this changes with tc4.
so in short - everything in deploy
hi all,
when i exec the run_with_tomcat.sh.
i get this error msg.
-
JBOSS_CLASSPATH=/usr/j2sdk1_3_1/lib/tools.jar: is not an identifier.
-
i think it comes from the 2nd line of the run_with_tomcat.sh
-
Every J2EE archive goes into the jboss deploy directory, or whatever
the AutoDeployer mbean is configured to watch.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: "John LYC" <[EMAIL PROTECTED]>
To: "Jboss
Hi all,
I have a newbie questions.
if i have a ejb.jar file that contains my ejbs.
i know i dump them into my jboss_home/deploy folder.
so if im using tomcat as well, and i have some jsp /servlet in a abc.war.
do i dump into the tomcat_home/webapps?
and wat about EAR files?
sorry, i hope this
|Let me say it again, louder: PUT A REASONABLE MAXSIZE IN YOUR POOL!
can't we increase the max value in the default jcml?
marcf
|If your app doesn't work well with a fairly small value proportional to
|the
|load on your app, there is something wrong that you need to fix.
|
|david jencks
|
|> Th
Thanks David -
I heard you loud and clear. I went back and set the MAXCONN variable to
10.
Dan
-Original Message-
From: David Jencks [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 9:55 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBoss and MySql Problems
On 2001.0
On 2001.09.24 19:02:02 -0400 Daniel Ferrante wrote:
> I assume that this means that I am creating and releasing a connection.
> However, I am not sure that's what this
> indicates. Can you verify that's what this indicates.
>
> [licensePool] Pool licensePool [46/46/Unlimited] gave out pooled ob
I assume that this means that I am creating and releasing a connection.
However, I am not sure that's what this
indicates. Can you verify that's what this indicates.
[licensePool] Pool licensePool [46/46/Unlimited] gave out pooled object:
org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@2
Well, setting maxsize to 0 means no limit. Some db/driver combinations
have a limit on the number of concurrent connections, at least from one ip
address. Try setting maxsize rather small -- say 5 or 10 -- and verify you
really are releasing connections.
david jencks
On 2001.09.24 18:00:22 -04
Hi -
Below is my setup for a connection pool with mysql. I am using CMP with
JBoss and MySQL
dbPool
org.opentools.minerva.jdbc.xa.wrapper.XADataSourc
eImpl
jdbc:mysql:url
user
true
0
pass
true
I am trying to debug why my application constantly dies (or hangs)
hi
I download contrib/catalina from jboss CVS and i compile with no problem
I put the embedded.jar file under jboss/lib/ext
I configure jboss.conf and jboss.jcml like said in readme file.
I start Jboss and there is no error. It seems to start Catalina ( see
below) but the URL http://localhost:808
Title: RE: [JBoss-user] Collection findAll()
that's illegal I think.
finder function should return either the remote interface, java.util.Collection or java.util.Enumeration types
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 3
If I remember correctly Dain mentioned something kind of like this for ejb
2 -- I think he was thinking of queries that returned only a subset of the
fields, for lazy loading (don't load that giant image if you don't need it)
but it might be adaptable to this as well. I'm not sure how far he got.
Is it legal to make the method in ejbHome :
public ResultSet findAll()
instead of:
public Collection findAll() ?
Unless someone can share code as to how to use a Collection class within a
JSP
(I can print out the Collection on the server "System.out.print") with my
intermediate java bean but can
David,
You are not required to put anything in the remote interface.
As for when JBoss 3 will be released, I have no idea. You'll have to ask
Marc.
-dain
-Original Message-
From: David Ward [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 1:29 PM
To: [EMAIL PROTECTED]
Subje
Dain,
You said that "the EJB 2.0 spec requires that a cmp field must have both
a getter and a setter." This is just in the Bean impl itself right? I
would hope that I don't have to put setters in the remote interface if I
don't want anyone to have programmatic access to it.
BTW, a (probably
On Sunday 23 September 2001 13:17, Mark Fleury wrote:
> JBoss and Sun Licensing
{...text removed for brevity...}
> JBoss long ago informed Sun that we were interested in obtaining the J2EE
> certification suite so that we could apply Sun's certification mark to the
> JBoss software. Sun quoted
David,
I'm not sure if you know, but CMP 2.0 in JBoss 3.0 supports field level
read-only. In my first implementation of CMP 2.0 I used the absence of a
getter or setter to signify that the field was read-only or write-only, but
the EJB 2.0 spec requires that a cmp field must have both a getter an
David,
Thanks for the response. I will ask our DBA if what you suggested is
possible. However, I wonder how hard it would be to have jaws be able
to specify read-only on the column (field) level, not just on the table
(bean) level.
Another thought toward EJB 2; since you specify abstract me
You can use JBoss 3.0 and the new JBossCMP 2.0 plugin. Just create an ejb
2.0 jar and set the cmp-version of your bean to 1x (may be 1.x look it up in
the spec). Then the new jbosscmp-jdbc.xml file options are available,
including field level read only columns.
This probably doesn't help you,
I think you have to use BMP unless you can fool oracle into ignoring the
read only columns-- any way to make oracle execute a sp when you do an
insert rather than the insert itself?
I've thought about maybe allowing you to specify that you want to use sp's
for db access instead of generated sql,
(Originally posted to forums but with no response:)
I have a CMP 1.1 Entity with some fields who have both set and get
methods, and some with just gets (both in the remote interface and bean
class). However, on create, jboss still includes those fields when it
does an insert. How do I make JBo
Title: RE: [JBoss-user] Accessing JavaMail session
I've already fixed the problem.
JBoss bind the mailer to java:/Mail.
To redirect it to java:comp/env/mail/Mail, I add the following entries to ejb-jar.xml
tspace/Mailer
...
"Lennart Petersson" <[EMAIL PROTECTED]> writes:
> Yes there is a MBean for it,
> org.jboss.security.plugins.JaasSecurityManagerService. And there is
> a flush method you can reach on
> http://localhost:8082/ViewObjectRes//Security%3Aname%3DJaasSecurityManager
> page. /Lennart
so the thing to do
Herve Tchepannou <[EMAIL PROTECTED]> writes:
> In JBoss documentation, its recommended to defined in the
> ejb-jar.xml a resource named mail/Mail of type
> javax.mail.Session. and in the code, request it via the JNDI name
> java:Mail, which works fined.
>
> But when I try to request the JavaMail
We use an entity bean and persist to the db..
d.
-Original Message-
From: Miguel Angel Medina Lopez [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 9:09 AM
To: JBoss User List
Subject: [JBoss-user] Keep Client state
Hi all:
I want to keep the state of a cliente in differen
Herve Tchepannou wrote:
> In JBoss documentation, its recommended to defined in the ejb-jar.xml a
> resource named mail/Mail of type javax.mail.Session. and in the code,
> request it via the JNDI name java:Mail, which works fined.
>
> But when I try to request the JavaMail session with the JND
Hi all:
I want to keep the state of a cliente in differents contexts in the same
server. If I use Java sessions doesn't work because the sessions don't keep
the state in different domains.
Can anybody tell me some technique to to this?
Thank you
-
Yes there is a MBean for it, org.jboss.security.plugins.JaasSecurityManagerService.
And there is a flush method you can reach on
http://localhost:8082/ViewObjectRes//Security%3Aname%3DJaasSecurityManager page.
/Lennart
- Original Message -
From: Nicolai P Guba <[EMAIL PROTECTED]>
To: <
Ok this works,
Next question: How can I access the Entity Bean through its Local
interfaces? It doesn't seem to work using the normal way (looking it up
and narrowing it). Should it work that way, or is there another way to
treat the Local interfaces?
Jeroen
--
On Mon, 2001-09-24 at 13:16, Lennart Petersson wrote:
> Hi Nicolai!
> I'm remembering your question from London. I've tested this and although JBoss
>security is caching a users authentication it is not possible for another user to log
>on and use the cached state unless he is using same user/pa
Sure, we could write some stuff to make sure an existing table is
compatible with the mapping you proposed in your config files...but I'm not
sure I see the point. For your db, it won't work anyway: already the
getTables method is broken, or you could leave create tables true. You
would be relyi
Hi Nicolai!
I'm remembering your question from London. I've tested this and although JBoss
security is caching a users authentication it is not possible for another user to log
on and use the cached state unless he is using same user/password. Because there is
always a check forthe correctnes o
On Mon, 2001-09-24 at 11:09, Gerry Duhig wrote:
> Hi,
>
> We have a couple of servlet based applications deployed by the embedded Tomcat under
>JBoss.
>
> These are secured by the JBoss security system using
>org.jboss.security.auth.spi.DatabaseServerLoginModule. We use form based
>authentica
Hi,
We have a couple of servlet based applications
deployed by the embedded Tomcat under JBoss.
These are secured by the JBoss security system
using org.jboss.security.auth.spi.DatabaseServerLoginModule. We use form
based authentication to force users to "log in".
Users are correctly au
hi ,
yes it is in unix form..
im runnning in on a linux box..
John
- Original Message -
From: "Pasturel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 21, 2001 10:34 PM
Subject: Re: [JBoss-user] error runing tomcat
> John LYC wrote:
>
> > hi all,
> > i get this e
Ok, to make it complete:
I do it like you suggested. Here is the code:
public static MyBean loadOrCreateMyBean (MyBeanHome h, String key)
{
MyBean ret = null;
try {
try {
ret = h.findByPrimaryKey (key);
}
catch (ObjectNotFoundException ex)
Sorry, you are totally right, my mistake..
I'm still working with 1.1 and have had not time
to educate myself on 2.0
Joost.
-Original Message-
From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 21, 2001 5:18 PM
To: JBoss 2
Subject: Re: [JBoss-user] Problem with depl
Dain Sundstrom <[EMAIL PROTECTED]> said:
>
> > According to this article
> >
> http://developer.java.sun.com/developer/technicalArticles/ebeans/ejbmigrate/
> ?frontpage-jdc
> > an EJB 2.0 CMP bean implementation class must be abstract, will it
> > work in JBoss?
>
> Yes.
>
> > As I understand
46 matches
Mail list logo