[JBoss-user] Mbean using the home and remote beans - classloader bug in mbeans ?

2001-10-30 Thread Carsten Rhod Gregersen
Hi, I've asked this question before, I'll try again. The setup is: - JBoss-2.4.3_Tomcat-3.2.3.zip - JDK 1.3 - Linux Redhat 6.2 We're programming an ejb application, everythings is ok as regard to normal use of the EJB facilities in jboss (we have servlets and jsp's using the programmed ejb's)

Re: [JBoss-user] Remote Client

2001-10-30 Thread Guy Rouillier
What do you mean by "In the properties I use the server IP instead of "localhost"? The error clearly indicates that it is trying to connect to localhost. Put a line like this in jndi.properties: java.naming.provider.url=1.2.3.4 (use the appropriate ip address here for your remote server) and

Re: [JBoss-user] Connectin Pool Problem

2001-10-30 Thread David Jencks
Any chance you could modify the shutdown method to print a stack trace and see what it says? Maybe shutdown is getting called but with thread interactions it gets handed out again anyway? Something like log.info("Shutdown got called on connection: " + this + ", XAConnection: " + XACon, new Excep

[JBoss-user] Remote Client

2001-10-30 Thread Rene Maldonado
Hi All, I use the examples (Intyerest) and work ok (localy) but if I try to usit on another machine, I can't connect to the server. The exception is: javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:

RE: [JBoss-user] Connectin Pool Problem

2001-10-30 Thread Ferguson, Doug
I'm not sure this is our problem. We've never seen the concurrent access problem. We just see the XAConnection come back and the JDBC conneciton inside is null. Which is not condusiving to getting things to work. It seems to be at the thread level or something, cuz it is intermettent and when it

Re: [JBoss-user] Connectin Pool Problem

2001-10-30 Thread Fred Loney
Typo corrected below. - Original Message - From: "Fred Loney" <[EMAIL PROTECTED]> To: "Ferguson, Doug" <[EMAIL PROTECTED]>; "JBoss User (E-mail)" <[EMAIL PROTECTED]> Sent: Tuesday, October 30, 2001 3:31 PM Subject: Re: [JBoss-user] Connectin Pool Problem > The following description migh

Re: [JBoss-user] Connectin Pool Problem

2001-10-30 Thread Fred Loney
The following description might be related to the GC problem you experienced: http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg11706.ht ml The sync problem is manifested as an exception and/or stalled connection under heavy load. The fix was confirmed to correct the problem by the

RE: [JBoss-user] client - server connection trouble

2001-10-30 Thread John Moore
Can you post the stack trace from the client, version of Jboss, version of Windows.   Check for a jndi.properties file that might be pointing you in the wrong direction.  If no jndi.properties, what does the line that launches the client look like (e.g. java -D ).   John   -Origi

[JBoss-user] client - server connection trouble

2001-10-30 Thread Eric Lindauer
Hi,   I'm having an interesting problem connecting to an instance of JBoss.  It seems that when I run a client on a windows machine, and try to connect to JBoss running on Linux, I'm not able to connect.  Other client-server configurations work, namely:       Windows --> Linux  works     Lin

[JBoss-user] Deploy Error

2001-10-30 Thread Hunter Hillegas
I am getting an error when deploying my beans, which I presume is a stateless session bean: java.lang.NoSuchMethodException at java.lang.Class.getMethod0(Native Method) at java.lang.Class.getMethod(Class.java:888) at org.jboss.ejb.StatelessSessionContainer.setUpBeanMappin

Re: [JBoss-user] CORBA client

2001-10-30 Thread Toby Allsopp
On Tue, Oct 30, 2001 at 02:15:58PM -, Weir, John wrote: > Is it possible to maintain the connections in a connection pool ? This is a > similar issue to Database Connections and the pooled approach works there > > Just a thought You could write a resource adapter for your CORBA connections a

Re: [JBoss-user] load failed exception

2001-10-30 Thread Frank Morton
Thanks Michael for getting me started down the right track. I had used a utility to generate the list of instance variables in the Bean class which neglected to declare them all "public." Set them all to public and all back to normal. Frank > I have an CMP entity bean running with 2.4.3 and my

[JBoss-user] load failed exception

2001-10-30 Thread Frank Morton
I have an CMP entity bean running with 2.4.3 and mySQL under Solaris 8/SPARC. The bean was fine, but I needed to add some fields. I added the fields and associated methods as well as modified the ejb-jar.xml file. Redeployed. Dropped the old table. Restarted jboss to make sure it built the new tab

[JBoss-user] Connectin Pool Problem

2001-10-30 Thread Ferguson, Doug
So Jboss Dev has nothing to say... Any users out there have any imput? d. -Original Message- From: Ferguson, Doug [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 27, 2001 4:25 PM To: jBoss Dev (E-mail) Subject: RE: [JBoss-dev] Connectin Pool Problem So nobody as any idea what might

Re: [JBoss-user] JBoss 3.0 jbosscmp-jdbc.xml not loaded

2001-10-30 Thread Fred Loney
Thanks for the quick response. The pointer was sufficient to track the problem to an inadvertent jboss.xml entity element "Standard CMP EntityBean", which invokes the 1.1 CMP config loader. Removing that entry restored the default 2.0 CMP config loader. Thanks again for your help, Dain. 2.0 CMP

RE: [JBoss-user] CORBA client

2001-10-30 Thread marc fleury
|the idea to use Entity bean can be a good idea |when the bean represent a "durable" "shared" "instance" |of something having a separate indentity, | not just an access tool to some "actions" In fact the "finder" is the most powerful semantic in the specification, the rest, persistence and distri

[JBoss-user] Re: cache problem in 2.4.3?

2001-10-30 Thread danch
I remember thinking there might be a problem with option A. I'll take a look tonight - I probably left a comment in the command factory (where it keeps the read-ahead buffer.) -danch Sacha Labourey wrote: > Hello, > > I've met a problem using in 2.4.3. > > Situation: applet invoking a SLSB

RE: [JBoss-user] CORBA client

2001-10-30 Thread Coetmeur, Alain
I've had a similar problem with Inprise server last year... Corba reference are not serializable and handles are zero'ed at passivation. my solution was to copy the IOR of the reference in a member string at passivation, and resucitate it at activation. the idea to use Entity bean can be a good

RE: [JBoss-user] CORBA client

2001-10-30 Thread Johnson, Lance
This is a good idea. I am just worried that it will not work. While I haven't worked with Database connection pooling in EJBs yet, the way I understand it the container creates the connections (i.e. the ejb developer informs the container what connections to make). Having this knowledge is cruc

[JBoss-user] with empty string

2001-10-30 Thread David Treves
Hi,   a really quick question, how can I pass an like the following:      varName   java.lang.String      Notice that the value is empty, this entry won't allow the EJB container (JBoss 2.4.3) to deploy the bean, since it is considered as null.   If so, how do I pass empty String

[JBoss-user] How to get working Timer Service in JBoss2.4?

2001-10-30 Thread Tomas Lapienis
I'm using JBoss 2.4 AutoDeploy feature. I saw Scheduler MBean here (and still don't know if it fits my needs) Basically, I need to receive periodical (let's say - every 1 minute) notifications from somewhere. - I don't want to alter original JBoss 2.4 distribution in any way (to add something in

[JBoss-user] Marc: Cold Fusion

2001-10-30 Thread Mica Cooper
Marc, With the following annoucement: http://www.macromedia.com/macromedia/proom/pr/2001/index_neo_partners.fhtml (Sun, IBM, and BEA will add Java Cold Fusion extensions to their app servers) Have you thought about looking at partnering with a third-party Java component maker for Cold-Fusion lib

Re: [JBoss-user] Apache-JBoss-Catalina integration

2001-10-30 Thread Gerry Duhig
I am using the bundled setup. I know it doesn't use the server.xml and luckily I found that out before spending hours editing it -:) But does that mean that I cannot have Apache integrated? Is there no "connector interface"? Surely Not? Gerry - Original Message - From: "Kemp Randy-W189

RE: [JBoss-user] CORBA client

2001-10-30 Thread Weir, John
Is it possible to maintain the connections in a connection pool ? This is a similar issue to Database Connections and the pooled approach works there Just a thought J -Original Message- From: Jean-Christophe Pazzaglia [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 30, 2001 2:04 PM To

Re: [JBoss-user] CORBA client

2001-10-30 Thread Jean-Christophe Pazzaglia
"Johnson, Lance" wrote: > We are in the process of developing an ejb that is a corba client. One of > the drawbacks that I have seen so far is that when our EJB is passivated we > must disconnect all CORBA connections. If we don't do this, I think, we > will have CORBA object leaks in our jacOr

[JBoss-user] Apache-JBoss-Catalina integration

2001-10-30 Thread Kemp Randy-W18971
If I remember correctly, I think it was mentioned that the bundled jboss/catalina does not have a server.xml file or does not use it. Are you using the bundled package? Could this be the problem? From: "Gerry Duhig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Date: Tue, 30 Oct 2001 13:16:53 -00

Re: [JBoss-user] NullPointer when connection pool maxed out.

2001-10-30 Thread David Jencks
You need to set blocking=true in the pool parameters. That this is not the defaultnever mind. There is also a blocking timeout that I think is in the version you are using. david jencks On 2001.10.30 06:31:24 -0500 Jeremy Miller wrote: > I found a problem with the XAPoolDataSource when usi

[JBoss-user] Apache-JBoss-Catalina integration

2001-10-30 Thread Gerry Duhig
Hi I have setup JBoss-Catalina but have failed to configure the mod_webapp in Apache to connect the two. I get errors in the apache error_log that read: Cannot open Connection "conn" Connection "conn" Cannot Connect The http response is "Web-application not yet Deployed" My ear file, exactly

[JBoss-user] Apache-JBoss-Catalina integration

2001-10-30 Thread Gerry Duhig
Hi   I have setup JBoss-Catalina but have failed to configure the mod_webapp in Apache to connect the two.   I get errors in the apache error_log that read:   Cannot open Connection "conn" Connection "conn" Cannot Connect   The http response is "Web-application not yet Deployed"   My ear file

[JBoss-user] NullPointer when connection pool maxed out.

2001-10-30 Thread Jeremy Miller
I found a problem with the XAPoolDataSource when using MySQL. When the datasource pool is exhausted (due to my bug) I am not getting a SQLException that I would have expected, but a null pointer exception. [Default] java.lang.NullPointerException org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnect

[JBoss-user] EBHome.remove(composed-pk) returns exception

2001-10-30 Thread Sacha Labourey
Hello, I've encounterted the same bug/behaviour as described here: https://sourceforge.net/tracker/?func=detail&aid=417749&group_id=22866&atid= 376685 With JBoss "official" 2.4.3 release. I have a session bean speaking with entity beans. the session is in another JAR as the entity beans. Conse

[JBoss-user] cache problem in 2.4.3?

2001-10-30 Thread Sacha Labourey
Hello, I've met a problem using in 2.4.3. Situation: applet invoking a SLSB creating/modifying/updating entity beans. Test case: the applet ask the SLSB to modify the bean and then ask him to return a data object containing the content of this entity beans (2 distincts calls). Depending on th