[JBoss-user] [Performance Tuning] - Re: Performance of 3.2.3 When EJB requires DB lookup

2004-03-29 Thread loubyansky
W/o looking at SQL it is impossible to say what the problem is. Perhaps, it is using joins for the opposite direction. I am not saying it takes that long but I can't say it isn't neither. It would also help if you could compare the SQL from 3.0.8 and 3.2.3 and let us know how long it took in 3.0

[JBoss-user] [Persistence & CMP/JBoss] - Re: Finder CMP methods not working?

2004-03-29 Thread loubyansky
Yes and JBoss version, please. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827854#3827854";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827854>Reply to the post --- This SF.Net emai

[JBoss-user] [Persistence & CMP/JBoss] - Re: Why MIN/MAX functions work only on numbers?

2004-03-29 Thread loubyansky
That's true. The query should be compiled correctly. The problem occurs at reading the result, right? You can submit a bug report for this case. (It should work in HEAD). Only, CMP fields can be used in queries. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827855#3827855";>View the

[JBoss-user] [Persistence & CMP/JBoss] - Re:

2004-03-29 Thread loubyansky
You are right. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827856#3827856";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827856>Reply to the post --- This SF.Net email is sponsored b

[JBoss-user] [Persistence & CMP/JBoss] - Re: cascade-delete performing update instead of delete

2004-03-29 Thread loubyansky
Set it up for batch-cascade-delete. http://sourceforge.net/tracker/?func=detail&aid=838522&group_id=22866&atid=381174 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827857#3827857";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827857>Reply

[JBoss-user] [Nukes User] - URL to module mapping

2004-03-29 Thread dlux42
As I see in the NukeServlet code, all the non-module requests are forwarded to the HTML servlet. Is it possible to write another servlet which binds to another URL and forward the request to other module, like a newsletter-archive, for example: /newsletters/20040105alpha. Is it planned to made

RE: [JBoss-user] CMP many-to-many

2004-03-29 Thread Alexey Loubyansky
Because it is not found in ejb-jar.xml > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Laurent MARQUEZ > Sent: Thursday, March 25, 2004 3:32 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] CMP many-to-many > > Hi, > > I am usin

[JBoss-user] [Persistence & CMP/JBoss] - Re: JBoss Generating Bad SQL When Getting EJB Data

2004-03-29 Thread loubyansky
Is FunctionArgValue a local interface of the related 'testFunctionArg' entity? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827852#3827852";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827852>Reply to the post

[JBoss-user] [Persistence & CMP/JBoss] - Re: ReadyCount vs PooledCount

2004-03-29 Thread loubyansky
Pool is a set of created instances not associated with persistent data. Cache is a set of instances associated with persistent data. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827851#3827851";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [Beginners Corner] - Re: EJB CMR questions

2004-03-29 Thread loubyansky
key-field mapps a primary key field to a foreign key column. I don't know whether the mapping you posted is correct in the context of your application. An entity bean with CMR can also have remote interface but CMR can only be accessed within local interfaces. http://www.jboss.org/index.html?mod

[JBoss-user] [Persistence & CMP/JBoss] - Re: one to many relationship and XDoclet

2004-03-29 Thread loubyansky
This looks correct. Do you have other relationships? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827848#3827848";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827848>Reply to the post --

[JBoss-user] [Security & JAAS/JBoss] - Custom Login Module using UsernamePasswordLoginModule

2004-03-29 Thread sanjuthomas
hi all, we were using weblogic, now we are migrating to jboss, so need to implement a security system, we have written a class that extends UsernamePasswordLoginModule, that alomost like DatabaseServerLoginModule class, or we made changes in the DatabaseServerLoginModule Class, according to our

[JBoss-user] [Persistence & CMP/JBoss] - Re: Foreign key as a Primary Key

2004-03-29 Thread loubyansky
This is done by mapping foreign key fields to primary key columns. Your example is incorrect as it declares CMR fields as primary keys. Only CMP fields can be primary keys. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827846#3827846";>View the original post http://www.jboss.org/ind

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Comparison of UIL2, OIL2 and OIL

2004-03-29 Thread lucasfowler
Thanks for the prompt reply Scott. 1. So what is the roadmap for the protocols in 3.2.3, can we assume OIL and UIL2? 2. We're running Linux 2.4.18-smp with 2 1.4 GHz Pentium III Java version 1.4.1_01 command line java -DJBOSS=505 -server -server -Xms4m -Xmx256m -Dprogram.name=run.sh -classpath

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Bug with post data surviving form based login?

2004-03-29 Thread Martin0
JBoss, please let me know what logging you would like turned on to supply further information if you are not able to reproduce this yourselves. Thanks Martin http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827845#3827845";>View the original post http://www.jboss.org/index.html?modu

[JBoss-user] [Persistence & CMP/JBoss] - Re: UPDATE after INSERT in CMR

2004-03-29 Thread loubyansky
Probably, you are using primary key generation entity-command and the primary key is generated at INSERT time. If so, of course, it won't work. As a workaround, you could use some entity-command that generates keys before INSERT. Sorry, but that's the spec. http://www.jboss.org/index.html?module=

[JBoss-user] [Security & JAAS/JBoss] - Subject.doAs don't work. Please help me!

