RE: [JBoss-user] BLOB

2001-07-19 Thread RRokytskyy
Hi, > Well, I wonder if it can work, I could find no way in the jdbc spec to > create a new blob! So maybe you could read the picture but I > don't know > how JAWS could insert a new row. I hope I'm wrong, please > tell me how. Well... In case of Firebird 0.9.4 + InterClient 1.6 this works f

RE: [JBoss-user] auto deploy not working on linux

2001-07-12 Thread RRokytskyy
probably your Linux box does not allow connection to sun.com, the place where DTDs are located. Either allow HTTP connection there, or place DTDs in file system and change the DTD URLs in the .xml files. Roman. ___ JBoss-user mailing list [EMAIL PROTEC

RE: [JBoss-user] 2 WEEKS EVICTION NOTICE

2001-07-12 Thread RRokytskyy
1 vote for mailing list. 1 vote for replicating list in forum and vice versa. Roman ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

RE: [JBoss-user] Re: Tomcat vs. Apache web server and JBoss

2001-07-09 Thread RRokytskyy
> Thanks for your response. Just to add one more item, our > deployment platform > in Windows NT and 2000. jdk1.3. Have no experience with Windows for the live system, however, my development platform is Win2k :) > So, what you are saying is that JBoss_Tomcat can coexist with > Apache without

RE: [JBoss-user] Enabling JAWS debug

2001-07-09 Thread RRokytskyy
> I tried to enable debug so I can see more detailed info > about what is failing but to no avail. Seeting the > true did not do anything. (Did it in every > jawsXXX.xml file I have). Any ideas? Where did you check for output? It shouldn't appear on console, only in server.log file. Rom

RE: [JBoss-user] Tomcat vs. Apache web server and JBoss

2001-07-09 Thread RRokytskyy
Hi, > I use JBoss2.2.2+Tomcat3.2.2 (for JBoss as my EJB container > and Tomcat as my > JSP and Servlet container). I have a lot of static content > such as HTML > files, images, etc. which need to be served as well. Do I > need an external > web server such as Apache for serving the static con

RE: [JBoss-user] Taking backups

2001-06-30 Thread RRokytskyy
> I am not burdened with legacy software and I am doing a design from > scratch so I can pretty much make all the decisions. I want to make > sure I do it properly from the start :-) So, you can try the Firebird (InterBase) database. Because of the versioning mechanism, you can do backups when ot

RE: [JBoss-user] Interbase??

2001-06-28 Thread RRokytskyy
Hi, > I've tried to add this to jboss.jcml : > > > name="Properties">../conf/default/interbase.properties I think this is the problem that causes exception > > Be sure that you have the JDBC driver declared in the jboss.jcml and intercl

RE: [JBoss-user] CMP entity bean "load balancig"

2001-06-28 Thread RRokytskyy
> 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

RE: [JBoss-user] CMP entity bean "load balancig"

2001-06-28 Thread RRokytskyy
> 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 > cons

[JBoss-user] CMP entity bean "load balancig"

2001-06-27 Thread RRokytskyy
Hi! I'm thinking about putting two JBoss instancess to access one single database to achive some kind of load balancing on the JBoss side (HTTP requests will go to a hardware load balancer, that in trun will forward them to two different Tomcats, each of them connected to its own JBoss). The que

RE: [JBoss-user] When to use PortableRemoteObject.narrow?

