[JBoss-user] Error using Custom Primary Key class in JBOSS 3, cmp 2 + Hypersonic

2002-07-10 Thread Saroj Kumar
Hi All, When I am using Custom Primary key with JBOSS 3 , CMP2 with HYPERSONIC then this error I am getting : This is the full stack trace ... [java] java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: [java] Caught an unexpected exception while making c

RE: [JBoss-user] Error using Custom Primary Key class in JBOSS 3, cmp 2 + Hypersonic

2002-07-10 Thread Saroj Kumar
ing looks good except you spelled hashCode incorrectly. You have: > > public int HashCode() > { > return customerId.hashCode(); > } > > You should have: > > public int hashCode() > { > return customerId.hashCode(); > } > > -dain > > Saroj Kum

[JBoss-user] Question regarding CMP and CMR Performance in EJB2 and JBOSS 3

2002-07-12 Thread Saroj Kumar
Hi All, I have some doubts about the performance of CMP and CMR in EJB2 AND JBOSS3. Scenario is like this: I have 1 bean called EMPLOYEE. It has got 1:N relationship with GROUPS bean. This relationship is defined thru CMR. I have a method on EMPLOYEE : Public GroupModel[] getGroupModels() {

[JBoss-user] How to register a class as a startup class in JBOSS3

2002-07-16 Thread Saroj Kumar
Hi All, I want to register a class as startup class in JBOSS3. This class should be loaded in memory when server is started. This class reads some properties and loads them in the memory. Other classes need to access these variables using ClassName.Method Names(). Please suggest me a way. Saro

RE: [JBoss-user] How to register a class as a startup class in JBOSS3

2002-07-16 Thread Saroj Kumar
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Simon Stewart Sent: Tuesday, July 16, 2002 7:18 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] How to register a class as a startup class in JBOSS3 On Tue, Jul 16, 2002 at 05:29:05PM +0530, Saroj Kumar wrote: > Hi

RE: [JBoss-user] How to register a class as a startup class in JBOSS3

2002-07-16 Thread Saroj Kumar
method to create the instance. Naturally, this servlet would have to be loaded when your app loads, but there's already support for this from the EJB spec. You get the advantage of "load on startup" without having to do something clunky with your config files. On Tue, Jul 16, 2002 at 07:2

RE: [JBoss-user] How to register a class as a startup class in JBOSS3

2002-07-16 Thread Saroj Kumar
a web tier. Even if you don't, it's not a horrible thing to just through your ejb jars in an ear along with a tiny war who's only job is to initialize some stuff. Now, if you just wanted to now about startup/shutdown classes outside of your app and specific to jboss, I don't k

[JBoss-user] Do Tomcat and Jboss share the same jvm?

2002-07-18 Thread Saroj Kumar
Hi All, I would like to know whether Tomcat and Jboss share the same jvm or different jvms. If they share the same jvm then my servlets can easily make local calls otherwise I need to use Remote Interface for looking up my beans. Any light would be more than welcome. Saroj ---

RE: [JBoss-user] JBoss 3.0 Documentation

2002-07-18 Thread Saroj Kumar
You can get the quick start from Sourceforge. -Saroj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Rahul Sent: Friday, July 19, 2002 12:12 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] JBoss 3.0 Documentation Is JBoss 3.0 Documentation available an

RE: [JBoss-user] jms- mdb question [jboss3.0]

2002-07-22 Thread Saroj Kumar
Hi Damon, May be you are using transacted session. Use untransacted session. -Saroj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Damon Hamacha Sent: Monday, July 22, 2002 8:03 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] jms- mdb question [jbo

RE: [JBoss-user] jms- mdb question [jboss3.0]

2002-07-22 Thread Saroj Kumar
PROTECTED] Subject: RE: [JBoss-user] jms- mdb question [jboss3.0] thanks for your email i attached my *.xml files. i left it to the container to manage transaction's. thanks Damon -Original Message- From: Saroj Kumar [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 3:58 PM To: [

RE: [JBoss-user] jms- mdb question [jboss3.0]

