[JBoss-user] [Beginners Corner] - Please help with ZEN of Jboss for dedicated newbie/student

2004-12-17 Thread wiley173
Hello sir/madam, I'm getting there with my default install of jboss 3.2.6 . So far my posts have gone unasnwered and this has actually helped me figure out for myself the problems therefore making me stronger in knowledge but I cannot seem to figure one thing now and have hit a brick wall. I'v

[JBoss-user] [Installation & Configuration] - Naming issue

2004-12-17 Thread daryoush
I have deployed the following session bean (Jboss 4.0): ejb-jar.xml ... ... ConcurroSession <\home> com.concurro.hcs.access.security.ConcurroSessionHome /home> <\remote> com.concurro.hcs.access.security.ConcurroSession /remote> com.concurro.hcs.access.security.ConcurroSessionBean Statef

[JBoss-user] [EJB/JBoss] - JBoss 4 and JbossWS - Xdoclet tags

2004-12-17 Thread joshua_hj
Dear community, I have a SessionBean that i have implemented as a WebService 1.1 compliant, using the new wsee xdoclet tags in the new JBoss 4. I also have another class ( Calculadora) in my project that i use in the SessionBean, so that classe needs to be serialized, because the sessionBean re

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: can't get JMS to rollback send using JmsXA

2004-12-17 Thread jcstaff
This looks to be more of what you were after. This is the result of the session EJB throwing EJBException after publishing the JMS message. ... thanks for taking a look at it. | 2004-12-17 17:21:01,465 TRACE [org.jboss.resource.connectionmanager.CachedConnectionManager] popped object: org.j

[JBoss-user] [Beginners Corner] - Failed to aspectize class

2004-12-17 Thread felipe.leite
Hi all, I am using JBossCache as hibernate's 2nd level cache for my application. Actually I am trying to use TreeCacheAOP, but without success. I am using the JBossAOP class loader (-Djava.system.class.loader=org.jboss.aop.standalone.SystemClassLoader) to make the AOP magic, but the applicatio

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: can't get JMS to rollback send using JmsXA

2004-12-17 Thread [EMAIL PROTECTED]
TRACE is what is required. See the examples in READ THIS FIRST. Also make sure you are not filtering the level on the appender. I won't need your DEBUG logging. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859115#3859115 Reply to the post : http://www.jbos

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - NoInitialContext while running Client_41a of Workbook 2

2004-12-17 Thread opapo
I am using: JBoss AS 4.0 Eclipse 3.0 Ant 1.6.2 I went through workbook 2 at the end of the book. I tried to use the command ant run.client_41a and it compiled and deployed the EJB files. I used ant asdf and it did the same thing. I used ant no difference. I decided to use Eclipse to create

[JBoss-user] [Installation & Configuration] - (problem) WARNING: cannot instantiate string resolver method

2004-12-17 Thread repkin
I have winxp, j2sdk1.4.2_05 and I have downloaded setupwin32.exe. when I try to setup after little time late this warning coming WARNING: cannot instantiate string resolver method com.instalshield.database.iSSqlexcep

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: can't get JMS to rollback send using JmsXA

2004-12-17 Thread jcstaff
I want to make sure I'm doing what you intend to get you the information you've requested. * "show trace logging". I'm assuming that means go into conf/log4j.xml and add the following lines: | | | | | | | | | | I also tried TRACE (versus DEBUG above), but

[JBoss-user] [Persistence & CMP/JBoss] - CMP transaction

2004-12-17 Thread ChatBuilder
Hi, I'm using CMP entity beans. In my ejb-jar.xml I use: | | | | Initiaal | * | | Required | | | in my bean I have

