[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss JAAS x Tomcat's

2004-08-19 Thread dev2gosoft
Security context is propagated in JBoss-Tomcat. I use the databaseserverloginmodule to authenticate and i can use methods like reqest.isUserInRole etc. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845607#3845607 Reply to the post : http://www.jboss.org/in

[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Failure in Jboss 4.0RC1

2004-08-04 Thread dev2gosoft
Scott, I was not able to find an option to add a attachment to the bug report?? Am I missing something??? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844153#3844153 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844

[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Failure in Jboss 4.0RC1

2004-08-04 Thread dev2gosoft
Scott, Sorry I did not understand u,... did u mean the actual jar file or the portion of the deployment descriptor??? thanks so much in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844132#3844132 Reply to the post : http://www.jboss.org/index.html

[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Failure in Jboss 4.0RC1

2004-08-04 Thread dev2gosoft
here is the portion of ejb-jar.xml for servercontrollerbean | | | | | ServerController | | com.togosoft.ht.service.server.ServerControllerHome | com.togosoft.ht.service.server.ServerController | com.togosoft.ht.service.se

[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Failure in Jboss 4.0RC1

2004-08-04 Thread dev2gosoft
here is the snippet of the actual original message: anonymous wrote : | | | 11:12:26,546 INFO [BlockingServer] Remoting 'async' protocol clients will connect to: InvokerLocator [async://192.168.0.101:8085/?compression=-1&tcp.nodelay=true] | 11:12:27,406 WARN [EJBDepl

[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Failure in Jboss 4.0RC1

2004-08-04 Thread dev2gosoft
Scott, Here is what i noticedthe classes that the classloader reports as not able to find are exception classes thrown by business methods in a Stateless Bean. Actually the exception class do exist in the jar file as reported earlier... The error message is exactly as the one reported in

[JBoss-user] [EJB/JBoss] - EJB Deployment Failure in Jboss 4.0RC1

2004-08-04 Thread dev2gosoft
This issue appears to be related to issue# 967939 in the bug tracking database. I have trying to deploy a jar file with ejbs, that has already been successfully deployed and tested in jboss 3.2.5, on Jboss 4.0RC1 and I am getting a failure ClassNotFoundException when deploying Stateless Session

[JBoss-user] [Persistence & CMP/JBoss] - Re: Throughput of data low while using CMP/CMR entitybeans

2004-07-23 Thread dev2gosoft
Alexey, Thanks again for taking time out. It makes more sense to me now. I used the finder and the performance improved relatively. 730 records in 12 seconds. I have not used Lazy-resultset-loading yet. However sorry to pester you with couple of yet again follow up questions: 1. Do u know the

[JBoss-user] [Persistence & CMP/JBoss] - Re: Show generated SQL statements in console

2004-07-22 Thread dev2gosoft
dho, Actually Alexey pointed out how to turn on just the cmp queries instead of all the crap that gets out in the approach i mentioned. I am posting what alexey posted in one of my topics. Hope it helps Repos

[JBoss-user] [Persistence & CMP/JBoss] - Re: Show generated SQL statements in console

2004-07-22 Thread dev2gosoft
Here is the code block. i forgot to put code tags around it | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842958#3842958 Reply to the post :

[JBoss-user] [Persistence & CMP/JBoss] - Re: Throughput of data low while using CMP/CMR entitybeans

2004-07-22 Thread dev2gosoft
Alexey, Thanks For your responses. I deeply appreciate it. I need one small clarification or confirmation . The CMP query for generating related beans seems to be on each individual entity (i see ejbLoad being called for each entity). In a finder you specify the query to get all the entities and

[JBoss-user] [Persistence & CMP/JBoss] - Re: Throughput of data low while using CMP/CMR entitybeans

2004-07-21 Thread dev2gosoft
Thanks joachim, how do i turn cmp logging>??? I turned on DEBUG messages in log4j.xml...i see the queries but also a deluge of message from all the other components IS there a way to turn CMP Logging alone View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3

[JBoss-user] [Persistence & CMP/JBoss] - Re: Throughput of data low while using CMP/CMR entitybeans

2004-07-21 Thread dev2gosoft
Joachim, Yes. All of this happens in a Session Facade api with a tx attribute of required. Even the finder method to find the orders has a tx attribute of required. Is this the typical throughput that we can expect ??? I am still puzzled that only 1000 records can be retrieved per minute if you

[JBoss-user] [Persistence & CMP/JBoss] - Re: Show generated SQL statements in console

2004-07-20 Thread dev2gosoft
Yes. Choose "DEBUG" (instead of "Info" )level of message in log4j.xml ../conf directory. You will get a whole bunch of debug level messages in the console along with generated sql by the cmp. hope it helps View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=384

[JBoss-user] [Persistence & CMP/JBoss] - Re: doing findAll on CMP bean and receiving timeout

2004-07-20 Thread dev2gosoft
I have posted a similar issue http://www.jboss.com/index.html?module=bb&op=viewtopic&t=52230 The solution is not to increase the tx timeout valuebut to optimize the cmp engine or use ejbSelect or ejbHome method to retrieve the data wihtout associating with that huge number of entities..

[JBoss-user] [Persistence & CMP/JBoss] - Throughput of data low while using CMP/CMR entitybeans Jbos

2004-07-20 Thread dev2gosoft
I am new to CMP . Env: JBoss 3.2.5 JDK 1.4.2 MSSqlServer 2000 Pentium 4 2.4 Ghz Hyperthreading 500 MB RAM I have two EntityBeans OrderBean and LineItem Bean. there are 23 order entities in the order table and about 6600 entities in the LineItem table. Both the tables are linked by a Order

[JBoss-user] [Installation & Configuration] - Re: SSL Configuration with JBoss 3.2.5 /Tomcat 5 - Help!

2004-07-19 Thread dev2gosoft
that was me :) I am glad it helped View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842579#3842579 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842579 --- This SF.Ne

[JBoss-user] [Security & JAAS/JBoss] - Re: With Scott Stark's example, still can't use request.isUs

2004-07-19 Thread dev2gosoft
j_security_check not only authenticates the user against a speciified realm in login-config.xml but also writes the necessary information (authenticated identity/principal) into the thread local storage (TLS) so that security context is propagated. If you do your custom login authentication, i

[JBoss-user] [EJB/JBoss] - Re: Problem with MDB which uses JNI and raw sockets

2004-07-11 Thread dev2gosoft
However one could isolate the access of JNI functionality in a wrapper RMI object and then an MDB could become a client to the RMI object and access the jni functionality INDIRECTLY... Scott? can u help us if I am wrong... thanks in advance View the original post : http://www.jboss.org/ind

[JBoss-user] [EJB/JBoss] - Re: Problem with MDB which uses JNI and raw sockets

2004-07-11 Thread dev2gosoft
However one could isolate the access of JNI functionality in a wrapper RMI object and then an MDB could become a client to the RMI object and access the jni functionality directly... Scott? can u help us if I am wrong... thanks in advance View the original post : http://www.jboss.org/index.h

[JBoss-user] [EJB/JBoss] - Re: Problem with MDB which uses JNI and raw sockets

2004-07-11 Thread dev2gosoft
HmmmIt is my understanding that EJBContainers do no allow access to JNI functionality...? Am i Wrong??? Scott??? any thoughts on this View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841681#3841681 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [Installation & Configuration] - Re: NoSuchMethodError on 3.2.4 Deployment startup

2004-06-25 Thread dev2gosoft
I have posted how i was able to fix the problem under this new topic. http://www.jboss.org/index.html?module=bb&op=viewtopic&t=51178 Good luck...if you have futher questions please feel free to post them under this thread View the original post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Persistence & CMP/JBoss] - Re: NoSuchMethodError while deploying a CMP Entity Bean in J

2004-06-24 Thread dev2gosoft
Thanks for the prompt response. It is fixed now. Yours/ and Alexey's response lead me to inspect all the jar files in the JAVA_HOME/.../JRE/LIB/ENDORSED directory... . It was the xsltr.jar that had "bcel" stuff not the suspected xalan.jar. removed that jar file and I was able to proceed. Than

[JBoss-user] [Persistence & CMP/JBoss] - Re: NoSuchMethodError while deploying a CMP Entity Bean in J

2004-06-24 Thread dev2gosoft
Alexis, Thanks for taking time out of your response. I searched the computer for bcel.jar and the only two places I have found the jar file is /server/all/lib /server/default/lib I am running the "all" configuration. bcel.jar in the both the places is 505kb in size. (it is of 504kb in jbos

[JBoss-user] [Persistence & CMP/JBoss] - Re: NoSuchMethodError while deploying a CMP Entity Bean in J

2004-06-23 Thread dev2gosoft
My deployment descriptors and interfaces are generated by XDoclet (tags specified in the listed AccountBean.java) | /*AccountLocalHome.java listing | * Generated by XDoclet - Do not edit! | */ | package com.company.ht.data.account; | | /** | * Local home interface for Account.

[JBoss-user] [Persistence & CMP/JBoss] - NoSuchMethodError while deploying a CMP Entity Bean in JBoss

2004-06-23 Thread dev2gosoft
Hi all, I am getting this exception when a CMP Entity Bean is being deployed in JBoss 3.2.4. Please note that I have a whole bunch of stateless Session Beans deployed successfullyit is happening with CMP Entity bean only RuntimeErrorException: java.lang.NoSuchMethodError: org.apache.bcel.ge

[JBoss-user] [Installation & Configuration] - Re: NoSuchMethodError on 3.2.4 Deployment startup

2004-06-23 Thread dev2gosoft
Here is more details... I have been able to deploy all the stateless Session EJBs . But when I am deploying my first Entity CMP EJB , I get this error.: RuntimeErrorException: java.lang.NoSuchMethodError: org.apache.bcel.generic.InstructionFactory.createNewArray(Lorg/apache/bcel/generic/Type;S)

[JBoss-user] [Installation & Configuration] - Re: NoSuchMethodError on 3.2.4 Deployment startup

2004-06-23 Thread dev2gosoft
Thanks for this message thread. I find xalan.jar with different files at java 1.4.2_04 lib directories and they are much bigger than xalan.jar files in JBoss3.2.4... What is the solution??? remove the xalan.jar from java_home? thanks in advance View the original post : http://www.jboss.or

[JBoss-user] [Security & JAAS/JBoss] - Re: problem due to caching of roles in JaasSecurityManager,

2004-03-22 Thread dev2gosoft
Thanks Scott. We were just wondering how to access and call the flushAuthenticationCache in JaasSecurityManagerService. This thread should help. Thanks again for the prompt help. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826836#3826836";>View the original post http://www.jb

[JBoss-user] [Security & JAAS/JBoss] - problem due to caching of roles in JaasSecurityManager, Dat

2004-03-21 Thread dev2gosoft
Hi, We have an application that allows users to register account with an associated service plan (which maps to a specific role). The app uses a Form based authentication. The user is logged and authenticated/authorized against the infomration stored in tables which are populated from the ac