[JBoss-user] Direct Session Bean to JDBC connection

2002-09-18 Thread Arijit Ghosh
Thanks everyone -- Got the solution. Regards, Arijit --- This SF.NET email is sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 ht

Re: [JBoss-user] War Deployment

2002-09-18 Thread David Ward
Jules Gosnell wrote: > Marius Kotsbak wrote: > >> sudhendra seshachala wrote: >> >>> War size is 15 MB. >>> >> Why? Because you include .jars that jboss already has? >> >>> Deployment takes around 5 minutes >>> this icnludes the jboss server start time and >>> deployment of jar/ >>> Server start

[JBoss-user] URGENT: JBoss 3.0.1/2 with Jetty - Security Exploit report & fix

2002-09-18 Thread Jules Gosnell
A security hole has been found that allows JSP source to be viewed remotely. This problem is present in the Jetty versions packaged as JBossWeb in JBoss versions 3.0.1 and 3.0.2. JBoss/Tomcat users need take NO action. Two upgrade paths are available : EITHER: Upgrade to JBoss 3.2 http://so

Re: [JBoss-user] War Deployment

2002-09-18 Thread Jules Gosnell
Marius Kotsbak wrote: > sudhendra seshachala wrote: > >> War size is 15 MB. >> > Why? Because you include .jars that jboss already has? > >> Deployment takes around 5 minutes >> this icnludes the jboss server start time and >> deployment of jar/ >> Server start time is 40 secs(worst case) with >

RE: [JBoss-user] Virtual hosting question

2002-09-18 Thread Brian Topping
If only one or the other webapp is present in the deploy, it works fine. It's just when two or more are in there that this occurs. -b > -Original Message- > From: Scott M Stark [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 18, 2002 12:27 PM > To: [EMAIL PROTECTED] > Subject: Re

Re: [JBoss-user] War Deployment

2002-09-18 Thread Marius Kotsbak
sudhendra seshachala wrote: >War size is 15 MB. > Why? Because you include .jars that jboss already has? > Deployment takes around 5 minutes >this icnludes the jboss server start time and >deployment of jar/ >Server start time is 40 secs(worst case) with >Oracle-service.xml >Deployment of ejb.ja

[JBoss-user] War Deployment

2002-09-18 Thread sudhendra seshachala
War size is 15 MB. Deployment takes around 5 minutes this icnludes the jboss server start time and deployment of jar/ Server start time is 40 secs(worst case) with Oracle-service.xml Deployment of ejb.jar is around 20 secs. Now deployment of war is taking 4 minutes... is there any way to reduce th

Re: [JBoss-user] Security Roles not accessible in beans?

2002-09-18 Thread Scott M Stark
That is the current implemented behavior. The run-as role is only available to the declarative security layer, not the application component. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Benoit Xhense

[JBoss-user] Security Roles not accessible in beans?

2002-09-18 Thread Benoit Xhenseval
Hi We are using JBoss 2.4.4. with JAAS and the DatabaseUserLoginModule. In some part of the ejb code, we are using getContext().isCallerInRole(x) and everything works fine... Except in this case and we wonder if 1/ it is normal behaviour 2/ it is a bug 3/ if there is a workaround or patch..

[JBoss-user] wsdl generation

2002-09-18 Thread Emily Short
I am using JBoss4.0.0alpha with axis beta2.  Is there a way to generate and expose wsdl files for my web services?  I think I have read about this before but can’t find it in the documentation.   Thanks, Emily

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

2002-09-18 Thread Dain Sundstrom
Emerson Cargnin - SICREDI Serviços wrote: > one of the most trouble we are going to find (IMHO) using CMP is how to > isolate sub-systems in different ears to make it deployable separate. > the problem is , for exemple : i have a cmp that handles cities, states, > those are cmp's that would be use

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

