[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Subscribe to a stopped queue

2004-09-13 Thread mjuergens
"genman" wrote : | Could you be more clear when you post? | | You can configure an MDB to be created in a stop state, and then manually start it via JMX. Search the forums. Refer to the jboss.xml DTD. Sorry I Âm new to ejb. I thought I have to stop the queue to stop delivery. Now it is

[JBoss-user] [JBoss.NET] - jboss.net Client

2004-09-13 Thread liuxuec
in "jboss-net.sar/" there is a client-config.xml, I know in AXIS there is client-config.wsdd, Are They have same action? if have,where is jboss.net client? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848101#3848101 Reply to the post : http://www.jboss.o

[JBoss-user] [Security & JAAS/JBoss] - Programaic security in JBoss for web application

2004-09-13 Thread sanjuthomas
hi all, I am trying to implement a web application in JBoss, it needs a comprehensive security method, so i am using JAAS for that, now the problem is, i dont want to describe my security role or the user roles int the web.xml file, rather than i need to implement it programatically, so that i

[JBoss-user] [Beginners Corner] - how to run default instead of all in jboss3.2.1 in tutorial?

2004-09-13 Thread yetang
i am following tusc tutorial with jboss3.2.1 eclipse2.1 lomboz2.1.2 jboss is running fine except a HAJNDI exception. after some research, i found HAJNDI is a mbean for cluster and i am running against "all" config. my questions are: 1. how to eliminate the HAJNDI problem? 2. if i run default con

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB class loading question

2004-09-13 Thread chuckharris
Thanks. Each mdb is a different class and listens on a different queue. Currently, I have the additional jars in each ear specified with a module tag in each application.xml. Will that do it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848098#3848098 R

[JBoss-user] [HTTPD, Servlets & JSP] - howto get standard context in tomcat 5

2004-09-13 Thread jae77
in tomcat 4, the standard context could be obtained in the fowllowing manner: | | WebApplication app = | |Object ctx = app.getAppData(); |Class standardContextClass = ctx.getClass(); | | this no longer seems to work in tomcat 5 and instead i get back an ObjectN

[JBoss-user] [Persistence & CMP/JBoss] - Getting the root cause of a RemoveException

2004-09-13 Thread jeffmparker
Is there any way of getting the root cause of a RemoveException in JBOSS. If I try to call remove on a CMP Entity Bean and the remove fails due to a Restrict delete rule set up in my DB2 Database I can see the DB2 exception on the console, but if I use the getCause() method on the RemoteExcepti

[JBoss-user] [EJB/JBoss] - Beginner question, deployment order problem

2004-09-13 Thread skidvd
I have an MDB that is accessed via the HTTPIL (instead of UIL2). It seems to be working just fine but has created a deployment order problem. If it is deployed after the container has been started all is fine. However, if it is deployed before container startup (ie. the jar file exists in the

[JBoss-user] [Messaging, JMS & JBossMQ] - Beginner question, deployment order problem

2004-09-13 Thread skidvd
I have an MDB that is accessed via the HTTPIL (instead of UIL2). It seems to be working just fine but has created a deployment order problem. If it is deployed after the container has been started all is fine. However, if it is deployed before container startup (ie. the jar file exists in the

[JBoss-user] [Management, JMX/JBoss] - Re: Beginner question: deployment order problem

2004-09-13 Thread skidvd
I have isolated this problem a bit further. It seems to be directly related to the HTTPIL transport mechanism I'm setting up via the invoker-bindings, proxy-factory and container-config elements in the following jboss.xml file: http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd";> | |

[JBoss-user] [Security & JAAS/JBoss] - Re: Valve or Filter?

2004-09-13 Thread grinch
Thanks, everyone, for the replys. I like the valve, so will stick with it for the time being and try to use the context.xml. Again, Thanks. -SJ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848089#3848089 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [Nukes User] - Re: Creating a Theme

2004-09-13 Thread mutpup
Despite the inital outta my element feeling, making these themes seems extremely easy, now I just need to get a handle on how to deploy this into my server. I have a folder called tutorial /tutorial /tutorial/images/images.gifor whatever /tutorial/style/style.css /tutorial/theme.html now ho

[JBoss-user] [Performance Tuning] - Re: prepared-statement-cache-size problem

2004-09-13 Thread genman
Verify your -ds.xml files against the DTD, using a tool such as xmllint. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848081#3848081 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848081 ---

[JBoss-user] [EJB/JBoss] - Deadlock in AbstractInstanceCache.tryToPassivate()

2004-09-13 Thread elidaniel
I am running into what's listed as bug 987389 on sourceforge. Scott Stark says: anonymous wrote : The problem is inconsistent | acquisition order of the two locks, m_cacheLock and cache id | BeanLock. | | AbstractInstanceCache.get | -> synchronizes(m_cacheLock) | -> CachePolicy.inse

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Creating queues in jbossmq-1.0.0Beta

2004-09-13 Thread genman
Translation: Take a look at this: http://www.jboss.org/wiki/Wiki.jsp?page=IsThereAStandaloneDistributionOfJBossMQ You then should add in the JMX services you need to create queues at runtime. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848079#3848079 Re

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: XA Exception during high volume with JDBC2 persistnce on

2004-09-13 Thread genman
3.2.3 has issues...might be related. Can you try on 3.2.6RC1? Also I assume your TID factory is set like so in jboss-service.xml true

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Subscribe to a stopped queue

2004-09-13 Thread genman
Could you be more clear when you post? You can configure an MDB to be created in a stop state, and then manually start it via JMX. Search the forums. Refer to the jboss.xml DTD. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848077#3848077 Reply to the po

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Configuring Some JMS Queues to be Persistent and Some to

2004-09-13 Thread genman
You can have multiple persistence managers. It's a bit of configuration work. You have to have them called different things (unique ObjectNames), but it can be done. You configure a queue to point to a destination manager. View the original post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB class loading question

2004-09-13 Thread genman
If you have your .ear files bundled correctly you won't have class loading issues. The MDB classes should be given different names (obviously). In your .ear put in a jboss-app.xml that defines a distinct class loader. View the original post : http://www.jboss.org/index.html?module=bb&op=viewt

[JBoss-user] [Nukes User] - Deployment for a new nukes user

2004-09-13 Thread baparna4u
Hello, I am new to nukes. I installed nukes. I am trying to run the program given in this site. But i am getting problems in deployment. I am also unable to figure out where my source code i.e .java file and class file has to be placed. I read the whole documentation you have given. The program

[JBoss-user] [JBoss Getting Started Documentation] - Re: DukeBank / Hypersonic: localDB vs. server

2004-09-13 Thread floorflux
I'm trying to get the DukeBank example to run and am getting the exact same message that you originally got: MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: ObjectName: jboss:service=Hypersonic,database=localDB state: NOTYETINSTALLED I Depend On: Depends On Me: jboss.jca:service=ManagedConnect

[JBoss-user] [Messaging, JMS & JBossMQ] - MDB class loading question

2004-09-13 Thread chuckharris
If I have 2 mdb's, one a test and one a production, that run in the same jboss instance(3.2.5), will the test mdb load classes from the jars in its ear and the prod load classes from its ear? Or will there be a class loading problem? Ideally, I'd have a test and production sever and not have

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Creating Custom Authenticators

2004-09-13 Thread mkoerdt
I didn't need to re-jar. I just unjared the Authenticator.properties from the catalina.jar inside server\default\deploy\jbossweb-tomcat50.sar. It creates the following directory org/apache/catalina/startup. Just leave the file there and define your authenticator. Hope this helps. View the o

[JBoss-user] [Installation & Configuration] - Configuring an MBean which will be loaded by a different cla

2004-09-13 Thread Ranjith Pillai
Hello All, I have an application.ear which contains a startup class (Startup class which extends ServiceMBeanSupport) for the application. I added an entry for this MBean in user-service.xml file. mbean code="my.module.configuration.MyStartup" name="MyFramework:service=MyStartup" attribute n

[JBoss-user] [Management, JMX/JBoss] - Re: JBoss & Quartz

2004-09-13 Thread Ironbeard
There's an example JBoss MBean in the Quartz distribution (org.quartz.ee.jmx.jboss). There's also an example deployment descriptor. Here's another example that creates a Quartz service with the name NTScheduler, using a Sybase datasource. | | | | | | jboss.jca:se

[JBoss-user] [Installation & Configuration] - Re: error deploy in jboss-3.2.5

2004-09-13 Thread jgbt
"psv" wrote : Remove the servlet.jar from the packaged war. ok. I wil try this at tonigth and tomorrow i post the result. thanks for all. []'s View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848068#3848068 Reply to the post : http://www.jboss.org/index.ht

[JBoss-user] [Installation & Configuration] - Deployment problem in JBoss 3.2.5

2004-09-13 Thread jzstancil
We have an application (myapp.war) which works in JBoss 3.2.1 and 3.2.3. I am trying to deploy it into JBoss 3.2.5 now. But, when I start JBoss 3.2.5, I get this error message: WARN [ServiceController] Problem starting service jboss.web.deployment:war=myapp.war,id=1185779839 MBeanException: or

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Hypersonic localDB.data file size limit

2004-09-13 Thread genman
2 gigs isn't very large, especially for a database. You can move it to a different disk. You can issue CHECKPOINT DEFRAG safely during server operation, though it stops the whole JMS server. I would suggest upgrading to HSQL 1.7.2. View the original post : http://www.jboss.org/index.html?mo

[JBoss-user] [Messaging, JMS & JBossMQ] - UserTransaction.begin behaves differently from 3.2.3 to 4.0.

2004-09-13 Thread harajuku_01
Hi Forum, Originally, I write a small external stand-alone client to use the UserTransaction from JBoss to send JMS message. I eliminate other extra JMS code and show my problem in the following. It works when talking to JBoss 3.2.3. However, if I run the same piece of code to talk to JBoss 4.0

[JBoss-user] [The Lizzard's corner] - Re: JBoss BPM/workflow Engine

2004-09-13 Thread [EMAIL PROTECTED]
What, you don't believe the quotes from Marc? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848064#3848064 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848064 ---

[JBoss-user] [Installation & Configuration] - how to specify message-destination in jboss.xml?

2004-09-13 Thread robisz
Hi! My session bean is sending JMS messages to a Message Driven Bean. In ejb-jar.xml I'm using message-destination-link: ... SendingEJB ... jms/TopicFactory javax.jms.TopicConnectionFactory Container

[JBoss-user] [Persistence & CMP/JBoss] - Re: Duplicate entity instances, differing field values (cach

2004-09-13 Thread bdbogg
For the sake of clarification, say I have an Account entity bean, which has a collection of EmailAddress entity beans (1 to many container managed relationship). A client calls a method getAcctInformation() on a session bean. This method looks up the Account bean, and iterates over the EmailAdd

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Duplicate messages received from Queue

2004-09-13 Thread jaded
The mean cause for such an action lies in the code itself: namely- the QueueSession being invalidated by an exception. The acknowledegement flow only when the QueueSession returns without an exception in case of a transacted queue. Make sure that the transacted value is false in case u want to u

[JBoss-user] [The Lizzard's corner] - JBoss BPM/workflow Engine

2004-09-13 Thread lbender
There is a rumor about the release of a JBoss BPM/Workflow Engine. Please check: JBoss: Open For Business Process Management Is there any truth to that? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848060#3848060 Reply to the post : http://www.jboss.org/

[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI bind taking 60s

2004-09-13 Thread k-town
After several days of investigation I finally have something working! The culptrit is VMWare! I have 2 physical machines, one of which has 2 VMWare sessions on it as well. I was doing all of my testing with the host OS and a separate physical machine. When I went into my network setup and disab

[JBoss-user] [Nukes User] - Re: Installation help

2004-09-13 Thread theute
install jboss 3.2.3. That's the only supported version for now View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848057#3848057 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848057 --

[JBoss-user] [Management, JMX/JBoss] - Re: Registering as a listener to server startup

2004-09-13 Thread [EMAIL PROTECTED]
Hi, the emition of the notification you want was added at v3.2+, so you won't find it in any of the 3.0.x versions. If you considering a more generic JMX notification listener you can try out also: http://www.jboss.org/wiki/Wiki.jsp?page=ExampleMinimalNotificationListener If you want you MBean

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduling Tasks

2004-09-13 Thread [EMAIL PROTECTED]
There is a new persistence framework + XML based persistence backend for XMBeans, see: http://www.jboss.org/wiki/Wiki.jsp?page=XMBeanAttributePersistenceService Regards /Dimitris View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848053#3848053 Reply to the pos

[JBoss-user] [EJB/JBoss] - Re: Invalidate RO+RW beans (questions)

2004-09-13 Thread pedrosalazar
More information: Invalidating through JMX (jboss.cache:GroupName=...), the Read-Only entity bean instance is invalidated. So, can I presume that the problem is in the RW bean? Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848051#

[JBoss-user] [Management, JMX/JBoss] - Re: Port Listener integrated with JBoss

2004-09-13 Thread [EMAIL PROTECTED]
Writing an MBean service would do. You'll have to manage your threads. Have a look at the second chapter of the free JBoss documentation: http://docs.jboss.org/admin-devel/AdminDevelTOC.html (you may have to register first). The jboss.jcml file refers to older jboss versions 2.x, so it is not c

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: EJB 4th Edition + JBoss Workbook now published

2004-09-13 Thread gerly
just try ... http://examples.oreilly.com/entjbeans4/workbook.zip View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848050#3848050 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848050

[JBoss-user] [Performance Tuning] - Re: Out Of Memory Errors

2004-09-13 Thread ryanho
As far as the hotdeploy related OutOfMemoryErrors are concerned, they affect most, if not all, applications, and not just Struts applications. It seems that the memory allocated to loaded classes are not released, and not the object instances. You can get the details from the following Wiki page

[JBoss-user] [Messaging, JMS & JBossMQ] - Duplicate messages received from Queue

2004-09-13 Thread jaded
hi, 1. I am subscribing to a persistent queue (JBOSS version 3.2.5). However even after consuming a message (the susbscriber throws No Exception) and sending the acknowledgement, the message is not being removed from the Queue. 2. The same message is not being sent again by the queue (if the cas

[JBoss-user] [HTTPD, Servlets & JSP] - Re: multiple virtual hosts

2004-09-13 Thread [EMAIL PROTECTED]
http://www.jboss.org/wiki/Wiki.jsp?page=VirtualHosts View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848044#3848044 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848044 ---

[JBoss-user] [JCA/JBoss] - Re: connectios are not returning to pool

2004-09-13 Thread gabramovic
Hi daywalkr, Did you ever resolve this issue as I have the same problem on my production server? Regards, Goran View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848043#3848043 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply

[JBoss-user] [Messaging, JMS & JBossMQ] - XA Exception during high volume with JDBC2 persistnce on Ora

2004-09-13 Thread pjdodds
When running high volumes of messages using JBossMQ and JDBC2 persistence we appear to get Oracle XA exceptions from the JMS provider. 15:35:46,501 WARN [TransactionImpl] XAException: tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=scsatlspap2//14743185, BranchQual=] errorCode=XAER_NOTA orac

[JBoss-user] [Beginners Corner] - is there a way to find out if a bean local or remote based o

2004-09-13 Thread ScotHall
Is there anyway to determine if an EJB is local or remote based on its name? or a better question... If I have a local and remote interface for an EJB, which interface will be used when I invoke it? Thanks for the help! View the original post : http://www.jboss.org/index.html?module=bb&op=v

[JBoss-user] [Security & JAAS/JBoss] - Re: Valve or Filter?

2004-09-13 Thread [EMAIL PROTECTED]
Yes, and as such, a filter has limited ability to control deep behavior of the container. In particular a filter has no ability to affect the declarative security model since it runs after the security checks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=384

[JBoss-user] [HTTPD, Servlets & JSP] - Re: multiple virtual hosts

2004-09-13 Thread fatbatman
I don't really have the time to setup apache at the moment, does anybody know if it can it be done in Tomcat/JBoss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848039#3848039 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[JBoss-user] [Persistence & CMP/JBoss] - Unique constraints and TransactionRolledbackLocalException

2004-09-13 Thread pgb
Hello, I have a CMP bean and a session bean. My session bean has this method: | public void updateVariable(VariableValue variableValue) { | VariableLocal variable; | | try { | variable = VariableUtil.getLocalHome().findByPrim

[JBoss-user] [HTTPD, Servlets & JSP] - Re: multiple virtual hosts

2004-09-13 Thread cuoz
IMO, this type of thing is most easily accomplished by front-ending your app server with Apache and letting the http server handle it. That's what we do and it works great. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848037#3848037 Reply to the post : h

[JBoss-user] [Security & JAAS/JBoss] - Re: Valve or Filter?

2004-09-13 Thread jburugupalli
HI, I think a Valve is more a Tomcat specific thing and it is only a internal tomcat implementation, were as a Filter should be supported by all servlet containers according to the servlet specifications. What do you say, am i right. regards Jani. View the original post : http://www.jboss.o

[JBoss-user] [Beginners Corner] - Re: jmx service and ejb

2004-09-13 Thread [EMAIL PROTECTED]
The your service has a dependency on the clustering service. Read about service dependencies in the online admin guide. http://www.jboss.org/docs/index View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848035#3848035 Reply to the post : http://www.jboss.org/i

[JBoss-user] [Security & JAAS/JBoss] - Re: Valve or Filter?

2004-09-13 Thread [EMAIL PROTECTED]
As of 3_2_6_RC1 one can sepecify valves as the web deployment layer using a WEB-INF/context.xml. In such a deployment the valves should be seen from the deployment archive, but I have not tried this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848034#38480

[JBoss-user] [Messaging, JMS & JBossMQ] - Subscribe to a stopped queue

2004-09-13 Thread mjuergens
Hi, can anybody tell me how to subscribe to a stopped queue. the background: I have an output queue which will send http request by a mdb to a remote site. Now I want to start my application even if the remote site is down without having so much errors. So my idea is to start the application wit

[JBoss-user] [Security & JAAS/JBoss] - Re: CustomLoginModule does not work because of cache?

2004-09-13 Thread [EMAIL PROTECTED]
So your coupling the list of active users to the cache. To ask that the cache maintains the user list and then is ignored in terms of deciding whether the login module stack should be executed is not a reasonable expectation as far as I can see. You can certainly maintain your own list, or write

[JBoss-user] [Nukes User] - Re: Installation help

2004-09-13 Thread iDreamer
i have resolve the 2th problem nick: admin pw:admin but the fist problem? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848031#3848031 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848031 --

[JBoss-user] [Nukes User] - Installation help

2004-09-13 Thread iDreamer
Hi i don't speek english very good but i try speak with you... i download 2 nukes's file 1)src 2)precompilated and preintegrated nukes with jboss the problem: 1)i execute the $jbossHome/dirSrcNukes/build/build but the log is: | configure: | | configure-libraries: | | configure-modules

[JBoss-user] [Beginners Corner] - Re: jmx service and ejb

2004-09-13 Thread trossmy
If I deploy an *.ear inside a service, I get a HAPartition not bound exception (ejb is clustered) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848029#3848029 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848029 --

[JBoss-user] [Beginners Corner] - Re: jmx service and ejb

2004-09-13 Thread [EMAIL PROTECTED]
Yes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848028#3848028 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848028 --- This SF.Net email is sponsored by: YOU B

[JBoss-user] [Security & JAAS/JBoss] - Re: How to use JAAS_HOWTO Filter example with Secure Servlet

2004-09-13 Thread [EMAIL PROTECTED]
If you can use declarative security in the web tier you should as the integration with ejb tier is automatic. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848027#3848027 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p

[JBoss-user] [Beginners Corner] - jmx service and ejb

2004-09-13 Thread trossmy
Is it possible to deploy an ejb inside a service (inside a *.sar) or the other way round a service inside an *.ear? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848026#3848026 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=r

[JBoss-user] [EJB/JBoss] - Re: Deploying EJBs sequentially:

2004-09-13 Thread Ranjith Pillai
Hello all, I have an application and I am porting this application.ear from Weblogic Application server to JBoss-3.2.3. This application.ear contain 5 beans. These beans are given in a specific order in application.xml. The intention is - the first bean act as a startup for the application

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: jboss banking sample

2004-09-13 Thread skouthon
It worked fine for me too ! Thanks Clara "clara" wrote : I have solved the problem by doing what noel.rocher suggests here | | http://www.jboss.org/index.html?module=bb&op=viewtopic&t=51726&start=10 | | (if the link does not work, go the "Getting started" forum, topic "javax.servlet.jar

[JBoss-user] [Javassist user questions] - Re: How to get an instance of a a class create with makeClas

2004-09-13 Thread chiba
No, you cannot avoid compiler errors if you directly access such fields as x1, x2, and x3. Instead, you must use the Java reflection API for accessing those fields. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848022#3848022 Reply to the post : http://www

[JBoss-user] [HTTPD, Servlets & JSP] - multiple virtual hosts

2004-09-13 Thread fatbatman
Hello, I'm using Tomcat 5 on JBoss 3.2.5. I am currently deploying a .war to "mydomain.com" by declaring in jboss-web.xml; / mydomain.com How can I also include "www.mydomain.com" with just a single page that redirects to "mydomain.com". I tried a few things none of which wo

[JBoss-user] Write-Trough-Caching or disabling of CMP-Cache possible?

2004-09-13 Thread Mika Koßmann
Is it possible to turn off the caching mechanism for CMP-beans or force JBoss to synchronize with the database before the COMIT? I tried the false option in standardjboss.xml without any effect. Is there a way to force jboss to write any change to the db immediatly? The default behaviour is to upd

[JBoss-user] [Clustering/JBoss] - Re: Caching of SLSB Proxies and Problems while lookup

2004-09-13 Thread trossmy
Yes, that works, thanks a lot! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848020#3848020 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848020 --- This SF.Net em

[JBoss-user] [Security & JAAS/JBoss] - Re: CustomLoginModule does not work because of cache?

2004-09-13 Thread jbriscoe
I don't want to set the cache to 0 because, I need a running list of authenticated users on the server. But at the same time I need the server to attempt to authenticate when a login is requested and the username and password is already authenticated. I think the JBoss or Tomcat code looks lik

[JBoss-user] [Security & JAAS/JBoss] - Re: How to use JAAS_HOWTO Filter example with Secure Servlet

2004-09-13 Thread leathurman
thanks for that Scott, I was hoping that wouldnt be the conclusion. A collegue of mine suggested another solution: "Use declarative security in the web tier (FORM) and once logged in the principal details are available in the EJB tier" Aparantly it was not with JBoss but the container login cal

[JBoss-user] [Security & JAAS/JBoss] - Re: Valve or Filter?

2004-09-13 Thread jae77
i just did a similar implementation of this the other day - it works quite well. one other thing to note is that if you choose to go the valve route, you will need to deploy those classes in the "lib" directory or else tomcat will throw ClassNotFound exceptions upon startup. View the origin

[JBoss-user] [Security & JAAS/JBoss] - Re: Endless Authentication Loop

2004-09-13 Thread dorst1
Thanks Scott for the response. I was not aware that one could create multiple security domains in the same deployable jar file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848016#3848016 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [Management, JMX/JBoss] - Re: How to dynamically register a MBean?

2004-09-13 Thread [EMAIL PROTECTED]
You cannot pass in a mbean for registration from another vm. You would have to use the createMBean method to create and register the mbean in question. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848014#3848014 Reply to the post : http://www.jboss.org/ind

[JBoss-user] [Security & JAAS/JBoss] - Re: Login Failure: all modules ignored !!!!

2004-09-13 Thread [EMAIL PROTECTED]
http://www.jboss.org/docs/index View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848013#3848013 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848013 --- This SF.Net

[JBoss-user] [Nukes User] - Re: Any plans for any other databases?

2004-09-13 Thread jaejong
Does RC3 works with oracle9i? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848012#3848012 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848012 --- This SF.Net em

[JBoss-user] [Management, JMX/JBoss] - How to dynamically register a MBean?

2004-09-13 Thread ben_vbe
Hi, Is it possible to register a MBean dynamically? If yes, how? I tried to use: | MBeanServer server = null; | Context c = new InitialContext(); | RMIAdaptor a = (RMIAdaptor)c.lookup("jmx/rmi/RMIAdaptor"); | server = new RMIConnectorImpl(a); | | ObjectName tpMBeanName = n

[JBoss-user] [Security & JAAS/JBoss] - Re: SSO between Zope and JBoss

2004-09-13 Thread guigui
Thanks for your answer ! In their docs (http://www.yale.edu/tp/cas/caswithjava.html), they propose to create a filter in the web.xml file. So i'm trying this. In my application, I use a Realm (with queries) in a form authenticated method. If I use the CAS filter (if it works), how can i get us

[JBoss-user] [HTTPD, Servlets & JSP] - Problems with httpsession, only occurs in Internet Explorer

2004-09-13 Thread millenium
Hi out there, i just programmed a little J2EE-Application and all works fine. Now I didn't wanted the user to use the long url: www.myurl.com:8080/something/index.jsp. So I open my page with a frameset so for the user the url is now: www.anotherurl.com OK this works fine with firefox. But in IE I

[JBoss-user] [Clustering/JBoss] - Re: Caching of SLSB Proxies and Problems while lookup

2004-09-13 Thread cherold
Hi I'dont remember where, but I found some hint about a solution: It seems some weak reference are hold inside the JNDI classes and not freed when geting an Exception on stale objects. So call the System GC (System.gc()) and get rid of them. In my case it works fine, even if not yet so beatiful

[JBoss-user] [Clustering/JBoss] - Re: Caching of SLSB Proxies and Problems while lookup

2004-09-13 Thread trossmy
Any progress on this topic, since I have the same problem... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848007#3848007 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848007

[JBoss-user] [EJB/JBoss] - Re: synchronizing a session bean

2004-09-13 Thread twutort
Thanks. Can you synchronize within a class that the session bean uses? For example, the session bean calls class B. Is it possible to do the synch within the class B and not inside the session bean? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848005#3

[JBoss-user] [Persistence & CMP/JBoss] - Re: Can XDoclet generate markups ?

2004-09-13 Thread fredatwork
Thanks for the info. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848004#3848004 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848004 --- This SF.Net email is spo

[JBoss-user] [Messaging, JMS & JBossMQ] - Connect with several MDB to one topic.

2004-09-13 Thread GBeutler
I've got one topic and try to register several remote EJB's to this topic. As long as there is only one MDB registered everything is fine. If I try to connect the next MDB to the topic I get : javax.jms.IllegalStateException: The durable subscription is already in use. How can I connect severa

[JBoss-user] [Persistence & CMP/JBoss] - Re: SessionFactory with name [java:/hibernate/SessionFactory

2004-09-13 Thread milesif
Hi everybody, I solved the problem looking at the sources of importXml(Element config) merthod of EjbInterceptor class. From that I found out that I had to add a parameter named bindName with value equal to the name of the hibernate session factory to be used in the jBoss.xml configuration file

[JBoss-user] [Beginners Corner] - Tutorial for building J2EE Applications using JBOSS and ECLI

2004-09-13 Thread tony1929
I am currently running the Tutorial for building J2EE Applications using JBOSS and ECLIPSE chapter 6 the tutorial shows you how to create a CMP. One of the methods is findByPrimaryKey. The problem is that when I call the findByPrimaryKey method : SupplierLocal supplier = this.suppLocalHome.find

[JBoss-user] [Beginners Corner] - MDBs and Transactions

2004-09-13 Thread PaulSmith001
All, I have an MDB listening on a topic. I start a bean-managed transaction within the bean. Let's say that whilst the transaction is executing, another message arrives on the topic. Will the container create another (or use another pooled) instance of the MDB to handle the message? If it doe

[JBoss-user] [Security & JAAS/JBoss] - Re: login module modify Subject

2004-09-13 Thread mttu
"[EMAIL PROTECTED]" wrote : You would have to write your own cache that accessed the Subject and removed the roles when they were removed externally. Thanks, is there any 'start documentation' for it ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847998#3

[JBoss-user] [Security & JAAS/JBoss] - Re: Login Failure: all modules ignored !!!!

2004-09-13 Thread adpaika
Thnx Scott... In the current implementation, my login module extends from 'AbstractServerLoginModule'. Does it mean that I need modify my login module for Jboss3.2.3?? How can I download the online manual for Jboss3.2.3 ??? Plz help me. Rgds, adp View the original post : http://www.j

[JBoss-user] [Installation & Configuration] - Re: Low JBoss performance on Linux

2004-09-13 Thread david.wade
Its true that in general you will see better performance on WinTel than LinTel. However, the differences are not as dramatic as the comparison of JBoss start-up times would suggest. WinTel especially, non-server based, when not running JBoss as a service, will give the JVM every ounce of CPU

[JBoss-user] [JCA/JBoss] - Re: connectios are not returning to pool

2004-09-13 Thread daywalkr
Hi, i have the same problem with jboss 3.2.5 and mysql.. my availableConnectionsCount is decreasing over time. I added the tag to the datasource service but, the decreasing of the connection pool did not stop. after 3 days my application throws "get no managed connection" exceptions and fails

[JBoss-user] [Management, JMX/JBoss] - Re: Mbean description

2004-09-13 Thread razor_harm
Use model dynamic mbeans or model mbeans instead of standard MBeans. You can use JBoss's XMBean implementation for Model MBeans. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847990#3847990 Reply to the post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [Persistence & CMP/JBoss] - Re: Can XDoclet generate markups ?

2004-09-13 Thread pilhuhn
It will for Xdoclet version 1.2.2, which hopefully will be out end of this month. If you can't wait, you can grab an Xdoclet snapshot of 1.2.2 from the usual place on sf.net. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847988#3847988 Reply to the post : h

[JBoss-user] [Installation & Configuration] - Jboss hang on HPUX

2004-09-13 Thread david.wade
JBoss 3.2.3 on HPUX 11 (dual CPU) on JDK 1.4.2_00 We have today seen two servers stop. Logging stops, everything stops and the CPU sits at 100% i.e. all of one processor. The application is very vanilla. There are no loops. Just plain JBoss.Net to SSB. We did have clustering enabled but

[JBoss-user] [Persistence & CMP/JBoss] - CMR - adding a child - how does tyhis work?

2004-09-13 Thread davout
I'm a little confused about how a CMP entity bean that has 1-M relationship link to a subordinate entity should handle the creation new subordinate entity instances. For instance,... class Entity1Bean { ejbCreate() Collection getEntity2List() // returns collection of 'Entit