Re: [JBoss-user] 3.0 running on linux

2002-07-03 Thread awc
I had the same problem with IBM JDK. Try JDK from jrockit.com. .anil Alex Loubyansky wrote: > Hi guys, > > I am linux newbie. I can't run jboss on RedHat7.2. Probably, I'm > missing something obvious, but not for me :) > > So, RedHat 7.2, JBoss-3.0/Jetty, IBMJava2-131. I am trying to run it > a

Re: [JBoss-user] Re: JBoss 2.2.2 - Linux kernel 2.4

2001-07-03 Thread awc
I am running sun JDK-1.3.0 and 1.3.1-rc1-b21 on RedHat 6.2/libc-.2.1.3 with Jboss-2.2.2-Tomcat-3.2.2. I ran Jboss-2.4 too. anil Devraj Mukherjee wrote: > I use the same, under Solaris and Windows. I have not tried Linux as yet. > > I will today and let you know. > > Devraj > > At 11:59 3/07/01

Re: [JBoss-user] JAAS Security question - Getting pricipaldata...

2001-07-02 Thread awc
I am sorry, I was not very clear. OK. I do not know about jetty. I will be tomcat specific. first you have to force your servlet engine to authticate your window/browser, that will force you to enter username and password. After that, it will save j_username and j_password and link you have requ

[JBoss-user] xxx is NOT authorized, requiredRoles=[xxx]

2001-07-02 Thread awc
I run Jboss-2.2.2-Tomcat-3.2.2 combo. I do have user(saman) set up to access certain methods and beans. Still I get lots of these lines. [EmbeddedTomcatSX] User: johnH is authenticated [EmbeddedTomcatSX] User: johnH is authorized [EmbeddedTomcatSX] User: johnH is NOT authorized, requiredRoles=[ad

Re: [JBoss-user] JAAS Security question - Getting pricipaldata...

2001-07-01 Thread awc
According to servlet spec 2.2. The username is j_username and password is j_password. On tomcat this saved to user session with same name. I guess jetty does the same thing, I do not know. I have not used jetty. On log out you can do like response.sendError(401,"blabla"). That should redirect to l

Re: [JBoss-user] ONLINE FORUM AVAILABLE

2001-06-27 Thread awc
Yes, on ours, it is set up as http traffic goes out only on the port 80 and 443, every thing else is dropped to the floor. anil marc fleury wrote: > how can your firewall filter out a port on my machine... > > will your firewall only allow outgoing traffic that goes to port 80 on a > distant m

[JBoss-user] JAAS Security

2001-06-26 Thread awc
Hi, Is there anyway to set up a anonymous user with JAAS login and change the principal to some other user like shipper. thank you. anil ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] problems with server with 2 network cards

2001-06-22 Thread awc
I think there is a problem with your NAT (network address translation). The 192.168.0.100 - what is it translated to (the public IP)? Which ports have you open/close from inside/outside? Are you running tomcat/apache in front of JBoss? You can run a tcpdump and see what is going on. and finally,

Re: [JBoss-user] Work it! work it!

2001-06-15 Thread awc
Hi Marc, are you guys going to have any seminars in Canada?? anil marc fleury wrote: > - Worldwide talent at the head (pat on our common backs) > - Freeze JBoss2.4 called by Scott > - JBoss3.0 in the wings > - Books being published on JMX and JBOSS ___

Re: [JBoss-user] Re: [JBoss-dev] Serious Bug? EntityBean out of synch with database.

2001-06-07 Thread awc
this, I guess one of the developers can give you more insight into this. .anil Actually, the bean set its variable to default values when it activates. ( deserialize) That what the book Enterprise Java Beans by Richard Monson-Haefel says. Georg Rehfeld wrote: > Hi awc (?), > > >

Re: [JBoss-user] Re: [JBoss-dev] Serious Bug? EntityBean out of synch with database.

2001-06-06 Thread awc
May be this is your problem. I had dataHolder bulk accessor object that move out data in one shot. If you do have one like that, set it to null in ejbPassivate(). Otherwise if you call entity bean 1,2,3 and recall 3,2,1 you will get the correct results. If you recall 2,1,3 you will get 3,2,1.

Re: [JBoss-user] Getting WRONG data from CMP !!!

2001-05-31 Thread awc
If I see this right you use form object to transfer the data to bean. On your entity you have variable called form.. try: public void ejbPassivate() { form = null; } anil "Andre Vermeulen@i-Commerce" wrote: > Hi there > > I am getting a real funny error when using JBoss 2.1.1 toge

[JBoss-user] Lots of Entity Beans with one Session bean

