Hello G.L.,
do you close the connection in the method? Could you detail what is done
is the method?
Wednesday, June 26, 2002, 11:11:02 PM, you wrote:
GLG I have a method A that creates a JMS producer to send a message to a
GLG consumer. After it completely returns from that method and before
Yeah, I'm closing it. Here's the actual producer code that I'm using. No
exceptions from this method are thrown. Instead, they're thrown after this
method returns and before my next line of code. It's pretty straight
forwards as I use this code elsewhere also. The queue exists before this
method
I saw at JBoss download page, to
use JRockit, but this is useful only
in single processor computers.
Why?!?
---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
Use Jrockit JVM, it is free (you have to request a free license though).
This is a JVM bug.
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de Claudio
Miranda
Envoyé : jeudi, 27 juin 2002 00:42
À : [EMAIL PROTECTED]
Objet : [JBoss-user] stabel VM
Hello G.L.,
So, if the message sent haven't been delivered or processing of the
message haven't been started it's, probably, a correct behaviour.
Reffer to api-docs for Connection.close():
...Closing a connection causes all temporary destinations to be deleted.
When this method is invoked, it
Hello,
Except :
oracle-service.xml
ejb-jar.xml
jboss.xml
which files do I need to create or modify to connect and perform requests on
my Oracle 8.1.6 database ?
Thanks,
Hélène
---
Sponsored by:
ThinkGeek at
Hi,
if you're using the CMP behaviour, you need to add and configure the
jbosscmp-jdbc.xml
bonne journée
ionel
ORTIZ,HELENE (Non-HP-France,ex1) wrote:
Hello,
Except :
oracle-service.xml
ejb-jar.xml
jboss.xml
which files do I need to create or modify to connect and perform
I tried this:
category name=org.jboss.ejb.plugins.cmp
priority value=DEBUG/
/category
but I don't get any SQL requests displayed :( I use
JBoss 3.0. Do you know why?
tia,
Wonder Sonic
--- Dain Sundstrom [EMAIL PROTECTED] a écrit :
Set the org.jboss.ejb.plugins.cmp category in the
Hi,
I've got a strange FinderException:
I've got this CMP entity bean:
...
/**
* Represents an Atlas server administrator.
*
*
* @version 1.0
*
* @ejb:bean name=myrpg-atlas/AdministratorEntity
* display-name=Administrator of an Atlas
server.
* type=CMP
*
Bruce,
Thanks for trying it out and for documenting the steps in that detail. May I
refer to your excellent
page in our official jboss-net.jsp?
Thankx,
CGJ
-Ursprüngliche Nachricht-
Von: Bruce Scharlau [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 26. Juni 2002 17:39
An: [EMAIL
Title: What happen with www.jboss.org???
I can't see the web so not forums so
... i'm boring today!!! ;-)
At 11:45 AM 6/27/2002 +0200, you wrote:
Bruce,
Thanks for trying it out and for documenting the steps in that detail. May I
refer to your excellent
page in our official jboss-net.jsp?
Christoph,
Yes of course. I'll add more when I get a chance about getting the examples
working.
Bruce
On Wed, Jun 26, 2002 at 10:10:30AM -0700, marc fleury wrote:
2 announcements on training:
Marc, it's a small thing, but some of us have to pay for our own
training. I was wondering if there is any chance of you indicating how
much the training will be when you announce it to the list?
Regards,
I am using JBoss3.0.0 on Windows2000. I do not want local reference of an
object to be passed when I am calling business methods of the remote
interfaces of the EJBs on the same JVM. I set the value of all the
Optimized tags to False in all container-invoker-conf blocks in
the standardjboss.xml
--Op 26-06-2002 16:10 -0400 schreef Mike Monette:
I'm reading through the Jboss 3.0 Quick Start Guide, and I've downloaded
the template application. Page 16 refers to a src/servlet directory,
but the template application has no such directory. Am I missing
something, or is this a known
Well, I tested JRockit in 2 separated SMP machines, returned the same error
- JRockit java version 1.3 Java(TM) 2 Runtime Environment, Standard Edition
(build 1.3.1_dax.appeal.se-20020429-1504)
JRockit Virtual Machine (build 3.1.4-dax.appeal.se-20020429-1504)
returns the
Hello Enrique,
It seems that bugs lives there.
www.jboss.org working fine until you try to search in forums.
(I`ve search one word in AllForums)
I dont know how to open jboss site again!
Sombody! Try to search in forums and reply if the www.jboss.org
available after that!
--
Anton
We had a similar problem that we solved just this morning. Our problem
was the naming of the db service. The 'Jndi-Name' was set to the same
name as all other 'name's in the service file and that screwed things up
for some reason, even though the logs and the MBean Viewer stated that
it deployed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thu, Jun 27, 2002 at 11:19:07AM +0530, Tejeshwar wrote:
Hi
hi.
I had configured MS SQLServer 2000 as the SQlServerpool in jboss.jcml
file. I am using jboss-2.4.4 and the driver is microsoft sql server
driver. How can sepecify a specific
On Wed, 26 Jun 2002, Pavel Kolesnikov wrote:
Now the first web app works still correctly but the second
one doesn't deploy. It hangs when it creates remote interface
for my session bean, I can't even undeploy it or stop JBoss
correctly (I had to kill -9 it after cca 10 minutes).
Update:
were can I get the Jboss 3.0 Quick Start Guide? Thank you.
JohnH
- Original Message -
From: Patrick Hubers [EMAIL PROTECTED]
Date: Thu, 27 Jun 2002 09:50:51 +0200
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Template Application: no /servlet directory
--Op 26-06-2002 16:10
http://sourceforge.net/project/showfiles.php?group_id=22866
--
John Hogan wrote:
were can I get the Jboss 3.0 Quick Start Guide? Thank you.
JohnH
- Original Message -
From: Patrick Hubers [EMAIL PROTECTED]
Date: Thu, 27 Jun 2002 09:50:51 +0200
To: [EMAIL PROTECTED]
Subject:
You need to set dependency to make the scheduler to depend on the EJB.
-Original Message-
From: Natalie Wang [mailto:[EMAIL PROTECTED]]
Sent: 27 June 2002 00:01
To: [EMAIL PROTECTED]
Subject: [JBoss-user] scheduler and javamail in Jboss 3.0
Hi,
I am using scheduler to call ejb, which
on sourceforge.net :
http://prdownloads.sourceforge.net/jboss/JBoss.3.0QuickStart.pdf?download
- Original Message -
From: John Hogan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 27, 2002 9:01 AM
Subject: Re: [JBoss-user] Template Application: no /servlet directory
I have a java app calling an ejb on my app server(JBoss-2.4.4). It was
working fine. Then suddenly after a couple minor code changes that should
have no effect, I am getting the following error.
Exception in thread main java.lang.NoClassDefFoundError:
javax/ejb/EJBHome
at
At 09:01 PM 6/27/2002 +0800, you wrote:
were can I get the Jboss 3.0 Quick Start Guide? Thank you.
Get it from
http://prdownloads.sourceforge.net/jboss/JBoss.3.0QuickStart.pdf?download
Bruce
JohnH
- Original Message -
From: Patrick Hubers [EMAIL PROTECTED]
Date: Thu, 27 Jun 2002
--Op 27-06-2002 21:01 +0800 schreef John Hogan:
were can I get the Jboss 3.0 Quick Start Guide? Thank you.
It's on the SourceForge download page.
_
Patrick Hubers
[EMAIL PROTECTED]
Solve IT
Postbus 5063
3502 JB Utrecht
Hi
I had configured MS Sql Server 2000 for my
Jboss-2.4.4 , while creating tables through CMP Bean it is creating in default
database i,e master.I have to specify other database name in jboss.jcml, how can
i specify. I am using type 4 driver of microsoft Jdbc Driver.
Pls let me know how
Hello
I just instaled JBOSS 3.0 on RedHat 7.2 with
j2sdk1.4.1_01
This is my first contact with j2ee, so...
The start of JBOSS gives several warns one of them
looks bad to me:
02:04:27,770 WARN [Jetty] JSP compilation requires
$JAVA_HOME/lib/tools.jar on
your JBOSS_CLASSPATH
Can you help
Hi,
I'm trying to authenticate my users against the
DatabaseServerLoginModule.
I have created the two needed tables (Principals and Roles) but the
login module
doesn't seems to retrieve the Role entry.
I'm getting the following error on the server :
snip
ERROR [SecurityInterceptor]
Hi,
furthermore you really should map then your DBPool to a resource in
jboss.xml:
resource-managers
resource-manager res-class=org.jboss.ejb.deployment.JDBCResource
res-namejdbc/whateverresourcename/res-name
res-jndi-namejava:/usersDB/res-jndi-name
Title: Message
If
you're on windows, set your temp env variable to something without spaces in the
filename, worked for me!
rick
-Original Message-From: Graham French
[mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002
10:59 AMTo: '[EMAIL PROTECTED]'Subject:
Hi,
as far as I understand the mail, he uses M$ SQL Server 2000, mySQL came in
for verifying issues, but for the M$ SQL: NEVER EVER touch the sun JDBC-ODBC
bridge if you can avoid it:
http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?ur
Its a bug in the 3.0 release.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: Qingxian Wang [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 27, 2002 4:03 AM
Subject: [JBoss-user] Cannot turn
If you are using Red Hat 7.2 (not sure on the exact version number), it
has bad kernel and won't run Java on an SMP machine with any VM. I
didn't have this problem my self, but I have seen people discussing it.
Search Google and you should find the answer.
-dain
Claudio Miranda wrote:
Simon,
All of the information can be found here:
http://www.jboss.org/services/training.jsp
-dain
Simon Stewart wrote:
On Wed, Jun 26, 2002 at 10:10:30AM -0700, marc fleury wrote:
2 announcements on training:
Marc, it's a small thing, but some of us have to pay for our own
training.
What do you mean by displayed? Do you mean console?
To have the sql messages appear on the console you need to reduce the
logging threshold on the console appended to DEBUG. You will also want
to increase the priority of the org.jboss category to INFO, or you will
get a ton of messages.
My company is evaluating whether to use JBoss
or not. I was able to get Sun's example program
SmarTicket 1.1.1 to start on JBoss, but there are
error messages when the client tries to connect.
I have changed the cloudscape port to 1433 and
changed the JNDI calls. I also added jboss.xml
and
On closer inspection this is because your definition is invalid. The
module-option tags are child elements of the login-module element.
You have an empty login-module/.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message
I may have to recommend another server if I can't get SmarTicket to work soon.
That's a pretty shallow comment. More a reflection of your lack of understanding
or inexperience with JBoss. But if you feel that, just because you can't get it working,
you need to spend thousands of dollars on
Title: RE: [JBoss-user] scheduler and javamail in Jboss 3.0
Thanks, David. Very interesting. So is the page that
says MBean View what you refer to as the detail page?
That page has something called MBean Name that looks like
jboss.j2ee:service=EJB,jndiName=Foo
Is that the object name I
I'd guess for starters that you don't have the datasource set up properly.
Have you read the quickstart manual available from the Sourceforge download
page?
We don't have a cloudscape example config yet, but they are usually pretty
easy to set up by modifying an existing example. If this
How do you get the ClassCircularityError? Are you using multiple CPUs?
Windows? I have never seen it, just many other problems running jboss on
1.4.
On Thu, 2002-06-27 at 01:46, Claudio Miranda wrote:
Dears, I have tested de Blackdown
FCS 1.3.1 and the result is the same
as Sun JDk 1.4,
I have an entity bean with
acompound primary key, where one of the fields is a cmr field. The entity
bean works perfectly after the first deployment. I can set primary key, as well
as do lookups and such. But after I redeploy (or restart) I get the following
error, whenever i attempt to
The only JVMs I haven't found any problems with are the slow old 1.3
from SUN, and JRockit.
IBM 1.3 and Sun's 1.4 fails. Haven't tried blackdown.
I think something should be done to track down these bugs, and get them
reported, if it isn't caused by jboss misusing the VM, or
incompatibility
The problem was solved by upgrade to latest CVS.
Hanging application mentioned bellow was partially
caused by my mistake - the web app talks not only
to app server but also to its own mysql database
(directly using struts's db pool) and I forgot to
put appropriate JDBC driver into the classpath.
You have not implemented equals in your pk class. That code shouldn't
even compile?
-dain
Luttrell, Peter wrote:
I have an entity bean with a compound primary key, where one of the
fields is a cmr field. The entity bean works perfectly after the first
deployment. I can set primary key,
actually i have, I just omitted it in the example.
it definiatly compiles.
.peter
-Original Message-
From: Dain Sundstrom [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 2:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] [JBossCMP2.0] Compound Primary Keys and CMR
fields
I have also added setters in my key class, but this didn't seam to help.
.peter
-Original Message-
From: Dain Sundstrom [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 2:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] [JBossCMP2.0] Compound Primary Keys and CMR
fields
Ok, I trust that you implemented it correctly. If you don't then
nothing works.
Usually the problem you are seeing is because you have existing data in
you database that has null values, and you attempt to load the null
values into a not-null fields. All pk members must be not-null
hi,
i have a one-to-many unidirectional relation. so my accessors are
public abstract Set getOperations();
public abstract void setOperations(Set operations);
after a little experimentation it looks like the set members are of type
OperationLocal.
on a related note, when i call
Actually, i was incorrect in my first post where i said it happens on
redeployment (or restart).
Restarting jboss resolves the problem.
The problem only happens on hotdeployments.
.peter
-Original Message-
From: Dain Sundstrom [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002
The EJB specification does not allow CMR accessors to be exposed over a
remote interface. You should have received a verifier error, but our
verifier is still a work in progress.
-dain
[EMAIL PROTECTED] wrote:
hi,
i have a one-to-many unidirectional relation. so my accessors are
why didn't you opt for the pet store? It's been out there for ever and there's a lot of discussion on it.- Original Message -From: [EMAIL PROTECTED]Date: Thu, 27 Jun 2002 12:01:38 -0600 To: [EMAIL PROTECTED]Subject: Re: [JBoss-user] Sun's SmarTicket 1.1.1 on JBoss 3.0 Final + Tomcat (let's
Using Jboss 2.44
I'm tracking down a problem we occasionally have during load tests when
we try to get a connection from a XAPoolDataSource. The exception is
not very informative and doesn't give me a concrete approach to solve
the problem.
Anybody give me insight/help with this? Thanks!
Hi Bill,
No I'm using an Integer as the primary key. We use a session facade to
front the entity bean. We use local ejb references between the session
facade and the entity bean. The bean in question (ie user entity bean with
pk=49) has gotten a fair amount of activity before the exception
Every once and awhile my JBoss 3.0 (Red Hat 7.2 / Sun 1.3.1_03 JVM) server
will die. I assume that it is running out of memory.
We specify up to 800MB of RAM at JBoss start up... Our applications get tons
and tons of hits. I need to profile our app in JBoss and see where memory is
leaking...
In
Hi,
see jaws.xml section of the free volunteer docs...
Regards,
Burkhard
- Original Message -
From: Tejeshwar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 27, 2002 9:29 AM
Subject: [JBoss-user] Configuring Database name in Jboss-2.4.4
Hi
I had configured MS Sql Server
Thanks so much.
Note: forwarded message attached. Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup---BeginMessage---
Thanks for the reply.
1. bar() is another bean so ((MyBeanLocal)sessionContext.getEJBLocalObject()).bar() won't work, right?
This raises another question from
Title: RE: [JBoss-user] Restart JBoss After Out of Memory
If you run JBoss with the Java Wrapper Service
(http://sourceforge.net/projects/wrapper/)
it will automatically restart JBoss if it exits.
JD
-Original Message-
From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
Sent:
Has anyone else seen this JBoss just stop responding?
I have had one instance of jboss no longer responding,
but memory looked fine. Processes still running. Just
no response. Restarted jboss and has been running
since.
Every once and awhile my JBoss 3.0 (Red Hat 7.2 / Sun 1.3.1_03 JVM) server
How are the rest of you handling the fact that now and then you have to
hit the space bar for JBoss to resume responding in the console window?
One of my programmers today said that one errors occur he sometimes has
to hit the space bar before JBoss will respond to further requests.
Has anyone
How do people debug EJBs? The server is running using a .jar file that contains all my Entity/Session beans. When a client makes a request, I want to trace through the server thread as it goes through my application's EJB code.
Thanks very much.Do You Yahoo!?
Sign-up for Video Highlights of 2002
See the security unit tests in our testsuite module.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: Emerson Cargnin - MSA [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 27, 2002 4:15 PM
it could be that the window (is this windows and not unix?)
has quickEdit turned on. If so, and a user clicks with the
mouse in the window, it will halt JBoss until a key is pressed.
that's the only thing i've ever seen.
if you don't like quickEdit turned on, then go into properties
on the
I have a stateless session bean and an entity bean. The session bean has a method that has "Required" trans-attribute. It in turn calls two entity bean methods, first of which has "Required" trans-attribute while the second has "RequiresNew" trans-attribute. It returns successfully after calling
I could be way off, but...
a)
quote
entityejb-nameMyBean/ejb-name
prim-key-classMyKey/prim-key-class
...
cmp-fieldfield-namekey/field-name/cmp-field
cmp-fieldfield-nameyear/field-name/cmp-field
cmp-fieldfield-namemonth/field-name/cmp-fieldprimkey-fieldkey/primkey-field...
Try this:
1) download Eclipse 2.0
http://www.eclipse.org/downloads/index.php
2) download the EASIE plug-in for JBoss
http://www.genuitec.com/products.htm
3) run Eclipse
4) use the EASIE plugin to launch JBoss
5) deploy your EJB to JBoss
6) set a breakpoint in your EJB class
do I have to use org.jboss.test.util.AppCallbackHandler as the
AppCallbackHandler?
It will work if I just use the jndi.properties with principal and
credencials??? This way would be more trasparent...
Scott M Stark wrote:
See the security unit tests in our testsuite module.
isn't the espc says to allow the jndi.properties to set both
java.naming.security.principal=admin and
java.naming.security.credentials=passwd
??
Scott M Stark wrote:
See the security unit tests in our testsuite module.
Scott Stark
Chief Technology Officer
JBoss
do I have to use org.jboss.test.util.AppCallbackHandler as the
AppCallbackHandler?
No, you can provide your own handler.
It will work if I just use the jndi.properties with principal and
credencials??? This way would be more trasparent...
No. Write your own InitialContextFactory to
No way. The spec is moving toward JAAS and it never
mentioned that the JNDI InitialContext should be the mechanism
for providing authentication information. Search the 572 page
of the ejb spec and there are zero references to jndi.properties.
Scott Stark
Chief Technology
Hello,
There are some issue about methods on the EJB returning Value Objects to clients ?
I got this error when I try to get a value object using a remote call :
java.lang.reflect.InvocationTargetException:
java.lang.reflect.UndeclaredThrowableException:
java.io.InvalidClassException:
Dmitri Colebatch wrote:
I could be way off, but...
a)
quote
entity
ejb-nameMyBean/ejb-name
prim-key-classMyKey/prim-key-class
...
cmp-fieldfield-namekey/field-name/cmp-field
I can see how nulls could be a problem. But I don't think are my problem in
this case, for 2 reasons: The db is completely new and all data is added
through MyBean. In the ejbCreate method i have null/empty string checks on
these three fields (also eliminated from the example code below). The 2nd
Whenever a ejbean in an application has a class
which extends a class
packaged in a .jar :
.ear
|--foo.jar - FooBean extends
SommeClass
|--util.jar - SomeClass
is there something special to have this working
?
I know that using the classpath manifest
shouldfine forthat
but I've read
Ya sometimes we have to...
- Original Message -
From: Jason Stortz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 28, 2002 4:11 AM
Subject: [JBoss-user] Space Bar to Continue?
How are the rest of you handling the fact that now and then you have to
hit the space bar
77 matches
Mail list logo