Re[2]: [JBoss-user] Error compiling ejbql

2002-09-17 Thread Alex Loubyansky
PSsc> What is r? Should I define it before using? Could you give me an example? r is defined in the EJB-QL statement, e.g. 'Role as r'. alex PSsc> -phu PSsc>

AW: [JBoss-user] jboss.net and persistence

2002-09-17 Thread Jung , Dr. Christoph
Jason, Statefulness and web services are somewhat conflicting concepts. Nevertheless, service references are cached by name on a per-session basis in Axis/Jboss.net which means that if you keep a persistent http session with the transport endpoint (e.g., via call.setMaintainSession(true) when u

Re: [JBoss-user] Error compiling ejbql

2002-09-17 Thread Phuwarin . Supawarapong
What is r? Should I define it before using? Could you give me an example? -phu Dain Sundstrom

AW: [JBoss-user] Enabling security for jboss.net

2002-09-17 Thread Jung , Dr. Christoph
Kim, As of JBoss3.2Beta, there is a single location left to configure the "general security" of the transport servlet which is jboss-net.sar/jboss-net.war/META-INF/*.xml ... You specify your authorization constraints (currently commented out) in the web app descriptor and you specifiy the securi

[JBoss-user] Bug #582428

2002-09-17 Thread Alexey Yudichev
Title: Bug #582428   Is there any approximate estimation when will bug #582428 be fixed (ejb remove causes IllegalStateException "removing bean lock and it has tx set!")? With this bug jboss 3 is far from production state. It does not allow to use entity relationships. I am now deciding whethe

Re: [JBoss-user] Error compiling ejbql

2002-09-17 Thread Dain Sundstrom
SELECT OBJECT(r) FROM Role as r The 'as' is optional -dain Dmitri Colebatch wrote: > I _think_ the ejbql should be something like > > SELECT r FROM Role AS r > > hth > dim > > - Original Message - > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, September

Re: [JBoss-user] Error compiling ejbql

2002-09-17 Thread Dmitri Colebatch
I _think_ the ejbql should be something like SELECT r FROM Role AS r hth dim - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 2:01 PM Subject: [JBoss-user] Error compiling ejbql > > Got error when deploy application. Can an

[JBoss-user] Error compiling ejbql

2002-09-17 Thread Phuwarin . Supawarapong
Got error when deploy application. Can anyone help? 10:33:21,317 INFO [RoleEJB] Table 'role_map' already exists 10:33:21,337 WARN [ServiceController] Problem starting service jboss.j2ee:servi ce=EJB,jndiName=RoleRemoteHome org.jboss.deployment.DeploymentException: Error compiling ejbql; - nest

Re: [JBoss-user] A JBossCX Change in 3.2 That I Don't FullyUnderstand...

2002-09-17 Thread Hunter Hillegas
Not trying to be difficult... I have a postgres-ds.xml file that I created from the examples... It looks like this: RateVegas jdbc:postgresql:ratevegas org.postgresql.Driver postgres password JNDIView shows this is bound. Here's the complete stack trace: 2002-09-17

Re: [JBoss-user] A JBossCX Change in 3.2 That I Don't Fully Understand...

2002-09-17 Thread David Jencks
gimme a break, this is not a guessing game, at least show what line of this code and give a stack trace. david jencks On 2002.09.17 23:15:43 -0400 Hunter Hillegas wrote: > I know a lot has changed in JBossCX since 3.0, but I don't have a > CHANGELOG > yet. I looked at the source, but my code bel

[JBoss-user] A JBossCX Change in 3.2 That I Don't Fully Understand...

2002-09-17 Thread Hunter Hillegas
I know a lot has changed in JBossCX since 3.0, but I don't have a CHANGELOG yet. I looked at the source, but my code below is now throwing null pointer exceptions... Any ideas? Hunter private int getNextVal(String seqName) throws SQLException { int nextVal = -1; Connection m

[JBoss-user] web-client.war not deploying in template

2002-09-17 Thread John Snyder
Hello,   I am trying to get set up with the template, as recommended in the documentation, and I have encountered a problem which I hope you can help with.  Essentially, the web-client.war package is not deploying when I run ant on the build.xml file in the template download.  Accordingly,

RE: [JBoss-user] Proxy error from org.jboss.ha.framework.interfaces.GenericClusteringException

2002-09-17 Thread Sacha Labourey
Can you please show us the full exception stacktrace? Cheers, Sacha > -Message d'origine- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Envoyé : lundi, 16 septembre 2002 21:21 > À : [EMAIL PROTECTED] > Objet : [JBoss-user] Proxy error from

[JBoss-user] Re: problem with UserTransactions

2002-09-17 Thread Jon Swinth
Javier, You should also be aware the unless bug 574130 has been fixed (which the status says it hasn't), you will not be able to access a UserTransaction on a different machine using properties in the InitialContext() constructor. This is because ClientUserTransaction tries to lookup UserTra

Re: [JBoss-user] problem with UserTransactions

2002-09-17 Thread Javier A. Soltero
I dont have a jndi.properties file in the classpath, however, based on what I have found in that file, I'm actually setting all those props in the Hashtable that I pass into the InitialContext constructor. As for the corba/iiop, I really just need to be able to initiate a UserTransaction from

Re: [JBoss-user] 3.0.2: java.lang.LinkageError: loader constraint s violated when l inking com/tw/imgfactory/ejb/Image class

2002-09-17 Thread David Jencks
Not all possible dependencies between packages are tracked currently, so if an object in package A has a reference to an object in package B and B is undeployed, the referred-to class from B will not get unloaded. Redeploying B will at least temporarily result in two versions of the class from B

Re: [JBoss-user] pre-registering an mbean

2002-09-17 Thread David Jencks
Can you deploy a simple subclass of ServiceMBeanSupport that overrides say startService only and prints a message? The YourClassMBean interface doesnt need to have any methods, just extend ServiceMBean. The reason I suggested xdoclet and xmbeans is that you appear to be constructing MBeanInfos b

Re: [JBoss-user] off-topic : branching politics

2002-09-17 Thread Emerson Cargnin - SICREDI Serviços
but what you think about it when dealing with j2ee apps cvs, not the jboss server cvs : ) David Jencks wrote: > I haven't looked at the plop article you mention yet, but I thought an > article by the guys at Perforce was pretty interesting -- its reprinted as > an ad in october Dr Dobbs Journa

Re: [JBoss-user] problem with UserTransactions

2002-09-17 Thread David Jencks
I know almost nothing about this, but it appears that your attempt to look up is going through a lot of sun corba/iiop classes. I think that won't work. I think if you want to use iiop you need to use jacorb or the more normal way is through plain rmi. Do you have jndi.properties from the jboss

Re: [JBoss-user] 3.0.2: java.lang.LinkageError: loader constraint s violated when l inking com/tw/imgfactory/ejb/Image class

2002-09-17 Thread Marcin Gryszkalis
>> It usually means you have more than one copy of a class deployed. > Let me check on that... but I highly doubt it. I have similar problem and the answer seems to be true - but - my question is - why old class (bean) doesn't get un-deployed when deploying new version (overriding old .jar)? re

Re: [JBoss-user] pre-registering an mbean

2002-09-17 Thread G.L. Grobe
Ok, since I'm subclassing from ServiceMBeanSupport ... I'm still getting the same errors (the not Registered exception below). I took out the override to preRegister(). Also, I didn't get why I need to use an xml dd and can't to it by hand since it's a little late in the game for me to start addi

[JBoss-user] farm-service.xml

2002-09-17 Thread sudhendra seshachala
What is missing from this file. I get 09/17/2002 16:20:57 PM [main] [WARN] Problem creating service jboss:service=Farm Member,partition=DefaultPartition org.jboss.system.MissingAttributeException: Missing attribute 'Deployer' at org.jboss.deployment.scanner.AbstractDeploymentScanner.creat

[JBoss-user] problem with UserTransactions

2002-09-17 Thread Javier A. Soltero
Hi, I have a standalone java application which needs to issue a set of calls to a session bean deployed in JBoss 3.0.2. I am currently unable to do this due to what appears to be a configuration issue (missing properties files... see below). What I am doing is simple, doing a JNDI lookup for

Re: [JBoss-user] off-topic : branching politics

2002-09-17 Thread David Jencks
I haven't looked at the plop article you mention yet, but I thought an article by the guys at Perforce was pretty interesting -- its reprinted as an ad in october Dr Dobbs Journal. http://www.perforce.com/perforce/bestpractices.html The xdoclet guys have been doing something similar, basically m

Re: [JBoss-user] 3.2.x config for JBoss based remote JMS queues/t opics and MDB?

2002-09-17 Thread Michael Bartmann
You are right, I cannot give you a reason. Looking at it now I cannot find anything that depends on my JMSProvider. But it was just a last attempt to help you with my limited knowledge. My strategie is "first copy almost everything" till it works, then "try to modify and cut things away". Perhaps

RE: [JBoss-user] 3.2.x config for JBoss based remote JMS queues/t opics and MDB?

2002-09-17 Thread Barlow, Dustin
I didn't, but instead used the default one that was already setup in the standardjboss.xml as I didn't see any difference between it and yours. Is that incorrect to do? Dustin > -Original Message- > From: Michael Bartmann [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 17, 2002 3:

[JBoss-user] off-topic : branching politics

2002-09-17 Thread Emerson Cargnin - SICREDI Serviços
I know it's a kind of off-topic, but i didn't know any other list to discuss this, may be creating an alternative list to discuss this important subject would be useful : How are you people are dealing with cvs branches and modules in j2ee projects in real world projects? I'm creating a branc

Re: [JBoss-user] Castor-Jdo-Plugin

2002-09-17 Thread Bruce Snyder
This one time, at band camp, Arijit Ghosh said: AG>Any pointers ? AG> AG>I am using Jboss 3.0 with Castor 0.9.3.21. AG> AG>>From where can I get the latest castor-jdo-plugin for Jboss 3.0 ? The AG>one on Jboss site is dated 28th April. Any release after that ? Any AG>known bugs in this present ca

Re: [JBoss-user] jboss 3.2.0 beta

2002-09-17 Thread David Ward
Dain Sundstrom wrote: > [EMAIL PROTECTED] wrote: > > On Tue, Sep 17, 2002 at 04:35:17PM +0200, Karri Niemelä wrote: > > > >> To me its bit unclear, so what are the new features added to that > >> release? > > > > Without any information of what new features/bugs fixed in this > > release (a

Re: [JBoss-user] jboss 3.2.0 beta

2002-09-17 Thread Emerson Cargnin - SICREDI Serviços
at http://www.ejbsig.com/ : The JBoss team has released the 3.2 beta version of its open source J2EE application server. You can download it on the JBoss Sourceforge project page, and here are the change notes. link of change note -> http://sourceforge.net/tracker/?atid=381174&group_id=22866

Re: [JBoss-user] Remote EJB Client Problems

2002-09-17 Thread Marius Kotsbak
Change you hostname in /etc/hostname to the globally unique ip. Also consider using http-invoker to tunnel thru port 80. Check changelog for JBoss 3.0.2. Leon Doud wrote: >We have successfully deployed EJBs that are used by a >web application and a Java client application. Both >of these run

Re: [JBoss-user] 3.2.x config for JBoss based remote JMS queues/topics and MDB?

2002-09-17 Thread Michael Bartmann
Michael Bartmann answered to quick when he wrote: > Did you also copy the MBean with the ServerSessionPool from my > ...-service.xml? > Oops, I did not see your comment below the MBean config :-) I think that a dedicated ServerSessionPool is necessary. At least I had it that way for quite a lon

Re: [JBoss-user] RE: [JBoss-dev] MarshalException for RemoteInvocation (610392)

2002-09-17 Thread Brian Towles
This is actually a change in the JBoss code for 3.0.1 (and other 3.0 versions) Ive just been making sure it works fully before announcing on users. Change line 225 in org.jboss.invocation.Invocation.java from public void setTransaction(Transaction tx) { as_is_payload.put(TRANSACTION, tx);

Re: [JBoss-user] 3.2.x config for JBoss based remote JMS queues/topics and MDB?

2002-09-17 Thread Michael Bartmann
Did you also copy the MBean with the ServerSessionPool from my ...-service.xml? Michael Bartmann Barlow, Dustin wrote: > Ok, I did what you suggested, and also looked at Michael Bartmann's > configuration he was kind enough to forward to me, but it's still now > working. Just to be clear, I am

Re: [JBoss-user] jboss 3.2.0 beta

2002-09-17 Thread Dain Sundstrom
[EMAIL PROTECTED] wrote: > On Tue, Sep 17, 2002 at 04:35:17PM +0200, Karri Niemelä wrote: > >> To me its bit unclear, so what are the new features added to that >> release? > > Without any information of what new features/bugs fixed in this > release (against 3.0.2), I don't think many will

Re: [JBoss-user] jboss 3.2.0 beta

2002-09-17 Thread marius
On Tue, Sep 17, 2002 at 04:35:17PM +0200, Karri Niemelä wrote: > To me its bit unclear, so what are the new features added to that release? Without any information of what new features/bugs fixed in this release (against 3.0.2), I don't think many will try this. > > > -

RE: [JBoss-user] 3.2.x config for JBoss based remote JMS queues/topics and MDB?

2002-09-17 Thread Barlow, Dustin
Ok, I did what you suggested, and also looked at Michael Bartmann's configuration he was kind enough to forward to me, but it's still now working. Just to be clear, I am using version 3.2.0RC1. It appears that when I deploy the MDB that it's still using the DefaultJMSProvider, not my new one. M

[JBoss-user] Enabling security for jboss.net

2002-09-17 Thread Kim, Yong
I found a link on jboss.org forum regarding enabling security for jboss.net web services... According to the thread, there are 3 places that need to be changed to enable security for web services (to utilize the different security domain... other than "other")... I guess that thread is old and I

Re: [JBoss-user] Remote EJB Client Problems

2002-09-17 Thread Leon Doud
I believe I solved the machine name portion of this: http://java.sun.com/j2se/1.4/docs/guide/rmi/javarmiproperties.html Check out the section on java.rmi.server.hostname Setting this parameter in run.sh fixes the name returned by RMI to whatever is passed in. In this case I used the full name of

Re: [JBoss-user] 3.2beta release notes?

2002-09-17 Thread Scott M Stark
None yet. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Bob Cotton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 17, 2002 11:28 AM Subject: [JBoss-user] 3.2beta release notes?

[JBoss-user] jboss.net and persistence

2002-09-17 Thread Jason Essington
I am curious how jboss.net handles persistence say in the case of a stateful session bean that is being exposed as a service? -jason --- This SF.NET email is sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source &

[JBoss-user] 3.2beta release notes?

2002-09-17 Thread Bob Cotton
Are there any release notes for 3.2? None seem to show on sf.net. -bob -- SynXis Corporation | [EMAIL PROTECTED]| no .sig today. 1610 Wynkoop, Suite 400 | Ph: (303)595-2511 | Denver, CO 80202 | Fax:(303)534-4257 | --- Th

Re: [JBoss-user] Remote EJB Client Problems

2002-09-17 Thread Emerson Cargnin - SICREDI Serviços
i changed the following line (i use Suse 8) : 127.0.0.2 tec-ecargnin.sicredi.com.br tec-ecargnin Leon Doud wrote: > Here is the hosts file on the JBoss server: > > 127.0.0.1 localhost.localdomain localhost > 192.168.1.1 myname.mydomain.com myname > > > The Java client application u

[JBoss-user] RE: [JBoss-dev] MarshalException for Remote Invocation (610392)

2002-09-17 Thread Josh Davis
Brian Towles, How do you have this working? What are you doing differently than everyone else that allows your session bean to call another bean on another server? I get a Caused by: java.io.NotSerializableException: tyrex.tm.impl.TransactionImpl Also see forumn thread: http://www.jboss.org/f

Re: [JBoss-user] Remote EJB Client Problems

2002-09-17 Thread Leon Doud
Here is the hosts file on the JBoss server: 127.0.0.1 localhost.localdomain localhost 192.168.1.1 myname.mydomain.com myname The Java client application uses: java.naming.provider.url=jnp://myname.mydomain.com:1099 The JBoss server is behind a Cayman router, so it is using NAT. --- Emerson_C

Re: [JBoss-user] Remote EJB Client Problems

2002-09-17 Thread Emerson Cargnin - SICREDI Serviços
changing the hosts file of the server machine solved the problem for me... could you show your host file of the server? Leon Doud wrote: > We have successfully deployed EJBs that are used by a > web application and a Java client application. Both > of these run on the same machine as JBoss. >

[JBoss-user] Remote EJB Client Problems

2002-09-17 Thread Leon Doud
We have successfully deployed EJBs that are used by a web application and a Java client application. Both of these run on the same machine as JBoss. Currently we are trying to run the Java client application on a different machine and receive the exception at the bottom of this email. The error

RE: [JBoss-user] 3.0.2: java.lang.LinkageError: loader constraint s violated when l inking com/tw/imgfactory/ejb/Image class

2002-09-17 Thread Kim, Yong
Let me check on that... but I highly doubt it. Mitchell Kim -Original Message- From: David Jencks [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 11:35 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] 3.0.2: java.lang.LinkageError: loader constraint s violated when l inkin

Re: [JBoss-user] 3.0.2: java.lang.LinkageError: loader constraintsviolated when l inking com/tw/imgfactory/ejb/Image class

2002-09-17 Thread Bobby Abraham
David Jencks wrote: > On 2002.09.17 09:39:30 -0400 Bobby Abraham wrote: > > jboss.xml goes in an ejb jar, which might not exist in an .ear. > jboss-app.xml goes next to application.xml in your .ear Thanks - I now have multiple apps running on the same machine. I created a jboss-app.xml inside

Re: [JBoss-user] 3.0.2: java.lang.LinkageError: loader constraints violated when l inking com/tw/imgfactory/ejb/Image class

2002-09-17 Thread David Jencks
On 2002.09.17 09:39:30 -0400 Bobby Abraham wrote: > David Jencks wrote: > > On 2002.09.16 13:15:53 -0400 Bobby Abraham wrote: > > > ... > >> > >>I have seen numerous references to ear scoping in the email list but > >>have yet to find out how this is done. Have I missed a reference to it > > >

Re: [JBoss-user] 3.0.2: java.lang.LinkageError: loader constraint s violated when l inking com/tw/imgfactory/ejb/Image class

2002-09-17 Thread David Jencks
On 2002.09.17 10:34:35 -0400 "Kim, Yong" wrote: > I just noticed that I am getting the same error messages! > So I tried to find out about this message thread from mail-archive.com > but > the search doesn't work... > Therefore, being impatient, I'd like to ask you what this error means!? > Pleas

Re: [JBoss-user] Adding jar files to \server\all\lib directory

2002-09-17 Thread David Jencks
There are plenty of ways to deploy packages in jboss, but putting them on the startup classpath is not one of them. A few of the choices are: put the package in server/[conf]/lib (if it is a classes-only jar) put the package in server/[conf]/deploy change the deployment scanner config or add ano

Re: [JBoss-user] 3.2.x config for JBoss based remote JMS queues/t opics and MDB?

2002-09-17 Thread Peter Antman
You hace to have a complete container cinbfiguration. Not just my snippet. Steel one from stdjboss or whats its named. //Peter On 17 Sep, Barlow, Dustin wrote: > Thanks Peter for the information. I think I'm getting closer, but I'm not > quite there yet. > > I have this stanza in the jms-servi

[JBoss-user] mail-archive.com

2002-09-17 Thread Kim, Yong
Why can't I search for messages on mail-archive.com? Mitchell --- Sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.deve

[JBoss-user] jboss 3.2.0 beta

2002-09-17 Thread Karri Niemelä
To me its bit unclear, so what are the new features added to that release? --- Sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http:

RE: [JBoss-user] 3.0.2: java.lang.LinkageError: loader constraints violated when l inking com/tw/imgfactory/ejb/Image class

2002-09-17 Thread Kim, Yong
I just noticed that I am getting the same error messages! So I tried to find out about this message thread from mail-archive.com but the search doesn't work... Therefore, being impatient, I'd like to ask you what this error means!? Please let me know... Thanks, Mitchell -Original Message---

RE: [JBoss-user] Scalability of JBoss JMX-enabled web components

2002-09-17 Thread Geer, Benjamin
Jon Brisbin wrote: > I'm worried that having only > one object to handle any and all requests will be limiting. > Is this a problem? In principle, as long as your object doesn't hold any locks (i.e. doesn't use synchronization), having one object handling lots of requests is a good thing for sca

[JBoss-user] Scalability of JBoss JMX-enabled web components

2002-09-17 Thread Jon Brisbin
I've been experimenting with using JMX components deployed into the JBoss server to execute particular functions of my web application. So far, it's been very fast, as I've been able to parse multiple XML documents and execute arbitrary code in about 300 ms per request, which seems acceptable on

RE: [JBoss-user] 3.2.x config for JBoss based remote JMS queues/t opics and MDB?

2002-09-17 Thread Barlow, Dustin
Thanks Peter for the information. I think I'm getting closer, but I'm not quite there yet. I have this stanza in the jms-service.xml: RemoteJMSProvider org.jboss.jms.jndi.JBossMQProvider java:/XAConnectionFactory java:/XAConnectionFactory remote.com:1099 I ha

Re: [JBoss-user] 3.0.2: java.lang.LinkageError: loader constraintsviolated when l inking com/tw/imgfactory/ejb/Image class

2002-09-17 Thread Bobby Abraham
David Jencks wrote: > On 2002.09.16 13:15:53 -0400 Bobby Abraham wrote: > ... >> >>I have seen numerous references to ear scoping in the email list but >>have yet to find out how this is done. Have I missed a reference to it >>or an example which uses it? > > > Did you look in the quickstart

Re: [JBoss-user] Adding jar files to \server\all\lib directory

2002-09-17 Thread rahul ganjoo
When I try to change run.bat to set JBOSS_CLASSPATH so that certain application specific classes are visible to JBoss throughout , it gives me ClassNotFound Exceptions for certain JBoss specific classes. I was trying this to avoid putting application specific jars in the deploy or lib folder. Is t

RE: [JBoss-user] 3.2.x config for JBoss based remote JMS queues/topics and MDB?

2002-09-17 Thread Barlow, Dustin
> Ok, I must admid that I never did that, but shouldn't it be > easier if you > host the queue on the receiving side? Yes it would be easier, however, another department owns and publishes to the jms queues. My department will just be a consumer on the queue along with other consumers from othe

Re: [JBoss-user] Portable way to obtain JAAS Subject?

2002-09-17 Thread Emerson Cargnin - SICREDI Serviços
why don't use : req.getUserPrincipal().toString(); Gary S. Cuozzo wrote: > check out request.getRemoteUser() and request.isUserInRole(String role) > > hth, > gary. > > > Jim Crossley wrote: > >> Is there a portable way for me to obtain the JAAS Subject for an >> authenticated user from with

Re: [JBoss-user] Adding jar files to \server\all\lib directory

2002-09-17 Thread David Jencks
On 2002.09.17 02:11:21 -0400 rahul ganjoo wrote: > In this context i have a few basic questions... > My deploy directory has many plain jars(just class files) and > other jars having EJB components. I have observed that Jboss > deploys these jars alphabetically and if a bean Jar needs a class file