[JBoss-user] cann't get a connection from outside of the jboss container.

2001-04-07 Thread Ed Aihua Wu
Hi, I am using jboss 2.1 and I am trying to get a connection from the jboss connection pool. I have installed a jdbc driver in jboss, then I started the jboss, I can see my driver is started. [mySQLDS] Starting [mySQLDS] XA Connection pool mySQLDS bound to java:/mySQLDS [mySQLDS] Started My jav

Re: [JBoss-user] help about oracle

2001-04-07 Thread Guy Rouillier
Title: help about oracle Many people are using JBoss to talk to Oracle.  Can you be a little more descriptive about the failure?  What sqlcode are you receiving from Oracle?  What type of query are you doing? - Original Message - From: Ì·ÖÐÒâ/eNet/¼¼Êõ²¿/ÍøÂ翪·¢¶þ²¿/ÏîÄ¿¾­Àí

Re: [JBoss-user] Re: Deployment problems

2001-04-07 Thread Guy Rouillier
Not trying to be uncooperative, but your description doesn't give us much to go on. Can you start with the InterestEJB downloaded from the web site, just to make sure you're not introducing some coding bug? Deploy the jar that comes with the download, then show us the complete output from the jb

Re: [JBoss-user] Re embedded tomcat jboss-2.1

2001-04-07 Thread faisal
Hi Swami I checked the jndiView -It is only available in Jboss2.0 Now It is about one week I could not manage to make it happen this is a message I get when I try to test Jboss2.1 using a JSP and session bean: javax.naming.CommunicationException. Root exception is java.rmi.ServerException: Re

Re: [JBoss-user] Propagating JAAS subject

2001-04-07 Thread Scott M Stark
> Is there a J2EE specified way of propagating a logged in Subject from > thread to thread in a client? ... > > I would like to do the same thing in JBoss, but in a portable way. > I.e., it would be best if this would work in WebLogic and other app > servers too. > There is no standard mechan

Re: [JBoss-user] Solving Oracle Connection Pool Hanging

2001-04-07 Thread Tim Taylor
I tend to agree that the JBoss-blocking behavior of incorrectly set up XADataSources is a bug. I ran into this too, and judging from the number of "Oracle pool hanging" messages on this list, a lot of people are running into it. I think it happens at the end of the pool creation when XADataS

[JBoss-user] Propagating JAAS subject

2001-04-07 Thread Tim Taylor
Is there a J2EE specified way of propagating a logged in Subject from thread to thread in a client? The most important use I have for this is that I want to start some MBean managed services in the same VM as JBoss. These services are JBoss clients in that they use JBoss resources like EJBs,

[JBoss-user] using keyword 'this' in EJB?

2001-04-07 Thread Crothers.Dean
Hi, here's a question regarding when and if you can use the 'this' keyword in EJB programming. Firstly, I'm aware that you should use the EJBObject interface to get remote references to your EJB, and that reentrant programming is discouraged. However, in the case when the flow of execution is

[JBoss-user] Re: Deployment problems

2001-04-07 Thread Victor Langelo
I'm having the same problem with the JBoss/Tomcat bundle as Steve Wisener. I'm running JBoss on Windows NT 4.0 sp5 and JDK 1.2.2 and JDK 1.3. Basically any jar file I drop in the deploy directory is ignored. I've got ejb.jars that deploy in other EJB 1.1 servers. Sorry, but I don't have any clues

[JBoss-user] Table not fund while the table has been created in Hypersonic

2001-04-07 Thread Pifen Ellwood
Hi, I am writing BMP entity bean using default Hypersonic and InstantDB JDBC driver from jboss I've specified java:/InstantDB in the jboss.xml and In the ejb-jar file, I also specified jdbc/InstantDB I am able to get the connection via: Context jndiCntx = new InitialContext(); DataSource ds = (D

Re: [JBoss-user] try to run Petstore-Example (fwd)

2001-04-07 Thread Tom Coleman
Forwarded message: > From [EMAIL PROTECTED] Sat Apr 7 15:12:18 2001 > From: [EMAIL PROTECTED] > Message-ID: <[EMAIL PROTECTED]> > Date: Sat, 07 Apr 2001 21:13:07 +0200 > X-Mailer: Mozilla 4.7 [de] (WinNT; I) > X-Accept-Language: de > MIME-Version: 1.0 > Subject: Re: [JBoss-user] try to run Petsto

(offlist) Re: [JBoss-user] jboss 2.0 connection pool AutoCommit default?

2001-04-07 Thread toby cabot
>> Am I right in thinking that holding on to the Connection is a bad >> idea and interferes with the container's container-managed >> demarcation? > > According to the spec, no, that should work fine. This currently > doesn't work in JBoss however. > > It is on my list of things to do when I ge

Re: [JBoss-user] JBoss Standard Debugging Approach (HOWTO)

