[JBoss-user] [Security & JAAS/JBoss] - Re: request.getUserInRole returns null

2004-02-28 Thread [EMAIL PROTECTED]
anonymous wrote : If I put it to a "sec/*" url-pattern, only under this dir returns the getUserPrincipal() or the getUserInRole(), but upper pages from this dir cannot see my logged in context. I don't know why is that?? | If you're trying to access the security context from an unprotected p

[JBoss-user] [Datasource Configuration] - Question about postgresql datasource

2004-02-28 Thread csp
I'm trying to setup JBoss (4.0DR3) to use Postgresql (7.4) datasource on Linux (Debian with kernel 2.4.22). Have no problem accessing PG with JDBC, and just couldn't get JBoss to use the datasource properly. Ok, here's what I did. Copy postgresql-jdbc3.jar into the directory $JBOSS_HOME/serve

[JBoss-user] [Performance Tuning] - Re: Monitor EJB's and sizes so I can Tune them or find probl

2004-02-28 Thread [EMAIL PROTECTED]
There's no way to measure memory usage of an object instance in pure Java runtime. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823440#3823440 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823440 -

[JBoss-user] [Beginners Corner] - Re: Using Torque and JBoss

2004-02-28 Thread [EMAIL PROTECTED]
Does Torque generate classes at runtime? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823439#3823439 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823439 --- SF.

[JBoss-user] [Installation & Configuration] - Re: Test Database

2004-02-28 Thread [EMAIL PROTECTED]
Or provide duplicate deployment descriptors and repackage between the runs with an ant script. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823438#3823438 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823438

[JBoss-user] [Installation & Configuration] - Re: Test Database

2004-02-28 Thread [EMAIL PROTECTED]
Distribute your JBoss installation with two separate datasource, then provide an ant script that modifies the deployment descriptors (change datasource in jbosscmp-jdbc.xml with XSL for example) between the test suite run and the application suite run. View the original post : http://www.jbos

[JBoss-user] [Installation & Configuration] - Re: JBoss JNDI Persistence

2004-02-28 Thread [EMAIL PROTECTED]
There's no persistence in the JBoss naming service implementation. Are you running a cluster or a single node JNDI? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823436#3823436 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=r

[JBoss-user] [Installation & Configuration] - Re: securing jboss installation

2004-02-28 Thread [EMAIL PROTECTED]
Securing Default JBoss Installation View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823435#3823435 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823435 --- SF.Net i

[JBoss-user] [Frequently Asked Questions (FAQ)] - Deploying on JBOSS in Linux....

2004-02-28 Thread Ezhil
Hello!!! I want to know how to deploy EJB in Jboss. I need some links which will give deployment detail on Jboss in linux. Please help. Thanks. Ezhil. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823434#3823434 Reply to the post : http://www.

[JBoss-user] [EJB/JBoss] - Re: Calling an ejb of remote server from another ejb

2004-02-28 Thread anamika
hi all, i got the solution, You can view it in the site http://jboss.sourceforge.net/doc-24/ch05s13.html You have to specify the full jndi name java:/com/env/ejb/BEjb while lookup Thank u - saritha View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823433#382

[JBoss-user] [Persistence & CMP/JBoss] - Container Managed Transaction Doesn't Rollback

2004-02-28 Thread jmejia424
I have a SessionBean and a method where I am removing a CMP. I don't know why it doesn't roll back. I have executed my code and the record is still getting deleted. Even when I print ejbContext.getRollbackOnly(); the result is true. Why won't it rollback the delete? Here is the method:

[JBoss-user] [Clustering/JBoss] - Re: JBoss -> jgroups problem

2004-02-28 Thread bela
Are you multihomed ? Then you need to set the bind_addr to a *valid* NIC. Note that on Solaris 8 for example, binding to 127.0.0.1 for multicast doesn't work (this was fixed on Solaris 9). 1. Check what address is printed for each member. 2. Verify that that name resolves to the same IP address

[JBoss-user] [Persistence & CMP/JBoss] - Re: Foreign Key within Composite Primary Key and CMR

2004-02-28 Thread loubyansky
that's correct. Except for exposing CMR setter (?) what do you mean? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823427#3823427 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823427

[JBoss-user] [Persistence & CMP/JBoss] - Re: Foreign Key within Composite Primary Key and CMR

2004-02-28 Thread mikea-xoba
i think i see the point --- CMP's must be set in the entity bean's ejbCreate method, which returns the primary key. and CMR's must be set in the beans ejbPostCreate method, which is called after creation. thus, the CMR fields formally can *not* be part of the primary key (correct me if i'm wron

[JBoss-user] [Persistence & CMP/JBoss] - Auto Increment primary key in postgresql: Functional exampl