2004-03-29 Thread Phantom
Sometime ago we change main developer server from weblogic to JBOSS and trying to rebuild our security system to JBOSS security approach. But we discover than Subject.doAs donÃÂÃÂÃÂÃÂt work at all. Please, explain how can we execute privileged code? Example Code in non EJB class: |

[JBoss-user] [Security & JAAS/JBoss] - Re: Can tomcat authenticated Subject be reused in JBoss EJB

2004-03-29 Thread neilthorne
Thanks for the bootstrap. I've looked around the classes involved and from what I understand of the code I noticed that during the overriden authenticate method on JBossSecurityMgrRealm the Subject created by the LoginContext instance is stored in a SecurityAssociation ThreadLocal instance

[JBoss-user] [Beginners Corner] - Re: CMP - repeated sql condition

2004-03-29 Thread loubyansky
It is on-load read-ahead. Please, check our documentation. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827841#3827841";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827841>Reply to the post

[JBoss-user] [Installation & Configuration] - Where shall I find jboss.jcml and jboss.conf files?

2004-03-29 Thread kondetisree
Hi all.. When I was goin thru Jboss Administation book its mentioned there is directory called conf under jboss. But I didn't find such type of directory after unzip the Jboss3.2.3 Books says that there are files called jboss.jcml and jboss.conf files are located under conf directory. So pls.

[JBoss-user] [EJB/JBoss] EJB QL - jboss 3.2.3 -why i can't acess to father id?

2004-03-29 Thread Laurent MARQUEZ
Hi, t_tm |t_scenario ---|-- tm_id |scenario_id tm_nom |scenario_label |scenario_valeur |scenario_horodate |scenario_tmid -> refers to t_tm.tm.id as foreign key Why I can't access to the father id tm_id? 2004-03-29 11:40:54,523 DEBUG [org

[JBoss-user] [Security & JAAS/JBoss] - DatabaseServerLoginModule

2004-03-29 Thread sanjuthomas
i am trying to mingrate from weblogic to JBoss 3.2.2, so i need to deploy my all EJBs into JBoss server, i am implementing security using DatabaseServerLoginModule since my user details & roles are stored in Database. I have completed server side implementations, but i am unaware about the entri

[JBoss-user] [Persistence & CMP/JBoss] - CMP/BMP or JDO/hibernate

2004-03-29 Thread igod
Hi, I want to create an Intranet application for an enterprise with 50 employees. I work in java for a long but it's my first time that I will do anything with EJBs. Well, I do my study work, and I learn a bit about Ejb ( session beans, stateless beans, cmp beans and bmp beans ). I consider CMP v

[JBoss-user] [Security & JAAS/JBoss] - Executing code immediately after form-base JAAS-login

2004-03-29 Thread ant
Hi All, does anybody know how to execute code directly after the webcontainer authenticates an user using form-based JAAS-login? Among other duties I inted to log (i.e. to create a log entry) every login attempt into the database. Because the webcontainer handles the authentication automaticall

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: dlq recovery to single subscriber

2004-03-29 Thread schrouf
You should better use durable subscriptions and JBossMQ redelivery feature instead of a DLQ. In case of a backend failure for one of your MDB's just call ctx.setRollbackOnly() for mdb-specific rollback of message reception. JBossMQ will automatically redeliver these messages after a configurable

[JBoss-user] Problem in deploying CastorJDO MBean

2004-03-29 Thread Marco Mistroni
Hi all, I am using jboss3.2.3, and I have deployed the CastorJDO MBean. I am experiencing problems in that it seems jboss Is trying To validate database.xml and mapping.xml by retrieving DTDs from The net. What I would like is to have it at work also when I am not online... Does anyone kno

[JBoss-user] [Beginners Corner] - enough problem to fed up

2004-03-29 Thread nytmare
hi all first i'want thanks all have contribute to this tutorial vishal ;) but i fed at each step i've stck... anonymous wrote : chap1:ejb-generate.xml becam xdoclet.xml . i'have :[ant] build faild when deploying i solve that by adding some line into jboss321all.server i found that in

[JBoss-user] [Installation & Configuration] - Re: Logging stacktraces from tomcat

2004-03-29 Thread ahardy66
I don't know what it is that is causing log4j to wrap the stacktraces from tomcat, presumably it's something in the tomcat - jboss integration. I'd love to know - anyone from JBoss? Anyway the solution is to adjust the log4j configuration. It means taking the appenders off the root category an

[JBoss-user] [Security & JAAS/JBoss] - Re: custom secuity using UsernamePasswordLoginModule class

2004-03-29 Thread [EMAIL PROTECTED]
since you already have your users and roles in the oracle database you're better off using the DatabaseLoginModule. Also you can write custom login modules, or you can use security interceptors to further your programmatic security. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38278

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Bug with post data surviving form based login?

2004-03-29 Thread Martin0
As an aside, I see the the description tags also disappear in a quote block eg web.xml above http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827826#3827826";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827826>Reply to the post

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Bug with post data surviving form based login?

2004-03-29 Thread Martin0
the forum can't display the html for my form It's just a form, action is process.jsp, method is post it has 1 input type text name text1 another input type submit, value OK That's it http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827825#3827825";>View the original post http://www.j

<    1   2