Hi,
I am interested in using Jboss as application server. My requirement is
as follows:
I have a HTML form. When I submit the form, I wnat that data to be
available in the backend in a jboss program which could be inserted into
Postgresql database.
Can you please let me know as to how can I
the ejb-ref tag in ejb-jar.xml _declares_ the reference, the tag in
jbossl.xml _maps_ it to the actual bean (unless you use the ejb-link in
ejb-jar.xml, in which case you dont (afaik) need the tag in jboss.xml.
hth
dim
- Original Message -
From: Ionel Gardais [EMAIL PROTECTED]
To:
I have a method that creates a JMS producer to send a message to a
consumer. After it completely returns from that method and before it
executes my next line of code I get the following warning (and my
message is never recv'd by the consumer).
Anyone have any ideas how to go about figuring this
Hi,
I check, double check, triple check, turn it upside down ...
the property file I'm using is currently in use for other client apps and is
working well.
As you told, this appends during the jndi lookup.
The thing I didn't specify is that the AccessControlException is thrown when
I ask to
Hi
I am getting an error in finder methods in CMP
Bean. I am using the driver sun.jdbc.odbc.JdbcOdbcDriver and MS SQLSERVER2000.
The error is TRANSACTION ROLLED BACK Exception Load failed Exception. But
the same error i am not getting for MYSQL Database and mysql Driver for the
finder
the problem is clear: if JNP doesn't succeed in connecting to your JNDI
service *then* it will use multicast. You want it not to use multicast? Then
make the initial discovery succeed ;)
How do you do that? use jndi.properties (so make sure it can be read) or set
the properties inside the new
I try to authorize the reading od the jndi.properties file but it still
stucks.
I will try to jvm args or to hardcode it (to test)
ionel
---
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special
Hi,
Can someone tell me what an application client (in
J2EE) means? Where can I find *GOOD* tutorials?
TIA,
Wonder Sonic
___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
Hello !
If I put JBoss 3.0 into DEBUG mode I can see series of similar messages for
various beans I have deployed. What is the cause of messages and where to
set apropriate parameter so JBoss did not start vith 100 values:
14:42:42,892 DEBUG [LRUEnterpriseContextCachePolicy] Resized cache
JBOSS_HOME\server\default\conf\standardjboss.xml
or in your own container config in jboss.xml
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de
Aleksander Grzebyta
Envoy : mercredi, 26 juin 2002 11:28
A : 'jboss-user'
Objet : [JBoss-user] Resized
Jerry and Dain,
You might want to try our workaround.
We have 2 entities A and B. A's primary key is also a foreign key to B. There is a 1-1 or 1- zero or one relationship between A and B.
I implemented an ejbSelectB() method in A, and then called this from A.getB(). Because the foreign key is
I put the file once in the same directory than the class files, once, in the
root build directory ...
Finally, I put it in both directory.
I've just test with hardcoded properties : the security manager still
complains about the access denied for the 230.0.0.4.
The weird thing is that :
- I
I've modified the way I connect to my Oracle database as David Jencks told
me.
My method to get a connection to my database is now :
public static Connection getConnection(String dataBaseName) {
Connection con = null;
LocalConnection lcon = null;
Hi
I am using sun.jdbc.odbc.JdbcOdbcDriver for MS SQL
Server 200 on JBOSS2.4.4. I want to know one thing, The Sun JDBC Driver doesn't
support finder methods of CMP Bean. bcos it gives error as Load Failes, invalid
descriptor index and Transaction Rolledback exception for the above
reasons.
I'm still getting down for maintenance :((( I miss the forums lots.
Anyone know when they might be back?
Thanks,
Craig
On Fri, 2002-06-21 at 02:06, David Jencks wrote:
forums work fine for me, just checked again.
david jencks
On 2002.06.20 11:35:51 -0400 Qingxian Wang wrote:
No, I
Can you enumerate the attributes' name of your CMP
bean?
--- Tejeshwar [EMAIL PROTECTED] a écrit :
Hi
I am using sun.jdbc.odbc.JdbcOdbcDriver for MS SQL
Server 200 on JBOSS2.4.4. I want to know one thing,
The Sun JDBC Driver doesn't support finder methods
of CMP Bean. bcos it gives error
You might be using an old bookmark to
http://main.jboss.org/forums/forums.jsp or something like that.
forums are now at
http://www.jboss.org/forums
directly
ionel
---
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM
Hello !
What database do you use: MS SQl or MySQL ? It
is not the same !
sincerely Olek
- Original Message -
From:
Tejeshwar
To: [EMAIL PROTECTED]
Sent: Wednesday, June 26, 2002 12:50
PM
Subject: [JBoss-user] sun JDBC Driver
doesn't support finder methods.
Thanks. I chnaged:
max-capacity100/max-capacity
resizer-period800/resizer-period
But the question remains why JBoss starts with Max values and then needs to
do resizing ?
sincerely Olek
- Original Message -
From: Sacha Labourey [EMAIL PROTECTED]
Because you don't use the cache, so it resizes it. You'd better have a big
cache that is resized than a small cache and have cache miss that kill you
performance. Having a cache of 1'000'000 doesn't mean it will eat much
memory as long as it is not filled in.
For more details, read the code or
---
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members!
JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
___
I'm getting closer and closer to the solution.
to answer your questions :
- I swept the directories and kept only the needed jndi.properties file. I'm
running directly from the class (not bundled into a jar file)
- yes without security manager, I get no errors
While I was removing the unwanted
Thanks a lot. That'e enough for me now.
sincerely Olek
---
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members!
JabConf 2002, Aug. 20-22, Keystone, CO
After having search for a solution, I foudn that the name=FQDN=IP
resolution is the core of my problem.
I thought about that but then imagined that it was ok.
In fact, the behaviour is not the same if I specify localhost:1080 or
grsun36:1080 or grsun36.geomath.fr:1080 or 192.168.10.36:1080
I got the following:
[WARN] [TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=ARMANTAC2//1,
BranchQual=] timed out. status=STATUS_ACTIVE
This was in the midst of creating about 11000 beans, I got this one error.
Can anyone tell me what I should investigate?
Thanks
Eric Kaplan
Armanta,
Hi,
After succeded in configuring JBoss to auth my users via the
UsersRolesLoginModule, I'm trying to use the DatabaseServerLoginModule.
I modified the login-config.xml to match my needs :
snip
application-policy name = lab
authentication
login-module code =
Hello,
I'm trying to use castor within a bmp entity bean's. The application works
for awhile and then I start to get the following error. I have castor setup
(I think) to use the transaction manager exposed from jboss so I don't
understand why its complaining about the local connection being
Hello David,
Wednesday, June 26, 2002, 1:47:29 AM, you wrote:
DJ On 2002.06.26 00:16:02 -0400 Danilo Luiz Rheinheimer wrote:
Hello,
I am using Firebird as my database to store my CMP beans.
When I deploy them I got a error of unknown domain name.
...
This is right ?
What is
It may be because of Deadlock...if ur using Jboss2.4.4
Regards,
Rajeshwar Rao.
-Original Message-
From: Eric Kaplan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 7:55 PM
To: Jboss-User
Subject: [JBoss-user] transaction timed out
I got the
I'm having problems with jboss loading extension jar
files that are shared by the modules in the ear file.
The jar files are in a lib directory in the ear file
and referenced the manifest file using the Class-Path
property.
...
Class-Path: lib/jar1.jar lib/jar2.jar lib/jar3.jar
When deploying
Well... I've upgraded to the lasted CVS version yesterday
(because of another problems with 3.0.0).
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
If you insert that many beans in one tx, it might timeout. You could use
more tx or increase the tx timeout.
david jencks
On 2002.06.26 10:25:29 -0400 Eric Kaplan wrote:
I got the following:
[WARN] [TxCapsule] Transaction XidImpl [FormatId=257,
GlobalId=ARMANTAC2//1,
BranchQual=] timed
I have this working... which jboss version? You don't say which manifest
file... use one in say an ejb jar, not one in the .ear itself.
david jencks
On 2002.06.26 10:56:07 -0400 GL wrote:
I'm having problems with jboss loading extension jar
files that are shared by the modules in the ear
This is very odd. It should be using the sql type for create table, not
the jdbc type. I'd ask on the database forum about this. Also check you
have an up to date jboss, Dain is always fixing things.
david
On 2002.06.26 10:11:10 -0400 Danilo Luiz Rheinheimer wrote:
Hello David,
Hi
We currently have a production installation using jboss 2.4.3 that reports
that the app server runs out of memory every couple of weeks. We have
migrated to 3.0.0 in development. Can anyone confirm or deny that there
were memory leaks in older versions of jboss that have since been fixed
You already have by
module-option name=dsJndiNamejava:/PasswordDS/module-option
You have to validate that java:/PasswordDS actually points to your
database connection factory.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original
I think they are all RequiresNew, but I'll check, thanks
eric
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of David Jencks
Sent: Wednesday, June 26, 2002 11:13 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] transaction timed out
If you insert that
Dain,
Yes, I've been reading your discussion. But I don't have time to wait, so I thought this workaround is nice and simple, doesn't mess with JBoss source code, and will work even after your fix comes out. Also, what you're trying to do is pretty tricky, and I think there'll be some bugs in the
Have you done many (over 10) hot re-deploys of the same app without
restarting jboss? We've noticed that we get an out of memory error with
2.4.3 in that case. Haven't tested it in 3.0.0 yet.
If that's not the case, I suggest you get a tool like OptimizeIt to
profile your application's
Gray,
Probably quite unrelated but i had a similar exception last week and it
was due to me calling
id = (String)context.getPrimaryKey
within ejbActivate(). the entity was BMP. i moved the line to ejbLoad()
instead. I don't know why it prefered it there but it worked. I have
seen examples
Would a method in a session bean that initiates a transaction (let's say one
create
on a bean that is Required) timeout if the method took a very long time to
run?
In other words it's something like
{
home.create(key,...);
runforalongtime();
}
eric
-Original Message-
No hot re-deploys (jboss 3.0.0 with jdk1.4). We've used jprobe from sitraka
in the
past. If there wasn't a known jboss memory problem, we'll have to analyze
further.
Eric
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of David Ward
Sent: Wednesday, June
Yes, this has presented a number of problems for me in the past. I haven't found a
good work around other than simply not using a transaction of the long-running session
bean. You can push the timeout WAY up, but if you don't know what a reasonable time
to set the transaction timeout to
Hi,
I am using the JBOSS-2.4.4 SQL server 2000, microsoft jdbc
driver.
I am having a Session Bean(AdminManager) which calls the Java
class(Service class), service class calls a Mapper class which intern calls
Entity Beans(Item, Locale etc..) in a loop.
The problem is even though loop is
Yes, there was memeroy leak (transaction and connection listner object) in
the JBoss JDBC pool implementation before 2.4.5. We were also running out of
memory in the reliability tests, and confirmed the fix in the rerun of the
same tests. Here is the release notes:
2 announcements on training:
1- Inaugural introduction to J2EE on JBoss training in Amsterdam, August
26-30. This is the J2EE on JBoss training, brand new. Given by Juha
lindfors and luke taylor. This covers your getting started on JBoss in
depth,
2- advanced training in Palm July 20, there
Sorry about the typos, sending emails too fast today,
|2- advanced training in Palm July 20, there are still some sits available
Palma de Mallorca is July 22-25,
marcf
---
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM
I have a
methodA that creates a JMS producer to send a message to aconsumer.
After it completely returns from that method and before itexecutes my next
line of code I get the following warning (and mymessage is never recv'd by
the consumer).Anyone have any ideas how to go about figuring
Hello,
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 mismatch between the documentation and the
I'm having a problem getting a parent\child CMR setup, I get a
DeploymentException: Atleast one role of a foreign-key mapped relationship
must have key fields: ejb-relation-name=Link-Has-Parent-Link
ejb-jar.xml:
ejb-relation
Are you using a customer primary key class (i.e. NOT Integer, Long, String).
Did you implement the equals and hashCode methods correctly? Are you sure
that your primary key class serializes correctly? Post the Primary Key
class and I'll take a look.
-Original Message-
From: [EMAIL
If I log into a web application, with FORM based authentication, and then go to
another context, should I have to log in again?
I'd like to be able to deploy a bunch of WARS, and have any of them be able to
authenticate for that session. Then have all the applications logged in. Does this
I have created my own JAAS login module by extending
AbstractServerLoginModule as suggested in the jboss docs..
Where do I put this module?
When I jar it up and put it into any of the jboss lib directories it can't
be found (including WEB-INF/lib of my war files)..
When I include it on the
i always delete all the messages in the database, restart, and try it again
first.
i've noticed that while developing, if a message gets sent to a queue that
cannot
be handled well (some bug introduced into the message or whatever) nothing
will
work until that message is deleted.
i doubt if
AFAIK, since I create this queue on the fly and everytime I restart JBoss,
all msgs are being deleted. I'm not persisting them anywheres and I *didn't*
think JBoss was either. Is that true?
- Original Message -
From: Starsinic, Frank [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
Thanks for the reply.
1. bar() is another bean so ((MyBeanLocal)sessionContext.getEJBLocalObject()).bar() won't work, right?
This raises another question from my side:
2. Whenever you call another method of the same API, do you have to do it throught an interface as above?? This could be quite
look in the
JBoss-x.x.x\jboss\db\jbossmq directory and see if
there are files there called
QUEUE.YOUR_QUEUE_NAME.datN
-Original Message-
From: G.L. Grobe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 1:58 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] is this a
Not at:
http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd
or
http://jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd
as was suggested in a previous post.
---
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season |
Dears,
I am using JBoss3 in a cluster
with RedHat7.2 SMP boxes (precompiled
kernel), and I am facing some problems
with VMs, if you could help me.
I already tested the following:
- Sun J2SE 1.3.1_02 -server: 6
times freezed JBoss, nor clients can
lookup nor look at JBoss 8082
I got it, my bad. I had switched my LinkBean from a custom PK to an Integer
and forgot to add the primary-key entry in ejb-jar.xml
-Original Message-
From: Jerry Smith [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 3:14 PM
To: '[EMAIL PROTECTED]'
Subject: [JBoss-user] CMR
Hi,
I am using scheduler to call ejb, which use javaMail
to send out email. Everything works fine if I start
jboss first, then deploy scheduler-service.xml.
However if I restart server, it complains can not
deploy scheduler-service.xml since it can not find the
ejb my scheduler uses and the
Dears, I have tested de Blackdown
FCS 1.3.1 and the result is the same
as Sun JDk 1.4, throws a lot of
java.lang.ClassCircularityError.
Weel, I don't knows others VMs.
I saw at JBoss download page, to
use JRockit, but this is useful only
in single processor computers.
I call you
They should both work now (or after DNS propagation). We moved servers
and Jason missed an entry.
-dain
Jerry Smith wrote:
Not at:
http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd
or
http://jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd
as was suggested in a previous post.
Title: JMS reconnect / ExceptionListener problem
Hi,
I am using JBoss2.4.6, and my ExceptionListener::onException keeps getting called, even after connection is successfully reconnected (my message went through w/o exception), and the passed-in jmse exception is like this:
[INFO
Hello Dain, David, List,
I found the bug.
The problem is I am using the firebird with the DefaultDS name, and
to do it I remove the hsqldb-service.xml from my deploy directory.
As I do not want any field override to my beans and I will use the
DefaultDS datasource I do not have the
You should be able to get the scheduler to wait for the ejb by:
1. Deploy your ejb, and look in the jmx viewer (port 8082) and find the
mbean corresponding to the ejb. (in the j2ee section, not
jsr77/management). Its object name is shown at the top of the detail page.
2. add a tag
Create a JSP page that you will submit your form to. On the JSP page, look
up an object running in JBoss, then invoke a method on that object that you
write that accepts the values from the form.
- Original Message -
From: Parul Agarwal [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
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 database name in
jboss.jcml file.
pls can anyone help me.
Thanks in advance.
with regards
Tejesh
Tejesh
68 matches
Mail list logo