Re: [JBoss-user] Strange Exception: JMS -> MDB -> Session Bean

2003-01-06 Thread joerg maier
> An MDB interacting with a session bean will fail if they are in seperate > deployment > units and you redeploy the session bean. When you do this you have > effectively > changed the versions of all the session bean interfaces. > The MDB must be redeployed as well. > ^^^ With Jboss2

Re: [JBoss-user] Problem Insert Data To Database - SOLVED

2003-01-06 Thread Phuwarin . Supawarapong
Thanks for all help. Phuwarin --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.

Re: [JBoss-user] Jboss 3.0.4 and the Oracle 9i XA configuration

2003-01-06 Thread Weiqi Gao
David Jencks wrote: > > I think you need a 3.2 version from after 11/22/2002 when (I think) > this was fixed. Thank you for the response. I downloaded jboss-3.2.0beta3 and configured my Oracle XA DataSource easily (with the oracle-xa-ds.xml) and everything seemed to work, until ... I shut down

Re: [JBoss-user] certain apps hanging..

2003-01-06 Thread Rob Helmer
Hi Scott, Thanks for the reply! This is one of the first things I did, I couldn't seem to spot it from the output though.. Can I send this to the list? Thanks, Rob Helmer On Mon, Jan 06, 2003 at 04:13:15PM -0800, Scott M Stark wrote: > A thread dump is the first thing you need. Send a SIGQ

Re: [JBoss-user] How to use Oracle BLOB/CLOBs with JBoss

2003-01-06 Thread Stephen Coy
Sorry, I can see that this paragraph is ambiguous at best. Try this: For large binary columns: i) raw byte arrays are applied directly to the database using PreparedStatement.setBinaryStream; ii) Other java types are first serialised into a byte array using a java.rmi.MarshalledObject (remember

Re: [JBoss-user] certain apps hanging..

2003-01-06 Thread Scott M Stark
A thread dump is the first thing you need. Send a SIGQUIT or Ctrl-\ if you have a shell to generate this. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Rob Helmer" <[EMAIL PROTECTED]> To: <[EMAIL PROTEC

problems with Naming server ( was Re: [JBoss-user] certain apps hanging..)

2003-01-06 Thread Rob Helmer
Hello, After some more troubleshooting, we've managed to narrow it down to the Naming Service, which is running on port 1099... According to the boot/server.log it came up ok, but if I telnet to port 1099 it hangs up on me right away. In contrast, the server that everything is working on sits

Re: [JBoss-user] How do I propagate LoginContexts - SOLVED

2003-01-06 Thread Nicholas
Thanks for the help. I figured out what the problem was. --- Nicholas <[EMAIL PROTECTED]> wrote: > OK, I got that. (I had to secure the Axis servcies > servlet to get it to work, but it worked). > > The error I get now when I try and create a remote > from the Home is: > > java.lang.SecurityExc

[JBoss-user] certain apps hanging..

2003-01-06 Thread Rob Helmer
Hello, I am trying to figure out why we're getting no response from JSPs in one of our EAR files ( no response to an HTTP request, and I don't see anything in any of the JBoss logs ). We've tried copying the whole app server, EAR and all, to another server, where it works fine. They are both usi

Re: [JBoss-user] CMP2 - Field To Persist In Updates But Not Inserts

2003-01-06 Thread Dain Sundstrom
On Monday, January 6, 2003, at 07:20 AM, Nicholas wrote: At row creation time, I do not know what that value should be, so I want it to be null, but it appears in CMP2 that *every* field must be persisted at insert time. The EJB specification requires that all fields be initialized to Java def

Re: [JBoss-user] How do I propagate LoginContexts so allow subsequent calls to access secured EJBs ?

2003-01-06 Thread Nicholas
OK, I got that. (I had to secure the Axis servcies servlet to get it to work, but it worked). The error I get now when I try and create a remote from the Home is: java.lang.SecurityException: No method permissions assigned to method=create, interface=HOME I am not even sure how you express permi

Re: [JBoss-user] How do I propagate LoginContexts so allow subsequent calls to access secured EJBs ?

