[JBoss-user] [Javassist user questions] - Re: problem with xml parser

2004-10-16 Thread ksclarke
I had this same problem and came to the same conclusion. Is there a reason why org.xml. is not passed to the parent classloader like the rest of the jre classes? "dex" wrote : "dex" wrote : "dex" wrote : i fix problem with patch in Loader | | | patch | | ||| nam

[JBoss-user] [Beginners Corner] - servlet.jar ?

2004-10-16 Thread kcarey
i've just installed jboss 4.0. I'm trying to compile a servlet. there doesn't appear to be a servlet.jar anywhere in the jboss directories. What has it been replaced with ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851647#3851647 Reply to the post : h

[JBoss-user] [Installation & Configuration] - Re: using Oracle8i as the default DS

2004-10-16 Thread bassie
Hello Chester, could you please let me know if you have got the answer. I have exactly same problem. It works fine on jboss-4.0.0RC1 but not in jboss-4.0.0 thanks in advance. Bassie View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851645#3851645 Reply to the

[JBoss-user] [Security & JAAS/JBoss] - Re: J2EE Client Authenticated but Subject has no Principals

2004-10-16 Thread [EMAIL PROTECTED]
The content of the Subject depends on the login modules. The ClientLoginModule only started doing this as of jboss-3.2.4. Prior to that it only passed the security context to the internal thread local store. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38516

[JBoss-user] [Security & JAAS/JBoss] - Re: Form based auth + EJB Auth working, How to use form-auth

2004-10-16 Thread [EMAIL PROTECTED]
If you are using the embedded tomcat in jboss there will be automatic propagation of the security context required to access the servlet to the ejb tier. If the servlet accessing the ejb is not under a restricted context there is no security context to propagate however. View the original post

[JBoss-user] [Security & JAAS/JBoss] - Re: Multi-threaded Client JBOSS applications and JAAS

2004-10-16 Thread [EMAIL PROTECTED]
Subject.doAs support can be added via a custom interceptor in the client proxy to propagate the security context from the AccessControlContext in the same way that the current SecurityInteceptor propgates the security context established by the ClientLoginModule. View the original post : http:

[JBoss-user] [EJB/JBoss] - Re: Accessing an ejb with multiple client threads

2004-10-16 Thread [EMAIL PROTECTED]
The synchronization behavior could be encapsulated within the stateful session proxy via a custom client side interceptor if all users are doing so through the same instance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851639#3851639 Reply to the post :

[JBoss-user] [Security & JAAS/JBoss] - Re: JMX-Console Security in Jboss 4.0

2004-10-16 Thread [EMAIL PROTECTED]
Both the standard and default configurations have the JBossSecurityMgrRealm defined in the jbossweb-tomcat50.sar/server.xml. The only way your default config does not have this is if you removed it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851638#385163

[JBoss-user] [Security & JAAS/JBoss] - Re: Is it Valid to Cast Down the Principal

2004-10-16 Thread [EMAIL PROTECTED]
JBoss allows for a login module to install a custom principal that can be cast to the custom type. This is complete undefined by any spec though, so if you want portablity the extended security information would have to be part of the ejb call data. View the original post : http://www.jboss.

[JBoss-user] [Management, JMX/JBoss] - Re: MMB's AttributeChangeNotifaction not received by Listene

2004-10-16 Thread gunterze
I am using jboss-3.2.5. I was wondering, why you have declare in the service descriptor as code attribute of the mbean element. the resource class and not the MMB class. Thinking, that could be a reason, why server.addNotifiactionListener() add the handler into the listener registry of the res

[JBoss-user] [Management, JMX/JBoss] - Re: MMB's AttributeChangeNotifaction not received by Listene

2004-10-16 Thread [EMAIL PROTECTED]
I believe you right! Looking inside the code, with XMBeans when the target resource implements NotificationBroadcaster, then the 1st registry of the XMBean is never updated with listeners. Thinking of possible solutions, ideally the XMBean would forward notification "emitions" to the 2nd regis

[JBoss-user] [Nukes User] - Re: EJB/Database access

2004-10-16 Thread theute
The persistence of your module is defined by you. You can use anything you want EJB, JDBC, Hibernate... You can look at the existing modules they use org.jboss.nukes.core.ejb.EJBBase but you don't have to. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=385163

[JBoss-user] [Nukes User] - Re: EJB/Database access

2004-10-16 Thread jae77
it's really up to you. i believe that EJBBase provides default implementations for some of the methods required for the interface, so if you want to leverage that, go right ahead, otherwise, you have to provide the default impls yourself. pls make sure you normalize any fields that may link int

[JBoss-user] [Javassist user questions] - Re: How to write new operator in function body ?

2004-10-16 Thread chiba
I tested it but I could not cause the problem. Can you tell me details of "Type" type in your example? Is it a really top-level type? Is there Type.class? etc... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851629#3851629 Reply to the post : http://www.j

