[JBoss-user] JBoss 2.4.4-Tomcat 4.0.1, MySQL, EJB Questions

2002-06-14 Thread silyeek Tan
1) may i know is there any GUI deploy tool attach with JBoss 2.4.4 - Tomcat 4.0.1 bundle? If not, can i develop a EAR WITHOUT writing build script using Jakarta Ant? I would rather use command line than learning Ant script. 2) EJB JAR requires ejb-jar.xml EJB WAR requires web.xml EJB EAR requires a

[JBoss-user] does this MBean make sense?

2002-06-14 Thread G.L. Grobe
I'd just like to know if I'm on the right track or not with what I'm displaying below, or see if it makes sense. I'm trying to create queues during run-time. So I do the following ...   // Get the MBean serverMBeanServer server = (MBeanServer)   MBeanServerFactory.findMBeanServer(null).itera

Re: [JBoss-user] MBean Question

2002-06-14 Thread G.L. Grobe
Be careful when reading my advice as I'm in the middle of trying to understand MBeans myself ... but from what I understand ... if you extend from the ServiceMBean class which calls the init, start, stop, and destroy ... each one of these then calls that specific subclasses initService, startServi

RE: [JBoss-user] MBean Question

2002-06-14 Thread Starsinic, Frank
Title: RE: [JBoss-user] MBean Question you could have the startService method not do a whole lot. then in the JMX Interface have an addtional method called startServiceNoKidding() that really does the startup that you're looking for. then you just go to :8082 and click on the startService

[JBoss-user] MBean Question

2002-06-14 Thread Greg Turner
I want to write an MBean that does not get its startService method automatically called when JBoss deploys the MBean. Is there a way to do this? I just want the MBean sitting there not doing anything until I manually start it via 8082. Thanks Greg Turner Tiburon Enterprise Systems http://www

Re: [JBoss-user] Resource ref problem

2002-06-14 Thread David Jencks
I forget this stuff quickly, but i think you want the jndi-name tag to be the actual name the datasource is bound under (specified in postgres-service.xml file). Putting the comp/env entry there makes an infinite loop, since it resolves the ejb-private reference to itself. david jencks On 2002.

Re: [JBoss-user] security settings in 3.0

2002-06-14 Thread David Jencks
There is currently no deployer I know of for security file snippets. I recommend you follow the instructions and include the snippet in login-config.xml I can't figure out any use for the principal, but it's required for the PasswordCredential, so I've just been putting the UserName in. david j

Re: [JBoss-user] xml config files in 3.0.0