2004-02-28 Thread admiyo
The following code works. It is the result of pulling together all the various references on how to get Auto increment and XDoclet working. Hope it helps. /* * This file is Copyright Adam Young. * Contact [EMAIL PROTECTED] */ package com.younglogic.eventful.ejb; import java.rmi.RemoteExcep

[JBoss-user] [Persistence & CMP/JBoss] - Re: Foreign Key within Composite Primary Key and CMR

2004-02-28 Thread loubyansky
"can a CMR field be part of a CMP primary key?" How do you imagine that? If you mean whether you can use the same columns for CMP fields and for foreign key fields the CMR is mapped to, then the answer is yes, you can. View the original post : http://www.jboss.org/index.html?module=bb&op=viewt

[JBoss-user] [Persistence & CMP/JBoss] - Re: Get an JBossTransactionRolledbackException ?

2004-02-28 Thread loubyansky
Yes, sorry. So, the problem is reading result set for field user. What is the Java type of user, what is the column type and what value does it fail to read? And what is the JBoss version? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823422#3823422 Reply to

[JBoss-user] [Persistence & CMP/JBoss] - Re: Foreign Key within Composite Primary Key and CMR

2004-02-28 Thread mikea-xoba
if i understand your discussion, i believe i may be having a similar problem which i'm trying to tackle at the moment, which is basically the question: "can a CMR field be part of a CMP primary key?" and if so, how does one do it? i'm also wondering if xdoclet would do it properly, if it's poss

[JBoss-user] [Persistence & CMP/JBoss] - Re: Get an JBossTransactionRolledbackException ?

2004-02-28 Thread aslani
no loubyansky, am accessing them through my session beans... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823420#3823420 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823420

[JBoss-user] UIL v OIL jboss 3.0.4

2004-02-28 Thread Eric J Kaplan
Question   Can someone tell me whether or not I should switch from OIL to UIL in version 3.0.4? We are suspicious that we are getting client disconnects because we are using OIL (message on app server) but aren’t sure. Upgrading right now is NOT an option. UIL2 isn’t available on 3.0.4.

[JBoss-user] [Security & JAAS/JBoss] - Re: Problems with FORM Authentication

2004-02-28 Thread Martin0
What are you trying to achieve here - not the work arounds etc, but your initial objective? I have form based auth working with DatabaseLoginServerModule, mainly thanks to the paper I mentioned about, that Scott wrote. Martin View the original post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [Security & JAAS/JBoss] - Re: Problems with FORM Authentication

2004-02-28 Thread Martin0
"about" should read "above" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823419#3823419 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823419 --- SF.Net is sponsor

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR with foreign key as part of primary key : OK with 3.

2004-02-28 Thread loubyansky
You will need to check it out from the CVS. Instructions can be found on sf.net/projects/jboss If can't do it, please, provide me with a testcase. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823413#3823413 Reply to the post : http://www.jboss.org/

[JBoss-user] [Installation & Configuration] - multiple instances of jboss in the same machine

2004-02-28 Thread JbossUserR
I was able to start 2 instances of Jboss in the same machine with different IP addresses using "-h" switch to "run.bat". I got "receive timed out" from the application, so I added the properties to JNDI.properties to block the socket timeout under the server subdirectories of each instance. Now

[JBoss-user] [Beginners Corner] - Debugging output

