On 26 Apr, Michael Hustler wrote:
> I have read in a different thread of 3 ways to create temporary Topics. 2
> of these are non-portable and the 3rd one is limited such that the message
> consumer must be created by the topic creator or something like that.
>
> I am looking for a way to reduce
Hi,
Out of curiousity, what kind of thing does your mbean do? How is it
appropriate for an ejb to be controlling it?
Waiting for the expansion of my horizons,
david jencks
On 2001.04.26 15:23:21 -0400 "Coates, David" wrote:
> I have a custom MBean that adds a service to my JBoss container. Now
Hi,
>From a practical standpoint, usually entity beans have 'individual field'
data access methods, and usually when you have a business process step,
more than one field is affected. To get all the modifications in one
transaction without jumping through external transaction control hoops and
o
Hi,
I have several comments
1. Firebird and Interbase have default snapshot transaction isolation.
This is almost serializable. All reads are indeed within a transaction (as
correct transactional semantics require -- if you think about it for a
minute, read committed is just plain broken as f
Hi,
Driver manager will only get you unpooled connections.
The best solution would probably be JCA resource adapters, but I doubt many
other app servers support them yet.
I think you ought to be able to bind a connection pool such as Minerva into
any jndi system in any app server, and access it
On Thu, Apr 26, 2001 at 10:23:11PM -0500, danch wrote:
> Jennifer Labit wrote:
>
> > All,
> >
> > I need to be able to connect to my connection pool using something like
> > this:
> >
> > DriverManager.getConnection("jdbc:xxx:yyy:MyPoolName")
> > ...
> >
> > What is the jdbc connection url tha
The minerva source is in the jbosscx component, which can be downloaded from
the JBoss site. Look in jboss.jcml for some examples of how to use it. You
should be able to just instantiate XAPoolDataSource and then start with a
getConnection(). (I haven't done this, so you'll have to work with it
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yeah, because queues and topics are so non-dynamic, it seems to me
that using a messageSelector is really the only way to get much
practical use out of JMS. It's very non-OO, but it's working for me.
Check out
http://java.sun.com/j2ee/j2sdkee/techdo
Jennifer Labit wrote:
> All,
>
> I need to be able to connect to my connection pool using something like
> this:
>
> DriverManager.getConnection("jdbc:xxx:yyy:MyPoolName")
> ...
>
> What is the jdbc connection url that I would use to do that with jBoss?
DriverManager won't give you a connecti
Was anyone able to find their connection pool (datasource)?
any help will be appreciated.
OK. i am using the following in java:
try{
InitialContext jndiContext = new InitialContext();
javax.sql.DataSource ds = (javax.sql.DataSource)
jndiContext.lookup("java:/mySQLDS");
I have read in a different thread of 3 ways to create temporary Topics. 2
of these are non-portable and the 3rd one is limited such that the message
consumer must be created by the topic creator or something like that.
I am looking for a way to reduce the total potential message flow in the
syst
Hi,
Following the example provided in the online documentation I've tried
getting the join working across 2 tables.
The table structures are
Table A
Col1,Col2,Col3
Table B
Col1,Col2,Col4
Col1 and Col2 form the primary key for both the tables.
The finder definition is
findF
I am getting the sealing violation error (see below). I have
tried clearing the classpath by setting it to nothing. And still, JBOSS won't
start. Any help will be appreciated.
Thanks,
-Amit Banerji
[Info] Java version: 1.3.0,Sun Microsystems Inc.[Info]
Java VM: Java HotSpot(TM) Cli
Daniel Cardin wrote:
> I am definitely not an expert on that topic, but I'd like to add my
> comments :)
>
> For one, beans have the advantage of running in the context of the
> server. So you can assume that JBoss will manage security and
> transactions if you so desire. This by itself is alrea
As the docs state, JBOSS_HOME has to be replaced with the path to your
JBoss installation.
- Original Message -
From: "Vishal Chawla" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 26, 2001 3:06 PM
Subject: [JBoss-user] RE: Starting Trouble
> Toby,
> Thanks for your
On Thu, Apr 26, 2001 at 03:06:10PM -0700, Vishal Chawla wrote:
> Toby,
> Thanks for your earlier answer. I was indeed using java 1.2.2 earlier. But
> now I ensured JBoss started up with jdk1.3, but I have another problem:
>
> **
If you are using DriverManager, then you are just getting a straightforward
JDBC connection, and JBoss has nothing to do with it. So use your standard
url string; here is a sample for Oracle:
"jdbc:oracle:thin:@xyz.mycompany.com:1521:mydb"
- Original Message -
From: "Jennifer Labit" <[E
On Thu, Apr 26, 2001 at 05:16:57PM -0700, Scott M Stark wrote:
> Post your patch to http://sourceforge.net/tracker/?group_id=22866
> under the Patches section.
You might also want to run this by the JBossCMP mailing list.
Toby.
> - Original Message -
> From: "Vinay Menon" <[EMAIL PROTE
Thank Guy.
I have download open source DBDatabaseBroker which have connection
pooling yesterday.
BTW , you have stated that JBoss have connection pooling called
minerva.
How to setup MINERVA and call it ??
Thanks .
Guy Rouillier wrote:
>
> If you read the javadocs for javax.sql, yo
Post your patch to http://sourceforge.net/tracker/?group_id=22866
under the Patches section.
- Original Message -
From: "Vinay Menon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 26, 2001 4:24 PM
Subject: [JBoss-user] Followup - Joins - CMP Entity Beans - BUG
>
Hello,
I'm trying to get JBoss to use the Sybase JConnect 5.2 JDBC driver for CMP
entity beans. I've been looking at the "Using MS SQL Server with JBoss"
tutorial on the JBoss site, which is the closest thing I've found in terms
of relevant documentation:
http://www.jboss.org/documentation/HTML/
Alright folks,
Here is the modified code. It works a treat!
if (query.toLowerCase().startsWith(",")) {
//Modified by Vinay Menon
StringBuffer sqlBuffer = new StringBuffer();
sqlBuffer.append("SELECT ");
String primaryKeyList = getPkColumnList();
You have to do an update -d to pickup new directories
- Original Message -
From: "Daniel Germain" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 26, 2001 2:34 PM
Subject: [JBoss-user] jboss compilation from CVS
> Hi,
>
> Sorry to bother you, I probably should be usin
"Scott M Stark" <[EMAIL PROTECTED]> wrote:
> Even if an application server does support JAAS there will be
> application server specific code to translate from JAAS Subject to
> what the Subject state means in terms of the caller principal and
> the principal roles because there is no standard fo
"Lennart Petersson" <[EMAIL PROTECTED]> wrote:
> As has been said so many times now: DON'T START A NEW THREAD BY
> REPLAYING AN OLD ONE!!!
I just wanted to keep order, basically I just substantiated my
original questions. It was, IMHO, the same thread, that's why I dit
*not* start a new one (or
All,
I need to be able to connect to my connection pool using something like
this:
DriverManager.getConnection("jdbc:xxx:yyy:MyPoolName")
...
What is the jdbc connection url that I would use to do that with jBoss?
I know the opinions on this list are that this isn't the ideal way to do it,
how
Hi Again,
Believe I have figured where the issue lies. The sql is constructed by
org.jboss.ejb.plugins.jaws.jdbc.JDBCDefinedFinderCommand in the statement
if (query.toLowerCase().startsWith(",")) {
sql = "SELECT " + jawsEntity.getTableName()+"."+getPkColumnList() +
strippedOr
- Original Message -
From: "Coates, David" <[EMAIL PROTECTED]>
To: "JBoss User List" <[EMAIL PROTECTED]>
Sent: Thursday, April 26, 2001 12:23 PM
Subject: [JBoss-user] MBean access via JNDI - How to?
> I have a custom MBean that adds a service to my JBoss container. Now I want
> to be
Toby,
Thanks for your earlier answer. I was indeed using java 1.2.2 earlier. But
now I ensured JBoss started up with jdk1.3, but I have another problem:
**
D:\work\dev\ejbtry\interest>java -version
java version "1.3.0_02"
Java(TM
Hi,
I can't tell all the parameters of your situation. If you are updating
individual rows of the database one by one, you should use commit option B
or C. These are adapted for non exclusive access to the db by the ejbs. I
think Daniel's solution is for when you are doing a batch update and w
Hi,
Sorry to bother you, I probably should be using a precompiled
installation
After doing:
cvs update
cd src/build
./build.sh clean
./build.sh
I got
BUILD FAILED
/home/src/jboss/src/build/build.xml:235:
/home/src/jboss/build/classes/org/jboss/jms/ra not found.
Any clue?
Daniel
__
Hi,
I can't say I understand wxactly what you are trying to do, but the
following might be helpful anyway:
1. Asynchronous messaging in java = jms spec + message driven beans,
implemented ( I think completely in jboss) as jbossmq ( formerly spydermq).
Sending messages from beans may still be so
Title: RE: [JBoss-user] StreamCorruptedException
Yep, that's it, thanks.
-Original Message-
From: jK.MkIII [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 3:51 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] StreamCorruptedException
Hello,
StreamCorruptedExcep
We noticed similar things and decided to change the transaction setting
our read-only EJB methods from "Requires" to "Supports". It eliminated
a lot of the contention. I hope this helps.
++Jeff
P.S. -- this is done in the deployment descriptor for your bean(s)
(ejb-jar.xml in JBoss).
Sven
Danch,
I think our oracle connection is fine because I tried the jboss2.1 and
it works just fine. Actually the first error is "web container not
available". Then the Tomcat_test.war is failed to run.
Thanks!
-Original Message-
From: danch [mailto:[EMAIL PROTECTED]]
Sent: Thurs
the ORB that the other project is using does not support RMI/IIOP (JacORB).
i have heard horror stories concerning interworking Sun's ORB and JacORB.
johnc
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Sam
Sent: Thursday, April 26, 2001 3:46 PM
To: '[E
Actually I get this at first:
[J2EE Deployer Default] No web container found - only EJB deployment
available..
So I tried to start Tomcat manually and then run the run.sh again. It still
shows that the web containner is not available.
-Original Message-
From: Qiao, Wei [mai
>
> Yes I read it, but what I don't like about that solution is that one
> has to reconfigure Tomcat. Now I have the application almost in the
> stage where you can just throw an EAR into the deploy directory and
> it's done. I'd like to keep this. But there are only two servlets
> which handle a
There's something wrong with your oracle connection. Can you connect to
your oracle database outside of JBoss?
"Qiao, Wei" wrote:
>
> I am new to Jboss and tried the Jboss2.2.1. I downloaded the
> Jboss2.2.1-Tomcat3.2.1.zip and modify the jboss.conf as well as jbos.jcml in
> both conf/default a
Hi all you jboss/ejb gurus,
While stress-testing an application using jboss we encountered some
problems. We're not sure whether we did something wrong in the ejb
development or in the deployment or what. We think we need at least some
help in how to do 'readonly beans/transactions'.
Problem
I am definitely not an expert on that topic, but I'd like to add my
comments :)
For one, beans have the advantage of running in the context of the
server. So you can assume that JBoss will manage security and
transactions if you so desire. This by itself is already worth
something, IMHO.
You hav
On Thu, Apr 26, 2001 at 12:54:49PM -0700, Vishal Chawla wrote:
> Hello,
> I am following along the Interest ejb example from the documentation. I do
> everything as stated in the documentation, but when I run the InterestClient
> file, I get an error :
>
> D:\work\dev\ejbtry\interest>java -classp
I have a general (and likely simple) question about EJB's - session beans in
particular.
What are the advantages of a stateless session bean over a non EJB helper
class provided to clients.
Thanks,
-mike.
___
JBoss-user mailing list
[EMAIL PROTECTED]
THANKS for you responce!
i will definatly do that.
-roman.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Toby Allsopp
Sent: Thursday, April 26, 2001 11:59 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JNDI problems!
First, WTF does this ha
I meet the same problem before. it seems should double check ur beans class
and ejb-jar.xml file again to see if they match correctly...
-Original Message-
From: Vishal Chawla [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 12:55 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] S
As has been said so many times now: DON'T START A NEW THREAD BY REPLAYING AN OLD ONE!!!
/Lennart
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
I am new to Jboss and tried the Jboss2.2.1. I downloaded the
Jboss2.2.1-Tomcat3.2.1.zip and modify the jboss.conf as well as jbos.jcml in
both conf/default and conf/Tomcat directories. When I run it through run.sh
or run_with_Tomcat.sh, I got the following error
--
[OracleDB] XA Connecti
Hello,
I am following along the Interest ejb example from the documentation. I do
everything as stated in the documentation, but when I run the InterestClient
file, I get an error :
D:\work\dev\ejbtry\interest>java -classpath
d:\tools\java\JBoss-2.2.1_Tomcat-3.2.1\jboss\client\jboss-client.jar;d:
So why not RMI/IIOP and interoperate Corba objects as RMI objects? You get
to keep EJB/RMI and you get to speak CORBA. JNDI, then can be your friend
for publication and rendezvous of service. This is mho.
Sam
-Original Message-
From: John Camelon [mailto:[EMAIL PROTECTED]]
Sent: Thurs
This is probably a better question for a tomcat list.
> Arun Bhat wrote:
>
> I am using JBoss 2.2.1 with Embedded Tomcat 3.2.1. I tried redirecting
> to another jsp using
> servlet.getServletContext.getRequestDispatcher("path"); and
> requestDispatcher.forward(...).
> I get the following excepti
I have a custom MBean that adds a service to my JBoss container. Now I want
to be able to control that MBean/service from an EJB. For example send it
start(), stop(), restart(), or getStatus() messages. My basic goal is to be
able to provide a web interface for my users so that they can monitor
Hi,all:
I am using the Jboss to develop some application. Now I have 2 CMP entity
beans. and One entity bean has an composition relation with another. such as
class cmpBean1...{
cmpBean2 mycmpBean2 = new cmpBean2();
}
some one told me I should use the entity managend bean instead of CMP
the unfortunate aspect of my situation is that the CORBA component is a)
being developed concurrently (and thus not being legacy) and b) the more
"definite" technology choice for the moment. CORBA is a given (in fact, its
a standard for the piece i am integrating with); i need some sort of
applic
First, WTF does this have to do with JNDI?
On Thu, Apr 26, 2001 at 10:40:08AM -0700, Roman Brouk wrote:
> can somebody explain to me why if i have in my jboss.conf:
>
> CODEBASE="../../lib/ext/">
>
> VALUE="org.jboss.minerva.xa.XADataSourceImpl">
>
>
>
> then each time i start jboss
On Thu, Apr 26, 2001 at 09:51:03AM -0300, Miranda Carlos wrote:
> your String stDbName = "java:/inetbankDB"
>
> in your jaws.xml or standartjaws.xml put
>
> java:/inetbankDB
> your mapping
> false // for cmp
> ...
>
>
> in your initial context put prop :
> for exa
On Thu, Apr 26, 2001 at 05:38:58PM +0700, Nguyen Thanh Phong wrote:
> Hello,
>
> I think I have made something totally wrong but don't know what is wrong.
> Please help.
>
> I have configure DB2 to be bound to java:/DB2DS.
>
> In my ejb-jar.xml, I have
>
>
> jdbc/IdGenerator
I am using JBoss 2.2.1 with Embedded Tomcat 3.2.1.
I tried redirecting to another jsp using
servlet.getServletContext.getRequestDispatcher("path"); and
requestDispatcher.forward(...).
I get the following exception when i do the
above:
[EmbeddedTomcat] Servlet context:
org.apache.tomcat.faca
On Thu, Apr 26, 2001 at 11:15:26AM +0200, Prevosto, Laurent wrote:
> Hi,
>
> as mentioned in the documentation :
> http://www.jboss.org/documentation/HTML/ch10s03.html
> most of the ports are configurable.
> But is there a way to specifiy the IP addresses you want to bind on (*) or
> does jboss
Hi Daniel:
Thank you for the quick response. I currently have a jBoss based product
supporting 50 internal customer service reps. The beans report on things
like balances and such, and they need to be up to date. The cache manager
you are talking about, is it a customer manager you wrote, or o
Hi Wes :)
There is a thread that we started not too long ago on the topic. The way
we have handled it is by creating our own instance of a cache manager
for JBoss that is able to mark beans as dirty (thus are reloaded through
ejbLoad on the next call). We have JMS setup so that our "traditionnal"
John,
I believe that we may have similar problems to solve from your brief
description below. Our original solution was completely CORBA based. I am
also interested in others comments in the area. We are now rearchitecting
and taking a serious look as to why CORBA and why RMI. The "why RMI" i
"Scott M Stark" <[EMAIL PROTECTED]> wrote:
> Tobias Seeligner mentioned a better solution to having the user
> credentials passed to JBoss EJBs. He created his own Interceptor
> that performs the binding of the guest username and password using
> the SecurityAssociation class I mentioned. This a
can somebody explain to me why if i have in my jboss.conf:
then each time i start jboss the following lines are deleted from
jboss.jcml file?
I assume this might be the reason i can not find the pool through JNDI
"java:/mySQLDB" although when jboss starts it says that "XA Connection
I know I've seen some discussion of this in the past, but it never affected
me until today, and I am having no luck searching the archives. I would
like to know the best way to handle non-EJB modifications to the underlying
data of an Entity Bean. The bean is not reloaded until it is over aged.
I want to find out programmatically ( through a JNDI exposed object maybe )
information about the server's load.
Basic stuff, like how many beans are running, what types etc.
Also memory, processor ( if JBoss can tell me such things... ).
The more, the better.
Any help would be appreciated.
Thank
If you read the javadocs for javax.sql, you'll see that all the interfaces
there (except the event classes for some odd reason) are abstract. So
javax.sql doesn't provide a connection pooling ** implementation ** - it
defines only an interface.
The pooling implementation shipped with JBoss is ca
See the section "What is jboss.xml?" in the jboss documentation (online).
- Original Message -
From: "Maris Orbidans" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 26, 2001 5:04 AM
Subject: [JBoss-user] jboss.xml
>
> where can I get a description of subj. file
Hi,
I've an application where I need to implement item by item and bulk
updating of entity beans ie in some cases only a few entity beans are
getting modified and in other cases a very large no of entity beans are
getting modifed.
I intend to use commit-option A and since JBoss has pessimisti
Hi,
I am trying to install a oracle driver. Sofar I copied the driver file into
the lib/ext
and added the follwing lines in the jboss.jcml:
oracle.jdbc.driver.OracleDriver
OracleDS
org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
l
jdbc:oracle:thin:@localhost:15
Also, I used Acrobat to download the web pages to a pdf
file...if you have Acrobat you can do it that way.
Daren
On Thu, 26 Apr 2001, Filip Hanik wrote:
> check out the "manual" cvs module from sourceforge
>
> then just build it and voila, you have the docs
>
> Filip
>
> ~
> Namaste - I bow to
Download jbosstest.
- Original Message -
From: "Maris Orbidans" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 26, 2001 4:47 AM
Subject: [JBoss-user] BMP example
> hi
>
> Can I get some example of BMP entity beans for JBoss ?
>
> You can send to my email if
check out the "manual" cvs module from sourceforge
then just build it and voila, you have the docs
Filip
~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]O
binding on specific addresses
Yes, these are bound on all addresses. There is currently no configuration support to
bind to a specific address.
- Original Message -
From: Prevosto, Laurent
To: '[EMAIL PROTECTED]'
Sent: Thursday, April 26, 2001 2:15 AM
Subject: [JBoss-user] binding on s
>
> If I understand you right, I should override the
> getUsernameAndPassword() method of UsernamePasswordLoginModule and
> return new String[] { "guest", "guest" } if the callbackHandler is
> null instead of throwing an exception.
>
No, the UsernamePasswordLoginModule is typically used by the s
Hey,
> Simon,
>
> Your suggestion did not work. I disabled naming, no go. I also tried
> passing a properties object to new InitialContext for
> locating ejbs, and
> still no go.
>
> Any more suggestions?
As pointed out by Vincent Harcq, it can be a problem with beta3. Can you try
the lates
hello list:
one of the reasons that i want to use an application server such as JBoss is
to take advantage of the runtime environment that EJBs provide, particularly
the pooling and scaling aspects of EJB. also, the hot deploy mechanism is
much valued in the run-time scenarios i am looking at.
h
and then your URL should read 'java:comp/env/jdbc/mySQLDB' - no slash
between 'java:' and 'comp'
-danch
Nguyen Thanh Phong wrote:
>
> You have to configure the resource reference before you can use it.
>
> Put this into your ejb-jar.xml
>
>
> jdbc/mySQLDB
> javax.
Simon,
Your suggestion did not work. I disabled naming, no go. I also tried
passing a properties object to new InitialContext for locating ejbs, and
still no go.
Any more suggestions?
Mayank
-Original Message-
From: Bordet, Simone [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25,
Hi,
Is there FAQ or document on
how to run jbosstest against jboss
I download a snapshot of jboss and jbosstest.
Next what?
-Aswath
_
Get your FREE download of MSN Explorer at http://explorer.msn.com
_
Whilst testing our website with approx. 40 users I noticed that the JBoss
java process had about 110 threads. This struck me as quite a lot - my main
concern being how the system will scale with more users.
Are there any practical limits to the number of threads in a java virtual
machine. For ex
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 26, 2001 6:39 AM
Subject: JBoss-user digest, Vol 1 #328 - 10 msgs
> Send JBoss-user mailing list submissions to
> [EMAIL PROTECTED]
>
> To subscribe or unsubscribe via the World Wide Web, visit
Ingo Bruell wrote:
>
> Hi Rusty,
>
> RW> I noticed that AS/400 is listed on the supported platforms list. Does anyone
> RW> have any direct experience or know of any documentation that I should be
> RW> aware of regarding this platform. I'm using V4R5 with JDK1.2.2 soon to
> RW> upgrade to 1.3
The online browsable docs are great,
but i'd like to download them, they
don't seem to be packaged for downloading...
(I live in an area where a dial up connection
is the only choice)...
__
Do You Yahoo!?
Yahoo! Auctions - buy the things you wan
Is the 'tmp' directory (from jboss dist) in you JBuilder project's
classpath?
> jikai51 wrote:
>
> I exactly follow the every things in the howto article of jboss doc.
> but jbuilder can't startup jboss, it said can't find the jboss tmp dir
> what's wrong?
>
> [J2EE Deployer Default] Initializi
hello
When I try to create a BMP Bean from a servlet it throws an exception.
When I create it from an application it works. The same case with J2RI
server.
Any clue ???
Maris
javax.ejb.CreateException at
sd70092.ejb.regpaymentBean.ejbCreate(regpaymentBean.java:67) at
sd70092.ejb.regpaymentBe
Hi,
> -Original Message-
> From: aswath satrasala [mailto:[EMAIL PROTECTED]]
> Is there FAQ or document on
> how to run jbosstest against jboss
>
> I download a snapshot of jboss and jbosstest.
>
> Next what?
>
Start your jboss server.
Build the tests - using the scripts in src/buil
: Do not use char because the jvm has a bug with it.
IIRC rickard mentioned once that this bug is fixed in the new j2sdk1.3.1:
http://developer.java.sun.com/developer/earlyAccess/j2sdk131/
regards,
--andrius
___
JBoss-user mailing list
[EMAIL PROT
Hi Jakub,
JG> Hello
JG> I'm new user of JBoss and have a problem. I've created an EntityBean. Then
JG> runned it on JBoss. Everything was OK untill restart of JBoss. It started
JG> ok, created tables for my Bean. But when I runned a client for my Bean,
JG> and it tried to get it from database,
Title: RE: [JBoss-user] DB JNDI name
your String stDbName = "java:/inetbankDB"
in your jaws.xml or standartjaws.xml put
java:/inetbankDB
your mapping
false // for cmp
...
in your initial context put prop :
for example:
Properties prop = new Properties();
p
Hello
I'm new user of JBoss and have a problem. I've created an EntityBean. Then
runned it on JBoss. Everything was OK untill restart of JBoss. It started
ok, created tables for my Bean. But when I runned a client for my Bean,
and it tried to get it from database, I received exceptions:
java.r
MYSQL throws following exception:
any ideas ?
Maris
[RegpaymentBean] TRANSACTION ROLLBACK EXCEPTION:null; nested exception is:
javax.ejb.EJBException
[RegpaymentBean] java.lang.NullPointerException
[RegpaymentBean] at
org.gjt.mm.mysql.Buffer.writeStringNoNull(Buffer.java:391)
[RegpaymentBea
Hi,
I am developping a bean called RoadDataBean and I am writing some custom finders for
it. The data is stored in an SQL-Server database, dates are stored as long's.
The finder I'm working on, is as follows:
public interface RoadDataBeanHome extends EJBHome
{
...
public Collection find
I've followed the Sun tutorial on this and it waas very helpful. Take a
look at http://java.sun.com/jms/tutorial
The only problem I came up against was the JNDI name for the queue or topic.
The tutorial says to connect to QueueName or TopicName but in JBoss you have
to connect to queue/QueueName
Just one more things concerning debugging with VAJ...
In my case, debugging wasn't always working in VAJ. I had to modify
build.xml and recompile JBoss. The modification was to set to debug flag to
true.
Cheers,
Sacha
> -Message d'origine-
>
I had the same experince when I follow the instructions. You should add the
path of the tmp diretory to required libraries, too.
Ozgur
From: "jikai51" <[EMAIL PROTECTED]>
To: "jboss-user" <[EMAIL PROTECTED]>
Date: Thu, 26 Apr 2001 16:31:06 +0800
Subject: [JBoss-user] why i can't debug jboss2.2
Hello,
I think I have made something totally wrong but don't know what is wrong.
Please help.
I have configure DB2 to be bound to java:/DB2DS.
In my ejb-jar.xml, I have
jdbc/IdGeneratorDS
javax.sql.DataSource
Container
In my jboss.xml, I have
You can trace instead of debug.
Trace can be on and off on production, but debug can not.
SuperLogging allows you do source code level trace.
Try SuperLogging of Super from www.acelet.com.
It is free for open source (Jonas, jboss and j2ee-ri).
Evaluation edition is free for other servers.
SuperL
hello
Could someone tell me how to connect to a database from BMP bean.
Help would be greatly appreciated !
Maris
I got exception:
[RegpaymentBean] javax.naming.NameNotFoundException: inetbankDB not bound
In method:
private final String stDbName = "java:comp/env/inetbankDB";
..
Look here!
http://www.jboss.org/documentation/HTML/ch11s102.html
/Lennart
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Hello,
Please read the JBoss manual (!)
There is an how to on how to debug beans from VAJ. But I admit it, it is not
easy to find it as it is labeled:
"How to Run and Debug EJBs using jBoss 2.0 inside of Visual Age for Java
version 3.5"... :)
Furthermore, read the JBoss ML archives: a
1 - 100 of 113 matches
Mail list logo