[JBoss-user] [Installation & Configuration] - JBoss has a weird caching strategy I think...

2004-07-14 Thread borg
Following problem: 1 BMP EntityBean consisting of a Long id, int value and Calendar updateTime and 1 Stateless SessionBean accessing the above EB. Both have transaction set to Required. I started a transaction at the SB which creates a new EB with some values. After that, in another transaction

[JBoss-user] [Security & JAAS/JBoss] - Retrieve Username after authentication

2004-07-14 Thread sorrentinov
Dear All, JBoss 3.2.5 work differently that 3.2.3 version becouse when authenticate (I use DatabaseServerLoginModule) the principal name doesn't contain a username but the role name How Can I obtain the username authenticate from HTTP request I used: Principal p = request.getUserPrincipal();

[JBoss-user] [EJB/JBoss] - Please help - CMR field is not populating

2004-07-14 Thread soubhratra
Hi all, I am facing a problem regarding CMR fields in my CMP ejbs. I have 2 CMPs. 1. user 2.Invitation Invitation CMP is realted to User CMP in 2 ways. User (sender) >> Invitation 1 - 1 mapping Invitation >> User (receiver) 1 - 1 mapping so my invitaion table contains two fields - sender and

[JBoss-user] [EJB/JBoss] - Re: findAll and Collection result optimization

2004-07-14 Thread loubyansky
The syntax is OFFSET X LIMIT Y. Also for future reference http://www.jboss.org/wiki/Wiki.jsp?page=LazyResultSetLoading View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842160#3842160 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=

[JBoss-user] [Beginners Corner] - Re: Deploying CMP to JBoss

2004-07-14 Thread loubyansky
JBoss uses BCEL for proxy generation. Is there another (application) version of BCEL somewhere in classpath? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842159#3842159 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [EJB/JBoss] - Re: increase passivate timeout of Entity Beans (RO)

2004-07-14 Thread loubyansky
max-bean-age in cache-policy-conf in jboss.xml. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842158#3842158 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842158 -

[JBoss-user] [Security & JAAS/JBoss] - Re: Roles dependent on username and a company.

2004-07-14 Thread rimmeraj
If you wrote your own CustomLogin Module did you not write your own protected Group[] getRoleSets(). That would allow you the query you wish. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842105#3842105 Reply to the post : http://www.jboss.org/index.html

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

2004-07-14 Thread nort
I want to remove a message with a special content for example. Is there a possibility to remove a message from the queue (not to consume it)? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842157#3842157 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [EJB/JBoss] - remote ejb client does not get RemoteException

2004-07-14 Thread [EMAIL PROTECTED]
I have a tiny EJB client running from the command line and I have a smalll session bean deployed to jboss. If I throw and EJBException, or a RuntimeException from one of the bean methods, I get not exception thrown at the client. I would have expected a RemoteException. Am I missing something.

[JBoss-user] [Installation & Configuration] - Re: jboss.bind.address parameter has no affect

2004-07-14 Thread [EMAIL PROTECTED]
The first version supporting global binding to an address is 3.2.3. Use the --host startup option to set the bind value. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842156#3842156 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mo

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Receive method Issue

2004-07-14 Thread syed_readiminds
I looked into that and it keeps on increasing as I am sending the messages, the only issue is to do with the "recieve"! I tried using a standalone client as well but in that case as well it is not returning the messages! Thanks, Arshad View the original post : http://www.jboss.org/index.html?m

[JBoss-user] [Installation & Configuration] - Re: jboss.bind.address parameter has no affect

2004-07-14 Thread timdrisdelle
We are having the EXACT same problem. Anyone out there with a solution? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842154#3842154 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842154 --

[JBoss-user] [Nukes User] - Re: Problem with new modules deploy

2004-07-14 Thread yxyang
I already find it out. JbossNukes is powerful! yang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842153#3842153 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842153 ---

[JBoss-user] [Performance Tuning] - Re: Aggregate Entity pattern and local home interface...

