[JBoss-user] [Beginners Corner] - Re: News in JBoss 3.2.x
"railokesh" wrote : Hi Daniel, | We are also migrating from 3.0.7 to 3.2.5. I've heard it's improved, but I haven't tested yet. I am having problems with HTTPS connection on 3.2.5, but it should only be a configuration issue. Did you face any such problem? | Lokesh. I did not have any problem configuring the JBoss 3.2.5 but we are not using it yet, only I made some tests. After a long search a find some interesting changes in JBoss 3.2.x at http://www.jboss.org/wiki/Wiki.jsp?page=JBossCMP. Daniel. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848904#3848904 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848904 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Unknown query: public abstract emp.Employee emp.EmployeeHome
hai i am unable to get the findByQuery i am able to insert the records. but i am unable to get records any solution.. i configured all the deployment files correctelly but it is giving error like this. Exception in thread "main" javax.ejb.FinderException: Unknown query: public abstract emp.Employee emp.EmployeeHome.findByPrimaryKey(java.lang.Integer) throws java.rmi.RemoteException,javax.ejb.FinderException at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.jav a:245) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122) at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source) at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java: 135) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:53) at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) at $Proxy0.findByPrimaryKey(Unknown Source) at EmployeeSalInsertClient.main(EmployeeSalInsertClient.java:34) any solution plz help me i am in deep trouble.. thanks & regards bill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848903#3848903 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848903 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Running 2 server configurations
Hi, I am also facing a similar problem. I need to run 2 instances of JBoss in 1 machine. Also I want to deploy the same appplication (ear) in these two servers with the only difference that the two applications point to two different databases. Is it possible to have 2 instance running on a single machine? Is it possible to deploy the same application in that with the above mentioned manner? Is it a right method? Can anybody suggest a better approach? Thanks in anticipation... achayan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848901#3848901 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848901 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: hard locking on running app
I don't know if JDK 1.5 is ready or not. Could be it. You can get a stack trace with CTRL-\ on Linux and it might indicate if you have a dead lock or not. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848899#3848899 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848899 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Migrating from Jboss 3.0.0 to Jboss 3.2.5 - Help wtih Se
Use the -ds.xml connection files instead of the old -service.xml format. There are examples under the docs directory. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848898#3848898 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848898 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Port Listener integrated with JBoss
There are many examples on how to create a service: http://www.jboss.org/wiki/Wiki.jsp?page=ExampleHelloWorldService You should try to deploy the example and then extend it as needed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848897#3848897 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848897 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: EJB spec complaince check in 3.2.5
Edit the conf/jboss-service.xml file and set the VerifyDeployments attribute to false | | | true | false | false | true | | | true | | jboss:ser | vice=TransactionManager | jboss:service=WebService | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848896#3848896 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848896 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: DTDs (un)available
Its fixed. [EMAIL PROTECTED] build]$ wget http://www.jboss.org/j2ee/dtd/jboss-ds_1_0.dtd --21:58:49-- http://www.jboss.org/j2ee/dtd/jboss-ds_1_0.dtd => `jboss-ds_1_0.dtd' Resolving www.jboss.org... 216.24.169.35 Connecting to www.jboss.org[216.24.169.35]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 13,463 [text/plain] 100%[>] 13,46330.72K/s 21:58:50 (30.72 KB/s) - `jboss-ds_1_0.dtd' saved [13463/13463] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848894#3848894 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848894 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Plans for JBoss 4.0.x Documentation
Hi there, what are the plans JBoss 4.0.0 documentation? Specifically I'm looking forward to: - Getting Started - Migration from 3.2.x Thanks, Reiner View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848893#3848893 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848893 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - EJB spec complaince check in 3.2.5
I am migrating from 3.0.0 to 3.2.5. My application contains a bunch of EJBs which now dont deploy with 3.2.5 because it complains about non complaince with EJB specifications. Specifically 3.2.5 complains that RemoteExceptions have not been declared for EJB methods. While I should fix this in the code I am wondering whether there is a way to force 3.2.5 to deploy bypassing this complaince check. It's urgent we get this up as soon as possible since it's a production application. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848892#3848892 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848892 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - kerberos login module
I understand how to use Kerberos to authenticate and I userstand how to setup my jaas security domain in JBoss. But, I DON'T understand how to use Kerberos as my LoginModule... | | | | And I've added the following java-opts to by run.conf: -Djavax.security.auth.useSubjectCredsOnly=false | -Djavax.security.auth.useTicketCache=true | -Djava.security.krb5.realm=MYREALM | -Djava.security.krb5.kdc=MYKDC.NET | I can authenticate just fine in a stand-alone application. But when running from JBoss I get exceptions like so: javax.security.auth.login.LoginException: Pre-authentication information was invalid (24) I'm using a simple (j_security_check) login form to get the username and password. Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848891#3848891 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848891 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Migrating from Jboss 3.0.0 to Jboss 3.2.5 - Help wtih Servic
I am migrating an application from 3.0.0 to 3.2.5. I have a service.xml file which deploys mbeans for connection pools that I have included below. However 3.2.5 refuses to deploy this because it says the mbeans are already defined in jboss-jca.sar. It further appears that 3.2.5 has started using style sheets for defining connection pools. My question is, where should I place the .ds file that the style sheet looks for and how do I duplicate my managed connection pool setup that I have below in the ds file? I checked in docs/examples and there are ds files for oracle which I suppose I can use. But where is this file supposed to be placed? DefaultDS jdbc:oracle:thin:@10.99.99.247:1521:misec oracle.jdbc.driver.OracleDriver misec acc1001 jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper 0 100 5000 15 ByContainer jboss.jca:service=CachedConnectionManager jboss.security:name=JaasSecurityManager java:/TransactionManager jboss.jca:service=RARDeployer View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848890#3848890 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848890 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: News in JBoss 3.2.x
Hi Daniel, We are also migrating from 3.0.7 to 3.2.5. I've heard it's improved, but I haven't tested yet. I am having problems with HTTPS connection on 3.2.5, but it should only be a configuration issue. Did you face any such problem? Lokesh. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848889#3848889 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848889 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Creating queues in jbossmq-1.0.0Beta
Ye, I have added /docs/examples/jmx/* all files into server/jbossmq/deploy/ directory. Now It is working properly. Thanks a lot genman Thilina View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=384#384 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=384 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Need help with *.css
Hi everybody. I need your help on how to use *.css for servlet generated responses. Here is a piece of my web.xml AdminWeb Admin Servlet is.admin.AdminServlet 1 AdminWeb /servlet/adminweb in my index.jsp I wrote: So, when I browse http://localhost:8080/AdminWeb I see the page loaded correctly, using common.css. Now from this page I call servlet and page is generated( at http://localhost:8080/AdminWeb/servlet/adminweb?connect=connect). That page is not able to see common.css and I have no clue as how to point my link to styles/common.css. Your response is highly appreciated. Thank you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848886#3848886 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848886 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Sheduler after complete startup of JBOSS
i had same problem. so i insert scheduler configuration into buttom of jboss-service.xml like this. true com.kmp.web.mail.MailBoxCheck yy-MM-dd HH:mm 01-01-01 05:00 6 -1 and i make a jar including MailBoxCheck.class. i put it in \server\default\lib it works well but it has error msg. 11:16:56,928 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss:service=Scheduler state: CREATED I Depend On: Depends On Me: ] 11:16:56,928 INFO [URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL 11:16:57,008 INFO [Scheduler] Started jboss:service=Scheduler 11:16:57,068 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.3/server/default/conf/jboss-service.xml 11:16:57,078 INFO [Server] JBoss (MX MicroKernel) [3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)] Started in 45s:926ms 11:17:00,002 INFO [MailBoxCheck] info - perform, now: Tue Sep 21 11:17:00 JST 2004, remainingRepetitions: -1 11:18:00,008 INFO [MailBoxCheck] info - perform, now: Tue Sep 21 11:18:00 JST 2004, remainingRepetitions: -1 11:19:00,005 INFO [MailBoxCheck] info - perform, now: Tue Sep 21 11:19:00 JST 2004, remainingRepetitions: -1 anyway, it works well. so i do not care about error message above. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848884#3848884 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848884 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - CMP Bean seems to change its id in cache?
Hi I badly need your help! Using jboss3.2.3 and mysql, I create a cmp bean called userEJB. The problem is: when I create a new bean, jboss cache this bean in an existed bean instance, then this new bean using an old id will be store into my db; on the other hand, jboss insert a new user with new id but old user information into my db. my code goes here: Remote: | public interface User extends EJBObject { | public UserDetails getDetails() throws RemoteException; | public void setDetails(UserDetails userDetails) throws RemoteException; | } | Home: | public interface UserHome extends EJBHome { | | public User create(UserDetails userDetails) | throws RemoteException,CreateException; | | public User findByPrimaryKey(Integer pk) | throws FinderException, RemoteException; | | public Collection findByNameAndPwd(String userName,String pwd) | throws FinderException, RemoteException; | | public Collection findAll() | throws FinderException, RemoteException; | | public Collection findByUserName(String userName) | throws FinderException, RemoteException; | } Bean: public abstract class UserEJB implements EntityBean{ | private EntityContext context; | private UserDetails userDetails; | | public Integer ejbCreate(UserDetails userDetails) throws CreateException{ | setUserID(userDetails.getUserID()); | setDetails(userDetails); | return null; | } | |public void ejbPostCreate(UserDetails userDetails){} | | public UserDetails getDetails() { | userDetails = new UserDetails(); | userDetails.setUserID(getUserID()); | userDetails.setUserName(getUserName()); | userDetails.setPassword(getPassword()); | userDetails.setDate(getDate()); | return userDetails; | } | | public void setDetails(UserDetails userDetails) { | setUserName(userDetails.getUserName()); | setPassword(userDetails.getPassword()); | setDate(userDetails.getDate()); | } | | public void setEntityContext(EntityContext ctx){ | context = ctx; | } | public void unsetEntityContext(){ | context = null; | } | | public void ejbActivate(){userDetails = null; } | public void ejbPassivate(){userDetails = null; } | public void ejbLoad() {} | public void ejbStore() {} | public void ejbRemove() { } | | public abstract java.sql.Date getDate(); | public abstract String getPassword(); | public abstract Integer getUserID(); | public abstract String getUserName(); | | public abstract void setDate(java.sql.Date date); | public abstract void setPassword(String string); | public abstract void setUserID(Integer integer); | public abstract void setUserName(String string); | } ejb-jar.xml: | | UserEJB | spitoolkit.core.server.UserHome | spitoolkit.core.server.User | spitoolkit.core.server.UserEJB | Container | java.lang.Integer | false | 2.x | User | | userID | userName | password | date | userID | | | findByNameAndPwd | | java.lang.String | java.lang.String | | | | SELECT OBJECT(o) FROM User o | WHERE o.userName = ?1 AND o.password = ?2 | | | | | findAll | | | | SELECT OBJECT(o) FROM User o | | | | | findByUserName | | java.lang.String | | | | SELECT OBJECT(o) FROM User o | WHERE o.userName = ?1 | | | | jbosscmp-jdbc.xml | | UserEJB | core_user | | userID | userID | | | userName | userName | VARCHAR | VARCHAR(100) | | | password | password | VARCHAR | VARCHAR(100) | | | date | date | DATE | DATE | | what's wrong with it? thanks for any help! util: | public class UserDetails implements Serializable | { | private Integer userID; | private String userName; | private String password; | private Date date; | | public UserDeta
[JBoss-user] [The Lizzard's corner] - what happenned to the html-svg dtd files?
these seem to have disappeared in >= 3.2.4 - i found them to be quite useful. is there any way i can generate them on my own? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848882#3848882 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848882 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: java.rmi.RemoteException: Service unavailable with SFSB
Well I found the problem.It was a JBoss Client library conflict between Tomcat and JBoss. Always remember to update the Client libs when you upgrade your JBoss version Thanks Rolf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848879#3848879 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848879 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: JACC
anonymous wrote : I was under the impression that JACC provides the piece of authorization that JAAS misses, namely a dynamic form of enforcing policies. And like JAAS, you would implement a pluggable module, but unlike JAAS, the module is for authorization instead of authentication. This would essentially be another level of authorization that can essentially replace the application level of authorization defined by JAAS. | | I was hoping to provide a JACC implementation that would essentially handle my authorization needs to decide who can access what, etc. | That is correct. However, the permissions submitted to the policy for enforcement are the permission checks the container needs for the component dispatch. Its not a general mechanism for introducing arbitrary security policy statements. anonymous wrote : Say for example, I define a policy that says my ejb or some of its methods are off limits after 5:00 pm. So, I'd like my client app to be able to know how to handle it. | This could be enforced by a JACC policy provider, but I don't know how your client app would handle it. They are simply going to get a security access exception. The JACC contract does not allow for a custom exception here. anonymous wrote : Can an application developer use JACC or a JACC policy provider implementation (namely, are there api's that I can program to?)? | No. The JACC contract is between the security provider and the application server. You can gain access to the JACC apis and make custom permission checks if your policy provider supports that. I think more generally there needs to be some support for application level integration similar to the custom security proxy stuff we have, but I have not thought much about what makes sense yet. See the following preliminary wiki page describing the current JACC implementation and configuration: http://www.jboss.org/wiki/Wiki.jsp?page=JACC If you pursue writing a custom JACC implementation and have issues bring them up on the Security on JBoss development forum. Likewise, if you think there should be application deployment level hooks into the jboss JACC service to simplify custom authorization logic bring that up there as well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848878#3848878 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848878 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: java.rmi.RemoteException: Service unavailable with SFSB
More info: If I run a the same client within JBuilder it is working but as soon as I run the client on tomcat the remote interface creation failes. Any idea what it might be the problem here ? Cheers Rolf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848877#3848877 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848877 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: LDAP Security Realm problem
"[EMAIL PROTECTED]" wrote : Unless there is a deployment that references the domain via a security-domain element there will be no binding. The bindings in jndi are done lazily on first lookup. Many thanks Scott... it was a dumb question then. :| I've included a spurious Session bean that references that domain and all is now cool. Cheers, Andrew. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848876#3848876 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848876 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - UnknownPathException: don't know how to do EJB-QL queries
Dear fellow, I have been trying without success to perform a simple (at least, I think so) EJB-QL query to retrieve all users belonging to a business partner. Here is my scenario: -> PostgreSQL 7.3.2 (RedHat Linux 8.0) -> JBOSS 3.2.5 (Java 2 SDK 1.4.2_05/RedHat Linux 9.0) -> CMP 2.0 As I said, I have two EJBs: 1) UserEJB (UserEJB shcema) 2) BusinessPartnerEJB (BusinessPartnerEJB schema) UserEJB has a finder named findByBusinessPartnerId which keeps throwing a UnknownPathException, stating that EJB-QL sentence failed: - xdoclet tags that generates finder: * @ejb.finder *description = "query to retrieve all users from a business partner" *unchecked = "true" *signature="java.util.Collection findByBusinessPartnerId(java.lang.Integer businessPartnerId)" *query="SELECT OBJECT(o) FROM UserEJB AS o WHERE o.businessPartner.businessPartnerId=?1" exception thrown when deployed: Error compiling EJB-QL statement 'SELECT OBJECT(o) FROM UserEJB AS o WHERE o.businessPartner.businessPartnerId=?1'; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.UnknownPathException: In path field is not a cmr field: at line 1, column 59. Encountered: "businessPartner" after: "o.") -- Here is full source code list of UserEJB.java: package py.com.roshka.wops4.common.user.ejb; import java.rmi.RemoteException; import java.util.Collection; import javax.ejb.CreateException; import javax.ejb.EJBException; import javax.ejb.EntityBean; import javax.ejb.EntityContext; import javax.ejb.FinderException; import javax.ejb.RemoveException; import javax.naming.NamingException; import py.com.roshka.wops4.common.businessPartner.interfaces.BusinessPartnerEJBLocal; import py.com.roshka.wops4.common.businessPartner.interfaces.BusinessPartnerEJBLocalHome; import py.com.roshka.wops4.common.businessPartner.util.BusinessPartnerEJBUtil; import py.com.roshka.wops4.common.user.data.UserEJBData; /** * @author PABLO JAVIER * * @ejb.bean description="User" * display-name="User EJB" * name="UserEJB" * primkey-field="userName" * schema="UserEJB" * type="CMP" * cmp-version = "2.x" * view-type="local" * * @ejb.facade * view-type = "remote" * * @ejb.util generate = "physical" * * @ejb.persistence table-name = "wops4_users" * * @ejb.value-object * name = "User" * match = "*" * * @ejb.finder *signature="java.util.Collection findAll()" *query="SELECT OBJECT(o) FROM UserEJB o" * * @ejb.finder *description = "query to authenticate and get user data" *unchecked = "true" *signature="py.com.roshka.wops4.common.user.interfaces.UserEJBLocal findByUserNameAndPassword(java.lang.String userName, java.lang.String password)" *query="SELECT OBJECT(o) FROM UserEJB o where o.userName=?1 AND o.password=?2" * * @ejb.finder *description = "query to retrieve all users from a business partner" *unchecked = "true" *signature="java.util.Collection findByBusinessPartnerId(java.lang.Integer businessPartnerId)" *query="SELECT OBJECT(o) FROM UserEJB AS o WHERE o.businessPartner.businessPartnerId=?1" * */ public abstract class UserEJB implements EntityBean { /** * @ejb.persistence *jdbc-type="VARCHAR" *sql-type="varchar(20)" * */ public abstract String getUserName(); public abstract void setUserName(String userName); /** * @ejb.persistence *jdbc-type="VARCHAR" *sql-type = "varchar(20)" */ public abstract String getPassword(); /** * @ejb.interface-method */ public abstract void setPassword(String password); /** * @ejb.persistence */ public abstract Boolean getEnabled(); public abstract void setEnabled(Boolean enabled); /** * @ejb.persistence *jdbc-type="VARCHAR" *sql-type = "varchar(40)" */ public abstract String getFirstName(); public abstract void setFirstName(String firstName); /** * @ejb.persistence *jdbc-type="VARCHAR" *sql-type = "varchar(40)" */ public abstract String getLastName(); public abstract void setLastName(String lastName); /** * @ejb.persistence *jdbc-type="VARCHAR" *sql-type = "varchar(80)" */ public abstract String getEmail(); public abstract void setEmail(String email); /** * @ejb.persistence *jdbc-type="VARCHAR" *sql-type = "varchar(80)" * @return */ public abstract String getAltEmail(); public abstract void setAltEmail(String altEmail); /** * @ejb.persistence *jdbc-type="VARCHA
[JBoss-user] [Security & JAAS/JBoss] - Re: LDAP Security Realm problem
Unless there is a deployment that references the domain via a security-domain element there will be no binding. The bindings in jndi are done lazily on first lookup. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848873#3848873 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848873 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [News & Announcements] - 4.0.0 Release Available
The 4.0.0 release is available for download from here: 4.0.0 Release Change notes can be found here: Changes between 4.0.0 and 4.0.0RC2 Changes between 4.0.0RC2 and 4.0.0RC1 RC1 Notes View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848872#3848872 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848872 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - LDAP Security Realm problem
Hi folks, My apologies if this is a dumb question, but I've looked through the FAQ, the Admin Guide etc. and I'm none the wiser at this stage. When I have an LdapLoginModule and ClientLoginModule on the client side all works perfectly, but when I try to set up the LDAP domain server-side the weirdness starts. I don't see any error message in the logs at all, but the domain simply does not appear in the JNDI tree at all. My login-config lists a number of domains, all of which appear under jaas:/DomainName, but the LDAP domain is missing. I'm running JBoss 3.2.5, and my login-config.xml looks like the following: | | | | | | com.sun.jndi.ldap.LdapCtxFactory | ldap://server.my.net:port/ | simple | uid= | userid | roleName | ,ou=People,dc=company,dc=net | cn=JBossSX Tests,ou=Roles,o=mycompany | MD5 | base64 | | | | | (other domains) | | | The (partial) result of a look at the JNDIView in the JMX Console: | +- jaas (class: javax.naming.Context) | | +- JmsXARealm (class: org.jboss.security.plugins.SecurityDomainContext) | | +- DBDomain (class: org.jboss.security.plugins.SecurityDomainContext) | | +- jbossmq (class: org.jboss.security.plugins.SecurityDomainContext) | | +- HsqlDbRealm (class: org.jboss.security.plugins.SecurityDomainContext) | All my other realms/domains are present, including a DbLoginModule defined one, but the Ldap domain is missing. Is there anything obvious that might cause such behaviour? Thanks, Andrew. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848871#3848871 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848871 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Problem with simple 1-to-1 Relation with xdoclet and unk
Perhaps I should downsize my question for a start: Is it possible to do a CM relation on an unknown primary key in JBoss? Unknown primary Keys being the ones mentioned in the EJB 2.0 Spec in section 10.8.3 Xdoclet code would still be nice :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848870#3848870 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848870 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Classloader problems between 3.2.5 and 4.0.0
Sourceforge: http://sourceforge.net/tracker/?group_id=22866&atid=376685 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848869#3848869 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848869 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - calling local EJBs from an MBean
When I try to call a local EJB from an MBean, I am forced to add a prefix of "local/" to the bean that I am trying to invoke. Is there any way to change this behavior? Code Example: MyLocalHome home = (LocalHome)naming.lookup(local/BeanName); | MyLocal bean = home.create(); Config Example: |Local Bean |BeanName |myPackage.MyLocalHome |myPackage.MyLocal |myPackage.MyLocalBean |Stateless |Container | Can anyone help me out? Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848868#3848868 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848868 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Classloader problems between 3.2.5 and 4.0.0
I still have the problem, even with standard config. I'm sorry if this isn't the proper place for a complete bug report. If you need a downloadable example, please point me to the proper place and I'll file a bug and add an attachment (assume you use bugzilla). Description: Classes seem to be loaded, first come first served, and aren't overridden based on SAR. SAR S1: META-INF/jboss-service.xml Axis.jar MBean1.jar SAR S2: META-INF/jboss-service.xml Axis.jar MBean2.jar S1 and S2 contain different versions of Axis. S1 and S2 do not have MBeans in common. S1 is loaded before S2. The S1 version of the Axis classes are used within calls to S2's MBean. This is causing NoSuchMethodErrors because of differences in sigs between Axis versions. This should be easily reproducable by a developer. Likewise in my case I use a different version of commons-logging. My SAR contains the commons logging jars, and is loaded before JBoss' jbossweb-tomcat50.sar. This causes the following error on shutdown: 15:30:19,830 ERROR [HostConfig] Error undeploying web application at context path java.lang.NoSuchMethodError: org.apache.commons.logging.LogFactory.release(Ljava/lang/ClassLoader;)V at org.jboss.web.tomcat.tc5.WebCtxLoader.stop(WebCtxLoader.java:118) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4546) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:952) at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:670) at org.apache.catalina.core.StandardHost.remove(StandardHost.java:946) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1028) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1005) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:351) ... If you need more information to verify this, let me know what to do and where to go to do it. Thanks, Jim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848866#3848866 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848866 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - MDB Not deployed on AIX
Hi! I'm trying to deploy an EAR that contains a MDB. My application uses an ALL Jboss configuration. When I try to deploy this EAR on Windows the MDB is deployed OK. But, when I try to deploy the application on AIX (with the same JBoss configuration) the following error happen: 2004-09-20 17:35:31,189 WARN [ServiceController] Problem starting service jboss.j2ee:binding=message-driven-bean,jndiName=local/QuotaTaskRunner,plugin=invoker,service=EJB RuntimeErrorException: java.lang.NoClassDefFoundError: $Proxy103 Cause: java.lang.NoClassDefFoundError: $Proxy103 at org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java(Compiled Code)) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java(Compiled Code)) 2004-09-20 17:35:33,217 WARN [QuotaApplicationProperties] qtaapp.properties properties could not be loaded. 2004-09-20 17:35:36,422 ERROR [URLDeploymentScanner] Incomplete Deployment listing: MBeans waiting for other MBeans: ObjectName: jboss.j2ee:binding=message-driven-bean,jndiName=local/QuotaTaskRunner,plugin=invoker,service=EJB state: FAILED I Depend On: Depends On Me: RuntimeErrorException: java.lang.NoClassDefFoundError: $Proxy103 Cause: java.lang.NoClassDefFoundError: $Proxy103 MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: ObjectName: jboss.j2ee:binding=message-driven-bean,jndiName=local/QuotaTaskRunner,plugin=invoker,service=EJB state: FAILED I Depend On: Depends On Me: RuntimeErrorException: java.lang.NoClassDefFoundError: $Proxy103 Cause: java.lang.NoClassDefFoundError: $Proxy103 Anybody knows what is wrong with this configuration? Thanks in advance, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848862#3848862 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848862 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Classloader problems between 3.2.5 and 4.0.0
A bug report with an explicit usecase or testcase is needed. The default config uses different default scoping on ears, jndi and wars. The standard config is equivalent to the 3.2.5 default config in terms of the class loading behavior. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848860#3848860 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848860 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: bank tutorial on jboss-4.0.0RC1
will this guide be free as the 3.x version? Because right now i cant see any 4.0 getting started guide on the public site. m.logemann View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848859#3848859 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848859 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Jboss 3.2.1 stop answer
People, I am using Apache 2.0.50 (for HP-UX) and JBoss 3.2.1 - Tomcat 4.1.24 with mod_jk2 and JDK 1.4.2. After some hours, even some days, Jboss 3.2.1 completely stop answer and the jmx-console doesn't respond. Just before JBoss stop answer, on the Apache's log you can see: Wed Sep 15 14:03:23 2004] [error] channelSocket.receive(): Error receiving message body -1 232 [Wed Sep 15 14:03:23 2004] [error] workerEnv.processCallbacks() Error reading reply [Wed Sep 15 14:03:23 2004] [error] ajp13.service() ajpGetReply recoverable error 12 [Wed Sep 15 14:03:24 2004] [error] channelSocket.receive(): Error receiving message body -1 232 [Wed Sep 15 14:03:24 2004] [error] workerEnv.processCallbacks() Error reading reply [Wed Sep 15 14:03:24 2004] [error] ajp13.service() ajpGetReply recoverable error 12 [Wed Sep 15 14:03:25 2004] [error] channelSocket.receive(): Error receiving message body -1 232 [Wed Sep 15 14:03:25 2004] [error] workerEnv.processCallbacks() Error reading reply [Wed Sep 15 14:03:25 2004] [error] ajp13.service() ajpGetReply recoverable error 12 [Wed Sep 15 14:03:25 2004] [error] channelSocket.receive(): Error receiving message body -1 232 [Wed Sep 15 14:03:25 2004] [error] workerEnv.processCallbacks() Error reading reply [Wed Sep 15 14:03:25 2004] [error] ajp13.service() ajpGetReply recoverable error 12 Any body can help me? thanks Castreq View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848857#3848857 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848857 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: DatabaseServerLoginModule - Bad Password
Sorry, I've forgot to post that I've finally solved the problem. I've added a column rolegroup to the database and set the rolesQuery in login-config.xml to: select role,'Roles' from customerejb where ucid=? One thing that confused me a little was the fact that when I set the query to select role, rolegroup from customerejb where ucid=? the login fails because of an invalid role (role=null in the debug output). when I figured this out, the rest was easy to solve. @Scott.Stark: thanks for your help. cu, martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848856#3848856 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848856 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Recovering from external JMS provider failure
Moderated: Read This First Most likely it has something to do with transaction timeouts, i.e. your mdb requests are not completing properly. If Tibco doesn't complete the requests jboss cannot teardown the connection, which means it doesn't get to the reconnect logic. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848855#3848855 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848855 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: TransactionManager - error in delist; already committed
The fix was after 3.2.6RC1 http://cvs.sourceforge.net/viewcvs.py/jboss/jbosscx/src/main/org/jboss/resource/connectionmanager/TransactionSynchronizer.java?rev=1.1&view=log + related modifications. If you closed your connections like you are supposed to, you wouldn't even get these problems. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848854#3848854 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848854 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Classloader problems between 3.2.5 and 4.0.0
I don't have any trouble under 3.2.5. With 4.0, classloader isolation seems broken. I can specify a setting for my MBean, but a jar in a previously loaded sar is used instead. I can package my application into a sar (before all jars were tossed in the deploy dir), but have the same problem with a previously loaded jar being used instead of my jar. This also causes problems with JBoss sars. For example now the commons-logging packages in my sar are used instead of the ones that ship with the Tomcat sar, causing problems with Tomcat on shutdown. Is this a bug or am I doing something wrong? Thanks, Jim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848853#3848853 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848853 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: JACC
Scott, just to clarify. We're not just developing the applications, but are delivering a full solution to our customers. Basically, providing JBoss as a server to our apps, deployment and support to get them up and running. This of course includes security and user management. Thus my interest in JACC. Hopefully, you can set me on the right path, as I'm not sure where to go from here. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848852#3848852 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848852 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: for JCA connections?
There is no way to configure such a use case at the moment as far as I can see. The only way to do it without a code change is to add TRACE logging for org.jboss.resource and retrieve the -service.xml generated by the -ds.xml. You might be able to modify the -service.xml and deploy that directly? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848851#3848851 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848851 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: How to specifiy dependencies for a Resource Adapter?
Look at the jboss.jca domain on the jmx console. You will see the jmx name of the rar deployment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848850#3848850 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848850 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: JCA adaptor for POS
Point of Sale I assume. I don't know a lot about POS devices, but I imagine the protocol used to connect to machine varies between vendor? i.e. you would need a resource adapter that knows about the vendor's implementation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848849#3848849 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848849 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Hibernate and Datasource properties
You cannot. The prepared statements wrapped by JBoss classes so we can control what you do with them, e.g. statement caching, you not closing them, etc. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848848#3848848 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848848 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: No ManagedConnections within a custom Login Module
| if (dataSource != null && !dataSource.getConnection().isClosed()) { | con = dataSource.getConnection(); | userObj = | myDAO.retrieveUser( | con, | userName); | } | You are correct! Thanks for the second pair of eyes and the quick reply! Bryan Cooper View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848847#3848847 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848847 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Propertes get not set on ManagedConnectionFactory
The problem is caused by your property names beginning with a lower case letter. The -ds.xml deployer does not convert aProperty to setAProperty. If you use AProperty rather than aProperty it will work. Please report a bug at www.sf.net/projects/jboss to remind me to fix the conversion of the first letter to upper case when accessing the setter as per the JavaBean standard. This problem also exists in jboss-3.2 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848846#3848846 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848846 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: No ManagedConnections within a custom Login Module
Closing a connection retrieved from a datasource is equal to returning it to the pool. Looking at your code it seems you retrieve two connections from the pool. It is better to test the connection after you retrieved it from the datasource. Now you fetch it twice. Or am i completely wrong? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848845#3848845 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848845 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Unable to commit, STATUS_NO_TRANSACTION, on xa-datasourc
Look for the previous error. The message you post just says the transaction could not be committed and was rolled back. Hint: Read This First, really does mean that. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848843#3848843 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848843 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: UnsupportedClassVersionError
jboss-4.0.0 requires jdk1.4+. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848844#3848844 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848844 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - UnsupportedClassVersionError
Getting this when trying to start up run.bat: === . JBoss Bootstrap Environment . JBOSS_HOME: E:\jboss\bin\\.. . JAVA: c:\jdk1.3.1_02\bin\java . JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m . CLASSPATH: c:\jdk1.3.1_02\lib\tools.jar;E:\jboss\bin\\run.jar . === . Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jboss/Mai n (Unsupported major.minor version 48.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:493) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11 1) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) Press any key to continue . . . E:\jboss\bin> We are using JBoss 4.0.0, OS is Windows 2000, JDK 1.3.1. Anyone know what the problem is? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848842#3848842 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848842 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Deadlock in AbstractInstanceCache.tryToPassivate()
You cannot find the fix because it doesn't exist. I updated the wrong bug report by mistake. My fix on the 20th July was for SFSB View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848841#3848841 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848841 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - No ManagedConnections within a custom Login Module
Hi All, I'm using JBoss [WonderLand] 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445). I've written a custom server login module that does some jdbc database queries (extends AbstractServerLoginModule). Rather than extend the DatabaseServerLoginModule, I just wrote a method within the login module to access the database as follows: | MyDAO myDAO = new myDAO(); | DataSource dataSource = null; | Connection con = null; | try { | InitialContext ctxt = new InitialContext(); | dataSource = | (DataSource)ctxt.lookup("java:/" + MyDAO.DS_JNDI_NAME); | if (dataSource != null && !dataSource.getConnection().isClosed()) { | con = dataSource.getConnection(); | userObj = | myDAO.retrieveUser( | con, | userName); | } | } catch (Exception e) { | logger.error(e); | } finally { | if (con != null) { | try { | con.close(); | logger.debug("Closing database connection."); | } catch (SQLException se) { | logger.error(se); | } | } | } | The server trace shows my "Closing database connection." message, but, doesn't show a JBoss trace that indicates that the connection has been returned. I would have expected to see (I think) a message from "[org.jboss.resource.connectionmanager...] Connection returned to pool." (something like that). The first time the login module executes, the following trace is displayed: | 2004-09-20 15:03:44,937 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: registering pool with interval 6 old interval: 3 | 2004-09-20 15:03:44,937 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=username, password=password} | 2004-09-20 15:03:44,937 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Checking driver for URL: jdbc:oracle:thin:@localhost:1521:phora01 | 2004-09-20 15:03:44,937 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Driver already registered for url: jdbc:oracle:thin:@localhost:1521:phora01 | 2004-09-20 15:03:44,968 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=username, password=password} | After the login module executes several times, ultimately, the result is a stack trace as follows: | 2004-09-20 15:03:57,203 DEBUG [com.novartis.edms.jaas.server.ServerLoginModuleAdapter] Closing database connection. | 2004-09-20 15:03:57,203 DEBUG [com.novartis.edms.jaas.server.ServerLoginModuleAdapter] Executing validatePassword method. | 2004-09-20 15:03:57,203 DEBUG [com.novartis.edms.jaas.server.ServerLoginModuleAdapter] Validating securityUser role | 2004-09-20 15:03:57,203 DEBUG [com.novartis.edms.jaas.server.ServerLoginModuleAdapter] Login success! | 2004-09-20 15:03:57,203 DEBUG [com.novartis.edms.jaas.server.ServerLoginModuleAdapter] Executing commit method. | 2004-09-20 15:03:57,203 DEBUG [com.novartis.edms.jaas.server.ServerLoginModuleAdapter] Executing getIdentity method. | 2004-09-20 15:03:57,203 DEBUG [com.novartis.edms.jaas.server.ServerLoginModuleAdapter] Executing getRoleSets method. | 2004-09-20 15:03:57,218 DEBUG [com.novartis.edms.jaas.server.ServerLoginModuleAdapter] Executing commit method. | 2004-09-20 15:03:57,218 DEBUG [com.novartis.edms.jaas.server.ServerLoginModuleAdapter] Executing getIdentity method. | 2004-09-20 15:03:57,218 DEBUG [com.novartis.edms.jaas.server.ServerLoginModuleAdapter] Executing getRoleSets method. | 2004-09-20 15:03:57,218 TRACE [org.jboss.security.plugins.JaasSecurityManager.trialBuilder] updateCache, subject=Subject: | Principal: coopebr2 | Principal: Roles(members:eCRF Developer,login,coopebr2) | Principal: 200 - coopebr2 isValid[true] isActive[true] | | 2004-09-20 15:03:57,218 DEBUG [com.novartis.edms.jaas.server.ServerLoginModuleAdapter] Executing getIdentity method. | 2004-09-20 15:03:57,218 DEBUG [org.jboss.ejb.plugins.LogInterceptor] Invoke: openTrial(-1) | 2004-09-20 15:03:57,218 TRACE [org.jboss.security.plugins.JaasSecurityManager.trialBuilder] validateCache, [EMAIL PROTECTED] | 2004-09-20 15:03:57,218 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] getAppConfigurationEntry(trialBuilder), authInfo=AppConfigurationEntry[]: | [0] | LoginModule Class: com.novartis.edms.jaas.server.EDMSServerLoginModule | ControlFlag: LoginModuleControlFlag: required | Options: | 2004-09-20 15:03:57,218 DEBUG [com.novartis.edms.jaas.server.ServerLoginModuleAdapter] initialize method called | 2004-09-20 15:03:57,218 DEBUG [com.novartis.e
[JBoss-user] [EJB/JBoss] - Re: Deadlock in AbstractInstanceCache.tryToPassivate()
Can someone involved in jboss development jump in here? Or if this is the wrong place to ask this, can someone kindly point me to the right one? Thanks, Eli View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848839#3848839 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848839 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: How to get JBossExamples.zip
I dont have the doc on hand but theres definitly a sentence saying something like "You can get the zip from the same location you've got the documentation from" Greetings, Grand Apeiron View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848836#3848836 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848836 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Trouble separating clusters
You also need to change the HA-JNDI settings for jnp discovery Group. That might be why your 2 different clusters are sharing the same JNDI. Jason View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848835#3848835 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848835 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: restricting the web console by an ip access list
hi , well first thank u for your quick response though i couldnt find docs regarding the use of valves restricting ip access to a web-app i saw thats it is done somehow in the context.xml but how ? i'll be glad if someone will direct me to a fair doc/example View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848831#3848831 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848831 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Port Listener integrated with JBoss
"poojac20" wrote : Hello | | I intend to write a port listener (Which will listen on lets say 7001) . The incoming data does not follow any protocol, its just a stream of bytes. After analyzing the bytes I need to call EJBs etc. | I can write this listener as an independent daemon and call EJBs on RMI. But I want it to be integerated with JBoss so i can use its infra. | | After a lot of research on how to write such a servlet, I gave up. (my data is coming from NAC and only server IP and port can be configured there, not url text) It seems, the best approach wud be to copy the way WebService/NamingService etc work? Packaged as MBean and listening to another port. Is this line of thinking correct? | | I had a look at org.jboss.web.WebService code, If I go with this decision, I'll be following its way of functioning/Coding. Again, is this line of thinking correct? | | 2 specific questions | 1. It IS possible to write a custom service to listen on a port integratedw with JBoss? Right? | 2. The Thread Management - Will I have to do it? Or can I use container Thread? | | I'll appreciate any pointers. | | Thank You | --- Pooja. Where are you in implementing your port listener using MBeans? I'm basically trying to do the same. Still struggling with using MBeans since there is no mention of the service actually running when JBoss starts up. I've done startup classes in Weblogic but cannot get definite way to do it in JBoss. Thanks, NF View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848828#3848828 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848828 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: JBoss 4.0 Release Date
Congrats JBoss team! -Jim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848827#3848827 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848827 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: performance of MQ
It should take you only a few hours to download JBoss, start it, create and deploy a MDB, a JMS client and send messages to your server. You can measure throughput by calculating using some sort of static counter in your MDB. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848825#3848825 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848825 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Oh Joy! HAR Deployer in JBoss 400 release!!
Just had to express my excitement about that for a moment! ;) *fades back into the shadows* /k1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848824#3848824 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848824 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - logging to a local JMS problem
hi All, I encountered this problem several times while reading the forum. I learned that if I wanted to log to a local jms, due to dependency problem, I had to make a JMS appender run after the naming service and the connection factory had started. And I also learned that it was better to make the appender delegate to an MBean with dependencies upon services mentioned above. That is what I did. However while starting a JBoss instance, at the moment of getting the MBean started, it seems to hang. It doesn't run any more. My configuration files are as follows: jboss-service.xml: ___ | | | | | | resource:log4j.xml | true | | | | | JMSAppenderConfig.xml | jboss:service=Naming | jboss.jca:service=ConnectionFactoryDeployer | | | | MBean interface and implementation: ___ | /** | * MBean implementation class. | * It reads a log4j JMSAppender configuration from a file. | */ | public class JMSAppenderDelegate extends ServiceMBeanSupport | implements JMSAppenderDelegateMBean | { | private String configFileName; | | public void startService() throws Exception { | loadLog4JConfig(); | log.info("JMSAppenderDelegate service started"); | } | | public void stopService() { | log.info("JMSAppenderDelegate service stopped"); | } | | public String getConfigFileName() { | return configFileName; | } | | public void setConfigFileName(String configFileName) { | this.configFileName = configFileName; | } | | /** | * load log4j.xml | * | * For now it is read from a file, which path is a constant here. | * TODO: Should read it from a service attribute | */ | private void loadLog4JConfig() { | try { | log.info(CONFIG_XML); | URL config = getClass().getResource(CONFIG_XML); | log.info("Configuring from: " + config.toExternalForm()); | | DOMConfigurator.configure(config); | } catch (Exception e) { |log.error("Failed to load log4j config", e); | } | } | | private static String CONFIG_XML = "/config/JMSAppenderConfig.xml"; | | } | | | /** | * Interface for the MBean. | */ | public interface JMSAppenderDelegateMBean extends ServiceMBean { | public String getConfigFileName(); | public void setConfigFileName(String configFileName); | } | JMSAppenderConfig.xml - log4j JMSAppender configuration file: it is located here: | logdelegate.jar | | | | +--- /config | | | | | + JMSAppenderConfig.xml | | | +--- /Meta-inf | | | | | + Manifest.mf | | | +---/pl/com/supermedia/booker/logdelegate | | | + JMSAppenderDelegate.class | + JMSAppenderDelegateMBean.class | and its body: | | | | | | | | | | | | | | | | | | | | | | | | Appropriate JBoss console output: _ | 15:50:09,365 INFO [Server] Starting JBoss (MX MicroKernel)... | 15:50:09,385 INFO [Server] Release ID: JBoss [WonderLand] 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445) | 15:50:09,385 INFO [Server] Home Dir: C:\jboss-3.2.3 | 15:50:09,385 INFO [Server] Home URL: file:/C:/jboss-3.2.3/ | 15:50:09,395 INFO [Server] Library URL: file:/C:/jboss-3.2.3/lib/ | 15:50:09,395 INFO [Server] Patch URL: null | 15:50:09,395 INFO [Server] Server Name: booker | 15:50:09,395 INFO [Server] Server Home Dir: C:\jboss-3.2.3\server\booker | 15:50:09,405 INFO [Server] Server Home URL: file:/C:/jboss-3.2.3/server/booker/ | 15:50:09,405 INFO [Server] Server Data Dir: C:\jboss-3.2.3\server\booker\data | 15:50:09,405 INFO [Server] Server Temp Dir: C:\jboss-3.2.3\server\booker\tmp | 15:50:09,405 INFO [Server] Server Config URL: file:/C:/jboss-3.2.3/server/booker/conf/ | 15:50:09,405 INFO [Server] Server Library URL: file:/C:/jboss-3.2.3/server/booker/lib/ | 15:50:09,405 INFO [Server] Root Deployment Filename: jboss-service.xml | 15:50:09,426 INFO [Server] Starting General Purpose Architecture (GPA)... | 15:50:10,096 INFO [ServerInfo] Java version: 1.4.2_05,Sun Microsystems Inc. | 15:50:10,096 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_05-b04,Sun Microsystems Inc. | 15:50:10,096 INFO [ServerInfo] OS-System: Windows 2000 5.0,x8
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Send images to a topic
Create a javax.jms.ObjectMessage or BytesMessage -- Assuming your image is serializable. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848822#3848822 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848822 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Exception: CMR field value is already loaded
Hey Guys, We're getting the same issue under heavy load. Anyone have solution, suggestions or ideas? We're running JBoss 3.2.1. Thanks, Shaun View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848821#3848821 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848821 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Creating queues in jbossmq-1.0.0Beta
The build.xml script removes the JMX services from the JBoss distribution. You'll have to identiy which services are JMX and which are not...Or, just run the standard distribution. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848820#3848820 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848820 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using a non-XA QueueConnection. It will not be able to
You should be able to find a conf. that works if you do search here (or using google.com) There are two "flavors" of QueueConnection, one with XA one without. The QueueConnectionFactory you are using should implement XAQueueConnectionFactory. The IBM docs should provide information this--I assume. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848819#3848819 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848819 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Beginners Clustering Qu
You would not want to mark the node as down, just that this node no longer has the service replicated to it. This would be handled creating an HA service facade for the job handler, and deploying/undeploying the service based on the availability of the job handler. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848817#3848817 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848817 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Caching JBoss 3.2.5 ?
http://www.jboss.org/wiki/Wiki.jsp?page=CachingLoginCredentials View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848816#3848816 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848816 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: HTTP invoker and BASIC authentication
You do a JAAS login using the LoginContext class the same as every other client side security usecase in jboss. Direct use of SecurityAssociation is an unsupported usage. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848815#3848815 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848815 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss 4.0.0 startup error
Its a bug in the apache xml security classes. Either remove the deploy/ebxmlrr-service.sar if you don't need the jaxr service, or downgrade your vm to 1.4.2_04. There was a change in the xml parser bundled with the jdk that broke code using the FunctionTable class. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848814#3848814 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848814 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Redeploy SAR but old code still runs.
Some times when I redeploy a SAR after I've made some changes to the code inside the SAR JBoss does not run the newly deployed code but the old code. The only way I have found to get JBoss out of this state is to deploy an EAR file (the code in the EAR has no dependency on the code in the SAR or vica verca). I have not managed to spot a pattern to reproduce the problem. I don't see any exceptions or errors either. I also looked inside inside a class file in the SAR to make sure that the new code is in the SAR (I searched for a known string in a class file). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848810#3848810 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848810 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - syncronizing jndi.properties and cluster-service.xml?
If I change the AutoDiscoveryAddress and AutoDiscoveryGroup port in cluster-service.xml, do I also need to change the jndi.properties settings in the server configuration all/conf/jndi.properties ? Jason View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848808#3848808 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848808 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Virtual Hosts
Hi! I have got the same problem. I can't access a virtual host like www.test.com. I've used the example from the wiki..after hours of editing and restarting I could only access a Servlet, but no JSP or HTML file inside the context. What's wrong? Could anybody please post an example that is really tested? Thanks a lot in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848806#3848806 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848806 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JMS implementation classes
Tim, I am now using JBoss4.0 and the included jboss-j2ee.jar file and everything goes well. Thank you very much View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848804#3848804 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848804 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Distributed Topic Support
Hello All, does JBoss support "distributed topics"? Let's say we have a cluster of several JBoss instances. Now, I post a message to a topic that is configured on each node in the cluster. I would like the message to be delivered to every member of the cluster (once to each node). We would like to use this feature to implement a distributed event system. We use JBoss 3.2.1 at the moment. If JBoss 3.2.x does not support this, is this functionality planned for 4.0? Thanks in advance Michal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848803#3848803 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848803 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: javax.naming.InitialContext
The class InitialContext is located in the jar file rt.jar which is part of the JDK installation extract the contents of the jar file and you will see it in there. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848802#3848802 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848802 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Transaction rollback not working for CMP with mysql
Thanks for the answer. A possible solution is to start the MySQL server with option --default-table-type=InnoDB. By default the MySQL server uses MyISAM for table type and starting the server with this option changes the default type to InnoDB. I tried this and the rollback worked fine. best regards, Claudiu View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848801#3848801 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848801 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: How to remotely deploy a MBean service using JBoss API?
Thanks for your reply! But could you give an example, I don't know how to use jsp to do the deployment work, is there some document somewhere? Yueming View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848800#3848800 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848800 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - JBoss 4.0.0 startup error
I just installed JBoss 4.0.0 but got this stacktrace when I started it. jboss40test:~# java -version java version "1.4.2_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04) Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode) running on Debian Stable. Does anybody know how to fix it or if it is a bug? 16:19:14,353 ERROR [Engine] StandardContext[/ebxmlrr]StandardWrapper.Throwable | java.lang.IllegalAccessError: tried to access field org.apache.xpath.compiler.FunctionTable.m_functions from class org.apache.xml.security.Init | at org.apache.xml.security.Init.init(Init.java:233) | at org.jboss.jaxr.servlet.SAAJServlet.init(SAAJServlet.java:86) | at javax.servlet.GenericServlet.init(GenericServlet.java:211) | at org.jboss.jaxr.servlet.SAAJServlet.init(SAAJServlet.java:76) | at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029) | at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862) | at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5441) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:336) | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:83) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:370) | at org.jboss.web.WebModule.startModule(WebModule.java:62) | at org.jboss.web.WebModule.startService(WebModule.java:40) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:416) | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.mx.util.
[JBoss-user] [Nukes User] - Re: Creating a Theme
Simple build the project whith build.sh or build.bat. Then put the generated nukes-lib.jar from the nukes/output/lib/ to the deploy/nukes.ear/ directory. You can also Unzip the nukes-lib.jar to a directory named nukes-lib.jar (with the extension). Then you should can "hot deploy" the theme files without the build procedure. Frank Ganske View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848797#3848797 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848797 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - JNDI lookup extremely slow when a clusternode is down
Hi, We have a cluster of 3 nodes to provide high availability to our clients. They use "jboss1:1100,jboss2:1100,jboss3:1100" as jndi url to connect to the server. Everything works fine as long as on all nodes at least the OS is running and at least one JBoss is up. However, if one node is completely down (turned off), the JNDI lookup takes several minutes. I checked org.jnp.interfaces.NamingContext and for the lookup a socket is opened to all nodes in the url. Now, if a node is down there is a long timeout which causes the whole lookup to be blocked. Hence, instead of high availability we have multiple points of failure (if any one of the three nodes crashes we have a downtime). Any workaround? We think about using a load balancer or patch the NamingContext class. PS: debian linux, JBoss-3.2.3RC1. From looking at the code it seems to be the same in JBoss-4.0.0RC1. Cheers, Dietmar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848796#3848796 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848796 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Creating a Theme
Simple build the project whith build.sh or build.bat. Then put the generated nukes-lib.jar from the nukes/output/lib/ to the deploy/nukes.ear/ directory. You can also Unzip the nukes-lib.jar to a directory named nukes-lib.jar (with the extension). Then you should can "hot deploy" the theme files without the build procedure. Frank Ganske View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848795#3848795 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848795 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: HTTP invoker and BASIC authentication
forgot to tell to include in classpath also: /opt/jboss/server/default/lib/jbosssx.jar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848794#3848794 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848794 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: restricting the web console by an ip access list
well... it dropped my xml... but... look for a org.apache.catalina.valves.RemoteHostValve dt View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848793#3848793 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848793 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: restricting the web console by an ip access list
I'm pretty sure you want to add a valve to the jboss-service.xml in the tomcatsar Probably something like: but you probably want it on the context instead of the host. There's some info in the wiki. dt View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848792#3848792 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848792 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - mdb stopDelivery()/startDelivery() exception
I have an MDB deployed to JBoss 4.0.0RC1 that consumes messages from a foreign (Tibco 4.1) JMS provider. The MDB is deployed with a client id specified in the jboss.xml deployment descriptor. I invoke stopDelivery() and then startDelivery() on the mbean for this MDB. When I invoke startDelivery() on the mbean I get an exception in the JBoss server. Here's log output at the DEBUG level showing the stopDelivery() followed by the startDelivery(): 09:31:55,890 DEBUG [SnmpAgentService] It's for me: javax.management.MBeanServerNotification: notificationType=JMX.mbean.registered source=JMImplementation:type=MBeanServerDelegate seq-no=490 time=1095687115890 message=null objectName=jboss.web:name=HttpRequest1,type=RequestProcessor,worker=http-0.0.0.0-8080 userData=null, handback:2147483647 09:32:03,273 DEBUG [SnmpAgentService] It's for me: javax.management.MBeanServerNotification: notificationType=JMX.mbean.registered source=JMImplementation:type=MBeanServerDelegate seq-no=491 time=1095687123273 message=null objectName=jboss.web:name=HttpRequest2,type=RequestProcessor,worker=http-0.0.0.0-8080 userData=null, handback:2147483647 09:32:03,355 DEBUG [JMSContainerInvoker] Stop requested 09:32:03,356 DEBUG [JMSContainerInvoker] unset exception listener 09:32:03,358 DEBUG [JMSContainerInvoker] connection stopped 09:32:03,358 DEBUG [DLQHandler] Stopping DLQHandler 09:32:03,359 DEBUG [DLQHandler] Stopped DLQHandler 09:32:36,042 DEBUG [JMSContainerInvoker] Initializing 09:32:36,090 DEBUG [JMSContainerInvoker] Looking up provider adapter: java:/TIBCOJMSProvider 09:32:36,091 DEBUG [JMSContainerInvoker] Provider adapter: [EMAIL PROTECTED] 09:32:36,092 DEBUG [DLQHandler] Creating DLQHandler 09:32:36,128 DEBUG [DLQHandler] Using factory: XAQueueConnectionFactory[URL=tcp://class42:10103;clientID=null] 09:32:36,138 DEBUG [DLQHandler] Created connection: QueueConnection[ClientId=null Connected=tcp://class42:10103, URL=tcp://class42:10103] 09:32:36,259 DEBUG [DLQHandler] Using Queue: Queue[queue/DLQ] 09:32:36,260 DEBUG [DLQHandler] Created DLQHandler 09:32:36,260 DEBUG [JMSContainerInvoker] context: [EMAIL PROTECTED] 09:32:36,260 DEBUG [JMSContainerInvoker] jndiSuffix: B 09:32:36,260 DEBUG [JMSContainerInvoker] Got destination type Queue for jbossTestMDB 09:32:36,336 DEBUG [ConnectionFactoryHelper] using connection factory: XAQueueConnectionFactory[URL=tcp://class42:10103;clientID=null] 09:32:36,336 DEBUG [ConnectionFactoryHelper] using username/password: bcohen/ 09:32:36,355 DEBUG [ConnectionFactoryHelper] created XAQueueConnection: XAQueueConnection[ClientId=null Connected=tcp://class42:10103, URL=tcp://class42:10103] 09:32:36,356 DEBUG [JMSContainerInvoker] Using client id: mdb 09:32:36,454 WARN [JMSContainerInvoker] JMS provider failure detected: javax.jms.InvalidClientIDException: clientID already exists at com.tibco.tibjms.Tibjmsx.buildException(Tibjmsx.java:494) at com.tibco.tibjms.TibjmsConnection.setClientID(TibjmsConnection.java:1911) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:706) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:767) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startDelivery(JMSContainerInvoker.java:297) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:230) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:229) at org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:195) at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:241) at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:79) at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:61) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invoke
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Port differentiation for war deployments?
Ah, its the Code tag... | | | | | | | | true | | true | | | true | | | j_subject | | | | | instant | 2000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jboss:service=TransactionManager | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848786#3848786 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848786 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: javax.naming.InitialContext
Hmmm I thought i posted some new issues here... well anyway... it was: I am still in need for a solution... Does anyone know which jar-file i could take a look in? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848784#3848784 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848784 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Difference between max-capacity and MaximumSize
Hello, I am going through the jboss documentation and I don't understand the difference between : and : Can anyone help? Thanks in advance, Julien Martin. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848783#3848783 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848783 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - How to get JBossExamples.zip
How to get JBossExamples.zip& I can't find any links to ones. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848782#3848782 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848782 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: HTLM gets truncated in index.html on 1.1RC3
see http://sourceforge.net/tracker/index.php?func=detail&aid=1031181&group_id=22866&atid=376685 There is my solution for a truncated HTML problem. Frank Ganske View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848779#3848779 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848779 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Propertes get not set on ManagedConnectionFactory
Hello, I've got the same problem with jboss-4.0.0RC1. ra.xml : net.java.bdbadapter.jca.BerkeleyDBResourceAdapter net.java.bdbxmladapter.jca.BerkeleyDBXMLManagedConnectionFactory The db environment home directory dbEnvHome java.lang.String The db environment encryption password; the db environment is encrypted via the Berkeley DB environment encryption mechanism if and only if a non-empty encryption password is given. dbEnvPassword java.lang.String net.java.bdbxmladapter.BerkeleyDBXMLConnectionFactory net.java.bdbxmladapter.jca.JCABerkeleyDBXMLConnectionFactory net.java.bdbadapter.BerkeleyDBConnection net.java.bdbadapter.jca.JCABerkeleyDBConnection XATransaction BasicPassword javax.resource.spi.security.PasswordCredential true grant { permission java.lang.RuntimePermission "getClassLoader"; }; setter/getter of dbEnvPassword and dbEnvHome exists in BerkeleyDBXMLManagedConnectionFactory. This exception is ever launched : java.lang.IllegalArgumentException: The class 'class net.java.bdbxmladapter.jca.BerkeleyDBXMLManagedConnectionFactory' has no setter for config property 'dbEnvHome' at org.jboss.resource.connectionmanager.RARDeployment.setManagedConnectionFactoryAttribute(RARDeployment.java:617) at org.jboss.resource.connectionmanager.RARDeployment.setMcfProperties(RARDeployment.java:732) at org.jboss.resource.connectionmanager.RARDeployment.startService(RARDeployment.java:566) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) any idea? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848774#3848774 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848774 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - DTDs (un)available
Starting up my local JBoss (3.2.3, although ist's not relevant) lead to a deployment error: an url to a dtd could not be resolved. Looking at the dtd-URL I have to say the app-server was right: http://www.jboss.org/j2ee/dtd/jboss-ds_1_0.dtd Seems that a lot of DTDs have gone over the weekend :-( Does anybody know whether this will be fixed in the foreseeable future? Is this the reason why all xml-files in the configurations are published without a DOCTYPE-entry? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848773#3848773 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848773 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: HTTP invoker and BASIC authentication
Try this: | | import org.jboss.security.SecurityAssociation; | import org.jboss.security.SimplePrincipal; | import javax.naming.InitialContext; | import javax.naming.Context; | import java.util.Properties; | | | Properties properties = new Properties(); | properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.HttpNamingContextFactory"); | properties.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); | properties.put(Context.PROVIDER_URL, "http://192.168.0.17:8080/invoker/JNDIFactory";); | | SecurityAssociation.setCredential(password); | SecurityAssociation.setPrincipal(new SimplePrincipal(user)); | | InitialContext ctx = new InitialContext(properties); | put jbossall-client.jar in classpath config/login-config.xml | | | | | | guest | java:/MySQL-DS | SELECT passwd FROM jms_users WHERE name=? | SELECT jms_roles.name, 'Roles' FROM users_roles LEFT JOIN jms_roles, jms_users ON jms_roles.id = users_roles | .id_role AND jms_users.id = users_roles.id_user WHERE jms_users.name=? | | | | deploy/http-invoker.sar/invoker.war/WEB-INF/web.xml | | | HttpInvokers | An example security config that only allows users with the | role HttpInvoker to access the HTTP invoker servlets | | /* | GET | POST | | | topic-manager | | | |BASIC |JBoss HTTP Invoker | | | |topic-manager | | deploy/http-invoker.sar/invoker.war/WEB-INF/jboss-web.xml | |java:/jaas/http-invoker | | the thing is that org.jboss.naming.HttpNamingContextFactory uses "org.jboss.invocation.http.interfaces.Util" which sets "java.net.Authenticator.setDefault()" with "org.jboss.invocation.http.interfaces.Util$SetAuthenticator" which uses "org.jboss.security.SecurityAssociationAuthenticator" that needs "org.jboss.security.SecurityAssociation" that holds Credential and Pricipal object But you might have some problems with SSL. p.s. I took me 2 days to come up with thise lines (I guess I have IQ problem :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848772#3848772 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848772 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Beginners Clustering Qu
We are trying to figure out how to set things up, so, if it's feasible, we could run it within JBoss if it would help. As a beginner to all this - what determines if it runs "within" JBoss - on the same server? It's written in C++, so we connect to it at the moment from our jave code running as a webapp on Tomcat by opening a socket to it. You can tell I am very new to all this! A related question which I posted - if this Job Handling Server is not running within JBoss, but on the same machine, and the Job Handling Server stops responding, is there any way to mark that machine as not in the cluster any more? Many thanks for any help!! cheers, David View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848771#3848771 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848771 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: jboss 3.2.5 finder produces nullpointer
the problem disappears with the 3.2.6 ... another thing is that the 3.2.6 provides more detail error-information on possible sql errors .. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848770#3848770 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848770 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: JBoss 4.0 Release Date
4.0 is now available for download. Although you might find that the download speeds are atrocious :( View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848769#3848769 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848769 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: javax.naming.InitialContext
I am still in need for this... Anyone who knows in which jar-file it should be? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848767#3848767 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848767 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: jboss4 JDBCPkSqlCreateCommand
looks to me as if the server is looking into the wrong path ... if you look at the sources youll find the class in jboss-4.0.0RC1-src/server/src/main/org/jboss/ejb/plugins/cmp/jdbc/keygen/JDBCPkSqlCreateCommand.java in the logfile the "keygen" is missing .. the next question would be .. how do i get around this ??? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848765#3848765 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848765 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - JBoss doesn´t recognize JAR-File
Hi all, I wrote a small java tool, that generates deployment descriptors for JBoss. At the end of the generating process I jar the deployment descriptors and the configured classes in a jar.file, using the command Runtime.getRuntime().exec("jar cf "+jarOut.getAbsolutePath()+" -C "+sourceDirectory.getAbsolutePath()+" ."); from within my tool. If I copy the jar in the deploy directory, JBoss doesnÃÂt do anything, but it recognizes, if I delete the file. The class-files in the jar and the deployment descriptors are both alright. If I unjar the jar file and jar the content again (using the jar-command on the command line with the same parameters as in my tool), JBoss deploys the jar. The jar-file of my tool is 100 bytes bigger than the command-line jar. I donÃÂt have any idea what happens there. Can anyone help me? Thank you in advance. zippy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848764#3848764 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848764 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - jboss4 JDBCPkSqlCreateCommand
im trying to deploy a simple entity bean to jboss4 ... the bean was properly deployed to jboss 3.2.5 ... has anyone seen this error before ?? 12:54:09,611 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=User,service=EJB org.jboss.deployment.DeploymentException: Could not load class: org.jboss.ejb.plugins.cmp.jdbc.JDBCPkSqlCreateCommand at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityCommandMetaData.(JDBCEntityCommandMetaData.java:62) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:280) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:72) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:719) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:417) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848763#3848763 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848763 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: CMP Bean creating object in DefaultDS
hi, thank you very much for your replay sanju View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848762#3848762 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848762 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user