On 16 Maj, [EMAIL PROTECTED] wrote:
Hello,
I'm experimenting with Message Driven Beans and wish to write an MDB that
can subscribe/unsubscribe to topics at runtime.
I see from the MDB tutorial that the topic is set in jboss.xml.
Is it possible to subscribe to multiple topics?
Is it
Title: [JBoss-user] calling EJB by using reflexion in a generic way
There has been some discussion about similar
problems (I think...)on this list.
There is one I started. Follow the thread Blind
Lookup. I'm still trying to solve my problem.
- Original Message -
From:
David
hi,
We are running JBoss-tomcat on a linux 2.4.2-2 server (Red Hat 7.1) and this
seems to work fine. When I look at processes using the GNOME System monitor,
however, I observe almost 60 different java processes, using almost 1.5
gigabytes of memory, which worries me. Is this normal? Is
hi all,
I've got a weird problem. Using Postgres and JBoss 2.2, I have an entity
bean with BMP. In my ejbCreate method I query the database to get the
primary key for the bean from a sequence. My SQL is SELECT
NEXTVAL('storyid_seq') which works fine from psql _and_ from a standard JDBC
On Thu, 17 May 2001, Noels Jeroen wrote:
hi,
We are running JBoss-tomcat on a linux 2.4.2-2 server (Red Hat 7.1) and this
seems to work fine. When I look at processes using the GNOME System monitor,
however, I observe almost 60 different java processes, using almost 1.5
gigabytes of
I dont't know if this solves the problem but You must lookup the topic with
topic\MyTopic not only MyTopic.
Annegret
--
Von: Ralf Metzger[SMTP:[EMAIL PROTECTED]]
Antwort an: [EMAIL PROTECTED]
Gesendet: Mittwoch, 16. Mai 2001 17:14
An: JBOSS-User List
Betreff:
Hi,
this mail will report, how to install Jboss with interbase from borland as backend on
a suse 7.0 system.
I write this because it takes 7 days of my small time budget. It was realy crazy. No
one should never take the same hard way of mistakes.
1.
Install Interbase from www.interbase.com.
Hi
Which is the real URl syntax in the jboss.cml file for a Weblogic Type
Driver 4 based
connection pool - beacuse I have a troublesome situation namely that the
BINDING of the SQL SERVERPOOL HANGS the JBOSS initialization process.
Note that the driver signature in the weblogic.jar file is
Hi all , i am using RedHat6.1 , postgres7.01.,jdk1.3 , and jboss2.1.
I have finder method below :
It did not display records when call the finder method eventhough
that were some records in the database.
The errors is not always occured , this is the method in the session
bean which call the
Hi
users!
I´ve configured JBoss how configuration manual and when I execute run.bat JBoss
stop in the next line:
[OracleDS] XA Connection pool OracleDS bound
tojava:/OracleDS
and JBoss not continues, not appears :
[OracleDS]Started
Why? Can you hel me? Thank you
very
much.
Hi,
i have a problem with JMS.
the receiving of messages in message driven beans works, but not the sendig
of them.
can somebody tell me please, which tags i need in the deployment descriptor
for a (message driven) bean, so that this can access the right
TopicConnectionFactory and the right
Title: RE: [JBoss-user] SQL SERVERPOOL NAME BINDING HANGS the JBOSS initialization process (using weblogic jdbc driver )
I tried using wl driver once, didn't manage to make it work fully, but the first obstacle similar to your symptoms was that the licence file was not found on classpath.
I
Yes, exactly so. I should have made it clear, sorry. The naming
convention is XXXHome and XXX are the home and remote interfaces, and
XXXBean is a value object that conforms to the JavaBean spec (required
further on in the app).
The id field is constrained as a primary key - I was under the
Hi,
Great job!
I've experienced the same problems with IB 6.01 on Debian Linux. There were
few differencies from your how to:
1.
Install Interbase from www.interbase.com. Unpack and run,
there is no problem. Attention on the first gsec call.
gsec -user SYSDBA -password changeme
Mike,
There really is nothing special that needs to be added
to ANT to generate JBOSS deployment jars. WLS uses
ejbc (EJB compiler) to generate skeletons and stubs
used to marshal data during invocation. Since JBOSS
uses dynamic proxies to accomplish this (read,
stub-less/skeleton-less) there
Hi,
I have some problems to find a datasource over JNDI.
I update from JBoss 2.0 to 2.2.1 and get an error on the InitialContext
lookup methode.
The Error Message like this:
TRANSACTION ROLLBACK EXCEPTION:UserManager : Can´t get DataSource. comp not
bound; nested exception is:
What´s the
Hi,
usually a config problem, send your relevant parts of jboss.jcml, and
describe what you have done so far.
Burkhard
- Original Message -
From: Isidoro Fernandez Diaz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 12:21 PM
Subject: [JBoss-user] + Oracle Integration
Peter/all,
thanks for the tip, I checked the MDB specification in the EJB2.0 spec.
It doesn't mention any mechanism to cope with multiple destinations per MDB.
Perhaps it will be a future detail in the specs, maybe EJB2.1?
It would certainly be good to have a new method on the MDB, such as
Hi,
perhaps we should take this to the firebird list...
I'm really confused, since I thought I had fixed the socklen_t problem.
1. Does your NetTCP.cpp contain something like this? (around line 141)
int
NetTCP::netOpen (int sockfd, int *newSockfd, int inetdflag)
{
register int tmpSockfd,
I use Velocity as my web interface and JBoss as J2EE.
Where is the root directory relative to servelet running by
JBoss Tomcat?
I believe that it's the directory where you are when you run
jboss.
Anyone knows how to solve it?
I use Velocity's classpath resource loader. Jar
1. Does your NetTCP.cpp contain something like this? (around line 141)
int
NetTCP::netOpen (int sockfd, int *newSockfd, int inetdflag)
{
register int tmpSockfd, childpid;
//david jencks 1-19-2001 begin
// int clilen, on;
#ifndef socklen_t //problem on ms compiler
#define
Hi,
documentation says:
public class ABean implements EntityBean {
...
public void BusinessMethod(...) {
...
BHome home = (BHome)ctx.lookup("java:comp/env/ejb/myBean");
B bean = home.create(pk);
...
}
}
My inside a
|The workaround I found was to ignore i-net data sources and use
|OPTA 2000 as a JDBC 2.0 Optional Package non-compliant driver:
I'm not exactly sure what you mean by this. I'm guessing that by changing :
attribute name=DataSourceClasscom.inet.tds.XDataSource/attribute
to
attribute
This happens when JBoss cannot connect to the Oracle Database.
- Verify that your database is up and running.
- Verify that your JDBC driver is in your classpath (you will also get an error
earlier in the console window if this is the problem)
- If you are only connecting to Oracle, you might
Hi,
How can I use Fiorano Messaging Server with JBoss. Are there any changes
to be made in the files placed inside ../conf/default, especially with
jboss.jcml or jbossmq.xml.
I am facing a peculair problem. When I try to publish a message onto a topic
called xy_topic, the message is
On Thu, 17 May 2001, Thomas Grnert wrote:
Hi,
documentation says:
public class ABean implements EntityBean {
...
public void BusinessMethod(...) {
...
BHome home = (BHome)ctx.lookup(java:comp/env/ejb/myBean);
B bean = home.create(pk);
...
The
ctx for the lookup method refers to a JNDIInitialContext, not the
SessionContext.
Mat.
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Thomas
GrnertSent: 17 May 2001 15:30To:
[EMAIL PROTECTED]Subject: [JBoss-user] Intrabean
Call
wrote:
Hi,
documentation says:
public class ABean implements EntityBean {
...
public void BusinessMethod(...) {
...
BHome home = (BHome)ctx.lookup(java:comp/env/ejb/myBean);
B bean = home.create(pk);
...
}
}
My inside a SessionBean code looks like:
private
The
ctx variable in the documentation example is of javax.naming.Context type, while
your ctx is of javax.ejb.SessionContext
in the
book you should have something like:
javax.naming.Context ctx = new
javax.naming.InitialContext(...);
-Original Message-From: Thomas Grnert
Hi,
first, you neither need the line in jboss.properties, as I guess you are on
JBoss 2.2. Then you won't either need the jboss.conf entries, so they must
go as well. You should see something like [jdbcDrivers]
oracle.jdbc.driver.OracleDriver loaded during startup, or your driver isn't
found by
Hello,
I'm having problems with jboss deployment of beans.
I put all jar files in the deploy folder as recommended.
jboss recognizes the jar files but still insists that I have deployed
always the same bean:
[J2EE Deployer Default] install module bean1.jar
[Container factory]
If all you need to do is get your primary key from the autoincrement,
you can simply put the code to fetch the value in ejbCreate and return
that value as your primary key. Or am I missing something?
Ray wrote:
Hello again.
I'm getting the hang of this ... :-)
Now, because I have an
On Thu, 17 May 2001, [EMAIL PROTECTED] wrote:
Hello,
I'm having problems with jboss deployment of beans.
I put all jar files in the deploy folder as recommended.
jboss recognizes the jar files but still insists that I have deployed
always the same bean:
[J2EE Deployer Default] install
I notice that some folks advocate the entities inheriting from the value
objects...
It seems like this won't work with EJB2.0 as the accessor methods for a CMP
bean have to be abstract...
Any thoughts on the best way to pull this off without duplicating tons of
code in the entity beans and the
Hello,
If I remember how auto-increment fields work in SQL Server or Access... you do not
need (i.e. are not allowed) to set it during the insert into SQL instruction (or the
addnew), but once the data is inserted (or at least rs.update), you can read it back
so see what value has been set by
All,
First post, so apolgies if this is a repeated topic, i have checked the archives
without much luck so here's hoping its new.
I am experimenting using the JBossMQ implementation for a new project and am having
some serious performance
problems. Our system will be receiving (bytes)
Hi!
Please go to www.jboss.org, then to the documentation section and select
the Migration Guide. Hope this helps.
If you are missing something in this guide, please let us know.
Cheers,
Tobias
Matthias Krause wrote:
Hi,
I have some problems to find a datasource over JNDI.
I update from
Greetings,
It appears to me from looking at JBoss source code and in particularly the minerva
code that it is not currently possible to set the isolation level for a pool of SQL
connections. At least not at the ejb-jar.xml descriptor level nor when setting a
datasource pool in the jboss.jcml
1.1.2 should be easier than 1.1.1 to setup. I got 1.1.2 working in Weblogic
6.0 ok.
The populateservlet stuff should be simple if you setup your datasources and
connection pools correctly. you also have to make sure your resource-refs
resolve to the appropriate
JNDI names. The best thing to do
Marc,
Thank you so much for the reply, and I will try the Tomcat user list.
Maria
-Original Message-
From: marc fleury [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 6:55 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Tomcat IIS HowTo
Maria,
this is a JBoss user list
[EMAIL PROTECTED] wrote:
Greetings,
It appears to me from looking at JBoss source code and in particularly the minerva
code that it is not currently possible to set the isolation level for a pool of SQL
connections. At least not at the ejb-jar.xml descriptor level nor when setting a
Hello
everyone,
I'm have some
problems withthe database server login module with jboss
2.2.1
i'm coding some
classes to administrates users and roles "live", some simple operations like add
a principal id, add a role, remove a principal id, etc..
it seems to behave
like jboss doesn't
Hi, all...
On Thu, 17 May 2001, Leonard Kierstead wrote:
|The workaround I found was to ignore i-net data sources and use
|OPTA 2000 as a JDBC 2.0 Optional Package non-compliant driver:
I'm not exactly sure what you mean by this. I'm guessing that by changing :
attribute
Hi list,
we were testing jboss for its performance in a messagedriven design.
A client was sending 500 messages in a period of 50 seconds to topic 1.
Messagedriven bean 1 captured the message, and sent it to topic 2.
Messagedriven bean 2 captured the message, and sent it to topic 1.
On topic
This happend to me when I had a META-INF as a subdirectory of something in
the class path. That ejb-jar.xml file was always read regardless of the
.jar that was being deployed. I had to remove the META-INF directory.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
I have the similar problem, Does any one know the solution?
Thanks
Wei
Matthew Baird wrote:
Hello,
I've implemented my own LoginModule (authenticate via Castor) and I'm not
sure where to make this class available to jboss so it can find it.
Currently I'm getting the following exception:
Hi All,
any one has a example of running session bean as a singleton?
thanks
anil
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
you have to add it to your classpath explicitly. I set it in the run.bat in
jboss/bin.
However, I'm still having no luck finding an example of the following:
1. User logs into web application via Tomcat or other servlet engine.
2. Subsequent calls from webtier (servlet engine) to the
JBossers,
I declared a findAll() method in a home interface of a cmp entity bean. The
spec requires the container to the implementation of findAll() method. The
jndi lookup is fine and returns a non-null home ref but when I call
home.findAll() I get the following:
Hi, we are developing a new product catalog type app against JBoss and one
of the features we'd like to support is the ability dynamically add/remove
product catalogs from the site.
We have:
1. A master database plus multiple catalog databases.
2. The master database will contain a *catalog
Hi!
I've downloaded the JBoss Test Environment 2.0 available from
www.jboss.org and followed the instructions to integrate/install it to VAJ.
But it doesn't work. Every time I get an error message: Cannot complete the
operation because Java class libraries WAS 3.5.3 is required by the system.
Hi,
snip
Question: Does JBoss uses the dialect 3? I didn't notice it to follow new
syntax (well, it's hard to do this if you use prepared statements only
:)).
I'm afraid I forgot what many of the dialect 3 changes are. The ones I
remember are 64 bit number support, both bigint and
Hi,
Before my next question I would like to say thanx to all those who
are responding to questions on this list. I've never been on a list
where people are so helpful (and paitent). I've never been able to
count on answers from some mailing lists, let alone useful ones.
On to my question:
Norton Lam wrote:
Hi,
Before my next question I would like to say thanx to all those who
are responding to questions on this list. I've never been on a list
where people are so helpful (and paitent). I've never been able to
count on answers from some mailing lists, let alone useful
Hi,
I'm getting warnings from the JBoss verifier that I need to override
equals()
and hashCode() in my primary key class. The problem is, I *am* overriding
these methods.
At the risk of world-wide embarrassment, here's the log and code snippets:
[Verifier]
Bean : Item
Section: 9.2.9
Hi
Is it possible to do a UserTransaction lookup on a client (like a servlet)
running on a different VM of Jboss?
I´ve tried doing the following lookups without no success:
initcntx.lookup(java:comp/UserTransaction);
initcntx.lookup(UserTransaction);
/**
* Hash code method.
*/
public int hashCode() {
return(super.hashCode());
}
This is the problem. This is delegating to the Object.hashCode method
that uses the object's address as its input, so when the verifier tries
to verify that your hashCode method is right (by
How can i see the beans in .jsp files??
I process the program logic (for example a customer list in an Enumeration
object) and pass the objects via request.setAttribute.. i think that i can
recover that object and use it in .jsp files!! But im getting :
org.apache.jasper.JasperException:
What is EJBDoclet? could you provide some more information or a link.
Regarding having ANT write the beans, I dont think that is such a strecth
... imagine just defining your properties and methods (including code) in an
xml format and then having ant or some other tool generate all required
Announcement: Super 1.3 - an EJB/J2EE monitoring tool with
SuperPeekPoke
SuperLogging
SuperStress
It is free for open source J2ee/Ejb servers (JOnAS, J2EE-RI and jBoss).
It is free for evaluation (no expiration date).
You can anomyously down load a perpetual evaluation copy from:
Hi,
Well the obvious solution is to add a catalog_id column to all your tables
and use only one database, but since you aren't proposing to do that there
must be some reason that won't work for you.
I believe what you have to do is, for each catalog you wish to add, create
an mbean
Hi Ray,
I have a table which has an auto incrementing field, and I'm accessing it
using a Contaimer Managed Bean
If I want create a new record, I just call rec.create(title); I don't
bother with setting the id number because it's generated automatically.
Now I reckon that I still need a
Hi all , i am using RedHat6.1 , jdk1.3 , postgresql7.0.1 and jBoss2.1 .
The weird error are :
I have deploy my ejb which included 3 entity and 1 session bean.
The session bean is facade to the entity bean.
When i run jboss container and called a method from session for
example
Hi All,
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/log4j/readme
gives the following instructions to use loj4j to
enable logging.
Download the latest version of log4j.jar from
http://jakarta.apache.org/log4j.
Copy log4j.jar and elogj.jar under lib/ext.
Where do I find
I agree... If your never going to modify the data I would use a session
bean to do this. EBs cost a lot.
Jim
--On Thursday, May 17, 2001 5:57 PM -0400 toby cabot [EMAIL PROTECTED]
wrote:
I have a system where I'll be logging user
transactions in one of my tables. I won't ever need to
65 matches
Mail list logo