[JBoss-user] iterator extremely slow problem

2002-11-06 Thread Gene Ge
iterator extremely slow problem Because I found my search was very slow, so I made a simple test: code:* .. System.out.println(before findAll. time is+new Date().getTime()); Iterator

[JBoss-user] Re: iterator extremely slow problem

2002-11-06 Thread Gene Ge
I'm using jboss3.03 and jdk1.4 _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 --- This sf.net email is sponsored

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

2002-11-06 Thread Pete Beck
On Tue, 2002-10-29 at 17:28, Bill Burke wrote: JBoss is being used in production everywhere. I've been at 6 sites myself over the past year. IMHO and experience, entity beans are not the right choice if you're doing complex reporting. A handmade query cache with direct JDBC will always be

[JBoss-user] Réf. : [JBoss-user] iterator extremely slow problem

2002-11-06 Thread loic . lefevre
Hello Gene, According to the Log4J informations (time), It doesn't seem the problem comes from Iterator but from the getStudent() method: 18:13:02,484 INFO [STDOUT] in while. interval is6141 18:13:08,328 INFO [STDOUT] graduate is Íõ ά Cheers, Loïc Internet [EMAIL

[JBoss-user] mulitple installations

2002-11-06 Thread Susan Deaves
Can any one help me with the cinfiguration of jboss default port. In order to run 2 installations on one server I wish to change the default port(s) from 1099 to 1066.I have edited the jboss.jcml for the naming service but the second installtaion still tries to run on 1099 produving a jvm

[JBoss-user] forum search not working?

2002-11-06 Thread James Cleary
I've tried both Konqueror and Netscape doing searches in the forums and never get anything back. I browsed the installation and config forum.. noted xalan mentioned and then searched for xalan in that forum. Nothing returned. I'm logged in as user cleary. What gives? James

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

2002-11-06 Thread Michael Bartmann
Absolutely! I don't have to add much to this, but I think that this request (non-container ejb-ql) is so important (and a good workaround, too), that I simply couldn't resist to reply. Anyway, would this be difficult to achieve? Regards, Michael Bartmann Pete Beck wrote: On Tue, 2002-10-29

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

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

2002-11-06 Thread Michael Bartmann
Comments inline, Regards, Michael saroj kumar wrote: 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? As I understand the main usecase: We _have_ entities (tereby xml) and containers, but have a way to

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

2002-11-06 Thread Peter Fagerlund
onsdagen den 6 november 2002 kl 13.51 skrev saroj kumar: 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? How would Hibernate stand up ? ... As a

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

2002-11-06 Thread Dain Sundstrom
Michael, The idea for an in memory query engine is interesting, but this requires that all of you data to fit into memory and actually be in memory. If you want to write it, that would be cool, but I think there are way more important things to make CMP fast. -dain Michael Bartmann wrote:

Re: [JBoss-user] iterator extremely slow problem

2002-11-06 Thread Dain Sundstrom
Are you trying to say that you iterate over all of the cmr's in the iterate. If you are, there is little that can be done. The current read ahead code does not support reading ahead across relationships on-find in response to a query. I suggest you try OptimizeIt to make sure, but I would

[JBoss-user] JBoss 2.4.8+ BUG in XAConnection Pool

2002-11-06 Thread Giorgio Ponza
Hi all. I've posted weeks ago explaining my problem, but got no response. My problem is that when i start JBoss 2.4.8 and 2.4.9 WITHOUT doing any configuration changes, it says WARN,XAConnectionFactory] XAConnectionImpl: org.jboss.pool.jdbc.xa.wrapper.XAConnectionImpl@53c375 has no current tx!

[JBoss-user] Various problems experienced with JBoss 3.0 on W2K

2002-11-06 Thread Diego Castillo
Hi all, I am experienced two problems with JBoss on W2K + Sun JDK 1.4.0: 1. My application has run on JBoss 3.0.0 for several days without problem, but when I tried to upgrade to JBoss 3.0.4, the JVM hang a couple of times. I looked into the logs and could not find any exception or

[JBoss-user] deployment directory

2002-11-06 Thread Sebastien CHAUSSON
Hi, Is it possible to configure jboss deployment directory to deploy my .jar files in another place than '$JBOSS_HOME/server/default/deploy' ? TIA, Sebastien

[JBoss-user] Activation Failure after beanLocal.remove()

