[JBoss-user] Beans not cached using A and read-only

2003-12-02 Thread Alwyn Schoeman
Hi, I am using 3.2.2. When I look at the database logs I can see that the database is queried for each access to the Bean. Also the console shows no entries in the cache. I am accessing the Bean from a servlet. Also the bean is found by executing a custom finder. The following is my

[JBoss-user] Beans not cached using A and read-only

2003-12-02 Thread Alwyn Schoeman
Hi, I am using 3.2.2. When I look at the database logs I can see that the database is queried for each access to the Bean. Also the console shows no entries in the cache. I am accessing the Bean from a servlet. Also the bean is found by executing a custom finder. The following is my

Re: [JBoss-user] Beans not cached using A and read-only

2003-12-02 Thread Alexey Loubyansky
Try with read-only=true in jbosscmp-jdbc.xml. Alwyn Schoeman wrote: Hi, I am using 3.2.2. When I look at the database logs I can see that the database is queried for each access to the Bean. Also the console shows no entries in the cache. I am accessing the Bean from a servlet. Also the bean

[JBoss-user] How to set Security Context in JBoss

2003-12-02 Thread Munesh Gupta
Hi, I have posted similar message earlier also, therefore I apologize for posting it again.but I need help urgently. Can someone guide me how to set Security Context in JBoss 3.2.0 as I am getting Java.lang.IllegalStateException : No security context set when I invoke

Re: [JBoss-user] Beans not cached using A and read-only

2003-12-02 Thread Alwyn Schoeman
On Tue, Dec 02, 2003 at 10:11:27AM +0200, Alexey Loubyansky wrote: Try with read-only=true in jbosscmp-jdbc.xml. It seems to be set. The following is my jbosscmp-jdbc.xml: ?xml version=1.0 encoding=UTF-8? !DOCTYPE jbosscmp-jdbc PUBLIC -//JBoss//DTD JBOSSCMP-JDBC 3.2//EN

Re: [JBoss-user] [RESOLVED] Unable to run 3.2.2 on Windoze

2003-12-02 Thread Jim Crossley
The problem appears to be related to the ISA Firewall Client. When activated, I get Address already in use: JVM_Bind errors for ports 1099, , 8080 and others. When deactivated, the errors go away. I would still be interested to know why JBoss 3.0.4 works fine with the ISA Firewall Client

[JBoss-user] Oracle error

2003-12-02 Thread hernan . terzian
Hi all, I have a CMP entity bean that access to oracle 9i database. When I do the lookup it has no problem, but when I try to get some attribute (eg getName()) it gives the following error: org.jboss.tm.JBossTransactionRolledbackException: Load failed; CausedByException is:

Re: [JBoss-user] How to set Security Context in JBoss

2003-12-02 Thread Scott M Stark
See the JAAS howto on sourceforge: http://sourceforge.net/docman/display_doc.php?docid=18240group_id=22866 Scott Stark Chief Technology Officer JBoss Group, LLC Munesh Gupta wrote: Hi, I have posted similar message earlier also, therefore I

Re: [JBoss-user] JMS Test Harness - Fails on session.createTopic(String name)

2003-12-02 Thread Scott M Stark
Yes. Scott Stark Chief Technology Officer JBoss Group, LLC Nicholas wrote: I am porting some JMS performance test harnesses over to JBoss, but a common problem seems to be that the dynamic calls to session.createTopic(String name) are not

Re: [JBoss-user] [RESOLVED] Unable to run 3.2.2 on Windoze

2003-12-02 Thread Ricardo Argüello
I told you, it was spyware. :-) Jim Crossley wrote: The problem appears to be related to the ISA Firewall Client. When activated, I get Address already in use: JVM_Bind errors for ports 1099, , 8080 and others. When deactivated, the errors go away. I would still be interested to know why

RE: [JBoss-user] Unexpected Signal : 11

2003-12-02 Thread Rod Macpherson
Segmentation Violation. Unless you are making JNI calls there is nothing application code can do to generate this signal. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2003 9:25 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Unexpected

Re: [JBoss-user] Unexpected Signal : 11

2003-12-02 Thread gabriel
Rod, I think you forgot the text. Rod Macpherson [EMAIL PROTECTED] escreveu: Enviado usando webmail v2.3 --- This SF.net email is sponsored by OSDN's Audience Survey. Help shape OSDN's sites and

Re: [JBoss-user] Beans not cached using A and read-only

2003-12-02 Thread Alexey Loubyansky
Sorry, I was inattentive. Of course, it should work w/o read-only in jbosscmp-jdbc.xml. Can you check whether commit option A works at all for you? Just a simple example. If so, under what config options it breaks? Thanks. Alwyn Schoeman wrote: On Tue, Dec 02, 2003 at 10:11:27AM +0200, Alexey

