RE: [JBoss-user] Ordering CMR results - best practice ?

2004-06-14 Thread Alexey Loubyansky
No, there is not. You should order them yourself. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Klaus Richarz > Sent: Monday, June 14, 2004 1:52 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Ordering CMR results - best practice ? > > Hel

[JBoss-user] [Persistence & CMP/JBoss] - Re: Deleting a row in cmr entity bean

2004-06-14 Thread akhilanand
hi cuoz, thanks for that, it worked and we have to embed that within try-catch block as it throws RemoveExcpetion. regards Akhil View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838665#3838665 Reply to the post : http://www.jboss.org/index.html?module=

[JBoss-user] [Persistence & CMP/JBoss] - Re: Bulk deletion of CMP Entity bean

2004-06-14 Thread loubyansky
Keep in mind that with SQL DELETE you could remove some instances that are enlisted in current transactions and these transactions will fail to commit. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838737#3838737 Reply to the post : http://www.jboss.org/ind

[JBoss-user] [Persistence & CMP/JBoss] - Re: Method is not a known CMP field accessor, CMR field acce

2004-06-14 Thread vasudevk
JBoss 3.2.3 - Updated my system with 3.2.4 - will try. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838736#3838736 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838736 --

[JBoss-user] [EJB/JBoss] - Re: ejb not bound

2004-06-14 Thread manishpathak25
Turned out to be a bright beginning of the day! Searched this forum on 'HelloServer' and saw a post suggesting to try ctx.lookup("HelloWorldServer") in place of ctx.lookup("ejb/HelloWorldServer"). The program worked, but would someone be able to throw some light on why it worked without ejb? R

[JBoss-user] [EJB/JBoss] - Re: how can i make an EJB be deployed first

2004-06-14 Thread bwallis42
"gudmundsonsc" wrote : Write your own DeploymentSorter. You certainly can do this. Having done it I can't say I recommend it. The way we went was to maintain a global deployment ordering list and sort based on that. It is a pain in the ass to maintain this. Using the PrefixDeploymentSorter is a

[JBoss-user] [Messaging, JMS & JBossMQ] - JMS Authentication and JAAS

2004-06-14 Thread bwallis42
Is there any relationship between the authentication I have to use for JMS (TopicConnection.createTopicConnection(user,pass)) and the authentication I use to access my beans (LoginContext.login()) or do we have two separate security domains each of which has to be setup and managed differently?

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Trouble to connect to remote jms queue

2004-06-14 Thread jamesotta2004
Thanks for the pointer. Looking at the test suite code come with the jboss-3.2.2 source, most of the test is looking up ConnectionFactory through localhost rather than through remote server. They didn't help in my case. Further look at the code of org.jboss.mq.server.JMSDestinationManager seems

[JBoss-user] [Security & JAAS/JBoss] - Re: Roles Update Problem

2004-06-14 Thread clcantrell
I had the same problem. All you have to do is upon role update, Flush the JAASSecurityManger's cache. This will force the the principal to go through the login module again, populating all the new roles. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838731

[JBoss-user] [EJB/JBoss] - Re: how can i make an EJB be deployed first

2004-06-14 Thread gudmundsonsc
Write your own DeploymentSorter. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838730#3838730 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838730 --- This SF.Net

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: XAConnectionFactory not bound

2004-06-14 Thread jscalio
My apologies, I submitted the original post from another computer earlier today and didn't have a corresponding stack trace readily available. This reply includes an actual stack trace for the exception. I don't have TRACE level logging to provide because I have not been able to reproduce the

[JBoss-user] [Beginners Corner] - Re: Can Jboss Connection Pool framework be used to pool reso

2004-06-14 Thread spiritualmechanic
JCA uses the pooling mechanisms. If you implement a JCA 1.0 connector then you will have pooling like you do on datasources. Datasource is just a special case of a JCA connector. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838726#3838726 Reply to the post

[JBoss-user] [Persistence & CMP/JBoss] - Re: org.jboss.util.NestedSQLException

2004-06-14 Thread gorano
Are you using data sources? If so, make sure you close them when you have finished using them. check and double check. This error occurs when you exhaust the connection pool. Larger pool will only buy you some more time. /G View the original post : http://www.jboss.org/index.html?module=

[JBoss-user] [Performance Tuning] - Re: Declared sql runs slowly