2002-07-22 Thread Saroj Kumar
attached code include the jms sender call, however, i think i am not able to get the MDB to start. i think it is not calling for some reason the JMS Factory. thanks Damon -Original Message- From: Saroj Kumar [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 5:05 PM To: [EMAIL

[JBoss-user] Help needed regarding Dependent Value Classes in JBOSS 3

2002-07-22 Thread Saroj Kumar
Hi All, Any idea about how to use Dependent Value Classes in JBOSS 3. Attaching herewith the bean and deployment descriptors: I am getting no setter found for name. TIA, Saroj true true true false 0 false true foreign-key on-load 500 group name UserEJB

[JBoss-user] Jboss 3 with ORACLE 8.0.5+

2002-07-24 Thread Saroj Kumar
Hi All, I want to know all the steps required to configure ORACLE 8+/8i/9i to work with JBOSS3. It would be better if someone could explain the pre-requisites and necessary groundwork to be done to make it work. TIA, Saroj --- This sf.net e

RE: [JBoss-user] jndi / jboss question

2002-07-24 Thread Saroj Kumar
Hi Damon, Add jboss-common-client.jar to your classpath. -Saroj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Damon Hamacha Sent: Wednesday, July 24, 2002 3:08 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] jndi / jboss question thanks for your

RE: [JBoss-user] Jboss 3 with ORACLE 8.0.5+

2002-07-27 Thread Saroj Kumar
I am using Oracle9i. TIA, Saroj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Igor Fedorenko Sent: Friday, July 26, 2002 7:03 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Jboss 3 with ORACLE 8.0.5+ Saroj Kumar wrote: > Hi All, > > I

[JBoss-user] CLOB Support in JBOSS 3 with ORACLE 9i

2002-07-29 Thread Saroj Kumar
Hi All, I would like to know the support provided by JBOSS 3 for CLOB in ORALCE 9i. I am using CMP/CMR. It would be better if someone could explain the issues in detail. Any help/hint/pointer would be more than welcome. TIA, Saroj --- This

RE: [JBoss-user] anyone knows about this exception?

2002-07-31 Thread Saroj Kumar
Title: Message It may be due to incorrect Version of JAVA on client side!!! -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Sheng ZouSent: Wednesday, July 31, 2002 4:04 AMTo: '[EMAIL PROTECTED]'Subject: [JBoss-user] anyone knows about this excepti

[JBoss-user] Problem in looking up the Datasource thru a Standalone java class

2002-08-01 Thread Saroj Kumar
Hi All, I am not able to lookup the DataSource in my standalone java class. I get "request timed out exception". Progr: public class TestDS { public static void main(String[] args) throws Exception { String CONTEXT_PROVIDER_URL = "jnp://localhost:1099"; /*

RE: [JBoss-user] java.util.ConcurrentModificationException on XAPoolDataSource - need help...

2002-08-10 Thread Saroj Kumar
Hi David, I do not have any idea about the exact reason for this error. But, I feel that this may be one of the main reasons Straight from Java API on HashMap The iterators returned by all of this class's "collection view methods" are fail-fast: if the map is structurally modifi

RE: [JBoss-user] JXTA Meet in Bangalore (Resending)

2002-08-10 Thread Saroj Kumar
Thanks Rajesh. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Rajesh Acharya Sent: Thursday, August 08, 2002 9:44 AM To: Saroj Kumar Cc: [EMAIL PROTECTED] Subject: [JBoss-user] JXTA Meet in Bangalore (Resending) Hi Saroj, I am resending the

[JBoss-user] How to ensure that Singleton class is not garbage collector

2002-08-12 Thread Saroj Kumar
Hi All, I was just wondering under what circumstances a Singleton class is garbage collected in JBOSS. How do we prevent it? JDK1.2 + --> A class loaded by local/system classloader is not garbage collected untill all the classes loaded by this classloader are dereferenced. How do we achieve thi

[JBoss-user] How to deploy Mbean in JBOSS 3

2002-08-12 Thread Saroj Kumar
Hi All, Pls. explain the process of deploying Mbean in JBOSS3. It does not have any jboss.jcml in this version. TIA, Saroj --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf __

RE: [JBoss-user] Swing to Session Bean

2002-08-12 Thread Saroj Kumar
Use EJBHomeFactory pattern -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Arijit Ghosh Sent: Monday, August 12, 2002 1:21 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Swing to Session Bean Hi, I would like to use a swing component as my client whic

RE: [JBoss-user] JBoss 3.0.x and PostgresDS

2002-08-12 Thread Saroj Kumar
In file , Do it like (For ORACLE): java:/OracleDS Oracle8 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Allan Kamau Sent: Monday, August 12, 2002 1:11 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] JBoss 3.0.x and PostgresDS I ha

RE: [JBoss-user] Anyone using JBoss 3 for Swing apps?

2002-08-12 Thread Saroj Kumar
Title: Message Hi Greg,   Pls. excuse this post off the list.   I went to your site and saw that there is a demo for use of MBEAN to store config vars.   I would like to see the source files but i could not download them.   I would be greatful if you could send me those files.   Thanks, S

RE: [JBoss-user] illegalArgumentException while removing the entity bean

2002-08-16 Thread Saroj Kumar
Title: Message Hi Kamran,   There may be a problem with PK Class. post ur code.   -Saroj   P.S.: Kamran, ur name reminds me of Kamran Ashraf,  Great Pak Hockey Player.     -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Nayyer KamranSent: Friday

RE: [JBoss-user] Local Interfaces to seperate Jars

2002-08-16 Thread Saroj Kumar
Yes. It is possible. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Anthony Geoghegan Sent: Friday, August 16, 2002 9:34 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Local Interfaces to seperate Jars Is it possible to use local interfaces to beans i

RE: [JBoss-user] illegalArgumentException while removing the entity bean

2002-08-18 Thread Saroj Kumar
catch(CreateException ex){ System.out.println("tmperror"+ex.toString()+ex.getMessage()+ex.getCause());    ex.printStackTrace(); }     - Original Message - From: Saroj Kumar To: [EMAIL PROTECTED] Sent: Friday, August 16, 2002 4:38 PM Subject: RE:

RE: [JBoss-user] Default database

2002-08-19 Thread Saroj Kumar
Hi Sebastian, No Need to remove "hsqldb-service.xml" from default/deploy directory. Just add oracle service xml in deploy directory and add following to your java:/OracleDS Oracle8 To jbosscmp-jdbc.xml at top before tag. This should work. Sar

FW: [JBoss-user] illegalArgumentException while removing the entity bean

2002-08-19 Thread Saroj Kumar
Title: Message Hi Kamran, My reply was bumped off the server so I am resending it again 10 hours late. Hi Kamran,   I would like to point out something regarding use of remove() method on EJBHome/EJBObject.   EJBObject : No need to use Handle here.  I think that you are not using this met

RE: [JBoss-user] Default database

2002-08-19 Thread Saroj Kumar
, August 20, 2002 12:05 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Default database Thank you Saroj, It seems to be OK, although it doesn't create tables during deployment :-( - Original Message - From: "Saroj Kumar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]&

RE: [JBoss-user] Default database

2002-08-20 Thread Saroj Kumar
...What's the difference between : 1- Adding those 2 lines in the 'defaults' section of 'jbosscmp-jdbc.xml' 2- Adding the 2 same lines for each 'entity' of 'enterprise-beans' section I thought it should work in the same way, no ? Sebastien ----- Origi

[JBoss-user] When ejbCreate() is called

2002-08-21 Thread Saroj Kumar
Hi All, I have a doubt about the time when ejbCreate() is called by JBOSS while loading the beans. Is it the case that when bean is loaded in the memory, ejbCreate is called or when any client looks up Home interface(ctx.lookup(JNDI Home)? I understand that ejbCreate is called only if there i

RE: [JBoss-user] RE: illegalArgumentException while removing the entity bean (Saroj Kumar)

2002-08-28 Thread Saroj Kumar
PM To: [EMAIL PROTECTED] Subject: [JBoss-user] RE: illegalArgumentException while removing the entity bean (Saroj Kumar) Hi, I am having the same problem. I am deploying the CMP bean that use composite key. I have no problem load and update the same bean. I have tried on both JBoss

[JBoss-user] How to read an XML in JAR File

2002-08-30 Thread Saroj Kumar
Hi All, I have got a XML which defines some constants which are read by my Session Bean while serving some requests. Reading is done in a helper class. I am unable to read this XML file. I use : InputStream fi = ClassLoader.getSystemResourceAsStream(xmlFile) ; I am getting fi

RE: [JBoss-user] How to read an XML in JAR File

2002-08-31 Thread Saroj Kumar
PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Saroj Kumar Sent: Saturday, August 31, 2002 12:30 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] How to read an XML in JAR File Hi All, I have got a XML which defines some constants which are read by my Session Bean while serving some requests. Reading

RE: [JBoss-user] How to read an XML in JAR File

2002-08-31 Thread Saroj Kumar
, I am working on something similar too, thanks in advance Edward.  Saroj Kumar <[EMAIL PROTECTED]>wrote: Hi All,I have fixed this. Just made the method an instance method from static method and used.InputStream fi =this.getClass().getClassLoader().getResourceAsStream(xmlFile)

RE: [JBoss-user] How to read an XML in JAR File

2002-08-31 Thread Saroj Kumar
ct based on the entries in the xml file, as u may have noticed I am new to xml, but I love it and everything it represents, I just have to find a way to make it work for me, Do u have any suggestions/advice? Once again thanks for ur help I really appreciate it. Best Wishes  Edward  Saro

[JBoss-user] Is it a normal behaviour or Bug?

2002-09-01 Thread Saroj Kumar
Hi All, We were trying to use "Block Sequence Generator" pattern as described in Floyd's book. It shows the ejb-jar.xml as this: SequenceSession * Required When we deploy the bean there is no prob. Once, We run the client, it does not

[JBoss-user] How is TRANSACTION handled (jboss 3.0 , ORACLE 9i)

2002-09-02 Thread Saroj Kumar
Hi, I am puzzled by this sequence of events. Any hint?? I am having a session bean which is running under transaction. It calls a JAVA Class. This java class makes 1st call to a Session Bean. This session bean B invokes method on a Entity Bean. Then it invokes another Session Bean C which mak

RE: [JBoss-user] CMP2 java.lang.Short mapping for Oracle 9i

2002-09-03 Thread Saroj Kumar
Title: Message Try INTEGER. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Boris TamarkinSent: Wednesday, September 04, 2002 3:44 AMTo: '[EMAIL PROTECTED]'Subject: [JBoss-user] CMP2 java.lang.Short mapping for Oracle 9i What correct mapping for "

[JBoss-user] Strange Problem

2002-09-05 Thread Saroj Kumar
Hi All, I faced a strange problem just now. Jboss3.0 + win2k + ORACLE9i + SSB + CMP EB + classes12.zip I have got a Session Bean which makes a call to an CMP Entity Bean to Update the record. I pass some java.lang.Double Values To the Entity Bean from Session Bean. In Session Bean, We convert B

[JBoss-user] What is the default Transaction Attribute??

2002-09-05 Thread Saroj Kumar
Hi All, We are reqrd. To declare TRANS-ATTRIBUTE for Beans in ejb-jar.xml like following. Journal * Required What if I don't declare the block for my JOURNAL bean. What kind of TRANSACTION will be supported by the container? Is Default Value??

[JBoss-user] Saw rolled back tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=mdpcad110773//4, BranchQual=] waiting for txLock

2002-09-05 Thread Saroj Kumar
Hi All, I am trying to use "SEQUENCE BLOCK Primary KEY GENERATOR" as described in Floyd's book. Jboss3.0 + ORACLE9i + win2k I am getting this kind of weird error: "waiting for txLock" 22:16:53,139 WARN [TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=mdpcad110773//6, BranchQual=] timed

[JBoss-user] PK Generator

2002-09-05 Thread Saroj Kumar
HI All, Does JBOSS have one PK Generator? Any pointers?? TIA, Saroj --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 ___

[JBoss-user] Different Commit Options

2002-09-05 Thread Saroj Kumar
Hi All, There are 4 commit option A,B,C,D. What is the diff. between them and when should one use them? Forgive me for asking these basic questions. TIA, Saroj --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone

RE: [JBoss-user] PK Generator

2002-09-05 Thread Saroj Kumar
Hi Alex, Thanks for the mail. How do I use the key? Any doc or sample?? TIA, Saroj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Alex Loubyansky Sent: Thursday, September 05, 2002 11:29 PM To: Saroj Kumar Subject: Re: [JBoss-user] PK Generator

[JBoss-user] Java.lang.Character mapping in ORACLE 9I and ClassCastException

2002-09-08 Thread Saroj Kumar
Hi All, I am using a Java.lang.Character column which is giving me this CLASS CAST EXCEPTION. java.lang.ClassCastException: java.lang.Character at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedState ment.java:2759) at oracle.jdbc.driver.OraclePreparedStatemen

[JBoss-user] How to handle NOT NULL Fields which have DEFAULT values in DB

2002-09-08 Thread Saroj Kumar
Hi All, I have a scenario which I think is very common. Some fields are defined as NOT NULL in DB but they do have DEFAULTS set. If I don't include them in ejbCreate params then it fails to create any Record. Is there a way to specify that this value is to be taken from DB If not defined in ej

RE: [JBoss-user] Java.lang.Character mapping in ORACLE 9I and ClassCastException

2002-09-09 Thread Saroj Kumar
ClassCastException Are you using JBoss 3.0.0? If so, upgrade to JBoss 3.0.1. Characters are now converted into strings before setting a parameter, because it breaks oracle. -dain Saroj Kumar wrote: > Hi All, > > I am using a Java.lang.Character column which is giving me this CLASS > CA

[JBoss-user] Which one to upgrade to? 3.0.1 or 3.0.2

2002-09-11 Thread Saroj Kumar
Hi All, We are faced with a dillema. We are working on a big project which is having around 200 tables and 125 use cases. We have been using 3.0.0 but We found that 3.0.1 fixes the Char Problem with ORACLE. Now, 3.0.2 is also out. We have to decide which one to use: 3.0.1 or 3.0.2. It is very

RE: [JBoss-user] How to use application specific properties

2002-09-12 Thread Saroj Kumar
You can use property-service.xml to define the path of external file and And access it like System.getProperty(key); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Kim, Yong Sent: Thursday, September 12, 2002 6:42 PM To: '[EMAIL PROTECTED]' Subject: R

RE: [JBoss-user] How to use application specific properties

2002-09-12 Thread Saroj Kumar
ful... but it's kind of JBoss specific... isn't it! I prefer not to use heavy vendor specific solutions. Mitchell -Original Message- From: Saroj Kumar [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 9:42 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] How to

[JBoss-user] home.findByPrimaryKey HANGS!!!!!!!!!!!!!!!!!!!!!!!!!

2002-09-19 Thread Saroj Kumar
Hi! Ive been struggling with this for quite some time.I have some Jsps deployed in Tomcat 4.04 which then call EJB components hosted on Jboss 3.0.1. I have session and entity beans(CMP2.0) deployed on Jboss. My session beans calls a java class which in turn tries to do a home.findByPr

RE: [JBoss-user] home.findByPrimaryKey HANGS!!!!!!!!!!!!!!!!!!!!!!!!!

2002-09-20 Thread Saroj Kumar
when it hangs? Where is it waiting. My guess is you database is locked somehow. -dain Saroj Kumar wrote: > Hi! > Ive been struggling with this for quite some time.I have some Jsps > deployed in > Tomcat 4.04 which then call EJB components hosted on Jboss 3.0.1. > I hav

RE: [JBoss-user] Specifying isolation level

2002-09-20 Thread Saroj Kumar
What is the default TX Isolation Level in JBOSS 3.0.1? I noticed That Oracle-Xa and Postgres-xa service xmls in Jboss 3.0.2 have this but commented. Other db-service.xmls are not having this entry. Is it the case that Jboss will take TX Isolation Level supported by the DB? -Saroj

RE: [JBoss-user] Specifying isolation level

2002-09-20 Thread Saroj Kumar
rt xa and I don't see any such file in cvs. thanks david jencks On 2002.09.20 06:43:58 -0400 Saroj Kumar wrote: > What is the default TX Isolation Level in JBOSS 3.0.1? > > I noticed That Oracle-Xa and Postgres-xa service xmls in Jboss 3.0.2 > have this but commented. > >

RE: [JBoss-user] home.findByPrimaryKey HANGS!!!!!!!!!!!!!!!!!!!!!!!!!

2002-09-22 Thread Saroj Kumar
, You could try configuring your settings in ejb-jar.xml to be "Supports" for your entity bean "getters" and finders. This should keep locks from happening as well. Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Saroj Kumar Sen

RE: [JBoss-user] Re: Can an ejb function as a daemon?

2002-09-23 Thread Saroj Kumar
This will break the ACID property no doubt. This must certainly be one of reasons behind not having threads in beans. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Pete Beck Sent: Monday, September 23, 2002 3:06 PM To: [EMAIL PROTECTED] Subject: Re: [

RE: [JBoss-user] Serious problem with wrong data returned.

2002-09-23 Thread Saroj Kumar
It seems that you are getting duplicate data in collection. Try using java.util.Set for Collection. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jon Haugsand Sent: Monday, September 23, 2002 3:07 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Seriou

RE: [JBoss-user] JBoss 3.0.1 and Oracle-XA

2002-09-23 Thread Saroj Kumar
Set the path of ORACLE_HOME\jdbc\lib in Your Path or copy classes12.zip in SERVER\lib. -Saroj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jon Haugsand Sent: Monday, September 23, 2002 7:37 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] JBoss 3.0.1 a

RE: [JBoss-user] Interrupted while requesting permit!

2002-09-24 Thread Saroj Kumar
I don't see any need for using finder Inside ejbCreate as JBOSS does it automatically before insert. It does like: SELECT COUNT(*) FROM TABLE WHERE PK_COLUMN=? Try without finder. -Saroj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jon Haugsand S

[JBoss-user] Io exception: Stream closed while using CLOB

2002-09-25 Thread Saroj Kumar
Hi All, I am trying to insert a CLOB column using CMP. I get this error. CLOB size is 6028. java.sql.SQLException: Io exception: Stream closed at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)

[JBoss-user] RE: Io exception: Stream closed while using CLOB

2002-09-26 Thread Saroj Kumar
or solving this CLOB issue would be more than welcome. TIA, Saroj -Original Message----- From: Saroj Kumar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 9:17 PM To: '[EMAIL PROTECTED]' Subject: Io exception: Stream closed while using CLOB Hi All, I am trying to

RE: [JBoss-user] JBOSS - Components library

2002-09-27 Thread Saroj Kumar
Hi Wonder Sonic, Yeah, this seems to be a good idea. Certainly it can be done. Let us discuss it in depth. Q- 1) What kind of components are u thinking about? 2) Which domain they work in? -Saroj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of wonde

RE: [JBoss-user] Stateful Session Bean problem (newbie?)

2002-09-27 Thread Saroj Kumar
I think you need to keep that Remote reference in session so that You get that in another JSP. Otherwise, you will get the different SFSB. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of wonder sonic Sent: Friday, September 27, 2002 3:13 PM To: [EMAIL P

RE: [JBoss-user] RE: Io exception: Stream closed while using CLOB

2002-09-27 Thread Saroj Kumar
do an Oracle install, just don't start it up. You need to be in a position where the Oracle sqlplus tool works. On Thursday, September 26, 2002, at 11:11 PM, Saroj Kumar wrote: > > Hi All, > > I am trying to insert a CLOB column using CMP. CLOB data is 6028 chars. > > I

RE: [JBoss-user] jboss + tomcat problem

2002-09-30 Thread Saroj Kumar
It seems that your port 8080 is captured by some other app or by JBOSS itself Try changing the port no and use that one for Tomcat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Arijit Ghosh Sent: Tuesday, October 01, 2002 9:18 AM To: JBoss User Subject

RE: [JBoss-user] Problem in connecting to oracle in JBOSS with Tomcat

2002-10-07 Thread saroj kumar
Title: Message you need to use ORACLE-SERVICE.xml .   copy from docs\examples\jca   and modify the IP and UID/pwd -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of GangadharSent: Monday, October 07, 2002 2:16 PMTo: [EMAIL PROTECTED]Subject: [JBoss-

[JBoss-user] Strange Problem on Linux

2002-10-11 Thread saroj kumar
HI All, I am facing "Transaction Timeout " exception while running the code on Redhat Linux 7.3/JDK1.4/JBOSS 3.0.3/Oracle9i. Same code is working fine on Win2k/JBOSS 3.0.3/jdk1.4/Oracle9i. Scenario is: UI Layer makes a call to SLSB. This SLSB makes a call to another SLSB which uses a class. T

RE: [JBoss-user] Strange Problem on Linux

2002-10-14 Thread saroj kumar
at java.lang.Object.wait(Object.java:426) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:113) - locked <0x44afa740> (a java.lang.ref.Reference$Lock) "VM Thread" prio=1 tid=0x0x80aedd0 nid=0x5ce runnable "VM Periodic Task Thread" pr

RE: [JBoss-user] Strange Problem on Linux

2002-10-16 Thread saroj kumar
Marius Kotsbak Sent: Saturday, October 12, 2002 3:00 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Strange Problem on Linux saroj kumar wrote: >HI All, > >I am facing "Transaction Timeout " exception while running >the code on Redhat Linux 7.3/JDK1.4/JBOSS 3.0.3/Ora

RE: [JBoss-user] JBOSS-EJB HOT DEPLOYMENT PROBLEM

2002-10-25 Thread saroj kumar
It may be due to different class loader loading the same bean during Hot deployment. When JBOSS Starts up, it will load all the beans using (IMHO, Not Sure) Default classloader and anything which is re-deployed may be getting Loaded using different class loader. So, When you refer to the same be

[JBoss-user] How do we specify Commit Options

2002-10-11 Thread saroj kumar
Hi All, I would like to know how do we specify Commit Options. I would like to use Commit Option B. I see that in StandardJboss.xml has Instance Per Transaction CMP 2.x EntityBean As well as Standard CMP 2.x EntityBean. What is the different between them? If I don't specify anything like

RE: [JBoss-user] How can I access the JNDITree with JBoss3?

2002-10-17 Thread saroj kumar
Title: Message localhost:8080/jmx-console -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Herve TchepannouSent: Thursday, October 17, 2002 8:32 PMTo: [EMAIL PROTECTED]Subject: [JBoss-user] How can I access the JNDITree with JBoss3? How can I access

RE: [JBoss-user] Entity Bean Performance Tuning Help

2002-11-06 Thread saroj kumar
Running EJB-QL without Container/EB We need to consider few points. 1) If there is no container then how do we parse the XML? 2) If there are no Entity beans then how do you query? 3) If Above points are sorted out then how do we achieve complex joins/unions? 4) Moreover, In case of larg

[JBoss-user] Looking for a scheduler

2002-11-14 Thread saroj kumar
Hi Folks, I am looking for a J2EE Scheduler which works in a clustered Environment. Can anybody enlighten me about this? Any idea about Jboss Scheduler? TIA, Saroj --- This sf.net email is sponsored by: To learn the basics of securing your

RE: [JBoss-user] log4j and jboss: where is log4j.properties?

2002-11-23 Thread saroj kumar
Hi, You can configure your log4j.xml in JBOSS_HOME\conf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of linuxman Sent: Saturday, November 23, 2002 9:40 PM To: jboss ml Subject: [JBoss-user] log4j and jboss: where is log4j.properties? hi, I want to use

RE: [JBoss-user] multi-threaded remote client

2002-11-26 Thread saroj kumar
Hi , 1st Problem can be solved using Commit Option B/C. Refer to TX related Stuff. 2nd Prob is due to the fact that you are iterating the CMR Collection In a different TX. Error Message is explanatory. Are you using TXNew Attribute in one of your methods? It may be due to this. Ex: SLSB A.doSo

RE: [JBoss-user] log4j and jboss: where is log4j.properties?

2002-11-26 Thread saroj kumar
InfoBean: entering ejbCreate"); You see, very simple. It seemed that, my looger can not find jboss's log4j.xml. Must I use PropertyConfigrator to load log4j.xml? I don't think so. I just want to use the default one that jboss give me:-). But how to? Any hints? Thanks i

RE: [JBoss-user] Error Saving Entity with Oracle

2002-11-27 Thread saroj kumar
May be the DATA TYPE mapping is incorrect in dd. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Todd M Benge Sent: Wednesday, November 27, 2002 5:39 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Error Saving Entity with Oracle Hi, I'm running into tr

RE: [JBoss-user] JBOSS documentation

2002-12-04 Thread saroj kumar
It is good and real HELPFUL. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Cristiano Silva Sent: Wednesday, December 04, 2002 11:19 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] JBOSS documentation Hi friends! I'd like to know about the official JBos

RE: [JBoss-user] Re: JBoss-user digest, Vol 1 #3442 - 8 msgs

2002-12-04 Thread saroj kumar
Use this: java:/OracleDS Oracle9i false false It will stop JBOSS from trying to create and drop tables. -Saroj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Barney Rubble Sent: Wednesday, December 04, 2

RE: [JBoss-user] Complicated Issue - may require more experience

2002-12-06 Thread saroj kumar
Hi Will, Why don't you re-post the question. -Saroj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Will Senn Sent: Thursday, December 05, 2002 7:10 PM To: Jboss-User Subject: [JBoss-user] Complicated Issue - may require more experience Hi all, Go ba

RE: [JBoss-user] SQL Exception

2002-12-16 Thread saroj kumar
Hi Vassilis, I think this post may be of your use: http://p2p.wrox.com/archive/enterprise_java_beans/2002-09/1.asp Oracle uses optimistic concurrency. As a consequence, even with a setting of TRANSACTION_SERIALIZABLE, Oracle does not detect serialization problems until commit time. Hence the me

RE: [JBoss-user] Virtual hosting question

2002-12-16 Thread saroj kumar
Hi Gary, It would be great if you provide some more info. TIA, Saroj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Gary S. Cuozzo Sent: Tuesday, December 17, 2002 4:47 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Virtual hosting question i'm d

RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-20 Thread saroj kumar
Hi Mark, 2 things come to my mind: 1) Try commit option B/C They solve Deadlock problems quite nicely. 2) Add READ COMMITED Isolation Level as shown here in oracle-service.xml OracleDS jdbc:oracle:thin:@youroraclehost:

RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-20 Thread saroj kumar
e due to thin driver. I use OCI to handle CLOB. >Thanks a lot. > >Mark > > > > > > > >"saroj kumar" >

RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-20 Thread saroj kumar
Session Beans only. Or, you are making JDBC Calls? > > >Marek > > > > > >

RE: [JBoss-user] A few J2EE/EJB design questions

2002-12-28 Thread saroj kumar
Regarding Singleton, We can keep a reference in JNDI context or In a session bean. Usage of log4j: I have explained earlier on the list. >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] On Behalf Of >Peter Fagerlund >Sent: Saturday, December 28, 2002 6:42 AM >To:

[JBoss-user] java.rmi.ConnectException: Connection refused to host

2003-01-05 Thread saroj kumar
Hi, I am trying to call 1 method on a SLSB remotely. I am running the method call in a thread which are being created In a loop. BASIC idea is to simulate 50 Users concurrently accessing If I create 40 threads then everything goes fine. But, the moment I cross 45, I start getting this error:

RE: [JBoss-user] CMP2 - Field To Persist In Updates But Not Inserts

2003-01-06 Thread saroj kumar
Hi Nicholas, Do not Make this field a part of ejbCreate() and Do not call this setter in INSERT. But, call this setter in UPDATE. -Saroj >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] On Behalf Of Nicholas >Sent: Monday, January 06, 2003 5:49 PM >To: [EMAIL P

RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-21 Thread saroj kumar
ed. >So in this case I do not use entity beans. > >Thanks > >Mark > > > > > > >"saroj kumar" > > ><[EMAIL P

RE: 2nd Try(PLS...) Re: [JBoss-user] Service startup

2003-02-25 Thread saroj kumar
Title: Message Hey Murali,   It is very easy. Just write a MBean and your -service.xml. Drop these in deploy folder.   You can have a look at JNDIMap example in paydocs.   It is very simple to understand.   -Saroj -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [JBoss-user] Virtual machine problems

2003-02-28 Thread saroj kumar
Hi There, This bug can be found in JDC Bug database. Are you using Struts? If yes then your JVM may crash due to High no. of struts tags in JSP. THere is some 64k limit on method Size of a servlet which if exceeded results in this error. Solution for this is to take out some Struts tags and rep

RE: [JBoss-user] Virtual machine problems

2003-02-28 Thread saroj kumar
t;Subject: Re: [JBoss-user] Virtual machine problems > > >Hi, > >thanks, I am not using struts but I use jstl 1.0.2 is there the same >problem?? > >----- Original Message - >From: "saroj kumar" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> &g

RE: [JBoss-user] Virtual machine problems

2003-03-01 Thread saroj kumar
try to >use Blackdown jdk and reinstall the machine. > >Can you explain me which is this 64k limit, I supose in >windows there is >this limit too, and my application never crashes in windows, Im getting >crazy may be >my linux is kicking me??? > >thanks >- Or

RE: [JBoss-user] Standalone lookup - StreamCorruptedException

2003-07-02 Thread saroj kumar
Mangesh Please ensure that JDK Version is same on client and Server -Saroj >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of >Magesh Prabhu >Sent: Wednesday, July 02, 2003 7:35 PM >To: jboss-user >Subject: [JBoss-user] Standalone lookup - StreamCorrup