2003-01-06 Thread Scott M Stark
Its automatic when using the bundled web containers. All you need to do is be using the same security domain for the web and ejb layers. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Nicholas" <[EMAIL P

Re: [JBoss-user] Authorization Issue using Applet

2003-01-06 Thread marius
You know that you need jre >= 1.3 running the applet to use it as a jboss-client? It means that MSIE and old netscape 4.7x currently don't work as clients, but better browsers as mozilla, netscape >=7 and opera works ok. It is possible to solve this problem by tunneling through http to a servlet

[JBoss-user] cmp composite field problems

2003-01-06 Thread Sonnek, Ryan
i'm working with a CMP composite field using jboss 3.0.4 and oracle 8i. i've gone through the paydoc's several times, and can't pinpoint where this is wrong. my audit object has 4 fields, 2 string and 2 date. all have correct getters/setters. the cmp bean has a getter and setter for the Audit ob

Re: [JBoss-user] [non HTML repost] References & ObjectFactories

2003-01-06 Thread Scott M Stark
Your working inefficiently. Instead: 1. Expose the security manager interfaces methods as MBean operations on the JaasSecurityManagerServiceMBean with an additional argument of the security domain name. Now the ops are available over any protocol for which there is a JMX connector. 2. Create a Obj

[JBoss-user] How do I propagate LoginContexts so allow subsequent calls to access secured EJBs ?

2003-01-06 Thread Nicholas
There is an element of JAAS and JBossSX I am not clear on. I have set up my policy (DatabaseServerLoginModule) and I can successfully authenticate users logging in via a web service (Axis), butI am unsure of what I need to do in order to propagate the LoginContext (or its contents) so that subseque

[JBoss-user] unsubscribe

2003-01-06 Thread Kendall Brinkerhoff
Please remove Kyle Tippits ([EMAIL PROTECTED]) from your mail list. He is no longer with Center7. thankyou Kendall Brinkerhoff Postmaster [EMAIL PROTECTED] -Original Message- From: Kendall Brinkerhoff Sent: Monday, January 06, 2003 11:43 AM To: Kendall Brinkerhoff Subject: Notificatio

[JBoss-user] Connection problems after BLOB/CLOBs failure

2003-01-06 Thread Jonathan . O'Connor
Folks, all this discussion on BLOBs and slobs (:-) made me check our own code which uses a BLOB. Sure enough, it worked with a 2000 character string, but fell over with the following exception with a 4000 char string. 15:44:28,664 ERROR [DeferredData] Could not create entity java.sql.SQLExceptio

RE: [JBoss-user] DataSource or XADataSource: autocommit problem

2003-01-06 Thread Sasidharan, Manoj
Hello All, For using Oracle XA, use JBoss 3.2.0Beta3 ro JBoss 4.x... It does not work very well in previous versions. HTH regards MS -Original Message- From: David Ward [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 9:08 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] DataSourc

Re: [JBoss-user] Strange Exception: JMS -> MDB -> Session Bean

2003-01-06 Thread Scott M Stark
An MDB interacting with a session bean will fail if they are in seperate deployment units and you redeploy the session bean. When you do this you have effectively changed the versions of all the session bean interfaces. The MDB must be redeployed as well. Scott Stark Chief

Re: [JBoss-user] DataSource or XADataSource: autocommit problem

2003-01-06 Thread Igor Fedorenko
David Ward wrote: Using jboss-3.0.4_tomcat-4.1.12, JDK 1.4.1_01 on W2K, Linux, Solaris 9, hitting Oracle 9.2.0.1.0... We have an app where all traffic goes through a single Servlet that wraps all application calls in a UserTransaction gotten from JNDI. All database work gets done through a

Re: [JBoss-user] Non-HTTP Servlets?

2003-01-06 Thread Holger Baxmann
have a look at a - maybe home brewed - adapter as a kind of 'beforeburner' to achieve html (or better soap enclosed xml) from your binary drips out of the outer space ;-) : http://www.openadapter.org hth bax > Von: Rodrigo Chandía <[EMAIL PROTECTED]> > Organisation: ACM Group > Antworten an: [EM