2004-07-14 Thread tomerbd
Well, I got the answer :) Its truely old and should not be used anymore as said in a design patterns book: anonymous wrote : Don't use the composite entity bean pattern :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842113#3842113 Reply to the post : ht

[JBoss-user] [Beginners Corner] - Re: tusc tutorial -> jboss dont bound jndi StoreAccessBean N

2004-07-14 Thread vashistvishal
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=36910 Follow this link and hopefully you will be get yr solution. Vishal. http://www.tusc.com.au View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842152#3842152 Reply to the post : http://www.jboss.org/

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Need help with QueueExample

2004-07-14 Thread genman
You can't connect to the JNDI server. Check the port, check with telnet, etc. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842151#3842151 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842151 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: connect to queue or topic from inside an applet?

2004-07-14 Thread genman
Which JBoss version? This was fixed in JBoss 3.2.5. Check your versions and changelists people. Here's what CVS says: revision 1.4.2.7 date: 2004/03/15 17:15:39; author: ejort; state: Exp; lines: +1 -132 Split the replaceProperties into a separate class so that client code using Strings do

[JBoss-user] [Nukes User] - Re: Menu edit?

2004-07-14 Thread MilesParker
"sgwood" wrote : | If you really want to have updated attributes come from the MBean descriptor, delete the relevant rows and restart Nukes. If the attributes must always come from the MBean descriptor, and thus cannot be updated via the UI, then remove the constructor tag on the MBean descri

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: org.jboss.mq.SpyJMSException: Cannot authenticate user

2004-07-14 Thread genman
Just a few guesses, but you should use the same JVM on the client side as on the server. Also, check that the OILServer port is open. You should be using UIL2 (see the FAQ) anyway. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842148#3842148 Reply to the

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Receive method Issue

2004-07-14 Thread genman
If you are just starting development, go with the 3.2 release. There are plenty of JMS examples out there that work that you should start with. Or, go to the jmx-console and check that the queue depth is > 0. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: slow insertion to MQ

2004-07-14 Thread genman
What is your JVM memory use? Look at the MessageCache setings. It could be that JBoss is paging those messages to disk. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842146#3842146 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&m

[JBoss-user] [Security & JAAS/JBoss] - Re: Roles dependent on username and a company.

2004-07-14 Thread rimmeraj
ok. i thinlk i get it now. the same user can be in multiple companies? If you kept the same solution but used a custom principal that contained all of the companies the princilpal then you would just have to check to see if company was contained the principal. See the thread about Custom Principa

[JBoss-user] [Nukes User] - Re: Problem with new modules deploy

2004-07-14 Thread yxyang
Hello, I am new to jboss nukes and just check the source code from cvs and build/deploy it myself. I have deployed successfully the TemplateModule and also i can access this module by the type the following link manually: http://localhost:8080/nukes/index.html?module=templatemodule However,

[JBoss-user] [Nukes User] - Re: Menu edit?

2004-07-14 Thread sgwood
For each module and theme, there are values in the nukes_services_attributes table in the database that are inserted from the MBean descriptor the first time the MBean is run. If you really want to have updated attributes come from the MBean descriptor, delete the relevant rows and restart Nuk

[JBoss-user] [Security & JAAS/JBoss] - Two levels of security-constraint?