2001-06-27 Thread RRokytskyy
Check mail archives. Shortly: you have to use narrow(...) always (if only you're not completely sure that you will not ever use RMI/IIOP). Regards, Roman ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-

RE: [JBoss-user] Key generation by random numbers

2001-06-26 Thread RRokytskyy
Well... I use similar technique for generating unique IDs, but I utilize the MD5 hash function. It is believed that it provides enough uniqueness. The only problem is that you cannot use the long as primary key field (in my case I use String). But you may convert 128-bit digest into 2x64-bit longs

RE: [JBoss-user] JBuilder compilation bug ???

2001-06-22 Thread RRokytskyy
Hi, > In remote interface of my entity bean I declare toString > function throws > RemoteException, but get error in compilation. > > //Company.java > > public interface Company extends javax.ejb.EJBObject { > > public String toString() > throws RemoteException; > } > > /

RE: [JBoss-user] PortableRemoteObject.narrow

2001-06-22 Thread RRokytskyy
> When should I use PortableRemoteObject.narrow, and when should I not. If you use RMI/IIOP (Borland Application Server) then you need to "narrow" your classes, if you're only using RMI (JBoss), you can omit this. However, personally, I would include this code in all of my context lookups, beca

RE: [JBoss-user] Urgent: storing vector in the database

2001-06-22 Thread RRokytskyy
Hi! > Since JAWS just uses .equals to check if a field needs to be updated, > you should be able to write a Collection whose .equals method does a > 'deep' compare. If you do this, remember to implement > hashCode similarly > (not really needed by JAWS, but it's always a good practice to have

RE: [JBoss-user] problems with server with 2 network cards

2001-06-22 Thread RRokytskyy
Hi, > there really was java.naming.provider.url=localhost, so i > changed it to > 212.172.122.17, but still the same Check the jboss.properties. there's a configuration for the RMI dynamic classloading. I'm not sure if this is a case, but you can try. By default it is (I think so): java.

RE: [JBoss-user] problems with server with 2 network cards

2001-06-22 Thread RRokytskyy
What's in the jndi.properties in JBoss conf/? I think you have to put the java.naming.provider.url=212.172.122.17 instead of java.naming.provider.url=192.168.0.100 or java.naming.provider.url=localhost > -Original Message- > From: Patrick Buchinger [mailto:[EMAIL PROTECTED]] > S

RE: [JBoss-user] Urgent: storing vector in the database

2001-06-22 Thread RRokytskyy
Hi, > >true >false >false >false >300 >false > I would move your false from the into your that has Vector field. I hardly believe that you want to switch off tuned updates for _all_ CMP beans... This is nice feature and works almost all

RE: [JBoss-user] Jboss and RMI problem on Solaris

2001-06-22 Thread RRokytskyy
Hi! I had similar problem with JBoss, however, I had quite sophisticated packet filtering there. So, I had to enable the communication between both hosts (both were running Solaris). Also I had to add the localhost to the /etc/hosts.equiv file. Maybe this will help in your case too. If such fil

RE: [JBoss-user] Is it possible to have something "cached" in EJB without storing it in the DB?

2001-06-21 Thread RRokytskyy
Hi! > As far as I understand, there's no way to cache states across sessions > in EJB, right? Then how can I accomplish this: > We have some chained Java objects to be converted into EJBs, and these > objects perform quite costly operations. But the data these operations > return should only be

RE: [JBoss-user] Urgent: storing vector in the database

2001-06-21 Thread RRokytskyy
Hi! > > My entity bean member variable is Vector type. I'm adding > elements to the > > vector and storing in the database. I can load vector and > its element from > > the database. But when I restart Application server I can > load only empty > > vector of size 0. All data get lost. > > > >

RE: [JBoss-user] API for JBoss

2001-06-20 Thread RRokytskyy
Hi, > I have an exemple of bean managed entity bean, using > javax.sql.Datasource, javax.sql.DataSource is the right interface. It is the standard J2EE interface and is in the JBoss classpath. Docs on JBoss are available at http://jboss.org/documentation/HTML/index.html Sources are available

RE: [JBoss-user] Proper shutdown under Linux

2001-06-20 Thread RRokytskyy
Somewhere on the JBoss mailing list I've found shell scripts to start/stop JBoss on RH. I use Solaris and had to change them slightly. However, I do not remember the link to the original script, so here's my version.   file /etc/init.d/jboss   #!/bin/sh   # Source function library.#. /etc/r

RE: [JBoss-user] Help! Jboss 2.2.2 / Interbase 6.01 / Interclient 2.0 / Jdk1.3

2001-06-20 Thread RRokytskyy
> > > Jboss 2.2.2 with Tomcat 3.2.2 > > > Interbase 6.01 (Solaris) > > > Interclient 2.0 > > > Jdk1.3 (sun) I had problems using the original InterBase with Firebird InterClient with the same exception. I'm not sure if that was the incompatibility of both products, maybe just some problems with c

RE: [JBoss-user] distributing an application

2001-06-19 Thread RRokytskyy
Hi, > My question is: How do we start with that with JBOSS How > can we 'find' beans deployed in a JBOSS on another computer > and use them ?? Start the JBoss on one of the computers. You have to check the jndi.properties in the JBoss config, and replace the localhost with the normal IP

RE: [JBoss-user] In-browser Java applet client to jBoss?

2001-06-18 Thread RRokytskyy
Hi, Here's my ideas to the last issue: > 4. Is this just a bad idea in general, and should a > rich-client applet > be communicating via HTTP and a Servlet (and perhaps XML or SOAP), as > opposed to RMI directly? If you use standard RMI, you expose your, probably sensible, data to the packe

RE: [JBoss-user] HELP - jboss and interbase

2001-06-18 Thread RRokytskyy
Hi, I've found the problem with your bean, but before some InteBase history. InterBase uses the optimistic concurency control. To avoid locking on _reads_, it uses very interesting approach: records are not updated directly, rather they are versioned using the transaction id (maybe this is not s

RE: [JBoss-user] Running on Solaris

2001-06-15 Thread RRokytskyy
I would replace the $JBOSS_CLASSPATH with the ${JBOSS_CLASSPATH} in the right side of expression... -Original Message-From: Dan Bratton [mailto:[EMAIL PROTECTED]]Sent: Donnerstag, 14. Juni 2001 18:55To: [EMAIL PROTECTED]Subject: RE: [JBoss-user] Running on Solaris edit

RE: [JBoss-user] HELP - jboss and interbase

2001-06-15 Thread RRokytskyy
and what does your server.log say about this? usually when you have all debug turned on, you have all the statements that are executed by JAWS. Check if there are your update statements. Another way of debugging is to use the HypersonicSQL DB. It generates nice .sql file with all executed commands

RE: [JBoss-user] httprequest fired twice

2001-06-14 Thread RRokytskyy
Are requests the same? I suspect that IE first asks whether the content had been changed (if it wasn't changed, it will deliver local cached copy), and if the content had been changed, it will sent the right request to get the page. > Yes, I have this problem aswell. Don't know if its a bug in IE

RE: [JBoss-user] Customer Finders in CMP ejb

2001-06-14 Thread RRokytskyy
Hi, Sorry, for incomplete post (incidentally hit "send"). > > > > > >JamalSecurity >AR_SECURITY >false > > security_id_ > SECURITY_ID > > > username_ > USERNAME > > > passwor

RE: [JBoss-user] Customer Finders in CMP ejb

2001-06-14 Thread RRokytskyy
> > > >JamalSecurity >AR_SECURITY >false > > security_id_ > SECURITY_ID > > > username_ > USERNAME > > > password_ > PASSWORD > > >

RE: [JBoss-user] HELP - jboss and interbase

2001-06-13 Thread RRokytskyy
Hi, I think JAWS uses another scheme for obtaining connection (right, danch?): Class.forName("interbase.interclient.Driver"); // force the JDBC driver to be loaded Connection con = DriverManager.getConnection("jdbc:interbase://localhost/c:/prj/cerpsejb/data /cerps.gdb", "sysdba", "masterkey");

RE: [JBoss-user] HELP - jboss and interbase

2001-06-12 Thread RRokytskyy
> I have not any interclient exception in my server.log file. Ok, but you do have the Minerva exceptions there: > [EJB] TRANSACTION ROLLBACK EXCEPTION:Unable to connect to database. > org.opentools.minerva.jdbc.xa.XAPoolDataSource; nested exception is: > javax.ejb.EJBException: Unable to

RE: [JBoss-user] HELP - jboss and interbase

2001-06-08 Thread RRokytskyy
according to exception stack trace, jboss is not able to obtain connection to database. however, more usefull is information in the jboss log file: %JBOSS_HOME%/logs/server.log. There you should see an exception from InterClient, that is usually more expressive. Also, you probably should remove t

RE: [JBoss-user] Interbase 6 problem

2001-05-23 Thread RRokytskyy
What kind of exception did you get on server side? Can you include mapping here? And, for sure, storing date in String should not be the problem, as long as JAWS is able to parse it. Also, I would suggest to use VARCHAR sql type instead of CHAR (JAWS may have problems to parse the empty spaces).

RE: [JBoss-user] automatically reloading servlet classes

2001-05-23 Thread RRokytskyy
As far as I know Tomcat automatically reloads the WEB-INF/classes and WEB-INF/lib directories. So if your helper classes are in that folders, they should be reloaded too. Classes from ${TOMCAT_HOME}/lib directory are loaded on the start and are not reloaded during tomcat lifetime. > -Original

RE: [JBoss-user] CMP and CMT: when does the commit happen?

2001-05-23 Thread RRokytskyy
Dan and Georg, thank you for clarifying this topic! Roman Rokytskyy > -Original Message- > From: danch (Dan Christopherson) [mailto:[EMAIL PROTECTED]] > Sent: Dienstag, 22. Mai 2001 18:44 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] CMP and CMT: when does the commit happen? > >

[JBoss-user] CMP and CMT: when does the commit happen?

2001-05-22 Thread RRokytskyy
Hi, I've posted similar question previously, but probably it was not clear. When does the commit happens in case of container managed transaction with the container managed persistence? Required: ? RequiredNew: ? Thanks in advance for any ideas. Roman Rokytskyy. ___

[JBoss-user] Any ideas: Upgrading CMP entity beans while preserving the data in the database?

2001-05-21 Thread RRokytskyy
Hi, Another question: Lets assume I have CMP entity beans, that have some serializable fields (but not belonging to the int, long, byte, char, String group, I mean they were wrapped in MarshalledObject and then serialized). And lets consider I have my data in the database already and I do not wa

[JBoss-user] Transactions: Required vs. RequiredNew

2001-05-20 Thread RRokytskyy
Hi, I have a couple of entity beans without corresponding session beans. Also I have appropriate wrapper classes for use in the application. The business logic is implemented on the "client" (more correctly, another tier) side instead of session beans. The reason for such design is that I have to

RE: [JBoss-user] Beans in jsp

2001-05-18 Thread RRokytskyy
> Do you not? No, I'm using JBoss and Tomcat separately, both contain copies of home and remote interfaces. Try to ask this question with another subject, maybe somebody will respond. Regards, Roman Rokytskyy ___ JBoss-user mailing list [EMAIL PROTECT

RE: [JBoss-user] Beans in jsp

2001-05-18 Thread RRokytskyy
No clue, I never used .ear files. Does anybody have any idea how to avoid having the multiple copies of the home and remote interfaces in jboss and tomcat? > There's no way to create a context from the ejb jar and see the beans > without need of maintain two copies of my interfaces? __

RE: [JBoss-user] Beans in jsp

2001-05-18 Thread RRokytskyy
> org.apache.jasper.JasperException: Unable to compile class for > JSP/usr/local/jakarta_3.2.1/jakarta-tomcat-3.2.1/work/localhos > t_8080%2Fcustomer/_0002ftest_0005fservlet_0002ejsptest_0005fse > rvlet_jsp_13.java:59: Class > Customer not found. > Customer u = (Customer) > reque

RE: [JBoss-user] How To JBoss 2.1.1, Interbase 6.01, JDK1.3 on Su se Linux 7.0

2001-05-17 Thread RRokytskyy
> Please report problems compiling IC2.0 (firebird version) to > the firebird bugs list-- it's on sourceforge also. I would > certainly appreciate it if you would try the ant build script > first, I haven't been able to get the makefile to work for me. Ok, I will do this after trying to get t

RE: [JBoss-user] Intrabean Call ?

2001-05-17 Thread RRokytskyy
The ctx variable in the documentation example is of javax.naming.Context type, while your ctx is of javax.ejb.SessionContext   in the book you should have something like:   javax.naming.Context ctx = new javax.naming.InitialContext(...); -Original Message-From: Thomas Grnert

RE: [JBoss-user] How To JBoss 2.1.1, Interbase 6.01, JDK1.3 on Su se Linux 7.0

2001-05-17 Thread RRokytskyy
> 1. Does your NetTCP.cpp contain something like this? (around line 141) > > int > NetTCP::netOpen (int sockfd, int *newSockfd, int inetdflag) > { > register int tmpSockfd, childpid; > //david jencks 1-19-2001 begin > // int clilen, on; > #ifndef socklen_t //problem on ms compiler > #defin

RE: [JBoss-user] How To JBoss 2.1.1, Interbase 6.01, JDK1.3 on Suse Linux 7.0

2001-05-17 Thread RRokytskyy
Hi, Great job! I've experienced the same problems with IB 6.01 on Debian Linux. There were few differencies from your "how to": > 1. > > Install Interbase from www.interbase.com. Unpack and run, > there is no problem. Attention on the first gsec call. > gsec -user SYSDBA -password changeme (

RE: [JBoss-user] select count(*) from ... during CMP bean creatio n

2001-05-15 Thread RRokytskyy
> It looks to me as if having JAWSPersistenceManager get the class of a > JDBCCommandFactory from the container metadata, and having > JDBCCommandFactory descendants (and the commands they create) > implement the > db specific behaviour is a possibility. Is this what you > were proposing? Not

RE: [JBoss-user] 100,000 CMP entity beans on Firebird 0.9.4/Debian Linux

2001-05-15 Thread RRokytskyy
Sorry for not replying to the topic, I was busy by tuning the performance of database (Firebird 0.9.4 p1). Now everything is ok. I don't use PosgreSQL any longer, because even the 7.x version is slower than Firebird (also I am using InterBase since the version 4.0, and I do like it! :)) > Can you

RE: [JBoss-user] Unable to resolve JNDI name

2001-05-15 Thread RRokytskyy
> Is it a bug? Shouldn't jBoss report that it could not > find jboss.xml during deployment? No, if no jboss.xml found, it uses the standardjboss.xml in the configuration dir. Same applies to the jaws.xml (it uses standardjaws.xml instead). Only ejb-jar.xml is required. Roman ___

RE: [JBoss-user] How can I embed JDBC into JBOSS?

2001-05-15 Thread RRokytskyy
Can you rephrase the question? Do you want to include your JDBC driver in the JBoss installation? If yes, then just put it into the lib/ext directory Do you want to configure your JBoss to use your JDBC driver in the database? If yes, read the Chapter 3 of documentation (http://www.jboss.org/do

RE: [JBoss-user] Does it really needed the interfaces of the EJBHome and EJBObject subclasses to exist on the client side?

2001-05-15 Thread RRokytskyy
> Do you need the class when you compile? If the answer is > positive, it would > be quite sure that you would need it when you use it (during runtime) I think that is not true. You can have some interface that you need at compile time, but you definitely will have no implementation if it was cr

RE: [JBoss-user] select count(*) from ... during CMP bean creation

2001-05-15 Thread RRokytskyy
> It occurs to me that if you expect the insert to normally > succeed, you could start by trying the insert, if it fails > you can investigate further with the count(*) query to > see if the problem is the existing row. This would be > one access for success, 2 for failure instead of 1+ > fo

[JBoss-user] select count(*) from ... during CMP bean creation

2001-05-14 Thread RRokytskyy
Hi all, Is there any possibility to switch off the additional lookup when creating the CMP entity bean? As far as I know, JAWS first invokes the "SELECT COUNT(*) FROM MYBEANTABLE WHERE MYBEANPK = ?", checks if the column contains 0, and only then issues the "INSERT INTO MYBEANTABLE ". Abov

RE: [JBoss-user] BUG?: when JAWS CMP field type is java.langObject

2001-05-11 Thread RRokytskyy
> 1) Declare my field as byte[] and serialize the supplied > object to it myself > (I'm pretty sure the byte[] cmp management works?) It depends. I had problems with byte[] and InterBase JDBC driver. It is caused by the same method: in case of byte array it does not try to wrap it in the Marsha

RE: [JBoss-user] CMP finder method problem

2001-05-11 Thread RRokytskyy
> I could get to the bottom of this if I could just see what > the container is doing when the findAll() is triggered. > My question is: is there a way to print or log the SQL SELECT > statement that the container has executed on my entity bean's > behalf? If not, can anyone suggest a good way

RE: [JBoss-user] Postgres woes

2001-05-10 Thread RRokytskyy
> postgres datasource is connecting fine on startup, but when any > ejbCreate method is called (i.e. an INSERT is called) > postgresql throws > this: > > java.lang.reflect.UndeclaredThrowableException: > javax.transaction.RollbackException: Unable to commit, tx=XidImpl > [FormatId=257, GlobalId=

RE: [JBoss-user] findByPrimaryKey(byte[] id) method signature problem

2001-05-09 Thread RRokytskyy
> My understanding is that you must use an Java Object with a > parameterless contractor (ie no primitive type or array :( ). That was my understanding too. But BAS 4.5 seems to be more "intelligent" than I expected: it works also with the "normal" findByPrimaryKey(Object key) method too. Howeve

[JBoss-user] findByPrimaryKey(byte[] id) method signature problem

2001-05-08 Thread RRokytskyy
Hi all, I just tried to deploy my EJBs developed under JBoss 2.0 FINAL to Borland Application Server 4.5 for performance testing. Well... it crashed... :) The reason for this is that I have one findByPrimaryKey(byte[] id) method, where id is the MD5 digest. In case of JBoss I often get problems

RE: [JBoss-user] 100,000 CMP entity beans

2001-05-08 Thread RRokytskyy
> Is this CMP or BMP? We're focusing on CMP performance in version 2.3. CMP > How are the transactions written? Do you call multiple methods from a > client, or are you using session wrappers, or is each transaction one > method inherently? I think that transaction per method. I do not use an

RE: [JBoss-user] 100,000 CMP entity beans

2001-05-08 Thread RRokytskyy
Thank you a lot for info! Can you give some estimates about the performace? I've conducted small test on my PC (Pentium III 550 MHz, 256 Mb RAM) using jboss and Hypersonic SQL. I get: creating 100 beans - approx. 5000 ms updating 100 beans - approx. 5000 ms deleting 100 beans - approx. 8000 ms

RE: [JBoss-user] (no subject)

2001-05-07 Thread RRokytskyy
You can use the method getRealPath() of the javax.servlet.ServletContext. In case of JSP page you can use: String absPath = config.getServletContext().getRealPath("/"); > -Original Message- > From: Felix Munoz [mailto:[EMAIL PROTECTED]] > Sent: Montag, 7. Mai 2001 10:26 > To: '[EMAIL PR

RE: [JBoss-user] Is it best to place business logic in EJB's or in database stored procedures?

2001-05-04 Thread RRokytskyy
Hi, > I am working for an Oracle shop who are new to J2EE and they have a > preference for placing the business logic in stored procs so > that they can > leverage their existing expertise. > i.e. The app server hosts SessionBeans's that simply delegate > to stored > procs. > > The standard ap

[JBoss-user] 100,000 CMP entity beans

2001-05-04 Thread RRokytskyy
Hi, Have anybody come accross such amout of beans? Would you be so kind to post your hardware and JBoss configuration (I mean basically database-related params: database type, its configuration) Thanks in advance, Roman Rokytskyy ___ JBoss-user maili

RE: [JBoss-user] Interest Example, NoClassDefFoundError

2001-05-04 Thread RRokytskyy
You forgot to include jbossx-client.jar... > -Original Message- > From: Boon Yeo [mailto:[EMAIL PROTECTED]] > Sent: Freitag, 4. Mai 2001 17:47 > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Interest Example, NoClassDefFoundError > > > Hello folks, > > Anybody knows why I am getting th

RE: [JBoss-user] Deployment problem.

2001-05-04 Thread RRokytskyy
Funny, but that seem to forgot to put that class into the .jar file... Each deployed .jar file should have all required classes, or they should be in the JBoss bootstrap classpath... You have to resolve that manually... > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTEC

RE: [JBoss-user] External reference inside one jar

2001-05-04 Thread RRokytskyy
> DbSourceHome home = (DbSourceHome) new > InitialContext().lookup("java:comp/env/ejb/guyr/DbSource"); in my case it will look InitialContext().lookup("java:comp/env/jndi/guyr/DbSource"); :) > ejb/guyr/DbSource Again, in my case that will be: jndi/guyr/DbSourc

RE: [JBoss-user] Passing structures to an ejb

2001-05-04 Thread RRokytskyy
Well... you specified that behaviour by your self:   private void writeObject(java.io.ObjectOutputStream out) throws IOException {}private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException {} Objects are serialized to be passed through RMI. If

RE: [JBoss-user] Logging

2001-05-04 Thread RRokytskyy
Probably you can redirect them explicitly: OutputStream out = new FileOutputStream("my.log") System.setOut(out); System.setErr(out); But that will override the System.out and System.err for all classes loaded by this.getClass().getClassLoader() classloader... probably you should use the Log4j st

RE: [JBoss-user] External reference inside one jar - SOLVED

2001-05-03 Thread RRokytskyy
Hi again, I've solved the problem. It has nothing to the external references at all. The problem was with JAWS descriptor, it caused the incorrect SQLs to be issued: My bean has composite primary key: {byte[] accountId, String groupName}. During create(byte[] accountId, String groupName) JBoss

[JBoss-user] Scalability question

2001-05-03 Thread RRokytskyy
Hi all, I'm going to handle approximately 100,000 entity beans with simultaneous access approximately 1-10 bean accesses per second. Is JBoss 2.0 FINAL capable handling such amounth of entity beans? And what database would you recommend to handle such load? Thank you in advance, Roman Rokytsky

[JBoss-user] External reference inside one jar

2001-05-03 Thread RRokytskyy
Hi, I need to deploy same beans in different jar files in same JBoss instance (I'm using JBoss 2.0 FINAL). These beans implement user account bases, and I need two different account bases. To acomplish this, I use reference in the ejb-jar.xml and appropriate in jboss.xml specifying in ejb-ref/