RE: [JBoss-user] Where to keep the uploaded picture files.

2001-04-17 Thread Shahar Solomianik
Hi. The best is to keep it in a BLOB column in the db. then the src="" of the image html elemt would be a servlet which its reponse's content type is "image/gif" and all it does is retreiving the byte[] of the image and writing it to the response output stream. Shahar. -Original Message-

[JBoss-user] jboss2.1+tomcat periodically stuck

2001-04-16 Thread Shahar Solomianik
Hi all. My app is almost ready !!! the only major remaining problem ... (which I MUST solve till the 22nd - then I'm off to a MAJOR client to install it as a pilot) JBoss just stuck (sometimes after some hours, sometimes after 1-2 days, the volume of work, including heavy-load tests, is pretty

RE: [JBoss-user] where is Minerva?

2001-04-13 Thread Shahar Solomianik
search the mailing list archive and you will find the link (i would send it to you , but i dont remeber it, and dont have it anywhere) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Christian Sell Sent: Friday, April 13, 2001 4:32 PM To:

[JBoss-user] Usign ejb from MBean

2001-04-12 Thread Shahar Solomianik
I want to have a MBean invoking methods on an stateless ejb. The problem is that when I put the home and remote interfaces of the bean (let's call it bean A) in the Mbean jar which I put in lib/ext (so it can find those classes on runtime), the deployment of the beans themselves fails, on

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

2001-04-11 Thread Shahar Solomianik
them if you want, but it seems wrong to do that. Tim Toby Allsopp wrote: On Tue, Apr 10, 2001 at 05:55:27PM +0200, Shahar Solomianik wrote: Toby, I think you are right. I replaced the mbean configuration to use XADataSourceLoader and minerva (I had to patch minerva to support scrollable resul

RE: [JBoss-user] Gathering information on migrating from 2.0 to 2.2

2001-04-10 Thread Shahar Solomianik
* point out that JDom users of 2.0 should remove the explicit xerces.jar they have added to classpath in run.sh. * 2.0 minerva users that use scrollable result sets cant upgrade to 2.2 ... (or upgrade but use different config, without minerva) -Original Message- From: [EMAIL PROTECTED]

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

2001-04-09 Thread Shahar Solomianik
Use RawXADataSource and it works (at least for me) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tim Taylor Sent: Saturday, April 07, 2001 11:56 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Solving Oracle Connection Pool Hanging I tend to agree

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

2001-04-09 Thread Shahar Solomianik
quot; name="DefaultDomain:service=XADataSource,name=OracleDB" attribute name="PoolName"OracleDB/attribute attribute name="DataSourceClass"org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp l/attribute attribute name="Properties"/attribute Southin -O

[JBoss-user] Transaction propagation through super.ejbCreate()

2001-04-09 Thread Shahar Solomianik
I know that in order to propogate transaction correctly when a bean invokes its own methods, I use getEJBObject() so I can invoke the method on the remote interface. how about calling super.ejbCreate ??? ___ JBoss-user mailing list [EMAIL PROTECTED]

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

2001-04-09 Thread Shahar Solomianik
provides pretty much nothing that application components should be messing with. How are you using the XADataSource in your code? Toby. On Mon, Apr 09, 2001 at 04:48:00PM +0200, Shahar Solomianik wrote: yes. and use properties attribute instead the standard params, and Oracle XA instead of minerva

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

2001-04-09 Thread Shahar Solomianik
Oracle Connection Pool Hanging On Mon, Apr 09, 2001 at 09:08:31PM +0200, Shahar Solomianik wrote: Well, RawXADataSourceLoader works and XADataSourceLoader doesnt... I think you'll find that "works" is very limited in this case. You won't get your transactions managed by the container for

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

2001-04-09 Thread Shahar Solomianik
ect: Re: [JBoss-user] Solving Oracle Connection Pool Hanging On Mon, Apr 09, 2001 at 10:05:43PM +0200, Shahar Solomianik wrote: Im pretty sure I do get my transactions managed by jboss. are you 100% sure about that ? I think we should make sure that we're talking about the same thing. Can you post

RE: [JBoss-user] How to prevent jBoss overwrite update done directly to database

2001-04-05 Thread Shahar Solomianik
You should use "commit option B" or "commit option C" insted of A which is jboss default. look in standardjboss.xml as for where you can change it and look in ejb_spec-1.1 for details on what commit option is. Shahar. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Shahar Solomianik
do you create InitialContext in the servlet init method ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alexander Jerusalem Sent: Wednesday, April 04, 2001 4:11 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] load-on-startup Servlet can't find EJB Hi,

RE: [JBoss-user] JDBC for JDK1.3 for Oracle 8i 8.1.7

2001-04-04 Thread Shahar Solomianik
I compile 8.1.7 with jdk1.3 successfuly. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chong Joon lee Sent: Wednesday, April 04, 2001 5:25 PM To: [EMAIL PROTECTED] Cc: Robert Butcher Subject: [JBoss-user] JDBC for JDK1.3 for Oracle 8i 8.1.7 Hi, I

[JBoss-user] JBossMQ connection pooling

2001-04-04 Thread Shahar Solomianik
Hi. I need to publish topic messages in some cases in my stateless sessions methods. As for now, I createTopicConnection each time I need to do so, create session , publisher , and publish the message. then I close the connection. I guess there's a more efficient way to do it. Can anyone suggest

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Shahar Solomianik
If you cant find the standard way for startup actions, and you still want to use load-on-startup servlet, maybe try to forward the EmbeddedTomcat entry in jboss.jcml , since : !-- This is where you can add and configure your MBeans ATTENTION: The order of the listing here is the same order as

RE: [JBoss-user] Scrollable Result Sets

2001-04-04 Thread Shahar Solomianik
If you use newest version of minerva - this is your problem. minerva igonres 2nd and 3rd params of Connection.prepareStatement. your options : 1. use a real XA driver 2. wait till Aaron fixes it 3. modify minerva code to your needs Shahar. btw, it doesnt ignore these parameters for prepareCall

RE: [JBoss-user] Scrollable Result Sets

2001-04-04 Thread Shahar Solomianik
there ... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Doug Ferguson Sent: Thursday, April 05, 2001 12:00 AM To: [EMAIL PROTECTED]; Shahar Solomianik Subject: Re: [JBoss-user] Scrollable Result Sets Do you know how to register Oracle XA driver? d

RE: [JBoss-user] Oracle database pool hangs on 2.1

2001-03-22 Thread Shahar Solomianik
- From: "Shahar Solomianik" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 7:09 AM Subject: RE: [JBoss-user] Oracle database pool hangs on 2.1 Its not Oracle problem. the same code works fine under jboss2.0 with minerva. but thanks anyway. -Original Message-

RE: [JBoss-user] Problem with ORACLE CMP and BLOBS

2001-03-22 Thread Shahar Solomianik
My friend ! CMPing a LOB has not yet been proven to be possible using jboss+oracle. Even Oracle's JServer's EJB server doesnt CMP a LOB !!! (I heard it today from Oracle support, it took them 2 months to clarify this issue for me... they say : maybe Oracle9 will do it... ye right) (If you do