Daren R. Sefcik wrote:
> I just got done battling that whole thing.
> I am using Jetty/JBoss and even though I can see thru
> the Admin/JNDIView page the java:comp env sees my env/MYDB entry
> it still will not work in my apps..I have to use the java:/MYDB
> namespace.
> Prerhaps I still don't ha
I just got done battling that whole thing.
I am using Jetty/JBoss and even though I can see thru
the Admin/JNDIView page the java:comp env sees my env/MYDB entry
it still will not work in my apps..I have to use the java:/MYDB
namespace.
Prerhaps I still don't have something configured properly,
bu
Ok I looked over the mail archive and the protocol for jboss is jnp:
that seems to work, However everytime I make a remote call from one server
to the next i get the following error
Cannot import transaction: TransactionImpl:XidImpl:[B@7eb11d
Should I be worried?
Everything seems to be working co
Greg Parker wrote:
> Thank you for your assistance.
> I want to make sure I understand the implications of this.
> If going I'm to establish my own connection string within the bean, this implies
> that I will be writing my own SQL code to go with it. Does this imply I can not
> implement CMP, on
[EMAIL PROTECTED] wrote:
> Hi All,
>
>Can some one help me out to know whether it is possible to do the object pool
>configuration using xml.
You're going to have to explain what you mean. The configuration in
jboss.jcml is already in XML format.
Toby.
__
Chidambara, Vinoth (CTS) wrote:
> DataSource ds = (DataSource)ctx.lookup("java:/TryDB");
You should be using the "java:comp/env/" namespace. See section 19.4.1.1
of the spec.
Toby.
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists
Guy Rouillier wrote:
> Toby, I haven't taken the time to dig into the minerva code. Realistically,
> how far away are we from JCA? It shouldn't take long to update minerva so
> that it uses the userid to get a connection for that userid (I'm thinking of
> a hash) - I could take a crack at that.
I'm a long time database user/programmer/manager (mainframe DB2 DBA for
several years) but fairly new to EJB and JBoss. It seems to me that if you
are using container managed transactions, you shouldn't be fooling with
autocommit (or transactions) at all. If you are using CMT, then by
definition
Hi, Toby.
toby cabot wrote:
> More data: AccountEJB.java from the Sun j2ee tutorial grabs a Connection
> in setEntityContext(), holds onto it until unsetEntityContext(), and
> uses it for all database work in the mean time. This doesn't seem to
> agree with the 1.1 spec (page 168) which shows e
Title: Lazy loading media in EJB
I wouldn't even try to model this part
of your application using EJB as it is not a fit. I would put the caching into
the image server that you have written. I would make the image server
responsible for detecting when the image has been changed in the image
Danch,
I am using the minerva wrapper. Just for kicks I am writing the
JDBCSourceBean as an EJB CMT. Have you tried the Oracle XA?
I am running JBoss 2.1
Southin
-Original Message-
From: danch [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 4:01 PM
To: [EMAIL PROTECTED]
Subjec
[EMAIL PROTECTED] wrote:
>
> I am having the same problem...
>
> A BMP entity bean with CMT.
> I turn off autocommit when I connect to the Oracle 8i (8.1.5) database.
> The Transaction never seems to complete.
> If I turn on autocommit, then the data is updated but cannot be rolled back by
> t
"Simphoukham, Southin" wrote:
>
> Guy,
>
> I am not using EJB for now, long story... but I will get this team there.
> What I am using JBoss for right now is the connection pooling and in the
> next release maybe JMS, JavaMail, and Connectors to SAP.
>
> I have spent the last 3 hours looking
[EMAIL PROTECTED] wrote:
>
> How about using some creative SQL like:
>
> pStatement = con.prepareStatement(
> "Insert into Attribute " +
> "(ID, Value, Display_Format, Attribute_Switches, Name, Type_ID) " +
> "Select max(id)+1, ?, ?, ?, ?, ? from Container ");
>
>
I am having the same problem...
A BMP entity bean with CMT.
I turn off autocommit when I connect to the Oracle 8i (8.1.5) database.
The Transaction never seems to complete.
If I turn on autocommit, then the data is updated but cannot be rolled back by
the transaction manager in the case of an e
Title: Lazy loading media in EJB
I have an bean-managed entity bean which reads an image from a custom multimedia repository. The image is stored inside my bean as a byte array and can be served to a web client via a servlet. The bean is read-only in regards to the repository, it is not used a
Guy,
I am not using EJB for now, long story... but I will get this team there.
What I am using JBoss for right now is the connection pooling and in the
next release maybe JMS, JavaMail, and Connectors to SAP.
I have spent the last 3 hours looking at the problem and it is like a ghost.
After turn
Hail all wizened jboss vetererans out there
I am trying to call one EJB deployed to a jboss-2.0 server from another EJB
in a different jboss-2.0 server. I seem to be unable to set up the jindi
name of the ejb-ref section in the jboss.xml file. Can anyone give me an
example of what protocol/url I s
I can see why you do not want the transaction to time out, but why does it
matter whether the bean is passivated? What does this effect, other than
performance? Doesn't the container activate the bean again as needed? I
would have to check the EJB spec, but I think a container is generally
within
How about using some creative SQL like:
pStatement = con.prepareStatement(
"Insert into Attribute " +
"(ID, Value, Display_Format, Attribute_Switches, Name, Type_ID) " +
"Select max(id)+1, ?, ?, ?, ?, ? from Container ");
pStatement.setString(1, value);
pStatement.s
Sounds like your change is being made but not committed. What type of EJB
is this? Are you managing your own transaction? Are you turning autocommit
off?
- Original Message -
From: "Simphoukham, Southin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 06, 2001 12:32 PM
Thanks Simon, it worked.
My objective is to control the passivation of the
beans by setting the transaction boundaries using the
methods UserTransaction.begin() and
UserTransaction.commit(). The bean should not get
passivated during this transaction period. However, I
find that JBoss passivates m
You'll probably want to look at EJBDoclet:
http://dreambean.com/projects/ejbdoclet/ . Granted it's not a GUI but I
think that's a feature, and if you use it with ant you can automate the
building of jars (and even copying to the deploy directory).
> I'm experimenting with knocking up a GUI edit
Toby, I haven't taken the time to dig into the minerva code. Realistically,
how far away are we from JCA? It shouldn't take long to update minerva so
that it uses the userid to get a connection for that userid (I'm thinking of
a hash) - I could take a crack at that. But if JCA is right around t
See the discussion Toby and I are having - probably not feasible for CMP
(though I haven't done enough with CMP to say authoritatively.)
- Original Message -
From: "Greg Parker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 06, 2001 11:02 AM
Subject: [JBoss-user] RE: (JB
Don't worry!! the problem is solved...
i forget a (fucking) dot !!
__
Jaume Soriano Sivera <[EMAIL PROTECTED]>
Tel: 96504 -ext. 44744 Fax: 965040047
Portal y servicios multimedia - Nuevas tecnologias
W a n a d o o E s p a n a - http://www.wanadoo.es
Hi:
JBoss is running!!
Now...
I've compiled the files InterestHome.java, Interest.java and InterestBean.java
put in the appropiate dir, created the ejb-jar.xml file in 'META-INF' and packed
with 'jar' (then i copy the jar file into 'deploy' dir, etc)
Then i've compiled the client (InterestClient.
Hi,
Has anyone run into problems on making an update to an Oracle table?
I have run into such a problem. I have created a preparedStatement and
called the preparedStatement.excuteUpdate. The update returns a value of 1
(which is good). I turn around and check to make sure it works in SQLPlus.
You seem to be missing the end Password attribute tag ().
I have just setup that driver with MSQL Server 7 and it appears to work fine,
I don't know if it will work with SQL Server 2000..but I would think so.
I would also just run a test app outside of JBoss to make sure the driver
works with the
"Taylor, Richard" wrote:
>
> Is there any static method exposed to initiate a shutdown of jboss. I
> realise that System.exit(0) does this but I cannot use it in this case.
>
> I have seen the Shutdown class in CVS that uses a URL to shut the server
> down but this is not of use to me either.
Go to the lib/ext directory where you have jBoss installed and you should
see the hsql.jar file. To run the database manager, do this:
java -cp hsql.jar org.hsql.util.DatabaseManager
And it will launch.
Jim
--On Friday, April 06, 2001 10:13 PM -0400 Pifen Ellwood
<[EMAIL PROTECTED]> wrote:
Check out dbVisualizer. It's not open-source, but it's free and you can use
it on any database that has a JDBC driver.
http://www.ideit.com/innovations/dbvis/
-Original Message-
From: Pifen Ellwood [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 9:13 PM
To: [EMAIL PROTECTED]
Su
Thank you for your assistance.
I want to make sure I understand the implications of this.
If going I'm to establish my own connection string within the bean, this implies
that I will be writing my own SQL code to go with it. Does this imply I can not
implement CMP, only BMP or Session beans?
Than
There's a new Shutdown class that I added just for this purpose. It's
org.jobs.Shutdown and is in run.jar. See
http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/jboss/src/main/org/jboss/Shutd
own.java?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=jboss for more
information...
-- Dewayne
---
...and here is Marc's response.
Cheers,
Sean
-Original Message-
From: marc fleury [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 10:22 AM
To: Sean Neville; 'Stacy Curl'; Rickard Öberg (E-mail)
Subject: RE: [JBoss-dev] JMX in jBoss, Clustering, Monitoring, Failover,
better bootst
Christopher Albert wrote:
>
> As for the patch JBoss-ECperf-patch-001.zip, It seems a bit confusing
> since there is considerable overlap between the contents of this archive
> and the contents of the JBoss-ECperf-001.zip file which it contains.
>
It is strange, but I thought it would be a go
From: "danch" <[EMAIL PROTECTED]>
> Emmanuel Sciara wrote:
> >
> > I would tend to agree with that. IMHO no commit means that you can
rollback.
> > It does not mean that you don't perform any actions what so ever.
> >
> > I guess the server could take one of two approaches (or both and leave
the
>
Thanks Chris: you are right...it was a tomcat version problem!
I'm executing Jboss correctly now.
__
Jaume Soriano Sivera <[EMAIL PROTECTED]>
Tel: 96504 -ext. 44744 Fax: 965040047
Portal y servicios multimedia - Nuevas tecnologias
W a n a d o o E s p a
[JBoss 1.2, JDK1.3, NT]
I am attempting to get a clean method of installing jboss as an NT service.
I'm almost there except InstantDB is hanging just before it says
[InstantDB] Started
If I run it from the batch file then it works fine.
Also please can someone clarify what InstantDB is used f
I'm experimenting with knocking up a GUI editor for EJBs that autogenerates
the home and proxy (client) interfaces as well as the deployment
descriptors. Imagine a tree at left and an edit pane at right that shows
either a property sheet for terminal children of the selected node or a
method body
Pelle Poluha wrote:
> Hello!
>
> I have a small problem when deploying a ear-file containing 6 ejb:s. I have
> placed my table definitions in the jaws.xml-file (including
> true so that
> the table would be removed when undeploying. I also have a jboss.xml
> containing the jndi-names of the bean
Hi,
I search the Hypersonic web site for the viewer program but can't find it.
Can anyone tell me if there is any Hypersonic DB viewer exists? Where can I
find it?
Thanks
Pifen Ellwood
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourcef
See the "How to Integrate Custom Services via MBeans" in
http://www.jboss.org/documentation/HTML/index.html
- Original Message -
From: "Tobias Seelinger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 06, 2001 4:37 AM
Subject: [JBoss-user] Missing DependencyManager
>
The dependency stuff is not used in 2.1/2.2. MBeans are simply started
in the order the occur in jboss.jcml
-danch
Tobias Seelinger wrote:
> Hi,
>
> it seems to me that changes in jboss.dependencies has no effect. I have
> found a DependencyManager in org.jboss.dependencies but it is not used
Is there any static method exposed to initiate a shutdown of jboss. I
realise that System.exit(0) does this but I cannot use it in this case.
I have seen the Shutdown class in CVS that uses a URL to shut the server
down but this is not of use to me either.
(This is basically trying to get a cle
More data: AccountEJB.java from the Sun j2ee tutorial grabs a Connection
in setEntityContext(), holds onto it until unsetEntityContext(), and
uses it for all database work in the mean time. This doesn't seem to
agree with the 1.1 spec (page 168) which shows example code grabbing and
releasing the
Hey Faisal,
Try doing the JNDI list with the given jndiView.jar and see whether your
bean is properly deployed when you use the embedded tomcat. Also check
whether you are logging to console or file and if you want set the logging
level to be DEBUG so that you see every bit of information.
--Swam
import javax.ejb.*;
import java.sql.*;
import javax.sql.*;
import java.awt.event.*;
import javax.naming.*;
import java.awt.*;
import java.util.*;
import java.rmi.*;
public class DatabaseBean implements SessionBean{
SessionContext ctx;
public void ejbCreate(){
}
I want to thank you
Vinoth.C for your quick response. However because I get these
messages in a batch file I can't read zips. I can read them if you
cut an passed one of the bean implementation into a
message.
Creighton
Kirkendall
<>
With Regards,
Vinoth.C
> -Original Message-
> From: Creighton Kirkendall [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, April 06, 2001 6:22 PM
> To: '[EMAIL PROTECTED]'
> Subject: [JBoss-user] Need Help With Connection Pools
>
> I am a little new to JBoss. Can anyone give me some
[EMAIL PROTECTED] wrote:
>
> Hello everybody:
>
> I've followed every step in your 'chapter10. howto' section to
> configure
> Tomcat with JBoss. When i run the script 'run.sh' i get the following
> error:
>
> [Service Control] Could not start DefaultDomain:service=EmbeddedTomcat
>
> [Service
I managed to get ECperf to build and deploy on RH 6.2 / jdk-1.3-fcs on the
RI server. (Hey, you got to start _somewhere_).
The Makefile was being very fussy about spaces.
I've also manged to "load" the Cloudscape DB. There were some problems
with the 'loaddb.sh' script.
I have some errors,
Tom Coleman wrote:
>
> Tom Daly wrote:
>
> >
> > Actually I was working on JBoss on Solaris and Linux 7 and got it working on
> > both platforms well at least I got one user running on both platforms. I
> > would be interested to try my build with the cloudescape schema and whatever
> > JDBC dr
Very true, and in accordance with the spec. EJB isn't about caching live
instances of data objects. Never has been. There are very few business
applications that have the luxury of sole ownership of their data. For those
that do, you may use commit option a or b, others must user c.
jim
- Or
I am a little new to
JBoss. Can anyone give me some sample code of a session bean or bean
managed entity bean accessing the database directly using JBoss's internal
connection pools.
Creighton
-Mensaje original-
De: Antonio Vazquez [mailto:[EMAIL PROTECTED]]
Enviado el: viernes, 06 de abril de 2001 14:23
Para: Jboss-User@Lists. Sourceforge. Net
Asunto: Problems with FreeTDS
Hi all,
I have some problems creating a connection pool using the FreeTDS driver.The
database server i
Hi All,
I have created my custom M Bean and plcaed in lib/ext directory.
This is working fine if i run jboss using java -jar run.jar command.
It is giving the exception "Class Not Found Exception
:org.jboss.util.ServiceMBeanSupport not found" if run jboss using the batch
file run.bat.
> > This is actually a frequently asked question. Change your commit option
to
> C
> > in standardjboss.xml. This will cause the beans state to be updated on
> every
> > transaction.
>
> OK Rickard, you've really got my curiosity piqued - where in the code is
> this particular miracle?
http://cvs
[EMAIL PROTECTED] wrote:
>
> Hello everybody:
>
> I've followed every step in your 'chapter10. howto' section to
> configure
> Tomcat with JBoss. When i run the script 'run.sh' i get the following
> error:
>
> [Service Control] Could not start DefaultDomain:service=EmbeddedTomcat
>
> [Service
Hi all,
I have some problems creating a connection pool using the FreeTDS driver.The
database server is MS-SQL Server 2000. I've followed the document "HowTo:
Use MS SQL Server with JBoss".I don´t know which is the problem.
The lines from jboss.jcml are:
org.hsql.jdbcDriver,org.enhydr
Hello,
>
> OK Rickard, you've really got my curiosity piqued - where in the code is
> this particular miracle?
>
I think there no magic here ;)
The container will simply reload the bean state each time the bean is
requested i.e. no more caching.
Cheers,
Sacha
Hi,
it seems to me that changes in jboss.dependencies has no effect. I have
found a DependencyManager in org.jboss.dependencies but it is not used.
It was called by Main.java till Revision 1.22. Could it be activated
again or is there another way to configure the list of MBeans ?
Tobias
__
Hello everybody:
I've followed every step in your 'chapter10. howto' section to configure
Tomcat with JBoss. When i run the script 'run.sh' i get the following error:
[Service Control] Could not start DefaultDomain:service=EmbeddedTomcat
[Service Control] java.lang.NoClassDefFoundError: org/apa
Hi All,
Can some one help me out to know whether it is possible to do the object pool
configuration using xml.
Highly appreciate your advice.
Thanks and regards
Chinnaswamy
Chequemail.com - a free web based e-mail service that also pays!!!
http://www.chequemail.com
_
Hi,
i already posted my question a few days ago but i had
have no answer to it.
i am using Jboss2.1-beta+Tomcat. I try to deploy a J2EE
application but i get an error msg from jboss.
i tried the same app.ear on a JBoss2.0-Final then i don't
get the error msg. So, is it a bug of Jboss2.1-beta
> This is actually a frequently asked question. Change your commit option to
C
> in standardjboss.xml. This will cause the beans state to be updated on
every
> transaction.
OK Rickard, you've really got my curiosity piqued - where in the code is
this particular miracle?
___
Hello!
I have a small problem when deploying a ear-file containing 6 ejb:s. I have
placed my table definitions in the jaws.xml-file (including
true so that
the table would be removed when undeploying. I also have a jboss.xml
containing the jndi-names of the beans. These to files have then been pl
Hi!
I tried to remove the j2ee.jar from the classpath and ended up with this error
when trying to build the petstoreEJB.ear
Executing Target: ear
[java] Calling com.sun.enterprise.tools.packager.Main
Myos = Windows 2000
[exec] java -
classpath ..\build\classes;..\..\components\mail\build\cl
This what happened:
My session,mcp and bmp beans are deployed as I can see in Jboss-2.1
console.When I try to call my bean home using a servlet or a jsp - beanHome
home =(beanHome)new InitialContext().lookup("my bean JNDI name") I don't
receive any answer . I tried most of the suggested configurat
> I have a question not seen before on any of the lists. I deployed
yesterday the first CMP bean in
> JBoss, works fine. The situation:
>
> The bean shows database records and is able to update. However the
database
> is also updated by legacy 4GL, as soon as this happens the beans don't
show
>
renej,
JBoss is software, not magic - even if it is amazing.
There are two ways JBoss could respond to changes in the data store
underlying your CMP beans. The first is for it to poll the data store. This
is not a good idea. It would place an unacceptable load on the data store.
The other way i
Hello Everybody,
I am trying to deply a BMP entity bean.
Well i am facing problem in defining Resource Manager. the behaviour i
observed is like this
1) I put my app jar file in deploy folder and started JBoss server then
it throws this errormessage
[J2EE Deployer Default] Create applica
Downloaded JBoss+Tomcat binary. Derployed my ear with no problems. When I
hit a jsp, jboss reports a compilation error, because I can't import from
ejb package. Any hint?
Thx
Francesco
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourcefo
73 matches
Mail list logo