Re: [JBoss-user] Naming clusters tricky?

2002-10-23 Thread Jules Gosnell
HttpSession ? Jetty or Tomcat ? Jules LaBanca, Rick wrote: It seems tricky to name a jboss instance for clustering. I had to change it in several areas, but the one odd one is jbossha-httpsession.sar, inside is clusteredhttpsessionEB.jar, in that is meta-inf/jboss.xml. So I had to rejar up al

[JBoss-user] Naming clusters tricky?

2002-10-23 Thread LaBanca, Rick
It seems tricky to name a jboss instance for clustering. I had to change it in several areas, but the one odd one is jbossha-httpsession.sar, inside is clusteredhttpsessionEB.jar, in that is meta-inf/jboss.xml. So I had to rejar up all of that. Or was it unnecessary? On a related topic, had anyone

Re: [JBoss-user] question about caching session beans in the web layer

2002-10-23 Thread Stephen Coy
On Thursday, October 24, 2002, at 05:16 AM, Emerson Cargnin - SICREDI Serviços wrote: I have some questions regarding to caching homes and session beans in the remote client : 1- I already cache initicalcontext and homes in businness delegate, is it secure to cache the real session object as

RE: [JBoss-user] JBoss 3.0.3 & tomcat 4.1.12 status?

2002-10-23 Thread Liam Magee
Hi Vincent, I haven't had a chance to look into this in the past week, but I'll try to do so in the next couple of days and get back to you. Regards, Liam. -Original Message- From: [EMAIL PROTECTED] [mailto:jboss-user-admin@;lists.sourceforge.net] On Behalf Of Vincent Stoessel Sent: Th

Re: [JBoss-user] jca/naming problem migrating 3.0.0 --> 3.0.3

2002-10-23 Thread Hunter Hillegas
Yes, the datasource configuration did change. Your best bet is to compare yours against the new examples in the distro and make the changes. > From: Beau Cronin <[EMAIL PROTECTED]> > Organization: International Computer Science Institute > Reply-To: [EMAIL PROTECTED] > Date: Wed, 23 Oct 2002 16:

Re: [JBoss-user] jca/naming problem migrating 3.0.0 --> 3.0.3

2002-10-23 Thread Glenn Lewis
Beau Cronin wrote: Hi all. I've had trouble moving from 3.0.0 to 3.0.3. In particular, it's no longer recognizing my data source. When moving from 3.0.0 to 3.0.3 I had to change a line in my postgres-service.xml descriptor from jboss.security:name=JaasSecurityManager to jboss.security:se

Re: [JBoss-user] question about caching session beans in the weblayer

2002-10-23 Thread Greg Turner
David Jencks wrote: On 2002.10.23 17:19:41 -0400 Greg Turner wrote: All I have been working on this problem. I would like to know what you think of my solution. First of all, you can cache EJBHome objects, but not EntityBean or SessionBean objects. There are many Locator patt

[JBoss-user] jca/naming problem migrating 3.0.0 --> 3.0.3

2002-10-23 Thread Beau Cronin
Hi all. I've had trouble moving from 3.0.0 to 3.0.3. In particular, it's no longer recognizing my data source. Searching through the log, I found the following line: 2002-10-23 16:12:17,671 WARN [org.jboss.system.ServiceController] jboss.jca:service=LocalTxDS,name=MYSQLDS does not implement

Re: [JBoss-user] question about caching session beans in the weblayer

2002-10-23 Thread Emerson Cargnin - SICREDI Serviços
easy man : ) i just want to know if the methods of the proxy sinchronized... Greg Turner wrote: Greg Turner wrote: All I have been working on this problem. I would like to know what you think of my solution. First of all, you can cache EJBHome objects, but not EntityBean or SessionBean ob

Re: [JBoss-user] [JBoss-dev] question about caching session beansin the web layer

2002-10-23 Thread Emerson Cargnin - SICREDI Serviços
Bill Burke wrote: not sure how safe it is to cache. Not sure if RMI would handle it well if server went down and came back up. That's the only issue. Try it out. the main issue is about making the client invocations to be serialized through the session bean. are the methods of the proxy si

RE: [JBoss-user] JUnitEE and test local interfaces

