Jim,
My comments below.
Hi,
I have made added some feature to the way dependant value objects are
mapped to table fields.
This is for example when I have a UserBean cmp entity bean that have a
cmp-field address of non primitive type Address, and I want to
store each
fields of
Hi all,
I will to make a simple client for JBoss .
I am working with VAJ 3.5 Enterprice.
My code is:
Properties env = new Properties();
env.setProperty(java.naming.factory.initial,
org.jnp.interfaces.NamingContextFactory);
env.setProperty(java.naming.provider.url,
Turning off the JIT has allowed JBoss to run at least an extra hour (and
that's without playing with the system time). The SCO Openserver JVM must
have a big surprise bug in their JIT implementation /big surprise.
Turning off the JIT will slow down JBoss, but that's probably not a problem
for
Hi all,
(could any replies to this come directly to me as well as the list please - I
get the list in digest mode)
I have a basic CMP entity bean that models a user's account in a system, and
I have a password field that I need to encrypt. This is a very simple
example, but you'll see my
Hi all,
Can you reccommend a high quality open source DB with high quality open
source java drivers available.
I have SQL Server but the docs said the open source drivers are not very
good.
Thanks,
Ivan
___
JBoss-user mailing list
[EMAIL PROTECTED]
I have a client app which is receiving the following exception
java.lang.reflect.UndeclaredThrowableException:
javax.transaction.RollbackException: Unable to commit, tx=XidImpl
[FormatId=257, GlobalId=sni5332061//12, BranchQual=]
status=STATUS_ROLLEDBACK
at
I have a client app which is receiving the following exception
java.lang.reflect.UndeclaredThrowableException:
javax.transaction.RollbackException: Unable to commit, tx=XidImpl
[FormatId=257, GlobalId=sni5332061//12, BranchQual=]
status=STATUS_ROLLEDBACK
at
build the lastName argument i.e. {0} with a % around it - for eg: %smith%. Should worok fine then. - Original Message - From:Carles Pi-Sunyer Sent:Thursday, May 03, 2001 3:08 AM To:[EMAIL PROTECTED] Subject:[JBoss-user] LIKE queries in cmp Is it possible to to create LIKE queries in a
Hello.
I have trouble integrating jboss and tomcat.
I have setup jaas on jboss, written client which uses jaas to get initial
context and it works ok.
How do I connect from JSP pages. Why can't I use Context ctx=new
InitialContext()?
If you have working setup of conf directory on jboss and conf
man nohup
Cheers,
R.
User Commandsnohup(1)
NAME
nohup - run a command immune to hangups
SYNOPSIS
/usr/bin/nohup command [ argument ... ]
/usr/xpg4/bin/nohup command [ argument ... ]
DESCRIPTION
The nohup utility invokes the
Hi,
byte is AFAIK a primitive type. To use it as Primary Key you need to to
define a helper class as primary key, which declares a byte var as it only
member. I had this problem when trying to use a GUID as Primary key
(VARBINARY(16)). Look like this:
public class GuidPK implements Serializable
Am not aware of any 'complete' integration options as-is but you can debug application in jboss from JB. Follow the instructions at http://www.jboss.org/documentation/HTML/ch11s99.html Vinay - Original Message - From:Adam Lipscombe Sent:Thursday, May 03, 2001 11:18 AM To:[EMAIL
This issue had been risen before, but was never fixed.
The problem is, *HandleImpl classes, such as
StatefulHandleImpl, in their getEJBObject() contain
such a code:
...
ContainerRemote container = (ContainerRemote) new
InitialContext().lookup(invokers/+name);
...
But wait!
Enterprise JavaBeans
Hello Sacha,
Thursday, May 03, 2001, 10:14:22 AM, you wrote:
SL You can try, for example:
SL - SAP DB : http://www.sapdb.org/
SL - Interbase or Firebird (http://sourceforge.net/projects/firebird)
SL - Postgresql (http://www.postgresql.org/)
That SAPDB looks really great.
Just testing... Our mailserver was hacked and blacklisted. :-(
Tim.
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
The three databases that are open and good:
Postgresql (www.postgresql.org)
Sapdb (www.sapdb.org)
Interbase from Boreland or Firebird (spinoff of Boredland).
Mysql is also good (www.mysql.com), but it is not as advanced as the other three, and
there is some controversy if it supports
You can't. JB4 only supports those app servers.
On the bright side, you don't *need* to integrate jBoss. Thee integration with
these other servers provides a means of compiling stubs/skeletons. jBoss has
thankfully saved us from this step, so the integration point you are seeking is
moot with
Interbase : www.interbase.com
They came in 2. on a major German source test. (Right after Oracle - but
ahead of MySQL and MSSQL)
JBoss won 2. place in open-source (after Tomcat!)
- René
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kemp
Hello,
I´m a newbie and I have a problem getting a database connection.
I configured the following in the jboss.jcml:
mbean code=org.jboss.jdbc.JdbcProvider
name=DefaultDomain:service=JdbcProvider
attribute name=Drivers
Hello,
I´m a newbie and I have a problem getting a database connection.
I configured the following in the jboss.jcml:
mbean code=org.jboss.jdbc.JdbcProvider
name=DefaultDomain:service=JdbcProvider
attribute name=Drivers
On 3 Maj, Saint-Martin Cécile wrote:
Hello,
I'm testing MDB with Jboss, i wrote a MDB wich destination is a durable
topic. When i stop ContainerFactoy service, Jboss clear all instances of the
MDB and it's OK.
But when i restart this service, it doesn't re-create the pool of MDB
**
From: Richard Feit [EMAIL PROTECTED]
To: JBOSS [EMAIL PROTECTED]
Subject: Re: [JBoss-user] env not bound when running petstore demo
Reply-To: [EMAIL PROTECTED]
OK, I ended up rebuilding and repatching petstore 1.1.1, and this time
when I deployed it everything worked. I haven't figured
You just can't have access to a data source outside of the container.
You need to get the datasource from within an ejb.
Francois
-Message d'origine-
De: Michael Baedorf [SMTP:[EMAIL PROTECTED]]
Date: 3 mai, 2001 09:50
À:[EMAIL PROTECTED]
Objet:[JBoss-user] not bound
This is a multi-part message in MIME format.
--InterScan_NT_MIME_Boundary
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Michael Baedorf wrote:
Now I try to look for the DB (not using a bean nor a servlet):
If not a bean or a servlet, what is this
Is there a web resource with the results of this test? If so could you post
the url please?
jim
Interbase : www.interbase.com
They came in 2. on a major German source test. (Right after Oracle - but
ahead of MySQL and MSSQL)
JBoss won 2. place in open-source (after Tomcat!)
I'm testing MDB with Jboss, i wrote a MDB wich destination is a durable
topic. When i stop ContainerFactoy service, Jboss clear all instances of
the
MDB and it's OK.
But when i restart this service, it doesn't re-create the pool of MDB
instances. Is it a bug?
Hm, it sounds like a bug. What
Hi,
I am facing a problem with an Entity Bean. My Application is getting
hanged. My server.log file is containing the follow entries in it.
[SecurityConfigSettingsBean] LOCKING-WAITING (TRANSACTION) for id 1 ctx.hash
7929530 tx:TransactionImpl:XidImpl [FormatId=257, GlobalId=MADHU//37,
Hello,
I need your help in finding out:
For an ejb, let's name it X, how many instance of it are created at a
specific moment in time.
Or anothe way to put the question: i want to know how many users are
accessing the X ejb at a momnet in time.
Do you have any ideas?
Thanks for your help.
Thanks for the reply. What I need is to use jnp as a general purpose naming
service. We just need to store up to a hundred entries and only need
naming, so, we do not want to get into a separate naming/directory
service/server.
The following is an example code (based from JNDITutorial). The
Any body can help to fix this problem.
Service Control] Registered with server
[Default] java.lang.SecurityException: sealing
violation
[Default] at
java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
[Default] at
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
Hey,
there is no problem.
You can reduce the log's size by removing the Debug option from the file
logger in jboss.conf
HTH,
Simon
-Original Message-
From: madhu [mailto:[EMAIL PROTECTED]]
Sent: giovedì 3 maggio 2001 16:59
To: [EMAIL PROTECTED]
Subject: [JBoss-user]
Hi,
I use jBoss 3.2.1 on NT Windows 2000. I want to make jBoss as one of NT
services. I would be very appreciated if anyone has done this and mail me
information.
Helen Hwang
678-942-2939
___
JBoss-user mailing list
[EMAIL PROTECTED]
Hi,
I am trying to deploy a jar file which contains a few EJBs, however I am
getting th efollowing error message:
[Container factory] Deploying TariffSession
[Container factory] org.jboss.ejb.DeploymentException: Error in
jaws.xml for Ent
ity Discount: expected one name
Hi All,
I am facing a problem with Message Queue. My application architecture is
like. A servlets receives requests and puts requests in a queue and returns.
Then a message listener is attached to this queue which will pick up the
messages from queue and processes it.
This is working fine if
Hi Juan,
try nohup ./JBoss2.2.1/bin/run.sh
This should keep the terminal group from axing your JBoss subprocess when
the terminal exits.
Jim
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Juan Arraiza
Sent: Thursday, May 03, 2001 2:03 AM
To:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thanks, that was enlightening. :) So...is this problem a bug in
JBoss?
-Original Message-
From: Burkhard Vogel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 3:48 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Invalid
Hi,
Firebird is at firebird.sourceforge.net
Interbase can be located at www.borland.com
Some comments on these:
Apparently Interbase(R, trademark of Borland) is no longer free, at least
for certified versions available from Borland. It is very unclear to me
what certified means. Although
Try looking up java:/MySqlDB Should work.. Vinay - Original Message - From:Michael Baedorf Sent:Thursday, May 03, 2001 3:06 PM To:[EMAIL PROTECTED] Subject:[JBoss-user] not bound problem Hello,I´m a newbie and I have a problem getting a database connection.I configured the following
In their infinite wisdom :) JBoss designers decided to use the automatic
proxy mechanism provided with jdk1.3 and thus got rid of the need for
stubs altogether.
HTH,
Daniel
-Message d'origine-
De : Adam Lipscombe [mailto:[EMAIL PROTECTED]]
Envoyé : 3 mai, 2001 11:02
À : [EMAIL
See http://www.jboss.org/documentation/HTML/ch10s03.html
for port configuration.
- Original Message -
From: Larchet Vincent [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 03, 2001 8:03 AM
Subject: [JBoss-user] set Port number
Hi all,
I want to use jboss from behind a
Hi Folks,
I have a serious problem with JBoss-2.2/2.2.1 running on my Linux box
(SuSE 6.4): The first lookup for a certain bean after a server restart or
redeployment always hangs. This happens to my own beans but also to
the provided tomcat-test application.
I spent a day reading the jboss
Having done this, is there a way to shut down JBoss gracefully, so it has a
chance to shut down everything that is running in a controlled fashion? Or
do you just kill the process, and hope for the best?
- Original Message -
From: Jim Brownfield [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Hi,
you do not need to define findAll method in jaws.xml, it is magic.
Anyway, your definition of finder method is not correct at all.
Review the doc
Vincent.
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de Roman
Brückner
Envoyé : jeudi 3 mai 2001
EJBs are single-threaded. The container will create as many as it thinks it
needs to service requests. If an instance is available and unused, that
instance will be used. If not, the container may create another instance.
I don't think the specs dictate how a container is to manage the
Hi,
I need to deploy same beans in different jar files in same JBoss instance
(I'm using JBoss 2.0 FINAL). These beans implement user account bases, and I
need two different account bases.
To acomplish this, I use ejb-ref reference in the ejb-jar.xml and
appropriate ejb-ref in jboss.xml
Hi all,
I'm going to handle approximately 100,000 entity beans with simultaneous
access approximately 1-10 bean accesses per second.
Is JBoss 2.0 FINAL capable handling such amounth of entity beans?
And what database would you recommend to handle such load?
Thank you in advance,
Roman
Hi everybody!
we are using JBoss for a workflow - management - system,
we were developing since july last year, went to production in january and
this week we were celebrating our 100.000th processed document, so i decided
its time to thank all developers and contributers for their great work
Is it possible that this has something do to with the finder, that there
is a name tag required?
-Ursprüngliche Nachricht-
Von: Roman Brückner [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 3. Mai 2001 17:29
An: '[EMAIL PROTECTED]'
Betreff: [JBoss-user] [JBoss-user]expected one name
Hi
Can you recommend a high quality open source naming/directory server with
jndi naming or preferably directory
support, and preferably using ldap service provider?
I understand that there is openLdap, but it is only for *nix. Win2K's
active directory is one option, but need to install the
Hi all,
I'm trying to query a MS SQL database in a stateless session bean, using the following
code:
String myDriver = com.inet.tds.TdsDriver;
String url = jdbc:inetdae7://onuris.groept.be?database=JFK_CarTracker;
String loginname = 710521079;
String password = 710521079;
Hi,
I read in the documentation how to write custom finders, but i can't get them to work.
I'm using MS SQL Server as a database with JBoss 2.0.
Does anyone hes excperience (or examples) with custom finders ?? Is there anything
special i have to do, except from what's explained in the
Hi again,
I've solved the problem. It has nothing to the external references at all.
The problem was with JAWS descriptor, it caused the incorrect SQLs to be
issued:
My bean has composite primary key: {byte[] accountId, String groupName}.
During create(byte[] accountId, String groupName) JBoss
Title: RE: [JBoss-user] Re: Unable to load a ResultSet column into a variable of type '[B'
Dmitri,
If I understand what you are doing there is another approach instead of
attempting to store a byte[]. Take the encrypted byte[] and run it through
a Base64 conversion and out pops a String
- Original Message -
From: Adam Lipscombe [EMAIL PROTECTED]
Do you mean that jBoss does not need stubs?
Not in a generated sense. The jBoss client stubs are dynamic proxy classes that
can communicate with any deployed remote object.
Why does the Inprise App server need them and not
Yeah, I am watching the jboss log, and do not see any new information
traced. Are you using postgres? If so, I'm curious about the version and
the driver version.
Thanks,
Scott
It would be logged to the JBoss logging system (it's either stderr or
stdout) so, check your JBoss logs...
You might also try sucking down as much memory outside the process as
possible to see if that is an issue as well.
--- Jim Brownfield [EMAIL PROTECTED] wrote:
Ohhh, thanks, that might work!
Jim
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Hi,
You are using a highly inappropriate method for getting a connection in an
enterprise application. Normally one uses pooled connections in an ejb
container. I suggest you read the jboss documentation concentrating on the
howtos on MSSQL and Richard Monson-Haefel's examples. I believe he
Hi,
How do I obtain connection from the connection pool.
I am using oracle database, and oracle thin driver.
I get connection if I look up the Datasource ::
InitialContext jndiContext = new InitialContext();
javax.sql.DataSource ds = (javax.sql.DataSource)
Thanks! Another good suggestion, but I think I've found a workaround. I
disabled the JIT compiler on SCO Openserver's JVM, and JBoss has been
running successfully since (albeit slower). For now, the speed decrease is
not a problem (I think! ;) ). We will be porting to Linux as soon as we get
What do you mean by reference names does not start with ejb/? What does
you lookup call look like? It should be something like this:
DbSourceHome home = (DbSourceHome) new
InitialContext().lookup(java:comp/env/ejb/guyr/DbSource);
This would be accompanied by the following in
Use this in your code:
Connection connection =
((DataSource)(new
InitialContext()).lookup(java:comp/env/jdbc/metricsDB)).getConnection();
And this in your jboss.jcml:
!-- JDBC --
mbean code=org.jboss.jdbc.JdbcProvider
name=DefaultDomain:service=JdbcProvider
The jnp implementation does not support persistent storage of bindings. You
will have to federate with some other JNDI provider that does this.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 03, 2001 7:52 AM
Subject: use jnp as general purpose
Hi,
I have an environment with NT 4 + Apache 1.3.12
+ Tomcat 3.2.1 + JBoss 2.2.1. I already had Tomcat
installed and working fine when I installed JBoss.
Then, because my env is for development, I decided
to run Tomcat independent from JBoss, not starting
both together.
I made an Application, a
Greetings
I've got jBoss running with MS SQL server for CMP no problem. (The
documentation team should take a bow) It's set as my default pool.
But when I try to get a DataSource from the pool things get weird.
If I start jBoss up I get this message
[Container factory]
On 2 Maj, [EMAIL PROTECTED] wrote:
Never mind. I see that one must close one's QueueConnection, or the main
thread won't die. Perhaps the test case should be updated by someone with
permissions.
OK. Fixed!
//Peter
Wes
-Original Message-
From: [EMAIL PROTECTED]
On Thu, May 03, 2001 at 01:55:54PM -0600, Dave King (WebEKG) wrote:
Greetings
...
resource-ref
descriptionthe db for key
sequences/description
res-ref-namejdbc/sequence/res-ref-name
Hi,
Some note to the webmasters of jboss.org
Some links on the jboss-site can't be opened with opera
Greetz-tbone
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
I hate to admit it, but SQL Server 2k is not a bad way to go overall, and
you are right, the open source drivers for it suck (at least from what I've
seen). Check out the following link for a list of commercial drivers:
http://industry.java.sun.com/products/jdbc/drivers. You can get a decent
I started to watch JBoss' stderr (which doesn't get traced to the log file
with my setup), and did notice the following errors. I have tried
refreshing this many times, but still have the same problem.
2001-05-03 02:51:39 - ContextManager: JDBCRealm: The database connection is
null or was found
Since ^C supposedly shuts JBoss down gracefully, you should be able to
execute kill -INT procid where procid is retrieved from a ps
command.
Jim
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Guy
Rouillier
Sent: Thursday, May 03, 2001 9:11 AM
Yes, jnp properly resovles references of type URL.
- Original Message -
From: Sam Yan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 03, 2001 1:24 PM
Subject: RE: [JBoss-user] Anyone know how to federate across multiple jnp ...
I looked for the example and must have
You need an entry like this in your jboss.xml that gets jarred up with your
ejb code:
resource-managers
resource-manager
res-jndi-namejava:/sequence/res-jndi-name
res-namejdbc/sequence/res-name
/resource-manager
/resource-managers
- Original Message -
From: Dave
I tried this by starting in one console, then issuing the command you
provided in another. It seems to work - thanks!
- Original Message -
From: Jim Brownfield [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 03, 2001 6:34 PM
Subject: RE: [JBoss-user] problems launching
All,
I was able to resolve this issue. The problem was some bugs in the
JDBCRealm.java file in the tomcat distribution. Basically, if you use the
userName and password directives, and need to restart, it doesn't work
properly. There were also some other issues with restarting and prepared
Hi, veteran.
Can someone explain to me why I got this problem?
I used Jar tool to generate a EAR file that contains one jar file and
one war file, and meta-inf/applicatoin.xml deployment descriptor. But,
everytime when I put the EAR file to deploy folder of JBoss+Tomcat ver
2.2 and always got
Try making an ear file containing the ejb-jar file and a war file, which
in turn contains your servlet. The servlet will then see the interface
classes directly out of the ejb-jar file. look at the tomcat test .ear
file in the jboss-tomcat distribution (or get it out of the contrib
module in
I am working on an
application where I am trying to pass a non ejb ojbect to an
EJB.
I have a session
bean that I am trying to pass the following "structure" to my session
bean.
import
java.util.*;import java.io.*;
/** This is
basically a file of structs that we will use in the Po app
That is what I mean yes.
Take a look at http://www.jboss.org/documentation/HTML/ch05s07.html
Regards.
Vincent.
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de Roman
Brückner
Envoyé : jeudi 3 mai 2001 18:37
À : '[EMAIL PROTECTED]'
Objet : Re:
Please
ignore my last post...I see that overriding a method with a
blank
method really messes things up for object serialization...
:-)
Kevin
-Original Message-From: Kevin Meldorf (NBK)
Sent: Wednesday, May 02, 2001 3:55 PMTo:
'[EMAIL PROTECTED]'Subject: Passing structures to
On Wed, May 02, 2001 at 04:54:48PM -0400, Kevin Meldorf (NBK) wrote:
private void writeObject(java.io.ObjectOutputStream out)
throws IOException {}
private void readObject(java.io.ObjectInputStream in)
throws IOException, ClassNotFoundException {}
!!!
...
When my ejb gets
I just want to load a config file (or a servlet) when i
start JBoss ... Is it possible ???
I know how to do that wit tomcat but i don't find nothig
for jboss
__
Boîte aux lettres - Caramail - http://www.caramail.com
Hi ,
i am new to Jboss user list and to Jbss too..
can anyone tell me whats is ejb-jar.xml iwas not able to find it anywhere in
the jboss downloaded bundle ..
And teh other thing is how to connect to an Oracle 8.0 database through
Jbosb..
please help its urgent
regards
abhinav
- Original
82 matches
Mail list logo