RE: [JBoss-user] Clustering

2002-05-28 Thread Sacha Labourey
Hello Unmesh, Well, it should ;) More seriously, we have received some feedback from users having problems with DHCP on Windows OSes. But we thing that this is more related to the JVM implementation than anything. Consequently, you may have no problem in your environment. Do no hesitate to use

Re: [JBoss-user] Trouble hot re-deploying

2002-05-28 Thread Scott M Stark
This is a bug in the deployment of ejbs from a fixed url. This is fixed in the 3.0 branch so either get the latest code or wait for the final release due out this week. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message

[JBoss-user] custom login modules - UsernamePassword login module subclass

2002-05-28 Thread Dmitri Colebatch
hey list, I'm wondering if anyone has subclassed this successfully in JBoss 2.4.4? I'm trying to get my head around what exactly is involved, and having issues because the org.jboss.security.auth.spi.UsernamePasswordLoginModule (in lib/jboss-jaas.jar) uses org.jboss.security.Base64Encoder (in

Re: [JBoss-user] custom login modules - UsernamePassword login module subclass

2002-05-28 Thread Dmitri Colebatch
btw - got the same error without using ProxyLoginModule and putting my login module in the classpath. cheers dim - Original Message - From: Dmitri Colebatch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 28, 2002 5:00 PM Subject: [JBoss-user] custom login modules -

Re: [JBoss-user] where is the doc?

2002-05-28 Thread wonder sonic
Hemm, Does someone know where is the template .ant.properties file? see Chapter.3.SampleProject.doc page 4, line 8. Thanks in advance Wonder Sonic --- Markus Garscha [EMAIL PROTECTED] a écrit : and then go to manual/src/guide .) markus * Ricardo Argüello [EMAIL PROTECTED] [2002-05-27

Re: [JBoss-user] Trouble hot re-deploying

2002-05-28 Thread Simon Stewart
On Tue, May 28, 2002 at 10:46:14AM +1000, Dmitri Colebatch wrote: I use a method that takes a JNDI name and returns an EJBLocalHome object, which is then cast to the appropriate type. Although the returned object has the same class name as before the redeployment, I'm getting

Re: [JBoss-user] What's in the Flashline CMP/CMR Documentation?

2002-05-28 Thread Stefan Arentz
Unfortunately I don't have received an answer yet. I have no problem with supporting the project by buying the documentation, but before I do that I would like to know *what* I am buying. Stefan On Sunday, May 26, 2002, at 07:10 PM, Stefan Arentz wrote: Howdy. I bought the JBoss book

[JBoss-user] [HELP] Is there someone to help me?

2002-05-28 Thread wonder sonic
Hello everybody, I've got one error using Session beans (UserSession) from a JSP and I've got the following error: ... javax.servlet.ServletException: UserSession not bound ... Can someone tell me what can cause this error? thanks in advance, Wondersonic

Re: [JBoss-user] [HELP] Is there someone to help me?

2002-05-28 Thread Marius Kotsbak
The jndi-name UserSession is not found. Check with localhost:8082 (jndiview) what name it is bound to. It has to be the same that you are using in your webapp. On Tue, 2002-05-28 at 14:01, wonder sonic wrote: Hello everybody, I've got one error using Session beans (UserSession) from a JSP and

Re: [JBoss-user] [HELP] Is there someone to help me?

2002-05-28 Thread Alex Loubyansky
Hello wonder, Possible variants: 1. the bean wasn't bound to JNDI; 2. you look it up with a wrong name; Can you see it bound in JNDI View? (localhost:8082) alex Tuesday, May 28, 2002, 3:01:13 PM, you wrote: ws Hello everybody, ws I've got one error using Session beans (UserSession) ws from a

Re: [JBoss-user] [HELP] Is there someone to help me?

2002-05-28 Thread wonder sonic
Well it seems so, but I guess I'm really confused by all these deployment descriptors ejb-ref ejb-local-ref, ejb-link and so on... Why can't we have only one two files (ejb-jar.xml and web.xml)??? :) Regards, Sonic note: I'm french and the little amount of doc in english isn't really

Re[2]: [JBoss-user] [HELP] Is there someone to help me?