2002-10-23 Thread Sandor Arpa
I think the problem is that you are trying to find it by the ejb referance name: jndiContext.lookup("java:comp/env/ejb/CodelistManagerLocal") which refers to ejb/CodelistManagerLocal. Try instead to find it by the csc/CodelistManagerLocal as: Object clmRef =jndiContext.lookup("java:/csc/Codelis

Re: [JBoss-user] question about caching session beans in the web layer

2002-10-23 Thread David Jencks
On 2002.10.23 17:19:41 -0400 Greg Turner wrote: > All > > I have been working on this problem. I would like to know what you > think of my solution. > > First of all, you can cache EJBHome objects, but not EntityBean or > SessionBean objects. There are many Locator patterns on the web such as

Re: [JBoss-user] mbean mutual dependencies config for MQ

2002-10-23 Thread David Jencks
On 2002.10.23 18:15:32 -0400 Brian Towles wrote: > OK i found it looks like the MessageCache only needs a reference to > the CacheStore name and when its running its startService (in this case > at least) it doesnt have to have the PersistenceManager started cause > its the PersistenceManager its

Re: [JBoss-user] question about caching session beans in the weblayer

2002-10-23 Thread Greg Turner
Greg Turner wrote: All I have been working on this problem. I would like to know what you think of my solution. First of all, you can cache EJBHome objects, but not EntityBean or SessionBean objects. why??? Get a good J2EE book which will explain There are many Locator patterns on

RE: [JBoss-user] [JBoss-dev] question about caching session beans in the web layer

2002-10-23 Thread Bill Burke
not sure how safe it is to cache. Not sure if RMI would handle it well if server went down and came back up. That's the only issue. Try it out. Bill > -Original Message- > From: [EMAIL PROTECTED] > [mailto:jboss-user-admin@;lists.sourceforge.net]On Behalf Of Emerson > Cargnin - SICREDI

Re: [JBoss-user] mbean mutual dependencies config for MQ

2002-10-23 Thread Brian Towles
OK i found it looks like the MessageCache only needs a reference to the CacheStore name and when its running its startService (in this case at least) it doesnt have to have the PersistenceManager started cause its the PersistenceManager itself which starts a recovery of messages from/for the Cach

Re: [JBoss-user] question about caching session beans in the weblayer

2002-10-23 Thread Emerson Cargnin - SICREDI Serviços
Greg Turner wrote: All I have been working on this problem. I would like to know what you think of my solution. First of all, you can cache EJBHome objects, but not EntityBean or SessionBean objects. why??? There are many Locator patterns on the web such as this one: http://java.sun.c

Re: [JBoss-user] mbean mutual dependencies config for MQ

2002-10-23 Thread Brian Towles
The basic issue is the JDBC2 PersistenceManager then. They way it is designed it implements PersistenceManager and CacheStore. For the MessageCache MBean you define a CacheStore. And for the PersistenceManager MBean you define a MessageCache. The example for an oracle jdbc2 pm shows the Messag

Re: [JBoss-user] Control amount of Space used in tmp/deploy?

2002-10-23 Thread Greg Turner
Whenever you shut down JBoss, you can delete tmp and all its contents all together. Seth Ladd wrote: Hello, We're in development mode, and constantly redeploying out EAR file. Disk space in tmp/deploy/server/default/deploy is filling up rapidly. It seems that there are many old versions of th

Re: [JBoss-user] question about caching session beans in the weblayer

2002-10-23 Thread Greg Turner
All I have been working on this problem. I would like to know what you think of my solution. First of all, you can cache EJBHome objects, but not EntityBean or SessionBean objects. There are many Locator patterns on the web such as this one: http://java.sun.com/blueprints/corej2eepatterns/Pa

[JBoss-user] [JBoss-dev] question about caching session beans in the web layer

2002-10-23 Thread Emerson Cargnin - SICREDI Serviços
I have some questions regarding to caching homes and session beans in the remote client : 1- I already cache initicalcontext and homes in businness delegate, is it secure to cache the real session object as a static attribute in business delegate and reuse it across a long time ? 2- If i call the

[JBoss-user] Control amount of Space used in tmp/deploy?

2002-10-23 Thread Seth Ladd
Hello, We're in development mode, and constantly redeploying out EAR file. Disk space in tmp/deploy/server/default/deploy is filling up rapidly. It seems that there are many old versions of the app that remain there. Is there a way to limit the amount of space in that directory being used? Ho

[JBoss-user] Messages sent prior to commit?

2002-10-23 Thread Jim Crossley
According to section 17.3.5 or the EJB spec, "a JMS message is not delivered to its final destination until the transaction commits." I'm seeing evidence to the contrary using JBoss 3.0.3. Here's my scenario: 1) JMS client posts a message to queue, Q1. The message has its JMSReplyTo property se