2001-05-21 Thread awc
Hello, I hope to wrap entity bean with session bean. I do have entity bean candidates that have same table structure like id,name,remarks. So on my entities only thing that will change is sql statements in ejb methods. On my session bean, I can cache the entity Beans Home PulpProductionMachineT

Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-18 Thread awc
OK, so this pipes into to what ever you have set up. Tks for the clarification. anil. Dain Sundstrom wrote: > Anil, > > No, the code I posted simply hands login off to JAAS. You can use the > JaasServerLoginModule, the DatabaseServerLoginModule, or any other login > module (I wrote my own). B

Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-18 Thread awc
Dain, don't you have to add this to auth.conf (if you use PostgreSQL) org.jboss.security.plugins.samples.DatabaseServerLoginModule required dsJndiName="java:/jdbc/PostgresDB" principalsQuery="select password from principals where principalid=?" rolesQuery="select role, rolegroup from roles wher

[JBoss-user] Example of Session bean running as a Singleton

2001-05-17 Thread awc
Hi All, any one has a example of running session bean as a singleton? thanks anil ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] MVCSoft Persistant Manager relationship problem

2001-05-15 Thread awc
Jim Archer wrote: > This is a known problem with the MVC Soft PM. Add this to your descriptor > for beans that access EBs: > > > >jdbc/PersistenceDS >javax.sql.DataSource >Container > > > Also, don't hesttate to participate in the mail list for MVC Soft. There is > lots of great

Re: [JBoss-user] Weird error in jboss2.1.1

2001-05-10 Thread awc
Russell, If your second time is a 5 minutes apart from first time. I guess your value Object retains some thing after it passivated. try this on ejbPassivate() { ProjectInfoJB = null; } anil Russell wrote: > Hi all , I am using RedHat6.1 , jdk1.3 and jboss2.1 . > > I have an entity

Re: [JBoss-user] Getting wrong DataSource via JNDI

2001-05-09 Thread awc
Hi Jonathan, How about add this to jboss.xml. Replace with you parameters. PostgreSQL java:/jdbc/PostgresDB anil "Jonathan C. Keatley" wrote: > I've set up jBoss 2.2.1, and have installed the Oracle > 8.1.6 thin driver and one Minerva pool of Or

Re: [JBoss-user] +Apache +Tomcat +JBoss +MySQL +Linux

2001-05-09 Thread awc
Hi Andrei, I am not an expert on this. I have set up Postgresql+JBoss+Tomcat with security on linux. I guess you have to give more information on this and where you have been stuck. anil Andrei wrote: > I have recently got this setup: +Apache +Tomcat +JBoss +MySQL +Linux > and I want to know h

Re: [JBoss-user] Postgresql data source null pointer exception

2001-05-08 Thread awc
I guess this is postgresql thing. You can set up pg_hba.conf to trust all connections coming from localhost. anil Toby Allsopp wrote: > On Tue, May 08, 2001 at 06:18:58PM -0700, Matt Demanett wrote: > > > > I had the same problem; it went away when I put in a password (fake) > > in the passwor

[JBoss-user] Jboss+Tomcat+JAAS

2001-05-07 Thread awc
Hi All, I got jboss+jass to work. Standalone client can login and invoke the ejb home + remote methods. Tomcat realm works too. But I cannot get tomcat + jboss to work. I do have few questions. do I have implement AppCallBackHandler+ LoginContext on each servlet?? or jboss takes care of it? th

[JBoss-user] Re: JAAS Tutorial - sucess

2001-05-07 Thread awc
Hi, I had hard time setting up this on jboss-2.2. It was that in $JBOSS_HOME/conf/tomcat/jboss.properties file, you have to setup java.security.auth.login.config=file:/usr/... absolute path. relative path does not work. If you set up relative path, I am getting message saying cannot find file

Re: [JBoss-user] JAAS Tutorial

2001-05-05 Thread awc
Hi, I am tried steps on the email, but I am getting exception like below. any help on this will be a life saver. [CustomerHelper] java.lang.NullPointerException [CustomerHelper] at org.jboss.security.plugins.samples.JaasServerLoginModule.LoadProperties(JaasServerLoginModule.java:182) [Customer

[JBoss-user] org.jboss.security.auth.spi.DatabaseServerLoginModule

2001-05-04 Thread awc
Hi, How do you switch on org.jboss.security.auth.spi.DatabaseServerLoginModule?? Does thsi work on jboss-2.2.1+tomcat binary version -April 19th. Thanks for any info. anil ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/l

Re: [JBoss-user] IDE and testing utilities

2001-05-04 Thread awc
EJBDoclet julien piaser wrote: > I am looking for several FREE EJB development utilities. Can anyone > tell me which are the tools most used with JBoss to create all the > Home, Object, Key and Bean classes. The only FREE tool I found is EJX, > but it can only generate part of the xml files. >

[JBoss-user] FindByXXX

2001-05-02 Thread awc
Hi, I have BMP that has find methods as shown below. This is unique number and it is not my primary key. Say I made search on 'Trade', 'AWCL', 'MAC'. Ok, I get the right results. I wait till bean overage period. No matter what I try to search on, I get last search bean first and one before last

Re: [JBoss-user] how can i scope the transaction in a BMP? when does it commit?

2001-04-15 Thread awc
I had the same problem. When I change transaction to Required, it worked. anil ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] findAll method did not order

