thats really an XDoclet question... but I'll answer it anyway...
try
* @jboss:destination-jndi-name name="${my.queue.name}"
where my.queue.name is an ant property. You can then use load your ant
properties from a file if you wish
cheers
dim
- Original Message -
From: "Dushyant Shriv
I've tried to indicate this in most of my previous messages on this
subject.
Castor needs to close the connection handle in order for jboss to put the
connection back in the pool. Please look at the Castor code and find out
if this is taking place. I suggest you find every place connection.clos
Hi again,
I have a message driven bean with the following configuration
/**
* Message Driven Bean Template
*
* @ejb:bean name =
"com/yambay/nps/messagehandler/message/MessageConsumer"
* display-name = "Message Driven Bean"
* transaction-type
Hi,
I am doing something similar to the code that you have mentioned. I am
using Jboss 3.0 along with Castor. I have a simple stateless sesison
bean.
I am binding a dataobject using jdo-service.xml.
In my code, I am doing a lookup for the dataobject, dobj.
Then I am getting the database using
Title: (Retry) Problem with findByPrimaryKey
Hi,
I’m getting the following error when calling the default finder “findByPrimaryKey” for a CMP entity bean.
javax.ejb.FinderException: Find failed: java.sql.SQLException: ORA-00936: missing expression
Can anyone explain what this means and how
Title: Test
Title: Problem with findByPrimaryKey
Hi,
I’m getting the following error when calling the default finder “findByPrimaryKey” for a CMP entity bean.
javax.ejb.FinderException: Find failed: java.sql.SQLException: ORA-00936: missing expression
Can anyone explain what this means and how I can f
This link points to an area that really applies to Apache2 and mod_jk2 (or
proxy which has disadvantages). I was under the impression it (Jetty) would
work with mod_jk and Apache 1.3.
Tom Veldhouse
- Original Message -
From: "Jules Gosnell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc
I'm moving from 3.0.0 to 3.0.2 on the MacOS X 10.2,
java 1.3.1_01. I had the exceptions below from a fresh,
unmodified download. I decided to ignore the exceptions
and see if my stuff worked anyway, and it did. But, I
still have these nagging exceptions in the starutp log
I'd like to get rid of:
You can add anonymous depends elements in your jboss.xml ejb configuration
from the ejb to the mbean that represents the queue. This will make the
ejb wait for the queue to get deployed.
an easier solution is to put all the classes in the .sar file, and the ejb
jar file just contain the ejb-jar.
Title: Deploying Sars and jars
Hi guys,
I am trying to deploy a sar, which relies on some class files deployed by the jar. Invertly, an ejb deployed inside my jar, relies on the Queues being created first by the mBean deployed in the sar file.
So jar > sar --
Howdy
What i mostly did was implement the work that Robert Dingwell did on the
and posted to the dev list. I based mine against 3.0.1. I think i did
some minor tweaks as well to get it to fit into 3.0.1.
I have not seen any security issues come up yet.. But i also have not
worked over the t
On Thu, Sep 05, 2002 at 05:45:34PM -0400, David Ward wrote:
> [EMAIL PROTECTED] wrote:
> > You should instead download jboss 3.0.2, which has it included. I tried it, and
>got it to work after about 5 minutes :-), it is very easy, just follow the
>instructions in changenotes.
>
>
> Hmmm. Look
This is the method that I used...
but I find the JMX call very ugly, then I tryed to use DynamicProxy to
wrap all my MBeans,
but I had all kind of problems with ClassLoader...
anyway, now I create a Proxy class for each MBean, then all the EJB
calls are more 'natural'.
So far so good.
JMX is ver
http://jetty.mortbay.org/jetty/doc/JettyWithApache.html
I believe there is a fix for the AJP13Listener that has just gone into
Jetty CVS. If you have any problems, let me know and I will mail you a
build of this.
Jules
Thomas T. Veldhouse wrote:
> I have a few things running on Apache alrea
Dustin,
Is the ear too big/confidential to send to me (2mb or so tops)..
Could you reduce the problem to a manageable testcase ?
Jules
Barlow, Dustin wrote:
> I am attempting to move from Tomcat to Jetty and have run into a
> conf/deployment issue that I am unable to solve and was hoping for
> jboss 3.2 and 4 and possibly 3.0.2 all use xerces by default (and probably
> won't work with Crimson). If 3.0.2 uses Crimson by default you can put the
> Xerces jars in lib (NOT server/[config]/lib) and start with ./build.sh -j
> xerces.
Thanks...
I have it working now. Here was MY problem..
I was actually looking at it the other way around ... that the
scheduling service wouldn't bring down the mission critical part of my
app. This was the only real reason I had for decoupling things at this
time (though not a very strong reason for something a scheduler would
do). Also, making a
[EMAIL PROTECTED] wrote:
> You should instead download jboss 3.0.2, which has it included. I tried it, and got
>it to work after about 5 minutes :-), it is very easy, just follow the instructions
>in changenotes.
Hmmm. Looked at the change notes, and have a request and a question:
SNIPPET 1s
On 2002.09.05 15:51:41 -0400 Bruce Snyder wrote:
> This one time, at band camp, David Jencks said:
>
> DJ>xa has nothing to do with this. If your requirement is for long
> lasting
> DJ>interactive transactions, you need to do (2) or (I should have thought
> of
> DJ>this before) use stateful sess
I know work is currently under way of integrating axis-beta3 into jboss,
but thought you guys might want to know that axis-rc1 has been released.
Might be better to shift efforts that way.
http://xml.apache.org/axis/
Thanks for all your hard work,
David
---
Hi,
concerning the error, try the 2.4.8 which has several bug-fixes, some of
them related to Tx-Mangement.
As for commit() and rollback(): You may only use them in UserTransaction,
this is to say BMT (Bean Managed Transactions)
hth,
Burkhard
- Original Message -
From: "song chen" <[EMAIL P
This one time, at band camp, Gary Grobe said:
GG>I don't know if it's better to fully decouple a scheduler from JBoss or
GG>somehow implement it as a service which I'm kinda clueless about right
GG>now. I only know mbeans at their simplest level.
GG>
GG>Currently I'm thinking to make a standalo
Last month one of our customers called in and complained about
all his JBoss-clients not working. We dialed in to his JBoss-console
and saw that his JBoss had unexpectedly shut down.
The server.log looked exactly the same way as if someone had
pressed Crtl-C on the console.
We a
This one time, at band camp, David Jencks said:
DJ>xa has nothing to do with this. If your requirement is for long lasting
DJ>interactive transactions, you need to do (2) or (I should have thought of
DJ>this before) use stateful session beans, which should work with your
DJ>current method calls.
On Thu, 5 Sep 2002, Herve Tchepannou wrote:
> Seems to be a propriatary approach...
> I don't want my EJB to contains proprietary core, which will make them
> non portable.
> Is there any standard way to access JMX from EJB?
Yes, retrieve the MBeanServer ref through
MBeanServerFactory.findMBeanS
david, thank you so much for your replies. you've helped me out on more
than one occasion!
i think you hit the nail right on the head with my objectives. my current
goal is to get the authenticated identity from the middle tier, and use that
identity to make the connection to the back end datab
Solved it... For some reason the buildfile didn't include the correct
classpath. Thanks!
> Message: 7
> Date: Thu, 05 Sep 2002 15:10:53 +0530
> From: "rahul ganjoo" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Interest sample error
> Reply-To: [EMAIL PROTECTED]
>
> jbo
Hoping to get some more insight on how to implement a scheduler in JBoss.
I don't know if it's better to fully decouple a scheduler from JBoss or somehow implement it as a service which I'm kinda clueless about right now. I only know mbeans at their simplest level.
Currently I'm thinking to make
I don't know, but JMX is not part of J2EE
applications, that's what David means.
- Original Message -
From:
Greg Turner
To: [EMAIL PROTECTED]
Sent: Thursday, September 05, 2002 2:57
PM
Subject: Re: [JBoss-user] EJB/MBean
communication
No. Since not all app s
(buy and-) Read the CMP-doc.
On Thu, 2002-09-05 at 20:07, Saroj Kumar wrote:
> Hi All,
>
> There are 4 commit option A,B,C,D.
>
> What is the diff. between them and when should one use them?
>
> Forgive me for asking these basic questions.
>
> TIA,
> Saroj
>
>
>
> -
if you bind the MBean not in the EJB (but in another mbean for instance
or the mbean can bind itself in the tree) your EJB will be without
"proprietary" code.
- Original Message -
From: "Herve Tchepannou" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 05, 2002 1:18
No. Since not all app servers have JMX.
Herve Tchepannou wrote:
Seems to be a propriatary approach...
I don't want my EJB to contains proprietary core, which will make them
non portable.
Is there any standard way to access JMX from EJB?
Julien Viet wrote:
>look in the jboss sources :
>server/src
I once had this effect when not the following setting before calling
run.bat / run.sh:
set JAVA_HOME=...
set PATH= (with JAVA_HOME/bin in it, before any other JDK)
Enjoy,
Michael
---
This sf.net email is sponsored by: OSDN - Tired of th
On 2002.09.05 14:30:10 -0400 Bruce Snyder wrote:
> This one time, at band camp, David Jencks said:
>
> DJ>> If this is true, how can I expose UserTransactions out to a client
> so
> DJ>> that developers have the ability to start, stop or rollback
> transactions?
> DJ>
> DJ>1. (by far the best sol
jboss 3.2 and 4 and possibly 3.0.2 all use xerces by default (and probably
won't work with Crimson). If 3.0.2 uses Crimson by default you can put the
Xerces jars in lib (NOT server/[config]/lib) and start with ./build.sh -j
xerces.
david jencks
On 2002.09.05 11:55:42 -0400 Michael Stanley wrote
You can learn about options A, B and C in the ejb 2.0 servlet spec,
section 10.5.9, page 186:
10.5.9 Commit options
The Entity Bean protocol is designed to give the Container the
flexibility to select the disposition of the instance state at
transaction commit time. This flexibility allows t
Clients can do a JNDI lookup on a UserTransaction suitable for client use.
You can see the UserTransaction listed in the Global JNDI Namespace of the
JNDIView service available from the Agent View management interface. This
is also documented in the JBoss documentation that can be purchased for $
No. You can get a list of all the jmx servers in the vm from I think
MBeanServerFactory (?) and assume the one you want is the first, then
contact your mbean through the mbean server. There's a jboss util class
that finds the server for you in this way. JMX is not part of j2ee, so you
won't fin
This one time, at band camp, David Jencks said:
DJ>> If this is true, how can I expose UserTransactions out to a client so
DJ>> that developers have the ability to start, stop or rollback transactions?
DJ>
DJ>1. (by far the best solution) rethink your architecture using an
DJ>appropriate layering
This stuff is jboss 3/4 only, but should work fine in 3.0.2.
The CallerIdentityLoginModule is kind of between the ejb (or even jsp) part
of the app and the resource adapter/jdbc datasource. If you set up jca
(database, here) security using the JAAS framework, you use a login module
to supply the
Hello Saroj,
Recently I announced this feature. Try to search teh mailing list.
For now there is only UUID generator for 32-length keys.
There are two ways:
1. lookup UUIDKeyGenerator factory in JNDI;
create UUIDKeyGenerator;
call generateKey() method to get a new key;
2. declare prim-key-
Hi Alex,
Thanks for the mail.
How do I use the key? Any doc or sample??
TIA,
Saroj
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Alex
Loubyansky
Sent: Thursday, September 05, 2002 11:29 PM
To: Saroj Kumar
Subject: Re: [JBoss-user] PK Generator
Hel
Hi All,
There are 4 commit option A,B,C,D.
What is the diff. between them and when should one use them?
Forgive me for asking these basic questions.
TIA,
Saroj
---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone
Seems to be a propriatary approach...
I don't want my EJB to contains proprietary core, which will make them
non portable.
Is there any standard way to access JMX from EJB?
Julien Viet wrote:
>look in the jboss sources :
>server/src/main/org/jboss/naming/NonSerializableFactory.java
>it's describ
Hello Saroj,
yes, in HEAD. In default and all configurations.
HEAD version also supports uknown primary keys.
alex
Thursday, September 05, 2002, 8:41:36 PM, you wrote:
SK> HI All,
SK> Does JBOSS have one PK Generator?
SK> Any pointers??
SK> TIA,
SK> Saroj
---
Has anyone had any luck setting up Jboss to use Xerces v2 as their
default XML parser?
Has anyone set up Oracle 9i DB as the default data store for CMP beans?
Seeking sample configuration ...
Thanks in advance.
--
---
This sf.net email
thanks for the quick reply! i'll try and clarify my situation.
yes, this seems to be an EXTREMELY non standard request, and against a lot
of what i believe to be so great about J2EE, but trying to appease some very
difficult people.
our current setup is that an application is deployed with an
HI All,
Does JBOSS have one PK Generator?
Any pointers??
TIA,
Saroj
---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
___
Hi,
I'm using ZBoss 4.0.0 alpha to build some axis services. The problem I'm
having though is related to the EJB container. I have a stateless session bean
that throws an application exception (extending java.lang.Exception) and this
causes my transaction to roll back. I thought that only excep
On 2002.09.05 13:10:59 -0400 Bruce Snyder wrote:
> This one time, at band camp, David Jencks said:
>
> DJ>I really can't tell what you are doing from your description, and you
> DJ>appear at one point to imply that you have a BMT entity bean which is
> DJ>impossible.
> DJ>
> DJ>The spec is tryi
I am attempting to move from Tomcat to Jetty and have run into a
conf/deployment issue that I am unable to solve and was hoping for some
tips.
The ear file, which contains the war file, seems to deploy without any
errors on startup. The jboss.web section of the jmx-console shows that the
context
This seems like a rather non standard feature. As I understand it from
your description you can use the same database connection under several
security identities? What calls do you need to make to establish the
identity?
How do you plan to use this in a j2ee environment?
In jboss 3, it is alr
I am having problems bringing up agent view in 3.0.2
(http://localhost:8080/jmx-console). The jsp compilation gives class not
found exception for some classes in javax.servlet package. Also, unlike
3.0.0, which had a tomcat-service.xml in deploy directory, 3.0.2 does not
have any jetty-service.xml
On Thu, Sep 05, 2002 at 12:13:16PM -0400, Kim, Yong wrote:
> I think it's "Required".
Is someone sure about this?
>
> Mitchell
>
> -Original Message-
> From: Saroj Kumar [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 05, 2002 11:45 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-u
This one time, at band camp, David Jencks said:
DJ>I really can't tell what you are doing from your description, and you
DJ>appear at one point to imply that you have a BMT entity bean which is
DJ>impossible.
DJ>
DJ>The spec is trying to lead you, in a stateless session bean, to code ut
DJ>usage
Hi All,
I am trying to use "SEQUENCE BLOCK Primary KEY GENERATOR" as described
in Floyd's book. Jboss3.0 + ORACLE9i + win2k
I am getting this kind of weird error: "waiting for txLock"
22:16:53,139 WARN [TxCapsule] Transaction XidImpl [FormatId=257,
GlobalId=mdpcad110773//6, BranchQual=] timed
This one time, at band camp, David Jencks said:
DJ>I really can't tell what you are doing from your description, and you
DJ>appear at one point to imply that you have a BMT entity bean which is
DJ>impossible.
DJ>
DJ>The spec is trying to lead you, in a stateless session bean, to code ut
DJ>usage
Title: RE: CMP2 java.lang.Short mapping for Oracle 9i
Anthony,
It was a cast Exception..
Unfortunately I have to support existing code, so move to start support Oracle without changing
code is very painful.
I don't know if they fixed all bugs.
BTW, try debug version of jdbc driver(with suffix
has anyone used oracle proxy authentication from within jboss?
it allows for the application server to connect to the database through a
pooled connection, and multiple user sessions can connect with their
authenticated identities so oracle can extract correct audit information.
from what i'
I think it's "Required".
Mitchell
-Original Message-
From: Saroj Kumar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 11:45 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] What is the default Transaction Attribute??
Hi All,
We are reqrd. To declare TRANS-ATTRIBUTE for Be
You are using the connection outside an explicit jta transaction. if you
know this, you can ignore the message. Perhaps I should remove it. It's
designed to help people not do this:
Connection c = ds.getConnection();
UserTransaction ut = (look up ut)
ut.begin();//MUST BE DONE BEFORE CONNECTION
I really can't tell what you are doing from your description, and you
appear at one point to imply that you have a BMT entity bean which is
impossible.
The spec is trying to lead you, in a stateless session bean, to code ut
usage something like this:
ut.begin();
try {
//do something
} finally {
Hi All,
We are reqrd. To declare TRANS-ATTRIBUTE for Beans in ejb-jar.xml like
following.
Journal
*
Required
What if I don't declare the block for my
JOURNAL bean. What kind of
TRANSACTION will be supported by the container?
Is Default Value??
Hi All,
I faced a strange problem just now. Jboss3.0 + win2k + ORACLE9i + SSB +
CMP EB + classes12.zip
I have got a Session Bean which makes a call to an CMP Entity Bean to
Update the record. I pass some java.lang.Double Values
To the Entity Bean from Session Bean. In Session Bean, We convert
B
look in the jboss sources :
server/src/main/org/jboss/naming/NonSerializableFactory.java
it's described how to use it.
- Original Message -
From: "Herve Tchepannou" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 05, 2002 11:07 AM
Subject: Re: [JBoss-user] EJB/MBean
I have a few things running on Apache already, so I need to host my J2EE
sites through apache. I am looking to find how to configure JBoss 3.0.2 and
either Tomcat or Jetty to run with Apache (1.3, not 2.0 -- I have built
mod_jk.so for Apache 1.3). I am quite familiar with Tomcat, but I am new to
What's that? is there any doc available about NonSerializableFactory?
Julien Viet wrote:
>you could use maybe the NonSerializableFactory and bind your mbean into it.
>
>- Original Message -
>From: "Herve Tchepannou" <[EMAIL PROTECTED]>
>To: "JBoss User Group" <[EMAIL PROTECTED]>
>Sent:
Using JBoss 3.0.1 on RedHat 7.3, I have been stuck on the following
error for a bit and it's driving me crazy:
Application error: BMT stateless bean PlanLockService should complete
transactions before returning (ejb1.1 spec, 11.6.1)
This error occurs in an EJB that is doing BMP via class
you could use maybe the NonSerializableFactory and bind your mbean into it.
- Original Message -
From: "Herve Tchepannou" <[EMAIL PROTECTED]>
To: "JBoss User Group" <[EMAIL PROTECTED]>
Sent: Thursday, September 05, 2002 10:31 AM
Subject: [JBoss-user] EJB/MBean communication
> What is
I never resolved this issue. Does anyone else have any ideas or has anyone
seen this before?
Regards
Eric
-Original Message-
From: Eric Kaplan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 29, 2002 11:36 AM
To: Jboss-User
Subject: Unexpected server shutdown on startup with MDB on j
unsubscreibe
unsubscreibe
unsubscreibe
unsubscreibe
unsubscreibe
unsubscreibe
unsubscreibeMSN Photos is the easiest way to share and print your photos: Click Here
---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?
What is the best and portable way to access a MBean from an EJB?
I was wondering if I can lookup any of my custom MBean via JNDI from my
EJB ? (it seems to be cleanest way).
If not, how can I attach a MBean to the JNDI tree?
---
This sf.net
Can anyone suggest the most sensible isolation level to use for jdbc locking
when making JDBC calls to an Oracle 8i database?
Best Regards,
Anthony Geoghegan.
J2EE Developer
CPS Ireland Ltd.
---
This sf.net email is sponsored by: OSDN - Tired
I recive errors yet. Please, can you send-me?
Thank´s.
> -Mensagem original-
> De: David Jencks [mailto:[EMAIL PROTECTED]]
> Enviada em: terça-feira, 3 de setembro de 2002 12:18
> Para: [EMAIL PROTECTED]
> Assunto: Re: [JBoss-user] XDoclet jbosscmp-jdbc_xml.j
>
>
> I w
Maybe you could try JProxy: http://www.jproxy.com/
David
--
Nicolai Bieber wrote:
> Thanks for the hint.
>
> Unfortunaly this is not a option for a standard software company like us.
> With about 12 customer server installtions running throughout germany
> on 5 different OS / Database combina
On Thu, Sep 05, 2002 at 12:03:21PM +0200, Nicolai Bieber wrote:
> Thanks for the hint.
>
> Unfortunaly this is not a option for a standard software company like us.
> With about 12 customer server installtions running throughout germany
> on 5 different OS / Database combinations I estimate a JBo
At 11:03 03/09/2002 +0100, you wrote:
>Hi all,
>
>thanks for the help with eclipse! Now, on to the next problem: cocoon2
>with tomcat/catalina.
>
>Per some of the posts in the forum, jetty works with cocoon2, but doesn't
>with the embedded tomcat configuration.
>
>I found a posting on the xml-co
Hello,
i'm a new user to JBoss and this mail list.
In my programming, when try to read data from a
database (oracle 8.1.6), using Jboss 2.4.4, i got such
error at the server side:
[ERROR,XAConnectionFactory] Unable to deregister with
TransactionManager
java.lang.IllegalArgumentException:
Thanks for the hint.
Unfortunaly this is not a option for a standard software company like us.
With about 12 customer server installtions running throughout germany
on 5 different OS / Database combinations I estimate a JBoss 2.2.2 to
Jboss 3.0.x migration project would take about 20-30 developer
jboss-common.jar
Rishikesh Tembe wrote:
Hello,
this is the error I get when I try to run the Interest sample
application. Where can I find the missing class? And what exactly
is
it's function?
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jboss/logging/Logger
[java] at
Sobkowiak Krzysztof wrote:
> Can I find anywhere JSP (Servlet, EJB) manual?
http://java.sun.com/j2ee/docs.html
Benjamin
---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inp
Hello,
this is the error I get when I try to run the Interest sample
application. Where can I find the missing class? And what exactly is
it's function?
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jboss/logging/Logger
[java] at
org.jboss.invocation.Marshal
Hello,
I am trying to run a "Hello World" application.
The bean gets deployed successfully on the server, but when I try to
run the client I get the foll. error. (I have included the jboss.xml
file to indicate the JNDI mapping.)
Any ideas about what might be the problem?
output
---
Got Initial C
I had this problem too. Luckily it's a new app and I didn't have existing
code to support. I just changed all the fields to java.lang.Integer type.
That ojdbc14.jar has had a lot of bug fixes applied recently so I don't know
if it's the most stable or not.
It's a cast exception of some sort you
Hallo
Can I find anywhere JSP (Servlet, EJB) manual?
K. Sobkowiak
---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
__
Hello,
i'm a new user to JBoss and this mail list.
In my programming, when try to read data from a
database (oracle 8.1.6), using Jboss 2.4.4, i got such error at the server
side:
[ERROR,XAConnectionFactory] Unable to deregister with
TransactionManagerjava.lang.IllegalAr
87 matches
Mail list logo