2002-09-18 Thread Emerson Cargnin - SICREDI Serviços
one of the most trouble we are going to find (IMHO) using CMP is how to isolate sub-systems in different ears to make it deployable separate. the problem is , for exemple : i have a cmp that handles cities, states, those are cmp's that would be used by all other system, and I have other susb-syste

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

2002-09-18 Thread Barlow, Dustin
I changed the XAConnectionFactory name to XARemoteConnectionFactory on the second JMSProvider, but it didn't make any difference and XARemoteConnectionFactory didn't show up in JNDI space. This leads me to believe that those references are not the originators of the connection factory, but are re

RE: Subject: [JBoss-user] stabel VM for Linux+SMP and JBoss3 cluster

2002-09-18 Thread Maris Orbidans
We use JBoss 2.4.4 on RedHat with Blackdown FCS 1.3.1 in production without problems. Maris > -Original Message- > From: Marius Kotsbak [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 27, 2002 10:15 PM > To: [EMAIL PROTECTED] > Subject: Re: Subject: [JBoss-user] stabel VM for Linux+S

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

2002-09-18 Thread LaBanca, Rick
>Look at the xdoclet refactoring branches. People were fixing templates, >adding module features etc on the main line and the refactoring to use >xjavadoc was occurring on a branch. When the xjavadoc stuff was stable >enough, the refactoring branch was merged to the mainline. How would you >do

Re: [JBoss-user] The old problem standalone Tomcat with JBoss

2002-09-18 Thread Emerson Cargnin - SICREDI Serviços
i think you have to make the link between tomcat JAAS an JBOSS JAAS by hand. we are using a light version of jboss, just with mbeans to implement security and jetty, so jboss does the link for us, so we don't have to worry about it. Dannemann, Björn wrote: > Yesss, > my problem: > > 1.) JBoss

Re: [JBoss-user] Virtual hosting question

2002-09-18 Thread Marius Kotsbak
I think jetty support something called alias that you could put into its config to fix this. On Wed, 2002-09-18 at 17:10, Brian Topping wrote: > Hi guys, > > I have map a different war deployment at the root of several different > name-based virtual hosts. In other words, http://a.foo.com and >

Re: [JBoss-user] farm-service.xml

2002-09-18 Thread Curt Johnson
sudhendra seshachala wrote: >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

RE: [JBoss-user] How to limit # of stateful session beans in jboss.xml

2002-09-18 Thread Maris Orbidans
If you want to test passivation/activation you dont have to create a lot of instances; Just create one and wait a bit. Maris > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 1:25 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-u

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

2002-09-18 Thread Jason Westra
Hi! Could the custom threading in the ApplicationServerDeploy class be messing with the proxy generation? This error does not happen when called within a regular threaded execution from a servlet. Here is logging proof of that: (D)-255- | Wed Sep 18 10:34:44 MDT 2002 | PropertyClient | getProp

[JBoss-user] The old problem standalone Tomcat with JBoss

2002-09-18 Thread "Dannemann, Björn"
Yesss, my problem: 1.) JBoss and Tomcat are in different java vm's 2.) I have configured Tomcat to use JBoss jndi (http://www.purposesolutions.com/Resources/EclipseJ2EE.html) 3.) I have a jsp that connects to a JBoss EJB 4.) This EJB checks if i am in the correct group to do something --> bang I

Re: [JBoss-user] Virtual hosting question

2002-09-18 Thread Scott M Stark
It should work and it does work fine with Jetty. I'll have to look into the tomcat behavior. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Brian Topping" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Se

[JBoss-user] Virtual hosting question

2002-09-18 Thread Brian Topping
Hi guys, I have map a different war deployment at the root of several different name-based virtual hosts. In other words, http://a.foo.com and http://b.foo.com should map directly to separate .war files. Right now, I have two separate war deployments, each with a jboss-web.xml. They look like:

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

2002-09-18 Thread Michael Bartmann
Barlow, Dustin wrote: >They don't use the same JNDI name from what I see in the JNDIViewer. One is >bound to DefaultJMSProvider and the other is bound to RemoteJMSProvider. >The ProviderName attribute seems to be the one that it uses for registering >itself into Global JNDI space. > > >name="

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

