[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=bbop=viewtopicp=3842086#3842086

[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] [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] - 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-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 :

[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=bbop=viewtopicp=3842093#3842093 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842093

[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=bbop=viewtopicp=3842095#3842095 Reply to the post :

[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=bbop=viewtopicp=3842096#3842096 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842096 --- This SF.Net email is sponsored by BEA

[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=bbop=viewtopicp=3842097#3842097 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842097 --- This SF.Net

[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

[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] - 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

[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=bbop=viewtopict=50661 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842101#3842101 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842101

[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: 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

[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=bbop=viewtopicp=3842104#3842104 Reply to the post :

[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 :

[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=bbop=viewtopicp=3842108#3842108 Reply

[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

[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=bbop=viewtopicp=3842110#3842110 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842110 ---

[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=bbop=viewtopicp=3842112#3842112 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842112 --- This SF.Net email is sponsored

[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

[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

[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

[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

[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

[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] [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+)

[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] [Beginners Corner] - ejb-jar.xml

2004-07-14 Thread nsr250
?xml version=1.0 encoding=UTF-8? !DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd' ejb-jar display-nameuser-mgmt-beans/display-name enterprise-beans display-nameUserManagementBean/display-name

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

2004-07-14 Thread nsr250
?xml version=1.0 encoding=UTF-8? !DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS 3.0//EN http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd; enterprise-beans !-- To add beans that you have deployment descriptor info for, add a file to your XDoclet merge directory called

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

2004-07-14 Thread nsr250
?xml version=1.0 encoding=UTF-8? !DOCTYPE jbosscmp-jdbc PUBLIC -//JBoss//DTD JBOSSCMP-JDBC 3.0//EN http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd; jbosscmp-jdbc java:/DefaultDS datasource-mappingHypersonic SQL/datasource-mapping create-tabletrue/create-table

[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

[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

[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 module

[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

[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 :

[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) |

[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

[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

[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

[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

[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=bbop=viewtopicp=3842146#3842146 Reply to the post :

[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 :

[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=bbop=viewtopicp=3842148#3842148 Reply to the

[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

[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

[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=bbop=viewtopicp=3842151#3842151 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842151

[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=bbop=viewtopict=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=bbop=viewtopicp=3842152#3842152 Reply to the post :

[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=bbop=viewtopicp=3842113#3842113 Reply to the post :

[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=bbop=viewtopicp=3842153#3842153 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842153

[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=bbop=viewtopicp=3842154#3842154 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842154

[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 :

[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=bbop=viewtopicp=3842156#3842156 Reply to the post :

[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] [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=bbop=viewtopicp=3842157#3842157 Reply to the post :

[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=bbop=viewtopicp=3842105#3842105 Reply to the post :

<    1   2