2002-06-14 Thread David Jencks
You can either: 1. deploy the mysql-service.xml file separately by putting it in server/.../deploy. You may possibly need to prefix the names of your deployables with numbers (10mysql-service.xml, 20myejbjar.jar etc) to get them to deploy in the correct order on startup. (the numbering might hav

RE: [JBoss-user] 2.4.6 w/ 4.0.3 - Trying to find a workaround for context definiti on

2002-06-14 Thread Duarte Nuno Loreto
Hello again! Just to tell all that we found an answer for our problem. Just in case this can help anyone... We now expose the NS_Ref using the corbaloc. This is done through modifying the jacorb.properties. This way, the client can remotelly access the NS_Ref through a dedicated port on

Re: [JBoss-user] JBoss Documentation

2002-06-14 Thread Dain Sundstrom
The clustering documentation is up-to-date for 3.0. We will be releasing a new version soon, but this is mainly a reformatting and a decent increase in new information and configuration and trouble shooting(new configuration is additional to already documented functionality.) So the answer

Re: [JBoss-user] JBoss Documentation

2002-06-14 Thread Bruce Robbins
I have waited on purchasing the JBoss clustering documentation because the overview on flashline says "JBoss 3.0 Clustering Version 0.2 (December 5, 2001, Draft)". Is that the up-to-date version? Or am I looking in the wrong place maybe? Thanx. Dain Sundstrom wrote: >The for-pay JBossCMP and

Re: [JBoss-user] How to look up queue with jboss3.0

2002-06-14 Thread Slava Voronin
try lookup("ConnectionFactory") ch ejb wrote: > hi there, > i am getting error when iam looking a queue in jboss3.0. > the error is > JNDI lookup failed: javax.naming.NameNotFoundException: > QueueConnectionFactory > > how can i look up a queue named A from the Queue coonection?? > my pieces o

Re: [JBoss-user] JBoss and Jetty Configuration

2002-06-14 Thread Jules Gosnell
As Jetty deploys it, it will print out the context to which it is deployed. There are three ways in which you may have specified the context: in ear/META-INF/application.xml by deploying a naked war - for foo.war the context /foo will be used in war/WEB-INF/jboss-web.xml probably in that order

RE: [JBoss-user] What's better FREE BEER or JNDI?

2002-06-14 Thread Starsinic, Frank
Title: RE: [JBoss-user] What's better FREE BEER or JNDI? I think you're right and I do not want to waste anyone's time.   I've read through the JNDI tutorial. I've searched the internet for examples and other people having the same problem. I've written lots of code. I've asked this questi

[JBoss-user] Resource ref problem

2002-06-14 Thread Maarten Dirkse
Hi, I'm using jboss 3.0.0 and I'm trying to set up a PostgreSQL datasource using resource references. I've configured several mbeans to implement a connection factory which is called PenningDB. I know this factory works, because I had used it before by just looking it up through jndi, and not

Re: [JBoss-user] Delegating Jetty Authentication to JBoss -- RESOLVED

2002-06-14 Thread Tom Mahaffey
After a lot of wrestling, I finally found my problem. Of course, once I found the problem, this configuration thing fell into place with the ease I have come to enjoy with JBoss. My blasted users.properties file for UsersRolesLoginModule had usernames with dots in them. Seemed totally acceptabl

Re: [JBoss-user] What's better FREE BEER or JNDI?

2002-06-14 Thread Scott M Stark
Title: RE: [JBoss-user] What's better FREE BEER or JNDI? Unless you provide a complete example of the scenario that is not working you are wasting everyone's time by posting the same question.  Here is a simple example that demonstrates binding a value on hostA and looking the value up on hos

Re: [JBoss-user] JBoss Documentation

2002-06-14 Thread Dain Sundstrom
Our website is a little out of date as Marc is in Montreal. Here is the info on the current documentation. Free JBoss 3.0 Quick Start Guide can be found at http://prdownloads.sourceforge.net/jboss/JBoss.3.0QuickStart.pdf?download The for-pay JBossCMP and Clustering documentation are up to dat

Re: [JBoss-user] JBossMQ questions

2002-06-14 Thread G.L. Grobe
> > Can someone explain this, or give an example? According to these JBoss > > docs (_http://www.jboss.org/online-manual/HTML/ch08s07.html_), it seems > > queues can be added on-the-fly, or programatically (it states) w/o > > needing to administer them. The reason I need this is I don't know the >

RE: [JBoss-user] Looking for free J2EE components

2002-06-14 Thread Jeff Schnitzer
> From: Tobias Frech [mailto:[EMAIL PROTECTED]] > > Turbine, Struts, cocoon, Torque, webmacro, freemarker, velocity, > fulcrum, jetspeed, castor, sitemesh, Commons, taglibs, ORO, regexp, POI, > log4j, lucene, slide, arch4j, Tapestry, xerces, xalan, Axis, FOP, Batik, > ECS, Jahia, webwork, oscache

Re: [JBoss-user] Delegating Jetty Authentication to JBoss

2002-06-14 Thread Emmanuel Charpentier
There seem to be two parts: - authentification, which you seem to already have configured ("client/auth.conf" for the client, "server/default/conf/login-config.xml" for the server). But do you actually call "loginContext.login()" from your client? - authorisation, which (in ou

[JBoss-user] security settings in 3.0

2002-06-14 Thread Beau Cronin
i'm having trouble setting up the security settings for a MySQL database in version 3.0. First question: Does it matter what the name of the security XML file is? Or does it just have to contain the correct format/doctype? If it DOES matter, what is the correct name? Second: When I deploy the

Re: [JBoss-user] 2.4.6 w/ 4.0.3 - Trying to find a workaround forcontext definiti on

2002-06-14 Thread Francisco Reverbel
Hi, If you specify the same port whenever you start the naming service (by passing '-p port' to ns, at the command line) then the NS_Ref files generated by every ns run will be all identical. So you can safely have in your war file a NS_Ref file generated by a previous ns run. This solution a

Re: [JBoss-user] Delegating Jetty Authentication to JBoss

2002-06-14 Thread Tom Mahaffey
I'm still having no success. Can someone tell me if I need a jboss-web.xml in my WAR/EAR? I see jboss-web.xml in the JBoss2.4x docs and the free docs, but see no mention in the JBoss-3.0.0 QuickStart guide. I just don't understand where the delegation of authentication from Jetty to JBoss is a

Re: [JBoss-user] How to get XA transactions with oracle datasource

2002-06-14 Thread Tim
ok, i shall try on monday i think someone else posted a message on this subject, but i have only seen one message - i only recently subscribed to the list hopefully forums will be up soon :) and it will be easier to communicate - Original Message - From: "David Jencks" <[EMAIL PROTECTED

Re: [JBoss-user] Tomcat/Jetty/JBoss Authentication through NT Domain

2002-06-14 Thread Sundaram Ramasamy
check out here:   http://sfg.sourceforge.net/ - Original Message - From: Michael Angelo Libio To: [EMAIL PROTECTED] Sent: Friday, June 14, 2002 1:04 PM Subject: [JBoss-user] Tomcat/Jetty/JBoss Authentication through NT Domain I was wondering if anyone ha

Re: [JBoss-user] xml config files in 3.0.0

2002-06-14 Thread Tom Mahaffey
Using JBoss's Hypersonic config as an example, I've been putting my other DB configs in the deploy directory. -mahaffey --- Beau Cronin <[EMAIL PROTECTED]> wrote: > Hi all. I have a question about where to put config > information in > 3.0.0. > > I have a MySQL database which I want to use as

Re: [JBoss-user] XDoclet: 1-n relationship definition

2002-06-14 Thread Tom Mahaffey
Are you calling client.getDomains() remotely? If so, the problem may be that CMP is for local interfaces only. Also, you have view-type="both" for the CMP methods...they should be view-type="local" Then you'll need to make sure that the getClient/setClient methods are setting/getting local inte

RE: [JBoss-user] What's better FREE BEER or JNDI?

2002-06-14 Thread Starsinic, Frank
Title: RE: [JBoss-user] What's better FREE BEER or JNDI? It seems like FREE BEER is better because I cannot for the life of me figure this out.  If you can help shed some light, i'd appreciate it. In JBoss, If i create an object and put it into JNDI like this, how do i lookup and get a refe

Re: [JBoss-user] xml config files in 3.0.0

2002-06-14 Thread Gary S. Cuozzo
I don't know if this is the right thing to do or not... But I deploy my datasource XML file (postgres) separately and before I deploy my application. I just copy the XML file right into the deploy directory and it works. Then, I just redeploy the application as-needed. gary. Beau Cronin w

Re: [JBoss-user] JBoss Documentation

2002-06-14 Thread Ryan Marsh
To my knowledge there isn't even "for-pay" 3.0 documentation much less free. I've been just winging it. -ryan On Fri, 2002-06-14 at 16:03, Patrick Munis wrote: > is the documentation based on Jboss 3.0 cause the website says it covers Jboss 2.4.5? > > >

[JBoss-user] xml config files in 3.0.0

2002-06-14 Thread Beau Cronin
Hi all. I have a question about where to put config information in 3.0.0. I have a MySQL database which I want to use as a datasource. I've used the mysql-service.xml example file as a template and modified it for my purposes. I assume that these settings should go somewhere in the same META-IN

[JBoss-user] XDoclet: 1-n relationship definition

2002-06-14 Thread Gary S. Cuozzo
Hey all, I'm trying to convert an existing application that I had written the "hard way" over to use XDoclet. I have two beans, Client and Domain, that I'm trying to relate. A Client can have many Domains. Seems like it should be straight forward but is throwing an exception (java.lang.refl

RE: [JBoss-user] XATxConnectionManager with Oracle?

2002-06-14 Thread Igor Fedorenko
Title: RE: [JBoss-user] XATxConnectionManager with Oracle? Attached, please fine a patch which fixes problems with Oracle XA driver I have described earlier and example configuration file. The patch is against JBoss_3_0_0 cvs tag (branch?). Hope this helps. PS: sorry for html posting -O

[JBoss-user] JBoss Documentation

2002-06-14 Thread Patrick Munis
is the documentation based on Jboss 3.0 cause the website says it covers Jboss 2.4.5? ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=o

Re: [JBoss-user] How to get XA transactions with oracle datasource

2002-06-14 Thread David Jencks
I've been asking for months for someone with Oracle to please contribute an xa configuration, with so far no takers. david jencks On 2002.06.14 14:45:40 -0400 Tim wrote: > The oracle-service.xml in cvs seems to be using local transactions. (??) > > Does anyone know how to configure it to use xa

RE: [JBoss-user] XATxConnectionManager with Oracle?

2002-06-14 Thread Igor Fedorenko
Title: RE: [JBoss-user] XATxConnectionManager with Oracle? Thanks for a helpful hint, David. As you correctly guessed my test ssb was leaking sql connections. I'll post my patch and config files here shortly. > -Original Message- > From: David Jencks [mailto:[EMAIL PROTECTED]] > Sent:

[JBoss-user] problems running interest client with new Jboss 3.0

2002-06-14 Thread ytse
Hi all, I'm having some problems running the interest client with the new jboss 3.0. If I run it with jboss 3.0 RC2, it runs fine . Here's the output from the console : ant intro-interest-client Buildfile: build.xml validate-servlet: validate-jboss: fail_if_not_valid: init: [echo] Using

[JBoss-user] 2.4.6 w/ 4.0.3 - Trying to find a workaround for context definition

2002-06-14 Thread Duarte Nuno Loreto
Hello! We started developing an application in JBoss2.4.4 w/ Tomcat 3.2.3. We have a file (NS_Ref from the JacORB implementation) that we used to put on the JBoss-2.4.4_Tomcat-3.2.3/tomcat/webapps/ROOT so that it would be available to remote clients. When we moved to 2.4.6 w/ 4.0.3, we s

Re: [JBoss-user] NullPointerException while trying to obtain JMS

2002-06-14 Thread Slava Voronin
I run sucsessfully example under JbossBook-2.4.x in chap4 with messages. I use lookup("TopicConnectionFactory") for this version. The same example work for jboss3 if changed lookup("TopicConnectionFactory") to lookup("ConnectionFactory"). I bought this documents for $10. Demyanovich, Craig - Ap

Re: [JBoss-user] JBoss Has Many Open Files

2002-06-14 Thread Stephen Davidson
Greetings. In Linux, each Java Thread needs a file descriptor While you are tuning, watch out for thread and process counts as well. What normally happens is that each Java thread takes a Linux process, and each linux process needs a File Descriptor. Linux defaults are 64Threads/process

Re: [JBoss-user] XATxConnectionManager with Oracle?

2002-06-14 Thread Radu Mateescu
This may be a little out of the topic, but I thought it won't hurt to have a look too: In my attempts to write a resource adapter I've noticed a strange behaviour (I also posted some messages on this forum about it): When the getConnection is called for the first time, everything works fine. For s

Re: [JBoss-user] JBoss client jar files size

2002-06-14 Thread Chris Chen
actually, java webstart will not solve his problems with using JBoss on the client side. There are problems with webstart working with JAAS as of right now due to some classloading issues. From what I hear, JDK 1.4 already has webstart as part of the package and the webstart version that com

Re: [JBoss-user] CMR

2002-06-14 Thread Julien Viet
I understand why Dain, it is because the EntityCreation interceptor invokes the ejbPostCreate() as any other business methods of the bean by making a new Invocation in the interceptors chains. - Original Message - From: "Dain Sundstrom" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: F

[JBoss-user] How to get XA transactions with oracle datasource

2002-06-14 Thread Tim
The oracle-service.xml in cvs seems to be using local transactions. (??)   Does anyone know how to configure it to use xa transactions?   I need this to get my data access from inside MDBs working.   I've looked at the volunteer docs, but they seem to be referring to 2.4.x on this.   Thanks.

Re: [JBoss-user] Doesn't anyone have this problem?

2002-06-14 Thread danch
You really shouldn't need to call configure - the JBoss startup does. Mitchell Kim wrote: > Not calling "DomConfigurator.configure()"? That certainly a viable thing to > try. ___ Don't miss the 2002 Sprint PCS Application Developer

Re: [JBoss-user] possible to use COUNT in ejbql / jbossql / declared sql ?

2002-06-14 Thread Dain Sundstrom
There was a guy working on this on the side, but I think he got to busy with work. Yes it is possible, and not to difficult. It involves a quick patch to the grammar, and a rewrite of the results handling code, which needs one anyway. The results handling code was designed to be simple and t

Re: [JBoss-user] Using auto increment of mysql for PK

2002-06-14 Thread Dain Sundstrom
Simon Stewart wrote: > On Sat, Jun 08, 2002 at 09:15:50AM -0500, Dain Sundstrom wrote: > >>That won't work with CMP. It does work with BMP if you are going that >>route. Unknown primary keys are are at the top of the new features >>list, so it will be at least a month. >> > > Is this going

Re: [JBoss-user] JBossMQ questions

2002-06-14 Thread danch
Gary Grobe wrote: > Can someone explain this, or give an example? According to these JBoss > docs (_http://www.jboss.org/online-manual/HTML/ch08s07.html_), it seems > queues can be added on-the-fly, or programatically (it states) w/o > needing to administer them. The reason I need this is I do

Re: [JBoss-user] CMP Bug: Bad SQL for FK field

2002-06-14 Thread Dain Sundstrom
Jonathan.O'[EMAIL PROTECTED] wrote: > > Dain, > Thanks for the reply. I'm beginning to see why this is hard to do, and > why we let CMP containers do the hard work! :) > Our wish list for CMP reads: > 1. Support doing INSERT after ejbPostCreate instead of ejbCreate. > 2. Allow non-null for

Re: AW: [JBoss-user] CMP/CMR Example of 1:n or n:m relation for JBoss 3.0.0/PostgreSQL7.2

2002-06-14 Thread Dain Sundstrom
Dr. D. Sturzebecher wrote: > OK, got it. The n to m works. The other error was simple (that was why it > took that long to find). I was lead to believe that the CMR field needs to > be declared in the entity section in ejb-jar.xml as well as cmp field. this > does not result in any error, except

Re: [JBoss-user] Need examples of working 1-to-N CMR under JBoss 3.0.0

2002-06-14 Thread Dain Sundstrom
The documentation available for $10 at flash line includes a full source example. If you don't want to pop for the 10 bucks, search the mailing list archives for an example (several were posted). -dain Patrice Cousineau wrote: > Hi all, > > I would greatly appreciate any working examples th

Re: [JBoss-user] CMR

2002-06-14 Thread Dain Sundstrom
Julien, You are right; this is the same problem. The problem you were having, could happen in any business method. -dain Julien Viet wrote: > I have had a similar problem but it was in an ejbPostCreate method. I fixed > it yesterday > and cvs has been updated in head and jboss3.0.0. > > The

Re: [JBoss-user] XATxConnectionManager with Oracle?

2002-06-14 Thread David Jencks
Thanks for your work on this. Please post the results when you are satisfied. IMO the entire xa wrapper needs replacing which I unfortunately won't have time for soon. I'm not sure if associateConnection can be implemented easily. You can avoid it being called if you always close connection han

[JBoss-user] JBoss and Jetty Configuration

2002-06-14 Thread bryan hansen
I had a basic servlet that was deploying just fine on Tomcat and JBoss 2.4.4. I tried to deploy the app on Jetty and JBoss 3.0.0 and it deploys fine, but I am unable to find where the page was deployed to. Is there a different url pattern for Jetty? I don't even get a splash page to come up for th

[JBoss-user] forums

2002-06-14 Thread Gary Grobe
Any idea when they'll be back up? ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___

RE: [JBoss-user] XATxConnectionManager with Oracle?

2002-06-14 Thread Igor Fedorenko
Title: RE: [JBoss-user] XATxConnectionManager with Oracle? I spent last two days trying to make this work and it looks like there are number of issues with both oracle xa datasource and jboss itself. I am getting close to have this configuration work (it's oracle 8.1.7.3 in my case but this sh

RE: [JBoss-user] How to Look up a remote Object via JNDI

2002-06-14 Thread Starsinic, Frank
Title: RE: [JBoss-user] How to Look up a remote Object via JNDI In JBoss, If i create an object and put it into JNDI like this, how do i lookup and get a reference to that object from a remote machine.. Here's how i'm binding the object... ServiceSettings ss = new ServiceSettings(); ss.set

Re: [JBoss-user] Error with generated sql statements for cmp using cloudscape

2002-06-14 Thread Dain Sundstrom
Scheil, Sven wrote: > hello, > > i've tried to deploy an entity bean on jboss 3.0.0 that i've developed and > tested with the j2ee ri and cloudscape. > > cloudscape's table names are case sensitive. the sql statements generated > from the persistence manager of the j2ee ri are build with "" aro

[JBoss-user] Tomcat/Jetty/JBoss Authentication through NT Domain

2002-06-14 Thread Michael Angelo Libio
I was wondering if anyone has ever come up with or thought of a solution for an internal web application that authenticates the users against the NT Domain controller.  I’d like to use the built-in authentication mechanism provided by Tomcat of Jetty (via Realms), maybe even delegate it to

[JBoss-user] XATxConnectionManager with Oracle?

2002-06-14 Thread Geer, Benjamin
I'm trying to get XA transactions to work in JBoss 3.0.0 with Oracle 9i. I've tried the oracle-service.xml provided with JBoss in docs/examples/jca (which uses LocalTxConnectionManager), and it works fine. I modified it to make an oracle-xa-service.xml (attached), using XATxConnectionManager, an

[JBoss-user] Open Ports Question

2002-06-14 Thread Deepak Kumar
Hi All, I am running JBoss 2.4.6 bundled with Tomcat 4.0.3. Every once in a while, when JBoss/Tomcat is started, I get this as a result of nmap: [deepak@deepak: deepak] > nmap mephisto Starting nmap V. 2.54BETA31 ( www.insecure.org/nmap/ ) Warning: You are not root -- using TCP pingscan

Re: [JBoss-user] 3.0 a moving target?

2002-06-14 Thread David Jencks
docs/examples/jca or in cvs at connector/etc/example-config Also read the quickstart guide from sourceforge download page. david jencks On 2002.06.14 12:26:39 -0400 Eric Kaplan wrote: > jdbc access has changed from 3.0RC to 3.0? if so, where are the NEW > examples? > > and yes, i am on jdk1.4

[JBoss-user] xaRes not enlisted(JBoss3Final BUG or !BUG?)

2002-06-14 Thread Andrew
Hi, in my stateless session bean client invokes method1 that in turns invokes method2 of the same bean: int method1(){ ((Bean)ctx.getObject()).method2();//ctx is SessionContext object } trans-attributes: method1- Never method2- Required. method1 dosen't make use of any datasources but met

RE: [JBoss-user] JBoss Has Many Open Files

2002-06-14 Thread Lucas McGregor
We ran into a big problem with max number of open files. Remember, on UNIX, all network connections are counted as open files too. I run JBoss on a solaris box, so you can configure this in the /etc/system by adding the following lines: * THIS SETS THE MAX NUMBER OF OPEN FILES A PROCESS

Re: [JBoss-user] Problem binding on Name Server using RMI/IIOP

2002-06-14 Thread Francisco Reverbel
Hello Gerard, Right now I would suggest you to use JacORB at both sides, so we can weed out any chance of ORB interoperability problems. Please use at the client side the jacorb.jar file in the JBoss 3.0 distribution. >From the stack trace below (the second one) I see that you have already obt

RE: [JBoss-user] 3.0 a moving target?

2002-06-14 Thread Eric Kaplan
jdbc access has changed from 3.0RC to 3.0? if so, where are the NEW examples? and yes, i am on jdk1.4. any news about this bug getting fixed? regards eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Burkhard Vogel Sent: Friday, June 14, 2002 12:0

Re: [JBoss-user] Delegating Jetty Authentication to JBoss

2002-06-14 Thread Tom Mahaffey
Thanks Jules...that at least narrows me down. Here's what I've done so far: In JBoss: 1) Added an application-policy element to login-conf.xml to use UsersRolesLoginModule 2) Added a users.properties and roles.properties in server//conf In my webapp: 1) Altered WEB-INF/web.xml t

[JBoss-user] security-domain make jboss loop.

2002-06-14 Thread Dag Kilskar Naess
Hi all! JBoss doesn't agree with me today, and I have (temporarly) run out of ideas on how to persuade it ro see thiings my way. Can you help me? This is the problem: > Since data to authenticate users lies within 2 entity CMP beans. I have > subclassed the org.jboss.security.auth.spi.Username

Re: [JBoss-user] JBoss Has Many Open Files

2002-06-14 Thread Gunaseelan Nagarajan
the maximum number of files can be increased by giving echo "number" > /proc/sys/fs/file-max ex, echo "65535" > /proc/sys/fs/file-max. The changes will be lost when the system is rebooted, so it can be done at boot time using a script. The performance however degrades when too many files are o

Re: [JBoss-user] possible to use COUNT in ejbql / jbossql /declared sql ?

2002-06-14 Thread Marcus Ahnve
MVCSoft, http://www.mvcsoft.com, supports as an extension to EJBQL. /Marcus On Fri, 2002-06-14 at 17:24, Marius Kotsbak wrote: > Is it possible to get the COUNT-functionality in CMP 2.0? I don't think > EJB-QL suppports it, and JBossQL complains when including it. I couldn't > find a way to sp

Re: [JBoss-user] 3.0 a moving target?

2002-06-14 Thread Burkhard Vogel
Hi, JDBC-access has changed, see the provided examples. As for "portableremoteobject.narrow": if you are on JDK 1.4, this is a known sun bug. Regards, Burkhard - Original Message - From: "Eric Kaplan" <[EMAIL PROTECTED]> To: "Jboss-User" <[EMAIL PROTECTED]> Sent: Friday, June 14, 2002 10:2

[JBoss-user] JBossMQ questions

2002-06-14 Thread Gary Grobe
Can someone explain this, or give an example? According to these JBoss docs (http://www.jboss.org/online-manual/HTML/ch08s07.html), it seems queues can be added on-the-fly, or programatically (it states) w/o needing to administer them. The reason I need this is I don't know the names of my queues o

Re: [JBoss-user] JBoss Has Many Open Files

2002-06-14 Thread Hunter Hillegas
Just FYI, in case someone else runs into this... The default open file limit for Red Hat 7.2 is 8192 files. We doubled it and have been watching our system to see if we were just hitting a resource limit. It doesn't look like JBoss is leaking file descriptors... But if we suspect that I'll file

[JBoss-user] LdapAuthentication changed?

2002-06-14 Thread aralos
After migrating to jboss 3.0 (2.3.4 before) I have strange problems with LdapLoginModule: Before prompting a user for id and pwd - seems to be during JAAS initializing- there is an exception on console (see below). What kind of credentials should be given? My login-config.xml:

RE: [JBoss-user] yet another documentation request

2002-06-14 Thread Geer, Benjamin
> Have you taken a look at the QuickStart Guide from here? The Quick Start Guide for JBoss 3.0 is 100 pages. The Administration and Development book for JBoss 2.4.5 is 476 pages. Perhaps some of those 476 pages are still applicable to JBoss 3.0, but nothing seems to indicate whether this is the

[JBoss-user] JBossManagedConnectionPool throws ResourceException

2002-06-14 Thread Arjen Hup
Currently we are migrating our applications from JBoss-2.4.6 to 3.0. We have a problem with the new ConnectionPool wich shows the following error: Does anyone have an idea? Thanks in advance, Arjen [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] ResourceException returning Mana

RE: [JBoss-user] yet another documentation request

2002-06-14 Thread Eric Kaplan
Looks like that will do. Thank you Greg. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Greg Turner Sent: Friday, June 14, 2002 11:20 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] yet another documentation request Have you taken a look at the Qui

Re: [JBoss-user] JBoss3.0.0 final / tuned-updates

2002-06-14 Thread Dan Christopherson
I don't think that's a bug. The tuned-updates and the store are separate issues. Tuned updates sends a sql update query altering only the fields whose state has been altered. Modified Beans need to be stored right _before_ a findXXX is executed to guarantee consistent results. -danch Ionel Ga

Re: [JBoss-user] JBoss Has Many Open Files

2002-06-14 Thread Scott M Stark
Unpackaged deployments are not copied and there are no jars that would be kept open the the URLClassLoaders. You could also just crank up the open files limit. I don't know what the absolute upper bound on linux is. Scott Stark Chief Technology Officer JBoss Group, LLC xx

[JBoss-user] 3.0 a moving target?

2002-06-14 Thread Eric Kaplan
I was happily using jboss3.0.0RC1_tomcat-4.0.3. However, I stumbled across a problem with hot re-deploy in which it seemed that after i hot re-deployed by .ear i got a classcastexception on the server when trying to lookup a bean that had worked before. It was almost as if the jndi mapping for o

[JBoss-user] possible to use COUNT in ejbql / jbossql / declared sql ?

2002-06-14 Thread Marius Kotsbak
Is it possible to get the COUNT-functionality in CMP 2.0? I don't think EJB-QL suppports it, and JBossQL complains when including it. I couldn't find a way to specify it using declared sql either. I know it is possible to do it with a finder and .size on the collection returned, but I think this

Re: [JBoss-user] Looking for free J2EE components

2002-06-14 Thread Tobias Frech
Nicholas wrote: > > I could be wrong, but I do not think either Flux or > htmlKona are free. > > //Nicholas Your are perfectly right. I extracted these two names from an article and didn't check their licenses. Two less candidates ... :) Ciao, Tobias Turbine, Struts, cocoon, Torque, webmacro

RE: [JBoss-user] NullPointerException while trying to obtain JMS

2002-06-14 Thread Demyanovich, Craig - Apogent
> I had the same problem and when I changed > lookup("TopicConnectionFactory") to lookup("ConnectionFactory") > it worked for jboss3. Mark made the original post on my behalf, as my subscription request was taking quite some time. Now that I'm here, let me carry on the discussion. I neglected

[JBoss-user] Sending queue messages from SB (to MDB)

2002-06-14 Thread Jonas Bergqvist
Hi all!   I have the following problem:   I have successfully deployed a Message Driven Bean. I have a stand-alone java client which successfully sends a message to the queue and the MDB receives and processes this message.   But when I try to do the same thing with a Session Bean the mess

Re: [JBoss-user] yet another documentation request

2002-06-14 Thread Greg Turner
Have you taken a look at the QuickStart Guide from here? http://sourceforge.net/project/showfiles.php?group_id=22866 Eric Kaplan wrote: > Where can I go to find a complete up to date reference on jboss 3.0 > configuration? I'd pay a lot more than the $10 you guys are asking for the > hardcopy

RE: [JBoss-user] RE: JBoss 3/Tomcat 4.0.3 IllegalAccessError

2002-06-14 Thread Jerry Smith
Ah-ha! It's the classloader that's killing me. Thanks for the info! -Original Message- From: Adrian Brock [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 5:56 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] RE: JBoss 3/Tomcat 4.0.3 IllegalAccessError Hi, StandardSession i

[JBoss-user] yet another documentation request

2002-06-14 Thread Eric Kaplan
Where can I go to find a complete up to date reference on jboss 3.0 configuration? I'd pay a lot more than the $10 you guys are asking for the hardcopy documentation, which at this point is out of date wrt 3.0. Thanks Eric Kaplan Armanta, Inc. 55 Madison Ave. Morristown, NJ 07960 Phone: (973)

AW: AW: [JBoss-user] axis on jboss-3.0.0_tomcat-4.0.3

2002-06-14 Thread Jung , Dr. Christoph
Bruce, web services are in jboss.net not deployed as .war files (that is what the webcontainer is reponsible for), but as .wsr files containing the axis deployment descriptor and additional serialization code. I have not yet looked at how to get the *.jws files deployed this way, but I guess tha

Re: [JBoss-user] Looking for free J2EE components

2002-06-14 Thread Nicholas
I could be wrong, but I do not think either Flux or htmlKona are free. //Nicholas --- Tobias Frech <[EMAIL PROTECTED]> wrote: > Hi folks! > I am looking for further suggestions which > components should be covered > by a survey I am going to write. > The components should be free and help J2EE

[JBoss-user] Looking for free J2EE components

2002-06-14 Thread Tobias Frech
Hi folks! I am looking for further suggestions which components should be covered by a survey I am going to write. The components should be free and help J2EE developers to more efficiently develop J2EE based applications. I am not talking about development tools (like JBuilder or xdoclet), but ab

[JBoss-user] Need examples of working 1-to-N CMR under JBoss 3.0.0

2002-06-14 Thread Patrice Cousineau
Hi all, I would greatly appreciate any working examples that you may have of a 1-to-N relationship between 2 entity beans Running on Jboss 3.0.0. I'm using MySQL as my database, but a working example using any RDBMS will be more than welcome. I'm pretty sure that my Java code is correct, but m

Re: [JBoss-user] Cannot fiond security-domain

2002-06-14 Thread Marcus Ahnve
OK, this has been sort of a monologue, but I finally solved it. java:/jaas/whatever-realm does not work, it needs to be: java:/jaas/whatever-realm but you guys probably already knew that ;-). /Marcus On Fri, 2002-06-14 at 14:25, Marcus Ahnve wrote: > Forget that last message, the erro

Re: [JBoss-user] Delegating Jetty Authentication to JBoss

2002-06-14 Thread Jules Gosnell
Tom, JBossUserRealm is the bridge between Jetty and JBossSX. If you are running JBoss/Jetty, you are already using it. To control the backend security stuff, it's now a matter of configuring JBossSX, not Jetty. There should be something in the free doc - it's not my bag ! Jules Tom Maha

Re: [JBoss-user] JBoss client jar files size

2002-06-14 Thread Marius Kotsbak
You could also try to move all possible code to beans on the server side, just presentation logic left on the client (this should be done anyway). On Fri, 2002-06-14 at 16:06, Greg Turner wrote: > One solutions would be to rearchitect your app so that all the parts are MBeans. >Then > package u

Re: [JBoss-user] Problem binding on Name Server using RMI/IIOP

2002-06-14 Thread Gerard BUNEL
Hello Francisco, I've tried hard to find where was my problem but still not found any solution. I've tested many configurations: using jacorb or not on client side, using a simple COSNaming without JBoss to try to isolate the problem. And that's the point I am: Below is the stack trace from JacO

Re: [JBoss-user] Shorten server boot time

2002-06-14 Thread Greg Turner
[EMAIL PROTECTED] wrote: > Hi Greg, > > please send again your jboss-service.xml > - I just joined this list. > > Thanx, Aralos > > > > > Doh.. Good Idea !! > > > > In true_minimal/lib, put log4j.jar, > > jnpserver.jar,jnet.jar,jmxtools.jar,jmxri.jar,jboss.jar > > > > In true_minimal/deploy put

Re: [JBoss-user] JBoss client jar files size

2002-06-14 Thread Greg Turner
One solutions would be to rearchitect your app so that all the parts are MBeans. Then package up all the parts as sar files. You could then install a minimal version of JBoss on clients' machines and configured to deploy from a central server. Then the client machines only have to start JBoss

RE: [JBoss-user] Shorten server boot time

2002-06-14 Thread aralos
Hi Greg, please send again your jboss-service.xml - I just joined this list. Thanx, Aralos > > Doh.. Good Idea !! > > In true_minimal/lib, put log4j.jar, > jnpserver.jar,jnet.jar,jmxtools.jar,jmxri.jar,jboss.jar > > In true_minimal/deploy put jmx-html-adaptor.sar > > In true_minimal/conf pu

Re: AW: [JBoss-user] axis on jboss-3.0.0_tomcat-4.0.3

2002-06-14 Thread Bruce Scharlau
Christoph, more about the setup (which I thought I'd put in, but guess I didn't, sorry about that): jboss-catalina/server/default/lib axis.jar, commons-logging.jar, jaxp.jar, jaxrpc.jar, log4j.jar, xerces.jar, wsdl4j.jar, tt-bytecode.jar (ie the ones that come with apache-axis, plus the other

  1   2   >