2004-06-14 Thread gorano
What is the total query time in the 2 examples given? You will have an overhead from java compared to plsql before the actual query is processed on the DB and after the query is finished and the result is transfered back to your application. For very small queries you could end up with this resu

[JBoss-user] [EJB/JBoss] - Re: ClassCastException After HotDeploy Stateful Session Bean

2004-06-14 Thread gudmundsonsc
BTW, this is with JBoss 3.2.4. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838723#3838723 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838723 --- This SF.Net em

[JBoss-user] [Performance Tuning] - Re: Hundreds of MBeans running concurrently

2004-06-14 Thread gorano
Buy more hardware :-) /G View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838721#3838721 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838721 --- This SF.Net email

[JBoss-user] [EJB/JBoss] - ClassCastException After HotDeploy Stateful Session Bean

2004-06-14 Thread gudmundsonsc
Firstly, I am using the all configuration (haven't tried this yet in any other configurations). And I am accessing a Stateful Session Bean from a web app. It works good before hot deploy of the ejb, but throws ClassCastException after hot deploy of the ejb. This code is the code to access the

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Trouble to connect to remote jms queue

2004-06-14 Thread nusa
Check the testsuites. There are a lot of simple JMS code in there. Suggestions : Use the JBoss logger function, instead of the crap System.out.println(...) such as : | { | private static Logger log = Logger.getLogger(this.class); | | { | log.debug("Your blah blah bla

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Object not bound

2004-06-14 Thread nusa
Hi, How can we help you, if all you have to say is just 'Object not found' ? At least please show the relevant stack trace .. Set a TRACE debug level in the appropriate modules, i.e. | | | | | | | | nusa View the original post : http://www.jboss.

[JBoss-user] [Persistence & CMP/JBoss] - Re: No rollback of inserted data?

2004-06-14 Thread gorano
If you read the spec you will see that rollback on on only some exceptions make sense. One of the most important things to understand in J2EE development is transactions. If you want to force rollback you can always play with the setRollbackOnly() method. /G View the original post : http://w

[JBoss-user] [Management, JMX/JBoss] - What's the difference between MBean and RMI service?

2004-06-14 Thread davidchen
Hi, there: I'm new guy to MBean stuff in JBoss, just basic questions: 1. Since we can use MBean to provide customer service, so, what's the difference between MBean and RMI service? 2. Is MBean in jboss accessed by components deployed on jboss ONLY? or MBeans can be accessed by outside jboss cl

[JBoss-user] [Persistence & CMP/JBoss] - Re: Bulk deletion of CMP Entity bean

2004-06-14 Thread gorano
We are using the data source and make the bulk delete with a normal query. /G View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838715#3838715 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838715 --

[JBoss-user] [Persistence & CMP/JBoss] - Re: One CMP with 2 Tables

2004-06-14 Thread gorano
BMP /G View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838716#3838716 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838716 --- This SF.Net email is sponsored by The

[JBoss-user] [EJB/JBoss] - how can I keep a kind of "global" object (Singleton) in JBos

2004-06-14 Thread davidchen
Hi, there: here is my problem: 1. we want to keep a copy of a huge database view in JBoss side (because, the view is huge, so, only one copy will be created and maintained); 2. when request comes from client, we should check if that copy is outdated or not (less than 10 mins since last update),

[JBoss-user] [J2EE Design Patterns] - how can I keep a kind of global object (Singleton) in JBoss?

2004-06-14 Thread davidchen
Hi, there: here is my problem: 1. we want to keep a copy of a huge database view in JBoss side (because, the view is huge, so, only one copy will be created, and maintained); 2. when request comes from client, we should check if that copy is outdated or not (ex. less than 10 mins since last upd

[JBoss-user] [Clustering/JBoss] - LoadBalancePolicy with preferred server, how to implement?

2004-06-14 Thread myname
I have a jboss cluster (3.2.4) up and running. For performance reasons I would like to direct client access (SFSB) to only one of the servers. Can anyone please point me to a solution for that? I started with a clone of FirstAvailable.java, but I'm hanging in retrieving the information from the

[JBoss-user] [Messaging, JMS & JBossMQ] - Object not bound

2004-06-14 Thread jscalio
Our application is deployed at several customer sites using JBoss 3.2.0 running on Windows 2000 Advanced Server (mostly) and Windows Server 2003. Our problem is that many of our customers are experiencing a problem with our application, which is related to a failure in the JMS layer. The related

[JBoss-user] [Messaging, JMS & JBossMQ] - Trouble to connect to remote jms queue

2004-06-14 Thread jamesotta2004
Hi, I am using jboss-3.2.2 in a box with queue named A setup . >From another machine , I created a client to connect the remote queue A. The connection is connect successfully, but when I tried to created receiver to receive message. I got the following error. javax.jms.InvalidDestinationExcep

[JBoss-user] [Security & JAAS/JBoss] - HTTP Status 400 - Invalid direct reference to form login pag

2004-06-14 Thread mkyaj
Hi, I am using JBOSS 3.2.2. When i tried the URL https://:8443/j_security_check?j_username=user1&j_password=password1 , it is working fine with Netscape but giving the following error with IE. HTTP Status 400 -

[JBoss-user] [Management, JMX/JBoss] - NPE in beginLoadTask when redeploying ear on 3.2.4

2004-06-14 Thread jmeier
I'm getting a NPE when redeploying my ear on 3.2.4. This applicaiton redeploys without issue on 3.2.3. Has anyone else seen this? Any help or direction would be greatly appreciated. My stack trace is below. 17:38:14,042 ERROR [BaseModelMBean] Exception invoking method destroy java.lang.NullP

[JBoss-user] [The Lizzard's corner] - CVS Repository Structure

2004-06-14 Thread aanecito
Hi All, My consultant friends and I have been REALLY IMPRESSED with the src code download organization. I have to admit I have not set myself up to log into cvs but am very interested in how it is organized. I am setting up CVS for a project and would like to view the CVS structure in JBOSS sin

[JBoss-user] [Beginners Corner] - Can Jboss Connection Pool framework be used to pool resource

2004-06-14 Thread kumar30r
Is it possible to use JBOSS's connection pool framework to pool resources other than a datasource? If so, how does one do that? Any pointers/information greatly appreciated. When I run a search on this topic in the forums and elsewhere, I only get threads talking about datasource connection p

[JBoss-user] [Installation & Configuration] - getting "ManagedConnections " error

2004-06-14 Thread nischalsharma
I keep getting this error every now and then java.lang.Exception: org.jboss.util.NestedSQLException: No ManagedConnections available within configured blocking timeout ( 1 [ms] ); - nested throwable: (javax.resource.ResourceException: No ManagedConnections available within configured block

[JBoss-user] [EJB/JBoss] - Re: Bug in Stateful Session Bean passivation (JBOSS 3.2.1)

2004-06-14 Thread jscalio
I have had the same problem since early last year, but I have never seen a response on how to get the bug fix or any suitable work-arounds. The only thing that I have been able to do so far is to increase the from 600 to 1800, which has prevented most (but not all) users from experiencing the

[JBoss-user] [Installation & Configuration] - What does meannig the sentence???

2004-06-14 Thread try_yess
Somebody can help to translate this sentece, I supose that is an error when i runn tge run.sh file, please someone can help me. [WARN,ConfigurationService$ServiceProxy] Security:name=DefaultLoginConfig does not implement any Service methods View the original post : http://www.jboss.org/index.h

[JBoss-user] [Messaging, JMS & JBossMQ] - JMS Client not able to pull any messages from the Queue afte

2004-06-14 Thread brightsunny2020
JMS client is not able to pull any messages, simply it exits with no messages. But messages exists and persisted on the file system. These messages are produced before the server restart Seq. Produce messages Restart the server Start the client to read .. exits with no messages If the server i

[JBoss-user] [Performance Tuning] - Re: Hundreds of MBeans running concurrently

2004-06-14 Thread hbaxmann
Do the same, but again ;-) bax View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838700#3838700 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838700 --- This SF.Net e

[JBoss-user] [Performance Tuning] - Re: Hundreds of MBeans running concurrently

2004-06-14 Thread walkman
It did the opposite :-) any other suggestions ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838699#3838699 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838699 -

[JBoss-user] [Messaging, JMS & JBossMQ] - socketTimeoutException in OILServerILService$Client.run due

2004-06-14 Thread bsteph
My apologies if this is the wrong place for this topic. I'm having an issue where socketTimeoutExceptions are occurring due to the OS clock getting set forward in the mornings using a network time server. What's happening is the following: My server is up and running when I go home in the e

[JBoss-user] installing XA

2004-06-14 Thread Mateus Gonçalves dos Santos
people, i need help to install XA in my datasources, using Oracle. can anyone help me? Does anyone have a datasource example? Do I need change some parameter on oracle instance? I'm using jboss 3.0.8. thanks, mateus -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Be

[JBoss-user] [Beginners Corner] - Global JNDI resources/environment entry: How to make this po

2004-06-14 Thread rollatwork
Currently we have XDoclet annotations for resource references and environment entries inside each of our session beans. | ... | * @ejb.env-entry | * name="param/SomeDAOClass" | * type="java.lang.String" | * description="Holds the reference to the DAO

[JBoss-user] [EJB/JBoss] - Re: EJBs in WebApp

2004-06-14 Thread Itchyoinker
Thanks pnevado, I looked over the spec and found the basics info that I was looking for. Regards, Itchy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838696#3838696 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38386

[JBoss-user] [Beginners Corner] - Re: Chapter 3 of the tusc tutorial

2004-06-14 Thread kebl0155
Hi there, OOPS didn't like the tags - here's a repost. I was confused about this too. I think that the tutorial was written for an older version of Lomboz, which used an eGenerate.xml file. The newer version I've been using (and presumably you too) does not use this file, it uses xdoclets.xml

[JBoss-user] [Management, JMX/JBoss] - Re: How would a Veritas Cluster monitor the health of the JB

2004-06-14 Thread pharaohh
I had to do something similar. Using JGroups, we had each jboss server join the same peer group upon startup using an MBean. It was very easy. We used an MBean to wrap the JGroups NotificationBus class and join the group upon MBean startup and leave the group upon MBean shutdown. Notificatio

[JBoss-user] [Beginners Corner] - Re: Chapter 3 of the tusc tutorial

2004-06-14 Thread kebl0155
Hi there, I was confused about this too. I think that the tutorial was written for an older version of Lomboz, which used an eGenerate.xml file. The newer version I've been using (and presumably you too) does not use this file, it uses xdoclets.xml instead. Xdoclets.xml, rather than listing f

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how to configure MDB to talk to a Remote Topic?

2004-06-14 Thread cl666cl666
It worked. I just did the same thing to Remote Topic... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838691#3838691 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838691 -

[JBoss-user] [Management, JMX/JBoss] - mbean / sar depend on a war?

2004-06-14 Thread pharaohh
Is there a way for an MBean (SAR) to depend on a web application WAR being deployed/started first? I have a notification service (MBean) I would like to start only after everything else has deployed and started (which includes the web application being up and running). I know a standard way is

[JBoss-user] [Management, JMX/JBoss] - Re: How to bind an MBean to JNDI, then access from within ap

2004-06-14 Thread monocongo
In my MBean class, which extends ServiceMBeanSupport, I do the following in the startService() method: | protected void startService () | { | // create a HashTable of environment properties for the InitialContext | Hashtable environment = new Hashtable(); |

[JBoss-user] [Nukes User] - Re: problem: deploy news module

2004-06-14 Thread boussic
no it is the first time View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838687#3838687 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838687 --- This SF.Net email is

[JBoss-user] [Nukes User] - Re: problem: deploy news module

2004-06-14 Thread jae77
the class is missing the getter/setter for the member variable, so i'll have to add those in. have you previously tried to install the news module before the 1.1. release? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838686#3838686 Reply to the post : ht

[JBoss-user] [Nukes User] - Re: problem: deploy news module

2004-06-14 Thread boussic
sorry, it is news modules.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838685#3838685 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838685 --- This SF.Net email

[JBoss-user] [Messaging, JMS & JBossMQ] - how to configure MDB to talk to a Remote Topic?

2004-06-14 Thread cl666cl666
I need to know how to configure MDB to talk to a Remote Topic on remote machine. I have done it to connect to Remote Queue following the link below. But how about Topic? http://www.jboss.org/wiki/Wiki.jsp?page=HowDoIConfigureAnMDBToTalkToARemoteQueue View the original post : http://www.jboss.or

[JBoss-user] [Nukes User] - Re: nukes 1.1RC1 available

2004-06-14 Thread cooper
I have a couple of bug fixes to do and I switched the charset encoding to UTF-8 for i18n facilities. You should definitely checkout HEAD. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838681#3838681 Reply to the post : http://www.jboss.org/index.html?modul

[JBoss-user] [Nukes User] - Re: problem: deploy news module

2004-06-14 Thread cooper
not sure on what module it is, but it sound like the jboss-service.xml contains an Attribute copyright which is not on the component actually. What is being deployed at that time ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838683#3838683 Reply to the po

[JBoss-user] [Nukes User] - Re: nukes 1.1RC1 available

2004-06-14 Thread cuoz
Have there been any recent commits to the Nukes_1_1_0_RC1 tagged revision? I ran a cvs update this morning, but didn't show anything changing since my last update (early last week IIRC). I'm interested in doing further testing on the 1.1 release. Should I checkout from HEAD? Or just wait for

[JBoss-user] [Persistence & CMP/JBoss] - Re: No rollback of inserted data?

2004-06-14 Thread dannyyates
Oh, and it also depends on whether your database supports transactions. I understand that certain configuration of MySQL, for example, don't. Not sure about Hypersonic. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838675#3838675 Reply to the post : http://

[JBoss-user] [Nukes User] - problem: deploy news module

2004-06-14 Thread boussic
Hi all, I installed jboss/nukes bundle and CSV sources. I built news module with "build deploy", but when I launch Jboss, it says: ERROR [NukesBuilder] Cannot build the nukes model mbean metadata RuntimeOperationsException: null Cause: java.lang.IllegalArgumentException: MBean does not contain

[JBoss-user] [EJB/JBoss] - ejbLoad() not executed after direct DB update ?

2004-06-14 Thread realmaxim
I use JBoss 3.2.0 with default container configuration - 'Standard CMP 2.x EntityBean', commit option B, pessimistick lock. All code working within transactions. I see the next scenario: * first transaction started, using select with EjbQL selects some entities and print them to the screen usi

[JBoss-user] [Persistence & CMP/JBoss] - Re: No rollback of inserted data?

2004-06-14 Thread dannyyates
Depends on the transaction settings of the Entity Bean, and, more importantly, on the type of exception being thrown. Read the EJB spec. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838674#3838674 Reply to the post : http://www.jboss.org/index.html?module=

[JBoss-user] [Management, JMX/JBoss] - How would a Veritas Cluster monitor the health of the JBoss

2004-06-14 Thread paulboyce
Hi! How would a Veritas Cluster monitor the health of the JBoss installation? Background -- We are deploying a JBoss application to a set of Unix(Solaris) servers monitored by Veritas Cluster Server software. The deployment will not be a cluster of JBoss Applications - rather J

[JBoss-user] [Nukes User] - Re: Email problems

2004-06-14 Thread cooper
you can use the mail module as an mbean and perform queries on it manually to test it. if this does not work you have a problem with your DNS server I think View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838670#3838670 Reply to the post : http://www.jboss.or

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: strange errors with UIL2

2004-06-14 Thread davekohr
One difference between the cases when the connection does and doesn't work is that I think when it does work, in the destination JVM there is a QueueReceiver and MessageListener for the destination queue, and when it doesn't work there isn't a receiver/listener. View the original post : http:/

[JBoss-user] [Nukes User] - Re: Email problems

2004-06-14 Thread jphautin
Hi Julien ! I have already define the DNS server the company using. Without any success. I'm looking forward in the code. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838666#3838666 Reply to the post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Nukes User] - Re: Email problems

2004-06-14 Thread hbaxmann
You should have an MX record in your DNS, it contains the adress(es) of the mail severs of your domain. If the response is empty so ask ask your DNS admins for adding a MX record pointing to your SMTP Server. bax View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&

[JBoss-user] [Installation & Configuration] - Re: Installation Jboss3.06T in AIX4.3.3

2004-06-14 Thread hbaxmann
UU, this is what I was not expecting: go and find your systemadministrator for your RS6000 and AIX. The task is nearly impossble if you do not have a deep knowledge about AIX process and memory management and the neccessary configurations. This is related to shm.h to environment varia

[JBoss-user] [Installation & Configuration] - Re: Installation Jboss3.06T in AIX4.3.3

2004-06-14 Thread arindam
The following is the boot.log when I run jboss3.0.6T 11:28:42,805 DEBUG [Server] server type: class org.jboss.system.server.ServerImpl 11:28:42,949 INFO [Server] JBoss Release: JBoss-3.0.6 CVSTag=JBoss_3_0_6 11:28:43,804 DEBUG [Server] Using config: [EMAIL PROTECTED] 11:28:43,910 INFO [Server]

[JBoss-user] [EJB/JBoss] - Stateful Session bean and java.sql.Connection problem

2004-06-14 Thread Ijaz79
I am creating java.sql.Connection with Oracle in ejb create in Stateful Session Bean. As Connection conn; ejbCreate(){ Context ctx = new InitialContext(); Object obj = ctx.lookup(ÃÂjava:/OralceDSÃÂ); if (obj instanceof DataSource) { DataSource ds = (DataSource) obj;

[JBoss-user] [Nukes User] - Re: Email problems

2004-06-14 Thread cooper
1/ set an DNS server address for the mxLookup thing 2/ set JavaMailDebugEnabled to true View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838663#3838663 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838663

[JBoss-user] [Persistence & CMP/JBoss] - Instance Per Transaction and Commit Option A

2004-06-14 Thread dnanto
In JBoss 3.2.3, I know that if you used Instance Per Transaction container configuration it required Commit Option B, or C. Has this changed with 3.2.4? I heard that we could use commit option A with 3.2.4. Is this true? If not, will we be able to use commit option A/Instance per Transaction

[JBoss-user] [Persistence & CMP/JBoss] - Re: Deleting a row in cmr entity bean

2004-06-14 Thread cuoz
My guess is that you are only removing the entity from the relationship, and not actually removing the entity itself. Are you doing something like: department.getEmployees().remove(employee); If so, try just removing the employee entity: employee.remove(); Hope that helps, gary. View the or

[JBoss-user] [Persistence & CMP/JBoss] - Bulk deletion of CMP Entity bean

2004-06-14 Thread mfrost
We have employed a simple cache using CMP entity beans. We've now identified the need to drop this cache - albeit very infrequently. We noticed that bulk updates and deletes form part of the EJB3 spec but for now, what is the best mechanism for doing this? We could write a "findAll" method, ite

[JBoss-user] [Installation & Configuration] - Re: Installation Jboss3.06T in AIX4.3.3

2004-06-14 Thread arindam
oslevel 4.3.3.0 Can you please tell me which of the arguments do you want to know? lslpp -L all displayes all the information. Do you require that or any specific parameters. Any specific Kernel Parameters? If you could let me know the command it would be more helpful. Also following is the tra

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Help with JBoss JMS and Oracle Patch

2004-06-14 Thread mphee
Update. I'm still getting the ClassCastException and can't figure out why. I spent a lot of time Saturday and Sunday trying different things. JBoss 3.2.3 and 3.2.4. Hypersonic and Oracle persistence. Different libraries, but no success. I noticed this in the build.xml for the patch, but don

[JBoss-user] [Nukes User] - Email problems

2004-06-14 Thread jphautin
Hi everybody. I'm trying to make email working with nukes modules (forums and lostpassword) but i have few problems. When i use email module, it do not send any mail and so far do not show any errors. I look at the code and it seems that the function mxLookup send an empty response (empty lis

[JBoss-user] [Installation & Configuration] - Re: Basic Settings for Executting Jsp and Servlets...Plz

2004-06-14 Thread spiritualmechanic
What are you used to doing to run servlets? You're going to need to have the classes in the classpath (say classes or jarred in WEB-INF/lib). Then you're going to need to add it to web.xml as a servlet and servlet-mapping. What servlet container are you used to using? If you're using an older on

[JBoss-user] [JBoss Getting Started Documentation] - Deploying PetStore 1.3.2 to JBoss 3.2.x

2004-06-14 Thread o_swas
Hello, I wish to deploy the Java PetStore version 1.3.2 to JBoss 3.2.x. I did a Google search for "jboss petstore" and there were a couple of articles about how to do it using PetStore 1.1.2. One of the articles pointed to a zip file of JBoss Petstore patch files located at this URL: http:/

[JBoss-user] [Persistence & CMP/JBoss] - No rollback of inserted data?

2004-06-14 Thread mlehradt
Hi, I am relative new to EJB and need some help. Maybe you can give me some pointers. Consider this scenario: - Stateless Session Facade with transaction "Required" - Facade inserts CMP-EJB #1 - Facade does something else and throws an exception - Transaction should (?!) roll back - Data of CMP

[JBoss-user] [EJB/JBoss] - ejb not bound

2004-06-14 Thread manishpathak25
Hello All, As the topic suggests, nothing new in the topic - already lots of post with this, and I have read many of them before posting this. I have an EJB deployed on JBoss 3.2.3 and at the end of deployment, I get the following: 2004-06-14 18:56:03,211 INFO [org.jboss.ejb.EjbModule] D

[JBoss-user] [Beginners Corner] - Re: Where to place third party libraries in JBoss

2004-06-14 Thread jae77
you have a couple options. 1) you can place them in the "lib" directory under JBOSS_HOME/server/default. any libraries placed here will be available to all deployed apps. there is no way to update libraries here w/o a server restart. jdbc drivers are good to place here. 2) you can place them d

[JBoss-user] [Clustering/JBoss] - Re: Cache Invalidation seems to fail when redeploy CMP beans

2004-06-14 Thread mfrost
hi Sacha If I re-deploy to the RW node, cache invalidation still works fine. If I re-deploy to any of the RO nodes the invalidation mechanism fails. I will add a bug report as suggested (sourceforge site is down at present) cheers mark View the original post : http://www.jboss.org/index.html

[JBoss-user] [Installation & Configuration] - Application-specific log4j.xml settings

2004-06-14 Thread jimpo
I want to control the logging of my application by including a suitable log4j.xml in war's WEB-INF/classes/. Initial attempt of just including the xml file in the war failed, as JBoss' own configuration file in conf/ did override my settings. Using instructions on http://www.jboss.org/wiki/Wiki

[JBoss-user] [Messaging, JMS & JBossMQ] - Null ConnectionFactory

2004-06-14 Thread pfonseca
Hello all, I have a small problem in my first JMS client program. I have installed a fresh and clean JBoss 3.2.4 server, and without any further configuration, tried a little program, that is posted next. Can anybody please tell me why do i always get a null reference on context.lookup("Conne

[JBoss-user] [Beginners Corner] - Re: JBoss API doc

2004-06-14 Thread darranl
Why do you need the JBoss API? Are you writing a J2EE application or a JBoss application? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838644#3838644 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838644 -

[JBoss-user] [Installation & Configuration] - Failures in the 3.2.4 distribution

2004-06-14 Thread hbaxmann
I have the following 5 anticipated failures in my single node install: run -c all Java Version 1.4.2_04 Java Vendor Sun Microsystems Inc. Java VM Name Java HotSpot(TM) Client VM Java VM Version 1.4.2_04-b05 Java VM Info mixed mode OS Name Windows XP OS Version 5.1 OS Arch x86 1.) Nam

[JBoss-user] [Installation & Configuration] - Re: Errors in the 3.2.4 distribution

2004-06-14 Thread hbaxmann
OOOps, forgot the third one: 3.) Class org.jboss.test.management.test.JSR77SpecUnitTestCase Name Tests Errors Failures Time(s) JSR77SpecUnitTestCase 16 1 0 11.447 Tests Name Status Type Time(s) testNavigation Error java.lang.String java.lang.ClassCastException: java.lang.String at org.jbos

[JBoss-user] [Installation & Configuration] - Errors in the 3.2.4 distribution

2004-06-14 Thread hbaxmann
I have the following 3 unanticipated errors in my single node install: run -c all Java Version 1.4.2_04 Java Vendor Sun Microsystems Inc. Java VM Name Java HotSpot(TM) Client VM Java VM Version 1.4.2_04-b05 Java VM Info mixed mode OS Name Windows XP OS Version 5.1 OS Arch x86 1.) Name T

[JBoss-user] [Installation & Configuration] - Re: urgent..Configuring MySql as default datasource..

2004-06-14 Thread hbaxmann
Any kind of IT DOESNT WORKS is not appreciated. could you please, please provide more information? If you do not know which one and how: read the http://www.jboss.org/wiki/Wiki.jsp?page=JBossForums especially the "Other tips" bax View the original post : http://www.jboss.org/index.html?modul

[JBoss-user] [Installation & Configuration] - Re: Installation Jboss3.06T in AIX4.3.3

2004-06-14 Thread hbaxmann
The installation is straightforward if you have the appropriate ML and JDK patches applied. Tell more about your environment, please. like: oslevel lslpp Kernel Parameter etc.etc bax View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838639#3838639 Reply to t

[JBoss-user] [Clustering/JBoss] - Re: Cache Invalidation seems to fail when redeploy CMP beans

2004-06-14 Thread Sacha Labourey
Which node do you redeploy when it doesn't work? the RO or the RW? anyway, I think you can add a bug report on sf.net/projects/jboss as we should support redeploy of such apps. Cheers, sacha View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838638#3838638 Re

[JBoss-user] [Persistence & CMP/JBoss] - org.jboss.util.NestedSQLException

2004-06-14 Thread ashishabrol
I keep getting this error every now and then java.lang.Exception: org.jboss.util.NestedSQLException: No ManagedConnections available within configured blocking timeout ( 1 [ms] ); - nested throwable: (javax.resource.ResourceException: No ManagedConnections available within configured block

[JBoss-user] [Installation & Configuration] - Installation Jboss3.06T in AIX4.3.3

2004-06-14 Thread arindam
I want to install Jboss in AIX 4.3.3. It has a IBM jdk1.3.1. Is there anybody who has installed in AIX4.3.3 or tell me how to install in the AIX machine. Thanks in advance Arindam View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838636#3838636 Reply to the po

[JBoss-user] [Security & JAAS/JBoss] - (Jboss)Container managed user authentication, and reacquirin

2004-06-14 Thread philoso
I have setup my web app so that is does a container managed, jdbcrealm authentication. Using this method, how can I retrieve my username after I get authenticated by jboss/tomcat? thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838635#3838635 Reply to

[JBoss-user] [Installation & Configuration] - urgent..Configuring MySql as default datasource..

2004-06-14 Thread milgurung
Hi Everyone, Please help me out to configure Mysql as a default datasource. I read and followed the instructions given in the free documention but I was not able to configure it properly. Any kind of help is appreciated. Thanks in advance, milan c gurung View the original post : http://www

[JBoss-user] [Clustering/JBoss] - Cache Invalidation seems to fail when redeploy CMP beans

2004-06-14 Thread mfrost
We have in place a clustering architecture as described in the JBoss clustering book. It currently consists of 3 nodes. 2 "read-only" nodes whose CMP entity beans have read-only accessor methods and a "read-write" node where the entity beans have "read-write" accessor methods. We use the cache

[JBoss-user] Ordering CMR results - best practice ?

2004-06-14 Thread Klaus Richarz
Hello *, I'm trying to get an ordered CMR. Is there any propritary way JBoss can handle this ? Or any best practice how to realize it ? Any help is appreciated, Klaus Richarz Hamburg, Germany --- This SF.Net email is sponsored by the new Inst

[JBoss-user] [Management, JMX/JBoss] - XMBean question

2004-06-14 Thread chrisdutz
Hi, sorry for the very unspecific title. I will try to explan my problem: I am writing a small application which needs several xml-files containing configuration data. At the moment I am working on an xmbean for managing this data. My current version of the mbean has only one managed-operation fo

[JBoss-user] [Beginners Corner] - Re: deployed EJB's on wrong datasource

2004-06-14 Thread u9707118
Thank you very much, my friend. That was exactly what I was missing. My fingers are hurting, but at last I now have it working. Thanks for the tip! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838631#3838631 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [Beginners Corner] - Where to place third party libraries in JBoss

2004-06-14 Thread JJman
How can I define, where to place third party libraries? And what if some application wants to use different version from same library? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838630#3838630 Reply to the post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [Messaging, JMS & JBossMQ] - jboss-jms-p2p-client.jar

2004-06-14 Thread pfonseca
Hello, Does anybody know where i can find jboss-jms-p2p-client.jar file ? This need comes from http://www.jboss.org/developers/projects/jboss/jms/documentation/pure-p2p link. Thank you all. Regards Pedro F. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[JBoss-user] [Persistence & CMP/JBoss] - Re: unexplained lock in 3.2.4

2004-06-14 Thread bentins
How do I set it up for instance per transaction? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838625#3838625 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838625

  1   2   >