[JBoss-user] [Management, JMX/JBoss] - MMB's AttributeChangeNotifaction not received by Listener re

2004-10-16 Thread gunterze
What's wrong with this code: public class MyXMBeanImpl extends ServiceMBeanSupport | implements NotificationListener { | | public void handleNotification(Notification notif, Object handback) { | log.info("handleNotification, event: "+notif); | } | | protect

[JBoss-user] [Installation & Configuration] - Re: security-domain and JBoss 3.2.6

2004-10-16 Thread bbeloff
Fixed it! The file deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml had been over-written with the equivalent file from JBoss 3.2.5. With the correct file restored, the application-policy is found correctly. Bruno. View the original post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Installation & Configuration] - Re: EAR scoping

2004-10-16 Thread hoguester
Thanks for the reply - I actually do have the 'for pay' documentation, but I have not found it helpful in this instance. I do want to share resources from my EAR - and that is working well. Currently my WAR's WEB-INF is isolated and the contents of the EAR is available to the other WARS. My

[JBoss-user] [EJB/JBoss] - Re: How to access currently used Session Beans?

2004-10-16 Thread Frito
These are things the client shouldn't be aware of. You can configure the server (session bean) for the maximum number of instances. Pooling and caching is done by the server. When no instance is available for another user, an exception is thrown. Catch it and try again later on. The web console

[JBoss-user] [Messaging, JMS & JBossMQ] - Oracle JMS PersistenceManager issues JBoss 3.2.3 - Exception

2004-10-16 Thread tysmeister
Hi, I have the following setup; JBoss 3.2.3, JVM 1.4.2_04-b05 SPARC, Oracle 9.2.0.1.0. I have configured the JMS PersistenceManager to use Oracle for persisting JMS messages by removing the Hypersonic config file and replacing it with the Oracle one located in the docs/exampls/jms/oracle-jdbc2-

[JBoss-user] [EJB/JBoss] - Re: InvalidClassException when passing obj to session bean.

2004-10-16 Thread Frito
Set SerialVersionUID is calculated over the signature of your class. Provide you own ID when you want to change the signature and keep it compatible to older versions. You don't have to use the save JRE on client and server. But they should be compatible. View the original post : http://www.jbos

[JBoss-user] [Installation & Configuration] - Re: EAR scoping

2004-10-16 Thread Frito
"...but I need my WARs to see the EAR..." What do you need in your WAR out of your EAR? Just calling EJBs? Then isolate the EAR and the WARs and deploy all the needed resources in the apropriate unit (e.g. the bean interfaces in both units). Do you want to share classes? Then configure your WAR

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

2004-10-16 Thread lafr
"dsldsl" wrote : whats the DTD URL for oracle-ds.xml? It's | http://www.jboss.org/j2ee/dtd/jboss-ds_1_0.dtd";> | for JBoss 3.x.x and it's | http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd";> | for JBoss 4.0.x. View the original post : http://www.jboss.org/index.html?module=bb&op=viewt

[JBoss-user] [Nukes User] - Re: Display module to all users

2004-10-16 Thread pedrojosemartins
As i said before, i can only see it as administrator. If i'm not logged in or logged as a regular user, it does not show up in the modules menu, BUT i can access them via url. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851619#3851619 Reply to the post :

[JBoss-user] [Nukes User] - Re: Display module to all users

2004-10-16 Thread pedrojosemartins
No, i still can't see it. I've undeployed it, redeployed it and it still doesn't show up. Strangely enough, i can access it through the url http://localhost:8080/index.html?module=empresas Any ideas on how to break this one? Thanks. View the original post : http://www.jboss.org/index.html?modu

[JBoss-user] [Nukes User] - EJB/Database access

2004-10-16 Thread pedrojosemartins
I am trying to develop a module which collects information about enterprises and stores them in the database (i am using Mysql). I use a form which has three fields: name, url and description. In order to send the entered data to the database, i've figured out that i must use an EJB. My question

[JBoss-user] [HTTPD, Servlets & JSP] - Problem with storing a value into session object

2004-10-16 Thread thoste
When I call a JavaServerPage with the following simple code I got a NullPointerException. I just want to store the current date into a variable inside the session object. ... <%@ page import="java.util.*" %> <% session = request.getSession(true); String firstVisit = (String) s

[JBoss-user] [EJB/JBoss] - Re: InvalidClassException when passing obj to session bean.

2004-10-16 Thread rgc3679
Update The problem is solved. It was due to the server using a version of JRE 1.3.1 to check the serial version number of JComponent where the client was using a JRE 1.4.2 to check. Even though JBoss was running under JVM 1.4.2, and so was the client, it's the JRE that is used for checking the

[JBoss-user] [HTTPD, Servlets & JSP] - Re: integrating IIS with JBoss

2004-10-16 Thread keanthian
hi smitra, did you find any solution for this?? can you please share with us? thanks... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851370#3851370 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851370