2004-02-28 Thread JbossUserR
Here is some sample Debug output of server.log file, 2004-02-25 13:44:54,828 DEBUG [org.jboss.logging.Log4JService] 2004-02-25 13:44:54,828 DEBUG [org.jboss.logging.Log4JService] : : 2004-02-25 13:44:54,843 DEBUG [org.jboss.web.WebService] : : 2004-02-25 13:44:55,046 DEBUG [org.jboss.logging.Log4J

[JBoss-user] [Persistence & CMP/JBoss] - Re: Get an JBossTransactionRolledbackException ?

2004-02-28 Thread loubyansky
are you accessing local interfaces remotely? you can't access CMR fields remotely. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823410#3823410 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823410 --

[JBoss-user] [Persistence & CMP/JBoss] - Re: CASCADE DELETE

2004-02-28 Thread loubyansky
JBossCMP handles cascade delete itself (w/o cascade delete settings in the db). How do you configure it that is does not work? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823409#3823409 Reply to the post : http://www.jboss.org/index.html?module=bb&op=post

[JBoss-user] [Installation & Configuration] - Calling EJBs accross EARs with Loader Repositories

2004-02-28 Thread erikreut
Hiya Ran into a little snag I can't get out of... I'm trying to call EJB1 that's in EAR1 from EJB2 in EAR2. EAR1 and EAR2 both have their own Loader Repositories configured. Because of the separate repositories, the classes from EJB1 are not directly visible to EJB2, so I created an "EJB1 clie

[JBoss-user] [Persistence & CMP/JBoss] - Re: Does optimistic locking work with Blobs?

2004-02-28 Thread loubyansky
It works for me in 3.2.4RC1. I think, it should also work in 3.2.3. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823407#3823407 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823407 -

[JBoss-user] [Persistence & CMP/JBoss] - Get an JBossTransactionRolledbackException ?

2004-02-28 Thread aslani
After putting relations to my CMP entities I get this exception when I try to run my client. Can someone plz support me on this? org.jboss.tm.JBossTransactionRolledbackException: Internal error getting results for field member user; CausedByException is: | Unable to load to deserializ

[JBoss-user] [EJB/JBoss] - jboss-JNI memory leaks

2004-02-28 Thread johan31be
Hello, We use a jni library to use some program logic. The jni lib have several functions that send several data to java and vice versa. The strange thing is we have a memory leakn its seems that no data that is used in the lib is freeed. For every new in the c-code there is a delete. We have t

[JBoss-user] [Installation & Configuration] - securing jboss installation

2004-02-28 Thread dbronk
This may be a stupid question... I have installed 3.2.3. Now I want to make sure to protect it. For example, with WebLogic, I don't want everyone getting to the console where they can run wild. Are there any such things that I need to lock down with JBoss? If so, what and how? Thanks, Dale

[JBoss-user] [HTTPD, Servlets & JSP] - Stale Servlets Block Deployment

2004-02-28 Thread bwinspur
Hi, I've been having stale servlet problems, i.e. the war I deployed a couple of days ago executes and new deploys are ignored. Reboot JBoss did not fix it, re-installing JBoss did. The war was unpacked into jboss, .../tmp/deploy/ but its classes were not loaded. The startup console log has the

[JBoss-user] [Nukes User] - Re: poll module doesn't display the title

2004-02-28 Thread jae77
if you set a title for the poll when you created it, then it is potentially a bug. you can file a bug report for it on sourceforge, and/or attempt to fix it yourself and submit a patch. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823402#3823402 Reply to

[JBoss-user] [Datasource Configuration] - Exception accessing DataSource

2004-02-28 Thread [EMAIL PROTECTED]
I am facing an error I am trying to configure Microsoft Access as DataSource Therefore I copied msaccess-ds.xml to E:\jboss-3.2.3\server\default\deploy with some changes I have made a DSN named CSO which points to cso.mdb in my Windows 2000 System The Whole code is copied into I am new to JBos

[JBoss-user] connection to client id failed

2004-02-28 Thread Eric J Kaplan
Can someone tell me how the server determines that a client connection has failed? Can this happen if the client is bogged down heavily?   Eric J. Kaplan Armanta, Inc. 350 Mt. Kemble Ave. Morristown, NJ 07960  

[JBoss-user] [JBoss Getting Started Documentation] - Re: JBossJ2EE.pdf is aparently corrupted

2004-02-28 Thread [EMAIL PROTECTED]
"santoshsahu" wrote : tried to open it with AR 4.05 | You need to upgrade your reader, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823397#3823397 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823397 -

[JBoss-user] [Clustering/JBoss] - Re: JBoss -> jgroups problem

2004-02-28 Thread stefano_fornari
HI Bela, I removed bind_addr=127.0.0.1, but still the same behavior. Can I try anything else? Stefano View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823396#3823396 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823396

[JBoss-user] [Installation & Configuration] - Re: JBoss JNDI Persistence

2004-02-28 Thread benwalstrum
p.s. - before anyone asks, I have tried this on both JBoss 3.2.1 and 3.2.3. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823394#3823394 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823394

[JBoss-user] [Installation & Configuration] - JBoss JNDI Persistence

2004-02-28 Thread benwalstrum
We are trying to put some values into the JBoss global JNDI, which will make the values accessible across several apps that do not share codebases. Basically, we are storing the component version numbers as a String in the global JNDI. The idea is that we could do something like this: | Co

[JBoss-user] [Clustering/JBoss] - Re: JBoss -> jgroups problem

2004-02-28 Thread bela
Lose the bind_addr=127.0.0.1. I have some code that shows how to access the TreeCache MBean from servlets, I will post a document soon. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823392#3823392 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [EJB/JBoss] - Re: port 1099 problem !

2004-02-28 Thread glyn_walters
I had this problem today and thought I'd share my findings in case it helps anyone. There are a few service on W2K server that get a dynamically allocated port. If JBoss isn't already running then these will get allocated. I have had it most frequently with 1099 and 1098. This tool is an easy wa

[JBoss-user] [Installation & Configuration] - maximum threads -> howto display a errorpage

2004-02-28 Thread johan31be
Hello, Is there a possibilty to throw back a html error page or other page if we have reached the max thread value defined in the xml of tomcat? Johan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823389#3823389 Reply to the post : http://www.jboss.org/i

[JBoss-user] [Installation & Configuration] - maximum threads -> howto display a errorpage

2004-02-28 Thread johan31be
Hello, Is there a possibilty to throw back a html error page or other page if we have reached the max thread value defined in the xml of tomcat? Johan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823388#3823388 Reply to the post : http://www.jboss.org/i

[JBoss-user] [Clustering/JBoss] - JBoss -> jgroups problem

2004-02-28 Thread stefano_fornari
Hi All, I really hope somebody can give me an hint on this matter, because it is driving me crazy :-( I have to implement a simple distributed cache between multiple JBoss istances not necessarily clustered. I though to use JGroups 2.2, which I understand JBoss uses already for clustering. The

RE: [JBoss-user] Connection factories on 3.0.4

2004-02-28 Thread Eric J Kaplan
Why specifically? More robust I assume? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sacha Labourey Sent: Friday, February 27, 2004 3:08 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Connection factories on 3.0.4 You should use UIL2. Cheers, sa

[JBoss-user] [HTTPD, Servlets & JSP] - Multiple instances of servlet

2004-02-28 Thread shaman
Hi all A use JBoss 3.2.3(include Tomcat 4.1.29). By default Tomcat web container uses one instance of servlet per many requests. I can't use SingleThreadModel for my servlets because It does not approach for my problem. In Servlet Specification Version 2.4 I have found: SRV.2.2 ... For a servl

[JBoss-user] [Messaging, JMS & JBossMQ] - problem while starting jboss server when a JMS application i

2004-02-28 Thread chetana_vir
Hi, Can any body solve the problem i couldn't get it. I have no problem when testing in my local system but when i placed the application in the remote server it is giving the error. I have used the MBeans to continoulsy monitor the queue. I am using jboss server and i am getting the error whil

[JBoss-user] [Beginners Corner] - Re: How is runtime classpath set?

2004-02-28 Thread lpmon
classpath (one word) that is. Don't want anyone to miss it on a search. In most forums you can edit your own post. I do not see a way to do that here. I could have just fixed this instead of replying. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823382#3

[JBoss-user] [Beginners Corner] - I found it !!

2004-02-28 Thread Robert.Vogel
Founded it in Installation Forum: Checked out: JBOSS_HOME/server//deploy/jbossweb-tomcat.sar/jboss-service.xml I changed Port 8080 to 8085 and it worked for me. Robert View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823381#3823381 Reply to the post : http:

[JBoss-user] [Beginners Corner] - lomboz & xdoclet & jboss

2004-02-28 Thread ellandill
I've did some exercises from tutorial about lomboz & jboss got error Env: eclipse 3.0M7+lobmoz+xdoclet tags Error in jboss.xml for Bean StoreAccess: ejb-ref ejb/CustomerLocal found in jboss.xml but not in ejb-jar.xml ejb-jar.xml: StoreAccess com.store.session

[JBoss-user] [Datasource Configuration] - Oracle91 xaDatasource driver for 2pc

2004-02-28 Thread brickpaul
I'm using Jboss3.2.3, Oracle9i and JbuilderX Enterprise Hello all. Does anyone know what driver I should use for 2pc? I tried the config below and it doesn't work. I get no errors but when the insert is part of a UserTransaction it just doesn't commit with txn.commit() but I can do a select stat

[JBoss-user] [EJB/JBoss] - how can i get the dir where the war is deployed in java ?

2004-02-28 Thread johan31be
Hello, Ho can get the directory where the war files is deployed? Is there a java call for that? I needed because i must do some changed in that directory ath runtime thx Johan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823375#3823375 Reply to the post

[JBoss-user] [Performance Tuning] - Re: JBoss 3.2.3 is slow!!

2004-02-28 Thread remm
You need to post specific data on what you are testing. For JSPs, you need to either precompile them (and map them as servlets), or disable de development mode of Jasper. This makes a big difference. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823374#382337

[JBoss-user] [Beginners Corner] - Installation of 2 JBoss Server

2004-02-28 Thread Robert.Vogel
I installed 2 JBoss Server, one for running the Nuke Portal, one for development with eclipse. How can I manage the ports and access the different Server via localhost. Thanks in advance Robert View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823373#3823373

[JBoss-user] [Beginners Corner] - JCentric?

2004-02-28 Thread john
Hi Is anyone else on the list using JCentric hosting? Is there a forum for JCentric users that anyone knows about? If not, should we start one? Cheers J --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web s