[JBoss-user] [The Lizzard's corner] - Re: LGPL and Sun's activation.jar ???

2004-12-17 Thread [EMAIL PROTECTED]
Sun's binaries are distributed under their terms. This has nothing to do with LGPL and its use as the license for the jboss codebase. The apache license applies to the bundled apache binaries. The dom4j license applies to the dom4j binaries. Etc, etc. View the original post : http://www.jboss.

[JBoss-user] [HTTPD, Servlets & JSP] - Need hostname and port number and context path at startup

2004-12-17 Thread treespace
I want to load one of my own URLs at startup time and would like to build the URL dynamically. For example: https://foo:8080/bar/baz.xml I can genrate that URL easily using these request methods and a little glue: request.getScheme() request.getServerName() request.getServerPort() request.getCo

[JBoss-user] [The Lizzard's corner] - LGPL and Sun's activation.jar ???

2004-12-17 Thread khookguy
I'm sure this question is answered somewhere, but after many Google searches, I can't find a definitive answer. JBoss 4.0.0 includes a small number of files (e.g., activation.jar is Sun's implementation of the Java Activation Framework) that are not distributable under the LGPL. Sun distribute

[JBoss-user] [Security & JAAS/JBoss] - Re: Mbean (Service) Calling Secure EJB and SecurityAssociati

2004-12-17 Thread twalsh2
Thank you for the very quick response. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859100#3859100 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859100 --- SF ema

[JBoss-user] [Beginners Corner] - Using hypersonic for PKGen when it should be using Postgres

2004-12-17 Thread richardbair
Hey all, I'm having a problem, I assume with configuration, where I have set up JBoss to work with PostgreSQL for my app, and in every way it (apparently) works perfectly except when calling ejbCreate. When ejbCreate is called, I get the following stack trace: 11:06:28,553 INFO [STDOUT] Error

[JBoss-user] [Security & JAAS/JBoss] - Re: Mbean (Service) Calling Secure EJB and SecurityAssociati

2004-12-17 Thread [EMAIL PROTECTED]
Direct use of the SecurityAssociation has no guarentee of future compatibility since its an implementation detail. Doing a JAAS login is the only publicly supported way of establishing the security context. Subject.doAs is something we will look at supporting in the future. View the original po

[JBoss-user] [Security & JAAS/JBoss] - Mbean (Service) Calling Secure EJB and SecurityAssociation.p

2004-12-17 Thread twalsh2
I have an MBean (Service) which needs to interact with a secure EJB via its local interface. I've read various posts in the forums and it seems as if one approach is to construct a LoginContext and login() using a configured username/password. I'm hesitant to do this as it requires that the

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Intercepting queue length

2004-12-17 Thread [EMAIL PROTECTED]
The WIKI contains a basic overview of the architecture. We don't do hand holding here. When you've made an effort to figure out it for yourself, come back and ask detailed technical questions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859095#3859095 Rep

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 message race condition before 3.2.6RC2

2004-12-17 Thread [EMAIL PROTECTED]
If you are interested in helping the community there is an outstanding task to improve this whole area. See the following link and the related forum post: http://jira.jboss.com/jira/browse/JBMQ-10 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859094#3859094

[JBoss-user] [Security & JAAS/JBoss] - Re: authenticate against underlying Linux OS

2004-12-17 Thread janoss
mrchucho, I'd appreciate any write up that you come up with. I can guarantee you several others will be interested in the same solution. I will start reading up on SysAuth. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859093#3859093 Reply to the post : h

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 message race condition before 3.2.6RC2

2004-12-17 Thread [EMAIL PROTECTED]
It is you who miss the point. Asking people to look at dead code (3.2.3 is over a year old) is not only a waste of their time it has an opportunity cost (something that is not fixed in the lastest version doesn't get fixed). On the politeness issue we will have to agree to differ. These are the

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Intercepting queue length

2004-12-17 Thread jplsaez22
Ok. Should it be possible to set a destination, call it "queue depth under threshold" where the monitored destination could send a JMS message telling the queue depth limit has been reached? Could you please tell me some hints about where I should change the code? Thank you very much. JP Vie

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 message race condition before 3.2.6RC2

2004-12-17 Thread Thoennes
Dear Adrian, Adrian wrote : | I am Director of Support for Customers, i.e. those people who pay me to work on their problems. They have paid for me to spend time on their problem no matter how trivial or which version of JBoss. | Agreed. I also get paid by customers to do their work. Its

[JBoss-user] [Installation & Configuration] - Re: Can I configure a global jndi environment entry in JBoss

2004-12-17 Thread mwomack
If I can't set up a JNDI value available to all the web apps, can I somehow setup context-param overrides for each individual web application? What I am really trying to acheive is the setting of some context-param values in the container so that the deployer does not need to go into the web.xml

[JBoss-user] [EJB/JBoss] - NameNotFoundException in EJB

2004-12-17 Thread narayanrm
I have deploying the rar inside an ear file(Jboss4.0.0) it did deploy by placing the -ds.xml in the deploy directory. But while looking up the rar from session bean it gave NameNotFoundException the -ds.xml is as follows: | | | | | | | jcdFiletoFile1_File2 |

[JBoss-user] [HTTPD, Servlets & JSP] - Re: JSTL libraries in a common directory

2004-12-17 Thread [EMAIL PROTECTED]
Sure, you can put them elsewhere, but then you need to copy the tld files out and into your WEB-INF directory. I think I'd rather just have the full JARs myself. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859083#3859083 Reply to the post : http://www.j

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problems with durable topic in jboss-3.2.3

2004-12-17 Thread pizzandre
Adrian, This was a very strange error. I did a lot of things and I don't know why but I've fix the problem, so I won't be able to send the error message anymore. Anyway we have a very complex build envy and maybe you've got the point. For an unknown reason the bean wasn't deployed ok or the

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problems with durable topic in jboss-3.2.3

2004-12-17 Thread [EMAIL PROTECTED]
You could start with showing us that you know your ejb deployed and then show us that the message is actually getting published and the mdb is actually making the correct durable subscription. The jmx console or logging is useful for that information. View the original post : http://www.jboss.o

[JBoss-user] [EJB/JBoss] - Re: Best practice for sharing a data structure through JNDI

2004-12-17 Thread fredatwork
Thanks for Scott for his answer. I'm also wondering if JBoss Cache is something that I have to look into in order to implement a cache of POJOs (Plain Old Java Objects), that is a cache of objects to share among session beans ? I plan to run in a cluster. Is JNDI enough to store (in memory) a

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: can't get JMS to rollback send using JmsXA

2004-12-17 Thread [EMAIL PROTECTED]
Show the trace logging so we can see what is happening. org.jboss.ejb.plugins.TxInterceptorCMT or org.jboss.resource org.jboss.tm would also be useful so we can see the transaction demarcation View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859079#3859079 Repl

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Maximum Message Size

2004-12-17 Thread [EMAIL PROTECTED]
Moderated: Ignored - asking for advice rather than technical information. Due diligence on your part requires you to test it yourself. See the message cache docs on the wiki for jms memory parameters. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859077#385907

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS usage over WAN?

2004-12-17 Thread [EMAIL PROTECTED]
The free admin docs explain JNDI over HTTP and the wiki has information on configuration of the HTTPConnectionFactory. You'll also find this discussed in many other previous threads. AND CAN YOU PLEASE STOP POSTING "ME TOO" The posts are redundant and unhelpful to the original poster. View the o

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Intercepting queue length

2004-12-17 Thread [EMAIL PROTECTED]
The only mechanism to do this involves JBoss specifc mechanisms. Either through the JMX management interface or by modifiying the JBossMQ code. Monitoring the queue depth is not a part of the JMS spec. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859075#3859

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 message race condition before 3.2.6RC2

2004-12-17 Thread [EMAIL PROTECTED]
For the 10,000 time. I am Director of Support for Customers, i.e. those people who pay me to work on their problems. They have paid for me to spend time on their problem no matter how trivial or which version of JBoss. If you come along expecting me to do *your work* or ask about old versions t

[JBoss-user] [Security & JAAS/JBoss] - Re: Using SSL during registration...

2004-12-17 Thread PavelKrupets
In FORM target url was http://is:8080/santis_sit_web_internal/login I changed it to https://is:8443/santis_sit_web_internal/login. And now I get: anonymous wrote : The connection was refused when attempting to contact is:8443. View the original post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Configuration of JMS on JBoss

2004-12-17 Thread [EMAIL PROTECTED]
Moderated: FAQ java: namespace not available over "remote" jndi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859072#3859072 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859072 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss 4.0/SQL Server Lock Condition

2004-12-17 Thread [EMAIL PROTECTED]
I don't see any reason why JMS persistence should cause a deadlock. No part of the system should be trying to update the same data at the same time. If it were, it would be a bug. The most likely cause is that the stupid locking mechanism within MSSQL is taking locks that are not row locks (e.g.

[JBoss-user] [Installation & Configuration] - JasperReports and JBoss

2004-12-17 Thread luisms
Hello, I'm developing a web application with reports using JBoss. My reports are made with JasperReports, using iReport as GUI. It works fine if I don't use charts from JFreeChart(auto-generated by iReport), but when I use theese charts I get the following error: org.apache.jasper.JasperExcep

[JBoss-user] [EJB/JBoss] - Re: Best practice for sharing a data structure through JNDI

2004-12-17 Thread [EMAIL PROTECTED]
The java:comp context if by spec definition component local. You cannot bind into it and have that shared by other components. You need to bind into another context. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859069#3859069 Reply to the post : http://ww

[JBoss-user] [Security & JAAS/JBoss] - Re: Using SSL during registration...

2004-12-17 Thread PavelKrupets
I found document http://jboss.org/wiki/Wiki.jsp?page=SSLSetup. There is a topic about certificate signing. Is it necessary to sign a certificate? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859068#3859068 Reply to the post : http://www.jboss.org/index.htm

[JBoss-user] [Security & JAAS/JBoss] - Re: client JAAS logout from two different j2ee applications

2004-12-17 Thread [EMAIL PROTECTED]
Every call has to establish its call context. If a single user thread is accessing apps with different security domains, then it has to login with the correct identity for each domain. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859067#3859067 Reply to t

[JBoss-user] [Security & JAAS/JBoss] - Re: No method permissions assigned to method=create, interfa

2004-12-17 Thread [EMAIL PROTECTED]
That syntax applies to both the home, local home, remote and local interfaces. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859066#3859066 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859066 -

[JBoss-user] [JCA/JBoss] - Re: java.sql.SQLException: Io exception: Broken pipe

2004-12-17 Thread [EMAIL PROTECTED]
Moderated: FAQ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859065#3859065 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859065 --- SF email is sponsored by - The

[JBoss-user] [JCA/JBoss] - Re: RAR Looking up problem

2004-12-17 Thread [EMAIL PROTECTED]
Moderated: FAQ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859064#3859064 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859064 --- SF email is sponsored by - The

[JBoss-user] [JCA/JBoss] - Re: Default Datasource

2004-12-17 Thread [EMAIL PROTECTED]
Moderated: Use the CMP forum View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859063#3859063 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859063 --- SF email is spon

[JBoss-user] [Javassist user questions] - Can I get info about containing object of some methodCall?

2004-12-17 Thread rezahay
Hello, Suppose I have the following MethodCall expr: .. someObj.someMethod .. If I use: curMethod.instrument(new ExprEditor() public void edit(MethodCall m) throws CannotCompileException { ... then I can get information about the

[JBoss-user] [Security & JAAS/JBoss] - Re: client JAAS logout from two different j2ee applications

2004-12-17 Thread catalean
Here is what i'm doing, maybe, hopefully i'm doing something wrong; in very short terms: - client login to one of the j2ee applications => ok (this is done when first time executing "create" on a found EJB home) - execute an operation on the first j2ee app => ok - same client login to the s

[JBoss-user] [JCA/JBoss] - Default Datasource

2004-12-17 Thread jeeads
Hey, I am trying to use the same jar of session and entity beans to view multiple instances of the same schema. My problem is that the jboss-jdbc.xml deployment descriptor has the default datasource within it. If I want to use the same beans for multiple instances of the same schema I hav

[JBoss-user] [Security & JAAS/JBoss] - Re: No method permissions assigned to method=create, interfa

2004-12-17 Thread kalexm
My understanding, but I might be wrong, was that I can only secure the Bean itself and not the home stub. Superuser MySessionBeanHome * Will this work? Im'going to try it, thanks for your help, kalexm View the original post :

[JBoss-user] [JCA/JBoss] - READ THIS - RAR DEPLOYMENT AND JNDI CONFIGURATION

2004-12-17 Thread [EMAIL PROTECTED]
For those of you who are swamping this forum with questions about resource-refs and NameNotFoundException I COPIED this FAQ from the topic in this forum: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=46930 to the FAQ on the WIKI http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossJCA If y

[JBoss-user] [JCA/JBoss] - Re: Can anybody help me out with this ?????

2004-12-17 Thread [EMAIL PROTECTED]
It will be a good day when the JCA forum is not full of the same NON JCA questions about EJB resource-refs and jndi configuration View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859054#3859054 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [Beginners Corner] - No Classloaders found for...

2004-12-17 Thread ter_d
Hello! I hope you can help me, unless there're some people in this forum who think I'm lazy and don't work to solve my own problems. I'm trying to configure the connection pool with Oracle. 1.I uncomment the Pad attribute in jboss-servce.xml. 2.I put the jdbc drivers, that is, classes12.jar, in my

[JBoss-user] [Security & JAAS/JBoss] - Re: No method permissions assigned to method=create, interfa

2004-12-17 Thread [EMAIL PROTECTED]
Well, if I said permission must be explicitly granted to those methods that should be accessible, why is it astonishing that home method also need permissions granted? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859052#3859052 Reply to the post : http:/

[JBoss-user] [EJB/JBoss] - Best practice for sharing a data structure through JNDI ?

2004-12-17 Thread fredatwork
Hello, I would like to have to share a data structure though JNDI. This data structure behaves like a synchonized cache (let's say a data structure based on an instance of HashMap). Some session beans of mine will then use this shared cache to store/access some stuff. How should I do implement

[JBoss-user] [Security & JAAS/JBoss] - Re: Using SSL during registration...

2004-12-17 Thread PavelKrupets
It seems that it expects user to be logged in. And I am trying to loggin. Vicious circle! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859049#3859049 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859049 --

[JBoss-user] [Security & JAAS/JBoss] - Re: Fundamental performance problem with JaasSecurityManager

2004-12-17 Thread [EMAIL PROTECTED]
The scalability of the JaasSecurityManager.isValid method is a known issue and has an existing sourceforge bug: [ 974735 ] Slow performance of JaasSecurityManager http://sourceforge.net/tracker/index.php?func=detail&aid=974735&group_id=22866&atid=376685 The getActiveSubject is useless and not pa

[JBoss-user] [JCA/JBoss] - Re: Can anybody help me out with this ?????

2004-12-17 Thread beyarecords
Adrian, sounds like your having a good day bro ;-) regards Andrew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859047#3859047 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859047 -

[JBoss-user] [Clustering/JBoss] - Notification of master changes

2004-12-17 Thread tom-the-bomb
what do I have to do to receive notifications whenever a jboss instance looses its master status or when it has been elected as the new master? is there a way to use a MDB for this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859046#3859046 Reply to the p

[JBoss-user] [JCA/JBoss] - Re: Can anybody help me out with this ?????

2004-12-17 Thread [EMAIL PROTECTED]
You guys amaze me. Not only is this one of the most FAQs of FAQs there are currently three concurrent questions all asking the same dumb question. Here is what somebody else got for his troubles yesterday. http://www.jboss.org/index.html?module=bb&op=viewtopic&t=57760 Have you even considered hel

[JBoss-user] [Security & JAAS/JBoss] - Using SSL during registration...

2004-12-17 Thread PavelKrupets
Hello, Maybe someone knows docs/howtos on how to set up ssl connection? I found some info but I still couldn't configure SSL :( I am implementing login form on JBoss 4.0 using Servlet + SSL. But when I set web resource's attribute I am getting next error: anonymous wrote : HTTP Status 403 - A

[JBoss-user] [JCA/JBoss] - Re: Can anybody help me out with this ?????

2004-12-17 Thread narayanrm
I also tried with deploying the rar inside an ear file it did deploy by placing the -ds.xml in the deploy directory, but gave a different problem. the -ds.xml is as follows: | | | | | | | | jcdFiletoFile1_File2 | FiletoFile_PROJECTDeployment1_jcdFiletoF

[JBoss-user] [Clustering/JBoss] - Re: XAConnectionFactory not bound

2004-12-17 Thread [EMAIL PROTECTED]
Moved to the user forum. Check out the JBossMQ wiki page. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859039#3859039 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859039 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Configuration of JMS on JBoss

2004-12-17 Thread [EMAIL PROTECTED]
Moved to the user forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859038#3859038 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859038 --- SF email is sponsore

[JBoss-user] [Persistence & CMP/JBoss] - Re: Read only lock

2004-12-17 Thread HariV
Thanks for your reply Alex. CMP2xJDBC2PM is it available is JBOSS3.2.5. The time out was for getting a transaction lock. >From your reply my understanding is , the container does'nt cache the entity >bean instance, it just caches the data the entity bean represents. So the >instance is locked ,f

[JBoss-user] [Messaging, JMS & JBossMQ] - JBoss 4.0/SQL Server Lock Condition

2004-12-17 Thread Kevin Daly
Hi, We are in the process of migrating our AppServer from JBoss 3.2.3 to JBoss 4.0. Everything deploys and runs pretty painlessly but we are encountering problems with our MDBs. The MDBs consume messages for a brief while before throwing exceptions citing a dblock condition. Our setup is prett

[JBoss-user] [Persistence & CMP/JBoss] - Entity Bean with Multiple Tables

2004-12-17 Thread chinesemountain
I read in previous postings that JBoss 4.0 was suppose to support Entity Bean with Multiple Tables. Has this come about? If so could you please give example? Btw I am a newbie. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859034#3859034 Reply to the pos

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 message race condition before 3.2.6RC2

2004-12-17 Thread Thoennes
Dear Adrian, Adrian wrote : Why do people insist on reporting bugs with old versions? I did not report a bug, but just asked whether a JBoss patch contained in release 3.2.6 would fix our issue: JÃrg wrote : Is it possible in UIL2 that several threads try to deliver a message via onMessage()

[JBoss-user] [Security & JAAS/JBoss] - Re: Fundamental performance problem with JaasSecurityManager

2004-12-17 Thread sberna
Hey, Nothing to do with the issue presented but we also had several performance problems with the login phase and we simply used 2 different approaches for the login strategy. First login using standard user/password login with costly database lookup of credentials, principals etc. In this lo

[JBoss-user] [JCA/JBoss] - RAR Looking up problem

2004-12-17 Thread mradhika
I have deployed a rar for proprietory JMS implementation in Jboss4.0.1RC2. I have my -ds.xml as follows | | | stcms/QueueConnectionFactory | | | rastcms.rar | javax.jms.QueueConnectionFactory | JmsXARealm | | |

[JBoss-user] [HTTPD, Servlets & JSP] - access web application jboss

2004-12-17 Thread hatoug
hello, I have a web application on http://localhost/GedOnLine/index.html But I want to access to my application by entering : http://localhost How can I do ? Thanx. Steph NB : jboss3.2.1 and tomcat 4.1.24 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859

[JBoss-user] [Management, JMX/JBoss] - namespaces in -service.xml

2004-12-17 Thread GreyDeath
Hi, Is it possible to configure a namespace enabled xml parser for the -service.xml files? If how? Thanks Mike View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859027#3859027 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [Management, JMX/JBoss] - Scheduling a task(job) in JBoss

2004-12-17 Thread jaggybala
Hello Everyone, I have a Struts - Web Project with JBoss-3.2.5. Now, I want to make an automatic schedule - 'open this particular URL every 10 minutes'. I found "Quartz" for scheduling a job in Java. But, Is there any tool availabe already for scheduling, particularly for JBoss server ? Is thi

[JBoss-user] [Security & JAAS/JBoss] - Re: authenticate against underlying Linux OS

2004-12-17 Thread mrchucho
Actually, i finally was successful. I've been meaning to write up an explanation, but here it is in a nutshell: 1) use SysAuth: http://www.scribblin.gs/software/sysauth.html 2) implement your own subclass of UsernamePasswordLoginModule calling Sysauths's isAllowed method This assumes you want

[JBoss-user] [J2EE Design Patterns] - Re: Scheduling a Job in JBoss

2004-12-17 Thread jaggybala
Is this the Right Topic Area for my question? If not, please tell me where i have to post. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859023#3859023 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859023 -

[JBoss-user] [J2EE Design Patterns] - Scheduling a Job in JBoss

2004-12-17 Thread jaggybala
Hello Everyone, I have a Struts - Web Project with JBoss-3.2.5. Now, I want to make an automatic schedule - like 'open this particular URL every 10 minutes', etc. I found "Quartz" for scheduling a job in Java. But, Is there any tool availabe already for scheduling, particularly for JBoss server

[JBoss-user] [Messaging, JMS & JBossMQ] - Intercepting queue length

2004-12-17 Thread jplsaez22
Hello. I am a newbie in JBoss and I'm quite interested in usig JBossMQ. I would like to execute some especific code when the queue depth in a Destination goes under some defined threshold. I don't really know how to get it, so any advice will be very appreciated. Thank you very much. JP View

[JBoss-user] [EJB/JBoss] - Re: Hotdeployable

2004-12-17 Thread ebu
Have you found the solution? I have the same problem. And it is really annoying. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859019#3859019 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859019 --

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Multiple tomcat connectors with different servlets

2004-12-17 Thread markku.halinen
Ah, found the answer. http://www.jboss.org/index.html?module=bb&op=viewtopic&t=54182 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859017#3859017 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859017 ---

[JBoss-user] [Persistence & CMP/JBoss] - Re: Adding CMR fails

2004-12-17 Thread jbm166
Hi, Thanks for your answer. In JBoss 3.2.2, obviously the getB().add(relation) was commited immediately, since when the loop was iterating the second round the unique constraint was not triggered when creating a new B entity (Meaning that the foreign key had been set) Where it is clear that i

[JBoss-user] [Security & JAAS/JBoss] - Re: Fundamental performance problem with JaasSecurityManager

2004-12-17 Thread _alex
Hi. Sorry, may be I missed something. Was this issue resolved (I did not manage to find this item <376687> in the list)? In addition, I did not catch the idea of the following method (version 3.2.6) org.jboss.security.plugins.JaasSecurityManager lines 114-121: /** Get the currently authent

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problem with JBossMQ+MySQL standalone, no problem with D

2004-12-17 Thread ospri
I've tried the build.xml and jboss-service.xml you gave me, with still no luck, I think it's a DeployException, ClassNotFound, anyway. I could try to get 4.0.1 RC3 from CVS but I am a little in a hurry, so I don't have time to play with it now. I don't want to bother you more ... so I think i'l

[JBoss-user] [HTTPD, Servlets & JSP] - Multiple tomcat connectors with different servlets

2004-12-17 Thread markku.halinen
I'd like to configure two tomcat connectors running on different ports, for example connector 1 listening in port 8080 and connector 2 listenting to port 8880, and I would like to have servlet A mapped to connector 1 and servlet B to connector 2 (servlet A is a client interface and servlet B is

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS usage over WAN?

2004-12-17 Thread dangquanghuy33
i hava a project using jms over firewall, so can you show me the information for using. Current, I am using third party library : jproxy . That is a free product, but it can only send messagesings one way . The commercial product can send and receive at one. So i don't want use jproxy. Can you s

[JBoss-user] [Installation & Configuration] - run JBOSS as a service and modify port 8080

2004-12-17 Thread hatoug
Hello, how to do to run jboss as a service because I start jboss like this "run -c all > ../log/stdout.log" and how to do to modify listen port to 80 because jboss listen to 80 Thanx a lot Steph View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859009#385900

[JBoss-user] [Persistence & CMP/JBoss] - Re: JDBC Insert Data Not Commited

2004-12-17 Thread mremond
"[EMAIL PROTECTED]" wrote : You should not touch auto-commit in a managed environment. Application server will commit local transaction when the global one is committed. Ok. That what I thought. JBoss is acting as a wrapper regarding JDBC activity and transactions. Now, what I would like to kn

[JBoss-user] [Persistence & CMP/JBoss] - Re: JDBC Insert Data Not Commited

2004-12-17 Thread [EMAIL PROTECTED]
You should not touch auto-commit in a managed environment. Application server will commit local transaction when the global one is committed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859003#3859003 Reply to the post : http://www.jboss.org/index.html?mo

[JBoss-user] [Persistence & CMP/JBoss] - Re: Generated sql for Finder is wrong when xdoclet used

2004-12-17 Thread russelldb
Alexey, You are right. It was the Primary Key. It was a simple mistake on my part. I had forgotten to specifythe Primary Key field on the @ejb.bean tag. Thanks Russell View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859007#3859007 Reply to the post : http

[JBoss-user] [Persistence & CMP/JBoss] - Re: Adding CMR fails

2004-12-17 Thread [EMAIL PROTECTED]
How did it work in 3.2.2? Try http://www.jboss.org/wiki/Wiki.jsp?page=InsertAfterEjbPostCreate View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859006#3859006 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859006 --

[JBoss-user] [EJB/JBoss] - How to build EJB for JBoss 4.0

2004-12-17 Thread lennysim
I understand that different application servers have different ejb compilers. I have compiled EJBs for weblogic and websphere. Is there a way that I could modify these EJBs to run on the JBoss application server? If there is no way to use these EJBs, I would like a list of EJB compilation guidan

[JBoss-user] [Persistence & CMP/JBoss] - Re: Datasource under Jboss4

2004-12-17 Thread silbunn
Is the deployment of DS going to be included? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859004#3859004 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859004 ---

[JBoss-user] [Security & JAAS/JBoss] - Re: I want to secure my EJB components used by remote machin

2004-12-17 Thread _alex
Hello. my personal opinion: >From the position of the bean provider ("application component provider"), and >forgetting about instance-based access control, you should (in general case): 1) extract the list of all use cases, where you beans are going to be used; 2) generalize the list of corresp

[JBoss-user] [Persistence & CMP/JBoss] - Re: Datasource under Jboss4

2004-12-17 Thread [EMAIL PROTECTED]
No, not in a JAR at the moment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859001#3859001 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859001 --- SF email is s

[JBoss-user] [Persistence & CMP/JBoss] - Re: EJB Select not working

2004-12-17 Thread [EMAIL PROTECTED]
Try 3.2.6. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859000#3859000 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859000 --- SF email is sponsored by - The IT

[JBoss-user] [Persistence & CMP/JBoss] - Re: Generated sql for Finder is wrong when xdoclet used

2004-12-17 Thread [EMAIL PROTECTED]
Something is wrong with the generated DDs and/or primary key class? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858999#3858999 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858999 -

[JBoss-user] [EJB/JBoss] - Re: CMP 1.1 EJB from JBoss 3.0 to JBoss 3.2: DefaultDS ???

2004-12-17 Thread [EMAIL PROTECTED]
Yes, because in 3.2.6 JBossCMP is the default CMP engine for all CMP specs. | | Standard CMP EntityBean | ... org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager | | ... | If you want to use JAWS, switch back to JAWS persistence manager. View the origi

[JBoss-user] [Persistence & CMP/JBoss] - Re: Read only lock

2004-12-17 Thread [EMAIL PROTECTED]
Lock is required for the method invocation because we operate on the persistence context (initialize it, load data, update data, etc). What causes the timeout? Is it timeout to get an exclusive lock? If so, you will have to use Instance Per Transaction with commit option C. Or you could try http:

[JBoss-user] [Security & JAAS/JBoss] - I want to secure my EJB components used by remote machines.

2004-12-17 Thread Min-chang Cha
Hi all I am using JBoss 3.2.5 and jdk 1.4. I am planning to service ejb components from ways as ASP(Application Service Provider) or Bean Provider(mentioned from EJB specification doc) If I implement such a service, My components may be called by many clients(remote marchines) that want to use

[JBoss-user] [Security & JAAS/JBoss] - Re: No method permissions assigned to method=create, interfa

2004-12-17 Thread kalexm
Thank you very much for your help. That every method must have method permissions is understood, and its the way we do it. But astonishingly if I do not grant *, so grant rights to all methds, but on method level I cannot invoke the create method of the home interface anymore. The SecurityInter

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Getting tired of ClientAbortException: java.net.SocketE

2004-12-17 Thread lyapis
I had the same. Changing http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858989#3858989 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858989 --- SF email is sponsored by - The IT Product Guid