2001-04-15 Thread awc
Hi Russel findBigClasses studentCount {0} and teacherName = {1} studentCount DESC This example from JBoss docs. I hope this will do it. anil Russell wrote: > Hi awc , > > The documents did not stated anything how to order the result returned > from findAll metho

Re: [JBoss-user] ?????!!!!

2001-04-12 Thread awc
Hi, I have a web application (with JServ+Apache+postgresql) written for few newspapers for their distribution, subscription, commercial advertising, article tracking etc and production scheduling system. I am in process of porting it to a JBoss + tomcat+postgresql. With JBoss I hope I can integr

Re: [JBoss-user] findAll method did not order

2001-04-12 Thread awc
Hi Russell, try http://www.jboss.org/documentation/HTML/ch05s05.html you will see the full story. anil Russell wrote: > > > Hi all , > >I am using RedHat6.1 , postgresql7.0.1 , jboss2.1 and jdk1.3. >I have created a findAll method however the result returned are not > ordered. ___

Re: [JBoss-user] CMP Postgres and Booleans

2001-04-11 Thread awc
Hi Rajeev, this is my startup script. You add -d {number} depending on the debug level you want. hope this helps. anil Rajeev Bacchu wrote: > Hi anil, > > Thank u ver much, let me sit down right now & follow what u have said, & > just one more thing, can u tell me how to start postgre

Re: [JBoss-user] EJBExcepion

2001-04-10 Thread awc
Hi danch, thanks for the clarification. anil danch wrote: > JBoss does overlog exceptions a bit (sometime I prefer that). What > you're seeing in the log is normal. > > -danch > > awc wrote: > > > Hi All, > > > > I do have entity bean that thows EJB

Re: [JBoss-user] CMP Postgres and Booleans

2001-04-10 Thread awc
Hi, Here we go Rajeev, with top half of the jboss.jcml. Make sure you started postgres with -i option on. Check your pg_hba.conf is right. and postgresql.jar in $JBOSS_HOME/lib/ext . jboss will hang if it cannot find postgresql.jar. anil 8083 1098

[JBoss-user] EJBExcepion

2001-04-10 Thread awc
Hi All, I do have entity bean that thows EJBException if the variable called version(integer) does not match the version from a dataHolder(bulk accessor). It works right, but since it is thrown from bean, does it have to throw all these exceptions with it?? [ejb/Customer] version exception <==

Re: [JBoss-user] CMP Postgres and Booleans

2001-04-10 Thread awc
Which version of jboss?? Rajeev Bacchu wrote: > Hi, > > This is a small request for help, I am not able to configure a connection > pool for Postgresql database, ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lis

[JBoss-user] dirty

2001-04-09 Thread awc
Hi, How does the dirty flag on jboss entity bean work? Whenever container sees that flag is false, the container sync its fileds with database? thanks a lot in advace for the answers. anil ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.s

Re: [JBoss-user] newbie: Permission denied on run.sh

2001-04-08 Thread awc
Open run.sh on vi editor. type -:%s{control-v}{enter}(you will see ^M)//g(enter) then :wq to save and quit. This will clean up all the ^M. then -> sh run.sh will work. anil Steven Wisener wrote: > > Hi, im a newbie to jboss, i downloaded it and tried running it with > java -jar run.jar but

Re: [JBoss-user] Gosh, this is slow !

2001-04-05 Thread awc
OK. since customer list is read only/supporting object, why not get that directly from a session bean. like public Vector getCustomer(); // has all the sql in it to create the list. which holds id,name value pair. And use entity bean to insert,delete,update and select current customer you ar

Re: [JBoss-user] Jakarta Struts with JBoss 2.1

2001-04-01 Thread awc
Hi Keith, I got this to work on linux with jboss-2.1 with embedded tomcat and struts nightly build. If you copy struts.jar to tomcat/lib, please remove it. To make struts-example to work, all you have to do it to copy struts-example.war to webapps folder. anil > I'm getting the often reported