Re: [JBoss-user] mbean mutual dependencies config for MQ

2002-10-23 Thread David Jencks
On 2002.10.23 16:22:12 -0400 Brian Towles wrote: > Howdy all > > Using JBoss 3.0.2 > > Im trying to setup a jdbc2 persistence for MQ where both the > MessageCache uses the PersistenceManager for storage of the cache. > There is an example config file in the source code under > messaging/src/etc/

[JBoss-user] mbean mutual dependencies config for MQ

2002-10-23 Thread Brian Towles
Howdy all Using JBoss 3.0.2 Im trying to setup a jdbc2 persistence for MQ where both the MessageCache uses the PersistenceManager for storage of the cache. There is an example config file in the source code under messaging/src/etc/server/examples/deploy but on implementation there message cach

[JBoss-user] question about caching session beans in the web layer

2002-10-23 Thread Emerson Cargnin - SICREDI Serviços
I have some questions regarding to caching homes and session beans in the remote client : 1- I already cache initicalcontext and homes in businness delegate, is it secure to cache the real session object as a static attribute in business delegate and reuse it across a long time ? 2- If i call

RE: [JBoss-user] Simple Hello-World Webservice for 3.2?

2002-10-23 Thread Rupp,Heiko
Hi all, > -Original Message- > From: Jung , Dr. Christoph [mailto:christoph.jung@;infor.de] > Put the class into your .wsr and voilà. That's what I was trying and trying ... with no success. Now I finally found out, that someone put a package statement at the very top of my file, that I

RE: [JBoss-user] JBoss Clustering

