Re: [JBoss-user] auth login config file from JSP

2003-04-04 Thread Ionel Gardais
Hi Scott and Craig, I think I am going through the same kind of problem. All my login process is made from a bunch of code inside a class that is hooked to a session (as an attribute). Like for Craig, the login step pass successfully (telling me when a user is not in my database or when a bad

[JBoss-user] Timer in Jboss3.0

2003-04-04 Thread Dominique Casserres
Title: Timer in Jboss3.0 Hello, I would like your thoughts on the following that is not very J2EE complaint. When a MDB receives a message, it sohuld start an external program (let's call it prog.exe). When this prog completes, it writes a file (result.xml). I would like to read every n

Re: [JBoss-user] CMR Error under load

2003-04-04 Thread Andrew May
Unfortunately without the read-only tags our application performs too slowly to be usable under load. We use the CMP Entities for authentication to our site, where every user gets the guest identity, and many different users may share the same institutional identity. So if there's a lot of

[JBoss-user] java.lang.NoSuchMethodError in JaasSecurityManager: more info

2003-04-04 Thread Sternagel Annegret (MPI/ADB)
Hello, I configured JAAS on jboss 2.4.3 / Win2000 / JDK1.3 and it worked well. I wrote a special ServerLoginModule (for jboss 2.1) that still worked in jboss 2.4.3. Now I changed to jboss 2.4.10 and get a NoSuchMethodError in JaasSecurityManager (StackTrace below) I didn't change the default

[JBoss-user] Clustring problem

2003-04-04 Thread kapil mehrotra
Hi All I am very new in Clustering my objective is to achive this gole :- 1. How does Clustering work with the servlet? 2. Does it share a servlet? 3. What happens with sessions? 4. Are they passed around to other servers in the cluster? I wanted to know how far i am from my goal. Till now

[JBoss-user] res-url and external resources.

2003-04-04 Thread Phil Cornelius
I have externalized my resources by using jndi lookups, I have defined resource references in the jboss-web.xml and jboss.xml resource-ref res-ref-namemy_resource/res-ref-name res-urlfile:///c:/myconfigfilesdir//res-url /resource-ref and it works fine.. however these deployment

Re: [JBoss-user] res-url and external resources.

2003-04-04 Thread Stephen Coy
We use ant to unpack the ear, perform token substitution as needed (driven by a properties file) and reassemble. Steve Coy On Friday, April 4, 2003, at 08:03 PM, Phil Cornelius wrote: I have externalized my resources by using jndi lookups, I have defined resource references in the

Re: [JBoss-user] Clustring problem

2003-04-04 Thread Mikkel Heisterberg
All this is discussed in the clustering documentation kapil mehrotra [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 04-04-2003 12:08 Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject [JBoss-user] Clustring problem Hi All I am very new in

[JBoss-user] Problems with message driven beans

2003-04-04 Thread David Luis Fernandes de Araujo
Hi, i'm getting this error after calling many message driven beans in jboss: 2003-04-03 22:41:03,705 ERROR [STDERR] org.jboss.mq.SpyJMSException: Cannot start a the client IL service; - nested throwable: (java.net.SocketException: Too many open files) And when i do a netstat, i see lots of

RE: [JBoss-user] solved: java.lang.NoSuchMethodError in JaasSecurityManager: more info

2003-04-04 Thread Sternagel Annegret (MPI/ADB)
Hello, I found the problem: there have been the jboss 2.4.3 files jaas.jar ans jbosssx-client.jar in the jre directory lib\ext. Even renamed files to anything but *.jar caused the problem. Deleting (or updating) solved the problem :-) Annegret -Original Message- From: Sternagel Annegret

Re: [JBoss-user] Problems with message driven beans

2003-04-04 Thread Stefan Arentz
On Friday, Apr 4, 2003, at 15:26 Europe/Amsterdam, David Luis Fernandes de Araujo wrote: Hi, i'm getting this error after calling many message driven beans in jboss: 2003-04-03 22:41:03,705 ERROR [STDERR] org.jboss.mq.SpyJMSException: Cannot start a the client IL service; - nested throwable:

RE: [JBoss-user] res-url and external resources.

2003-04-04 Thread Alastair Rodgers
One option is to store your file URLs, etc., in JNDI. You could write a custom MBean to read the localised properties from a file at system startup and load them into JNDI. Your app then just looks up the values from JNDI at runtime. The service.xml for your MBean might look something like:

Re: [JBoss-user] jetty max form size reached?

2003-04-04 Thread Robert Hedin
We ran into a similar problem. Not sure if it's related to what you're seeing, but Jetty added a parameter to guard against certain DOS attacks that limits the size of form data returned. Setting the org.mortbay.http.HttpRequest.maxFormContentSize system property allows this to be configured. We

[JBoss-user] jboss-2.4.10 No ManagedConnections Available! if MaxSize of DataSource=0 (unlimited)

2003-04-04 Thread Sternagel Annegret (MPI/ADB)
I changed from jboss-2.4.3 to jboss-2.4.10. In the DataSource configuration to a Sybase ASA DB we used the default value for MaxSize (0 = unlimited). But in jboss-2.4.10 in this case a java.lang.RuntimeException: No ManagedConnections Available! occurs. If I set MaxSize to a value 0 it works

Re: [JBoss-user] auth login config file from JSP

2003-04-04 Thread Scott M Stark
No, that works fine as propagation from the servler to the ejb container is supported provided you use the right login module. See the org.jboss.test.web.servlets.ClientLoginServlet in the testsuite module for an example. -- Scott Stark Chief Technology Officer JBoss

Re: [JBoss-user] MDBs and Transactions

2003-04-04 Thread Brian McSweeney
I think I understand now Ian, thanks for the response. It seems that seeing as MDBs are asynchronous we can't propogate the transaction from the facade method into the MDB. This makes sense because otherwise the facade method would have to wait until it sees if the MDB can complete because it

Re: [JBoss-user] jboss-2.4.10 No ManagedConnections Available! if MaxSize of DataS ource=0 (unlimited)

2003-04-04 Thread David Jencks
I believe unlimited is not supported any more. You don't have an infinitely large computer. You will get the same effect if you set it to a ridiculously large int. david jencks On 2003.04.04 08:25 Sternagel Annegret (MPI/ADB) wrote: I changed from jboss-2.4.3 to jboss-2.4.10. In the

Re: [JBoss-user] Problems with message driven beans

2003-04-04 Thread Chris Bonham
David, Are you running in a UNIX environment? If so, you probably need to increase the number of open file descriptors like so (sockets are considered file descriptors): ulimit -n 8192 Good luck! -- Chris Bonham President/CEO Third Eye Consulting, Inc. [EMAIL PROTECTED]

[JBoss-user] Got it working ! (related to [auth using JSP])

2003-04-04 Thread Ionel Gardais
Hi all, I finally got it working ! Access to my jsp is now secured by a sweet little box that pops up when no id has yet been provided. This solves my problem of authentication. But, (there is always a but), how to proceed if I want this authentication not to be done by a popup but by an html

Re: [JBoss-user] auth login config file from JSP

2003-04-04 Thread Scott M Stark
These are two different things. The layer than handles the j_security_check in response to an attempt to access secured content is the web container. The web containers have interfaces defining how a security provider plugsin to provide authentication and authorization. This is the layer that

Re: [JBoss-user] Got it working ! (related to [auth using JSP])

2003-04-04 Thread Neal Sanche
On Friday 04 April 2003 08:57 am, Ionel Gardais wrote: But, (there is always a but), how to proceed if I want this authentication not to be done by a popup but by an html (or jsp) page with input text tags for username and password ? Well, this isn't much different, but requires an additional

[JBoss-user] Oracle XA Datasource problems

2003-04-04 Thread Andrew May
Hi, I'm trying to use an XA datasource with Oracle 8.1.7 for the first time and I'm getting this error: 14:56:23,707 WARN [TransactionImpl] XAException: tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=cleaver.ingenta.com//3, BranchQual=] errorCode=XAER_NOTA oracle.jdbc.xa.OracleXAException

Re: [JBoss-user] auth login config file from JSP

2003-04-04 Thread Ionel Gardais
Ok, I read it. Isn't it possible for the LoginContext to persist as long as the session ? Here it creates a new LoginContext on each call to the servlet. ionel Scott M Stark wrote: No, that works fine as propagation from the servler to the ejb container is supported provided you use the right

Re: [JBoss-user] CMR Error under load

2003-04-04 Thread Stephen Coy
It's now checked in to Branch_3_2. ./build.sh -Dtest=org.jboss.test.cmp2.cmrstress.CMRStressTestCase one-test Disregard my earlier comment about the getters on the child bean. Steve Coy On Friday, April 4, 2003, at 02:00 AM, Dain Sundstrom wrote: What is the name of the test case and are

[JBoss-user] Exception in JMSCI message listener

2003-04-04 Thread Sanjeev Singal
Hey all, I have some ejb applications (session beans and message driven beans) deployed at jboss 3.0.0. After a while the following exception starts appearing: 2003-04-04 09:16:22,859 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackException, causedBy:

RE: [JBoss-user] Oracle XA Datasource problems

2003-04-04 Thread Igor Fedorenko
Andrew, What version of JBoss are you running? Do you have Pad=true in $SERVER/deploy/transaction-service.xml? -Original Message- From: Andrew May [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 9:45 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Oracle XA Datasource

[JBoss-user] Compound PK using CMR/CMP

2003-04-04 Thread Billy Rutledge
Hi All, I have created an Entity EJB that maps to a table with a compound PK (both columns are NOT NULL). One of the columns of the PK, COMMUNITYID_FK is a FK to another table representing the many side of a 1-* relationship. From sql file used to create table:

RE: [JBoss-user] Got it working ! (related to [auth using JSP])

2003-04-04 Thread Craig Berry
Any chance you could post relevant code snippets showing your technique? -Original Message- From: Ionel Gardais [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 5:57 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Got it working ! (related to [auth using JSP]) Hi all, I finally

[JBoss-user] jetty single sign-on

2003-04-04 Thread David Ward
We would like to enable single-sign for web apps deployed with JBoss-3.0.6/Jetty. We know how to to do it with Tomcat. What do we need to get it working with bundled Jetty? I'm guessing we need to tweak one/all of these files?: 1) $JBOSS_HOME/server/default/deploy/jbossweb.sar/webdefault.xml

[JBoss-user] Datasource Urgent!!

2003-04-04 Thread Gabriel Pinto
How can I prevent a DataSource JNDI, deployed inside an application ear, from being accessed from all others applications? Thanks Gabriel --- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB

Re: [JBoss-user] Optimized CMP loading

2003-04-04 Thread Simone Milani
Hi Dain, thanks for your reply, but all my methods are marked as transaction required and all that loading stuff happens anyway for a single finder method. I am confused. Thanks Simone From: Dain Sundstrom [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject:

Re: [JBoss-user] Problem in cmr get procedure (jboss3.2.0RC3)

2003-04-04 Thread Alex Loubyansky
Could you, please, try JBoss-3.2.0RC5 from cvs? There were a lot of changes in the code since 3.2.0RC3 Thanks, alex Friday, April 04, 2003, 4:46:34 PM, you wrote: CM Hi all, CM I am using jboss3.2.0RC3, jdk1.3.1_06, database Hypersonic. CM My application description CM -BeanA and BeanB have

Re: [JBoss-user] Compound PK using CMR/CMP

2003-04-04 Thread Alex Loubyansky
Could you please try JBoss-3.2.0RC5 from CVS? It should work. You can check a testcase in org.jboss.test.cmp2.fkmapping package. alex Friday, April 04, 2003, 8:38:58 PM, you wrote: BR Hi All, BR I have created an Entity EJB that maps to a table with a compound PK BR (both columns are NOT

[JBoss-user] Command to checkout JBoss4.0 src?

2003-04-04 Thread Sasidharan, Manoj
Hello All, What is the command to checkout the latest src for JBoss 4.0? Is it: cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co jboss-head Thanks for your time. MS --- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting

[JBoss-user] CMR keeps using java:/DefaultDS?

2003-04-04 Thread Billy Rutledge
Hi All, I have an Entity EJB deployed to JBoss-3.0.6 that has a single CMR field. In my jbosscmp-jdbc.xml file, I have the datasource and datasource-mapping attribs set to use a datasource named java:/OracleDS. Here are the relevant sections: ... datasourcejava:/OracleDS/datasource

[JBoss-user] JBoss.NET + VS.NET arrays

2003-04-04 Thread Nathan Hoover
I have session beans with methods that have return types like FooData[]. Those methods are exposed as web services by JBoss.NET. When I try to add the web reference in VS.NET, I get an error Unable to import operation 'findPendingIndependentChecks'. The datatype 'Array' is missing.. Has anyone

Re: [JBoss-user] MDBs and Transactions

2003-04-04 Thread Ian Duggan
On Friday 04 April 2003 5:42 am, Brian McSweeney wrote: However I'm not sure how passing in entity A into the MDB would help. Is it because if you pass in entity A it means that it would be still locked and other methods would be unable to access it? Not that any locking would occur, just so

Re: [JBoss-user] Web services in JBoss 3.2 and 4 - looking for examples and litera ture

2003-04-04 Thread Neal Sanche
Well, I put a little exploration 'diary' up on my website that you can have a look at, maybe it'll help you get started? http://www.nsdev.org/jboss Enjoy. -Neal On Friday 04 April 2003 01:47 pm, Sasidharan, Manoj wrote: Hello All, Is there any literature on how to develop web-services in

Re: [JBoss-user] massive performance decrease

2003-04-04 Thread Langelage, Frank
Today I executed my little performance test with current cvs-versions of 3.2 and HEAD. The execution time for this testcase dropped to ~ 60 min with HEAD: a significant improvement. But the execution time with 3.2RC5 is even better: ~ 50 min. So I will take your suggestion and use 3.2 for now.

Re: [JBoss-user] massive performance decrease

2003-04-04 Thread Dain Sundstrom
HEAD as of yesterday should be slower as I turned on object copying in getters and setters. When a getter is called we return a copy of the internal value and when you set a value it makes a copy of the passed in value. If you are not using immutable types this can slow you down. Right now

Re: [JBoss-user] Datasource Urgent!!

2003-04-04 Thread David Jencks
You can't bind it only locally in jndi. If you really need to protect yourself against other apps in the same server... which I think is unrealistic... don't provide a default user/pw in the ds config, and use an LoginModule for each app to supply the (secret) user/pw. david jencks On

[JBoss-user] JBoss 3.0.x through firewall (port issues)

2003-04-04 Thread Johnson, Lance
Hello everyone out there in JBoss land... We are trying to put some firewall documentation together for our customers so they understand the requirements of our system. When we started putting this together we noticed some unfortunate behavior in JBoss with random port selection. This type of

Re: [JBoss-user] CMR keeps using java:/DefaultDS?

2003-04-04 Thread Alex Loubyansky
Hello Billy, it should be fixed in current CVS version for all branches. alex Friday, April 04, 2003, 10:56:39 PM, you wrote: BR Hi All, BR I have an Entity EJB deployed to JBoss-3.0.6 that has a single CMR BR field. In my jbosscmp-jdbc.xml file, I have the datasource and BR

Re: [JBoss-user] Re: Compound PK using CMR/CMP

2003-04-04 Thread Alex Loubyansky
JBoss-3.2.0RC5 is not available in a binary. The only way to get it is to check out the source code and build it yourself. Otherwise, you can wait for a release of 3.2 branch that should happen soon. alex Saturday, April 05, 2003, 1:25:12 AM, you wrote: BR Alex, BR I don't see the ORC5 tag in

Re: [JBoss-user] Help needed for running client EJB

2003-04-04 Thread Guy Rouillier
You need to include the jars in the client subdirectory in your compile and run time classpath. You don't actually need them all, but start with all of them just to get rolling. Anukampa Malhi wrote: I m trying to solve interest EJB example provided with Jboss documentation. This is wht i m

[JBoss-user] Help needed for running client EJB

2003-04-04 Thread Anukampa Malhi
I m trying to solve interest EJB example provided with Jboss documentation. This is wht i m getting when i run interest client Buildfile: build.xml validate-servlet: validate-jboss: fail_if_not_valid: init: [echo] Using JBoss directory=C:\jboss [echo] Using base