Do you remove it by calling the database or the remove() of the entity bean?
if the former... look at your default standardjboss.xml and change the
commit option from the default of A. This presumes that the ejb has
exclusive access to the database. you want either B (caching but non
exclusive
you would still use a datasource... well unless you just want around the
whole transaction, connection pooling of the container... I cant imagine
why. I can whip together a quick simple example if you havent found what you
need yet... email me direct
Al
- Original Message -
From: Boris
Could someone show me config files to be used with Interbase?
I've tried to add this to jboss.jcml :
mbean code=org.jboss.jdbc.XADataSourceLoader
name=DefaultDomain:service=XADataSource,name=InterbasePool
attribute name=PoolNameInterbasePool/attribute
attribute
thanks guys; all under control now;
Chris Tragas
Information Services Manager
-
[EMAIL PROTECTED]
+61 3 9695 5711 direct
+61 3 0402 28 10 20 mobile
-
a t o m i c m e d i a
Leading Partners Online
Level 1 / 216 City
Hi jBossUsers,
I have 2 tables on two different DB (MySql -
PostgreSql).
How can I use CMP with 2 Datasources ? jaws.xml
and
standardjaws.xml don't let me specify more then 1
datasource
inside
With BMP I can get a connection from the pools
without problems
but how can I achieve it
Hi,
Can you send it to me, I wanted to add a small chapter on BMP to the docs
basically to explain how to use datasource.
I'll put your name and you will become famous :)
Thanks.
Vincent.
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de
Allen
I think this would be really cool too, however the events I am talking
about are I think an interbase specific feature - I think
Borland has a
patent on them, although I don't know the details. Can other
db's notify
you when rows change? What other sources of events are you
Not possible for the moment but somebody is working on it...
Please do not use HTML when sending mail.
Vincent.
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de Francesco
Marchioni
Envoyé : jeudi 28 juin 2001 9:32
À : [EMAIL PROTECTED]
Objet :
You _might_ also want to turn on the JAWS 'select for update' option
I think this will not work for Interbase (that I'm using at present time),
because, as far as I know, Interbase being optimistic from the roots does
not have such option. Pessimistic locking is obtained by the explicit UPDATE
Hi,
I've tried to add this to jboss.jcml :
mbean code=org.jboss.jdbc.XADataSourceLoader
attribute
name=Properties../conf/default/interbase.properties/attribute
I think this is the problem that causes exception
/mbean
Be sure
Hello Folks
This question comes up again and again and I must admit that it was a
pretty awkward thing for myself to figure out.
Big hand to Danch for pointing me in the right direction. What he
suggested works very well, so I've knocked up a quick Test CMP bean
for proof of concept. I reckon
Hi!
Go to Soruceforge
http://lists.sourceforge.net/lists/listinfo/jboss-development
Enter the email address the list emails get sent to into the last input
box and click the edit options button.
On the next page you will find a email my password to me button. Click
on it.
You will then
Hi all!
Our development environment is the following:
client in NT4.0--- JBoss 2.2.1 in NT4.0 with JDK1.3.1--- Oracle7.3 in
HP-UX 11.0,
the client is an applet, and we use the Plug-In 1.3.1. Everything runs
inside the LAN. The applet is downloaded from the same place where jboss is
running (we
--- Nicolai P Guba [EMAIL PROTECTED] wrote:
Hello Folks
This question comes up again and again and I must
admit that it was a
pretty awkward thing for myself to figure out.
Big hand to Danch for pointing me in the right
direction. What he
suggested works very well, so I've knocked up
Can we declare static methods in an EJB ?
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Hi,
I have a very simple test application with one war file and no ejbs.
Context root for the war is set in application.xml of the .ear to /
(ie. root); and in the web.xml I set url pattern to /mytest/*. The
only class of the whole application is one test servlet that forwards
each request to a
We have severe problems bringing stability to our Apache/Tomcat/JBoss based
application on Linux OS. Every thing seems to run stable while traffic is
low. But when traffic increases the VM forkes hundered of OS processes what
causes thousands (40,000) of open files. At the end all OS resources
all member variables need to be serializeble. If You need a non serializable
variable in Your bean, remove it on ejbPassivate and add it on ejbActivate.
Andreas
-Original Message-
From: Darius Davidavicius [SMTP:[EMAIL PROTECTED]]
Sent: 28 June 2001 11:19
To: Jboss-User@Lists.
Hi,
I 'm trying to access Oracle8i database through the
JBoss2.2.1 server.It throws a null pointer exception.I 've checked the db
instance name and user/password.
There has been a lot of queries regarding the same
problem .Can any one get me out of this?
Please let me know the exact
Please read the documentation on Sourceforge for CVS access again. If
you are using anonymous access you should be able to download the
manual module from cvs.
If all fails, email me personally and I'll sent you a zipped checkout.
Cheers,
Tobias
Michael P. McCutcheon wrote:
I'm running a
heh. No problem vincent. in all this i need to finish up my section of the
manual on oracle. its been a busy two weeks 8sigh*isnt that always the
case. ill bang out what i have this evening to you.
Al
- Original Message -
From: Vincent Harcq [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
This is the error you get when the JDBC-connection URL is not correct or
your database is not running.
try posting your config (jboss.jcml jdbc parts) and we can take a look.
you should add this :
attribute name=LoggingEnabledtrue/attribute
to your datasourceloader mbean and then you get
Thanks Marc I'll phone Germany today. I'll let them know what I think.
-Original Message-
From: marc fleury [mailto:[EMAIL PROTECTED]]
Sent: 2001 June 27 18:27
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] SwiftMQ and JBOSS
|Plugging in a module still requires the module to have the
On Wed, Jun 27, 2001 at 09:25:56PM -0400, Allen fogleson wrote:
it would just be a mess if you had to have method permissions for separate
users, and not very dynamic at all. thats what roles are for.
What I would have liked is a method in entity beans called
checkAccess() that would be called
On Thu, Jun 28, 2001 at 11:25:04AM +0100, Dan - Blue Lotus Software wrote:
Why not simply make a session bean with two methods...getRecord() and
getRecord(User user)...or something like that.
The first method signature would only retrieve data for the currently logged
in user. The second
On Thu, Jun 28, 2001 at 03:47:30AM -0700, Konstantin Priblouda wrote:
First, is there an easy explanation of the
difference between groups
and roles?
Role is an permission to do something. If I say,
that role admin is required to call this method,
only authenticated user holding
Hi all,
I have a question that I've seen a lot of answers, but every time was not
the right solution.
If I deploy an application .ear file that contain a web application .war and
some ejbs in one .jar file in a JBoss 2.2.2 with Tomcat 3.2.2 embedded
installation everything is deployed correctly
Hi,
Following exception is thrown when using JBoss2.2.2, please clarify
this.
Using Mysql DB.
Note: This same startup is working fine with JBoss2.0 .
How to resolve this???
[Service Control] Registered with server
[Configuration] Could not create MBean
?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;
!-- org.jboss.test.web package descriptor --
web-app
!-- ### Servlets --
servlet
servlet-nameENCServlet/servlet-name
Hi,
Following exception is thrown when using JBoss2.2.2, please clarify
this.
Using Mysql DB.
Note: This same startup is working fine with JBoss2.0 .
How to resolve this???
Starting
XA Connection pool WebNmsDB bound to java:/WebNmsDB
Stopped
java.lang.NullPointerException
at
Guys,
I am getting a strange malfunction in JBoss. I have successfully created an Oracle
DataSource and
bound it to OracleDB under java: namespace. Everything works fine when i start Jboss
using the
run.bat script. I could see in log that OracleDB bound sucessfully. But Jboss is not
binding
I understood roles. Sorry for not being clear about
that. What I
didn't get was the significance of groups. The
document I read stated
that roles are on an application level while groups
are on an
application server level - I didn't quite see the
purpose of the
groups.
I do not see it
On 2001-06-27 at 15:24 +0200, Philipp Meier wrote:
On Tue, Jun 26, 2001 at 04:14:43PM -0400, Michael Bilow wrote:
Fourth, the probability of a collision between your next randomly chosen
number and any prior randomly chosen number is going to follow a Poisson
distribution, which may not
there is another configuration file for the Tomcat-setup.
when you run standalone Jboss, it´s using the jboss/conf/default/ *
files
when u run the Tomcat setup it´s using the jboss/conf/tomcat/ * files
so you need to put your setup in the files there aswell if you are going
to use tomcat with
Hi.
Pay attention that when you are using jboss with embeded Tomcat he is using
a different configuration
directory, /jboss/conf/tomcat, so you have to modify also the jboss.jcml
file from tomcat conf directory
as you did with jboss/conf/default/jboss.jcml file.
I hope that helped.
Gabriel.
It is extremely common for firewalls to restrict access to certain well
known services using well known ports. For example, many ISPs no longer
allow direct connection to port 25 (SMTP) on a remote machine, and many
corporate firewalls take the approach of prohibiting anything which is not
How can I access JBoss from behind a firewall (i.e port 80 via HTTP). I had
a look at JBoss/ZOAP but unfortunately it is quite dead. Apparently one can
use SOAP from Apache. Anyone have some detail on getting it to work with
JBoss, or am I totally on the wrong track here?
Tx
Bani Greyling
Hi all,
I have managed to create an intermediate class file which now access the
session beans and my JSP file can successfully call the beans. I only have
one problem, which is I have to reference my class file in the JSP with the
full name (package and class) for example a file Login.class
Hi,
I have a server with virtual hosts already configured
with Tomcat 3.2. Please suggest to me is here any way
to install JBoss to one of virtual host only, do it so
that rest of virtual hosts still working under Tomcat 3.2
Thank you.
Best regards,
Alex
I apologize because this sounds like astupid
question, I've searched the archive on ClassNotFoundException and jar packaging,
but have not been able to come up with anything.
The problem I have is that I am trying to deploy
and ejb jar file that references classes from another jar. When I
Hi;
Anybody knows how can I integrate JBoss with JBuilder 4???
Thanks in advance.
Martin Cabrera
Dpto. de Informática.
Abitab S.A.
Montevideo - Uruguay
[EMAIL PROTECTED]
___
JBoss-user mailing list
[EMAIL PROTECTED]
Hi,
I am trying JBoss/Tomcat with several ejbs deployed as .jar and a web
application not deployed as a war but instead in tomcat/webapps/ROOT (it is
more easy for developement).
I have an entity PK class that is both in one ejb.jar and in tomcat/
I change it and redeploy my ejb.
I do NOT
It's totally non-functional for me. I tried to create an account, entered
all of the fields and hit the button, and then was simply returned to the
start page. I was expecting some sort of indication as to whether I was
logged in and, if so, as whom?
When I tried to login using the information
Have You included the import statement in Your JSP?
%@ page import=com.freeforums.webbeans.*%
-Original Message-
From: Devraj Mukherjee [SMTP:[EMAIL PROTECTED]]
Sent: 28 June 2001 15:04
To: JBoss List Serve
Cc: [EMAIL PROTECTED]
Subject: [JBoss-user] Beans Referencing
This is not a weak implementation. It is simply an implementation
choice. On Intel hardware, you are effectively limited to about 4000
threads, which is the default in Windows. If you need to do so, you can
increase the number of task slots available in Linux by editing
include/linux/tasks.h
This is an older article
http://www-106.ibm.com/developerworks/java/library/java2/index.html?dwzone=java,
but it has some good information and it may be of some help.
Rob
Hi,
I get the following error when running the test application in JBoss 2.4.0
BETA and JBoss 2.5 ALPHA:
Servlet calling EJB
Using jndi name NonOptimized: getMessage() returned:StatelessSessionBean
says: Hello World
Using jndi name Optimized: getMessage() returned:StatelessSessionBean says:
Title: CGI support in JBOSS?
Is there support for CGI under Jboss? I don't see any mention in the docs - please let me know.
Kevin:
Your question is how can I run Jboss as my ejb server, and still host CGI? Unless
you throw Apache into the equation, you should look at Jetty. If I remember
correctly, Jetty handles CGI, and jboss comes bundled with it.
Randy
From: Kevin Dombroski [EMAIL PROTECTED]
To: '[EMAIL
Hello,
just some more words concerning threads on windows...
Green threads are called Fibers under Windows. If you want to limit your OS
thread usage, you can use another JVM such as JRockit for example that
provides a many-to-one mapping of Java-Threads to OS-Threads. With this
JVM, I have
John:
If you try the test example jboss with the beta version
(www.mysite.com:8080/jboss), it produces a runtime exception, which I reported in this
list. Perhaps this is related, and it is a version issue.
Randy
From: John Patterson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Thu, 28
I was actually because the database was down.
The datasource was set with blocking=true.
Therefore it blocks whenever i try to obtain the connection
when the database is down. At startup time the datasources are
verified by obtaining a connection, so this blocks as well,
forever!
I didn't
Hey All,
I have a problem with Linux and Castor. Under NT the Castor example seems to
works fine but under Linux(jdk1.3.1, Jboss 2.2.2, castor 0.9.2) i get
following error:
[CastorJDOImpl] started
/usr/local/Jboss/bin/run.sh: line 27 12715 Segmentation fault java
$HOTSPOT $JAXP
That is not error. Its simply a trace of call through the container.
- Original Message -
From: John Patterson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 28, 2001 6:43 AM
Subject: [JBoss-user] RuntimeException in tomcat-test
Hi,
I get the following error when
Hey All,
I have a problem with Linux and Castor. Under NT the Castor example seems to
works fine but under Linux(jdk1.3.1, Jboss 2.2.2, castor 0.9.2) i get
following error:
[CastorJDOImpl] started
/usr/local/Jboss/bin/run.sh: line 27 12715 Segmentation fault java
$HOTSPOT $JAXP
On Thu, Jun 28, 2001 at 08:38:53AM -0400, Michael Bilow wrote:
On 2001-06-27 at 15:24 +0200, Philipp Meier wrote:
On Tue, Jun 26, 2001 at 04:14:43PM -0400, Michael Bilow wrote:
I am not sure I understand you at all. If you mean to suggest that the
primary key could be constructed by
Hi All,
I am trying Free TDS driver and unable to
run Container Managed Entity Beans.
Here is my Environment:
OS : Windows NT Workstation 4.0
Service Pack 6.0
JAVA: jdk 1.3
JBoss : 2.2
TDS Driver : 2.0
(FreeTds_JDBC.SnapShot.jar.2.0)
My Entity Beans are deploying fine. But when i try
Hi,
I got NullPointer Exception When try to create the Connection Poll
for MySQL DataBase, I have listed the changes what I made, whatz wrong
with my setup..Using JBoss2.2.2
Entries added to jboss.jcml
Step 1
!-- JDBC --
mbean code=org.jboss.jdbc.JdbcProvider
Is there
some sort of XML Validator in JBoss that would tell me more aboutwhat's
wrong with my ejb-jar.xml file. This file has worked in other serversand I
don't see anything wrong with my ejb tags, but JBoss doesn't likesomething
cause the [Verifier] complains and tells me to look at
Are you sure that you're running the 1.3.1 jdk and not the kaffe VM?
Some distributions installed kaffe in /usr/bin, so you might pick that
up first if it is installed.
-danch
Lungerich, Thomas, InfraServ Knapsack/DE wrote:
Hey All,
I have a problem with Linux and Castor. Under NT the
Just a hunch - try changing the descriptor so there aren't any newlines
in the elements that specify these classes. I.E.
ejb-classcom.neuroquest.cais.ejb.entity.build.BuildBean/ejb-class
-danch
G.L. Grobe wrote:
Is there some sort of XML Validator in JBoss that would tell me more about
As to the first, the login/register link in the upper right should have
changed to 'logout'
As to the other, what browser are you using?
Michael Bilow wrote:
It's totally non-functional for me. I tried to create an account, entered
all of the fields and hit the button, and then was simply
Found through some trial and error that more than removing a file from the
/deploy directory is needed to nuke applications. Deleting directories in
the /tmp directory is required as well.
Is there an undeploy automation coming? Something like dropping the same
.ear file used to roll out the app
Richard Bottoms wrote:
Found through some trial and error that more than removing a file from the
/deploy directory is needed to nuke applications. Deleting directories in
the /tmp directory is required as well.
what happens if you don't do that.
-danch
Hi,
Does Oracle 8i lite support socket based oracle jdbc drivers or it is more
of a in-vm DB?
Share some links?
Thanks,
Vladimir
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
[EMAIL PROTECTED] wrote:
On Thu, Jun 28, 2001 at 03:47:30AM -0700, Konstantin Priblouda wrote:
First, is there an easy explanation of the
difference between groups
and roles?
Role is an permission to do something. If I say,
that role admin is required to call this method,
only authenticated
what happens if you don't do that.
-danch
The app still shows up even after a restart.
r.b.
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Hi,
I got NullPointer Exception When try to create the Connection Poll
for MySQL DataBase, I have listed the changes what I made, whatz wrong
with my setup..Using JBoss2.2.2
I had the same problem. Please assign a password to the root user and try it
again.
Example: update user set
Yes, Sybase ASE is case sensitive as to table and column names. (SQL
keywords may be any case.) I beleive this is not unique to Sybase, but is
also the case in some other database servers such as Oracle. JAWS in JBoss
2.2.2 works properly, but Beta 2.4 does not... I get SQL errors, and the
I have installed these scripts successfully. The server starts up
fine. The problem is the shutdown, jboss doesn't shutdown properly when
issuing a /etc/rc.d/jboss stop
Looking through the scripts I noticed you are shutting the server down
with a kill -9. I don't think this is wise as this
Hi all,
I try to implement declarative security using Jboss.
Basic idea is to allow unauthenticated access to beans
placed under security domain.
( and those bean have to be secured )
When I attempt access from web context ( or client )
then container tries to authenticate.
( principal and
Hi all,
I try to implement declarative security using Jboss.
Basic idea is to allow unauthenticated access to beans
placed under security domain.
( and those bean have to be secured )
When I attempt access from web context ( or client )
then container tries to authenticate.
( principal and
On Thu, Jun 28, 2001 at 07:24:42PM +0200, Tristan Donaldson wrote:
Looking through the scripts I noticed you are shutting the server down
with a kill -9. I don't think this is wise as this terminates the
process immediately without allowing it to close itself.
Changing the kill -9 to
Michael Jara wrote:
Yes, Sybase ASE is case sensitive as to table and column names. (SQL
keywords may be any case.) I beleive this is not unique to Sybase, but is
also the case in some other database servers such as Oracle. JAWS in JBoss
2.2.2 works properly, but Beta 2.4 does not... I
Chris,
Just to be on the safe side, include all the jars from JBOSS_HOME/client, and also include the JBOSS_HOME/conf/default directory. The settings that your app is looking for are contained in the jndi.properties file located in the conf directory. It references classes contained in the jars
Hi all!
I'm using JBoss-Tomcat on a Linux box. *Seems* to start ok, ie. I get
[Default] JBoss 2.2.0 FINAL Started in 0m:21s.
When running make all and make package all is well.
When running make deploy I get the text below from JBoss
(= lines not included:)
Don't understand a thing in this
I cannot tell from your description whether the entity bean method's transaction
attribute is tx_supports. If it is, then JBoss should be throwing an exception
since setRollbackOnly isn't valid in this context.
--Victor
Michael Jara wrote:
FYI: I took a clue from bug #420714 an tried moving
I inserted some code to check the status of the rollback flag. So that
portion of my entity bean looks something like this:
System.out.println(Rollback Only status was: +
entityContext.getRollbackOnly());
entityContext.setRollbackOnly();
System.out.println(Rollback Only status is now: +
woops--i meant include all those jars and that directory in your classpath...
-Jason
[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
06/28/2001 01:48 PM
Please respond to jboss-user
To:[EMAIL PROTECTED]
cc:
Subject:Re: [JBoss-user] JMS test program,
Chris,
[EMAIL PROTECTED] wrote:
Can we declare static methods in an EJB ?
Yes, if it's not client-visible, i.e. part of the remote interface, and doesn't use a
static read/write field. The EJB spec does not permit static business methods or
non-final static fields, which belong at a higher
Hi,
Yust throw plain Home and Remote intefaces from the other jar into the jar.
Burkhard
- Original Message -
From: Mike Thompson [EMAIL PROTECTED]
To: jboss [EMAIL PROTECTED]
Sent: Thursday, June 28, 2001 3:00 PM
Subject: [JBoss-user] RTFM bait
I apologize because this sounds like a
David Jencks wrote:
Hi,
I find it hard to understand what you want.
jboss does try out connections from configured datasources on startup, and
hangs if they can't connect.
I don't see how this is a severe problem: if your datasource isn't working,
neither will your app.
When a
Richard Kasperowski wrote:
David Jencks wrote:
Hi,
I find it hard to understand what you want.
jboss does try out connections from configured datasources on startup,
and
hangs if they can't connect.
I don't see how this is a severe problem: if your datasource isn't
working,
Hi,
we encountered a strange problem using JBOSS 2.2.1.
By accessing certain Entity-Beans we encounter a LOCK_WAITING Problem which
occurs more often when we decrease the CACHE-Size
og JBOSS and appears less often when we increase the CACHE-Size of JBOSS.
Is there something known that there
You might want to take a look at a message I posted earlier which touches
on this issue in a Debian context and contains an example script:
http://www.mail-archive.com/jboss-user%40lists.sourceforge.net/msg07745.html
In our experience, usually jBoss will respond to SIGTERM (15) and shut
down
Hello,
I've been building a web site, adding things incrementally. As I've added
functionality, I've put jar files in the lib/ext directory of JBoss and they
have been found just fine.
Today I added some XSLT, and put the xalan.jar file in lib/ext, but I kept
getting ClassNotFound exceptions
Dan,
I didn't know about the url in jndi.properties RMI calls--thanks for the info.
I tried commenting that out again (I had had it uncommented), and ran into a weird problem with different JDK versions. (I just installed JDK1.3.1, so I looked here first)
With url commented JDK1.3.1:
I am still going through your tutorial, now customizing JAWS part. My custom finder
gives me empty
collection
whereas direct query gives normal 27 rows. What is wrong here?
--- client console--
artificialOrders = []
artificialOrders.size() = 0
--client code-
Is it possible for an EJB architecture to beat the performance or
scalability of a JSP/servlet/JDBC architecture?
Thanks,
Jim
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Apache+jboss+tomcat is ok, but you might want to checkout
Apache+jboss+resin(from www.caucho.com, a fast servlet engine)
-- SimonT
P/S: It would be great to integrate Resin with jBoss...
From: Jim [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: jboss-user [EMAIL PROTECTED]
Subject:
Marc, when you move to production, will the IDs and other data be retained?
Jim
--On Thursday, June 28, 2001 12:08 AM -0400 marc fleury
[EMAIL PROTECTED] wrote:
go try it out... it is working really well,
go post questions there...
http://www.jboss.org:8081/jive
there until the end of
91 matches
Mail list logo