2002-10-23 Thread Barlow, Dustin
The docs are missing this line: jboss.system:service=MainDeployer Add this and it will work.. Dustin > -Original Message- > From: Mokas Vassilis ([EMAIL PROTECTED]) > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 23, 2002 10:22 AM > To: [EMAIL PROTECTED] > Subject: [JBoss-user

Re: [JBoss-user] JBoss 3.0.3 & tomcat 4.1.12 status?

2002-10-23 Thread Vincent Stoessel
Hi all, Has this issue been resolved? I have a struts app (using tiles) that I am itching to try on jboss 3.0.3. Any patched or nightly builds out there? Liam Magee wrote: Hi Theo, A separate instance of Digester is loaded by the Tiles framework, through the ValidatorResourcesInitializer.initial

RE: [JBoss-user] JBossMQ Perforamance

2002-10-23 Thread Luttrell, Peter
that would explain the network utilization as all messages i'm working with are really small. with a very similar size 'message' i tried 2 additional tests with raw sockets. it's been a while since i've done work with sockets directly...so it's quite possible the much could be done to improve this

Re: [JBoss-user] JNDI problem on Redhat 7.3 and JBoss 3.0.2

2002-10-23 Thread Hunter Hillegas
Newer versions of Red Hat have a built in firewall that by default locks down most ports besides 80, 8080, 25, etc..., including most likely the port JNDI is trying to use. I would turn that off or tweak it. > From: Jonathan.O'[EMAIL PROTECTED] > Reply-To: [EMAIL PROTECTED] > Date: Wed, 23 Oct 20

RE: [JBoss-user] JBossMQ Perforamance

2002-10-23 Thread Luttrell, Peter
Yes, i directly changed the class and hense tied it to the original OILs jndi name. Course in my case its ok as the only thing that is deployed on the instance is my performance test apps. But i quickly changed it back... -Original Message- From: Alwyn Schoeman [mailto:alwyn@;smart.com.ph]

Re: [JBoss-user] JNDI problem on Redhat 7.3 and JBoss

2002-10-23 Thread Claudio Miranda
Some linux boxes (notably rh), put in /etc/hosts the 127.0.0.1 pointing to the name of machine (eg: myhost or localhost.localdomain) instead of localhost, replace the 127.0.0.1 for just localhost. I think your error is "Connection refused: cannot connect to 127.0.0.1" ? is that right ? if not se

[JBoss-user] JBoss Clustering

2002-10-23 Thread Mokas Vassilis ([EMAIL PROTECTED])
Hi, I am trying to configure JBoss clustering. I am following the instructions from the documentation (JBoss clustering) but when I start JBoss an exception (sax.parser.) is thrown saying that an attribute "Deployer" cannot be found. (I think it is about farm-service). But I cannot find any "D

RE: [JBoss-user] Anybody working in JBoss 3.0 JAAS UserRolesLogin Module? Help req uired

2002-10-23 Thread James Higginbotham
Title: Message It appears that you have a secured EJB for which you have not logged the user in for so that they can access it. If so, use container managed security to log the user in. If not, check your deployment descriptors for any security entries and remove them if you want anyone to a

AW: [JBoss-user] Simple Hello-World Webservice for 3.2?

2002-10-23 Thread Jung , Dr. Christoph
Put the class into your .wsr and voilà. Alternatively, if the wsr is part of a complete ear, the referred classes may also be located in a neighbour ejb-jar -Ursprüngliche Nachricht- Von: Rupp,Heiko [mailto:heiko.rupp@;bancotec.de] Gesendet: Mittwoch, 23. Oktober 2002 13:12 An: '[EMAIL P

RE: [JBoss-user] Simple Hello-World Webservice for 3.2?

2002-10-23 Thread Rupp,Heiko
Hi, > I've renamed the ear to _ear.zip so you can easily open it. Thanks > Hope this helps. Yes, definitely. Now .. when I have server/all/deploy/hello.wsr with META-INF/web-service.xml: http://xml.apache.org/axis/wsdd/"; xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"; xmlns:java="ht

[JBoss-user] JNDI problem on Redhat 7.3 and JBoss 3.0.2

2002-10-23 Thread Jonathan . O'Connor
Folks, Has anyone seen any problems with Redhat Linux 7.3 and JBoss? We recently installed Redhat 7.3 on a test box. We installed JBoss 3.0.2 on it and added our EAR. We can connect to our application via the web interface, including the jmx-console. The application works. But, when we try runni

[JBoss-user] Anybody working in JBoss 3.0 JAAS UserRolesLogin Module? Help required

2002-10-23 Thread Deepa Annamalai
Hi All,   Is there anybody who has worked in JBoss 3.0 JAAS UserRolesLoginModule? I am facing a problem, i haved pasted the server log below. Can anyone who has faced this problem earlier help me to resolve the problem ? Warm Regards, Deepa Annamalai ERROR [SecurityInterceptor] Authentication

[JBoss-user] FORM based security failing under JBoss 3.0.3

2002-10-23 Thread Jonathan . O'Connor
Folks, I'm attempting to add security to our application. We are using Jetty and JBoss 3.0.3 When I use BASIC authentication it works fine. DIGEST authentication doesn't work either. However, when I used FORM based authentication, after I enter the username and password, I get sent to the error

RE: [JBoss-user] JUnitEE and test local interfaces

2002-10-23 Thread KRÁLIK Vladimír
> From: Schnitzer, Jeff [mailto:JSchnitzer@;maxis.com] > Sent: 22. októbra 2002 22:35 > > I call EJB local interfaces from my web applications > (packaged in the same EAR) just fine. Can You explain how ? I tried this, but it doesn't work. I had forget something :-(. code from web.xml :

[JBoss-user] JBoss 2.4.9 XAConnection Pool problem

2002-10-23 Thread Giorgio Ponza
Hi all, I used until now Jboss 2.4.4 and i just installed JBoss 2.4.9, on a RedHat 7.3 box, 512 MB RAM I have a PostgreSQL connection in my jboss.jcml like this: db_shop org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl When JBoss starts, this Warning is written: [INFO,db_shop] Starting [INFO