2002-05-28 Thread Alex Loubyansky
Hello wonder, Tuesday, May 28, 2002, 3:27:50 PM, you wrote: ws Well, ws here are my results for localhost:8082 ws MBean View [JMX RI/1.0] ws MBean Name: ws jboss.j2ee:service=EJB,jndiName=myrpg-atlas/UserSession ws MBean Java Class: ws org.jboss.ejb.StatelessSessionContainer ws ... ws I

Re[2]: [JBoss-user] [HELP] Is there someone to help me?

2002-05-28 Thread Alex Loubyansky
Hello wonder, Tuesday, May 28, 2002, 3:34:50 PM, you wrote: ws Well it seems so, but I guess I'm really confused ws by all these deployment descriptors ejb-ref ws ejb-local-ref, ejb-link and so on... ws Why can't we have only one two files (ejb-jar.xml ws and web.xml)??? :) Indeed, standard

Re[4]: [JBoss-user] [HELP] Is there someone to help me?

2002-05-28 Thread Alex Loubyansky
Hello wonder, I'd remove these from the war: jaas.jar jboss-client.jar jboss-j2ee.jar jbosssx-client.jar jnp-client.jar Tuesday, May 28, 2002, 3:41:04 PM, you wrote: ws Hmmm, here is my war tree: ws / (root) ws | administratorLogin.jsp ws | atlas.jsp ws

Re: [JBoss-user] What's in the Flashline CMP/CMR Documentation?

2002-05-28 Thread Justin Casp
I found the Jboss CMP doc pretty useful. It answered many of my questions, and is at least worth the $10. THe examples are useful and easy to follow. Justin Unfortunately I don't have received an answer yet. I have no problem with supporting the project by buying the documentation, but

[JBoss-user] Open Source Causes Head Explosions ? [was Is there someone to help me?]

2002-05-28 Thread Nicholas
Ah shoot, wonder. Now you've done it. I can see Microsoft making political hay from this. Microsoft: The solution for kind-hearted CIOs who do not want to explode their developer's heads Please post the non-explosive build ASAP. //Nicholas --- wonder sonic [EMAIL PROTECTED] wrote: Well it

Re[6]: [JBoss-user] [HELP] Is there someone to help me?

2002-05-28 Thread Alex Loubyansky
Hello wonder, Tuesday, May 28, 2002, 3:50:13 PM, you wrote: ws In fact these files are not in the classpath so it ws should not create problems (I need them to be ws downloaded by my SWING client). But in the ws myrpg-atlas-client.jar ws there are the interfaces (UserSession and ws

Re: Re[4]: [JBoss-user] [HELP] Is there someone to help me?

2002-05-28 Thread wonder sonic
Hemm, may I send you my deployment descriptors? Perhaps you could see the problems... :) But I don't want to bother you! Regards, wonder sonic --- Alex Loubyansky [EMAIL PROTECTED] a écrit : Hello wonder, I'd remove these from the war: jaas.jar jboss-client.jar

Re[6]: [JBoss-user] [HELP] Is there someone to help me?

2002-05-28 Thread Alex Loubyansky
Hello wonder, not yet :) the time haven't come yet. try to remove the jar with bean's interfaces first. Tuesday, May 28, 2002, 3:58:53 PM, you wrote: ws Hemm, may I send you my deployment descriptors? ws Perhaps you could see the problems... :) ws But I don't want to bother you! ws Regards,

Re: [JBoss-user] What's in the Flashline CMP/CMR Documentation?

2002-05-28 Thread Justin Casp
Sorry, forgot to answer your question. The version that I have from a few weeks ago is the Nov 2001 revision. The examples in this version seemed to work well with the latest Jboss, except for a few of the XML tags in the jbosscmp-jdbc dtd are different. I think I recall Dain saying he has a

Re: [JBoss-user] [HELP] Is there someone to help me?

2002-05-28 Thread David Ward
As far as ejb-jar.xml, web.xml, etc. (the standard descriptors), you really should read the Sun specs. It's a lot of reading but, in my opinion, necessary. You can learn about the jboss xml files either off the jboss web site HTML docs, or you can buy better documentation from flashline

Re[8]: [JBoss-user] [HELP] Is there someone to help me?

2002-05-28 Thread Alex Loubyansky
Hello wonder, Tuesday, May 28, 2002, 4:09:33 PM, you wrote: ws Well, I'm sorry of this but I have to tell you that ws once I removed the myrpg-atlasclient.jar file where ws stands the UserSession and UserSessionHome files, an ws other error occured IN the setSessionContext of my UserSession