2002-11-06 Thread Ricardo Escalon
Hello I have been trying to look for info on this problem and I have not found anything useful. Let me describe my problem. I have an applet that accesses a servlet that in turn communicates with an EJB. in the Applet.destroy() I send a request to my servlet called endSession this gets handled

[JBoss-user] Re: iterator extremely slow problem

2002-11-06 Thread Gene Ge
Yes, I also think it's a CMR problem, I really wonder why it is so slow to get CMR. Any other idea???help!!! Gene Hello Gene, According to the Log4J informations (time), It doesn't seem the problem comes from Iterator but from the getStudent() method: 18:13:02,484 INFO [STDOUT]

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

2002-11-06 Thread Michael Bartmann
Dain, I'm a bit confused (especially by your phrase in memory query) and I don't know if you misunderstood me (or Pete's original post) or I misunderstand you. I'll try to make clear what I meant: 1) we have a jboss with cmp2 container and deployed entities, so this container knows how to

[JBoss-user] Ldap connection problem

2002-11-06 Thread David Luis Fernandes de Araujo
Hi, i'm using a external ldap in jboss 3.0, but when a stop and restart my ldap server, jboss looses the connection to the ldap server. Is there a way the jboss restabilish the connection to the external ldap ? Thanks .david --- This

[JBoss-user] connections autocomitting?

2002-11-06 Thread David Ward
Hello, all - seeing some weird behavior since we upgraded from JBoss 2.4.7 to 3.0.3. I have attached our old jboss.jcml and our new oracle-servic.xml to this email, and have included full environment listings at the bottom of this email. Our application has a servlet in the web tier that

RE: [JBoss-user] RE: ejbstore in BMP

2002-11-06 Thread Sternagel Annegret (SYS/PE)
Hi, what about: - read the primarykey from DB in ejbFindByPrimaryKey() - set the internal data from DB in ejbLoad() - implement a read-method in the RemoteInterface which returns an object containing all the data - implement a write-method in the RemoteInterface which gets an object with the

[JBoss-user] query with a cmr field

2002-11-06 Thread kiuma
hi all, I'd like how to formulate a query when there is a cmr field involved. I want a query like this: * @ejb.finder *signature=java.util.Collection findInPeriod( int pCalendarId, java.sql.Date pFromDate, java.sql.Date pToDate ) *query=SELECT OBJECT(Holyday) FROM WaHolyday

[JBoss-user] JAAS - Problem with Ldap Realm

2002-11-06 Thread Keene Hammond
Hi, I am unable to create a new security realm using the LdapLoginModule. I would appreciate some help configuring a new realm to point to a LDAP directory server. OS: XP pro SP1 JDK: 1.4.1_01 JBoss: 3.0.3 snippet from login-config.xml !-- Internal Directory Service Authentication --

Re: [JBoss-user] JBoss 2.4.8+ BUG in XAConnection Pool

2002-11-06 Thread David Jencks
You can probably ignore this message without ill effects. david jencks On 2002.11.06 09:33:44 -0500 Giorgio Ponza wrote: Hi all. I've posted weeks ago explaining my problem, but got no response. My problem is that when i start JBoss 2.4.8 and 2.4.9 WITHOUT doing any configuration changes, it

[JBoss-user] ejb design question

2002-11-06 Thread Beau Cronin
Hi all. I have design question which I'm sure someone on this list can answer without blinking, but which has been giving me fits: Basically, I have an entity bean A whose name is derived from the names of its CMR entity beans B and C. I.e., the name is not stored in one of A's CMP fields

Re: [JBoss-user] connections autocomitting?

2002-11-06 Thread David Jencks
You can investigate the wrapper behavior by inserting these log statements in connector/src/main/org/jboss/resource/adapter/jdbc/local/LocalManagedConnection.java. private static final Logger log =org.jboss.logging. Logger.getLogger(LocalManagedConnection.class); public void begin()

Re: [JBoss-user] JBoss 2.4.8+ BUG in XAConnection Pool

2002-11-06 Thread Giorgio Ponza
I'd like to ignore the message but i tell u this. If i use Jboss 2.4.4 with a ConnectionPool of 30, if i run JMeter for a test, it uses different connections. If i use JBoss 2.4.9 with a ConnectionPool of 30, it always returns the first and only connection created during startup, ignoring the

[JBoss-user] Remote calls broke when move from JBoss 2.4 to Jboss 3.0.3

2002-11-06 Thread Keith
Hi: We are in the process of moving our applications from JBoss 2.4.1 to Jboss 3.0.3, and discovered that objects passed to a remote interface are being referenced instead of serialized like that should in accordance to the J2EE specs. This is not the behavior we want to have, otherwise we would