Re: [JBoss-user] Non-HTTP Servlets?

2003-01-06 Thread Rodrigo Chandía
El Lunes 06 de Enero del 2003 10:06 AM, Muntean Horia escribió: > Do you really need other protocol than HTTP? Unfortunately, yes. I am porting legacy C code that uses a proprietary protocol. We are not touching the clients, so moving to HTTP is not an option. > So why not keep all the benefit

[JBoss-user] DataSource or XADataSource: autocommit problem

2003-01-06 Thread David Ward
Using jboss-3.0.4_tomcat-4.1.12, JDK 1.4.1_01 on W2K, Linux, Solaris 9, hitting Oracle 9.2.0.1.0... We have an app where all traffic goes through a single Servlet that wraps all application calls in a UserTransaction gotten from JNDI. All database work gets done through a single DataSource map

[JBoss-user] RE: CompositeName and JBoss 3.0.4

2003-01-06 Thread Michael Huneycutt
Scott, I understand that the CompositeName is suppose to be used for names that span Namespaces, but is appears that in all cases TopLink generates CompositeNames. The name that I am passing into their JNDIConnector is "java:/XATestDS", however I wrote a simple test and it does not matter

[JBoss-user] RE: CompositeName and JBoss 3.0.4

2003-01-06 Thread Michael Huneycutt
Dain, If you want to learn more about CompositeName and CompoundName you can read about it in most discussions on JNDI. Basically a compound name is a name that does not span multiple namespace and works within a single heirachical naming systems, and a composite name is one that spans multi

[JBoss-user] JMS network recoverability

2003-01-06 Thread Eric Kaplan
We are doing some stress testing in which we pull the cable out of one of the machines broadcasting to a JMS topic. When we plug the machine back in, we are seeing troubling behavior in which messages from other machines which did not lose network connectivity seem to get lost. We are using JBoss

Re: [JBoss-user] problem with DatabaseServerLoginModule

2003-01-06 Thread laurent belmonte
On Mon, 2003-01-06 at 16:19, Scheil, Sven wrote: > Hi, > > we are using jboss3.0.3 + tomcat 4.1.x and have developed a webapp that uses > a form-based login with the following Realm : > > > >"org.jboss.security.auth.spi.DatabaseServerLoginModule" flag = "r

RE: Re[2]: [JBoss-user] Optimistic locking ported to JBoss-3.2

2003-01-06 Thread Bill Burke
Now that Optimistic locking is done, we need to do some work to fully capitalize on it so that people can use it with Commit 'A' and avoid transactional locking. Bill Burke Chief Architect JBoss Group, LLC > -Original Message- > From: [EMAIL PROTECTED] >

Re: [JBoss-user] Transaction not saving entity bean changes

2003-01-06 Thread David Jencks
On 2003.01.06 05:53:21 -0500 [EMAIL PROTECTED] wrote: > On Sun, Jan 05, 2003 at 11:32:05PM -0500, David Jencks wrote: > > inside the jboss vm, if you start a user transaction or container > managed > > transaction, any connection obtained in the same thread is enrolled in > the > > transaction. >

[JBoss-user] problem with DatabaseServerLoginModule

2003-01-06 Thread Scheil, Sven
Hi, we are using jboss3.0.3 + tomcat 4.1.x and have developed a webapp that uses a form-based login with the following Realm : java:/CloudscapeDS select PASSWO

[JBoss-user] Authorization Issue using Applet

2003-01-06 Thread Dhiraj Ramakrishnan
Hi , I am try to develop a 3-tier web application , with front end being Applet and HTML, with JSPs and Servlets. I have a main JSP/HTML which forms 2 frames.. one calling the HTML having applet and other calling a plain HTML file. I am using LDAP authentication with Jboss3.0.4

Re: [JBoss-user] Announcement - JBoss Handbook