2002-09-18 Thread David Jencks
On 2002.09.18 10:48:57 -0400 "LaBanca, Rick" wrote: > > It depends on how modular things are, but I would almost always use > branches > for module revisions and put modules in different cvs modules, or at > least > top level directories within. > > My preferred practics is to write true subsys

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

2002-09-18 Thread LaBanca, Rick
It depends on how modular things are, but I would almost always use branches for module revisions and put modules in different cvs modules, or at least top level directories within. My preferred practics is to write true subsystems as if they are delivered products, like third party libraries.

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

2002-09-18 Thread Barlow, Dustin
> But wait, when I once again look at your config there is one > thing I don't > understand: Why do both of your Providers use the same > jndiname to register > their ConnectionFactories to? Maybe one overwrites the other? > The ProviderLoader > obtains a Connection after looking up these Facto

[JBoss-user] Re: Direct Session Bean to JDBC connection (Arijit Ghosh)

2002-09-18 Thread sudhendra seshachala
In Jboss 3.0.2 We have Oracle-service.xml and Oracle-xa-service.xml. The templates are available under the directory $JBOOSS_DIST/docs/jca This is where u configure Oracle and Oracle XA respectively. then instaed of jboss.jcml, u have jboss-service.xml under server/default/conf directroy check t

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

2002-09-18 Thread Barlow, Dustin
> But wait, when I once again look at your config there is one > thing I don't > understand: Why do both of your Providers use the same > jndiname to register > their ConnectionFactories to? Maybe one overwrites the other? > The ProviderLoader > obtains a Connection after looking up these Facto

RE: [JBoss-user] Cocoon 2.0.3 / Deploying multiple Web-Apps

2002-09-18 Thread Coetmeur, Alain
There is a bug in jboss2.4.4 and previous that make catalina support fails is aa parser other than crimson is used... In the old time I've made aptch but now it should be corrected in jboss2.4.5 and up the result of the bug is that catalinaservicemx fails while parsing something inside MB

Re: [JBoss-user] Cocoon 2.0.3 / Deploying multiple Web-Apps

2002-09-18 Thread Scott M Stark
First use jboss-3.0.2_tomcat-4.0.4 and then show the full stack trace of the error. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Klaus Richarz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednes

RE: [JBoss-user] Bug #582428

2002-09-18 Thread Alexey Yudichev
Title: Bug #582428 I use 3.0.2 and no composite keys. This issue (in my case and in case specified in the bug description) is related to CPM2.0 relationships.   Best wishes,  Alexei Yudichev   mailto:[EMAIL PROTECTED] -Original Message-From: Nayyer Kamran [mailto:[EMAIL PROTECTE

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