[JBoss-user] Jboss 3.0.4 with Jetty, ROOT.war

2002-11-06 Thread Sebastian Hauer
Hi, Today I tried to bind a web application to the root context of Jetty running in Jboss 3.0.4. I followed the instructions to create a tomcat style ROOT.war. Unfortunately it did not work instead of getting bound to / the web app was bound to /ROOT. What am I doing wrong? Here is the

[JBoss-user] JBoss loading wrong Login Module

2002-11-06 Thread otisg
Hello, Problem configuring authentication with JBoss 3.0.4. This worked with JBoss 2.4.4. Error when performing JAAS auth: 14:18:46,360 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files java.io.IOException: Properties file users.properties not found at

Re: [JBoss-user] Remote calls broke when move from JBoss 2.4 to Jboss3.0.3

2002-11-06 Thread Greg Turner
That is not a bug, but a feature. I would advise against turning off that feature. (Don't know how you would turn that off) Slow performance of apps is 9 times out of 10 caused by serialization. Do you really want unnecessary serializations going on, slowing down your app? Keith wrote:

RE: [JBoss-user] Jboss 3.0.4 with Jetty, ROOT.war

2002-11-06 Thread Sebastian Hauer
Actually to answer my question. I was able to bind ROOT.war to the / context using a jboss-web.xml file where I defined / as context. According to the current documentation I should have been able to do this without the jboss-web.xml setting though. Sebastian -Original Message- From:

RE: [JBoss-user] Remote calls broke when move from JBoss 2.4 to Jboss 3.0.3

2002-11-06 Thread Eric Kaplan
Keith I had a similar issue a while ago. I think you have to treat your beans like any other local object. Yes, they are running remotely, but the idea is that applications using them shouldn't think that's necessarily the case and rely on this behaviour. With a local object, all parameters

Re: [JBoss-user] Remote calls broke when move from JBoss 2.4 to Jboss 3.0.3

2002-11-06 Thread Scott M Stark
Its a known issue, see bug [ 575000 ] Can't disable call by reference. https://sourceforge.net/tracker/?func=detailaid=575000group_id=22866atid=376685 To workaround this you could install a custom interceptor that marshalled the invocation and return values to mimic the call by value semantics.

Re: [JBoss-user] JAAS - Problem with Ldap Realm

2002-11-06 Thread Keene Hammond
I removed all of the realms from the login-config.xml except the LdapLogin Module and still all default realms are loaded and my ldap realm is nowhere to be found. I am unable to change the default realms, was this working on any previous 3.x jboss? I was ok when using the auth.conf file in Jboss

[JBoss-user] InitialContext.getURLScheme - NPE

2002-11-06 Thread otisg
Hello, JBoss 3.0.4 with Tomcat. I have configured login-config.xml (snippet below), but I am getting this error, which looks like JBoss is not getting something from that file properly. 16:23:44,594 ERROR [STDERR] javax.security.auth.login.LoginException: java.lang.NullPointerException

Re: [JBoss-user] Jboss 3.0.4 with Jetty, ROOT.war

2002-11-06 Thread Jules Gosnell
1. where did you find this instruction ? 2. have you tried root.war ? Jules Sebastian Hauer wrote: Actually to answer my question. I was able to bind ROOT.war to the / context using a jboss-web.xml file where I defined / as context. According to the current documentation I should have been able

RE: [JBoss-user] CMRs are Slow (was: Entity Bean Performance Tuni ng Help)

2002-11-06 Thread Luttrell, Peter
Changing the readahead strategy should not change the results i've posted, as i run though the beans once, hense they are loaded. So back to the questions: Is it acceptable that adding 2 cmrs takes 450% the time -Original Message-From: Herve Tchepannou [mailto:[EMAIL

Re: Re: [JBoss-user] JAAS - Problem with Ldap Realm

2002-11-06 Thread otisg
Make sure you are changing the right login-config.xml (all or default or minimal). One way to do that is to rename all other setups that you are not using. I am using 'default', so I renamed all the rest, just to make sure nothing from there is getting loaded, since it is not very clear from

RE: [JBoss-user] Jboss 3.0.4 with Jetty, ROOT.war

2002-11-06 Thread Sebastian Hauer
Hi Jules, -Original Message- From: Jules Gosnell [mailto:jules;mortbay.com] Sent: Wednesday, November 06, 2002 3:57 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Jboss 3.0.4 with Jetty, ROOT.war 1. where did you find this instruction ? I found it in my copy of the JBoss

[JBoss-user] 3.2.0beta2 chokes on Cp1252

2002-11-06 Thread Tom Coleman
I built the server from CVS and it's reporting Cp1252 as an Invalid encoding name. That makes it hard to deploy Bill and Sacha's Richard Monson-Haefel examples. RH Linux 7.3 jdk1.3.1_06 I'll post the (lengthy) stack trace if it's not me.

RE: [JBoss-user] 3.2.0beta2 chokes on Cp1252

2002-11-06 Thread JD Brennan
Title: RE: [JBoss-user] 3.2.0beta2 chokes on Cp1252 cp1252 is a Windows encoding. Doesn't surprise me that it's not valid on Linux. Should probably be UTF-8. JD -Original Message- From: Tom Coleman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 06, 2002 1:45 PM To: [EMAIL

RE: [JBoss-user] Jboss 3.0.4 with Jetty, ROOT.war

2002-11-06 Thread LaBanca, Rick
I can confirm a while ago I found this bug too, neither upper or lowercase worked for me, so forced to use the config file also. From the jetty docs: - Given the code above, Jetty would look in the directory ./webapps/ for all war files and subdirectories, and configure itself with each

Re: [JBoss-user] JAAS - Problem with Ldap Realm

2002-11-06 Thread Jon Brisbin
I have also had a lot of trouble using the LdapLoginModule successfully. I finally decided to roll my own implementation because I couldn't hardly read the code from the source distro ;-) I also had a problem with the method by which the searches were being performed, specifically, that my

[JBoss-user] Swing Application Client

2002-11-06 Thread Todd M Benge
Hi, I'm in the process of porting an existing J2EE application from the Orion Application Server to JBoss 3.0.3. The main entry point into the application is a Swing application client ( applet ). I'm having troubles establishing an InitialContext with JBoss. On orion, a specific context

Re: [JBoss-user] Jboss 3.0.4 with Jetty, ROOT.war

2002-11-06 Thread Jules Gosnell
OK Guys, Thanks for the input. I'll check up on this. Jules LaBanca, Rick wrote: I can confirm a while ago I found this bug too, neither upper or lowercase worked for me, so forced to use the config file also. From the jetty docs: - Given the code above, Jetty would look in the

[JBoss-user] Margo bekler sqeq

2002-11-06 Thread Bettina Cianci
SADECE TÜRK KAÞARLAR VAR!!! DÜNYANIN EN SEKSÝ KIZLARINI CANLI SEYREDÝN! KARÞILIKLI CHAT YAPIN, WEBCAM DE ÝSTEDÝÐÝNÝZ HERÞEYÝ YAPSINLAR! SÝZ ÝSTEYÝN ONLAR SOYUNSUN! TÜRK KIZLARI-TÜRK KAÞARLARI-TÜRK ÜNV. KIZLARI-TÜRK EV KADINLARI VAR! YABANCI HATUN YOK! HEPSÝ SADECE AMA SADECE TÜRK HATUNLARI!

Re: [JBoss-user] Jboss 3.0.4 with Jetty, ROOT.war

2002-11-06 Thread Hunter Hillegas
One thing that confused me when I was doing this was that I needed to name the war file ROOT.war. Calling it root.war didn't work (deployed at /root instead of /). From: Jules Gosnell [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 06 Nov 2002 20:56:34 + To: [EMAIL PROTECTED]

Re: [JBoss-user] CMRs are Slow (was: Entity Bean Performance Tuni ng Help)

2002-11-06 Thread Dain Sundstrom
Did you miss my email? It is slow because there is no way to readahead across a cmr on-find in response to a query. This will eventually be in, but it is not not, so you get a query for each cmr you load. If you use commit option A all data will be eventually be cached so it will be fast.

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

2002-11-06 Thread Dain Sundstrom
Now I am completely confused. What exactly do you want that you can't do today? -dain Michael Bartmann wrote: Dain, I'm a bit confused (especially by your phrase in memory query) and I don't know if you misunderstood me (or Pete's original post) or I misunderstand you. I'll try to make

RE: [JBoss-user] CMRs are Slow (was: Entity Bean Performance Tuni ng Help)

2002-11-06 Thread Luttrell, Peter
No i did not see that email. I am using commit option A. The first time that I run through all beans, the main ones as well as the relationship ones should all get cached, right? If this is correct then my question stands because the times that i posted were the 4th read. Please see the code

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

2002-11-06 Thread Luttrell, Peter
I just tested on JBoss3.0.4 (all previous tests were on 3.0.3). The times are not any better. Heres the output: 19:45:41,671 INFO [STDOUT] testing retrival speed... 19:45:41,671 INFO [STDOUT] Initial Retrival, beans may or maynot be in cache. 19:45:41,937 INFO [STDOUT] finder took 266ms.

Re: [JBoss-user] CMRs are Slow (was: Entity Bean Performance Tuni ng Help)

2002-11-06 Thread Dain Sundstrom
Well, it should be fast then. Now is when you fire up OptimizeIt and findout what part of my code is wasting all that time. -dain Luttrell, Peter wrote: No i did not see that email. I am using commit option A. The first time that I run through all beans, the main ones as well as the

RE: [JBoss-user] DatabaseServerLoginModule

2002-11-06 Thread Contact
Problem solved. After researching the source for the security.auth.spi package (you gotta love open source) and some MySQl docs, I discovered that MySQL returns MD5() encrypted passwords in HEX format. SO I simply changed the hashEncoding to HEX, and all worked just as documented/expected.

Re: [JBoss-user] JBoss 2.4.8+ BUG in XAConnection Pool

2002-11-06 Thread David Jencks
How do you know you are always getting the same connection? Is your useage multithreaded so you have 30 simultaneous transactions? If you have only one thread at a time, using only one connection is entirely appropriate. david jencks On 2002.11.06 12:53:10 -0500 Giorgio Ponza wrote: I'd like

[JBoss-user] Problem Lookup Local Home Entity Bean

2002-11-06 Thread Phuwarin . Supawarapong
I'm facing a problem when try to lookup to local home entity bean with error java.lang.ClassCastException. But I've no problem with lookup to remote home. InitialContext ic = new InitialContext(); out.print(JSP Done, Initial Context + BR); Object objRef = ic.lookup(RadiusHome);

Re: [JBoss-user] 3.2.0beta2 chokes on Cp1252

2002-11-06 Thread David Jencks
I believe that despite Crimson's opinion to the contrary, this is not a valid encoding. Try encoding=ISO-8859-1 or UTF-8. david jencks On 2002.11.06 16:45:18 -0500 Tom Coleman wrote: I built the server from CVS and it's reporting Cp1252 as an Invalid encoding name. That makes it hard to

Re: [JBoss-user] Problem Lookup Local Home Entity Bean

2002-11-06 Thread Neal Sanche
On Wednesday 06 November 2002 10:49 pm, [EMAIL PROTECTED] wrote: I'm facing a problem when try to lookup to local home entity bean with error java.lang.ClassCastException. But I've no problem with lookup to remote home. InitialContext ic = new InitialContext(); out.print(JSP Done,

[JBoss-user] character literal comparison in JBoss-QL

2002-11-06 Thread Rene Palad
I've been doing a: * @jboss:query signature=Collection findFundStatusReservedByJbCode(java.lang.Integer JB_CODE) * query=SELECT OBJECT(jr) FROM GlJournalBatch jb, IN(jb.glJournals) jr WHERE jb.jbCode=?1 AND jr.jrFundStatus='R' and keep getting a: org.jboss.deployment.DeploymentException:

Re: [JBoss-user] character literal comparison in JBoss-QL

2002-11-06 Thread Dain Sundstrom
The jr.jrFundStatus field is obviously a number and therefore cannot be compared to a string literal. Either change the field to a String or change the query. -dain Rene Palad wrote: I've been doing a: * @jboss:query signature=Collection findFundStatusReservedByJbCode(java.lang.Integer

Re: [JBoss-user] Problem Lookup Local Home Entity Bean

2002-11-06 Thread Phuwarin . Supawarapong
Hi Neal, I create entity bean with EJB2.0 CMP2.0, compose of Radius.java, RadiusHome.java, RadiusBean.java. I have one method call findAll() to query all record in the database. Source code of RadiusHome.java package testdb; import javax.ejb.*; import java.util.*; import java.lang.*; public

Re: [JBoss-user] character literal comparison in JBoss-QL

2002-11-06 Thread Rene Palad
Thanks. I was just migrating my codes from caucho resin-ee to jboss 3x. I guess 'char' comparison inside EJB-QL expression isn't in the specs but this worked fine in resin-ee, it appears that it was proprietary. I should have made it a String for portability. Anyway, as a workaround, I just