[JBoss-user] flushing cache with commit option A

2003-12-02 Thread Frank Morton
I'm using 3.2.2 in production with commit option A. Every now and then I'd like to do some SQL directly on the database, but doing so would get the cached entity bean content out of sync with the data. Usually it is with database content that I know is not being modified elsewhere (or I'm willing

Re: [JBoss-user] flushing cache with commit option A

2003-12-02 Thread Nicholas
You can call the MBean from the JMX Console. Look in the domain jboss.j2ee and look for the mbean that is named something like jndiName=your ejb jndi name,plugin=cache,service=EJB. Click on it and there is an operation called flush(). You can do it programatically using the RMIAdaptor as well.

RE: [JBoss-user] Unexpected Signal : 11

2003-12-02 Thread Adrian Brock
On Tue, 2003-12-02 at 19:11, Rod Macpherson wrote: Segmentation Violation. Unless you are making JNI calls there is nothing application code can do to generate this signal. Except allocate all the memory and the VM doesn't trap the out of memory situation. In this case, it looks like the

Re: [JBoss-user] Beans not cached using A and read-only

2003-12-02 Thread Adrian Brock
On Tue, 2003-12-02 at 07:42, Alwyn Schoeman wrote: Hi, I am using 3.2.2. When I look at the database logs I can see that the database is queried for each access to the Bean. Also the console shows no entries in the cache. I am accessing the Bean from a servlet. Also the bean is found by

[JBoss-user] Container Responsibility for CMR Foreign Keys

2003-12-02 Thread Hanson, Matthew
Hi, I am using xdoclet 1.2b2 to generate deployment descriptors and classes, including value objects, for two beans that I hope to write with support for CMR. We also use Jboss 3.2.1 as my app server and hypersonic and/or mysql as the db. Basically, I just want to write a relatively

Re: [JBoss-user] Container Responsibility for CMR Foreign Keys

2003-12-02 Thread Alexey Loubyansky
By the spec, you may not establish relationships in ejbCreate but may in ejbPostCreate. By default, INSERT is done after ejbCreate but before ejbPostCreate. You can use insert-after-ejb-post-create to delay INSERT until after ejbPostCreate but this feature is available, AFAIR, since 3.2.2.

[JBoss-user] NoClassDefFoundError when using Scheduler Service

2003-12-02 Thread Poppe, Troy
I am using the Scheduler Service that ships with 3.2.1. I am attempting to schedule work to be done through a class that implements the Schedulable interface (as listed in Chapter 10 of the DOCO). I am getting a NoClassDefFoundException inside my class while trying to instantiate an object.

[JBoss-user] Unclear ClassNotFound error reports

2003-12-02 Thread Christofer Dutz
Hi, I have had this problem about two or three times now. If I create an EJB which extends a base EJB (an abstract class that implements all the useless dummy methods needed in an EJB) and I deploy everything without the base class, JBoss gives me a ClassNotFoundException with the EJB-class as

Re: [JBoss-user] Unclear ClassNotFound error reports

2003-12-02 Thread Adrian Brock
On Tue, 2003-12-02 at 23:07, Christofer Dutz wrote: Hi, I have had this problem about two or three times now. If I create an EJB which extends a base EJB (an abstract class that implements all the useless dummy methods needed in an EJB) and I deploy everything without the base class, JBoss

[JBoss-user] Extend DatabaseServerLoginModule functionality.

2003-12-02 Thread Victor Batista
Hello! I have an enterprise application which is using the DatabaseServerLoginModule to authenticate users. The web application is using Form Based authentication, with the login-page and error-page defined on the web.xml file. Now I need to extend the DatabaseServerLoginModule

Re: [JBoss-user] Beans not cached using A and read-only

2003-12-02 Thread Alwyn Schoeman
On Tue, Dec 02, 2003 at 08:49:13PM +, Adrian Brock wrote: Do you do anything beyond the finder? A finder (on the home interface) just generates the client proxy(ies). It doesn't load/cache the bean instances until the remote/local interfaces are used. Regards, Adrian The finder is

Re: [JBoss-user] Beans not cached using A and read-only

2003-12-02 Thread Alwyn Schoeman
On Tue, Dec 02, 2003 at 10:02:58PM +0200, Alexey Loubyansky wrote: Sorry, I was inattentive. Of course, it should work w/o read-only in jbosscmp-jdbc.xml. Can you check whether commit option A works at all for you? Just a simple example. If so, under what config options it breaks? Thanks.

[JBoss-user] WSAD and JBoss

2003-12-02 Thread forge
Hello, everyone I've developed a J2EE project in WSAD5 and it runs well on WebShpere. I tried deploying the EAR to JBoss server (3.2.2), but it failed. How can I deploy the EAR file created in WSAD to JBoss? Now I have to create a new project in JBuilder. Does anyone have experience on