2001-04-07 Thread Vladimir Blagojevic
Matt, I think a lot of people use JPDA http://java.sun.com/j2se/1.3/docs/guide/jpda/ , mostly I would say remote debugging. Simply make a copy of run.sh, call it debug.sh and invoke JBoss with java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspe

[JBoss-user] Deployment problems

2001-04-07 Thread Steven Wisener
I am trying to get up and running on JBoss 2.1 by trying to deploy a simple application. However, I can't get JBoss to deploy anything. I got the JBoss/Tomcat bundle and unzipped it into my home directory. I jarred up a simple test bean and placed it into $HOME/jboss-2.1/deploy. When I start the s

[JBoss-user] After trying to install petstore jboss hangs after:[EstoreDB] XAConnection pool EstoreDB bound to java:/EstoreDB

2001-04-07 Thread friedrich . budde
Hi! I just installed jboss 2.1. After installing the file jboss.jcml from the patched petstore example jboss hangs when accessing the estore database.. This are the last messages: [InstantDB] Started [DefaultDS] Starting [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS [De

Re: [JBoss-user] Where can I find Hypersonic Database viewer?

2001-04-07 Thread Ingo Bruell
Hi Pifen, PE> Hi, PE> I search the Hypersonic web site for the viewer program but can't find it. PE> Can anyone tell me if there is any Hypersonic DB viewer exists? Where can I PE> find it? a viewer is integrated in the jar file of Hypersonic: java.exe -classpath %JBOSS_HOME%\lib\ext\hsql.jar o

[JBoss-user] Article about the CCI at Sun

2001-04-07 Thread Toby Allsopp
http://developer.java.sun.com/developer/technicalArticles/J2EE/connectorclient/index.html This might be of interest to someone out there. It is an example of the kind of thing that JBossCX is giving JBoss support for. Regards, Toby. ___ JBoss-user

Re: [JBoss-user] RE: (JBoss-user) RE: (JBoss-user) Oracle Authentication

2001-04-07 Thread Toby Allsopp
Greg Parker wrote: > Sorry, I didn't intend to sound like such a dork. :-) Happens to us all at some point. > Here is what I was getting at > In a previous note you suggested two approaches: > > - have a separate connection pool for each user > Depending on the number of users you have,

Re: [JBoss-user] RE: JBOSS NT SERVICE

2001-04-07 Thread Stan Ng
Yeah, that seems to be the case for me as well. It stops the service correctly but the error message always shows up. I'm not sure why... Since it worked I never bothered to track down the bug but maybe I should take some time this weekend and look at it. If I figure anything out, I'll let you k

[JBoss-user] help about oracle

2001-04-07 Thread 谭中意/eNet/技术部/网络开发二部/项目经理
Title: help about oracle I use oracle8i as my database using under jboss. I build two entity ejb . but I found one thing strange. when I execute one sql query, if ther query result set is smaller than 10, it will be ok but if it is bigger than 10, it will faild. Is there anything

Re: [JBoss-user] Oracle 8i

2001-04-07 Thread danch
Guy Rouillier wrote: > 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

Re: [JBoss-user] external ejb ref on different servers

2001-04-07 Thread danch
jeff anderson wrote: > 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?

Re: [JBoss-user] Re: Re: Transaction timeout

2001-04-07 Thread danch
You probably want to look at the NoPassivationCachePolicy, then. Override the cache-policy setting in your jboss.xml (or change standardjboss.xml but then _all_ of your stateful session beans will have no passivation, which would normally be a Bad Thing) Having said that, you'd probably be bet

[JBoss-user] RE: (JBoss-user) RE: (JBoss-user) Oracle Authentication

2001-04-07 Thread Greg Parker
Sorry, I didn't intend to sound like such a dork. Here is what I was getting at In a previous note you suggested two approaches: - have a separate connection pool for each user Depending on the number of users you have, it might be sufficient to set up the pools in jboss.jcml, or you mig

RE: [JBoss-user] RE: JBOSS NT SERVICE

2001-04-07 Thread Ma Cheng
We've tried JNT. NT service can be started fine. But when it is stopped, we've got an error "Could not stop the service on Local Computer. Error 1053: The service did not respond to the start or control request in a timely fashion." Although, the service seems stopped. Do you have any insights or

[JBoss-user] JBoss Standard Debugging Approach (HOWTO)

2001-04-07 Thread Matt Davies
Hi Guys/Gals, I am new to EJB/JBOSS and I would like to ask if such a HOWTO for non-experts exists and, if not, request one. Such a HOWTO would be most useful if it described the use of basic standard tools (text editors, configurations, jdb, ...). I am not an expert, but I like to try and sol

Re: [JBoss-user] Where can I find Hypersonic Database viewer?

2001-04-07 Thread Ken Jenks
Pifen Ellwood wrote: >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? One of many JDBC admin tools: http://www.trash.net/~ffischer/admin/index.html -- Ken Jenks, http://abiblion.c