2002-09-18 Thread Alex Loubyansky
Sorry, this one select object(r) from Role as r where r.role_desc = ?1 alex AL> Parameters are indexed, i.e. the correct query will be AL> select object(r) from Role as r where role_desc = ?1 AL> alex PSsc>> But I still have more question for another findBy. PSsc>> 17:17:02,411 WARN [Ser

[JBoss-user] Cocoon 2.0.3 / Deploying multiple Web-Apps

2002-09-18 Thread Klaus Richarz
Hello, we are new to JBoss and Cocoon and we try to deploy a Web-App using Cocoon. We are using integrated Tomcat 4.0.3 in JBoss 3.0.0 with Cocoon 2.0.3. Things work fine, but we want to seperate all the cocoon-libs from our application ear. (So we can deploy more than one web-app using cocoon wi

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

2002-09-18 Thread Sebastien CHAUSSON
You should try this : select object(r) from Role as r where r.role_desc= ?1 HTH Sebastien - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 12:24 PM Subject: Re: Re[2]: [JBoss-user] Error compiling ejbql > > Thanks Alex, > > Th

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

2002-09-18 Thread Alex Loubyansky
Parameters are indexed, i.e. the correct query will be select object(r) from Role as r where role_desc = ?1 alex PSsc> But I still have more question for another findBy. PSsc> 17:17:02,411 WARN [ServiceController] Problem starting service PSsc> jboss.j2ee:servi PSsc> ce=EJB,jndiName=RoleRe

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

2002-09-18 Thread Phuwarin . Supawarapong
Thanks Alex, That works!!! But I still have more question for another findBy. 17:17:02,411 WARN [ServiceController] Problem starting service jboss.j2ee:servi ce=EJB,jndiName=RoleRemoteHome org.jboss.deployment.DeploymentException: Error compiling ejbql; - nested throwa ble: (org.jboss.ejb

Re: [JBoss-user] Bug #582428

2002-09-18 Thread Nayyer Kamran
Title: Bug #582428 hi,   We are using Jboss 2.4.6 with SQL server 2000 and we are unable to do ejbRemove, calling from servlet or sessionbean it throws illegalArgumentexception in case of composite key. I have mailed this problem on this list before too. but found no solution. for reference

Re: [JBoss-user] bug in JB-3.0.1-catalina

2002-09-18 Thread Alwyn Schoeman
Hi, In normal J2SE I usually get that error when I have an infinite loop which allocates memory and eventually eats up all the JVM's memory. On Wed, Sep 18, 2002 at 10:15:00AM +0200, kiuma wrote: > Hi I'm working with a web app (buggy) and struts 1.2b . Linux and jdk-1.4.0 > While deploying and

[JBoss-user] jboss.net and catalina

2002-09-18 Thread Bruce Scharlau
Hello all, jboss.net with axis rc1 now seems to work with jboss and tomcat (catalina 4.0.4) IF you wrap the jboss-net.sar in an exploded ear file. Do this: 1. create unpacked jboss-net.ear 2. put jboss-net.sar into this 3. move jboss-net.war and jboss-net.wsr from under jboss-net.sar up a dir

Re: [JBoss-user] Direct Session Bean to JDBC connection

2002-09-18 Thread Jon Haugsand
* Arijit Ghosh > I find that jboss.jcml file does not exist. Instead oracle-service.xml > file exists. Can anyone give me the corresponding mbean code in > oracle-service.xml file for direct jdbc connection ?? Why don't you just copy the file ${JBOSS_HOME}/docs/examples/jca/oracle-service.xml to

[JBoss-user] bug in JB-3.0.1-catalina

2002-09-18 Thread kiuma
Hi I'm working with a web app (buggy) and struts 1.2b . Linux and jdk-1.4.0 While deploying and requesting page at the same time jboss sometime report this exception: 10:11:08,736 ERROR [STDERR] java.lang.OutOfMemoryError I can't exit from jboss gracefully! Does it help? ---

[JBoss-user] JRockit 7.0 is still buggy

2002-09-18 Thread Alex Loubyansky
Hello guys, has someone tried JRockit7.0? I just have. And couldn't even build JBoss (Branch_3_2, HEAD). The exception: BUILD FAILED file:C:/CVSROOT/jboss_branch_3_2/jboss-all/build/build.xml:216: java.lang.Illega lAccessException: Class org.apache.tools.ant.IntrospectionHelper$1 can not acces s

[JBoss-user] Problem with ejbRemove

2002-09-18 Thread Gavin Hughes
Hi, I was wondering if anyone can give me any idea why ejbRemove would fail to work. I have a small application which I've just migrated from JBoss3.0.0 to JBoss3.0.2 - everything works fine, except for deleting an entity - ejbRemove() executes without complaint, however the entity is not delete

[JBoss-user] Direct Session Bean to JDBC connection

2002-09-18 Thread Arijit Ghosh
Hi, When I was using Jboss2.4.4, for a direct stateless session bean to jdbc connection, i had a file called jboss.jcml which had the following mbean code -- OracleDB org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl jdbc:oracle:thin:@192.168.0.124:2000:ORCL abcd abcd The classfile