Re: [JBoss-user] Open Source Causes Head Explosions ? [was Is there someone to help me?]

2002-05-28 Thread wonder sonic
Hemm ^_^; I keep my head, I think the explosion will not happen, perhaps is it a question of classpath managment :( --- Nicholas [EMAIL PROTECTED] a écrit : Ah shoot, wonder. Now you've done it. I can see Microsoft making political hay from this. Microsoft: The solution for kind-hearted

[JBoss-user] Jboss 3.0 remote deploy

2002-05-28 Thread conrad
Hi I'm new here ... Good afternoon :-) I'd like to ask about remote deploying enterprise application on JBoss, without telnet/ssh access. Is it possible, and if it is how can I do it or where can I find some documentation about it? Thanks in advance. -- Best Regards Conrad [EMAIL

[JBoss-user] ERROR [org.jboss.ejb.plugins.AbstractInstanceCache] Activation failure

2002-05-28 Thread Stephen Coy
Hi, When I run the test suite on reasonably recent CVS checkout of Branch_3_0 (builds an RC4) I see a few instances of stateful session bean activation failures like the log extract shown below. As far as I can tell, this bean was never passivated, yet for some reason JBoss is trying to

[JBoss-user] newbie question about CMR and permissions

2002-05-28 Thread jakob . dalsgaard
To the Jboss-User list I am trying to use CMR in Jboss 3.0RC2 and RC3 with Xdoclet generated CMPs and Stateless session beans - and it works fine when I have no security domain, and run my web application without authentication and the such. But when I add authentication to my webapp (form

Re: [JBoss-user] newbie question about CMR and permissions

2002-05-28 Thread Alex Loubyansky
Hello jakob, I'll help you :) I have Categories and Subcategories in it generated with xdoclet with relationships :) I really had a problem with relationships first during first setup. Though specifying 'unchecked' worked for me always. My problem was in not specifying full names for parameter

[JBoss-user] no reuse of pooled XAConnections

2002-05-28 Thread Stephan . Frind
Hello folks, I have a stateless session bean with transaction set to required. I am using JBoss2.4.5. I fetch a connection tempDS = (DataSource)tempIC.lookup(tempLookup); if (tempDS != null) { try { tempConnection = tempDS.getConnection(); } catch (SQLException se) {

RE: [JBoss-user] no reuse of pooled XAConnections

2002-05-28 Thread Sacha Labourey
you need to close your connection (and any other resources such as preparedstatements, resultset, etc.) in the finally clause of your try: try { con = ds.getConnection(); ps = con.create... } catch (WhateverException we) { bla; } finally { try { ps.close (); }

Re: [JBoss-user] no reuse of pooled XAConnections

2002-05-28 Thread Alex Loubyansky
Hello Stephan, tempConnection.close() returns it to the pool. Tuesday, May 28, 2002, 5:03:04 PM, you wrote: SFgd Hello folks, SFgd I have a stateless session bean with transaction set to required. I am SFgd using JBoss2.4.5. SFgd I fetch a connection SFgd tempDS =

Re: [JBoss-user] What's in the Flashline CMP/CMR Documentation?

2002-05-28 Thread Dain Sundstrom
You need to relax. The subscription includes the exact same version the that is available for sale individually. The new JBossCMP doc for JBoss 3.0 final will be available in a few days. -dain Stefan Arentz wrote: Unfortunately I don't have received an answer yet. I have no problem

Re: [JBoss-user] no reuse of pooled XAConnections

2002-05-28 Thread detlef schulze
Do you always close your Connection (tempConnection.close())? If you do so, you should re-configure your Oracle DB for a higher number of processes. If not, well, close your connections after you are done them to make a reuse possible. Hello folks, I have a stateless session bean with

Re: [JBoss-user] newbie question about CMR and permissions

2002-05-28 Thread Dain Sundstrom
This is a bug. Can you post a bug report at source forge? Thanks, -dain [EMAIL PROTECTED] wrote: To the Jboss-User list I am trying to use CMR in Jboss 3.0RC2 and RC3 with Xdoclet generated CMPs and Stateless session beans - and it works fine when I have no security domain, and run

[JBoss-user] Which App Server is running ?

2002-05-28 Thread sal Wheelar
We are supporting multiple application servers and various versions of them. Is there any way to find out from enterprise java bean that what current application is running and it's Version Number. Thanks. __ Do You Yahoo!? Yahoo! - Official

Re: [JBoss-user] What's in the Flashline CMP/CMR Documentation?

2002-05-28 Thread Stefan Arentz
On Tuesday, May 28, 2002, at 04:13 PM, Dain Sundstrom wrote: You need to relax. The subscription includes the exact same version the that is available for sale individually. The new JBossCMP doc for JBoss 3.0 final will be available in a few days. Ahh that's pretty good news Dain. I

Re: [JBoss-user] VOTE FOR JBOSS

2002-05-28 Thread Daniel CAUNE
Marc (Jean-Claude?) I'd really appreciate that your change your behaviour and that you ban your favorite french word putain from this mailing-list. I try to convince my CTO to use JBoss instead of Weblogic on our platforms, but your behaviour (of a 6 years old little boy) in this

Re: Re[12]: [JBoss-user] [HELP] Is there someone to help me?

2002-05-28 Thread wonder sonic
Final word, I've downloaded the servlet 2.3 spec and it says: (SRV 9.5/9.5.1, page 61) ... The contents of the WEB-INF directory are: • The /WEB-INF/web.xml deployment descriptor. • The /WEB-INF/classes/ directory for servlet and utility classes. The classes in this directory must be available

Re: Re[8]: [JBoss-user] [HELP] Is there someone to help me?

2002-05-28 Thread wonder sonic
Theorically, I'm using an embedded Tomcat and I'm aware of the local/remote interface problems. But it seems I don't use it properly :( I have no working example. Now my code is as follow: public void setSessionContext( SessionContext sessionContext ) { try {

[JBoss-user] [HELP] 3.0 RC1 PostgreSQL

2002-05-28 Thread Javier A. Soltero
Hi all, I've been trying to set up a postgreSQL service and have had no luck so far. I have downloaded the postgres-service.xml file from CVS and applied it to RC1. The postgres driver's jar is in jboss/lib and I have made the necessary changes to the xml file to match my setting. It seems

Re: [JBoss-user] Possible 2.4.6 entity remove problem (classloader issue?)

2002-05-28 Thread Scott M Stark
2.4.5+ switched to have Tomcat use the parent delegation class loading model by default. Use the Java2ClassLoadingCompliance attribute set to false to restore the servlet 2.3 class loading model. Post a bug to sourceforge with the testcase that causes this behavior.

Re: RE: [JBoss-user] no reuse of pooled XAConnections

2002-05-28 Thread Stephan . Frind
What I am doing is to lookup a datasource in my session bean via jndi. Because I do NOT create it and I don't know what should happen after me (for instance commit() should be done by the container) I can't close the connection. Of course I close my statements, resultsets, etc. Again I thought

Re: Re[8]: [JBoss-user] [HELP] Is there someone to help me?

2002-05-28 Thread wonder sonic
I'm using RC1 (jboss-3.0.0RC1_tomcat-4.0.3). Beans used: UserSession, User, Sequence and SequenceSession. In the web application: only UserSession. ejb-jar.xml: ... !-- SequenceSession Implements a primary key generator. By Jonathan Weedon at Borland Corporation. -- session

Re: [JBoss-user] [HELP] 3.0 RC1 PostgreSQL

2002-05-28 Thread David Jencks
Please start by upgrading to jboss 3 rc3 or cvs. The db configuration has changed very significantly from earlier versions and I cannot support earlier versions any longer. david jencks On 2002.05.28 10:58:55 -0400 Javier A. Soltero wrote: Hi all, I've been trying to set up a postgreSQL

Re: [JBoss-user] [HELP] 3.0 RC1 PostgreSQL

2002-05-28 Thread Javier A. Soltero
I'll do that right away. Thanks. Is there a reason why the jboss.org website only lists RC1 to download? It seems inconsistent from what is found via the sourceforge project web page. -javier David Jencks wrote: Please start by upgrading to jboss 3 rc3 or cvs. The db configuration has

Re: [JBoss-user] no reuse of pooled XAConnections

2002-05-28 Thread David Ward
The Connection you get from a javax.sql.DataSource is actually a facade to a real DB Connection (what you're thinking about). Calling close() on the facade you get doesn't actually close the DB Connection, it just returns it to the pool. If you don't return it using close() in a finally

Re: [JBoss-user] [HELP] 3.0 RC1 PostgreSQL

2002-05-28 Thread David Jencks
On 2002.05.28 11:58:43 -0400 Javier A. Soltero wrote: I'll do that right away. Thanks. Is there a reason why the jboss.org website only lists RC1 to download? Mostly that I haven't made the time to update it. I think it needs to point only to the sourceforge project download page, I can't

Re: RE: [JBoss-user] no reuse of pooled XAConnections

2002-05-28 Thread David Jencks
Close your connections when you are done with them. This simply returns them to the pool. In most versions of jboss (except recent jboss 3 versions) the containers' commit won't work properly unless you have closed the connection first. david jencks On 2002.05.28 12:01:02 -0400 [EMAIL

Re: Re: [JBoss-user] no reuse of pooled XAConnections

2002-05-28 Thread Stephan . Frind
When I close the XAClientConnection like this tempDS = (DataSource)tempIC.lookup(tempLookup); tempConnection = tempDS.getConnection(); //do stuff on connection ... tempConnection.close() Then the container commit() on what? On the wrapped connection? In my ejb-jar.xml I have some lines

Re: Re[8]: [JBoss-user] [HELP] Is there someone to help me?

2002-05-28 Thread wonder sonic
Okay: -1- I've checked out the last version in the CVS repository (jboss-all) -2- .../jboss-all/build/build.bat rebuild the new release -3- and now? What should I do? take all the tree under the output directory and paste it in my RC1 directory ?!? (And what about catalina?) why, why so

[JBoss-user] Forums Up?

2002-05-28 Thread John Childress
Can anyone get to the forums? I haven't been able to access them since yesterday, just wondering if it is my connection? Thanks, John -- John Childress http://www.johnchildress.com ___ Don't miss the 2002 Sprint PCS Application

Re: [JBoss-user] [HELP] 3.0 RC1 PostgreSQL

2002-05-28 Thread Javier A. Soltero
Thanks David. Everythings cooking now. :) I've just started working with JBoss (we're using it to develop our next generation applications) and so far it looks really good. I appreciate your help and I look forward to contributing to the project! -javier David Jencks wrote: On 2002.05.28

[JBoss-user] classpath

2002-05-28 Thread
Hello! Can anyone please point me, how can I place my JARs within EAR application to be able to use defined there classes wintin EnterpriseBean? Now I have 2 archives: - EAR with beans and webbapp; - SAR with oracle-servise.xml and my utility

[JBoss-user] Branch_3_0 - ear deployment - classloader order

2002-05-28 Thread Dave Smith
I am using the latest CVS Branch_3_0. I am deploying an ear file (cactus tests). My format looks like .. 0 Tue May 28 14:02:52 EDT 2002 META-INF/ 45 Tue May 28 14:02:52 EDT 2002 META-INF/MANIFEST.MF 172149 Tue May 28 14:02:52 EDT 2002 cadexTest.war 42770 Tue May 28 13:58:10 EDT 2002

RE: [JBoss-user] classpath

2002-05-28 Thread JD Brennan
Title: RE: [JBoss-user] classpath You can put the .sar in your EJB .jar file to give your beans access to it. Not sure about other stuff in the .ear - I'm assuming you have an EJB .jar in the .ear JD -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent:

Re: [JBoss-user] no reuse of pooled XAConnections

2002-05-28 Thread David Ward
Sorry - in re-reading what I sent I gave you some misleading info. The UserTransaction is something that can be looked up via jndi from some sort of controller (usually a servlet) who can begin, commit or rollback a section of work, and that tx will get re-used by any EJB within that thread

Re: [JBoss-user] no reuse of pooled XAConnections

2002-05-28 Thread David Ward
I don't know the in's and out's of the container (as far as who calls what on who when) - but from an application developer/assembler standpoint, since you have a trans-attribute of Required, the UserTransaction associated with the current thread of execution will get committed (if no

Re: [JBoss-user] Forums Up?

2002-05-28 Thread Dain Sundstrom
Jason is working on it; mySQL is having issues. -dain John Childress wrote: Can anyone get to the forums? I haven't been able to access them since yesterday, just wondering if it is my connection? Thanks, John -- John Childress http://www.johnchildress.com

Re: [JBoss-user] Which App Server is running ?

2002-05-28 Thread Andreas Maschke
We had the same problem and found no solution. Only Servlet- and JDBC-API contains methods to retrieve vendor and version information. But in EJB there seems to be nothing like this. Our workaround is to check for vendor-specific classes. So we know at least the vendor and in many cases the major

RE: [JBoss-user] LdapLoginModule null password

2002-05-28 Thread Sonnek, Ryan
First of all, thank you so much for your help. We found that the problem was with the configuration of openLDAP allowing anonymous binding. The wierd thing is that we're using an LDAP module for Apache for a similar purpose, and Apache did not have any of these quirks. Thank you again for

Re: [JBoss-user] Forums Up?

2002-05-28 Thread Alex Loubyansky
Hello John, you are not alone Tuesday, May 28, 2002, 8:08:12 PM, you wrote: JC Can anyone get to the forums? I haven't been able to access them since JC yesterday, just wondering if it is my connection? JC Thanks, JC John JC -- JC John Childress JC http://www.johnchildress.com JC

[JBoss-user] How to recovery a client from a server crash ?

2002-05-28 Thread Davide De Benedictis
Hi, I'm trying to find a way to recovery a remote client standalone application from a shutdown or a crash of my JBoss server. My Client successfully lookup for an EJB on JBoss and start to call remote methods through a classic lookup method: InitialContext iniCtx = new InitialContext();

Re: [JBoss-user] best way to access db

2002-05-28 Thread Burkhard Vogel
Hi, the key part you should have a look at is the jboss-pool. It provides connection pooling of database connections, which are costy to instanciate at first, the reuse and the caching of stored procedures makes (at least where I use this) my applications significantly faster. If you need MANY

RE: [JBoss-user] VOTE FOR JBOSS

2002-05-28 Thread Bill Burke
It's pretty sad. I looked at the votes in all the catagories. IBM is definately voting as a company. Every IBM product has ~ 3000 votes. Sad, very sad. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Torsten Schlumm Sent: Monday, May 27, 2002

Re: [JBoss-user] classpath

2002-05-28 Thread David Jencks
I don't think this would affect the class visibility problem, however I think you need to rename oracle-service.xml to jboss-service.xml when you include it in mysar.sar/META-INF/ rather than as a standalone file. david jencks On 2002.05.28 13:13:03 -0400 áÎÄÒÅÊ ïÎÉÝÕË wrote: Hello!

Re: [JBoss-user] Branch_3_0 - ear deployment - classloader order

2002-05-28 Thread David Jencks
Is cadex-test.jar an ejb jar listed in application.xml? Is it getting deployed properly? If it is not an ejb-jar I think it needs to be referenced in somethings manifest classpath to be deployed. My understanding of the jetty classloading behavior matches your expectations. david jencks On

RE: [JBoss-user] Problems starting JBoss

2002-05-28 Thread Johnson, Lance
I have just upgraded our jboss to 2.4.4 to resolve our startup problems, but it is still happening. I still do not know what is going on with Hypersonic and why it won't start on our box. I have tried setting the log4j.appender.Console.Threshold to TRACE in the log4j property file but it is not

RE: [JBoss-user] Problems starting JBoss

2002-05-28 Thread Johnson, Lance
My JBOSS_HOME/db/hypersonic directory is there. I even tried removing the files that are under it and recreate a blank directory with the same results. Still can't get it to start. Lance -Original Message- From: Sacha Labourey [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 28, 2002

RE: [JBoss-user] Problems starting JBoss

2002-05-28 Thread Bill Burke
Lance, The JDBC driver name has changed I think from 2.2.2 and 2.4.x. Also the connection string as well. Again, recheck your ported jboss.jcml file with the default one that comes with 2.4.4 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Johnson,

[JBoss-user] JMS ClassCastException error

2002-05-28 Thread Maarten Dirkse
Hi, I have a problem connecting to the TopicConnectionFactory and a JMS topic on my jboss server from a servlet that is running under tomcat. The code is as follows: 1 InitialContext ictx = new InitialContext(); 2 TopicConnectionFactory topicFactory =

[JBoss-user] Passivate Exception

2002-05-28 Thread Rajnish Goyal
Hi all, I am running Jboss-3.0.0RC3 on solaris 7.0. I am getting the following exception while jboss is passivating the session bean.All the variable is seriazable or instance of LocalObject or RemoteObject. Somebody could suggest me the reason for this exception or why it is throwing

[JBoss-user] INSERTING AN ALREADY EXISTING BEAN

2002-05-28 Thread Eric Kaplan
We've been working with jboss for a while and have a simple app that allows users to update prices in a database. One of the fields they can update is part of the primary key, so the session bean that handles this first deletes the old bean(s) and adds the new ones. On the first change,

RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN

2002-05-28 Thread Bill Burke
I can't remember, but I think there was a bug fixed in 2.4.6 regarding home.remove. I've also debugged problems from people where they have implemented their primary key's wrong. Are you sure you have implemented hashCode and equals correctly on your PrimaryKey class? -Original

Re: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN

2002-05-28 Thread Scott M Stark
There are known problems with xdoclet generating invalid hashCode methods in primary keys. Validate that your keys are correctly implementing hashCode and equals and that they serialize and unserialize correctly. Scott Stark Chief Technology Officer JBoss Group, LLC

RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN

2002-05-28 Thread Eric Kaplan
We're calling remove on the bean itself. As for the hashCode and equals, I thought that might be part of the problem, but they seem to be ok. Although, I modified hashCode() in my primary key to print something out when called and we don't see any printouts strangely enough... still looking

Re: [JBoss-user] custom login modules - UsernamePassword login module subclass

2002-05-28 Thread Dmitri Colebatch
I've figured out the problem here - Base64Encoder is in jbosssx.jar when it should be in jboss-jaas.jar. Adding this: exclude name=org/jboss/security/Base64Encoder.class / to the list of excludes for jbosssx.jar, and adding the corresponding include to jboss-jaas.jar, fixes the problem.

Re: [JBoss-user] Do I Not Understand ScopedClassLoadingRepositories for EARs?

2002-05-28 Thread Marius Kotsbak
I have done that and subtited them as bug #561546. I hope someone can solve these problems soon (before RC4/final). There should also be better doc on what to include in the jboss-app.xml also. I can't even find a dtd! Maybe it requires a heading with dtd-ref, but I don't know what to specify.

Re: [JBoss-user] Do I Not Understand ScopedClassLoadingRepositories for EARs?

2002-05-28 Thread Hunter Hillegas
Okay... If the test case that Marius submitted doesn't shed any light on the problem, I will compile one as well... Hunter From: Scott M Stark [EMAIL PROTECTED] Organization: JBoss Group Reply-To: [EMAIL PROTECTED] Date: Sun, 26 May 2002 13:17:07 -0700 To: [EMAIL PROTECTED] Subject: Re:

Re: [JBoss-user] Problems starting JBoss

2002-05-28 Thread Scott M Stark
The log shows that hypersonic has started. Can you generate a thread dump of the vm via crtl-\ or SIGQUIT to see where the startup is getting hung? Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Johnson,

[JBoss-user] Jboss 3.0 and JAWS ResultSet Column Order

2002-05-28 Thread Bruce Robbins
I'm using Jboss 3.0 RC3 with Microsoft's JDBC driver and ran into the problem described in bug #517062 JAWS ResultSet Column Order. When I try to load an entity that has an image column, the driver complains: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]ResultSet can not

[JBoss-user] CMP M-N relationship

2002-05-28 Thread Boris Tamarkin
Title: CMP M-N relationship I am using JBoss 3.0 RC2 and MySQL . True Unidirect m-n cmr doesn't work properly. Entry in mapping (helper) table not added. Bean A abstract Collection getBs(); abstract void setBs(Collection); Bean B ejb-jar.xml -- ejb-relation

Re: [JBoss-user] Jboss 3.0 remote deploy

2002-05-28 Thread Guy Rouillier
By remote deploy, I'm assuming you mean that you compile and jar an EJB on one box and want to run it on another, correct? All you need to do is get it from one place to the other. We use pscp for that. Of course, this requires that the two boxes maintain time synchronization, so that the

[JBoss-user] WinCvs write access to JBoss in SourceForge

2002-05-28 Thread Guy Rouillier
I am supposedly set up for developer access to the JBoss project in SourceForge. Using my SourceForge userid as described on the Developer page on the JBoss site, I am able to check out a module in WinCvs. However, when I try to commit a change, it tells me cvs [server aborted]: commit