[JBoss-user] [EJB/JBoss] - Re: Invalid invocation calling ejb from war in JBoss 3.2.4
Can you post the stacktrace? Does the bean have matching ejbCreate method in the bean impl class? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843146#3843146 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843146 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Throughput of data low while using CMP/CMR entitybeans
I guess, there is no XDoclet tags for lazy-resultset-loading yet as it's a new feature. But I don't know for sure. You can returned different entity types from ejbSelect methods but not finders. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843145#3843145 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843145 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: simple UserTransaction question
You should commit or rollback the transaction to release the lock on the instance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843144#3843144 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843144 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP key-generator-factory DB2/400 from weblogic BIGINT K
There is HiLo key generator in HEAD (4.0). It should backported to Branch_3_2. For now you could check it out here http://cvs.sourceforge.net/viewcvs.py/jboss/jboss/src/main/org/jboss/ejb/plugins/keygenerator/ http://cvs.sourceforge.net/viewcvs.py/jboss/jboss/src/resources/uuid-key-generator/META-INF/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843143#3843143 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843143 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: NullPointerException in JDBCCMP1xFieldBridge under heavy
It seems like storeEntity is called on a passivated instance. What container configuration are you using? What if you try 3.2.4 or 3.2.5? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843141#3843141 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843141 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJBQL and EJB 2.0 and Order By
Parameters are not allowed in ORDER BY even in EJBQL2.1. http://www.jboss.org/wiki/Wiki.jsp?page=EJBQL21 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843142#3843142 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843142 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - how to report jboss server traffic
is there any opensource or tool to generate server traffic report on jboss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843140#3843140 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843140 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: I am getting crazy. Please help me.
It says Error compiling EJB-QL statement ''; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: FROM not found Your query is supposed to be in quotes... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843139#3843139 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843139 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: With Scott Stark's example, still can't use request.isUs
Guys, I really appreciate your ideas. Some if these suggestions, combined with some I got from Struts users, could lead me to something good. I will come back and post when I've had a chance to try some things. Thanks, Erik View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843136#3843136 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843136 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - JMS Error during Jboss startup
Hi. We are using JBoss 3.2.4 on Solaris 9 and Java 1.3.11. This error with JMS occurs during Jboss startup (server.log) : 2004-07-23 16:51:49,028 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/opt/jb oss-3.2.4/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ 2004-07-23 16:51:49,624 INFO [org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.JmsXA] Bound connection factory fo r resource adapter for ConnectionManager 'jboss.jca:service=TxCM,name=JmsXA to JNDI name 'java:/JmsXA' 2004-07-23 16:51:49,694 INFO [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.DefaultDS] Bound connecti on factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name 'java:/Defaul tDS' 2004-07-23 16:51:53,734 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting t o get a new connection: null org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: File inp ut/output error: File input/output error: reading: java.io.EOFException in statement [SET TABLE JMS_MESSAGES INDEX '9640 664 34']) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectio nFactory.java:168) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedC onnectionPool.java:504) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.ja va:214) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool .java:534) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:444) at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:312) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnect ionManager2.java:887) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102) at org.jboss.mq.sm.jdbc.JDBCStateManager$JDBCSession.(JDBCStateManager.java:518) at org.jboss.mq.sm.jdbc.JDBCStateManager.initDB(JDBCStateManager.java:432) at org.jboss.mq.sm.jdbc.JDBCStateManager.startService(JDBCStateManager.java:399) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837) at $Proxy17.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:367) at org.jboss.system.ServiceController.start(ServiceController.java:389) at org.jboss.system.ServiceController.start(ServiceController.java:389) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(I
[JBoss-user] [Persistence & CMP/JBoss] - Re: Unable to passivate due to ctx lock
Numerous posts about this. Even a bug report regarding memory leaks, fixed in 3.2.4. I have upgrade from 3.2.2 to 3.2.5 Using the same config as davidmboon. CMP1.1 EJBs with commit option C. Jboss continues to report "Unable to passivate due to ctx lock". I have found little help in the documentation. Could really use some direction with this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843133#3843133 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843133 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler - ClassNotFoundException
Heard anything about this? I have exactly the same problem. We just upgraded to JBoss 3.2.5 and still experience the same behavior. Oddly, once we manually save the scheduler-service.xml file in the deploy directory after the server has started up, it works fine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843134#3843134 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843134 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Stumped trying to create MySQL datasource on 3.2.4
Sorry, that should be (cut and paste problem): NGDataSource jdbc:mysql://localhost:3306/ng org.gjt.mm.mysql.Driver dbuser abc123 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843131#3843131 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843131 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Stumped trying to create MySQL datasource on 3.2.4
I've configured the mysql-ds.xml and placed it in my deploy directory with the database information. NGDataSource jdbc:mysql://localhost:3306/ng org.gjt.mm.mysql.Driver dbuser abc123 The DS is bound in the namespace and I can look it up successfully from my bean. Whenever I try to use the connection to do something like connection.prepareStatement(string) or anything like that, I get the following error: 16:31:24,639 ERROR [STDERR] Caused by: org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Server configuration denies access to data source) The only things that I've found on this forum and on the web point to the MySQL grant tables. I've updated and flushed both the db and global privileges. Also, I can log in from the command line successfully with the same username and password. Am I missing anything here? Any ideas as to where else I might be able to look? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843129#3843129 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843129 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Cannot load /etc/httpd/modules/mod_jk2.so
I have Apache 2.0.40 and JBoss 3.2.6 RC1 installed, and they are running fine separately. When I tried to integrate jboss-tomcat with Apache by using mod_jk2, I can not start Apache HTTPD process and received the following error messages: [EMAIL PROTECTED] root]# /usr/sbin/apachectl start Syntax error on line 212 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_jk2.so into server: /etc/httpd/modules/mod_jk2.so: undefined symbol: apr_socket_send. Can anyone help me on this issue? Thanks in advance. Oliver Additional System Information === [EMAIL PROTECTED] lib]# uname -a Linux HQSRH8AA 2.4.22-0.0 #1 Wed Nov 5 13:18:32 CST 2003 i686 i686 i386 GNU/Linux gcc information: Thread model: posix gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) [EMAIL PROTECTED] lib]# $JAVA_HOME/bin/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) [EMAIL PROTECTED] lib]# /usr/sbin/apachectl -v Server version: Apache/2.0.40 Server built: May 22 2003 05:19:58 JBoss version: jboss-3.2.6RC1 mod_jk2 version: Fedora-Core-1-i386.tar.gz View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843128#3843128 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843128 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Filtering messages (not in MDB)
Could you point me to some of this examples, please. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843126#3843126 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843126 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: MBean depends on applicaion deployment
If the rest of your application uses EJB or uses JMX, you should be able to pick out the object name and do depends against it. At the very least, you can make your own deployment orderer. (Refer to default/conf/jboss-service.xml) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843125#3843125 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843125 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Filtering messages (not in MDB)
Those interfaces are only provided for use by the server implementation, i.e. JBoss. They are not designed to be used by you. If you want to filter messages, use a message selector. There are plenty of examples out there on receiving messages without employing a MDB. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843124#3843124 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843124 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Oracle Datasource with OCI drivers
Yes I have oracle jdbc drivers (ojdbc14_g.jar) in server/all/lib folder. If I use thin driver everything is fine, but I want to use OCI drivers. I added path ($ORACLE_HOME/lib) where ocijdbc9.so file in LD_LIBRARY_PATH. I wanted to find out what are configuration is required to get OCI drivers wok for datasource. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843123#3843123 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843123 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS messages gone when restarting JBoss
I know JBoss 3.2.3 didn't do a clean shutdown, but even still you should still have messages. I would download JBoss 3.2.5 or later and compare DB configurations. It sounds to me like you aren't using cached tables. (Check out the HSQL website.) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843122#3843122 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843122 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: I am getting crazy. Please help me.
Oops! I forgot to paste my selects: * @ejb.finder * signature = "com.vd.sms.entities.UserLocal findByEmailAddress(java.lang.String n0)" * query = "SELECT OBJECT(t) FROM UserEJB AS t WHERE t.emailAddress = ?1" * result-type-mapping = "Local" * method-intf = "LocalHome" * * @ejb.finder * signature = "com.vd.sms.entities.UserLocal findByPrimaryKey(java.lang.Long l0)" * query = "SELECT OBJECT(r) FROM UserEJB AS r WHERE r.proId = ?1" * result-type-mapping = "Local" * method-intf = "LocalHome" * * @ejb.finder * signature = "com.vd.sms.entities.UserLocal findByUsernameAndPassword(java.lang.String n0, java.lang.String n1, java.lang.String n3)" * query = "SELECT OBJECT(n) FROM UserEJB AS n WHERE n.username = ?1 and n.password = ?2 AND n.profileStatus <> ?3" * result-type-mapping = "Local" * method-intf = "LocalHome" * * @ejb.finder * signature = "com.vd.sms.entities.UserLocal findByUsernameAndEmailAddress(java.lang.String n0, java.lang.String n1, java.lang.String n3)" * query = "SELECT OBJECT(m) FROM UserEJB AS m WHERE m.username = ?1 AND m.emailAddress = ?2 AND m.profileStatus <> ?3" * result-type-mapping = "Local" * method-intf = "LocalHome" * How can I identify where the error is and why. The selects look correct. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843121#3843121 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843121 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - I am getting crazy. Please help me.
During entity EJB deployment I am getting a bunch of error message like: 14:54:05,107 INFO [EARDeployer] Init J2EE application: file:/C:/WebProjects/jboss-3.2.5/server/meetSerbs/deploy/meetSerbsEar.ear 14:54:15,042 WARN [DeploymentInfo] Only the root deployment can set the loader repository, ingoring config=null 14:54:15,342 INFO [EjbModule] Deploying ToplistEJB 14:54:15,352 INFO [EjbModule] Deploying StopUnwantedIndEJB 14:54:15,352 INFO [EjbModule] Deploying ProfileEJB 14:54:15,362 INFO [EjbModule] Deploying PaymentOptionsEJB 14:54:15,362 INFO [EjbModule] Deploying SessionLoggerEJB 14:54:15,372 INFO [EjbModule] Deploying PaymentEJB 14:54:15,382 INFO [EjbModule] Deploying SearchWantedEJB 14:54:15,382 INFO [EjbModule] Deploying StopUnwantedEJB 14:54:15,392 INFO [EjbModule] Deploying MailboxEJB 14:54:15,402 INFO [EjbModule] Deploying UserEJB 14:54:15,402 INFO [EjbModule] Deploying ProfileSessionEJB 14:54:15,412 INFO [EjbModule] Deploying UserSessionEJB 14:54:15,422 INFO [EjbModule] Deploying MailSessionEJB 14:54:15,432 INFO [EjbModule] Deploying MailEJB 14:54:16,223 INFO [StopUnwantedEJB] Table 'STOPUNWANTED' already exists 14:54:16,243 INFO [PaymentEJB] Table 'PAYMENT' already exists 14:54:16,263 INFO [ToplistEJB] Table 'TOPLIST' already exists 14:54:16,273 INFO [STDOUT] org.jboss.ejb.plugins.cmp.ejbql.ParseException: FROM not found 14:54:16,273 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.parse(EJBQLParser.java:39) 14:54:16,273 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.compileEJBQL(JDBCEJBQLCompiler.java:151) 14:54:16,273 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.(JDBCEJBQLQuery.java:43) 14:54:16,273 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:60) 14:54:16,273 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:266) 14:54:16,273 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:498) 14:54:16,273 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:396) 14:54:16,273 INFO [STDOUT] at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:147) 14:54:16,273 INFO [STDOUT] at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:337) 14:54:16,273 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) 14:54:16,273 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) 14:54:16,273 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source) 14:54:16,273 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 14:54:16,273 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324) 14:54:16,273 INFO [STDOUT] at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) 14:54:16,273 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) 14:54:16,273 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) 14:54:16,273 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) 14:54:16,273 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) 14:54:16,273 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) 14:54:16,273 INFO [STDOUT] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837) 14:54:16,273 INFO [STDOUT] at $Proxy17.start(Unknown Source) 14:54:16,273 INFO [STDOUT] at org.jboss.system.ServiceController.start(ServiceController.java:367) 14:54:16,273 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) 14:54:16,273 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 14:54:16,273 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324) 14:54:16,273 INFO [STDOUT] at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) 14:54:16,273 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) 14:54:16,273 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) 14:54:16,273 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) 14:54:16,273 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) 14:54:16,273 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) 14:54:16,273 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) 14:54:16,273 INFO [STDOUT] at $Proxy169.start(Unknown Source) 14:54:16,273 I
[JBoss-user] [Messaging, JMS & JBossMQ] - Filtering messages (not in MDB)
Hi! Could someone tell me how can I provide message filtering in simple JMS client. I don't need to create MDB. For purposes of clearness I need to mention my problem more in detail. I have session bean that performs operation such as creating, removing and updating of entity beans, it sends JMS messages in topic when one of this events performed. And I have some kind of cache on client side that listens for this messages and updates data. But I don't need cache to listern JMS messages when client, on which side cache is deployed, is initiator of session bean operations. I suggest to define property "ClientID" to messages and to filter this messages via ConnectionConsumer on client side. I've desided to pass this "ClientID" when call session bean methods. As for me, this sheme isn't so bad, but problem is to create ConnectionConsumer, I need instance of ServerSessionPool, but where can I get it? If you understood my thoughts, please help me. P.S> I've looked through MBean with declaration of StdJMSPool but it doesn't allow to define any JNDI name to access it in client. Oleg F. Yavorsky View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843119#3843119 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843119 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - NullPointerException in JDBCCMP1xFieldBridge under heavy loa
There's a workflow in our application that, when the server is under no stress (single user), completes successfully. Upon increasing the load, we get NullPointerExceptions in the JDBCCMP1xFieldBridge. We're running with version 3.2.3 (patched GlobalTxEntityMap because it was generating an Exception while attempting to throw an exception). Here's a copy of the stack trace: java.lang.NullPointerException at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP1xFieldBridge.getFieldState(JDBCCMP1xFieldBridge.java:181) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP1xFieldBridge.setClean(JDBCCMP1xFieldBridge.java:135) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEntityCommand.java:168) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.storeEntity(JDBCStoreManager.java:627) at org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManager.java:421) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.storeEntity(CachedConnectionInterceptor.java:387) at org.jboss.ejb.EntityContainer.storeEntity(EntityContainer.java:714) at org.jboss.ejb.GlobalTxEntityMap.synchronizeEntities(GlobalTxEntityMap.java:155) at org.jboss.ejb.EntityContainer.synchronizeEntitiesWithinTransaction(EntityContainer.java:119) at org.jboss.ejb.EntityContainer.find(EntityContainer.java:660) at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1043) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:197) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:214) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:89) at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61) at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:98) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:92) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120) at org.jboss.ejb.plugins.CleanShutdownInterceptor.invokeHome(CleanShutdownInterceptor.java:198) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:483) at org.jboss.ejb.Container.invoke(Container.java:720) at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45) at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) at $Proxy443.findByPKFields(Unknown Source) at com.isopia.ilms.ejb.messaging.messagingBroker.MessagingBrokerBean.getAllPersonDetail(MessagingBrokerBean.java:3856) at com.isopia.ilms.ejb.messaging.messagingBroker.MessagingBrokerBean.getOnsiteDisplayableMessages(MessagingBrokerBean.java:2615) 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.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInte
[JBoss-user] [EJB/JBoss] - EJBQL and EJB 2.0 and Order By
To all, I'm using JBoss 3.2.4 and EJB 2.0. I have a EJBQL statement: "select distinct object(usr) from DWMUsrAdminSchema as usr, in (usr.userComp) as uComp where uComp.componentKey =?1 order by ?2 ". I read in another thread that JBoss extends EJBQL so that "order by ?2" would be legal even though it is EJB 2.0. When I deployed it, it returned errors. I also tried @jboss.query tags but it returned the same errors. The select statement worked only if I specify the field name for "?2". Is there a way to update EJB 2.0 to EJB 2.1 so that "order by ?@" works? Thanks in advance for any help you can give me. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843117#3843117 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843117 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Different connections for queries and updates
I'd have two beans, one for writing, and one for reading. Even if it's the same Java, the descriptors will be different. Your code will need to look up ReadCMP when it reads, and WriteCMP when it writes. We use Oracle with replication, which is nice, but it isn't cheap. I'm not sure if there's a satisfactory CMP-ish solution to your problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843116#3843116 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843116 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Oracle Datasource with OCI drivers
As you can see, he already has the necessary Oracle Java classes in his classpath: at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:265) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843115#3843115 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843115 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Oracle Datasource with OCI drivers
I haven't used OCI in a while, so this may be wrong, but if I remember correctly, you need to add the directory that contains whatever.dll to your path. I'm guessing you'll find a ocijdbc9.dll somewhere on your machine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843114#3843114 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843114 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - CMP key-generator-factory DB2/400 from weblogic BIGINT Key
Hey Guys, I'm in the process of converting our system from BEA WebLogic 8.1 to JBoss 3.2.5. All (almost) have BIGINT primary keys. DB2/400, the RDBMS that our system uses, does not support an autoincrement field so our application has been handling it. In WLS we used an internal PK generator similar to the one described in the EJB Design Patterns book. Each table has a seperate PK table with a single column "SEQUENCE". That table is used to manage the PKs. WebLogic handled all of this internally. I want to convert to JBoss but I need to figure out how I am going to generate my PKs. I don't mind writing my own PK generator. But how do I register it with JBoss? I noticed that JBoss comes with a UUIDKeyGenerator that you use in your CMP EJB with the tag. How can I use this tag to call my own key generator? I realize that tag references a JNDI name. So how do I register my custom key generator in the JNDI tree so that I can access it? Thanks in advance for any assistance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843113#3843113 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843113 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss & Kerberos
RMIServerFactorys above should be RMISocketFactory. Sorry for the typo. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843112#3843112 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843112 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss & Kerberos
I have tried out SRP example "ex3" in chapter 8 of the Admin & Development guide v3.2.3. This example shows how to performs authentication using SRP but the RMI data is still transferred without encryption. In order to add the encryption part I believe that I would have to create Custom RMIServerFactorys to that use an SRP session key to encrypt/decrypt the RMI data between the client and server. If this is correct, how do I get the SRP session key on both ends (client/server)? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843111#3843111 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843111 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: What is the biggest site using JBoss ?
We've worked out the major bugs and now the site is very stable and fasteven when we hit 15,000 concurrent users :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843110#3843110 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843110 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Singleton MBean for Clustering
I am currently trying the approach to Singleton MBeans for clustering suggested in the JBoss Clustering article by Ivelin Ivanov at http://www.onjava.com/pub/a/onjava/2003/08/20/jboss_clustering.html, however there is not enough information in the article -- and I am still working on this approach. I have modified a singleton class to be a singleton MBean as described but as yet I am having trouble with the JBoss not being able to start the service, with complaints of a nested throwable and an method not being available in the singleton class: | 12:38:51,141 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | Incompletely deployed packages: | [EMAIL PROTECTED] { url=file:/C:/jboss-3.2.5/server/all/farm/cluster-examples-service.xml } | deployer: [EMAIL PROTECTED] | status: Deployment FAILED reason: create operation failed for package file:/C:/jboss-3.2.5/server/all/farm/cluster-examples-service.xml; - nested throwable: (org.jboss.deployment.DeploymentException: com.harborsideplus.grover.mbean.AllUserMessagesSingleton.(); - nested throwable: (java.lang.NoSuchMethodException: com.harborsideplus.grover.mbean.AllUserMessagesSingleton.())) | state: FAILED | watch: file:/C:/jboss-3.2.5/server/all/farm/cluster-examples-service.xml | I have modified the singleton to be a MBean as described in the article, the MBean and interfaces are listed below: | // -- All UserMessagesSingletonMBean interface | package com.harborsideplus.grover.mbean; | | import com.harborsideplus.grover.util.UserMessages; | | /** | * @author James Adams | * | */ | public interface AllUserMessagesSingletonMBean | { | // | // managed MBean operations, which control the lifecycle of the singleton service | // | public void startSingleton (); | public void stopSingleton (); | | | // | // exposed methods | // | | /** | * | * @return | */ | public boolean isMasterNode (); | | | /** | * Get the user's messages beginning at the specified index. | * | * @param userId | * @param index | * @return | */ | public UserMessages getUserMessages (String userId, | int index); | | | /** | * Add a message for the specified user. If the specified user doesn't already | * have a UserMessages list then one will be initialized before adding the message. | * | * @param userId | * @param message | */ | public void addMessage (String userId, | String message); | | | /** | * Get the number of messages for the specified user. | * @param userId | * @return | */ | public int getNumberOfUserMessages (String userId); | | } | | | | //--- AllUserMessagesSingleton class - | | package com.harborsideplus.grover.mbean; | | import java.util.ArrayList; | import java.util.Enumeration; | import java.util.Hashtable; | | import com.harborsideplus.grover.util.UserMessages; | | /** | * @author James Adams | * | */ | public class AllUserMessagesSingleton | implements AllUserMessagesSingletonMBean | { | // reference to the singleton | private static AllUserMessagesSingleton m_reference; | | // hashtable of UserMessages | private Hashtable m_userMessagesTable; | | // flag showing whether or not running on master node | private boolean m_isMasterNode; | | | // | // managed MBean operations, which control the lifecycle of the singleton service | // | | /** | * | */ | public void startSingleton () | { | m_isMasterNode = true; | } | | /** | * | */ | public void stopSingleton () | { | m_isMasterNode = false; | } | | | //= | // Singleton-related methods | //= | | /** | * Constructor method which is private to insure that the class can't be instantiated. | * A reference to an object of the class must be obtained via the getIOIMessagesB
[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss & Kerberos
We don't have a jboss speicific login module for kerberos but they exist so that would be the path to using kerberos with jboss. SRP is preferred simply because it does not have the pki management headache. Any kerberos integration would be similar to how SRP is done so its worth looking at from that perspective. If your pki phobic its a good alternative. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843108#3843108 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843108 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - JBoss & Kerberos
I have been researching how to provide secure communication between a application client using RMI and a JBoss server. I was able to get RMI over SSL to work but my company would prefer to use Kerberos. I have found little to no documentation on JBoss and kerberos. Does JBoss support it? If so, can you point me to some documentation or describe to me how to integrate it with JBoss? Also, I have done some reading about SRP. Is this the JBoss preferred way to provide secure communication? Any help with this would be great. Thanks for your time. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843107#3843107 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843107 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Oracle Datasource with OCI drivers
Have you put the JDBC driver in /server/default/lib? (Assuming that you are running the default config) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843106#3843106 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843106 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: JBoss RSS through Proxy!
Ok, wasn't very difficult question. In case anybody needs it, you do it by setting up system properties. System.setProperty("http.proxyHost", ); System.setProperty("http.proxyPort", ); After this is done, informa RSS library will be using that proxy to connect to the internet. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843105#3843105 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843105 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Closing a durable subscription connection
I have an MBean which set's up a durable subscription to a topic, when I redeploy the MBean I get an exception with the message anonymous wrote : | org.jboss.mq.SpyJMSException: Cannot get a client ID; - nested throwable: (javax.jms.JMSSecurityException: The login id has an assigned client id. That client id is already connected to the server!) Obviously I'm not closing my connection properly in stopService(), I've tried various permutations of calling close on the TopicSession, TopicConnection & MessageConsumer in various orders, what is the correct sequence for closing my connection in order to log out my client id? In case it makes any difference I'm using 3.04 & I'm assigning the client ID in jbossmq-state.xml Cheers View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843103#3843103 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843103 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - HtmlBlock permission pattern?
What pattern do you use for a basic HtmlBlock (designed with manageHTML module) that would only contain some html page? I thought :: would be enough, but I tried also blockname:: and even .*:.*:.* and .*:: without succeeding. Sorry if my request is stupid but could someone help me please this permission problem is really bugging me. Like, if I have a client group that should be the only one allowed to view my HtmlBlock, why doesn't : (and that's all) work ? ...thanks for your help... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843102#3843102 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843102 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: classloading when deploying more than 1 war
that works fine. Thanks a lot ! Sebastien. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843100#3843100 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843100 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Oracle Datasource with OCI drivers
Hi: I am not able to configure datasource with Oracle OCI drivers in Jboss 3.2.5 server running in Redhat Linux 9 environemnt. I installed Oracle client software and able to use sqlplus to server. Also set LD_LIBRARY_PATH to $ORACLE_HOME/rdbms/lib:$ORACLE_HOME/jdbc/lib in jboss startup script. But I am getting follwoing error during startup. 10:58:07,254 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:834) at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:265) at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:362) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:536) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:328) ... Do I need to do any additional configuration to use Oracle OCI drivers for Datasource. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843099#3843099 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843099 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - HTTPS and Virtual hosts/multiple host names
Hi, My JBoss (3.2.2 + Tomcat) has multiple hostnames. With the keytool (keytool -genkey -kestore keyStore) I created one key for my machine. As cn I have to give the server name, lets say obelix (the machines name in the lan). >From another network you can reach the same machine with obelix.mydomain.de. When using "obelix.mydomain.de" the browser always tells me that the machine name does not match the name given in the certificate (of course in the certificate its just obelix). I tried to put two keys into the same keystore, but I still get the same problem. How can I specify which key to use. In jboss-service.xml I can only give one keyStore. What happens if I want to host multiple domains (name based virtual hosts) on my machine running with ssl. How do I specify the mapping from domain to certificate here? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843098#3843098 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843098 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: classloading when deploying more than 1 war
Edit the tomcat sar jbossweb-tomcat41.sar/META-INF/jboss-service.xml descriptor to disable the use of the inheritted ear class loader by setting the UseJBossWebLoader value to false: | | false | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843097#3843097 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843097 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Principal does not propagate under SSO on 3.2.6RC1
Yes, submit a bug with an example. SSO has no bearing on whether or not an ejb has been deployed with a jboss.xml security-domain setting which is the source of the IllegalStateException so an example is needed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843096#3843096 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843096 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - classloading when deploying more than 1 war
Hello, when deploying 2 wars, it looks to me that the same classloaders are used. for instance I have properties and xml files with the same name in both wars WEB-INF/classes and once loaded per the first war to be deployed, the second war does not deploy the "duplicates" in the other (although the content is different): $ ls -l deploy/sso.ear/sso.war/WEB-INF/classes/webwork.properties -rwxrwxrwx1 Administ 555 Jul 22 16:55 deploy/sso.ear/sso.war/W EB-INF/classes/webwork.properties $ ls -l deploy/sso.ear/sso.war/WEB-INF/classes/webwork.properties -rwxrwxrwx1 Administ 555 Jul 22 16:55 deploy/sso.ear/sso.war/W EB-INF/classes/webwork.properties few files rely on some 3PPs, so I can't rename the files. I tried to play around with packaging (ear/war) but could not get something working. I checked the documentation for JBOSS classloading but did not find anything related to packaging. Is there any way I can get this working with a configuration/packaging solution ? Thanks. Sebastien. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843095#3843095 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843095 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - JBoss hangs after stateful session passivation
Hi, We recently started using Stateful Session EJBs in our app and noticed that every so often our JBoss server stops responding and needs to be restarted. This happens rather randomly, sometimes it takes a week until JBoss hangs, sometimes it takes a day. By examining the logs, it seems that the problem is a race condition between two processes, one that tries to passivate stateful session beans and one that tries to create stateful session beans. Basically, after several StatefulSessionFilePersistenceManager - Attempting to passivate ... Passivation complete blocks, the JBoss log reveals repeating StatefulSessionContainer - Created new session ID: ... Using create method for session: ... blocks. Application trace shows that JBoss never succeeds in creating these EJB's and stops responding. We are running JBoss 3.2.0_tomcat1.24 with Java 1.3.1 on Sun Solaris 5.8. Anyone able to shed some light on this? Thanks in advance, Vladimir View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843094#3843094 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843094 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Principal does not propagate under SSO on 3.2.6RC1
Hi, On jboss-3.2.6RC1 with SSO (Single Sign On) enabled, we get this exception: java.lang.IllegalStateException: No security context set The deployed application: app.ear |context1.war [mapped to /] |jsp1.jsp |context2.war [mapped to /context2] |jsp2.jsp |beans.jar | Both jsp1.jsp and jsp2.jsp tries to call the session bean. jsp1.jsp which is in the root context succeeds, but jsp2 fails with the above exception. The same code works under jboss-3.2.5. Has anybody else seen this? should I submit this as an bug? Any workarounds? The complete stack trace: java.lang.IllegalStateException: No security context set | at org.jboss.ejb.EnterpriseContext$EJBContextImpl.getCallerPrincipal(EnterpriseContext.java:276) | at com.ec.eccore.util.customise.model.ejb.CustomiseViewBean.getProperty(CustomiseViewBean.java:142) | at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186) | at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) | at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) | at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148) | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120) | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) | at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) | at org.jboss.ejb.Container.invoke(Container.java:723) | at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97) | at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90) | at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) | at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:53) | at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100) | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) | at $Proxy116.getProperty(Unknown Source) | at org.apache.jsp.language_005fmanager_jsp._jspService(language_005fmanager_jsp.java:85) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) | 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.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) | at org.apache.catalina.core.StandardValveContext.invokeNext
[JBoss-user] [EJB/JBoss] - Re: Applet Security Error?
What was the JAR file, I'm having the same problem. Thanks, Jacob View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843092#3843092 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843092 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 loadtesting and threads
The connection gets closed after the loop finishes - when I'm running this test with a single thread there's only ever one connection open. The duration of the test is usually a minute - in which time it can send and receive about 2000 messages. And each time it sends/receives a message over the UIL2 IL it's creating 2 temporary threads which seem to last for a while - so it's often not finishing the loop because that can be up to about 4000 threads it's trying to create. -Andrew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843091#3843091 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843091 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: suggestion needed
well, the problem is that it's a fairly large system and to wrap all the entity beans in session beans would be a fairly large project. i was hoping that there would be a way to do this that would not involve rewriting a lot of code. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843090#3843090 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843090 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Lookup recommendations
Hi, Have you got any recommendation how to keep references to EJB objects? I mean, if you use many times some bean in many functions would NOT be better to create such objects in ejbCreate() and ejbActivate() function, so all lookup failures might be handled by container and such bean would NOT be created. Is anybody knows that this aproach is wrong? Thanks in advance, Albert View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843089#3843089 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843089 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Exception message propogation issue
No, the current security interface for the authentication contract does not throw an exception on failure. It simply provides a true/false response to the question of whether the user is authenticated. There should be an accessor for any exception information so that it can be propagated back to clients. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843087#3843087 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843087 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: deployment problem
Ok, with JBoss 3.2.xyou should not be editing the classpath of the server to include the interfaces to your beans. In the past I have deployed session beans in one jar that use session beans in another jar without problems (I haven't tried using entities in another jar but I am assuming that the behaviour is the same). Alternatively you could just package everything into an ear so that the different components can be deployed together. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843086#3843086 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843086 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Tag lib deprecated methods aren't found...
I had a duplicated taglib but the one that was getting considerer was an very old version of the tags... BAH!!! Thanx for the time. Daniel Campelo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843083#3843083 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843083 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: deployment problem
While executing session bean, jboss will need to the home/remote interface classes of the entity beans. Now, if I am deploying the entity bean as a seperate jar file and session bean as a seperate jar file, then while executing the session bean, would jboss take the home/remote interface classes of entity beans from entity bean's jar files? I don't think so, the reason being that, earlier I was using jboss 2.4. With that, if I dont put the extracted classes of the home/remote interfaces of entity bean in jboss's classpath, then it will give NoClassDefFoundError for these interface classes of entity beans while executing the session bean. It will work only if I put the extracted classes of home/remote interfaces of entity beans in the jboss's classpath. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843082#3843082 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843082 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: simple UserTransaction question
i also get this exeption because of the second query: 13:33:33,658 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl [Format Id=257, GlobalId=IVOHMEJ//68, BranchQual=] timed out. status=STATUS_ACTIVE 13:33:33,674 ERROR [BeanLock] Thread[RMI TCP Connection(30)-172.20.15.13,5,RMI R untime]Saw rolled back tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=IVOHME J//68, BranchQual=] waiting for txLock 13:33:33,674 ERROR [LogInterceptor] TransactionRolledbackException in method: pu blic abstract java.lang.Integer com.de.mediadb.cmp.Minfo.getId() throws java.rmi .RemoteException, causedBy: java.lang.RuntimeException: Transaction marked for rollback, possibly a timeout at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.waitForTx(QueuedP essimisticEJBLock.java:366) at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.doSchedule(Queued PessimisticEJBLock.java:236) at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.schedule(QueuedPe ssimisticEJBLock.java:183) at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockIntercep tor.java:85) at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreation Interceptor.java:54) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte rceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep torCMT.java:315) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1 48) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor. java:120) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto ryFinderInterceptor.java:122) at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:484 ) at org.jboss.ejb.Container.invoke(Container.java:723) at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java: 360) at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) at sun.rmi.transport.Transport$1.run(Transport.java:148) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:144) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 60) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport .java:701) at java.lang.Thread.run(Thread.java:534) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843081#3843081 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843081 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: simple UserTransaction question
thanks a lot. you mean i should test JDBC with a simple query on clientside with JDBC driver for mysql(in my case)? some more information: if i exit before i commit() the usertransaction and make a second query after restarting the client, i get this WARN after a while: 13:26:39,815 WARN [AbstractInstanceCache] Unable to passivate due to ctx lock, id=297 if i make the second query it looks like this: 13:28:33,768 DEBUG [Minfo#findByName] Executing SQL: SELECT ... ASC 13:28:33,768 DEBUG [LocalManagedConnectionFactory] Using properties: {user=root, password=--hidden--} thanks a lot for your help View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843080#3843080 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843080 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Throughput of data low while using CMP/CMR entitybeans
Alexey, Thanks again for taking time out. It makes more sense to me now. I used the finder and the performance improved relatively. 730 records in 12 seconds. I have not used Lazy-resultset-loading yet. However sorry to pester you with couple of yet again follow up questions: 1. Do u know the xDoclet tag for generating lazy-resultset-loading in jboss deployment descriptors??? I could not find one in the docs (xdoc nor jboss). 2. This is an unexpected one. Initially I have put the finder method in the OrderBean instead of in LineItemBean . Interesting enough I was getting a class cast exception when i was type casting the object retrieved from the collection returned by the finder to a LineItemLocal object (see ejb-ql query) and I was getting a class cast exception. When I moved the finder to LineItemBean then it worked. Doesn't the spec say that the collection returned by a finder is determined by the SELECT OBJECT(Type) part of ejb-ql query??? | /** | @ejb.finder method-intf = "LocalHome" | * description = "Find all line Items of a order " | * query = "SELECT OBJECT(lineitem) FROM LineItemSchema AS lineitem WHERE fooditem.order.id=?1" | * signature = "java.util.Collection findFoodItemsOfGroup(java.lang.String orderID)" I apologize for pestering you. I would really appreciate if you can further clarify. sincere thanks again, -V View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843079#3843079 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843079 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Different connections for queries and updates
Hi there, Is it possible to specify a datasource with different nodes for updates and queries? I have access to a MySQL cluster with one write master and several read slaves. All write accesses have to go to the write master. Hence, with my current deployment, all read accesses also have to go to the write master instead of spreading them all over the read slaves. I could also deploy two different datasources, one beeing read only, however, I would have to tell the CMP to use them both and AFAIK this is not possible. Dietmar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843078#3843078 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843078 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: CreateCount and RemoveCount in JMX-console ?
Hi Mandarm Did you ever solve this as I'm having a similar problem. We do a remove after each call but never see the remove count increment. Any ideas? cheers Neil View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843077#3843077 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843077 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - MBean depends on applicaion deployment
I'm trying to get an MBean to run once all other parts of our application has been deployed. No matter what service I try to make it depend on, I still get Incomplete Deployment exceptions. Is there an easy service to depend on to notify JBoss when it is OK to deploy this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843075#3843075 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843075 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Invalid invocation calling ejb from war in JBoss 3.2.4
Hi, we are using jboss3.2.2 and we want migrate to jboss3.2.4. But the code that run perfect in jboss3.2.2 not run in 3.2.4. The problem is when from jsp or servlet I try to call a method from a ejb; then throw: avax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract puntocom.xava.xtab.ejb.EntidadTabRemote puntocom.xava.xtab.ejb.EntidadTabHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException We have one .ear with some ejb jar and one .war with de web part, for develop this is practic. I try to configure jboss-service.xml of tomcat, changing Java2ClassLoadingCompliance LenientEjbLink UseJBossWebLoader with every posible value, but not run. And the ear and the war run perfect in the jboss3.2.2 Any idea about this? Thank you in advance Javier Paniza View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843076#3843076 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843076 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: deployment problem
What is the problem in having the home/remote interfaces in the classpath this way? - Why are you doing this? You do not need to do it at all, the server can get access to the classes when you deploy the jar file. Have you seen this approach recomended anywhere? So the answer to yopost is use the approach that works because that is the correct way to do it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843074#3843074 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843074 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: jndi lookups fail (under load)
The error seems to occur when more than 20 clients access the server. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843073#3843073 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843073 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re:
And it works as expected. Thank you, Alexey! 3.2.5 seems very useable to me currently. Good job. Volker View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843072#3843072 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843072 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: suggestion needed
My first idea would be to wrap all entity bean access behind session beans. The session bean could then put a message on a JMS Queue to say a change has occured. A message driven bean could then execute your synchronisation logic when it receives the message. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843071#3843071 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843071 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: How to get all the users who have been authenticated by
hai thanks, But can u please guide me to start this work. .and it that the only way to get this work done.. Senthil Kumar M Rangaswamy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843070#3843070 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843070 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Stateful passivation problem
Just been searching for the bug I referred to earlier http://sourceforge.net/tracker/index.php?func=detail&aid=988143&group_id=22866&atid=376685 The reported bug is slightly different to your problem but it is similar. The bug aparently has a fix in JBoss 3.2.6RC1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843069#3843069 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843069 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: jndi lookups fail (under load)
How many clients do you have? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843068#3843068 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843068 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Stateful passivation problem
It does the same whit jdk 1.4. What is strange is that no error occurs during passivation but when the client wants to access to the ejb again, ejbActivate is never called and the following error occur in jboss : 11:16:04,187 ERROR [LogInterceptor] RuntimeException: java.lang.NullPointerException at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:128) at org.jboss.ejb.plugins.TxInterceptorBMT.invokeHome(TxInterceptorBMT.java:56) at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invokeHome(StatefulSessionInstanceInterceptor.java:102) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) at org.jboss.ejb.StatefulSessionContainer.internalInvokeHome(StatefulSessionContainer.java:404) at org.jboss.ejb.Container.invoke(Container.java:743) at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360) at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) at sun.rmi.transport.Transport$1.run(Transport.java:148) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:144) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:534) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843067#3843067 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843067 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Update a deployed web app
Hi! There is a way to "refresh" a web application inside an ear? I try to put the web app files in the right tmp/xxx.ear/yyy.war directory but only jsp are refreshed! There is a way to update servlet, class, properties files in a running web app (some kind of "reloadable=true")? Thanks for any hits! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843065#3843065 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843065 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - jndi lookups fail (under load)
Problem: many clients to try lookup a session bean concurrently. If the client count reaches a certain number, the lookup fails with: [java] javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [java] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1119) [java] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1196) [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:516) [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509) [java] at javax.naming.InitialContext.lookup(InitialContext.java:347) Setting the "backlog" param of the naming service to a higher value does not have any effect. Is there any workaround to avoid this? Otherwise it is not possible to access EJBs from many clients. Thanks, marek View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843064#3843064 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843064 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - Re: JBoss.NET service will not deploy in ear file
As is usual in these things, I found the answer within minutes of posting the question. In order to assist others in the same situation, add this to the application.xml: | | name_of.wsr | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843063#3843063 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843063 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - JBoss.NET service will not deploy in ear file
Hi all, I have a simple web service that I wish to deploy as part of my enterprise application. However, the .wsr file (which only contains the web-services.xml and a single class file) deploys fine on its own, but will not deploy as part of an ear file. The ear file contains: application.xml .jar file containing EJBs .war file containing servlets .wsr file containing jboss.net services However, although the EJBs and servlets deploy, the soap services are completely ignored. Here is my web-services.xml: --- | http://xml.apache.org/axis/wsdd/"; |xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";> | | | | | | | --- Do I need to add anything to application.xml in order to get the .wsr to deploy? If so, what? I can't find any documentation anywhere! Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843062#3843062 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843062 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - deployment problem
Hello, I am facing a strange problem while deploying my application on jboss 3.2.3. I have around 10 CMP entity beans and around 4 stateless session beans. Session beans are internally calling entity beans. So, to deploy the session bean, I will need classes of the home and remote interfaces of the entity beans in the server's classpath. To so this, I have created following structure : I have created the classes folder, under the jboss home directory /usr/local/jboss323 and there I have copied the classes of the home & remote interfaces of the entity beans. I've added the /usr/local/jboss323/classes folder in jboss's classpath. Now, if I try to deploy the entity beans, it gives me the following error : 13:04:26,424 WARN [verifier] EJB spec violation: Bean : OperatorMst Section: 22.2 Warning: The bean provider must specify the fully-qualified name of the enterprise bean's remote home interface, if any, in the element. Now, if I remove the classes folder from server's classpath and deploy again, it gets deployed correctly. What is the problem in having the home/remote interfaces in the classpath this way? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843061#3843061 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843061 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Stateful passivation problem
I'm using jboss 3.2.5 whith jdk 1.3.1 and when i see in tmp directory, the .ser file exists. I tried to serialize and deserialize my EJB manually (using JBOSS function) and java won't deserialize my EJB , do you think it could be a bug in jdk1.3.1? Thank you View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843060#3843060 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843060 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user