2004-07-14 Thread craigdberry
There are two kinds of users in my system. All users have the role User; some also have the role Admin. I have set up a pair of security constraints in my web.xml, with the url pattern /* requiring User role, and a small, explicitly listed set of specific pages requiring Admin role in a separa

[JBoss-user] [Beginners Corner] - Re: tusc tutorial -> jboss dont bound jndi StoreAccessBean N

2004-07-14 Thread leondu
I followed almost every step but still got the following error: anonymous wrote : javax.naming.NameNotFoundException: StoreAccessBean not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:503) | a

[JBoss-user] [Nukes User] - Re: Menu edit?

2004-07-14 Thread MilesParker
wtf...the menu-block-service.xml doesn't seem to have anything to do w/ what actually shows up in the menu -- when I edit the title form the block editor, it updates somewhere, but not service.xml. arghh... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=384213

[JBoss-user] [Performance Tuning] - Aggregate Entity pattern and local home interface...

2004-07-14 Thread tomerbd
Hi Is the aggregate entity pattern still important now that we have (2.0) the local home interface in a perforamance prespective? One of the motives for the aggregate entity as i read in SUN site is : anonymous wrote : there are inter-entity bean relationships. Because entity beans are distrib

[JBoss-user] [Nukes User] - Re: Menu edit?

2004-07-14 Thread MilesParker
"Skully" wrote : I do not know if this will help, but I too had to modify the Menu block. I changed the service.xml and added permissions for new menu items, but they wouldn't show up. I even undeployed and redeployed the entire works, but they still wouldn't show up until I modified the modul

[JBoss-user] [EJB/JBoss] - increase passivate timeout of Entity Beans (RO)

2004-07-14 Thread pedrosalazar
Greetings, I have information in my Entity Beans (Read-Only) that I would like to extend the time without passivate. I mean, the information is very critical for high performance, and the load time (in ejbLoad()) takes about 500-1000ms, and I want to improve this, by extending the time for time

[JBoss-user] [Installation & Configuration] - sar deployment

2004-07-14 Thread psv
I am trying to deploy a sar file which has scheduling info . It is throwing the following warning and unable to deploy the dependent EJBs for the scheduled process. WARN [WebserviceClientDeployer] This is a webservice client deployment, but 'jboss.net:service=JSR109ClientService' is not regist

[JBoss-user] [Beginners Corner] - jbosscmp-jdbc.xml

2004-07-14 Thread nsr250
http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd";> java:/DefaultDS Hypersonic SQL true true true foreign-key UserBeanCM UserBean email email password

[JBoss-user] [Beginners Corner] - jboss.xml

2004-07-14 Thread nsr250
http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd";> UserManagementBean ejb/UserManagement UserBeanCM ejb/LocalUser View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38421

[JBoss-user] [Beginners Corner] - ejb-jar.xml

2004-07-14 Thread nsr250
http://java.sun.com/dtd/ejb-jar_2_0.dtd'> user-mgmt-beans UserManagementBean UserManagementBean com.rickhightower.auth.UserManagementHome com.rickhightower.auth.UserManagement com.rickhightower.auth.UserManagementBean Stateful Container

[JBoss-user] [Beginners Corner] - Deploying CMP to JBoss

2004-07-14 Thread nsr250
Hi, I got the following error messages when deploying a simple CMP to JBoss, any help will be appreciated: 16:29:54,378 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss-3.2.3/server/default/deploy/ContentManagement.ear 16:29:54,398 INFO [EARDeployer] Init J2EE application:

[JBoss-user] [Clustering/JBoss] - Re: JGroups Configuration With XML Element

2004-07-14 Thread bela
"jiwils" wrote : Could I also get the source for JGroups 2.2.4? What tag (if any) could I pull from CVS? I would like to apply these changes to that version (they seem unlikely to affect any other part of the code) since we are using JBoss 3.2.4 and my seperate client code (JGroups 2.2.5+) thr

[JBoss-user] [Clustering/JBoss] - Re: JGroups Configuration With XML Element

2004-07-14 Thread bela
Done (in CVS). If you happen to have some spare time, you could merge the 2 parse methods into 1, I think we could easily extract a common method used by the 2 parse() methods... Bela "jiwils" wrote : Your XMLConfigurator changes added a bug, and it makes your changes unlikely to work. |

[JBoss-user] [Security & JAAS/JBoss] - security context doesn't propagate in jboss scheduler

2004-07-14 Thread gnuorg
I wrote a scheduler class that implements Schedulable and put it into a .sar file. In the scheduler I called some 3rd party ejb component(deployed fine in jboss and I can acess ejb api with web app) which requires security. I used the 3rd party customized ClientLoginModule to do a login(), I pri

[JBoss-user] [Security & JAAS/JBoss] - Re: Roles dependent on username and a company.

2004-07-14 Thread ceasaros
That's correct I wrote my own getRoleSets() and I can get al the roles for every company for that user, but when the users authorization is checked the boolean isMember(Principal member) method of the Group is called here is where I need to check if the user has the correct role for that compan

[JBoss-user] [Nukes User] - Re: Menu edit?

2004-07-14 Thread Skully
I do not know if this will help, but I too had to modify the Menu block. I changed the service.xml and added permissions for new menu items, but they wouldn't show up. I even undeployed and redeployed the entire works, but they still wouldn't show up until I modified the module and block secur

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB Security

2004-07-14 Thread ceasaros
Maybe it's possible for you to use a filter instead of a servlet. (servlet2.3 specs). The filter is always executed before handling the request in a servlet. I though you can filter you're request before it's authenticated by Tomcat/JBoss but than again I think the authentication is executed bef

[JBoss-user] [Installation & Configuration] - How to map a URI to a filesystem directory

2004-07-14 Thread tsnowden552
Hello everyone, I have been trying to figure out how to map incoming requests to http://localhost/imagebase to an exploded directory /home/imagebase which contains all of our images and related files. I have been packaging imagebase into a WAR, which has worked fine, but we are in need of usin

[JBoss-user] [Security & JAAS/JBoss] - Re: ClientLoginModule works incorectly

2004-07-14 Thread Phantom
But we use 3.2.5:( View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842112#3842112 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842112 --- This SF.Net email is spons

[JBoss-user] [Security & JAAS/JBoss] - Re: Is it possible to deploy a security domain instead of al

2004-07-14 Thread ceasaros
Thanks looks like a solution, I look into it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842110#3842110 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842110 ---

[JBoss-user] [Security & JAAS/JBoss] - Access to HttpServletRequest in custom LoginModule

2004-07-14 Thread cmoesel
I need to access the request object in a custom LoginModule using JBoss 3.2.3. I cannot figure out, however, how to get access to the request object. Is this possible? I need this because I would like to use Yale's CAS (Central Authentication Service) to provide single sign-on among several di

[JBoss-user] [Installation & Configuration] - Re: loader repository problem

2004-07-14 Thread jae77
what is the new error that you get? if you removed the jboss.xml file and you aren't duplicating the load-repository definition anywhere else, i would think you'd also be getting a new error. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842108#3842108 Repl

[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic login page

2004-07-14 Thread ceasaros
I must be possible to make the login page dynamic using an server side action (e.g. a Struts action, login.do). In this action you can forward to the login in page you want depending on your module. Hope this is what you where looking for. View the original post : http://www.jboss.org/index.ht

[JBoss-user] [JCA/JBoss] - Re: Transaction enlist error

2004-07-14 Thread ms26368
I have resolved this issue. the issue was container configured with no entity bean locking so, two thread tries to access the same entity bean causing this error View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842104#3842104 Reply to the post : http://www.jbo

[JBoss-user] [Security & JAAS/JBoss] - Re: Roles dependent on username and a company.

2004-07-14 Thread ceasaros
Thank you for your reply but for me this isn't the solution, cause if have a dynamic company. In your solution only the 'id_usuario' can be replaced, what I would like to have is a database query like this: select roles from userroles where userid=? AND company=? In this query both userid and c

[JBoss-user] [Nukes User] - Re: Menu edit?

2004-07-14 Thread MilesParker
Hmm..ok, it appears I need a little more direction here. I tired editing JBOSS_HOME/server/default/nukes/menu-block-service.xml and the JBoss console reports: 13:46:20,968 INFO [MainDeployer] Deployed package: file:/F:/Java/jboss-3.2.3RC1 /server/default/nukes/menu-block-service.xml However,

[JBoss-user] [Security & JAAS/JBoss] - Re: ClientLoginModule works incorectly

2004-07-14 Thread rimmeraj
IN jboss 3.2.4 it is see http://www.jboss.org/index.html?module=bb&op=viewtopic&t=50661 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842101#3842101 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842101 ---

[JBoss-user] [Security & JAAS/JBoss] - Re: Application based security using evermind's RoleManager

2004-07-14 Thread edkocol
Thanks so much for the advice. I'm not sure how I would check if the JNDI name is correct since I did nothing (that I'm aware of) to create a JNDI name for this class. I thought I would see the RoleManager class in the jmx console but I'm begining to think I need to do more than palce a jar file

[JBoss-user] [Security & JAAS/JBoss] - ClientLoginModule works incorectly

2004-07-14 Thread Phantom
Scott, Due to this code in ClientLoginModule: |public boolean login() throws LoginException |{ | . | if (useFirstPass == true) | { | try | { | Object name = sharedState.get("javax.security.auth.login.name"); |

[JBoss-user] [Security & JAAS/JBoss] - single sign on with non jboss portal

2004-07-14 Thread dkuehner
Hi I have an application that uses jboss/tomcat app/web server. I want to be able to deploy this inside other portal applications. Now it gets complicated because I don't have control over the other portals. I have several clients and they have implemented different login / security mechanis

[JBoss-user] [Security & JAAS/JBoss] - Re: Application based security using evermind's RoleManager

2004-07-14 Thread auckyboy
ensure that the JNDI name is correct View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842097#3842097 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842097 --- This SF.

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB Security

2004-07-14 Thread auckyboy
fixed View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842096#3842096 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842096 --- This SF.Net email is sponsored by BEA W

[JBoss-user] [Management, JMX/JBoss] - Re: JBoss-JMX-Development tutorial?

2004-07-14 Thread tomerbd
well its ok :) i found a simple example (although without a full clinet but i managed without that) in the administration guide... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842095#3842095 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Security & JAAS/JBoss] - Re: Security exception when removing stateful EJB

2004-07-14 Thread auckyboy
destroy() is a different thread. If you call lc.login() in the destroy() method it works fine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842093#3842093 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842093 -

[JBoss-user] [Management, JMX/JBoss] - Re: An easier way to get attribute value of an mbean?

2004-07-14 Thread tomerbd
its ok i found it :) | InitialContext ctx = new InitialContext(); | ObjectName objectName = new ObjectName("objectName..."); | MBeanServer server = MBeanServerLocator.locateJBoss(); | out.println(server.getAttribute(objectName, "attrName")); | View the original post : http://www.jbos

[JBoss-user] [Installation & Configuration] - Re: loader repository problem

2004-07-14 Thread wtff
thanks for your reply, but I tried this as well and it doesn't work either. If I leave the jboss file out nothing changes. that is what is puzzling me so hard. I've created the smallest possible application which runs perfectly and just by adding the loader-repository fragment to the jboss-app

[JBoss-user] [Management, JMX/JBoss] - An easier way to get attribute value of an mbean?

2004-07-14 Thread tomerbd
Hi, Is there an easier way (I mean without the loop! I want to access the value directly...) to get the value of an attribute? (here is a code sample of what im using now...) | InitialContext ctx = new InitialContext(); | ObjectName objectName = new ObjectName("chap2.ex1:service=JNDIMap");

[JBoss-user] [Installation & Configuration] - Can U Help Me: javax.servlet.jsp.JspException: Missing messa

2004-07-14 Thread edisonpaul
Error when runing an application (JBoss/Ant/Struts/Windows2000/NO EJB) After deployed the application using Ant.. Then I started the application with http://localhost:8080/strutstest/index.jsp The browser gives Error --

[JBoss-user] [Beginners Corner] - Re: NoClassDefFoundError occured on a class file that DOES e

2004-07-14 Thread jae77
does this class extend another class that hasn't been deployed? i've seen this type of behavior when a class is extending another class, but the class that is being extended hasn't been deployed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842086#3842086

[JBoss-user] [Clustering/JBoss] - Re: JGroups Configuration With XML Element

2004-07-14 Thread jiwils
Could I also get the source for JGroups 2.2.4? What tag (if any) could I pull from CVS? I would like to apply these changes to that version (they seem unlikely to affect any other part of the code) since we are using JBoss 3.2.4 and my seperate client code (JGroups 2.2.5+) throws an exception

[JBoss-user] [Installation & Configuration] - Re: loader repository problem

2004-07-14 Thread jae77
look at the error message that was thrown w/ the exception. you only define the loader-repository tag inside the jboss-app.xml file. you need to remove that entry from the jboss.xml file that is packaged w/ your ejb. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtop

[JBoss-user] [Security & JAAS/JBoss] - Re: Security exception when removing stateful EJB

2004-07-14 Thread elaineqs
I'm using Jboss 3.2.3 with Tomcat. If i use the handle inside the doGet() or doPost() methods, all workds fine (i can remove the bean also). However, if i tried to access the bean inside the destroy method, it doesn't work. It seams that when destroy method is called, the Prinicipal is setted

[JBoss-user] [Beginners Corner] - JBoss on AS400

2004-07-14 Thread sujatha_kamal
Hello everyone, It will be of great help, if anyone can let me know, whether JBoss runs on IBM AS400 servers. Thanks in advance Best Regards, Sujatha. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842082#3842082 Reply to the post : http://www.jboss.org/in

[JBoss-user] [Security & JAAS/JBoss] - Application based security using evermind's RoleManager

2004-07-14 Thread edkocol
I have converted an application that was originally deployed to Oracle's J2EE AS. This application used evermind's RoleManager (included in the AS in oc4j.jar) The code to utilize the RoleManager is: com.evermind.security.RoleManager | manager = (com.evermind.security.RoleManager)new InitialC

[JBoss-user] [Clustering/JBoss] - Re: JGroups Configuration With XML Element

2004-07-14 Thread jiwils
Your XMLConfigurator changes added a bug, and it makes your changes unlikely to work. The try block at line 323 in the parse method that takes an Element as a parameter starts like this: try { | Node root=null; | | NodeList roots=root_element.getChildNodes(

[JBoss-user] [Security & JAAS/JBoss] - Re: Security exception when removing stateful EJB

2004-07-14 Thread auckyboy
I'll assume that you are using tomcat. I had the same problem. Its important to understand that the JAAS authenticated credentials are associated with a thread in tomcat. Try removing the the bean instance in the same thread that created it. It worked for me. View the original post : http://

[JBoss-user] [Security & JAAS/JBoss] - Re: Embedded Tomcat/JBOSS principal=null exception

2004-07-14 Thread auckyboy
Fixed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842079#3842079 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842079 --- This SF.Net email sponsored by Black H

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: org.jboss.mq.SpyJMSException: Cannot authenticate user

2004-07-14 Thread chuckharris
Sorry- I forgot to add that I am running Jboss 3.2.2 on a win2k. The client is running win2k prof server. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842076#3842076 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=384

[JBoss-user] [Security & JAAS/JBoss] - Re: application-policy doesn't work - always default securit

2004-07-14 Thread solso
Hello I've solved the Problem. In my Servlet I call a custom class which performs a kerberos login. In this class I had to put the configuration name of the application policy. Then everything works fine. See the code: String confname = "TestSecDomain"; | beanCallbackHandler = new BeanCallbac

[JBoss-user] [EJB/JBoss] - Re: findAll and Collection result optimization

2004-07-14 Thread cchris
In jbosscmp-jdbc.xml, I added the following query : ... ... findAll int int SELECT DISTINCT OBJECT(a) FROM App a LIMIT ?1,?2 I get the following exception : org.jboss.deplo

[JBoss-user] [Installation & Configuration] - Re: Mapping vitual servers to .war files

2004-07-14 Thread stiphout
Already using mod_jk2 - just can't figure out how to set it up to do what I mentioned in my first post... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842071#3842071 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842

[JBoss-user] [Installation & Configuration] - Re: loader repository problem

2004-07-14 Thread wtff
the descriptor fragments above are not being display correctly. Second try: --- | | application.xml | | | Test Application | | test.jar | | | | --- | jboss-app.xml | | | w

[JBoss-user] [Nukes User] - User areas

2004-07-14 Thread hair
I'm new to nukes, it looks promising but I cannot figure out a few things. Is it possible to setup (with permissions) user areas to the html module? For example: user mick can edit any page under url /nukes/mick/ user bob can edit any page under url /nukes/bob/ etc etc. Mick. View the origina

[JBoss-user] [Installation & Configuration] - loader repository problem

2004-07-14 Thread wtff
Specifying a loader-repository for an EAR causes JBoss to throw a ClassCastException. (using Jboss 3.2.5, JBoss 3.2.3 behaves the same) I have created a very simple "HelloWorld" EAR application containing only one single stateless local session bean with one helloWorld method in it. This applicat

[JBoss-user] [Nukes User] - Re: AbstractDeploymentScanner Errot

2004-07-14 Thread jae77
and the "nukes.last" dir should be created in "compiere/nukes". that is where the -service.xml files need to be deployed for the downloads module or else you will get startup errors b/c the classes are not yet available b/c the ear hasn't been loaded yet. View the original post : http://www.j

[JBoss-user] [Installation & Configuration] - Re: JBoss and postgres 7.4

2004-07-14 Thread rsachar
Hi, I am having the same problem getting postgres driver(pg74.214.jdbc3.jar) working with jboss. I get an error in deploying my application. It says... "Throwable... Could not create connection" I am using jboss3.2.3 and postgres7.4 My JBOSS_HOME is /usr/share/jboss I am able to log into psql us

[JBoss-user] [Messaging, JMS & JBossMQ] - org.jboss.mq.SpyJMSException: Cannot authenticate user

2004-07-14 Thread chuckharris
I just moved from Java 1.3.1_09 to 1.4.2_04 and am having a problem with sending jms. The problem occurs when a client (no jboss) tries to send a JMS message to a queue for an mdb. The exception thrown is: org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (java.net.Conn

[JBoss-user] [Nukes User] - Re: AbstractDeploymentScanner Errot

2004-07-14 Thread cooper
you need to create the directory compiere/nukes this is where you put the additional modules View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842064#3842064 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842064

[JBoss-user] [Nukes User] - AbstractDeploymentScanner Errot

2004-07-14 Thread sklakken
Hello, I am trying to deploy Nukes using a Compiere instance, and receive the following error. Basically, what I did was: 1) Copied the 'nukes' subdirectory from the nukes-1.1.0-mysql-RC2.zip into \compiere2\jboss\server\compiere, which created \compiere2\jboss\server\compiere\nukes with the

[JBoss-user] [JBoss Getting Started Documentation] - cannot find Sevelet super class when create new java class i

2004-07-14 Thread leonzhao
I am trying to create a servelet class using eclipse(+jboss-ide) . The package will be Âtutorial.web and the class name ÂComputeServletÂ. I Click on ÂBrowse... But only java.lang.Object is available, I cannot find HTTPSevelet as a superclass..Could you give me any idea? Thanks in advance. Leon

[JBoss-user] [Management, JMX/JBoss] - Deploying DynamicMBeans

2004-07-14 Thread jugma
Please could you let me know how I would deploy DynamicMBeans in JBoss 3.2.5. Any help would be much appreciated. Thanks, Jugma View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842062#3842062 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [Beginners Corner] - Error in creating MBean

2004-07-14 Thread MmarcoM
Hi all, i am using jboss 3.2.5, and i have an MBean (CastorJDO MBean) which has worked in all previuos version of jboss. but when deploying on 3.2.5 i got the following exception : 21:11:31,385 WARN [CastorJDOImpl] Unexcepted error accessing MBeanInfo for :ser vice=CastorJDO,name=null javax.m

[JBoss-user] [Installation & Configuration] - Re: Adv. classloading: ear with two wars

2004-07-14 Thread 101
G, no it's not. It just loads randomly, as expected after a little thinking. I tried in the war's with no luck. Oh well... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842059#3842059 Reply to the post : http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Installing Tapestry-3.0 classnot found issue

2004-07-14 Thread ibruell
After looking at the source code i saw that i need additional jars. ognl.jar from http://www.ognl.org/ and javaassist.jar from jboss. The tutorial said nothing about that :-( View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842058#3842058 Reply to the post :

[JBoss-user] [Performance Tuning] - Re: Increasing Memory for JBoss on Solaris

2004-07-14 Thread Lviz
hi BK in the "bin" folder is file "run.conf" there you can edit the JAVA VM options to pass ... cheers lviz View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842057#3842057 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [HTTPD, Servlets & JSP] - Re: How to disable session persistence ?

2004-07-14 Thread pcolagrosso
Hi, In order to disable the tomcat persistent session, I made the following change to the bundled tomcat configuration and it seems to work well for me. In the file deploy/jbossweb-tomcat50.sar/server.xml, change the existing DefaultContext element so that it looks as follows: |

[JBoss-user] [Installation & Configuration] - Re: AttributeNotFoundException when using ServiceBinding to

2004-07-14 Thread mounikap
hi Mark, I am facing same problem.Did you find a solution for this ? thanks in advance, Mounika. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842053#3842053 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842053 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: connect to queue or topic from inside an applet?

2004-07-14 Thread Hustenbolschen
OK the problem is much clearer now. I canÂt call qSession.createMapMessage() from inside an applet with qSession.createTextMessage("Banana") it wirks all fine? Why? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842052#3842052 Reply to the post

[JBoss-user] [Performance Tuning] - Increasing Memory for JBoss on Solaris

2004-07-14 Thread bhaskarkk
Can any one please tell me How can i increase VM memory for JBoss? I apreciate if you could also tell me Where can i find proper Jboss tuning information for high traffic sites! Thanks in advance BK View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842051#384205

[JBoss-user] [Installation & Configuration] - jboss.bind.address parameter has no affect

2004-07-14 Thread [EMAIL PROTECTED]
I have a server with two NICs. One NIC and IP for an internal admin network. And the other NIC and IP exposed as part of an intranet. I am trying to configure JBoss to use the IP for the intranet by adding -Djboss.bind.address= in run.bat. However, this is not working. The server starts up on

[JBoss-user] [Persistence & CMP/JBoss] - Re: strange invalid data problem

2004-07-14 Thread idocoding
looks like i found the problem (of course my guilt - not the one of jboss). it seems like i expected at one point the state of an transient field of an entity bean to be null after activation - this seemed to work after ejbCreate(), but not after ejbActivate(). I am still testing, but it makes s

[JBoss-user] [JCA/JBoss] - Re: how to restart database without restart jboss to run our

2004-07-14 Thread xiaoly
Adrian, specifically, will JBoss 3.2.3 has the connection checking support? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842046#3842046 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842046 -

[JBoss-user] [JCA/JBoss] - Re: how to restart database without restart jboss to run our

2004-07-14 Thread xiaoly
Thanks Adrian for the info. BTW, would you know from which version it starts to support the connection checking? We need this info. soon. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842045#3842045 Reply to the post : http://www.jboss.org/index.html?module

[JBoss-user] [EJB/JBoss] - Ear file libraries

2004-07-14 Thread trickard
In JBoss 3.2.4 I have packaged utility jars in the library of an EAR file. The EAR file was built using the SUN deploytool. The utility file was added to the ear's library by deploytool. The bean's in the ear cannot find the classes in the utility jars in the library. When I add the jars to the

[JBoss-user] [Management, JMX/JBoss] - 16:59:32,547 ERROR [WebLifecycleListener] Could not register

2004-07-14 Thread ittay
(jboss 3.2.5) i have a servlet listener, inside my ear in contextInitialized, i do the following code: MBeanServer server = (MBeanServer) MBeanServerFactory.createMBeanServer(); try { server.addNotificationListener(new ObjectName("jboss.web", "service", "

[JBoss-user] [Messaging, JMS & JBossMQ] - connect to queue or topic from inside an applet?

2004-07-14 Thread Hustenbolschen
Hello, IÃÂm trying to send a message to a queue and subscribe to a topic by an applet. I tried both secure an non secure applets, and it doesn`t work. Is there a possibilty to do this? I know IÃÂm only allowed to create an network-connection to the host i load the applet from. It works all fine

  1   2   >