2003-01-06 Thread manish sharan
Meeraj I am trying to figure out if I need this book , as I already have all Jboss's paid documentation. Why doesn't amazon have more details on your book such as list of chapters, index and maybe a sample chapter ? Regards -manish From: Meeraj Kunnumpurath <[EMAIL PROTECTED]> Reply-To: [

[JBoss-user] Purposes/behavior of different MBean services

2003-01-06 Thread Meyer-Willner, Bernhard
Hi, I have a couple of questions on different MBean services which are not covered in the paid-for docs unfortunately, or are covered, but not in a sufficient manner IMHO. I'd love to hear from anybody who can tell me about the following: 1: -- Except from jboss-service.xml:

Re: [JBoss-user] Jboss 3.0.4 and the Oracle 9i XA configuration

2003-01-06 Thread Igor Fedorenko
Weiqi Gao wrote: Hi, I'm trying to use the Jboss 3.0.4 + Tomcat 4.1.12 bundle with Oracle 9i Release 2's XADataSource. I've discovered bug #585632 the hard way. The jboss-jdbc-oracle.zip attachment in the bug database (by igorfie) seems to fix the problem. Is it advicable to use the Jboss 3.

Re: [JBoss-user] Jboss 3.0.4 and the Oracle 9i XA configuration

2003-01-06 Thread David Jencks
I think you need a 3.2 version from after 11/22/2002 when (I think) this was fixed. david jencks On 2003.01.06 02:04:53 -0500 Weiqi Gao wrote: > Hi, > > I'm trying to use the Jboss 3.0.4 + Tomcat 4.1.12 bundle with Oracle 9i > Release 2's XADataSource. > > I've discovered bug #585632 the hard w

[JBoss-user] Strange Exception: JMS -> MDB -> Session Bean

2003-01-06 Thread joerg maier
Look at: http://www.jboss.org/forums/search.jsp?search=true&q=TransactionRolledbackException&forums=48&date=any&user=&range=10 there are more people with the same problem. sorry, i can´t find any solution in the jboss-forum. I have a similare problem: - There is a client-Program which sends messa

RE: [JBoss-user] How to use Oracle BLOB/CLOBs with JBoss

2003-01-06 Thread Sacha Labourey
Thank you for the synthesis Stephen. > For binary data, JBoss stores byte array data directly to the database. > All other java types are serialised using a java.rmi.MarshalledObject, > therefore your object must be serialisable. Even for CLOB and java.lang.String?!? Cheers,

[JBoss-user] How to use Oracle BLOB/CLOBs with JBoss

2003-01-06 Thread Stephen Coy
This question seems to keep cropping up from time to time. Maybe Dain can add the following information as an addendum or something to the CMP doco. This information applies to JBoss 3.0.4 and newer. Before attempting to store LOBs in Oracle, I've found it's useful to know a few things: 1. Ora

Re: [JBoss-user] Commit Option D - Observation & Questions

2003-01-06 Thread Muntean Horia
Nicholas wrote: I have been perofmring some tests on the Commit Option D. As I understand the docs, the comtainer will periodically refresh the bean state from the database, the frequency of that process being defined by the default (30 seconds) or the element. However, I have observed that th

Re[2]: [JBoss-user] Optimistic locking ported to JBoss-3.2

2003-01-06 Thread Alex Loubyansky
Hello Muntean, Monday, January 06, 2003, 4:43:25 PM, you wrote: MH> Does it make any sense using commit-option A with "Instance Per MH> Transaction" container (a.k.a optimistic lock policy)? A small note: Instance Per Transaction doesn't mean an optimistic locking policy will be used. The default

Re: [JBoss-user] Remote JMX management and notifications

2003-01-06 Thread Muntean Horia
Wink, Stephen wrote: Hi, I am using JBoss 3.0.1, and am using the remote JMX to manage and monitor applications running on JBoss. I am doing this via the RMIConnector and RMIAdaptor. I can use the JMX successfully to invoke, register and add notification listeners across JVMs. My problem star

Re: [JBoss-user] CMP2 - Field To Persist In Updates But Not Inserts

2003-01-06 Thread Nicholas
Ah, no. Sorry. What I have is a nullable field that is an optional foreign key in the database. So, I do not have to supply a value, but if I do, it will be validated against the parent table. At row creation time, I do not know what that value should be, so I want it to be null, but it appear

Re: [JBoss-user] CMP2 - Field To Persist In Updates But Not Inserts

2003-01-06 Thread Alex Loubyansky
Hello Nicholas, could you be more specific? do you mean the field should be updated by the db? alex Monday, January 06, 2003, 2:18:50 PM, you wrote: N> How can I define a CMP2 field to only persist in N> UPDATEs and not the initial INSERT ? N> Thanks. N> //Nicholas N> = N> Nicholas White

Re: [JBoss-user] Optimistic locking ported to JBoss-3.2

2003-01-06 Thread Muntean Horia
Alex Loubyansky wrote: To setup optimistic locking, container configuration element locking-policy should be set to org.jboss.ejb.plugins.lock.JDBCOptimisticLock and entity element in jbosscmp-jdbc.xml should have optimistic-locking element. Following are the possible configurations of optimisti

RE: [JBoss-user] CMP2 - Field To Persist In Updates But Not Inserts

2003-01-06 Thread saroj kumar
Hi Nicholas, Do not Make this field a part of ejbCreate() and Do not call this setter in INSERT. But, call this setter in UPDATE. -Saroj >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] On Behalf Of Nicholas >Sent: Monday, January 06, 2003 5:49 PM >To: [EMAIL P

[JBoss-user] CMP2 - Field To Persist In Updates But Not Inserts

2003-01-06 Thread Nicholas
How can I define a CMP2 field to only persist in UPDATEs and not the initial INSERT ? Thanks. //Nicholas = Nicholas Whitehead Home: (973) 377 9335 Cell: (201) 615 2716 Work: (212) 622 5639 [EMAIL PROTECTED] --- This sf.net email is sponso

Re: [JBoss-user] Non-HTTP Servlets?

2003-01-06 Thread Muntean Horia
Rodrigo Chandía wrote: Hi Everyone: Can Servlets be used to handle protocols other than HTTP? I have to handle a protocol other than HTTP in a request/response fashion so I thought servlets would be a nice way to do it. I guess that an application server can handle connections, threads and su

Re: [JBoss-user] Problem Insert Data To Database

2003-01-06 Thread Alex Loubyansky
Hello Phuwarin, 'GROUP' is a reserved word. You shouldn't use it for column/table names. alex Monday, January 06, 2003, 12:40:27 PM, you wrote: PSsc> I'm encounter problem with unable to insert data to database with this PSsc> error message. PSsc> 17:15:42,373 ERROR [Test1EJB] Could not creat

Re: [JBoss-user] Problem Insert Data To Database

2003-01-06 Thread Chris Chen
From what I can tell, your problem is caused by the use of the word "group" for your field. Since this is an entity bean you are creating, the CMP bean will generate the necessary SQL statements to access data from the database. However, "group" is a SQL keyword. Thus, you are having some co

Re: [JBoss-user] Transaction not saving entity bean changes

2003-01-06 Thread marius
On Sun, Jan 05, 2003 at 11:32:05PM -0500, David Jencks wrote: > inside the jboss vm, if you start a user transaction or container managed > transaction, any connection obtained in the same thread is enrolled in the > transaction. I suppose it become more complicated in my case. I have one method i

[JBoss-user] Problem Insert Data To Database

2003-01-06 Thread Phuwarin . Supawarapong
I'm encounter problem with unable to insert data to database with this error message. 17:15:42,373 ERROR [Test1EJB] Could not create entity java.sql.SQLException: Syntax error or access violation: You have an error in your SQL syntax near 'group) VALUES ('1041848142313', 'PROD', '2003-01-06 17:15

[JBoss-user] Another triumph for JBoss and Jetty

2003-01-06 Thread Pete Beck
After over a year in development our JBoss/Jetty based site is now live. Check out http://www.factory121.com I would like to take this opportunity to express my gratitute and appreciation to all those who have contributed to the JBoss and Jetty projects. Without their excellent work, I am sure o